Version Description
Download this release
Release Info
Developer | davidvongries |
Plugin | Kirki |
Version | 4.0.23 |
Comparing to | |
See all releases |
Code changes from version 4.0.22 to 4.0.23
- composer.json +1 -0
- composer.lock +64 -64
- kirki.php +2 -2
- packages/composer/installed.json +38 -38
- packages/composer/installed.php +19 -19
- packages/kirki-framework/control-code/LICENSE +21 -21
- packages/kirki-framework/control-code/composer.json +28 -28
- packages/kirki-framework/control-code/src/Control/Code.php +125 -0
- packages/kirki-framework/control-code/src/Field/Code.php +140 -140
- packages/kirki-framework/control-react-colorful/dist/control.css +259 -1
- packages/kirki-framework/control-react-colorful/dist/control.css.map +1 -1
- packages/kirki-framework/control-react-colorful/dist/control.js +7677 -1
- packages/kirki-framework/control-react-colorful/dist/control.js.map +1 -1
- packages/kirki-framework/control-react-colorful/dist/preview.js +92 -1
- packages/kirki-framework/control-react-colorful/dist/preview.js.map +1 -1
- packages/kirki-framework/control-react-colorful/src/Control/ReactColorful.php +1 -1
- packages/kirki-framework/control-react-colorful/src/js/components/KirkiReactColorfulCircle.js +2 -3
- packages/kirki-framework/control-repeater/LICENSE +21 -21
- packages/kirki-framework/control-repeater/composer.json +37 -36
- packages/kirki-framework/control-repeater/dist/control.css +2 -2
- packages/kirki-framework/control-repeater/dist/control.css.map +1 -1
- packages/kirki-framework/control-repeater/dist/control.js +1 -2
composer.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
2 |
"name": "kirki-framework/kirki",
|
3 |
"type": "library",
|
|
|
4 |
"keywords": ["WordPress", "Customizer"],
|
5 |
"description": "Extending the WordPress customizer",
|
6 |
"homepage": "https://kirki.org",
|
1 |
{
|
2 |
"name": "kirki-framework/kirki",
|
3 |
"type": "library",
|
4 |
+
"version": "4.0.23",
|
5 |
"keywords": ["WordPress", "Customizer"],
|
6 |
"description": "Extending the WordPress customizer",
|
7 |
"homepage": "https://kirki.org",
|
composer.lock
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
-
"content-hash": "
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "kirki-framework/compatibility",
|
@@ -121,8 +121,8 @@
|
|
121 |
"type": "library",
|
122 |
"autoload": {
|
123 |
"psr-4": {
|
124 |
-
"Kirki\\
|
125 |
-
"Kirki\\
|
126 |
}
|
127 |
},
|
128 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -150,16 +150,16 @@
|
|
150 |
},
|
151 |
{
|
152 |
"name": "kirki-framework/control-code",
|
153 |
-
"version": "v1.0.
|
154 |
"source": {
|
155 |
"type": "git",
|
156 |
"url": "https://github.com/kirki-framework/control-code.git",
|
157 |
-
"reference": "
|
158 |
},
|
159 |
"dist": {
|
160 |
"type": "zip",
|
161 |
-
"url": "https://api.github.com/repos/kirki-framework/control-code/zipball/
|
162 |
-
"reference": "
|
163 |
"shasum": ""
|
164 |
},
|
165 |
"require": {
|
@@ -169,8 +169,8 @@
|
|
169 |
"type": "library",
|
170 |
"autoload": {
|
171 |
"psr-4": {
|
172 |
-
"Kirki\\
|
173 |
-
"Kirki\\
|
174 |
}
|
175 |
},
|
176 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -192,9 +192,9 @@
|
|
192 |
],
|
193 |
"support": {
|
194 |
"issues": "https://github.com/kirki-framework/control-code/issues",
|
195 |
-
"source": "https://github.com/kirki-framework/control-code/tree/v1.0.
|
196 |
},
|
197 |
-
"time": "
|
198 |
},
|
199 |
{
|
200 |
"name": "kirki-framework/control-color",
|
@@ -217,8 +217,8 @@
|
|
217 |
"type": "library",
|
218 |
"autoload": {
|
219 |
"psr-4": {
|
220 |
-
"Kirki\\
|
221 |
-
"Kirki\\
|
222 |
}
|
223 |
},
|
224 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -265,8 +265,8 @@
|
|
265 |
"type": "library",
|
266 |
"autoload": {
|
267 |
"psr-4": {
|
268 |
-
"Kirki\\
|
269 |
-
"Kirki\\
|
270 |
}
|
271 |
},
|
272 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -353,8 +353,8 @@
|
|
353 |
"type": "library",
|
354 |
"autoload": {
|
355 |
"psr-4": {
|
356 |
-
"Kirki\\
|
357 |
-
"Kirki\\
|
358 |
}
|
359 |
},
|
360 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -402,9 +402,9 @@
|
|
402 |
"type": "library",
|
403 |
"autoload": {
|
404 |
"psr-4": {
|
405 |
-
"Kirki\\
|
406 |
"Kirki\\Field\\": "src/Field",
|
407 |
-
"Kirki\\
|
408 |
}
|
409 |
},
|
410 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -452,8 +452,8 @@
|
|
452 |
"type": "library",
|
453 |
"autoload": {
|
454 |
"psr-4": {
|
455 |
-
"Kirki\\
|
456 |
-
"Kirki\\
|
457 |
}
|
458 |
},
|
459 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -501,8 +501,8 @@
|
|
501 |
"type": "library",
|
502 |
"autoload": {
|
503 |
"psr-4": {
|
504 |
-
"Kirki\\
|
505 |
-
"Kirki\\
|
506 |
}
|
507 |
},
|
508 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -550,8 +550,8 @@
|
|
550 |
"type": "library",
|
551 |
"autoload": {
|
552 |
"psr-4": {
|
553 |
-
"Kirki\\
|
554 |
-
"Kirki\\
|
555 |
}
|
556 |
},
|
557 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -599,8 +599,8 @@
|
|
599 |
"type": "library",
|
600 |
"autoload": {
|
601 |
"psr-4": {
|
602 |
-
"Kirki\\
|
603 |
-
"Kirki\\
|
604 |
}
|
605 |
},
|
606 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -697,8 +697,8 @@
|
|
697 |
"type": "library",
|
698 |
"autoload": {
|
699 |
"psr-4": {
|
700 |
-
"Kirki\\
|
701 |
-
"Kirki\\
|
702 |
}
|
703 |
},
|
704 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -746,8 +746,8 @@
|
|
746 |
"type": "library",
|
747 |
"autoload": {
|
748 |
"psr-4": {
|
749 |
-
"Kirki\\
|
750 |
-
"Kirki\\
|
751 |
}
|
752 |
},
|
753 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -794,8 +794,8 @@
|
|
794 |
"type": "library",
|
795 |
"autoload": {
|
796 |
"psr-4": {
|
797 |
-
"Kirki\\
|
798 |
-
"Kirki\\
|
799 |
}
|
800 |
},
|
801 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -823,16 +823,16 @@
|
|
823 |
},
|
824 |
{
|
825 |
"name": "kirki-framework/control-react-colorful",
|
826 |
-
"version": "
|
827 |
"source": {
|
828 |
"type": "git",
|
829 |
"url": "https://github.com/kirki-framework/control-react-colorful.git",
|
830 |
-
"reference": "
|
831 |
},
|
832 |
"dist": {
|
833 |
"type": "zip",
|
834 |
-
"url": "https://api.github.com/repos/kirki-framework/control-react-colorful/zipball/
|
835 |
-
"reference": "
|
836 |
"shasum": ""
|
837 |
},
|
838 |
"require": {
|
@@ -867,9 +867,9 @@
|
|
867 |
],
|
868 |
"support": {
|
869 |
"issues": "https://github.com/kirki-framework/control-react-colorful/issues",
|
870 |
-
"source": "https://github.com/kirki-framework/control-react-colorful/tree/v1.0.
|
871 |
},
|
872 |
-
"time": "2022-02-
|
873 |
},
|
874 |
{
|
875 |
"name": "kirki-framework/control-react-select",
|
@@ -922,16 +922,16 @@
|
|
922 |
},
|
923 |
{
|
924 |
"name": "kirki-framework/control-repeater",
|
925 |
-
"version": "
|
926 |
"source": {
|
927 |
"type": "git",
|
928 |
"url": "https://github.com/kirki-framework/control-repeater.git",
|
929 |
-
"reference": "
|
930 |
},
|
931 |
"dist": {
|
932 |
"type": "zip",
|
933 |
-
"url": "https://api.github.com/repos/kirki-framework/control-repeater/zipball/
|
934 |
-
"reference": "
|
935 |
"shasum": ""
|
936 |
},
|
937 |
"require": {
|
@@ -948,8 +948,8 @@
|
|
948 |
"type": "library",
|
949 |
"autoload": {
|
950 |
"psr-4": {
|
951 |
-
"Kirki\\Control\\": "src/Control",
|
952 |
"Kirki\\Field\\": "src/Field",
|
|
|
953 |
"Kirki\\Settings\\": "src/Settings"
|
954 |
}
|
955 |
},
|
@@ -972,9 +972,9 @@
|
|
972 |
],
|
973 |
"support": {
|
974 |
"issues": "https://github.com/kirki-framework/control-repeater/issues",
|
975 |
-
"source": "https://github.com/kirki-framework/control-repeater/tree/v1.0.
|
976 |
},
|
977 |
-
"time": "
|
978 |
},
|
979 |
{
|
980 |
"name": "kirki-framework/control-select",
|
@@ -998,8 +998,8 @@
|
|
998 |
"type": "library",
|
999 |
"autoload": {
|
1000 |
"psr-4": {
|
1001 |
-
"Kirki\\
|
1002 |
-
"Kirki\\
|
1003 |
}
|
1004 |
},
|
1005 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -1046,8 +1046,8 @@
|
|
1046 |
"type": "library",
|
1047 |
"autoload": {
|
1048 |
"psr-4": {
|
1049 |
-
"Kirki\\
|
1050 |
-
"Kirki\\
|
1051 |
}
|
1052 |
},
|
1053 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -1090,8 +1090,8 @@
|
|
1090 |
"type": "library",
|
1091 |
"autoload": {
|
1092 |
"psr-4": {
|
1093 |
-
"Kirki\\
|
1094 |
-
"Kirki\\
|
1095 |
}
|
1096 |
},
|
1097 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -1603,16 +1603,16 @@
|
|
1603 |
},
|
1604 |
{
|
1605 |
"name": "kirki-framework/module-css",
|
1606 |
-
"version": "v1.0.
|
1607 |
"source": {
|
1608 |
"type": "git",
|
1609 |
"url": "https://github.com/kirki-framework/module-css.git",
|
1610 |
-
"reference": "
|
1611 |
},
|
1612 |
"dist": {
|
1613 |
"type": "zip",
|
1614 |
-
"url": "https://api.github.com/repos/kirki-framework/module-css/zipball/
|
1615 |
-
"reference": "
|
1616 |
"shasum": ""
|
1617 |
},
|
1618 |
"require": {
|
@@ -1644,22 +1644,22 @@
|
|
1644 |
],
|
1645 |
"support": {
|
1646 |
"issues": "https://github.com/kirki-framework/module-css/issues",
|
1647 |
-
"source": "https://github.com/kirki-framework/module-css/tree/v1.0.
|
1648 |
},
|
1649 |
-
"time": "2022-
|
1650 |
},
|
1651 |
{
|
1652 |
"name": "kirki-framework/module-editor-styles",
|
1653 |
-
"version": "v1.0.
|
1654 |
"source": {
|
1655 |
"type": "git",
|
1656 |
"url": "https://github.com/kirki-framework/module-editor-styles.git",
|
1657 |
-
"reference": "
|
1658 |
},
|
1659 |
"dist": {
|
1660 |
"type": "zip",
|
1661 |
-
"url": "https://api.github.com/repos/kirki-framework/module-editor-styles/zipball/
|
1662 |
-
"reference": "
|
1663 |
"shasum": ""
|
1664 |
},
|
1665 |
"require": {
|
@@ -1693,9 +1693,9 @@
|
|
1693 |
],
|
1694 |
"support": {
|
1695 |
"issues": "https://github.com/kirki-framework/module-editor-styles/issues",
|
1696 |
-
"source": "https://github.com/kirki-framework/module-editor-styles/tree/v1.0.
|
1697 |
},
|
1698 |
-
"time": "
|
1699 |
},
|
1700 |
{
|
1701 |
"name": "kirki-framework/module-field-dependencies",
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
+
"content-hash": "c0520b0e55bbafb6c0999eb25b0f9053",
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "kirki-framework/compatibility",
|
121 |
"type": "library",
|
122 |
"autoload": {
|
123 |
"psr-4": {
|
124 |
+
"Kirki\\Field\\": "src/Field",
|
125 |
+
"Kirki\\Control\\": "src/Control"
|
126 |
}
|
127 |
},
|
128 |
"notification-url": "https://packagist.org/downloads/",
|
150 |
},
|
151 |
{
|
152 |
"name": "kirki-framework/control-code",
|
153 |
+
"version": "v1.0.2",
|
154 |
"source": {
|
155 |
"type": "git",
|
156 |
"url": "https://github.com/kirki-framework/control-code.git",
|
157 |
+
"reference": "88e7b01127fc7039e2c1fc6761184b0332f9a0c3"
|
158 |
},
|
159 |
"dist": {
|
160 |
"type": "zip",
|
161 |
+
"url": "https://api.github.com/repos/kirki-framework/control-code/zipball/88e7b01127fc7039e2c1fc6761184b0332f9a0c3",
|
162 |
+
"reference": "88e7b01127fc7039e2c1fc6761184b0332f9a0c3",
|
163 |
"shasum": ""
|
164 |
},
|
165 |
"require": {
|
169 |
"type": "library",
|
170 |
"autoload": {
|
171 |
"psr-4": {
|
172 |
+
"Kirki\\Field\\": "src/Field",
|
173 |
+
"Kirki\\Control\\": "src/Control"
|
174 |
}
|
175 |
},
|
176 |
"notification-url": "https://packagist.org/downloads/",
|
192 |
],
|
193 |
"support": {
|
194 |
"issues": "https://github.com/kirki-framework/control-code/issues",
|
195 |
+
"source": "https://github.com/kirki-framework/control-code/tree/v1.0.2"
|
196 |
},
|
197 |
+
"time": "2022-03-11T18:37:13+00:00"
|
198 |
},
|
199 |
{
|
200 |
"name": "kirki-framework/control-color",
|
217 |
"type": "library",
|
218 |
"autoload": {
|
219 |
"psr-4": {
|
220 |
+
"Kirki\\Field\\": "src/Field",
|
221 |
+
"Kirki\\Control\\": "src/Control"
|
222 |
}
|
223 |
},
|
224 |
"notification-url": "https://packagist.org/downloads/",
|
265 |
"type": "library",
|
266 |
"autoload": {
|
267 |
"psr-4": {
|
268 |
+
"Kirki\\Field\\": "src/Field",
|
269 |
+
"Kirki\\Control\\": "src/Control"
|
270 |
}
|
271 |
},
|
272 |
"notification-url": "https://packagist.org/downloads/",
|
353 |
"type": "library",
|
354 |
"autoload": {
|
355 |
"psr-4": {
|
356 |
+
"Kirki\\Field\\": "src/Field",
|
357 |
+
"Kirki\\Control\\": "src/Control"
|
358 |
}
|
359 |
},
|
360 |
"notification-url": "https://packagist.org/downloads/",
|
402 |
"type": "library",
|
403 |
"autoload": {
|
404 |
"psr-4": {
|
405 |
+
"Kirki\\Util\\": "src/Util",
|
406 |
"Kirki\\Field\\": "src/Field",
|
407 |
+
"Kirki\\Control\\": "src/Control"
|
408 |
}
|
409 |
},
|
410 |
"notification-url": "https://packagist.org/downloads/",
|
452 |
"type": "library",
|
453 |
"autoload": {
|
454 |
"psr-4": {
|
455 |
+
"Kirki\\Field\\": "src/Field",
|
456 |
+
"Kirki\\Control\\": "src/Control"
|
457 |
}
|
458 |
},
|
459 |
"notification-url": "https://packagist.org/downloads/",
|
501 |
"type": "library",
|
502 |
"autoload": {
|
503 |
"psr-4": {
|
504 |
+
"Kirki\\Field\\": "src/Field",
|
505 |
+
"Kirki\\Control\\": "src/Control"
|
506 |
}
|
507 |
},
|
508 |
"notification-url": "https://packagist.org/downloads/",
|
550 |
"type": "library",
|
551 |
"autoload": {
|
552 |
"psr-4": {
|
553 |
+
"Kirki\\Field\\": "src/Field",
|
554 |
+
"Kirki\\Control\\": "src/Control"
|
555 |
}
|
556 |
},
|
557 |
"notification-url": "https://packagist.org/downloads/",
|
599 |
"type": "library",
|
600 |
"autoload": {
|
601 |
"psr-4": {
|
602 |
+
"Kirki\\Field\\": "src/Field",
|
603 |
+
"Kirki\\Control\\": "src/Control"
|
604 |
}
|
605 |
},
|
606 |
"notification-url": "https://packagist.org/downloads/",
|
697 |
"type": "library",
|
698 |
"autoload": {
|
699 |
"psr-4": {
|
700 |
+
"Kirki\\Field\\": "src/Field",
|
701 |
+
"Kirki\\Control\\": "src/Control"
|
702 |
}
|
703 |
},
|
704 |
"notification-url": "https://packagist.org/downloads/",
|
746 |
"type": "library",
|
747 |
"autoload": {
|
748 |
"psr-4": {
|
749 |
+
"Kirki\\Field\\": "src/Field",
|
750 |
+
"Kirki\\Control\\": "src/Control"
|
751 |
}
|
752 |
},
|
753 |
"notification-url": "https://packagist.org/downloads/",
|
794 |
"type": "library",
|
795 |
"autoload": {
|
796 |
"psr-4": {
|
797 |
+
"Kirki\\Field\\": "src/Field",
|
798 |
+
"Kirki\\Control\\": "src/Control"
|
799 |
}
|
800 |
},
|
801 |
"notification-url": "https://packagist.org/downloads/",
|
823 |
},
|
824 |
{
|
825 |
"name": "kirki-framework/control-react-colorful",
|
826 |
+
"version": "1.0.15",
|
827 |
"source": {
|
828 |
"type": "git",
|
829 |
"url": "https://github.com/kirki-framework/control-react-colorful.git",
|
830 |
+
"reference": "fe1724a3d744aac2f80d965648775567ea8ba1f3"
|
831 |
},
|
832 |
"dist": {
|
833 |
"type": "zip",
|
834 |
+
"url": "https://api.github.com/repos/kirki-framework/control-react-colorful/zipball/fe1724a3d744aac2f80d965648775567ea8ba1f3",
|
835 |
+
"reference": "fe1724a3d744aac2f80d965648775567ea8ba1f3",
|
836 |
"shasum": ""
|
837 |
},
|
838 |
"require": {
|
867 |
],
|
868 |
"support": {
|
869 |
"issues": "https://github.com/kirki-framework/control-react-colorful/issues",
|
870 |
+
"source": "https://github.com/kirki-framework/control-react-colorful/tree/v1.0.15"
|
871 |
},
|
872 |
+
"time": "2022-02-18T12:12:55+00:00"
|
873 |
},
|
874 |
{
|
875 |
"name": "kirki-framework/control-react-select",
|
922 |
},
|
923 |
{
|
924 |
"name": "kirki-framework/control-repeater",
|
925 |
+
"version": "1.0.5",
|
926 |
"source": {
|
927 |
"type": "git",
|
928 |
"url": "https://github.com/kirki-framework/control-repeater.git",
|
929 |
+
"reference": "5375e65054b7a73da4e735fa7bee831c7f6c1cfc"
|
930 |
},
|
931 |
"dist": {
|
932 |
"type": "zip",
|
933 |
+
"url": "https://api.github.com/repos/kirki-framework/control-repeater/zipball/5375e65054b7a73da4e735fa7bee831c7f6c1cfc",
|
934 |
+
"reference": "5375e65054b7a73da4e735fa7bee831c7f6c1cfc",
|
935 |
"shasum": ""
|
936 |
},
|
937 |
"require": {
|
948 |
"type": "library",
|
949 |
"autoload": {
|
950 |
"psr-4": {
|
|
|
951 |
"Kirki\\Field\\": "src/Field",
|
952 |
+
"Kirki\\Control\\": "src/Control",
|
953 |
"Kirki\\Settings\\": "src/Settings"
|
954 |
}
|
955 |
},
|
972 |
],
|
973 |
"support": {
|
974 |
"issues": "https://github.com/kirki-framework/control-repeater/issues",
|
975 |
+
"source": "https://github.com/kirki-framework/control-repeater/tree/v1.0.5"
|
976 |
},
|
977 |
+
"time": "2022-03-21T13:12:22+00:00"
|
978 |
},
|
979 |
{
|
980 |
"name": "kirki-framework/control-select",
|
998 |
"type": "library",
|
999 |
"autoload": {
|
1000 |
"psr-4": {
|
1001 |
+
"Kirki\\Field\\": "src/Field",
|
1002 |
+
"Kirki\\Control\\": "src/Control"
|
1003 |
}
|
1004 |
},
|
1005 |
"notification-url": "https://packagist.org/downloads/",
|
1046 |
"type": "library",
|
1047 |
"autoload": {
|
1048 |
"psr-4": {
|
1049 |
+
"Kirki\\Field\\": "src/Field",
|
1050 |
+
"Kirki\\Control\\": "src/Control"
|
1051 |
}
|
1052 |
},
|
1053 |
"notification-url": "https://packagist.org/downloads/",
|
1090 |
"type": "library",
|
1091 |
"autoload": {
|
1092 |
"psr-4": {
|
1093 |
+
"Kirki\\Field\\": "src/Field",
|
1094 |
+
"Kirki\\Control\\": "src/Control"
|
1095 |
}
|
1096 |
},
|
1097 |
"notification-url": "https://packagist.org/downloads/",
|
1603 |
},
|
1604 |
{
|
1605 |
"name": "kirki-framework/module-css",
|
1606 |
+
"version": "v1.0.11",
|
1607 |
"source": {
|
1608 |
"type": "git",
|
1609 |
"url": "https://github.com/kirki-framework/module-css.git",
|
1610 |
+
"reference": "b53cff693b489cc7e4991ef725a66ddafa8aa84b"
|
1611 |
},
|
1612 |
"dist": {
|
1613 |
"type": "zip",
|
1614 |
+
"url": "https://api.github.com/repos/kirki-framework/module-css/zipball/b53cff693b489cc7e4991ef725a66ddafa8aa84b",
|
1615 |
+
"reference": "b53cff693b489cc7e4991ef725a66ddafa8aa84b",
|
1616 |
"shasum": ""
|
1617 |
},
|
1618 |
"require": {
|
1644 |
],
|
1645 |
"support": {
|
1646 |
"issues": "https://github.com/kirki-framework/module-css/issues",
|
1647 |
+
"source": "https://github.com/kirki-framework/module-css/tree/v1.0.11"
|
1648 |
},
|
1649 |
+
"time": "2022-03-21T14:22:54+00:00"
|
1650 |
},
|
1651 |
{
|
1652 |
"name": "kirki-framework/module-editor-styles",
|
1653 |
+
"version": "v1.0.2",
|
1654 |
"source": {
|
1655 |
"type": "git",
|
1656 |
"url": "https://github.com/kirki-framework/module-editor-styles.git",
|
1657 |
+
"reference": "a86f8b66fa0a442ce092c122b997c8d5f8d20951"
|
1658 |
},
|
1659 |
"dist": {
|
1660 |
"type": "zip",
|
1661 |
+
"url": "https://api.github.com/repos/kirki-framework/module-editor-styles/zipball/a86f8b66fa0a442ce092c122b997c8d5f8d20951",
|
1662 |
+
"reference": "a86f8b66fa0a442ce092c122b997c8d5f8d20951",
|
1663 |
"shasum": ""
|
1664 |
},
|
1665 |
"require": {
|
1693 |
],
|
1694 |
"support": {
|
1695 |
"issues": "https://github.com/kirki-framework/module-editor-styles/issues",
|
1696 |
+
"source": "https://github.com/kirki-framework/module-editor-styles/tree/v1.0.2"
|
1697 |
},
|
1698 |
+
"time": "2022-03-21T14:52:51+00:00"
|
1699 |
},
|
1700 |
{
|
1701 |
"name": "kirki-framework/module-field-dependencies",
|
kirki.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: The Ultimate WordPress Customizer Framework
|
6 |
* Author: David Vongries
|
7 |
* Author URI: https://davidvongries.com/
|
8 |
-
* Version: 4.0.
|
9 |
* Text Domain: kirki
|
10 |
* Requires at least: 5.2
|
11 |
* Requires PHP: 7.0
|
@@ -44,7 +44,7 @@ require_once __DIR__ . '/inc/bootstrap.php'; // phpcs:ignore WPThemeReview.CoreF
|
|
44 |
|
45 |
// Define the KIRKI_VERSION constant.
|
46 |
if ( ! defined( 'KIRKI_VERSION' ) ) {
|
47 |
-
define( 'KIRKI_VERSION', '4.0.
|
48 |
}
|
49 |
|
50 |
if ( ! function_exists( 'Kirki' ) ) {
|
5 |
* Description: The Ultimate WordPress Customizer Framework
|
6 |
* Author: David Vongries
|
7 |
* Author URI: https://davidvongries.com/
|
8 |
+
* Version: 4.0.23
|
9 |
* Text Domain: kirki
|
10 |
* Requires at least: 5.2
|
11 |
* Requires PHP: 7.0
|
44 |
|
45 |
// Define the KIRKI_VERSION constant.
|
46 |
if ( ! defined( 'KIRKI_VERSION' ) ) {
|
47 |
+
define( 'KIRKI_VERSION', '4.0.23' );
|
48 |
}
|
49 |
|
50 |
if ( ! function_exists( 'Kirki' ) ) {
|
packages/composer/installed.json
CHANGED
@@ -153,30 +153,30 @@
|
|
153 |
},
|
154 |
{
|
155 |
"name": "kirki-framework/control-code",
|
156 |
-
"version": "v1.0.
|
157 |
-
"version_normalized": "1.0.
|
158 |
"source": {
|
159 |
"type": "git",
|
160 |
"url": "https://github.com/kirki-framework/control-code.git",
|
161 |
-
"reference": "
|
162 |
},
|
163 |
"dist": {
|
164 |
"type": "zip",
|
165 |
-
"url": "https://api.github.com/repos/kirki-framework/control-code/zipball/
|
166 |
-
"reference": "
|
167 |
"shasum": ""
|
168 |
},
|
169 |
"require": {
|
170 |
"kirki-framework/field": "*",
|
171 |
"php": ">=7.0"
|
172 |
},
|
173 |
-
"time": "
|
174 |
"type": "library",
|
175 |
"installation-source": "dist",
|
176 |
"autoload": {
|
177 |
"psr-4": {
|
178 |
-
"Kirki\\
|
179 |
-
"Kirki\\
|
180 |
}
|
181 |
},
|
182 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -198,7 +198,7 @@
|
|
198 |
],
|
199 |
"support": {
|
200 |
"issues": "https://github.com/kirki-framework/control-code/issues",
|
201 |
-
"source": "https://github.com/kirki-framework/control-code/tree/v1.0.
|
202 |
},
|
203 |
"install-path": "../kirki-framework/control-code"
|
204 |
},
|
@@ -868,17 +868,17 @@
|
|
868 |
},
|
869 |
{
|
870 |
"name": "kirki-framework/control-react-colorful",
|
871 |
-
"version": "
|
872 |
-
"version_normalized": "1.0.
|
873 |
"source": {
|
874 |
"type": "git",
|
875 |
"url": "https://github.com/kirki-framework/control-react-colorful.git",
|
876 |
-
"reference": "
|
877 |
},
|
878 |
"dist": {
|
879 |
"type": "zip",
|
880 |
-
"url": "https://api.github.com/repos/kirki-framework/control-react-colorful/zipball/
|
881 |
-
"reference": "
|
882 |
"shasum": ""
|
883 |
},
|
884 |
"require": {
|
@@ -887,7 +887,7 @@
|
|
887 |
"kirki-framework/url-getter": "*",
|
888 |
"php": ">=7.0"
|
889 |
},
|
890 |
-
"time": "2022-02-
|
891 |
"type": "library",
|
892 |
"installation-source": "dist",
|
893 |
"autoload": {
|
@@ -915,7 +915,7 @@
|
|
915 |
],
|
916 |
"support": {
|
917 |
"issues": "https://github.com/kirki-framework/control-react-colorful/issues",
|
918 |
-
"source": "https://github.com/kirki-framework/control-react-colorful/tree/v1.0.
|
919 |
},
|
920 |
"install-path": "../kirki-framework/control-react-colorful"
|
921 |
},
|
@@ -973,17 +973,17 @@
|
|
973 |
},
|
974 |
{
|
975 |
"name": "kirki-framework/control-repeater",
|
976 |
-
"version": "
|
977 |
-
"version_normalized": "1.0.
|
978 |
"source": {
|
979 |
"type": "git",
|
980 |
"url": "https://github.com/kirki-framework/control-repeater.git",
|
981 |
-
"reference": "
|
982 |
},
|
983 |
"dist": {
|
984 |
"type": "zip",
|
985 |
-
"url": "https://api.github.com/repos/kirki-framework/control-repeater/zipball/
|
986 |
-
"reference": "
|
987 |
"shasum": ""
|
988 |
},
|
989 |
"require": {
|
@@ -997,13 +997,13 @@
|
|
997 |
"kirki-framework/url-getter": "*",
|
998 |
"php": ">=7.0"
|
999 |
},
|
1000 |
-
"time": "
|
1001 |
"type": "library",
|
1002 |
"installation-source": "dist",
|
1003 |
"autoload": {
|
1004 |
"psr-4": {
|
1005 |
-
"Kirki\\Control\\": "src/Control",
|
1006 |
"Kirki\\Field\\": "src/Field",
|
|
|
1007 |
"Kirki\\Settings\\": "src/Settings"
|
1008 |
}
|
1009 |
},
|
@@ -1026,7 +1026,7 @@
|
|
1026 |
],
|
1027 |
"support": {
|
1028 |
"issues": "https://github.com/kirki-framework/control-repeater/issues",
|
1029 |
-
"source": "https://github.com/kirki-framework/control-repeater/tree/v1.0.
|
1030 |
},
|
1031 |
"install-path": "../kirki-framework/control-repeater"
|
1032 |
},
|
@@ -1696,24 +1696,24 @@
|
|
1696 |
},
|
1697 |
{
|
1698 |
"name": "kirki-framework/module-css",
|
1699 |
-
"version": "v1.0.
|
1700 |
-
"version_normalized": "1.0.
|
1701 |
"source": {
|
1702 |
"type": "git",
|
1703 |
"url": "https://github.com/kirki-framework/module-css.git",
|
1704 |
-
"reference": "
|
1705 |
},
|
1706 |
"dist": {
|
1707 |
"type": "zip",
|
1708 |
-
"url": "https://api.github.com/repos/kirki-framework/module-css/zipball/
|
1709 |
-
"reference": "
|
1710 |
"shasum": ""
|
1711 |
},
|
1712 |
"require": {
|
1713 |
"kirki-framework/util": "*",
|
1714 |
"php": ">=7.0"
|
1715 |
},
|
1716 |
-
"time": "2022-
|
1717 |
"type": "library",
|
1718 |
"installation-source": "dist",
|
1719 |
"autoload": {
|
@@ -1740,23 +1740,23 @@
|
|
1740 |
],
|
1741 |
"support": {
|
1742 |
"issues": "https://github.com/kirki-framework/module-css/issues",
|
1743 |
-
"source": "https://github.com/kirki-framework/module-css/tree/v1.0.
|
1744 |
},
|
1745 |
"install-path": "../kirki-framework/module-css"
|
1746 |
},
|
1747 |
{
|
1748 |
"name": "kirki-framework/module-editor-styles",
|
1749 |
-
"version": "v1.0.
|
1750 |
-
"version_normalized": "1.0.
|
1751 |
"source": {
|
1752 |
"type": "git",
|
1753 |
"url": "https://github.com/kirki-framework/module-editor-styles.git",
|
1754 |
-
"reference": "
|
1755 |
},
|
1756 |
"dist": {
|
1757 |
"type": "zip",
|
1758 |
-
"url": "https://api.github.com/repos/kirki-framework/module-editor-styles/zipball/
|
1759 |
-
"reference": "
|
1760 |
"shasum": ""
|
1761 |
},
|
1762 |
"require": {
|
@@ -1765,7 +1765,7 @@
|
|
1765 |
"kirki-framework/util": "*",
|
1766 |
"php": ">=7.0"
|
1767 |
},
|
1768 |
-
"time": "
|
1769 |
"type": "library",
|
1770 |
"installation-source": "dist",
|
1771 |
"autoload": {
|
@@ -1792,7 +1792,7 @@
|
|
1792 |
],
|
1793 |
"support": {
|
1794 |
"issues": "https://github.com/kirki-framework/module-editor-styles/issues",
|
1795 |
-
"source": "https://github.com/kirki-framework/module-editor-styles/tree/v1.0.
|
1796 |
},
|
1797 |
"install-path": "../kirki-framework/module-editor-styles"
|
1798 |
},
|
153 |
},
|
154 |
{
|
155 |
"name": "kirki-framework/control-code",
|
156 |
+
"version": "v1.0.2",
|
157 |
+
"version_normalized": "1.0.2.0",
|
158 |
"source": {
|
159 |
"type": "git",
|
160 |
"url": "https://github.com/kirki-framework/control-code.git",
|
161 |
+
"reference": "88e7b01127fc7039e2c1fc6761184b0332f9a0c3"
|
162 |
},
|
163 |
"dist": {
|
164 |
"type": "zip",
|
165 |
+
"url": "https://api.github.com/repos/kirki-framework/control-code/zipball/88e7b01127fc7039e2c1fc6761184b0332f9a0c3",
|
166 |
+
"reference": "88e7b01127fc7039e2c1fc6761184b0332f9a0c3",
|
167 |
"shasum": ""
|
168 |
},
|
169 |
"require": {
|
170 |
"kirki-framework/field": "*",
|
171 |
"php": ">=7.0"
|
172 |
},
|
173 |
+
"time": "2022-03-11T18:37:13+00:00",
|
174 |
"type": "library",
|
175 |
"installation-source": "dist",
|
176 |
"autoload": {
|
177 |
"psr-4": {
|
178 |
+
"Kirki\\Field\\": "src/Field",
|
179 |
+
"Kirki\\Control\\": "src/Control"
|
180 |
}
|
181 |
},
|
182 |
"notification-url": "https://packagist.org/downloads/",
|
198 |
],
|
199 |
"support": {
|
200 |
"issues": "https://github.com/kirki-framework/control-code/issues",
|
201 |
+
"source": "https://github.com/kirki-framework/control-code/tree/v1.0.2"
|
202 |
},
|
203 |
"install-path": "../kirki-framework/control-code"
|
204 |
},
|
868 |
},
|
869 |
{
|
870 |
"name": "kirki-framework/control-react-colorful",
|
871 |
+
"version": "1.0.15",
|
872 |
+
"version_normalized": "1.0.15.0",
|
873 |
"source": {
|
874 |
"type": "git",
|
875 |
"url": "https://github.com/kirki-framework/control-react-colorful.git",
|
876 |
+
"reference": "fe1724a3d744aac2f80d965648775567ea8ba1f3"
|
877 |
},
|
878 |
"dist": {
|
879 |
"type": "zip",
|
880 |
+
"url": "https://api.github.com/repos/kirki-framework/control-react-colorful/zipball/fe1724a3d744aac2f80d965648775567ea8ba1f3",
|
881 |
+
"reference": "fe1724a3d744aac2f80d965648775567ea8ba1f3",
|
882 |
"shasum": ""
|
883 |
},
|
884 |
"require": {
|
887 |
"kirki-framework/url-getter": "*",
|
888 |
"php": ">=7.0"
|
889 |
},
|
890 |
+
"time": "2022-02-18T12:12:55+00:00",
|
891 |
"type": "library",
|
892 |
"installation-source": "dist",
|
893 |
"autoload": {
|
915 |
],
|
916 |
"support": {
|
917 |
"issues": "https://github.com/kirki-framework/control-react-colorful/issues",
|
918 |
+
"source": "https://github.com/kirki-framework/control-react-colorful/tree/v1.0.15"
|
919 |
},
|
920 |
"install-path": "../kirki-framework/control-react-colorful"
|
921 |
},
|
973 |
},
|
974 |
{
|
975 |
"name": "kirki-framework/control-repeater",
|
976 |
+
"version": "1.0.5",
|
977 |
+
"version_normalized": "1.0.5.0",
|
978 |
"source": {
|
979 |
"type": "git",
|
980 |
"url": "https://github.com/kirki-framework/control-repeater.git",
|
981 |
+
"reference": "5375e65054b7a73da4e735fa7bee831c7f6c1cfc"
|
982 |
},
|
983 |
"dist": {
|
984 |
"type": "zip",
|
985 |
+
"url": "https://api.github.com/repos/kirki-framework/control-repeater/zipball/5375e65054b7a73da4e735fa7bee831c7f6c1cfc",
|
986 |
+
"reference": "5375e65054b7a73da4e735fa7bee831c7f6c1cfc",
|
987 |
"shasum": ""
|
988 |
},
|
989 |
"require": {
|
997 |
"kirki-framework/url-getter": "*",
|
998 |
"php": ">=7.0"
|
999 |
},
|
1000 |
+
"time": "2022-03-21T13:12:22+00:00",
|
1001 |
"type": "library",
|
1002 |
"installation-source": "dist",
|
1003 |
"autoload": {
|
1004 |
"psr-4": {
|
|
|
1005 |
"Kirki\\Field\\": "src/Field",
|
1006 |
+
"Kirki\\Control\\": "src/Control",
|
1007 |
"Kirki\\Settings\\": "src/Settings"
|
1008 |
}
|
1009 |
},
|
1026 |
],
|
1027 |
"support": {
|
1028 |
"issues": "https://github.com/kirki-framework/control-repeater/issues",
|
1029 |
+
"source": "https://github.com/kirki-framework/control-repeater/tree/v1.0.5"
|
1030 |
},
|
1031 |
"install-path": "../kirki-framework/control-repeater"
|
1032 |
},
|
1696 |
},
|
1697 |
{
|
1698 |
"name": "kirki-framework/module-css",
|
1699 |
+
"version": "v1.0.11",
|
1700 |
+
"version_normalized": "1.0.11.0",
|
1701 |
"source": {
|
1702 |
"type": "git",
|
1703 |
"url": "https://github.com/kirki-framework/module-css.git",
|
1704 |
+
"reference": "b53cff693b489cc7e4991ef725a66ddafa8aa84b"
|
1705 |
},
|
1706 |
"dist": {
|
1707 |
"type": "zip",
|
1708 |
+
"url": "https://api.github.com/repos/kirki-framework/module-css/zipball/b53cff693b489cc7e4991ef725a66ddafa8aa84b",
|
1709 |
+
"reference": "b53cff693b489cc7e4991ef725a66ddafa8aa84b",
|
1710 |
"shasum": ""
|
1711 |
},
|
1712 |
"require": {
|
1713 |
"kirki-framework/util": "*",
|
1714 |
"php": ">=7.0"
|
1715 |
},
|
1716 |
+
"time": "2022-03-21T14:22:54+00:00",
|
1717 |
"type": "library",
|
1718 |
"installation-source": "dist",
|
1719 |
"autoload": {
|
1740 |
],
|
1741 |
"support": {
|
1742 |
"issues": "https://github.com/kirki-framework/module-css/issues",
|
1743 |
+
"source": "https://github.com/kirki-framework/module-css/tree/v1.0.11"
|
1744 |
},
|
1745 |
"install-path": "../kirki-framework/module-css"
|
1746 |
},
|
1747 |
{
|
1748 |
"name": "kirki-framework/module-editor-styles",
|
1749 |
+
"version": "v1.0.2",
|
1750 |
+
"version_normalized": "1.0.2.0",
|
1751 |
"source": {
|
1752 |
"type": "git",
|
1753 |
"url": "https://github.com/kirki-framework/module-editor-styles.git",
|
1754 |
+
"reference": "a86f8b66fa0a442ce092c122b997c8d5f8d20951"
|
1755 |
},
|
1756 |
"dist": {
|
1757 |
"type": "zip",
|
1758 |
+
"url": "https://api.github.com/repos/kirki-framework/module-editor-styles/zipball/a86f8b66fa0a442ce092c122b997c8d5f8d20951",
|
1759 |
+
"reference": "a86f8b66fa0a442ce092c122b997c8d5f8d20951",
|
1760 |
"shasum": ""
|
1761 |
},
|
1762 |
"require": {
|
1765 |
"kirki-framework/util": "*",
|
1766 |
"php": ">=7.0"
|
1767 |
},
|
1768 |
+
"time": "2022-03-21T14:52:51+00:00",
|
1769 |
"type": "library",
|
1770 |
"installation-source": "dist",
|
1771 |
"autoload": {
|
1792 |
],
|
1793 |
"support": {
|
1794 |
"issues": "https://github.com/kirki-framework/module-editor-styles/issues",
|
1795 |
+
"source": "https://github.com/kirki-framework/module-editor-styles/tree/v1.0.2"
|
1796 |
},
|
1797 |
"install-path": "../kirki-framework/module-editor-styles"
|
1798 |
},
|
packages/composer/installed.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
-
'pretty_version' => '
|
4 |
-
'version' => '
|
5 |
'type' => 'library',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
@@ -38,12 +38,12 @@
|
|
38 |
'dev_requirement' => false,
|
39 |
),
|
40 |
'kirki-framework/control-code' => array(
|
41 |
-
'pretty_version' => 'v1.0.
|
42 |
-
'version' => '1.0.
|
43 |
'type' => 'library',
|
44 |
'install_path' => __DIR__ . '/../kirki-framework/control-code',
|
45 |
'aliases' => array(),
|
46 |
-
'reference' => '
|
47 |
'dev_requirement' => false,
|
48 |
),
|
49 |
'kirki-framework/control-color' => array(
|
@@ -164,12 +164,12 @@
|
|
164 |
'dev_requirement' => false,
|
165 |
),
|
166 |
'kirki-framework/control-react-colorful' => array(
|
167 |
-
'pretty_version' => '
|
168 |
-
'version' => '1.0.
|
169 |
'type' => 'library',
|
170 |
'install_path' => __DIR__ . '/../kirki-framework/control-react-colorful',
|
171 |
'aliases' => array(),
|
172 |
-
'reference' => '
|
173 |
'dev_requirement' => false,
|
174 |
),
|
175 |
'kirki-framework/control-react-select' => array(
|
@@ -182,12 +182,12 @@
|
|
182 |
'dev_requirement' => false,
|
183 |
),
|
184 |
'kirki-framework/control-repeater' => array(
|
185 |
-
'pretty_version' => '
|
186 |
-
'version' => '1.0.
|
187 |
'type' => 'library',
|
188 |
'install_path' => __DIR__ . '/../kirki-framework/control-repeater',
|
189 |
'aliases' => array(),
|
190 |
-
'reference' => '
|
191 |
'dev_requirement' => false,
|
192 |
),
|
193 |
'kirki-framework/control-select' => array(
|
@@ -299,8 +299,8 @@
|
|
299 |
'dev_requirement' => false,
|
300 |
),
|
301 |
'kirki-framework/kirki' => array(
|
302 |
-
'pretty_version' => '
|
303 |
-
'version' => '
|
304 |
'type' => 'library',
|
305 |
'install_path' => __DIR__ . '/../../',
|
306 |
'aliases' => array(),
|
@@ -317,21 +317,21 @@
|
|
317 |
'dev_requirement' => false,
|
318 |
),
|
319 |
'kirki-framework/module-css' => array(
|
320 |
-
'pretty_version' => 'v1.0.
|
321 |
-
'version' => '1.0.
|
322 |
'type' => 'library',
|
323 |
'install_path' => __DIR__ . '/../kirki-framework/module-css',
|
324 |
'aliases' => array(),
|
325 |
-
'reference' => '
|
326 |
'dev_requirement' => false,
|
327 |
),
|
328 |
'kirki-framework/module-editor-styles' => array(
|
329 |
-
'pretty_version' => 'v1.0.
|
330 |
-
'version' => '1.0.
|
331 |
'type' => 'library',
|
332 |
'install_path' => __DIR__ . '/../kirki-framework/module-editor-styles',
|
333 |
'aliases' => array(),
|
334 |
-
'reference' => '
|
335 |
'dev_requirement' => false,
|
336 |
),
|
337 |
'kirki-framework/module-field-dependencies' => array(
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
+
'pretty_version' => '4.0.23',
|
4 |
+
'version' => '4.0.23.0',
|
5 |
'type' => 'library',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
38 |
'dev_requirement' => false,
|
39 |
),
|
40 |
'kirki-framework/control-code' => array(
|
41 |
+
'pretty_version' => 'v1.0.2',
|
42 |
+
'version' => '1.0.2.0',
|
43 |
'type' => 'library',
|
44 |
'install_path' => __DIR__ . '/../kirki-framework/control-code',
|
45 |
'aliases' => array(),
|
46 |
+
'reference' => '88e7b01127fc7039e2c1fc6761184b0332f9a0c3',
|
47 |
'dev_requirement' => false,
|
48 |
),
|
49 |
'kirki-framework/control-color' => array(
|
164 |
'dev_requirement' => false,
|
165 |
),
|
166 |
'kirki-framework/control-react-colorful' => array(
|
167 |
+
'pretty_version' => '1.0.15',
|
168 |
+
'version' => '1.0.15.0',
|
169 |
'type' => 'library',
|
170 |
'install_path' => __DIR__ . '/../kirki-framework/control-react-colorful',
|
171 |
'aliases' => array(),
|
172 |
+
'reference' => 'fe1724a3d744aac2f80d965648775567ea8ba1f3',
|
173 |
'dev_requirement' => false,
|
174 |
),
|
175 |
'kirki-framework/control-react-select' => array(
|
182 |
'dev_requirement' => false,
|
183 |
),
|
184 |
'kirki-framework/control-repeater' => array(
|
185 |
+
'pretty_version' => '1.0.5',
|
186 |
+
'version' => '1.0.5.0',
|
187 |
'type' => 'library',
|
188 |
'install_path' => __DIR__ . '/../kirki-framework/control-repeater',
|
189 |
'aliases' => array(),
|
190 |
+
'reference' => '5375e65054b7a73da4e735fa7bee831c7f6c1cfc',
|
191 |
'dev_requirement' => false,
|
192 |
),
|
193 |
'kirki-framework/control-select' => array(
|
299 |
'dev_requirement' => false,
|
300 |
),
|
301 |
'kirki-framework/kirki' => array(
|
302 |
+
'pretty_version' => '4.0.23',
|
303 |
+
'version' => '4.0.23.0',
|
304 |
'type' => 'library',
|
305 |
'install_path' => __DIR__ . '/../../',
|
306 |
'aliases' => array(),
|
317 |
'dev_requirement' => false,
|
318 |
),
|
319 |
'kirki-framework/module-css' => array(
|
320 |
+
'pretty_version' => 'v1.0.11',
|
321 |
+
'version' => '1.0.11.0',
|
322 |
'type' => 'library',
|
323 |
'install_path' => __DIR__ . '/../kirki-framework/module-css',
|
324 |
'aliases' => array(),
|
325 |
+
'reference' => 'b53cff693b489cc7e4991ef725a66ddafa8aa84b',
|
326 |
'dev_requirement' => false,
|
327 |
),
|
328 |
'kirki-framework/module-editor-styles' => array(
|
329 |
+
'pretty_version' => 'v1.0.2',
|
330 |
+
'version' => '1.0.2.0',
|
331 |
'type' => 'library',
|
332 |
'install_path' => __DIR__ . '/../kirki-framework/module-editor-styles',
|
333 |
'aliases' => array(),
|
334 |
+
'reference' => 'a86f8b66fa0a442ce092c122b997c8d5f8d20951',
|
335 |
'dev_requirement' => false,
|
336 |
),
|
337 |
'kirki-framework/module-field-dependencies' => array(
|
packages/kirki-framework/control-code/LICENSE
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
-
MIT License
|
2 |
-
|
3 |
-
Copyright (c) 2019 kirki-framework
|
4 |
-
|
5 |
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
-
of this software and associated documentation files (the "Software"), to deal
|
7 |
-
in the Software without restriction, including without limitation the rights
|
8 |
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
-
copies of the Software, and to permit persons to whom the Software is
|
10 |
-
furnished to do so, subject to the following conditions:
|
11 |
-
|
12 |
-
The above copyright notice and this permission notice shall be included in all
|
13 |
-
copies or substantial portions of the Software.
|
14 |
-
|
15 |
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
-
SOFTWARE.
|
1 |
+
MIT License
|
2 |
+
|
3 |
+
Copyright (c) 2019 kirki-framework
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in all
|
13 |
+
copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
+
SOFTWARE.
|
packages/kirki-framework/control-code/composer.json
CHANGED
@@ -1,28 +1,28 @@
|
|
1 |
-
{
|
2 |
-
"name": "kirki-framework/control-code",
|
3 |
-
"type": "library",
|
4 |
-
"description": "Code control for the Kirki Customizer framework.",
|
5 |
-
"keywords": [
|
6 |
-
"wordpress",
|
7 |
-
"customizer",
|
8 |
-
"framework"
|
9 |
-
],
|
10 |
-
"homepage": "https://kirki.org",
|
11 |
-
"license": "MIT",
|
12 |
-
"authors": [
|
13 |
-
{
|
14 |
-
"name": "Kirki Framework",
|
15 |
-
"email": "connect@mapsteps.com"
|
16 |
-
}
|
17 |
-
],
|
18 |
-
"require": {
|
19 |
-
"php": ">=7.0",
|
20 |
-
"kirki-framework/field": "*"
|
21 |
-
},
|
22 |
-
"autoload": {
|
23 |
-
"psr-4": {
|
24 |
-
"Kirki\\Control\\": "src/Control",
|
25 |
-
"Kirki\\Field\\": "src/Field"
|
26 |
-
}
|
27 |
-
}
|
28 |
-
}
|
1 |
+
{
|
2 |
+
"name": "kirki-framework/control-code",
|
3 |
+
"type": "library",
|
4 |
+
"description": "Code control for the Kirki Customizer framework.",
|
5 |
+
"keywords": [
|
6 |
+
"wordpress",
|
7 |
+
"customizer",
|
8 |
+
"framework"
|
9 |
+
],
|
10 |
+
"homepage": "https://kirki.org",
|
11 |
+
"license": "MIT",
|
12 |
+
"authors": [
|
13 |
+
{
|
14 |
+
"name": "Kirki Framework",
|
15 |
+
"email": "connect@mapsteps.com"
|
16 |
+
}
|
17 |
+
],
|
18 |
+
"require": {
|
19 |
+
"php": ">=7.0",
|
20 |
+
"kirki-framework/field": "*"
|
21 |
+
},
|
22 |
+
"autoload": {
|
23 |
+
"psr-4": {
|
24 |
+
"Kirki\\Control\\": "src/Control",
|
25 |
+
"Kirki\\Field\\": "src/Field"
|
26 |
+
}
|
27 |
+
}
|
28 |
+
}
|
packages/kirki-framework/control-code/src/Control/Code.php
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The code editor control.
|
4 |
+
*
|
5 |
+
* Creates a code editor control.
|
6 |
+
*
|
7 |
+
* @package kirki-framework/control-code
|
8 |
+
* @license MIT (https://oss.ninja/mit?organization=Kirki%20Framework)
|
9 |
+
* @since 1.0.2
|
10 |
+
*/
|
11 |
+
|
12 |
+
namespace Kirki\Control;
|
13 |
+
|
14 |
+
use Kirki\Control\Base;
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Slider control.
|
18 |
+
*
|
19 |
+
* @since 1.0.2
|
20 |
+
*/
|
21 |
+
class Code extends Base {
|
22 |
+
|
23 |
+
/**
|
24 |
+
* The control version.
|
25 |
+
*
|
26 |
+
* @since 1.0.2
|
27 |
+
* @access public
|
28 |
+
* @var string
|
29 |
+
*/
|
30 |
+
public static $control_ver = '1.0.2';
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Customize control type.
|
34 |
+
*
|
35 |
+
* @since 1.0.2
|
36 |
+
* @var string
|
37 |
+
*/
|
38 |
+
public $type = 'code_editor';
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Type of code that is being edited.
|
42 |
+
*
|
43 |
+
* @since 1.0.2
|
44 |
+
* @var string
|
45 |
+
*/
|
46 |
+
public $code_type = '';
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Code editor settings.
|
50 |
+
*
|
51 |
+
* @see wp_enqueue_code_editor()
|
52 |
+
* @since 1.0.2
|
53 |
+
* @var array|false
|
54 |
+
*/
|
55 |
+
public $editor_settings = array();
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Enqueue control related scripts/styles.
|
59 |
+
*
|
60 |
+
* @since 1.0.2
|
61 |
+
*/
|
62 |
+
public function enqueue() {
|
63 |
+
$this->editor_settings = wp_enqueue_code_editor(
|
64 |
+
array_merge(
|
65 |
+
array(
|
66 |
+
'type' => $this->code_type,
|
67 |
+
'codemirror' => array(
|
68 |
+
'indentUnit' => 2,
|
69 |
+
'tabSize' => 2,
|
70 |
+
),
|
71 |
+
),
|
72 |
+
$this->editor_settings
|
73 |
+
)
|
74 |
+
);
|
75 |
+
}
|
76 |
+
|
77 |
+
/**
|
78 |
+
* Refresh the parameters passed to the JavaScript via JSON.
|
79 |
+
*
|
80 |
+
* @since 1.0.2
|
81 |
+
*
|
82 |
+
* @see WP_Customize_Control::json()
|
83 |
+
*
|
84 |
+
* @return array Array of parameters passed to the JavaScript.
|
85 |
+
*/
|
86 |
+
public function json() {
|
87 |
+
$json = parent::json();
|
88 |
+
$json['editor_settings'] = $this->editor_settings;
|
89 |
+
$json['input_attrs'] = $this->input_attrs;
|
90 |
+
return $json;
|
91 |
+
}
|
92 |
+
|
93 |
+
/**
|
94 |
+
* Don't render the control content from PHP, as it's rendered via JS on load.
|
95 |
+
*
|
96 |
+
* @since 1.0.2
|
97 |
+
*/
|
98 |
+
public function render_content() {}
|
99 |
+
|
100 |
+
/**
|
101 |
+
* Render a JS template for control display.
|
102 |
+
*
|
103 |
+
* @since 1.0.2
|
104 |
+
*/
|
105 |
+
public function content_template() {
|
106 |
+
?>
|
107 |
+
<# var elementIdPrefix = 'el' + String( Math.random() ); #>
|
108 |
+
<# if ( data.label ) { #>
|
109 |
+
<label for="{{ elementIdPrefix }}_editor" class="customize-control-title">
|
110 |
+
{{ data.label }}
|
111 |
+
</label>
|
112 |
+
<# } #>
|
113 |
+
<# if ( data.description ) { #>
|
114 |
+
<span class="description customize-control-description">{{{ data.description }}}</span>
|
115 |
+
<# } #>
|
116 |
+
<div class="customize-control-notifications-container"></div>
|
117 |
+
<textarea id="{{ elementIdPrefix }}_editor"
|
118 |
+
<# _.each( _.extend( { 'class': 'code' }, data.input_attrs ), function( value, key ) { #>
|
119 |
+
{{{ key }}}="{{ value }}"
|
120 |
+
<# }); #>
|
121 |
+
></textarea>
|
122 |
+
<?php
|
123 |
+
}
|
124 |
+
|
125 |
+
}
|
packages/kirki-framework/control-code/src/Field/Code.php
CHANGED
@@ -1,140 +1,140 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Override field methods
|
4 |
-
*
|
5 |
-
* @package kirki-framework/control-code
|
6 |
-
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
7 |
-
* @license https://opensource.org/licenses/MIT
|
8 |
-
* @since 1.0
|
9 |
-
*/
|
10 |
-
|
11 |
-
namespace Kirki\Field;
|
12 |
-
|
13 |
-
use Kirki\Field;
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Field overrides.
|
17 |
-
*/
|
18 |
-
class Code extends Field {
|
19 |
-
|
20 |
-
/**
|
21 |
-
* The field type.
|
22 |
-
*
|
23 |
-
* @access public
|
24 |
-
* @since 1.0
|
25 |
-
* @var string
|
26 |
-
*/
|
27 |
-
public $type = 'kirki-code';
|
28 |
-
|
29 |
-
/**
|
30 |
-
* The control class-name.
|
31 |
-
*
|
32 |
-
* @access protected
|
33 |
-
* @since 0.1
|
34 |
-
* @var string
|
35 |
-
*/
|
36 |
-
protected $control_class = '\
|
37 |
-
|
38 |
-
/**
|
39 |
-
* Filter arguments before creating the setting.
|
40 |
-
*
|
41 |
-
* @access public
|
42 |
-
* @since 0.1
|
43 |
-
* @param array $args The field arguments.
|
44 |
-
* @param WP_Customize_Manager $wp_customize The customizer instance.
|
45 |
-
* @return array
|
46 |
-
*/
|
47 |
-
public function filter_setting_args( $args, $wp_customize ) {
|
48 |
-
if ( $args['settings'] === $this->args['settings'] ) {
|
49 |
-
$args = parent::filter_setting_args( $args, $wp_customize );
|
50 |
-
|
51 |
-
// Set the sanitize-callback if none is defined.
|
52 |
-
if ( ! isset( $args['sanitize_callback'] ) || ! $args['sanitize_callback'] ) {
|
53 |
-
$args['sanitize_callback'] = function( $value ) {
|
54 |
-
/**
|
55 |
-
* Code fields should not be filtered by default.
|
56 |
-
* Their values usually contain CSS/JS and it it the responsibility
|
57 |
-
* of the theme/plugin that registers this field
|
58 |
-
* to properly apply any necessary sanitization.
|
59 |
-
*/
|
60 |
-
return $value;
|
61 |
-
};
|
62 |
-
}
|
63 |
-
}
|
64 |
-
return $args;
|
65 |
-
}
|
66 |
-
|
67 |
-
/**
|
68 |
-
* Filter arguments before creating the control.
|
69 |
-
*
|
70 |
-
* @access public
|
71 |
-
* @since 0.1
|
72 |
-
* @param array $args The field arguments.
|
73 |
-
* @param WP_Customize_Manager $wp_customize The customizer instance.
|
74 |
-
* @return array
|
75 |
-
*/
|
76 |
-
public function filter_control_args( $args, $wp_customize ) {
|
77 |
-
if ( $args['settings'] === $this->args['settings'] ) {
|
78 |
-
$args = parent::filter_control_args( $args, $wp_customize );
|
79 |
-
|
80 |
-
$args['type'] = 'code_editor';
|
81 |
-
|
82 |
-
$args['input_attrs'] = [
|
83 |
-
'aria-describedby' => 'kirki-code editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4',
|
84 |
-
];
|
85 |
-
if ( ! isset( $args['choices']['language'] ) ) {
|
86 |
-
return;
|
87 |
-
}
|
88 |
-
|
89 |
-
$language = $args['choices']['language'];
|
90 |
-
switch ( $language ) {
|
91 |
-
case 'json':
|
92 |
-
case 'xml':
|
93 |
-
$language = 'application/' . $language;
|
94 |
-
break;
|
95 |
-
case 'http':
|
96 |
-
$language = 'message/' . $language;
|
97 |
-
break;
|
98 |
-
case 'js':
|
99 |
-
case 'javascript':
|
100 |
-
$language = 'text/javascript';
|
101 |
-
break;
|
102 |
-
case 'txt':
|
103 |
-
$language = 'text/plain';
|
104 |
-
break;
|
105 |
-
case 'css':
|
106 |
-
case 'jsx':
|
107 |
-
case 'html':
|
108 |
-
$language = 'text/' . $language;
|
109 |
-
break;
|
110 |
-
default:
|
111 |
-
$language = ( 'js' === $language ) ? 'javascript' : $language;
|
112 |
-
$language = ( 'htm' === $language ) ? 'html' : $language;
|
113 |
-
$language = ( 'yml' === $language ) ? 'yaml' : $language;
|
114 |
-
$language = 'text/x-' . $language;
|
115 |
-
break;
|
116 |
-
}
|
117 |
-
if ( ! isset( $args['editor_settings'] ) ) {
|
118 |
-
$args['editor_settings'] = [];
|
119 |
-
}
|
120 |
-
if ( ! isset( $args['editor_settings']['codemirror'] ) ) {
|
121 |
-
$args['editor_settings']['codemirror'] = [];
|
122 |
-
}
|
123 |
-
if ( ! isset( $args['editor_settings']['codemirror']['mode'] ) ) {
|
124 |
-
$args['editor_settings']['codemirror']['mode'] = $language;
|
125 |
-
}
|
126 |
-
|
127 |
-
if ( 'text/x-scss' === $args['editor_settings']['codemirror']['mode'] ) {
|
128 |
-
$args['editor_settings']['codemirror'] = array_merge(
|
129 |
-
$args['editor_settings']['codemirror'],
|
130 |
-
[
|
131 |
-
'lint' => false,
|
132 |
-
'autoCloseBrackets' => true,
|
133 |
-
'matchBrackets' => true,
|
134 |
-
]
|
135 |
-
);
|
136 |
-
}
|
137 |
-
}
|
138 |
-
return $args;
|
139 |
-
}
|
140 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Override field methods
|
4 |
+
*
|
5 |
+
* @package kirki-framework/control-code
|
6 |
+
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
7 |
+
* @license https://opensource.org/licenses/MIT
|
8 |
+
* @since 1.0
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace Kirki\Field;
|
12 |
+
|
13 |
+
use Kirki\Field;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Field overrides.
|
17 |
+
*/
|
18 |
+
class Code extends Field {
|
19 |
+
|
20 |
+
/**
|
21 |
+
* The field type.
|
22 |
+
*
|
23 |
+
* @access public
|
24 |
+
* @since 1.0
|
25 |
+
* @var string
|
26 |
+
*/
|
27 |
+
public $type = 'kirki-code';
|
28 |
+
|
29 |
+
/**
|
30 |
+
* The control class-name.
|
31 |
+
*
|
32 |
+
* @access protected
|
33 |
+
* @since 0.1
|
34 |
+
* @var string
|
35 |
+
*/
|
36 |
+
protected $control_class = '\Kirki\Control\Code';
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Filter arguments before creating the setting.
|
40 |
+
*
|
41 |
+
* @access public
|
42 |
+
* @since 0.1
|
43 |
+
* @param array $args The field arguments.
|
44 |
+
* @param WP_Customize_Manager $wp_customize The customizer instance.
|
45 |
+
* @return array
|
46 |
+
*/
|
47 |
+
public function filter_setting_args( $args, $wp_customize ) {
|
48 |
+
if ( $args['settings'] === $this->args['settings'] ) {
|
49 |
+
$args = parent::filter_setting_args( $args, $wp_customize );
|
50 |
+
|
51 |
+
// Set the sanitize-callback if none is defined.
|
52 |
+
if ( ! isset( $args['sanitize_callback'] ) || ! $args['sanitize_callback'] ) {
|
53 |
+
$args['sanitize_callback'] = function( $value ) {
|
54 |
+
/**
|
55 |
+
* Code fields should not be filtered by default.
|
56 |
+
* Their values usually contain CSS/JS and it it the responsibility
|
57 |
+
* of the theme/plugin that registers this field
|
58 |
+
* to properly apply any necessary sanitization.
|
59 |
+
*/
|
60 |
+
return $value;
|
61 |
+
};
|
62 |
+
}
|
63 |
+
}
|
64 |
+
return $args;
|
65 |
+
}
|
66 |
+
|
67 |
+
/**
|
68 |
+
* Filter arguments before creating the control.
|
69 |
+
*
|
70 |
+
* @access public
|
71 |
+
* @since 0.1
|
72 |
+
* @param array $args The field arguments.
|
73 |
+
* @param WP_Customize_Manager $wp_customize The customizer instance.
|
74 |
+
* @return array
|
75 |
+
*/
|
76 |
+
public function filter_control_args( $args, $wp_customize ) {
|
77 |
+
if ( $args['settings'] === $this->args['settings'] ) {
|
78 |
+
$args = parent::filter_control_args( $args, $wp_customize );
|
79 |
+
|
80 |
+
$args['type'] = 'code_editor';
|
81 |
+
|
82 |
+
$args['input_attrs'] = [
|
83 |
+
'aria-describedby' => 'kirki-code editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4',
|
84 |
+
];
|
85 |
+
if ( ! isset( $args['choices']['language'] ) ) {
|
86 |
+
return;
|
87 |
+
}
|
88 |
+
|
89 |
+
$language = $args['choices']['language'];
|
90 |
+
switch ( $language ) {
|
91 |
+
case 'json':
|
92 |
+
case 'xml':
|
93 |
+
$language = 'application/' . $language;
|
94 |
+
break;
|
95 |
+
case 'http':
|
96 |
+
$language = 'message/' . $language;
|
97 |
+
break;
|
98 |
+
case 'js':
|
99 |
+
case 'javascript':
|
100 |
+
$language = 'text/javascript';
|
101 |
+
break;
|
102 |
+
case 'txt':
|
103 |
+
$language = 'text/plain';
|
104 |
+
break;
|
105 |
+
case 'css':
|
106 |
+
case 'jsx':
|
107 |
+
case 'html':
|
108 |
+
$language = 'text/' . $language;
|
109 |
+
break;
|
110 |
+
default:
|
111 |
+
$language = ( 'js' === $language ) ? 'javascript' : $language;
|
112 |
+
$language = ( 'htm' === $language ) ? 'html' : $language;
|
113 |
+
$language = ( 'yml' === $language ) ? 'yaml' : $language;
|
114 |
+
$language = 'text/x-' . $language;
|
115 |
+
break;
|
116 |
+
}
|
117 |
+
if ( ! isset( $args['editor_settings'] ) ) {
|
118 |
+
$args['editor_settings'] = [];
|
119 |
+
}
|
120 |
+
if ( ! isset( $args['editor_settings']['codemirror'] ) ) {
|
121 |
+
$args['editor_settings']['codemirror'] = [];
|
122 |
+
}
|
123 |
+
if ( ! isset( $args['editor_settings']['codemirror']['mode'] ) ) {
|
124 |
+
$args['editor_settings']['codemirror']['mode'] = $language;
|
125 |
+
}
|
126 |
+
|
127 |
+
if ( 'text/x-scss' === $args['editor_settings']['codemirror']['mode'] ) {
|
128 |
+
$args['editor_settings']['codemirror'] = array_merge(
|
129 |
+
$args['editor_settings']['codemirror'],
|
130 |
+
[
|
131 |
+
'lint' => false,
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
/*# sourceMappingURL=control.css.map*/
|
1 |
+
/*!***********************************************************************************************************!*\
|
2 |
+
!*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/control.scss ***!
|
3 |
+
\***********************************************************************************************************/
|
4 |
+
.customize-control-kirki-react-colorful .kirki-control-form {
|
5 |
+
position: relative;
|
6 |
+
box-sizing: border-box;
|
7 |
+
}
|
8 |
+
.customize-control-kirki-react-colorful .kirki-control-form * {
|
9 |
+
box-sizing: border-box;
|
10 |
+
}
|
11 |
+
.customize-control-kirki-react-colorful .kirki-control-cols {
|
12 |
+
display: flex;
|
13 |
+
align-items: flex-start;
|
14 |
+
}
|
15 |
+
.customize-control-kirki-react-colorful .kirki-control-left-col {
|
16 |
+
padding-right: 30px;
|
17 |
+
width: 90%;
|
18 |
+
width: calc(100% - 35px);
|
19 |
+
}
|
20 |
+
.customize-control-kirki-react-colorful .kirki-control-right-col {
|
21 |
+
display: flex;
|
22 |
+
justify-content: flex-end;
|
23 |
+
width: 35px;
|
24 |
+
}
|
25 |
+
.customize-control-kirki-react-colorful .use-hue-mode .react-colorful {
|
26 |
+
height: auto;
|
27 |
+
}
|
28 |
+
.customize-control-kirki-react-colorful .use-hue-mode .react-colorful__saturation {
|
29 |
+
display: none;
|
30 |
+
}
|
31 |
+
.customize-control-kirki-react-colorful .use-hue-mode .react-colorful__last-control {
|
32 |
+
border-radius: 4px;
|
33 |
+
}
|
34 |
+
.customize-control-kirki-react-colorful .use-hue-mode input.kirki-color-input {
|
35 |
+
padding-left: 8px;
|
36 |
+
padding-left: 8px;
|
37 |
+
}
|
38 |
+
.customize-control-kirki-react-colorful .kirki-trigger-circle-wrapper {
|
39 |
+
position: relative;
|
40 |
+
top: -3px;
|
41 |
+
display: flex;
|
42 |
+
align-items: center;
|
43 |
+
justify-content: center;
|
44 |
+
padding: 3px;
|
45 |
+
width: 33px;
|
46 |
+
height: 33px;
|
47 |
+
border-radius: 50%;
|
48 |
+
border: 1px solid #ccc;
|
49 |
+
}
|
50 |
+
.customize-control-kirki-react-colorful .kirki-trigger-circle {
|
51 |
+
position: relative;
|
52 |
+
padding: 0;
|
53 |
+
display: block;
|
54 |
+
width: 25px;
|
55 |
+
height: 25px;
|
56 |
+
background-size: 10px;
|
57 |
+
border: none;
|
58 |
+
border-radius: 50%;
|
59 |
+
cursor: pointer;
|
60 |
+
}
|
61 |
+
.customize-control-kirki-react-colorful .kirki-trigger-circle .kirki-color-preview {
|
62 |
+
position: absolute;
|
63 |
+
top: 0;
|
64 |
+
left: 0;
|
65 |
+
width: 100%;
|
66 |
+
height: 100%;
|
67 |
+
}
|
68 |
+
.customize-control-kirki-react-colorful .colorPickerContainer {
|
69 |
+
position: absolute;
|
70 |
+
top: 35px;
|
71 |
+
right: 0;
|
72 |
+
margin-top: 5px;
|
73 |
+
width: 100%;
|
74 |
+
padding: 15px;
|
75 |
+
background-color: #fff;
|
76 |
+
border-radius: 6px;
|
77 |
+
box-shadow: rgba(0, 0, 0, 0.09) 0 12px 15px 0;
|
78 |
+
z-index: 9999;
|
79 |
+
opacity: 0;
|
80 |
+
visibility: hidden;
|
81 |
+
transition: all 0.2s;
|
82 |
+
transition-property: opacity, visibility;
|
83 |
+
}
|
84 |
+
.customize-control-kirki-react-colorful .colorPickerContainer.is-open {
|
85 |
+
opacity: 1;
|
86 |
+
visibility: visible;
|
87 |
+
transition: all 0.2s ease 10ms;
|
88 |
+
transition-property: opacity, visibility;
|
89 |
+
}
|
90 |
+
.customize-control-kirki-react-colorful .react-colorful {
|
91 |
+
width: 100%;
|
92 |
+
border-radius: 4px;
|
93 |
+
}
|
94 |
+
.customize-control-kirki-react-colorful .react-colorful__saturation {
|
95 |
+
border-radius: 4px 4px 0 0;
|
96 |
+
}
|
97 |
+
.customize-control-kirki-react-colorful .react-colorful__last-control {
|
98 |
+
border-radius: 0 0 4px 4px;
|
99 |
+
}
|
100 |
+
.customize-control-kirki-react-colorful .react-colorful__pointer {
|
101 |
+
width: 20px;
|
102 |
+
height: 20px;
|
103 |
+
}
|
104 |
+
.customize-control-kirki-react-colorful .kirki-color-input-wrapper {
|
105 |
+
margin-top: 15px;
|
106 |
+
}
|
107 |
+
.customize-control-kirki-react-colorful .kirki-color-input-control {
|
108 |
+
position: relative;
|
109 |
+
display: flex;
|
110 |
+
align-items: center;
|
111 |
+
width: 100%;
|
112 |
+
}
|
113 |
+
.customize-control-kirki-react-colorful input.kirki-color-input {
|
114 |
+
display: block;
|
115 |
+
position: relative;
|
116 |
+
padding-left: 32px;
|
117 |
+
padding-right: 8px;
|
118 |
+
width: 100%;
|
119 |
+
height: 30px;
|
120 |
+
line-height: 30px;
|
121 |
+
color: #333;
|
122 |
+
border: 1px solid #ccc;
|
123 |
+
border-radius: 4px;
|
124 |
+
z-index: 1;
|
125 |
+
}
|
126 |
+
.customize-control-kirki-react-colorful .kirki-color-input:focus,
|
127 |
+
.customize-control-kirki-react-colorful .kirki-color-input:active {
|
128 |
+
box-shadow: 0 0 0 1px #2271b1;
|
129 |
+
outline: none;
|
130 |
+
border-color: #2271b1;
|
131 |
+
}
|
132 |
+
.customize-control-kirki-react-colorful .kirki-color-preview-wrapper {
|
133 |
+
position: absolute;
|
134 |
+
left: 6px;
|
135 |
+
width: 22px;
|
136 |
+
height: 22px;
|
137 |
+
background-repeat: repeat;
|
138 |
+
background-size: 8px;
|
139 |
+
border-radius: 50%;
|
140 |
+
border: 1px solid #ddd;
|
141 |
+
border: 2px solid #fff;
|
142 |
+
-webkit-box-shadow: 0px 0px 0px 1px #ddd;
|
143 |
+
box-shadow: 0px 0px 0px 1px #ddd;
|
144 |
+
z-index: 2;
|
145 |
+
}
|
146 |
+
.customize-control-kirki-react-colorful .kirki-color-preview,
|
147 |
+
.customize-control-kirki-react-colorful .kirki-control-reset {
|
148 |
+
position: absolute;
|
149 |
+
padding: 0;
|
150 |
+
background-color: transparent;
|
151 |
+
cursor: pointer;
|
152 |
+
}
|
153 |
+
.customize-control-kirki-react-colorful .kirki-color-preview {
|
154 |
+
display: block;
|
155 |
+
width: 100%;
|
156 |
+
height: 100%;
|
157 |
+
border-radius: 50%;
|
158 |
+
border-width: 0;
|
159 |
+
}
|
160 |
+
.customize-control-kirki-react-colorful .kirki-control-reset {
|
161 |
+
display: flex;
|
162 |
+
align-items: center;
|
163 |
+
justify-content: center;
|
164 |
+
top: 4px;
|
165 |
+
right: 35px;
|
166 |
+
width: 17px;
|
167 |
+
height: 17px;
|
168 |
+
border-radius: 50%;
|
169 |
+
border-width: 0;
|
170 |
+
z-index: 3;
|
171 |
+
}
|
172 |
+
.customize-control-kirki-react-colorful .kirki-control-reset:hover i {
|
173 |
+
color: #f00;
|
174 |
+
transform: rotate(-45deg);
|
175 |
+
}
|
176 |
+
.customize-control-kirki-react-colorful .kirki-control-reset i {
|
177 |
+
font-size: 12px;
|
178 |
+
width: auto;
|
179 |
+
height: auto;
|
180 |
+
transform: rotate(45deg);
|
181 |
+
transition: transform 0.2s;
|
182 |
+
}
|
183 |
+
.customize-control-kirki-react-colorful .kirki-color-swatches {
|
184 |
+
display: flex;
|
185 |
+
align-items: center;
|
186 |
+
justify-content: space-between;
|
187 |
+
margin-bottom: 12px;
|
188 |
+
}
|
189 |
+
.customize-control-kirki-react-colorful .kirki-color-swatch {
|
190 |
+
position: relative;
|
191 |
+
display: block;
|
192 |
+
padding: 0;
|
193 |
+
width: 25px;
|
194 |
+
height: 25px;
|
195 |
+
border-radius: 50%;
|
196 |
+
border: 2px solid #fff;
|
197 |
+
cursor: pointer;
|
198 |
+
transform: scale(1, 1);
|
199 |
+
transition: transform 0.2s;
|
200 |
+
-webkit-box-shadow: 0px 0px 0px 1px #ddd;
|
201 |
+
box-shadow: 0px 0px 0px 1px #ddd;
|
202 |
+
}
|
203 |
+
.customize-control-kirki-react-colorful .kirki-color-swatch:active,
|
204 |
+
.customize-control-kirki-react-colorful .kirki-color-swatch:focus {
|
205 |
+
outline: none;
|
206 |
+
}
|
207 |
+
.customize-control-kirki-react-colorful .kirki-color-swatch:hover,
|
208 |
+
.customize-control-kirki-react-colorful .kirki-color-swatch:focus {
|
209 |
+
transform: scale(1.1, 1.1);
|
210 |
+
}
|
211 |
+
.customize-control-kirki-react-colorful .kirki-label-tooltip {
|
212 |
+
position: absolute;
|
213 |
+
bottom: 45px;
|
214 |
+
left: -8px;
|
215 |
+
padding: 7px 10px 3px;
|
216 |
+
width: auto;
|
217 |
+
width: max-content;
|
218 |
+
max-width: 100px;
|
219 |
+
color: #fff;
|
220 |
+
background-color: rgba(0, 0, 0, 0.7);
|
221 |
+
border-radius: 4px;
|
222 |
+
opacity: 0;
|
223 |
+
visibility: hidden;
|
224 |
+
transition: all 0.2s;
|
225 |
+
}
|
226 |
+
.customize-control-kirki-react-colorful .kirki-label-tooltip::before {
|
227 |
+
content: "";
|
228 |
+
position: absolute;
|
229 |
+
bottom: -8px;
|
230 |
+
left: 19px;
|
231 |
+
border-width: 8px 7px 0 7px;
|
232 |
+
border-style: solid;
|
233 |
+
border-color: rgba(0, 0, 0, 0.7) transparent transparent transparent;
|
234 |
+
}
|
235 |
+
.customize-control-kirki-react-colorful .kirki-label-tooltip .customize-control-title {
|
236 |
+
line-height: 1.2;
|
237 |
+
}
|
238 |
+
.customize-control-kirki-react-colorful .kirki-trigger-circle-wrapper:hover ~ .kirki-label-tooltip {
|
239 |
+
opacity: 1;
|
240 |
+
visibility: visible;
|
241 |
+
}
|
242 |
+
.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-multicolor] {
|
243 |
+
margin-right: 8px;
|
244 |
+
margin-bottom: 20px;
|
245 |
+
padding-right: 0;
|
246 |
+
width: 35px;
|
247 |
+
}
|
248 |
+
.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-multicolor] .kirki-control-reset {
|
249 |
+
top: -19px;
|
250 |
+
right: 8px;
|
251 |
+
}
|
252 |
+
.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-typography] .colorPickerContainer {
|
253 |
+
top: 55px;
|
254 |
+
}
|
255 |
+
.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-typography] .kirki-control-reset {
|
256 |
+
top: 30px;
|
257 |
+
right: auto;
|
258 |
+
left: 35px;
|
259 |
+
}
|
260 |
|
261 |
/*# sourceMappingURL=control.css.map*/
|
packages/kirki-framework/control-react-colorful/dist/control.css.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"file":"./control.css","mappings":"AAEE,
|
1 |
+
{"version":3,"file":"./control.css","mappings":";;;AAEE;EACE;EACA;AADJ;AAIE;EACE;AAFJ;AAKE;EACE;EACA;AAHJ;AAME;EACE;EACA;EACA;AAJJ;AAOE;EACE;EACA;EACA;AALJ;AASI;EACE;AAPN;AAUI;EACE;AARN;AAWI;EACE;AATN;AAYI;EACE;EACA;AAVN;AAcE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAZJ;AAeE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAbJ;AAeI;EACE;EACA;EACA;EACA;EACA;AAbN;AAiBE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;AAhBJ;AAkBI;EACE;EACA;EACA;EACA;AAhBN;AAoBE;EACE;EACA;AAlBJ;AAqBE;EACE;AAnBJ;AAsBE;EACE;AApBJ;AAuBE;EACE;EACA;AArBJ;AAwBE;EACE;AAtBJ;AAyBE;EACE;EACA;EACA;EACA;AAvBJ;AA0BE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAxBJ;AA2BE;;EAEE;EACA;EACA;AAzBJ;AA4BE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AA1BJ;AA6BE;;EAEE;EACA;EACA;EACA;AA3BJ;AA8BE;EACE;EACA;EACA;EACA;EACA;AA5BJ;AA+BE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AA7BJ;AAgCE;EACE;EACA;AA9BJ;AAiCE;EACE;EACA;EACA;EACA;EACA;AA/BJ;AAkCE;EACE;EACA;EACA;EACA;AAhCJ;AAmCE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAjCJ;AAoCE;;EAEE;AAlCJ;AAqCE;;EAEE;AAnCJ;AAsCE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AApCJ;AAsCI;EACE;EACA;EACA;EACA;EACA;EACA;EACA;AApCN;AAuCI;EACE;AArCN;AA0CI;EACE;EACA;AAxCN;AA4CE;EACE;EACA;EACA;EACA;AA1CJ;AA4CI;EACE;EACA;AA1CN;AA+CI;EACE;AA7CN;AAgDI;EACE;EACA;EACA;AA9CN,C","sources":["webpack://control-react-colorful/./src/control.scss"],"sourcesContent":["// React colorful control.\n.customize-control-kirki-react-colorful {\n .kirki-control-form {\n position: relative;\n box-sizing: border-box;\n }\n\n .kirki-control-form * {\n box-sizing: border-box;\n }\n\n .kirki-control-cols {\n display: flex;\n align-items: flex-start;\n }\n\n .kirki-control-left-col {\n padding-right: 30px;\n width: 90%;\n width: calc(100% - 35px);\n }\n\n .kirki-control-right-col {\n display: flex;\n justify-content: flex-end;\n width: 35px;\n }\n\n .use-hue-mode {\n .react-colorful {\n height: auto;\n }\n\n .react-colorful__saturation {\n display: none;\n }\n\n .react-colorful__last-control {\n border-radius: 4px;\n }\n\n input.kirki-color-input {\n padding-left: 8px;\n padding-left: 8px;\n }\n }\n\n .kirki-trigger-circle-wrapper {\n position: relative;\n top: -3px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 3px;\n width: 33px;\n height: 33px;\n border-radius: 50%;\n border: 1px solid #ccc;\n }\n\n .kirki-trigger-circle {\n position: relative;\n padding: 0;\n display: block;\n width: 25px;\n height: 25px;\n background-size: 10px;\n border: none;\n border-radius: 50%;\n cursor: pointer;\n\n .kirki-color-preview {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n }\n\n .colorPickerContainer {\n position: absolute;\n top: 35px;\n right: 0;\n margin-top: 5px;\n width: 100%;\n padding: 15px;\n background-color: #fff;\n border-radius: 6px;\n box-shadow: rgba(0, 0, 0, 0.09) 0 12px 15px 0;\n z-index: 9999;\n\n opacity: 0;\n visibility: hidden;\n transition: all 0.2s;\n transition-property: opacity, visibility; // Yes, only opacity and visibility please.\n\n &.is-open {\n opacity: 1;\n visibility: visible;\n transition: all 0.2s ease 10ms; // When we open the picker popup, the top offset is changed, so we need to wait a bit.\n transition-property: opacity, visibility; // Yes, only opacity and visibility please.\n }\n }\n\n .react-colorful {\n width: 100%;\n border-radius: 4px;\n }\n\n .react-colorful__saturation {\n border-radius: 4px 4px 0 0;\n }\n\n .react-colorful__last-control {\n border-radius: 0 0 4px 4px;\n }\n\n .react-colorful__pointer {\n width: 20px;\n height: 20px;\n }\n\n .kirki-color-input-wrapper {\n margin-top: 15px;\n }\n\n .kirki-color-input-control {\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n }\n\n input.kirki-color-input {\n display: block;\n position: relative;\n padding-left: 32px;\n padding-right: 8px;\n width: 100%;\n height: 30px;\n line-height: 30px;\n color: #333;\n border: 1px solid #ccc;\n border-radius: 4px;\n z-index: 1;\n }\n\n .kirki-color-input:focus,\n .kirki-color-input:active {\n box-shadow: 0 0 0 1px #2271b1;\n outline: none;\n border-color: #2271b1;\n }\n\n .kirki-color-preview-wrapper {\n position: absolute;\n left: 6px;\n width: 22px;\n height: 22px;\n background-repeat: repeat;\n background-size: 8px;\n border-radius: 50%;\n border: 1px solid #ddd;\n border: 2px solid #fff;\n -webkit-box-shadow: 0px 0px 0px 1px #ddd;\n box-shadow: 0px 0px 0px 1px #ddd;\n z-index: 2;\n }\n\n .kirki-color-preview,\n .kirki-control-reset {\n position: absolute;\n padding: 0;\n background-color: transparent;\n cursor: pointer;\n }\n\n .kirki-color-preview {\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n border-width: 0;\n }\n\n .kirki-control-reset {\n display: flex;\n align-items: center;\n justify-content: center;\n top: 4px;\n right: 35px;\n width: 17px;\n height: 17px;\n border-radius: 50%;\n border-width: 0;\n z-index: 3;\n }\n\n .kirki-control-reset:hover i {\n color: #f00;\n transform: rotate(-45deg);\n }\n\n .kirki-control-reset i {\n font-size: 12px;\n width: auto;\n height: auto;\n transform: rotate(45deg);\n transition: transform 0.2s;\n }\n\n .kirki-color-swatches {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 12px;\n }\n\n .kirki-color-swatch {\n position: relative;\n display: block;\n padding: 0;\n width: 25px;\n height: 25px;\n border-radius: 50%;\n border: 2px solid #fff;\n cursor: pointer;\n transform: scale(1, 1);\n transition: transform 0.2s;\n -webkit-box-shadow: 0px 0px 0px 1px #ddd;\n box-shadow: 0px 0px 0px 1px #ddd;\n }\n\n .kirki-color-swatch:active,\n .kirki-color-swatch:focus {\n outline: none;\n }\n\n .kirki-color-swatch:hover,\n .kirki-color-swatch:focus {\n transform: scale(1.1, 1.1);\n }\n\n .kirki-label-tooltip {\n position: absolute;\n bottom: 45px;\n left: -8px;\n padding: 7px 10px 3px; // The 4px of bottom side is handled by label / description's margin-bottom.\n width: auto; // just for fallback for max-content.\n width: max-content;\n max-width: 100px;\n color: #fff;\n background-color: rgba(0, 0, 0, 0.7);\n border-radius: 4px;\n opacity: 0;\n visibility: hidden;\n transition: all 0.2s;\n\n &::before {\n content: \"\";\n position: absolute;\n bottom: -8px;\n left: 19px;\n border-width: 8px 7px 0 7px;\n border-style: solid;\n border-color: rgba(0, 0, 0, 0.7) transparent transparent transparent;\n }\n\n .customize-control-title {\n line-height: 1.2;\n }\n }\n\n .kirki-trigger-circle-wrapper {\n &:hover ~ .kirki-label-tooltip {\n opacity: 1;\n visibility: visible;\n }\n }\n\n &[data-kirki-parent-control-type=\"kirki-multicolor\"] {\n margin-right: 8px;\n margin-bottom: 20px;\n padding-right: 0;\n width: 35px;\n\n .kirki-control-reset {\n top: -19px;\n right: 8px;\n }\n }\n\n &[data-kirki-parent-control-type=\"kirki-typography\"] {\n .colorPickerContainer {\n top: 55px;\n }\n\n .kirki-control-reset {\n top: 30px;\n right: auto;\n left: 35px;\n }\n }\n}\n"],"names":[],"sourceRoot":""}
|
packages/kirki-framework/control-react-colorful/dist/control.js
CHANGED
@@ -1,2 +1,7678 @@
|
|
1 |
-
!function(){var t={8552:function(t,e,r){var n=r(852)(r(5639),"DataView");t.exports=n},1989:function(t,e,r){var n=r(1789),o=r(401),a=r(7667),c=r(1327),i=r(1866);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=c,u.prototype.set=i,t.exports=u},8407:function(t,e,r){var n=r(7040),o=r(4125),a=r(2117),c=r(7529),i=r(4705);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=c,u.prototype.set=i,t.exports=u},7071:function(t,e,r){var n=r(852)(r(5639),"Map");t.exports=n},3369:function(t,e,r){var n=r(4785),o=r(1285),a=r(6e3),c=r(9916),i=r(5265);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=c,u.prototype.set=i,t.exports=u},3818:function(t,e,r){var n=r(852)(r(5639),"Promise");t.exports=n},8525:function(t,e,r){var n=r(852)(r(5639),"Set");t.exports=n},8668:function(t,e,r){var n=r(3369),o=r(619),a=r(2385);function c(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}c.prototype.add=c.prototype.push=o,c.prototype.has=a,t.exports=c},6384:function(t,e,r){var n=r(8407),o=r(7465),a=r(3779),c=r(7599),i=r(4758),u=r(4309);function s(t){var e=this.__data__=new n(t);this.size=e.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=c,s.prototype.has=i,s.prototype.set=u,t.exports=s},2705:function(t,e,r){var n=r(5639).Symbol;t.exports=n},1149:function(t,e,r){var n=r(5639).Uint8Array;t.exports=n},577:function(t,e,r){var n=r(852)(r(5639),"WeakMap");t.exports=n},7412:function(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}},4963:function(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r<n;){var c=t[r];e(c,r,t)&&(a[o++]=c)}return a}},4636:function(t,e,r){var n=r(2545),o=r(5694),a=r(1469),c=r(4144),i=r(5776),u=r(6719),s=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),l=!r&&o(t),f=!r&&!l&&c(t),p=!r&&!l&&!f&&u(t),v=r||l||f||p,d=v?n(t.length,String):[],b=d.length;for(var h in t)!e&&!s.call(t,h)||v&&("length"==h||f&&("offset"==h||"parent"==h)||p&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||i(h,b))||d.push(h);return d}},9932:function(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},2488:function(t){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},2908:function(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},4865:function(t,e,r){var n=r(9465),o=r(7813),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var c=t[e];a.call(t,e)&&o(c,r)&&(void 0!==r||e in t)||n(t,e,r)}},8470:function(t,e,r){var n=r(7813);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},4037:function(t,e,r){var n=r(8363),o=r(3674);t.exports=function(t,e){return t&&n(e,o(e),t)}},3886:function(t,e,r){var n=r(8363),o=r(1704);t.exports=function(t,e){return t&&n(e,o(e),t)}},9465:function(t,e,r){var n=r(8777);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},5990:function(t,e,r){var n=r(6384),o=r(7412),a=r(4865),c=r(4037),i=r(3886),u=r(4626),s=r(278),l=r(8805),f=r(1911),p=r(8234),v=r(6904),d=r(4160),b=r(3824),h=r(9148),g=r(8517),m=r(1469),y=r(4144),x=r(6688),_=r(3218),k=r(2928),j=r(3674),C=r(1704),w="[object Arguments]",O="[object Function]",A="[object Object]",E={};E[w]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E[A]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E[O]=E["[object WeakMap]"]=!1,t.exports=function t(e,r,S,H,P,R){var M,N=1&r,B=2&r,z=4&r;if(S&&(M=P?S(e,H,P,R):S(e)),void 0!==M)return M;if(!_(e))return e;var I=m(e);if(I){if(M=b(e),!N)return s(e,M)}else{var F=d(e),T=F==O||"[object GeneratorFunction]"==F;if(y(e))return u(e,N);if(F==A||F==w||T&&!P){if(M=B||T?{}:g(e),!N)return B?f(e,i(M,e)):l(e,c(M,e))}else{if(!E[F])return P?e:{};M=h(e,F,N)}}R||(R=new n);var U=R.get(e);if(U)return U;R.set(e,M),k(e)?e.forEach((function(n){M.add(t(n,r,S,n,e,R))})):x(e)&&e.forEach((function(n,o){M.set(o,t(n,r,S,o,e,R))}));var L=I?void 0:(z?B?v:p:B?C:j)(e);return o(L||e,(function(n,o){L&&(n=e[o=n]),a(M,o,t(n,r,S,o,e,R))})),M}},3118:function(t,e,r){var n=r(3218),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},9881:function(t,e,r){var n=r(7816),o=r(9291)(n);t.exports=o},8483:function(t,e,r){var n=r(5063)();t.exports=n},7816:function(t,e,r){var n=r(8483),o=r(3674);t.exports=function(t,e){return t&&n(t,e,o)}},7786:function(t,e,r){var n=r(1811),o=r(327);t.exports=function(t,e){for(var r=0,a=(e=n(e,t)).length;null!=t&&r<a;)t=t[o(e[r++])];return r&&r==a?t:void 0}},8866:function(t,e,r){var n=r(2488),o=r(1469);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},4239:function(t,e,r){var n=r(2705),o=r(9607),a=r(2333),c=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?o(t):a(t)}},13:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},9454:function(t,e,r){var n=r(4239),o=r(7005);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},939:function(t,e,r){var n=r(2492),o=r(7005);t.exports=function t(e,r,a,c,i){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,a,c,t,i))}},2492:function(t,e,r){var n=r(6384),o=r(7114),a=r(8351),c=r(6096),i=r(4160),u=r(1469),s=r(4144),l=r(6719),f="[object Arguments]",p="[object Array]",v="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,b,h,g){var m=u(t),y=u(e),x=m?p:i(t),_=y?p:i(e),k=(x=x==f?v:x)==v,j=(_=_==f?v:_)==v,C=x==_;if(C&&s(t)){if(!s(e))return!1;m=!0,k=!1}if(C&&!k)return g||(g=new n),m||l(t)?o(t,e,r,b,h,g):a(t,e,x,r,b,h,g);if(!(1&r)){var w=k&&d.call(t,"__wrapped__"),O=j&&d.call(e,"__wrapped__");if(w||O){var A=w?t.value():t,E=O?e.value():e;return g||(g=new n),h(A,E,r,b,g)}}return!!C&&(g||(g=new n),c(t,e,r,b,h,g))}},5588:function(t,e,r){var n=r(4160),o=r(7005);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},2958:function(t,e,r){var n=r(6384),o=r(939);t.exports=function(t,e,r,a){var c=r.length,i=c,u=!a;if(null==t)return!i;for(t=Object(t);c--;){var s=r[c];if(u&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++c<i;){var l=(s=r[c])[0],f=t[l],p=s[1];if(u&&s[2]){if(void 0===f&&!(l in t))return!1}else{var v=new n;if(a)var d=a(f,p,l,t,e,v);if(!(void 0===d?o(p,f,3,a,v):d))return!1}}return!0}},8458:function(t,e,r){var n=r(3560),o=r(5346),a=r(3218),c=r(346),i=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,l=u.toString,f=s.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?p:i).test(c(t))}},9221:function(t,e,r){var n=r(4160),o=r(7005);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},8749:function(t,e,r){var n=r(4239),o=r(1780),a=r(7005),c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c["[object Arguments]"]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c["[object Function]"]=c["[object Map]"]=c["[object Number]"]=c["[object Object]"]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!c[n(t)]}},7206:function(t,e,r){var n=r(1573),o=r(6432),a=r(6557),c=r(1469),i=r(9601);t.exports=function(t){return"function"==typeof t?t:null==t?a:"object"==typeof t?c(t)?o(t[0],t[1]):n(t):i(t)}},280:function(t,e,r){var n=r(5726),o=r(6916),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},313:function(t,e,r){var n=r(3218),o=r(5726),a=r(3498),c=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var i in t)("constructor"!=i||!e&&c.call(t,i))&&r.push(i);return r}},9199:function(t,e,r){var n=r(9881),o=r(8612);t.exports=function(t,e){var r=-1,a=o(t)?Array(t.length):[];return n(t,(function(t,n,o){a[++r]=e(t,n,o)})),a}},1573:function(t,e,r){var n=r(2958),o=r(1499),a=r(2634);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?a(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},6432:function(t,e,r){var n=r(939),o=r(7361),a=r(9095),c=r(5403),i=r(9162),u=r(2634),s=r(327);t.exports=function(t,e){return c(t)&&i(e)?u(s(t),e):function(r){var c=o(r,t);return void 0===c&&c===e?a(r,t):n(e,c,3)}}},371:function(t){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},9152:function(t,e,r){var n=r(7786);t.exports=function(t){return function(e){return n(e,t)}}},2545:function(t){t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},531:function(t,e,r){var n=r(2705),o=r(9932),a=r(1469),c=r(3448),i=n?n.prototype:void 0,u=i?i.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(a(e))return o(e,t)+"";if(c(e))return u?u.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}},7518:function(t){t.exports=function(t){return function(e){return t(e)}}},4757:function(t){t.exports=function(t,e){return t.has(e)}},4290:function(t,e,r){var n=r(6557);t.exports=function(t){return"function"==typeof t?t:n}},1811:function(t,e,r){var n=r(1469),o=r(5403),a=r(5514),c=r(9833);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:a(c(t))}},4318:function(t,e,r){var n=r(1149);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},4626:function(t,e,r){t=r.nmd(t);var n=r(5639),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,c=a&&a.exports===o?n.Buffer:void 0,i=c?c.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=i?i(r):new t.constructor(r);return t.copy(n),n}},7157:function(t,e,r){var n=r(4318);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},3147:function(t){var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},419:function(t,e,r){var n=r(2705),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},7133:function(t,e,r){var n=r(4318);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},278:function(t){t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}},8363:function(t,e,r){var n=r(4865),o=r(9465);t.exports=function(t,e,r,a){var c=!r;r||(r={});for(var i=-1,u=e.length;++i<u;){var s=e[i],l=a?a(r[s],t[s],s,r,t):void 0;void 0===l&&(l=t[s]),c?o(r,s,l):n(r,s,l)}return r}},8805:function(t,e,r){var n=r(8363),o=r(9551);t.exports=function(t,e){return n(t,o(t),e)}},1911:function(t,e,r){var n=r(8363),o=r(1442);t.exports=function(t,e){return n(t,o(t),e)}},4429:function(t,e,r){var n=r(5639)["__core-js_shared__"];t.exports=n},9291:function(t,e,r){var n=r(8612);t.exports=function(t,e){return function(r,o){if(null==r)return r;if(!n(r))return t(r,o);for(var a=r.length,c=e?a:-1,i=Object(r);(e?c--:++c<a)&&!1!==o(i[c],c,i););return r}}},5063:function(t){t.exports=function(t){return function(e,r,n){for(var o=-1,a=Object(e),c=n(e),i=c.length;i--;){var u=c[t?i:++o];if(!1===r(a[u],u,a))break}return e}}},8777:function(t,e,r){var n=r(852),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},7114:function(t,e,r){var n=r(8668),o=r(2908),a=r(4757);t.exports=function(t,e,r,c,i,u){var s=1&r,l=t.length,f=e.length;if(l!=f&&!(s&&f>l))return!1;var p=u.get(t),v=u.get(e);if(p&&v)return p==e&&v==t;var d=-1,b=!0,h=2&r?new n:void 0;for(u.set(t,e),u.set(e,t);++d<l;){var g=t[d],m=e[d];if(c)var y=s?c(m,g,d,e,t,u):c(g,m,d,t,e,u);if(void 0!==y){if(y)continue;b=!1;break}if(h){if(!o(e,(function(t,e){if(!a(h,e)&&(g===t||i(g,t,r,c,u)))return h.push(e)}))){b=!1;break}}else if(g!==m&&!i(g,m,r,c,u)){b=!1;break}}return u.delete(t),u.delete(e),b}},8351:function(t,e,r){var n=r(2705),o=r(1149),a=r(7813),c=r(7114),i=r(8776),u=r(1814),s=n?n.prototype:void 0,l=s?s.valueOf:void 0;t.exports=function(t,e,r,n,s,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var v=i;case"[object Set]":var d=1&n;if(v||(v=u),t.size!=e.size&&!d)return!1;var b=p.get(t);if(b)return b==e;n|=2,p.set(t,e);var h=c(v(t),v(e),n,s,f,p);return p.delete(t),h;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},6096:function(t,e,r){var n=r(8234),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,a,c,i){var u=1&r,s=n(t),l=s.length;if(l!=n(e).length&&!u)return!1;for(var f=l;f--;){var p=s[f];if(!(u?p in e:o.call(e,p)))return!1}var v=i.get(t),d=i.get(e);if(v&&d)return v==e&&d==t;var b=!0;i.set(t,e),i.set(e,t);for(var h=u;++f<l;){var g=t[p=s[f]],m=e[p];if(a)var y=u?a(m,g,p,e,t,i):a(g,m,p,t,e,i);if(!(void 0===y?g===m||c(g,m,r,a,i):y)){b=!1;break}h||(h="constructor"==p)}if(b&&!h){var x=t.constructor,_=e.constructor;x==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof _&&_ instanceof _||(b=!1)}return i.delete(t),i.delete(e),b}},1957:function(t,e,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},8234:function(t,e,r){var n=r(8866),o=r(9551),a=r(3674);t.exports=function(t){return n(t,a,o)}},6904:function(t,e,r){var n=r(8866),o=r(1442),a=r(1704);t.exports=function(t){return n(t,a,o)}},5050:function(t,e,r){var n=r(7019);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},1499:function(t,e,r){var n=r(9162),o=r(3674);t.exports=function(t){for(var e=o(t),r=e.length;r--;){var a=e[r],c=t[a];e[r]=[a,c,n(c)]}return e}},852:function(t,e,r){var n=r(8458),o=r(7801);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},5924:function(t,e,r){var n=r(5569)(Object.getPrototypeOf,Object);t.exports=n},9607:function(t,e,r){var n=r(2705),o=Object.prototype,a=o.hasOwnProperty,c=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=c.call(t);return n&&(e?t[i]=r:delete t[i]),o}},9551:function(t,e,r){var n=r(4963),o=r(479),a=Object.prototype.propertyIsEnumerable,c=Object.getOwnPropertySymbols,i=c?function(t){return null==t?[]:(t=Object(t),n(c(t),(function(e){return a.call(t,e)})))}:o;t.exports=i},1442:function(t,e,r){var n=r(2488),o=r(5924),a=r(9551),c=r(479),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:c;t.exports=i},4160:function(t,e,r){var n=r(8552),o=r(7071),a=r(3818),c=r(8525),i=r(577),u=r(4239),s=r(346),l="[object Map]",f="[object Promise]",p="[object Set]",v="[object WeakMap]",d="[object DataView]",b=s(n),h=s(o),g=s(a),m=s(c),y=s(i),x=u;(n&&x(new n(new ArrayBuffer(1)))!=d||o&&x(new o)!=l||a&&x(a.resolve())!=f||c&&x(new c)!=p||i&&x(new i)!=v)&&(x=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?s(r):"";if(n)switch(n){case b:return d;case h:return l;case g:return f;case m:return p;case y:return v}return e}),t.exports=x},7801:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},222:function(t,e,r){var n=r(1811),o=r(5694),a=r(1469),c=r(5776),i=r(1780),u=r(327);t.exports=function(t,e,r){for(var s=-1,l=(e=n(e,t)).length,f=!1;++s<l;){var p=u(e[s]);if(!(f=null!=t&&r(t,p)))break;t=t[p]}return f||++s!=l?f:!!(l=null==t?0:t.length)&&i(l)&&c(p,l)&&(a(t)||o(t))}},1789:function(t,e,r){var n=r(4536);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},401:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:function(t,e,r){var n=r(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},1327:function(t,e,r){var n=r(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1866:function(t,e,r){var n=r(4536);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},3824:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},9148:function(t,e,r){var n=r(4318),o=r(7157),a=r(3147),c=r(419),i=r(7133);t.exports=function(t,e,r){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return i(t,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return a(t);case"[object Symbol]":return c(t)}}},8517:function(t,e,r){var n=r(3118),o=r(5924),a=r(5726);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},5776:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},5403:function(t,e,r){var n=r(1469),o=r(3448),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||c.test(t)||!a.test(t)||null!=e&&t in Object(e)}},7019:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:function(t,e,r){var n,o=r(4429),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},5726:function(t){var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},9162:function(t,e,r){var n=r(3218);t.exports=function(t){return t==t&&!n(t)}},7040:function(t){t.exports=function(){this.__data__=[],this.size=0}},4125:function(t,e,r){var n=r(8470),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},2117:function(t,e,r){var n=r(8470);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},7529:function(t,e,r){var n=r(8470);t.exports=function(t){return n(this.__data__,t)>-1}},4705:function(t,e,r){var n=r(8470);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},4785:function(t,e,r){var n=r(1989),o=r(8407),a=r(7071);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},1285:function(t,e,r){var n=r(5050);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6e3:function(t,e,r){var n=r(5050);t.exports=function(t){return n(this,t).get(t)}},9916:function(t,e,r){var n=r(5050);t.exports=function(t){return n(this,t).has(t)}},5265:function(t,e,r){var n=r(5050);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},8776:function(t){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},2634:function(t){t.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},4523:function(t,e,r){var n=r(8306);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},4536:function(t,e,r){var n=r(852)(Object,"create");t.exports=n},6916:function(t,e,r){var n=r(5569)(Object.keys,Object);t.exports=n},3498:function(t){t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},1167:function(t,e,r){t=r.nmd(t);var n=r(1957),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,c=a&&a.exports===o&&n.process,i=function(){try{return a&&a.require&&a.require("util").types||c&&c.binding&&c.binding("util")}catch(t){}}();t.exports=i},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:function(t){t.exports=function(t,e){return function(r){return t(e(r))}}},5639:function(t,e,r){var n=r(1957),o="object"==typeof self&&self&&self.Object===Object&&self,a=n||o||Function("return this")();t.exports=a},619:function(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2385:function(t){t.exports=function(t){return this.__data__.has(t)}},1814:function(t){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},7465:function(t,e,r){var n=r(8407);t.exports=function(){this.__data__=new n,this.size=0}},3779:function(t){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},7599:function(t){t.exports=function(t){return this.__data__.get(t)}},4758:function(t){t.exports=function(t){return this.__data__.has(t)}},4309:function(t,e,r){var n=r(8407),o=r(7071),a=r(3369);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var c=r.__data__;if(!o||c.length<199)return c.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(c)}return r.set(t,e),this.size=r.size,this}},5514:function(t,e,r){var n=r(4523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,c=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,r,n,o){e.push(n?o.replace(a,"$1"):r||t)})),e}));t.exports=c},327:function(t,e,r){var n=r(3448);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},361:function(t,e,r){var n=r(5990);t.exports=function(t){return n(t,5)}},7813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},2525:function(t,e,r){var n=r(7816),o=r(4290);t.exports=function(t,e){return t&&n(t,o(e))}},7361:function(t,e,r){var n=r(7786);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},9095:function(t,e,r){var n=r(13),o=r(222);t.exports=function(t,e){return null!=t&&o(t,e,n)}},6557:function(t){t.exports=function(t){return t}},5694:function(t,e,r){var n=r(9454),o=r(7005),a=Object.prototype,c=a.hasOwnProperty,i=a.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(t){return o(t)&&c.call(t,"callee")&&!i.call(t,"callee")};t.exports=u},1469:function(t){var e=Array.isArray;t.exports=e},8612:function(t,e,r){var n=r(3560),o=r(1780);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},4144:function(t,e,r){t=r.nmd(t);var n=r(5639),o=r(5062),a=e&&!e.nodeType&&e,c=a&&t&&!t.nodeType&&t,i=c&&c.exports===a?n.Buffer:void 0,u=(i?i.isBuffer:void 0)||o;t.exports=u},3560:function(t,e,r){var n=r(4239),o=r(3218);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},6688:function(t,e,r){var n=r(5588),o=r(7518),a=r(1167),c=a&&a.isMap,i=c?o(c):n;t.exports=i},3218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},8630:function(t,e,r){var n=r(4239),o=r(5924),a=r(7005),c=Function.prototype,i=Object.prototype,u=c.toString,s=i.hasOwnProperty,l=u.call(Object);t.exports=function(t){if(!a(t)||"[object Object]"!=n(t))return!1;var e=o(t);if(null===e)return!0;var r=s.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==l}},2928:function(t,e,r){var n=r(9221),o=r(7518),a=r(1167),c=a&&a.isSet,i=c?o(c):n;t.exports=i},7037:function(t,e,r){var n=r(4239),o=r(1469),a=r(7005);t.exports=function(t){return"string"==typeof t||!o(t)&&a(t)&&"[object String]"==n(t)}},3448:function(t,e,r){var n=r(4239),o=r(7005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},6719:function(t,e,r){var n=r(8749),o=r(7518),a=r(1167),c=a&&a.isTypedArray,i=c?o(c):n;t.exports=i},3674:function(t,e,r){var n=r(4636),o=r(280),a=r(8612);t.exports=function(t){return a(t)?n(t):o(t)}},1704:function(t,e,r){var n=r(4636),o=r(313),a=r(8612);t.exports=function(t){return a(t)?n(t,!0):o(t)}},5161:function(t,e,r){var n=r(9932),o=r(7206),a=r(9199),c=r(1469);t.exports=function(t,e){return(c(t)?n:a)(t,o(e,3))}},8306:function(t,e,r){var n=r(3369);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var c=t.apply(this,n);return r.cache=a.set(o,c)||a,c};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},9601:function(t,e,r){var n=r(371),o=r(9152),a=r(5403),c=r(327);t.exports=function(t){return a(t)?n(c(t)):o(t)}},479:function(t){t.exports=function(){return[]}},5062:function(t){t.exports=function(){return!1}},9833:function(t,e,r){var n=r(531);t.exports=function(t){return null==t?"":n(t)}},4754:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.autoprefix=void 0;var n,o=(n=r(2525))&&n.__esModule?n:{default:n},a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},c={borderRadius:function(t){return{msBorderRadius:t,MozBorderRadius:t,OBorderRadius:t,WebkitBorderRadius:t,borderRadius:t}},boxShadow:function(t){return{msBoxShadow:t,MozBoxShadow:t,OBoxShadow:t,WebkitBoxShadow:t,boxShadow:t}},userSelect:function(t){return{WebkitTouchCallout:t,KhtmlUserSelect:t,MozUserSelect:t,msUserSelect:t,WebkitUserSelect:t,userSelect:t}},flex:function(t){return{WebkitBoxFlex:t,MozBoxFlex:t,WebkitFlex:t,msFlex:t,flex:t}},flexBasis:function(t){return{WebkitFlexBasis:t,flexBasis:t}},justifyContent:function(t){return{WebkitJustifyContent:t,justifyContent:t}},transition:function(t){return{msTransition:t,MozTransition:t,OTransition:t,WebkitTransition:t,transition:t}},transform:function(t){return{msTransform:t,MozTransform:t,OTransform:t,WebkitTransform:t,transform:t}},absolute:function(t){var e=t&&t.split(" ");return{position:"absolute",top:e&&e[0],right:e&&e[1],bottom:e&&e[2],left:e&&e[3]}},extend:function(t,e){return e[t]||{extend:t}}},i=e.autoprefix=function(t){var e={};return(0,o.default)(t,(function(t,r){var n={};(0,o.default)(t,(function(t,e){var r=c[e];r?n=a({},n,r(t)):n[e]=t})),e[r]=n})),e};e.default=i},6002:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.active=void 0;var n,o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},a=(n=r(7363))&&n.__esModule?n:{default:n};function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=e.active=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,u,s;c(this,n);for(var l=arguments.length,f=Array(l),p=0;p<l;p++)f[p]=arguments[p];return u=s=i(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(f))),s.state={active:!1},s.handleMouseDown=function(){return s.setState({active:!0})},s.handleMouseUp=function(){return s.setState({active:!1})},s.render=function(){return a.default.createElement(e,{onMouseDown:s.handleMouseDown,onMouseUp:s.handleMouseUp},a.default.createElement(t,o({},s.props,s.state)))},i(s,u)}return u(n,r),n}(a.default.Component)};e.default=s},1765:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hover=void 0;var n,o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},a=(n=r(7363))&&n.__esModule?n:{default:n};function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=e.hover=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,u,s;c(this,n);for(var l=arguments.length,f=Array(l),p=0;p<l;p++)f[p]=arguments[p];return u=s=i(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(f))),s.state={hover:!1},s.handleMouseOver=function(){return s.setState({hover:!0})},s.handleMouseOut=function(){return s.setState({hover:!1})},s.render=function(){return a.default.createElement(e,{onMouseOver:s.handleMouseOver,onMouseOut:s.handleMouseOut},a.default.createElement(t,o({},s.props,s.state)))},i(s,u)}return u(n,r),n}(a.default.Component)};e.default=s},4147:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flattenNames=void 0;var n=i(r(7037)),o=i(r(2525)),a=i(r(8630)),c=i(r(5161));function i(t){return t&&t.__esModule?t:{default:t}}var u=e.flattenNames=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,c.default)(e,(function(e){Array.isArray(e)?t(e).map((function(t){return r.push(t)})):(0,a.default)(e)?(0,o.default)(e,(function(t,e){!0===t&&r.push(e),r.push(e+"-"+t)})):(0,n.default)(e)&&r.push(e)})),r};e.default=u},9941:function(t,e,r){"use strict";var n=s(r(4147)),o=s(r(8556)),a=s(r(4754)),c=s(r(1765)),i=s(r(6002)),u=s(r(7742));function s(t){return t&&t.__esModule?t:{default:t}}c.default,c.default,i.default,u.default;e.ZP=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),c=1;c<e;c++)r[c-1]=arguments[c];var i=(0,n.default)(r),u=(0,o.default)(t,i);return(0,a.default)(u)}},7742:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r={},n=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r[t]=e};return 0===t&&n("first-child"),t===e-1&&n("last-child"),(0===t||t%2==0)&&n("even"),1===Math.abs(t%2)&&n("odd"),n("nth-child",t),r}},8556:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mergeClasses=void 0;var n=c(r(2525)),o=c(r(361)),a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function c(t){return t&&t.__esModule?t:{default:t}}var i=e.mergeClasses=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=t.default&&(0,o.default)(t.default)||{};return e.map((function(e){var o=t[e];return o&&(0,n.default)(o,(function(t,e){r[e]||(r[e]={}),r[e]=a({},r[e],o[e])})),e})),r};e.default=i},7363:function(t){"use strict";t.exports=React}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={id:n,loaded:!1,exports:{}};return t[n](a,a.exports,r),a.loaded=!0,a.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},function(){"use strict";var t=ReactDOM,e=r.n(t),n=r(7363),o=r.n(n);function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function c(t,e){if(null==t)return{};var r,n,o={},a=Object.keys(t);for(n=0;n<a.length;n++)e.indexOf(r=a[n])>=0||(o[r]=t[r]);return o}function i(t){var e=(0,n.useRef)(t),r=(0,n.useRef)((function(t){e.current&&e.current(t)}));return e.current=t,r.current}var u=function(t,e,r){return void 0===e&&(e=0),void 0===r&&(r=1),t>r?r:t<e?e:t},s=function(t){return"touches"in t},l=function(t){return t&&t.ownerDocument.defaultView||self},f=function(t,e,r){var n=t.getBoundingClientRect(),o=s(e)?function(t,e){for(var r=0;r<t.length;r++)if(t[r].identifier===e)return t[r];return t[0]}(e.touches,r):e;return{left:u((o.pageX-(n.left+l(t).pageXOffset))/n.width),top:u((o.pageY-(n.top+l(t).pageYOffset))/n.height)}},p=function(t){!s(t)&&t.preventDefault()},v=o().memo((function(t){var e=t.onMove,r=t.onKey,u=c(t,["onMove","onKey"]),v=(0,n.useRef)(null),d=i(e),b=i(r),h=(0,n.useRef)(null),g=(0,n.useRef)(!1),m=(0,n.useMemo)((function(){var t=function(t){p(t),(s(t)?t.touches.length>0:t.buttons>0)&&v.current?d(f(v.current,t,h.current)):r(!1)},e=function(){return r(!1)};function r(r){var n=g.current,o=l(v.current),a=r?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",t),a(n?"touchend":"mouseup",e)}return[function(t){var e=t.nativeEvent,n=v.current;if(n&&(p(e),!function(t,e){return e&&!s(t)}(e,g.current)&&n)){if(s(e)){g.current=!0;var o=e.changedTouches||[];o.length&&(h.current=o[0].identifier)}n.focus(),d(f(n,e,h.current)),r(!0)}},function(t){var e=t.which||t.keyCode;e<37||e>40||(t.preventDefault(),b({left:39===e?.05:37===e?-.05:0,top:40===e?.05:38===e?-.05:0}))},r]}),[b,d]),y=m[0],x=m[1],_=m[2];return(0,n.useEffect)((function(){return _}),[_]),o().createElement("div",a({},u,{onTouchStart:y,onMouseDown:y,className:"react-colorful__interactive",ref:v,onKeyDown:x,tabIndex:0,role:"slider"}))})),d=function(t){return t.filter(Boolean).join(" ")},b=function(t){var e=t.color,r=t.left,n=t.top,a=void 0===n?.5:n,c=d(["react-colorful__pointer",t.className]);return o().createElement("div",{className:c,style:{top:100*a+"%",left:100*r+"%"}},o().createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:e}}))},h=function(t,e,r){return void 0===e&&(e=0),void 0===r&&(r=Math.pow(10,e)),Math.round(r*t)/r},g={grad:.9,turn:360,rad:360/(2*Math.PI)},m=function(t){return"#"===t[0]&&(t=t.substr(1)),t.length<6?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:1}:{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:1}},y=function(t,e){return void 0===e&&(e="deg"),Number(t)*(g[e]||1)},x=function(t){var e=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(t);return e?k({h:y(e[1],e[2]),s:Number(e[3]),l:Number(e[4]),a:void 0===e[5]?1:Number(e[5])/(e[6]?100:1)}):{h:0,s:0,v:0,a:1}},_=x,k=function(t){var e=t.s,r=t.l;return{h:t.h,s:(e*=(r<50?r:100-r)/100)>0?2*e/(r+e)*100:0,v:r+e,a:t.a}},j=function(t){var e=t.s,r=t.v,n=t.a,o=(200-e)*r/100;return{h:h(t.h),s:h(o>0&&o<200?e*r/100/(o<=100?o:200-o)*100:0),l:h(o/2),a:h(n,2)}},C=function(t){var e=j(t);return"hsl("+e.h+", "+e.s+"%, "+e.l+"%)"},w=function(t){var e=j(t);return"hsla("+e.h+", "+e.s+"%, "+e.l+"%, "+e.a+")"},O=function(t){var e=t.h,r=t.s,n=t.v,o=t.a;e=e/360*6,r/=100,n/=100;var a=Math.floor(e),c=n*(1-r),i=n*(1-(e-a)*r),u=n*(1-(1-e+a)*r),s=a%6;return{r:h(255*[n,i,c,c,u,n][s]),g:h(255*[u,n,n,i,c,c][s]),b:h(255*[c,c,u,n,n,i][s]),a:h(o,2)}},A=function(t){var e=/hsva?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(t);return e?M({h:y(e[1],e[2]),s:Number(e[3]),v:Number(e[4]),a:void 0===e[5]?1:Number(e[5])/(e[6]?100:1)}):{h:0,s:0,v:0,a:1}},E=A,S=function(t){var e=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(t);return e?R({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:void 0===e[7]?1:Number(e[7])/(e[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=S,P=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},R=function(t){var e=t.r,r=t.g,n=t.b,o=t.a,a=Math.max(e,r,n),c=a-Math.min(e,r,n),i=c?a===e?(r-n)/c:a===r?2+(n-e)/c:4+(e-r)/c:0;return{h:h(60*(i<0?i+6:i)),s:h(a?c/a*100:0),v:h(a/255*100),a:o}},M=function(t){return{h:h(t.h),s:h(t.s),v:h(t.v),a:h(t.a,2)}},N=o().memo((function(t){var e=t.hue,r=t.onChange,n=d(["react-colorful__hue",t.className]);return o().createElement("div",{className:n},o().createElement(v,{onMove:function(t){r({h:360*t.left})},onKey:function(t){r({h:u(e+360*t.left,0,360)})},"aria-label":"Hue","aria-valuetext":h(e)},o().createElement(b,{className:"react-colorful__hue-pointer",left:e/360,color:C({h:e,s:100,v:100,a:1})})))})),B=o().memo((function(t){var e=t.hsva,r=t.onChange,n={backgroundColor:C({h:e.h,s:100,v:100,a:1})};return o().createElement("div",{className:"react-colorful__saturation",style:n},o().createElement(v,{onMove:function(t){r({s:100*t.left,v:100-100*t.top})},onKey:function(t){r({s:u(e.s+100*t.left,0,100),v:u(e.v-100*t.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+h(e.s)+"%, Brightness "+h(e.v)+"%"},o().createElement(b,{className:"react-colorful__saturation-pointer",top:1-e.v/100,left:e.s/100,color:C(e)})))})),z=function(t,e){if(t===e)return!0;for(var r in t)if(t[r]!==e[r])return!1;return!0},I=function(t,e){return t.replace(/\s/g,"")===e.replace(/\s/g,"")};function F(t,e,r){var o=i(r),a=(0,n.useState)((function(){return t.toHsva(e)})),c=a[0],u=a[1],s=(0,n.useRef)({color:e,hsva:c});(0,n.useEffect)((function(){if(!t.equal(e,s.current.color)){var r=t.toHsva(e);s.current={hsva:r,color:e},u(r)}}),[e,t]),(0,n.useEffect)((function(){var e;z(c,s.current.hsva)||t.equal(e=t.fromHsva(c),s.current.color)||(s.current={hsva:c,color:e},o(e))}),[c,t,o]);var l=(0,n.useCallback)((function(t){u((function(e){return Object.assign({},e,t)}))}),[]);return[c,l]}var T="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,U=new Map,L=function(t){T((function(){var e=t.current?t.current.ownerDocument:document;if(void 0!==e&&!U.has(e)){var n=e.createElement("style");n.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',U.set(e,n);var o=r.nc;o&&n.setAttribute("nonce",o),e.head.appendChild(n)}}),[])},D=function(t){var e=t.className,r=t.colorModel,i=t.color,u=void 0===i?r.defaultColor:i,s=t.onChange,l=c(t,["className","colorModel","color","onChange"]),f=(0,n.useRef)(null);L(f);var p=F(r,u,s),v=p[0],b=p[1],h=d(["react-colorful",e]);return o().createElement("div",a({},l,{ref:f,className:h}),o().createElement(B,{hsva:v,onChange:b}),o().createElement(N,{hue:v.h,onChange:b,className:"react-colorful__last-control"}))},W={defaultColor:"000",toHsva:function(t){return R(m(t))},fromHsva:function(t){return r=(e=O(t)).g,n=e.b,"#"+P(e.r)+P(r)+P(n);var e,r,n},equal:function(t,e){return t.toLowerCase()===e.toLowerCase()||z(m(t),m(e))}},J=function(t){return o().createElement(D,a({},t,{colorModel:W}))},Z=function(t){var e=t.className,r=t.hsva,n=t.onChange,a={backgroundImage:"linear-gradient(90deg, "+w(Object.assign({},r,{a:0}))+", "+w(Object.assign({},r,{a:1}))+")"},c=d(["react-colorful__alpha",e]);return o().createElement("div",{className:c},o().createElement("div",{className:"react-colorful__alpha-gradient",style:a}),o().createElement(v,{onMove:function(t){n({a:t.left})},onKey:function(t){n({a:u(r.a+t.left)})},"aria-label":"Alpha","aria-valuetext":h(100*r.a)+"%"},o().createElement(b,{className:"react-colorful__alpha-pointer",left:r.a,color:w(r)})))},q=function(t){var e=t.className,r=t.colorModel,i=t.color,u=void 0===i?r.defaultColor:i,s=t.onChange,l=c(t,["className","colorModel","color","onChange"]),f=(0,n.useRef)(null);L(f);var p=F(r,u,s),v=p[0],b=p[1],h=d(["react-colorful",e]);return o().createElement("div",a({},l,{ref:f,className:h}),o().createElement(B,{hsva:v,onChange:b}),o().createElement(N,{hue:v.h,onChange:b}),o().createElement(Z,{hsva:v,onChange:b,className:"react-colorful__last-control"}))},G={defaultColor:{h:0,s:0,l:0,a:1},toHsva:k,fromHsva:j,equal:z},$=function(t){return o().createElement(q,a({},t,{colorModel:G}))},K={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:x,fromHsva:w,equal:I},Q=function(t){return o().createElement(q,a({},t,{colorModel:K}))},V={defaultColor:{h:0,s:0,l:0},toHsva:function(t){return k({h:t.h,s:t.s,l:t.l,a:1})},fromHsva:function(t){return{h:(e=j(t)).h,s:e.s,l:e.l};var e},equal:z},Y=function(t){return o().createElement(D,a({},t,{colorModel:V}))},X={defaultColor:"hsl(0, 0%, 0%)",toHsva:_,fromHsva:C,equal:I},tt=function(t){return o().createElement(D,a({},t,{colorModel:X}))},et={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(t){return t},fromHsva:M,equal:z},rt=function(t){return o().createElement(q,a({},t,{colorModel:et}))},nt={defaultColor:"hsva(0, 0%, 0%, 1)",toHsva:A,fromHsva:function(t){var e=M(t);return"hsva("+e.h+", "+e.s+"%, "+e.v+"%, "+e.a+")"},equal:I},ot=function(t){return o().createElement(q,a({},t,{colorModel:nt}))},at={defaultColor:{h:0,s:0,v:0},toHsva:function(t){return{h:t.h,s:t.s,v:t.v,a:1}},fromHsva:function(t){var e=M(t);return{h:e.h,s:e.s,v:e.v}},equal:z},ct=function(t){return o().createElement(D,a({},t,{colorModel:at}))},it={defaultColor:"hsv(0, 0%, 0%)",toHsva:E,fromHsva:function(t){var e=M(t);return"hsv("+e.h+", "+e.s+"%, "+e.v+"%)"},equal:I},ut=function(t){return o().createElement(D,a({},t,{colorModel:it}))},st={defaultColor:{r:0,g:0,b:0,a:1},toHsva:R,fromHsva:O,equal:z},lt=function(t){return o().createElement(q,a({},t,{colorModel:st}))},ft={defaultColor:"rgba(0, 0, 0, 1)",toHsva:S,fromHsva:function(t){var e=O(t);return"rgba("+e.r+", "+e.g+", "+e.b+", "+e.a+")"},equal:I},pt=function(t){return o().createElement(q,a({},t,{colorModel:ft}))},vt={defaultColor:{r:0,g:0,b:0},toHsva:function(t){return R({r:t.r,g:t.g,b:t.b,a:1})},fromHsva:function(t){return{r:(e=O(t)).r,g:e.g,b:e.b};var e},equal:z},dt=function(t){return o().createElement(D,a({},t,{colorModel:vt}))},bt={defaultColor:"rgb(0, 0, 0)",toHsva:H,fromHsva:function(t){var e=O(t);return"rgb("+e.r+", "+e.g+", "+e.b+")"},equal:I},ht=function(t){return o().createElement(D,a({},t,{colorModel:bt}))},gt=r(9941),mt=t=>{const{onChange:e,color:r=""}=t,[o,a]=(0,n.useState)((()=>r)),c=(0,n.useCallback)((t=>{let r=t.target.value;2===r.length?r.includes("#")||r.includes("rg")||r.includes("hs")||(r="#"+r):3!==r.length&&6!==r.length||r.includes("#")||r.includes("rg")||r.includes("hs")||(r="#"+r),r=r.toLowerCase(),new RegExp(/(?:#|0x)(?:[a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})\b|(?:rgb|hsl)a?\([^\)]*\)/).test(r)&&e(r),a(r)}),[e]);(0,n.useEffect)((()=>{a(r)}),[r]);const i=(0,gt.ZP)({default:{colorPreviewWrapper:{backgroundImage:["RgbaColorPicker","RgbaStringColorPicker","HslaColorPicker","HslaStringColorPicker","HsvaColorPicker","HsvaStringColorPicker"].includes(t.pickerComponent)?'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==")':"none"},colorPreview:{backgroundColor:o}}});return React.createElement("div",{className:"kirki-color-input-wrapper"},React.createElement("div",{className:"kirki-color-input-control"},!t.useHueMode&&React.createElement("div",{className:"kirki-color-preview-wrapper",style:i.colorPreviewWrapper},React.createElement("button",{type:"button",className:"kirki-color-preview",style:i.colorPreview})),React.createElement("input",{type:"text",value:o,className:"kirki-color-input",spellCheck:"false",onChange:c})))},yt=({colors:t,onClick:e})=>React.createElement("div",{className:"kirki-color-swatches"},t.map(((t,r)=>{const n=t&&t.color?t.color:t;return React.createElement("button",{key:r.toString(),type:"button",className:"kirki-color-swatch","data-kirki-color":n,style:{backgroundColor:n},onClick:()=>e(n)})}))),xt={grad:.9,turn:360,rad:360/(2*Math.PI)},_t=function(t){return"string"==typeof t?t.length>0:"number"==typeof t},kt=function(t,e,r){return void 0===e&&(e=0),void 0===r&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},jt=function(t,e,r){return void 0===e&&(e=0),void 0===r&&(r=1),t>r?r:t>e?t:e},Ct=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},wt=function(t){return{r:jt(t.r,0,255),g:jt(t.g,0,255),b:jt(t.b,0,255),a:jt(t.a)}},Ot=function(t){return{r:kt(t.r),g:kt(t.g),b:kt(t.b),a:kt(t.a,3)}},At=/^#([0-9a-f]{3,8})$/i,Et=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},St=function(t){var e=t.r,r=t.g,n=t.b,o=t.a,a=Math.max(e,r,n),c=a-Math.min(e,r,n),i=c?a===e?(r-n)/c:a===r?2+(n-e)/c:4+(e-r)/c:0;return{h:60*(i<0?i+6:i),s:a?c/a*100:0,v:a/255*100,a:o}},Ht=function(t){var e=t.h,r=t.s,n=t.v,o=t.a;e=e/360*6,r/=100,n/=100;var a=Math.floor(e),c=n*(1-r),i=n*(1-(e-a)*r),u=n*(1-(1-e+a)*r),s=a%6;return{r:255*[n,i,c,c,u,n][s],g:255*[u,n,n,i,c,c][s],b:255*[c,c,u,n,n,i][s],a:o}},Pt=function(t){return{h:Ct(t.h),s:jt(t.s,0,100),l:jt(t.l,0,100),a:jt(t.a)}},Rt=function(t){return{h:kt(t.h),s:kt(t.s),l:kt(t.l),a:kt(t.a,3)}},Mt=function(t){return Ht((r=(e=t).s,{h:e.h,s:(r*=((n=e.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:e.a}));var e,r,n},Nt=function(t){return{h:(e=St(t)).h,s:(o=(200-(r=e.s))*(n=e.v)/100)>0&&o<200?r*n/100/(o<=100?o:200-o)*100:0,l:o/2,a:e.a};var e,r,n,o},Bt=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,zt=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,It=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Ft=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Tt={string:[[function(t){var e=At.exec(t);return e?(t=e[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:4===t.length?kt(parseInt(t[3]+t[3],16)/255,2):1}:6===t.length||8===t.length?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:8===t.length?kt(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=It.exec(t)||Ft.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:wt({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:void 0===e[7]?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=Bt.exec(t)||zt.exec(t);if(!e)return null;var r,n,o=Pt({h:(r=e[1],n=e[2],void 0===n&&(n="deg"),Number(r)*(xt[n]||1)),s:Number(e[3]),l:Number(e[4]),a:void 0===e[5]?1:Number(e[5])/(e[6]?100:1)});return Mt(o)},"hsl"]],object:[[function(t){var e=t.r,r=t.g,n=t.b,o=t.a,a=void 0===o?1:o;return _t(e)&&_t(r)&&_t(n)?wt({r:Number(e),g:Number(r),b:Number(n),a:Number(a)}):null},"rgb"],[function(t){var e=t.h,r=t.s,n=t.l,o=t.a,a=void 0===o?1:o;if(!_t(e)||!_t(r)||!_t(n))return null;var c=Pt({h:Number(e),s:Number(r),l:Number(n),a:Number(a)});return Mt(c)},"hsl"],[function(t){var e=t.h,r=t.s,n=t.v,o=t.a,a=void 0===o?1:o;if(!_t(e)||!_t(r)||!_t(n))return null;var c=function(t){return{h:Ct(t.h),s:jt(t.s,0,100),v:jt(t.v,0,100),a:jt(t.a)}}({h:Number(e),s:Number(r),v:Number(n),a:Number(a)});return Ht(c)},"hsv"]]},Ut=function(t,e){for(var r=0;r<e.length;r++){var n=e[r][0](t);if(n)return[n,e[r][1]]}return[null,void 0]},Lt=function(t,e){var r=Nt(t);return{h:r.h,s:jt(r.s+100*e,0,100),l:r.l,a:r.a}},Dt=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},Wt=function(t,e){var r=Nt(t);return{h:r.h,s:r.s,l:jt(r.l+100*e,0,100),a:r.a}},Jt=function(){function t(t){this.parsed=function(t){return"string"==typeof t?Ut(t.trim(),Tt.string):"object"==typeof t&&null!==t?Ut(t,Tt.object):[null,void 0]}(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return null!==this.parsed},t.prototype.brightness=function(){return kt(Dt(this.rgba),2)},t.prototype.isDark=function(){return Dt(this.rgba)<.5},t.prototype.isLight=function(){return Dt(this.rgba)>=.5},t.prototype.toHex=function(){return e=(t=Ot(this.rgba)).r,r=t.g,n=t.b,a=(o=t.a)<1?Et(kt(255*o)):"","#"+Et(e)+Et(r)+Et(n)+a;var t,e,r,n,o,a},t.prototype.toRgb=function(){return Ot(this.rgba)},t.prototype.toRgbString=function(){return e=(t=Ot(this.rgba)).r,r=t.g,n=t.b,(o=t.a)<1?"rgba("+e+", "+r+", "+n+", "+o+")":"rgb("+e+", "+r+", "+n+")";var t,e,r,n,o},t.prototype.toHsl=function(){return Rt(Nt(this.rgba))},t.prototype.toHslString=function(){return e=(t=Rt(Nt(this.rgba))).h,r=t.s,n=t.l,(o=t.a)<1?"hsla("+e+", "+r+"%, "+n+"%, "+o+")":"hsl("+e+", "+r+"%, "+n+"%)";var t,e,r,n,o},t.prototype.toHsv=function(){return t=St(this.rgba),{h:kt(t.h),s:kt(t.s),v:kt(t.v),a:kt(t.a,3)};var t},t.prototype.invert=function(){return Zt({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},t.prototype.saturate=function(t){return void 0===t&&(t=.1),Zt(Lt(this.rgba,t))},t.prototype.desaturate=function(t){return void 0===t&&(t=.1),Zt(Lt(this.rgba,-t))},t.prototype.grayscale=function(){return Zt(Lt(this.rgba,-1))},t.prototype.lighten=function(t){return void 0===t&&(t=.1),Zt(Wt(this.rgba,t))},t.prototype.darken=function(t){return void 0===t&&(t=.1),Zt(Wt(this.rgba,-t))},t.prototype.rotate=function(t){return void 0===t&&(t=15),this.hue(this.hue()+t)},t.prototype.alpha=function(t){return"number"==typeof t?Zt({r:(e=this.rgba).r,g:e.g,b:e.b,a:t}):kt(this.rgba.a,3);var e},t.prototype.hue=function(t){var e=Nt(this.rgba);return"number"==typeof t?Zt({h:t,s:e.s,l:e.l,a:e.a}):kt(e.h)},t.prototype.isEqual=function(t){return this.toHex()===Zt(t).toHex()},t}(),Zt=function(t){return t instanceof Jt?t:new Jt(t)},qt=t=>{const{color:e=""}=t,[r,o]=(0,n.useState)((()=>e));(0,n.useEffect)((()=>{o(e)}),[e]);const a=(0,gt.ZP)({default:{triggerButton:{backgroundImage:["RgbaColorPicker","RgbaStringColorPicker","HslaColorPicker","HslaStringColorPicker","HsvaColorPicker","HsvaStringColorPicker"].includes(t.pickerComponent)?'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==")':"none"},colorPreview:{backgroundColor:r||"transparent"}}});return React.createElement("div",{className:"kirki-trigger-circle-wrapper"},React.createElement("button",{type:"button",className:"kirki-trigger-circle",onClick:t.togglePickerHandler,style:a.triggerButton},React.createElement("div",{className:"kirki-color-preview",style:a.colorPreview})))},Gt=t=>{const{control:e,customizerSetting:r,useHueMode:o,pickerComponent:a,choices:c}=t,i=()=>o?0:"#000000",u=t=>(t=(t=t||i())<0?0:t)>360?360:t,s=t=>""===t?"":o?u(t):((t,e,r)=>{let n,o,a,c;switch(e){case"HexColorPicker":c="string"==typeof t&&t.includes("#")?t:Zt(t).toHex();break;case"RgbColorPicker":c="string"==typeof t&&t.includes("rgb(")?t:Zt(t).toRgbString();break;case"RgbStringColorPicker":c="string"==typeof t&&t.includes("rgba")?t:Zt(t).toRgbString();break;case"RgbaColorPicker":n=Zt(t).toRgb(),n.a<1?c="string"==typeof t&&t.includes("rgba")?t:Zt(t).toRgbString():(c=Zt(t).toRgbString(),c.includes("rgb")&&!c.includes("rgba")&&(c=c.replace("rgb","rgba"),c=c.replace(")",", 1)")));break;case"RgbaStringColorPicker":n=Zt(t).toRgb(),1!=n.a||r?(c=Zt(t).toRgbString(),c.includes("rgb")&&!c.includes("rgba")&&(c=c.replace("rgb","rgba"),c=c.replace(")",", 1)"))):c="string"==typeof t&&t.includes("#")?t:Zt(t).toHex();break;case"HslColorPicker":case"HslStringColorPicker":c="string"==typeof t&&t.includes("hsl(")?t:Zt(t).toHslString();break;case"HslaColorPicker":case"HslaStringColorPicker":c=Zt(t).toHslString(),c.includes("hsl")&&!c.includes("hsla")&&(c=c.replace("hsl","hsla"),c=c.replace(")",", 1)"));break;case"HsvColorPicker":case"HsvStringColorPicker":o=Zt(t).toHsv(),c="hsv("+o.h+", "+o.s+"%, "+o.v+"%)";break;case"HsvaColorPicker":case"HsvaStringColorPicker":a=Zt(t).toHsv(),c="hsva("+a.h+", "+a.s+"%, "+a.v+"%, "+a.a+")";break;default:c=Zt(t).toHex()}return c})(t,a,c.formComponent).replace(";",""),l=t=>(t=t||i(),o?{h:t,s:100,l:50}:((t,e)=>{let r;switch(e){case"HexColorPicker":default:r=Zt(t).toHex();break;case"RgbColorPicker":r=Zt(t).toRgb(),delete r.a;break;case"RgbStringColorPicker":r=Zt(t).toRgbString();break;case"RgbaColorPicker":r=Zt(t).toRgb();break;case"RgbaStringColorPicker":r=Zt(t).toRgbString(),r.includes("rgb")&&!r.includes("rgba")&&(r=r.replace("rgb","rgba"),r=r.replace(")",", 1)"));break;case"HslColorPicker":r=Zt(t).toHsl(),delete r.a;break;case"HslStringColorPicker":r=Zt(t).toHslString();break;case"HslaColorPicker":r=Zt(t).toHsl();break;case"HslaStringColorPicker":r=Zt(t).toHslString(),r.includes("hsl")&&!r.includes("hsla")&&(r=r.replace("hsl","hsla"),r=r.replace(")",", 1)"));break;case"HsvColorPicker":r=Zt(t).toHsv(),delete r.a;break;case"HsvStringColorPicker":const e=Zt(t).toHsv();r="hsv("+e.h+", "+e.s+"%, "+e.v+"%)";break;case"HsvaColorPicker":r=Zt(t).toHsv();break;case"HsvaStringColorPicker":const n=Zt(t).toHsv();r="hsva("+n.h+", "+n.s+"%, "+n.v+"%, "+n.a+")"}return r})(t,a)),[f,p]=(0,n.useState)((()=>s(t.value))),[v,d]=(0,n.useState)((()=>l(t.value)));let b=f,h=v;e.updateComponentState=t=>{const e=s(t);let r=!1;r="string"==typeof e||o?e!==f:JSON.stringify(e)!==JSON.stringify(b),r&&p(e);const n=l(t);let a=!1;a="string"==typeof n||o?n!==v:JSON.stringify(n)!==JSON.stringify(h),a&&d(n)};const g=t=>{o?(t=t.h||0===t.h?t.h:t,t=u(t)):t=(t=>""===t?"":((t,e,r)=>{let n,o,a,c;switch(e){case"HexColorPicker":default:c="string"==typeof t&&t.includes("#")?t:Zt(t).toHex();break;case"RgbColorPicker":c=Zt(t).toRgb(),delete c.a;break;case"RgbStringColorPicker":c="string"==typeof t&&t.includes("rgb(")?t:Zt(t).toRgbString();break;case"RgbaColorPicker":n=Zt(t).toRgb(),c=n;break;case"RgbaStringColorPicker":n=Zt(t).toRgb(),n.a<1?c="string"==typeof t&&t.includes("rgba")?t:Zt(t).toRgbString():r?(c=Zt(t).toRgbString(),c.includes("rgb")&&!c.includes("rgba")&&(c=c.replace("rgb","rgba"),c=c.replace(")",", 1)"))):c="string"==typeof t&&t.includes("#")?t:Zt(t).toHex();break;case"HslColorPicker":c=Zt(t).toHsl(),delete c.a;break;case"HslStringColorPicker":c="string"==typeof t&&t.includes("hsl(")?t:Zt(t).toHslString();break;case"HslaColorPicker":c=Zt(t).toHsl();break;case"HslaStringColorPicker":c=Zt(t).toHslString(),c.includes("hsl")&&!c.includes("hsla")&&(c=c.replace("hsl","hsla"),c=c.replace(")",", 1)"));break;case"HsvColorPicker":c=Zt(t).toHsv(),delete c.a;break;case"HsvStringColorPicker":o=Zt(t).toHsv(),c="hsv("+o.h+", "+o.s+"%, "+o.v+"%)";break;case"HsvaColorPicker":c=Zt(t).toHsv();break;case"HsvaStringColorPicker":a=Zt(t).toHsv(),c="hsva("+a.h+", "+a.s+"%, "+a.v+"%, "+a.a+")"}return c})(t,a,c.formComponent))(t),r.set(t)},m=""!==t.default&&void 0!==t.default?t.default:t.value;let y=React.createElement("span",{className:"customize-control-title",dangerouslySetInnerHTML:{__html:t.label}}),x=React.createElement("span",{className:"description customize-control-description",dangerouslySetInnerHTML:{__html:t.description}});y=React.createElement("label",{className:"kirki-control-label"},t.label?y:"",t.description?x:""),y=t.label||t.description?y:"";const _=(0,n.useRef)(null),k=(0,n.useRef)(null),j=(0,n.useRef)(null),[C,w]=(0,n.useState)(!1),O="default"!==c.labelStyle,[A,E]=(0,n.useState)({}),S=()=>{let t={};if(!O)return t;let r=window.getComputedStyle(e.container[0].parentNode).paddingLeft;r=2*parseInt(r,10),t.width=e.container[0].parentNode.getBoundingClientRect().width-r;const n=-1*(e.container[0].offsetLeft-9);return t.left=n+"px",t},H=()=>{4===f.length&&f.includes("#")&&p(Zt(f).toHex())},P=()=>{C&&(w(!1),setTimeout(H,200))};let R;switch(a){case"HexColorPicker":default:R=J;break;case"RgbColorPicker":R=dt;break;case"RgbStringColorPicker":R=ht;break;case"RgbaColorPicker":R=lt;break;case"RgbaStringColorPicker":R=pt;break;case"HueColorPicker":case"HslColorPicker":R=Y;break;case"HslStringColorPicker":R=tt;break;case"HslaColorPicker":R=$;break;case"HslaStringColorPicker":R=Q;break;case"HsvColorPicker":R=ct;break;case"HsvStringColorPicker":R=ut;break;case"HsvaColorPicker":R=rt;break;case"HsvaStringColorPicker":R=ot}if(M=()=>{E(S())},(0,n.useEffect)((()=>{const t=t=>{M()};return window.addEventListener("resize",t,!0),()=>{window.removeEventListener("resize",t,!0)}}),[M]),((t,e)=>{(0,n.useEffect)((()=>{const r=r=>{t.current&&(t.current.contains(r.target)||e())};return document.addEventListener("focus",r,!0),()=>{document.removeEventListener("focus",r,!0)}}),[t,e])})(_,P),((t,e,r)=>{(0,n.useEffect)((()=>{let n=!1,o=!1;const a=a=>{n&&!o&&e.current&&!e.current.contains(a.target)&&t.current&&!t.current.contains(a.target)&&r()},c=r=>{n=e.current&&t.current,o=e.current&&e.current.contains(r.target)||t.current&&t.current.contains(r.target)};return document.addEventListener("mousedown",c),document.addEventListener("touchstart",c),document.addEventListener("click",a),()=>{document.removeEventListener("mousedown",c),document.removeEventListener("touchstart",c),document.removeEventListener("click",a)}}),[e,t,r])})(k,j,P),jQuery.wp&&jQuery.wp.wpColorPicker){const t=jQuery.wp.wpColorPicker.prototype.options.palettes;if(Array.isArray(t)){if(t.length<8)for(let e=t.length;e<=8;e++)t.push(c.swatches[e]);c.swatches=t}}var M;const N=React.createElement(React.Fragment,null,y,React.createElement("div",{className:"customize-control-notifications-container",ref:t.setNotificationContainer}));let B=o?"kirki-control-form use-hue-mode":"kirki-control-form";B+=" has-"+c.labelStyle+"-label-style";let z=C?a+" colorPickerContainer is-open":a+" colorPickerContainer";const I=React.createElement(React.Fragment,null,React.createElement("button",{type:"button",ref:j,className:"kirki-control-reset",onClick:()=>{m||(b="",h=""),g(m)},style:{display:C?"flex":"none"}},React.createElement("i",{className:"dashicons dashicons-image-rotate"})),React.createElement(qt,{pickerComponent:a,useHueMode:o,color:o?Zt({h:f,s:100,l:50}).toHex():f,isPickerOpen:C,togglePickerHandler:()=>{C?P():C||(E(S()),H(),w(!0))}}));let F;switch(c.labelStyle){case"tooltip":F=React.createElement(React.Fragment,null,I,!C&&React.createElement("div",{className:"kirki-label-tooltip"},N));break;case"top":F=React.createElement(React.Fragment,null,N,I);break;default:F=React.createElement(React.Fragment,null,React.createElement("div",{className:"kirki-control-cols"},React.createElement("div",{className:"kirki-control-left-col"},N),React.createElement("div",{className:"kirki-control-right-col"},I)))}return React.createElement(React.Fragment,null,React.createElement("div",{className:B,ref:_,tabIndex:"1"},F,React.createElement("div",{ref:k,className:z,style:A},!o&&React.createElement(yt,{colors:c.swatches,onClick:t=>{g(t)}}),React.createElement(R,{color:v,onChange:e=>{t.onChange&&t.onChange(e),h=e,g(e)}}),React.createElement(mt,{pickerComponent:a,useHueMode:o,color:f,onChange:t=>{b=t,g(t)}}))))};function $t(){return $t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},$t.apply(this,arguments)}var Kt=wp.customize.Control.extend({initialize:function(t,e){const r=this;r.setNotificationContainer=r.setNotificationContainer.bind(r),wp.customize.Control.prototype.initialize.call(r,t,e),wp.customize.control.bind("removed",(function t(e){r===e&&(r.destroy(),r.container.remove(),wp.customize.control.unbind("removed",t))}))},setNotificationContainer:function(t){this.notifications.container=jQuery(t),this.notifications.render()},renderContent:function(){const t=this,r="hue"===t.params.mode,n=t.params.choices;let o;o=n.formComponent?n.formComponent:n.alpha?"RgbaStringColorPicker":"HexColorPicker",o=r?"HueColorPicker":o;const a=React.createElement(Gt,$t({},t.params,{control:t,customizerSetting:t.setting,useHueMode:r,pickerComponent:o,value:t.params.value,setNotificationContainer:t.setNotificationContainer}));e().render(a,t.container[0])},ready:function(){const t=this;t.setting.bind((e=>{t.updateComponentState(e)}))},updateComponentState:()=>{},destroy:function(){e().unmountComponentAtNode(this.container[0]),wp.customize.Control.prototype.destroy&&wp.customize.Control.prototype.destroy.call(this)}});wp.customize.controlConstructor["kirki-react-colorful"]=Kt}()}();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
//# sourceMappingURL=control.js.map
|
1 |
+
/******/ (function() { // webpackBootstrap
|
2 |
+
/******/ var __webpack_modules__ = ({
|
3 |
+
|
4 |
+
/***/ "./src/KirkiReactColorfulControl.js":
|
5 |
+
/*!******************************************!*\
|
6 |
+
!*** ./src/KirkiReactColorfulControl.js ***!
|
7 |
+
\******************************************/
|
8 |
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
9 |
+
|
10 |
+
"use strict";
|
11 |
+
__webpack_require__.r(__webpack_exports__);
|
12 |
+
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-dom */ "react-dom");
|
13 |
+
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_0__);
|
14 |
+
/* harmony import */ var _KirkiReactColorfulForm__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KirkiReactColorfulForm */ "./src/KirkiReactColorfulForm.js");
|
15 |
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
16 |
+
|
17 |
+
|
18 |
+
|
19 |
+
/**
|
20 |
+
* KirkiReactColorfulControl.
|
21 |
+
*
|
22 |
+
* @class
|
23 |
+
* @augments wp.customize.Control
|
24 |
+
* @augments wp.customize.Class
|
25 |
+
*/
|
26 |
+
|
27 |
+
const KirkiReactColorfulControl = wp.customize.Control.extend({
|
28 |
+
/**
|
29 |
+
* Initialize.
|
30 |
+
*
|
31 |
+
* @param {string} id - Control ID.
|
32 |
+
* @param {object} params - Control params.
|
33 |
+
*/
|
34 |
+
initialize: function (id, params) {
|
35 |
+
const control = this; // Bind functions to this control context for passing as React props.
|
36 |
+
|
37 |
+
control.setNotificationContainer = control.setNotificationContainer.bind(control);
|
38 |
+
wp.customize.Control.prototype.initialize.call(control, id, params); // The following should be eliminated with <https://core.trac.wordpress.org/ticket/31334>.
|
39 |
+
|
40 |
+
function onRemoved(removedControl) {
|
41 |
+
if (control === removedControl) {
|
42 |
+
control.destroy();
|
43 |
+
control.container.remove();
|
44 |
+
wp.customize.control.unbind("removed", onRemoved);
|
45 |
+
}
|
46 |
+
}
|
47 |
+
|
48 |
+
wp.customize.control.bind("removed", onRemoved);
|
49 |
+
},
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Set notification container and render.
|
53 |
+
*
|
54 |
+
* This is called when the React component is mounted.
|
55 |
+
*
|
56 |
+
* @param {Element} element - Notification container.
|
57 |
+
* @returns {void}
|
58 |
+
*/
|
59 |
+
setNotificationContainer: function setNotificationContainer(element) {
|
60 |
+
const control = this;
|
61 |
+
control.notifications.container = jQuery(element);
|
62 |
+
control.notifications.render();
|
63 |
+
},
|
64 |
+
|
65 |
+
/**
|
66 |
+
* Render the control into the DOM.
|
67 |
+
*
|
68 |
+
* This is called from the Control#embed() method in the parent class.
|
69 |
+
*
|
70 |
+
* @returns {void}
|
71 |
+
*/
|
72 |
+
renderContent: function renderContent() {
|
73 |
+
const control = this;
|
74 |
+
const useHueMode = "hue" === control.params.mode;
|
75 |
+
const choices = control.params.choices;
|
76 |
+
let pickerComponent;
|
77 |
+
|
78 |
+
if (choices.formComponent) {
|
79 |
+
pickerComponent = choices.formComponent;
|
80 |
+
} else {
|
81 |
+
pickerComponent = choices.alpha ? "RgbaStringColorPicker" : "HexColorPicker";
|
82 |
+
}
|
83 |
+
|
84 |
+
pickerComponent = useHueMode ? "HueColorPicker" : pickerComponent;
|
85 |
+
const form = /*#__PURE__*/React.createElement(_KirkiReactColorfulForm__WEBPACK_IMPORTED_MODULE_1__["default"], _extends({}, control.params, {
|
86 |
+
control: control,
|
87 |
+
customizerSetting: control.setting,
|
88 |
+
useHueMode: useHueMode,
|
89 |
+
pickerComponent: pickerComponent,
|
90 |
+
value: control.params.value,
|
91 |
+
setNotificationContainer: control.setNotificationContainer
|
92 |
+
}));
|
93 |
+
react_dom__WEBPACK_IMPORTED_MODULE_0___default().render(form, control.container[0]);
|
94 |
+
},
|
95 |
+
|
96 |
+
/**
|
97 |
+
* After control has been first rendered, start re-rendering when setting changes.
|
98 |
+
*
|
99 |
+
* React is able to be used here instead of the wp.customize.Element abstraction.
|
100 |
+
*
|
101 |
+
* @returns {void}
|
102 |
+
*/
|
103 |
+
ready: function ready() {
|
104 |
+
const control = this;
|
105 |
+
/**
|
106 |
+
* Update component state when customizer setting changes.
|
107 |
+
*
|
108 |
+
* There was an issue (which was fixed):
|
109 |
+
*
|
110 |
+
* Let's say we have other color picker ("x" color picker) and this current color picker ("y" color picker).
|
111 |
+
* Let's say there's a script that bind to that "x" color picker to make change to this "y" color picker.
|
112 |
+
*
|
113 |
+
* When "x" color picker is changed fast (by dragging the color, for example),
|
114 |
+
* then the re-render of this "y" color picker will be messy.
|
115 |
+
* There was something like "function-call race" between component re-render and function call inside the component.
|
116 |
+
*
|
117 |
+
* When that happens, the "x" color picker becomes unresponsive and un-usable.
|
118 |
+
*
|
119 |
+
* How we fixed that:
|
120 |
+
* - Provide a updateComponentState property to this file.
|
121 |
+
* - Inside the component, assign the updateComponentState with a function to update some states.
|
122 |
+
* - Then inside the binding below, call updateComponentState instead of re-rendering the component.
|
123 |
+
*
|
124 |
+
* The result: Even though the "x" color picker becomes very slow, it's still usable and responsive enough.
|
125 |
+
*/
|
126 |
+
|
127 |
+
control.setting.bind(val => {
|
128 |
+
control.updateComponentState(val);
|
129 |
+
});
|
130 |
+
},
|
131 |
+
updateComponentState: () => {},
|
132 |
+
|
133 |
+
/**
|
134 |
+
* Handle removal/de-registration of the control.
|
135 |
+
*
|
136 |
+
* This is essentially the inverse of the Control#embed() method.
|
137 |
+
*
|
138 |
+
* @link https://core.trac.wordpress.org/ticket/31334
|
139 |
+
* @returns {void}
|
140 |
+
*/
|
141 |
+
destroy: function destroy() {
|
142 |
+
const control = this; // Garbage collection: undo mounting that was done in the embed/renderContent method.
|
143 |
+
|
144 |
+
react_dom__WEBPACK_IMPORTED_MODULE_0___default().unmountComponentAtNode(control.container[0]); // Call destroy method in parent if it exists (as of #31334).
|
145 |
+
|
146 |
+
if (wp.customize.Control.prototype.destroy) {
|
147 |
+
wp.customize.Control.prototype.destroy.call(control);
|
148 |
+
}
|
149 |
+
}
|
150 |
+
});
|
151 |
+
/* harmony default export */ __webpack_exports__["default"] = (KirkiReactColorfulControl);
|
152 |
+
|
153 |
+
/***/ }),
|
154 |
+
|
155 |
+
/***/ "./src/KirkiReactColorfulForm.js":
|
156 |
+
/*!***************************************!*\
|
157 |
+
!*** ./src/KirkiReactColorfulForm.js ***!
|
158 |
+
\***************************************/
|
159 |
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
160 |
+
|
161 |
+
"use strict";
|
162 |
+
__webpack_require__.r(__webpack_exports__);
|
163 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
164 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
165 |
+
/* harmony import */ var react_colorful__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react-colorful */ "./node_modules/react-colorful/dist/index.module.js");
|
166 |
+
/* harmony import */ var _js_components_KirkiReactColorfulInput__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./js/components/KirkiReactColorfulInput */ "./src/js/components/KirkiReactColorfulInput.js");
|
167 |
+
/* harmony import */ var _js_components_KirkiReactColorfulSwatches__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./js/components/KirkiReactColorfulSwatches */ "./src/js/components/KirkiReactColorfulSwatches.js");
|
168 |
+
/* harmony import */ var _js_utils_convertColorForPicker__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./js/utils/convertColorForPicker */ "./src/js/utils/convertColorForPicker.js");
|
169 |
+
/* harmony import */ var _js_utils_convertColorForCustomizer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./js/utils/convertColorForCustomizer */ "./src/js/utils/convertColorForCustomizer.js");
|
170 |
+
/* harmony import */ var _js_utils_convertColorForInput__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./js/utils/convertColorForInput */ "./src/js/utils/convertColorForInput.js");
|
171 |
+
/* harmony import */ var _js_hooks_useClickOutside__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./js/hooks/useClickOutside */ "./src/js/hooks/useClickOutside.js");
|
172 |
+
/* harmony import */ var _js_hooks_useFocusOutside__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./js/hooks/useFocusOutside */ "./src/js/hooks/useFocusOutside.js");
|
173 |
+
/* harmony import */ var _js_hooks_useWindowResize__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./js/hooks/useWindowResize */ "./src/js/hooks/useWindowResize.js");
|
174 |
+
/* harmony import */ var _js_components_KirkiReactColorfulCircle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./js/components/KirkiReactColorfulCircle */ "./src/js/components/KirkiReactColorfulCircle.js");
|
175 |
+
/* harmony import */ var colord__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! colord */ "./node_modules/colord/index.mjs");
|
176 |
+
|
177 |
+
|
178 |
+
|
179 |
+
|
180 |
+
|
181 |
+
|
182 |
+
|
183 |
+
|
184 |
+
|
185 |
+
|
186 |
+
|
187 |
+
|
188 |
+
/**
|
189 |
+
* The form component of Kirki React Colorful.
|
190 |
+
*
|
191 |
+
* Globals:
|
192 |
+
* _, wp, React, ReactDOM
|
193 |
+
*
|
194 |
+
* @param {Object} props The props for the component.
|
195 |
+
* @returns The component element.
|
196 |
+
*/
|
197 |
+
|
198 |
+
const KirkiReactColorfulForm = props => {
|
199 |
+
const {
|
200 |
+
control,
|
201 |
+
customizerSetting,
|
202 |
+
useHueMode,
|
203 |
+
pickerComponent,
|
204 |
+
choices
|
205 |
+
} = props;
|
206 |
+
|
207 |
+
const parseEmptyValue = () => useHueMode ? 0 : "#000000";
|
208 |
+
|
209 |
+
const parseHueModeValue = hueValue => {
|
210 |
+
hueValue = hueValue || parseEmptyValue();
|
211 |
+
hueValue = hueValue < 0 ? 0 : hueValue;
|
212 |
+
return hueValue > 360 ? 360 : hueValue;
|
213 |
+
};
|
214 |
+
|
215 |
+
const parseInputValue = value => {
|
216 |
+
if ("" === value) return "";
|
217 |
+
return useHueMode ? parseHueModeValue(value) : (0,_js_utils_convertColorForInput__WEBPACK_IMPORTED_MODULE_5__["default"])(value, pickerComponent, choices.formComponent).replace(";", "");
|
218 |
+
};
|
219 |
+
|
220 |
+
const parseCustomizerValue = value => {
|
221 |
+
if ("" === value) return "";
|
222 |
+
return (0,_js_utils_convertColorForCustomizer__WEBPACK_IMPORTED_MODULE_4__["default"])(value, pickerComponent, choices.formComponent);
|
223 |
+
};
|
224 |
+
|
225 |
+
const parsePickerValue = value => {
|
226 |
+
value = value || parseEmptyValue(); // Hard coded saturation and lightness when using hue mode.
|
227 |
+
|
228 |
+
return useHueMode ? {
|
229 |
+
h: value,
|
230 |
+
s: 100,
|
231 |
+
l: 50
|
232 |
+
} : (0,_js_utils_convertColorForPicker__WEBPACK_IMPORTED_MODULE_3__["default"])(value, pickerComponent);
|
233 |
+
};
|
234 |
+
|
235 |
+
const [inputValue, setInputValue] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(() => {
|
236 |
+
return parseInputValue(props.value);
|
237 |
+
});
|
238 |
+
const [pickerValue, setPickerValue] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(() => {
|
239 |
+
return parsePickerValue(props.value);
|
240 |
+
});
|
241 |
+
let currentInputValue = inputValue;
|
242 |
+
let currentPickerValue = pickerValue; // This function will be called when this control's customizer value is changed.
|
243 |
+
|
244 |
+
control.updateComponentState = value => {
|
245 |
+
const valueForInput = parseInputValue(value);
|
246 |
+
let changeInputValue = false;
|
247 |
+
|
248 |
+
if (typeof valueForInput === "string" || useHueMode) {
|
249 |
+
changeInputValue = valueForInput !== inputValue;
|
250 |
+
} else {
|
251 |
+
changeInputValue = JSON.stringify(valueForInput) !== JSON.stringify(currentInputValue);
|
252 |
+
}
|
253 |
+
|
254 |
+
if (changeInputValue) setInputValue(valueForInput);
|
255 |
+
const valueForPicker = parsePickerValue(value);
|
256 |
+
let changePickerValue = false;
|
257 |
+
|
258 |
+
if (typeof valueForPicker === "string" || useHueMode) {
|
259 |
+
changePickerValue = valueForPicker !== pickerValue;
|
260 |
+
} else {
|
261 |
+
changePickerValue = JSON.stringify(valueForPicker) !== JSON.stringify(currentPickerValue);
|
262 |
+
}
|
263 |
+
|
264 |
+
if (changePickerValue) setPickerValue(valueForPicker);
|
265 |
+
};
|
266 |
+
|
267 |
+
const saveToCustomizer = value => {
|
268 |
+
if (useHueMode) {
|
269 |
+
/**
|
270 |
+
* When using hue mode, the pickerComponent is HslColorPicker.
|
271 |
+
* If there is value.h, then value is set from the picker.
|
272 |
+
* Otherwise, value is set from the input or the customizer.
|
273 |
+
*/
|
274 |
+
value = value.h || 0 === value.h ? value.h : value;
|
275 |
+
value = parseHueModeValue(value);
|
276 |
+
} else {
|
277 |
+
value = parseCustomizerValue(value);
|
278 |
+
}
|
279 |
+
|
280 |
+
customizerSetting.set(value);
|
281 |
+
};
|
282 |
+
|
283 |
+
const initialColor = "" !== props.default && "undefined" !== typeof props.default ? props.default : props.value;
|
284 |
+
/**
|
285 |
+
* Function to run on picker change.
|
286 |
+
*
|
287 |
+
* @param {string|Object} color The value returned by the picker. It can be a string or a color object.
|
288 |
+
*/
|
289 |
+
|
290 |
+
const handlePickerChange = color => {
|
291 |
+
if (props.onChange) props.onChange(color);
|
292 |
+
currentPickerValue = color;
|
293 |
+
saveToCustomizer(color);
|
294 |
+
};
|
295 |
+
|
296 |
+
const handleInputChange = value => {
|
297 |
+
currentInputValue = value;
|
298 |
+
saveToCustomizer(value);
|
299 |
+
};
|
300 |
+
|
301 |
+
const handleReset = () => {
|
302 |
+
if (!initialColor) {
|
303 |
+
currentInputValue = "";
|
304 |
+
currentPickerValue = "";
|
305 |
+
}
|
306 |
+
|
307 |
+
saveToCustomizer(initialColor);
|
308 |
+
};
|
309 |
+
|
310 |
+
const handleSwatchesClick = swatchColor => {
|
311 |
+
saveToCustomizer(swatchColor);
|
312 |
+
};
|
313 |
+
|
314 |
+
const handleWindowResize = () => {
|
315 |
+
setPickerContainerStyle(getPickerContainerStyle());
|
316 |
+
};
|
317 |
+
|
318 |
+
let controlLabel = /*#__PURE__*/React.createElement("span", {
|
319 |
+
className: "customize-control-title",
|
320 |
+
dangerouslySetInnerHTML: {
|
321 |
+
__html: props.label
|
322 |
+
}
|
323 |
+
});
|
324 |
+
let controlDescription = /*#__PURE__*/React.createElement("span", {
|
325 |
+
className: "description customize-control-description",
|
326 |
+
dangerouslySetInnerHTML: {
|
327 |
+
__html: props.description
|
328 |
+
}
|
329 |
+
});
|
330 |
+
controlLabel = /*#__PURE__*/React.createElement("label", {
|
331 |
+
className: "kirki-control-label"
|
332 |
+
}, props.label ? controlLabel : "", props.description ? controlDescription : "");
|
333 |
+
controlLabel = props.label || props.description ? controlLabel : "";
|
334 |
+
const formRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null); // Reference to the form div.
|
335 |
+
|
336 |
+
const pickerRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null); // Reference to the picker popup.
|
337 |
+
|
338 |
+
const resetRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null); // Reference to the picker popup.
|
339 |
+
|
340 |
+
const [isPickerOpen, setIsPickerOpen] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false);
|
341 |
+
const usePositionFixed = "default" !== choices.labelStyle ? true : false;
|
342 |
+
const [pickerContainerStyle, setPickerContainerStyle] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({});
|
343 |
+
|
344 |
+
const getPickerContainerStyle = () => {
|
345 |
+
let pickerContainerStyle = {};
|
346 |
+
if (!usePositionFixed) return pickerContainerStyle;
|
347 |
+
let padding = window.getComputedStyle(control.container[0].parentNode).paddingLeft;
|
348 |
+
padding = parseInt(padding, 10) * 2;
|
349 |
+
pickerContainerStyle.width = control.container[0].parentNode.getBoundingClientRect().width - padding;
|
350 |
+
const controlLeftOffset = (control.container[0].offsetLeft - 9) * -1;
|
351 |
+
pickerContainerStyle.left = controlLeftOffset + "px";
|
352 |
+
return pickerContainerStyle;
|
353 |
+
};
|
354 |
+
|
355 |
+
const convertInputValueTo6Digits = () => {
|
356 |
+
if (4 === inputValue.length && inputValue.includes("#")) {
|
357 |
+
setInputValue((0,colord__WEBPACK_IMPORTED_MODULE_10__.colord)(inputValue).toHex());
|
358 |
+
}
|
359 |
+
};
|
360 |
+
|
361 |
+
const togglePicker = () => {
|
362 |
+
if (isPickerOpen) {
|
363 |
+
closePicker();
|
364 |
+
} else {
|
365 |
+
openPicker();
|
366 |
+
}
|
367 |
+
};
|
368 |
+
|
369 |
+
const openPicker = () => {
|
370 |
+
if (isPickerOpen) return;
|
371 |
+
setPickerContainerStyle(getPickerContainerStyle());
|
372 |
+
convertInputValueTo6Digits();
|
373 |
+
setIsPickerOpen(true);
|
374 |
+
};
|
375 |
+
|
376 |
+
const closePicker = () => {
|
377 |
+
if (!isPickerOpen) return;
|
378 |
+
setIsPickerOpen(false);
|
379 |
+
setTimeout(convertInputValueTo6Digits, 200);
|
380 |
+
};
|
381 |
+
|
382 |
+
let KirkiPickerComponent; // We can't just render `pickerComponent` directly, we need these lines so that the compiler will import them.
|
383 |
+
|
384 |
+
switch (pickerComponent) {
|
385 |
+
case "HexColorPicker":
|
386 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HexColorPicker;
|
387 |
+
break;
|
388 |
+
|
389 |
+
case "RgbColorPicker":
|
390 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.RgbColorPicker;
|
391 |
+
break;
|
392 |
+
|
393 |
+
case "RgbStringColorPicker":
|
394 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.RgbStringColorPicker;
|
395 |
+
break;
|
396 |
+
|
397 |
+
case "RgbaColorPicker":
|
398 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.RgbaColorPicker;
|
399 |
+
break;
|
400 |
+
|
401 |
+
case "RgbaStringColorPicker":
|
402 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.RgbaStringColorPicker;
|
403 |
+
break;
|
404 |
+
// We treat HueColorPicker (hue mode) as HslColorPicker.
|
405 |
+
|
406 |
+
case "HueColorPicker":
|
407 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HslColorPicker;
|
408 |
+
break;
|
409 |
+
|
410 |
+
case "HslColorPicker":
|
411 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HslColorPicker;
|
412 |
+
break;
|
413 |
+
|
414 |
+
case "HslStringColorPicker":
|
415 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HslStringColorPicker;
|
416 |
+
break;
|
417 |
+
|
418 |
+
case "HslaColorPicker":
|
419 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HslaColorPicker;
|
420 |
+
break;
|
421 |
+
|
422 |
+
case "HslaStringColorPicker":
|
423 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HslaStringColorPicker;
|
424 |
+
break;
|
425 |
+
|
426 |
+
case "HsvColorPicker":
|
427 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HsvColorPicker;
|
428 |
+
break;
|
429 |
+
|
430 |
+
case "HsvStringColorPicker":
|
431 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HsvStringColorPicker;
|
432 |
+
break;
|
433 |
+
|
434 |
+
case "HsvaColorPicker":
|
435 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HsvaColorPicker;
|
436 |
+
break;
|
437 |
+
|
438 |
+
case "HsvaStringColorPicker":
|
439 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HsvaStringColorPicker;
|
440 |
+
break;
|
441 |
+
|
442 |
+
default:
|
443 |
+
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HexColorPicker;
|
444 |
+
break;
|
445 |
+
}
|
446 |
+
|
447 |
+
(0,_js_hooks_useWindowResize__WEBPACK_IMPORTED_MODULE_8__["default"])(handleWindowResize); // Handle outside focus to close the picker popup.
|
448 |
+
|
449 |
+
(0,_js_hooks_useFocusOutside__WEBPACK_IMPORTED_MODULE_7__["default"])(formRef, closePicker); // Handle outside click to close the picker popup.
|
450 |
+
|
451 |
+
(0,_js_hooks_useClickOutside__WEBPACK_IMPORTED_MODULE_6__["default"])(pickerRef, resetRef, closePicker);
|
452 |
+
|
453 |
+
if (jQuery.wp && jQuery.wp.wpColorPicker) {
|
454 |
+
const wpColorPickerSwatches = jQuery.wp.wpColorPicker.prototype.options.palettes; // If 3rd parties applied custom colors to wpColorPicker swatches, let's use them.
|
455 |
+
|
456 |
+
if (Array.isArray(wpColorPickerSwatches)) {
|
457 |
+
if (wpColorPickerSwatches.length < 8) {
|
458 |
+
for (let i = wpColorPickerSwatches.length; i <= 8; i++) {
|
459 |
+
wpColorPickerSwatches.push(choices.swatches[i]);
|
460 |
+
}
|
461 |
+
}
|
462 |
+
|
463 |
+
choices.swatches = wpColorPickerSwatches;
|
464 |
+
}
|
465 |
+
}
|
466 |
+
|
467 |
+
const controlHeader = /*#__PURE__*/React.createElement(React.Fragment, null, controlLabel, /*#__PURE__*/React.createElement("div", {
|
468 |
+
className: "customize-control-notifications-container",
|
469 |
+
ref: props.setNotificationContainer
|
470 |
+
}));
|
471 |
+
let formClassName = useHueMode ? "kirki-control-form use-hue-mode" : "kirki-control-form";
|
472 |
+
formClassName += " has-" + choices.labelStyle + "-label-style";
|
473 |
+
let pickerContainerClassName = isPickerOpen ? pickerComponent + " colorPickerContainer is-open" : pickerComponent + " colorPickerContainer";
|
474 |
+
const pickerTrigger = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("button", {
|
475 |
+
type: "button",
|
476 |
+
ref: resetRef,
|
477 |
+
className: "kirki-control-reset",
|
478 |
+
onClick: handleReset,
|
479 |
+
style: {
|
480 |
+
display: isPickerOpen ? "flex" : "none"
|
481 |
+
}
|
482 |
+
}, /*#__PURE__*/React.createElement("i", {
|
483 |
+
className: "dashicons dashicons-image-rotate"
|
484 |
+
})), /*#__PURE__*/React.createElement(_js_components_KirkiReactColorfulCircle__WEBPACK_IMPORTED_MODULE_9__["default"], {
|
485 |
+
pickerComponent: pickerComponent,
|
486 |
+
useHueMode: useHueMode,
|
487 |
+
color: !useHueMode ? inputValue : (0,colord__WEBPACK_IMPORTED_MODULE_10__.colord)({
|
488 |
+
h: inputValue,
|
489 |
+
s: 100,
|
490 |
+
l: 50
|
491 |
+
}).toHex(),
|
492 |
+
isPickerOpen: isPickerOpen,
|
493 |
+
togglePickerHandler: togglePicker
|
494 |
+
}));
|
495 |
+
let pickerHeader;
|
496 |
+
|
497 |
+
switch (choices.labelStyle) {
|
498 |
+
case "tooltip":
|
499 |
+
pickerHeader = /*#__PURE__*/React.createElement(React.Fragment, null, pickerTrigger, !isPickerOpen && /*#__PURE__*/React.createElement("div", {
|
500 |
+
className: "kirki-label-tooltip"
|
501 |
+
}, controlHeader));
|
502 |
+
break;
|
503 |
+
|
504 |
+
case "top":
|
505 |
+
pickerHeader = /*#__PURE__*/React.createElement(React.Fragment, null, controlHeader, pickerTrigger);
|
506 |
+
break;
|
507 |
+
|
508 |
+
default:
|
509 |
+
pickerHeader = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
510 |
+
className: "kirki-control-cols"
|
511 |
+
}, /*#__PURE__*/React.createElement("div", {
|
512 |
+
className: "kirki-control-left-col"
|
513 |
+
}, controlHeader), /*#__PURE__*/React.createElement("div", {
|
514 |
+
className: "kirki-control-right-col"
|
515 |
+
}, pickerTrigger)));
|
516 |
+
break;
|
517 |
+
}
|
518 |
+
|
519 |
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
520 |
+
className: formClassName,
|
521 |
+
ref: formRef,
|
522 |
+
tabIndex: "1"
|
523 |
+
}, pickerHeader, /*#__PURE__*/React.createElement("div", {
|
524 |
+
ref: pickerRef,
|
525 |
+
className: pickerContainerClassName,
|
526 |
+
style: pickerContainerStyle
|
527 |
+
}, !useHueMode && /*#__PURE__*/React.createElement(_js_components_KirkiReactColorfulSwatches__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
528 |
+
colors: choices.swatches,
|
529 |
+
onClick: handleSwatchesClick
|
530 |
+
}), /*#__PURE__*/React.createElement(KirkiPickerComponent, {
|
531 |
+
color: pickerValue,
|
532 |
+
onChange: handlePickerChange
|
533 |
+
}), /*#__PURE__*/React.createElement(_js_components_KirkiReactColorfulInput__WEBPACK_IMPORTED_MODULE_1__["default"], {
|
534 |
+
pickerComponent: pickerComponent,
|
535 |
+
useHueMode: useHueMode,
|
536 |
+
color: inputValue,
|
537 |
+
onChange: handleInputChange
|
538 |
+
}))));
|
539 |
+
};
|
540 |
+
|
541 |
+
/* harmony default export */ __webpack_exports__["default"] = (KirkiReactColorfulForm);
|
542 |
+
|
543 |
+
/***/ }),
|
544 |
+
|
545 |
+
/***/ "./src/js/components/KirkiReactColorfulCircle.js":
|
546 |
+
/*!*******************************************************!*\
|
547 |
+
!*** ./src/js/components/KirkiReactColorfulCircle.js ***!
|
548 |
+
\*******************************************************/
|
549 |
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
550 |
+
|
551 |
+
"use strict";
|
552 |
+
__webpack_require__.r(__webpack_exports__);
|
553 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
554 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
555 |
+
/* harmony import */ var reactcss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
|
556 |
+
|
557 |
+
|
558 |
+
|
559 |
+
const KirkiReactColorfulCircle = props => {
|
560 |
+
const {
|
561 |
+
color = ""
|
562 |
+
} = props;
|
563 |
+
const [value, setValue] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(() => color); // Update the local state when `color` property value is changed.
|
564 |
+
|
565 |
+
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
566 |
+
// We don't need to convert the color since it's using the customizer value.
|
567 |
+
setValue(color);
|
568 |
+
}, [color]);
|
569 |
+
const pickersWithAlpha = ["RgbaColorPicker", "RgbaStringColorPicker", "HslaColorPicker", "HslaStringColorPicker", "HsvaColorPicker", "HsvaStringColorPicker"];
|
570 |
+
const styles = (0,reactcss__WEBPACK_IMPORTED_MODULE_1__["default"])({
|
571 |
+
default: {
|
572 |
+
triggerButton: {
|
573 |
+
backgroundImage: 'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==")'
|
574 |
+
},
|
575 |
+
colorPreview: {
|
576 |
+
backgroundColor: value ? value : "transparent"
|
577 |
+
}
|
578 |
+
}
|
579 |
+
});
|
580 |
+
return /*#__PURE__*/React.createElement("div", {
|
581 |
+
className: "kirki-trigger-circle-wrapper"
|
582 |
+
}, /*#__PURE__*/React.createElement("button", {
|
583 |
+
type: "button",
|
584 |
+
className: "kirki-trigger-circle",
|
585 |
+
onClick: props.togglePickerHandler,
|
586 |
+
style: styles.triggerButton
|
587 |
+
}, /*#__PURE__*/React.createElement("div", {
|
588 |
+
className: "kirki-color-preview",
|
589 |
+
style: styles.colorPreview
|
590 |
+
})));
|
591 |
+
};
|
592 |
+
|
593 |
+
/* harmony default export */ __webpack_exports__["default"] = (KirkiReactColorfulCircle);
|
594 |
+
|
595 |
+
/***/ }),
|
596 |
+
|
597 |
+
/***/ "./src/js/components/KirkiReactColorfulInput.js":
|
598 |
+
/*!******************************************************!*\
|
599 |
+
!*** ./src/js/components/KirkiReactColorfulInput.js ***!
|
600 |
+
\******************************************************/
|
601 |
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
602 |
+
|
603 |
+
"use strict";
|
604 |
+
__webpack_require__.r(__webpack_exports__);
|
605 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
606 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
607 |
+
/* harmony import */ var reactcss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
|
608 |
+
|
609 |
+
|
610 |
+
|
611 |
+
const KirkiReactColorfulInput = props => {
|
612 |
+
const {
|
613 |
+
onChange,
|
614 |
+
color = ""
|
615 |
+
} = props;
|
616 |
+
const [value, setValue] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(() => color);
|
617 |
+
const handleChange = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(e => {
|
618 |
+
let val = e.target.value;
|
619 |
+
|
620 |
+
if (2 === val.length) {
|
621 |
+
if (!val.includes("#") && !val.includes("rg") && !val.includes("hs")) {
|
622 |
+
val = "#" + val;
|
623 |
+
}
|
624 |
+
} else if (3 === val.length || 6 === val.length) {
|
625 |
+
if (!val.includes("#") && !val.includes("rg") && !val.includes("hs")) {
|
626 |
+
val = "#" + val;
|
627 |
+
}
|
628 |
+
}
|
629 |
+
|
630 |
+
val = val.toLowerCase(); // Thank you: https://regexr.com/39cgj
|
631 |
+
|
632 |
+
const pattern = new RegExp(/(?:#|0x)(?:[a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})\b|(?:rgb|hsl)a?\([^\)]*\)/);
|
633 |
+
|
634 |
+
if (pattern.test(val)) {
|
635 |
+
onChange(val); // Run onChange handler passed by `KirkiReactColorfulForm` component.
|
636 |
+
}
|
637 |
+
|
638 |
+
setValue(val);
|
639 |
+
}, [onChange]); // Update the local state when `color` property value is changed.
|
640 |
+
|
641 |
+
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
642 |
+
// We don't need to convert the color since it's already handled in parent component.
|
643 |
+
setValue(color);
|
644 |
+
}, [color]);
|
645 |
+
const pickersWithAlpha = ["RgbaColorPicker", "RgbaStringColorPicker", "HslaColorPicker", "HslaStringColorPicker", "HsvaColorPicker", "HsvaStringColorPicker"];
|
646 |
+
const styles = (0,reactcss__WEBPACK_IMPORTED_MODULE_1__["default"])({
|
647 |
+
default: {
|
648 |
+
colorPreviewWrapper: {
|
649 |
+
backgroundImage: pickersWithAlpha.includes(props.pickerComponent) ? 'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==")' : "none"
|
650 |
+
},
|
651 |
+
colorPreview: {
|
652 |
+
backgroundColor: value
|
653 |
+
}
|
654 |
+
}
|
655 |
+
});
|
656 |
+
return /*#__PURE__*/React.createElement("div", {
|
657 |
+
className: "kirki-color-input-wrapper"
|
658 |
+
}, /*#__PURE__*/React.createElement("div", {
|
659 |
+
className: "kirki-color-input-control"
|
660 |
+
}, !props.useHueMode && /*#__PURE__*/React.createElement("div", {
|
661 |
+
className: "kirki-color-preview-wrapper",
|
662 |
+
style: styles.colorPreviewWrapper
|
663 |
+
}, /*#__PURE__*/React.createElement("button", {
|
664 |
+
type: "button",
|
665 |
+
className: "kirki-color-preview",
|
666 |
+
style: styles.colorPreview
|
667 |
+
})), /*#__PURE__*/React.createElement("input", {
|
668 |
+
type: "text",
|
669 |
+
value: value,
|
670 |
+
className: "kirki-color-input",
|
671 |
+
spellCheck: "false",
|
672 |
+
onChange: handleChange
|
673 |
+
})));
|
674 |
+
};
|
675 |
+
|
676 |
+
/* harmony default export */ __webpack_exports__["default"] = (KirkiReactColorfulInput);
|
677 |
+
|
678 |
+
/***/ }),
|
679 |
+
|
680 |
+
/***/ "./src/js/components/KirkiReactColorfulSwatches.js":
|
681 |
+
/*!*********************************************************!*\
|
682 |
+
!*** ./src/js/components/KirkiReactColorfulSwatches.js ***!
|
683 |
+
\*********************************************************/
|
684 |
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
685 |
+
|
686 |
+
"use strict";
|
687 |
+
__webpack_require__.r(__webpack_exports__);
|
688 |
+
const KirkiReactColorfulSwatches = ({
|
689 |
+
colors,
|
690 |
+
onClick
|
691 |
+
}) => {
|
692 |
+
return /*#__PURE__*/React.createElement("div", {
|
693 |
+
className: "kirki-color-swatches"
|
694 |
+
}, colors.map((clr, index) => {
|
695 |
+
const color = clr && clr.color ? clr.color : clr;
|
696 |
+
return /*#__PURE__*/React.createElement("button", {
|
697 |
+
key: index.toString(),
|
698 |
+
type: "button",
|
699 |
+
className: "kirki-color-swatch",
|
700 |
+
"data-kirki-color": color,
|
701 |
+
style: {
|
702 |
+
backgroundColor: color
|
703 |
+
},
|
704 |
+
onClick: () => onClick(color)
|
705 |
+
});
|
706 |
+
}));
|
707 |
+
};
|
708 |
+
|
709 |
+
/* harmony default export */ __webpack_exports__["default"] = (KirkiReactColorfulSwatches);
|
710 |
+
|
711 |
+
/***/ }),
|
712 |
+
|
713 |
+
/***/ "./src/js/hooks/useClickOutside.js":
|
714 |
+
/*!*****************************************!*\
|
715 |
+
!*** ./src/js/hooks/useClickOutside.js ***!
|
716 |
+
\*****************************************/
|
717 |
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
718 |
+
|
719 |
+
"use strict";
|
720 |
+
__webpack_require__.r(__webpack_exports__);
|
721 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
722 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
723 |
+
|
724 |
+
/**
|
725 |
+
* Code was taken and then modified from https://codesandbox.io/s/opmco?file=/src/useClickOutside.js:0-1192
|
726 |
+
* It was improved version of https://usehooks.com/useOnClickOutside/
|
727 |
+
*/
|
728 |
+
|
729 |
+
const useClickOutside = (pickerRef, resetRef, handler) => {
|
730 |
+
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
731 |
+
let startedWhenMounted = false;
|
732 |
+
let startedInside = false;
|
733 |
+
|
734 |
+
const listener = event => {
|
735 |
+
// Do nothing if `mousedown` or `touchstart` started either inside resetRef or pickerRef element
|
736 |
+
if (!startedWhenMounted || startedInside) return; // Do nothing if clicking resetRef's element or descendent elements
|
737 |
+
|
738 |
+
if (!resetRef.current || resetRef.current.contains(event.target)) return; // Do nothing if clicking pickerRef's element or descendent elements
|
739 |
+
|
740 |
+
if (!pickerRef.current || pickerRef.current.contains(event.target)) return;
|
741 |
+
handler();
|
742 |
+
};
|
743 |
+
|
744 |
+
const validateEventStart = event => {
|
745 |
+
startedWhenMounted = resetRef.current && pickerRef.current;
|
746 |
+
startedInside = resetRef.current && resetRef.current.contains(event.target) || pickerRef.current && pickerRef.current.contains(event.target);
|
747 |
+
};
|
748 |
+
|
749 |
+
document.addEventListener("mousedown", validateEventStart);
|
750 |
+
document.addEventListener("touchstart", validateEventStart);
|
751 |
+
document.addEventListener("click", listener);
|
752 |
+
return () => {
|
753 |
+
document.removeEventListener("mousedown", validateEventStart);
|
754 |
+
document.removeEventListener("touchstart", validateEventStart);
|
755 |
+
document.removeEventListener("click", listener);
|
756 |
+
};
|
757 |
+
}, [resetRef, pickerRef, handler]);
|
758 |
+
};
|
759 |
+
|
760 |
+
/* harmony default export */ __webpack_exports__["default"] = (useClickOutside);
|
761 |
+
|
762 |
+
/***/ }),
|
763 |
+
|
764 |
+
/***/ "./src/js/hooks/useFocusOutside.js":
|
765 |
+
/*!*****************************************!*\
|
766 |
+
!*** ./src/js/hooks/useFocusOutside.js ***!
|
767 |
+
\*****************************************/
|
768 |
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
769 |
+
|
770 |
+
"use strict";
|
771 |
+
__webpack_require__.r(__webpack_exports__);
|
772 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
773 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
774 |
+
|
775 |
+
|
776 |
+
const useFocusOutside = (ref, handler) => {
|
777 |
+
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
778 |
+
const listener = e => {
|
779 |
+
// Do nothing if the component hasn't been mounted.
|
780 |
+
if (!ref.current) return; // Do nothing if the focused element is inside the ref or the ref it self.
|
781 |
+
|
782 |
+
if (ref.current.contains(e.target)) return;
|
783 |
+
handler();
|
784 |
+
};
|
785 |
+
|
786 |
+
document.addEventListener("focus", listener, true);
|
787 |
+
return () => {
|
788 |
+
document.removeEventListener("focus", listener, true);
|
789 |
+
};
|
790 |
+
}, [ref, handler]);
|
791 |
+
};
|
792 |
+
|
793 |
+
/* harmony default export */ __webpack_exports__["default"] = (useFocusOutside);
|
794 |
+
|
795 |
+
/***/ }),
|
796 |
+
|
797 |
+
/***/ "./src/js/hooks/useWindowResize.js":
|
798 |
+
/*!*****************************************!*\
|
799 |
+
!*** ./src/js/hooks/useWindowResize.js ***!
|
800 |
+
\*****************************************/
|
801 |
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
802 |
+
|
803 |
+
"use strict";
|
804 |
+
__webpack_require__.r(__webpack_exports__);
|
805 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
806 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
807 |
+
|
808 |
+
|
809 |
+
const useWindowResize = handler => {
|
810 |
+
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
811 |
+
const listener = e => {
|
812 |
+
handler();
|
813 |
+
};
|
814 |
+
|
815 |
+
window.addEventListener("resize", listener, true);
|
816 |
+
return () => {
|
817 |
+
window.removeEventListener("resize", listener, true);
|
818 |
+
};
|
819 |
+
}, [handler]);
|
820 |
+
};
|
821 |
+
|
822 |
+
/* harmony default export */ __webpack_exports__["default"] = (useWindowResize);
|
823 |
+
|
824 |
+
/***/ }),
|
825 |
+
|
826 |
+
/***/ "./src/js/utils/convertColorForCustomizer.js":
|
827 |
+
/*!***************************************************!*\
|
828 |
+
!*** ./src/js/utils/convertColorForCustomizer.js ***!
|
829 |
+
\***************************************************/
|
830 |
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
831 |
+
|
832 |
+
"use strict";
|
833 |
+
__webpack_require__.r(__webpack_exports__);
|
834 |
+
/* harmony import */ var colord__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! colord */ "./node_modules/colord/index.mjs");
|
835 |
+
|
836 |
+
/**
|
837 |
+
* Convert the value for the customizer.
|
838 |
+
*
|
839 |
+
* @param {string|Object} value The value to be converted.
|
840 |
+
* @param {string} pickerComponent The picker component name.
|
841 |
+
*
|
842 |
+
* @returns {string} The converted value.
|
843 |
+
*/
|
844 |
+
|
845 |
+
const convertColorForCustomizer = (value, pickerComponent, formComponent) => {
|
846 |
+
let rgba;
|
847 |
+
let hsv;
|
848 |
+
let hsva;
|
849 |
+
let convertedValue;
|
850 |
+
|
851 |
+
switch (pickerComponent) {
|
852 |
+
/**
|
853 |
+
* The HexColorPicker is used by these condition:
|
854 |
+
* 1. When formComponent is defined with HexColorPicker as the value.
|
855 |
+
* 2. When formComponent is not defined but the "alpha" choice is not set or set to false (the old way).
|
856 |
+
*/
|
857 |
+
case 'HexColorPicker':
|
858 |
+
convertedValue = 'string' === typeof value && value.includes('#') ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
859 |
+
break;
|
860 |
+
|
861 |
+
case 'RgbColorPicker':
|
862 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb();
|
863 |
+
delete convertedValue.a;
|
864 |
+
break;
|
865 |
+
|
866 |
+
case 'RgbStringColorPicker':
|
867 |
+
convertedValue = "string" === typeof value && value.includes("rgb(") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString();
|
868 |
+
break;
|
869 |
+
|
870 |
+
case 'RgbaColorPicker':
|
871 |
+
rgba = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb();
|
872 |
+
convertedValue = rgba;
|
873 |
+
break;
|
874 |
+
|
875 |
+
/**
|
876 |
+
* The RgbaStringColorPicker is used by these condition:
|
877 |
+
* 1. When formComponent is defined with RgbaColorPicker as the value.
|
878 |
+
* 2. When formComponent is not defined but the "alpha" choice is set to true.
|
879 |
+
*/
|
880 |
+
|
881 |
+
case 'RgbaStringColorPicker':
|
882 |
+
rgba = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb();
|
883 |
+
|
884 |
+
if (rgba.a < 1) {
|
885 |
+
convertedValue = "string" === typeof value && value.includes("rgba") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString();
|
886 |
+
} else {
|
887 |
+
// When it uses the 2nd condition above, then the expected value is "hex".
|
888 |
+
if (!formComponent) {
|
889 |
+
convertedValue = "string" === typeof value && value.includes("#") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
890 |
+
} else {
|
891 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString(); // Force to set the alpha channel value.
|
892 |
+
|
893 |
+
if (convertedValue.includes('rgb') && !convertedValue.includes('rgba')) {
|
894 |
+
convertedValue = convertedValue.replace('rgb', 'rgba');
|
895 |
+
convertedValue = convertedValue.replace(')', ', 1)');
|
896 |
+
}
|
897 |
+
}
|
898 |
+
}
|
899 |
+
|
900 |
+
break;
|
901 |
+
|
902 |
+
case 'HslColorPicker':
|
903 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsl();
|
904 |
+
delete convertedValue.a;
|
905 |
+
break;
|
906 |
+
|
907 |
+
case 'HslStringColorPicker':
|
908 |
+
convertedValue = "string" === typeof value && value.includes("hsl(") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString();
|
909 |
+
break;
|
910 |
+
|
911 |
+
case 'HslaColorPicker':
|
912 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsl();
|
913 |
+
break;
|
914 |
+
|
915 |
+
case 'HslaStringColorPicker':
|
916 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString(); // Force to set the alpha channel value.
|
917 |
+
|
918 |
+
if (convertedValue.includes('hsl') && !convertedValue.includes('hsla')) {
|
919 |
+
convertedValue = convertedValue.replace('hsl', 'hsla');
|
920 |
+
convertedValue = convertedValue.replace(')', ', 1)');
|
921 |
+
}
|
922 |
+
|
923 |
+
break;
|
924 |
+
|
925 |
+
case 'HsvColorPicker':
|
926 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
927 |
+
delete convertedValue.a;
|
928 |
+
break;
|
929 |
+
|
930 |
+
/**
|
931 |
+
* The colord library doesn't provide .toHsvString() method yet.
|
932 |
+
* This manual value-building will apply to "HsvStringColorPicker" and "HsvaStringColorPicker" stuff below.
|
933 |
+
*/
|
934 |
+
|
935 |
+
case 'HsvStringColorPicker':
|
936 |
+
hsv = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
937 |
+
convertedValue = 'hsv(' + hsv.h + ', ' + hsv.s + '%, ' + hsv.v + '%)';
|
938 |
+
break;
|
939 |
+
|
940 |
+
case 'HsvaColorPicker':
|
941 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
942 |
+
break;
|
943 |
+
|
944 |
+
case 'HsvaStringColorPicker':
|
945 |
+
hsva = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
946 |
+
convertedValue = 'hsva(' + hsva.h + ', ' + hsva.s + '%, ' + hsva.v + '%, ' + hsva.a + ')';
|
947 |
+
break;
|
948 |
+
|
949 |
+
default:
|
950 |
+
convertedValue = "string" === typeof value && value.includes("#") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
951 |
+
break;
|
952 |
+
}
|
953 |
+
|
954 |
+
return convertedValue;
|
955 |
+
};
|
956 |
+
|
957 |
+
/* harmony default export */ __webpack_exports__["default"] = (convertColorForCustomizer);
|
958 |
+
|
959 |
+
/***/ }),
|
960 |
+
|
961 |
+
/***/ "./src/js/utils/convertColorForInput.js":
|
962 |
+
/*!**********************************************!*\
|
963 |
+
!*** ./src/js/utils/convertColorForInput.js ***!
|
964 |
+
\**********************************************/
|
965 |
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
966 |
+
|
967 |
+
"use strict";
|
968 |
+
__webpack_require__.r(__webpack_exports__);
|
969 |
+
/* harmony import */ var colord__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! colord */ "./node_modules/colord/index.mjs");
|
970 |
+
|
971 |
+
/**
|
972 |
+
* Convert the value for the color input.
|
973 |
+
*
|
974 |
+
* @param {string|Object} value The value to be converted.
|
975 |
+
* @param {string} pickerComponent The picker component name.
|
976 |
+
*
|
977 |
+
* @returns {string} The converted value.
|
978 |
+
*/
|
979 |
+
|
980 |
+
const convertColorForInput = (value, pickerComponent, formComponent) => {
|
981 |
+
let rgba;
|
982 |
+
let hsv;
|
983 |
+
let hsva;
|
984 |
+
let convertedValue;
|
985 |
+
|
986 |
+
switch (pickerComponent) {
|
987 |
+
/**
|
988 |
+
* The HexColorPicker is used by these condition:
|
989 |
+
* 1. When formComponent is defined with HexColorPicker as the value.
|
990 |
+
* 2. When formComponent is not defined but the "alpha" choice is not set or set to false (the old way).
|
991 |
+
*/
|
992 |
+
case "HexColorPicker":
|
993 |
+
convertedValue = "string" === typeof value && value.includes("#") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
994 |
+
break;
|
995 |
+
|
996 |
+
case "RgbColorPicker":
|
997 |
+
convertedValue = "string" === typeof value && value.includes("rgb(") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString();
|
998 |
+
break;
|
999 |
+
|
1000 |
+
case "RgbStringColorPicker":
|
1001 |
+
convertedValue = "string" === typeof value && value.includes("rgba") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString();
|
1002 |
+
break;
|
1003 |
+
|
1004 |
+
case "RgbaColorPicker":
|
1005 |
+
rgba = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb();
|
1006 |
+
|
1007 |
+
if (rgba.a < 1) {
|
1008 |
+
convertedValue = "string" === typeof value && value.includes("rgba") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString();
|
1009 |
+
} else {
|
1010 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString(); // Force to set the alpha value.
|
1011 |
+
|
1012 |
+
if (convertedValue.includes("rgb") && !convertedValue.includes("rgba")) {
|
1013 |
+
convertedValue = convertedValue.replace("rgb", "rgba");
|
1014 |
+
convertedValue = convertedValue.replace(")", ", 1)");
|
1015 |
+
}
|
1016 |
+
}
|
1017 |
+
|
1018 |
+
break;
|
1019 |
+
|
1020 |
+
/**
|
1021 |
+
* The RgbaStringColorPicker is used by these condition:
|
1022 |
+
* 1. When formComponent is defined with RgbaColorPicker as the value.
|
1023 |
+
* 2. When formComponent is not defined but the "alpha" choice is set to true.
|
1024 |
+
*/
|
1025 |
+
|
1026 |
+
case "RgbaStringColorPicker":
|
1027 |
+
rgba = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb(); // When it uses the 2nd condition above, then the expected value is "hex".
|
1028 |
+
|
1029 |
+
if (rgba.a == 1 && !formComponent) {
|
1030 |
+
convertedValue = "string" === typeof value && value.includes("#") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
1031 |
+
} else {
|
1032 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString(); // Force to set the alpha value.
|
1033 |
+
|
1034 |
+
if (convertedValue.includes("rgb") && !convertedValue.includes("rgba")) {
|
1035 |
+
convertedValue = convertedValue.replace("rgb", "rgba");
|
1036 |
+
convertedValue = convertedValue.replace(")", ", 1)");
|
1037 |
+
}
|
1038 |
+
}
|
1039 |
+
|
1040 |
+
break;
|
1041 |
+
|
1042 |
+
case "HslColorPicker":
|
1043 |
+
convertedValue = "string" === typeof value && value.includes("hsl(") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString();
|
1044 |
+
break;
|
1045 |
+
|
1046 |
+
case "HslStringColorPicker":
|
1047 |
+
convertedValue = "string" === typeof value && value.includes("hsl(") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString();
|
1048 |
+
break;
|
1049 |
+
|
1050 |
+
case "HslaColorPicker":
|
1051 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString(); // Force to set the alpha value.
|
1052 |
+
|
1053 |
+
if (convertedValue.includes("hsl") && !convertedValue.includes("hsla")) {
|
1054 |
+
convertedValue = convertedValue.replace("hsl", "hsla");
|
1055 |
+
convertedValue = convertedValue.replace(")", ", 1)");
|
1056 |
+
}
|
1057 |
+
|
1058 |
+
break;
|
1059 |
+
|
1060 |
+
case "HslaStringColorPicker":
|
1061 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString(); // Force to set the alpha value.
|
1062 |
+
|
1063 |
+
if (convertedValue.includes("hsl") && !convertedValue.includes("hsla")) {
|
1064 |
+
convertedValue = convertedValue.replace("hsl", "hsla");
|
1065 |
+
convertedValue = convertedValue.replace(")", ", 1)");
|
1066 |
+
}
|
1067 |
+
|
1068 |
+
break;
|
1069 |
+
|
1070 |
+
/**
|
1071 |
+
* The colord library doesn't provide .toHsvString() method yet.
|
1072 |
+
* This manual value-building will apply to "hsv" and "hsva" stuff below.
|
1073 |
+
*/
|
1074 |
+
|
1075 |
+
case "HsvColorPicker":
|
1076 |
+
hsv = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1077 |
+
convertedValue = "hsv(" + hsv.h + ", " + hsv.s + "%, " + hsv.v + "%)";
|
1078 |
+
break;
|
1079 |
+
|
1080 |
+
case "HsvStringColorPicker":
|
1081 |
+
hsv = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1082 |
+
convertedValue = "hsv(" + hsv.h + ", " + hsv.s + "%, " + hsv.v + "%)";
|
1083 |
+
break;
|
1084 |
+
|
1085 |
+
case "HsvaColorPicker":
|
1086 |
+
hsva = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1087 |
+
convertedValue = "hsva(" + hsva.h + ", " + hsva.s + "%, " + hsva.v + "%, " + hsva.a + ")";
|
1088 |
+
break;
|
1089 |
+
|
1090 |
+
case "HsvaStringColorPicker":
|
1091 |
+
hsva = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1092 |
+
convertedValue = "hsva(" + hsva.h + ", " + hsva.s + "%, " + hsva.v + "%, " + hsva.a + ")";
|
1093 |
+
break;
|
1094 |
+
|
1095 |
+
default:
|
1096 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
1097 |
+
break;
|
1098 |
+
}
|
1099 |
+
|
1100 |
+
return convertedValue;
|
1101 |
+
};
|
1102 |
+
|
1103 |
+
/* harmony default export */ __webpack_exports__["default"] = (convertColorForInput);
|
1104 |
+
|
1105 |
+
/***/ }),
|
1106 |
+
|
1107 |
+
/***/ "./src/js/utils/convertColorForPicker.js":
|
1108 |
+
/*!***********************************************!*\
|
1109 |
+
!*** ./src/js/utils/convertColorForPicker.js ***!
|
1110 |
+
\***********************************************/
|
1111 |
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1112 |
+
|
1113 |
+
"use strict";
|
1114 |
+
__webpack_require__.r(__webpack_exports__);
|
1115 |
+
/* harmony import */ var colord__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! colord */ "./node_modules/colord/index.mjs");
|
1116 |
+
|
1117 |
+
/**
|
1118 |
+
* Convert the value for the color picker.
|
1119 |
+
*
|
1120 |
+
* @param {string|Object} value The value to be converted.
|
1121 |
+
* @param {string} pickerComponent The picker component name.
|
1122 |
+
*
|
1123 |
+
* @returns {string|Object} The converted value.
|
1124 |
+
*/
|
1125 |
+
|
1126 |
+
const convertColorForPicker = (value, pickerComponent) => {
|
1127 |
+
let convertedValue;
|
1128 |
+
|
1129 |
+
switch (pickerComponent) {
|
1130 |
+
case 'HexColorPicker':
|
1131 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
1132 |
+
break;
|
1133 |
+
|
1134 |
+
case 'RgbColorPicker':
|
1135 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb();
|
1136 |
+
delete convertedValue.a;
|
1137 |
+
break;
|
1138 |
+
|
1139 |
+
case 'RgbStringColorPicker':
|
1140 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString();
|
1141 |
+
break;
|
1142 |
+
|
1143 |
+
case 'RgbaColorPicker':
|
1144 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb();
|
1145 |
+
break;
|
1146 |
+
|
1147 |
+
case 'RgbaStringColorPicker':
|
1148 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString(); // Force to set the alpha channel value.
|
1149 |
+
|
1150 |
+
if (convertedValue.includes('rgb') && !convertedValue.includes('rgba')) {
|
1151 |
+
convertedValue = convertedValue.replace('rgb', 'rgba');
|
1152 |
+
convertedValue = convertedValue.replace(')', ', 1)');
|
1153 |
+
}
|
1154 |
+
|
1155 |
+
break;
|
1156 |
+
|
1157 |
+
case 'HslColorPicker':
|
1158 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsl();
|
1159 |
+
delete convertedValue.a;
|
1160 |
+
break;
|
1161 |
+
|
1162 |
+
case 'HslStringColorPicker':
|
1163 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString();
|
1164 |
+
break;
|
1165 |
+
|
1166 |
+
case 'HslaColorPicker':
|
1167 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsl();
|
1168 |
+
break;
|
1169 |
+
|
1170 |
+
case 'HslaStringColorPicker':
|
1171 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString(); // Force to set the alpha channel value.
|
1172 |
+
|
1173 |
+
if (convertedValue.includes('hsl') && !convertedValue.includes('hsla')) {
|
1174 |
+
convertedValue = convertedValue.replace('hsl', 'hsla');
|
1175 |
+
convertedValue = convertedValue.replace(')', ', 1)');
|
1176 |
+
}
|
1177 |
+
|
1178 |
+
break;
|
1179 |
+
|
1180 |
+
case 'HsvColorPicker':
|
1181 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1182 |
+
delete convertedValue.a;
|
1183 |
+
break;
|
1184 |
+
|
1185 |
+
case 'HsvStringColorPicker':
|
1186 |
+
const hsv = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1187 |
+
convertedValue = 'hsv(' + hsv.h + ', ' + hsv.s + '%, ' + hsv.v + '%)';
|
1188 |
+
break;
|
1189 |
+
|
1190 |
+
case 'HsvaColorPicker':
|
1191 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1192 |
+
break;
|
1193 |
+
|
1194 |
+
case 'HsvaStringColorPicker':
|
1195 |
+
// colord library doesn't provide .toHsvString() method yet.
|
1196 |
+
const hsva = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1197 |
+
convertedValue = 'hsva(' + hsva.h + ', ' + hsva.s + '%, ' + hsva.v + '%, ' + hsva.a + ')';
|
1198 |
+
break;
|
1199 |
+
|
1200 |
+
default:
|
1201 |
+
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
1202 |
+
break;
|
1203 |
+
}
|
1204 |
+
|
1205 |
+
return convertedValue;
|
1206 |
+
};
|
1207 |
+
|
1208 |
+
/* harmony default export */ __webpack_exports__["default"] = (convertColorForPicker);
|
1209 |
+
|
1210 |
+
/***/ }),
|
1211 |
+
|
1212 |
+
/***/ "./node_modules/lodash/_DataView.js":
|
1213 |
+
/*!******************************************!*\
|
1214 |
+
!*** ./node_modules/lodash/_DataView.js ***!
|
1215 |
+
\******************************************/
|
1216 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1217 |
+
|
1218 |
+
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
|
1219 |
+
root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1220 |
+
|
1221 |
+
/* Built-in method references that are verified to be native. */
|
1222 |
+
var DataView = getNative(root, 'DataView');
|
1223 |
+
|
1224 |
+
module.exports = DataView;
|
1225 |
+
|
1226 |
+
|
1227 |
+
/***/ }),
|
1228 |
+
|
1229 |
+
/***/ "./node_modules/lodash/_Hash.js":
|
1230 |
+
/*!**************************************!*\
|
1231 |
+
!*** ./node_modules/lodash/_Hash.js ***!
|
1232 |
+
\**************************************/
|
1233 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1234 |
+
|
1235 |
+
var hashClear = __webpack_require__(/*! ./_hashClear */ "./node_modules/lodash/_hashClear.js"),
|
1236 |
+
hashDelete = __webpack_require__(/*! ./_hashDelete */ "./node_modules/lodash/_hashDelete.js"),
|
1237 |
+
hashGet = __webpack_require__(/*! ./_hashGet */ "./node_modules/lodash/_hashGet.js"),
|
1238 |
+
hashHas = __webpack_require__(/*! ./_hashHas */ "./node_modules/lodash/_hashHas.js"),
|
1239 |
+
hashSet = __webpack_require__(/*! ./_hashSet */ "./node_modules/lodash/_hashSet.js");
|
1240 |
+
|
1241 |
+
/**
|
1242 |
+
* Creates a hash object.
|
1243 |
+
*
|
1244 |
+
* @private
|
1245 |
+
* @constructor
|
1246 |
+
* @param {Array} [entries] The key-value pairs to cache.
|
1247 |
+
*/
|
1248 |
+
function Hash(entries) {
|
1249 |
+
var index = -1,
|
1250 |
+
length = entries == null ? 0 : entries.length;
|
1251 |
+
|
1252 |
+
this.clear();
|
1253 |
+
while (++index < length) {
|
1254 |
+
var entry = entries[index];
|
1255 |
+
this.set(entry[0], entry[1]);
|
1256 |
+
}
|
1257 |
+
}
|
1258 |
+
|
1259 |
+
// Add methods to `Hash`.
|
1260 |
+
Hash.prototype.clear = hashClear;
|
1261 |
+
Hash.prototype['delete'] = hashDelete;
|
1262 |
+
Hash.prototype.get = hashGet;
|
1263 |
+
Hash.prototype.has = hashHas;
|
1264 |
+
Hash.prototype.set = hashSet;
|
1265 |
+
|
1266 |
+
module.exports = Hash;
|
1267 |
+
|
1268 |
+
|
1269 |
+
/***/ }),
|
1270 |
+
|
1271 |
+
/***/ "./node_modules/lodash/_ListCache.js":
|
1272 |
+
/*!*******************************************!*\
|
1273 |
+
!*** ./node_modules/lodash/_ListCache.js ***!
|
1274 |
+
\*******************************************/
|
1275 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1276 |
+
|
1277 |
+
var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ "./node_modules/lodash/_listCacheClear.js"),
|
1278 |
+
listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ "./node_modules/lodash/_listCacheDelete.js"),
|
1279 |
+
listCacheGet = __webpack_require__(/*! ./_listCacheGet */ "./node_modules/lodash/_listCacheGet.js"),
|
1280 |
+
listCacheHas = __webpack_require__(/*! ./_listCacheHas */ "./node_modules/lodash/_listCacheHas.js"),
|
1281 |
+
listCacheSet = __webpack_require__(/*! ./_listCacheSet */ "./node_modules/lodash/_listCacheSet.js");
|
1282 |
+
|
1283 |
+
/**
|
1284 |
+
* Creates an list cache object.
|
1285 |
+
*
|
1286 |
+
* @private
|
1287 |
+
* @constructor
|
1288 |
+
* @param {Array} [entries] The key-value pairs to cache.
|
1289 |
+
*/
|
1290 |
+
function ListCache(entries) {
|
1291 |
+
var index = -1,
|
1292 |
+
length = entries == null ? 0 : entries.length;
|
1293 |
+
|
1294 |
+
this.clear();
|
1295 |
+
while (++index < length) {
|
1296 |
+
var entry = entries[index];
|
1297 |
+
this.set(entry[0], entry[1]);
|
1298 |
+
}
|
1299 |
+
}
|
1300 |
+
|
1301 |
+
// Add methods to `ListCache`.
|
1302 |
+
ListCache.prototype.clear = listCacheClear;
|
1303 |
+
ListCache.prototype['delete'] = listCacheDelete;
|
1304 |
+
ListCache.prototype.get = listCacheGet;
|
1305 |
+
ListCache.prototype.has = listCacheHas;
|
1306 |
+
ListCache.prototype.set = listCacheSet;
|
1307 |
+
|
1308 |
+
module.exports = ListCache;
|
1309 |
+
|
1310 |
+
|
1311 |
+
/***/ }),
|
1312 |
+
|
1313 |
+
/***/ "./node_modules/lodash/_Map.js":
|
1314 |
+
/*!*************************************!*\
|
1315 |
+
!*** ./node_modules/lodash/_Map.js ***!
|
1316 |
+
\*************************************/
|
1317 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1318 |
+
|
1319 |
+
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
|
1320 |
+
root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1321 |
+
|
1322 |
+
/* Built-in method references that are verified to be native. */
|
1323 |
+
var Map = getNative(root, 'Map');
|
1324 |
+
|
1325 |
+
module.exports = Map;
|
1326 |
+
|
1327 |
+
|
1328 |
+
/***/ }),
|
1329 |
+
|
1330 |
+
/***/ "./node_modules/lodash/_MapCache.js":
|
1331 |
+
/*!******************************************!*\
|
1332 |
+
!*** ./node_modules/lodash/_MapCache.js ***!
|
1333 |
+
\******************************************/
|
1334 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1335 |
+
|
1336 |
+
var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ "./node_modules/lodash/_mapCacheClear.js"),
|
1337 |
+
mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ "./node_modules/lodash/_mapCacheDelete.js"),
|
1338 |
+
mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ "./node_modules/lodash/_mapCacheGet.js"),
|
1339 |
+
mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ "./node_modules/lodash/_mapCacheHas.js"),
|
1340 |
+
mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ "./node_modules/lodash/_mapCacheSet.js");
|
1341 |
+
|
1342 |
+
/**
|
1343 |
+
* Creates a map cache object to store key-value pairs.
|
1344 |
+
*
|
1345 |
+
* @private
|
1346 |
+
* @constructor
|
1347 |
+
* @param {Array} [entries] The key-value pairs to cache.
|
1348 |
+
*/
|
1349 |
+
function MapCache(entries) {
|
1350 |
+
var index = -1,
|
1351 |
+
length = entries == null ? 0 : entries.length;
|
1352 |
+
|
1353 |
+
this.clear();
|
1354 |
+
while (++index < length) {
|
1355 |
+
var entry = entries[index];
|
1356 |
+
this.set(entry[0], entry[1]);
|
1357 |
+
}
|
1358 |
+
}
|
1359 |
+
|
1360 |
+
// Add methods to `MapCache`.
|
1361 |
+
MapCache.prototype.clear = mapCacheClear;
|
1362 |
+
MapCache.prototype['delete'] = mapCacheDelete;
|
1363 |
+
MapCache.prototype.get = mapCacheGet;
|
1364 |
+
MapCache.prototype.has = mapCacheHas;
|
1365 |
+
MapCache.prototype.set = mapCacheSet;
|
1366 |
+
|
1367 |
+
module.exports = MapCache;
|
1368 |
+
|
1369 |
+
|
1370 |
+
/***/ }),
|
1371 |
+
|
1372 |
+
/***/ "./node_modules/lodash/_Promise.js":
|
1373 |
+
/*!*****************************************!*\
|
1374 |
+
!*** ./node_modules/lodash/_Promise.js ***!
|
1375 |
+
\*****************************************/
|
1376 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1377 |
+
|
1378 |
+
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
|
1379 |
+
root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1380 |
+
|
1381 |
+
/* Built-in method references that are verified to be native. */
|
1382 |
+
var Promise = getNative(root, 'Promise');
|
1383 |
+
|
1384 |
+
module.exports = Promise;
|
1385 |
+
|
1386 |
+
|
1387 |
+
/***/ }),
|
1388 |
+
|
1389 |
+
/***/ "./node_modules/lodash/_Set.js":
|
1390 |
+
/*!*************************************!*\
|
1391 |
+
!*** ./node_modules/lodash/_Set.js ***!
|
1392 |
+
\*************************************/
|
1393 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1394 |
+
|
1395 |
+
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
|
1396 |
+
root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1397 |
+
|
1398 |
+
/* Built-in method references that are verified to be native. */
|
1399 |
+
var Set = getNative(root, 'Set');
|
1400 |
+
|
1401 |
+
module.exports = Set;
|
1402 |
+
|
1403 |
+
|
1404 |
+
/***/ }),
|
1405 |
+
|
1406 |
+
/***/ "./node_modules/lodash/_SetCache.js":
|
1407 |
+
/*!******************************************!*\
|
1408 |
+
!*** ./node_modules/lodash/_SetCache.js ***!
|
1409 |
+
\******************************************/
|
1410 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1411 |
+
|
1412 |
+
var MapCache = __webpack_require__(/*! ./_MapCache */ "./node_modules/lodash/_MapCache.js"),
|
1413 |
+
setCacheAdd = __webpack_require__(/*! ./_setCacheAdd */ "./node_modules/lodash/_setCacheAdd.js"),
|
1414 |
+
setCacheHas = __webpack_require__(/*! ./_setCacheHas */ "./node_modules/lodash/_setCacheHas.js");
|
1415 |
+
|
1416 |
+
/**
|
1417 |
+
*
|
1418 |
+
* Creates an array cache object to store unique values.
|
1419 |
+
*
|
1420 |
+
* @private
|
1421 |
+
* @constructor
|
1422 |
+
* @param {Array} [values] The values to cache.
|
1423 |
+
*/
|
1424 |
+
function SetCache(values) {
|
1425 |
+
var index = -1,
|
1426 |
+
length = values == null ? 0 : values.length;
|
1427 |
+
|
1428 |
+
this.__data__ = new MapCache;
|
1429 |
+
while (++index < length) {
|
1430 |
+
this.add(values[index]);
|
1431 |
+
}
|
1432 |
+
}
|
1433 |
+
|
1434 |
+
// Add methods to `SetCache`.
|
1435 |
+
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
1436 |
+
SetCache.prototype.has = setCacheHas;
|
1437 |
+
|
1438 |
+
module.exports = SetCache;
|
1439 |
+
|
1440 |
+
|
1441 |
+
/***/ }),
|
1442 |
+
|
1443 |
+
/***/ "./node_modules/lodash/_Stack.js":
|
1444 |
+
/*!***************************************!*\
|
1445 |
+
!*** ./node_modules/lodash/_Stack.js ***!
|
1446 |
+
\***************************************/
|
1447 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1448 |
+
|
1449 |
+
var ListCache = __webpack_require__(/*! ./_ListCache */ "./node_modules/lodash/_ListCache.js"),
|
1450 |
+
stackClear = __webpack_require__(/*! ./_stackClear */ "./node_modules/lodash/_stackClear.js"),
|
1451 |
+
stackDelete = __webpack_require__(/*! ./_stackDelete */ "./node_modules/lodash/_stackDelete.js"),
|
1452 |
+
stackGet = __webpack_require__(/*! ./_stackGet */ "./node_modules/lodash/_stackGet.js"),
|
1453 |
+
stackHas = __webpack_require__(/*! ./_stackHas */ "./node_modules/lodash/_stackHas.js"),
|
1454 |
+
stackSet = __webpack_require__(/*! ./_stackSet */ "./node_modules/lodash/_stackSet.js");
|
1455 |
+
|
1456 |
+
/**
|
1457 |
+
* Creates a stack cache object to store key-value pairs.
|
1458 |
+
*
|
1459 |
+
* @private
|
1460 |
+
* @constructor
|
1461 |
+
* @param {Array} [entries] The key-value pairs to cache.
|
1462 |
+
*/
|
1463 |
+
function Stack(entries) {
|
1464 |
+
var data = this.__data__ = new ListCache(entries);
|
1465 |
+
this.size = data.size;
|
1466 |
+
}
|
1467 |
+
|
1468 |
+
// Add methods to `Stack`.
|
1469 |
+
Stack.prototype.clear = stackClear;
|
1470 |
+
Stack.prototype['delete'] = stackDelete;
|
1471 |
+
Stack.prototype.get = stackGet;
|
1472 |
+
Stack.prototype.has = stackHas;
|
1473 |
+
Stack.prototype.set = stackSet;
|
1474 |
+
|
1475 |
+
module.exports = Stack;
|
1476 |
+
|
1477 |
+
|
1478 |
+
/***/ }),
|
1479 |
+
|
1480 |
+
/***/ "./node_modules/lodash/_Symbol.js":
|
1481 |
+
/*!****************************************!*\
|
1482 |
+
!*** ./node_modules/lodash/_Symbol.js ***!
|
1483 |
+
\****************************************/
|
1484 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1485 |
+
|
1486 |
+
var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1487 |
+
|
1488 |
+
/** Built-in value references. */
|
1489 |
+
var Symbol = root.Symbol;
|
1490 |
+
|
1491 |
+
module.exports = Symbol;
|
1492 |
+
|
1493 |
+
|
1494 |
+
/***/ }),
|
1495 |
+
|
1496 |
+
/***/ "./node_modules/lodash/_Uint8Array.js":
|
1497 |
+
/*!********************************************!*\
|
1498 |
+
!*** ./node_modules/lodash/_Uint8Array.js ***!
|
1499 |
+
\********************************************/
|
1500 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1501 |
+
|
1502 |
+
var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1503 |
+
|
1504 |
+
/** Built-in value references. */
|
1505 |
+
var Uint8Array = root.Uint8Array;
|
1506 |
+
|
1507 |
+
module.exports = Uint8Array;
|
1508 |
+
|
1509 |
+
|
1510 |
+
/***/ }),
|
1511 |
+
|
1512 |
+
/***/ "./node_modules/lodash/_WeakMap.js":
|
1513 |
+
/*!*****************************************!*\
|
1514 |
+
!*** ./node_modules/lodash/_WeakMap.js ***!
|
1515 |
+
\*****************************************/
|
1516 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1517 |
+
|
1518 |
+
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
|
1519 |
+
root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1520 |
+
|
1521 |
+
/* Built-in method references that are verified to be native. */
|
1522 |
+
var WeakMap = getNative(root, 'WeakMap');
|
1523 |
+
|
1524 |
+
module.exports = WeakMap;
|
1525 |
+
|
1526 |
+
|
1527 |
+
/***/ }),
|
1528 |
+
|
1529 |
+
/***/ "./node_modules/lodash/_arrayEach.js":
|
1530 |
+
/*!*******************************************!*\
|
1531 |
+
!*** ./node_modules/lodash/_arrayEach.js ***!
|
1532 |
+
\*******************************************/
|
1533 |
+
/***/ (function(module) {
|
1534 |
+
|
1535 |
+
/**
|
1536 |
+
* A specialized version of `_.forEach` for arrays without support for
|
1537 |
+
* iteratee shorthands.
|
1538 |
+
*
|
1539 |
+
* @private
|
1540 |
+
* @param {Array} [array] The array to iterate over.
|
1541 |
+
* @param {Function} iteratee The function invoked per iteration.
|
1542 |
+
* @returns {Array} Returns `array`.
|
1543 |
+
*/
|
1544 |
+
function arrayEach(array, iteratee) {
|
1545 |
+
var index = -1,
|
1546 |
+
length = array == null ? 0 : array.length;
|
1547 |
+
|
1548 |
+
while (++index < length) {
|
1549 |
+
if (iteratee(array[index], index, array) === false) {
|
1550 |
+
break;
|
1551 |
+
}
|
1552 |
+
}
|
1553 |
+
return array;
|
1554 |
+
}
|
1555 |
+
|
1556 |
+
module.exports = arrayEach;
|
1557 |
+
|
1558 |
+
|
1559 |
+
/***/ }),
|
1560 |
+
|
1561 |
+
/***/ "./node_modules/lodash/_arrayFilter.js":
|
1562 |
+
/*!*********************************************!*\
|
1563 |
+
!*** ./node_modules/lodash/_arrayFilter.js ***!
|
1564 |
+
\*********************************************/
|
1565 |
+
/***/ (function(module) {
|
1566 |
+
|
1567 |
+
/**
|
1568 |
+
* A specialized version of `_.filter` for arrays without support for
|
1569 |
+
* iteratee shorthands.
|
1570 |
+
*
|
1571 |
+
* @private
|
1572 |
+
* @param {Array} [array] The array to iterate over.
|
1573 |
+
* @param {Function} predicate The function invoked per iteration.
|
1574 |
+
* @returns {Array} Returns the new filtered array.
|
1575 |
+
*/
|
1576 |
+
function arrayFilter(array, predicate) {
|
1577 |
+
var index = -1,
|
1578 |
+
length = array == null ? 0 : array.length,
|
1579 |
+
resIndex = 0,
|
1580 |
+
result = [];
|
1581 |
+
|
1582 |
+
while (++index < length) {
|
1583 |
+
var value = array[index];
|
1584 |
+
if (predicate(value, index, array)) {
|
1585 |
+
result[resIndex++] = value;
|
1586 |
+
}
|
1587 |
+
}
|
1588 |
+
return result;
|
1589 |
+
}
|
1590 |
+
|
1591 |
+
module.exports = arrayFilter;
|
1592 |
+
|
1593 |
+
|
1594 |
+
/***/ }),
|
1595 |
+
|
1596 |
+
/***/ "./node_modules/lodash/_arrayLikeKeys.js":
|
1597 |
+
/*!***********************************************!*\
|
1598 |
+
!*** ./node_modules/lodash/_arrayLikeKeys.js ***!
|
1599 |
+
\***********************************************/
|
1600 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1601 |
+
|
1602 |
+
var baseTimes = __webpack_require__(/*! ./_baseTimes */ "./node_modules/lodash/_baseTimes.js"),
|
1603 |
+
isArguments = __webpack_require__(/*! ./isArguments */ "./node_modules/lodash/isArguments.js"),
|
1604 |
+
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
1605 |
+
isBuffer = __webpack_require__(/*! ./isBuffer */ "./node_modules/lodash/isBuffer.js"),
|
1606 |
+
isIndex = __webpack_require__(/*! ./_isIndex */ "./node_modules/lodash/_isIndex.js"),
|
1607 |
+
isTypedArray = __webpack_require__(/*! ./isTypedArray */ "./node_modules/lodash/isTypedArray.js");
|
1608 |
+
|
1609 |
+
/** Used for built-in method references. */
|
1610 |
+
var objectProto = Object.prototype;
|
1611 |
+
|
1612 |
+
/** Used to check objects for own properties. */
|
1613 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
1614 |
+
|
1615 |
+
/**
|
1616 |
+
* Creates an array of the enumerable property names of the array-like `value`.
|
1617 |
+
*
|
1618 |
+
* @private
|
1619 |
+
* @param {*} value The value to query.
|
1620 |
+
* @param {boolean} inherited Specify returning inherited property names.
|
1621 |
+
* @returns {Array} Returns the array of property names.
|
1622 |
+
*/
|
1623 |
+
function arrayLikeKeys(value, inherited) {
|
1624 |
+
var isArr = isArray(value),
|
1625 |
+
isArg = !isArr && isArguments(value),
|
1626 |
+
isBuff = !isArr && !isArg && isBuffer(value),
|
1627 |
+
isType = !isArr && !isArg && !isBuff && isTypedArray(value),
|
1628 |
+
skipIndexes = isArr || isArg || isBuff || isType,
|
1629 |
+
result = skipIndexes ? baseTimes(value.length, String) : [],
|
1630 |
+
length = result.length;
|
1631 |
+
|
1632 |
+
for (var key in value) {
|
1633 |
+
if ((inherited || hasOwnProperty.call(value, key)) &&
|
1634 |
+
!(skipIndexes && (
|
1635 |
+
// Safari 9 has enumerable `arguments.length` in strict mode.
|
1636 |
+
key == 'length' ||
|
1637 |
+
// Node.js 0.10 has enumerable non-index properties on buffers.
|
1638 |
+
(isBuff && (key == 'offset' || key == 'parent')) ||
|
1639 |
+
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
1640 |
+
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
|
1641 |
+
// Skip index properties.
|
1642 |
+
isIndex(key, length)
|
1643 |
+
))) {
|
1644 |
+
result.push(key);
|
1645 |
+
}
|
1646 |
+
}
|
1647 |
+
return result;
|
1648 |
+
}
|
1649 |
+
|
1650 |
+
module.exports = arrayLikeKeys;
|
1651 |
+
|
1652 |
+
|
1653 |
+
/***/ }),
|
1654 |
+
|
1655 |
+
/***/ "./node_modules/lodash/_arrayMap.js":
|
1656 |
+
/*!******************************************!*\
|
1657 |
+
!*** ./node_modules/lodash/_arrayMap.js ***!
|
1658 |
+
\******************************************/
|
1659 |
+
/***/ (function(module) {
|
1660 |
+
|
1661 |
+
/**
|
1662 |
+
* A specialized version of `_.map` for arrays without support for iteratee
|
1663 |
+
* shorthands.
|
1664 |
+
*
|
1665 |
+
* @private
|
1666 |
+
* @param {Array} [array] The array to iterate over.
|
1667 |
+
* @param {Function} iteratee The function invoked per iteration.
|
1668 |
+
* @returns {Array} Returns the new mapped array.
|
1669 |
+
*/
|
1670 |
+
function arrayMap(array, iteratee) {
|
1671 |
+
var index = -1,
|
1672 |
+
length = array == null ? 0 : array.length,
|
1673 |
+
result = Array(length);
|
1674 |
+
|
1675 |
+
while (++index < length) {
|
1676 |
+
result[index] = iteratee(array[index], index, array);
|
1677 |
+
}
|
1678 |
+
return result;
|
1679 |
+
}
|
1680 |
+
|
1681 |
+
module.exports = arrayMap;
|
1682 |
+
|
1683 |
+
|
1684 |
+
/***/ }),
|
1685 |
+
|
1686 |
+
/***/ "./node_modules/lodash/_arrayPush.js":
|
1687 |
+
/*!*******************************************!*\
|
1688 |
+
!*** ./node_modules/lodash/_arrayPush.js ***!
|
1689 |
+
\*******************************************/
|
1690 |
+
/***/ (function(module) {
|
1691 |
+
|
1692 |
+
/**
|
1693 |
+
* Appends the elements of `values` to `array`.
|
1694 |
+
*
|
1695 |
+
* @private
|
1696 |
+
* @param {Array} array The array to modify.
|
1697 |
+
* @param {Array} values The values to append.
|
1698 |
+
* @returns {Array} Returns `array`.
|
1699 |
+
*/
|
1700 |
+
function arrayPush(array, values) {
|
1701 |
+
var index = -1,
|
1702 |
+
length = values.length,
|
1703 |
+
offset = array.length;
|
1704 |
+
|
1705 |
+
while (++index < length) {
|
1706 |
+
array[offset + index] = values[index];
|
1707 |
+
}
|
1708 |
+
return array;
|
1709 |
+
}
|
1710 |
+
|
1711 |
+
module.exports = arrayPush;
|
1712 |
+
|
1713 |
+
|
1714 |
+
/***/ }),
|
1715 |
+
|
1716 |
+
/***/ "./node_modules/lodash/_arraySome.js":
|
1717 |
+
/*!*******************************************!*\
|
1718 |
+
!*** ./node_modules/lodash/_arraySome.js ***!
|
1719 |
+
\*******************************************/
|
1720 |
+
/***/ (function(module) {
|
1721 |
+
|
1722 |
+
/**
|
1723 |
+
* A specialized version of `_.some` for arrays without support for iteratee
|
1724 |
+
* shorthands.
|
1725 |
+
*
|
1726 |
+
* @private
|
1727 |
+
* @param {Array} [array] The array to iterate over.
|
1728 |
+
* @param {Function} predicate The function invoked per iteration.
|
1729 |
+
* @returns {boolean} Returns `true` if any element passes the predicate check,
|
1730 |
+
* else `false`.
|
1731 |
+
*/
|
1732 |
+
function arraySome(array, predicate) {
|
1733 |
+
var index = -1,
|
1734 |
+
length = array == null ? 0 : array.length;
|
1735 |
+
|
1736 |
+
while (++index < length) {
|
1737 |
+
if (predicate(array[index], index, array)) {
|
1738 |
+
return true;
|
1739 |
+
}
|
1740 |
+
}
|
1741 |
+
return false;
|
1742 |
+
}
|
1743 |
+
|
1744 |
+
module.exports = arraySome;
|
1745 |
+
|
1746 |
+
|
1747 |
+
/***/ }),
|
1748 |
+
|
1749 |
+
/***/ "./node_modules/lodash/_assignValue.js":
|
1750 |
+
/*!*********************************************!*\
|
1751 |
+
!*** ./node_modules/lodash/_assignValue.js ***!
|
1752 |
+
\*********************************************/
|
1753 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1754 |
+
|
1755 |
+
var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ "./node_modules/lodash/_baseAssignValue.js"),
|
1756 |
+
eq = __webpack_require__(/*! ./eq */ "./node_modules/lodash/eq.js");
|
1757 |
+
|
1758 |
+
/** Used for built-in method references. */
|
1759 |
+
var objectProto = Object.prototype;
|
1760 |
+
|
1761 |
+
/** Used to check objects for own properties. */
|
1762 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
1763 |
+
|
1764 |
+
/**
|
1765 |
+
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
1766 |
+
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
1767 |
+
* for equality comparisons.
|
1768 |
+
*
|
1769 |
+
* @private
|
1770 |
+
* @param {Object} object The object to modify.
|
1771 |
+
* @param {string} key The key of the property to assign.
|
1772 |
+
* @param {*} value The value to assign.
|
1773 |
+
*/
|
1774 |
+
function assignValue(object, key, value) {
|
1775 |
+
var objValue = object[key];
|
1776 |
+
if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
|
1777 |
+
(value === undefined && !(key in object))) {
|
1778 |
+
baseAssignValue(object, key, value);
|
1779 |
+
}
|
1780 |
+
}
|
1781 |
+
|
1782 |
+
module.exports = assignValue;
|
1783 |
+
|
1784 |
+
|
1785 |
+
/***/ }),
|
1786 |
+
|
1787 |
+
/***/ "./node_modules/lodash/_assocIndexOf.js":
|
1788 |
+
/*!**********************************************!*\
|
1789 |
+
!*** ./node_modules/lodash/_assocIndexOf.js ***!
|
1790 |
+
\**********************************************/
|
1791 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1792 |
+
|
1793 |
+
var eq = __webpack_require__(/*! ./eq */ "./node_modules/lodash/eq.js");
|
1794 |
+
|
1795 |
+
/**
|
1796 |
+
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
1797 |
+
*
|
1798 |
+
* @private
|
1799 |
+
* @param {Array} array The array to inspect.
|
1800 |
+
* @param {*} key The key to search for.
|
1801 |
+
* @returns {number} Returns the index of the matched value, else `-1`.
|
1802 |
+
*/
|
1803 |
+
function assocIndexOf(array, key) {
|
1804 |
+
var length = array.length;
|
1805 |
+
while (length--) {
|
1806 |
+
if (eq(array[length][0], key)) {
|
1807 |
+
return length;
|
1808 |
+
}
|
1809 |
+
}
|
1810 |
+
return -1;
|
1811 |
+
}
|
1812 |
+
|
1813 |
+
module.exports = assocIndexOf;
|
1814 |
+
|
1815 |
+
|
1816 |
+
/***/ }),
|
1817 |
+
|
1818 |
+
/***/ "./node_modules/lodash/_baseAssign.js":
|
1819 |
+
/*!********************************************!*\
|
1820 |
+
!*** ./node_modules/lodash/_baseAssign.js ***!
|
1821 |
+
\********************************************/
|
1822 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1823 |
+
|
1824 |
+
var copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
|
1825 |
+
keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js");
|
1826 |
+
|
1827 |
+
/**
|
1828 |
+
* The base implementation of `_.assign` without support for multiple sources
|
1829 |
+
* or `customizer` functions.
|
1830 |
+
*
|
1831 |
+
* @private
|
1832 |
+
* @param {Object} object The destination object.
|
1833 |
+
* @param {Object} source The source object.
|
1834 |
+
* @returns {Object} Returns `object`.
|
1835 |
+
*/
|
1836 |
+
function baseAssign(object, source) {
|
1837 |
+
return object && copyObject(source, keys(source), object);
|
1838 |
+
}
|
1839 |
+
|
1840 |
+
module.exports = baseAssign;
|
1841 |
+
|
1842 |
+
|
1843 |
+
/***/ }),
|
1844 |
+
|
1845 |
+
/***/ "./node_modules/lodash/_baseAssignIn.js":
|
1846 |
+
/*!**********************************************!*\
|
1847 |
+
!*** ./node_modules/lodash/_baseAssignIn.js ***!
|
1848 |
+
\**********************************************/
|
1849 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1850 |
+
|
1851 |
+
var copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
|
1852 |
+
keysIn = __webpack_require__(/*! ./keysIn */ "./node_modules/lodash/keysIn.js");
|
1853 |
+
|
1854 |
+
/**
|
1855 |
+
* The base implementation of `_.assignIn` without support for multiple sources
|
1856 |
+
* or `customizer` functions.
|
1857 |
+
*
|
1858 |
+
* @private
|
1859 |
+
* @param {Object} object The destination object.
|
1860 |
+
* @param {Object} source The source object.
|
1861 |
+
* @returns {Object} Returns `object`.
|
1862 |
+
*/
|
1863 |
+
function baseAssignIn(object, source) {
|
1864 |
+
return object && copyObject(source, keysIn(source), object);
|
1865 |
+
}
|
1866 |
+
|
1867 |
+
module.exports = baseAssignIn;
|
1868 |
+
|
1869 |
+
|
1870 |
+
/***/ }),
|
1871 |
+
|
1872 |
+
/***/ "./node_modules/lodash/_baseAssignValue.js":
|
1873 |
+
/*!*************************************************!*\
|
1874 |
+
!*** ./node_modules/lodash/_baseAssignValue.js ***!
|
1875 |
+
\*************************************************/
|
1876 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1877 |
+
|
1878 |
+
var defineProperty = __webpack_require__(/*! ./_defineProperty */ "./node_modules/lodash/_defineProperty.js");
|
1879 |
+
|
1880 |
+
/**
|
1881 |
+
* The base implementation of `assignValue` and `assignMergeValue` without
|
1882 |
+
* value checks.
|
1883 |
+
*
|
1884 |
+
* @private
|
1885 |
+
* @param {Object} object The object to modify.
|
1886 |
+
* @param {string} key The key of the property to assign.
|
1887 |
+
* @param {*} value The value to assign.
|
1888 |
+
*/
|
1889 |
+
function baseAssignValue(object, key, value) {
|
1890 |
+
if (key == '__proto__' && defineProperty) {
|
1891 |
+
defineProperty(object, key, {
|
1892 |
+
'configurable': true,
|
1893 |
+
'enumerable': true,
|
1894 |
+
'value': value,
|
1895 |
+
'writable': true
|
1896 |
+
});
|
1897 |
+
} else {
|
1898 |
+
object[key] = value;
|
1899 |
+
}
|
1900 |
+
}
|
1901 |
+
|
1902 |
+
module.exports = baseAssignValue;
|
1903 |
+
|
1904 |
+
|
1905 |
+
/***/ }),
|
1906 |
+
|
1907 |
+
/***/ "./node_modules/lodash/_baseClone.js":
|
1908 |
+
/*!*******************************************!*\
|
1909 |
+
!*** ./node_modules/lodash/_baseClone.js ***!
|
1910 |
+
\*******************************************/
|
1911 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1912 |
+
|
1913 |
+
var Stack = __webpack_require__(/*! ./_Stack */ "./node_modules/lodash/_Stack.js"),
|
1914 |
+
arrayEach = __webpack_require__(/*! ./_arrayEach */ "./node_modules/lodash/_arrayEach.js"),
|
1915 |
+
assignValue = __webpack_require__(/*! ./_assignValue */ "./node_modules/lodash/_assignValue.js"),
|
1916 |
+
baseAssign = __webpack_require__(/*! ./_baseAssign */ "./node_modules/lodash/_baseAssign.js"),
|
1917 |
+
baseAssignIn = __webpack_require__(/*! ./_baseAssignIn */ "./node_modules/lodash/_baseAssignIn.js"),
|
1918 |
+
cloneBuffer = __webpack_require__(/*! ./_cloneBuffer */ "./node_modules/lodash/_cloneBuffer.js"),
|
1919 |
+
copyArray = __webpack_require__(/*! ./_copyArray */ "./node_modules/lodash/_copyArray.js"),
|
1920 |
+
copySymbols = __webpack_require__(/*! ./_copySymbols */ "./node_modules/lodash/_copySymbols.js"),
|
1921 |
+
copySymbolsIn = __webpack_require__(/*! ./_copySymbolsIn */ "./node_modules/lodash/_copySymbolsIn.js"),
|
1922 |
+
getAllKeys = __webpack_require__(/*! ./_getAllKeys */ "./node_modules/lodash/_getAllKeys.js"),
|
1923 |
+
getAllKeysIn = __webpack_require__(/*! ./_getAllKeysIn */ "./node_modules/lodash/_getAllKeysIn.js"),
|
1924 |
+
getTag = __webpack_require__(/*! ./_getTag */ "./node_modules/lodash/_getTag.js"),
|
1925 |
+
initCloneArray = __webpack_require__(/*! ./_initCloneArray */ "./node_modules/lodash/_initCloneArray.js"),
|
1926 |
+
initCloneByTag = __webpack_require__(/*! ./_initCloneByTag */ "./node_modules/lodash/_initCloneByTag.js"),
|
1927 |
+
initCloneObject = __webpack_require__(/*! ./_initCloneObject */ "./node_modules/lodash/_initCloneObject.js"),
|
1928 |
+
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
1929 |
+
isBuffer = __webpack_require__(/*! ./isBuffer */ "./node_modules/lodash/isBuffer.js"),
|
1930 |
+
isMap = __webpack_require__(/*! ./isMap */ "./node_modules/lodash/isMap.js"),
|
1931 |
+
isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js"),
|
1932 |
+
isSet = __webpack_require__(/*! ./isSet */ "./node_modules/lodash/isSet.js"),
|
1933 |
+
keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js"),
|
1934 |
+
keysIn = __webpack_require__(/*! ./keysIn */ "./node_modules/lodash/keysIn.js");
|
1935 |
+
|
1936 |
+
/** Used to compose bitmasks for cloning. */
|
1937 |
+
var CLONE_DEEP_FLAG = 1,
|
1938 |
+
CLONE_FLAT_FLAG = 2,
|
1939 |
+
CLONE_SYMBOLS_FLAG = 4;
|
1940 |
+
|
1941 |
+
/** `Object#toString` result references. */
|
1942 |
+
var argsTag = '[object Arguments]',
|
1943 |
+
arrayTag = '[object Array]',
|
1944 |
+
boolTag = '[object Boolean]',
|
1945 |
+
dateTag = '[object Date]',
|
1946 |
+
errorTag = '[object Error]',
|
1947 |
+
funcTag = '[object Function]',
|
1948 |
+
genTag = '[object GeneratorFunction]',
|
1949 |
+
mapTag = '[object Map]',
|
1950 |
+
numberTag = '[object Number]',
|
1951 |
+
objectTag = '[object Object]',
|
1952 |
+
regexpTag = '[object RegExp]',
|
1953 |
+
setTag = '[object Set]',
|
1954 |
+
stringTag = '[object String]',
|
1955 |
+
symbolTag = '[object Symbol]',
|
1956 |
+
weakMapTag = '[object WeakMap]';
|
1957 |
+
|
1958 |
+
var arrayBufferTag = '[object ArrayBuffer]',
|
1959 |
+
dataViewTag = '[object DataView]',
|
1960 |
+
float32Tag = '[object Float32Array]',
|
1961 |
+
float64Tag = '[object Float64Array]',
|
1962 |
+
int8Tag = '[object Int8Array]',
|
1963 |
+
int16Tag = '[object Int16Array]',
|
1964 |
+
int32Tag = '[object Int32Array]',
|
1965 |
+
uint8Tag = '[object Uint8Array]',
|
1966 |
+
uint8ClampedTag = '[object Uint8ClampedArray]',
|
1967 |
+
uint16Tag = '[object Uint16Array]',
|
1968 |
+
uint32Tag = '[object Uint32Array]';
|
1969 |
+
|
1970 |
+
/** Used to identify `toStringTag` values supported by `_.clone`. */
|
1971 |
+
var cloneableTags = {};
|
1972 |
+
cloneableTags[argsTag] = cloneableTags[arrayTag] =
|
1973 |
+
cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
|
1974 |
+
cloneableTags[boolTag] = cloneableTags[dateTag] =
|
1975 |
+
cloneableTags[float32Tag] = cloneableTags[float64Tag] =
|
1976 |
+
cloneableTags[int8Tag] = cloneableTags[int16Tag] =
|
1977 |
+
cloneableTags[int32Tag] = cloneableTags[mapTag] =
|
1978 |
+
cloneableTags[numberTag] = cloneableTags[objectTag] =
|
1979 |
+
cloneableTags[regexpTag] = cloneableTags[setTag] =
|
1980 |
+
cloneableTags[stringTag] = cloneableTags[symbolTag] =
|
1981 |
+
cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
|
1982 |
+
cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
|
1983 |
+
cloneableTags[errorTag] = cloneableTags[funcTag] =
|
1984 |
+
cloneableTags[weakMapTag] = false;
|
1985 |
+
|
1986 |
+
/**
|
1987 |
+
* The base implementation of `_.clone` and `_.cloneDeep` which tracks
|
1988 |
+
* traversed objects.
|
1989 |
+
*
|
1990 |
+
* @private
|
1991 |
+
* @param {*} value The value to clone.
|
1992 |
+
* @param {boolean} bitmask The bitmask flags.
|
1993 |
+
* 1 - Deep clone
|
1994 |
+
* 2 - Flatten inherited properties
|
1995 |
+
* 4 - Clone symbols
|
1996 |
+
* @param {Function} [customizer] The function to customize cloning.
|
1997 |
+
* @param {string} [key] The key of `value`.
|
1998 |
+
* @param {Object} [object] The parent object of `value`.
|
1999 |
+
* @param {Object} [stack] Tracks traversed objects and their clone counterparts.
|
2000 |
+
* @returns {*} Returns the cloned value.
|
2001 |
+
*/
|
2002 |
+
function baseClone(value, bitmask, customizer, key, object, stack) {
|
2003 |
+
var result,
|
2004 |
+
isDeep = bitmask & CLONE_DEEP_FLAG,
|
2005 |
+
isFlat = bitmask & CLONE_FLAT_FLAG,
|
2006 |
+
isFull = bitmask & CLONE_SYMBOLS_FLAG;
|
2007 |
+
|
2008 |
+
if (customizer) {
|
2009 |
+
result = object ? customizer(value, key, object, stack) : customizer(value);
|
2010 |
+
}
|
2011 |
+
if (result !== undefined) {
|
2012 |
+
return result;
|
2013 |
+
}
|
2014 |
+
if (!isObject(value)) {
|
2015 |
+
return value;
|
2016 |
+
}
|
2017 |
+
var isArr = isArray(value);
|
2018 |
+
if (isArr) {
|
2019 |
+
result = initCloneArray(value);
|
2020 |
+
if (!isDeep) {
|
2021 |
+
return copyArray(value, result);
|
2022 |
+
}
|
2023 |
+
} else {
|
2024 |
+
var tag = getTag(value),
|
2025 |
+
isFunc = tag == funcTag || tag == genTag;
|
2026 |
+
|
2027 |
+
if (isBuffer(value)) {
|
2028 |
+
return cloneBuffer(value, isDeep);
|
2029 |
+
}
|
2030 |
+
if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
|
2031 |
+
result = (isFlat || isFunc) ? {} : initCloneObject(value);
|
2032 |
+
if (!isDeep) {
|
2033 |
+
return isFlat
|
2034 |
+
? copySymbolsIn(value, baseAssignIn(result, value))
|
2035 |
+
: copySymbols(value, baseAssign(result, value));
|
2036 |
+
}
|
2037 |
+
} else {
|
2038 |
+
if (!cloneableTags[tag]) {
|
2039 |
+
return object ? value : {};
|
2040 |
+
}
|
2041 |
+
result = initCloneByTag(value, tag, isDeep);
|
2042 |
+
}
|
2043 |
+
}
|
2044 |
+
// Check for circular references and return its corresponding clone.
|
2045 |
+
stack || (stack = new Stack);
|
2046 |
+
var stacked = stack.get(value);
|
2047 |
+
if (stacked) {
|
2048 |
+
return stacked;
|
2049 |
+
}
|
2050 |
+
stack.set(value, result);
|
2051 |
+
|
2052 |
+
if (isSet(value)) {
|
2053 |
+
value.forEach(function(subValue) {
|
2054 |
+
result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
|
2055 |
+
});
|
2056 |
+
} else if (isMap(value)) {
|
2057 |
+
value.forEach(function(subValue, key) {
|
2058 |
+
result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
|
2059 |
+
});
|
2060 |
+
}
|
2061 |
+
|
2062 |
+
var keysFunc = isFull
|
2063 |
+
? (isFlat ? getAllKeysIn : getAllKeys)
|
2064 |
+
: (isFlat ? keysIn : keys);
|
2065 |
+
|
2066 |
+
var props = isArr ? undefined : keysFunc(value);
|
2067 |
+
arrayEach(props || value, function(subValue, key) {
|
2068 |
+
if (props) {
|
2069 |
+
key = subValue;
|
2070 |
+
subValue = value[key];
|
2071 |
+
}
|
2072 |
+
// Recursively populate clone (susceptible to call stack limits).
|
2073 |
+
assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
|
2074 |
+
});
|
2075 |
+
return result;
|
2076 |
+
}
|
2077 |
+
|
2078 |
+
module.exports = baseClone;
|
2079 |
+
|
2080 |
+
|
2081 |
+
/***/ }),
|
2082 |
+
|
2083 |
+
/***/ "./node_modules/lodash/_baseCreate.js":
|
2084 |
+
/*!********************************************!*\
|
2085 |
+
!*** ./node_modules/lodash/_baseCreate.js ***!
|
2086 |
+
\********************************************/
|
2087 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2088 |
+
|
2089 |
+
var isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js");
|
2090 |
+
|
2091 |
+
/** Built-in value references. */
|
2092 |
+
var objectCreate = Object.create;
|
2093 |
+
|
2094 |
+
/**
|
2095 |
+
* The base implementation of `_.create` without support for assigning
|
2096 |
+
* properties to the created object.
|
2097 |
+
*
|
2098 |
+
* @private
|
2099 |
+
* @param {Object} proto The object to inherit from.
|
2100 |
+
* @returns {Object} Returns the new object.
|
2101 |
+
*/
|
2102 |
+
var baseCreate = (function() {
|
2103 |
+
function object() {}
|
2104 |
+
return function(proto) {
|
2105 |
+
if (!isObject(proto)) {
|
2106 |
+
return {};
|
2107 |
+
}
|
2108 |
+
if (objectCreate) {
|
2109 |
+
return objectCreate(proto);
|
2110 |
+
}
|
2111 |
+
object.prototype = proto;
|
2112 |
+
var result = new object;
|
2113 |
+
object.prototype = undefined;
|
2114 |
+
return result;
|
2115 |
+
};
|
2116 |
+
}());
|
2117 |
+
|
2118 |
+
module.exports = baseCreate;
|
2119 |
+
|
2120 |
+
|
2121 |
+
/***/ }),
|
2122 |
+
|
2123 |
+
/***/ "./node_modules/lodash/_baseEach.js":
|
2124 |
+
/*!******************************************!*\
|
2125 |
+
!*** ./node_modules/lodash/_baseEach.js ***!
|
2126 |
+
\******************************************/
|
2127 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2128 |
+
|
2129 |
+
var baseForOwn = __webpack_require__(/*! ./_baseForOwn */ "./node_modules/lodash/_baseForOwn.js"),
|
2130 |
+
createBaseEach = __webpack_require__(/*! ./_createBaseEach */ "./node_modules/lodash/_createBaseEach.js");
|
2131 |
+
|
2132 |
+
/**
|
2133 |
+
* The base implementation of `_.forEach` without support for iteratee shorthands.
|
2134 |
+
*
|
2135 |
+
* @private
|
2136 |
+
* @param {Array|Object} collection The collection to iterate over.
|
2137 |
+
* @param {Function} iteratee The function invoked per iteration.
|
2138 |
+
* @returns {Array|Object} Returns `collection`.
|
2139 |
+
*/
|
2140 |
+
var baseEach = createBaseEach(baseForOwn);
|
2141 |
+
|
2142 |
+
module.exports = baseEach;
|
2143 |
+
|
2144 |
+
|
2145 |
+
/***/ }),
|
2146 |
+
|
2147 |
+
/***/ "./node_modules/lodash/_baseFor.js":
|
2148 |
+
/*!*****************************************!*\
|
2149 |
+
!*** ./node_modules/lodash/_baseFor.js ***!
|
2150 |
+
\*****************************************/
|
2151 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2152 |
+
|
2153 |
+
var createBaseFor = __webpack_require__(/*! ./_createBaseFor */ "./node_modules/lodash/_createBaseFor.js");
|
2154 |
+
|
2155 |
+
/**
|
2156 |
+
* The base implementation of `baseForOwn` which iterates over `object`
|
2157 |
+
* properties returned by `keysFunc` and invokes `iteratee` for each property.
|
2158 |
+
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
2159 |
+
*
|
2160 |
+
* @private
|
2161 |
+
* @param {Object} object The object to iterate over.
|
2162 |
+
* @param {Function} iteratee The function invoked per iteration.
|
2163 |
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
2164 |
+
* @returns {Object} Returns `object`.
|
2165 |
+
*/
|
2166 |
+
var baseFor = createBaseFor();
|
2167 |
+
|
2168 |
+
module.exports = baseFor;
|
2169 |
+
|
2170 |
+
|
2171 |
+
/***/ }),
|
2172 |
+
|
2173 |
+
/***/ "./node_modules/lodash/_baseForOwn.js":
|
2174 |
+
/*!********************************************!*\
|
2175 |
+
!*** ./node_modules/lodash/_baseForOwn.js ***!
|
2176 |
+
\********************************************/
|
2177 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2178 |
+
|
2179 |
+
var baseFor = __webpack_require__(/*! ./_baseFor */ "./node_modules/lodash/_baseFor.js"),
|
2180 |
+
keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js");
|
2181 |
+
|
2182 |
+
/**
|
2183 |
+
* The base implementation of `_.forOwn` without support for iteratee shorthands.
|
2184 |
+
*
|
2185 |
+
* @private
|
2186 |
+
* @param {Object} object The object to iterate over.
|
2187 |
+
* @param {Function} iteratee The function invoked per iteration.
|
2188 |
+
* @returns {Object} Returns `object`.
|
2189 |
+
*/
|
2190 |
+
function baseForOwn(object, iteratee) {
|
2191 |
+
return object && baseFor(object, iteratee, keys);
|
2192 |
+
}
|
2193 |
+
|
2194 |
+
module.exports = baseForOwn;
|
2195 |
+
|
2196 |
+
|
2197 |
+
/***/ }),
|
2198 |
+
|
2199 |
+
/***/ "./node_modules/lodash/_baseGet.js":
|
2200 |
+
/*!*****************************************!*\
|
2201 |
+
!*** ./node_modules/lodash/_baseGet.js ***!
|
2202 |
+
\*****************************************/
|
2203 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2204 |
+
|
2205 |
+
var castPath = __webpack_require__(/*! ./_castPath */ "./node_modules/lodash/_castPath.js"),
|
2206 |
+
toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
|
2207 |
+
|
2208 |
+
/**
|
2209 |
+
* The base implementation of `_.get` without support for default values.
|
2210 |
+
*
|
2211 |
+
* @private
|
2212 |
+
* @param {Object} object The object to query.
|
2213 |
+
* @param {Array|string} path The path of the property to get.
|
2214 |
+
* @returns {*} Returns the resolved value.
|
2215 |
+
*/
|
2216 |
+
function baseGet(object, path) {
|
2217 |
+
path = castPath(path, object);
|
2218 |
+
|
2219 |
+
var index = 0,
|
2220 |
+
length = path.length;
|
2221 |
+
|
2222 |
+
while (object != null && index < length) {
|
2223 |
+
object = object[toKey(path[index++])];
|
2224 |
+
}
|
2225 |
+
return (index && index == length) ? object : undefined;
|
2226 |
+
}
|
2227 |
+
|
2228 |
+
module.exports = baseGet;
|
2229 |
+
|
2230 |
+
|
2231 |
+
/***/ }),
|
2232 |
+
|
2233 |
+
/***/ "./node_modules/lodash/_baseGetAllKeys.js":
|
2234 |
+
/*!************************************************!*\
|
2235 |
+
!*** ./node_modules/lodash/_baseGetAllKeys.js ***!
|
2236 |
+
\************************************************/
|
2237 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2238 |
+
|
2239 |
+
var arrayPush = __webpack_require__(/*! ./_arrayPush */ "./node_modules/lodash/_arrayPush.js"),
|
2240 |
+
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js");
|
2241 |
+
|
2242 |
+
/**
|
2243 |
+
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
2244 |
+
* `keysFunc` and `symbolsFunc` to get the enumerable property names and
|
2245 |
+
* symbols of `object`.
|
2246 |
+
*
|
2247 |
+
* @private
|
2248 |
+
* @param {Object} object The object to query.
|
2249 |
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
2250 |
+
* @param {Function} symbolsFunc The function to get the symbols of `object`.
|
2251 |
+
* @returns {Array} Returns the array of property names and symbols.
|
2252 |
+
*/
|
2253 |
+
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
2254 |
+
var result = keysFunc(object);
|
2255 |
+
return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
|
2256 |
+
}
|
2257 |
+
|
2258 |
+
module.exports = baseGetAllKeys;
|
2259 |
+
|
2260 |
+
|
2261 |
+
/***/ }),
|
2262 |
+
|
2263 |
+
/***/ "./node_modules/lodash/_baseGetTag.js":
|
2264 |
+
/*!********************************************!*\
|
2265 |
+
!*** ./node_modules/lodash/_baseGetTag.js ***!
|
2266 |
+
\********************************************/
|
2267 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2268 |
+
|
2269 |
+
var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js"),
|
2270 |
+
getRawTag = __webpack_require__(/*! ./_getRawTag */ "./node_modules/lodash/_getRawTag.js"),
|
2271 |
+
objectToString = __webpack_require__(/*! ./_objectToString */ "./node_modules/lodash/_objectToString.js");
|
2272 |
+
|
2273 |
+
/** `Object#toString` result references. */
|
2274 |
+
var nullTag = '[object Null]',
|
2275 |
+
undefinedTag = '[object Undefined]';
|
2276 |
+
|
2277 |
+
/** Built-in value references. */
|
2278 |
+
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
2279 |
+
|
2280 |
+
/**
|
2281 |
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
2282 |
+
*
|
2283 |
+
* @private
|
2284 |
+
* @param {*} value The value to query.
|
2285 |
+
* @returns {string} Returns the `toStringTag`.
|
2286 |
+
*/
|
2287 |
+
function baseGetTag(value) {
|
2288 |
+
if (value == null) {
|
2289 |
+
return value === undefined ? undefinedTag : nullTag;
|
2290 |
+
}
|
2291 |
+
return (symToStringTag && symToStringTag in Object(value))
|
2292 |
+
? getRawTag(value)
|
2293 |
+
: objectToString(value);
|
2294 |
+
}
|
2295 |
+
|
2296 |
+
module.exports = baseGetTag;
|
2297 |
+
|
2298 |
+
|
2299 |
+
/***/ }),
|
2300 |
+
|
2301 |
+
/***/ "./node_modules/lodash/_baseHasIn.js":
|
2302 |
+
/*!*******************************************!*\
|
2303 |
+
!*** ./node_modules/lodash/_baseHasIn.js ***!
|
2304 |
+
\*******************************************/
|
2305 |
+
/***/ (function(module) {
|
2306 |
+
|
2307 |
+
/**
|
2308 |
+
* The base implementation of `_.hasIn` without support for deep paths.
|
2309 |
+
*
|
2310 |
+
* @private
|
2311 |
+
* @param {Object} [object] The object to query.
|
2312 |
+
* @param {Array|string} key The key to check.
|
2313 |
+
* @returns {boolean} Returns `true` if `key` exists, else `false`.
|
2314 |
+
*/
|
2315 |
+
function baseHasIn(object, key) {
|
2316 |
+
return object != null && key in Object(object);
|
2317 |
+
}
|
2318 |
+
|
2319 |
+
module.exports = baseHasIn;
|
2320 |
+
|
2321 |
+
|
2322 |
+
/***/ }),
|
2323 |
+
|
2324 |
+
/***/ "./node_modules/lodash/_baseIsArguments.js":
|
2325 |
+
/*!*************************************************!*\
|
2326 |
+
!*** ./node_modules/lodash/_baseIsArguments.js ***!
|
2327 |
+
\*************************************************/
|
2328 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2329 |
+
|
2330 |
+
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
2331 |
+
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
2332 |
+
|
2333 |
+
/** `Object#toString` result references. */
|
2334 |
+
var argsTag = '[object Arguments]';
|
2335 |
+
|
2336 |
+
/**
|
2337 |
+
* The base implementation of `_.isArguments`.
|
2338 |
+
*
|
2339 |
+
* @private
|
2340 |
+
* @param {*} value The value to check.
|
2341 |
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
2342 |
+
*/
|
2343 |
+
function baseIsArguments(value) {
|
2344 |
+
return isObjectLike(value) && baseGetTag(value) == argsTag;
|
2345 |
+
}
|
2346 |
+
|
2347 |
+
module.exports = baseIsArguments;
|
2348 |
+
|
2349 |
+
|
2350 |
+
/***/ }),
|
2351 |
+
|
2352 |
+
/***/ "./node_modules/lodash/_baseIsEqual.js":
|
2353 |
+
/*!*********************************************!*\
|
2354 |
+
!*** ./node_modules/lodash/_baseIsEqual.js ***!
|
2355 |
+
\*********************************************/
|
2356 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2357 |
+
|
2358 |
+
var baseIsEqualDeep = __webpack_require__(/*! ./_baseIsEqualDeep */ "./node_modules/lodash/_baseIsEqualDeep.js"),
|
2359 |
+
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
2360 |
+
|
2361 |
+
/**
|
2362 |
+
* The base implementation of `_.isEqual` which supports partial comparisons
|
2363 |
+
* and tracks traversed objects.
|
2364 |
+
*
|
2365 |
+
* @private
|
2366 |
+
* @param {*} value The value to compare.
|
2367 |
+
* @param {*} other The other value to compare.
|
2368 |
+
* @param {boolean} bitmask The bitmask flags.
|
2369 |
+
* 1 - Unordered comparison
|
2370 |
+
* 2 - Partial comparison
|
2371 |
+
* @param {Function} [customizer] The function to customize comparisons.
|
2372 |
+
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
|
2373 |
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
2374 |
+
*/
|
2375 |
+
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
2376 |
+
if (value === other) {
|
2377 |
+
return true;
|
2378 |
+
}
|
2379 |
+
if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
|
2380 |
+
return value !== value && other !== other;
|
2381 |
+
}
|
2382 |
+
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
2383 |
+
}
|
2384 |
+
|
2385 |
+
module.exports = baseIsEqual;
|
2386 |
+
|
2387 |
+
|
2388 |
+
/***/ }),
|
2389 |
+
|
2390 |
+
/***/ "./node_modules/lodash/_baseIsEqualDeep.js":
|
2391 |
+
/*!*************************************************!*\
|
2392 |
+
!*** ./node_modules/lodash/_baseIsEqualDeep.js ***!
|
2393 |
+
\*************************************************/
|
2394 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2395 |
+
|
2396 |
+
var Stack = __webpack_require__(/*! ./_Stack */ "./node_modules/lodash/_Stack.js"),
|
2397 |
+
equalArrays = __webpack_require__(/*! ./_equalArrays */ "./node_modules/lodash/_equalArrays.js"),
|
2398 |
+
equalByTag = __webpack_require__(/*! ./_equalByTag */ "./node_modules/lodash/_equalByTag.js"),
|
2399 |
+
equalObjects = __webpack_require__(/*! ./_equalObjects */ "./node_modules/lodash/_equalObjects.js"),
|
2400 |
+
getTag = __webpack_require__(/*! ./_getTag */ "./node_modules/lodash/_getTag.js"),
|
2401 |
+
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
2402 |
+
isBuffer = __webpack_require__(/*! ./isBuffer */ "./node_modules/lodash/isBuffer.js"),
|
2403 |
+
isTypedArray = __webpack_require__(/*! ./isTypedArray */ "./node_modules/lodash/isTypedArray.js");
|
2404 |
+
|
2405 |
+
/** Used to compose bitmasks for value comparisons. */
|
2406 |
+
var COMPARE_PARTIAL_FLAG = 1;
|
2407 |
+
|
2408 |
+
/** `Object#toString` result references. */
|
2409 |
+
var argsTag = '[object Arguments]',
|
2410 |
+
arrayTag = '[object Array]',
|
2411 |
+
objectTag = '[object Object]';
|
2412 |
+
|
2413 |
+
/** Used for built-in method references. */
|
2414 |
+
var objectProto = Object.prototype;
|
2415 |
+
|
2416 |
+
/** Used to check objects for own properties. */
|
2417 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
2418 |
+
|
2419 |
+
/**
|
2420 |
+
* A specialized version of `baseIsEqual` for arrays and objects which performs
|
2421 |
+
* deep comparisons and tracks traversed objects enabling objects with circular
|
2422 |
+
* references to be compared.
|
2423 |
+
*
|
2424 |
+
* @private
|
2425 |
+
* @param {Object} object The object to compare.
|
2426 |
+
* @param {Object} other The other object to compare.
|
2427 |
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
2428 |
+
* @param {Function} customizer The function to customize comparisons.
|
2429 |
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
2430 |
+
* @param {Object} [stack] Tracks traversed `object` and `other` objects.
|
2431 |
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
2432 |
+
*/
|
2433 |
+
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
2434 |
+
var objIsArr = isArray(object),
|
2435 |
+
othIsArr = isArray(other),
|
2436 |
+
objTag = objIsArr ? arrayTag : getTag(object),
|
2437 |
+
othTag = othIsArr ? arrayTag : getTag(other);
|
2438 |
+
|
2439 |
+
objTag = objTag == argsTag ? objectTag : objTag;
|
2440 |
+
othTag = othTag == argsTag ? objectTag : othTag;
|
2441 |
+
|
2442 |
+
var objIsObj = objTag == objectTag,
|
2443 |
+
othIsObj = othTag == objectTag,
|
2444 |
+
isSameTag = objTag == othTag;
|
2445 |
+
|
2446 |
+
if (isSameTag && isBuffer(object)) {
|
2447 |
+
if (!isBuffer(other)) {
|
2448 |
+
return false;
|
2449 |
+
}
|
2450 |
+
objIsArr = true;
|
2451 |
+
objIsObj = false;
|
2452 |
+
}
|
2453 |
+
if (isSameTag && !objIsObj) {
|
2454 |
+
stack || (stack = new Stack);
|
2455 |
+
return (objIsArr || isTypedArray(object))
|
2456 |
+
? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
|
2457 |
+
: equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
2458 |
+
}
|
2459 |
+
if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
|
2460 |
+
var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
|
2461 |
+
othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
|
2462 |
+
|
2463 |
+
if (objIsWrapped || othIsWrapped) {
|
2464 |
+
var objUnwrapped = objIsWrapped ? object.value() : object,
|
2465 |
+
othUnwrapped = othIsWrapped ? other.value() : other;
|
2466 |
+
|
2467 |
+
stack || (stack = new Stack);
|
2468 |
+
return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
|
2469 |
+
}
|
2470 |
+
}
|
2471 |
+
if (!isSameTag) {
|
2472 |
+
return false;
|
2473 |
+
}
|
2474 |
+
stack || (stack = new Stack);
|
2475 |
+
return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
|
2476 |
+
}
|
2477 |
+
|
2478 |
+
module.exports = baseIsEqualDeep;
|
2479 |
+
|
2480 |
+
|
2481 |
+
/***/ }),
|
2482 |
+
|
2483 |
+
/***/ "./node_modules/lodash/_baseIsMap.js":
|
2484 |
+
/*!*******************************************!*\
|
2485 |
+
!*** ./node_modules/lodash/_baseIsMap.js ***!
|
2486 |
+
\*******************************************/
|
2487 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2488 |
+
|
2489 |
+
var getTag = __webpack_require__(/*! ./_getTag */ "./node_modules/lodash/_getTag.js"),
|
2490 |
+
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
2491 |
+
|
2492 |
+
/** `Object#toString` result references. */
|
2493 |
+
var mapTag = '[object Map]';
|
2494 |
+
|
2495 |
+
/**
|
2496 |
+
* The base implementation of `_.isMap` without Node.js optimizations.
|
2497 |
+
*
|
2498 |
+
* @private
|
2499 |
+
* @param {*} value The value to check.
|
2500 |
+
* @returns {boolean} Returns `true` if `value` is a map, else `false`.
|
2501 |
+
*/
|
2502 |
+
function baseIsMap(value) {
|
2503 |
+
return isObjectLike(value) && getTag(value) == mapTag;
|
2504 |
+
}
|
2505 |
+
|
2506 |
+
module.exports = baseIsMap;
|
2507 |
+
|
2508 |
+
|
2509 |
+
/***/ }),
|
2510 |
+
|
2511 |
+
/***/ "./node_modules/lodash/_baseIsMatch.js":
|
2512 |
+
/*!*********************************************!*\
|
2513 |
+
!*** ./node_modules/lodash/_baseIsMatch.js ***!
|
2514 |
+
\*********************************************/
|
2515 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2516 |
+
|
2517 |
+
var Stack = __webpack_require__(/*! ./_Stack */ "./node_modules/lodash/_Stack.js"),
|
2518 |
+
baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ "./node_modules/lodash/_baseIsEqual.js");
|
2519 |
+
|
2520 |
+
/** Used to compose bitmasks for value comparisons. */
|
2521 |
+
var COMPARE_PARTIAL_FLAG = 1,
|
2522 |
+
COMPARE_UNORDERED_FLAG = 2;
|
2523 |
+
|
2524 |
+
/**
|
2525 |
+
* The base implementation of `_.isMatch` without support for iteratee shorthands.
|
2526 |
+
*
|
2527 |
+
* @private
|
2528 |
+
* @param {Object} object The object to inspect.
|
2529 |
+
* @param {Object} source The object of property values to match.
|
2530 |
+
* @param {Array} matchData The property names, values, and compare flags to match.
|
2531 |
+
* @param {Function} [customizer] The function to customize comparisons.
|
2532 |
+
* @returns {boolean} Returns `true` if `object` is a match, else `false`.
|
2533 |
+
*/
|
2534 |
+
function baseIsMatch(object, source, matchData, customizer) {
|
2535 |
+
var index = matchData.length,
|
2536 |
+
length = index,
|
2537 |
+
noCustomizer = !customizer;
|
2538 |
+
|
2539 |
+
if (object == null) {
|
2540 |
+
return !length;
|
2541 |
+
}
|
2542 |
+
object = Object(object);
|
2543 |
+
while (index--) {
|
2544 |
+
var data = matchData[index];
|
2545 |
+
if ((noCustomizer && data[2])
|
2546 |
+
? data[1] !== object[data[0]]
|
2547 |
+
: !(data[0] in object)
|
2548 |
+
) {
|
2549 |
+
return false;
|
2550 |
+
}
|
2551 |
+
}
|
2552 |
+
while (++index < length) {
|
2553 |
+
data = matchData[index];
|
2554 |
+
var key = data[0],
|
2555 |
+
objValue = object[key],
|
2556 |
+
srcValue = data[1];
|
2557 |
+
|
2558 |
+
if (noCustomizer && data[2]) {
|
2559 |
+
if (objValue === undefined && !(key in object)) {
|
2560 |
+
return false;
|
2561 |
+
}
|
2562 |
+
} else {
|
2563 |
+
var stack = new Stack;
|
2564 |
+
if (customizer) {
|
2565 |
+
var result = customizer(objValue, srcValue, key, object, source, stack);
|
2566 |
+
}
|
2567 |
+
if (!(result === undefined
|
2568 |
+
? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)
|
2569 |
+
: result
|
2570 |
+
)) {
|
2571 |
+
return false;
|
2572 |
+
}
|
2573 |
+
}
|
2574 |
+
}
|
2575 |
+
return true;
|
2576 |
+
}
|
2577 |
+
|
2578 |
+
module.exports = baseIsMatch;
|
2579 |
+
|
2580 |
+
|
2581 |
+
/***/ }),
|
2582 |
+
|
2583 |
+
/***/ "./node_modules/lodash/_baseIsNative.js":
|
2584 |
+
/*!**********************************************!*\
|
2585 |
+
!*** ./node_modules/lodash/_baseIsNative.js ***!
|
2586 |
+
\**********************************************/
|
2587 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2588 |
+
|
2589 |
+
var isFunction = __webpack_require__(/*! ./isFunction */ "./node_modules/lodash/isFunction.js"),
|
2590 |
+
isMasked = __webpack_require__(/*! ./_isMasked */ "./node_modules/lodash/_isMasked.js"),
|
2591 |
+
isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js"),
|
2592 |
+
toSource = __webpack_require__(/*! ./_toSource */ "./node_modules/lodash/_toSource.js");
|
2593 |
+
|
2594 |
+
/**
|
2595 |
+
* Used to match `RegExp`
|
2596 |
+
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
2597 |
+
*/
|
2598 |
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
2599 |
+
|
2600 |
+
/** Used to detect host constructors (Safari). */
|
2601 |
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
2602 |
+
|
2603 |
+
/** Used for built-in method references. */
|
2604 |
+
var funcProto = Function.prototype,
|
2605 |
+
objectProto = Object.prototype;
|
2606 |
+
|
2607 |
+
/** Used to resolve the decompiled source of functions. */
|
2608 |
+
var funcToString = funcProto.toString;
|
2609 |
+
|
2610 |
+
/** Used to check objects for own properties. */
|
2611 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
2612 |
+
|
2613 |
+
/** Used to detect if a method is native. */
|
2614 |
+
var reIsNative = RegExp('^' +
|
2615 |
+
funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
|
2616 |
+
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
2617 |
+
);
|
2618 |
+
|
2619 |
+
/**
|
2620 |
+
* The base implementation of `_.isNative` without bad shim checks.
|
2621 |
+
*
|
2622 |
+
* @private
|
2623 |
+
* @param {*} value The value to check.
|
2624 |
+
* @returns {boolean} Returns `true` if `value` is a native function,
|
2625 |
+
* else `false`.
|
2626 |
+
*/
|
2627 |
+
function baseIsNative(value) {
|
2628 |
+
if (!isObject(value) || isMasked(value)) {
|
2629 |
+
return false;
|
2630 |
+
}
|
2631 |
+
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
2632 |
+
return pattern.test(toSource(value));
|
2633 |
+
}
|
2634 |
+
|
2635 |
+
module.exports = baseIsNative;
|
2636 |
+
|
2637 |
+
|
2638 |
+
/***/ }),
|
2639 |
+
|
2640 |
+
/***/ "./node_modules/lodash/_baseIsSet.js":
|
2641 |
+
/*!*******************************************!*\
|
2642 |
+
!*** ./node_modules/lodash/_baseIsSet.js ***!
|
2643 |
+
\*******************************************/
|
2644 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2645 |
+
|
2646 |
+
var getTag = __webpack_require__(/*! ./_getTag */ "./node_modules/lodash/_getTag.js"),
|
2647 |
+
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
2648 |
+
|
2649 |
+
/** `Object#toString` result references. */
|
2650 |
+
var setTag = '[object Set]';
|
2651 |
+
|
2652 |
+
/**
|
2653 |
+
* The base implementation of `_.isSet` without Node.js optimizations.
|
2654 |
+
*
|
2655 |
+
* @private
|
2656 |
+
* @param {*} value The value to check.
|
2657 |
+
* @returns {boolean} Returns `true` if `value` is a set, else `false`.
|
2658 |
+
*/
|
2659 |
+
function baseIsSet(value) {
|
2660 |
+
return isObjectLike(value) && getTag(value) == setTag;
|
2661 |
+
}
|
2662 |
+
|
2663 |
+
module.exports = baseIsSet;
|
2664 |
+
|
2665 |
+
|
2666 |
+
/***/ }),
|
2667 |
+
|
2668 |
+
/***/ "./node_modules/lodash/_baseIsTypedArray.js":
|
2669 |
+
/*!**************************************************!*\
|
2670 |
+
!*** ./node_modules/lodash/_baseIsTypedArray.js ***!
|
2671 |
+
\**************************************************/
|
2672 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2673 |
+
|
2674 |
+
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
2675 |
+
isLength = __webpack_require__(/*! ./isLength */ "./node_modules/lodash/isLength.js"),
|
2676 |
+
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
2677 |
+
|
2678 |
+
/** `Object#toString` result references. */
|
2679 |
+
var argsTag = '[object Arguments]',
|
2680 |
+
arrayTag = '[object Array]',
|
2681 |
+
boolTag = '[object Boolean]',
|
2682 |
+
dateTag = '[object Date]',
|
2683 |
+
errorTag = '[object Error]',
|
2684 |
+
funcTag = '[object Function]',
|
2685 |
+
mapTag = '[object Map]',
|
2686 |
+
numberTag = '[object Number]',
|
2687 |
+
objectTag = '[object Object]',
|
2688 |
+
regexpTag = '[object RegExp]',
|
2689 |
+
setTag = '[object Set]',
|
2690 |
+
stringTag = '[object String]',
|
2691 |
+
weakMapTag = '[object WeakMap]';
|
2692 |
+
|
2693 |
+
var arrayBufferTag = '[object ArrayBuffer]',
|
2694 |
+
dataViewTag = '[object DataView]',
|
2695 |
+
float32Tag = '[object Float32Array]',
|
2696 |
+
float64Tag = '[object Float64Array]',
|
2697 |
+
int8Tag = '[object Int8Array]',
|
2698 |
+
int16Tag = '[object Int16Array]',
|
2699 |
+
int32Tag = '[object Int32Array]',
|
2700 |
+
uint8Tag = '[object Uint8Array]',
|
2701 |
+
uint8ClampedTag = '[object Uint8ClampedArray]',
|
2702 |
+
uint16Tag = '[object Uint16Array]',
|
2703 |
+
uint32Tag = '[object Uint32Array]';
|
2704 |
+
|
2705 |
+
/** Used to identify `toStringTag` values of typed arrays. */
|
2706 |
+
var typedArrayTags = {};
|
2707 |
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
2708 |
+
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
|
2709 |
+
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
|
2710 |
+
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
|
2711 |
+
typedArrayTags[uint32Tag] = true;
|
2712 |
+
typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
|
2713 |
+
typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
|
2714 |
+
typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
|
2715 |
+
typedArrayTags[errorTag] = typedArrayTags[funcTag] =
|
2716 |
+
typedArrayTags[mapTag] = typedArrayTags[numberTag] =
|
2717 |
+
typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
|
2718 |
+
typedArrayTags[setTag] = typedArrayTags[stringTag] =
|
2719 |
+
typedArrayTags[weakMapTag] = false;
|
2720 |
+
|
2721 |
+
/**
|
2722 |
+
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
2723 |
+
*
|
2724 |
+
* @private
|
2725 |
+
* @param {*} value The value to check.
|
2726 |
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
2727 |
+
*/
|
2728 |
+
function baseIsTypedArray(value) {
|
2729 |
+
return isObjectLike(value) &&
|
2730 |
+
isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
2731 |
+
}
|
2732 |
+
|
2733 |
+
module.exports = baseIsTypedArray;
|
2734 |
+
|
2735 |
+
|
2736 |
+
/***/ }),
|
2737 |
+
|
2738 |
+
/***/ "./node_modules/lodash/_baseIteratee.js":
|
2739 |
+
/*!**********************************************!*\
|
2740 |
+
!*** ./node_modules/lodash/_baseIteratee.js ***!
|
2741 |
+
\**********************************************/
|
2742 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2743 |
+
|
2744 |
+
var baseMatches = __webpack_require__(/*! ./_baseMatches */ "./node_modules/lodash/_baseMatches.js"),
|
2745 |
+
baseMatchesProperty = __webpack_require__(/*! ./_baseMatchesProperty */ "./node_modules/lodash/_baseMatchesProperty.js"),
|
2746 |
+
identity = __webpack_require__(/*! ./identity */ "./node_modules/lodash/identity.js"),
|
2747 |
+
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
2748 |
+
property = __webpack_require__(/*! ./property */ "./node_modules/lodash/property.js");
|
2749 |
+
|
2750 |
+
/**
|
2751 |
+
* The base implementation of `_.iteratee`.
|
2752 |
+
*
|
2753 |
+
* @private
|
2754 |
+
* @param {*} [value=_.identity] The value to convert to an iteratee.
|
2755 |
+
* @returns {Function} Returns the iteratee.
|
2756 |
+
*/
|
2757 |
+
function baseIteratee(value) {
|
2758 |
+
// Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
|
2759 |
+
// See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
|
2760 |
+
if (typeof value == 'function') {
|
2761 |
+
return value;
|
2762 |
+
}
|
2763 |
+
if (value == null) {
|
2764 |
+
return identity;
|
2765 |
+
}
|
2766 |
+
if (typeof value == 'object') {
|
2767 |
+
return isArray(value)
|
2768 |
+
? baseMatchesProperty(value[0], value[1])
|
2769 |
+
: baseMatches(value);
|
2770 |
+
}
|
2771 |
+
return property(value);
|
2772 |
+
}
|
2773 |
+
|
2774 |
+
module.exports = baseIteratee;
|
2775 |
+
|
2776 |
+
|
2777 |
+
/***/ }),
|
2778 |
+
|
2779 |
+
/***/ "./node_modules/lodash/_baseKeys.js":
|
2780 |
+
/*!******************************************!*\
|
2781 |
+
!*** ./node_modules/lodash/_baseKeys.js ***!
|
2782 |
+
\******************************************/
|
2783 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2784 |
+
|
2785 |
+
var isPrototype = __webpack_require__(/*! ./_isPrototype */ "./node_modules/lodash/_isPrototype.js"),
|
2786 |
+
nativeKeys = __webpack_require__(/*! ./_nativeKeys */ "./node_modules/lodash/_nativeKeys.js");
|
2787 |
+
|
2788 |
+
/** Used for built-in method references. */
|
2789 |
+
var objectProto = Object.prototype;
|
2790 |
+
|
2791 |
+
/** Used to check objects for own properties. */
|
2792 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
2793 |
+
|
2794 |
+
/**
|
2795 |
+
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
2796 |
+
*
|
2797 |
+
* @private
|
2798 |
+
* @param {Object} object The object to query.
|
2799 |
+
* @returns {Array} Returns the array of property names.
|
2800 |
+
*/
|
2801 |
+
function baseKeys(object) {
|
2802 |
+
if (!isPrototype(object)) {
|
2803 |
+
return nativeKeys(object);
|
2804 |
+
}
|
2805 |
+
var result = [];
|
2806 |
+
for (var key in Object(object)) {
|
2807 |
+
if (hasOwnProperty.call(object, key) && key != 'constructor') {
|
2808 |
+
result.push(key);
|
2809 |
+
}
|
2810 |
+
}
|
2811 |
+
return result;
|
2812 |
+
}
|
2813 |
+
|
2814 |
+
module.exports = baseKeys;
|
2815 |
+
|
2816 |
+
|
2817 |
+
/***/ }),
|
2818 |
+
|
2819 |
+
/***/ "./node_modules/lodash/_baseKeysIn.js":
|
2820 |
+
/*!********************************************!*\
|
2821 |
+
!*** ./node_modules/lodash/_baseKeysIn.js ***!
|
2822 |
+
\********************************************/
|
2823 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2824 |
+
|
2825 |
+
var isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js"),
|
2826 |
+
isPrototype = __webpack_require__(/*! ./_isPrototype */ "./node_modules/lodash/_isPrototype.js"),
|
2827 |
+
nativeKeysIn = __webpack_require__(/*! ./_nativeKeysIn */ "./node_modules/lodash/_nativeKeysIn.js");
|
2828 |
+
|
2829 |
+
/** Used for built-in method references. */
|
2830 |
+
var objectProto = Object.prototype;
|
2831 |
+
|
2832 |
+
/** Used to check objects for own properties. */
|
2833 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
2834 |
+
|
2835 |
+
/**
|
2836 |
+
* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
|
2837 |
+
*
|
2838 |
+
* @private
|
2839 |
+
* @param {Object} object The object to query.
|
2840 |
+
* @returns {Array} Returns the array of property names.
|
2841 |
+
*/
|
2842 |
+
function baseKeysIn(object) {
|
2843 |
+
if (!isObject(object)) {
|
2844 |
+
return nativeKeysIn(object);
|
2845 |
+
}
|
2846 |
+
var isProto = isPrototype(object),
|
2847 |
+
result = [];
|
2848 |
+
|
2849 |
+
for (var key in object) {
|
2850 |
+
if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
|
2851 |
+
result.push(key);
|
2852 |
+
}
|
2853 |
+
}
|
2854 |
+
return result;
|
2855 |
+
}
|
2856 |
+
|
2857 |
+
module.exports = baseKeysIn;
|
2858 |
+
|
2859 |
+
|
2860 |
+
/***/ }),
|
2861 |
+
|
2862 |
+
/***/ "./node_modules/lodash/_baseMap.js":
|
2863 |
+
/*!*****************************************!*\
|
2864 |
+
!*** ./node_modules/lodash/_baseMap.js ***!
|
2865 |
+
\*****************************************/
|
2866 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2867 |
+
|
2868 |
+
var baseEach = __webpack_require__(/*! ./_baseEach */ "./node_modules/lodash/_baseEach.js"),
|
2869 |
+
isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./node_modules/lodash/isArrayLike.js");
|
2870 |
+
|
2871 |
+
/**
|
2872 |
+
* The base implementation of `_.map` without support for iteratee shorthands.
|
2873 |
+
*
|
2874 |
+
* @private
|
2875 |
+
* @param {Array|Object} collection The collection to iterate over.
|
2876 |
+
* @param {Function} iteratee The function invoked per iteration.
|
2877 |
+
* @returns {Array} Returns the new mapped array.
|
2878 |
+
*/
|
2879 |
+
function baseMap(collection, iteratee) {
|
2880 |
+
var index = -1,
|
2881 |
+
result = isArrayLike(collection) ? Array(collection.length) : [];
|
2882 |
+
|
2883 |
+
baseEach(collection, function(value, key, collection) {
|
2884 |
+
result[++index] = iteratee(value, key, collection);
|
2885 |
+
});
|
2886 |
+
return result;
|
2887 |
+
}
|
2888 |
+
|
2889 |
+
module.exports = baseMap;
|
2890 |
+
|
2891 |
+
|
2892 |
+
/***/ }),
|
2893 |
+
|
2894 |
+
/***/ "./node_modules/lodash/_baseMatches.js":
|
2895 |
+
/*!*********************************************!*\
|
2896 |
+
!*** ./node_modules/lodash/_baseMatches.js ***!
|
2897 |
+
\*********************************************/
|
2898 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2899 |
+
|
2900 |
+
var baseIsMatch = __webpack_require__(/*! ./_baseIsMatch */ "./node_modules/lodash/_baseIsMatch.js"),
|
2901 |
+
getMatchData = __webpack_require__(/*! ./_getMatchData */ "./node_modules/lodash/_getMatchData.js"),
|
2902 |
+
matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ "./node_modules/lodash/_matchesStrictComparable.js");
|
2903 |
+
|
2904 |
+
/**
|
2905 |
+
* The base implementation of `_.matches` which doesn't clone `source`.
|
2906 |
+
*
|
2907 |
+
* @private
|
2908 |
+
* @param {Object} source The object of property values to match.
|
2909 |
+
* @returns {Function} Returns the new spec function.
|
2910 |
+
*/
|
2911 |
+
function baseMatches(source) {
|
2912 |
+
var matchData = getMatchData(source);
|
2913 |
+
if (matchData.length == 1 && matchData[0][2]) {
|
2914 |
+
return matchesStrictComparable(matchData[0][0], matchData[0][1]);
|
2915 |
+
}
|
2916 |
+
return function(object) {
|
2917 |
+
return object === source || baseIsMatch(object, source, matchData);
|
2918 |
+
};
|
2919 |
+
}
|
2920 |
+
|
2921 |
+
module.exports = baseMatches;
|
2922 |
+
|
2923 |
+
|
2924 |
+
/***/ }),
|
2925 |
+
|
2926 |
+
/***/ "./node_modules/lodash/_baseMatchesProperty.js":
|
2927 |
+
/*!*****************************************************!*\
|
2928 |
+
!*** ./node_modules/lodash/_baseMatchesProperty.js ***!
|
2929 |
+
\*****************************************************/
|
2930 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2931 |
+
|
2932 |
+
var baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ "./node_modules/lodash/_baseIsEqual.js"),
|
2933 |
+
get = __webpack_require__(/*! ./get */ "./node_modules/lodash/get.js"),
|
2934 |
+
hasIn = __webpack_require__(/*! ./hasIn */ "./node_modules/lodash/hasIn.js"),
|
2935 |
+
isKey = __webpack_require__(/*! ./_isKey */ "./node_modules/lodash/_isKey.js"),
|
2936 |
+
isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ "./node_modules/lodash/_isStrictComparable.js"),
|
2937 |
+
matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ "./node_modules/lodash/_matchesStrictComparable.js"),
|
2938 |
+
toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
|
2939 |
+
|
2940 |
+
/** Used to compose bitmasks for value comparisons. */
|
2941 |
+
var COMPARE_PARTIAL_FLAG = 1,
|
2942 |
+
COMPARE_UNORDERED_FLAG = 2;
|
2943 |
+
|
2944 |
+
/**
|
2945 |
+
* The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
|
2946 |
+
*
|
2947 |
+
* @private
|
2948 |
+
* @param {string} path The path of the property to get.
|
2949 |
+
* @param {*} srcValue The value to match.
|
2950 |
+
* @returns {Function} Returns the new spec function.
|
2951 |
+
*/
|
2952 |
+
function baseMatchesProperty(path, srcValue) {
|
2953 |
+
if (isKey(path) && isStrictComparable(srcValue)) {
|
2954 |
+
return matchesStrictComparable(toKey(path), srcValue);
|
2955 |
+
}
|
2956 |
+
return function(object) {
|
2957 |
+
var objValue = get(object, path);
|
2958 |
+
return (objValue === undefined && objValue === srcValue)
|
2959 |
+
? hasIn(object, path)
|
2960 |
+
: baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
2961 |
+
};
|
2962 |
+
}
|
2963 |
+
|
2964 |
+
module.exports = baseMatchesProperty;
|
2965 |
+
|
2966 |
+
|
2967 |
+
/***/ }),
|
2968 |
+
|
2969 |
+
/***/ "./node_modules/lodash/_baseProperty.js":
|
2970 |
+
/*!**********************************************!*\
|
2971 |
+
!*** ./node_modules/lodash/_baseProperty.js ***!
|
2972 |
+
\**********************************************/
|
2973 |
+
/***/ (function(module) {
|
2974 |
+
|
2975 |
+
/**
|
2976 |
+
* The base implementation of `_.property` without support for deep paths.
|
2977 |
+
*
|
2978 |
+
* @private
|
2979 |
+
* @param {string} key The key of the property to get.
|
2980 |
+
* @returns {Function} Returns the new accessor function.
|
2981 |
+
*/
|
2982 |
+
function baseProperty(key) {
|
2983 |
+
return function(object) {
|
2984 |
+
return object == null ? undefined : object[key];
|
2985 |
+
};
|
2986 |
+
}
|
2987 |
+
|
2988 |
+
module.exports = baseProperty;
|
2989 |
+
|
2990 |
+
|
2991 |
+
/***/ }),
|
2992 |
+
|
2993 |
+
/***/ "./node_modules/lodash/_basePropertyDeep.js":
|
2994 |
+
/*!**************************************************!*\
|
2995 |
+
!*** ./node_modules/lodash/_basePropertyDeep.js ***!
|
2996 |
+
\**************************************************/
|
2997 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2998 |
+
|
2999 |
+
var baseGet = __webpack_require__(/*! ./_baseGet */ "./node_modules/lodash/_baseGet.js");
|
3000 |
+
|
3001 |
+
/**
|
3002 |
+
* A specialized version of `baseProperty` which supports deep paths.
|
3003 |
+
*
|
3004 |
+
* @private
|
3005 |
+
* @param {Array|string} path The path of the property to get.
|
3006 |
+
* @returns {Function} Returns the new accessor function.
|
3007 |
+
*/
|
3008 |
+
function basePropertyDeep(path) {
|
3009 |
+
return function(object) {
|
3010 |
+
return baseGet(object, path);
|
3011 |
+
};
|
3012 |
+
}
|
3013 |
+
|
3014 |
+
module.exports = basePropertyDeep;
|
3015 |
+
|
3016 |
+
|
3017 |
+
/***/ }),
|
3018 |
+
|
3019 |
+
/***/ "./node_modules/lodash/_baseTimes.js":
|
3020 |
+
/*!*******************************************!*\
|
3021 |
+
!*** ./node_modules/lodash/_baseTimes.js ***!
|
3022 |
+
\*******************************************/
|
3023 |
+
/***/ (function(module) {
|
3024 |
+
|
3025 |
+
/**
|
3026 |
+
* The base implementation of `_.times` without support for iteratee shorthands
|
3027 |
+
* or max array length checks.
|
3028 |
+
*
|
3029 |
+
* @private
|
3030 |
+
* @param {number} n The number of times to invoke `iteratee`.
|
3031 |
+
* @param {Function} iteratee The function invoked per iteration.
|
3032 |
+
* @returns {Array} Returns the array of results.
|
3033 |
+
*/
|
3034 |
+
function baseTimes(n, iteratee) {
|
3035 |
+
var index = -1,
|
3036 |
+
result = Array(n);
|
3037 |
+
|
3038 |
+
while (++index < n) {
|
3039 |
+
result[index] = iteratee(index);
|
3040 |
+
}
|
3041 |
+
return result;
|
3042 |
+
}
|
3043 |
+
|
3044 |
+
module.exports = baseTimes;
|
3045 |
+
|
3046 |
+
|
3047 |
+
/***/ }),
|
3048 |
+
|
3049 |
+
/***/ "./node_modules/lodash/_baseToString.js":
|
3050 |
+
/*!**********************************************!*\
|
3051 |
+
!*** ./node_modules/lodash/_baseToString.js ***!
|
3052 |
+
\**********************************************/
|
3053 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3054 |
+
|
3055 |
+
var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js"),
|
3056 |
+
arrayMap = __webpack_require__(/*! ./_arrayMap */ "./node_modules/lodash/_arrayMap.js"),
|
3057 |
+
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
3058 |
+
isSymbol = __webpack_require__(/*! ./isSymbol */ "./node_modules/lodash/isSymbol.js");
|
3059 |
+
|
3060 |
+
/** Used as references for various `Number` constants. */
|
3061 |
+
var INFINITY = 1 / 0;
|
3062 |
+
|
3063 |
+
/** Used to convert symbols to primitives and strings. */
|
3064 |
+
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
3065 |
+
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
3066 |
+
|
3067 |
+
/**
|
3068 |
+
* The base implementation of `_.toString` which doesn't convert nullish
|
3069 |
+
* values to empty strings.
|
3070 |
+
*
|
3071 |
+
* @private
|
3072 |
+
* @param {*} value The value to process.
|
3073 |
+
* @returns {string} Returns the string.
|
3074 |
+
*/
|
3075 |
+
function baseToString(value) {
|
3076 |
+
// Exit early for strings to avoid a performance hit in some environments.
|
3077 |
+
if (typeof value == 'string') {
|
3078 |
+
return value;
|
3079 |
+
}
|
3080 |
+
if (isArray(value)) {
|
3081 |
+
// Recursively convert values (susceptible to call stack limits).
|
3082 |
+
return arrayMap(value, baseToString) + '';
|
3083 |
+
}
|
3084 |
+
if (isSymbol(value)) {
|
3085 |
+
return symbolToString ? symbolToString.call(value) : '';
|
3086 |
+
}
|
3087 |
+
var result = (value + '');
|
3088 |
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
3089 |
+
}
|
3090 |
+
|
3091 |
+
module.exports = baseToString;
|
3092 |
+
|
3093 |
+
|
3094 |
+
/***/ }),
|
3095 |
+
|
3096 |
+
/***/ "./node_modules/lodash/_baseUnary.js":
|
3097 |
+
/*!*******************************************!*\
|
3098 |
+
!*** ./node_modules/lodash/_baseUnary.js ***!
|
3099 |
+
\*******************************************/
|
3100 |
+
/***/ (function(module) {
|
3101 |
+
|
3102 |
+
/**
|
3103 |
+
* The base implementation of `_.unary` without support for storing metadata.
|
3104 |
+
*
|
3105 |
+
* @private
|
3106 |
+
* @param {Function} func The function to cap arguments for.
|
3107 |
+
* @returns {Function} Returns the new capped function.
|
3108 |
+
*/
|
3109 |
+
function baseUnary(func) {
|
3110 |
+
return function(value) {
|
3111 |
+
return func(value);
|
3112 |
+
};
|
3113 |
+
}
|
3114 |
+
|
3115 |
+
module.exports = baseUnary;
|
3116 |
+
|
3117 |
+
|
3118 |
+
/***/ }),
|
3119 |
+
|
3120 |
+
/***/ "./node_modules/lodash/_cacheHas.js":
|
3121 |
+
/*!******************************************!*\
|
3122 |
+
!*** ./node_modules/lodash/_cacheHas.js ***!
|
3123 |
+
\******************************************/
|
3124 |
+
/***/ (function(module) {
|
3125 |
+
|
3126 |
+
/**
|
3127 |
+
* Checks if a `cache` value for `key` exists.
|
3128 |
+
*
|
3129 |
+
* @private
|
3130 |
+
* @param {Object} cache The cache to query.
|
3131 |
+
* @param {string} key The key of the entry to check.
|
3132 |
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
3133 |
+
*/
|
3134 |
+
function cacheHas(cache, key) {
|
3135 |
+
return cache.has(key);
|
3136 |
+
}
|
3137 |
+
|
3138 |
+
module.exports = cacheHas;
|
3139 |
+
|
3140 |
+
|
3141 |
+
/***/ }),
|
3142 |
+
|
3143 |
+
/***/ "./node_modules/lodash/_castFunction.js":
|
3144 |
+
/*!**********************************************!*\
|
3145 |
+
!*** ./node_modules/lodash/_castFunction.js ***!
|
3146 |
+
\**********************************************/
|
3147 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3148 |
+
|
3149 |
+
var identity = __webpack_require__(/*! ./identity */ "./node_modules/lodash/identity.js");
|
3150 |
+
|
3151 |
+
/**
|
3152 |
+
* Casts `value` to `identity` if it's not a function.
|
3153 |
+
*
|
3154 |
+
* @private
|
3155 |
+
* @param {*} value The value to inspect.
|
3156 |
+
* @returns {Function} Returns cast function.
|
3157 |
+
*/
|
3158 |
+
function castFunction(value) {
|
3159 |
+
return typeof value == 'function' ? value : identity;
|
3160 |
+
}
|
3161 |
+
|
3162 |
+
module.exports = castFunction;
|
3163 |
+
|
3164 |
+
|
3165 |
+
/***/ }),
|
3166 |
+
|
3167 |
+
/***/ "./node_modules/lodash/_castPath.js":
|
3168 |
+
/*!******************************************!*\
|
3169 |
+
!*** ./node_modules/lodash/_castPath.js ***!
|
3170 |
+
\******************************************/
|
3171 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3172 |
+
|
3173 |
+
var isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
3174 |
+
isKey = __webpack_require__(/*! ./_isKey */ "./node_modules/lodash/_isKey.js"),
|
3175 |
+
stringToPath = __webpack_require__(/*! ./_stringToPath */ "./node_modules/lodash/_stringToPath.js"),
|
3176 |
+
toString = __webpack_require__(/*! ./toString */ "./node_modules/lodash/toString.js");
|
3177 |
+
|
3178 |
+
/**
|
3179 |
+
* Casts `value` to a path array if it's not one.
|
3180 |
+
*
|
3181 |
+
* @private
|
3182 |
+
* @param {*} value The value to inspect.
|
3183 |
+
* @param {Object} [object] The object to query keys on.
|
3184 |
+
* @returns {Array} Returns the cast property path array.
|
3185 |
+
*/
|
3186 |
+
function castPath(value, object) {
|
3187 |
+
if (isArray(value)) {
|
3188 |
+
return value;
|
3189 |
+
}
|
3190 |
+
return isKey(value, object) ? [value] : stringToPath(toString(value));
|
3191 |
+
}
|
3192 |
+
|
3193 |
+
module.exports = castPath;
|
3194 |
+
|
3195 |
+
|
3196 |
+
/***/ }),
|
3197 |
+
|
3198 |
+
/***/ "./node_modules/lodash/_cloneArrayBuffer.js":
|
3199 |
+
/*!**************************************************!*\
|
3200 |
+
!*** ./node_modules/lodash/_cloneArrayBuffer.js ***!
|
3201 |
+
\**************************************************/
|
3202 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3203 |
+
|
3204 |
+
var Uint8Array = __webpack_require__(/*! ./_Uint8Array */ "./node_modules/lodash/_Uint8Array.js");
|
3205 |
+
|
3206 |
+
/**
|
3207 |
+
* Creates a clone of `arrayBuffer`.
|
3208 |
+
*
|
3209 |
+
* @private
|
3210 |
+
* @param {ArrayBuffer} arrayBuffer The array buffer to clone.
|
3211 |
+
* @returns {ArrayBuffer} Returns the cloned array buffer.
|
3212 |
+
*/
|
3213 |
+
function cloneArrayBuffer(arrayBuffer) {
|
3214 |
+
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
3215 |
+
new Uint8Array(result).set(new Uint8Array(arrayBuffer));
|
3216 |
+
return result;
|
3217 |
+
}
|
3218 |
+
|
3219 |
+
module.exports = cloneArrayBuffer;
|
3220 |
+
|
3221 |
+
|
3222 |
+
/***/ }),
|
3223 |
+
|
3224 |
+
/***/ "./node_modules/lodash/_cloneBuffer.js":
|
3225 |
+
/*!*********************************************!*\
|
3226 |
+
!*** ./node_modules/lodash/_cloneBuffer.js ***!
|
3227 |
+
\*********************************************/
|
3228 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3229 |
+
|
3230 |
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
3231 |
+
var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
3232 |
+
|
3233 |
+
/** Detect free variable `exports`. */
|
3234 |
+
var freeExports = true && exports && !exports.nodeType && exports;
|
3235 |
+
|
3236 |
+
/** Detect free variable `module`. */
|
3237 |
+
var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
|
3238 |
+
|
3239 |
+
/** Detect the popular CommonJS extension `module.exports`. */
|
3240 |
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
3241 |
+
|
3242 |
+
/** Built-in value references. */
|
3243 |
+
var Buffer = moduleExports ? root.Buffer : undefined,
|
3244 |
+
allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
|
3245 |
+
|
3246 |
+
/**
|
3247 |
+
* Creates a clone of `buffer`.
|
3248 |
+
*
|
3249 |
+
* @private
|
3250 |
+
* @param {Buffer} buffer The buffer to clone.
|
3251 |
+
* @param {boolean} [isDeep] Specify a deep clone.
|
3252 |
+
* @returns {Buffer} Returns the cloned buffer.
|
3253 |
+
*/
|
3254 |
+
function cloneBuffer(buffer, isDeep) {
|
3255 |
+
if (isDeep) {
|
3256 |
+
return buffer.slice();
|
3257 |
+
}
|
3258 |
+
var length = buffer.length,
|
3259 |
+
result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
|
3260 |
+
|
3261 |
+
buffer.copy(result);
|
3262 |
+
return result;
|
3263 |
+
}
|
3264 |
+
|
3265 |
+
module.exports = cloneBuffer;
|
3266 |
+
|
3267 |
+
|
3268 |
+
/***/ }),
|
3269 |
+
|
3270 |
+
/***/ "./node_modules/lodash/_cloneDataView.js":
|
3271 |
+
/*!***********************************************!*\
|
3272 |
+
!*** ./node_modules/lodash/_cloneDataView.js ***!
|
3273 |
+
\***********************************************/
|
3274 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3275 |
+
|
3276 |
+
var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ "./node_modules/lodash/_cloneArrayBuffer.js");
|
3277 |
+
|
3278 |
+
/**
|
3279 |
+
* Creates a clone of `dataView`.
|
3280 |
+
*
|
3281 |
+
* @private
|
3282 |
+
* @param {Object} dataView The data view to clone.
|
3283 |
+
* @param {boolean} [isDeep] Specify a deep clone.
|
3284 |
+
* @returns {Object} Returns the cloned data view.
|
3285 |
+
*/
|
3286 |
+
function cloneDataView(dataView, isDeep) {
|
3287 |
+
var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
|
3288 |
+
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
|
3289 |
+
}
|
3290 |
+
|
3291 |
+
module.exports = cloneDataView;
|
3292 |
+
|
3293 |
+
|
3294 |
+
/***/ }),
|
3295 |
+
|
3296 |
+
/***/ "./node_modules/lodash/_cloneRegExp.js":
|
3297 |
+
/*!*********************************************!*\
|
3298 |
+
!*** ./node_modules/lodash/_cloneRegExp.js ***!
|
3299 |
+
\*********************************************/
|
3300 |
+
/***/ (function(module) {
|
3301 |
+
|
3302 |
+
/** Used to match `RegExp` flags from their coerced string values. */
|
3303 |
+
var reFlags = /\w*$/;
|
3304 |
+
|
3305 |
+
/**
|
3306 |
+
* Creates a clone of `regexp`.
|
3307 |
+
*
|
3308 |
+
* @private
|
3309 |
+
* @param {Object} regexp The regexp to clone.
|
3310 |
+
* @returns {Object} Returns the cloned regexp.
|
3311 |
+
*/
|
3312 |
+
function cloneRegExp(regexp) {
|
3313 |
+
var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
|
3314 |
+
result.lastIndex = regexp.lastIndex;
|
3315 |
+
return result;
|
3316 |
+
}
|
3317 |
+
|
3318 |
+
module.exports = cloneRegExp;
|
3319 |
+
|
3320 |
+
|
3321 |
+
/***/ }),
|
3322 |
+
|
3323 |
+
/***/ "./node_modules/lodash/_cloneSymbol.js":
|
3324 |
+
/*!*********************************************!*\
|
3325 |
+
!*** ./node_modules/lodash/_cloneSymbol.js ***!
|
3326 |
+
\*********************************************/
|
3327 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3328 |
+
|
3329 |
+
var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js");
|
3330 |
+
|
3331 |
+
/** Used to convert symbols to primitives and strings. */
|
3332 |
+
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
3333 |
+
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
3334 |
+
|
3335 |
+
/**
|
3336 |
+
* Creates a clone of the `symbol` object.
|
3337 |
+
*
|
3338 |
+
* @private
|
3339 |
+
* @param {Object} symbol The symbol object to clone.
|
3340 |
+
* @returns {Object} Returns the cloned symbol object.
|
3341 |
+
*/
|
3342 |
+
function cloneSymbol(symbol) {
|
3343 |
+
return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
|
3344 |
+
}
|
3345 |
+
|
3346 |
+
module.exports = cloneSymbol;
|
3347 |
+
|
3348 |
+
|
3349 |
+
/***/ }),
|
3350 |
+
|
3351 |
+
/***/ "./node_modules/lodash/_cloneTypedArray.js":
|
3352 |
+
/*!*************************************************!*\
|
3353 |
+
!*** ./node_modules/lodash/_cloneTypedArray.js ***!
|
3354 |
+
\*************************************************/
|
3355 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3356 |
+
|
3357 |
+
var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ "./node_modules/lodash/_cloneArrayBuffer.js");
|
3358 |
+
|
3359 |
+
/**
|
3360 |
+
* Creates a clone of `typedArray`.
|
3361 |
+
*
|
3362 |
+
* @private
|
3363 |
+
* @param {Object} typedArray The typed array to clone.
|
3364 |
+
* @param {boolean} [isDeep] Specify a deep clone.
|
3365 |
+
* @returns {Object} Returns the cloned typed array.
|
3366 |
+
*/
|
3367 |
+
function cloneTypedArray(typedArray, isDeep) {
|
3368 |
+
var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
|
3369 |
+
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
3370 |
+
}
|
3371 |
+
|
3372 |
+
module.exports = cloneTypedArray;
|
3373 |
+
|
3374 |
+
|
3375 |
+
/***/ }),
|
3376 |
+
|
3377 |
+
/***/ "./node_modules/lodash/_copyArray.js":
|
3378 |
+
/*!*******************************************!*\
|
3379 |
+
!*** ./node_modules/lodash/_copyArray.js ***!
|
3380 |
+
\*******************************************/
|
3381 |
+
/***/ (function(module) {
|
3382 |
+
|
3383 |
+
/**
|
3384 |
+
* Copies the values of `source` to `array`.
|
3385 |
+
*
|
3386 |
+
* @private
|
3387 |
+
* @param {Array} source The array to copy values from.
|
3388 |
+
* @param {Array} [array=[]] The array to copy values to.
|
3389 |
+
* @returns {Array} Returns `array`.
|
3390 |
+
*/
|
3391 |
+
function copyArray(source, array) {
|
3392 |
+
var index = -1,
|
3393 |
+
length = source.length;
|
3394 |
+
|
3395 |
+
array || (array = Array(length));
|
3396 |
+
while (++index < length) {
|
3397 |
+
array[index] = source[index];
|
3398 |
+
}
|
3399 |
+
return array;
|
3400 |
+
}
|
3401 |
+
|
3402 |
+
module.exports = copyArray;
|
3403 |
+
|
3404 |
+
|
3405 |
+
/***/ }),
|
3406 |
+
|
3407 |
+
/***/ "./node_modules/lodash/_copyObject.js":
|
3408 |
+
/*!********************************************!*\
|
3409 |
+
!*** ./node_modules/lodash/_copyObject.js ***!
|
3410 |
+
\********************************************/
|
3411 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3412 |
+
|
3413 |
+
var assignValue = __webpack_require__(/*! ./_assignValue */ "./node_modules/lodash/_assignValue.js"),
|
3414 |
+
baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ "./node_modules/lodash/_baseAssignValue.js");
|
3415 |
+
|
3416 |
+
/**
|
3417 |
+
* Copies properties of `source` to `object`.
|
3418 |
+
*
|
3419 |
+
* @private
|
3420 |
+
* @param {Object} source The object to copy properties from.
|
3421 |
+
* @param {Array} props The property identifiers to copy.
|
3422 |
+
* @param {Object} [object={}] The object to copy properties to.
|
3423 |
+
* @param {Function} [customizer] The function to customize copied values.
|
3424 |
+
* @returns {Object} Returns `object`.
|
3425 |
+
*/
|
3426 |
+
function copyObject(source, props, object, customizer) {
|
3427 |
+
var isNew = !object;
|
3428 |
+
object || (object = {});
|
3429 |
+
|
3430 |
+
var index = -1,
|
3431 |
+
length = props.length;
|
3432 |
+
|
3433 |
+
while (++index < length) {
|
3434 |
+
var key = props[index];
|
3435 |
+
|
3436 |
+
var newValue = customizer
|
3437 |
+
? customizer(object[key], source[key], key, object, source)
|
3438 |
+
: undefined;
|
3439 |
+
|
3440 |
+
if (newValue === undefined) {
|
3441 |
+
newValue = source[key];
|
3442 |
+
}
|
3443 |
+
if (isNew) {
|
3444 |
+
baseAssignValue(object, key, newValue);
|
3445 |
+
} else {
|
3446 |
+
assignValue(object, key, newValue);
|
3447 |
+
}
|
3448 |
+
}
|
3449 |
+
return object;
|
3450 |
+
}
|
3451 |
+
|
3452 |
+
module.exports = copyObject;
|
3453 |
+
|
3454 |
+
|
3455 |
+
/***/ }),
|
3456 |
+
|
3457 |
+
/***/ "./node_modules/lodash/_copySymbols.js":
|
3458 |
+
/*!*********************************************!*\
|
3459 |
+
!*** ./node_modules/lodash/_copySymbols.js ***!
|
3460 |
+
\*********************************************/
|
3461 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3462 |
+
|
3463 |
+
var copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
|
3464 |
+
getSymbols = __webpack_require__(/*! ./_getSymbols */ "./node_modules/lodash/_getSymbols.js");
|
3465 |
+
|
3466 |
+
/**
|
3467 |
+
* Copies own symbols of `source` to `object`.
|
3468 |
+
*
|
3469 |
+
* @private
|
3470 |
+
* @param {Object} source The object to copy symbols from.
|
3471 |
+
* @param {Object} [object={}] The object to copy symbols to.
|
3472 |
+
* @returns {Object} Returns `object`.
|
3473 |
+
*/
|
3474 |
+
function copySymbols(source, object) {
|
3475 |
+
return copyObject(source, getSymbols(source), object);
|
3476 |
+
}
|
3477 |
+
|
3478 |
+
module.exports = copySymbols;
|
3479 |
+
|
3480 |
+
|
3481 |
+
/***/ }),
|
3482 |
+
|
3483 |
+
/***/ "./node_modules/lodash/_copySymbolsIn.js":
|
3484 |
+
/*!***********************************************!*\
|
3485 |
+
!*** ./node_modules/lodash/_copySymbolsIn.js ***!
|
3486 |
+
\***********************************************/
|
3487 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3488 |
+
|
3489 |
+
var copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
|
3490 |
+
getSymbolsIn = __webpack_require__(/*! ./_getSymbolsIn */ "./node_modules/lodash/_getSymbolsIn.js");
|
3491 |
+
|
3492 |
+
/**
|
3493 |
+
* Copies own and inherited symbols of `source` to `object`.
|
3494 |
+
*
|
3495 |
+
* @private
|
3496 |
+
* @param {Object} source The object to copy symbols from.
|
3497 |
+
* @param {Object} [object={}] The object to copy symbols to.
|
3498 |
+
* @returns {Object} Returns `object`.
|
3499 |
+
*/
|
3500 |
+
function copySymbolsIn(source, object) {
|
3501 |
+
return copyObject(source, getSymbolsIn(source), object);
|
3502 |
+
}
|
3503 |
+
|
3504 |
+
module.exports = copySymbolsIn;
|
3505 |
+
|
3506 |
+
|
3507 |
+
/***/ }),
|
3508 |
+
|
3509 |
+
/***/ "./node_modules/lodash/_coreJsData.js":
|
3510 |
+
/*!********************************************!*\
|
3511 |
+
!*** ./node_modules/lodash/_coreJsData.js ***!
|
3512 |
+
\********************************************/
|
3513 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3514 |
+
|
3515 |
+
var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
3516 |
+
|
3517 |
+
/** Used to detect overreaching core-js shims. */
|
3518 |
+
var coreJsData = root['__core-js_shared__'];
|
3519 |
+
|
3520 |
+
module.exports = coreJsData;
|
3521 |
+
|
3522 |
+
|
3523 |
+
/***/ }),
|
3524 |
+
|
3525 |
+
/***/ "./node_modules/lodash/_createBaseEach.js":
|
3526 |
+
/*!************************************************!*\
|
3527 |
+
!*** ./node_modules/lodash/_createBaseEach.js ***!
|
3528 |
+
\************************************************/
|
3529 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3530 |
+
|
3531 |
+
var isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./node_modules/lodash/isArrayLike.js");
|
3532 |
+
|
3533 |
+
/**
|
3534 |
+
* Creates a `baseEach` or `baseEachRight` function.
|
3535 |
+
*
|
3536 |
+
* @private
|
3537 |
+
* @param {Function} eachFunc The function to iterate over a collection.
|
3538 |
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
3539 |
+
* @returns {Function} Returns the new base function.
|
3540 |
+
*/
|
3541 |
+
function createBaseEach(eachFunc, fromRight) {
|
3542 |
+
return function(collection, iteratee) {
|
3543 |
+
if (collection == null) {
|
3544 |
+
return collection;
|
3545 |
+
}
|
3546 |
+
if (!isArrayLike(collection)) {
|
3547 |
+
return eachFunc(collection, iteratee);
|
3548 |
+
}
|
3549 |
+
var length = collection.length,
|
3550 |
+
index = fromRight ? length : -1,
|
3551 |
+
iterable = Object(collection);
|
3552 |
+
|
3553 |
+
while ((fromRight ? index-- : ++index < length)) {
|
3554 |
+
if (iteratee(iterable[index], index, iterable) === false) {
|
3555 |
+
break;
|
3556 |
+
}
|
3557 |
+
}
|
3558 |
+
return collection;
|
3559 |
+
};
|
3560 |
+
}
|
3561 |
+
|
3562 |
+
module.exports = createBaseEach;
|
3563 |
+
|
3564 |
+
|
3565 |
+
/***/ }),
|
3566 |
+
|
3567 |
+
/***/ "./node_modules/lodash/_createBaseFor.js":
|
3568 |
+
/*!***********************************************!*\
|
3569 |
+
!*** ./node_modules/lodash/_createBaseFor.js ***!
|
3570 |
+
\***********************************************/
|
3571 |
+
/***/ (function(module) {
|
3572 |
+
|
3573 |
+
/**
|
3574 |
+
* Creates a base function for methods like `_.forIn` and `_.forOwn`.
|
3575 |
+
*
|
3576 |
+
* @private
|
3577 |
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
3578 |
+
* @returns {Function} Returns the new base function.
|
3579 |
+
*/
|
3580 |
+
function createBaseFor(fromRight) {
|
3581 |
+
return function(object, iteratee, keysFunc) {
|
3582 |
+
var index = -1,
|
3583 |
+
iterable = Object(object),
|
3584 |
+
props = keysFunc(object),
|
3585 |
+
length = props.length;
|
3586 |
+
|
3587 |
+
while (length--) {
|
3588 |
+
var key = props[fromRight ? length : ++index];
|
3589 |
+
if (iteratee(iterable[key], key, iterable) === false) {
|
3590 |
+
break;
|
3591 |
+
}
|
3592 |
+
}
|
3593 |
+
return object;
|
3594 |
+
};
|
3595 |
+
}
|
3596 |
+
|
3597 |
+
module.exports = createBaseFor;
|
3598 |
+
|
3599 |
+
|
3600 |
+
/***/ }),
|
3601 |
+
|
3602 |
+
/***/ "./node_modules/lodash/_defineProperty.js":
|
3603 |
+
/*!************************************************!*\
|
3604 |
+
!*** ./node_modules/lodash/_defineProperty.js ***!
|
3605 |
+
\************************************************/
|
3606 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3607 |
+
|
3608 |
+
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js");
|
3609 |
+
|
3610 |
+
var defineProperty = (function() {
|
3611 |
+
try {
|
3612 |
+
var func = getNative(Object, 'defineProperty');
|
3613 |
+
func({}, '', {});
|
3614 |
+
return func;
|
3615 |
+
} catch (e) {}
|
3616 |
+
}());
|
3617 |
+
|
3618 |
+
module.exports = defineProperty;
|
3619 |
+
|
3620 |
+
|
3621 |
+
/***/ }),
|
3622 |
+
|
3623 |
+
/***/ "./node_modules/lodash/_equalArrays.js":
|
3624 |
+
/*!*********************************************!*\
|
3625 |
+
!*** ./node_modules/lodash/_equalArrays.js ***!
|
3626 |
+
\*********************************************/
|
3627 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3628 |
+
|
3629 |
+
var SetCache = __webpack_require__(/*! ./_SetCache */ "./node_modules/lodash/_SetCache.js"),
|
3630 |
+
arraySome = __webpack_require__(/*! ./_arraySome */ "./node_modules/lodash/_arraySome.js"),
|
3631 |
+
cacheHas = __webpack_require__(/*! ./_cacheHas */ "./node_modules/lodash/_cacheHas.js");
|
3632 |
+
|
3633 |
+
/** Used to compose bitmasks for value comparisons. */
|
3634 |
+
var COMPARE_PARTIAL_FLAG = 1,
|
3635 |
+
COMPARE_UNORDERED_FLAG = 2;
|
3636 |
+
|
3637 |
+
/**
|
3638 |
+
* A specialized version of `baseIsEqualDeep` for arrays with support for
|
3639 |
+
* partial deep comparisons.
|
3640 |
+
*
|
3641 |
+
* @private
|
3642 |
+
* @param {Array} array The array to compare.
|
3643 |
+
* @param {Array} other The other array to compare.
|
3644 |
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
3645 |
+
* @param {Function} customizer The function to customize comparisons.
|
3646 |
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
3647 |
+
* @param {Object} stack Tracks traversed `array` and `other` objects.
|
3648 |
+
* @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
|
3649 |
+
*/
|
3650 |
+
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
3651 |
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
|
3652 |
+
arrLength = array.length,
|
3653 |
+
othLength = other.length;
|
3654 |
+
|
3655 |
+
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
3656 |
+
return false;
|
3657 |
+
}
|
3658 |
+
// Check that cyclic values are equal.
|
3659 |
+
var arrStacked = stack.get(array);
|
3660 |
+
var othStacked = stack.get(other);
|
3661 |
+
if (arrStacked && othStacked) {
|
3662 |
+
return arrStacked == other && othStacked == array;
|
3663 |
+
}
|
3664 |
+
var index = -1,
|
3665 |
+
result = true,
|
3666 |
+
seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;
|
3667 |
+
|
3668 |
+
stack.set(array, other);
|
3669 |
+
stack.set(other, array);
|
3670 |
+
|
3671 |
+
// Ignore non-index properties.
|
3672 |
+
while (++index < arrLength) {
|
3673 |
+
var arrValue = array[index],
|
3674 |
+
othValue = other[index];
|
3675 |
+
|
3676 |
+
if (customizer) {
|
3677 |
+
var compared = isPartial
|
3678 |
+
? customizer(othValue, arrValue, index, other, array, stack)
|
3679 |
+
: customizer(arrValue, othValue, index, array, other, stack);
|
3680 |
+
}
|
3681 |
+
if (compared !== undefined) {
|
3682 |
+
if (compared) {
|
3683 |
+
continue;
|
3684 |
+
}
|
3685 |
+
result = false;
|
3686 |
+
break;
|
3687 |
+
}
|
3688 |
+
// Recursively compare arrays (susceptible to call stack limits).
|
3689 |
+
if (seen) {
|
3690 |
+
if (!arraySome(other, function(othValue, othIndex) {
|
3691 |
+
if (!cacheHas(seen, othIndex) &&
|
3692 |
+
(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
|
3693 |
+
return seen.push(othIndex);
|
3694 |
+
}
|
3695 |
+
})) {
|
3696 |
+
result = false;
|
3697 |
+
break;
|
3698 |
+
}
|
3699 |
+
} else if (!(
|
3700 |
+
arrValue === othValue ||
|
3701 |
+
equalFunc(arrValue, othValue, bitmask, customizer, stack)
|
3702 |
+
)) {
|
3703 |
+
result = false;
|
3704 |
+
break;
|
3705 |
+
}
|
3706 |
+
}
|
3707 |
+
stack['delete'](array);
|
3708 |
+
stack['delete'](other);
|
3709 |
+
return result;
|
3710 |
+
}
|
3711 |
+
|
3712 |
+
module.exports = equalArrays;
|
3713 |
+
|
3714 |
+
|
3715 |
+
/***/ }),
|
3716 |
+
|
3717 |
+
/***/ "./node_modules/lodash/_equalByTag.js":
|
3718 |
+
/*!********************************************!*\
|
3719 |
+
!*** ./node_modules/lodash/_equalByTag.js ***!
|
3720 |
+
\********************************************/
|
3721 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3722 |
+
|
3723 |
+
var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js"),
|
3724 |
+
Uint8Array = __webpack_require__(/*! ./_Uint8Array */ "./node_modules/lodash/_Uint8Array.js"),
|
3725 |
+
eq = __webpack_require__(/*! ./eq */ "./node_modules/lodash/eq.js"),
|
3726 |
+
equalArrays = __webpack_require__(/*! ./_equalArrays */ "./node_modules/lodash/_equalArrays.js"),
|
3727 |
+
mapToArray = __webpack_require__(/*! ./_mapToArray */ "./node_modules/lodash/_mapToArray.js"),
|
3728 |
+
setToArray = __webpack_require__(/*! ./_setToArray */ "./node_modules/lodash/_setToArray.js");
|
3729 |
+
|
3730 |
+
/** Used to compose bitmasks for value comparisons. */
|
3731 |
+
var COMPARE_PARTIAL_FLAG = 1,
|
3732 |
+
COMPARE_UNORDERED_FLAG = 2;
|
3733 |
+
|
3734 |
+
/** `Object#toString` result references. */
|
3735 |
+
var boolTag = '[object Boolean]',
|
3736 |
+
dateTag = '[object Date]',
|
3737 |
+
errorTag = '[object Error]',
|
3738 |
+
mapTag = '[object Map]',
|
3739 |
+
numberTag = '[object Number]',
|
3740 |
+
regexpTag = '[object RegExp]',
|
3741 |
+
setTag = '[object Set]',
|
3742 |
+
stringTag = '[object String]',
|
3743 |
+
symbolTag = '[object Symbol]';
|
3744 |
+
|
3745 |
+
var arrayBufferTag = '[object ArrayBuffer]',
|
3746 |
+
dataViewTag = '[object DataView]';
|
3747 |
+
|
3748 |
+
/** Used to convert symbols to primitives and strings. */
|
3749 |
+
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
3750 |
+
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
3751 |
+
|
3752 |
+
/**
|
3753 |
+
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
3754 |
+
* the same `toStringTag`.
|
3755 |
+
*
|
3756 |
+
* **Note:** This function only supports comparing values with tags of
|
3757 |
+
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
|
3758 |
+
*
|
3759 |
+
* @private
|
3760 |
+
* @param {Object} object The object to compare.
|
3761 |
+
* @param {Object} other The other object to compare.
|
3762 |
+
* @param {string} tag The `toStringTag` of the objects to compare.
|
3763 |
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
3764 |
+
* @param {Function} customizer The function to customize comparisons.
|
3765 |
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
3766 |
+
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
3767 |
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
3768 |
+
*/
|
3769 |
+
function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
3770 |
+
switch (tag) {
|
3771 |
+
case dataViewTag:
|
3772 |
+
if ((object.byteLength != other.byteLength) ||
|
3773 |
+
(object.byteOffset != other.byteOffset)) {
|
3774 |
+
return false;
|
3775 |
+
}
|
3776 |
+
object = object.buffer;
|
3777 |
+
other = other.buffer;
|
3778 |
+
|
3779 |
+
case arrayBufferTag:
|
3780 |
+
if ((object.byteLength != other.byteLength) ||
|
3781 |
+
!equalFunc(new Uint8Array(object), new Uint8Array(other))) {
|
3782 |
+
return false;
|
3783 |
+
}
|
3784 |
+
return true;
|
3785 |
+
|
3786 |
+
case boolTag:
|
3787 |
+
case dateTag:
|
3788 |
+
case numberTag:
|
3789 |
+
// Coerce booleans to `1` or `0` and dates to milliseconds.
|
3790 |
+
// Invalid dates are coerced to `NaN`.
|
3791 |
+
return eq(+object, +other);
|
3792 |
+
|
3793 |
+
case errorTag:
|
3794 |
+
return object.name == other.name && object.message == other.message;
|
3795 |
+
|
3796 |
+
case regexpTag:
|
3797 |
+
case stringTag:
|
3798 |
+
// Coerce regexes to strings and treat strings, primitives and objects,
|
3799 |
+
// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
|
3800 |
+
// for more details.
|
3801 |
+
return object == (other + '');
|
3802 |
+
|
3803 |
+
case mapTag:
|
3804 |
+
var convert = mapToArray;
|
3805 |
+
|
3806 |
+
case setTag:
|
3807 |
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
|
3808 |
+
convert || (convert = setToArray);
|
3809 |
+
|
3810 |
+
if (object.size != other.size && !isPartial) {
|
3811 |
+
return false;
|
3812 |
+
}
|
3813 |
+
// Assume cyclic values are equal.
|
3814 |
+
var stacked = stack.get(object);
|
3815 |
+
if (stacked) {
|
3816 |
+
return stacked == other;
|
3817 |
+
}
|
3818 |
+
bitmask |= COMPARE_UNORDERED_FLAG;
|
3819 |
+
|
3820 |
+
// Recursively compare objects (susceptible to call stack limits).
|
3821 |
+
stack.set(object, other);
|
3822 |
+
var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
|
3823 |
+
stack['delete'](object);
|
3824 |
+
return result;
|
3825 |
+
|
3826 |
+
case symbolTag:
|
3827 |
+
if (symbolValueOf) {
|
3828 |
+
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
3829 |
+
}
|
3830 |
+
}
|
3831 |
+
return false;
|
3832 |
+
}
|
3833 |
+
|
3834 |
+
module.exports = equalByTag;
|
3835 |
+
|
3836 |
+
|
3837 |
+
/***/ }),
|
3838 |
+
|
3839 |
+
/***/ "./node_modules/lodash/_equalObjects.js":
|
3840 |
+
/*!**********************************************!*\
|
3841 |
+
!*** ./node_modules/lodash/_equalObjects.js ***!
|
3842 |
+
\**********************************************/
|
3843 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3844 |
+
|
3845 |
+
var getAllKeys = __webpack_require__(/*! ./_getAllKeys */ "./node_modules/lodash/_getAllKeys.js");
|
3846 |
+
|
3847 |
+
/** Used to compose bitmasks for value comparisons. */
|
3848 |
+
var COMPARE_PARTIAL_FLAG = 1;
|
3849 |
+
|
3850 |
+
/** Used for built-in method references. */
|
3851 |
+
var objectProto = Object.prototype;
|
3852 |
+
|
3853 |
+
/** Used to check objects for own properties. */
|
3854 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
3855 |
+
|
3856 |
+
/**
|
3857 |
+
* A specialized version of `baseIsEqualDeep` for objects with support for
|
3858 |
+
* partial deep comparisons.
|
3859 |
+
*
|
3860 |
+
* @private
|
3861 |
+
* @param {Object} object The object to compare.
|
3862 |
+
* @param {Object} other The other object to compare.
|
3863 |
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
3864 |
+
* @param {Function} customizer The function to customize comparisons.
|
3865 |
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
3866 |
+
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
3867 |
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
3868 |
+
*/
|
3869 |
+
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
3870 |
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
|
3871 |
+
objProps = getAllKeys(object),
|
3872 |
+
objLength = objProps.length,
|
3873 |
+
othProps = getAllKeys(other),
|
3874 |
+
othLength = othProps.length;
|
3875 |
+
|
3876 |
+
if (objLength != othLength && !isPartial) {
|
3877 |
+
return false;
|
3878 |
+
}
|
3879 |
+
var index = objLength;
|
3880 |
+
while (index--) {
|
3881 |
+
var key = objProps[index];
|
3882 |
+
if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
|
3883 |
+
return false;
|
3884 |
+
}
|
3885 |
+
}
|
3886 |
+
// Check that cyclic values are equal.
|
3887 |
+
var objStacked = stack.get(object);
|
3888 |
+
var othStacked = stack.get(other);
|
3889 |
+
if (objStacked && othStacked) {
|
3890 |
+
return objStacked == other && othStacked == object;
|
3891 |
+
}
|
3892 |
+
var result = true;
|
3893 |
+
stack.set(object, other);
|
3894 |
+
stack.set(other, object);
|
3895 |
+
|
3896 |
+
var skipCtor = isPartial;
|
3897 |
+
while (++index < objLength) {
|
3898 |
+
key = objProps[index];
|
3899 |
+
var objValue = object[key],
|
3900 |
+
othValue = other[key];
|
3901 |
+
|
3902 |
+
if (customizer) {
|
3903 |
+
var compared = isPartial
|
3904 |
+
? customizer(othValue, objValue, key, other, object, stack)
|
3905 |
+
: customizer(objValue, othValue, key, object, other, stack);
|
3906 |
+
}
|
3907 |
+
// Recursively compare objects (susceptible to call stack limits).
|
3908 |
+
if (!(compared === undefined
|
3909 |
+
? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
|
3910 |
+
: compared
|
3911 |
+
)) {
|
3912 |
+
result = false;
|
3913 |
+
break;
|
3914 |
+
}
|
3915 |
+
skipCtor || (skipCtor = key == 'constructor');
|
3916 |
+
}
|
3917 |
+
if (result && !skipCtor) {
|
3918 |
+
var objCtor = object.constructor,
|
3919 |
+
othCtor = other.constructor;
|
3920 |
+
|
3921 |
+
// Non `Object` object instances with different constructors are not equal.
|
3922 |
+
if (objCtor != othCtor &&
|
3923 |
+
('constructor' in object && 'constructor' in other) &&
|
3924 |
+
!(typeof objCtor == 'function' && objCtor instanceof objCtor &&
|
3925 |
+
typeof othCtor == 'function' && othCtor instanceof othCtor)) {
|
3926 |
+
result = false;
|
3927 |
+
}
|
3928 |
+
}
|
3929 |
+
stack['delete'](object);
|
3930 |
+
stack['delete'](other);
|
3931 |
+
return result;
|
3932 |
+
}
|
3933 |
+
|
3934 |
+
module.exports = equalObjects;
|
3935 |
+
|
3936 |
+
|
3937 |
+
/***/ }),
|
3938 |
+
|
3939 |
+
/***/ "./node_modules/lodash/_freeGlobal.js":
|
3940 |
+
/*!********************************************!*\
|
3941 |
+
!*** ./node_modules/lodash/_freeGlobal.js ***!
|
3942 |
+
\********************************************/
|
3943 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3944 |
+
|
3945 |
+
/** Detect free variable `global` from Node.js. */
|
3946 |
+
var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
|
3947 |
+
|
3948 |
+
module.exports = freeGlobal;
|
3949 |
+
|
3950 |
+
|
3951 |
+
/***/ }),
|
3952 |
+
|
3953 |
+
/***/ "./node_modules/lodash/_getAllKeys.js":
|
3954 |
+
/*!********************************************!*\
|
3955 |
+
!*** ./node_modules/lodash/_getAllKeys.js ***!
|
3956 |
+
\********************************************/
|
3957 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3958 |
+
|
3959 |
+
var baseGetAllKeys = __webpack_require__(/*! ./_baseGetAllKeys */ "./node_modules/lodash/_baseGetAllKeys.js"),
|
3960 |
+
getSymbols = __webpack_require__(/*! ./_getSymbols */ "./node_modules/lodash/_getSymbols.js"),
|
3961 |
+
keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js");
|
3962 |
+
|
3963 |
+
/**
|
3964 |
+
* Creates an array of own enumerable property names and symbols of `object`.
|
3965 |
+
*
|
3966 |
+
* @private
|
3967 |
+
* @param {Object} object The object to query.
|
3968 |
+
* @returns {Array} Returns the array of property names and symbols.
|
3969 |
+
*/
|
3970 |
+
function getAllKeys(object) {
|
3971 |
+
return baseGetAllKeys(object, keys, getSymbols);
|
3972 |
+
}
|
3973 |
+
|
3974 |
+
module.exports = getAllKeys;
|
3975 |
+
|
3976 |
+
|
3977 |
+
/***/ }),
|
3978 |
+
|
3979 |
+
/***/ "./node_modules/lodash/_getAllKeysIn.js":
|
3980 |
+
/*!**********************************************!*\
|
3981 |
+
!*** ./node_modules/lodash/_getAllKeysIn.js ***!
|
3982 |
+
\**********************************************/
|
3983 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3984 |
+
|
3985 |
+
var baseGetAllKeys = __webpack_require__(/*! ./_baseGetAllKeys */ "./node_modules/lodash/_baseGetAllKeys.js"),
|
3986 |
+
getSymbolsIn = __webpack_require__(/*! ./_getSymbolsIn */ "./node_modules/lodash/_getSymbolsIn.js"),
|
3987 |
+
keysIn = __webpack_require__(/*! ./keysIn */ "./node_modules/lodash/keysIn.js");
|
3988 |
+
|
3989 |
+
/**
|
3990 |
+
* Creates an array of own and inherited enumerable property names and
|
3991 |
+
* symbols of `object`.
|
3992 |
+
*
|
3993 |
+
* @private
|
3994 |
+
* @param {Object} object The object to query.
|
3995 |
+
* @returns {Array} Returns the array of property names and symbols.
|
3996 |
+
*/
|
3997 |
+
function getAllKeysIn(object) {
|
3998 |
+
return baseGetAllKeys(object, keysIn, getSymbolsIn);
|
3999 |
+
}
|
4000 |
+
|
4001 |
+
module.exports = getAllKeysIn;
|
4002 |
+
|
4003 |
+
|
4004 |
+
/***/ }),
|
4005 |
+
|
4006 |
+
/***/ "./node_modules/lodash/_getMapData.js":
|
4007 |
+
/*!********************************************!*\
|
4008 |
+
!*** ./node_modules/lodash/_getMapData.js ***!
|
4009 |
+
\********************************************/
|
4010 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4011 |
+
|
4012 |
+
var isKeyable = __webpack_require__(/*! ./_isKeyable */ "./node_modules/lodash/_isKeyable.js");
|
4013 |
+
|
4014 |
+
/**
|
4015 |
+
* Gets the data for `map`.
|
4016 |
+
*
|
4017 |
+
* @private
|
4018 |
+
* @param {Object} map The map to query.
|
4019 |
+
* @param {string} key The reference key.
|
4020 |
+
* @returns {*} Returns the map data.
|
4021 |
+
*/
|
4022 |
+
function getMapData(map, key) {
|
4023 |
+
var data = map.__data__;
|
4024 |
+
return isKeyable(key)
|
4025 |
+
? data[typeof key == 'string' ? 'string' : 'hash']
|
4026 |
+
: data.map;
|
4027 |
+
}
|
4028 |
+
|
4029 |
+
module.exports = getMapData;
|
4030 |
+
|
4031 |
+
|
4032 |
+
/***/ }),
|
4033 |
+
|
4034 |
+
/***/ "./node_modules/lodash/_getMatchData.js":
|
4035 |
+
/*!**********************************************!*\
|
4036 |
+
!*** ./node_modules/lodash/_getMatchData.js ***!
|
4037 |
+
\**********************************************/
|
4038 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4039 |
+
|
4040 |
+
var isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ "./node_modules/lodash/_isStrictComparable.js"),
|
4041 |
+
keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js");
|
4042 |
+
|
4043 |
+
/**
|
4044 |
+
* Gets the property names, values, and compare flags of `object`.
|
4045 |
+
*
|
4046 |
+
* @private
|
4047 |
+
* @param {Object} object The object to query.
|
4048 |
+
* @returns {Array} Returns the match data of `object`.
|
4049 |
+
*/
|
4050 |
+
function getMatchData(object) {
|
4051 |
+
var result = keys(object),
|
4052 |
+
length = result.length;
|
4053 |
+
|
4054 |
+
while (length--) {
|
4055 |
+
var key = result[length],
|
4056 |
+
value = object[key];
|
4057 |
+
|
4058 |
+
result[length] = [key, value, isStrictComparable(value)];
|
4059 |
+
}
|
4060 |
+
return result;
|
4061 |
+
}
|
4062 |
+
|
4063 |
+
module.exports = getMatchData;
|
4064 |
+
|
4065 |
+
|
4066 |
+
/***/ }),
|
4067 |
+
|
4068 |
+
/***/ "./node_modules/lodash/_getNative.js":
|
4069 |
+
/*!*******************************************!*\
|
4070 |
+
!*** ./node_modules/lodash/_getNative.js ***!
|
4071 |
+
\*******************************************/
|
4072 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4073 |
+
|
4074 |
+
var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ "./node_modules/lodash/_baseIsNative.js"),
|
4075 |
+
getValue = __webpack_require__(/*! ./_getValue */ "./node_modules/lodash/_getValue.js");
|
4076 |
+
|
4077 |
+
/**
|
4078 |
+
* Gets the native function at `key` of `object`.
|
4079 |
+
*
|
4080 |
+
* @private
|
4081 |
+
* @param {Object} object The object to query.
|
4082 |
+
* @param {string} key The key of the method to get.
|
4083 |
+
* @returns {*} Returns the function if it's native, else `undefined`.
|
4084 |
+
*/
|
4085 |
+
function getNative(object, key) {
|
4086 |
+
var value = getValue(object, key);
|
4087 |
+
return baseIsNative(value) ? value : undefined;
|
4088 |
+
}
|
4089 |
+
|
4090 |
+
module.exports = getNative;
|
4091 |
+
|
4092 |
+
|
4093 |
+
/***/ }),
|
4094 |
+
|
4095 |
+
/***/ "./node_modules/lodash/_getPrototype.js":
|
4096 |
+
/*!**********************************************!*\
|
4097 |
+
!*** ./node_modules/lodash/_getPrototype.js ***!
|
4098 |
+
\**********************************************/
|
4099 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4100 |
+
|
4101 |
+
var overArg = __webpack_require__(/*! ./_overArg */ "./node_modules/lodash/_overArg.js");
|
4102 |
+
|
4103 |
+
/** Built-in value references. */
|
4104 |
+
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
4105 |
+
|
4106 |
+
module.exports = getPrototype;
|
4107 |
+
|
4108 |
+
|
4109 |
+
/***/ }),
|
4110 |
+
|
4111 |
+
/***/ "./node_modules/lodash/_getRawTag.js":
|
4112 |
+
/*!*******************************************!*\
|
4113 |
+
!*** ./node_modules/lodash/_getRawTag.js ***!
|
4114 |
+
\*******************************************/
|
4115 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4116 |
+
|
4117 |
+
var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js");
|
4118 |
+
|
4119 |
+
/** Used for built-in method references. */
|
4120 |
+
var objectProto = Object.prototype;
|
4121 |
+
|
4122 |
+
/** Used to check objects for own properties. */
|
4123 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
4124 |
+
|
4125 |
+
/**
|
4126 |
+
* Used to resolve the
|
4127 |
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
4128 |
+
* of values.
|
4129 |
+
*/
|
4130 |
+
var nativeObjectToString = objectProto.toString;
|
4131 |
+
|
4132 |
+
/** Built-in value references. */
|
4133 |
+
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
4134 |
+
|
4135 |
+
/**
|
4136 |
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
4137 |
+
*
|
4138 |
+
* @private
|
4139 |
+
* @param {*} value The value to query.
|
4140 |
+
* @returns {string} Returns the raw `toStringTag`.
|
4141 |
+
*/
|
4142 |
+
function getRawTag(value) {
|
4143 |
+
var isOwn = hasOwnProperty.call(value, symToStringTag),
|
4144 |
+
tag = value[symToStringTag];
|
4145 |
+
|
4146 |
+
try {
|
4147 |
+
value[symToStringTag] = undefined;
|
4148 |
+
var unmasked = true;
|
4149 |
+
} catch (e) {}
|
4150 |
+
|
4151 |
+
var result = nativeObjectToString.call(value);
|
4152 |
+
if (unmasked) {
|
4153 |
+
if (isOwn) {
|
4154 |
+
value[symToStringTag] = tag;
|
4155 |
+
} else {
|
4156 |
+
delete value[symToStringTag];
|
4157 |
+
}
|
4158 |
+
}
|
4159 |
+
return result;
|
4160 |
+
}
|
4161 |
+
|
4162 |
+
module.exports = getRawTag;
|
4163 |
+
|
4164 |
+
|
4165 |
+
/***/ }),
|
4166 |
+
|
4167 |
+
/***/ "./node_modules/lodash/_getSymbols.js":
|
4168 |
+
/*!********************************************!*\
|
4169 |
+
!*** ./node_modules/lodash/_getSymbols.js ***!
|
4170 |
+
\********************************************/
|
4171 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4172 |
+
|
4173 |
+
var arrayFilter = __webpack_require__(/*! ./_arrayFilter */ "./node_modules/lodash/_arrayFilter.js"),
|
4174 |
+
stubArray = __webpack_require__(/*! ./stubArray */ "./node_modules/lodash/stubArray.js");
|
4175 |
+
|
4176 |
+
/** Used for built-in method references. */
|
4177 |
+
var objectProto = Object.prototype;
|
4178 |
+
|
4179 |
+
/** Built-in value references. */
|
4180 |
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
4181 |
+
|
4182 |
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
4183 |
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
4184 |
+
|
4185 |
+
/**
|
4186 |
+
* Creates an array of the own enumerable symbols of `object`.
|
4187 |
+
*
|
4188 |
+
* @private
|
4189 |
+
* @param {Object} object The object to query.
|
4190 |
+
* @returns {Array} Returns the array of symbols.
|
4191 |
+
*/
|
4192 |
+
var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
4193 |
+
if (object == null) {
|
4194 |
+
return [];
|
4195 |
+
}
|
4196 |
+
object = Object(object);
|
4197 |
+
return arrayFilter(nativeGetSymbols(object), function(symbol) {
|
4198 |
+
return propertyIsEnumerable.call(object, symbol);
|
4199 |
+
});
|
4200 |
+
};
|
4201 |
+
|
4202 |
+
module.exports = getSymbols;
|
4203 |
+
|
4204 |
+
|
4205 |
+
/***/ }),
|
4206 |
+
|
4207 |
+
/***/ "./node_modules/lodash/_getSymbolsIn.js":
|
4208 |
+
/*!**********************************************!*\
|
4209 |
+
!*** ./node_modules/lodash/_getSymbolsIn.js ***!
|
4210 |
+
\**********************************************/
|
4211 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4212 |
+
|
4213 |
+
var arrayPush = __webpack_require__(/*! ./_arrayPush */ "./node_modules/lodash/_arrayPush.js"),
|
4214 |
+
getPrototype = __webpack_require__(/*! ./_getPrototype */ "./node_modules/lodash/_getPrototype.js"),
|
4215 |
+
getSymbols = __webpack_require__(/*! ./_getSymbols */ "./node_modules/lodash/_getSymbols.js"),
|
4216 |
+
stubArray = __webpack_require__(/*! ./stubArray */ "./node_modules/lodash/stubArray.js");
|
4217 |
+
|
4218 |
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
4219 |
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
4220 |
+
|
4221 |
+
/**
|
4222 |
+
* Creates an array of the own and inherited enumerable symbols of `object`.
|
4223 |
+
*
|
4224 |
+
* @private
|
4225 |
+
* @param {Object} object The object to query.
|
4226 |
+
* @returns {Array} Returns the array of symbols.
|
4227 |
+
*/
|
4228 |
+
var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
|
4229 |
+
var result = [];
|
4230 |
+
while (object) {
|
4231 |
+
arrayPush(result, getSymbols(object));
|
4232 |
+
object = getPrototype(object);
|
4233 |
+
}
|
4234 |
+
return result;
|
4235 |
+
};
|
4236 |
+
|
4237 |
+
module.exports = getSymbolsIn;
|
4238 |
+
|
4239 |
+
|
4240 |
+
/***/ }),
|
4241 |
+
|
4242 |
+
/***/ "./node_modules/lodash/_getTag.js":
|
4243 |
+
/*!****************************************!*\
|
4244 |
+
!*** ./node_modules/lodash/_getTag.js ***!
|
4245 |
+
\****************************************/
|
4246 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4247 |
+
|
4248 |
+
var DataView = __webpack_require__(/*! ./_DataView */ "./node_modules/lodash/_DataView.js"),
|
4249 |
+
Map = __webpack_require__(/*! ./_Map */ "./node_modules/lodash/_Map.js"),
|
4250 |
+
Promise = __webpack_require__(/*! ./_Promise */ "./node_modules/lodash/_Promise.js"),
|
4251 |
+
Set = __webpack_require__(/*! ./_Set */ "./node_modules/lodash/_Set.js"),
|
4252 |
+
WeakMap = __webpack_require__(/*! ./_WeakMap */ "./node_modules/lodash/_WeakMap.js"),
|
4253 |
+
baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
4254 |
+
toSource = __webpack_require__(/*! ./_toSource */ "./node_modules/lodash/_toSource.js");
|
4255 |
+
|
4256 |
+
/** `Object#toString` result references. */
|
4257 |
+
var mapTag = '[object Map]',
|
4258 |
+
objectTag = '[object Object]',
|
4259 |
+
promiseTag = '[object Promise]',
|
4260 |
+
setTag = '[object Set]',
|
4261 |
+
weakMapTag = '[object WeakMap]';
|
4262 |
+
|
4263 |
+
var dataViewTag = '[object DataView]';
|
4264 |
+
|
4265 |
+
/** Used to detect maps, sets, and weakmaps. */
|
4266 |
+
var dataViewCtorString = toSource(DataView),
|
4267 |
+
mapCtorString = toSource(Map),
|
4268 |
+
promiseCtorString = toSource(Promise),
|
4269 |
+
setCtorString = toSource(Set),
|
4270 |
+
weakMapCtorString = toSource(WeakMap);
|
4271 |
+
|
4272 |
+
/**
|
4273 |
+
* Gets the `toStringTag` of `value`.
|
4274 |
+
*
|
4275 |
+
* @private
|
4276 |
+
* @param {*} value The value to query.
|
4277 |
+
* @returns {string} Returns the `toStringTag`.
|
4278 |
+
*/
|
4279 |
+
var getTag = baseGetTag;
|
4280 |
+
|
4281 |
+
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
4282 |
+
if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
4283 |
+
(Map && getTag(new Map) != mapTag) ||
|
4284 |
+
(Promise && getTag(Promise.resolve()) != promiseTag) ||
|
4285 |
+
(Set && getTag(new Set) != setTag) ||
|
4286 |
+
(WeakMap && getTag(new WeakMap) != weakMapTag)) {
|
4287 |
+
getTag = function(value) {
|
4288 |
+
var result = baseGetTag(value),
|
4289 |
+
Ctor = result == objectTag ? value.constructor : undefined,
|
4290 |
+
ctorString = Ctor ? toSource(Ctor) : '';
|
4291 |
+
|
4292 |
+
if (ctorString) {
|
4293 |
+
switch (ctorString) {
|
4294 |
+
case dataViewCtorString: return dataViewTag;
|
4295 |
+
case mapCtorString: return mapTag;
|
4296 |
+
case promiseCtorString: return promiseTag;
|
4297 |
+
case setCtorString: return setTag;
|
4298 |
+
case weakMapCtorString: return weakMapTag;
|
4299 |
+
}
|
4300 |
+
}
|
4301 |
+
return result;
|
4302 |
+
};
|
4303 |
+
}
|
4304 |
+
|
4305 |
+
module.exports = getTag;
|
4306 |
+
|
4307 |
+
|
4308 |
+
/***/ }),
|
4309 |
+
|
4310 |
+
/***/ "./node_modules/lodash/_getValue.js":
|
4311 |
+
/*!******************************************!*\
|
4312 |
+
!*** ./node_modules/lodash/_getValue.js ***!
|
4313 |
+
\******************************************/
|
4314 |
+
/***/ (function(module) {
|
4315 |
+
|
4316 |
+
/**
|
4317 |
+
* Gets the value at `key` of `object`.
|
4318 |
+
*
|
4319 |
+
* @private
|
4320 |
+
* @param {Object} [object] The object to query.
|
4321 |
+
* @param {string} key The key of the property to get.
|
4322 |
+
* @returns {*} Returns the property value.
|
4323 |
+
*/
|
4324 |
+
function getValue(object, key) {
|
4325 |
+
return object == null ? undefined : object[key];
|
4326 |
+
}
|
4327 |
+
|
4328 |
+
module.exports = getValue;
|
4329 |
+
|
4330 |
+
|
4331 |
+
/***/ }),
|
4332 |
+
|
4333 |
+
/***/ "./node_modules/lodash/_hasPath.js":
|
4334 |
+
/*!*****************************************!*\
|
4335 |
+
!*** ./node_modules/lodash/_hasPath.js ***!
|
4336 |
+
\*****************************************/
|
4337 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4338 |
+
|
4339 |
+
var castPath = __webpack_require__(/*! ./_castPath */ "./node_modules/lodash/_castPath.js"),
|
4340 |
+
isArguments = __webpack_require__(/*! ./isArguments */ "./node_modules/lodash/isArguments.js"),
|
4341 |
+
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
4342 |
+
isIndex = __webpack_require__(/*! ./_isIndex */ "./node_modules/lodash/_isIndex.js"),
|
4343 |
+
isLength = __webpack_require__(/*! ./isLength */ "./node_modules/lodash/isLength.js"),
|
4344 |
+
toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
|
4345 |
+
|
4346 |
+
/**
|
4347 |
+
* Checks if `path` exists on `object`.
|
4348 |
+
*
|
4349 |
+
* @private
|
4350 |
+
* @param {Object} object The object to query.
|
4351 |
+
* @param {Array|string} path The path to check.
|
4352 |
+
* @param {Function} hasFunc The function to check properties.
|
4353 |
+
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
4354 |
+
*/
|
4355 |
+
function hasPath(object, path, hasFunc) {
|
4356 |
+
path = castPath(path, object);
|
4357 |
+
|
4358 |
+
var index = -1,
|
4359 |
+
length = path.length,
|
4360 |
+
result = false;
|
4361 |
+
|
4362 |
+
while (++index < length) {
|
4363 |
+
var key = toKey(path[index]);
|
4364 |
+
if (!(result = object != null && hasFunc(object, key))) {
|
4365 |
+
break;
|
4366 |
+
}
|
4367 |
+
object = object[key];
|
4368 |
+
}
|
4369 |
+
if (result || ++index != length) {
|
4370 |
+
return result;
|
4371 |
+
}
|
4372 |
+
length = object == null ? 0 : object.length;
|
4373 |
+
return !!length && isLength(length) && isIndex(key, length) &&
|
4374 |
+
(isArray(object) || isArguments(object));
|
4375 |
+
}
|
4376 |
+
|
4377 |
+
module.exports = hasPath;
|
4378 |
+
|
4379 |
+
|
4380 |
+
/***/ }),
|
4381 |
+
|
4382 |
+
/***/ "./node_modules/lodash/_hashClear.js":
|
4383 |
+
/*!*******************************************!*\
|
4384 |
+
!*** ./node_modules/lodash/_hashClear.js ***!
|
4385 |
+
\*******************************************/
|
4386 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4387 |
+
|
4388 |
+
var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./node_modules/lodash/_nativeCreate.js");
|
4389 |
+
|
4390 |
+
/**
|
4391 |
+
* Removes all key-value entries from the hash.
|
4392 |
+
*
|
4393 |
+
* @private
|
4394 |
+
* @name clear
|
4395 |
+
* @memberOf Hash
|
4396 |
+
*/
|
4397 |
+
function hashClear() {
|
4398 |
+
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
4399 |
+
this.size = 0;
|
4400 |
+
}
|
4401 |
+
|
4402 |
+
module.exports = hashClear;
|
4403 |
+
|
4404 |
+
|
4405 |
+
/***/ }),
|
4406 |
+
|
4407 |
+
/***/ "./node_modules/lodash/_hashDelete.js":
|
4408 |
+
/*!********************************************!*\
|
4409 |
+
!*** ./node_modules/lodash/_hashDelete.js ***!
|
4410 |
+
\********************************************/
|
4411 |
+
/***/ (function(module) {
|
4412 |
+
|
4413 |
+
/**
|
4414 |
+
* Removes `key` and its value from the hash.
|
4415 |
+
*
|
4416 |
+
* @private
|
4417 |
+
* @name delete
|
4418 |
+
* @memberOf Hash
|
4419 |
+
* @param {Object} hash The hash to modify.
|
4420 |
+
* @param {string} key The key of the value to remove.
|
4421 |
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
4422 |
+
*/
|
4423 |
+
function hashDelete(key) {
|
4424 |
+
var result = this.has(key) && delete this.__data__[key];
|
4425 |
+
this.size -= result ? 1 : 0;
|
4426 |
+
return result;
|
4427 |
+
}
|
4428 |
+
|
4429 |
+
module.exports = hashDelete;
|
4430 |
+
|
4431 |
+
|
4432 |
+
/***/ }),
|
4433 |
+
|
4434 |
+
/***/ "./node_modules/lodash/_hashGet.js":
|
4435 |
+
/*!*****************************************!*\
|
4436 |
+
!*** ./node_modules/lodash/_hashGet.js ***!
|
4437 |
+
\*****************************************/
|
4438 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4439 |
+
|
4440 |
+
var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./node_modules/lodash/_nativeCreate.js");
|
4441 |
+
|
4442 |
+
/** Used to stand-in for `undefined` hash values. */
|
4443 |
+
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
4444 |
+
|
4445 |
+
/** Used for built-in method references. */
|
4446 |
+
var objectProto = Object.prototype;
|
4447 |
+
|
4448 |
+
/** Used to check objects for own properties. */
|
4449 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
4450 |
+
|
4451 |
+
/**
|
4452 |
+
* Gets the hash value for `key`.
|
4453 |
+
*
|
4454 |
+
* @private
|
4455 |
+
* @name get
|
4456 |
+
* @memberOf Hash
|
4457 |
+
* @param {string} key The key of the value to get.
|
4458 |
+
* @returns {*} Returns the entry value.
|
4459 |
+
*/
|
4460 |
+
function hashGet(key) {
|
4461 |
+
var data = this.__data__;
|
4462 |
+
if (nativeCreate) {
|
4463 |
+
var result = data[key];
|
4464 |
+
return result === HASH_UNDEFINED ? undefined : result;
|
4465 |
+
}
|
4466 |
+
return hasOwnProperty.call(data, key) ? data[key] : undefined;
|
4467 |
+
}
|
4468 |
+
|
4469 |
+
module.exports = hashGet;
|
4470 |
+
|
4471 |
+
|
4472 |
+
/***/ }),
|
4473 |
+
|
4474 |
+
/***/ "./node_modules/lodash/_hashHas.js":
|
4475 |
+
/*!*****************************************!*\
|
4476 |
+
!*** ./node_modules/lodash/_hashHas.js ***!
|
4477 |
+
\*****************************************/
|
4478 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4479 |
+
|
4480 |
+
var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./node_modules/lodash/_nativeCreate.js");
|
4481 |
+
|
4482 |
+
/** Used for built-in method references. */
|
4483 |
+
var objectProto = Object.prototype;
|
4484 |
+
|
4485 |
+
/** Used to check objects for own properties. */
|
4486 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
4487 |
+
|
4488 |
+
/**
|
4489 |
+
* Checks if a hash value for `key` exists.
|
4490 |
+
*
|
4491 |
+
* @private
|
4492 |
+
* @name has
|
4493 |
+
* @memberOf Hash
|
4494 |
+
* @param {string} key The key of the entry to check.
|
4495 |
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
4496 |
+
*/
|
4497 |
+
function hashHas(key) {
|
4498 |
+
var data = this.__data__;
|
4499 |
+
return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
|
4500 |
+
}
|
4501 |
+
|
4502 |
+
module.exports = hashHas;
|
4503 |
+
|
4504 |
+
|
4505 |
+
/***/ }),
|
4506 |
+
|
4507 |
+
/***/ "./node_modules/lodash/_hashSet.js":
|
4508 |
+
/*!*****************************************!*\
|
4509 |
+
!*** ./node_modules/lodash/_hashSet.js ***!
|
4510 |
+
\*****************************************/
|
4511 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4512 |
+
|
4513 |
+
var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./node_modules/lodash/_nativeCreate.js");
|
4514 |
+
|
4515 |
+
/** Used to stand-in for `undefined` hash values. */
|
4516 |
+
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
4517 |
+
|
4518 |
+
/**
|
4519 |
+
* Sets the hash `key` to `value`.
|
4520 |
+
*
|
4521 |
+
* @private
|
4522 |
+
* @name set
|
4523 |
+
* @memberOf Hash
|
4524 |
+
* @param {string} key The key of the value to set.
|
4525 |
+
* @param {*} value The value to set.
|
4526 |
+
* @returns {Object} Returns the hash instance.
|
4527 |
+
*/
|
4528 |
+
function hashSet(key, value) {
|
4529 |
+
var data = this.__data__;
|
4530 |
+
this.size += this.has(key) ? 0 : 1;
|
4531 |
+
data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
|
4532 |
+
return this;
|
4533 |
+
}
|
4534 |
+
|
4535 |
+
module.exports = hashSet;
|
4536 |
+
|
4537 |
+
|
4538 |
+
/***/ }),
|
4539 |
+
|
4540 |
+
/***/ "./node_modules/lodash/_initCloneArray.js":
|
4541 |
+
/*!************************************************!*\
|
4542 |
+
!*** ./node_modules/lodash/_initCloneArray.js ***!
|
4543 |
+
\************************************************/
|
4544 |
+
/***/ (function(module) {
|
4545 |
+
|
4546 |
+
/** Used for built-in method references. */
|
4547 |
+
var objectProto = Object.prototype;
|
4548 |
+
|
4549 |
+
/** Used to check objects for own properties. */
|
4550 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
4551 |
+
|
4552 |
+
/**
|
4553 |
+
* Initializes an array clone.
|
4554 |
+
*
|
4555 |
+
* @private
|
4556 |
+
* @param {Array} array The array to clone.
|
4557 |
+
* @returns {Array} Returns the initialized clone.
|
4558 |
+
*/
|
4559 |
+
function initCloneArray(array) {
|
4560 |
+
var length = array.length,
|
4561 |
+
result = new array.constructor(length);
|
4562 |
+
|
4563 |
+
// Add properties assigned by `RegExp#exec`.
|
4564 |
+
if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
|
4565 |
+
result.index = array.index;
|
4566 |
+
result.input = array.input;
|
4567 |
+
}
|
4568 |
+
return result;
|
4569 |
+
}
|
4570 |
+
|
4571 |
+
module.exports = initCloneArray;
|
4572 |
+
|
4573 |
+
|
4574 |
+
/***/ }),
|
4575 |
+
|
4576 |
+
/***/ "./node_modules/lodash/_initCloneByTag.js":
|
4577 |
+
/*!************************************************!*\
|
4578 |
+
!*** ./node_modules/lodash/_initCloneByTag.js ***!
|
4579 |
+
\************************************************/
|
4580 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4581 |
+
|
4582 |
+
var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ "./node_modules/lodash/_cloneArrayBuffer.js"),
|
4583 |
+
cloneDataView = __webpack_require__(/*! ./_cloneDataView */ "./node_modules/lodash/_cloneDataView.js"),
|
4584 |
+
cloneRegExp = __webpack_require__(/*! ./_cloneRegExp */ "./node_modules/lodash/_cloneRegExp.js"),
|
4585 |
+
cloneSymbol = __webpack_require__(/*! ./_cloneSymbol */ "./node_modules/lodash/_cloneSymbol.js"),
|
4586 |
+
cloneTypedArray = __webpack_require__(/*! ./_cloneTypedArray */ "./node_modules/lodash/_cloneTypedArray.js");
|
4587 |
+
|
4588 |
+
/** `Object#toString` result references. */
|
4589 |
+
var boolTag = '[object Boolean]',
|
4590 |
+
dateTag = '[object Date]',
|
4591 |
+
mapTag = '[object Map]',
|
4592 |
+
numberTag = '[object Number]',
|
4593 |
+
regexpTag = '[object RegExp]',
|
4594 |
+
setTag = '[object Set]',
|
4595 |
+
stringTag = '[object String]',
|
4596 |
+
symbolTag = '[object Symbol]';
|
4597 |
+
|
4598 |
+
var arrayBufferTag = '[object ArrayBuffer]',
|
4599 |
+
dataViewTag = '[object DataView]',
|
4600 |
+
float32Tag = '[object Float32Array]',
|
4601 |
+
float64Tag = '[object Float64Array]',
|
4602 |
+
int8Tag = '[object Int8Array]',
|
4603 |
+
int16Tag = '[object Int16Array]',
|
4604 |
+
int32Tag = '[object Int32Array]',
|
4605 |
+
uint8Tag = '[object Uint8Array]',
|
4606 |
+
uint8ClampedTag = '[object Uint8ClampedArray]',
|
4607 |
+
uint16Tag = '[object Uint16Array]',
|
4608 |
+
uint32Tag = '[object Uint32Array]';
|
4609 |
+
|
4610 |
+
/**
|
4611 |
+
* Initializes an object clone based on its `toStringTag`.
|
4612 |
+
*
|
4613 |
+
* **Note:** This function only supports cloning values with tags of
|
4614 |
+
* `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
|
4615 |
+
*
|
4616 |
+
* @private
|
4617 |
+
* @param {Object} object The object to clone.
|
4618 |
+
* @param {string} tag The `toStringTag` of the object to clone.
|
4619 |
+
* @param {boolean} [isDeep] Specify a deep clone.
|
4620 |
+
* @returns {Object} Returns the initialized clone.
|
4621 |
+
*/
|
4622 |
+
function initCloneByTag(object, tag, isDeep) {
|
4623 |
+
var Ctor = object.constructor;
|
4624 |
+
switch (tag) {
|
4625 |
+
case arrayBufferTag:
|
4626 |
+
return cloneArrayBuffer(object);
|
4627 |
+
|
4628 |
+
case boolTag:
|
4629 |
+
case dateTag:
|
4630 |
+
return new Ctor(+object);
|
4631 |
+
|
4632 |
+
case dataViewTag:
|
4633 |
+
return cloneDataView(object, isDeep);
|
4634 |
+
|
4635 |
+
case float32Tag: case float64Tag:
|
4636 |
+
case int8Tag: case int16Tag: case int32Tag:
|
4637 |
+
case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
|
4638 |
+
return cloneTypedArray(object, isDeep);
|
4639 |
+
|
4640 |
+
case mapTag:
|
4641 |
+
return new Ctor;
|
4642 |
+
|
4643 |
+
case numberTag:
|
4644 |
+
case stringTag:
|
4645 |
+
return new Ctor(object);
|
4646 |
+
|
4647 |
+
case regexpTag:
|
4648 |
+
return cloneRegExp(object);
|
4649 |
+
|
4650 |
+
case setTag:
|
4651 |
+
return new Ctor;
|
4652 |
+
|
4653 |
+
case symbolTag:
|
4654 |
+
return cloneSymbol(object);
|
4655 |
+
}
|
4656 |
+
}
|
4657 |
+
|
4658 |
+
module.exports = initCloneByTag;
|
4659 |
+
|
4660 |
+
|
4661 |
+
/***/ }),
|
4662 |
+
|
4663 |
+
/***/ "./node_modules/lodash/_initCloneObject.js":
|
4664 |
+
/*!*************************************************!*\
|
4665 |
+
!*** ./node_modules/lodash/_initCloneObject.js ***!
|
4666 |
+
\*************************************************/
|
4667 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4668 |
+
|
4669 |
+
var baseCreate = __webpack_require__(/*! ./_baseCreate */ "./node_modules/lodash/_baseCreate.js"),
|
4670 |
+
getPrototype = __webpack_require__(/*! ./_getPrototype */ "./node_modules/lodash/_getPrototype.js"),
|
4671 |
+
isPrototype = __webpack_require__(/*! ./_isPrototype */ "./node_modules/lodash/_isPrototype.js");
|
4672 |
+
|
4673 |
+
/**
|
4674 |
+
* Initializes an object clone.
|
4675 |
+
*
|
4676 |
+
* @private
|
4677 |
+
* @param {Object} object The object to clone.
|
4678 |
+
* @returns {Object} Returns the initialized clone.
|
4679 |
+
*/
|
4680 |
+
function initCloneObject(object) {
|
4681 |
+
return (typeof object.constructor == 'function' && !isPrototype(object))
|
4682 |
+
? baseCreate(getPrototype(object))
|
4683 |
+
: {};
|
4684 |
+
}
|
4685 |
+
|
4686 |
+
module.exports = initCloneObject;
|
4687 |
+
|
4688 |
+
|
4689 |
+
/***/ }),
|
4690 |
+
|
4691 |
+
/***/ "./node_modules/lodash/_isIndex.js":
|
4692 |
+
/*!*****************************************!*\
|
4693 |
+
!*** ./node_modules/lodash/_isIndex.js ***!
|
4694 |
+
\*****************************************/
|
4695 |
+
/***/ (function(module) {
|
4696 |
+
|
4697 |
+
/** Used as references for various `Number` constants. */
|
4698 |
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
4699 |
+
|
4700 |
+
/** Used to detect unsigned integer values. */
|
4701 |
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
4702 |
+
|
4703 |
+
/**
|
4704 |
+
* Checks if `value` is a valid array-like index.
|
4705 |
+
*
|
4706 |
+
* @private
|
4707 |
+
* @param {*} value The value to check.
|
4708 |
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
4709 |
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
4710 |
+
*/
|
4711 |
+
function isIndex(value, length) {
|
4712 |
+
var type = typeof value;
|
4713 |
+
length = length == null ? MAX_SAFE_INTEGER : length;
|
4714 |
+
|
4715 |
+
return !!length &&
|
4716 |
+
(type == 'number' ||
|
4717 |
+
(type != 'symbol' && reIsUint.test(value))) &&
|
4718 |
+
(value > -1 && value % 1 == 0 && value < length);
|
4719 |
+
}
|
4720 |
+
|
4721 |
+
module.exports = isIndex;
|
4722 |
+
|
4723 |
+
|
4724 |
+
/***/ }),
|
4725 |
+
|
4726 |
+
/***/ "./node_modules/lodash/_isKey.js":
|
4727 |
+
/*!***************************************!*\
|
4728 |
+
!*** ./node_modules/lodash/_isKey.js ***!
|
4729 |
+
\***************************************/
|
4730 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4731 |
+
|
4732 |
+
var isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
4733 |
+
isSymbol = __webpack_require__(/*! ./isSymbol */ "./node_modules/lodash/isSymbol.js");
|
4734 |
+
|
4735 |
+
/** Used to match property names within property paths. */
|
4736 |
+
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
|
4737 |
+
reIsPlainProp = /^\w*$/;
|
4738 |
+
|
4739 |
+
/**
|
4740 |
+
* Checks if `value` is a property name and not a property path.
|
4741 |
+
*
|
4742 |
+
* @private
|
4743 |
+
* @param {*} value The value to check.
|
4744 |
+
* @param {Object} [object] The object to query keys on.
|
4745 |
+
* @returns {boolean} Returns `true` if `value` is a property name, else `false`.
|
4746 |
+
*/
|
4747 |
+
function isKey(value, object) {
|
4748 |
+
if (isArray(value)) {
|
4749 |
+
return false;
|
4750 |
+
}
|
4751 |
+
var type = typeof value;
|
4752 |
+
if (type == 'number' || type == 'symbol' || type == 'boolean' ||
|
4753 |
+
value == null || isSymbol(value)) {
|
4754 |
+
return true;
|
4755 |
+
}
|
4756 |
+
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
|
4757 |
+
(object != null && value in Object(object));
|
4758 |
+
}
|
4759 |
+
|
4760 |
+
module.exports = isKey;
|
4761 |
+
|
4762 |
+
|
4763 |
+
/***/ }),
|
4764 |
+
|
4765 |
+
/***/ "./node_modules/lodash/_isKeyable.js":
|
4766 |
+
/*!*******************************************!*\
|
4767 |
+
!*** ./node_modules/lodash/_isKeyable.js ***!
|
4768 |
+
\*******************************************/
|
4769 |
+
/***/ (function(module) {
|
4770 |
+
|
4771 |
+
/**
|
4772 |
+
* Checks if `value` is suitable for use as unique object key.
|
4773 |
+
*
|
4774 |
+
* @private
|
4775 |
+
* @param {*} value The value to check.
|
4776 |
+
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
4777 |
+
*/
|
4778 |
+
function isKeyable(value) {
|
4779 |
+
var type = typeof value;
|
4780 |
+
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
4781 |
+
? (value !== '__proto__')
|
4782 |
+
: (value === null);
|
4783 |
+
}
|
4784 |
+
|
4785 |
+
module.exports = isKeyable;
|
4786 |
+
|
4787 |
+
|
4788 |
+
/***/ }),
|
4789 |
+
|
4790 |
+
/***/ "./node_modules/lodash/_isMasked.js":
|
4791 |
+
/*!******************************************!*\
|
4792 |
+
!*** ./node_modules/lodash/_isMasked.js ***!
|
4793 |
+
\******************************************/
|
4794 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4795 |
+
|
4796 |
+
var coreJsData = __webpack_require__(/*! ./_coreJsData */ "./node_modules/lodash/_coreJsData.js");
|
4797 |
+
|
4798 |
+
/** Used to detect methods masquerading as native. */
|
4799 |
+
var maskSrcKey = (function() {
|
4800 |
+
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
4801 |
+
return uid ? ('Symbol(src)_1.' + uid) : '';
|
4802 |
+
}());
|
4803 |
+
|
4804 |
+
/**
|
4805 |
+
* Checks if `func` has its source masked.
|
4806 |
+
*
|
4807 |
+
* @private
|
4808 |
+
* @param {Function} func The function to check.
|
4809 |
+
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
4810 |
+
*/
|
4811 |
+
function isMasked(func) {
|
4812 |
+
return !!maskSrcKey && (maskSrcKey in func);
|
4813 |
+
}
|
4814 |
+
|
4815 |
+
module.exports = isMasked;
|
4816 |
+
|
4817 |
+
|
4818 |
+
/***/ }),
|
4819 |
+
|
4820 |
+
/***/ "./node_modules/lodash/_isPrototype.js":
|
4821 |
+
/*!*********************************************!*\
|
4822 |
+
!*** ./node_modules/lodash/_isPrototype.js ***!
|
4823 |
+
\*********************************************/
|
4824 |
+
/***/ (function(module) {
|
4825 |
+
|
4826 |
+
/** Used for built-in method references. */
|
4827 |
+
var objectProto = Object.prototype;
|
4828 |
+
|
4829 |
+
/**
|
4830 |
+
* Checks if `value` is likely a prototype object.
|
4831 |
+
*
|
4832 |
+
* @private
|
4833 |
+
* @param {*} value The value to check.
|
4834 |
+
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
4835 |
+
*/
|
4836 |
+
function isPrototype(value) {
|
4837 |
+
var Ctor = value && value.constructor,
|
4838 |
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
|
4839 |
+
|
4840 |
+
return value === proto;
|
4841 |
+
}
|
4842 |
+
|
4843 |
+
module.exports = isPrototype;
|
4844 |
+
|
4845 |
+
|
4846 |
+
/***/ }),
|
4847 |
+
|
4848 |
+
/***/ "./node_modules/lodash/_isStrictComparable.js":
|
4849 |
+
/*!****************************************************!*\
|
4850 |
+
!*** ./node_modules/lodash/_isStrictComparable.js ***!
|
4851 |
+
\****************************************************/
|
4852 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4853 |
+
|
4854 |
+
var isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js");
|
4855 |
+
|
4856 |
+
/**
|
4857 |
+
* Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
|
4858 |
+
*
|
4859 |
+
* @private
|
4860 |
+
* @param {*} value The value to check.
|
4861 |
+
* @returns {boolean} Returns `true` if `value` if suitable for strict
|
4862 |
+
* equality comparisons, else `false`.
|
4863 |
+
*/
|
4864 |
+
function isStrictComparable(value) {
|
4865 |
+
return value === value && !isObject(value);
|
4866 |
+
}
|
4867 |
+
|
4868 |
+
module.exports = isStrictComparable;
|
4869 |
+
|
4870 |
+
|
4871 |
+
/***/ }),
|
4872 |
+
|
4873 |
+
/***/ "./node_modules/lodash/_listCacheClear.js":
|
4874 |
+
/*!************************************************!*\
|
4875 |
+
!*** ./node_modules/lodash/_listCacheClear.js ***!
|
4876 |
+
\************************************************/
|
4877 |
+
/***/ (function(module) {
|
4878 |
+
|
4879 |
+
/**
|
4880 |
+
* Removes all key-value entries from the list cache.
|
4881 |
+
*
|
4882 |
+
* @private
|
4883 |
+
* @name clear
|
4884 |
+
* @memberOf ListCache
|
4885 |
+
*/
|
4886 |
+
function listCacheClear() {
|
4887 |
+
this.__data__ = [];
|
4888 |
+
this.size = 0;
|
4889 |
+
}
|
4890 |
+
|
4891 |
+
module.exports = listCacheClear;
|
4892 |
+
|
4893 |
+
|
4894 |
+
/***/ }),
|
4895 |
+
|
4896 |
+
/***/ "./node_modules/lodash/_listCacheDelete.js":
|
4897 |
+
/*!*************************************************!*\
|
4898 |
+
!*** ./node_modules/lodash/_listCacheDelete.js ***!
|
4899 |
+
\*************************************************/
|
4900 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4901 |
+
|
4902 |
+
var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./node_modules/lodash/_assocIndexOf.js");
|
4903 |
+
|
4904 |
+
/** Used for built-in method references. */
|
4905 |
+
var arrayProto = Array.prototype;
|
4906 |
+
|
4907 |
+
/** Built-in value references. */
|
4908 |
+
var splice = arrayProto.splice;
|
4909 |
+
|
4910 |
+
/**
|
4911 |
+
* Removes `key` and its value from the list cache.
|
4912 |
+
*
|
4913 |
+
* @private
|
4914 |
+
* @name delete
|
4915 |
+
* @memberOf ListCache
|
4916 |
+
* @param {string} key The key of the value to remove.
|
4917 |
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
4918 |
+
*/
|
4919 |
+
function listCacheDelete(key) {
|
4920 |
+
var data = this.__data__,
|
4921 |
+
index = assocIndexOf(data, key);
|
4922 |
+
|
4923 |
+
if (index < 0) {
|
4924 |
+
return false;
|
4925 |
+
}
|
4926 |
+
var lastIndex = data.length - 1;
|
4927 |
+
if (index == lastIndex) {
|
4928 |
+
data.pop();
|
4929 |
+
} else {
|
4930 |
+
splice.call(data, index, 1);
|
4931 |
+
}
|
4932 |
+
--this.size;
|
4933 |
+
return true;
|
4934 |
+
}
|
4935 |
+
|
4936 |
+
module.exports = listCacheDelete;
|
4937 |
+
|
4938 |
+
|
4939 |
+
/***/ }),
|
4940 |
+
|
4941 |
+
/***/ "./node_modules/lodash/_listCacheGet.js":
|
4942 |
+
/*!**********************************************!*\
|
4943 |
+
!*** ./node_modules/lodash/_listCacheGet.js ***!
|
4944 |
+
\**********************************************/
|
4945 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4946 |
+
|
4947 |
+
var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./node_modules/lodash/_assocIndexOf.js");
|
4948 |
+
|
4949 |
+
/**
|
4950 |
+
* Gets the list cache value for `key`.
|
4951 |
+
*
|
4952 |
+
* @private
|
4953 |
+
* @name get
|
4954 |
+
* @memberOf ListCache
|
4955 |
+
* @param {string} key The key of the value to get.
|
4956 |
+
* @returns {*} Returns the entry value.
|
4957 |
+
*/
|
4958 |
+
function listCacheGet(key) {
|
4959 |
+
var data = this.__data__,
|
4960 |
+
index = assocIndexOf(data, key);
|
4961 |
+
|
4962 |
+
return index < 0 ? undefined : data[index][1];
|
4963 |
+
}
|
4964 |
+
|
4965 |
+
module.exports = listCacheGet;
|
4966 |
+
|
4967 |
+
|
4968 |
+
/***/ }),
|
4969 |
+
|
4970 |
+
/***/ "./node_modules/lodash/_listCacheHas.js":
|
4971 |
+
/*!**********************************************!*\
|
4972 |
+
!*** ./node_modules/lodash/_listCacheHas.js ***!
|
4973 |
+
\**********************************************/
|
4974 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4975 |
+
|
4976 |
+
var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./node_modules/lodash/_assocIndexOf.js");
|
4977 |
+
|
4978 |
+
/**
|
4979 |
+
* Checks if a list cache value for `key` exists.
|
4980 |
+
*
|
4981 |
+
* @private
|
4982 |
+
* @name has
|
4983 |
+
* @memberOf ListCache
|
4984 |
+
* @param {string} key The key of the entry to check.
|
4985 |
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
4986 |
+
*/
|
4987 |
+
function listCacheHas(key) {
|
4988 |
+
return assocIndexOf(this.__data__, key) > -1;
|
4989 |
+
}
|
4990 |
+
|
4991 |
+
module.exports = listCacheHas;
|
4992 |
+
|
4993 |
+
|
4994 |
+
/***/ }),
|
4995 |
+
|
4996 |
+
/***/ "./node_modules/lodash/_listCacheSet.js":
|
4997 |
+
/*!**********************************************!*\
|
4998 |
+
!*** ./node_modules/lodash/_listCacheSet.js ***!
|
4999 |
+
\**********************************************/
|
5000 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5001 |
+
|
5002 |
+
var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./node_modules/lodash/_assocIndexOf.js");
|
5003 |
+
|
5004 |
+
/**
|
5005 |
+
* Sets the list cache `key` to `value`.
|
5006 |
+
*
|
5007 |
+
* @private
|
5008 |
+
* @name set
|
5009 |
+
* @memberOf ListCache
|
5010 |
+
* @param {string} key The key of the value to set.
|
5011 |
+
* @param {*} value The value to set.
|
5012 |
+
* @returns {Object} Returns the list cache instance.
|
5013 |
+
*/
|
5014 |
+
function listCacheSet(key, value) {
|
5015 |
+
var data = this.__data__,
|
5016 |
+
index = assocIndexOf(data, key);
|
5017 |
+
|
5018 |
+
if (index < 0) {
|
5019 |
+
++this.size;
|
5020 |
+
data.push([key, value]);
|
5021 |
+
} else {
|
5022 |
+
data[index][1] = value;
|
5023 |
+
}
|
5024 |
+
return this;
|
5025 |
+
}
|
5026 |
+
|
5027 |
+
module.exports = listCacheSet;
|
5028 |
+
|
5029 |
+
|
5030 |
+
/***/ }),
|
5031 |
+
|
5032 |
+
/***/ "./node_modules/lodash/_mapCacheClear.js":
|
5033 |
+
/*!***********************************************!*\
|
5034 |
+
!*** ./node_modules/lodash/_mapCacheClear.js ***!
|
5035 |
+
\***********************************************/
|
5036 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5037 |
+
|
5038 |
+
var Hash = __webpack_require__(/*! ./_Hash */ "./node_modules/lodash/_Hash.js"),
|
5039 |
+
ListCache = __webpack_require__(/*! ./_ListCache */ "./node_modules/lodash/_ListCache.js"),
|
5040 |
+
Map = __webpack_require__(/*! ./_Map */ "./node_modules/lodash/_Map.js");
|
5041 |
+
|
5042 |
+
/**
|
5043 |
+
* Removes all key-value entries from the map.
|
5044 |
+
*
|
5045 |
+
* @private
|
5046 |
+
* @name clear
|
5047 |
+
* @memberOf MapCache
|
5048 |
+
*/
|
5049 |
+
function mapCacheClear() {
|
5050 |
+
this.size = 0;
|
5051 |
+
this.__data__ = {
|
5052 |
+
'hash': new Hash,
|
5053 |
+
'map': new (Map || ListCache),
|
5054 |
+
'string': new Hash
|
5055 |
+
};
|
5056 |
+
}
|
5057 |
+
|
5058 |
+
module.exports = mapCacheClear;
|
5059 |
+
|
5060 |
+
|
5061 |
+
/***/ }),
|
5062 |
+
|
5063 |
+
/***/ "./node_modules/lodash/_mapCacheDelete.js":
|
5064 |
+
/*!************************************************!*\
|
5065 |
+
!*** ./node_modules/lodash/_mapCacheDelete.js ***!
|
5066 |
+
\************************************************/
|
5067 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5068 |
+
|
5069 |
+
var getMapData = __webpack_require__(/*! ./_getMapData */ "./node_modules/lodash/_getMapData.js");
|
5070 |
+
|
5071 |
+
/**
|
5072 |
+
* Removes `key` and its value from the map.
|
5073 |
+
*
|
5074 |
+
* @private
|
5075 |
+
* @name delete
|
5076 |
+
* @memberOf MapCache
|
5077 |
+
* @param {string} key The key of the value to remove.
|
5078 |
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
5079 |
+
*/
|
5080 |
+
function mapCacheDelete(key) {
|
5081 |
+
var result = getMapData(this, key)['delete'](key);
|
5082 |
+
this.size -= result ? 1 : 0;
|
5083 |
+
return result;
|
5084 |
+
}
|
5085 |
+
|
5086 |
+
module.exports = mapCacheDelete;
|
5087 |
+
|
5088 |
+
|
5089 |
+
/***/ }),
|
5090 |
+
|
5091 |
+
/***/ "./node_modules/lodash/_mapCacheGet.js":
|
5092 |
+
/*!*********************************************!*\
|
5093 |
+
!*** ./node_modules/lodash/_mapCacheGet.js ***!
|
5094 |
+
\*********************************************/
|
5095 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5096 |
+
|
5097 |
+
var getMapData = __webpack_require__(/*! ./_getMapData */ "./node_modules/lodash/_getMapData.js");
|
5098 |
+
|
5099 |
+
/**
|
5100 |
+
* Gets the map value for `key`.
|
5101 |
+
*
|
5102 |
+
* @private
|
5103 |
+
* @name get
|
5104 |
+
* @memberOf MapCache
|
5105 |
+
* @param {string} key The key of the value to get.
|
5106 |
+
* @returns {*} Returns the entry value.
|
5107 |
+
*/
|
5108 |
+
function mapCacheGet(key) {
|
5109 |
+
return getMapData(this, key).get(key);
|
5110 |
+
}
|
5111 |
+
|
5112 |
+
module.exports = mapCacheGet;
|
5113 |
+
|
5114 |
+
|
5115 |
+
/***/ }),
|
5116 |
+
|
5117 |
+
/***/ "./node_modules/lodash/_mapCacheHas.js":
|
5118 |
+
/*!*********************************************!*\
|
5119 |
+
!*** ./node_modules/lodash/_mapCacheHas.js ***!
|
5120 |
+
\*********************************************/
|
5121 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5122 |
+
|
5123 |
+
var getMapData = __webpack_require__(/*! ./_getMapData */ "./node_modules/lodash/_getMapData.js");
|
5124 |
+
|
5125 |
+
/**
|
5126 |
+
* Checks if a map value for `key` exists.
|
5127 |
+
*
|
5128 |
+
* @private
|
5129 |
+
* @name has
|
5130 |
+
* @memberOf MapCache
|
5131 |
+
* @param {string} key The key of the entry to check.
|
5132 |
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
5133 |
+
*/
|
5134 |
+
function mapCacheHas(key) {
|
5135 |
+
return getMapData(this, key).has(key);
|
5136 |
+
}
|
5137 |
+
|
5138 |
+
module.exports = mapCacheHas;
|
5139 |
+
|
5140 |
+
|
5141 |
+
/***/ }),
|
5142 |
+
|
5143 |
+
/***/ "./node_modules/lodash/_mapCacheSet.js":
|
5144 |
+
/*!*********************************************!*\
|
5145 |
+
!*** ./node_modules/lodash/_mapCacheSet.js ***!
|
5146 |
+
\*********************************************/
|
5147 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5148 |
+
|
5149 |
+
var getMapData = __webpack_require__(/*! ./_getMapData */ "./node_modules/lodash/_getMapData.js");
|
5150 |
+
|
5151 |
+
/**
|
5152 |
+
* Sets the map `key` to `value`.
|
5153 |
+
*
|
5154 |
+
* @private
|
5155 |
+
* @name set
|
5156 |
+
* @memberOf MapCache
|
5157 |
+
* @param {string} key The key of the value to set.
|
5158 |
+
* @param {*} value The value to set.
|
5159 |
+
* @returns {Object} Returns the map cache instance.
|
5160 |
+
*/
|
5161 |
+
function mapCacheSet(key, value) {
|
5162 |
+
var data = getMapData(this, key),
|
5163 |
+
size = data.size;
|
5164 |
+
|
5165 |
+
data.set(key, value);
|
5166 |
+
this.size += data.size == size ? 0 : 1;
|
5167 |
+
return this;
|
5168 |
+
}
|
5169 |
+
|
5170 |
+
module.exports = mapCacheSet;
|
5171 |
+
|
5172 |
+
|
5173 |
+
/***/ }),
|
5174 |
+
|
5175 |
+
/***/ "./node_modules/lodash/_mapToArray.js":
|
5176 |
+
/*!********************************************!*\
|
5177 |
+
!*** ./node_modules/lodash/_mapToArray.js ***!
|
5178 |
+
\********************************************/
|
5179 |
+
/***/ (function(module) {
|
5180 |
+
|
5181 |
+
/**
|
5182 |
+
* Converts `map` to its key-value pairs.
|
5183 |
+
*
|
5184 |
+
* @private
|
5185 |
+
* @param {Object} map The map to convert.
|
5186 |
+
* @returns {Array} Returns the key-value pairs.
|
5187 |
+
*/
|
5188 |
+
function mapToArray(map) {
|
5189 |
+
var index = -1,
|
5190 |
+
result = Array(map.size);
|
5191 |
+
|
5192 |
+
map.forEach(function(value, key) {
|
5193 |
+
result[++index] = [key, value];
|
5194 |
+
});
|
5195 |
+
return result;
|
5196 |
+
}
|
5197 |
+
|
5198 |
+
module.exports = mapToArray;
|
5199 |
+
|
5200 |
+
|
5201 |
+
/***/ }),
|
5202 |
+
|
5203 |
+
/***/ "./node_modules/lodash/_matchesStrictComparable.js":
|
5204 |
+
/*!*********************************************************!*\
|
5205 |
+
!*** ./node_modules/lodash/_matchesStrictComparable.js ***!
|
5206 |
+
\*********************************************************/
|
5207 |
+
/***/ (function(module) {
|
5208 |
+
|
5209 |
+
/**
|
5210 |
+
* A specialized version of `matchesProperty` for source values suitable
|
5211 |
+
* for strict equality comparisons, i.e. `===`.
|
5212 |
+
*
|
5213 |
+
* @private
|
5214 |
+
* @param {string} key The key of the property to get.
|
5215 |
+
* @param {*} srcValue The value to match.
|
5216 |
+
* @returns {Function} Returns the new spec function.
|
5217 |
+
*/
|
5218 |
+
function matchesStrictComparable(key, srcValue) {
|
5219 |
+
return function(object) {
|
5220 |
+
if (object == null) {
|
5221 |
+
return false;
|
5222 |
+
}
|
5223 |
+
return object[key] === srcValue &&
|
5224 |
+
(srcValue !== undefined || (key in Object(object)));
|
5225 |
+
};
|
5226 |
+
}
|
5227 |
+
|
5228 |
+
module.exports = matchesStrictComparable;
|
5229 |
+
|
5230 |
+
|
5231 |
+
/***/ }),
|
5232 |
+
|
5233 |
+
/***/ "./node_modules/lodash/_memoizeCapped.js":
|
5234 |
+
/*!***********************************************!*\
|
5235 |
+
!*** ./node_modules/lodash/_memoizeCapped.js ***!
|
5236 |
+
\***********************************************/
|
5237 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5238 |
+
|
5239 |
+
var memoize = __webpack_require__(/*! ./memoize */ "./node_modules/lodash/memoize.js");
|
5240 |
+
|
5241 |
+
/** Used as the maximum memoize cache size. */
|
5242 |
+
var MAX_MEMOIZE_SIZE = 500;
|
5243 |
+
|
5244 |
+
/**
|
5245 |
+
* A specialized version of `_.memoize` which clears the memoized function's
|
5246 |
+
* cache when it exceeds `MAX_MEMOIZE_SIZE`.
|
5247 |
+
*
|
5248 |
+
* @private
|
5249 |
+
* @param {Function} func The function to have its output memoized.
|
5250 |
+
* @returns {Function} Returns the new memoized function.
|
5251 |
+
*/
|
5252 |
+
function memoizeCapped(func) {
|
5253 |
+
var result = memoize(func, function(key) {
|
5254 |
+
if (cache.size === MAX_MEMOIZE_SIZE) {
|
5255 |
+
cache.clear();
|
5256 |
+
}
|
5257 |
+
return key;
|
5258 |
+
});
|
5259 |
+
|
5260 |
+
var cache = result.cache;
|
5261 |
+
return result;
|
5262 |
+
}
|
5263 |
+
|
5264 |
+
module.exports = memoizeCapped;
|
5265 |
+
|
5266 |
+
|
5267 |
+
/***/ }),
|
5268 |
+
|
5269 |
+
/***/ "./node_modules/lodash/_nativeCreate.js":
|
5270 |
+
/*!**********************************************!*\
|
5271 |
+
!*** ./node_modules/lodash/_nativeCreate.js ***!
|
5272 |
+
\**********************************************/
|
5273 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5274 |
+
|
5275 |
+
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js");
|
5276 |
+
|
5277 |
+
/* Built-in method references that are verified to be native. */
|
5278 |
+
var nativeCreate = getNative(Object, 'create');
|
5279 |
+
|
5280 |
+
module.exports = nativeCreate;
|
5281 |
+
|
5282 |
+
|
5283 |
+
/***/ }),
|
5284 |
+
|
5285 |
+
/***/ "./node_modules/lodash/_nativeKeys.js":
|
5286 |
+
/*!********************************************!*\
|
5287 |
+
!*** ./node_modules/lodash/_nativeKeys.js ***!
|
5288 |
+
\********************************************/
|
5289 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5290 |
+
|
5291 |
+
var overArg = __webpack_require__(/*! ./_overArg */ "./node_modules/lodash/_overArg.js");
|
5292 |
+
|
5293 |
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
5294 |
+
var nativeKeys = overArg(Object.keys, Object);
|
5295 |
+
|
5296 |
+
module.exports = nativeKeys;
|
5297 |
+
|
5298 |
+
|
5299 |
+
/***/ }),
|
5300 |
+
|
5301 |
+
/***/ "./node_modules/lodash/_nativeKeysIn.js":
|
5302 |
+
/*!**********************************************!*\
|
5303 |
+
!*** ./node_modules/lodash/_nativeKeysIn.js ***!
|
5304 |
+
\**********************************************/
|
5305 |
+
/***/ (function(module) {
|
5306 |
+
|
5307 |
+
/**
|
5308 |
+
* This function is like
|
5309 |
+
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
5310 |
+
* except that it includes inherited enumerable properties.
|
5311 |
+
*
|
5312 |
+
* @private
|
5313 |
+
* @param {Object} object The object to query.
|
5314 |
+
* @returns {Array} Returns the array of property names.
|
5315 |
+
*/
|
5316 |
+
function nativeKeysIn(object) {
|
5317 |
+
var result = [];
|
5318 |
+
if (object != null) {
|
5319 |
+
for (var key in Object(object)) {
|
5320 |
+
result.push(key);
|
5321 |
+
}
|
5322 |
+
}
|
5323 |
+
return result;
|
5324 |
+
}
|
5325 |
+
|
5326 |
+
module.exports = nativeKeysIn;
|
5327 |
+
|
5328 |
+
|
5329 |
+
/***/ }),
|
5330 |
+
|
5331 |
+
/***/ "./node_modules/lodash/_nodeUtil.js":
|
5332 |
+
/*!******************************************!*\
|
5333 |
+
!*** ./node_modules/lodash/_nodeUtil.js ***!
|
5334 |
+
\******************************************/
|
5335 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5336 |
+
|
5337 |
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
5338 |
+
var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ "./node_modules/lodash/_freeGlobal.js");
|
5339 |
+
|
5340 |
+
/** Detect free variable `exports`. */
|
5341 |
+
var freeExports = true && exports && !exports.nodeType && exports;
|
5342 |
+
|
5343 |
+
/** Detect free variable `module`. */
|
5344 |
+
var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
|
5345 |
+
|
5346 |
+
/** Detect the popular CommonJS extension `module.exports`. */
|
5347 |
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
5348 |
+
|
5349 |
+
/** Detect free variable `process` from Node.js. */
|
5350 |
+
var freeProcess = moduleExports && freeGlobal.process;
|
5351 |
+
|
5352 |
+
/** Used to access faster Node.js helpers. */
|
5353 |
+
var nodeUtil = (function() {
|
5354 |
+
try {
|
5355 |
+
// Use `util.types` for Node.js 10+.
|
5356 |
+
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
5357 |
+
|
5358 |
+
if (types) {
|
5359 |
+
return types;
|
5360 |
+
}
|
5361 |
+
|
5362 |
+
// Legacy `process.binding('util')` for Node.js < 10.
|
5363 |
+
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
5364 |
+
} catch (e) {}
|
5365 |
+
}());
|
5366 |
+
|
5367 |
+
module.exports = nodeUtil;
|
5368 |
+
|
5369 |
+
|
5370 |
+
/***/ }),
|
5371 |
+
|
5372 |
+
/***/ "./node_modules/lodash/_objectToString.js":
|
5373 |
+
/*!************************************************!*\
|
5374 |
+
!*** ./node_modules/lodash/_objectToString.js ***!
|
5375 |
+
\************************************************/
|
5376 |
+
/***/ (function(module) {
|
5377 |
+
|
5378 |
+
/** Used for built-in method references. */
|
5379 |
+
var objectProto = Object.prototype;
|
5380 |
+
|
5381 |
+
/**
|
5382 |
+
* Used to resolve the
|
5383 |
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
5384 |
+
* of values.
|
5385 |
+
*/
|
5386 |
+
var nativeObjectToString = objectProto.toString;
|
5387 |
+
|
5388 |
+
/**
|
5389 |
+
* Converts `value` to a string using `Object.prototype.toString`.
|
5390 |
+
*
|
5391 |
+
* @private
|
5392 |
+
* @param {*} value The value to convert.
|
5393 |
+
* @returns {string} Returns the converted string.
|
5394 |
+
*/
|
5395 |
+
function objectToString(value) {
|
5396 |
+
return nativeObjectToString.call(value);
|
5397 |
+
}
|
5398 |
+
|
5399 |
+
module.exports = objectToString;
|
5400 |
+
|
5401 |
+
|
5402 |
+
/***/ }),
|
5403 |
+
|
5404 |
+
/***/ "./node_modules/lodash/_overArg.js":
|
5405 |
+
/*!*****************************************!*\
|
5406 |
+
!*** ./node_modules/lodash/_overArg.js ***!
|
5407 |
+
\*****************************************/
|
5408 |
+
/***/ (function(module) {
|
5409 |
+
|
5410 |
+
/**
|
5411 |
+
* Creates a unary function that invokes `func` with its argument transformed.
|
5412 |
+
*
|
5413 |
+
* @private
|
5414 |
+
* @param {Function} func The function to wrap.
|
5415 |
+
* @param {Function} transform The argument transform.
|
5416 |
+
* @returns {Function} Returns the new function.
|
5417 |
+
*/
|
5418 |
+
function overArg(func, transform) {
|
5419 |
+
return function(arg) {
|
5420 |
+
return func(transform(arg));
|
5421 |
+
};
|
5422 |
+
}
|
5423 |
+
|
5424 |
+
module.exports = overArg;
|
5425 |
+
|
5426 |
+
|
5427 |
+
/***/ }),
|
5428 |
+
|
5429 |
+
/***/ "./node_modules/lodash/_root.js":
|
5430 |
+
/*!**************************************!*\
|
5431 |
+
!*** ./node_modules/lodash/_root.js ***!
|
5432 |
+
\**************************************/
|
5433 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5434 |
+
|
5435 |
+
var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ "./node_modules/lodash/_freeGlobal.js");
|
5436 |
+
|
5437 |
+
/** Detect free variable `self`. */
|
5438 |
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
5439 |
+
|
5440 |
+
/** Used as a reference to the global object. */
|
5441 |
+
var root = freeGlobal || freeSelf || Function('return this')();
|
5442 |
+
|
5443 |
+
module.exports = root;
|
5444 |
+
|
5445 |
+
|
5446 |
+
/***/ }),
|
5447 |
+
|
5448 |
+
/***/ "./node_modules/lodash/_setCacheAdd.js":
|
5449 |
+
/*!*********************************************!*\
|
5450 |
+
!*** ./node_modules/lodash/_setCacheAdd.js ***!
|
5451 |
+
\*********************************************/
|
5452 |
+
/***/ (function(module) {
|
5453 |
+
|
5454 |
+
/** Used to stand-in for `undefined` hash values. */
|
5455 |
+
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
5456 |
+
|
5457 |
+
/**
|
5458 |
+
* Adds `value` to the array cache.
|
5459 |
+
*
|
5460 |
+
* @private
|
5461 |
+
* @name add
|
5462 |
+
* @memberOf SetCache
|
5463 |
+
* @alias push
|
5464 |
+
* @param {*} value The value to cache.
|
5465 |
+
* @returns {Object} Returns the cache instance.
|
5466 |
+
*/
|
5467 |
+
function setCacheAdd(value) {
|
5468 |
+
this.__data__.set(value, HASH_UNDEFINED);
|
5469 |
+
return this;
|
5470 |
+
}
|
5471 |
+
|
5472 |
+
module.exports = setCacheAdd;
|
5473 |
+
|
5474 |
+
|
5475 |
+
/***/ }),
|
5476 |
+
|
5477 |
+
/***/ "./node_modules/lodash/_setCacheHas.js":
|
5478 |
+
/*!*********************************************!*\
|
5479 |
+
!*** ./node_modules/lodash/_setCacheHas.js ***!
|
5480 |
+
\*********************************************/
|
5481 |
+
/***/ (function(module) {
|
5482 |
+
|
5483 |
+
/**
|
5484 |
+
* Checks if `value` is in the array cache.
|
5485 |
+
*
|
5486 |
+
* @private
|
5487 |
+
* @name has
|
5488 |
+
* @memberOf SetCache
|
5489 |
+
* @param {*} value The value to search for.
|
5490 |
+
* @returns {number} Returns `true` if `value` is found, else `false`.
|
5491 |
+
*/
|
5492 |
+
function setCacheHas(value) {
|
5493 |
+
return this.__data__.has(value);
|
5494 |
+
}
|
5495 |
+
|
5496 |
+
module.exports = setCacheHas;
|
5497 |
+
|
5498 |
+
|
5499 |
+
/***/ }),
|
5500 |
+
|
5501 |
+
/***/ "./node_modules/lodash/_setToArray.js":
|
5502 |
+
/*!********************************************!*\
|
5503 |
+
!*** ./node_modules/lodash/_setToArray.js ***!
|
5504 |
+
\********************************************/
|
5505 |
+
/***/ (function(module) {
|
5506 |
+
|
5507 |
+
/**
|
5508 |
+
* Converts `set` to an array of its values.
|
5509 |
+
*
|
5510 |
+
* @private
|
5511 |
+
* @param {Object} set The set to convert.
|
5512 |
+
* @returns {Array} Returns the values.
|
5513 |
+
*/
|
5514 |
+
function setToArray(set) {
|
5515 |
+
var index = -1,
|
5516 |
+
result = Array(set.size);
|
5517 |
+
|
5518 |
+
set.forEach(function(value) {
|
5519 |
+
result[++index] = value;
|
5520 |
+
});
|
5521 |
+
return result;
|
5522 |
+
}
|
5523 |
+
|
5524 |
+
module.exports = setToArray;
|
5525 |
+
|
5526 |
+
|
5527 |
+
/***/ }),
|
5528 |
+
|
5529 |
+
/***/ "./node_modules/lodash/_stackClear.js":
|
5530 |
+
/*!********************************************!*\
|
5531 |
+
!*** ./node_modules/lodash/_stackClear.js ***!
|
5532 |
+
\********************************************/
|
5533 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5534 |
+
|
5535 |
+
var ListCache = __webpack_require__(/*! ./_ListCache */ "./node_modules/lodash/_ListCache.js");
|
5536 |
+
|
5537 |
+
/**
|
5538 |
+
* Removes all key-value entries from the stack.
|
5539 |
+
*
|
5540 |
+
* @private
|
5541 |
+
* @name clear
|
5542 |
+
* @memberOf Stack
|
5543 |
+
*/
|
5544 |
+
function stackClear() {
|
5545 |
+
this.__data__ = new ListCache;
|
5546 |
+
this.size = 0;
|
5547 |
+
}
|
5548 |
+
|
5549 |
+
module.exports = stackClear;
|
5550 |
+
|
5551 |
+
|
5552 |
+
/***/ }),
|
5553 |
+
|
5554 |
+
/***/ "./node_modules/lodash/_stackDelete.js":
|
5555 |
+
/*!*********************************************!*\
|
5556 |
+
!*** ./node_modules/lodash/_stackDelete.js ***!
|
5557 |
+
\*********************************************/
|
5558 |
+
/***/ (function(module) {
|
5559 |
+
|
5560 |
+
/**
|
5561 |
+
* Removes `key` and its value from the stack.
|
5562 |
+
*
|
5563 |
+
* @private
|
5564 |
+
* @name delete
|
5565 |
+
* @memberOf Stack
|
5566 |
+
* @param {string} key The key of the value to remove.
|
5567 |
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
5568 |
+
*/
|
5569 |
+
function stackDelete(key) {
|
5570 |
+
var data = this.__data__,
|
5571 |
+
result = data['delete'](key);
|
5572 |
+
|
5573 |
+
this.size = data.size;
|
5574 |
+
return result;
|
5575 |
+
}
|
5576 |
+
|
5577 |
+
module.exports = stackDelete;
|
5578 |
+
|
5579 |
+
|
5580 |
+
/***/ }),
|
5581 |
+
|
5582 |
+
/***/ "./node_modules/lodash/_stackGet.js":
|
5583 |
+
/*!******************************************!*\
|
5584 |
+
!*** ./node_modules/lodash/_stackGet.js ***!
|
5585 |
+
\******************************************/
|
5586 |
+
/***/ (function(module) {
|
5587 |
+
|
5588 |
+
/**
|
5589 |
+
* Gets the stack value for `key`.
|
5590 |
+
*
|
5591 |
+
* @private
|
5592 |
+
* @name get
|
5593 |
+
* @memberOf Stack
|
5594 |
+
* @param {string} key The key of the value to get.
|
5595 |
+
* @returns {*} Returns the entry value.
|
5596 |
+
*/
|
5597 |
+
function stackGet(key) {
|
5598 |
+
return this.__data__.get(key);
|
5599 |
+
}
|
5600 |
+
|
5601 |
+
module.exports = stackGet;
|
5602 |
+
|
5603 |
+
|
5604 |
+
/***/ }),
|
5605 |
+
|
5606 |
+
/***/ "./node_modules/lodash/_stackHas.js":
|
5607 |
+
/*!******************************************!*\
|
5608 |
+
!*** ./node_modules/lodash/_stackHas.js ***!
|
5609 |
+
\******************************************/
|
5610 |
+
/***/ (function(module) {
|
5611 |
+
|
5612 |
+
/**
|
5613 |
+
* Checks if a stack value for `key` exists.
|
5614 |
+
*
|
5615 |
+
* @private
|
5616 |
+
* @name has
|
5617 |
+
* @memberOf Stack
|
5618 |
+
* @param {string} key The key of the entry to check.
|
5619 |
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
5620 |
+
*/
|
5621 |
+
function stackHas(key) {
|
5622 |
+
return this.__data__.has(key);
|
5623 |
+
}
|
5624 |
+
|
5625 |
+
module.exports = stackHas;
|
5626 |
+
|
5627 |
+
|
5628 |
+
/***/ }),
|
5629 |
+
|
5630 |
+
/***/ "./node_modules/lodash/_stackSet.js":
|
5631 |
+
/*!******************************************!*\
|
5632 |
+
!*** ./node_modules/lodash/_stackSet.js ***!
|
5633 |
+
\******************************************/
|
5634 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5635 |
+
|
5636 |
+
var ListCache = __webpack_require__(/*! ./_ListCache */ "./node_modules/lodash/_ListCache.js"),
|
5637 |
+
Map = __webpack_require__(/*! ./_Map */ "./node_modules/lodash/_Map.js"),
|
5638 |
+
MapCache = __webpack_require__(/*! ./_MapCache */ "./node_modules/lodash/_MapCache.js");
|
5639 |
+
|
5640 |
+
/** Used as the size to enable large array optimizations. */
|
5641 |
+
var LARGE_ARRAY_SIZE = 200;
|
5642 |
+
|
5643 |
+
/**
|
5644 |
+
* Sets the stack `key` to `value`.
|
5645 |
+
*
|
5646 |
+
* @private
|
5647 |
+
* @name set
|
5648 |
+
* @memberOf Stack
|
5649 |
+
* @param {string} key The key of the value to set.
|
5650 |
+
* @param {*} value The value to set.
|
5651 |
+
* @returns {Object} Returns the stack cache instance.
|
5652 |
+
*/
|
5653 |
+
function stackSet(key, value) {
|
5654 |
+
var data = this.__data__;
|
5655 |
+
if (data instanceof ListCache) {
|
5656 |
+
var pairs = data.__data__;
|
5657 |
+
if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
|
5658 |
+
pairs.push([key, value]);
|
5659 |
+
this.size = ++data.size;
|
5660 |
+
return this;
|
5661 |
+
}
|
5662 |
+
data = this.__data__ = new MapCache(pairs);
|
5663 |
+
}
|
5664 |
+
data.set(key, value);
|
5665 |
+
this.size = data.size;
|
5666 |
+
return this;
|
5667 |
+
}
|
5668 |
+
|
5669 |
+
module.exports = stackSet;
|
5670 |
+
|
5671 |
+
|
5672 |
+
/***/ }),
|
5673 |
+
|
5674 |
+
/***/ "./node_modules/lodash/_stringToPath.js":
|
5675 |
+
/*!**********************************************!*\
|
5676 |
+
!*** ./node_modules/lodash/_stringToPath.js ***!
|
5677 |
+
\**********************************************/
|
5678 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5679 |
+
|
5680 |
+
var memoizeCapped = __webpack_require__(/*! ./_memoizeCapped */ "./node_modules/lodash/_memoizeCapped.js");
|
5681 |
+
|
5682 |
+
/** Used to match property names within property paths. */
|
5683 |
+
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
5684 |
+
|
5685 |
+
/** Used to match backslashes in property paths. */
|
5686 |
+
var reEscapeChar = /\\(\\)?/g;
|
5687 |
+
|
5688 |
+
/**
|
5689 |
+
* Converts `string` to a property path array.
|
5690 |
+
*
|
5691 |
+
* @private
|
5692 |
+
* @param {string} string The string to convert.
|
5693 |
+
* @returns {Array} Returns the property path array.
|
5694 |
+
*/
|
5695 |
+
var stringToPath = memoizeCapped(function(string) {
|
5696 |
+
var result = [];
|
5697 |
+
if (string.charCodeAt(0) === 46 /* . */) {
|
5698 |
+
result.push('');
|
5699 |
+
}
|
5700 |
+
string.replace(rePropName, function(match, number, quote, subString) {
|
5701 |
+
result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
|
5702 |
+
});
|
5703 |
+
return result;
|
5704 |
+
});
|
5705 |
+
|
5706 |
+
module.exports = stringToPath;
|
5707 |
+
|
5708 |
+
|
5709 |
+
/***/ }),
|
5710 |
+
|
5711 |
+
/***/ "./node_modules/lodash/_toKey.js":
|
5712 |
+
/*!***************************************!*\
|
5713 |
+
!*** ./node_modules/lodash/_toKey.js ***!
|
5714 |
+
\***************************************/
|
5715 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5716 |
+
|
5717 |
+
var isSymbol = __webpack_require__(/*! ./isSymbol */ "./node_modules/lodash/isSymbol.js");
|
5718 |
+
|
5719 |
+
/** Used as references for various `Number` constants. */
|
5720 |
+
var INFINITY = 1 / 0;
|
5721 |
+
|
5722 |
+
/**
|
5723 |
+
* Converts `value` to a string key if it's not a string or symbol.
|
5724 |
+
*
|
5725 |
+
* @private
|
5726 |
+
* @param {*} value The value to inspect.
|
5727 |
+
* @returns {string|symbol} Returns the key.
|
5728 |
+
*/
|
5729 |
+
function toKey(value) {
|
5730 |
+
if (typeof value == 'string' || isSymbol(value)) {
|
5731 |
+
return value;
|
5732 |
+
}
|
5733 |
+
var result = (value + '');
|
5734 |
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
5735 |
+
}
|
5736 |
+
|
5737 |
+
module.exports = toKey;
|
5738 |
+
|
5739 |
+
|
5740 |
+
/***/ }),
|
5741 |
+
|
5742 |
+
/***/ "./node_modules/lodash/_toSource.js":
|
5743 |
+
/*!******************************************!*\
|
5744 |
+
!*** ./node_modules/lodash/_toSource.js ***!
|
5745 |
+
\******************************************/
|
5746 |
+
/***/ (function(module) {
|
5747 |
+
|
5748 |
+
/** Used for built-in method references. */
|
5749 |
+
var funcProto = Function.prototype;
|
5750 |
+
|
5751 |
+
/** Used to resolve the decompiled source of functions. */
|
5752 |
+
var funcToString = funcProto.toString;
|
5753 |
+
|
5754 |
+
/**
|
5755 |
+
* Converts `func` to its source code.
|
5756 |
+
*
|
5757 |
+
* @private
|
5758 |
+
* @param {Function} func The function to convert.
|
5759 |
+
* @returns {string} Returns the source code.
|
5760 |
+
*/
|
5761 |
+
function toSource(func) {
|
5762 |
+
if (func != null) {
|
5763 |
+
try {
|
5764 |
+
return funcToString.call(func);
|
5765 |
+
} catch (e) {}
|
5766 |
+
try {
|
5767 |
+
return (func + '');
|
5768 |
+
} catch (e) {}
|
5769 |
+
}
|
5770 |
+
return '';
|
5771 |
+
}
|
5772 |
+
|
5773 |
+
module.exports = toSource;
|
5774 |
+
|
5775 |
+
|
5776 |
+
/***/ }),
|
5777 |
+
|
5778 |
+
/***/ "./node_modules/lodash/cloneDeep.js":
|
5779 |
+
/*!******************************************!*\
|
5780 |
+
!*** ./node_modules/lodash/cloneDeep.js ***!
|
5781 |
+
\******************************************/
|
5782 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5783 |
+
|
5784 |
+
var baseClone = __webpack_require__(/*! ./_baseClone */ "./node_modules/lodash/_baseClone.js");
|
5785 |
+
|
5786 |
+
/** Used to compose bitmasks for cloning. */
|
5787 |
+
var CLONE_DEEP_FLAG = 1,
|
5788 |
+
CLONE_SYMBOLS_FLAG = 4;
|
5789 |
+
|
5790 |
+
/**
|
5791 |
+
* This method is like `_.clone` except that it recursively clones `value`.
|
5792 |
+
*
|
5793 |
+
* @static
|
5794 |
+
* @memberOf _
|
5795 |
+
* @since 1.0.0
|
5796 |
+
* @category Lang
|
5797 |
+
* @param {*} value The value to recursively clone.
|
5798 |
+
* @returns {*} Returns the deep cloned value.
|
5799 |
+
* @see _.clone
|
5800 |
+
* @example
|
5801 |
+
*
|
5802 |
+
* var objects = [{ 'a': 1 }, { 'b': 2 }];
|
5803 |
+
*
|
5804 |
+
* var deep = _.cloneDeep(objects);
|
5805 |
+
* console.log(deep[0] === objects[0]);
|
5806 |
+
* // => false
|
5807 |
+
*/
|
5808 |
+
function cloneDeep(value) {
|
5809 |
+
return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
|
5810 |
+
}
|
5811 |
+
|
5812 |
+
module.exports = cloneDeep;
|
5813 |
+
|
5814 |
+
|
5815 |
+
/***/ }),
|
5816 |
+
|
5817 |
+
/***/ "./node_modules/lodash/eq.js":
|
5818 |
+
/*!***********************************!*\
|
5819 |
+
!*** ./node_modules/lodash/eq.js ***!
|
5820 |
+
\***********************************/
|
5821 |
+
/***/ (function(module) {
|
5822 |
+
|
5823 |
+
/**
|
5824 |
+
* Performs a
|
5825 |
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
5826 |
+
* comparison between two values to determine if they are equivalent.
|
5827 |
+
*
|
5828 |
+
* @static
|
5829 |
+
* @memberOf _
|
5830 |
+
* @since 4.0.0
|
5831 |
+
* @category Lang
|
5832 |
+
* @param {*} value The value to compare.
|
5833 |
+
* @param {*} other The other value to compare.
|
5834 |
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
5835 |
+
* @example
|
5836 |
+
*
|
5837 |
+
* var object = { 'a': 1 };
|
5838 |
+
* var other = { 'a': 1 };
|
5839 |
+
*
|
5840 |
+
* _.eq(object, object);
|
5841 |
+
* // => true
|
5842 |
+
*
|
5843 |
+
* _.eq(object, other);
|
5844 |
+
* // => false
|
5845 |
+
*
|
5846 |
+
* _.eq('a', 'a');
|
5847 |
+
* // => true
|
5848 |
+
*
|
5849 |
+
* _.eq('a', Object('a'));
|
5850 |
+
* // => false
|
5851 |
+
*
|
5852 |
+
* _.eq(NaN, NaN);
|
5853 |
+
* // => true
|
5854 |
+
*/
|
5855 |
+
function eq(value, other) {
|
5856 |
+
return value === other || (value !== value && other !== other);
|
5857 |
+
}
|
5858 |
+
|
5859 |
+
module.exports = eq;
|
5860 |
+
|
5861 |
+
|
5862 |
+
/***/ }),
|
5863 |
+
|
5864 |
+
/***/ "./node_modules/lodash/forOwn.js":
|
5865 |
+
/*!***************************************!*\
|
5866 |
+
!*** ./node_modules/lodash/forOwn.js ***!
|
5867 |
+
\***************************************/
|
5868 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5869 |
+
|
5870 |
+
var baseForOwn = __webpack_require__(/*! ./_baseForOwn */ "./node_modules/lodash/_baseForOwn.js"),
|
5871 |
+
castFunction = __webpack_require__(/*! ./_castFunction */ "./node_modules/lodash/_castFunction.js");
|
5872 |
+
|
5873 |
+
/**
|
5874 |
+
* Iterates over own enumerable string keyed properties of an object and
|
5875 |
+
* invokes `iteratee` for each property. The iteratee is invoked with three
|
5876 |
+
* arguments: (value, key, object). Iteratee functions may exit iteration
|
5877 |
+
* early by explicitly returning `false`.
|
5878 |
+
*
|
5879 |
+
* @static
|
5880 |
+
* @memberOf _
|
5881 |
+
* @since 0.3.0
|
5882 |
+
* @category Object
|
5883 |
+
* @param {Object} object The object to iterate over.
|
5884 |
+
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
5885 |
+
* @returns {Object} Returns `object`.
|
5886 |
+
* @see _.forOwnRight
|
5887 |
+
* @example
|
5888 |
+
*
|
5889 |
+
* function Foo() {
|
5890 |
+
* this.a = 1;
|
5891 |
+
* this.b = 2;
|
5892 |
+
* }
|
5893 |
+
*
|
5894 |
+
* Foo.prototype.c = 3;
|
5895 |
+
*
|
5896 |
+
* _.forOwn(new Foo, function(value, key) {
|
5897 |
+
* console.log(key);
|
5898 |
+
* });
|
5899 |
+
* // => Logs 'a' then 'b' (iteration order is not guaranteed).
|
5900 |
+
*/
|
5901 |
+
function forOwn(object, iteratee) {
|
5902 |
+
return object && baseForOwn(object, castFunction(iteratee));
|
5903 |
+
}
|
5904 |
+
|
5905 |
+
module.exports = forOwn;
|
5906 |
+
|
5907 |
+
|
5908 |
+
/***/ }),
|
5909 |
+
|
5910 |
+
/***/ "./node_modules/lodash/get.js":
|
5911 |
+
/*!************************************!*\
|
5912 |
+
!*** ./node_modules/lodash/get.js ***!
|
5913 |
+
\************************************/
|
5914 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5915 |
+
|
5916 |
+
var baseGet = __webpack_require__(/*! ./_baseGet */ "./node_modules/lodash/_baseGet.js");
|
5917 |
+
|
5918 |
+
/**
|
5919 |
+
* Gets the value at `path` of `object`. If the resolved value is
|
5920 |
+
* `undefined`, the `defaultValue` is returned in its place.
|
5921 |
+
*
|
5922 |
+
* @static
|
5923 |
+
* @memberOf _
|
5924 |
+
* @since 3.7.0
|
5925 |
+
* @category Object
|
5926 |
+
* @param {Object} object The object to query.
|
5927 |
+
* @param {Array|string} path The path of the property to get.
|
5928 |
+
* @param {*} [defaultValue] The value returned for `undefined` resolved values.
|
5929 |
+
* @returns {*} Returns the resolved value.
|
5930 |
+
* @example
|
5931 |
+
*
|
5932 |
+
* var object = { 'a': [{ 'b': { 'c': 3 } }] };
|
5933 |
+
*
|
5934 |
+
* _.get(object, 'a[0].b.c');
|
5935 |
+
* // => 3
|
5936 |
+
*
|
5937 |
+
* _.get(object, ['a', '0', 'b', 'c']);
|
5938 |
+
* // => 3
|
5939 |
+
*
|
5940 |
+
* _.get(object, 'a.b.c', 'default');
|
5941 |
+
* // => 'default'
|
5942 |
+
*/
|
5943 |
+
function get(object, path, defaultValue) {
|
5944 |
+
var result = object == null ? undefined : baseGet(object, path);
|
5945 |
+
return result === undefined ? defaultValue : result;
|
5946 |
+
}
|
5947 |
+
|
5948 |
+
module.exports = get;
|
5949 |
+
|
5950 |
+
|
5951 |
+
/***/ }),
|
5952 |
+
|
5953 |
+
/***/ "./node_modules/lodash/hasIn.js":
|
5954 |
+
/*!**************************************!*\
|
5955 |
+
!*** ./node_modules/lodash/hasIn.js ***!
|
5956 |
+
\**************************************/
|
5957 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5958 |
+
|
5959 |
+
var baseHasIn = __webpack_require__(/*! ./_baseHasIn */ "./node_modules/lodash/_baseHasIn.js"),
|
5960 |
+
hasPath = __webpack_require__(/*! ./_hasPath */ "./node_modules/lodash/_hasPath.js");
|
5961 |
+
|
5962 |
+
/**
|
5963 |
+
* Checks if `path` is a direct or inherited property of `object`.
|
5964 |
+
*
|
5965 |
+
* @static
|
5966 |
+
* @memberOf _
|
5967 |
+
* @since 4.0.0
|
5968 |
+
* @category Object
|
5969 |
+
* @param {Object} object The object to query.
|
5970 |
+
* @param {Array|string} path The path to check.
|
5971 |
+
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
5972 |
+
* @example
|
5973 |
+
*
|
5974 |
+
* var object = _.create({ 'a': _.create({ 'b': 2 }) });
|
5975 |
+
*
|
5976 |
+
* _.hasIn(object, 'a');
|
5977 |
+
* // => true
|
5978 |
+
*
|
5979 |
+
* _.hasIn(object, 'a.b');
|
5980 |
+
* // => true
|
5981 |
+
*
|
5982 |
+
* _.hasIn(object, ['a', 'b']);
|
5983 |
+
* // => true
|
5984 |
+
*
|
5985 |
+
* _.hasIn(object, 'b');
|
5986 |
+
* // => false
|
5987 |
+
*/
|
5988 |
+
function hasIn(object, path) {
|
5989 |
+
return object != null && hasPath(object, path, baseHasIn);
|
5990 |
+
}
|
5991 |
+
|
5992 |
+
module.exports = hasIn;
|
5993 |
+
|
5994 |
+
|
5995 |
+
/***/ }),
|
5996 |
+
|
5997 |
+
/***/ "./node_modules/lodash/identity.js":
|
5998 |
+
/*!*****************************************!*\
|
5999 |
+
!*** ./node_modules/lodash/identity.js ***!
|
6000 |
+
\*****************************************/
|
6001 |
+
/***/ (function(module) {
|
6002 |
+
|
6003 |
+
/**
|
6004 |
+
* This method returns the first argument it receives.
|
6005 |
+
*
|
6006 |
+
* @static
|
6007 |
+
* @since 0.1.0
|
6008 |
+
* @memberOf _
|
6009 |
+
* @category Util
|
6010 |
+
* @param {*} value Any value.
|
6011 |
+
* @returns {*} Returns `value`.
|
6012 |
+
* @example
|
6013 |
+
*
|
6014 |
+
* var object = { 'a': 1 };
|
6015 |
+
*
|
6016 |
+
* console.log(_.identity(object) === object);
|
6017 |
+
* // => true
|
6018 |
+
*/
|
6019 |
+
function identity(value) {
|
6020 |
+
return value;
|
6021 |
+
}
|
6022 |
+
|
6023 |
+
module.exports = identity;
|
6024 |
+
|
6025 |
+
|
6026 |
+
/***/ }),
|
6027 |
+
|
6028 |
+
/***/ "./node_modules/lodash/isArguments.js":
|
6029 |
+
/*!********************************************!*\
|
6030 |
+
!*** ./node_modules/lodash/isArguments.js ***!
|
6031 |
+
\********************************************/
|
6032 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6033 |
+
|
6034 |
+
var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ "./node_modules/lodash/_baseIsArguments.js"),
|
6035 |
+
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
6036 |
+
|
6037 |
+
/** Used for built-in method references. */
|
6038 |
+
var objectProto = Object.prototype;
|
6039 |
+
|
6040 |
+
/** Used to check objects for own properties. */
|
6041 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
6042 |
+
|
6043 |
+
/** Built-in value references. */
|
6044 |
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
6045 |
+
|
6046 |
+
/**
|
6047 |
+
* Checks if `value` is likely an `arguments` object.
|
6048 |
+
*
|
6049 |
+
* @static
|
6050 |
+
* @memberOf _
|
6051 |
+
* @since 0.1.0
|
6052 |
+
* @category Lang
|
6053 |
+
* @param {*} value The value to check.
|
6054 |
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
6055 |
+
* else `false`.
|
6056 |
+
* @example
|
6057 |
+
*
|
6058 |
+
* _.isArguments(function() { return arguments; }());
|
6059 |
+
* // => true
|
6060 |
+
*
|
6061 |
+
* _.isArguments([1, 2, 3]);
|
6062 |
+
* // => false
|
6063 |
+
*/
|
6064 |
+
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
6065 |
+
return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
|
6066 |
+
!propertyIsEnumerable.call(value, 'callee');
|
6067 |
+
};
|
6068 |
+
|
6069 |
+
module.exports = isArguments;
|
6070 |
+
|
6071 |
+
|
6072 |
+
/***/ }),
|
6073 |
+
|
6074 |
+
/***/ "./node_modules/lodash/isArray.js":
|
6075 |
+
/*!****************************************!*\
|
6076 |
+
!*** ./node_modules/lodash/isArray.js ***!
|
6077 |
+
\****************************************/
|
6078 |
+
/***/ (function(module) {
|
6079 |
+
|
6080 |
+
/**
|
6081 |
+
* Checks if `value` is classified as an `Array` object.
|
6082 |
+
*
|
6083 |
+
* @static
|
6084 |
+
* @memberOf _
|
6085 |
+
* @since 0.1.0
|
6086 |
+
* @category Lang
|
6087 |
+
* @param {*} value The value to check.
|
6088 |
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
6089 |
+
* @example
|
6090 |
+
*
|
6091 |
+
* _.isArray([1, 2, 3]);
|
6092 |
+
* // => true
|
6093 |
+
*
|
6094 |
+
* _.isArray(document.body.children);
|
6095 |
+
* // => false
|
6096 |
+
*
|
6097 |
+
* _.isArray('abc');
|
6098 |
+
* // => false
|
6099 |
+
*
|
6100 |
+
* _.isArray(_.noop);
|
6101 |
+
* // => false
|
6102 |
+
*/
|
6103 |
+
var isArray = Array.isArray;
|
6104 |
+
|
6105 |
+
module.exports = isArray;
|
6106 |
+
|
6107 |
+
|
6108 |
+
/***/ }),
|
6109 |
+
|
6110 |
+
/***/ "./node_modules/lodash/isArrayLike.js":
|
6111 |
+
/*!********************************************!*\
|
6112 |
+
!*** ./node_modules/lodash/isArrayLike.js ***!
|
6113 |
+
\********************************************/
|
6114 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6115 |
+
|
6116 |
+
var isFunction = __webpack_require__(/*! ./isFunction */ "./node_modules/lodash/isFunction.js"),
|
6117 |
+
isLength = __webpack_require__(/*! ./isLength */ "./node_modules/lodash/isLength.js");
|
6118 |
+
|
6119 |
+
/**
|
6120 |
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
6121 |
+
* not a function and has a `value.length` that's an integer greater than or
|
6122 |
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
6123 |
+
*
|
6124 |
+
* @static
|
6125 |
+
* @memberOf _
|
6126 |
+
* @since 4.0.0
|
6127 |
+
* @category Lang
|
6128 |
+
* @param {*} value The value to check.
|
6129 |
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
6130 |
+
* @example
|
6131 |
+
*
|
6132 |
+
* _.isArrayLike([1, 2, 3]);
|
6133 |
+
* // => true
|
6134 |
+
*
|
6135 |
+
* _.isArrayLike(document.body.children);
|
6136 |
+
* // => true
|
6137 |
+
*
|
6138 |
+
* _.isArrayLike('abc');
|
6139 |
+
* // => true
|
6140 |
+
*
|
6141 |
+
* _.isArrayLike(_.noop);
|
6142 |
+
* // => false
|
6143 |
+
*/
|
6144 |
+
function isArrayLike(value) {
|
6145 |
+
return value != null && isLength(value.length) && !isFunction(value);
|
6146 |
+
}
|
6147 |
+
|
6148 |
+
module.exports = isArrayLike;
|
6149 |
+
|
6150 |
+
|
6151 |
+
/***/ }),
|
6152 |
+
|
6153 |
+
/***/ "./node_modules/lodash/isBuffer.js":
|
6154 |
+
/*!*****************************************!*\
|
6155 |
+
!*** ./node_modules/lodash/isBuffer.js ***!
|
6156 |
+
\*****************************************/
|
6157 |
+
/***/ (function(module, exports, __webpack_require__) {
|
6158 |
+
|
6159 |
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
6160 |
+
var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js"),
|
6161 |
+
stubFalse = __webpack_require__(/*! ./stubFalse */ "./node_modules/lodash/stubFalse.js");
|
6162 |
+
|
6163 |
+
/** Detect free variable `exports`. */
|
6164 |
+
var freeExports = true && exports && !exports.nodeType && exports;
|
6165 |
+
|
6166 |
+
/** Detect free variable `module`. */
|
6167 |
+
var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
|
6168 |
+
|
6169 |
+
/** Detect the popular CommonJS extension `module.exports`. */
|
6170 |
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
6171 |
+
|
6172 |
+
/** Built-in value references. */
|
6173 |
+
var Buffer = moduleExports ? root.Buffer : undefined;
|
6174 |
+
|
6175 |
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
6176 |
+
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
6177 |
+
|
6178 |
+
/**
|
6179 |
+
* Checks if `value` is a buffer.
|
6180 |
+
*
|
6181 |
+
* @static
|
6182 |
+
* @memberOf _
|
6183 |
+
* @since 4.3.0
|
6184 |
+
* @category Lang
|
6185 |
+
* @param {*} value The value to check.
|
6186 |
+
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
6187 |
+
* @example
|
6188 |
+
*
|
6189 |
+
* _.isBuffer(new Buffer(2));
|
6190 |
+
* // => true
|
6191 |
+
*
|
6192 |
+
* _.isBuffer(new Uint8Array(2));
|
6193 |
+
* // => false
|
6194 |
+
*/
|
6195 |
+
var isBuffer = nativeIsBuffer || stubFalse;
|
6196 |
+
|
6197 |
+
module.exports = isBuffer;
|
6198 |
+
|
6199 |
+
|
6200 |
+
/***/ }),
|
6201 |
+
|
6202 |
+
/***/ "./node_modules/lodash/isFunction.js":
|
6203 |
+
/*!*******************************************!*\
|
6204 |
+
!*** ./node_modules/lodash/isFunction.js ***!
|
6205 |
+
\*******************************************/
|
6206 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6207 |
+
|
6208 |
+
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
6209 |
+
isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js");
|
6210 |
+
|
6211 |
+
/** `Object#toString` result references. */
|
6212 |
+
var asyncTag = '[object AsyncFunction]',
|
6213 |
+
funcTag = '[object Function]',
|
6214 |
+
genTag = '[object GeneratorFunction]',
|
6215 |
+
proxyTag = '[object Proxy]';
|
6216 |
+
|
6217 |
+
/**
|
6218 |
+
* Checks if `value` is classified as a `Function` object.
|
6219 |
+
*
|
6220 |
+
* @static
|
6221 |
+
* @memberOf _
|
6222 |
+
* @since 0.1.0
|
6223 |
+
* @category Lang
|
6224 |
+
* @param {*} value The value to check.
|
6225 |
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
6226 |
+
* @example
|
6227 |
+
*
|
6228 |
+
* _.isFunction(_);
|
6229 |
+
* // => true
|
6230 |
+
*
|
6231 |
+
* _.isFunction(/abc/);
|
6232 |
+
* // => false
|
6233 |
+
*/
|
6234 |
+
function isFunction(value) {
|
6235 |
+
if (!isObject(value)) {
|
6236 |
+
return false;
|
6237 |
+
}
|
6238 |
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
6239 |
+
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
6240 |
+
var tag = baseGetTag(value);
|
6241 |
+
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
6242 |
+
}
|
6243 |
+
|
6244 |
+
module.exports = isFunction;
|
6245 |
+
|
6246 |
+
|
6247 |
+
/***/ }),
|
6248 |
+
|
6249 |
+
/***/ "./node_modules/lodash/isLength.js":
|
6250 |
+
/*!*****************************************!*\
|
6251 |
+
!*** ./node_modules/lodash/isLength.js ***!
|
6252 |
+
\*****************************************/
|
6253 |
+
/***/ (function(module) {
|
6254 |
+
|
6255 |
+
/** Used as references for various `Number` constants. */
|
6256 |
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
6257 |
+
|
6258 |
+
/**
|
6259 |
+
* Checks if `value` is a valid array-like length.
|
6260 |
+
*
|
6261 |
+
* **Note:** This method is loosely based on
|
6262 |
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
6263 |
+
*
|
6264 |
+
* @static
|
6265 |
+
* @memberOf _
|
6266 |
+
* @since 4.0.0
|
6267 |
+
* @category Lang
|
6268 |
+
* @param {*} value The value to check.
|
6269 |
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
6270 |
+
* @example
|
6271 |
+
*
|
6272 |
+
* _.isLength(3);
|
6273 |
+
* // => true
|
6274 |
+
*
|
6275 |
+
* _.isLength(Number.MIN_VALUE);
|
6276 |
+
* // => false
|
6277 |
+
*
|
6278 |
+
* _.isLength(Infinity);
|
6279 |
+
* // => false
|
6280 |
+
*
|
6281 |
+
* _.isLength('3');
|
6282 |
+
* // => false
|
6283 |
+
*/
|
6284 |
+
function isLength(value) {
|
6285 |
+
return typeof value == 'number' &&
|
6286 |
+
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
6287 |
+
}
|
6288 |
+
|
6289 |
+
module.exports = isLength;
|
6290 |
+
|
6291 |
+
|
6292 |
+
/***/ }),
|
6293 |
+
|
6294 |
+
/***/ "./node_modules/lodash/isMap.js":
|
6295 |
+
/*!**************************************!*\
|
6296 |
+
!*** ./node_modules/lodash/isMap.js ***!
|
6297 |
+
\**************************************/
|
6298 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6299 |
+
|
6300 |
+
var baseIsMap = __webpack_require__(/*! ./_baseIsMap */ "./node_modules/lodash/_baseIsMap.js"),
|
6301 |
+
baseUnary = __webpack_require__(/*! ./_baseUnary */ "./node_modules/lodash/_baseUnary.js"),
|
6302 |
+
nodeUtil = __webpack_require__(/*! ./_nodeUtil */ "./node_modules/lodash/_nodeUtil.js");
|
6303 |
+
|
6304 |
+
/* Node.js helper references. */
|
6305 |
+
var nodeIsMap = nodeUtil && nodeUtil.isMap;
|
6306 |
+
|
6307 |
+
/**
|
6308 |
+
* Checks if `value` is classified as a `Map` object.
|
6309 |
+
*
|
6310 |
+
* @static
|
6311 |
+
* @memberOf _
|
6312 |
+
* @since 4.3.0
|
6313 |
+
* @category Lang
|
6314 |
+
* @param {*} value The value to check.
|
6315 |
+
* @returns {boolean} Returns `true` if `value` is a map, else `false`.
|
6316 |
+
* @example
|
6317 |
+
*
|
6318 |
+
* _.isMap(new Map);
|
6319 |
+
* // => true
|
6320 |
+
*
|
6321 |
+
* _.isMap(new WeakMap);
|
6322 |
+
* // => false
|
6323 |
+
*/
|
6324 |
+
var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
|
6325 |
+
|
6326 |
+
module.exports = isMap;
|
6327 |
+
|
6328 |
+
|
6329 |
+
/***/ }),
|
6330 |
+
|
6331 |
+
/***/ "./node_modules/lodash/isObject.js":
|
6332 |
+
/*!*****************************************!*\
|
6333 |
+
!*** ./node_modules/lodash/isObject.js ***!
|
6334 |
+
\*****************************************/
|
6335 |
+
/***/ (function(module) {
|
6336 |
+
|
6337 |
+
/**
|
6338 |
+
* Checks if `value` is the
|
6339 |
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
6340 |
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
6341 |
+
*
|
6342 |
+
* @static
|
6343 |
+
* @memberOf _
|
6344 |
+
* @since 0.1.0
|
6345 |
+
* @category Lang
|
6346 |
+
* @param {*} value The value to check.
|
6347 |
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
6348 |
+
* @example
|
6349 |
+
*
|
6350 |
+
* _.isObject({});
|
6351 |
+
* // => true
|
6352 |
+
*
|
6353 |
+
* _.isObject([1, 2, 3]);
|
6354 |
+
* // => true
|
6355 |
+
*
|
6356 |
+
* _.isObject(_.noop);
|
6357 |
+
* // => true
|
6358 |
+
*
|
6359 |
+
* _.isObject(null);
|
6360 |
+
* // => false
|
6361 |
+
*/
|
6362 |
+
function isObject(value) {
|
6363 |
+
var type = typeof value;
|
6364 |
+
return value != null && (type == 'object' || type == 'function');
|
6365 |
+
}
|
6366 |
+
|
6367 |
+
module.exports = isObject;
|
6368 |
+
|
6369 |
+
|
6370 |
+
/***/ }),
|
6371 |
+
|
6372 |
+
/***/ "./node_modules/lodash/isObjectLike.js":
|
6373 |
+
/*!*********************************************!*\
|
6374 |
+
!*** ./node_modules/lodash/isObjectLike.js ***!
|
6375 |
+
\*********************************************/
|
6376 |
+
/***/ (function(module) {
|
6377 |
+
|
6378 |
+
/**
|
6379 |
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
6380 |
+
* and has a `typeof` result of "object".
|
6381 |
+
*
|
6382 |
+
* @static
|
6383 |
+
* @memberOf _
|
6384 |
+
* @since 4.0.0
|
6385 |
+
* @category Lang
|
6386 |
+
* @param {*} value The value to check.
|
6387 |
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
6388 |
+
* @example
|
6389 |
+
*
|
6390 |
+
* _.isObjectLike({});
|
6391 |
+
* // => true
|
6392 |
+
*
|
6393 |
+
* _.isObjectLike([1, 2, 3]);
|
6394 |
+
* // => true
|
6395 |
+
*
|
6396 |
+
* _.isObjectLike(_.noop);
|
6397 |
+
* // => false
|
6398 |
+
*
|
6399 |
+
* _.isObjectLike(null);
|
6400 |
+
* // => false
|
6401 |
+
*/
|
6402 |
+
function isObjectLike(value) {
|
6403 |
+
return value != null && typeof value == 'object';
|
6404 |
+
}
|
6405 |
+
|
6406 |
+
module.exports = isObjectLike;
|
6407 |
+
|
6408 |
+
|
6409 |
+
/***/ }),
|
6410 |
+
|
6411 |
+
/***/ "./node_modules/lodash/isPlainObject.js":
|
6412 |
+
/*!**********************************************!*\
|
6413 |
+
!*** ./node_modules/lodash/isPlainObject.js ***!
|
6414 |
+
\**********************************************/
|
6415 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6416 |
+
|
6417 |
+
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
6418 |
+
getPrototype = __webpack_require__(/*! ./_getPrototype */ "./node_modules/lodash/_getPrototype.js"),
|
6419 |
+
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
6420 |
+
|
6421 |
+
/** `Object#toString` result references. */
|
6422 |
+
var objectTag = '[object Object]';
|
6423 |
+
|
6424 |
+
/** Used for built-in method references. */
|
6425 |
+
var funcProto = Function.prototype,
|
6426 |
+
objectProto = Object.prototype;
|
6427 |
+
|
6428 |
+
/** Used to resolve the decompiled source of functions. */
|
6429 |
+
var funcToString = funcProto.toString;
|
6430 |
+
|
6431 |
+
/** Used to check objects for own properties. */
|
6432 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
6433 |
+
|
6434 |
+
/** Used to infer the `Object` constructor. */
|
6435 |
+
var objectCtorString = funcToString.call(Object);
|
6436 |
+
|
6437 |
+
/**
|
6438 |
+
* Checks if `value` is a plain object, that is, an object created by the
|
6439 |
+
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
6440 |
+
*
|
6441 |
+
* @static
|
6442 |
+
* @memberOf _
|
6443 |
+
* @since 0.8.0
|
6444 |
+
* @category Lang
|
6445 |
+
* @param {*} value The value to check.
|
6446 |
+
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
6447 |
+
* @example
|
6448 |
+
*
|
6449 |
+
* function Foo() {
|
6450 |
+
* this.a = 1;
|
6451 |
+
* }
|
6452 |
+
*
|
6453 |
+
* _.isPlainObject(new Foo);
|
6454 |
+
* // => false
|
6455 |
+
*
|
6456 |
+
* _.isPlainObject([1, 2, 3]);
|
6457 |
+
* // => false
|
6458 |
+
*
|
6459 |
+
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
6460 |
+
* // => true
|
6461 |
+
*
|
6462 |
+
* _.isPlainObject(Object.create(null));
|
6463 |
+
* // => true
|
6464 |
+
*/
|
6465 |
+
function isPlainObject(value) {
|
6466 |
+
if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
|
6467 |
+
return false;
|
6468 |
+
}
|
6469 |
+
var proto = getPrototype(value);
|
6470 |
+
if (proto === null) {
|
6471 |
+
return true;
|
6472 |
+
}
|
6473 |
+
var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
|
6474 |
+
return typeof Ctor == 'function' && Ctor instanceof Ctor &&
|
6475 |
+
funcToString.call(Ctor) == objectCtorString;
|
6476 |
+
}
|
6477 |
+
|
6478 |
+
module.exports = isPlainObject;
|
6479 |
+
|
6480 |
+
|
6481 |
+
/***/ }),
|
6482 |
+
|
6483 |
+
/***/ "./node_modules/lodash/isSet.js":
|
6484 |
+
/*!**************************************!*\
|
6485 |
+
!*** ./node_modules/lodash/isSet.js ***!
|
6486 |
+
\**************************************/
|
6487 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6488 |
+
|
6489 |
+
var baseIsSet = __webpack_require__(/*! ./_baseIsSet */ "./node_modules/lodash/_baseIsSet.js"),
|
6490 |
+
baseUnary = __webpack_require__(/*! ./_baseUnary */ "./node_modules/lodash/_baseUnary.js"),
|
6491 |
+
nodeUtil = __webpack_require__(/*! ./_nodeUtil */ "./node_modules/lodash/_nodeUtil.js");
|
6492 |
+
|
6493 |
+
/* Node.js helper references. */
|
6494 |
+
var nodeIsSet = nodeUtil && nodeUtil.isSet;
|
6495 |
+
|
6496 |
+
/**
|
6497 |
+
* Checks if `value` is classified as a `Set` object.
|
6498 |
+
*
|
6499 |
+
* @static
|
6500 |
+
* @memberOf _
|
6501 |
+
* @since 4.3.0
|
6502 |
+
* @category Lang
|
6503 |
+
* @param {*} value The value to check.
|
6504 |
+
* @returns {boolean} Returns `true` if `value` is a set, else `false`.
|
6505 |
+
* @example
|
6506 |
+
*
|
6507 |
+
* _.isSet(new Set);
|
6508 |
+
* // => true
|
6509 |
+
*
|
6510 |
+
* _.isSet(new WeakSet);
|
6511 |
+
* // => false
|
6512 |
+
*/
|
6513 |
+
var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
6514 |
+
|
6515 |
+
module.exports = isSet;
|
6516 |
+
|
6517 |
+
|
6518 |
+
/***/ }),
|
6519 |
+
|
6520 |
+
/***/ "./node_modules/lodash/isString.js":
|
6521 |
+
/*!*****************************************!*\
|
6522 |
+
!*** ./node_modules/lodash/isString.js ***!
|
6523 |
+
\*****************************************/
|
6524 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6525 |
+
|
6526 |
+
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
6527 |
+
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
6528 |
+
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
6529 |
+
|
6530 |
+
/** `Object#toString` result references. */
|
6531 |
+
var stringTag = '[object String]';
|
6532 |
+
|
6533 |
+
/**
|
6534 |
+
* Checks if `value` is classified as a `String` primitive or object.
|
6535 |
+
*
|
6536 |
+
* @static
|
6537 |
+
* @since 0.1.0
|
6538 |
+
* @memberOf _
|
6539 |
+
* @category Lang
|
6540 |
+
* @param {*} value The value to check.
|
6541 |
+
* @returns {boolean} Returns `true` if `value` is a string, else `false`.
|
6542 |
+
* @example
|
6543 |
+
*
|
6544 |
+
* _.isString('abc');
|
6545 |
+
* // => true
|
6546 |
+
*
|
6547 |
+
* _.isString(1);
|
6548 |
+
* // => false
|
6549 |
+
*/
|
6550 |
+
function isString(value) {
|
6551 |
+
return typeof value == 'string' ||
|
6552 |
+
(!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);
|
6553 |
+
}
|
6554 |
+
|
6555 |
+
module.exports = isString;
|
6556 |
+
|
6557 |
+
|
6558 |
+
/***/ }),
|
6559 |
+
|
6560 |
+
/***/ "./node_modules/lodash/isSymbol.js":
|
6561 |
+
/*!*****************************************!*\
|
6562 |
+
!*** ./node_modules/lodash/isSymbol.js ***!
|
6563 |
+
\*****************************************/
|
6564 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6565 |
+
|
6566 |
+
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
6567 |
+
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
6568 |
+
|
6569 |
+
/** `Object#toString` result references. */
|
6570 |
+
var symbolTag = '[object Symbol]';
|
6571 |
+
|
6572 |
+
/**
|
6573 |
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
6574 |
+
*
|
6575 |
+
* @static
|
6576 |
+
* @memberOf _
|
6577 |
+
* @since 4.0.0
|
6578 |
+
* @category Lang
|
6579 |
+
* @param {*} value The value to check.
|
6580 |
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
6581 |
+
* @example
|
6582 |
+
*
|
6583 |
+
* _.isSymbol(Symbol.iterator);
|
6584 |
+
* // => true
|
6585 |
+
*
|
6586 |
+
* _.isSymbol('abc');
|
6587 |
+
* // => false
|
6588 |
+
*/
|
6589 |
+
function isSymbol(value) {
|
6590 |
+
return typeof value == 'symbol' ||
|
6591 |
+
(isObjectLike(value) && baseGetTag(value) == symbolTag);
|
6592 |
+
}
|
6593 |
+
|
6594 |
+
module.exports = isSymbol;
|
6595 |
+
|
6596 |
+
|
6597 |
+
/***/ }),
|
6598 |
+
|
6599 |
+
/***/ "./node_modules/lodash/isTypedArray.js":
|
6600 |
+
/*!*********************************************!*\
|
6601 |
+
!*** ./node_modules/lodash/isTypedArray.js ***!
|
6602 |
+
\*********************************************/
|
6603 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6604 |
+
|
6605 |
+
var baseIsTypedArray = __webpack_require__(/*! ./_baseIsTypedArray */ "./node_modules/lodash/_baseIsTypedArray.js"),
|
6606 |
+
baseUnary = __webpack_require__(/*! ./_baseUnary */ "./node_modules/lodash/_baseUnary.js"),
|
6607 |
+
nodeUtil = __webpack_require__(/*! ./_nodeUtil */ "./node_modules/lodash/_nodeUtil.js");
|
6608 |
+
|
6609 |
+
/* Node.js helper references. */
|
6610 |
+
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
6611 |
+
|
6612 |
+
/**
|
6613 |
+
* Checks if `value` is classified as a typed array.
|
6614 |
+
*
|
6615 |
+
* @static
|
6616 |
+
* @memberOf _
|
6617 |
+
* @since 3.0.0
|
6618 |
+
* @category Lang
|
6619 |
+
* @param {*} value The value to check.
|
6620 |
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
6621 |
+
* @example
|
6622 |
+
*
|
6623 |
+
* _.isTypedArray(new Uint8Array);
|
6624 |
+
* // => true
|
6625 |
+
*
|
6626 |
+
* _.isTypedArray([]);
|
6627 |
+
* // => false
|
6628 |
+
*/
|
6629 |
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
6630 |
+
|
6631 |
+
module.exports = isTypedArray;
|
6632 |
+
|
6633 |
+
|
6634 |
+
/***/ }),
|
6635 |
+
|
6636 |
+
/***/ "./node_modules/lodash/keys.js":
|
6637 |
+
/*!*************************************!*\
|
6638 |
+
!*** ./node_modules/lodash/keys.js ***!
|
6639 |
+
\*************************************/
|
6640 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6641 |
+
|
6642 |
+
var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ "./node_modules/lodash/_arrayLikeKeys.js"),
|
6643 |
+
baseKeys = __webpack_require__(/*! ./_baseKeys */ "./node_modules/lodash/_baseKeys.js"),
|
6644 |
+
isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./node_modules/lodash/isArrayLike.js");
|
6645 |
+
|
6646 |
+
/**
|
6647 |
+
* Creates an array of the own enumerable property names of `object`.
|
6648 |
+
*
|
6649 |
+
* **Note:** Non-object values are coerced to objects. See the
|
6650 |
+
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
6651 |
+
* for more details.
|
6652 |
+
*
|
6653 |
+
* @static
|
6654 |
+
* @since 0.1.0
|
6655 |
+
* @memberOf _
|
6656 |
+
* @category Object
|
6657 |
+
* @param {Object} object The object to query.
|
6658 |
+
* @returns {Array} Returns the array of property names.
|
6659 |
+
* @example
|
6660 |
+
*
|
6661 |
+
* function Foo() {
|
6662 |
+
* this.a = 1;
|
6663 |
+
* this.b = 2;
|
6664 |
+
* }
|
6665 |
+
*
|
6666 |
+
* Foo.prototype.c = 3;
|
6667 |
+
*
|
6668 |
+
* _.keys(new Foo);
|
6669 |
+
* // => ['a', 'b'] (iteration order is not guaranteed)
|
6670 |
+
*
|
6671 |
+
* _.keys('hi');
|
6672 |
+
* // => ['0', '1']
|
6673 |
+
*/
|
6674 |
+
function keys(object) {
|
6675 |
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
6676 |
+
}
|
6677 |
+
|
6678 |
+
module.exports = keys;
|
6679 |
+
|
6680 |
+
|
6681 |
+
/***/ }),
|
6682 |
+
|
6683 |
+
/***/ "./node_modules/lodash/keysIn.js":
|
6684 |
+
/*!***************************************!*\
|
6685 |
+
!*** ./node_modules/lodash/keysIn.js ***!
|
6686 |
+
\***************************************/
|
6687 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6688 |
+
|
6689 |
+
var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ "./node_modules/lodash/_arrayLikeKeys.js"),
|
6690 |
+
baseKeysIn = __webpack_require__(/*! ./_baseKeysIn */ "./node_modules/lodash/_baseKeysIn.js"),
|
6691 |
+
isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./node_modules/lodash/isArrayLike.js");
|
6692 |
+
|
6693 |
+
/**
|
6694 |
+
* Creates an array of the own and inherited enumerable property names of `object`.
|
6695 |
+
*
|
6696 |
+
* **Note:** Non-object values are coerced to objects.
|
6697 |
+
*
|
6698 |
+
* @static
|
6699 |
+
* @memberOf _
|
6700 |
+
* @since 3.0.0
|
6701 |
+
* @category Object
|
6702 |
+
* @param {Object} object The object to query.
|
6703 |
+
* @returns {Array} Returns the array of property names.
|
6704 |
+
* @example
|
6705 |
+
*
|
6706 |
+
* function Foo() {
|
6707 |
+
* this.a = 1;
|
6708 |
+
* this.b = 2;
|
6709 |
+
* }
|
6710 |
+
*
|
6711 |
+
* Foo.prototype.c = 3;
|
6712 |
+
*
|
6713 |
+
* _.keysIn(new Foo);
|
6714 |
+
* // => ['a', 'b', 'c'] (iteration order is not guaranteed)
|
6715 |
+
*/
|
6716 |
+
function keysIn(object) {
|
6717 |
+
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
6718 |
+
}
|
6719 |
+
|
6720 |
+
module.exports = keysIn;
|
6721 |
+
|
6722 |
+
|
6723 |
+
/***/ }),
|
6724 |
+
|
6725 |
+
/***/ "./node_modules/lodash/map.js":
|
6726 |
+
/*!************************************!*\
|
6727 |
+
!*** ./node_modules/lodash/map.js ***!
|
6728 |
+
\************************************/
|
6729 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6730 |
+
|
6731 |
+
var arrayMap = __webpack_require__(/*! ./_arrayMap */ "./node_modules/lodash/_arrayMap.js"),
|
6732 |
+
baseIteratee = __webpack_require__(/*! ./_baseIteratee */ "./node_modules/lodash/_baseIteratee.js"),
|
6733 |
+
baseMap = __webpack_require__(/*! ./_baseMap */ "./node_modules/lodash/_baseMap.js"),
|
6734 |
+
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js");
|
6735 |
+
|
6736 |
+
/**
|
6737 |
+
* Creates an array of values by running each element in `collection` thru
|
6738 |
+
* `iteratee`. The iteratee is invoked with three arguments:
|
6739 |
+
* (value, index|key, collection).
|
6740 |
+
*
|
6741 |
+
* Many lodash methods are guarded to work as iteratees for methods like
|
6742 |
+
* `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
|
6743 |
+
*
|
6744 |
+
* The guarded methods are:
|
6745 |
+
* `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
|
6746 |
+
* `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
|
6747 |
+
* `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
|
6748 |
+
* `template`, `trim`, `trimEnd`, `trimStart`, and `words`
|
6749 |
+
*
|
6750 |
+
* @static
|
6751 |
+
* @memberOf _
|
6752 |
+
* @since 0.1.0
|
6753 |
+
* @category Collection
|
6754 |
+
* @param {Array|Object} collection The collection to iterate over.
|
6755 |
+
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
6756 |
+
* @returns {Array} Returns the new mapped array.
|
6757 |
+
* @example
|
6758 |
+
*
|
6759 |
+
* function square(n) {
|
6760 |
+
* return n * n;
|
6761 |
+
* }
|
6762 |
+
*
|
6763 |
+
* _.map([4, 8], square);
|
6764 |
+
* // => [16, 64]
|
6765 |
+
*
|
6766 |
+
* _.map({ 'a': 4, 'b': 8 }, square);
|
6767 |
+
* // => [16, 64] (iteration order is not guaranteed)
|
6768 |
+
*
|
6769 |
+
* var users = [
|
6770 |
+
* { 'user': 'barney' },
|
6771 |
+
* { 'user': 'fred' }
|
6772 |
+
* ];
|
6773 |
+
*
|
6774 |
+
* // The `_.property` iteratee shorthand.
|
6775 |
+
* _.map(users, 'user');
|
6776 |
+
* // => ['barney', 'fred']
|
6777 |
+
*/
|
6778 |
+
function map(collection, iteratee) {
|
6779 |
+
var func = isArray(collection) ? arrayMap : baseMap;
|
6780 |
+
return func(collection, baseIteratee(iteratee, 3));
|
6781 |
+
}
|
6782 |
+
|
6783 |
+
module.exports = map;
|
6784 |
+
|
6785 |
+
|
6786 |
+
/***/ }),
|
6787 |
+
|
6788 |
+
/***/ "./node_modules/lodash/memoize.js":
|
6789 |
+
/*!****************************************!*\
|
6790 |
+
!*** ./node_modules/lodash/memoize.js ***!
|
6791 |
+
\****************************************/
|
6792 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6793 |
+
|
6794 |
+
var MapCache = __webpack_require__(/*! ./_MapCache */ "./node_modules/lodash/_MapCache.js");
|
6795 |
+
|
6796 |
+
/** Error message constants. */
|
6797 |
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
6798 |
+
|
6799 |
+
/**
|
6800 |
+
* Creates a function that memoizes the result of `func`. If `resolver` is
|
6801 |
+
* provided, it determines the cache key for storing the result based on the
|
6802 |
+
* arguments provided to the memoized function. By default, the first argument
|
6803 |
+
* provided to the memoized function is used as the map cache key. The `func`
|
6804 |
+
* is invoked with the `this` binding of the memoized function.
|
6805 |
+
*
|
6806 |
+
* **Note:** The cache is exposed as the `cache` property on the memoized
|
6807 |
+
* function. Its creation may be customized by replacing the `_.memoize.Cache`
|
6808 |
+
* constructor with one whose instances implement the
|
6809 |
+
* [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
|
6810 |
+
* method interface of `clear`, `delete`, `get`, `has`, and `set`.
|
6811 |
+
*
|
6812 |
+
* @static
|
6813 |
+
* @memberOf _
|
6814 |
+
* @since 0.1.0
|
6815 |
+
* @category Function
|
6816 |
+
* @param {Function} func The function to have its output memoized.
|
6817 |
+
* @param {Function} [resolver] The function to resolve the cache key.
|
6818 |
+
* @returns {Function} Returns the new memoized function.
|
6819 |
+
* @example
|
6820 |
+
*
|
6821 |
+
* var object = { 'a': 1, 'b': 2 };
|
6822 |
+
* var other = { 'c': 3, 'd': 4 };
|
6823 |
+
*
|
6824 |
+
* var values = _.memoize(_.values);
|
6825 |
+
* values(object);
|
6826 |
+
* // => [1, 2]
|
6827 |
+
*
|
6828 |
+
* values(other);
|
6829 |
+
* // => [3, 4]
|
6830 |
+
*
|
6831 |
+
* object.a = 2;
|
6832 |
+
* values(object);
|
6833 |
+
* // => [1, 2]
|
6834 |
+
*
|
6835 |
+
* // Modify the result cache.
|
6836 |
+
* values.cache.set(object, ['a', 'b']);
|
6837 |
+
* values(object);
|
6838 |
+
* // => ['a', 'b']
|
6839 |
+
*
|
6840 |
+
* // Replace `_.memoize.Cache`.
|
6841 |
+
* _.memoize.Cache = WeakMap;
|
6842 |
+
*/
|
6843 |
+
function memoize(func, resolver) {
|
6844 |
+
if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
|
6845 |
+
throw new TypeError(FUNC_ERROR_TEXT);
|
6846 |
+
}
|
6847 |
+
var memoized = function() {
|
6848 |
+
var args = arguments,
|
6849 |
+
key = resolver ? resolver.apply(this, args) : args[0],
|
6850 |
+
cache = memoized.cache;
|
6851 |
+
|
6852 |
+
if (cache.has(key)) {
|
6853 |
+
return cache.get(key);
|
6854 |
+
}
|
6855 |
+
var result = func.apply(this, args);
|
6856 |
+
memoized.cache = cache.set(key, result) || cache;
|
6857 |
+
return result;
|
6858 |
+
};
|
6859 |
+
memoized.cache = new (memoize.Cache || MapCache);
|
6860 |
+
return memoized;
|
6861 |
+
}
|
6862 |
+
|
6863 |
+
// Expose `MapCache`.
|
6864 |
+
memoize.Cache = MapCache;
|
6865 |
+
|
6866 |
+
module.exports = memoize;
|
6867 |
+
|
6868 |
+
|
6869 |
+
/***/ }),
|
6870 |
+
|
6871 |
+
/***/ "./node_modules/lodash/property.js":
|
6872 |
+
/*!*****************************************!*\
|
6873 |
+
!*** ./node_modules/lodash/property.js ***!
|
6874 |
+
\*****************************************/
|
6875 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6876 |
+
|
6877 |
+
var baseProperty = __webpack_require__(/*! ./_baseProperty */ "./node_modules/lodash/_baseProperty.js"),
|
6878 |
+
basePropertyDeep = __webpack_require__(/*! ./_basePropertyDeep */ "./node_modules/lodash/_basePropertyDeep.js"),
|
6879 |
+
isKey = __webpack_require__(/*! ./_isKey */ "./node_modules/lodash/_isKey.js"),
|
6880 |
+
toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
|
6881 |
+
|
6882 |
+
/**
|
6883 |
+
* Creates a function that returns the value at `path` of a given object.
|
6884 |
+
*
|
6885 |
+
* @static
|
6886 |
+
* @memberOf _
|
6887 |
+
* @since 2.4.0
|
6888 |
+
* @category Util
|
6889 |
+
* @param {Array|string} path The path of the property to get.
|
6890 |
+
* @returns {Function} Returns the new accessor function.
|
6891 |
+
* @example
|
6892 |
+
*
|
6893 |
+
* var objects = [
|
6894 |
+
* { 'a': { 'b': 2 } },
|
6895 |
+
* { 'a': { 'b': 1 } }
|
6896 |
+
* ];
|
6897 |
+
*
|
6898 |
+
* _.map(objects, _.property('a.b'));
|
6899 |
+
* // => [2, 1]
|
6900 |
+
*
|
6901 |
+
* _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
|
6902 |
+
* // => [1, 2]
|
6903 |
+
*/
|
6904 |
+
function property(path) {
|
6905 |
+
return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
|
6906 |
+
}
|
6907 |
+
|
6908 |
+
module.exports = property;
|
6909 |
+
|
6910 |
+
|
6911 |
+
/***/ }),
|
6912 |
+
|
6913 |
+
/***/ "./node_modules/lodash/stubArray.js":
|
6914 |
+
/*!******************************************!*\
|
6915 |
+
!*** ./node_modules/lodash/stubArray.js ***!
|
6916 |
+
\******************************************/
|
6917 |
+
/***/ (function(module) {
|
6918 |
+
|
6919 |
+
/**
|
6920 |
+
* This method returns a new empty array.
|
6921 |
+
*
|
6922 |
+
* @static
|
6923 |
+
* @memberOf _
|
6924 |
+
* @since 4.13.0
|
6925 |
+
* @category Util
|
6926 |
+
* @returns {Array} Returns the new empty array.
|
6927 |
+
* @example
|
6928 |
+
*
|
6929 |
+
* var arrays = _.times(2, _.stubArray);
|
6930 |
+
*
|
6931 |
+
* console.log(arrays);
|
6932 |
+
* // => [[], []]
|
6933 |
+
*
|
6934 |
+
* console.log(arrays[0] === arrays[1]);
|
6935 |
+
* // => false
|
6936 |
+
*/
|
6937 |
+
function stubArray() {
|
6938 |
+
return [];
|
6939 |
+
}
|
6940 |
+
|
6941 |
+
module.exports = stubArray;
|
6942 |
+
|
6943 |
+
|
6944 |
+
/***/ }),
|
6945 |
+
|
6946 |
+
/***/ "./node_modules/lodash/stubFalse.js":
|
6947 |
+
/*!******************************************!*\
|
6948 |
+
!*** ./node_modules/lodash/stubFalse.js ***!
|
6949 |
+
\******************************************/
|
6950 |
+
/***/ (function(module) {
|
6951 |
+
|
6952 |
+
/**
|
6953 |
+
* This method returns `false`.
|
6954 |
+
*
|
6955 |
+
* @static
|
6956 |
+
* @memberOf _
|
6957 |
+
* @since 4.13.0
|
6958 |
+
* @category Util
|
6959 |
+
* @returns {boolean} Returns `false`.
|
6960 |
+
* @example
|
6961 |
+
*
|
6962 |
+
* _.times(2, _.stubFalse);
|
6963 |
+
* // => [false, false]
|
6964 |
+
*/
|
6965 |
+
function stubFalse() {
|
6966 |
+
return false;
|
6967 |
+
}
|
6968 |
+
|
6969 |
+
module.exports = stubFalse;
|
6970 |
+
|
6971 |
+
|
6972 |
+
/***/ }),
|
6973 |
+
|
6974 |
+
/***/ "./node_modules/lodash/toString.js":
|
6975 |
+
/*!*****************************************!*\
|
6976 |
+
!*** ./node_modules/lodash/toString.js ***!
|
6977 |
+
\*****************************************/
|
6978 |
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6979 |
+
|
6980 |
+
var baseToString = __webpack_require__(/*! ./_baseToString */ "./node_modules/lodash/_baseToString.js");
|
6981 |
+
|
6982 |
+
/**
|
6983 |
+
* Converts `value` to a string. An empty string is returned for `null`
|
6984 |
+
* and `undefined` values. The sign of `-0` is preserved.
|
6985 |
+
*
|
6986 |
+
* @static
|
6987 |
+
* @memberOf _
|
6988 |
+
* @since 4.0.0
|
6989 |
+
* @category Lang
|
6990 |
+
* @param {*} value The value to convert.
|
6991 |
+
* @returns {string} Returns the converted string.
|
6992 |
+
* @example
|
6993 |
+
*
|
6994 |
+
* _.toString(null);
|
6995 |
+
* // => ''
|
6996 |
+
*
|
6997 |
+
* _.toString(-0);
|
6998 |
+
* // => '-0'
|
6999 |
+
*
|
7000 |
+
* _.toString([1, 2, 3]);
|
7001 |
+
* // => '1,2,3'
|
7002 |
+
*/
|
7003 |
+
function toString(value) {
|
7004 |
+
return value == null ? '' : baseToString(value);
|
7005 |
+
}
|
7006 |
+
|
7007 |
+
module.exports = toString;
|
7008 |
+
|
7009 |
+
|
7010 |
+
/***/ }),
|
7011 |
+
|
7012 |
+
/***/ "./src/control.scss":
|
7013 |
+
/*!**************************!*\
|
7014 |
+
!*** ./src/control.scss ***!
|
7015 |
+
\**************************/
|
7016 |
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
7017 |
+
|
7018 |
+
"use strict";
|
7019 |
+
__webpack_require__.r(__webpack_exports__);
|
7020 |
+
// extracted by mini-css-extract-plugin
|
7021 |
+
|
7022 |
+
|
7023 |
+
/***/ }),
|
7024 |
+
|
7025 |
+
/***/ "./node_modules/react-colorful/dist/index.module.js":
|
7026 |
+
/*!**********************************************************!*\
|
7027 |
+
!*** ./node_modules/react-colorful/dist/index.module.js ***!
|
7028 |
+
\**********************************************************/
|
7029 |
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
7030 |
+
|
7031 |
+
"use strict";
|
7032 |
+
__webpack_require__.r(__webpack_exports__);
|
7033 |
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
7034 |
+
/* harmony export */ "HexColorInput": function() { return /* binding */ Ne; },
|
7035 |
+
/* harmony export */ "HexColorPicker": function() { return /* binding */ J; },
|
7036 |
+
/* harmony export */ "HslColorPicker": function() { return /* binding */ ne; },
|
7037 |
+
/* harmony export */ "HslStringColorPicker": function() { return /* binding */ ae; },
|
7038 |
+
/* harmony export */ "HslaColorPicker": function() { return /* binding */ Z; },
|
7039 |
+
/* harmony export */ "HslaStringColorPicker": function() { return /* binding */ re; },
|
7040 |
+
/* harmony export */ "HsvColorPicker": function() { return /* binding */ fe; },
|
7041 |
+
/* harmony export */ "HsvStringColorPicker": function() { return /* binding */ de; },
|
7042 |
+
/* harmony export */ "HsvaColorPicker": function() { return /* binding */ ue; },
|
7043 |
+
/* harmony export */ "HsvaStringColorPicker": function() { return /* binding */ ie; },
|
7044 |
+
/* harmony export */ "RgbColorPicker": function() { return /* binding */ _e; },
|
7045 |
+
/* harmony export */ "RgbStringColorPicker": function() { return /* binding */ Ce; },
|
7046 |
+
/* harmony export */ "RgbaColorPicker": function() { return /* binding */ me; },
|
7047 |
+
/* harmony export */ "RgbaStringColorPicker": function() { return /* binding */ pe; },
|
7048 |
+
/* harmony export */ "setNonce": function() { return /* binding */ Y; }
|
7049 |
+
/* harmony export */ });
|
7050 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
7051 |
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
7052 |
+
function u(){return(u=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function c(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r.indexOf(t=a[n])>=0||(o[t]=e[t]);return o}function i(e){var t=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(e),n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(function(e){t.current&&t.current(e)});return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e<r?r:e},f=function(e){return"touches"in e},v=function(e){return e&&e.ownerDocument.defaultView||self},d=function(e,r,t){var n=e.getBoundingClientRect(),o=f(r)?function(e,r){for(var t=0;t<e.length;t++)if(e[t].identifier===r)return e[t];return e[0]}(r.touches,t):r;return{left:s((o.pageX-(n.left+v(e).pageXOffset))/n.width),top:s((o.pageY-(n.top+v(e).pageYOffset))/n.height)}},h=function(e){!f(e)&&e.preventDefault()},m=react__WEBPACK_IMPORTED_MODULE_0___default().memo(function(o){var a=o.onMove,l=o.onKey,s=c(o,["onMove","onKey"]),m=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),g=i(a),p=i(l),b=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),_=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1),x=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function(){var e=function(e){h(e),(f(e)?e.touches.length>0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1)},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]},[p,g]),C=x[0],E=x[1],H=x[2];return (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){return H},[H]),react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))}),g=function(e){return e.filter(Boolean).join(" ")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g(["react-colorful__pointer",r.className]);return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},x=function(e){return"#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},C=function(e,r){return void 0===r&&(r="deg"),Number(e)*(_[r]||1)},E=function(e){var r=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?M({h:C(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},H=E,M=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},N=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},w=function(e){var r=N(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},y=function(e){var r=N(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},q=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},k=function(e){var r=/hsva?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?D({h:C(r[1],r[2]),s:Number(r[3]),v:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},O=k,I=function(e){var r=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?B({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=I,z=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},B=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},D=function(e){return{h:b(e.h),s:b(e.s),v:b(e.v),a:b(e.a,2)}},K=react__WEBPACK_IMPORTED_MODULE_0___default().memo(function(r){var t=r.hue,n=r.onChange,o=g(["react-colorful__hue",r.className]);return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",{className:o},react__WEBPACK_IMPORTED_MODULE_0___default().createElement(m,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:s(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":b(t)},react__WEBPACK_IMPORTED_MODULE_0___default().createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:w({h:t,s:100,v:100,a:1})})))}),L=react__WEBPACK_IMPORTED_MODULE_0___default().memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:w({h:t.h,s:100,v:100,a:1})};return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",{className:"react-colorful__saturation",style:o},react__WEBPACK_IMPORTED_MODULE_0___default().createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+b(t.s)+"%, Brightness "+b(t.v)+"%"},react__WEBPACK_IMPORTED_MODULE_0___default().createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:w(t)})))}),A=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},S=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")};function T(e,t,l){var u=i(l),c=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)({color:t,hsva:s});(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}},[t,e]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){var r;A(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))},[s,e,u]);var d=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(e){f(function(r){return Object.assign({},r,e)})},[]);return[s,d]}var F,P="undefined"!=typeof window?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect,X=function(){return F||( true?__webpack_require__.nc:0)},Y=function(e){F=e},R=new Map,V=function(e){P(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!R.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',R.set(r,t);var n=X();n&&t.setAttribute("nonce",n),r.head.appendChild(t)}},[])},$=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",u({},s,{ref:f,className:m}),react__WEBPACK_IMPORTED_MODULE_0___default().createElement(L,{hsva:d,onChange:h}),react__WEBPACK_IMPORTED_MODULE_0___default().createElement(K,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},G={defaultColor:"000",toHsva:function(e){return B(x(e))},fromHsva:function(e){return t=(r=q(e)).g,n=r.b,"#"+z(r.r)+z(t)+z(n);var r,t,n},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||A(x(e),x(r))}},J=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:G}))},Q=function(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+y(Object.assign({},n,{a:0}))+", "+y(Object.assign({},n,{a:1}))+")"},l=g(["react-colorful__alpha",t]);return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",{className:l},react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react__WEBPACK_IMPORTED_MODULE_0___default().createElement(m,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:s(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":b(100*n.a)+"%"},react__WEBPACK_IMPORTED_MODULE_0___default().createElement(p,{className:"react-colorful__alpha-pointer",left:n.a,color:y(n)})))},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",u({},s,{ref:f,className:m}),react__WEBPACK_IMPORTED_MODULE_0___default().createElement(L,{hsva:d,onChange:h}),react__WEBPACK_IMPORTED_MODULE_0___default().createElement(K,{hue:d.h,onChange:h}),react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Q,{hsva:d,onChange:h,className:"react-colorful__last-control"}))},W={defaultColor:{h:0,s:0,l:0,a:1},toHsva:M,fromHsva:N,equal:A},Z=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(U,u({},r,{colorModel:W}))},ee={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:E,fromHsva:y,equal:S},re=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(U,u({},r,{colorModel:ee}))},te={defaultColor:{h:0,s:0,l:0},toHsva:function(e){return M({h:e.h,s:e.s,l:e.l,a:1})},fromHsva:function(e){return{h:(r=N(e)).h,s:r.s,l:r.l};var r},equal:A},ne=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:te}))},oe={defaultColor:"hsl(0, 0%, 0%)",toHsva:H,fromHsva:w,equal:S},ae=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:oe}))},le={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(e){return e},fromHsva:D,equal:A},ue=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(U,u({},r,{colorModel:le}))},ce={defaultColor:"hsva(0, 0%, 0%, 1)",toHsva:k,fromHsva:function(e){var r=D(e);return"hsva("+r.h+", "+r.s+"%, "+r.v+"%, "+r.a+")"},equal:S},ie=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(U,u({},r,{colorModel:ce}))},se={defaultColor:{h:0,s:0,v:0},toHsva:function(e){return{h:e.h,s:e.s,v:e.v,a:1}},fromHsva:function(e){var r=D(e);return{h:r.h,s:r.s,v:r.v}},equal:A},fe=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:se}))},ve={defaultColor:"hsv(0, 0%, 0%)",toHsva:O,fromHsva:function(e){var r=D(e);return"hsv("+r.h+", "+r.s+"%, "+r.v+"%)"},equal:S},de=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:ve}))},he={defaultColor:{r:0,g:0,b:0,a:1},toHsva:B,fromHsva:q,equal:A},me=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(U,u({},r,{colorModel:he}))},ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:I,fromHsva:function(e){var r=q(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:S},pe=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(U,u({},r,{colorModel:ge}))},be={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return B({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){return{r:(r=q(e)).r,g:r.g,b:r.b};var r},equal:A},_e=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:be}))},xe={defaultColor:"rgb(0, 0, 0)",toHsva:j,fromHsva:function(e){var r=q(e);return"rgb("+r.r+", "+r.g+", "+r.b+")"},equal:S},Ce=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:xe}))},Ee=/^#?([0-9A-F]{3,8})$/i,He=function(r){var t=r.color,l=void 0===t?"":t,s=r.onChange,f=r.onBlur,v=r.escape,d=r.validate,h=r.format,m=r.process,g=c(r,["color","onChange","onBlur","escape","validate","format","process"]),p=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(function(){return v(l)}),b=p[0],_=p[1],x=i(s),C=i(f),E=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(e){var r=v(e.target.value);_(r),d(r)&&x(m?m(r):r)},[v,m,d,x]),H=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(e){d(e.target.value)||_(v(l)),C(e)},[l,v,d,C]);return (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){_(v(l))},[l,v]),react__WEBPACK_IMPORTED_MODULE_0___default().createElement("input",u({},g,{value:h?h(b):b,spellCheck:"false",onChange:E,onBlur:H}))},Me=function(e){return"#"+e},Ne=function(r){var t=r.prefixed,n=r.alpha,o=c(r,["prefixed","alpha"]),l=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(e){return e.replace(/([^0-9A-F]+)/gi,"").substr(0,n?8:6)},[n]),i=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(e){return function(e,r){var t=Ee.exec(e),n=t?t[1].length:0;return 3===n||6===n||!!r&&4===n||!!r&&8===n}(e,n)},[n]);return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(He,u({},o,{escape:l,format:t?Me:void 0,process:Me,validate:i}))};
|
7053 |
+
//# sourceMappingURL=index.module.js.map
|
7054 |
+
|
7055 |
+
|
7056 |
+
/***/ }),
|
7057 |
+
|
7058 |
+
/***/ "./node_modules/reactcss/lib/autoprefix.js":
|
7059 |
+
/*!*************************************************!*\
|
7060 |
+
!*** ./node_modules/reactcss/lib/autoprefix.js ***!
|
7061 |
+
\*************************************************/
|
7062 |
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
7063 |
+
|
7064 |
+
"use strict";
|
7065 |
+
|
7066 |
+
|
7067 |
+
Object.defineProperty(exports, "__esModule", ({
|
7068 |
+
value: true
|
7069 |
+
}));
|
7070 |
+
exports.autoprefix = undefined;
|
7071 |
+
|
7072 |
+
var _forOwn2 = __webpack_require__(/*! lodash/forOwn */ "./node_modules/lodash/forOwn.js");
|
7073 |
+
|
7074 |
+
var _forOwn3 = _interopRequireDefault(_forOwn2);
|
7075 |
+
|
7076 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
7077 |
+
|
7078 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
7079 |
+
|
7080 |
+
var transforms = {
|
7081 |
+
borderRadius: function borderRadius(value) {
|
7082 |
+
return {
|
7083 |
+
msBorderRadius: value,
|
7084 |
+
MozBorderRadius: value,
|
7085 |
+
OBorderRadius: value,
|
7086 |
+
WebkitBorderRadius: value,
|
7087 |
+
borderRadius: value
|
7088 |
+
};
|
7089 |
+
},
|
7090 |
+
boxShadow: function boxShadow(value) {
|
7091 |
+
return {
|
7092 |
+
msBoxShadow: value,
|
7093 |
+
MozBoxShadow: value,
|
7094 |
+
OBoxShadow: value,
|
7095 |
+
WebkitBoxShadow: value,
|
7096 |
+
boxShadow: value
|
7097 |
+
};
|
7098 |
+
},
|
7099 |
+
userSelect: function userSelect(value) {
|
7100 |
+
return {
|
7101 |
+
WebkitTouchCallout: value,
|
7102 |
+
KhtmlUserSelect: value,
|
7103 |
+
MozUserSelect: value,
|
7104 |
+
msUserSelect: value,
|
7105 |
+
WebkitUserSelect: value,
|
7106 |
+
userSelect: value
|
7107 |
+
};
|
7108 |
+
},
|
7109 |
+
|
7110 |
+
flex: function flex(value) {
|
7111 |
+
return {
|
7112 |
+
WebkitBoxFlex: value,
|
7113 |
+
MozBoxFlex: value,
|
7114 |
+
WebkitFlex: value,
|
7115 |
+
msFlex: value,
|
7116 |
+
flex: value
|
7117 |
+
};
|
7118 |
+
},
|
7119 |
+
flexBasis: function flexBasis(value) {
|
7120 |
+
return {
|
7121 |
+
WebkitFlexBasis: value,
|
7122 |
+
flexBasis: value
|
7123 |
+
};
|
7124 |
+
},
|
7125 |
+
justifyContent: function justifyContent(value) {
|
7126 |
+
return {
|
7127 |
+
WebkitJustifyContent: value,
|
7128 |
+
justifyContent: value
|
7129 |
+
};
|
7130 |
+
},
|
7131 |
+
|
7132 |
+
transition: function transition(value) {
|
7133 |
+
return {
|
7134 |
+
msTransition: value,
|
7135 |
+
MozTransition: value,
|
7136 |
+
OTransition: value,
|
7137 |
+
WebkitTransition: value,
|
7138 |
+
transition: value
|
7139 |
+
};
|
7140 |
+
},
|
7141 |
+
|
7142 |
+
transform: function transform(value) {
|
7143 |
+
return {
|
7144 |
+
msTransform: value,
|
7145 |
+
MozTransform: value,
|
7146 |
+
OTransform: value,
|
7147 |
+
WebkitTransform: value,
|
7148 |
+
transform: value
|
7149 |
+
};
|
7150 |
+
},
|
7151 |
+
absolute: function absolute(value) {
|
7152 |
+
var direction = value && value.split(' ');
|
7153 |
+
return {
|
7154 |
+
position: 'absolute',
|
7155 |
+
top: direction && direction[0],
|
7156 |
+
right: direction && direction[1],
|
7157 |
+
bottom: direction && direction[2],
|
7158 |
+
left: direction && direction[3]
|
7159 |
+
};
|
7160 |
+
},
|
7161 |
+
extend: function extend(name, otherElementStyles) {
|
7162 |
+
var otherStyle = otherElementStyles[name];
|
7163 |
+
if (otherStyle) {
|
7164 |
+
return otherStyle;
|
7165 |
+
}
|
7166 |
+
return {
|
7167 |
+
'extend': name
|
7168 |
+
};
|
7169 |
+
}
|
7170 |
+
};
|
7171 |
+
|
7172 |
+
var autoprefix = exports.autoprefix = function autoprefix(elements) {
|
7173 |
+
var prefixed = {};
|
7174 |
+
(0, _forOwn3.default)(elements, function (styles, element) {
|
7175 |
+
var expanded = {};
|
7176 |
+
(0, _forOwn3.default)(styles, function (value, key) {
|
7177 |
+
var transform = transforms[key];
|
7178 |
+
if (transform) {
|
7179 |
+
expanded = _extends({}, expanded, transform(value));
|
7180 |
+
} else {
|
7181 |
+
expanded[key] = value;
|
7182 |
+
}
|
7183 |
+
});
|
7184 |
+
prefixed[element] = expanded;
|
7185 |
+
});
|
7186 |
+
return prefixed;
|
7187 |
+
};
|
7188 |
+
|
7189 |
+
exports["default"] = autoprefix;
|
7190 |
+
|
7191 |
+
/***/ }),
|
7192 |
+
|
7193 |
+
/***/ "./node_modules/reactcss/lib/components/active.js":
|
7194 |
+
/*!********************************************************!*\
|
7195 |
+
!*** ./node_modules/reactcss/lib/components/active.js ***!
|
7196 |
+
\********************************************************/
|
7197 |
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
7198 |
+
|
7199 |
+
"use strict";
|
7200 |
+
|
7201 |
+
|
7202 |
+
Object.defineProperty(exports, "__esModule", ({
|
7203 |
+
value: true
|
7204 |
+
}));
|
7205 |
+
exports.active = undefined;
|
7206 |
+
|
7207 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
7208 |
+
|
7209 |
+
var _react = __webpack_require__(/*! react */ "react");
|
7210 |
+
|
7211 |
+
var _react2 = _interopRequireDefault(_react);
|
7212 |
+
|
7213 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
7214 |
+
|
7215 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
7216 |
+
|
7217 |
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
7218 |
+
|
7219 |
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
7220 |
+
|
7221 |
+
var active = exports.active = function active(Component) {
|
7222 |
+
var Span = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'span';
|
7223 |
+
|
7224 |
+
return function (_React$Component) {
|
7225 |
+
_inherits(Active, _React$Component);
|
7226 |
+
|
7227 |
+
function Active() {
|
7228 |
+
var _ref;
|
7229 |
+
|
7230 |
+
var _temp, _this, _ret;
|
7231 |
+
|
7232 |
+
_classCallCheck(this, Active);
|
7233 |
+
|
7234 |
+
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
7235 |
+
args[_key] = arguments[_key];
|
7236 |
+
}
|
7237 |
+
|
7238 |
+
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Active.__proto__ || Object.getPrototypeOf(Active)).call.apply(_ref, [this].concat(args))), _this), _this.state = { active: false }, _this.handleMouseDown = function () {
|
7239 |
+
return _this.setState({ active: true });
|
7240 |
+
}, _this.handleMouseUp = function () {
|
7241 |
+
return _this.setState({ active: false });
|
7242 |
+
}, _this.render = function () {
|
7243 |
+
return _react2.default.createElement(
|
7244 |
+
Span,
|
7245 |
+
{ onMouseDown: _this.handleMouseDown, onMouseUp: _this.handleMouseUp },
|
7246 |
+
_react2.default.createElement(Component, _extends({}, _this.props, _this.state))
|
7247 |
+
);
|
7248 |
+
}, _temp), _possibleConstructorReturn(_this, _ret);
|
7249 |
+
}
|
7250 |
+
|
7251 |
+
return Active;
|
7252 |
+
}(_react2.default.Component);
|
7253 |
+
};
|
7254 |
+
|
7255 |
+
exports["default"] = active;
|
7256 |
+
|
7257 |
+
/***/ }),
|
7258 |
+
|
7259 |
+
/***/ "./node_modules/reactcss/lib/components/hover.js":
|
7260 |
+
/*!*******************************************************!*\
|
7261 |
+
!*** ./node_modules/reactcss/lib/components/hover.js ***!
|
7262 |
+
\*******************************************************/
|
7263 |
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
7264 |
+
|
7265 |
+
"use strict";
|
7266 |
+
|
7267 |
+
|
7268 |
+
Object.defineProperty(exports, "__esModule", ({
|
7269 |
+
value: true
|
7270 |
+
}));
|
7271 |
+
exports.hover = undefined;
|
7272 |
+
|
7273 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
7274 |
+
|
7275 |
+
var _react = __webpack_require__(/*! react */ "react");
|
7276 |
+
|
7277 |
+
var _react2 = _interopRequireDefault(_react);
|
7278 |
+
|
7279 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
7280 |
+
|
7281 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
7282 |
+
|
7283 |
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
7284 |
+
|
7285 |
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
7286 |
+
|
7287 |
+
var hover = exports.hover = function hover(Component) {
|
7288 |
+
var Span = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'span';
|
7289 |
+
|
7290 |
+
return function (_React$Component) {
|
7291 |
+
_inherits(Hover, _React$Component);
|
7292 |
+
|
7293 |
+
function Hover() {
|
7294 |
+
var _ref;
|
7295 |
+
|
7296 |
+
var _temp, _this, _ret;
|
7297 |
+
|
7298 |
+
_classCallCheck(this, Hover);
|
7299 |
+
|
7300 |
+
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
7301 |
+
args[_key] = arguments[_key];
|
7302 |
+
}
|
7303 |
+
|
7304 |
+
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Hover.__proto__ || Object.getPrototypeOf(Hover)).call.apply(_ref, [this].concat(args))), _this), _this.state = { hover: false }, _this.handleMouseOver = function () {
|
7305 |
+
return _this.setState({ hover: true });
|
7306 |
+
}, _this.handleMouseOut = function () {
|
7307 |
+
return _this.setState({ hover: false });
|
7308 |
+
}, _this.render = function () {
|
7309 |
+
return _react2.default.createElement(
|
7310 |
+
Span,
|
7311 |
+
{ onMouseOver: _this.handleMouseOver, onMouseOut: _this.handleMouseOut },
|
7312 |
+
_react2.default.createElement(Component, _extends({}, _this.props, _this.state))
|
7313 |
+
);
|
7314 |
+
}, _temp), _possibleConstructorReturn(_this, _ret);
|
7315 |
+
}
|
7316 |
+
|
7317 |
+
return Hover;
|
7318 |
+
}(_react2.default.Component);
|
7319 |
+
};
|
7320 |
+
|
7321 |
+
exports["default"] = hover;
|
7322 |
+
|
7323 |
+
/***/ }),
|
7324 |
+
|
7325 |
+
/***/ "./node_modules/reactcss/lib/flattenNames.js":
|
7326 |
+
/*!***************************************************!*\
|
7327 |
+
!*** ./node_modules/reactcss/lib/flattenNames.js ***!
|
7328 |
+
\***************************************************/
|
7329 |
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
7330 |
+
|
7331 |
+
"use strict";
|
7332 |
+
|
7333 |
+
|
7334 |
+
Object.defineProperty(exports, "__esModule", ({
|
7335 |
+
value: true
|
7336 |
+
}));
|
7337 |
+
exports.flattenNames = undefined;
|
7338 |
+
|
7339 |
+
var _isString2 = __webpack_require__(/*! lodash/isString */ "./node_modules/lodash/isString.js");
|
7340 |
+
|
7341 |
+
var _isString3 = _interopRequireDefault(_isString2);
|
7342 |
+
|
7343 |
+
var _forOwn2 = __webpack_require__(/*! lodash/forOwn */ "./node_modules/lodash/forOwn.js");
|
7344 |
+
|
7345 |
+
var _forOwn3 = _interopRequireDefault(_forOwn2);
|
7346 |
+
|
7347 |
+
var _isPlainObject2 = __webpack_require__(/*! lodash/isPlainObject */ "./node_modules/lodash/isPlainObject.js");
|
7348 |
+
|
7349 |
+
var _isPlainObject3 = _interopRequireDefault(_isPlainObject2);
|
7350 |
+
|
7351 |
+
var _map2 = __webpack_require__(/*! lodash/map */ "./node_modules/lodash/map.js");
|
7352 |
+
|
7353 |
+
var _map3 = _interopRequireDefault(_map2);
|
7354 |
+
|
7355 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
7356 |
+
|
7357 |
+
var flattenNames = exports.flattenNames = function flattenNames() {
|
7358 |
+
var things = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
7359 |
+
|
7360 |
+
var names = [];
|
7361 |
+
|
7362 |
+
(0, _map3.default)(things, function (thing) {
|
7363 |
+
if (Array.isArray(thing)) {
|
7364 |
+
flattenNames(thing).map(function (name) {
|
7365 |
+
return names.push(name);
|
7366 |
+
});
|
7367 |
+
} else if ((0, _isPlainObject3.default)(thing)) {
|
7368 |
+
(0, _forOwn3.default)(thing, function (value, key) {
|
7369 |
+
value === true && names.push(key);
|
7370 |
+
names.push(key + '-' + value);
|
7371 |
+
});
|
7372 |
+
} else if ((0, _isString3.default)(thing)) {
|
7373 |
+
names.push(thing);
|
7374 |
+
}
|
7375 |
+
});
|
7376 |
+
|
7377 |
+
return names;
|
7378 |
+
};
|
7379 |
+
|
7380 |
+
exports["default"] = flattenNames;
|
7381 |
+
|
7382 |
+
/***/ }),
|
7383 |
+
|
7384 |
+
/***/ "./node_modules/reactcss/lib/index.js":
|
7385 |
+
/*!********************************************!*\
|
7386 |
+
!*** ./node_modules/reactcss/lib/index.js ***!
|
7387 |
+
\********************************************/
|
7388 |
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
7389 |
+
|
7390 |
+
"use strict";
|
7391 |
+
|
7392 |
+
|
7393 |
+
Object.defineProperty(exports, "__esModule", ({
|
7394 |
+
value: true
|
7395 |
+
}));
|
7396 |
+
exports.ReactCSS = exports.loop = exports.handleActive = exports.handleHover = exports.hover = undefined;
|
7397 |
+
|
7398 |
+
var _flattenNames = __webpack_require__(/*! ./flattenNames */ "./node_modules/reactcss/lib/flattenNames.js");
|
7399 |
+
|
7400 |
+
var _flattenNames2 = _interopRequireDefault(_flattenNames);
|
7401 |
+
|
7402 |
+
var _mergeClasses = __webpack_require__(/*! ./mergeClasses */ "./node_modules/reactcss/lib/mergeClasses.js");
|
7403 |
+
|
7404 |
+
var _mergeClasses2 = _interopRequireDefault(_mergeClasses);
|
7405 |
+
|
7406 |
+
var _autoprefix = __webpack_require__(/*! ./autoprefix */ "./node_modules/reactcss/lib/autoprefix.js");
|
7407 |
+
|
7408 |
+
var _autoprefix2 = _interopRequireDefault(_autoprefix);
|
7409 |
+
|
7410 |
+
var _hover2 = __webpack_require__(/*! ./components/hover */ "./node_modules/reactcss/lib/components/hover.js");
|
7411 |
+
|
7412 |
+
var _hover3 = _interopRequireDefault(_hover2);
|
7413 |
+
|
7414 |
+
var _active = __webpack_require__(/*! ./components/active */ "./node_modules/reactcss/lib/components/active.js");
|
7415 |
+
|
7416 |
+
var _active2 = _interopRequireDefault(_active);
|
7417 |
+
|
7418 |
+
var _loop2 = __webpack_require__(/*! ./loop */ "./node_modules/reactcss/lib/loop.js");
|
7419 |
+
|
7420 |
+
var _loop3 = _interopRequireDefault(_loop2);
|
7421 |
+
|
7422 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
7423 |
+
|
7424 |
+
exports.hover = _hover3.default;
|
7425 |
+
exports.handleHover = _hover3.default;
|
7426 |
+
exports.handleActive = _active2.default;
|
7427 |
+
exports.loop = _loop3.default;
|
7428 |
+
var ReactCSS = exports.ReactCSS = function ReactCSS(classes) {
|
7429 |
+
for (var _len = arguments.length, activations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
7430 |
+
activations[_key - 1] = arguments[_key];
|
7431 |
+
}
|
7432 |
+
|
7433 |
+
var activeNames = (0, _flattenNames2.default)(activations);
|
7434 |
+
var merged = (0, _mergeClasses2.default)(classes, activeNames);
|
7435 |
+
return (0, _autoprefix2.default)(merged);
|
7436 |
+
};
|
7437 |
+
|
7438 |
+
exports["default"] = ReactCSS;
|
7439 |
+
|
7440 |
+
/***/ }),
|
7441 |
+
|
7442 |
+
/***/ "./node_modules/reactcss/lib/loop.js":
|
7443 |
+
/*!*******************************************!*\
|
7444 |
+
!*** ./node_modules/reactcss/lib/loop.js ***!
|
7445 |
+
\*******************************************/
|
7446 |
+
/***/ (function(__unused_webpack_module, exports) {
|
7447 |
+
|
7448 |
+
"use strict";
|
7449 |
+
|
7450 |
+
|
7451 |
+
Object.defineProperty(exports, "__esModule", ({
|
7452 |
+
value: true
|
7453 |
+
}));
|
7454 |
+
var loopable = function loopable(i, length) {
|
7455 |
+
var props = {};
|
7456 |
+
var setProp = function setProp(name) {
|
7457 |
+
var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
7458 |
+
|
7459 |
+
props[name] = value;
|
7460 |
+
};
|
7461 |
+
|
7462 |
+
i === 0 && setProp('first-child');
|
7463 |
+
i === length - 1 && setProp('last-child');
|
7464 |
+
(i === 0 || i % 2 === 0) && setProp('even');
|
7465 |
+
Math.abs(i % 2) === 1 && setProp('odd');
|
7466 |
+
setProp('nth-child', i);
|
7467 |
+
|
7468 |
+
return props;
|
7469 |
+
};
|
7470 |
+
|
7471 |
+
exports["default"] = loopable;
|
7472 |
+
|
7473 |
+
/***/ }),
|
7474 |
+
|
7475 |
+
/***/ "./node_modules/reactcss/lib/mergeClasses.js":
|
7476 |
+
/*!***************************************************!*\
|
7477 |
+
!*** ./node_modules/reactcss/lib/mergeClasses.js ***!
|
7478 |
+
\***************************************************/
|
7479 |
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
7480 |
+
|
7481 |
+
"use strict";
|
7482 |
+
|
7483 |
+
|
7484 |
+
Object.defineProperty(exports, "__esModule", ({
|
7485 |
+
value: true
|
7486 |
+
}));
|
7487 |
+
exports.mergeClasses = undefined;
|
7488 |
+
|
7489 |
+
var _forOwn2 = __webpack_require__(/*! lodash/forOwn */ "./node_modules/lodash/forOwn.js");
|
7490 |
+
|
7491 |
+
var _forOwn3 = _interopRequireDefault(_forOwn2);
|
7492 |
+
|
7493 |
+
var _cloneDeep2 = __webpack_require__(/*! lodash/cloneDeep */ "./node_modules/lodash/cloneDeep.js");
|
7494 |
+
|
7495 |
+
var _cloneDeep3 = _interopRequireDefault(_cloneDeep2);
|
7496 |
+
|
7497 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
7498 |
+
|
7499 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
7500 |
+
|
7501 |
+
var mergeClasses = exports.mergeClasses = function mergeClasses(classes) {
|
7502 |
+
var activeNames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
7503 |
+
|
7504 |
+
var styles = classes.default && (0, _cloneDeep3.default)(classes.default) || {};
|
7505 |
+
activeNames.map(function (name) {
|
7506 |
+
var toMerge = classes[name];
|
7507 |
+
if (toMerge) {
|
7508 |
+
(0, _forOwn3.default)(toMerge, function (value, key) {
|
7509 |
+
if (!styles[key]) {
|
7510 |
+
styles[key] = {};
|
7511 |
+
}
|
7512 |
+
|
7513 |
+
styles[key] = _extends({}, styles[key], toMerge[key]);
|
7514 |
+
});
|
7515 |
+
}
|
7516 |
+
|
7517 |
+
return name;
|
7518 |
+
});
|
7519 |
+
return styles;
|
7520 |
+
};
|
7521 |
+
|
7522 |
+
exports["default"] = mergeClasses;
|
7523 |
+
|
7524 |
+
/***/ }),
|
7525 |
+
|
7526 |
+
/***/ "react":
|
7527 |
+
/*!************************!*\
|
7528 |
+
!*** external "React" ***!
|
7529 |
+
\************************/
|
7530 |
+
/***/ (function(module) {
|
7531 |
+
|
7532 |
+
"use strict";
|
7533 |
+
module.exports = React;
|
7534 |
+
|
7535 |
+
/***/ }),
|
7536 |
+
|
7537 |
+
/***/ "react-dom":
|
7538 |
+
/*!***************************!*\
|
7539 |
+
!*** external "ReactDOM" ***!
|
7540 |
+
\***************************/
|
7541 |
+
/***/ (function(module) {
|
7542 |
+
|
7543 |
+
"use strict";
|
7544 |
+
module.exports = ReactDOM;
|
7545 |
+
|
7546 |
+
/***/ }),
|
7547 |
+
|
7548 |
+
/***/ "./node_modules/colord/index.mjs":
|
7549 |
+
/*!***************************************!*\
|
7550 |
+
!*** ./node_modules/colord/index.mjs ***!
|
7551 |
+
\***************************************/
|
7552 |
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
7553 |
+
|
7554 |
+
"use strict";
|
7555 |
+
__webpack_require__.r(__webpack_exports__);
|
7556 |
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
7557 |
+
/* harmony export */ "Colord": function() { return /* binding */ j; },
|
7558 |
+
/* harmony export */ "colord": function() { return /* binding */ w; },
|
7559 |
+
/* harmony export */ "extend": function() { return /* binding */ k; },
|
7560 |
+
/* harmony export */ "getFormat": function() { return /* binding */ I; },
|
7561 |
+
/* harmony export */ "random": function() { return /* binding */ E; }
|
7562 |
+
/* harmony export */ });
|
7563 |
+
var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return"string"==typeof r?r.length>0:"number"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return(r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return{r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return{r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?"0"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return{h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return{r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return{h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return{h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e},c=function(r){return{h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u},l=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(r){var t=v.exec(r)||m.exec(r);return t?t[2]!==t[4]||t[4]!==t[6]?null:a({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u="deg"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},"hsl"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},"rgb"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},"hsl"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return{h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},"hsv"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return[e,t[n][1]]}return[null,void 0]},x=function(r){return"string"==typeof r?N(r.trim(),y.string):"object"==typeof r&&null!==r?N(r,y.object):[null,void 0]},I=function(r){return x(r)[1]},M=function(r,t){var n=c(r);return{h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return(299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return{h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):"","#"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?"rgba("+t+", "+n+", "+e+", "+u+")":"rgb("+t+", "+n+", "+e+")";var r,t,n,e,u},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?"hsla("+t+", "+n+"%, "+e+"%, "+u+")":"hsl("+t+", "+n+"%, "+e+"%)";var r,t,n,e,u},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return"number"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t},r.prototype.hue=function(r){var t=c(this.rgba);return"number"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r))})},E=function(){return new j({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})};
|
7564 |
+
|
7565 |
+
|
7566 |
+
/***/ })
|
7567 |
+
|
7568 |
+
/******/ });
|
7569 |
+
/************************************************************************/
|
7570 |
+
/******/ // The module cache
|
7571 |
+
/******/ var __webpack_module_cache__ = {};
|
7572 |
+
/******/
|
7573 |
+
/******/ // The require function
|
7574 |
+
/******/ function __webpack_require__(moduleId) {
|
7575 |
+
/******/ // Check if module is in cache
|
7576 |
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
7577 |
+
/******/ if (cachedModule !== undefined) {
|
7578 |
+
/******/ return cachedModule.exports;
|
7579 |
+
/******/ }
|
7580 |
+
/******/ // Create a new module (and put it into the cache)
|
7581 |
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
7582 |
+
/******/ id: moduleId,
|
7583 |
+
/******/ loaded: false,
|
7584 |
+
/******/ exports: {}
|
7585 |
+
/******/ };
|
7586 |
+
/******/
|
7587 |
+
/******/ // Execute the module function
|
7588 |
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
7589 |
+
/******/
|
7590 |
+
/******/ // Flag the module as loaded
|
7591 |
+
/******/ module.loaded = true;
|
7592 |
+
/******/
|
7593 |
+
/******/ // Return the exports of the module
|
7594 |
+
/******/ return module.exports;
|
7595 |
+
/******/ }
|
7596 |
+
/******/
|
7597 |
+
/************************************************************************/
|
7598 |
+
/******/ /* webpack/runtime/compat get default export */
|
7599 |
+
/******/ !function() {
|
7600 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
7601 |
+
/******/ __webpack_require__.n = function(module) {
|
7602 |
+
/******/ var getter = module && module.__esModule ?
|
7603 |
+
/******/ function() { return module['default']; } :
|
7604 |
+
/******/ function() { return module; };
|
7605 |
+
/******/ __webpack_require__.d(getter, { a: getter });
|
7606 |
+
/******/ return getter;
|
7607 |
+
/******/ };
|
7608 |
+
/******/ }();
|
7609 |
+
/******/
|
7610 |
+
/******/ /* webpack/runtime/define property getters */
|
7611 |
+
/******/ !function() {
|
7612 |
+
/******/ // define getter functions for harmony exports
|
7613 |
+
/******/ __webpack_require__.d = function(exports, definition) {
|
7614 |
+
/******/ for(var key in definition) {
|
7615 |
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
7616 |
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
7617 |
+
/******/ }
|
7618 |
+
/******/ }
|
7619 |
+
/******/ };
|
7620 |
+
/******/ }();
|
7621 |
+
/******/
|
7622 |
+
/******/ /* webpack/runtime/global */
|
7623 |
+
/******/ !function() {
|
7624 |
+
/******/ __webpack_require__.g = (function() {
|
7625 |
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
7626 |
+
/******/ try {
|
7627 |
+
/******/ return this || new Function('return this')();
|
7628 |
+
/******/ } catch (e) {
|
7629 |
+
/******/ if (typeof window === 'object') return window;
|
7630 |
+
/******/ }
|
7631 |
+
/******/ })();
|
7632 |
+
/******/ }();
|
7633 |
+
/******/
|
7634 |
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
7635 |
+
/******/ !function() {
|
7636 |
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
7637 |
+
/******/ }();
|
7638 |
+
/******/
|
7639 |
+
/******/ /* webpack/runtime/make namespace object */
|
7640 |
+
/******/ !function() {
|
7641 |
+
/******/ // define __esModule on exports
|
7642 |
+
/******/ __webpack_require__.r = function(exports) {
|
7643 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
7644 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
7645 |
+
/******/ }
|
7646 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
7647 |
+
/******/ };
|
7648 |
+
/******/ }();
|
7649 |
+
/******/
|
7650 |
+
/******/ /* webpack/runtime/node module decorator */
|
7651 |
+
/******/ !function() {
|
7652 |
+
/******/ __webpack_require__.nmd = function(module) {
|
7653 |
+
/******/ module.paths = [];
|
7654 |
+
/******/ if (!module.children) module.children = [];
|
7655 |
+
/******/ return module;
|
7656 |
+
/******/ };
|
7657 |
+
/******/ }();
|
7658 |
+
/******/
|
7659 |
+
/************************************************************************/
|
7660 |
+
var __webpack_exports__ = {};
|
7661 |
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
7662 |
+
!function() {
|
7663 |
+
"use strict";
|
7664 |
+
/*!************************!*\
|
7665 |
+
!*** ./src/control.js ***!
|
7666 |
+
\************************/
|
7667 |
+
__webpack_require__.r(__webpack_exports__);
|
7668 |
+
/* harmony import */ var _control_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./control.scss */ "./src/control.scss");
|
7669 |
+
/* harmony import */ var _KirkiReactColorfulControl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KirkiReactColorfulControl */ "./src/KirkiReactColorfulControl.js");
|
7670 |
+
/* global wp */
|
7671 |
+
|
7672 |
+
// Register control type with Customizer.
|
7673 |
+
|
7674 |
+
wp.customize.controlConstructor['kirki-react-colorful'] = _KirkiReactColorfulControl__WEBPACK_IMPORTED_MODULE_1__["default"];
|
7675 |
+
}();
|
7676 |
+
/******/ })()
|
7677 |
+
;
|
7678 |
//# sourceMappingURL=control.js.map
|
packages/kirki-framework/control-react-colorful/dist/control.js.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"file":"control.js","mappings":"wCAAA,IAIIA,EAJY,EAAQ,IAITC,CAHJ,EAAQ,MAGY,YAE/BC,EAAOC,QAAUH,G,qBCNjB,IAAII,EAAY,EAAQ,MACpBC,EAAa,EAAQ,KACrBC,EAAU,EAAQ,MAClBC,EAAU,EAAQ,MAClBC,EAAU,EAAQ,MAStB,SAASC,EAAKC,GACZ,IAAIC,GAAS,EACTC,EAAoB,MAAXF,EAAkB,EAAIA,EAAQE,OAG3C,IADAC,KAAKC,UACIH,EAAQC,GAAQ,CACvB,IAAIG,EAAQL,EAAQC,GACpBE,KAAKG,IAAID,EAAM,GAAIA,EAAM,KAK7BN,EAAKQ,UAAUH,MAAQV,EACvBK,EAAKQ,UAAkB,OAAIZ,EAC3BI,EAAKQ,UAAUC,IAAMZ,EACrBG,EAAKQ,UAAUE,IAAMZ,EACrBE,EAAKQ,UAAUD,IAAMR,EAErBN,EAAOC,QAAUM,G,qBC/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AM3G,EAAUtpB,KACVwnB,EAAa,QAAU8B,EAAQmG,OAAOS,KACtC1G,EAAUF,EAAQmG,OAAOjG,QAE/B,IAAIlC,EAGFA,EADEkC,EAAQK,cACQL,EAAQK,cAERL,EAAQN,MACtB,wBACA,iBAGN5B,EAAkBE,EAAa,iBAAmBF,EAElD,MAAM6I,EACJ,oBAAC,GAAD,MACM7G,EAAQmG,OADd,CAEEnG,QAASA,EACTC,kBAAmBD,EAAQ8G,QAC3B5I,WAAYA,EACZF,gBAAiBA,EACjBzkB,MAAOymB,EAAQmG,OAAO5sB,MACtBksB,yBAA0BzF,EAAQyF,4BAItCpQ,IAAAA,OAAgBwR,EAAM7G,EAAQkD,UAAU,KAU1C6D,MAAO,WACL,MAAM/G,EAAUtpB,KAuBhBspB,EAAQ8G,QAAQV,MAAMzI,IACpBqC,EAAQoB,qBAAqBzD,OAIjCyD,qBAAsB,OAUtBmF,QAAS,WAIPlR,IAAAA,uBAHgB3e,KAGwBwsB,UAAU,IAG9CgC,GAAGc,UAAUC,QAAQnvB,UAAUyvB,SACjCrB,GAAGc,UAAUC,QAAQnvB,UAAUyvB,QAAQ/rB,KAPzB9D,SCnIpBwuB,GAAGc,UAAUgB,mBAAmB,wBAA0BC,G","sources":["webpack://control-react-colorful/./node_modules/lodash/_DataView.js","webpack://control-react-colorful/./node_modules/lodash/_Hash.js","webpack://control-react-colorful/./node_modules/lodash/_ListCache.js","webpack://control-react-colorful/./node_modules/lodash/_Map.js","webpack://control-react-colorful/./node_modules/lodash/_MapCache.js","webpack://control-react-colorful/./node_modules/lodash/_Promise.js","webpack://control-react-colorful/./node_modules/lodash/_Set.js","webpack://control-react-colorful/./node_modules/lodash/_SetCache.js","webpack://control-react-colorful/./node_modules/lodash/_Stack.js","webpack://control-react-colorful/./node_modules/lodash/_Symbol.js","webpack://control-react-colorful/./node_modules/lodash/_Uint8Array.js","webpack://control-react-colorful/./node_modules/lodash/_WeakMap.js","webpack://control-react-colorful/./node_modules/lodash/_arrayEach.js","webpack://control-react-colorful/./node_modules/lodash/_arrayFilter.js","webpack://control-react-colorful/./node_modules/lodash/_arrayLikeKeys.js","webpack://control-react-colorful/./node_modules/lodash/_arrayMap.js","webpack://control-react-colorful/./node_modules/lodash/_arrayPush.js","webpack://control-react-colorful/./node_modules/lodash/_arraySome.js","webpack://control-react-colorful/./node_modules/lodash/_assignValue.js","webpack://control-react-colorful/./node_modules/lodash/_assocIndexOf.js","webpack://control-react-colorful/./node_modules/lodash/_baseAssign.js","webpack://control-react-colorful/./node_modules/lodash/_baseAssignIn.js","webpack://control-react-colorful/./node_modules/lodash/_baseAssignValue.js","webpack://control-react-colorful/./node_modules/lodash/_baseClone.js","webpack://control-react-colorful/./node_modules/lodash/_baseCreate.js","webpack://control-react-colorful/./node_modules/lodash/_baseEach.js","webpack://control-react-colorful/./node_modules/lodash/_baseFor.js","webpack://control-react-colorful/./node_modules/lodash/_baseForOwn.js","webpack://control-react-colorful/./node_modules/lodash/_baseGet.js","webpack://control-react-colorful/./node_modules/lodash/_baseGetAllKeys.js","webpack://control-react-colorful/./node_modules/lodash/_baseGetTag.js","webpack://control-react-colorful/./node_modules/lodash/_baseHasIn.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsArguments.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsEqual.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsEqualDeep.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsMap.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsMatch.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsNative.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsSet.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsTypedArray.js","webpack://control-react-colorful/./node_modules/lodash/_baseIteratee.js","webpack://control-react-colorful/./node_modules/lodash/_baseKeys.js","webpack://control-react-colorful/./node_modules/lodash/_baseKeysIn.js","webpack://control-react-colorful/./node_modules/lodash/_baseMap.js","webpack://control-react-colorful/./node_modules/lodash/_baseMatches.js","webpack://control-react-colorful/./node_modules/lodash/_baseMatchesProperty.js","webpack://control-react-colorful/./node_modules/lodash/_baseProperty.js","webpack://control-react-colorful/./node_modules/lodash/_basePropertyDeep.js","webpack://control-react-colorful/./node_modules/lodash/_baseTimes.js","webpack://control-react-colorful/./node_modules/lodash/_baseToString.js","webpack://control-react-colorful/./node_modules/lodash/_baseUnary.js","webpack://control-react-colorful/./node_modules/lodash/_cacheHas.js","webpack://control-react-colorful/./node_modules/lodash/_castFunction.js","webpack://control-react-colorful/./node_modules/lodash/_castPath.js","webpack://control-react-colorful/./node_modules/lodash/_cloneArrayBuffer.js","webpack://control-react-colorful/./node_modules/lodash/_cloneBuffer.js","webpack://control-react-colorful/./node_modules/lodash/_cloneDataView.js","webpack://control-react-colorful/./node_modules/lodash/_cloneRegExp.js","webpack://control-react-colorful/./node_modules/lodash/_cloneSymbol.js","webpack://control-react-colorful/./node_modules/lodash/_cloneTypedArray.js","webpack://control-react-colorful/./node_modules/lodash/_copyArray.js","webpack://control-react-colorful/./node_modules/lodash/_copyObject.js","webpack://control-react-colorful/./node_modules/lodash/_copySymbols.js","webpack://control-react-colorful/./node_modules/lodash/_copySymbolsIn.js","webpack://control-react-colorful/./node_modules/lodash/_coreJsData.js","webpack://control-react-colorful/./node_modules/lodash/_createBaseEach.js","webpack://control-react-colorful/./node_modules/lodash/_createBaseFor.js","webpack://control-react-colorful/./node_modules/lodash/_defineProperty.js","webpack://control-react-colorful/./node_modules/lodash/_equalArrays.js","webpack://control-react-colorful/./node_modules/lodash/_equalByTag.js","webpack://control-react-colorful/./node_modules/lodash/_equalObjects.js","webpack://control-react-colorful/./node_modules/lodash/_freeGlobal.js","webpack://control-react-colorful/./node_modules/lodash/_getAllKeys.js","webpack://control-react-colorful/./node_modules/lodash/_getAllKeysIn.js","webpack://control-react-colorful/./node_modules/lodash/_getMapData.js","webpack://control-react-colorful/./node_modules/lodash/_getMatchData.js","webpack://control-react-colorful/./node_modules/lodash/_getNative.js","webpack://control-react-colorful/./node_modules/lodash/_getPrototype.js","webpack://control-react-colorful/./node_modules/lodash/_getRawTag.js","webpack://control-react-colorful/./node_modules/lodash/_getSymbols.js","webpack://control-react-colorful/./node_modules/lodash/_getSymbolsIn.js","webpack://control-react-colorful/./node_modules/lodash/_getTag.js","webpack://control-react-colorful/./node_modules/lodash/_getValue.js","webpack://control-react-colorful/./node_modules/lodash/_hasPath.js","webpack://control-react-colorful/./node_modules/lodash/_hashClear.js","webpack://control-react-colorful/./node_modules/lodash/_hashDelete.js","webpack://control-react-colorful/./node_modules/lodash/_hashGet.js","webpack://control-react-colorful/./node_modules/lodash/_hashHas.js","webpack://control-react-colorful/./node_modules/lodash/_hashSet.js","webpack://control-react-colorful/./node_modules/lodash/_initCloneArray.js","webpack://control-react-colorful/./node_modules/lodash/_initCloneByTag.js","webpack://control-react-colorful/./node_modules/lodash/_initCloneObject.js","webpack://control-react-colorful/./node_modules/lodash/_isIndex.js","webpack://control-react-colorful/./node_modules/lodash/_isKey.js","webpack://control-react-colorful/./node_modules/lodash/_isKeyable.js","webpack://control-react-colorful/./node_modules/lodash/_isMasked.js","webpack://control-react-colorful/./node_modules/lodash/_isPrototype.js","webpack://control-react-colorful/./node_modules/lodash/_isStrictComparable.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheClear.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheDelete.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheGet.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheHas.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheSet.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheClear.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheDelete.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheGet.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheHas.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheSet.js","webpack://control-react-colorful/./node_modules/lodash/_mapToArray.js","webpack://control-react-colorful/./node_modules/lodash/_matchesStrictComparable.js","webpack://control-react-colorful/./node_modules/lodash/_memoizeCapped.js","webpack://control-react-colorful/./node_modules/lodash/_nativeCreate.js","webpack://control-react-colorful/./node_modules/lodash/_nativeKeys.js","webpack://control-react-colorful/./node_modules/lodash/_nativeKeysIn.js","webpack://control-react-colorful/./node_modules/lodash/_nodeUtil.js","webpack://control-react-colorful/./node_modules/lodash/_objectToString.js","webpack://control-react-colorful/./node_modules/lodash/_overArg.js","webpack://control-react-colorful/./node_modules/lodash/_root.js","webpack://control-react-colorful/./node_modules/lodash/_setCacheAdd.js","webpack://control-react-colorful/./node_modules/lodash/_setCacheHas.js","webpack://control-react-colorful/./node_modules/lodash/_setToArray.js","webpack://control-react-colorful/./node_modules/lodash/_stackClear.js","webpack://control-react-colorful/./node_modules/lodash/_stackDelete.js","webpack://control-react-colorful/./node_modules/lodash/_stackGet.js","webpack://control-react-colorful/./node_modules/lodash/_stackHas.js","webpack://control-react-colorful/./node_modules/lodash/_stackSet.js","webpack://control-react-colorful/./node_modules/lodash/_stringToPath.js","webpack://control-react-colorful/./node_modules/lodash/_toKey.js","webpack://control-react-colorful/./node_modules/lodash/_toSource.js","webpack://control-react-colorful/./node_modules/lodash/cloneDeep.js","webpack://control-react-colorful/./node_modules/lodash/eq.js","webpack://control-react-colorful/./node_modules/lodash/forOwn.js","webpack://control-react-colorful/./node_modules/lodash/get.js","webpack://control-react-colorful/./node_modules/lodash/hasIn.js","webpack://control-react-colorful/./node_modules/lodash/identity.js","webpack://control-react-colorful/./node_modules/lodash/isArguments.js","webpack://control-react-colorful/./node_modules/lodash/isArray.js","webpack://control-react-colorful/./node_modules/lodash/isArrayLike.js","webpack://control-react-colorful/./node_modules/lodash/isBuffer.js","webpack://control-react-colorful/./node_modules/lodash/isFunction.js","webpack://control-react-colorful/./node_modules/lodash/isLength.js","webpack://control-react-colorful/./node_modules/lodash/isMap.js","webpack://control-react-colorful/./node_modules/lodash/isObject.js","webpack://control-react-colorful/./node_modules/lodash/isObjectLike.js","webpack://control-react-colorful/./node_modules/lodash/isPlainObject.js","webpack://control-react-colorful/./node_modules/lodash/isSet.js","webpack://control-react-colorful/./node_modules/lodash/isString.js","webpack://control-react-colorful/./node_modules/lodash/isSymbol.js","webpack://control-react-colorful/./node_modules/lodash/isTypedArray.js","webpack://control-react-colorful/./node_modules/lodash/keys.js","webpack://control-react-colorful/./node_modules/lodash/keysIn.js","webpack://control-react-colorful/./node_modules/lodash/map.js","webpack://control-react-colorful/./node_modules/lodash/memoize.js","webpack://control-react-colorful/./node_modules/lodash/property.js","webpack://control-react-colorful/./node_modules/lodash/stubArray.js","webpack://control-react-colorful/./node_modules/lodash/stubFalse.js","webpack://control-react-colorful/./node_modules/lodash/toString.js","webpack://control-react-colorful/./node_modules/reactcss/lib/autoprefix.js","webpack://control-react-colorful/./node_modules/reactcss/lib/components/active.js","webpack://control-react-colorful/./node_modules/reactcss/lib/components/hover.js","webpack://control-react-colorful/./node_modules/reactcss/lib/flattenNames.js","webpack://control-react-colorful/./node_modules/reactcss/lib/index.js","webpack://control-react-colorful/./node_modules/reactcss/lib/loop.js","webpack://control-react-colorful/./node_modules/reactcss/lib/mergeClasses.js","webpack://control-react-colorful/external var \"React\"","webpack://control-react-colorful/webpack/bootstrap","webpack://control-react-colorful/webpack/runtime/compat get default export","webpack://control-react-colorful/webpack/runtime/define property getters","webpack://control-react-colorful/webpack/runtime/global","webpack://control-react-colorful/webpack/runtime/hasOwnProperty shorthand","webpack://control-react-colorful/webpack/runtime/node module decorator","webpack://control-react-colorful/external var \"ReactDOM\"","webpack://control-react-colorful/./node_modules/react-colorful/dist/index.module.js","webpack://control-react-colorful/./src/js/components/KirkiReactColorfulInput.js","webpack://control-react-colorful/./src/js/components/KirkiReactColorfulSwatches.js","webpack://control-react-colorful/./node_modules/colord/index.mjs","webpack://control-react-colorful/./src/js/components/KirkiReactColorfulCircle.js","webpack://control-react-colorful/./src/KirkiReactColorfulForm.js","webpack://control-react-colorful/./src/js/utils/convertColorForInput.js","webpack://control-react-colorful/./src/js/utils/convertColorForPicker.js","webpack://control-react-colorful/./src/js/utils/convertColorForCustomizer.js","webpack://control-react-colorful/./src/js/hooks/useWindowResize.js","webpack://control-react-colorful/./src/js/hooks/useFocusOutside.js","webpack://control-react-colorful/./src/js/hooks/useClickOutside.js","webpack://control-react-colorful/./src/KirkiReactColorfulControl.js","webpack://control-react-colorful/./src/control.js"],"sourcesContent":["var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n","var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n","var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys'),\n keysIn = require('./keysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nmodule.exports = baseClone;\n","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n","var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n","var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n","var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n","var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n","var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nmodule.exports = baseMap;\n","var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n","var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n","var baseGet = require('./_baseGet');\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var identity = require('./identity');\n\n/**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\nfunction castFunction(value) {\n return typeof value == 'function' ? value : identity;\n}\n\nmodule.exports = castFunction;\n","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n","var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n","var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n","var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nmodule.exports = getMatchData;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n","var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nmodule.exports = initCloneArray;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n","var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","var isObject = require('./isObject');\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = cloneDeep;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var baseForOwn = require('./_baseForOwn'),\n castFunction = require('./_castFunction');\n\n/**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\nfunction forOwn(object, iteratee) {\n return object && baseForOwn(object, castFunction(iteratee));\n}\n\nmodule.exports = forOwn;\n","var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n","var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n","var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n isArray = require('./isArray');\n\n/**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nmodule.exports = map;\n","var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n","var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.autoprefix = undefined;\n\nvar _forOwn2 = require('lodash/forOwn');\n\nvar _forOwn3 = _interopRequireDefault(_forOwn2);\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar transforms = {\n borderRadius: function borderRadius(value) {\n return {\n msBorderRadius: value,\n MozBorderRadius: value,\n OBorderRadius: value,\n WebkitBorderRadius: value,\n borderRadius: value\n };\n },\n boxShadow: function boxShadow(value) {\n return {\n msBoxShadow: value,\n MozBoxShadow: value,\n OBoxShadow: value,\n WebkitBoxShadow: value,\n boxShadow: value\n };\n },\n userSelect: function userSelect(value) {\n return {\n WebkitTouchCallout: value,\n KhtmlUserSelect: value,\n MozUserSelect: value,\n msUserSelect: value,\n WebkitUserSelect: value,\n userSelect: value\n };\n },\n\n flex: function flex(value) {\n return {\n WebkitBoxFlex: value,\n MozBoxFlex: value,\n WebkitFlex: value,\n msFlex: value,\n flex: value\n };\n },\n flexBasis: function flexBasis(value) {\n return {\n WebkitFlexBasis: value,\n flexBasis: value\n };\n },\n justifyContent: function justifyContent(value) {\n return {\n WebkitJustifyContent: value,\n justifyContent: value\n };\n },\n\n transition: function transition(value) {\n return {\n msTransition: value,\n MozTransition: value,\n OTransition: value,\n WebkitTransition: value,\n transition: value\n };\n },\n\n transform: function transform(value) {\n return {\n msTransform: value,\n MozTransform: value,\n OTransform: value,\n WebkitTransform: value,\n transform: value\n };\n },\n absolute: function absolute(value) {\n var direction = value && value.split(' ');\n return {\n position: 'absolute',\n top: direction && direction[0],\n right: direction && direction[1],\n bottom: direction && direction[2],\n left: direction && direction[3]\n };\n },\n extend: function extend(name, otherElementStyles) {\n var otherStyle = otherElementStyles[name];\n if (otherStyle) {\n return otherStyle;\n }\n return {\n 'extend': name\n };\n }\n};\n\nvar autoprefix = exports.autoprefix = function autoprefix(elements) {\n var prefixed = {};\n (0, _forOwn3.default)(elements, function (styles, element) {\n var expanded = {};\n (0, _forOwn3.default)(styles, function (value, key) {\n var transform = transforms[key];\n if (transform) {\n expanded = _extends({}, expanded, transform(value));\n } else {\n expanded[key] = value;\n }\n });\n prefixed[element] = expanded;\n });\n return prefixed;\n};\n\nexports.default = autoprefix;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.active = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar active = exports.active = function active(Component) {\n var Span = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'span';\n\n return function (_React$Component) {\n _inherits(Active, _React$Component);\n\n function Active() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Active);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Active.__proto__ || Object.getPrototypeOf(Active)).call.apply(_ref, [this].concat(args))), _this), _this.state = { active: false }, _this.handleMouseDown = function () {\n return _this.setState({ active: true });\n }, _this.handleMouseUp = function () {\n return _this.setState({ active: false });\n }, _this.render = function () {\n return _react2.default.createElement(\n Span,\n { onMouseDown: _this.handleMouseDown, onMouseUp: _this.handleMouseUp },\n _react2.default.createElement(Component, _extends({}, _this.props, _this.state))\n );\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n return Active;\n }(_react2.default.Component);\n};\n\nexports.default = active;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.hover = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar hover = exports.hover = function hover(Component) {\n var Span = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'span';\n\n return function (_React$Component) {\n _inherits(Hover, _React$Component);\n\n function Hover() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Hover);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Hover.__proto__ || Object.getPrototypeOf(Hover)).call.apply(_ref, [this].concat(args))), _this), _this.state = { hover: false }, _this.handleMouseOver = function () {\n return _this.setState({ hover: true });\n }, _this.handleMouseOut = function () {\n return _this.setState({ hover: false });\n }, _this.render = function () {\n return _react2.default.createElement(\n Span,\n { onMouseOver: _this.handleMouseOver, onMouseOut: _this.handleMouseOut },\n _react2.default.createElement(Component, _extends({}, _this.props, _this.state))\n );\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n return Hover;\n }(_react2.default.Component);\n};\n\nexports.default = hover;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.flattenNames = undefined;\n\nvar _isString2 = require('lodash/isString');\n\nvar _isString3 = _interopRequireDefault(_isString2);\n\nvar _forOwn2 = require('lodash/forOwn');\n\nvar _forOwn3 = _interopRequireDefault(_forOwn2);\n\nvar _isPlainObject2 = require('lodash/isPlainObject');\n\nvar _isPlainObject3 = _interopRequireDefault(_isPlainObject2);\n\nvar _map2 = require('lodash/map');\n\nvar _map3 = _interopRequireDefault(_map2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar flattenNames = exports.flattenNames = function flattenNames() {\n var things = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n var names = [];\n\n (0, _map3.default)(things, function (thing) {\n if (Array.isArray(thing)) {\n flattenNames(thing).map(function (name) {\n return names.push(name);\n });\n } else if ((0, _isPlainObject3.default)(thing)) {\n (0, _forOwn3.default)(thing, function (value, key) {\n value === true && names.push(key);\n names.push(key + '-' + value);\n });\n } else if ((0, _isString3.default)(thing)) {\n names.push(thing);\n }\n });\n\n return names;\n};\n\nexports.default = flattenNames;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ReactCSS = exports.loop = exports.handleActive = exports.handleHover = exports.hover = undefined;\n\nvar _flattenNames = require('./flattenNames');\n\nvar _flattenNames2 = _interopRequireDefault(_flattenNames);\n\nvar _mergeClasses = require('./mergeClasses');\n\nvar _mergeClasses2 = _interopRequireDefault(_mergeClasses);\n\nvar _autoprefix = require('./autoprefix');\n\nvar _autoprefix2 = _interopRequireDefault(_autoprefix);\n\nvar _hover2 = require('./components/hover');\n\nvar _hover3 = _interopRequireDefault(_hover2);\n\nvar _active = require('./components/active');\n\nvar _active2 = _interopRequireDefault(_active);\n\nvar _loop2 = require('./loop');\n\nvar _loop3 = _interopRequireDefault(_loop2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.hover = _hover3.default;\nexports.handleHover = _hover3.default;\nexports.handleActive = _active2.default;\nexports.loop = _loop3.default;\nvar ReactCSS = exports.ReactCSS = function ReactCSS(classes) {\n for (var _len = arguments.length, activations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n activations[_key - 1] = arguments[_key];\n }\n\n var activeNames = (0, _flattenNames2.default)(activations);\n var merged = (0, _mergeClasses2.default)(classes, activeNames);\n return (0, _autoprefix2.default)(merged);\n};\n\nexports.default = ReactCSS;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar loopable = function loopable(i, length) {\n var props = {};\n var setProp = function setProp(name) {\n var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n props[name] = value;\n };\n\n i === 0 && setProp('first-child');\n i === length - 1 && setProp('last-child');\n (i === 0 || i % 2 === 0) && setProp('even');\n Math.abs(i % 2) === 1 && setProp('odd');\n setProp('nth-child', i);\n\n return props;\n};\n\nexports.default = loopable;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.mergeClasses = undefined;\n\nvar _forOwn2 = require('lodash/forOwn');\n\nvar _forOwn3 = _interopRequireDefault(_forOwn2);\n\nvar _cloneDeep2 = require('lodash/cloneDeep');\n\nvar _cloneDeep3 = _interopRequireDefault(_cloneDeep2);\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar mergeClasses = exports.mergeClasses = function mergeClasses(classes) {\n var activeNames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n var styles = classes.default && (0, _cloneDeep3.default)(classes.default) || {};\n activeNames.map(function (name) {\n var toMerge = classes[name];\n if (toMerge) {\n (0, _forOwn3.default)(toMerge, function (value, key) {\n if (!styles[key]) {\n styles[key] = {};\n }\n\n styles[key] = _extends({}, styles[key], toMerge[key]);\n });\n }\n\n return name;\n });\n return styles;\n};\n\nexports.default = mergeClasses;","module.exports = React;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","var __WEBPACK_NAMESPACE_OBJECT__ = ReactDOM;","import e,{useRef as r,useMemo as t,useEffect as n,useState as o,useCallback as a,useLayoutEffect as l}from\"react\";function u(){return(u=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function c(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r.indexOf(t=a[n])>=0||(o[t]=e[t]);return o}function i(e){var t=r(e),n=r(function(e){t.current&&t.current(e)});return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e<r?r:e},f=function(e){return\"touches\"in e},v=function(e){return e&&e.ownerDocument.defaultView||self},d=function(e,r,t){var n=e.getBoundingClientRect(),o=f(r)?function(e,r){for(var t=0;t<e.length;t++)if(e[t].identifier===r)return e[t];return e[0]}(r.touches,t):r;return{left:s((o.pageX-(n.left+v(e).pageXOffset))/n.width),top:s((o.pageY-(n.top+v(e).pageYOffset))/n.height)}},h=function(e){!f(e)&&e.preventDefault()},m=e.memo(function(o){var a=o.onMove,l=o.onKey,s=c(o,[\"onMove\",\"onKey\"]),m=r(null),g=i(a),p=i(l),b=r(null),_=r(!1),x=t(function(){var e=function(e){h(e),(f(e)?e.touches.length>0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1)},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?\"touchmove\":\"mousemove\",e),a(n?\"touchend\":\"mouseup\",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]},[p,g]),C=x[0],E=x[1],H=x[2];return n(function(){return H},[H]),e.createElement(\"div\",u({},s,{onTouchStart:C,onMouseDown:C,className:\"react-colorful__interactive\",ref:m,onKeyDown:E,tabIndex:0,role:\"slider\"}))}),g=function(e){return e.filter(Boolean).join(\" \")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g([\"react-colorful__pointer\",r.className]);return e.createElement(\"div\",{className:l,style:{top:100*a+\"%\",left:100*n+\"%\"}},e.createElement(\"div\",{className:\"react-colorful__pointer-fill\",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},x=function(e){return\"#\"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},C=function(e,r){return void 0===r&&(r=\"deg\"),Number(e)*(_[r]||1)},E=function(e){var r=/hsla?\\(?\\s*(-?\\d*\\.?\\d+)(deg|rad|grad|turn)?[,\\s]+(-?\\d*\\.?\\d+)%?[,\\s]+(-?\\d*\\.?\\d+)%?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i.exec(e);return r?M({h:C(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},H=E,M=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},N=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},w=function(e){var r=N(e);return\"hsl(\"+r.h+\", \"+r.s+\"%, \"+r.l+\"%)\"},y=function(e){var r=N(e);return\"hsla(\"+r.h+\", \"+r.s+\"%, \"+r.l+\"%, \"+r.a+\")\"},q=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},k=function(e){var r=/hsva?\\(?\\s*(-?\\d*\\.?\\d+)(deg|rad|grad|turn)?[,\\s]+(-?\\d*\\.?\\d+)%?[,\\s]+(-?\\d*\\.?\\d+)%?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i.exec(e);return r?D({h:C(r[1],r[2]),s:Number(r[3]),v:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},O=k,I=function(e){var r=/rgba?\\(?\\s*(-?\\d*\\.?\\d+)(%)?[,\\s]+(-?\\d*\\.?\\d+)(%)?[,\\s]+(-?\\d*\\.?\\d+)(%)?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i.exec(e);return r?B({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=I,z=function(e){var r=e.toString(16);return r.length<2?\"0\"+r:r},B=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},D=function(e){return{h:b(e.h),s:b(e.s),v:b(e.v),a:b(e.a,2)}},K=e.memo(function(r){var t=r.hue,n=r.onChange,o=g([\"react-colorful__hue\",r.className]);return e.createElement(\"div\",{className:o},e.createElement(m,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:s(t+360*e.left,0,360)})},\"aria-label\":\"Hue\",\"aria-valuetext\":b(t)},e.createElement(p,{className:\"react-colorful__hue-pointer\",left:t/360,color:w({h:t,s:100,v:100,a:1})})))}),L=e.memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:w({h:t.h,s:100,v:100,a:1})};return e.createElement(\"div\",{className:\"react-colorful__saturation\",style:o},e.createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},\"aria-label\":\"Color\",\"aria-valuetext\":\"Saturation \"+b(t.s)+\"%, Brightness \"+b(t.v)+\"%\"},e.createElement(p,{className:\"react-colorful__saturation-pointer\",top:1-t.v/100,left:t.s/100,color:w(t)})))}),A=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},S=function(e,r){return e.replace(/\\s/g,\"\")===r.replace(/\\s/g,\"\")};function T(e,t,l){var u=i(l),c=o(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=r({color:t,hsva:s});n(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}},[t,e]),n(function(){var r;A(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))},[s,e,u]);var d=a(function(e){f(function(r){return Object.assign({},r,e)})},[]);return[s,d]}var F,P=\"undefined\"!=typeof window?l:n,X=function(){return F||(\"undefined\"!=typeof __webpack_nonce__?__webpack_nonce__:void 0)},Y=function(e){F=e},R=new Map,V=function(e){P(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!R.has(r)){var t=r.createElement(\"style\");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:\"\";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\\'data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill-opacity=\".05\"><path d=\"M8 0h8v8H8zM0 8h8v8H0z\"/></svg>\\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',R.set(r,t);var n=X();n&&t.setAttribute(\"nonce\",n),r.head.appendChild(t)}},[])},$=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,[\"className\",\"colorModel\",\"color\",\"onChange\"]),f=r(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g([\"react-colorful\",n]);return e.createElement(\"div\",u({},s,{ref:f,className:m}),e.createElement(L,{hsva:d,onChange:h}),e.createElement(K,{hue:d.h,onChange:h,className:\"react-colorful__last-control\"}))},G={defaultColor:\"000\",toHsva:function(e){return B(x(e))},fromHsva:function(e){return t=(r=q(e)).g,n=r.b,\"#\"+z(r.r)+z(t)+z(n);var r,t,n},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||A(x(e),x(r))}},J=function(r){return e.createElement($,u({},r,{colorModel:G}))},Q=function(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:\"linear-gradient(90deg, \"+y(Object.assign({},n,{a:0}))+\", \"+y(Object.assign({},n,{a:1}))+\")\"},l=g([\"react-colorful__alpha\",t]);return e.createElement(\"div\",{className:l},e.createElement(\"div\",{className:\"react-colorful__alpha-gradient\",style:a}),e.createElement(m,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:s(n.a+e.left)})},\"aria-label\":\"Alpha\",\"aria-valuetext\":b(100*n.a)+\"%\"},e.createElement(p,{className:\"react-colorful__alpha-pointer\",left:n.a,color:y(n)})))},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,[\"className\",\"colorModel\",\"color\",\"onChange\"]),f=r(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g([\"react-colorful\",n]);return e.createElement(\"div\",u({},s,{ref:f,className:m}),e.createElement(L,{hsva:d,onChange:h}),e.createElement(K,{hue:d.h,onChange:h}),e.createElement(Q,{hsva:d,onChange:h,className:\"react-colorful__last-control\"}))},W={defaultColor:{h:0,s:0,l:0,a:1},toHsva:M,fromHsva:N,equal:A},Z=function(r){return e.createElement(U,u({},r,{colorModel:W}))},ee={defaultColor:\"hsla(0, 0%, 0%, 1)\",toHsva:E,fromHsva:y,equal:S},re=function(r){return e.createElement(U,u({},r,{colorModel:ee}))},te={defaultColor:{h:0,s:0,l:0},toHsva:function(e){return M({h:e.h,s:e.s,l:e.l,a:1})},fromHsva:function(e){return{h:(r=N(e)).h,s:r.s,l:r.l};var r},equal:A},ne=function(r){return e.createElement($,u({},r,{colorModel:te}))},oe={defaultColor:\"hsl(0, 0%, 0%)\",toHsva:H,fromHsva:w,equal:S},ae=function(r){return e.createElement($,u({},r,{colorModel:oe}))},le={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(e){return e},fromHsva:D,equal:A},ue=function(r){return e.createElement(U,u({},r,{colorModel:le}))},ce={defaultColor:\"hsva(0, 0%, 0%, 1)\",toHsva:k,fromHsva:function(e){var r=D(e);return\"hsva(\"+r.h+\", \"+r.s+\"%, \"+r.v+\"%, \"+r.a+\")\"},equal:S},ie=function(r){return e.createElement(U,u({},r,{colorModel:ce}))},se={defaultColor:{h:0,s:0,v:0},toHsva:function(e){return{h:e.h,s:e.s,v:e.v,a:1}},fromHsva:function(e){var r=D(e);return{h:r.h,s:r.s,v:r.v}},equal:A},fe=function(r){return e.createElement($,u({},r,{colorModel:se}))},ve={defaultColor:\"hsv(0, 0%, 0%)\",toHsva:O,fromHsva:function(e){var r=D(e);return\"hsv(\"+r.h+\", \"+r.s+\"%, \"+r.v+\"%)\"},equal:S},de=function(r){return e.createElement($,u({},r,{colorModel:ve}))},he={defaultColor:{r:0,g:0,b:0,a:1},toHsva:B,fromHsva:q,equal:A},me=function(r){return e.createElement(U,u({},r,{colorModel:he}))},ge={defaultColor:\"rgba(0, 0, 0, 1)\",toHsva:I,fromHsva:function(e){var r=q(e);return\"rgba(\"+r.r+\", \"+r.g+\", \"+r.b+\", \"+r.a+\")\"},equal:S},pe=function(r){return e.createElement(U,u({},r,{colorModel:ge}))},be={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return B({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){return{r:(r=q(e)).r,g:r.g,b:r.b};var r},equal:A},_e=function(r){return e.createElement($,u({},r,{colorModel:be}))},xe={defaultColor:\"rgb(0, 0, 0)\",toHsva:j,fromHsva:function(e){var r=q(e);return\"rgb(\"+r.r+\", \"+r.g+\", \"+r.b+\")\"},equal:S},Ce=function(r){return e.createElement($,u({},r,{colorModel:xe}))},Ee=/^#?([0-9A-F]{3,8})$/i,He=function(r){var t=r.color,l=void 0===t?\"\":t,s=r.onChange,f=r.onBlur,v=r.escape,d=r.validate,h=r.format,m=r.process,g=c(r,[\"color\",\"onChange\",\"onBlur\",\"escape\",\"validate\",\"format\",\"process\"]),p=o(function(){return v(l)}),b=p[0],_=p[1],x=i(s),C=i(f),E=a(function(e){var r=v(e.target.value);_(r),d(r)&&x(m?m(r):r)},[v,m,d,x]),H=a(function(e){d(e.target.value)||_(v(l)),C(e)},[l,v,d,C]);return n(function(){_(v(l))},[l,v]),e.createElement(\"input\",u({},g,{value:h?h(b):b,spellCheck:\"false\",onChange:E,onBlur:H}))},Me=function(e){return\"#\"+e},Ne=function(r){var t=r.prefixed,n=r.alpha,o=c(r,[\"prefixed\",\"alpha\"]),l=a(function(e){return e.replace(/([^0-9A-F]+)/gi,\"\").substr(0,n?8:6)},[n]),i=a(function(e){return function(e,r){var t=Ee.exec(e),n=t?t[1].length:0;return 3===n||6===n||!!r&&4===n||!!r&&8===n}(e,n)},[n]);return e.createElement(He,u({},o,{escape:l,format:t?Me:void 0,process:Me,validate:i}))};export{Ne as HexColorInput,J as HexColorPicker,ne as HslColorPicker,ae as HslStringColorPicker,Z as HslaColorPicker,re as HslaStringColorPicker,fe as HsvColorPicker,de as HsvStringColorPicker,ue as HsvaColorPicker,ie as HsvaStringColorPicker,_e as RgbColorPicker,Ce as RgbStringColorPicker,me as RgbaColorPicker,pe as RgbaStringColorPicker,Y as setNonce};\n//# sourceMappingURL=index.module.js.map\n","import { useState, useEffect, useCallback } from \"react\";\nimport reactCSS from \"reactcss\";\n\nconst KirkiReactColorfulInput = (props) => {\n const { onChange, color = \"\" } = props;\n const [value, setValue] = useState(() => color);\n\n const handleChange = useCallback(\n (e) => {\n let val = e.target.value;\n\n if (2 === val.length) {\n if (!val.includes(\"#\") && !val.includes(\"rg\") && !val.includes(\"hs\")) {\n val = \"#\" + val;\n }\n } else if (3 === val.length || 6 === val.length) {\n if (!val.includes(\"#\") && !val.includes(\"rg\") && !val.includes(\"hs\")) {\n val = \"#\" + val;\n }\n }\n\n val = val.toLowerCase();\n\n // Thank you: https://regexr.com/39cgj\n const pattern = new RegExp(\n /(?:#|0x)(?:[a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})\\b|(?:rgb|hsl)a?\\([^\\)]*\\)/\n );\n\n if (pattern.test(val)) {\n onChange(val); // Run onChange handler passed by `KirkiReactColorfulForm` component.\n }\n\n setValue(val);\n },\n [onChange]\n );\n\n // Update the local state when `color` property value is changed.\n useEffect(() => {\n // We don't need to convert the color since it's already handled in parent component.\n setValue(color);\n }, [color]);\n\n const pickersWithAlpha = [\n \"RgbaColorPicker\",\n \"RgbaStringColorPicker\",\n \"HslaColorPicker\",\n \"HslaStringColorPicker\",\n \"HsvaColorPicker\",\n \"HsvaStringColorPicker\",\n ];\n\n const styles = reactCSS({\n default: {\n colorPreviewWrapper: {\n backgroundImage: pickersWithAlpha.includes(props.pickerComponent)\n ? 'url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==\")'\n : \"none\",\n },\n colorPreview: {\n backgroundColor: value,\n },\n },\n });\n\n return (\n <div className=\"kirki-color-input-wrapper\">\n <div className=\"kirki-color-input-control\">\n {!props.useHueMode && (\n <div\n className=\"kirki-color-preview-wrapper\"\n style={styles.colorPreviewWrapper}\n >\n <button\n type=\"button\"\n className=\"kirki-color-preview\"\n style={styles.colorPreview}\n ></button>\n </div>\n )}\n <input\n type=\"text\"\n value={value}\n className=\"kirki-color-input\"\n spellCheck=\"false\"\n onChange={handleChange}\n />\n </div>\n </div>\n );\n};\n\nexport default KirkiReactColorfulInput;\n","const KirkiReactColorfulSwatches = ({ colors, onClick }) => {\n return (\n <div className=\"kirki-color-swatches\">\n {colors.map((clr, index) => {\n\t\t\t\tconst color = clr && clr.color ? clr.color : clr;\n\n return (\n <button\n key={index.toString()}\n type=\"button\"\n className=\"kirki-color-swatch\"\n data-kirki-color={color}\n style={{ backgroundColor: color }}\n onClick={() => onClick(color)}\n ></button>\n );\n })}\n </div>\n );\n};\n\nexport default KirkiReactColorfulSwatches;\n","var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return\"string\"==typeof r?r.length>0:\"number\"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return(r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return{r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return{r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?\"0\"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return{h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return{r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return{h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return{h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e},c=function(r){return{h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u},l=/^hsla?\\(\\s*([+-]?\\d*\\.?\\d+)(deg|rad|grad|turn)?\\s*,\\s*([+-]?\\d*\\.?\\d+)%\\s*,\\s*([+-]?\\d*\\.?\\d+)%\\s*(?:,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,p=/^hsla?\\(\\s*([+-]?\\d*\\.?\\d+)(deg|rad|grad|turn)?\\s+([+-]?\\d*\\.?\\d+)%\\s+([+-]?\\d*\\.?\\d+)%\\s*(?:\\/\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,v=/^rgba?\\(\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*(?:,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,m=/^rgba?\\(\\s*([+-]?\\d*\\.?\\d+)(%)?\\s+([+-]?\\d*\\.?\\d+)(%)?\\s+([+-]?\\d*\\.?\\d+)(%)?\\s*(?:\\/\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},\"hex\"],[function(r){var t=v.exec(r)||m.exec(r);return t?t[2]!==t[4]||t[4]!==t[6]?null:a({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},\"rgb\"],[function(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u=\"deg\"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},\"hsl\"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},\"rgb\"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},\"hsl\"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return{h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},\"hsv\"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return[e,t[n][1]]}return[null,void 0]},x=function(r){return\"string\"==typeof r?N(r.trim(),y.string):\"object\"==typeof r&&null!==r?N(r,y.object):[null,void 0]},I=function(r){return x(r)[1]},M=function(r,t){var n=c(r);return{h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return(299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return{h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):\"\",\"#\"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?\"rgba(\"+t+\", \"+n+\", \"+e+\", \"+u+\")\":\"rgb(\"+t+\", \"+n+\", \"+e+\")\";var r,t,n,e,u},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?\"hsla(\"+t+\", \"+n+\"%, \"+e+\"%, \"+u+\")\":\"hsl(\"+t+\", \"+n+\"%, \"+e+\"%)\";var r,t,n,e,u},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return\"number\"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t},r.prototype.hue=function(r){var t=c(this.rgba);return\"number\"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r))})},E=function(){return new j({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})};export{j as Colord,w as colord,k as extend,I as getFormat,E as random};\n","import { useState, useEffect } from \"react\";\nimport reactCSS from \"reactcss\";\n\nconst KirkiReactColorfulCircle = (props) => {\n const { color = \"\" } = props;\n const [value, setValue] = useState(() => color);\n\n // Update the local state when `color` property value is changed.\n useEffect(() => {\n // We don't need to convert the color since it's using the customizer value.\n setValue(color);\n }, [color]);\n\n const pickersWithAlpha = [\n \"RgbaColorPicker\",\n \"RgbaStringColorPicker\",\n \"HslaColorPicker\",\n \"HslaStringColorPicker\",\n \"HsvaColorPicker\",\n \"HsvaStringColorPicker\",\n ];\n\n const styles = reactCSS({\n default: {\n triggerButton: {\n backgroundImage: pickersWithAlpha.includes(props.pickerComponent)\n ? 'url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==\")'\n : \"none\",\n },\n colorPreview: {\n backgroundColor: value ? value : \"transparent\",\n },\n },\n });\n\n return (\n <div className=\"kirki-trigger-circle-wrapper\">\n <button\n type=\"button\"\n className=\"kirki-trigger-circle\"\n onClick={props.togglePickerHandler}\n style={styles.triggerButton}\n >\n <div className=\"kirki-color-preview\" style={styles.colorPreview}></div>\n </button>\n </div>\n );\n};\n\nexport default KirkiReactColorfulCircle;\n","import { useState, useRef } from \"react\";\nimport {\n HexColorPicker,\n RgbColorPicker,\n RgbaColorPicker,\n RgbStringColorPicker,\n RgbaStringColorPicker,\n HslColorPicker,\n HslaColorPicker,\n HslStringColorPicker,\n HslaStringColorPicker,\n HsvColorPicker,\n HsvaColorPicker,\n HsvStringColorPicker,\n HsvaStringColorPicker,\n} from \"react-colorful\";\nimport KirkiReactColorfulInput from \"./js/components/KirkiReactColorfulInput\";\nimport KirkiReactColorfulSwatches from \"./js/components/KirkiReactColorfulSwatches\";\nimport convertColorForPicker from \"./js/utils/convertColorForPicker\";\nimport convertColorForCustomizer from \"./js/utils/convertColorForCustomizer\";\nimport convertColorForInput from \"./js/utils/convertColorForInput\";\nimport useClickOutside from \"./js/hooks/useClickOutside\";\nimport useFocusOutside from \"./js/hooks/useFocusOutside\";\nimport useWindowResize from \"./js/hooks/useWindowResize\";\nimport KirkiReactColorfulCircle from \"./js/components/KirkiReactColorfulCircle\";\nimport { colord } from \"colord\";\n\n/**\n * The form component of Kirki React Colorful.\n *\n * Globals:\n * _, wp, React, ReactDOM\n *\n * @param {Object} props The props for the component.\n * @returns The component element.\n */\nconst KirkiReactColorfulForm = (props) => {\n const { control, customizerSetting, useHueMode, pickerComponent, choices } =\n props;\n\n const parseEmptyValue = () => (useHueMode ? 0 : \"#000000\");\n\n const parseHueModeValue = (hueValue) => {\n hueValue = hueValue || parseEmptyValue();\n hueValue = hueValue < 0 ? 0 : hueValue;\n\n return hueValue > 360 ? 360 : hueValue;\n };\n\n const parseInputValue = (value) => {\n if (\"\" === value) return \"\";\n\n return useHueMode\n ? parseHueModeValue(value)\n : convertColorForInput(\n value,\n pickerComponent,\n choices.formComponent\n ).replace(\";\", \"\");\n };\n\n const parseCustomizerValue = (value) => {\n if (\"\" === value) return \"\";\n\n return convertColorForCustomizer(\n value,\n pickerComponent,\n choices.formComponent\n );\n };\n\n const parsePickerValue = (value) => {\n value = value || parseEmptyValue();\n\n // Hard coded saturation and lightness when using hue mode.\n return useHueMode\n ? { h: value, s: 100, l: 50 }\n : convertColorForPicker(value, pickerComponent);\n };\n\n const [inputValue, setInputValue] = useState(() => {\n return parseInputValue(props.value);\n });\n\n const [pickerValue, setPickerValue] = useState(() => {\n return parsePickerValue(props.value);\n });\n\n let currentInputValue = inputValue;\n let currentPickerValue = pickerValue;\n\n // This function will be called when this control's customizer value is changed.\n control.updateComponentState = (value) => {\n const valueForInput = parseInputValue(value);\n let changeInputValue = false;\n\n if (typeof valueForInput === \"string\" || useHueMode) {\n changeInputValue = valueForInput !== inputValue;\n } else {\n changeInputValue =\n JSON.stringify(valueForInput) !== JSON.stringify(currentInputValue);\n }\n\n if (changeInputValue) setInputValue(valueForInput);\n\n const valueForPicker = parsePickerValue(value);\n let changePickerValue = false;\n\n if (typeof valueForPicker === \"string\" || useHueMode) {\n changePickerValue = valueForPicker !== pickerValue;\n } else {\n changePickerValue =\n JSON.stringify(valueForPicker) !== JSON.stringify(currentPickerValue);\n }\n\n if (changePickerValue) setPickerValue(valueForPicker);\n };\n\n const saveToCustomizer = (value) => {\n if (useHueMode) {\n /**\n * When using hue mode, the pickerComponent is HslColorPicker.\n * If there is value.h, then value is set from the picker.\n * Otherwise, value is set from the input or the customizer.\n */\n value = value.h || 0 === value.h ? value.h : value;\n value = parseHueModeValue(value);\n } else {\n value = parseCustomizerValue(value);\n }\n\n customizerSetting.set(value);\n };\n\n const initialColor =\n \"\" !== props.default && \"undefined\" !== typeof props.default\n ? props.default\n : props.value;\n\n /**\n * Function to run on picker change.\n *\n * @param {string|Object} color The value returned by the picker. It can be a string or a color object.\n */\n const handlePickerChange = (color) => {\n if (props.onChange) props.onChange(color);\n currentPickerValue = color;\n saveToCustomizer(color);\n };\n\n const handleInputChange = (value) => {\n currentInputValue = value;\n saveToCustomizer(value);\n };\n\n const handleReset = () => {\n if (!initialColor) {\n currentInputValue = \"\";\n currentPickerValue = \"\";\n }\n\n saveToCustomizer(initialColor);\n };\n\n const handleSwatchesClick = (swatchColor) => {\n saveToCustomizer(swatchColor);\n };\n\n const handleWindowResize = () => {\n setPickerContainerStyle(getPickerContainerStyle());\n };\n\n let controlLabel = (\n <span\n className=\"customize-control-title\"\n dangerouslySetInnerHTML={{ __html: props.label }}\n />\n );\n\n let controlDescription = (\n <span\n className=\"description customize-control-description\"\n dangerouslySetInnerHTML={{ __html: props.description }}\n ></span>\n );\n\n controlLabel = (\n <label className=\"kirki-control-label\">\n {props.label ? controlLabel : \"\"}\n {props.description ? controlDescription : \"\"}\n </label>\n );\n\n controlLabel = props.label || props.description ? controlLabel : \"\";\n\n const formRef = useRef(null); // Reference to the form div.\n const pickerRef = useRef(null); // Reference to the picker popup.\n const resetRef = useRef(null); // Reference to the picker popup.\n\n const [isPickerOpen, setIsPickerOpen] = useState(false);\n\n const usePositionFixed = \"default\" !== choices.labelStyle ? true : false;\n\n const [pickerContainerStyle, setPickerContainerStyle] = useState({});\n\n const getPickerContainerStyle = () => {\n let pickerContainerStyle = {};\n\n if (!usePositionFixed) return pickerContainerStyle;\n\n let padding = window.getComputedStyle(\n control.container[0].parentNode\n ).paddingLeft;\n padding = parseInt(padding, 10) * 2;\n\n pickerContainerStyle.width =\n control.container[0].parentNode.getBoundingClientRect().width - padding;\n\n const controlLeftOffset = (control.container[0].offsetLeft - 9) * -1;\n\n pickerContainerStyle.left = controlLeftOffset + \"px\";\n\n return pickerContainerStyle;\n };\n\n const convertInputValueTo6Digits = () => {\n if (4 === inputValue.length && inputValue.includes(\"#\")) {\n setInputValue(colord(inputValue).toHex());\n }\n };\n\n const togglePicker = () => {\n if (isPickerOpen) {\n closePicker();\n } else {\n openPicker();\n }\n };\n\n const openPicker = () => {\n if (isPickerOpen) return;\n\n setPickerContainerStyle(getPickerContainerStyle());\n convertInputValueTo6Digits();\n setIsPickerOpen(true);\n };\n\n const closePicker = () => {\n if (!isPickerOpen) return;\n\n setIsPickerOpen(false);\n setTimeout(convertInputValueTo6Digits, 200);\n };\n\n let KirkiPickerComponent;\n\n // We can't just render `pickerComponent` directly, we need these lines so that the compiler will import them.\n switch (pickerComponent) {\n case \"HexColorPicker\":\n KirkiPickerComponent = HexColorPicker;\n break;\n case \"RgbColorPicker\":\n KirkiPickerComponent = RgbColorPicker;\n break;\n case \"RgbStringColorPicker\":\n KirkiPickerComponent = RgbStringColorPicker;\n break;\n case \"RgbaColorPicker\":\n KirkiPickerComponent = RgbaColorPicker;\n break;\n case \"RgbaStringColorPicker\":\n KirkiPickerComponent = RgbaStringColorPicker;\n break;\n // We treat HueColorPicker (hue mode) as HslColorPicker.\n case \"HueColorPicker\":\n KirkiPickerComponent = HslColorPicker;\n break;\n case \"HslColorPicker\":\n KirkiPickerComponent = HslColorPicker;\n break;\n case \"HslStringColorPicker\":\n KirkiPickerComponent = HslStringColorPicker;\n break;\n case \"HslaColorPicker\":\n KirkiPickerComponent = HslaColorPicker;\n break;\n case \"HslaStringColorPicker\":\n KirkiPickerComponent = HslaStringColorPicker;\n break;\n case \"HsvColorPicker\":\n KirkiPickerComponent = HsvColorPicker;\n break;\n case \"HsvStringColorPicker\":\n KirkiPickerComponent = HsvStringColorPicker;\n break;\n case \"HsvaColorPicker\":\n KirkiPickerComponent = HsvaColorPicker;\n break;\n case \"HsvaStringColorPicker\":\n KirkiPickerComponent = HsvaStringColorPicker;\n break;\n default:\n KirkiPickerComponent = HexColorPicker;\n break;\n }\n\n useWindowResize(handleWindowResize);\n\n // Handle outside focus to close the picker popup.\n useFocusOutside(formRef, closePicker);\n\n // Handle outside click to close the picker popup.\n useClickOutside(pickerRef, resetRef, closePicker);\n\n if (jQuery.wp && jQuery.wp.wpColorPicker) {\n const wpColorPickerSwatches =\n jQuery.wp.wpColorPicker.prototype.options.palettes;\n\n // If 3rd parties applied custom colors to wpColorPicker swatches, let's use them.\n if (Array.isArray(wpColorPickerSwatches)) {\n if (wpColorPickerSwatches.length < 8) {\n for (let i = wpColorPickerSwatches.length; i <= 8; i++) {\n wpColorPickerSwatches.push(choices.swatches[i]);\n }\n }\n\n choices.swatches = wpColorPickerSwatches;\n }\n }\n\n const controlHeader = (\n <>\n {controlLabel}\n <div\n className=\"customize-control-notifications-container\"\n ref={props.setNotificationContainer}\n />\n </>\n );\n\n let formClassName = useHueMode\n ? \"kirki-control-form use-hue-mode\"\n : \"kirki-control-form\";\n\n formClassName += \" has-\" + choices.labelStyle + \"-label-style\";\n\n let pickerContainerClassName = isPickerOpen\n ? pickerComponent + \" colorPickerContainer is-open\"\n : pickerComponent + \" colorPickerContainer\";\n\n const pickerTrigger = (\n <>\n <button\n type=\"button\"\n ref={resetRef}\n className=\"kirki-control-reset\"\n onClick={handleReset}\n style={{ display: isPickerOpen ? \"flex\" : \"none\" }}\n >\n <i className=\"dashicons dashicons-image-rotate\"></i>\n </button>\n\n <KirkiReactColorfulCircle\n pickerComponent={pickerComponent}\n useHueMode={useHueMode}\n color={\n !useHueMode\n ? inputValue\n : colord({ h: inputValue, s: 100, l: 50 }).toHex()\n }\n isPickerOpen={isPickerOpen}\n togglePickerHandler={togglePicker}\n />\n </>\n );\n\n let pickerHeader;\n\n switch (choices.labelStyle) {\n case \"tooltip\":\n pickerHeader = (\n <>\n {pickerTrigger}\n {!isPickerOpen && (\n <div className=\"kirki-label-tooltip\">{controlHeader}</div>\n )}\n </>\n );\n break;\n\n case \"top\":\n pickerHeader = (\n <>\n {controlHeader}\n {pickerTrigger}\n </>\n );\n break;\n\n default:\n pickerHeader = (\n <>\n <div className=\"kirki-control-cols\">\n <div className=\"kirki-control-left-col\">{controlHeader}</div>\n <div className=\"kirki-control-right-col\">{pickerTrigger}</div>\n </div>\n </>\n );\n break;\n }\n\n return (\n <>\n <div className={formClassName} ref={formRef} tabIndex=\"1\">\n {pickerHeader}\n <div\n ref={pickerRef}\n className={pickerContainerClassName}\n style={pickerContainerStyle}\n >\n {!useHueMode && (\n <KirkiReactColorfulSwatches\n colors={choices.swatches}\n onClick={handleSwatchesClick}\n />\n )}\n\n <KirkiPickerComponent\n color={pickerValue}\n onChange={handlePickerChange}\n />\n\n <KirkiReactColorfulInput\n pickerComponent={pickerComponent}\n useHueMode={useHueMode}\n color={inputValue}\n onChange={handleInputChange}\n />\n </div>\n </div>\n </>\n );\n};\n\nexport default KirkiReactColorfulForm;\n","import { colord } from \"colord\";\n\n/**\n * Convert the value for the color input.\n *\n * @param {string|Object} value The value to be converted.\n * @param {string} pickerComponent The picker component name.\n *\n * @returns {string} The converted value.\n */\nconst convertColorForInput = (value, pickerComponent, formComponent) => {\n let rgba;\n let hsv;\n let hsva;\n let convertedValue;\n\n switch (pickerComponent) {\n /**\n * The HexColorPicker is used by these condition:\n * 1. When formComponent is defined with HexColorPicker as the value.\n * 2. When formComponent is not defined but the \"alpha\" choice is not set or set to false (the old way).\n */\n case \"HexColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"#\")\n ? value\n : colord(value).toHex();\n break;\n\n case \"RgbColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"rgb(\")\n ? value\n : colord(value).toRgbString();\n break;\n\n case \"RgbStringColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"rgba\")\n ? value\n : colord(value).toRgbString();\n break;\n\n case \"RgbaColorPicker\":\n rgba = colord(value).toRgb();\n\n if (rgba.a < 1) {\n convertedValue =\n \"string\" === typeof value && value.includes(\"rgba\")\n ? value\n : colord(value).toRgbString();\n } else {\n convertedValue = colord(value).toRgbString();\n\n // Force to set the alpha value.\n if (\n convertedValue.includes(\"rgb\") &&\n !convertedValue.includes(\"rgba\")\n ) {\n convertedValue = convertedValue.replace(\"rgb\", \"rgba\");\n convertedValue = convertedValue.replace(\")\", \", 1)\");\n }\n }\n\n break;\n\n /**\n * The RgbaStringColorPicker is used by these condition:\n * 1. When formComponent is defined with RgbaColorPicker as the value.\n * 2. When formComponent is not defined but the \"alpha\" choice is set to true.\n */\n case \"RgbaStringColorPicker\":\n rgba = colord(value).toRgb();\n\n // When it uses the 2nd condition above, then the expected value is \"hex\".\n if (rgba.a == 1 && !formComponent) {\n convertedValue =\n \"string\" === typeof value && value.includes(\"#\")\n ? value\n : colord(value).toHex();\n } else {\n convertedValue = colord(value).toRgbString();\n\n // Force to set the alpha value.\n if (\n convertedValue.includes(\"rgb\") &&\n !convertedValue.includes(\"rgba\")\n ) {\n convertedValue = convertedValue.replace(\"rgb\", \"rgba\");\n convertedValue = convertedValue.replace(\")\", \", 1)\");\n }\n }\n\n break;\n\n case \"HslColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"hsl(\")\n ? value\n : colord(value).toHslString();\n break;\n\n case \"HslStringColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"hsl(\")\n ? value\n : colord(value).toHslString();\n break;\n\n case \"HslaColorPicker\":\n convertedValue = colord(value).toHslString();\n\n // Force to set the alpha value.\n if (convertedValue.includes(\"hsl\") && !convertedValue.includes(\"hsla\")) {\n convertedValue = convertedValue.replace(\"hsl\", \"hsla\");\n convertedValue = convertedValue.replace(\")\", \", 1)\");\n }\n\n break;\n\n case \"HslaStringColorPicker\":\n convertedValue = colord(value).toHslString();\n\n // Force to set the alpha value.\n if (convertedValue.includes(\"hsl\") && !convertedValue.includes(\"hsla\")) {\n convertedValue = convertedValue.replace(\"hsl\", \"hsla\");\n convertedValue = convertedValue.replace(\")\", \", 1)\");\n }\n\n break;\n\n /**\n * The colord library doesn't provide .toHsvString() method yet.\n * This manual value-building will apply to \"hsv\" and \"hsva\" stuff below.\n */\n case \"HsvColorPicker\":\n hsv = colord(value).toHsv();\n convertedValue = \"hsv(\" + hsv.h + \", \" + hsv.s + \"%, \" + hsv.v + \"%)\";\n break;\n\n case \"HsvStringColorPicker\":\n hsv = colord(value).toHsv();\n convertedValue = \"hsv(\" + hsv.h + \", \" + hsv.s + \"%, \" + hsv.v + \"%)\";\n break;\n\n case \"HsvaColorPicker\":\n hsva = colord(value).toHsv();\n convertedValue =\n \"hsva(\" +\n hsva.h +\n \", \" +\n hsva.s +\n \"%, \" +\n hsva.v +\n \"%, \" +\n hsva.a +\n \")\";\n break;\n\n case \"HsvaStringColorPicker\":\n hsva = colord(value).toHsv();\n convertedValue =\n \"hsva(\" +\n hsva.h +\n \", \" +\n hsva.s +\n \"%, \" +\n hsva.v +\n \"%, \" +\n hsva.a +\n \")\";\n break;\n\n default:\n convertedValue = colord(value).toHex();\n break;\n }\n\n return convertedValue;\n};\n\nexport default convertColorForInput;\n","import { colord } from \"colord\";\n\n/**\n * Convert the value for the color picker.\n *\n * @param {string|Object} value The value to be converted.\n * @param {string} pickerComponent The picker component name.\n *\n * @returns {string|Object} The converted value.\n */\nconst convertColorForPicker = (value, pickerComponent) => {\n\tlet convertedValue;\n\n\tswitch (pickerComponent) {\n\t\tcase 'HexColorPicker':\n\t\t\tconvertedValue = colord(value).toHex();\n\t\t\tbreak;\n\n\t\tcase 'RgbColorPicker':\n\t\t\tconvertedValue = colord(value).toRgb();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'RgbStringColorPicker':\n\t\t\tconvertedValue = colord(value).toRgbString();\n\t\t\tbreak;\n\n\t\tcase 'RgbaColorPicker':\n\t\t\tconvertedValue = colord(value).toRgb();\n\t\t\tbreak;\n\n\t\tcase 'RgbaStringColorPicker':\n\t\t\tconvertedValue = colord(value).toRgbString();\n\n\t\t\t// Force to set the alpha channel value.\n\t\t\tif (convertedValue.includes('rgb') && !convertedValue.includes('rgba')) {\n\t\t\t\tconvertedValue = convertedValue.replace('rgb', 'rgba');\n\t\t\t\tconvertedValue = convertedValue.replace(')', ', 1)');\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase 'HslColorPicker':\n\t\t\tconvertedValue = colord(value).toHsl();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'HslStringColorPicker':\n\t\t\tconvertedValue = colord(value).toHslString();\n\t\t\tbreak;\n\n\t\tcase 'HslaColorPicker':\n\t\t\tconvertedValue = colord(value).toHsl();\n\t\t\tbreak;\n\n\t\tcase 'HslaStringColorPicker':\n\t\t\tconvertedValue = colord(value).toHslString();\n\n\t\t\t// Force to set the alpha channel value.\n\t\t\tif (convertedValue.includes('hsl') && !convertedValue.includes('hsla')) {\n\t\t\t\tconvertedValue = convertedValue.replace('hsl', 'hsla');\n\t\t\t\tconvertedValue = convertedValue.replace(')', ', 1)');\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase 'HsvColorPicker':\n\t\t\tconvertedValue = colord(value).toHsv();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'HsvStringColorPicker':\n\t\t\tconst hsv = colord(value).toHsv();\n\t\t\tconvertedValue = 'hsv(' + hsv.h + ', ' + hsv.s + '%, ' + hsv.v + '%)';\n\n\t\t\tbreak;\n\n\t\tcase 'HsvaColorPicker':\n\t\t\tconvertedValue = colord(value).toHsv();\n\t\t\tbreak;\n\n\t\tcase 'HsvaStringColorPicker':\n\t\t\t// colord library doesn't provide .toHsvString() method yet.\n\t\t\tconst hsva = colord(value).toHsv();\n\t\t\tconvertedValue = 'hsva(' + hsva.h + ', ' + hsva.s + '%, ' + hsva.v + '%, ' + hsva.a + ')';\n\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tconvertedValue = colord(value).toHex();\n\t\t\tbreak;\n\t}\n\n\treturn convertedValue;\n};\n\nexport default convertColorForPicker;\n","import { colord } from \"colord\";\n\n/**\n * Convert the value for the customizer.\n *\n * @param {string|Object} value The value to be converted.\n * @param {string} pickerComponent The picker component name.\n *\n * @returns {string} The converted value.\n */\nconst convertColorForCustomizer = (value, pickerComponent, formComponent) => {\n\tlet rgba;\n\tlet hsv;\n\tlet hsva;\n\tlet convertedValue;\n\n\tswitch (pickerComponent) {\n\t\t/**\n\t\t * The HexColorPicker is used by these condition:\n\t\t * 1. When formComponent is defined with HexColorPicker as the value.\n\t\t * 2. When formComponent is not defined but the \"alpha\" choice is not set or set to false (the old way).\n\t\t */\n\t\tcase 'HexColorPicker':\n\t\t\tconvertedValue = 'string' === typeof value && value.includes('#') ? value : colord(value).toHex();\n\t\t\tbreak;\n\n\t\tcase 'RgbColorPicker':\n\t\t\tconvertedValue = colord(value).toRgb();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'RgbStringColorPicker':\n\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"rgb(\")\n ? value\n : colord(value).toRgbString();\n\t\t\tbreak;\n\n\t\tcase 'RgbaColorPicker':\n\t\t\trgba = colord(value).toRgb();\n\t\t\tconvertedValue = rgba;\n\t\t\tbreak;\n\n\t\t/**\n\t\t * The RgbaStringColorPicker is used by these condition:\n\t\t * 1. When formComponent is defined with RgbaColorPicker as the value.\n\t\t * 2. When formComponent is not defined but the \"alpha\" choice is set to true.\n\t\t */\n\t\tcase 'RgbaStringColorPicker':\n\t\t\trgba = colord(value).toRgb();\n\n\t\t\tif (rgba.a < 1) {\n\t\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"rgba\")\n ? value\n : colord(value).toRgbString();\n\t\t\t} else {\n\t\t\t\t// When it uses the 2nd condition above, then the expected value is \"hex\".\n\t\t\t\tif (!formComponent) {\n\t\t\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"#\")\n ? value\n : colord(value).toHex();\n\t\t\t\t} else {\n\t\t\t\t\tconvertedValue = colord(value).toRgbString();\n\n\t\t\t\t\t// Force to set the alpha channel value.\n\t\t\t\t\tif (convertedValue.includes('rgb') && !convertedValue.includes('rgba')) {\n\t\t\t\t\t\tconvertedValue = convertedValue.replace('rgb', 'rgba');\n\t\t\t\t\t\tconvertedValue = convertedValue.replace(')', ', 1)');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase 'HslColorPicker':\n\t\t\tconvertedValue = colord(value).toHsl();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'HslStringColorPicker':\n\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"hsl(\")\n ? value\n : colord(value).toHslString();\n\t\t\tbreak;\n\n\t\tcase 'HslaColorPicker':\n\t\t\tconvertedValue = colord(value).toHsl();\n\t\t\tbreak;\n\n\t\tcase 'HslaStringColorPicker':\n\t\t\tconvertedValue = colord(value).toHslString();\n\n\t\t\t// Force to set the alpha channel value.\n\t\t\tif (convertedValue.includes('hsl') && !convertedValue.includes('hsla')) {\n\t\t\t\tconvertedValue = convertedValue.replace('hsl', 'hsla');\n\t\t\t\tconvertedValue = convertedValue.replace(')', ', 1)');\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase 'HsvColorPicker':\n\t\t\tconvertedValue = colord(value).toHsv();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\t/**\n\t\t * The colord library doesn't provide .toHsvString() method yet.\n\t\t * This manual value-building will apply to \"HsvStringColorPicker\" and \"HsvaStringColorPicker\" stuff below.\n\t\t */\n\t\tcase 'HsvStringColorPicker':\n\t\t\thsv = colord(value).toHsv();\n\t\t\tconvertedValue = 'hsv(' + hsv.h + ', ' + hsv.s + '%, ' + hsv.v + '%)';\n\t\t\tbreak;\n\n\t\tcase 'HsvaColorPicker':\n\t\t\tconvertedValue = colord(value).toHsv();\n\t\t\tbreak;\n\n\t\tcase 'HsvaStringColorPicker':\n\t\t\thsva = colord(value).toHsv();\n\t\t\tconvertedValue = 'hsva(' + hsva.h + ', ' + hsva.s + '%, ' + hsva.v + '%, ' + hsva.a + ')';\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"#\")\n ? value\n : colord(value).toHex();\n\t\t\tbreak;\n\t}\n\n\treturn convertedValue;\n};\n\nexport default convertColorForCustomizer;\n","import { useEffect } from \"react\";\n\nconst useWindowResize = (handler) => {\n useEffect(() => {\n const listener = (e) => {\n handler();\n };\n\n window.addEventListener(\"resize\", listener, true);\n\n return () => {\n window.removeEventListener(\"resize\", listener, true);\n };\n }, [handler]);\n};\n\nexport default useWindowResize;\n","import { useEffect } from \"react\";\n\nconst useFocusOutside = (ref, handler) => {\n\tuseEffect(() => {\n\t\tconst listener = (e) => {\n\t\t\t// Do nothing if the component hasn't been mounted.\n\t\t\tif (!ref.current) return;\n\n\t\t\t// Do nothing if the focused element is inside the ref or the ref it self.\n\t\t\tif (ref.current.contains(e.target)) return;\n\n\t\t\thandler();\n\t\t};\n\n\t\tdocument.addEventListener(\"focus\", listener, true);\n\n\t\treturn () => {\n\t\t\tdocument.removeEventListener(\"focus\", listener, true);\n\t\t};\n\t}, [ref, handler]);\n};\n\nexport default useFocusOutside;\n","import { useEffect } from \"react\";\n\n/**\n * Code was taken and then modified from https://codesandbox.io/s/opmco?file=/src/useClickOutside.js:0-1192\n * It was improved version of https://usehooks.com/useOnClickOutside/\n */\nconst useClickOutside = (pickerRef, resetRef, handler) => {\n useEffect(() => {\n let startedWhenMounted = false;\n let startedInside = false;\n\n const listener = (event) => {\n // Do nothing if `mousedown` or `touchstart` started either inside resetRef or pickerRef element\n if (!startedWhenMounted || startedInside) return;\n\n // Do nothing if clicking resetRef's element or descendent elements\n if (!resetRef.current || resetRef.current.contains(event.target)) return;\n\n // Do nothing if clicking pickerRef's element or descendent elements\n if (!pickerRef.current || pickerRef.current.contains(event.target))\n return;\n\n handler();\n };\n\n const validateEventStart = (event) => {\n startedWhenMounted = resetRef.current && pickerRef.current;\n startedInside =\n (resetRef.current && resetRef.current.contains(event.target)) ||\n (pickerRef.current && pickerRef.current.contains(event.target));\n };\n\n document.addEventListener(\"mousedown\", validateEventStart);\n document.addEventListener(\"touchstart\", validateEventStart);\n document.addEventListener(\"click\", listener);\n\n return () => {\n document.removeEventListener(\"mousedown\", validateEventStart);\n document.removeEventListener(\"touchstart\", validateEventStart);\n document.removeEventListener(\"click\", listener);\n };\n }, [resetRef, pickerRef, handler]);\n};\n\nexport default useClickOutside;\n","import ReactDOM from \"react-dom\";\nimport KirkiReactColorfulForm from \"./KirkiReactColorfulForm\";\n\n/**\n * KirkiReactColorfulControl.\n *\n * @class\n * @augments wp.customize.Control\n * @augments wp.customize.Class\n */\nconst KirkiReactColorfulControl = wp.customize.Control.extend({\n /**\n * Initialize.\n *\n * @param {string} id - Control ID.\n * @param {object} params - Control params.\n */\n initialize: function (id, params) {\n const control = this;\n\n // Bind functions to this control context for passing as React props.\n control.setNotificationContainer =\n control.setNotificationContainer.bind(control);\n\n wp.customize.Control.prototype.initialize.call(control, id, params);\n\n // The following should be eliminated with <https://core.trac.wordpress.org/ticket/31334>.\n function onRemoved(removedControl) {\n if (control === removedControl) {\n control.destroy();\n control.container.remove();\n wp.customize.control.unbind(\"removed\", onRemoved);\n }\n }\n wp.customize.control.bind(\"removed\", onRemoved);\n },\n\n /**\n * Set notification container and render.\n *\n * This is called when the React component is mounted.\n *\n * @param {Element} element - Notification container.\n * @returns {void}\n */\n setNotificationContainer: function setNotificationContainer(element) {\n const control = this;\n control.notifications.container = jQuery(element);\n control.notifications.render();\n },\n\n /**\n * Render the control into the DOM.\n *\n * This is called from the Control#embed() method in the parent class.\n *\n * @returns {void}\n */\n renderContent: function renderContent() {\n const control = this;\n const useHueMode = \"hue\" === control.params.mode;\n const choices = control.params.choices;\n\n let pickerComponent;\n\n if (choices.formComponent) {\n pickerComponent = choices.formComponent;\n } else {\n pickerComponent = choices.alpha\n ? \"RgbaStringColorPicker\"\n : \"HexColorPicker\";\n }\n\n pickerComponent = useHueMode ? \"HueColorPicker\" : pickerComponent;\n\n const form = (\n <KirkiReactColorfulForm\n {...control.params}\n control={control}\n customizerSetting={control.setting}\n useHueMode={useHueMode}\n pickerComponent={pickerComponent}\n value={control.params.value}\n setNotificationContainer={control.setNotificationContainer}\n />\n );\n\n ReactDOM.render(form, control.container[0]);\n },\n\n /**\n * After control has been first rendered, start re-rendering when setting changes.\n *\n * React is able to be used here instead of the wp.customize.Element abstraction.\n *\n * @returns {void}\n */\n ready: function ready() {\n const control = this;\n\n /**\n * Update component state when customizer setting changes.\n *\n * There was an issue (which was fixed):\n *\n * Let's say we have other color picker (\"x\" color picker) and this current color picker (\"y\" color picker).\n * Let's say there's a script that bind to that \"x\" color picker to make change to this \"y\" color picker.\n *\n * When \"x\" color picker is changed fast (by dragging the color, for example),\n * then the re-render of this \"y\" color picker will be messy.\n * There was something like \"function-call race\" between component re-render and function call inside the component.\n *\n * When that happens, the \"x\" color picker becomes unresponsive and un-usable.\n *\n * How we fixed that:\n * - Provide a updateComponentState property to this file.\n * - Inside the component, assign the updateComponentState with a function to update some states.\n * - Then inside the binding below, call updateComponentState instead of re-rendering the component.\n *\n * The result: Even though the \"x\" color picker becomes very slow, it's still usable and responsive enough.\n */\n control.setting.bind((val) => {\n control.updateComponentState(val);\n });\n },\n\n updateComponentState: () => {},\n\n /**\n * Handle removal/de-registration of the control.\n *\n * This is essentially the inverse of the Control#embed() method.\n *\n * @link https://core.trac.wordpress.org/ticket/31334\n * @returns {void}\n */\n destroy: function destroy() {\n const control = this;\n\n // Garbage collection: undo mounting that was done in the embed/renderContent method.\n ReactDOM.unmountComponentAtNode(control.container[0]);\n\n // Call destroy method in parent if it exists (as of #31334).\n if (wp.customize.Control.prototype.destroy) {\n wp.customize.Control.prototype.destroy.call(control);\n }\n },\n});\n\nexport default KirkiReactColorfulControl;\n","/* global wp */\n\nimport \"./control.scss\";\nimport KirkiReactColorfulControl from './KirkiReactColorfulControl';\n\n// Register control type with Customizer.\nwp.customize.controlConstructor['kirki-react-colorful'] = KirkiReactColorfulControl;\n"],"names":["DataView","getNative","module","exports","hashClear","hashDelete","hashGet","hashHas","hashSet","Hash","entries","index","length","this","clear","entry","set","prototype","get","has","listCacheClear","listCacheDelete","listCacheGet","listCacheHas","listCacheSet","ListCache","Map","mapCacheClear","mapCacheDelete","mapCacheGet","mapCacheHas","mapCacheSet","MapCache","Promise","Set","setCacheAdd","setCacheHas","SetCache","values","__data__","add","push","stackClear","stackDelete","stackGet","stackHas","stackSet","Stack","data","size","Symbol","Uint8Array","WeakMap","array","iteratee","predicate","resIndex","result","value","baseTimes","isArguments","isArray","isBuffer","isIndex","isTypedArray","hasOwnProperty","Object","inherited","isArr","isArg","isBuff","isType","skipIndexes","String","key","call","Array","offset","baseAssignValue","eq","object","objValue","undefined","copyObject","keys","source","keysIn","defineProperty","arrayEach","assignValue","baseAssign","baseAssignIn","cloneBuffer","copyArray","copySymbols","copySymbolsIn","getAllKeys","getAllKeysIn","getTag","initCloneArray","initCloneByTag","initCloneObject","isMap","isObject","isSet","argsTag","funcTag","objectTag","cloneableTags","baseClone","bitmask","customizer","stack","isDeep","isFlat","isFull","tag","isFunc","stacked","forEach","subValue","props","objectCreate","create","baseCreate","proto","baseForOwn","baseEach","createBaseEach","baseFor","createBaseFor","castPath","toKey","path","arrayPush","keysFunc","symbolsFunc","getRawTag","objectToString","symToStringTag","toStringTag","baseGetTag","isObjectLike","baseIsEqualDeep","baseIsEqual","other","equalArrays","equalByTag","equalObjects","arrayTag","equalFunc","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","matchData","noCustomizer","srcValue","COMPARE_PARTIAL_FLAG","isFunction","isMasked","toSource","reIsHostCtor","funcProto","Function","objectProto","funcToString","toString","reIsNative","RegExp","replace","test","isLength","typedArrayTags","baseMatches","baseMatchesProperty","identity","property","isPrototype","nativeKeys","nativeKeysIn","isProto","isArrayLike","collection","baseIsMatch","getMatchData","matchesStrictComparable","hasIn","isKey","isStrictComparable","baseGet","n","arrayMap","isSymbol","symbolProto","symbolToString","baseToString","func","cache","stringToPath","arrayBuffer","constructor","byteLength","root","freeExports","nodeType","freeModule","Buffer","allocUnsafe","buffer","slice","copy","cloneArrayBuffer","dataView","byteOffset","reFlags","regexp","exec","lastIndex","symbolValueOf","valueOf","symbol","typedArray","isNew","newValue","getSymbols","getSymbolsIn","coreJsData","eachFunc","fromRight","iterable","e","arraySome","cacheHas","isPartial","arrLength","othLength","arrStacked","othStacked","seen","arrValue","othValue","compared","othIndex","mapToArray","setToArray","name","message","convert","objProps","objLength","objStacked","skipCtor","objCtor","othCtor","freeGlobal","g","baseGetAllKeys","isKeyable","map","baseIsNative","getValue","getPrototype","overArg","getPrototypeOf","nativeObjectToString","isOwn","unmasked","arrayFilter","stubArray","propertyIsEnumerable","nativeGetSymbols","getOwnPropertySymbols","mapTag","promiseTag","setTag","weakMapTag","dataViewTag","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","ArrayBuffer","resolve","Ctor","ctorString","hasFunc","nativeCreate","input","cloneDataView","cloneRegExp","cloneSymbol","cloneTypedArray","reIsUint","type","reIsDeepProp","reIsPlainProp","uid","maskSrcKey","IE_PROTO","assocIndexOf","splice","pop","getMapData","memoize","freeProcess","process","nodeUtil","require","types","binding","transform","arg","freeSelf","self","pairs","LARGE_ARRAY_SIZE","memoizeCapped","rePropName","reEscapeChar","string","charCodeAt","match","number","quote","subString","CLONE_DEEP_FLAG","castFunction","defaultValue","baseHasIn","hasPath","baseIsArguments","arguments","stubFalse","baseIsMap","baseUnary","nodeIsMap","objectCtorString","baseIsSet","nodeIsSet","baseIsTypedArray","nodeIsTypedArray","arrayLikeKeys","baseKeys","baseKeysIn","baseIteratee","baseMap","resolver","TypeError","memoized","args","apply","Cache","baseProperty","basePropertyDeep","autoprefix","obj","_forOwn3","__esModule","default","_extends","assign","target","i","transforms","borderRadius","msBorderRadius","MozBorderRadius","OBorderRadius","WebkitBorderRadius","boxShadow","msBoxShadow","MozBoxShadow","OBoxShadow","WebkitBoxShadow","userSelect","WebkitTouchCallout","KhtmlUserSelect","MozUserSelect","msUserSelect","WebkitUserSelect","flex","WebkitBoxFlex","MozBoxFlex","WebkitFlex","msFlex","flexBasis","WebkitFlexBasis","justifyContent","WebkitJustifyContent","transition","msTransition","MozTransition","OTransition","WebkitTransition","msTransform","MozTransform","OTransform","WebkitTransform","absolute","direction","split","position","top","right","bottom","left","extend","otherElementStyles","elements","prefixed","styles","element","expanded","active","_react2","_classCallCheck","instance","Constructor","_possibleConstructorReturn","ReferenceError","_inherits","subClass","superClass","enumerable","writable","configurable","setPrototypeOf","__proto__","Component","Span","_React$Component","Active","_ref","_temp","_this","_len","_key","concat","state","handleMouseDown","setState","handleMouseUp","render","createElement","onMouseDown","onMouseUp","hover","Hover","handleMouseOver","handleMouseOut","onMouseOver","onMouseOut","flattenNames","_isString3","_interopRequireDefault","_isPlainObject3","_map3","things","names","thing","_flattenNames2","_mergeClasses2","_autoprefix2","_hover3","_active2","_loop3","classes","activations","activeNames","merged","setProp","Math","abs","mergeClasses","_cloneDeep3","toMerge","React","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","id","loaded","__webpack_modules__","getter","d","a","definition","o","globalThis","window","prop","nmd","paths","children","ReactDOM","u","r","t","c","indexOf","current","s","f","v","ownerDocument","defaultView","getBoundingClientRect","identifier","touches","pageX","pageXOffset","width","pageY","pageYOffset","height","h","preventDefault","m","onMove","l","onKey","p","b","_","x","buttons","addEventListener","removeEventListener","nativeEvent","changedTouches","focus","which","keyCode","C","E","H","onTouchStart","className","ref","onKeyDown","tabIndex","role","filter","Boolean","join","color","style","backgroundColor","pow","round","grad","turn","rad","PI","substr","parseInt","Number","M","N","w","y","q","floor","k","D","O","I","B","j","z","max","min","K","hue","onChange","L","hsva","A","S","T","toHsva","equal","fromHsva","P","R","V","document","innerHTML","setAttribute","head","appendChild","$","colorModel","defaultColor","G","toLowerCase","J","Q","backgroundImage","U","W","Z","ee","re","te","ne","oe","ae","le","ue","ce","ie","se","fe","ve","de","he","me","ge","pe","be","_e","xe","Ce","setValue","useState","handleChange","useCallback","val","includes","useEffect","reactCSS","colorPreviewWrapper","pickerComponent","colorPreview","useHueMode","spellCheck","colors","onClick","clr","isFinite","parsed","trim","rgba","isValid","brightness","isDark","isLight","toHex","toRgb","toRgbString","toHsl","toHslString","toHsv","invert","saturate","desaturate","grayscale","lighten","darken","rotate","alpha","isEqual","triggerButton","togglePickerHandler","control","customizerSetting","choices","parseEmptyValue","parseHueModeValue","hueValue","parseInputValue","formComponent","hsv","convertedValue","colord","convertColorForInput","parsePickerValue","convertColorForPicker","inputValue","setInputValue","pickerValue","setPickerValue","currentInputValue","currentPickerValue","updateComponentState","valueForInput","changeInputValue","JSON","stringify","valueForPicker","changePickerValue","saveToCustomizer","convertColorForCustomizer","parseCustomizerValue","initialColor","controlLabel","dangerouslySetInnerHTML","__html","label","controlDescription","description","formRef","useRef","pickerRef","resetRef","isPickerOpen","setIsPickerOpen","usePositionFixed","labelStyle","pickerContainerStyle","setPickerContainerStyle","getPickerContainerStyle","padding","getComputedStyle","container","parentNode","paddingLeft","controlLeftOffset","offsetLeft","convertInputValueTo6Digits","closePicker","setTimeout","KirkiPickerComponent","HexColorPicker","RgbColorPicker","RgbStringColorPicker","RgbaColorPicker","RgbaStringColorPicker","HslColorPicker","HslStringColorPicker","HslaColorPicker","HslaStringColorPicker","HsvColorPicker","HsvStringColorPicker","HsvaColorPicker","HsvaStringColorPicker","handler","listener","contains","useFocusOutside","startedWhenMounted","startedInside","event","validateEventStart","useClickOutside","jQuery","wp","wpColorPicker","wpColorPickerSwatches","options","palettes","swatches","controlHeader","setNotificationContainer","formClassName","pickerContainerClassName","pickerTrigger","display","pickerHeader","swatchColor","customize","Control","initialize","params","bind","onRemoved","removedControl","destroy","remove","unbind","notifications","renderContent","mode","form","setting","ready","controlConstructor","KirkiReactColorfulControl"],"sourceRoot":""}
|
1 |
+
{"version":3,"file":"control.js","mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,MAAME,yBAAyB,GAAGC,EAAE,CAACC,SAAH,CAAaC,OAAb,CAAqBC,MAArB,CAA4B;AAC5D;AACF;AACA;AACA;AACA;AACA;AACEC,EAAAA,UAAU,EAAE,UAAUC,EAAV,EAAcC,MAAd,EAAsB;AAChC,UAAMC,OAAO,GAAG,IAAhB,CADgC,CAGhC;;AACAA,IAAAA,OAAO,CAACC,wBAAR,GACED,OAAO,CAACC,wBAAR,CAAiCC,IAAjC,CAAsCF,OAAtC,CADF;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AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,UAAU;AACrB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpBA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,UAAU;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACtBA,sBAAsB,mBAAO,CAAC,qEAAoB;AAClD,SAAS,mBAAO,CAAC,yCAAM;;AAEvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC3BA,SAAS,mBAAO,CAAC,yCAAM;;AAEvB;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpBA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,WAAW,mBAAO,CAAC,6CAAQ;;AAE3B;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AChBA,iBAAiB,mBAAO,CAAC,2DAAe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ACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,SAAS;AACpB;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa,GAAG;AAChB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC;AACvC;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;;;;;;;;;;ACrKA,eAAe,mBAAO,CAAC,qDAAY;;AAEnC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;;;;AC7BA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,qBAAqB,mBAAO,CAAC,mEAAmB;;AAEhD;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,UAAU;AACrB,aAAa,cAAc;AAC3B;AACA;;AAEA;;;;;;;;;;;ACbA,oBAAoB,mBAAO,CAAC,iEAAkB;;AAE9C;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,UAAU;A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kB,mBAAO,CAAC,6DAAgB;;AAE1C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,OAAO;AAClB,WAAW,UAAU;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC7DA,iBAAiB,mBAAO,CAAC,yDAAc;AACvC,eAAe,mBAAO,CAAC,uDAAa;AACpC,eAAe,mBAAO,CAAC,qDAAY;AACnC,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;AACA;AACA;AACA,oCAAoC;;AAEpC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC9CA,aAAa,mBAAO,CAAC,mDAAW;AAChC,mBAAmB,mBAAO,CAAC,6DAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACjBA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,eAAe,mBAAO,CAAC,qDAAY;AACnC,mBAAmB,mBAAO,CAAC,6DAAgB;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ,UAAU;AAC7B,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACfA,WAAW,mBAAO,CAAC,+CAAS;;AAE5B;AACA;;AAEA;;;;;;;;;;;ACLA,kBAAkB,mBAAO,CAAC,2DAAe;;AAEzC;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,SAAS;AACpB,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC/BA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACxBA,gBAAgB,mBAAO,CAAC,yDAAc;;AAEtC;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,IAAI;AACJ,CAAC;;AAED;;;;;;;;;;;ACVA,eAAe,mBAAO,CAAC,uDAAa;AACpC,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACnFA,aAAa,mBAAO,CAAC,mDAAW;AAChC,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,SAAS,mBAAO,CAAC,yCAAM;AACvB,kBAAkB,mBAAO,CAAC,6DAAgB;AAC1C,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,iBAAiB,mBAAO,CAAC,2DAAe;;AAExC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC/GA,iBAAiB,mBAAO,CAAC,2DAAe;;AAExC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;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AAQ;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACzDA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa,GAAG;AAChB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACZA,eAAe,mBAAO,CAAC,uDAAa;AACpC,kBAAkB,mBAAO,CAAC,2DAAe;AACzC,cAAc,mBAAO,CAAC,mDAAW;AACjC,cAAc,mBAAO,CAAC,qDAAY;AAClC,eAAe,mBAAO,CAAC,qDAAY;AACnC,YAAY,mBAAO,CAAC,iDAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,cAAc;AACzB,WAAW,UAAU;AACrB,aAAa,SAAS;AACtB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACtCA,mBAAmB,mBAAO,CAAC,+DAAiB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AChBA,mBAAmB,mBAAO,CAAC,+DAAiB;;AAE5C;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,GAAG;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC7BA,mBAAmB,mBAAO,CAAC,+DAAiB;;AAE5C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAA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;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACxBA,cAAc,mBAAO,CAAC,mDAAW;AACjC,eAAe,mBAAO,CAAC,qDAAY;;AAEnC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACdA,iBAAiB,mBAAO,CAAC,2DAAe;;AAExC;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACnBA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;ACjBA,eAAe,mBAAO,CAAC,qDAAY;;AAEnC;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACZA,mBAAmB,mBAAO,CAAC,+DAAiB;;AAE5C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AClCA,mBAAmB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AAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACrBA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;;;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,GAAG;AACd,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACnBA,cAAc,mBAAO,CAAC,mDAAW;;AAEjC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;;;;;;;;;;;ACzBA,gBAAgB,mBAAO,CAAC,yDAAc;;AAEtC;AACA;;AAEA;;;;;;;;;;;ACLA,cAAc,mBAAO,CAAC,qDAAY;;AAElC;AACA;;AAEA;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;ACnBA,iBAAiB,mBAAO,CAAC,2DAAe;;AAExC;AACA,kBAAkB,KAA0B;;AAE5C;AACA,gCAAgC,QAAa;;AAE7C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ,CAAC;;AAED;;;;;;;;;;;AC7BA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACrBA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACdA,iBAAiB,mBAAO,CAAC,2DAAe;;AAExC;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;ACRA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;;;;;;;;;;ACjBA,gBAAgB,mBAAO,CAAC,yDAAc;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,GAAG;AAChB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACbA,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,UAAU,mBAAO,CAAC,6CAAQ;AAC1B,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACjCA,oBAAoB,mBAAO,CAAC,iEAAkB;;AAE9C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;;;;;;;;;;;AC1BA,eAAe,mBAAO,CAAC,qDAAY;;AAEnC;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,eAAe;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpBA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;;;;;;;;;;;ACzBA,gBAAgB,mBAAO,CAAC,yDAAc;;AAEtC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,GAAG;AAChB;AACA;AACA;AACA,oBAAoB,QAAQ,IAAI,QAAQ;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA,kBAAkB;AAClB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpCA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,mBAAmB,mBAAO,CAAC,+DAAiB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACnCA,cAAc,mBAAO,CAAC,qDAAY;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,cAAc;AACzB,WAAW,GAAG;AACd,aAAa,GAAG;AAChB;AACA;AACA,kBAAkB,QAAQ,OAAO,UAAU;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,cAAc,mBAAO,CAAC,qDAAY;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,cAAc;AACzB,aAAa,SAAS;AACtB;AACA;AACA,2BAA2B,gBAAgB,QAAQ,GAAG;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,GAAG;AAChB;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpBA,sBAAsB,mBAAO,CAAC,qEAAoB;AAClD,mBAAmB,mBAAO,CAAC,6DAAgB;;AAE3C;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA,8BAA8B,mBAAmB;AACjD;AACA;AACA;AACA;AACA;AACA,+CAA+C,mBAAmB;AAClE;AACA;AACA;;AAEA;;;;;;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACzBA,iBAAiB,mBAAO,CAAC,yDAAc;AACvC,eAAe,mBAAO,CAAC,qDAAY;;AAEnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;AChCA,WAAW,mBAAO,CAAC,+CAAS;AAC5B,gBAAgB,mBAAO,CAAC,uDAAa;;AAErC;AACA,kBAAkB,KAA0B;;AAE5C;AACA,gCAAgC,QAAa;;AAE7C;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACrCA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,eAAe,mBAAO,CAAC,qDAAY;;AAEnC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpCA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AClCA,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC5BA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,mBAAmB,mBAAO,CAAC,+DAAiB;AAC5C,mBAAmB,mBAAO,CAAC,6DAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,gBAAgB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC7DA,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC1BA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,cAAc,mBAAO,CAAC,mDAAW;AACjC,mBAAmB,mBAAO,CAAC,6DAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC7BA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,mBAAmB,mBAAO,CAAC,6DAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC5BA,uBAAuB,mBAAO,CAAC,uEAAqB;AACpD,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC1BA,oBAAoB,mBAAO,CAAC,iEAAkB;AAC9C,eAAe,mBAAO,CAAC,uDAAa;AACpC,kBAAkB,mBAAO,CAAC,2DAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpCA,oBAAoB,mBAAO,CAAC,iEAAkB;AAC9C,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,kBAAkB,mBAAO,CAAC,2DAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC/BA,eAAe,mBAAO,CAAC,uDAAa;AACpC,mBAAmB,mBAAO,CAAC,+DAAiB;AAC5C,cAAc,mBAAO,CAAC,qDAAY;AAClC,cAAc,mBAAO,CAAC,mDAAW;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,UAAU;AACrB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;AACA;AACA,OAAO,kBAAkB;AACzB,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpDA,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,aAAa,UAAU;AACvB;AACA;AACA,kBAAkB;AAClB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;ACxEA,mBAAmB,mBAAO,CAAC,+DAAiB;AAC5C,uBAAuB,mBAAO,CAAC,uEAAqB;AACpD,YAAY,mBAAO,CAAC,iDAAU;AAC9B,YAAY,mBAAO,CAAC,iDAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,aAAa,UAAU;AACvB;AACA;AACA;AACA,OAAO,OAAO,UAAU;AACxB,OAAO,OAAO;AACd;AACA;AACA;AACA;AACA;AACA;AACA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BAA+B,UAAU,gDAAgD,EAAE,MAAM,kCAAkC,4CAA4C,oCAAoC,6CAA6C,kCAAkC,0BAA0B,iCAAiC,4CAA4C,gCAAgC,6CAA6C,gCAAgC,iDAAiD,+BAA+B,4BAA4B,kCAAkC,mBAAmB,MAAM,6BAA6B,mBAAmB,4BAA4B,sBAAsB,SAAS,iCAAiC,mCAAmC,GAAG,iBAAiB,iCAAiC,oBAAoB,sBAAsB,mCAAmC,EAAE,cAAc,cAAc,4DAA4D,GAA0E;;;;;;;UCA3uL;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCzBA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;WACA;WACA;WACA;WACA;;;;;;;;;;;;;;ACJA;AAEA;CAGA;;AACArD,EAAE,CAACC,SAAH,CAAakM,kBAAb,CAAgC,sBAAhC,IAA0DpM,kEAA1D,C","sources":["webpack://control-react-colorful/./src/KirkiReactColorfulControl.js","webpack://control-react-colorful/./src/KirkiReactColorfulForm.js","webpack://control-react-colorful/./src/js/components/KirkiReactColorfulCircle.js","webpack://control-react-colorful/./src/js/components/KirkiReactColorfulInput.js","webpack://control-react-colorful/./src/js/components/KirkiReactColorfulSwatches.js","webpack://control-react-colorful/./src/js/hooks/useClickOutside.js","webpack://control-react-colorful/./src/js/hooks/useFocusOutside.js","webpack://control-react-colorful/./src/js/hooks/useWindowResize.js","webpack://control-react-colorful/./src/js/utils/convertColorForCustomizer.js","webpack://control-react-colorful/./src/js/utils/convertColorForInput.js","webpack://control-react-colorful/./src/js/utils/convertColorForPicker.js","webpack://control-react-colorful/./node_modules/lodash/_DataView.js","webpack://control-react-colorful/./node_modules/lodash/_Hash.js","webpack://control-react-colorful/./node_modules/lodash/_ListCache.js","webpack://control-react-colorful/./node_modules/lodash/_Map.js","webpack://control-react-colorful/./node_modules/lodash/_MapCache.js","webpack://control-react-colorful/./node_modules/lodash/_Promise.js","webpack://control-react-colorful/./node_modules/lodash/_Set.js","webpack://control-react-colorful/./node_modules/lodash/_SetCache.js","webpack://control-react-colorful/./node_modules/lodash/_Stack.js","webpack://control-react-colorful/./node_modules/lodash/_Symbol.js","webpack://control-react-colorful/./node_modules/lodash/_Uint8Array.js","webpack://control-react-colorful/./node_modules/lodash/_WeakMap.js","webpack://control-react-colorful/./node_modules/lodash/_arrayEach.js","webpack://control-react-colorful/./node_modules/lodash/_arrayFilter.js","webpack://control-react-colorful/./node_modules/lodash/_arrayLikeKeys.js","webpack://control-react-colorful/./node_modules/lodash/_arrayMap.js","webpack://control-react-colorful/./node_modules/lodash/_arrayPush.js","webpack://control-react-colorful/./node_modules/lodash/_arraySome.js","webpack://control-react-colorful/./node_modules/lodash/_assignValue.js","webpack://control-react-colorful/./node_modules/lodash/_assocIndexOf.js","webpack://control-react-colorful/./node_modules/lodash/_baseAssign.js","webpack://control-react-colorful/./node_modules/lodash/_baseAssignIn.js","webpack://control-react-colorful/./node_modules/lodash/_baseAssignValue.js","webpack://control-react-colorful/./node_modules/lodash/_baseClone.js","webpack://control-react-colorful/./node_modules/lodash/_baseCreate.js","webpack://control-react-colorful/./node_modules/lodash/_baseEach.js","webpack://control-react-colorful/./node_modules/lodash/_baseFor.js","webpack://control-react-colorful/./node_modules/lodash/_baseForOwn.js","webpack://control-react-colorful/./node_modules/lodash/_baseGet.js","webpack://control-react-colorful/./node_modules/lodash/_baseGetAllKeys.js","webpack://control-react-colorful/./node_modules/lodash/_baseGetTag.js","webpack://control-react-colorful/./node_modules/lodash/_baseHasIn.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsArguments.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsEqual.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsEqualDeep.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsMap.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsMatch.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsNative.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsSet.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsTypedArray.js","webpack://control-react-colorful/./node_modules/lodash/_baseIteratee.js","webpack://control-react-colorful/./node_modules/lodash/_baseKeys.js","webpack://control-react-colorful/./node_modules/lodash/_baseKeysIn.js","webpack://control-react-colorful/./node_modules/lodash/_baseMap.js","webpack://control-react-colorful/./node_modules/lodash/_baseMatches.js","webpack://control-react-colorful/./node_modules/lodash/_baseMatchesProperty.js","webpack://control-react-colorful/./node_modules/lodash/_baseProperty.js","webpack://control-react-colorful/./node_modules/lodash/_basePropertyDeep.js","webpack://control-react-colorful/./node_modules/lodash/_baseTimes.js","webpack://control-react-colorful/./node_modules/lodash/_baseToString.js","webpack://control-react-colorful/./node_modules/lodash/_baseUnary.js","webpack://control-react-colorful/./node_modules/lodash/_cacheHas.js","webpack://control-react-colorful/./node_modules/lodash/_castFunction.js","webpack://control-react-colorful/./node_modules/lodash/_castPath.js","webpack://control-react-colorful/./node_modules/lodash/_cloneArrayBuffer.js","webpack://control-react-colorful/./node_modules/lodash/_cloneBuffer.js","webpack://control-react-colorful/./node_modules/lodash/_cloneDataView.js","webpack://control-react-colorful/./node_modules/lodash/_cloneRegExp.js","webpack://control-react-colorful/./node_modules/lodash/_cloneSymbol.js","webpack://control-react-colorful/./node_modules/lodash/_cloneTypedArray.js","webpack://control-react-colorful/./node_modules/lodash/_copyArray.js","webpack://control-react-colorful/./node_modules/lodash/_copyObject.js","webpack://control-react-colorful/./node_modules/lodash/_copySymbols.js","webpack://control-react-colorful/./node_modules/lodash/_copySymbolsIn.js","webpack://control-react-colorful/./node_modules/lodash/_coreJsData.js","webpack://control-react-colorful/./node_modules/lodash/_createBaseEach.js","webpack://control-react-colorful/./node_modules/lodash/_createBaseFor.js","webpack://control-react-colorful/./node_modules/lodash/_defineProperty.js","webpack://control-react-colorful/./node_modules/lodash/_equalArrays.js","webpack://control-react-colorful/./node_modules/lodash/_equalByTag.js","webpack://control-react-colorful/./node_modules/lodash/_equalObjects.js","webpack://control-react-colorful/./node_modules/lodash/_freeGlobal.js","webpack://control-react-colorful/./node_modules/lodash/_getAllKeys.js","webpack://control-react-colorful/./node_modules/lodash/_getAllKeysIn.js","webpack://control-react-colorful/./node_modules/lodash/_getMapData.js","webpack://control-react-colorful/./node_modules/lodash/_getMatchData.js","webpack://control-react-colorful/./node_modules/lodash/_getNative.js","webpack://control-react-colorful/./node_modules/lodash/_getPrototype.js","webpack://control-react-colorful/./node_modules/lodash/_getRawTag.js","webpack://control-react-colorful/./node_modules/lodash/_getSymbols.js","webpack://control-react-colorful/./node_modules/lodash/_getSymbolsIn.js","webpack://control-react-colorful/./node_modules/lodash/_getTag.js","webpack://control-react-colorful/./node_modules/lodash/_getValue.js","webpack://control-react-colorful/./node_modules/lodash/_hasPath.js","webpack://control-react-colorful/./node_modules/lodash/_hashClear.js","webpack://control-react-colorful/./node_modules/lodash/_hashDelete.js","webpack://control-react-colorful/./node_modules/lodash/_hashGet.js","webpack://control-react-colorful/./node_modules/lodash/_hashHas.js","webpack://control-react-colorful/./node_modules/lodash/_hashSet.js","webpack://control-react-colorful/./node_modules/lodash/_initCloneArray.js","webpack://control-react-colorful/./node_modules/lodash/_initCloneByTag.js","webpack://control-react-colorful/./node_modules/lodash/_initCloneObject.js","webpack://control-react-colorful/./node_modules/lodash/_isIndex.js","webpack://control-react-colorful/./node_modules/lodash/_isKey.js","webpack://control-react-colorful/./node_modules/lodash/_isKeyable.js","webpack://control-react-colorful/./node_modules/lodash/_isMasked.js","webpack://control-react-colorful/./node_modules/lodash/_isPrototype.js","webpack://control-react-colorful/./node_modules/lodash/_isStrictComparable.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheClear.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheDelete.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheGet.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheHas.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheSet.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheClear.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheDelete.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheGet.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheHas.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheSet.js","webpack://control-react-colorful/./node_modules/lodash/_mapToArray.js","webpack://control-react-colorful/./node_modules/lodash/_matchesStrictComparable.js","webpack://control-react-colorful/./node_modules/lodash/_memoizeCapped.js","webpack://control-react-colorful/./node_modules/lodash/_nativeCreate.js","webpack://control-react-colorful/./node_modules/lodash/_nativeKeys.js","webpack://control-react-colorful/./node_modules/lodash/_nativeKeysIn.js","webpack://control-react-colorful/./node_modules/lodash/_nodeUtil.js","webpack://control-react-colorful/./node_modules/lodash/_objectToString.js","webpack://control-react-colorful/./node_modules/lodash/_overArg.js","webpack://control-react-colorful/./node_modules/lodash/_root.js","webpack://control-react-colorful/./node_modules/lodash/_setCacheAdd.js","webpack://control-react-colorful/./node_modules/lodash/_setCacheHas.js","webpack://control-react-colorful/./node_modules/lodash/_setToArray.js","webpack://control-react-colorful/./node_modules/lodash/_stackClear.js","webpack://control-react-colorful/./node_modules/lodash/_stackDelete.js","webpack://control-react-colorful/./node_modules/lodash/_stackGet.js","webpack://control-react-colorful/./node_modules/lodash/_stackHas.js","webpack://control-react-colorful/./node_modules/lodash/_stackSet.js","webpack://control-react-colorful/./node_modules/lodash/_stringToPath.js","webpack://control-react-colorful/./node_modules/lodash/_toKey.js","webpack://control-react-colorful/./node_modules/lodash/_toSource.js","webpack://control-react-colorful/./node_modules/lodash/cloneDeep.js","webpack://control-react-colorful/./node_modules/lodash/eq.js","webpack://control-react-colorful/./node_modules/lodash/forOwn.js","webpack://control-react-colorful/./node_modules/lodash/get.js","webpack://control-react-colorful/./node_modules/lodash/hasIn.js","webpack://control-react-colorful/./node_modules/lodash/identity.js","webpack://control-react-colorful/./node_modules/lodash/isArguments.js","webpack://control-react-colorful/./node_modules/lodash/isArray.js","webpack://control-react-colorful/./node_modules/lodash/isArrayLike.js","webpack://control-react-colorful/./node_modules/lodash/isBuffer.js","webpack://control-react-colorful/./node_modules/lodash/isFunction.js","webpack://control-react-colorful/./node_modules/lodash/isLength.js","webpack://control-react-colorful/./node_modules/lodash/isMap.js","webpack://control-react-colorful/./node_modules/lodash/isObject.js","webpack://control-react-colorful/./node_modules/lodash/isObjectLike.js","webpack://control-react-colorful/./node_modules/lodash/isPlainObject.js","webpack://control-react-colorful/./node_modules/lodash/isSet.js","webpack://control-react-colorful/./node_modules/lodash/isString.js","webpack://control-react-colorful/./node_modules/lodash/isSymbol.js","webpack://control-react-colorful/./node_modules/lodash/isTypedArray.js","webpack://control-react-colorful/./node_modules/lodash/keys.js","webpack://control-react-colorful/./node_modules/lodash/keysIn.js","webpack://control-react-colorful/./node_modules/lodash/map.js","webpack://control-react-colorful/./node_modules/lodash/memoize.js","webpack://control-react-colorful/./node_modules/lodash/property.js","webpack://control-react-colorful/./node_modules/lodash/stubArray.js","webpack://control-react-colorful/./node_modules/lodash/stubFalse.js","webpack://control-react-colorful/./node_modules/lodash/toString.js","webpack://control-react-colorful/./src/control.scss?ac67","webpack://control-react-colorful/./node_modules/react-colorful/dist/index.module.js","webpack://control-react-colorful/./node_modules/reactcss/lib/autoprefix.js","webpack://control-react-colorful/./node_modules/reactcss/lib/components/active.js","webpack://control-react-colorful/./node_modules/reactcss/lib/components/hover.js","webpack://control-react-colorful/./node_modules/reactcss/lib/flattenNames.js","webpack://control-react-colorful/./node_modules/reactcss/lib/index.js","webpack://control-react-colorful/./node_modules/reactcss/lib/loop.js","webpack://control-react-colorful/./node_modules/reactcss/lib/mergeClasses.js","webpack://control-react-colorful/external var \"React\"","webpack://control-react-colorful/external var \"ReactDOM\"","webpack://control-react-colorful/./node_modules/colord/index.mjs","webpack://control-react-colorful/webpack/bootstrap","webpack://control-react-colorful/webpack/runtime/compat get default export","webpack://control-react-colorful/webpack/runtime/define property getters","webpack://control-react-colorful/webpack/runtime/global","webpack://control-react-colorful/webpack/runtime/hasOwnProperty shorthand","webpack://control-react-colorful/webpack/runtime/make namespace object","webpack://control-react-colorful/webpack/runtime/node module decorator","webpack://control-react-colorful/./src/control.js"],"sourcesContent":["import ReactDOM from \"react-dom\";\nimport KirkiReactColorfulForm from \"./KirkiReactColorfulForm\";\n\n/**\n * KirkiReactColorfulControl.\n *\n * @class\n * @augments wp.customize.Control\n * @augments wp.customize.Class\n */\nconst KirkiReactColorfulControl = wp.customize.Control.extend({\n /**\n * Initialize.\n *\n * @param {string} id - Control ID.\n * @param {object} params - Control params.\n */\n initialize: function (id, params) {\n const control = this;\n\n // Bind functions to this control context for passing as React props.\n control.setNotificationContainer =\n control.setNotificationContainer.bind(control);\n\n wp.customize.Control.prototype.initialize.call(control, id, params);\n\n // The following should be eliminated with <https://core.trac.wordpress.org/ticket/31334>.\n function onRemoved(removedControl) {\n if (control === removedControl) {\n control.destroy();\n control.container.remove();\n wp.customize.control.unbind(\"removed\", onRemoved);\n }\n }\n wp.customize.control.bind(\"removed\", onRemoved);\n },\n\n /**\n * Set notification container and render.\n *\n * This is called when the React component is mounted.\n *\n * @param {Element} element - Notification container.\n * @returns {void}\n */\n setNotificationContainer: function setNotificationContainer(element) {\n const control = this;\n control.notifications.container = jQuery(element);\n control.notifications.render();\n },\n\n /**\n * Render the control into the DOM.\n *\n * This is called from the Control#embed() method in the parent class.\n *\n * @returns {void}\n */\n renderContent: function renderContent() {\n const control = this;\n const useHueMode = \"hue\" === control.params.mode;\n const choices = control.params.choices;\n\n let pickerComponent;\n\n if (choices.formComponent) {\n pickerComponent = choices.formComponent;\n } else {\n pickerComponent = choices.alpha\n ? \"RgbaStringColorPicker\"\n : \"HexColorPicker\";\n }\n\n pickerComponent = useHueMode ? \"HueColorPicker\" : pickerComponent;\n\n const form = (\n <KirkiReactColorfulForm\n {...control.params}\n control={control}\n customizerSetting={control.setting}\n useHueMode={useHueMode}\n pickerComponent={pickerComponent}\n value={control.params.value}\n setNotificationContainer={control.setNotificationContainer}\n />\n );\n\n ReactDOM.render(form, control.container[0]);\n },\n\n /**\n * After control has been first rendered, start re-rendering when setting changes.\n *\n * React is able to be used here instead of the wp.customize.Element abstraction.\n *\n * @returns {void}\n */\n ready: function ready() {\n const control = this;\n\n /**\n * Update component state when customizer setting changes.\n *\n * There was an issue (which was fixed):\n *\n * Let's say we have other color picker (\"x\" color picker) and this current color picker (\"y\" color picker).\n * Let's say there's a script that bind to that \"x\" color picker to make change to this \"y\" color picker.\n *\n * When \"x\" color picker is changed fast (by dragging the color, for example),\n * then the re-render of this \"y\" color picker will be messy.\n * There was something like \"function-call race\" between component re-render and function call inside the component.\n *\n * When that happens, the \"x\" color picker becomes unresponsive and un-usable.\n *\n * How we fixed that:\n * - Provide a updateComponentState property to this file.\n * - Inside the component, assign the updateComponentState with a function to update some states.\n * - Then inside the binding below, call updateComponentState instead of re-rendering the component.\n *\n * The result: Even though the \"x\" color picker becomes very slow, it's still usable and responsive enough.\n */\n control.setting.bind((val) => {\n control.updateComponentState(val);\n });\n },\n\n updateComponentState: () => {},\n\n /**\n * Handle removal/de-registration of the control.\n *\n * This is essentially the inverse of the Control#embed() method.\n *\n * @link https://core.trac.wordpress.org/ticket/31334\n * @returns {void}\n */\n destroy: function destroy() {\n const control = this;\n\n // Garbage collection: undo mounting that was done in the embed/renderContent method.\n ReactDOM.unmountComponentAtNode(control.container[0]);\n\n // Call destroy method in parent if it exists (as of #31334).\n if (wp.customize.Control.prototype.destroy) {\n wp.customize.Control.prototype.destroy.call(control);\n }\n },\n});\n\nexport default KirkiReactColorfulControl;\n","import { useState, useRef } from \"react\";\nimport {\n HexColorPicker,\n RgbColorPicker,\n RgbaColorPicker,\n RgbStringColorPicker,\n RgbaStringColorPicker,\n HslColorPicker,\n HslaColorPicker,\n HslStringColorPicker,\n HslaStringColorPicker,\n HsvColorPicker,\n HsvaColorPicker,\n HsvStringColorPicker,\n HsvaStringColorPicker,\n} from \"react-colorful\";\nimport KirkiReactColorfulInput from \"./js/components/KirkiReactColorfulInput\";\nimport KirkiReactColorfulSwatches from \"./js/components/KirkiReactColorfulSwatches\";\nimport convertColorForPicker from \"./js/utils/convertColorForPicker\";\nimport convertColorForCustomizer from \"./js/utils/convertColorForCustomizer\";\nimport convertColorForInput from \"./js/utils/convertColorForInput\";\nimport useClickOutside from \"./js/hooks/useClickOutside\";\nimport useFocusOutside from \"./js/hooks/useFocusOutside\";\nimport useWindowResize from \"./js/hooks/useWindowResize\";\nimport KirkiReactColorfulCircle from \"./js/components/KirkiReactColorfulCircle\";\nimport { colord } from \"colord\";\n\n/**\n * The form component of Kirki React Colorful.\n *\n * Globals:\n * _, wp, React, ReactDOM\n *\n * @param {Object} props The props for the component.\n * @returns The component element.\n */\nconst KirkiReactColorfulForm = (props) => {\n const { control, customizerSetting, useHueMode, pickerComponent, choices } =\n props;\n\n const parseEmptyValue = () => (useHueMode ? 0 : \"#000000\");\n\n const parseHueModeValue = (hueValue) => {\n hueValue = hueValue || parseEmptyValue();\n hueValue = hueValue < 0 ? 0 : hueValue;\n\n return hueValue > 360 ? 360 : hueValue;\n };\n\n const parseInputValue = (value) => {\n if (\"\" === value) return \"\";\n\n return useHueMode\n ? parseHueModeValue(value)\n : convertColorForInput(\n value,\n pickerComponent,\n choices.formComponent\n ).replace(\";\", \"\");\n };\n\n const parseCustomizerValue = (value) => {\n if (\"\" === value) return \"\";\n\n return convertColorForCustomizer(\n value,\n pickerComponent,\n choices.formComponent\n );\n };\n\n const parsePickerValue = (value) => {\n value = value || parseEmptyValue();\n\n // Hard coded saturation and lightness when using hue mode.\n return useHueMode\n ? { h: value, s: 100, l: 50 }\n : convertColorForPicker(value, pickerComponent);\n };\n\n const [inputValue, setInputValue] = useState(() => {\n return parseInputValue(props.value);\n });\n\n const [pickerValue, setPickerValue] = useState(() => {\n return parsePickerValue(props.value);\n });\n\n let currentInputValue = inputValue;\n let currentPickerValue = pickerValue;\n\n // This function will be called when this control's customizer value is changed.\n control.updateComponentState = (value) => {\n const valueForInput = parseInputValue(value);\n let changeInputValue = false;\n\n if (typeof valueForInput === \"string\" || useHueMode) {\n changeInputValue = valueForInput !== inputValue;\n } else {\n changeInputValue =\n JSON.stringify(valueForInput) !== JSON.stringify(currentInputValue);\n }\n\n if (changeInputValue) setInputValue(valueForInput);\n\n const valueForPicker = parsePickerValue(value);\n let changePickerValue = false;\n\n if (typeof valueForPicker === \"string\" || useHueMode) {\n changePickerValue = valueForPicker !== pickerValue;\n } else {\n changePickerValue =\n JSON.stringify(valueForPicker) !== JSON.stringify(currentPickerValue);\n }\n\n if (changePickerValue) setPickerValue(valueForPicker);\n };\n\n const saveToCustomizer = (value) => {\n if (useHueMode) {\n /**\n * When using hue mode, the pickerComponent is HslColorPicker.\n * If there is value.h, then value is set from the picker.\n * Otherwise, value is set from the input or the customizer.\n */\n value = value.h || 0 === value.h ? value.h : value;\n value = parseHueModeValue(value);\n } else {\n value = parseCustomizerValue(value);\n }\n\n customizerSetting.set(value);\n };\n\n const initialColor =\n \"\" !== props.default && \"undefined\" !== typeof props.default\n ? props.default\n : props.value;\n\n /**\n * Function to run on picker change.\n *\n * @param {string|Object} color The value returned by the picker. It can be a string or a color object.\n */\n const handlePickerChange = (color) => {\n if (props.onChange) props.onChange(color);\n currentPickerValue = color;\n saveToCustomizer(color);\n };\n\n const handleInputChange = (value) => {\n currentInputValue = value;\n saveToCustomizer(value);\n };\n\n const handleReset = () => {\n if (!initialColor) {\n currentInputValue = \"\";\n currentPickerValue = \"\";\n }\n\n saveToCustomizer(initialColor);\n };\n\n const handleSwatchesClick = (swatchColor) => {\n saveToCustomizer(swatchColor);\n };\n\n const handleWindowResize = () => {\n setPickerContainerStyle(getPickerContainerStyle());\n };\n\n let controlLabel = (\n <span\n className=\"customize-control-title\"\n dangerouslySetInnerHTML={{ __html: props.label }}\n />\n );\n\n let controlDescription = (\n <span\n className=\"description customize-control-description\"\n dangerouslySetInnerHTML={{ __html: props.description }}\n ></span>\n );\n\n controlLabel = (\n <label className=\"kirki-control-label\">\n {props.label ? controlLabel : \"\"}\n {props.description ? controlDescription : \"\"}\n </label>\n );\n\n controlLabel = props.label || props.description ? controlLabel : \"\";\n\n const formRef = useRef(null); // Reference to the form div.\n const pickerRef = useRef(null); // Reference to the picker popup.\n const resetRef = useRef(null); // Reference to the picker popup.\n\n const [isPickerOpen, setIsPickerOpen] = useState(false);\n\n const usePositionFixed = \"default\" !== choices.labelStyle ? true : false;\n\n const [pickerContainerStyle, setPickerContainerStyle] = useState({});\n\n const getPickerContainerStyle = () => {\n let pickerContainerStyle = {};\n\n if (!usePositionFixed) return pickerContainerStyle;\n\n let padding = window.getComputedStyle(\n control.container[0].parentNode\n ).paddingLeft;\n padding = parseInt(padding, 10) * 2;\n\n pickerContainerStyle.width =\n control.container[0].parentNode.getBoundingClientRect().width - padding;\n\n const controlLeftOffset = (control.container[0].offsetLeft - 9) * -1;\n\n pickerContainerStyle.left = controlLeftOffset + \"px\";\n\n return pickerContainerStyle;\n };\n\n const convertInputValueTo6Digits = () => {\n if (4 === inputValue.length && inputValue.includes(\"#\")) {\n setInputValue(colord(inputValue).toHex());\n }\n };\n\n const togglePicker = () => {\n if (isPickerOpen) {\n closePicker();\n } else {\n openPicker();\n }\n };\n\n const openPicker = () => {\n if (isPickerOpen) return;\n\n setPickerContainerStyle(getPickerContainerStyle());\n convertInputValueTo6Digits();\n setIsPickerOpen(true);\n };\n\n const closePicker = () => {\n if (!isPickerOpen) return;\n\n setIsPickerOpen(false);\n setTimeout(convertInputValueTo6Digits, 200);\n };\n\n let KirkiPickerComponent;\n\n // We can't just render `pickerComponent` directly, we need these lines so that the compiler will import them.\n switch (pickerComponent) {\n case \"HexColorPicker\":\n KirkiPickerComponent = HexColorPicker;\n break;\n case \"RgbColorPicker\":\n KirkiPickerComponent = RgbColorPicker;\n break;\n case \"RgbStringColorPicker\":\n KirkiPickerComponent = RgbStringColorPicker;\n break;\n case \"RgbaColorPicker\":\n KirkiPickerComponent = RgbaColorPicker;\n break;\n case \"RgbaStringColorPicker\":\n KirkiPickerComponent = RgbaStringColorPicker;\n break;\n // We treat HueColorPicker (hue mode) as HslColorPicker.\n case \"HueColorPicker\":\n KirkiPickerComponent = HslColorPicker;\n break;\n case \"HslColorPicker\":\n KirkiPickerComponent = HslColorPicker;\n break;\n case \"HslStringColorPicker\":\n KirkiPickerComponent = HslStringColorPicker;\n break;\n case \"HslaColorPicker\":\n KirkiPickerComponent = HslaColorPicker;\n break;\n case \"HslaStringColorPicker\":\n KirkiPickerComponent = HslaStringColorPicker;\n break;\n case \"HsvColorPicker\":\n KirkiPickerComponent = HsvColorPicker;\n break;\n case \"HsvStringColorPicker\":\n KirkiPickerComponent = HsvStringColorPicker;\n break;\n case \"HsvaColorPicker\":\n KirkiPickerComponent = HsvaColorPicker;\n break;\n case \"HsvaStringColorPicker\":\n KirkiPickerComponent = HsvaStringColorPicker;\n break;\n default:\n KirkiPickerComponent = HexColorPicker;\n break;\n }\n\n useWindowResize(handleWindowResize);\n\n // Handle outside focus to close the picker popup.\n useFocusOutside(formRef, closePicker);\n\n // Handle outside click to close the picker popup.\n useClickOutside(pickerRef, resetRef, closePicker);\n\n if (jQuery.wp && jQuery.wp.wpColorPicker) {\n const wpColorPickerSwatches =\n jQuery.wp.wpColorPicker.prototype.options.palettes;\n\n // If 3rd parties applied custom colors to wpColorPicker swatches, let's use them.\n if (Array.isArray(wpColorPickerSwatches)) {\n if (wpColorPickerSwatches.length < 8) {\n for (let i = wpColorPickerSwatches.length; i <= 8; i++) {\n wpColorPickerSwatches.push(choices.swatches[i]);\n }\n }\n\n choices.swatches = wpColorPickerSwatches;\n }\n }\n\n const controlHeader = (\n <>\n {controlLabel}\n <div\n className=\"customize-control-notifications-container\"\n ref={props.setNotificationContainer}\n />\n </>\n );\n\n let formClassName = useHueMode\n ? \"kirki-control-form use-hue-mode\"\n : \"kirki-control-form\";\n\n formClassName += \" has-\" + choices.labelStyle + \"-label-style\";\n\n let pickerContainerClassName = isPickerOpen\n ? pickerComponent + \" colorPickerContainer is-open\"\n : pickerComponent + \" colorPickerContainer\";\n\n const pickerTrigger = (\n <>\n <button\n type=\"button\"\n ref={resetRef}\n className=\"kirki-control-reset\"\n onClick={handleReset}\n style={{ display: isPickerOpen ? \"flex\" : \"none\" }}\n >\n <i className=\"dashicons dashicons-image-rotate\"></i>\n </button>\n\n <KirkiReactColorfulCircle\n pickerComponent={pickerComponent}\n useHueMode={useHueMode}\n color={\n !useHueMode\n ? inputValue\n : colord({ h: inputValue, s: 100, l: 50 }).toHex()\n }\n isPickerOpen={isPickerOpen}\n togglePickerHandler={togglePicker}\n />\n </>\n );\n\n let pickerHeader;\n\n switch (choices.labelStyle) {\n case \"tooltip\":\n pickerHeader = (\n <>\n {pickerTrigger}\n {!isPickerOpen && (\n <div className=\"kirki-label-tooltip\">{controlHeader}</div>\n )}\n </>\n );\n break;\n\n case \"top\":\n pickerHeader = (\n <>\n {controlHeader}\n {pickerTrigger}\n </>\n );\n break;\n\n default:\n pickerHeader = (\n <>\n <div className=\"kirki-control-cols\">\n <div className=\"kirki-control-left-col\">{controlHeader}</div>\n <div className=\"kirki-control-right-col\">{pickerTrigger}</div>\n </div>\n </>\n );\n break;\n }\n\n return (\n <>\n <div className={formClassName} ref={formRef} tabIndex=\"1\">\n {pickerHeader}\n <div\n ref={pickerRef}\n className={pickerContainerClassName}\n style={pickerContainerStyle}\n >\n {!useHueMode && (\n <KirkiReactColorfulSwatches\n colors={choices.swatches}\n onClick={handleSwatchesClick}\n />\n )}\n\n <KirkiPickerComponent\n color={pickerValue}\n onChange={handlePickerChange}\n />\n\n <KirkiReactColorfulInput\n pickerComponent={pickerComponent}\n useHueMode={useHueMode}\n color={inputValue}\n onChange={handleInputChange}\n />\n </div>\n </div>\n </>\n );\n};\n\nexport default KirkiReactColorfulForm;\n","import { useState, useEffect } from \"react\";\nimport reactCSS from \"reactcss\";\n\nconst KirkiReactColorfulCircle = (props) => {\n const { color = \"\" } = props;\n const [value, setValue] = useState(() => color);\n\n // Update the local state when `color` property value is changed.\n useEffect(() => {\n // We don't need to convert the color since it's using the customizer value.\n setValue(color);\n }, [color]);\n\n const pickersWithAlpha = [\n \"RgbaColorPicker\",\n \"RgbaStringColorPicker\",\n \"HslaColorPicker\",\n \"HslaStringColorPicker\",\n \"HsvaColorPicker\",\n \"HsvaStringColorPicker\",\n ];\n\n const styles = reactCSS({\n default: {\n triggerButton: {\n backgroundImage:\n 'url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==\")',\n },\n colorPreview: {\n backgroundColor: value ? value : \"transparent\",\n },\n },\n });\n\n return (\n <div className=\"kirki-trigger-circle-wrapper\">\n <button\n type=\"button\"\n className=\"kirki-trigger-circle\"\n onClick={props.togglePickerHandler}\n style={styles.triggerButton}\n >\n <div className=\"kirki-color-preview\" style={styles.colorPreview}></div>\n </button>\n </div>\n );\n};\n\nexport default KirkiReactColorfulCircle;\n","import { useState, useEffect, useCallback } from \"react\";\nimport reactCSS from \"reactcss\";\n\nconst KirkiReactColorfulInput = (props) => {\n const { onChange, color = \"\" } = props;\n const [value, setValue] = useState(() => color);\n\n const handleChange = useCallback(\n (e) => {\n let val = e.target.value;\n\n if (2 === val.length) {\n if (!val.includes(\"#\") && !val.includes(\"rg\") && !val.includes(\"hs\")) {\n val = \"#\" + val;\n }\n } else if (3 === val.length || 6 === val.length) {\n if (!val.includes(\"#\") && !val.includes(\"rg\") && !val.includes(\"hs\")) {\n val = \"#\" + val;\n }\n }\n\n val = val.toLowerCase();\n\n // Thank you: https://regexr.com/39cgj\n const pattern = new RegExp(\n /(?:#|0x)(?:[a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})\\b|(?:rgb|hsl)a?\\([^\\)]*\\)/\n );\n\n if (pattern.test(val)) {\n onChange(val); // Run onChange handler passed by `KirkiReactColorfulForm` component.\n }\n\n setValue(val);\n },\n [onChange]\n );\n\n // Update the local state when `color` property value is changed.\n useEffect(() => {\n // We don't need to convert the color since it's already handled in parent component.\n setValue(color);\n }, [color]);\n\n const pickersWithAlpha = [\n \"RgbaColorPicker\",\n \"RgbaStringColorPicker\",\n \"HslaColorPicker\",\n \"HslaStringColorPicker\",\n \"HsvaColorPicker\",\n \"HsvaStringColorPicker\",\n ];\n\n const styles = reactCSS({\n default: {\n colorPreviewWrapper: {\n backgroundImage: pickersWithAlpha.includes(props.pickerComponent)\n ? 'url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==\")'\n : \"none\",\n },\n colorPreview: {\n backgroundColor: value,\n },\n },\n });\n\n return (\n <div className=\"kirki-color-input-wrapper\">\n <div className=\"kirki-color-input-control\">\n {!props.useHueMode && (\n <div\n className=\"kirki-color-preview-wrapper\"\n style={styles.colorPreviewWrapper}\n >\n <button\n type=\"button\"\n className=\"kirki-color-preview\"\n style={styles.colorPreview}\n ></button>\n </div>\n )}\n <input\n type=\"text\"\n value={value}\n className=\"kirki-color-input\"\n spellCheck=\"false\"\n onChange={handleChange}\n />\n </div>\n </div>\n );\n};\n\nexport default KirkiReactColorfulInput;\n","const KirkiReactColorfulSwatches = ({ colors, onClick }) => {\n return (\n <div className=\"kirki-color-swatches\">\n {colors.map((clr, index) => {\n\t\t\t\tconst color = clr && clr.color ? clr.color : clr;\n\n return (\n <button\n key={index.toString()}\n type=\"button\"\n className=\"kirki-color-swatch\"\n data-kirki-color={color}\n style={{ backgroundColor: color }}\n onClick={() => onClick(color)}\n ></button>\n );\n })}\n </div>\n );\n};\n\nexport default KirkiReactColorfulSwatches;\n","import { useEffect } from \"react\";\n\n/**\n * Code was taken and then modified from https://codesandbox.io/s/opmco?file=/src/useClickOutside.js:0-1192\n * It was improved version of https://usehooks.com/useOnClickOutside/\n */\nconst useClickOutside = (pickerRef, resetRef, handler) => {\n useEffect(() => {\n let startedWhenMounted = false;\n let startedInside = false;\n\n const listener = (event) => {\n // Do nothing if `mousedown` or `touchstart` started either inside resetRef or pickerRef element\n if (!startedWhenMounted || startedInside) return;\n\n // Do nothing if clicking resetRef's element or descendent elements\n if (!resetRef.current || resetRef.current.contains(event.target)) return;\n\n // Do nothing if clicking pickerRef's element or descendent elements\n if (!pickerRef.current || pickerRef.current.contains(event.target))\n return;\n\n handler();\n };\n\n const validateEventStart = (event) => {\n startedWhenMounted = resetRef.current && pickerRef.current;\n startedInside =\n (resetRef.current && resetRef.current.contains(event.target)) ||\n (pickerRef.current && pickerRef.current.contains(event.target));\n };\n\n document.addEventListener(\"mousedown\", validateEventStart);\n document.addEventListener(\"touchstart\", validateEventStart);\n document.addEventListener(\"click\", listener);\n\n return () => {\n document.removeEventListener(\"mousedown\", validateEventStart);\n document.removeEventListener(\"touchstart\", validateEventStart);\n document.removeEventListener(\"click\", listener);\n };\n }, [resetRef, pickerRef, handler]);\n};\n\nexport default useClickOutside;\n","import { useEffect } from \"react\";\n\nconst useFocusOutside = (ref, handler) => {\n\tuseEffect(() => {\n\t\tconst listener = (e) => {\n\t\t\t// Do nothing if the component hasn't been mounted.\n\t\t\tif (!ref.current) return;\n\n\t\t\t// Do nothing if the focused element is inside the ref or the ref it self.\n\t\t\tif (ref.current.contains(e.target)) return;\n\n\t\t\thandler();\n\t\t};\n\n\t\tdocument.addEventListener(\"focus\", listener, true);\n\n\t\treturn () => {\n\t\t\tdocument.removeEventListener(\"focus\", listener, true);\n\t\t};\n\t}, [ref, handler]);\n};\n\nexport default useFocusOutside;\n","import { useEffect } from \"react\";\n\nconst useWindowResize = (handler) => {\n useEffect(() => {\n const listener = (e) => {\n handler();\n };\n\n window.addEventListener(\"resize\", listener, true);\n\n return () => {\n window.removeEventListener(\"resize\", listener, true);\n };\n }, [handler]);\n};\n\nexport default useWindowResize;\n","import { colord } from \"colord\";\n\n/**\n * Convert the value for the customizer.\n *\n * @param {string|Object} value The value to be converted.\n * @param {string} pickerComponent The picker component name.\n *\n * @returns {string} The converted value.\n */\nconst convertColorForCustomizer = (value, pickerComponent, formComponent) => {\n\tlet rgba;\n\tlet hsv;\n\tlet hsva;\n\tlet convertedValue;\n\n\tswitch (pickerComponent) {\n\t\t/**\n\t\t * The HexColorPicker is used by these condition:\n\t\t * 1. When formComponent is defined with HexColorPicker as the value.\n\t\t * 2. When formComponent is not defined but the \"alpha\" choice is not set or set to false (the old way).\n\t\t */\n\t\tcase 'HexColorPicker':\n\t\t\tconvertedValue = 'string' === typeof value && value.includes('#') ? value : colord(value).toHex();\n\t\t\tbreak;\n\n\t\tcase 'RgbColorPicker':\n\t\t\tconvertedValue = colord(value).toRgb();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'RgbStringColorPicker':\n\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"rgb(\")\n ? value\n : colord(value).toRgbString();\n\t\t\tbreak;\n\n\t\tcase 'RgbaColorPicker':\n\t\t\trgba = colord(value).toRgb();\n\t\t\tconvertedValue = rgba;\n\t\t\tbreak;\n\n\t\t/**\n\t\t * The RgbaStringColorPicker is used by these condition:\n\t\t * 1. When formComponent is defined with RgbaColorPicker as the value.\n\t\t * 2. When formComponent is not defined but the \"alpha\" choice is set to true.\n\t\t */\n\t\tcase 'RgbaStringColorPicker':\n\t\t\trgba = colord(value).toRgb();\n\n\t\t\tif (rgba.a < 1) {\n\t\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"rgba\")\n ? value\n : colord(value).toRgbString();\n\t\t\t} else {\n\t\t\t\t// When it uses the 2nd condition above, then the expected value is \"hex\".\n\t\t\t\tif (!formComponent) {\n\t\t\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"#\")\n ? value\n : colord(value).toHex();\n\t\t\t\t} else {\n\t\t\t\t\tconvertedValue = colord(value).toRgbString();\n\n\t\t\t\t\t// Force to set the alpha channel value.\n\t\t\t\t\tif (convertedValue.includes('rgb') && !convertedValue.includes('rgba')) {\n\t\t\t\t\t\tconvertedValue = convertedValue.replace('rgb', 'rgba');\n\t\t\t\t\t\tconvertedValue = convertedValue.replace(')', ', 1)');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase 'HslColorPicker':\n\t\t\tconvertedValue = colord(value).toHsl();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'HslStringColorPicker':\n\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"hsl(\")\n ? value\n : colord(value).toHslString();\n\t\t\tbreak;\n\n\t\tcase 'HslaColorPicker':\n\t\t\tconvertedValue = colord(value).toHsl();\n\t\t\tbreak;\n\n\t\tcase 'HslaStringColorPicker':\n\t\t\tconvertedValue = colord(value).toHslString();\n\n\t\t\t// Force to set the alpha channel value.\n\t\t\tif (convertedValue.includes('hsl') && !convertedValue.includes('hsla')) {\n\t\t\t\tconvertedValue = convertedValue.replace('hsl', 'hsla');\n\t\t\t\tconvertedValue = convertedValue.replace(')', ', 1)');\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase 'HsvColorPicker':\n\t\t\tconvertedValue = colord(value).toHsv();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\t/**\n\t\t * The colord library doesn't provide .toHsvString() method yet.\n\t\t * This manual value-building will apply to \"HsvStringColorPicker\" and \"HsvaStringColorPicker\" stuff below.\n\t\t */\n\t\tcase 'HsvStringColorPicker':\n\t\t\thsv = colord(value).toHsv();\n\t\t\tconvertedValue = 'hsv(' + hsv.h + ', ' + hsv.s + '%, ' + hsv.v + '%)';\n\t\t\tbreak;\n\n\t\tcase 'HsvaColorPicker':\n\t\t\tconvertedValue = colord(value).toHsv();\n\t\t\tbreak;\n\n\t\tcase 'HsvaStringColorPicker':\n\t\t\thsva = colord(value).toHsv();\n\t\t\tconvertedValue = 'hsva(' + hsva.h + ', ' + hsva.s + '%, ' + hsva.v + '%, ' + hsva.a + ')';\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"#\")\n ? value\n : colord(value).toHex();\n\t\t\tbreak;\n\t}\n\n\treturn convertedValue;\n};\n\nexport default convertColorForCustomizer;\n","import { colord } from \"colord\";\n\n/**\n * Convert the value for the color input.\n *\n * @param {string|Object} value The value to be converted.\n * @param {string} pickerComponent The picker component name.\n *\n * @returns {string} The converted value.\n */\nconst convertColorForInput = (value, pickerComponent, formComponent) => {\n let rgba;\n let hsv;\n let hsva;\n let convertedValue;\n\n switch (pickerComponent) {\n /**\n * The HexColorPicker is used by these condition:\n * 1. When formComponent is defined with HexColorPicker as the value.\n * 2. When formComponent is not defined but the \"alpha\" choice is not set or set to false (the old way).\n */\n case \"HexColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"#\")\n ? value\n : colord(value).toHex();\n break;\n\n case \"RgbColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"rgb(\")\n ? value\n : colord(value).toRgbString();\n break;\n\n case \"RgbStringColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"rgba\")\n ? value\n : colord(value).toRgbString();\n break;\n\n case \"RgbaColorPicker\":\n rgba = colord(value).toRgb();\n\n if (rgba.a < 1) {\n convertedValue =\n \"string\" === typeof value && value.includes(\"rgba\")\n ? value\n : colord(value).toRgbString();\n } else {\n convertedValue = colord(value).toRgbString();\n\n // Force to set the alpha value.\n if (\n convertedValue.includes(\"rgb\") &&\n !convertedValue.includes(\"rgba\")\n ) {\n convertedValue = convertedValue.replace(\"rgb\", \"rgba\");\n convertedValue = convertedValue.replace(\")\", \", 1)\");\n }\n }\n\n break;\n\n /**\n * The RgbaStringColorPicker is used by these condition:\n * 1. When formComponent is defined with RgbaColorPicker as the value.\n * 2. When formComponent is not defined but the \"alpha\" choice is set to true.\n */\n case \"RgbaStringColorPicker\":\n rgba = colord(value).toRgb();\n\n // When it uses the 2nd condition above, then the expected value is \"hex\".\n if (rgba.a == 1 && !formComponent) {\n convertedValue =\n \"string\" === typeof value && value.includes(\"#\")\n ? value\n : colord(value).toHex();\n } else {\n convertedValue = colord(value).toRgbString();\n\n // Force to set the alpha value.\n if (\n convertedValue.includes(\"rgb\") &&\n !convertedValue.includes(\"rgba\")\n ) {\n convertedValue = convertedValue.replace(\"rgb\", \"rgba\");\n convertedValue = convertedValue.replace(\")\", \", 1)\");\n }\n }\n\n break;\n\n case \"HslColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"hsl(\")\n ? value\n : colord(value).toHslString();\n break;\n\n case \"HslStringColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"hsl(\")\n ? value\n : colord(value).toHslString();\n break;\n\n case \"HslaColorPicker\":\n convertedValue = colord(value).toHslString();\n\n // Force to set the alpha value.\n if (convertedValue.includes(\"hsl\") && !convertedValue.includes(\"hsla\")) {\n convertedValue = convertedValue.replace(\"hsl\", \"hsla\");\n convertedValue = convertedValue.replace(\")\", \", 1)\");\n }\n\n break;\n\n case \"HslaStringColorPicker\":\n convertedValue = colord(value).toHslString();\n\n // Force to set the alpha value.\n if (convertedValue.includes(\"hsl\") && !convertedValue.includes(\"hsla\")) {\n convertedValue = convertedValue.replace(\"hsl\", \"hsla\");\n convertedValue = convertedValue.replace(\")\", \", 1)\");\n }\n\n break;\n\n /**\n * The colord library doesn't provide .toHsvString() method yet.\n * This manual value-building will apply to \"hsv\" and \"hsva\" stuff below.\n */\n case \"HsvColorPicker\":\n hsv = colord(value).toHsv();\n convertedValue = \"hsv(\" + hsv.h + \", \" + hsv.s + \"%, \" + hsv.v + \"%)\";\n break;\n\n case \"HsvStringColorPicker\":\n hsv = colord(value).toHsv();\n convertedValue = \"hsv(\" + hsv.h + \", \" + hsv.s + \"%, \" + hsv.v + \"%)\";\n break;\n\n case \"HsvaColorPicker\":\n hsva = colord(value).toHsv();\n convertedValue =\n \"hsva(\" +\n hsva.h +\n \", \" +\n hsva.s +\n \"%, \" +\n hsva.v +\n \"%, \" +\n hsva.a +\n \")\";\n break;\n\n case \"HsvaStringColorPicker\":\n hsva = colord(value).toHsv();\n convertedValue =\n \"hsva(\" +\n hsva.h +\n \", \" +\n hsva.s +\n \"%, \" +\n hsva.v +\n \"%, \" +\n hsva.a +\n \")\";\n break;\n\n default:\n convertedValue = colord(value).toHex();\n break;\n }\n\n return convertedValue;\n};\n\nexport default convertColorForInput;\n","import { colord } from \"colord\";\n\n/**\n * Convert the value for the color picker.\n *\n * @param {string|Object} value The value to be converted.\n * @param {string} pickerComponent The picker component name.\n *\n * @returns {string|Object} The converted value.\n */\nconst convertColorForPicker = (value, pickerComponent) => {\n\tlet convertedValue;\n\n\tswitch (pickerComponent) {\n\t\tcase 'HexColorPicker':\n\t\t\tconvertedValue = colord(value).toHex();\n\t\t\tbreak;\n\n\t\tcase 'RgbColorPicker':\n\t\t\tconvertedValue = colord(value).toRgb();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'RgbStringColorPicker':\n\t\t\tconvertedValue = colord(value).toRgbString();\n\t\t\tbreak;\n\n\t\tcase 'RgbaColorPicker':\n\t\t\tconvertedValue = colord(value).toRgb();\n\t\t\tbreak;\n\n\t\tcase 'RgbaStringColorPicker':\n\t\t\tconvertedValue = colord(value).toRgbString();\n\n\t\t\t// Force to set the alpha channel value.\n\t\t\tif (convertedValue.includes('rgb') && !convertedValue.includes('rgba')) {\n\t\t\t\tconvertedValue = convertedValue.replace('rgb', 'rgba');\n\t\t\t\tconvertedValue = convertedValue.replace(')', ', 1)');\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase 'HslColorPicker':\n\t\t\tconvertedValue = colord(value).toHsl();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'HslStringColorPicker':\n\t\t\tconvertedValue = colord(value).toHslString();\n\t\t\tbreak;\n\n\t\tcase 'HslaColorPicker':\n\t\t\tconvertedValue = colord(value).toHsl();\n\t\t\tbreak;\n\n\t\tcase 'HslaStringColorPicker':\n\t\t\tconvertedValue = colord(value).toHslString();\n\n\t\t\t// Force to set the alpha channel value.\n\t\t\tif (convertedValue.includes('hsl') && !convertedValue.includes('hsla')) {\n\t\t\t\tconvertedValue = convertedValue.replace('hsl', 'hsla');\n\t\t\t\tconvertedValue = convertedValue.replace(')', ', 1)');\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase 'HsvColorPicker':\n\t\t\tconvertedValue = colord(value).toHsv();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'HsvStringColorPicker':\n\t\t\tconst hsv = colord(value).toHsv();\n\t\t\tconvertedValue = 'hsv(' + hsv.h + ', ' + hsv.s + '%, ' + hsv.v + '%)';\n\n\t\t\tbreak;\n\n\t\tcase 'HsvaColorPicker':\n\t\t\tconvertedValue = colord(value).toHsv();\n\t\t\tbreak;\n\n\t\tcase 'HsvaStringColorPicker':\n\t\t\t// colord library doesn't provide .toHsvString() method yet.\n\t\t\tconst hsva = colord(value).toHsv();\n\t\t\tconvertedValue = 'hsva(' + hsva.h + ', ' + hsva.s + '%, ' + hsva.v + '%, ' + hsva.a + ')';\n\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tconvertedValue = colord(value).toHex();\n\t\t\tbreak;\n\t}\n\n\treturn convertedValue;\n};\n\nexport default convertColorForPicker;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n","var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n","var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys'),\n keysIn = require('./keysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nmodule.exports = baseClone;\n","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n","var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n","var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n","var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n","var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n","var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nmodule.exports = baseMap;\n","var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n","var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n","var baseGet = require('./_baseGet');\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var identity = require('./identity');\n\n/**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\nfunction castFunction(value) {\n return typeof value == 'function' ? value : identity;\n}\n\nmodule.exports = castFunction;\n","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n","var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n","var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n","var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nmodule.exports = getMatchData;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n","var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nmodule.exports = initCloneArray;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n","var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","var isObject = require('./isObject');\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = cloneDeep;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var baseForOwn = require('./_baseForOwn'),\n castFunction = require('./_castFunction');\n\n/**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\nfunction forOwn(object, iteratee) {\n return object && baseForOwn(object, castFunction(iteratee));\n}\n\nmodule.exports = forOwn;\n","var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n","var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n","var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n isArray = require('./isArray');\n\n/**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nmodule.exports = map;\n","var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n","var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n","// extracted by mini-css-extract-plugin\nexport {};","import e,{useRef as r,useMemo as t,useEffect as n,useState as o,useCallback as a,useLayoutEffect as l}from\"react\";function u(){return(u=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function c(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r.indexOf(t=a[n])>=0||(o[t]=e[t]);return o}function i(e){var t=r(e),n=r(function(e){t.current&&t.current(e)});return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e<r?r:e},f=function(e){return\"touches\"in e},v=function(e){return e&&e.ownerDocument.defaultView||self},d=function(e,r,t){var n=e.getBoundingClientRect(),o=f(r)?function(e,r){for(var t=0;t<e.length;t++)if(e[t].identifier===r)return e[t];return e[0]}(r.touches,t):r;return{left:s((o.pageX-(n.left+v(e).pageXOffset))/n.width),top:s((o.pageY-(n.top+v(e).pageYOffset))/n.height)}},h=function(e){!f(e)&&e.preventDefault()},m=e.memo(function(o){var a=o.onMove,l=o.onKey,s=c(o,[\"onMove\",\"onKey\"]),m=r(null),g=i(a),p=i(l),b=r(null),_=r(!1),x=t(function(){var e=function(e){h(e),(f(e)?e.touches.length>0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1)},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?\"touchmove\":\"mousemove\",e),a(n?\"touchend\":\"mouseup\",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]},[p,g]),C=x[0],E=x[1],H=x[2];return n(function(){return H},[H]),e.createElement(\"div\",u({},s,{onTouchStart:C,onMouseDown:C,className:\"react-colorful__interactive\",ref:m,onKeyDown:E,tabIndex:0,role:\"slider\"}))}),g=function(e){return e.filter(Boolean).join(\" \")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g([\"react-colorful__pointer\",r.className]);return e.createElement(\"div\",{className:l,style:{top:100*a+\"%\",left:100*n+\"%\"}},e.createElement(\"div\",{className:\"react-colorful__pointer-fill\",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},x=function(e){return\"#\"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},C=function(e,r){return void 0===r&&(r=\"deg\"),Number(e)*(_[r]||1)},E=function(e){var r=/hsla?\\(?\\s*(-?\\d*\\.?\\d+)(deg|rad|grad|turn)?[,\\s]+(-?\\d*\\.?\\d+)%?[,\\s]+(-?\\d*\\.?\\d+)%?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i.exec(e);return r?M({h:C(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},H=E,M=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},N=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},w=function(e){var r=N(e);return\"hsl(\"+r.h+\", \"+r.s+\"%, \"+r.l+\"%)\"},y=function(e){var r=N(e);return\"hsla(\"+r.h+\", \"+r.s+\"%, \"+r.l+\"%, \"+r.a+\")\"},q=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},k=function(e){var r=/hsva?\\(?\\s*(-?\\d*\\.?\\d+)(deg|rad|grad|turn)?[,\\s]+(-?\\d*\\.?\\d+)%?[,\\s]+(-?\\d*\\.?\\d+)%?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i.exec(e);return r?D({h:C(r[1],r[2]),s:Number(r[3]),v:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},O=k,I=function(e){var r=/rgba?\\(?\\s*(-?\\d*\\.?\\d+)(%)?[,\\s]+(-?\\d*\\.?\\d+)(%)?[,\\s]+(-?\\d*\\.?\\d+)(%)?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i.exec(e);return r?B({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=I,z=function(e){var r=e.toString(16);return r.length<2?\"0\"+r:r},B=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},D=function(e){return{h:b(e.h),s:b(e.s),v:b(e.v),a:b(e.a,2)}},K=e.memo(function(r){var t=r.hue,n=r.onChange,o=g([\"react-colorful__hue\",r.className]);return e.createElement(\"div\",{className:o},e.createElement(m,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:s(t+360*e.left,0,360)})},\"aria-label\":\"Hue\",\"aria-valuetext\":b(t)},e.createElement(p,{className:\"react-colorful__hue-pointer\",left:t/360,color:w({h:t,s:100,v:100,a:1})})))}),L=e.memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:w({h:t.h,s:100,v:100,a:1})};return e.createElement(\"div\",{className:\"react-colorful__saturation\",style:o},e.createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},\"aria-label\":\"Color\",\"aria-valuetext\":\"Saturation \"+b(t.s)+\"%, Brightness \"+b(t.v)+\"%\"},e.createElement(p,{className:\"react-colorful__saturation-pointer\",top:1-t.v/100,left:t.s/100,color:w(t)})))}),A=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},S=function(e,r){return e.replace(/\\s/g,\"\")===r.replace(/\\s/g,\"\")};function T(e,t,l){var u=i(l),c=o(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=r({color:t,hsva:s});n(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}},[t,e]),n(function(){var r;A(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))},[s,e,u]);var d=a(function(e){f(function(r){return Object.assign({},r,e)})},[]);return[s,d]}var F,P=\"undefined\"!=typeof window?l:n,X=function(){return F||(\"undefined\"!=typeof __webpack_nonce__?__webpack_nonce__:void 0)},Y=function(e){F=e},R=new Map,V=function(e){P(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!R.has(r)){var t=r.createElement(\"style\");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:\"\";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\\'data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill-opacity=\".05\"><path d=\"M8 0h8v8H8zM0 8h8v8H0z\"/></svg>\\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',R.set(r,t);var n=X();n&&t.setAttribute(\"nonce\",n),r.head.appendChild(t)}},[])},$=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,[\"className\",\"colorModel\",\"color\",\"onChange\"]),f=r(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g([\"react-colorful\",n]);return e.createElement(\"div\",u({},s,{ref:f,className:m}),e.createElement(L,{hsva:d,onChange:h}),e.createElement(K,{hue:d.h,onChange:h,className:\"react-colorful__last-control\"}))},G={defaultColor:\"000\",toHsva:function(e){return B(x(e))},fromHsva:function(e){return t=(r=q(e)).g,n=r.b,\"#\"+z(r.r)+z(t)+z(n);var r,t,n},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||A(x(e),x(r))}},J=function(r){return e.createElement($,u({},r,{colorModel:G}))},Q=function(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:\"linear-gradient(90deg, \"+y(Object.assign({},n,{a:0}))+\", \"+y(Object.assign({},n,{a:1}))+\")\"},l=g([\"react-colorful__alpha\",t]);return e.createElement(\"div\",{className:l},e.createElement(\"div\",{className:\"react-colorful__alpha-gradient\",style:a}),e.createElement(m,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:s(n.a+e.left)})},\"aria-label\":\"Alpha\",\"aria-valuetext\":b(100*n.a)+\"%\"},e.createElement(p,{className:\"react-colorful__alpha-pointer\",left:n.a,color:y(n)})))},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,[\"className\",\"colorModel\",\"color\",\"onChange\"]),f=r(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g([\"react-colorful\",n]);return e.createElement(\"div\",u({},s,{ref:f,className:m}),e.createElement(L,{hsva:d,onChange:h}),e.createElement(K,{hue:d.h,onChange:h}),e.createElement(Q,{hsva:d,onChange:h,className:\"react-colorful__last-control\"}))},W={defaultColor:{h:0,s:0,l:0,a:1},toHsva:M,fromHsva:N,equal:A},Z=function(r){return e.createElement(U,u({},r,{colorModel:W}))},ee={defaultColor:\"hsla(0, 0%, 0%, 1)\",toHsva:E,fromHsva:y,equal:S},re=function(r){return e.createElement(U,u({},r,{colorModel:ee}))},te={defaultColor:{h:0,s:0,l:0},toHsva:function(e){return M({h:e.h,s:e.s,l:e.l,a:1})},fromHsva:function(e){return{h:(r=N(e)).h,s:r.s,l:r.l};var r},equal:A},ne=function(r){return e.createElement($,u({},r,{colorModel:te}))},oe={defaultColor:\"hsl(0, 0%, 0%)\",toHsva:H,fromHsva:w,equal:S},ae=function(r){return e.createElement($,u({},r,{colorModel:oe}))},le={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(e){return e},fromHsva:D,equal:A},ue=function(r){return e.createElement(U,u({},r,{colorModel:le}))},ce={defaultColor:\"hsva(0, 0%, 0%, 1)\",toHsva:k,fromHsva:function(e){var r=D(e);return\"hsva(\"+r.h+\", \"+r.s+\"%, \"+r.v+\"%, \"+r.a+\")\"},equal:S},ie=function(r){return e.createElement(U,u({},r,{colorModel:ce}))},se={defaultColor:{h:0,s:0,v:0},toHsva:function(e){return{h:e.h,s:e.s,v:e.v,a:1}},fromHsva:function(e){var r=D(e);return{h:r.h,s:r.s,v:r.v}},equal:A},fe=function(r){return e.createElement($,u({},r,{colorModel:se}))},ve={defaultColor:\"hsv(0, 0%, 0%)\",toHsva:O,fromHsva:function(e){var r=D(e);return\"hsv(\"+r.h+\", \"+r.s+\"%, \"+r.v+\"%)\"},equal:S},de=function(r){return e.createElement($,u({},r,{colorModel:ve}))},he={defaultColor:{r:0,g:0,b:0,a:1},toHsva:B,fromHsva:q,equal:A},me=function(r){return e.createElement(U,u({},r,{colorModel:he}))},ge={defaultColor:\"rgba(0, 0, 0, 1)\",toHsva:I,fromHsva:function(e){var r=q(e);return\"rgba(\"+r.r+\", \"+r.g+\", \"+r.b+\", \"+r.a+\")\"},equal:S},pe=function(r){return e.createElement(U,u({},r,{colorModel:ge}))},be={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return B({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){return{r:(r=q(e)).r,g:r.g,b:r.b};var r},equal:A},_e=function(r){return e.createElement($,u({},r,{colorModel:be}))},xe={defaultColor:\"rgb(0, 0, 0)\",toHsva:j,fromHsva:function(e){var r=q(e);return\"rgb(\"+r.r+\", \"+r.g+\", \"+r.b+\")\"},equal:S},Ce=function(r){return e.createElement($,u({},r,{colorModel:xe}))},Ee=/^#?([0-9A-F]{3,8})$/i,He=function(r){var t=r.color,l=void 0===t?\"\":t,s=r.onChange,f=r.onBlur,v=r.escape,d=r.validate,h=r.format,m=r.process,g=c(r,[\"color\",\"onChange\",\"onBlur\",\"escape\",\"validate\",\"format\",\"process\"]),p=o(function(){return v(l)}),b=p[0],_=p[1],x=i(s),C=i(f),E=a(function(e){var r=v(e.target.value);_(r),d(r)&&x(m?m(r):r)},[v,m,d,x]),H=a(function(e){d(e.target.value)||_(v(l)),C(e)},[l,v,d,C]);return n(function(){_(v(l))},[l,v]),e.createElement(\"input\",u({},g,{value:h?h(b):b,spellCheck:\"false\",onChange:E,onBlur:H}))},Me=function(e){return\"#\"+e},Ne=function(r){var t=r.prefixed,n=r.alpha,o=c(r,[\"prefixed\",\"alpha\"]),l=a(function(e){return e.replace(/([^0-9A-F]+)/gi,\"\").substr(0,n?8:6)},[n]),i=a(function(e){return function(e,r){var t=Ee.exec(e),n=t?t[1].length:0;return 3===n||6===n||!!r&&4===n||!!r&&8===n}(e,n)},[n]);return e.createElement(He,u({},o,{escape:l,format:t?Me:void 0,process:Me,validate:i}))};export{Ne as HexColorInput,J as HexColorPicker,ne as HslColorPicker,ae as HslStringColorPicker,Z as HslaColorPicker,re as HslaStringColorPicker,fe as HsvColorPicker,de as HsvStringColorPicker,ue as HsvaColorPicker,ie as HsvaStringColorPicker,_e as RgbColorPicker,Ce as RgbStringColorPicker,me as RgbaColorPicker,pe as RgbaStringColorPicker,Y as setNonce};\n//# sourceMappingURL=index.module.js.map\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.autoprefix = undefined;\n\nvar _forOwn2 = require('lodash/forOwn');\n\nvar _forOwn3 = _interopRequireDefault(_forOwn2);\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar transforms = {\n borderRadius: function borderRadius(value) {\n return {\n msBorderRadius: value,\n MozBorderRadius: value,\n OBorderRadius: value,\n WebkitBorderRadius: value,\n borderRadius: value\n };\n },\n boxShadow: function boxShadow(value) {\n return {\n msBoxShadow: value,\n MozBoxShadow: value,\n OBoxShadow: value,\n WebkitBoxShadow: value,\n boxShadow: value\n };\n },\n userSelect: function userSelect(value) {\n return {\n WebkitTouchCallout: value,\n KhtmlUserSelect: value,\n MozUserSelect: value,\n msUserSelect: value,\n WebkitUserSelect: value,\n userSelect: value\n };\n },\n\n flex: function flex(value) {\n return {\n WebkitBoxFlex: value,\n MozBoxFlex: value,\n WebkitFlex: value,\n msFlex: value,\n flex: value\n };\n },\n flexBasis: function flexBasis(value) {\n return {\n WebkitFlexBasis: value,\n flexBasis: value\n };\n },\n justifyContent: function justifyContent(value) {\n return {\n WebkitJustifyContent: value,\n justifyContent: value\n };\n },\n\n transition: function transition(value) {\n return {\n msTransition: value,\n MozTransition: value,\n OTransition: value,\n WebkitTransition: value,\n transition: value\n };\n },\n\n transform: function transform(value) {\n return {\n msTransform: value,\n MozTransform: value,\n OTransform: value,\n WebkitTransform: value,\n transform: value\n };\n },\n absolute: function absolute(value) {\n var direction = value && value.split(' ');\n return {\n position: 'absolute',\n top: direction && direction[0],\n right: direction && direction[1],\n bottom: direction && direction[2],\n left: direction && direction[3]\n };\n },\n extend: function extend(name, otherElementStyles) {\n var otherStyle = otherElementStyles[name];\n if (otherStyle) {\n return otherStyle;\n }\n return {\n 'extend': name\n };\n }\n};\n\nvar autoprefix = exports.autoprefix = function autoprefix(elements) {\n var prefixed = {};\n (0, _forOwn3.default)(elements, function (styles, element) {\n var expanded = {};\n (0, _forOwn3.default)(styles, function (value, key) {\n var transform = transforms[key];\n if (transform) {\n expanded = _extends({}, expanded, transform(value));\n } else {\n expanded[key] = value;\n }\n });\n prefixed[element] = expanded;\n });\n return prefixed;\n};\n\nexports.default = autoprefix;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.active = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar active = exports.active = function active(Component) {\n var Span = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'span';\n\n return function (_React$Component) {\n _inherits(Active, _React$Component);\n\n function Active() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Active);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Active.__proto__ || Object.getPrototypeOf(Active)).call.apply(_ref, [this].concat(args))), _this), _this.state = { active: false }, _this.handleMouseDown = function () {\n return _this.setState({ active: true });\n }, _this.handleMouseUp = function () {\n return _this.setState({ active: false });\n }, _this.render = function () {\n return _react2.default.createElement(\n Span,\n { onMouseDown: _this.handleMouseDown, onMouseUp: _this.handleMouseUp },\n _react2.default.createElement(Component, _extends({}, _this.props, _this.state))\n );\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n return Active;\n }(_react2.default.Component);\n};\n\nexports.default = active;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.hover = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar hover = exports.hover = function hover(Component) {\n var Span = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'span';\n\n return function (_React$Component) {\n _inherits(Hover, _React$Component);\n\n function Hover() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Hover);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Hover.__proto__ || Object.getPrototypeOf(Hover)).call.apply(_ref, [this].concat(args))), _this), _this.state = { hover: false }, _this.handleMouseOver = function () {\n return _this.setState({ hover: true });\n }, _this.handleMouseOut = function () {\n return _this.setState({ hover: false });\n }, _this.render = function () {\n return _react2.default.createElement(\n Span,\n { onMouseOver: _this.handleMouseOver, onMouseOut: _this.handleMouseOut },\n _react2.default.createElement(Component, _extends({}, _this.props, _this.state))\n );\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n return Hover;\n }(_react2.default.Component);\n};\n\nexports.default = hover;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.flattenNames = undefined;\n\nvar _isString2 = require('lodash/isString');\n\nvar _isString3 = _interopRequireDefault(_isString2);\n\nvar _forOwn2 = require('lodash/forOwn');\n\nvar _forOwn3 = _interopRequireDefault(_forOwn2);\n\nvar _isPlainObject2 = require('lodash/isPlainObject');\n\nvar _isPlainObject3 = _interopRequireDefault(_isPlainObject2);\n\nvar _map2 = require('lodash/map');\n\nvar _map3 = _interopRequireDefault(_map2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar flattenNames = exports.flattenNames = function flattenNames() {\n var things = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n var names = [];\n\n (0, _map3.default)(things, function (thing) {\n if (Array.isArray(thing)) {\n flattenNames(thing).map(function (name) {\n return names.push(name);\n });\n } else if ((0, _isPlainObject3.default)(thing)) {\n (0, _forOwn3.default)(thing, function (value, key) {\n value === true && names.push(key);\n names.push(key + '-' + value);\n });\n } else if ((0, _isString3.default)(thing)) {\n names.push(thing);\n }\n });\n\n return names;\n};\n\nexports.default = flattenNames;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ReactCSS = exports.loop = exports.handleActive = exports.handleHover = exports.hover = undefined;\n\nvar _flattenNames = require('./flattenNames');\n\nvar _flattenNames2 = _interopRequireDefault(_flattenNames);\n\nvar _mergeClasses = require('./mergeClasses');\n\nvar _mergeClasses2 = _interopRequireDefault(_mergeClasses);\n\nvar _autoprefix = require('./autoprefix');\n\nvar _autoprefix2 = _interopRequireDefault(_autoprefix);\n\nvar _hover2 = require('./components/hover');\n\nvar _hover3 = _interopRequireDefault(_hover2);\n\nvar _active = require('./components/active');\n\nvar _active2 = _interopRequireDefault(_active);\n\nvar _loop2 = require('./loop');\n\nvar _loop3 = _interopRequireDefault(_loop2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.hover = _hover3.default;\nexports.handleHover = _hover3.default;\nexports.handleActive = _active2.default;\nexports.loop = _loop3.default;\nvar ReactCSS = exports.ReactCSS = function ReactCSS(classes) {\n for (var _len = arguments.length, activations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n activations[_key - 1] = arguments[_key];\n }\n\n var activeNames = (0, _flattenNames2.default)(activations);\n var merged = (0, _mergeClasses2.default)(classes, activeNames);\n return (0, _autoprefix2.default)(merged);\n};\n\nexports.default = ReactCSS;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar loopable = function loopable(i, length) {\n var props = {};\n var setProp = function setProp(name) {\n var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n props[name] = value;\n };\n\n i === 0 && setProp('first-child');\n i === length - 1 && setProp('last-child');\n (i === 0 || i % 2 === 0) && setProp('even');\n Math.abs(i % 2) === 1 && setProp('odd');\n setProp('nth-child', i);\n\n return props;\n};\n\nexports.default = loopable;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.mergeClasses = undefined;\n\nvar _forOwn2 = require('lodash/forOwn');\n\nvar _forOwn3 = _interopRequireDefault(_forOwn2);\n\nvar _cloneDeep2 = require('lodash/cloneDeep');\n\nvar _cloneDeep3 = _interopRequireDefault(_cloneDeep2);\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar mergeClasses = exports.mergeClasses = function mergeClasses(classes) {\n var activeNames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n var styles = classes.default && (0, _cloneDeep3.default)(classes.default) || {};\n activeNames.map(function (name) {\n var toMerge = classes[name];\n if (toMerge) {\n (0, _forOwn3.default)(toMerge, function (value, key) {\n if (!styles[key]) {\n styles[key] = {};\n }\n\n styles[key] = _extends({}, styles[key], toMerge[key]);\n });\n }\n\n return name;\n });\n return styles;\n};\n\nexports.default = mergeClasses;","module.exports = React;","module.exports = ReactDOM;","var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return\"string\"==typeof r?r.length>0:\"number\"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return(r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return{r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return{r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?\"0\"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return{h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return{r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return{h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return{h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e},c=function(r){return{h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u},l=/^hsla?\\(\\s*([+-]?\\d*\\.?\\d+)(deg|rad|grad|turn)?\\s*,\\s*([+-]?\\d*\\.?\\d+)%\\s*,\\s*([+-]?\\d*\\.?\\d+)%\\s*(?:,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,p=/^hsla?\\(\\s*([+-]?\\d*\\.?\\d+)(deg|rad|grad|turn)?\\s+([+-]?\\d*\\.?\\d+)%\\s+([+-]?\\d*\\.?\\d+)%\\s*(?:\\/\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,v=/^rgba?\\(\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*(?:,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,m=/^rgba?\\(\\s*([+-]?\\d*\\.?\\d+)(%)?\\s+([+-]?\\d*\\.?\\d+)(%)?\\s+([+-]?\\d*\\.?\\d+)(%)?\\s*(?:\\/\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},\"hex\"],[function(r){var t=v.exec(r)||m.exec(r);return t?t[2]!==t[4]||t[4]!==t[6]?null:a({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},\"rgb\"],[function(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u=\"deg\"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},\"hsl\"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},\"rgb\"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},\"hsl\"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return{h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},\"hsv\"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return[e,t[n][1]]}return[null,void 0]},x=function(r){return\"string\"==typeof r?N(r.trim(),y.string):\"object\"==typeof r&&null!==r?N(r,y.object):[null,void 0]},I=function(r){return x(r)[1]},M=function(r,t){var n=c(r);return{h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return(299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return{h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):\"\",\"#\"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?\"rgba(\"+t+\", \"+n+\", \"+e+\", \"+u+\")\":\"rgb(\"+t+\", \"+n+\", \"+e+\")\";var r,t,n,e,u},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?\"hsla(\"+t+\", \"+n+\"%, \"+e+\"%, \"+u+\")\":\"hsl(\"+t+\", \"+n+\"%, \"+e+\"%)\";var r,t,n,e,u},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return\"number\"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t},r.prototype.hue=function(r){var t=c(this.rgba);return\"number\"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r))})},E=function(){return new j({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})};export{j as Colord,w as colord,k as extend,I as getFormat,E as random};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","/* global wp */\n\nimport \"./control.scss\";\nimport KirkiReactColorfulControl from './KirkiReactColorfulControl';\n\n// Register control type with Customizer.\nwp.customize.controlConstructor['kirki-react-colorful'] = KirkiReactColorfulControl;\n"],"names":["ReactDOM","KirkiReactColorfulForm","KirkiReactColorfulControl","wp","customize","Control","extend","initialize","id","params","control","setNotificationContainer","bind","prototype","call","onRemoved","removedControl","destroy","container","remove","unbind","element","notifications","jQuery","render","renderContent","useHueMode","mode","choices","pickerComponent","formComponent","alpha","form","setting","value","ready","val","updateComponentState","unmountComponentAtNode","useState","useRef","HexColorPicker","RgbColorPicker","RgbaColorPicker","RgbStringColorPicker","RgbaStringColorPicker","HslColorPicker","HslaColorPicker","HslStringColorPicker","HslaStringColorPicker","HsvColorPicker","HsvaColorPicker","HsvStringColorPicker","HsvaStringColorPicker","KirkiReactColorfulInput","KirkiReactColorfulSwatches","convertColorForPicker","convertColorForCustomizer","convertColorForInput","useClickOutside","useFocusOutside","useWindowResize","KirkiReactColorfulCircle","colord","props","customizerSetting","parseEmptyValue","parseHueModeValue","hueValue","parseInputValue","replace","parseCustomizerValue","parsePickerValue","h","s","l","inputValue","setInputValue","pickerValue","setPickerValue","currentInputValue","currentPickerValue","valueForInput","changeInputValue","JSON","stringify","valueForPicker","changePickerValue","saveToCustomizer","set","initialColor","default","handlePickerChange","color","onChange","handleInputChange","handleReset","handleSwatchesClick","swatchColor","handleWindowResize","setPickerContainerStyle","getPickerContainerStyle","controlLabel","__html","label","controlDescription","description","formRef","pickerRef","resetRef","isPickerOpen","setIsPickerOpen","usePositionFixed","labelStyle","pickerContainerStyle","padding","window","getComputedStyle","parentNode","paddingLeft","parseInt","width","getBoundingClientRect","controlLeftOffset","offsetLeft","left","convertInputValueTo6Digits","length","includes","toHex","togglePicker","closePicker","openPicker","setTimeout","KirkiPickerComponent","wpColorPicker","wpColorPickerSwatches","options","palettes","Array","isArray","i","push","swatches","controlHeader","formClassName","pickerContainerClassName","pickerTrigger","display","pickerHeader","useEffect","reactCSS","setValue","pickersWithAlpha","styles","triggerButton","backgroundImage","colorPreview","backgroundColor","togglePickerHandler","useCallback","handleChange","e","target","toLowerCase","pattern","RegExp","test","colorPreviewWrapper","colors","onClick","map","clr","index","toString","handler","startedWhenMounted","startedInside","listener","event","current","contains","validateEventStart","document","addEventListener","removeEventListener","ref","rgba","hsv","hsva","convertedValue","toRgb","a","toRgbString","toHsl","toHslString","toHsv","v","controlConstructor"],"sourceRoot":""}
|
packages/kirki-framework/control-react-colorful/dist/preview.js
CHANGED
@@ -1,2 +1,93 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
//# sourceMappingURL=preview.js.map
|
1 |
+
/******/ (function() { // webpackBootstrap
|
2 |
+
var __webpack_exports__ = {};
|
3 |
+
/*!************************!*\
|
4 |
+
!*** ./src/preview.js ***!
|
5 |
+
\************************/
|
6 |
+
(() => {
|
7 |
+
/**
|
8 |
+
* Check if the provided value is a numeric.
|
9 |
+
*
|
10 |
+
* Thanks to Dan (https://stackoverflow.com/users/17121/dan) for his answer on StackOverflow:
|
11 |
+
* @see https://stackoverflow.com/questions/175739/built-in-way-in-javascript-to-check-if-a-string-is-a-valid-number#answer-175787
|
12 |
+
*
|
13 |
+
* @param {string|number} str The provided value.
|
14 |
+
* @return bool
|
15 |
+
*/
|
16 |
+
const isNumeric = str => {
|
17 |
+
// Number is a numeric.
|
18 |
+
if ('number' === typeof str) return true; // We only process strings.
|
19 |
+
|
20 |
+
if ('string' !== typeof str) return false; // Use type coercion to parse the entirety of the string (`parseFloat` alone does not do this) and ensure strings of whitespace fail.
|
21 |
+
|
22 |
+
return !isNaN(str) && !isNaN(parseFloat(str));
|
23 |
+
};
|
24 |
+
/**
|
25 |
+
* Generate value from color object.
|
26 |
+
*
|
27 |
+
* @param {Object} value The value.
|
28 |
+
* @return string
|
29 |
+
*/
|
30 |
+
|
31 |
+
|
32 |
+
const generateStringValue = value => {
|
33 |
+
alphaEnabled = false;
|
34 |
+
|
35 |
+
if (value.r || value.g || value.b) {
|
36 |
+
colorMode = "undefined" !== typeof value.a ? 'rgba' : 'rgb';
|
37 |
+
alphaEnabled = 'rgba' === colorMode ? true : alphaEnabled;
|
38 |
+
pos1 = value.r;
|
39 |
+
pos2 = value.g;
|
40 |
+
pos3 = value.b;
|
41 |
+
pos4 = 'rgba' === colorMode ? value.a : 1;
|
42 |
+
} else if (value.h || value.s) {
|
43 |
+
pos1 = value.h;
|
44 |
+
|
45 |
+
if (value.l) {
|
46 |
+
colorMode = "undefined" !== typeof value.a ? 'hsla' : 'hsl';
|
47 |
+
pos2 = isNumeric(value.l) ? value.l + '%' : value.l;
|
48 |
+
} else if (value.v) {
|
49 |
+
colorMode = "undefined" !== typeof value.a ? 'hvla' : 'hvl';
|
50 |
+
pos2 = isNumeric(value.v) ? value.v + '%' : value.v;
|
51 |
+
}
|
52 |
+
|
53 |
+
alphaEnabled = 'hsla' === colorMode || 'hsva' === colorMode ? true : alphaEnabled;
|
54 |
+
pos3 = isNumeric(value) ? value.s + '%' : value.s;
|
55 |
+
pos4 = alphaEnabled ? value.a : 1;
|
56 |
+
}
|
57 |
+
|
58 |
+
if (alphaEnabled) {
|
59 |
+
formattedValue = colorMode + '(' + pos1 + ', ' + pos2 + ', ' + pos3 + ', ' + pos4 + ')';
|
60 |
+
} else {
|
61 |
+
formattedValue = colorMode + '(' + pos1 + ', ' + pos2 + ', ' + pos3 + ')';
|
62 |
+
}
|
63 |
+
|
64 |
+
return formattedValue;
|
65 |
+
};
|
66 |
+
/**
|
67 |
+
* Function to hook into `kirkiPostMessageStylesOutput` filter.
|
68 |
+
*
|
69 |
+
* @param {string} styles The styles to be filtered.
|
70 |
+
* @param {string|Object|int} value The control's value.
|
71 |
+
* @param {Object} output The control's output argument.
|
72 |
+
* @param {string} controlType The control type.
|
73 |
+
*
|
74 |
+
* @return {string} The filtered styles.
|
75 |
+
*/
|
76 |
+
|
77 |
+
|
78 |
+
const stylesOutput = (styles, value, output, controlType) => {
|
79 |
+
if ('kirki-react-colorful' !== controlType) return styles;
|
80 |
+
if ('string' === typeof value || 'number' === typeof value) return styles;
|
81 |
+
const prefix = output.prefix ? output.prefix : '';
|
82 |
+
const suffix = output.suffix ? output.suffix : "";
|
83 |
+
styles += output.element + '{' + output.property + ': ' + prefix + generateStringValue(value) + suffix + ';\
|
84 |
+
}';
|
85 |
+
return styles;
|
86 |
+
}; // Hook the function to the `kirkiPostMessageStylesOutput` filter.
|
87 |
+
|
88 |
+
|
89 |
+
wp.hooks.addFilter('kirkiPostMessageStylesOutput', 'kirki', stylesOutput);
|
90 |
+
})();
|
91 |
+
/******/ })()
|
92 |
+
;
|
93 |
//# sourceMappingURL=preview.js.map
|
packages/kirki-framework/control-react-colorful/dist/preview.js.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"file":"preview.js","mappings":"AAAA,
|
1 |
+
{"version":3,"file":"preview.js","mappings":";;;;;AAAA,CAAC,MAAM;AACN;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACC,QAAMA,SAAS,GAAIC,GAAD,IAAS;AAE1B;AACA,QAAI,aAAa,OAAOA,GAAxB,EAA6B,OAAO,IAAP,CAHH,CAK1B;;AACA,QAAI,aAAa,OAAOA,GAAxB,EAA6B,OAAO,KAAP,CANH,CAQ1B;;AACA,WAAQ,CAACC,KAAK,CAACD,GAAD,CAAN,IAAe,CAACC,KAAK,CAACC,UAAU,CAACF,GAAD,CAAX,CAA7B;AAEA,GAXD;AAaA;AACD;AACA;AACA;AACA;AACA;;;AACC,QAAMG,mBAAmB,GAAIC,KAAD,IAAW;AAEtCC,IAAAA,YAAY,GAAG,KAAf;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;;AACAO,EAAAA,EAAE,CAACC,KAAH,CAASC,SAAT,CAAmB,8BAAnB,EAAmD,OAAnD,EAA4DV,YAA5D;AACA,CAhGD,I","sources":["webpack://control-react-colorful/./src/preview.js"],"sourcesContent":["(() => {\n\t/**\n\t * Check if the provided value is a numeric.\n\t *\n\t * Thanks to Dan (https://stackoverflow.com/users/17121/dan) for his answer on StackOverflow:\n\t * @see https://stackoverflow.com/questions/175739/built-in-way-in-javascript-to-check-if-a-string-is-a-valid-number#answer-175787\n\t *\n\t * @param {string|number} str The provided value.\n\t * @return bool\n\t */\n\tconst isNumeric = (str) => {\n\n\t\t// Number is a numeric.\n\t\tif ('number' === typeof str) return true;\n\n\t\t// We only process strings.\n\t\tif ('string' !== typeof str) return false;\n\n\t\t// Use type coercion to parse the entirety of the string (`parseFloat` alone does not do this) and ensure strings of whitespace fail.\n\t\treturn (!isNaN(str) && !isNaN(parseFloat(str)));\n\n\t};\n\n\t/**\n\t * Generate value from color object.\n\t *\n\t * @param {Object} value The value.\n\t * @return string\n\t */\n\tconst generateStringValue = (value) => {\n\n\t\talphaEnabled = false;\n\n\t\tif (value.r || value.g || value.b) {\n\t\t\tcolorMode = \"undefined\" !== typeof value.a ? 'rgba' : 'rgb';\n\t\t\talphaEnabled = 'rgba' === colorMode ? true : alphaEnabled;\n\n\t\t\tpos1 = value.r;\n\t\t\tpos2 = value.g;\n\t\t\tpos3 = value.b;\n\t\t\tpos4 = 'rgba' === colorMode ? value.a : 1;\n\t\t} else if (value.h || value.s) {\n\t\t\tpos1 = value.h;\n\n\t\t\tif (value.l) {\n\t\t\t\tcolorMode = \"undefined\" !== typeof value.a ? 'hsla' : 'hsl';\n\t\t\t\tpos2 = isNumeric(value.l) ? value.l + '%' : value.l;\n\t\t\t} else if (value.v) {\n\t\t\t\tcolorMode = \"undefined\" !== typeof value.a ? 'hvla' : 'hvl';\n\t\t\t\tpos2 = isNumeric(value.v) ? value.v + '%' : value.v;\n\t\t\t}\n\n\t\t\talphaEnabled = 'hsla' === colorMode || 'hsva' === colorMode ? true : alphaEnabled;\n\n\t\t\tpos3 = isNumeric(value) ? value.s + '%' : value.s;\n\t\t\tpos4 = alphaEnabled ? value.a : 1;\n\t\t}\n\n\t\tif (alphaEnabled) {\n\t\t\tformattedValue = colorMode + '(' + pos1 + ', ' + pos2 + ', ' + pos3 + ', ' + pos4 + ')';\n\t\t} else {\n\t\t\tformattedValue = colorMode + '(' + pos1 + ', ' + pos2 + ', ' + pos3 + ')';\n\t\t}\n\n\t\treturn formattedValue;\n\n\t};\n\n\t/**\n\t * Function to hook into `kirkiPostMessageStylesOutput` filter.\n\t *\n\t * @param {string} styles The styles to be filtered.\n\t * @param {string|Object|int} value The control's value.\n\t * @param {Object} output The control's output argument.\n\t * @param {string} controlType The control type.\n\t *\n\t * @return {string} The filtered styles.\n\t */\n\tconst stylesOutput = (styles, value, output, controlType) => {\n\n\t\tif ('kirki-react-colorful' !== controlType) return styles;\n\t\tif ('string' === typeof value || 'number' === typeof value) return styles;\n\n\t\tconst prefix = output.prefix ? output.prefix : '';\n\t\tconst suffix = output.suffix ? output.suffix : \"\";\n\n\t\tstyles += output.element + '{'\n\t\t\t+ output.property + ': ' + prefix + generateStringValue(value) + suffix + ';\\\n\t\t}';\n\n\t\treturn styles;\n\n\t};\n\n\t// Hook the function to the `kirkiPostMessageStylesOutput` filter.\n\twp.hooks.addFilter('kirkiPostMessageStylesOutput', 'kirki', stylesOutput);\n})();\n"],"names":["isNumeric","str","isNaN","parseFloat","generateStringValue","value","alphaEnabled","r","g","b","colorMode","a","pos1","pos2","pos3","pos4","h","s","l","v","formattedValue","stylesOutput","styles","output","controlType","prefix","suffix","element","property","wp","hooks","addFilter"],"sourceRoot":""}
|
packages/kirki-framework/control-react-colorful/src/Control/ReactColorful.php
CHANGED
@@ -42,7 +42,7 @@ class ReactColorful extends Base {
|
|
42 |
* @since 1.0
|
43 |
* @var string
|
44 |
*/
|
45 |
-
public static $control_ver = '1.0.
|
46 |
|
47 |
/**
|
48 |
* The color mode.
|
42 |
* @since 1.0
|
43 |
* @var string
|
44 |
*/
|
45 |
+
public static $control_ver = '1.0.15';
|
46 |
|
47 |
/**
|
48 |
* The color mode.
|
packages/kirki-framework/control-react-colorful/src/js/components/KirkiReactColorfulCircle.js
CHANGED
@@ -23,9 +23,8 @@ const KirkiReactColorfulCircle = (props) => {
|
|
23 |
const styles = reactCSS({
|
24 |
default: {
|
25 |
triggerButton: {
|
26 |
-
backgroundImage:
|
27 |
-
|
28 |
-
: "none",
|
29 |
},
|
30 |
colorPreview: {
|
31 |
backgroundColor: value ? value : "transparent",
|
23 |
const styles = reactCSS({
|
24 |
default: {
|
25 |
triggerButton: {
|
26 |
+
backgroundImage:
|
27 |
+
'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==")',
|
|
|
28 |
},
|
29 |
colorPreview: {
|
30 |
backgroundColor: value ? value : "transparent",
|
packages/kirki-framework/control-repeater/LICENSE
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
-
MIT License
|
2 |
-
|
3 |
-
Copyright (c) 2019 kirki-framework
|
4 |
-
|
5 |
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
-
of this software and associated documentation files (the "Software"), to deal
|
7 |
-
in the Software without restriction, including without limitation the rights
|
8 |
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
-
copies of the Software, and to permit persons to whom the Software is
|
10 |
-
furnished to do so, subject to the following conditions:
|
11 |
-
|
12 |
-
The above copyright notice and this permission notice shall be included in all
|
13 |
-
copies or substantial portions of the Software.
|
14 |
-
|
15 |
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
-
SOFTWARE.
|
1 |
+
MIT License
|
2 |
+
|
3 |
+
Copyright (c) 2019 kirki-framework
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in all
|
13 |
+
copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
+
SOFTWARE.
|
packages/kirki-framework/control-repeater/composer.json
CHANGED
@@ -1,36 +1,37 @@
|
|
1 |
-
{
|
2 |
-
"name": "kirki-framework/control-repeater",
|
3 |
-
"type": "library",
|
4 |
-
"
|
5 |
-
"
|
6 |
-
|
7 |
-
"
|
8 |
-
"
|
9 |
-
|
10 |
-
|
11 |
-
"
|
12 |
-
"
|
13 |
-
|
14 |
-
|
15 |
-
"
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
"
|
21 |
-
"kirki-framework/
|
22 |
-
"kirki-framework/control-
|
23 |
-
"kirki-framework/control-
|
24 |
-
"kirki-framework/control-
|
25 |
-
"kirki-framework/control-
|
26 |
-
"kirki-framework/control-
|
27 |
-
"kirki-framework/control-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
"Kirki\\
|
33 |
-
"Kirki\\
|
34 |
-
|
35 |
-
|
36 |
-
}
|
|
1 |
+
{
|
2 |
+
"name": "kirki-framework/control-repeater",
|
3 |
+
"type": "library",
|
4 |
+
"version": "1.0.5",
|
5 |
+
"description": "Repeater control for the Kirki Customizer framework.",
|
6 |
+
"keywords": [
|
7 |
+
"wordpress",
|
8 |
+
"customizer",
|
9 |
+
"framework"
|
10 |
+
],
|
11 |
+
"homepage": "https://kirki.org/",
|
12 |
+
"license": "MIT",
|
13 |
+
"authors": [
|
14 |
+
{
|
15 |
+
"name": "Kirki Framework",
|
16 |
+
"email": "connect@mapsteps.com"
|
17 |
+
}
|
18 |
+
],
|
19 |
+
"require": {
|
20 |
+
"php": ">=7.0",
|
21 |
+
"kirki-framework/url-getter": "*",
|
22 |
+
"kirki-framework/control-generic": "*",
|
23 |
+
"kirki-framework/control-select": "*",
|
24 |
+
"kirki-framework/control-checkbox": "*",
|
25 |
+
"kirki-framework/control-radio": "*",
|
26 |
+
"kirki-framework/control-color": "*",
|
27 |
+
"kirki-framework/control-image": "*",
|
28 |
+
"kirki-framework/control-upload": "*"
|
29 |
+
},
|
30 |
+
"autoload": {
|
31 |
+
"psr-4": {
|
32 |
+
"Kirki\\Control\\": "src/Control",
|
33 |
+
"Kirki\\Field\\": "src/Field",
|
34 |
+
"Kirki\\Settings\\": "src/Settings"
|
35 |
+
}
|
36 |
+
}
|
37 |
+
}
|
packages/kirki-framework/control-repeater/dist/control.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
.customize-control-repeater{position:relative}.customize-control-repeater .repeater-fields .repeater-row{background:#eee;border:1px solid #e5e5e5;margin-top:.5rem;position:relative}.customize-control-repeater .repeater-fields .repeater-row.minimized{border:1px solid #dfdfdf;padding:0}.customize-control-repeater .repeater-fields .repeater-row.minimized:hover{border:1px solid #e5e5e5}.customize-control-repeater .repeater-fields .repeater-row.minimized .repeater-row-content{display:none}.customize-control-repeater .repeater-fields .repeater-row label{clear:both;margin-bottom:12px}.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-,.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-radio-image input{display:none}.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-radio-image input img{border:1px solid transparent}.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-radio-image input:checked+label img{border:1px solid #3498db;-webkit-box-shadow:0 0 5px 2px rgba(0,0,0,.25);box-shadow:0 0 5px 2px rgba(0,0,0,.25)}.customize-control-repeater .repeater-fields .repeater-row .repeater-field:last-child{border-bottom:none;padding-bottom:0}.customize-control-repeater button.repeater-add{margin-top:1rem}.customize-control-repeater .repeater-row-content{background:#fff;padding:10px 15px}.customize-control-repeater .repeater-field{border-bottom:1px dotted #ccc;clear:both;margin-bottom:12px;padding-bottom:12px;width:100%}.customize-control-repeater .repeater-field .customize-control-description,.customize-control-repeater .repeater-field .customize-control-title{font-size:13px;line-height:normal}.customize-control-repeater .repeater-field.repeater-field-hidden{border:0;margin:0;padding:0}.customize-control-repeater .repeater-field-select select{margin-left:0}.customize-control-repeater .repeater-field-checkbox label{line-height:28px}.customize-control-repeater .repeater-field-checkbox input{line-height:28px;margin-right:5px}.customize-control-repeater .repeater-field-textarea textarea{resize:vertical;width:100%}.customize-control-repeater .repeater-row-header{word-wrap:break-word;background:#fff;border-bottom:1px solid #dfdfdf;height:auto;line-height:30px;min-height:20px;overflow:hidden;padding:10px 15px;position:relative}.customize-control-repeater .repeater-row-header:hover{cursor:move}.customize-control-repeater .repeater-row-header .dashicons{color:#a0a5aa;font-size:18px;position:absolute;right:12px;top:2px}.customize-control-repeater .repeater-row-label{display:block;font-size:13px;font-weight:600;height:18px;line-height:20px;overflow:hidden;width:90%}.customize-control-repeater .repeater-row-remove{color:#a00}.customize-control-repeater .repeater-row-remove:hover{color:red}.customize-control-repeater .repeater-minimize{line-height:36px}.customize-control-repeater .remove-button,.customize-control-repeater .upload-button{width:48%}.kirki-image-attachment{margin:0 0 10px;text-align:center}.kirki-image-attachment img{display:inline-block}.kirki-file-attachment{margin:0 0 10px;text-align:center}.kirki-file-attachment .file{background:#f9f9f9;border:1px dotted #c3c3c3;display:block;padding:10px 5px}.limit{border-radius:3px;padding:3px}.limit.highlight{background:#d32f2f;color:#fff}
|
2 |
-
/*# sourceMappingURL=control.css.map */
|
1 |
+
.customize-control-repeater{position:relative}.customize-control-repeater .repeater-fields .repeater-row{background:#eee;border:1px solid #e5e5e5;margin-top:.5rem;position:relative}.customize-control-repeater .repeater-fields .repeater-row.minimized{border:1px solid #dfdfdf;padding:0}.customize-control-repeater .repeater-fields .repeater-row.minimized:hover{border:1px solid #e5e5e5}.customize-control-repeater .repeater-fields .repeater-row.minimized .repeater-row-content{display:none}.customize-control-repeater .repeater-fields .repeater-row label{clear:both;margin-bottom:12px}.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-,.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-radio-image input{display:none}.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-radio-image input img{border:1px solid transparent}.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-radio-image input:checked+label img{border:1px solid #3498db;-webkit-box-shadow:0 0 5px 2px rgba(0,0,0,.25);box-shadow:0 0 5px 2px rgba(0,0,0,.25)}.customize-control-repeater .repeater-fields .repeater-row .repeater-field:last-child{border-bottom:none;padding-bottom:0}.customize-control-repeater button.repeater-add{margin-top:1rem}.customize-control-repeater .repeater-row-content{background:#fff;padding:10px 15px}.customize-control-repeater .repeater-field{border-bottom:1px dotted #ccc;clear:both;margin-bottom:12px;padding-bottom:12px;width:100%}.customize-control-repeater .repeater-field .customize-control-description,.customize-control-repeater .repeater-field .customize-control-title{font-size:13px;line-height:normal}.customize-control-repeater .repeater-field.repeater-field-hidden{border:0;margin:0;padding:0}.customize-control-repeater .repeater-field-select select{margin-left:0}.customize-control-repeater .repeater-field-checkbox label{line-height:28px}.customize-control-repeater .repeater-field-checkbox input{line-height:28px;margin-right:5px}.customize-control-repeater .repeater-field-textarea textarea{resize:vertical;width:100%}.customize-control-repeater .repeater-row-header{word-wrap:break-word;background:#fff;border-bottom:1px solid #dfdfdf;height:auto;line-height:30px;min-height:20px;overflow:hidden;padding:10px 15px;position:relative}.customize-control-repeater .repeater-row-header:hover{cursor:move}.customize-control-repeater .repeater-row-header .dashicons{color:#a0a5aa;font-size:18px;position:absolute;right:12px;top:2px}.customize-control-repeater .repeater-row-label{display:block;font-size:13px;font-weight:600;height:18px;line-height:20px;overflow:hidden;width:90%}.customize-control-repeater .repeater-row-remove{color:#a00}.customize-control-repeater .repeater-row-remove:hover{color:red}.customize-control-repeater .repeater-minimize{line-height:36px}.customize-control-repeater .remove-button,.customize-control-repeater .upload-button{width:48%}.kirki-image-attachment{margin:0 0 10px;text-align:center}.kirki-image-attachment img{display:inline-block}.kirki-file-attachment{margin:0 0 10px;text-align:center}.kirki-file-attachment .file{background:#f9f9f9;border:1px dotted #c3c3c3;display:block;padding:10px 5px}.limit{border-radius:3px;padding:3px}.limit.highlight{background:#d32f2f;color:#fff}
|
2 |
+
/*# sourceMappingURL=control.css.map */
|
packages/kirki-framework/control-repeater/dist/control.css.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"mappings":"AAAA,4BACE,iBCCF,CDEA,2DAGE,eAAA,CAFA,wBAAA,CACA,gBAAA,CAEA,iBCCF,CDEA,qEACE,wBAAA,CACA,SCCF,CDEA,2EACE,wBCCF,CDEA,
|
1 |
+
{"mappings":"AAAA,4BACE,iBCCF,CDEA,2DAGE,eAAA,CAFA,wBAAA,CACA,gBAAA,CAEA,iBCCF,CDEA,qEACE,wBAAA,CACA,SCCF,CDEA,2EACE,wBCCF,CDEA,2FAIE,YCFF,CDKA,iEAEE,UAAA,CADA,kBCDF,CDYA,uMAKE,YCTF,CDYA,gHAME,4BCdF,CDiBA,8HASE,wBAAA,CAFA,8CAAA,CACA,sCCnBF,CDuBA,sFAIE,kBAAA,CACA,gBCvBF,CD0BA,gDACE,eCvBF,CD0BA,kDAEE,eAAA,CADA,iBCtBF,CD0BA,4CAKE,6BAAA,CAFA,UAAA,CAFA,kBAAA,CAGA,mBAAA,CAFA,UCpBF,CD+BA,gJACE,cAAA,CACA,kBCvBF,CD0BA,kEAGE,QAAA,CAFA,QAAA,CACA,SCtBF,CD0BA,0DACE,aCvBF,CD0BA,2DACE,gBCvBF,CD0BA,2DACE,gBAAA,CACA,gBCvBF,CD0BA,8DAEE,eAAA,CADA,UCtBF,CD0BA,iDASE,oBAAA,CARA,eAAA,CACA,+BAAA,CAGA,WAAA,CAEA,gBAAA,CADA,eAAA,CAEA,eAAA,CAJA,iBAAA,CADA,iBCjBF,CD0BA,uDACE,WCvBF,CD0BA,4DAKE,aAAA,CAJA,cAAA,CACA,iBAAA,CACA,UAAA,CACA,OCtBF,CD0BA,gDAIE,aAAA,CAHA,cAAA,CACA,eAAA,CAKA,WAAA,CAJA,gBAAA,CAGA,eAAA,CADA,SCrBF,CD0BA,iDACE,UCvBF,CD0BA,uDACE,SCvBF,CD0BA,+CACE,gBCvBF,CD0BA,sFAEE,SCvBF,CD0BA,wBAGE,eAAA,CADA,iBCtBF,CD0BA,4BACE,oBCvBF,CD0BA,uBAGE,eAAA,CADA,iBCtBF,CD0BA,6BAIE,kBAAA,CADA,yBAAA,CAFA,aAAA,CACA,gBCrBF,CD0BA,OAEE,iBAAA,CADA,WCtBF,CD0BA,iBACE,kBAAA,CACA,UCvBF","sources":["packages/kirki-framework/control-repeater/src/control.scss","%3Cinput%20css%209hCl6T%3E"],"sourcesContent":[".customize-control-repeater {\n position: relative;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row {\n border: 1px solid #e5e5e5;\n margin-top: 0.5rem;\n background: #eee;\n position: relative;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row.minimized {\n border: 1px solid #dfdfdf;\n padding: 0;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row.minimized:hover {\n border: 1px solid #e5e5e5;\n}\n\n.customize-control-repeater\n .repeater-fields\n .repeater-row.minimized\n .repeater-row-content {\n display: none;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row label {\n margin-bottom: 12px;\n clear: both;\n}\n\n.customize-control-repeater\n .repeater-fields\n .repeater-row\n .repeater-field.repeater-field- {\n display: none;\n}\n\n.customize-control-repeater\n .repeater-fields\n .repeater-row\n .repeater-field.repeater-field-radio-image\n input {\n display: none;\n}\n\n.customize-control-repeater\n .repeater-fields\n .repeater-row\n .repeater-field.repeater-field-radio-image\n input\n img {\n border: 1px solid transparent;\n}\n\n.customize-control-repeater\n .repeater-fields\n .repeater-row\n .repeater-field.repeater-field-radio-image\n input:checked\n + label\n img {\n -webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25);\n box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25);\n border: 1px solid #3498db;\n}\n\n.customize-control-repeater\n .repeater-fields\n .repeater-row\n .repeater-field:last-child {\n border-bottom: none;\n padding-bottom: 0;\n}\n\n.customize-control-repeater button.repeater-add {\n margin-top: 1rem;\n}\n\n.customize-control-repeater .repeater-row-content {\n padding: 10px 15px;\n background: #fff;\n}\n\n.customize-control-repeater .repeater-field {\n margin-bottom: 12px;\n width: 100%;\n clear: both;\n padding-bottom: 12px;\n border-bottom: 1px dotted #ccc;\n}\n\n.customize-control-repeater .repeater-field .customize-control-title {\n font-size: 13px;\n line-height: initial;\n}\n\n.customize-control-repeater .repeater-field .customize-control-description {\n font-size: 13px;\n line-height: initial;\n}\n\n.customize-control-repeater .repeater-field.repeater-field-hidden {\n margin: 0;\n padding: 0;\n border: 0;\n}\n\n.customize-control-repeater .repeater-field-select select {\n margin-left: 0;\n}\n\n.customize-control-repeater .repeater-field-checkbox label {\n line-height: 28px;\n}\n\n.customize-control-repeater .repeater-field-checkbox input {\n line-height: 28px;\n margin-right: 5px;\n}\n\n.customize-control-repeater .repeater-field-textarea textarea {\n width: 100%;\n resize: vertical;\n}\n\n.customize-control-repeater .repeater-row-header {\n background: white;\n border-bottom: 1px solid #dfdfdf;\n position: relative;\n padding: 10px 15px;\n height: auto;\n min-height: 20px;\n line-height: 30px;\n overflow: hidden;\n word-wrap: break-word;\n}\n\n.customize-control-repeater .repeater-row-header:hover {\n cursor: move;\n}\n\n.customize-control-repeater .repeater-row-header .dashicons {\n font-size: 18px;\n position: absolute;\n right: 12px;\n top: 2px;\n color: #a0a5aa;\n}\n\n.customize-control-repeater .repeater-row-label {\n font-size: 13px;\n font-weight: 600;\n line-height: 20px;\n display: block;\n width: 90%;\n overflow: hidden;\n height: 18px;\n}\n\n.customize-control-repeater .repeater-row-remove {\n color: #a00;\n}\n\n.customize-control-repeater .repeater-row-remove:hover {\n color: #f00;\n}\n\n.customize-control-repeater .repeater-minimize {\n line-height: 36px;\n}\n\n.customize-control-repeater .remove-button,\n.customize-control-repeater .upload-button {\n width: 48%;\n}\n\n.kirki-image-attachment {\n margin: 0;\n text-align: center;\n margin-bottom: 10px;\n}\n\n.kirki-image-attachment img {\n display: inline-block;\n}\n\n.kirki-file-attachment {\n margin: 0;\n text-align: center;\n margin-bottom: 10px;\n}\n\n.kirki-file-attachment .file {\n display: block;\n padding: 10px 5px;\n border: 1px dotted #c3c3c3;\n background: #f9f9f9;\n}\n\n.limit {\n padding: 3px;\n border-radius: 3px;\n}\n\n.limit.highlight {\n background: #d32f2f;\n color: #fff;\n}\n",".customize-control-repeater {\n position: relative;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row {\n border: 1px solid #e5e5e5;\n margin-top: 0.5rem;\n background: #eee;\n position: relative;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row.minimized {\n border: 1px solid #dfdfdf;\n padding: 0;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row.minimized:hover {\n border: 1px solid #e5e5e5;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row.minimized .repeater-row-content {\n display: none;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row label {\n margin-bottom: 12px;\n clear: both;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field- {\n display: none;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-radio-image input {\n display: none;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-radio-image input img {\n border: 1px solid transparent;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-radio-image input:checked + label img {\n -webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25);\n box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25);\n border: 1px solid #3498db;\n}\n\n.customize-control-repeater .repeater-fields .repeater-row .repeater-field:last-child {\n border-bottom: none;\n padding-bottom: 0;\n}\n\n.customize-control-repeater button.repeater-add {\n margin-top: 1rem;\n}\n\n.customize-control-repeater .repeater-row-content {\n padding: 10px 15px;\n background: #fff;\n}\n\n.customize-control-repeater .repeater-field {\n margin-bottom: 12px;\n width: 100%;\n clear: both;\n padding-bottom: 12px;\n border-bottom: 1px dotted #ccc;\n}\n\n.customize-control-repeater .repeater-field .customize-control-title {\n font-size: 13px;\n line-height: initial;\n}\n\n.customize-control-repeater .repeater-field .customize-control-description {\n font-size: 13px;\n line-height: initial;\n}\n\n.customize-control-repeater .repeater-field.repeater-field-hidden {\n margin: 0;\n padding: 0;\n border: 0;\n}\n\n.customize-control-repeater .repeater-field-select select {\n margin-left: 0;\n}\n\n.customize-control-repeater .repeater-field-checkbox label {\n line-height: 28px;\n}\n\n.customize-control-repeater .repeater-field-checkbox input {\n line-height: 28px;\n margin-right: 5px;\n}\n\n.customize-control-repeater .repeater-field-textarea textarea {\n width: 100%;\n resize: vertical;\n}\n\n.customize-control-repeater .repeater-row-header {\n background: white;\n border-bottom: 1px solid #dfdfdf;\n position: relative;\n padding: 10px 15px;\n height: auto;\n min-height: 20px;\n line-height: 30px;\n overflow: hidden;\n word-wrap: break-word;\n}\n\n.customize-control-repeater .repeater-row-header:hover {\n cursor: move;\n}\n\n.customize-control-repeater .repeater-row-header .dashicons {\n font-size: 18px;\n position: absolute;\n right: 12px;\n top: 2px;\n color: #a0a5aa;\n}\n\n.customize-control-repeater .repeater-row-label {\n font-size: 13px;\n font-weight: 600;\n line-height: 20px;\n display: block;\n width: 90%;\n overflow: hidden;\n height: 18px;\n}\n\n.customize-control-repeater .repeater-row-remove {\n color: #a00;\n}\n\n.customize-control-repeater .repeater-row-remove:hover {\n color: #f00;\n}\n\n.customize-control-repeater .repeater-minimize {\n line-height: 36px;\n}\n\n.customize-control-repeater .remove-button,\n.customize-control-repeater .upload-button {\n width: 48%;\n}\n\n.kirki-image-attachment {\n margin: 0;\n text-align: center;\n margin-bottom: 10px;\n}\n\n.kirki-image-attachment img {\n display: inline-block;\n}\n\n.kirki-file-attachment {\n margin: 0;\n text-align: center;\n margin-bottom: 10px;\n}\n\n.kirki-file-attachment .file {\n display: block;\n padding: 10px 5px;\n border: 1px dotted #c3c3c3;\n background: #f9f9f9;\n}\n\n.limit {\n padding: 3px;\n border-radius: 3px;\n}\n\n.limit.highlight {\n background: #d32f2f;\n color: #fff;\n}\n/*# sourceMappingURL=control.css.map */\n"],"names":[],"version":3,"file":"control.css.map"}
|
packages/kirki-framework/control-repeater/dist/control.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
!function(){var e=function(e,t,i,a){var r=this;this.rowIndex=e,this.container=t,this.label=i,this.header=this.container.find(".repeater-row-header"),this.header.on("click",(function(){r.toggleMinimize()})),this.container.on("click",".repeater-row-remove",(function(){r.remove()})),this.header.on("mousedown",(function(){r.container.trigger("row:start-dragging")})),this.container.on("keyup change","input, select, textarea",(function(e){r.container.trigger("row:update",[r.rowIndex,jQuery(e.target).data("field"),e.target])})),this.setRowIndex=function(e){this.rowIndex=e,this.container.attr("data-row",e),this.container.data("row",e),this.updateLabel()},this.toggleMinimize=function(){this.container.toggleClass("minimized"),this.header.find(".dashicons").toggleClass("dashicons-arrow-up").toggleClass("dashicons-arrow-down")},this.remove=function(){this.container.slideUp(300,(function(){jQuery(this).detach()})),this.container.trigger("row:remove",[this.rowIndex])},this.updateLabel=function(){var e,t,i;if("field"===this.label.type&&(e=this.container.find('.repeater-field [data-field="'+this.label.field+'"]'),_.isFunction(e.val)&&""!==(t=e.val())))return _.isUndefined(a.params.fields[this.label.field])||_.isUndefined(a.params.fields[this.label.field].type)||("select"===a.params.fields[this.label.field].type?_.isUndefined(a.params.fields[this.label.field].choices)||_.isUndefined(a.params.fields[this.label.field].choices[e.val()])||(t=a.params.fields[this.label.field].choices[e.val()]):"radio"!==a.params.fields[this.label.field].type&&"radio-image"!==a.params.fields[this.label.field].type||(i=a.selector+' [data-row="'+this.rowIndex+'"] .repeater-field [data-field="'+this.label.field+'"]:checked',t=jQuery(i).val())),void this.header.find(".repeater-row-label").text(t);this.header.find(".repeater-row-label").text(this.label.value+" "+(this.rowIndex+1))},this.updateLabel()};wp.customize.controlConstructor.repeater=wp.customize.Control.extend({ready:function(){!_.isUndefined(window.kirkiControlLoader)&&_.isFunction(kirkiControlLoader)?kirkiControlLoader(this):this.initKirkiControl()},initKirkiControl:function(e){var t,i,a;a=(e=e||this).params.value,e.settingField=e.container.find("[data-customize-setting-link]").first(),e.setValue([],!1),e.repeaterFieldsContainer=e.container.find(".repeater-fields").first(),e.currentIndex=0,e.rows=[],t=!1,_.isUndefined(e.params.choices.limit)||(t=!(0>=e.params.choices.limit)&&parseInt(e.params.choices.limit,10)),e.container.on("click","button.repeater-add",(function(a){a.preventDefault(),!t||e.currentIndex<t?((i=e.addRow()).toggleMinimize(),e.initColorPicker(),e.initSelect(i)):jQuery(e.selector+" .limit").addClass("highlight")})),e.container.on("click",".repeater-row-remove",(function(){e.currentIndex--,(!t||e.currentIndex<t)&&jQuery(e.selector+" .limit").removeClass("highlight")})),e.container.on("click keypress",".repeater-field-image .upload-button,.repeater-field-cropped_image .upload-button,.repeater-field-upload .upload-button",(function(t){t.preventDefault(),e.$thisButton=jQuery(this),e.openFrame(t)})),e.container.on("click keypress",".repeater-field-image .remove-button,.repeater-field-cropped_image .remove-button",(function(t){t.preventDefault(),e.$thisButton=jQuery(this),e.removeImage(t)})),e.container.on("click keypress",".repeater-field-upload .remove-button",(function(t){t.preventDefault(),e.$thisButton=jQuery(this),e.removeFile(t)})),e.repeaterTemplate=_.memoize((function(){var t={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"};return function(i){return _.template(e.container.find(".customize-control-repeater-content").first().html(),null,t)(i)}})),a.length&&_.each(a,(function(t){i=e.addRow(t),e.initColorPicker(),e.initSelect(i,t)})),e.repeaterFieldsContainer.sortable({handle:".repeater-row-header",update:function(){e.sort()}})},openFrame:function(e){wp.customize.utils.isKeydownButNotEnterEvent(e)||(this.$thisButton.closest(".repeater-field").hasClass("repeater-field-cropped_image")?this.initCropperFrame():this.initFrame(),this.frame.open())},initFrame:function(){var e=this.getMimeType();this.frame=wp.media({states:[new wp.media.controller.Library({library:wp.media.query({type:e}),multiple:!1,date:!1})]}),this.frame.on("select",this.onSelect,this)},initCropperFrame:function(){var e=this.$thisButton.siblings("input.hidden-field").attr("data-field"),t=this.getMimeType();_.isString(e)&&""!==e&&_.isObject(this.params.fields[e])&&"cropped_image"===this.params.fields[e].type&&["width","height","flex_width","flex_height"].forEach(function(t){_.isUndefined(this.params.fields[e][t])||(this.params[t]=this.params.fields[e][t])}.bind(this)),this.frame=wp.media({button:{text:"Select and Crop",close:!1},states:[new wp.media.controller.Library({library:wp.media.query({type:t}),multiple:!1,date:!1,suggestedWidth:this.params.width,suggestedHeight:this.params.height}),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:this.calculateImageSelectOptions,control:this})]}),this.frame.on("select",this.onSelectForCrop,this),this.frame.on("cropped",this.onCropped,this),this.frame.on("skippedcrop",this.onSkippedCrop,this)},onSelect:function(){var e=this.frame.state().get("selection").first().toJSON();this.$thisButton.closest(".repeater-field").hasClass("repeater-field-upload")?this.setFileInRepeaterField(e):this.setImageInRepeaterField(e)},onSelectForCrop:function(){var e=this.frame.state().get("selection").first().toJSON();this.params.width!==e.width||this.params.height!==e.height||this.params.flex_width||this.params.flex_height?this.frame.setState("cropper"):this.setImageInRepeaterField(e)},onCropped:function(e){this.setImageInRepeaterField(e)},calculateImageSelectOptions:function(e,t){var i,a,r,n=t.get("control"),s=!!parseInt(n.params.flex_width,10),o=!!parseInt(n.params.flex_height,10),l=e.get("width"),d=e.get("height"),h=parseInt(n.params.width,10),p=parseInt(n.params.height,10),c=h/p,u=l,f=d;return t.set("canSkipCrop",!n.mustBeCropped(s,o,h,p,l,d)),u/f>c?h=(p=f)*c:p=(h=u)/c,r={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:l,imageHeight:d,x1:i=(u-h)/2,y1:a=(f-p)/2,x2:h+i,y2:p+a},!1===o&&!1===s&&(r.aspectRatio=h+":"+p),!1===o&&(r.maxHeight=p),!1===s&&(r.maxWidth=h),r},mustBeCropped:function(e,t,i,a,r,n){return!(!0===e&&!0===t||!0===e&&a===n||!0===t&&i===r||i===r&&a===n||r<=i)},onSkippedCrop:function(){var e=this.frame.state().get("selection").first().toJSON();this.setImageInRepeaterField(e)},setImageInRepeaterField:function(e){var t=this.$thisButton.closest(".repeater-field-image,.repeater-field-cropped_image");t.find(".kirki-image-attachment").html('<img src="'+e.url+'">').hide().slideDown("slow"),t.find(".hidden-field").val(e.id),this.$thisButton.text(this.$thisButton.data("alt-label")),t.find(".remove-button").show(),t.find("input, textarea, select").trigger("change"),this.frame.close()},setFileInRepeaterField:function(e){var t=this.$thisButton.closest(".repeater-field-upload");t.find(".kirki-file-attachment").html('<span class="file"><span class="dashicons dashicons-media-default"></span> '+e.filename+"</span>").hide().slideDown("slow"),t.find(".hidden-field").val(e.id),this.$thisButton.text(this.$thisButton.data("alt-label")),t.find(".upload-button").show(),t.find(".remove-button").show(),t.find("input, textarea, select").trigger("change"),this.frame.close()},getMimeType:function(){var e=this.$thisButton.siblings("input.hidden-field").attr("data-field");return _.isString(e)&&""!==e&&_.isObject(this.params.fields[e])&&"upload"===this.params.fields[e].type&&!_.isUndefined(this.params.fields[e].mime_type)?this.params.fields[e].mime_type:"image"},removeImage:function(e){var t,i;wp.customize.utils.isKeydownButNotEnterEvent(e)||(i=(t=this.$thisButton.closest(".repeater-field-image,.repeater-field-cropped_image,.repeater-field-upload")).find(".upload-button"),t.find(".kirki-image-attachment").slideUp("fast",(function(){jQuery(this).show().html(jQuery(this).data("placeholder"))})),t.find(".hidden-field").val(""),i.text(i.data("label")),this.$thisButton.hide(),t.find("input, textarea, select").trigger("change"))},removeFile:function(e){var t,i;wp.customize.utils.isKeydownButNotEnterEvent(e)||(i=(t=this.$thisButton.closest(".repeater-field-upload")).find(".upload-button"),t.find(".kirki-file-attachment").slideUp("fast",(function(){jQuery(this).show().html(jQuery(this).data("placeholder"))})),t.find(".hidden-field").val(""),i.text(i.data("label")),this.$thisButton.hide(),t.find("input, textarea, select").trigger("change"))},getValue:function(){return JSON.parse(decodeURI(this.setting.get()))},setValue:function(e,t,i){var a=e,r=[];i&&(jQuery.each(this.params.fields,(function(e,t){"image"!==t.type&&"cropped_image"!==t.type&&"upload"!==t.type||r.push(e)})),jQuery.each(e,(function(e,t){jQuery.each(r,(function(i,r){_.isUndefined(t[r])||_.isUndefined(t[r].id)||(a[e][r]=t[r].id)}))}))),this.setting.set(encodeURI(JSON.stringify(a))),t&&this.settingField.trigger("change")},addRow:function(t){var i,a,r,n=this,s=n.repeaterTemplate(),o=this.getValue(),l={};if(s){if(i=jQuery.extend(!0,{},n.params.fields),t)for(r in t)t.hasOwnProperty(r)&&i.hasOwnProperty(r)&&(i[r].default=t[r]);for(r in i.index=this.currentIndex,s=s(i),(a=new e(n.currentIndex,jQuery(s).appendTo(n.repeaterFieldsContainer),n.params.row_label,n)).container.on("row:remove",(function(e,t){n.deleteRow(t)})),a.container.on("row:update",(function(e,t,i,r){n.updateField.call(n,e,t,i,r),a.updateLabel()})),this.rows[this.currentIndex]=a,i)i.hasOwnProperty(r)&&(l[r]=i[r].default);return o[this.currentIndex]=l,this.setValue(o,!0),this.currentIndex++,a}},sort:function(){var e=this,t=this.repeaterFieldsContainer.find(".repeater-row"),i=[],a=e.getValue(),r=[],n=[];t.each((function(e,t){i.push(jQuery(t).data("row"))})),jQuery.each(i,(function(t,i){r[t]=e.rows[i],r[t].setRowIndex(t),n[t]=a[i]})),e.rows=r,e.setValue(n)},deleteRow:function(e){var t,i=this.getValue();for(t in i[e]&&this.rows[e]&&(delete i[e],delete this.rows[e],this.setValue(i,!0)),this.rows)this.rows.hasOwnProperty(t)&&this.rows[t]&&this.rows[t].updateLabel()},updateField:function(e,t,i,a){var r,n,s;this.rows[t]&&this.params.fields[i]&&(r=this.params.fields[i].type,n=this.rows[t],s=this.getValue(),a=jQuery(a),_.isUndefined(s[n.rowIndex][i])||(s[n.rowIndex][i]="checkbox"===r?a.is(":checked"):a.val(),this.setValue(s,!0)))},initColorPicker:function(){var e=this,t=e.container.find(".color-picker-hex"),i={},a=t.data("field");_.isUndefined(a)||_.isUndefined(e.params.fields[a])||_.isUndefined(e.params.fields[a].palettes)||!_.isObject(e.params.fields[a].palettes)||(i.palettes=e.params.fields[a].palettes),i.change=function(t,i){var a=jQuery(t.target),r=a.closest(".repeater-row").data("row"),n=e.getValue();n[r][a.data("field")]=i.color.toString(),e.setValue(n,!0)},t.length&&0!==t.length&&t.wpColorPicker(i)},initSelect:function(e,t){var i,a=this,r=e.container.find(".repeater-field select");0!==r.length&&(i=r.data("field"),multiple=jQuery(r).data("multiple"),(t=t||{})[i]=t[i]||"",jQuery(r).val(t[i]||jQuery(r).val()),this.container.on("change",".repeater-field select",(function(e){var t=jQuery(e.target),i=t.closest(".repeater-row").data("row"),r=a.getValue();r[i][t.data("field")]=jQuery(this).val(),a.setValue(r)})))}})}();
|
2 |
-
//# sourceMappingURL=control.js.map
|
1 |
+
!function(){var e=function(e,t,i,a){var r=this;this.rowIndex=e,this.container=t,this.label=i,this.header=this.container.find(".repeater-row-header"),this.header.on("click",(function(){r.toggleMinimize()})),this.container.on("click",".repeater-row-remove",(function(){r.remove()})),this.header.on("mousedown",(function(){r.container.trigger("row:start-dragging")})),this.container.on("keyup change","input, select, textarea",(function(e){r.container.trigger("row:update",[r.rowIndex,jQuery(e.target).data("field"),e.target])})),this.setRowIndex=function(e){this.rowIndex=e,this.container.attr("data-row",e),this.container.data("row",e),this.updateLabel()},this.toggleMinimize=function(){this.container.toggleClass("minimized"),this.header.find(".dashicons").toggleClass("dashicons-arrow-up").toggleClass("dashicons-arrow-down")},this.remove=function(){this.container.slideUp(300,(function(){jQuery(this).detach()})),this.container.trigger("row:remove",[this.rowIndex])},this.updateLabel=function(){var e,t,i;if("field"===this.label.type&&(e=this.container.find('.repeater-field [data-field="'+this.label.field+'"]'),_.isFunction(e.val)&&""!==(t=e.val())))return _.isUndefined(a.params.fields[this.label.field])||_.isUndefined(a.params.fields[this.label.field].type)||("select"===a.params.fields[this.label.field].type?_.isUndefined(a.params.fields[this.label.field].choices)||_.isUndefined(a.params.fields[this.label.field].choices[e.val()])||(t=a.params.fields[this.label.field].choices[e.val()]):"radio"!==a.params.fields[this.label.field].type&&"radio-image"!==a.params.fields[this.label.field].type||(i=a.selector+' [data-row="'+this.rowIndex+'"] .repeater-field [data-field="'+this.label.field+'"]:checked',t=jQuery(i).val())),void this.header.find(".repeater-row-label").text(t);this.header.find(".repeater-row-label").text(this.label.value+" "+(this.rowIndex+1))},this.updateLabel()};wp.customize.controlConstructor.repeater=wp.customize.Control.extend({ready:function(){!_.isUndefined(window.kirkiControlLoader)&&_.isFunction(kirkiControlLoader)?kirkiControlLoader(this):this.initKirkiControl()},initKirkiControl:function(e){var t,i,a;a=(e=e||this).params.value,e.settingField=e.container.find("[data-customize-setting-link]").first(),e.setValue([],!1),e.repeaterFieldsContainer=e.container.find(".repeater-fields").first(),e.currentIndex=0,e.rows=[],t=!1,_.isUndefined(e.params.choices.limit)||(t=!(0>=e.params.choices.limit)&&parseInt(e.params.choices.limit,10)),e.container.on("click","button.repeater-add",(function(a){a.preventDefault(),!t||e.currentIndex<t?((i=e.addRow()).toggleMinimize(),e.initColorPicker(),e.initSelect(i)):jQuery(e.selector+" .limit").addClass("highlight")})),e.container.on("click",".repeater-row-remove",(function(){e.currentIndex--,(!t||e.currentIndex<t)&&jQuery(e.selector+" .limit").removeClass("highlight")})),e.container.on("click keypress",".repeater-field-image .upload-button,.repeater-field-cropped_image .upload-button,.repeater-field-upload .upload-button",(function(t){t.preventDefault(),e.$thisButton=jQuery(this),e.openFrame(t)})),e.container.on("click keypress",".repeater-field-image .remove-button,.repeater-field-cropped_image .remove-button",(function(t){t.preventDefault(),e.$thisButton=jQuery(this),e.removeImage(t)})),e.container.on("click keypress",".repeater-field-upload .remove-button",(function(t){t.preventDefault(),e.$thisButton=jQuery(this),e.removeFile(t)})),e.repeaterTemplate=_.memoize((function(){var t={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"};return function(i){return _.template(e.container.find(".customize-control-repeater-content").first().html(),null,t)(i)}})),a.length&&_.each(a,(function(t){i=e.addRow(t),e.initColorPicker(),e.initSelect(i,t)})),e.repeaterFieldsContainer.sortable({handle:".repeater-row-header",update:function(){e.sort()}})},openFrame:function(e){wp.customize.utils.isKeydownButNotEnterEvent(e)||(this.$thisButton.closest(".repeater-field").hasClass("repeater-field-cropped_image")?this.initCropperFrame():this.initFrame(),this.frame.open())},initFrame:function(){var e=this.getMimeType();this.frame=wp.media({states:[new wp.media.controller.Library({library:wp.media.query({type:e}),multiple:!1,date:!1})]}),this.frame.on("select",this.onSelect,this)},initCropperFrame:function(){var e=this.$thisButton.siblings("input.hidden-field").attr("data-field"),t=this.getMimeType();_.isString(e)&&""!==e&&_.isObject(this.params.fields[e])&&"cropped_image"===this.params.fields[e].type&&["width","height","flex_width","flex_height"].forEach(function(t){_.isUndefined(this.params.fields[e][t])||(this.params[t]=this.params.fields[e][t])}.bind(this)),this.frame=wp.media({button:{text:"Select and Crop",close:!1},states:[new wp.media.controller.Library({library:wp.media.query({type:t}),multiple:!1,date:!1,suggestedWidth:this.params.width,suggestedHeight:this.params.height}),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:this.calculateImageSelectOptions,control:this})]}),this.frame.on("select",this.onSelectForCrop,this),this.frame.on("cropped",this.onCropped,this),this.frame.on("skippedcrop",this.onSkippedCrop,this)},onSelect:function(){var e=this.frame.state().get("selection").first().toJSON();this.$thisButton.closest(".repeater-field").hasClass("repeater-field-upload")?this.setFileInRepeaterField(e):this.setImageInRepeaterField(e)},onSelectForCrop:function(){var e=this.frame.state().get("selection").first().toJSON();this.params.width!==e.width||this.params.height!==e.height||this.params.flex_width||this.params.flex_height?this.frame.setState("cropper"):this.setImageInRepeaterField(e)},onCropped:function(e){this.setImageInRepeaterField(e)},calculateImageSelectOptions:function(e,t){var i,a,r,n=t.get("control"),s=!!parseInt(n.params.flex_width,10),o=!!parseInt(n.params.flex_height,10),l=e.get("width"),d=e.get("height"),h=parseInt(n.params.width,10),p=parseInt(n.params.height,10),c=h/p,u=l,f=d;return t.set("canSkipCrop",!n.mustBeCropped(s,o,h,p,l,d)),u/f>c?h=(p=f)*c:p=(h=u)/c,r={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:l,imageHeight:d,x1:i=(u-h)/2,y1:a=(f-p)/2,x2:h+i,y2:p+a},!1===o&&!1===s&&(r.aspectRatio=h+":"+p),!1===o&&(r.maxHeight=p),!1===s&&(r.maxWidth=h),r},mustBeCropped:function(e,t,i,a,r,n){return!(!0===e&&!0===t||!0===e&&a===n||!0===t&&i===r||i===r&&a===n||r<=i)},onSkippedCrop:function(){var e=this.frame.state().get("selection").first().toJSON();this.setImageInRepeaterField(e)},setImageInRepeaterField:function(e){var t=this.$thisButton.closest(".repeater-field-image,.repeater-field-cropped_image");t.find(".kirki-image-attachment").html('<img src="'+e.url+'">').hide().slideDown("slow"),t.find(".hidden-field").val(e.id),this.$thisButton.text(this.$thisButton.data("alt-label")),t.find(".remove-button").show(),t.find("input, textarea, select").trigger("change"),this.frame.close()},setFileInRepeaterField:function(e){var t=this.$thisButton.closest(".repeater-field-upload");t.find(".kirki-file-attachment").html('<span class="file"><span class="dashicons dashicons-media-default"></span> '+e.filename+"</span>").hide().slideDown("slow"),t.find(".hidden-field").val(e.id),this.$thisButton.text(this.$thisButton.data("alt-label")),t.find(".upload-button").show(),t.find(".remove-button").show(),t.find("input, textarea, select").trigger("change"),this.frame.close()},getMimeType:function(){var e=this.$thisButton.siblings("input.hidden-field").attr("data-field");return _.isString(e)&&""!==e&&_.isObject(this.params.fields[e])&&"upload
|
|