Kirki - Version 4.0.21

Version Description

Download this release

Release Info

Developer davidvongries
Plugin Icon 128x128 Kirki
Version 4.0.21
Comparing to
See all releases

Code changes from version 4.0.20 to 4.0.21

composer.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "kirki-framework/kirki",
3
+ "type": "library",
4
+ "keywords": ["WordPress", "Customizer"],
5
+ "description": "Extending the WordPress customizer",
6
+ "homepage": "https://kirki.org",
7
+ "license": "MIT",
8
+ "authors": [
9
+ {
10
+ "name": "Kirki Framework",
11
+ "email": "connect@mapsteps.com"
12
+ }
13
+ ],
14
+ "config": {
15
+ "vendor-dir": "packages",
16
+ "allow-plugins": {
17
+ "dealerdirect/phpcodesniffer-composer-installer": true,
18
+ "composer/installers": true
19
+ }
20
+ },
21
+ "include-path": [".", "core"],
22
+ "require": {
23
+ "php": ">=7.0",
24
+ "kirki-framework/util": "*",
25
+ "kirki-framework/l10n": "*",
26
+ "kirki-framework/field": "*",
27
+ "kirki-framework/url-getter": "*",
28
+ "kirki-framework/control-base": "*",
29
+ "kirki-framework/control-checkbox": "*",
30
+ "kirki-framework/control-code": "*",
31
+ "kirki-framework/control-cropped-image": "*",
32
+ "kirki-framework/control-custom": "*",
33
+ "kirki-framework/control-dashicons": "*",
34
+ "kirki-framework/control-date": "*",
35
+ "kirki-framework/control-dimension": "*",
36
+ "kirki-framework/control-editor": "*",
37
+ "kirki-framework/control-generic": "*",
38
+ "kirki-framework/control-image": "*",
39
+ "kirki-framework/control-multicheck": "*",
40
+ "kirki-framework/control-palette": "*",
41
+ "kirki-framework/control-radio": "*",
42
+ "kirki-framework/control-repeater": "*",
43
+ "kirki-framework/control-select": "*",
44
+ "kirki-framework/control-react-select": "*",
45
+ "kirki-framework/control-slider": "*",
46
+ "kirki-framework/control-sortable": "*",
47
+ "kirki-framework/control-upload": "*",
48
+ "kirki-framework/field-dimensions": "*",
49
+ "kirki-framework/field-fontawesome": "*",
50
+ "kirki-framework/field-typography": "*",
51
+ "kirki-framework/module-css": "*",
52
+ "kirki-framework/module-editor-styles": "*",
53
+ "kirki-framework/module-field-dependencies": "*",
54
+ "kirki-framework/module-postmessage": "*",
55
+ "kirki-framework/module-preset": "*",
56
+ "kirki-framework/module-selective-refresh": "*",
57
+ "kirki-framework/module-tooltips": "*",
58
+ "kirki-framework/module-webfonts": "*",
59
+ "kirki-framework/compatibility": "*",
60
+ "kirki-framework/data-option": "*",
61
+ "kirki-framework/module-panels": "*",
62
+ "kirki-framework/module-sections": "*",
63
+ "kirki-framework/module-section-icons": "*",
64
+ "kirki-framework/control-react-colorful": "*",
65
+ "kirki-framework/control-color": "*",
66
+ "kirki-framework/control-color-palette": "*",
67
+ "kirki-framework/field-background": "*",
68
+ "kirki-framework/field-multicolor": "*"
69
+ },
70
+ "require-dev": {
71
+ }
72
+ }
composer.lock CHANGED
@@ -54,16 +54,16 @@
54
  },
55
  {
56
  "name": "kirki-framework/control-base",
57
- "version": "v1.0.3",
58
  "source": {
59
  "type": "git",
60
  "url": "https://github.com/kirki-framework/control-base.git",
61
- "reference": "040c4372afec0c275dce21db6a7256baf2dca3d9"
62
  },
63
  "dist": {
64
  "type": "zip",
65
- "url": "https://api.github.com/repos/kirki-framework/control-base/zipball/040c4372afec0c275dce21db6a7256baf2dca3d9",
66
- "reference": "040c4372afec0c275dce21db6a7256baf2dca3d9",
67
  "shasum": ""
68
  },
69
  "require": {
@@ -95,9 +95,9 @@
95
  ],
96
  "support": {
97
  "issues": "https://github.com/kirki-framework/control-base/issues",
98
- "source": "https://github.com/kirki-framework/control-base/tree/v1.0.3"
99
  },
100
- "time": "2022-01-20T00:09:55+00:00"
101
  },
102
  {
103
  "name": "kirki-framework/control-checkbox",
@@ -648,8 +648,8 @@
648
  "type": "library",
649
  "autoload": {
650
  "psr-4": {
651
- "Kirki\\Control\\": "src/Control",
652
- "Kirki\\Field\\": "src/Field"
653
  }
654
  },
655
  "notification-url": "https://packagist.org/downloads/",
@@ -823,16 +823,16 @@
823
  },
824
  {
825
  "name": "kirki-framework/control-react-colorful",
826
- "version": "v1.0.10",
827
  "source": {
828
  "type": "git",
829
  "url": "https://github.com/kirki-framework/control-react-colorful.git",
830
- "reference": "1dc70ed68623febf425ad5ed0ab295d58eadc550"
831
  },
832
  "dist": {
833
  "type": "zip",
834
- "url": "https://api.github.com/repos/kirki-framework/control-react-colorful/zipball/1dc70ed68623febf425ad5ed0ab295d58eadc550",
835
- "reference": "1dc70ed68623febf425ad5ed0ab295d58eadc550",
836
  "shasum": ""
837
  },
838
  "require": {
@@ -867,22 +867,22 @@
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.10"
871
  },
872
- "time": "2022-02-07T19:13:39+00:00"
873
  },
874
  {
875
  "name": "kirki-framework/control-react-select",
876
- "version": "v1.1.4",
877
  "source": {
878
  "type": "git",
879
  "url": "https://github.com/kirki-framework/control-react-select.git",
880
- "reference": "5208475f2b8cccdbed64764164bb4f34c62af570"
881
  },
882
  "dist": {
883
  "type": "zip",
884
- "url": "https://api.github.com/repos/kirki-framework/control-react-select/zipball/5208475f2b8cccdbed64764164bb4f34c62af570",
885
- "reference": "5208475f2b8cccdbed64764164bb4f34c62af570",
886
  "shasum": ""
887
  },
888
  "require": {
@@ -893,8 +893,8 @@
893
  "type": "library",
894
  "autoload": {
895
  "psr-4": {
896
- "Kirki\\Control\\": "src/Control",
897
- "Kirki\\Field\\": "src/Field"
898
  }
899
  },
900
  "notification-url": "https://packagist.org/downloads/",
@@ -916,9 +916,9 @@
916
  ],
917
  "support": {
918
  "issues": "https://github.com/kirki-framework/control-react-select/issues",
919
- "source": "https://github.com/kirki-framework/control-react-select/tree/v1.1.4"
920
  },
921
- "time": "2022-01-18T07:33:01+00:00"
922
  },
923
  {
924
  "name": "kirki-framework/control-repeater",
@@ -1404,16 +1404,16 @@
1404
  },
1405
  {
1406
  "name": "kirki-framework/field-multicolor",
1407
- "version": "v1.0.1",
1408
  "source": {
1409
  "type": "git",
1410
  "url": "https://github.com/kirki-framework/field-multicolor.git",
1411
- "reference": "fcb68ed3a1508ac5ffa4d62f6034dce35be7cd87"
1412
  },
1413
  "dist": {
1414
  "type": "zip",
1415
- "url": "https://api.github.com/repos/kirki-framework/field-multicolor/zipball/fcb68ed3a1508ac5ffa4d62f6034dce35be7cd87",
1416
- "reference": "fcb68ed3a1508ac5ffa4d62f6034dce35be7cd87",
1417
  "shasum": ""
1418
  },
1419
  "require": {
@@ -1425,8 +1425,8 @@
1425
  "type": "library",
1426
  "autoload": {
1427
  "psr-4": {
1428
- "Kirki\\Control\\": "src/Control",
1429
- "Kirki\\Field\\": "src/Field"
1430
  }
1431
  },
1432
  "notification-url": "https://packagist.org/downloads/",
@@ -1448,22 +1448,22 @@
1448
  ],
1449
  "support": {
1450
  "issues": "https://github.com/kirki-framework/field-multicolor/issues",
1451
- "source": "https://github.com/kirki-framework/field-multicolor/tree/v1.0.1"
1452
  },
1453
- "time": "2021-12-29T15:39:15+00:00"
1454
  },
1455
  {
1456
  "name": "kirki-framework/field-typography",
1457
- "version": "v1.0.5",
1458
  "source": {
1459
  "type": "git",
1460
  "url": "https://github.com/kirki-framework/field-typography.git",
1461
- "reference": "df2c8a9d3db8a3407a3835453de3c85641198c10"
1462
  },
1463
  "dist": {
1464
  "type": "zip",
1465
- "url": "https://api.github.com/repos/kirki-framework/field-typography/zipball/df2c8a9d3db8a3407a3835453de3c85641198c10",
1466
- "reference": "df2c8a9d3db8a3407a3835453de3c85641198c10",
1467
  "shasum": ""
1468
  },
1469
  "require": {
@@ -1480,8 +1480,8 @@
1480
  "type": "library",
1481
  "autoload": {
1482
  "psr-4": {
1483
- "Kirki\\Control\\": "src/Control",
1484
- "Kirki\\Field\\": "src/Field"
1485
  }
1486
  },
1487
  "notification-url": "https://packagist.org/downloads/",
@@ -1503,9 +1503,9 @@
1503
  ],
1504
  "support": {
1505
  "issues": "https://github.com/kirki-framework/field-typography/issues",
1506
- "source": "https://github.com/kirki-framework/field-typography/tree/v1.0.5"
1507
  },
1508
- "time": "2021-12-29T15:41:59+00:00"
1509
  },
1510
  {
1511
  "name": "kirki-framework/googlefonts",
@@ -1603,16 +1603,16 @@
1603
  },
1604
  {
1605
  "name": "kirki-framework/module-css",
1606
- "version": "v1.0.5",
1607
  "source": {
1608
  "type": "git",
1609
  "url": "https://github.com/kirki-framework/module-css.git",
1610
- "reference": "529a074553df5d979ce2708d3cc9ad67fee4dad5"
1611
  },
1612
  "dist": {
1613
  "type": "zip",
1614
- "url": "https://api.github.com/repos/kirki-framework/module-css/zipball/529a074553df5d979ce2708d3cc9ad67fee4dad5",
1615
- "reference": "529a074553df5d979ce2708d3cc9ad67fee4dad5",
1616
  "shasum": ""
1617
  },
1618
  "require": {
@@ -1644,9 +1644,9 @@
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.5"
1648
  },
1649
- "time": "2022-01-10T13:15:55+00:00"
1650
  },
1651
  {
1652
  "name": "kirki-framework/module-editor-styles",
@@ -1793,16 +1793,16 @@
1793
  },
1794
  {
1795
  "name": "kirki-framework/module-postmessage",
1796
- "version": "v1.0.4",
1797
  "source": {
1798
  "type": "git",
1799
  "url": "https://github.com/kirki-framework/module-postMessage.git",
1800
- "reference": "21dc54238435137181a43fccf248f4d2bc655a13"
1801
  },
1802
  "dist": {
1803
  "type": "zip",
1804
- "url": "https://api.github.com/repos/kirki-framework/module-postMessage/zipball/21dc54238435137181a43fccf248f4d2bc655a13",
1805
- "reference": "21dc54238435137181a43fccf248f4d2bc655a13",
1806
  "shasum": ""
1807
  },
1808
  "require": {
@@ -1835,9 +1835,9 @@
1835
  ],
1836
  "support": {
1837
  "issues": "https://github.com/kirki-framework/module-postMessage/issues",
1838
- "source": "https://github.com/kirki-framework/module-postMessage/tree/v1.0.4"
1839
  },
1840
- "time": "2022-01-03T09:09:28+00:00"
1841
  },
1842
  {
1843
  "name": "kirki-framework/module-preset",
54
  },
55
  {
56
  "name": "kirki-framework/control-base",
57
+ "version": "v1.0.4",
58
  "source": {
59
  "type": "git",
60
  "url": "https://github.com/kirki-framework/control-base.git",
61
+ "reference": "0abf9e81f21e5256be879240cca98778e99851eb"
62
  },
63
  "dist": {
64
  "type": "zip",
65
+ "url": "https://api.github.com/repos/kirki-framework/control-base/zipball/0abf9e81f21e5256be879240cca98778e99851eb",
66
+ "reference": "0abf9e81f21e5256be879240cca98778e99851eb",
67
  "shasum": ""
68
  },
69
  "require": {
95
  ],
96
  "support": {
97
  "issues": "https://github.com/kirki-framework/control-base/issues",
98
+ "source": "https://github.com/kirki-framework/control-base/tree/v1.0.4"
99
  },
100
+ "time": "2022-02-08T13:25:23+00:00"
101
  },
102
  {
103
  "name": "kirki-framework/control-checkbox",
648
  "type": "library",
649
  "autoload": {
650
  "psr-4": {
651
+ "Kirki\\Field\\": "src/Field",
652
+ "Kirki\\Control\\": "src/Control"
653
  }
654
  },
655
  "notification-url": "https://packagist.org/downloads/",
823
  },
824
  {
825
  "name": "kirki-framework/control-react-colorful",
826
+ "version": "v1.0.14",
827
  "source": {
828
  "type": "git",
829
  "url": "https://github.com/kirki-framework/control-react-colorful.git",
830
+ "reference": "bcfe71b736f4b43c00b0292e9260c78815808364"
831
  },
832
  "dist": {
833
  "type": "zip",
834
+ "url": "https://api.github.com/repos/kirki-framework/control-react-colorful/zipball/bcfe71b736f4b43c00b0292e9260c78815808364",
835
+ "reference": "bcfe71b736f4b43c00b0292e9260c78815808364",
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.14"
871
  },
872
+ "time": "2022-02-11T17:28:13+00:00"
873
  },
874
  {
875
  "name": "kirki-framework/control-react-select",
876
+ "version": "v1.1.5",
877
  "source": {
878
  "type": "git",
879
  "url": "https://github.com/kirki-framework/control-react-select.git",
880
+ "reference": "4c156e42a36f74ff5b9b1e2797b1742845de9e47"
881
  },
882
  "dist": {
883
  "type": "zip",
884
+ "url": "https://api.github.com/repos/kirki-framework/control-react-select/zipball/4c156e42a36f74ff5b9b1e2797b1742845de9e47",
885
+ "reference": "4c156e42a36f74ff5b9b1e2797b1742845de9e47",
886
  "shasum": ""
887
  },
888
  "require": {
893
  "type": "library",
894
  "autoload": {
895
  "psr-4": {
896
+ "Kirki\\Field\\": "src/Field",
897
+ "Kirki\\Control\\": "src/Control"
898
  }
899
  },
900
  "notification-url": "https://packagist.org/downloads/",
916
  ],
917
  "support": {
918
  "issues": "https://github.com/kirki-framework/control-react-select/issues",
919
+ "source": "https://github.com/kirki-framework/control-react-select/tree/v1.1.5"
920
  },
921
+ "time": "2022-02-10T20:16:05+00:00"
922
  },
923
  {
924
  "name": "kirki-framework/control-repeater",
1404
  },
1405
  {
1406
  "name": "kirki-framework/field-multicolor",
1407
+ "version": "v1.0.3",
1408
  "source": {
1409
  "type": "git",
1410
  "url": "https://github.com/kirki-framework/field-multicolor.git",
1411
+ "reference": "3e0df3f5548fb89b38cb144bc87992936ed7b536"
1412
  },
1413
  "dist": {
1414
  "type": "zip",
1415
+ "url": "https://api.github.com/repos/kirki-framework/field-multicolor/zipball/3e0df3f5548fb89b38cb144bc87992936ed7b536",
1416
+ "reference": "3e0df3f5548fb89b38cb144bc87992936ed7b536",
1417
  "shasum": ""
1418
  },
1419
  "require": {
1425
  "type": "library",
1426
  "autoload": {
1427
  "psr-4": {
1428
+ "Kirki\\Field\\": "src/Field",
1429
+ "Kirki\\Control\\": "src/Control"
1430
  }
1431
  },
1432
  "notification-url": "https://packagist.org/downloads/",
1448
  ],
1449
  "support": {
1450
  "issues": "https://github.com/kirki-framework/field-multicolor/issues",
1451
+ "source": "https://github.com/kirki-framework/field-multicolor/tree/v1.0.3"
1452
  },
1453
+ "time": "2022-02-11T12:41:56+00:00"
1454
  },
1455
  {
1456
  "name": "kirki-framework/field-typography",
1457
+ "version": "v1.0.6",
1458
  "source": {
1459
  "type": "git",
1460
  "url": "https://github.com/kirki-framework/field-typography.git",
1461
+ "reference": "2d96fc2d65325ce8474d55e083db742cf437c0dd"
1462
  },
1463
  "dist": {
1464
  "type": "zip",
1465
+ "url": "https://api.github.com/repos/kirki-framework/field-typography/zipball/2d96fc2d65325ce8474d55e083db742cf437c0dd",
1466
+ "reference": "2d96fc2d65325ce8474d55e083db742cf437c0dd",
1467
  "shasum": ""
1468
  },
1469
  "require": {
1480
  "type": "library",
1481
  "autoload": {
1482
  "psr-4": {
1483
+ "Kirki\\Field\\": "src/Field",
1484
+ "Kirki\\Control\\": "src/Control"
1485
  }
1486
  },
1487
  "notification-url": "https://packagist.org/downloads/",
1503
  ],
1504
  "support": {
1505
  "issues": "https://github.com/kirki-framework/field-typography/issues",
1506
+ "source": "https://github.com/kirki-framework/field-typography/tree/v1.0.6"
1507
  },
1508
+ "time": "2022-02-11T15:40:07+00:00"
1509
  },
1510
  {
1511
  "name": "kirki-framework/googlefonts",
1603
  },
1604
  {
1605
  "name": "kirki-framework/module-css",
1606
+ "version": "v1.0.9",
1607
  "source": {
1608
  "type": "git",
1609
  "url": "https://github.com/kirki-framework/module-css.git",
1610
+ "reference": "96645a327b1a60e1d29fd0193e85f1346b9b268f"
1611
  },
1612
  "dist": {
1613
  "type": "zip",
1614
+ "url": "https://api.github.com/repos/kirki-framework/module-css/zipball/96645a327b1a60e1d29fd0193e85f1346b9b268f",
1615
+ "reference": "96645a327b1a60e1d29fd0193e85f1346b9b268f",
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.9"
1648
  },
1649
+ "time": "2022-02-11T16:17:00+00:00"
1650
  },
1651
  {
1652
  "name": "kirki-framework/module-editor-styles",
1793
  },
1794
  {
1795
  "name": "kirki-framework/module-postmessage",
1796
+ "version": "v1.0.5",
1797
  "source": {
1798
  "type": "git",
1799
  "url": "https://github.com/kirki-framework/module-postMessage.git",
1800
+ "reference": "e53eb3361bae51b6453e67f3f8690c61b1254707"
1801
  },
1802
  "dist": {
1803
  "type": "zip",
1804
+ "url": "https://api.github.com/repos/kirki-framework/module-postMessage/zipball/e53eb3361bae51b6453e67f3f8690c61b1254707",
1805
+ "reference": "e53eb3361bae51b6453e67f3f8690c61b1254707",
1806
  "shasum": ""
1807
  },
1808
  "require": {
1835
  ],
1836
  "support": {
1837
  "issues": "https://github.com/kirki-framework/module-postMessage/issues",
1838
+ "source": "https://github.com/kirki-framework/module-postMessage/tree/v1.0.5"
1839
  },
1840
+ "time": "2022-02-11T16:40:54+00:00"
1841
  },
1842
  {
1843
  "name": "kirki-framework/module-preset",
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.20
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.20' );
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.21
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.21' );
48
  }
49
 
50
  if ( ! function_exists( 'Kirki' ) ) {
packages/composer/installed.json CHANGED
@@ -51,24 +51,24 @@
51
  },
52
  {
53
  "name": "kirki-framework/control-base",
54
- "version": "v1.0.3",
55
- "version_normalized": "1.0.3.0",
56
  "source": {
57
  "type": "git",
58
  "url": "https://github.com/kirki-framework/control-base.git",
59
- "reference": "040c4372afec0c275dce21db6a7256baf2dca3d9"
60
  },
61
  "dist": {
62
  "type": "zip",
63
- "url": "https://api.github.com/repos/kirki-framework/control-base/zipball/040c4372afec0c275dce21db6a7256baf2dca3d9",
64
- "reference": "040c4372afec0c275dce21db6a7256baf2dca3d9",
65
  "shasum": ""
66
  },
67
  "require": {
68
  "kirki-framework/url-getter": "*",
69
  "php": ">=7.0"
70
  },
71
- "time": "2022-01-20T00:09:55+00:00",
72
  "type": "library",
73
  "installation-source": "dist",
74
  "autoload": {
@@ -95,7 +95,7 @@
95
  ],
96
  "support": {
97
  "issues": "https://github.com/kirki-framework/control-base/issues",
98
- "source": "https://github.com/kirki-framework/control-base/tree/v1.0.3"
99
  },
100
  "install-path": "../kirki-framework/control-base"
101
  },
@@ -868,17 +868,17 @@
868
  },
869
  {
870
  "name": "kirki-framework/control-react-colorful",
871
- "version": "v1.0.10",
872
- "version_normalized": "1.0.10.0",
873
  "source": {
874
  "type": "git",
875
  "url": "https://github.com/kirki-framework/control-react-colorful.git",
876
- "reference": "1dc70ed68623febf425ad5ed0ab295d58eadc550"
877
  },
878
  "dist": {
879
  "type": "zip",
880
- "url": "https://api.github.com/repos/kirki-framework/control-react-colorful/zipball/1dc70ed68623febf425ad5ed0ab295d58eadc550",
881
- "reference": "1dc70ed68623febf425ad5ed0ab295d58eadc550",
882
  "shasum": ""
883
  },
884
  "require": {
@@ -887,7 +887,7 @@
887
  "kirki-framework/url-getter": "*",
888
  "php": ">=7.0"
889
  },
890
- "time": "2022-02-07T19:13:39+00:00",
891
  "type": "library",
892
  "installation-source": "dist",
893
  "autoload": {
@@ -915,23 +915,23 @@
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.10"
919
  },
920
  "install-path": "../kirki-framework/control-react-colorful"
921
  },
922
  {
923
  "name": "kirki-framework/control-react-select",
924
- "version": "v1.1.4",
925
- "version_normalized": "1.1.4.0",
926
  "source": {
927
  "type": "git",
928
  "url": "https://github.com/kirki-framework/control-react-select.git",
929
- "reference": "5208475f2b8cccdbed64764164bb4f34c62af570"
930
  },
931
  "dist": {
932
  "type": "zip",
933
- "url": "https://api.github.com/repos/kirki-framework/control-react-select/zipball/5208475f2b8cccdbed64764164bb4f34c62af570",
934
- "reference": "5208475f2b8cccdbed64764164bb4f34c62af570",
935
  "shasum": ""
936
  },
937
  "require": {
@@ -939,13 +939,13 @@
939
  "kirki-framework/url-getter": "*",
940
  "php": ">=7.0"
941
  },
942
- "time": "2022-01-18T07:33:01+00:00",
943
  "type": "library",
944
  "installation-source": "dist",
945
  "autoload": {
946
  "psr-4": {
947
- "Kirki\\Control\\": "src/Control",
948
- "Kirki\\Field\\": "src/Field"
949
  }
950
  },
951
  "notification-url": "https://packagist.org/downloads/",
@@ -967,7 +967,7 @@
967
  ],
968
  "support": {
969
  "issues": "https://github.com/kirki-framework/control-react-select/issues",
970
- "source": "https://github.com/kirki-framework/control-react-select/tree/v1.1.4"
971
  },
972
  "install-path": "../kirki-framework/control-react-select"
973
  },
@@ -1485,17 +1485,17 @@
1485
  },
1486
  {
1487
  "name": "kirki-framework/field-multicolor",
1488
- "version": "v1.0.1",
1489
- "version_normalized": "1.0.1.0",
1490
  "source": {
1491
  "type": "git",
1492
  "url": "https://github.com/kirki-framework/field-multicolor.git",
1493
- "reference": "fcb68ed3a1508ac5ffa4d62f6034dce35be7cd87"
1494
  },
1495
  "dist": {
1496
  "type": "zip",
1497
- "url": "https://api.github.com/repos/kirki-framework/field-multicolor/zipball/fcb68ed3a1508ac5ffa4d62f6034dce35be7cd87",
1498
- "reference": "fcb68ed3a1508ac5ffa4d62f6034dce35be7cd87",
1499
  "shasum": ""
1500
  },
1501
  "require": {
@@ -1504,13 +1504,13 @@
1504
  "kirki-framework/url-getter": "*",
1505
  "php": ">=7.0"
1506
  },
1507
- "time": "2021-12-29T15:39:15+00:00",
1508
  "type": "library",
1509
  "installation-source": "dist",
1510
  "autoload": {
1511
  "psr-4": {
1512
- "Kirki\\Control\\": "src/Control",
1513
- "Kirki\\Field\\": "src/Field"
1514
  }
1515
  },
1516
  "notification-url": "https://packagist.org/downloads/",
@@ -1532,23 +1532,23 @@
1532
  ],
1533
  "support": {
1534
  "issues": "https://github.com/kirki-framework/field-multicolor/issues",
1535
- "source": "https://github.com/kirki-framework/field-multicolor/tree/v1.0.1"
1536
  },
1537
  "install-path": "../kirki-framework/field-multicolor"
1538
  },
1539
  {
1540
  "name": "kirki-framework/field-typography",
1541
- "version": "v1.0.5",
1542
- "version_normalized": "1.0.5.0",
1543
  "source": {
1544
  "type": "git",
1545
  "url": "https://github.com/kirki-framework/field-typography.git",
1546
- "reference": "df2c8a9d3db8a3407a3835453de3c85641198c10"
1547
  },
1548
  "dist": {
1549
  "type": "zip",
1550
- "url": "https://api.github.com/repos/kirki-framework/field-typography/zipball/df2c8a9d3db8a3407a3835453de3c85641198c10",
1551
- "reference": "df2c8a9d3db8a3407a3835453de3c85641198c10",
1552
  "shasum": ""
1553
  },
1554
  "require": {
@@ -1562,13 +1562,13 @@
1562
  "kirki-framework/url-getter": "*",
1563
  "php": ">=7.0"
1564
  },
1565
- "time": "2021-12-29T15:41:59+00:00",
1566
  "type": "library",
1567
  "installation-source": "dist",
1568
  "autoload": {
1569
  "psr-4": {
1570
- "Kirki\\Control\\": "src/Control",
1571
- "Kirki\\Field\\": "src/Field"
1572
  }
1573
  },
1574
  "notification-url": "https://packagist.org/downloads/",
@@ -1590,7 +1590,7 @@
1590
  ],
1591
  "support": {
1592
  "issues": "https://github.com/kirki-framework/field-typography/issues",
1593
- "source": "https://github.com/kirki-framework/field-typography/tree/v1.0.5"
1594
  },
1595
  "install-path": "../kirki-framework/field-typography"
1596
  },
@@ -1696,24 +1696,24 @@
1696
  },
1697
  {
1698
  "name": "kirki-framework/module-css",
1699
- "version": "v1.0.5",
1700
- "version_normalized": "1.0.5.0",
1701
  "source": {
1702
  "type": "git",
1703
  "url": "https://github.com/kirki-framework/module-css.git",
1704
- "reference": "529a074553df5d979ce2708d3cc9ad67fee4dad5"
1705
  },
1706
  "dist": {
1707
  "type": "zip",
1708
- "url": "https://api.github.com/repos/kirki-framework/module-css/zipball/529a074553df5d979ce2708d3cc9ad67fee4dad5",
1709
- "reference": "529a074553df5d979ce2708d3cc9ad67fee4dad5",
1710
  "shasum": ""
1711
  },
1712
  "require": {
1713
  "kirki-framework/util": "*",
1714
  "php": ">=7.0"
1715
  },
1716
- "time": "2022-01-10T13:15:55+00:00",
1717
  "type": "library",
1718
  "installation-source": "dist",
1719
  "autoload": {
@@ -1740,7 +1740,7 @@
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.5"
1744
  },
1745
  "install-path": "../kirki-framework/module-css"
1746
  },
@@ -1898,17 +1898,17 @@
1898
  },
1899
  {
1900
  "name": "kirki-framework/module-postmessage",
1901
- "version": "v1.0.4",
1902
- "version_normalized": "1.0.4.0",
1903
  "source": {
1904
  "type": "git",
1905
  "url": "https://github.com/kirki-framework/module-postMessage.git",
1906
- "reference": "21dc54238435137181a43fccf248f4d2bc655a13"
1907
  },
1908
  "dist": {
1909
  "type": "zip",
1910
- "url": "https://api.github.com/repos/kirki-framework/module-postMessage/zipball/21dc54238435137181a43fccf248f4d2bc655a13",
1911
- "reference": "21dc54238435137181a43fccf248f4d2bc655a13",
1912
  "shasum": ""
1913
  },
1914
  "require": {
@@ -1916,7 +1916,7 @@
1916
  "kirki-framework/util": "*",
1917
  "php": ">=7.0"
1918
  },
1919
- "time": "2022-01-03T09:09:28+00:00",
1920
  "type": "library",
1921
  "installation-source": "dist",
1922
  "autoload": {
@@ -1943,7 +1943,7 @@
1943
  ],
1944
  "support": {
1945
  "issues": "https://github.com/kirki-framework/module-postMessage/issues",
1946
- "source": "https://github.com/kirki-framework/module-postMessage/tree/v1.0.4"
1947
  },
1948
  "install-path": "../kirki-framework/module-postmessage"
1949
  },
51
  },
52
  {
53
  "name": "kirki-framework/control-base",
54
+ "version": "v1.0.4",
55
+ "version_normalized": "1.0.4.0",
56
  "source": {
57
  "type": "git",
58
  "url": "https://github.com/kirki-framework/control-base.git",
59
+ "reference": "0abf9e81f21e5256be879240cca98778e99851eb"
60
  },
61
  "dist": {
62
  "type": "zip",
63
+ "url": "https://api.github.com/repos/kirki-framework/control-base/zipball/0abf9e81f21e5256be879240cca98778e99851eb",
64
+ "reference": "0abf9e81f21e5256be879240cca98778e99851eb",
65
  "shasum": ""
66
  },
67
  "require": {
68
  "kirki-framework/url-getter": "*",
69
  "php": ">=7.0"
70
  },
71
+ "time": "2022-02-08T13:25:23+00:00",
72
  "type": "library",
73
  "installation-source": "dist",
74
  "autoload": {
95
  ],
96
  "support": {
97
  "issues": "https://github.com/kirki-framework/control-base/issues",
98
+ "source": "https://github.com/kirki-framework/control-base/tree/v1.0.4"
99
  },
100
  "install-path": "../kirki-framework/control-base"
101
  },
868
  },
869
  {
870
  "name": "kirki-framework/control-react-colorful",
871
+ "version": "v1.0.14",
872
+ "version_normalized": "1.0.14.0",
873
  "source": {
874
  "type": "git",
875
  "url": "https://github.com/kirki-framework/control-react-colorful.git",
876
+ "reference": "bcfe71b736f4b43c00b0292e9260c78815808364"
877
  },
878
  "dist": {
879
  "type": "zip",
880
+ "url": "https://api.github.com/repos/kirki-framework/control-react-colorful/zipball/bcfe71b736f4b43c00b0292e9260c78815808364",
881
+ "reference": "bcfe71b736f4b43c00b0292e9260c78815808364",
882
  "shasum": ""
883
  },
884
  "require": {
887
  "kirki-framework/url-getter": "*",
888
  "php": ">=7.0"
889
  },
890
+ "time": "2022-02-11T17:28:13+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.14"
919
  },
920
  "install-path": "../kirki-framework/control-react-colorful"
921
  },
922
  {
923
  "name": "kirki-framework/control-react-select",
924
+ "version": "v1.1.5",
925
+ "version_normalized": "1.1.5.0",
926
  "source": {
927
  "type": "git",
928
  "url": "https://github.com/kirki-framework/control-react-select.git",
929
+ "reference": "4c156e42a36f74ff5b9b1e2797b1742845de9e47"
930
  },
931
  "dist": {
932
  "type": "zip",
933
+ "url": "https://api.github.com/repos/kirki-framework/control-react-select/zipball/4c156e42a36f74ff5b9b1e2797b1742845de9e47",
934
+ "reference": "4c156e42a36f74ff5b9b1e2797b1742845de9e47",
935
  "shasum": ""
936
  },
937
  "require": {
939
  "kirki-framework/url-getter": "*",
940
  "php": ">=7.0"
941
  },
942
+ "time": "2022-02-10T20:16:05+00:00",
943
  "type": "library",
944
  "installation-source": "dist",
945
  "autoload": {
946
  "psr-4": {
947
+ "Kirki\\Field\\": "src/Field",
948
+ "Kirki\\Control\\": "src/Control"
949
  }
950
  },
951
  "notification-url": "https://packagist.org/downloads/",
967
  ],
968
  "support": {
969
  "issues": "https://github.com/kirki-framework/control-react-select/issues",
970
+ "source": "https://github.com/kirki-framework/control-react-select/tree/v1.1.5"
971
  },
972
  "install-path": "../kirki-framework/control-react-select"
973
  },
1485
  },
1486
  {
1487
  "name": "kirki-framework/field-multicolor",
1488
+ "version": "v1.0.3",
1489
+ "version_normalized": "1.0.3.0",
1490
  "source": {
1491
  "type": "git",
1492
  "url": "https://github.com/kirki-framework/field-multicolor.git",
1493
+ "reference": "3e0df3f5548fb89b38cb144bc87992936ed7b536"
1494
  },
1495
  "dist": {
1496
  "type": "zip",
1497
+ "url": "https://api.github.com/repos/kirki-framework/field-multicolor/zipball/3e0df3f5548fb89b38cb144bc87992936ed7b536",
1498
+ "reference": "3e0df3f5548fb89b38cb144bc87992936ed7b536",
1499
  "shasum": ""
1500
  },
1501
  "require": {
1504
  "kirki-framework/url-getter": "*",
1505
  "php": ">=7.0"
1506
  },
1507
+ "time": "2022-02-11T12:41:56+00:00",
1508
  "type": "library",
1509
  "installation-source": "dist",
1510
  "autoload": {
1511
  "psr-4": {
1512
+ "Kirki\\Field\\": "src/Field",
1513
+ "Kirki\\Control\\": "src/Control"
1514
  }
1515
  },
1516
  "notification-url": "https://packagist.org/downloads/",
1532
  ],
1533
  "support": {
1534
  "issues": "https://github.com/kirki-framework/field-multicolor/issues",
1535
+ "source": "https://github.com/kirki-framework/field-multicolor/tree/v1.0.3"
1536
  },
1537
  "install-path": "../kirki-framework/field-multicolor"
1538
  },
1539
  {
1540
  "name": "kirki-framework/field-typography",
1541
+ "version": "v1.0.6",
1542
+ "version_normalized": "1.0.6.0",
1543
  "source": {
1544
  "type": "git",
1545
  "url": "https://github.com/kirki-framework/field-typography.git",
1546
+ "reference": "2d96fc2d65325ce8474d55e083db742cf437c0dd"
1547
  },
1548
  "dist": {
1549
  "type": "zip",
1550
+ "url": "https://api.github.com/repos/kirki-framework/field-typography/zipball/2d96fc2d65325ce8474d55e083db742cf437c0dd",
1551
+ "reference": "2d96fc2d65325ce8474d55e083db742cf437c0dd",
1552
  "shasum": ""
1553
  },
1554
  "require": {
1562
  "kirki-framework/url-getter": "*",
1563
  "php": ">=7.0"
1564
  },
1565
+ "time": "2022-02-11T15:40:07+00:00",
1566
  "type": "library",
1567
  "installation-source": "dist",
1568
  "autoload": {
1569
  "psr-4": {
1570
+ "Kirki\\Field\\": "src/Field",
1571
+ "Kirki\\Control\\": "src/Control"
1572
  }
1573
  },
1574
  "notification-url": "https://packagist.org/downloads/",
1590
  ],
1591
  "support": {
1592
  "issues": "https://github.com/kirki-framework/field-typography/issues",
1593
+ "source": "https://github.com/kirki-framework/field-typography/tree/v1.0.6"
1594
  },
1595
  "install-path": "../kirki-framework/field-typography"
1596
  },
1696
  },
1697
  {
1698
  "name": "kirki-framework/module-css",
1699
+ "version": "v1.0.9",
1700
+ "version_normalized": "1.0.9.0",
1701
  "source": {
1702
  "type": "git",
1703
  "url": "https://github.com/kirki-framework/module-css.git",
1704
+ "reference": "96645a327b1a60e1d29fd0193e85f1346b9b268f"
1705
  },
1706
  "dist": {
1707
  "type": "zip",
1708
+ "url": "https://api.github.com/repos/kirki-framework/module-css/zipball/96645a327b1a60e1d29fd0193e85f1346b9b268f",
1709
+ "reference": "96645a327b1a60e1d29fd0193e85f1346b9b268f",
1710
  "shasum": ""
1711
  },
1712
  "require": {
1713
  "kirki-framework/util": "*",
1714
  "php": ">=7.0"
1715
  },
1716
+ "time": "2022-02-11T16:17:00+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.9"
1744
  },
1745
  "install-path": "../kirki-framework/module-css"
1746
  },
1898
  },
1899
  {
1900
  "name": "kirki-framework/module-postmessage",
1901
+ "version": "v1.0.5",
1902
+ "version_normalized": "1.0.5.0",
1903
  "source": {
1904
  "type": "git",
1905
  "url": "https://github.com/kirki-framework/module-postMessage.git",
1906
+ "reference": "e53eb3361bae51b6453e67f3f8690c61b1254707"
1907
  },
1908
  "dist": {
1909
  "type": "zip",
1910
+ "url": "https://api.github.com/repos/kirki-framework/module-postMessage/zipball/e53eb3361bae51b6453e67f3f8690c61b1254707",
1911
+ "reference": "e53eb3361bae51b6453e67f3f8690c61b1254707",
1912
  "shasum": ""
1913
  },
1914
  "require": {
1916
  "kirki-framework/util": "*",
1917
  "php": ">=7.0"
1918
  },
1919
+ "time": "2022-02-11T16:40:54+00:00",
1920
  "type": "library",
1921
  "installation-source": "dist",
1922
  "autoload": {
1943
  ],
1944
  "support": {
1945
  "issues": "https://github.com/kirki-framework/module-postMessage/issues",
1946
+ "source": "https://github.com/kirki-framework/module-postMessage/tree/v1.0.5"
1947
  },
1948
  "install-path": "../kirki-framework/module-postmessage"
1949
  },
packages/composer/installed.php CHANGED
@@ -20,12 +20,12 @@
20
  'dev_requirement' => false,
21
  ),
22
  'kirki-framework/control-base' => array(
23
- 'pretty_version' => 'v1.0.3',
24
- 'version' => '1.0.3.0',
25
  'type' => 'library',
26
  'install_path' => __DIR__ . '/../kirki-framework/control-base',
27
  'aliases' => array(),
28
- 'reference' => '040c4372afec0c275dce21db6a7256baf2dca3d9',
29
  'dev_requirement' => false,
30
  ),
31
  'kirki-framework/control-checkbox' => array(
@@ -164,21 +164,21 @@
164
  'dev_requirement' => false,
165
  ),
166
  'kirki-framework/control-react-colorful' => array(
167
- 'pretty_version' => 'v1.0.10',
168
- 'version' => '1.0.10.0',
169
  'type' => 'library',
170
  'install_path' => __DIR__ . '/../kirki-framework/control-react-colorful',
171
  'aliases' => array(),
172
- 'reference' => '1dc70ed68623febf425ad5ed0ab295d58eadc550',
173
  'dev_requirement' => false,
174
  ),
175
  'kirki-framework/control-react-select' => array(
176
- 'pretty_version' => 'v1.1.4',
177
- 'version' => '1.1.4.0',
178
  'type' => 'library',
179
  'install_path' => __DIR__ . '/../kirki-framework/control-react-select',
180
  'aliases' => array(),
181
- 'reference' => '5208475f2b8cccdbed64764164bb4f34c62af570',
182
  'dev_requirement' => false,
183
  ),
184
  'kirki-framework/control-repeater' => array(
@@ -272,21 +272,21 @@
272
  'dev_requirement' => false,
273
  ),
274
  'kirki-framework/field-multicolor' => array(
275
- 'pretty_version' => 'v1.0.1',
276
- 'version' => '1.0.1.0',
277
  'type' => 'library',
278
  'install_path' => __DIR__ . '/../kirki-framework/field-multicolor',
279
  'aliases' => array(),
280
- 'reference' => 'fcb68ed3a1508ac5ffa4d62f6034dce35be7cd87',
281
  'dev_requirement' => false,
282
  ),
283
  'kirki-framework/field-typography' => array(
284
- 'pretty_version' => 'v1.0.5',
285
- 'version' => '1.0.5.0',
286
  'type' => 'library',
287
  'install_path' => __DIR__ . '/../kirki-framework/field-typography',
288
  'aliases' => array(),
289
- 'reference' => 'df2c8a9d3db8a3407a3835453de3c85641198c10',
290
  'dev_requirement' => false,
291
  ),
292
  'kirki-framework/googlefonts' => array(
@@ -317,12 +317,12 @@
317
  'dev_requirement' => false,
318
  ),
319
  'kirki-framework/module-css' => array(
320
- 'pretty_version' => 'v1.0.5',
321
- 'version' => '1.0.5.0',
322
  'type' => 'library',
323
  'install_path' => __DIR__ . '/../kirki-framework/module-css',
324
  'aliases' => array(),
325
- 'reference' => '529a074553df5d979ce2708d3cc9ad67fee4dad5',
326
  'dev_requirement' => false,
327
  ),
328
  'kirki-framework/module-editor-styles' => array(
@@ -353,12 +353,12 @@
353
  'dev_requirement' => false,
354
  ),
355
  'kirki-framework/module-postmessage' => array(
356
- 'pretty_version' => 'v1.0.4',
357
- 'version' => '1.0.4.0',
358
  'type' => 'library',
359
  'install_path' => __DIR__ . '/../kirki-framework/module-postmessage',
360
  'aliases' => array(),
361
- 'reference' => '21dc54238435137181a43fccf248f4d2bc655a13',
362
  'dev_requirement' => false,
363
  ),
364
  'kirki-framework/module-preset' => array(
20
  'dev_requirement' => false,
21
  ),
22
  'kirki-framework/control-base' => array(
23
+ 'pretty_version' => 'v1.0.4',
24
+ 'version' => '1.0.4.0',
25
  'type' => 'library',
26
  'install_path' => __DIR__ . '/../kirki-framework/control-base',
27
  'aliases' => array(),
28
+ 'reference' => '0abf9e81f21e5256be879240cca98778e99851eb',
29
  'dev_requirement' => false,
30
  ),
31
  'kirki-framework/control-checkbox' => array(
164
  'dev_requirement' => false,
165
  ),
166
  'kirki-framework/control-react-colorful' => array(
167
+ 'pretty_version' => 'v1.0.14',
168
+ 'version' => '1.0.14.0',
169
  'type' => 'library',
170
  'install_path' => __DIR__ . '/../kirki-framework/control-react-colorful',
171
  'aliases' => array(),
172
+ 'reference' => 'bcfe71b736f4b43c00b0292e9260c78815808364',
173
  'dev_requirement' => false,
174
  ),
175
  'kirki-framework/control-react-select' => array(
176
+ 'pretty_version' => 'v1.1.5',
177
+ 'version' => '1.1.5.0',
178
  'type' => 'library',
179
  'install_path' => __DIR__ . '/../kirki-framework/control-react-select',
180
  'aliases' => array(),
181
+ 'reference' => '4c156e42a36f74ff5b9b1e2797b1742845de9e47',
182
  'dev_requirement' => false,
183
  ),
184
  'kirki-framework/control-repeater' => array(
272
  'dev_requirement' => false,
273
  ),
274
  'kirki-framework/field-multicolor' => array(
275
+ 'pretty_version' => 'v1.0.3',
276
+ 'version' => '1.0.3.0',
277
  'type' => 'library',
278
  'install_path' => __DIR__ . '/../kirki-framework/field-multicolor',
279
  'aliases' => array(),
280
+ 'reference' => '3e0df3f5548fb89b38cb144bc87992936ed7b536',
281
  'dev_requirement' => false,
282
  ),
283
  'kirki-framework/field-typography' => array(
284
+ 'pretty_version' => 'v1.0.6',
285
+ 'version' => '1.0.6.0',
286
  'type' => 'library',
287
  'install_path' => __DIR__ . '/../kirki-framework/field-typography',
288
  'aliases' => array(),
289
+ 'reference' => '2d96fc2d65325ce8474d55e083db742cf437c0dd',
290
  'dev_requirement' => false,
291
  ),
292
  'kirki-framework/googlefonts' => array(
317
  'dev_requirement' => false,
318
  ),
319
  'kirki-framework/module-css' => array(
320
+ 'pretty_version' => 'v1.0.9',
321
+ 'version' => '1.0.9.0',
322
  'type' => 'library',
323
  'install_path' => __DIR__ . '/../kirki-framework/module-css',
324
  'aliases' => array(),
325
+ 'reference' => '96645a327b1a60e1d29fd0193e85f1346b9b268f',
326
  'dev_requirement' => false,
327
  ),
328
  'kirki-framework/module-editor-styles' => array(
353
  'dev_requirement' => false,
354
  ),
355
  'kirki-framework/module-postmessage' => array(
356
+ 'pretty_version' => 'v1.0.5',
357
+ 'version' => '1.0.5.0',
358
  'type' => 'library',
359
  'install_path' => __DIR__ . '/../kirki-framework/module-postmessage',
360
  'aliases' => array(),
361
+ 'reference' => 'e53eb3361bae51b6453e67f3f8690c61b1254707',
362
  'dev_requirement' => false,
363
  ),
364
  'kirki-framework/module-preset' => array(
packages/kirki-framework/control-base/dist/control.css CHANGED
@@ -1,2 +1,2 @@
1
- @media screen and (min-width:1667px){.wp-full-overlay.expanded{margin-left:300px}}#customize-theme-controls .customize-pane-child.open{overflow:visible}.wp-full-overlay-sidebar{width:300px}.expanded .wp-full-overlay-footer{max-width:299px}.kirki-w100{width:100%}.kirki-w50{width:50%}.kirki-w45{width:45%}.kirki-w40{width:40%}.kirki-w33{width:33.3333%}.kirki-w30{width:30%}.kirki-w25{width:25%}.kirki-w20{width:20%}.kirki-w15{width:15%}.kirki-w10{width:10%}.kirki-w5{width:5%}.control-section-kirki-default,.control-section-kirki-outer{min-height:100%}.customize-control-has-small-gap{margin-bottom:9px}.customize-control-is-gapless{margin-bottom:0}.customize-control-kirki-hidden-field{height:0;margin-bottom:0}.customize-control-kirki,.customize-control-kirki *{box-sizing:border-box}.customize-control-kirki.kirki-group-item{clear:none}.kirki-group-item{clear:none;float:left;padding-left:3px;padding-right:3px}.kirki-group-item.kirki-group-start{padding-left:0;padding-right:3px}.kirki-group-item.kirki-group-break,.kirki-group-item.kirki-group-end{padding-left:3px;padding-right:0}.kirki-group-item.kirki-group-end:after{clear:both;content:"";display:block;height:0;width:100%}.customize-control-kirki{position:relative}.customize-control-kirki .kirki-control-label,.customize-control-kirki label.customize-control-title{display:block}.customize-control-kirki .kirki-control-form{position:relative}.customize-control-kirki .kirki-control-form textarea{display:block;width:100%}
2
  /*# sourceMappingURL=control.css.map */
1
+ @media screen and (min-width:1667px){.rtl .wp-full-overlay.expanded{margin-left:0;margin-right:300px}.wp-full-overlay.expanded{margin-left:300px}}#customize-theme-controls .customize-pane-child.open{overflow:visible}.wp-full-overlay-sidebar{width:300px}.expanded .wp-full-overlay-footer{max-width:299px}.kirki-w100{width:100%}.kirki-w50{width:50%}.kirki-w45{width:45%}.kirki-w40{width:40%}.kirki-w33{width:33.3333%}.kirki-w30{width:30%}.kirki-w25{width:25%}.kirki-w20{width:20%}.kirki-w15{width:15%}.kirki-w10{width:10%}.kirki-w5{width:5%}.control-section-kirki-default,.control-section-kirki-outer{min-height:100%}.customize-control-has-small-gap{margin-bottom:9px}.customize-control-is-gapless{margin-bottom:0}.customize-control-kirki-hidden-field{height:0;margin-bottom:0}.customize-control-kirki,.customize-control-kirki *{box-sizing:border-box}.customize-control-kirki.kirki-group-item{clear:none}.kirki-group-item{clear:none;float:left;padding-left:3px;padding-right:3px}.kirki-group-item.kirki-group-start{padding-left:0;padding-right:3px}.kirki-group-item.kirki-group-break,.kirki-group-item.kirki-group-end{padding-left:3px;padding-right:0}.kirki-group-item.kirki-group-end:after{clear:both;content:"";display:block;height:0;width:100%}.customize-control-kirki{position:relative}.customize-control-kirki .kirki-control-label,.customize-control-kirki label.customize-control-title{display:block}.customize-control-kirki .kirki-control-form{position:relative}.customize-control-kirki .kirki-control-form textarea{display:block;width:100%}
2
  /*# sourceMappingURL=control.css.map */
packages/kirki-framework/control-base/dist/control.css.map CHANGED
@@ -1 +1 @@
1
- {"mappings":"AAAA,qCACE,0BACE,iBCCF,CACF,CDEA,qDACE,gBCAF,CDGA,yBACE,WCAF,CDGA,kCACE,eCAF,CDGA,YACE,UCAF,CDGA,WACE,SCAF,CDGA,WACE,SCAF,CDGA,WACE,SCAF,CDGA,WACE,cCAF,CDGA,WACE,SCAF,CDGA,WACE,SCAF,CDGA,WACE,SCAF,CDGA,WACE,SCAF,CDGA,WACE,SCAF,CDGA,UACE,QCAF,CDGA,4DAEE,eCAF,CDGA,iCACE,iBCAF,CDGA,8BACE,eCAF,CDGA,sCAEE,QAAA,CADA,eCCF,CDGA,oDAEE,qBCAF,CDGA,0CACE,UCAF,CDGA,kBAEE,UAAA,CADA,UAAA,CAEA,gBAAA,CACA,iBCAF,CDEE,oCACE,cAAA,CACA,iBCAJ,CDGE,sEAEE,gBAAA,CACA,eCFJ,CDMI,wCAKE,UAAA,CAJA,UAAA,CACA,aAAA,CAEA,QAAA,CADA,UCFN,CDSA,yBACE,iBCNF,CDQE,qGAEE,aCNJ,CDSE,6CACE,iBCPJ,CDSI,sDACE,aAAA,CACA,UCPN","sources":["src/control.scss","%3Cinput%20css%20WM2FME%3E"],"sourcesContent":["@media screen and (min-width: 1667px) {\n .wp-full-overlay.expanded {\n margin-left: 300px;\n }\n}\n\n#customize-theme-controls .customize-pane-child.open {\n overflow: visible;\n}\n\n.wp-full-overlay-sidebar {\n width: 300px;\n}\n\n.expanded .wp-full-overlay-footer {\n max-width: 299px;\n}\n\n.kirki-w100 {\n width: 100%;\n}\n\n.kirki-w50 {\n width: 50%;\n}\n\n.kirki-w45 {\n width: 45%;\n}\n\n.kirki-w40 {\n width: 40%;\n}\n\n.kirki-w33 {\n width: 33.3333%;\n}\n\n.kirki-w30 {\n width: 30%;\n}\n\n.kirki-w25 {\n width: 25%;\n}\n\n.kirki-w20 {\n width: 20%;\n}\n\n.kirki-w15 {\n width: 15%;\n}\n\n.kirki-w10 {\n width: 10%;\n}\n\n.kirki-w5 {\n width: 5%;\n}\n\n.control-section-kirki-default,\n.control-section-kirki-outer {\n min-height: 100%;\n}\n\n.customize-control-has-small-gap {\n margin-bottom: 9px;\n}\n\n.customize-control-is-gapless {\n margin-bottom: 0;\n}\n\n.customize-control-kirki-hidden-field {\n margin-bottom: 0;\n height: 0;\n}\n\n.customize-control-kirki,\n.customize-control-kirki * {\n box-sizing: border-box;\n}\n\n.customize-control-kirki.kirki-group-item {\n clear: none; // Override WordPress.\n}\n\n.kirki-group-item {\n float: left;\n clear: none;\n padding-left: 3px;\n padding-right: 3px;\n\n &.kirki-group-start {\n padding-left: 0;\n padding-right: 3px;\n }\n\n &.kirki-group-break,\n &.kirki-group-end {\n padding-left: 3px;\n padding-right: 0;\n }\n\n &.kirki-group-end {\n &::after {\n content: \"\";\n display: block;\n width: 100%;\n height: 0;\n clear: both;\n }\n }\n}\n\n.customize-control-kirki {\n position: relative;\n\n .kirki-control-label,\n label.customize-control-title {\n display: block;\n }\n\n .kirki-control-form {\n position: relative;\n\n textarea {\n display: block;\n width: 100%;\n }\n }\n}\n","@media screen and (min-width: 1667px) {\n .wp-full-overlay.expanded {\n margin-left: 300px;\n }\n}\n#customize-theme-controls .customize-pane-child.open {\n overflow: visible;\n}\n\n.wp-full-overlay-sidebar {\n width: 300px;\n}\n\n.expanded .wp-full-overlay-footer {\n max-width: 299px;\n}\n\n.kirki-w100 {\n width: 100%;\n}\n\n.kirki-w50 {\n width: 50%;\n}\n\n.kirki-w45 {\n width: 45%;\n}\n\n.kirki-w40 {\n width: 40%;\n}\n\n.kirki-w33 {\n width: 33.3333%;\n}\n\n.kirki-w30 {\n width: 30%;\n}\n\n.kirki-w25 {\n width: 25%;\n}\n\n.kirki-w20 {\n width: 20%;\n}\n\n.kirki-w15 {\n width: 15%;\n}\n\n.kirki-w10 {\n width: 10%;\n}\n\n.kirki-w5 {\n width: 5%;\n}\n\n.control-section-kirki-default,\n.control-section-kirki-outer {\n min-height: 100%;\n}\n\n.customize-control-has-small-gap {\n margin-bottom: 9px;\n}\n\n.customize-control-is-gapless {\n margin-bottom: 0;\n}\n\n.customize-control-kirki-hidden-field {\n margin-bottom: 0;\n height: 0;\n}\n\n.customize-control-kirki,\n.customize-control-kirki * {\n box-sizing: border-box;\n}\n\n.customize-control-kirki.kirki-group-item {\n clear: none;\n}\n\n.kirki-group-item {\n float: left;\n clear: none;\n padding-left: 3px;\n padding-right: 3px;\n}\n.kirki-group-item.kirki-group-start {\n padding-left: 0;\n padding-right: 3px;\n}\n.kirki-group-item.kirki-group-break, .kirki-group-item.kirki-group-end {\n padding-left: 3px;\n padding-right: 0;\n}\n.kirki-group-item.kirki-group-end::after {\n content: \"\";\n display: block;\n width: 100%;\n height: 0;\n clear: both;\n}\n\n.customize-control-kirki {\n position: relative;\n}\n.customize-control-kirki .kirki-control-label,\n.customize-control-kirki label.customize-control-title {\n display: block;\n}\n.customize-control-kirki .kirki-control-form {\n position: relative;\n}\n.customize-control-kirki .kirki-control-form textarea {\n display: block;\n width: 100%;\n}\n/*# sourceMappingURL=control.css.map */\n"],"names":[],"version":3,"file":"control.css.map"}
1
+ {"mappings":"AACE,qCACE,+BAEE,aAAA,CADA,kBCCJ,CCDA,0BACE,iBDMF,CALF,CCGA,qDACE,gBDKF,CCFA,yBACE,WDKF,CCFA,kCACE,eDKF,CCFA,YACE,UDKF,CCFA,WACE,SDKF,CCFA,WACE,SDKF,CCFA,WACE,SDKF,CCFA,WACE,cDKF,CCFA,WACE,SDKF,CCFA,WACE,SDKF,CCFA,WACE,SDKF,CCFA,WACE,SDKF,CCFA,WACE,SDKF,CCFA,UACE,QDKF,CCFA,4DAEE,eDKF,CCFA,iCACE,iBDKF,CCFA,8BACE,eDKF,CCFA,sCAEE,QAAA,CADA,eDMF,CCFA,oDAEE,qBDKF,CCFA,0CACE,UDKF,CCFA,kBAEE,UAAA,CADA,UAAA,CAEA,gBAAA,CACA,iBDKF,CCHE,oCACE,cAAA,CACA,iBDKJ,CCFE,sEAEE,gBAAA,CACA,eDGJ,CCCI,wCAKE,UAAA,CAJA,UAAA,CACA,aAAA,CAEA,QAAA,CADA,UDGN,CCIA,yBACE,iBDDF,CCGE,qGAEE,aDDJ,CCIE,6CACE,iBDFJ,CCII,sDACE,aAAA,CACA,UDFN","sources":["src/rtl.scss","%3Cinput%20css%20N7IR_2%3E","src/control.scss"],"sourcesContent":[".rtl {\n @media screen and (min-width: 1667px) {\n .wp-full-overlay.expanded {\n margin-right: 300px;\n margin-left: 0;\n }\n }\n}\n","@media screen and (min-width: 1667px) {\n .rtl .wp-full-overlay.expanded {\n margin-right: 300px;\n margin-left: 0;\n }\n}\n\n@media screen and (min-width: 1667px) {\n .wp-full-overlay.expanded {\n margin-left: 300px;\n }\n}\n#customize-theme-controls .customize-pane-child.open {\n overflow: visible;\n}\n\n.wp-full-overlay-sidebar {\n width: 300px;\n}\n\n.expanded .wp-full-overlay-footer {\n max-width: 299px;\n}\n\n.kirki-w100 {\n width: 100%;\n}\n\n.kirki-w50 {\n width: 50%;\n}\n\n.kirki-w45 {\n width: 45%;\n}\n\n.kirki-w40 {\n width: 40%;\n}\n\n.kirki-w33 {\n width: 33.3333%;\n}\n\n.kirki-w30 {\n width: 30%;\n}\n\n.kirki-w25 {\n width: 25%;\n}\n\n.kirki-w20 {\n width: 20%;\n}\n\n.kirki-w15 {\n width: 15%;\n}\n\n.kirki-w10 {\n width: 10%;\n}\n\n.kirki-w5 {\n width: 5%;\n}\n\n.control-section-kirki-default,\n.control-section-kirki-outer {\n min-height: 100%;\n}\n\n.customize-control-has-small-gap {\n margin-bottom: 9px;\n}\n\n.customize-control-is-gapless {\n margin-bottom: 0;\n}\n\n.customize-control-kirki-hidden-field {\n margin-bottom: 0;\n height: 0;\n}\n\n.customize-control-kirki,\n.customize-control-kirki * {\n box-sizing: border-box;\n}\n\n.customize-control-kirki.kirki-group-item {\n clear: none;\n}\n\n.kirki-group-item {\n float: left;\n clear: none;\n padding-left: 3px;\n padding-right: 3px;\n}\n.kirki-group-item.kirki-group-start {\n padding-left: 0;\n padding-right: 3px;\n}\n.kirki-group-item.kirki-group-break, .kirki-group-item.kirki-group-end {\n padding-left: 3px;\n padding-right: 0;\n}\n.kirki-group-item.kirki-group-end::after {\n content: \"\";\n display: block;\n width: 100%;\n height: 0;\n clear: both;\n}\n\n.customize-control-kirki {\n position: relative;\n}\n.customize-control-kirki .kirki-control-label,\n.customize-control-kirki label.customize-control-title {\n display: block;\n}\n.customize-control-kirki .kirki-control-form {\n position: relative;\n}\n.customize-control-kirki .kirki-control-form textarea {\n display: block;\n width: 100%;\n}\n/*# sourceMappingURL=control.css.map */\n","@import \"rtl.scss\";\n\n@media screen and (min-width: 1667px) {\n .wp-full-overlay.expanded {\n margin-left: 300px;\n }\n}\n\n#customize-theme-controls .customize-pane-child.open {\n overflow: visible;\n}\n\n.wp-full-overlay-sidebar {\n width: 300px;\n}\n\n.expanded .wp-full-overlay-footer {\n max-width: 299px;\n}\n\n.kirki-w100 {\n width: 100%;\n}\n\n.kirki-w50 {\n width: 50%;\n}\n\n.kirki-w45 {\n width: 45%;\n}\n\n.kirki-w40 {\n width: 40%;\n}\n\n.kirki-w33 {\n width: 33.3333%;\n}\n\n.kirki-w30 {\n width: 30%;\n}\n\n.kirki-w25 {\n width: 25%;\n}\n\n.kirki-w20 {\n width: 20%;\n}\n\n.kirki-w15 {\n width: 15%;\n}\n\n.kirki-w10 {\n width: 10%;\n}\n\n.kirki-w5 {\n width: 5%;\n}\n\n.control-section-kirki-default,\n.control-section-kirki-outer {\n min-height: 100%;\n}\n\n.customize-control-has-small-gap {\n margin-bottom: 9px;\n}\n\n.customize-control-is-gapless {\n margin-bottom: 0;\n}\n\n.customize-control-kirki-hidden-field {\n margin-bottom: 0;\n height: 0;\n}\n\n.customize-control-kirki,\n.customize-control-kirki * {\n box-sizing: border-box;\n}\n\n.customize-control-kirki.kirki-group-item {\n clear: none; // Override WordPress.\n}\n\n.kirki-group-item {\n float: left;\n clear: none;\n padding-left: 3px;\n padding-right: 3px;\n\n &.kirki-group-start {\n padding-left: 0;\n padding-right: 3px;\n }\n\n &.kirki-group-break,\n &.kirki-group-end {\n padding-left: 3px;\n padding-right: 0;\n }\n\n &.kirki-group-end {\n &::after {\n content: \"\";\n display: block;\n width: 100%;\n height: 0;\n clear: both;\n }\n }\n}\n\n.customize-control-kirki {\n position: relative;\n\n .kirki-control-label,\n label.customize-control-title {\n display: block;\n }\n\n .kirki-control-form {\n position: relative;\n\n textarea {\n display: block;\n width: 100%;\n }\n }\n}\n"],"names":[],"version":3,"file":"control.css.map"}
packages/kirki-framework/control-base/src/Control/Base.php CHANGED
@@ -89,7 +89,7 @@ class Base extends \WP_Customize_Control {
89
  * @since 1.0
90
  * @var string
91
  */
92
- public static $control_ver = '1.0.3';
93
 
94
  /**
95
  * Parent setting.
89
  * @since 1.0
90
  * @var string
91
  */
92
+ public static $control_ver = '1.0.4';
93
 
94
  /**
95
  * Parent setting.
packages/kirki-framework/control-react-colorful/dist/control.css CHANGED
@@ -1,2 +1,3 @@
1
- .customize-control-kirki-react-colorful .kirki-control-form{box-sizing:border-box;position:relative}.customize-control-kirki-react-colorful .kirki-control-form *{box-sizing:border-box}.customize-control-kirki-react-colorful .kirki-control-cols{align-items:flex-start;display:flex}.customize-control-kirki-react-colorful .kirki-control-left-col{padding-right:30px;width:90%;width:calc(100% - 35px)}.customize-control-kirki-react-colorful .kirki-control-right-col{display:flex;justify-content:flex-end;width:35px}.customize-control-kirki-react-colorful .use-hue-mode .react-colorful{height:auto}.customize-control-kirki-react-colorful .use-hue-mode .react-colorful__saturation{display:none}.customize-control-kirki-react-colorful .use-hue-mode .react-colorful__last-control{border-radius:4px}.customize-control-kirki-react-colorful .use-hue-mode input.kirki-color-input{padding-left:8px}.customize-control-kirki-react-colorful .kirki-trigger-circle-wrapper{align-items:center;border:1px solid #ccc;border-radius:50%;display:flex;height:33px;justify-content:center;padding:3px;position:relative;top:-3px;width:33px}.customize-control-kirki-react-colorful .kirki-trigger-circle{background-size:10px;border:none;border-radius:50%;cursor:pointer;display:block;height:25px;padding:0;position:relative;width:25px}.customize-control-kirki-react-colorful .kirki-trigger-circle .kirki-color-preview{height:100%;left:0;position:absolute;top:0;width:100%}.customize-control-kirki-react-colorful .colorPickerContainer{background-color:#fff;border-radius:6px;box-shadow:0 12px 15px 0 rgba(0,0,0,.09);margin-top:5px;opacity:0;padding:15px;position:absolute;right:0;top:35px;transition:all .2s;transition-property:opacity,visibility;visibility:hidden;width:100%;z-index:9999}.customize-control-kirki-react-colorful .colorPickerContainer.is-open{opacity:1;transition:all .2s ease 10ms;transition-property:opacity,visibility;visibility:visible}.customize-control-kirki-react-colorful .react-colorful{border-radius:4px;width:100%}.customize-control-kirki-react-colorful .react-colorful__saturation{border-radius:4px 4px 0 0}.customize-control-kirki-react-colorful .react-colorful__last-control{border-radius:0 0 4px 4px}.customize-control-kirki-react-colorful .react-colorful__pointer{height:20px;width:20px}.customize-control-kirki-react-colorful .kirki-color-input-wrapper{margin-top:15px}.customize-control-kirki-react-colorful .kirki-color-input-control{align-items:center;display:flex;position:relative;width:100%}.customize-control-kirki-react-colorful input.kirki-color-input{border:1px solid #ccc;border-radius:4px;color:#333;display:block;height:30px;line-height:30px;padding-left:32px;padding-right:8px;position:relative;width:100%;z-index:1}.customize-control-kirki-react-colorful .kirki-color-input:active,.customize-control-kirki-react-colorful .kirki-color-input:focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:none}.customize-control-kirki-react-colorful .kirki-color-preview-wrapper{background-repeat:repeat;background-size:8px;border:2px solid #fff;border-radius:50%;-webkit-box-shadow:0 0 0 1px #ddd;box-shadow:0 0 0 1px #ddd;height:22px;left:6px;position:absolute;width:22px;z-index:2}.customize-control-kirki-react-colorful .kirki-color-preview,.customize-control-kirki-react-colorful .kirki-control-reset{background-color:transparent;cursor:pointer;padding:0;position:absolute}.customize-control-kirki-react-colorful .kirki-color-preview{border-radius:50%;border-width:0;display:block;height:100%;width:100%}.customize-control-kirki-react-colorful .kirki-control-reset{align-items:center;border-radius:50%;border-width:0;display:flex;height:17px;justify-content:center;right:35px;top:4px;width:17px;z-index:3}.customize-control-kirki-react-colorful .kirki-control-reset:hover i{color:red;transform:rotate(-45deg)}.customize-control-kirki-react-colorful .kirki-control-reset i{font-size:12px;height:auto;transform:rotate(45deg);transition:transform .2s;width:auto}.customize-control-kirki-react-colorful .kirki-color-swatches{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.customize-control-kirki-react-colorful .kirki-color-swatch{border:2px solid #fff;border-radius:50%;-webkit-box-shadow:0 0 0 1px #ddd;box-shadow:0 0 0 1px #ddd;cursor:pointer;display:block;height:25px;padding:0;position:relative;transform:scale(1);transition:transform .2s;width:25px}.customize-control-kirki-react-colorful .kirki-color-swatch:active,.customize-control-kirki-react-colorful .kirki-color-swatch:focus{outline:none}.customize-control-kirki-react-colorful .kirki-color-swatch:focus,.customize-control-kirki-react-colorful .kirki-color-swatch:hover{transform:scale(1.1)}.customize-control-kirki-react-colorful .kirki-label-tooltip{background-color:rgba(0,0,0,.7);border-radius:4px;bottom:45px;color:#fff;left:-8px;max-width:100px;opacity:0;padding:7px 10px 3px;position:absolute;transition:all .2s;visibility:hidden;width:auto;width:max-content}.customize-control-kirki-react-colorful .kirki-label-tooltip:before{border-color:rgba(0,0,0,.7) transparent transparent;border-style:solid;border-width:8px 7px 0;bottom:-8px;content:"";left:19px;position:absolute}.customize-control-kirki-react-colorful .kirki-label-tooltip .customize-control-title{line-height:1.2}.customize-control-kirki-react-colorful .kirki-trigger-circle-wrapper:hover~.kirki-label-tooltip{opacity:1;visibility:visible}.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-multicolor]{margin-bottom:20px;margin-right:8px;padding-right:0;width:35px}.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-multicolor] .kirki-control-reset{right:8px;top:-16px}.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-typography] .colorPickerContainer{top:55px}.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-typography] .kirki-control-reset{left:35px;right:auto;top:30px}
2
- /*# sourceMappingURL=control.css.map */
 
1
+ .customize-control-kirki-react-colorful .kirki-control-form{position:relative;box-sizing:border-box}.customize-control-kirki-react-colorful .kirki-control-form *{box-sizing:border-box}.customize-control-kirki-react-colorful .kirki-control-cols{display:flex;align-items:flex-start}.customize-control-kirki-react-colorful .kirki-control-left-col{padding-right:30px;width:90%;width:calc(100% - 35px)}.customize-control-kirki-react-colorful .kirki-control-right-col{display:flex;justify-content:flex-end;width:35px}.customize-control-kirki-react-colorful .use-hue-mode .react-colorful{height:auto}.customize-control-kirki-react-colorful .use-hue-mode .react-colorful__saturation{display:none}.customize-control-kirki-react-colorful .use-hue-mode .react-colorful__last-control{border-radius:4px}.customize-control-kirki-react-colorful .use-hue-mode input.kirki-color-input{padding-left:8px;padding-left:8px}.customize-control-kirki-react-colorful .kirki-trigger-circle-wrapper{position:relative;top:-3px;display:flex;align-items:center;justify-content:center;padding:3px;width:33px;height:33px;border-radius:50%;border:1px solid #ccc}.customize-control-kirki-react-colorful .kirki-trigger-circle{position:relative;padding:0;display:block;width:25px;height:25px;background-size:10px;border:none;border-radius:50%;cursor:pointer}.customize-control-kirki-react-colorful .kirki-trigger-circle .kirki-color-preview{position:absolute;top:0;left:0;width:100%;height:100%}.customize-control-kirki-react-colorful .colorPickerContainer{position:absolute;top:35px;right:0;margin-top:5px;width:100%;padding:15px;background-color:#fff;border-radius:6px;box-shadow:rgba(0,0,0,.09) 0 12px 15px 0;z-index:9999;opacity:0;visibility:hidden;transition:all .2s;transition-property:opacity,visibility}.customize-control-kirki-react-colorful .colorPickerContainer.is-open{opacity:1;visibility:visible;transition:all .2s ease 10ms;transition-property:opacity,visibility}.customize-control-kirki-react-colorful .react-colorful{width:100%;border-radius:4px}.customize-control-kirki-react-colorful .react-colorful__saturation{border-radius:4px 4px 0 0}.customize-control-kirki-react-colorful .react-colorful__last-control{border-radius:0 0 4px 4px}.customize-control-kirki-react-colorful .react-colorful__pointer{width:20px;height:20px}.customize-control-kirki-react-colorful .kirki-color-input-wrapper{margin-top:15px}.customize-control-kirki-react-colorful .kirki-color-input-control{position:relative;display:flex;align-items:center;width:100%}.customize-control-kirki-react-colorful input.kirki-color-input{display:block;position:relative;padding-left:32px;padding-right:8px;width:100%;height:30px;line-height:30px;color:#333;border:1px solid #ccc;border-radius:4px;z-index:1}.customize-control-kirki-react-colorful .kirki-color-input:focus,.customize-control-kirki-react-colorful .kirki-color-input:active{box-shadow:0 0 0 1px #2271b1;outline:none;border-color:#2271b1}.customize-control-kirki-react-colorful .kirki-color-preview-wrapper{position:absolute;left:6px;width:22px;height:22px;background-repeat:repeat;background-size:8px;border-radius:50%;border:1px solid #ddd;border:2px solid #fff;-webkit-box-shadow:0px 0px 0px 1px #ddd;box-shadow:0px 0px 0px 1px #ddd;z-index:2}.customize-control-kirki-react-colorful .kirki-color-preview,.customize-control-kirki-react-colorful .kirki-control-reset{position:absolute;padding:0;background-color:transparent;cursor:pointer}.customize-control-kirki-react-colorful .kirki-color-preview{display:block;width:100%;height:100%;border-radius:50%;border-width:0}.customize-control-kirki-react-colorful .kirki-control-reset{display:flex;align-items:center;justify-content:center;top:4px;right:35px;width:17px;height:17px;border-radius:50%;border-width:0;z-index:3}.customize-control-kirki-react-colorful .kirki-control-reset:hover i{color:red;transform:rotate(-45deg)}.customize-control-kirki-react-colorful .kirki-control-reset i{font-size:12px;width:auto;height:auto;transform:rotate(45deg);transition:transform .2s}.customize-control-kirki-react-colorful .kirki-color-swatches{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.customize-control-kirki-react-colorful .kirki-color-swatch{position:relative;display:block;padding:0;width:25px;height:25px;border-radius:50%;border:2px solid #fff;cursor:pointer;transform:scale(1, 1);transition:transform .2s;-webkit-box-shadow:0px 0px 0px 1px #ddd;box-shadow:0px 0px 0px 1px #ddd}.customize-control-kirki-react-colorful .kirki-color-swatch:active,.customize-control-kirki-react-colorful .kirki-color-swatch:focus{outline:none}.customize-control-kirki-react-colorful .kirki-color-swatch:hover,.customize-control-kirki-react-colorful .kirki-color-swatch:focus{transform:scale(1.1, 1.1)}.customize-control-kirki-react-colorful .kirki-label-tooltip{position:absolute;bottom:45px;left:-8px;padding:7px 10px 3px;width:auto;width:max-content;max-width:100px;color:#fff;background-color:rgba(0,0,0,.7);border-radius:4px;opacity:0;visibility:hidden;transition:all .2s}.customize-control-kirki-react-colorful .kirki-label-tooltip::before{content:"";position:absolute;bottom:-8px;left:19px;border-width:8px 7px 0 7px;border-style:solid;border-color:rgba(0,0,0,.7) transparent transparent transparent}.customize-control-kirki-react-colorful .kirki-label-tooltip .customize-control-title{line-height:1.2}.customize-control-kirki-react-colorful .kirki-trigger-circle-wrapper:hover~.kirki-label-tooltip{opacity:1;visibility:visible}.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-multicolor]{margin-right:8px;margin-bottom:20px;padding-right:0;width:35px}.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-multicolor] .kirki-control-reset{top:-19px;right:8px}.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-typography] .colorPickerContainer{top:55px}.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-typography] .kirki-control-reset{top:30px;right:auto;left:35px}
2
+
3
+ /*# sourceMappingURL=control.css.map*/
packages/kirki-framework/control-react-colorful/dist/control.css.map CHANGED
@@ -1 +1 @@
1
- {"mappings":"AAEE,4DAEE,qBAAA,CADA,iBCAJ,CDIE,8DACE,qBCFJ,CDKE,4DAEE,sBAAA,CADA,YCFJ,CDME,gEACE,kBAAA,CACA,SAAA,CACA,uBCJJ,CDOE,iEACE,YAAA,CACA,wBAAA,CACA,UCLJ,CDSI,sEACE,WCPN,CDUI,kFACE,YCRN,CDWI,oFACE,iBCTN,CDYI,8EAEE,gBCVN,CDcE,sEAIE,kBAAA,CAMA,qBAAA,CADA,iBAAA,CANA,YAAA,CAKA,WAAA,CAHA,sBAAA,CACA,WAAA,CALA,iBAAA,CACA,QAAA,CAKA,UCTJ,CDeE,8DAME,oBAAA,CACA,WAAA,CACA,iBAAA,CACA,cAAA,CANA,aAAA,CAEA,WAAA,CAHA,SAAA,CADA,iBAAA,CAGA,UCRJ,CDeI,mFAKE,WAAA,CAFA,MAAA,CAFA,iBAAA,CACA,KAAA,CAEA,UCZN,CDiBE,8DAOE,qBAAA,CACA,iBAAA,CACA,wCAAA,CALA,cAAA,CAQA,SAAA,CANA,YAAA,CALA,iBAAA,CAEA,OAAA,CADA,QAAA,CAYA,kBAAA,CACA,sCAAA,CAFA,iBAAA,CARA,UAAA,CAKA,YCXJ,CDkBI,sEACE,SAAA,CAEA,4BAAA,CACA,sCAAA,CAFA,kBCdN,CDoBE,wDAEE,iBAAA,CADA,UCjBJ,CDqBE,oEACE,yBCnBJ,CDsBE,sEACE,yBCpBJ,CDuBE,iEAEE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J,CDsCI,oEAOE,mDAAA,CAAA,kBAAA,CAAA,sBAAA,CAJA,WAAA,CAFA,UAAA,CAGA,SAAA,CAFA,iBC/BN,CDuCI,sFACE,eCrCN,CD0CI,iGACE,SAAA,CACA,kBCxCN,CD4CE,yFAEE,kBAAA,CADA,gBAAA,CAEA,eAAA,CACA,UC1CJ,CD4CI,8GAEE,SAAA,CADA,SCzCN,CD+CI,+GACE,QC7CN,CDgDI,8GAGE,SAAA,CADA,UAAA,CADA,QC5CN","sources":["src/control.scss","%3Cinput%20css%20xBfsAT%3E"],"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: -16px;\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",".customize-control-kirki-react-colorful .kirki-control-form {\n position: relative;\n box-sizing: border-box;\n}\n.customize-control-kirki-react-colorful .kirki-control-form * {\n box-sizing: border-box;\n}\n.customize-control-kirki-react-colorful .kirki-control-cols {\n display: flex;\n align-items: flex-start;\n}\n.customize-control-kirki-react-colorful .kirki-control-left-col {\n padding-right: 30px;\n width: 90%;\n width: calc(100% - 35px);\n}\n.customize-control-kirki-react-colorful .kirki-control-right-col {\n display: flex;\n justify-content: flex-end;\n width: 35px;\n}\n.customize-control-kirki-react-colorful .use-hue-mode .react-colorful {\n height: auto;\n}\n.customize-control-kirki-react-colorful .use-hue-mode .react-colorful__saturation {\n display: none;\n}\n.customize-control-kirki-react-colorful .use-hue-mode .react-colorful__last-control {\n border-radius: 4px;\n}\n.customize-control-kirki-react-colorful .use-hue-mode input.kirki-color-input {\n padding-left: 8px;\n padding-left: 8px;\n}\n.customize-control-kirki-react-colorful .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.customize-control-kirki-react-colorful .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.customize-control-kirki-react-colorful .kirki-trigger-circle .kirki-color-preview {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n.customize-control-kirki-react-colorful .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 opacity: 0;\n visibility: hidden;\n transition: all 0.2s;\n transition-property: opacity, visibility;\n}\n.customize-control-kirki-react-colorful .colorPickerContainer.is-open {\n opacity: 1;\n visibility: visible;\n transition: all 0.2s ease 10ms;\n transition-property: opacity, visibility;\n}\n.customize-control-kirki-react-colorful .react-colorful {\n width: 100%;\n border-radius: 4px;\n}\n.customize-control-kirki-react-colorful .react-colorful__saturation {\n border-radius: 4px 4px 0 0;\n}\n.customize-control-kirki-react-colorful .react-colorful__last-control {\n border-radius: 0 0 4px 4px;\n}\n.customize-control-kirki-react-colorful .react-colorful__pointer {\n width: 20px;\n height: 20px;\n}\n.customize-control-kirki-react-colorful .kirki-color-input-wrapper {\n margin-top: 15px;\n}\n.customize-control-kirki-react-colorful .kirki-color-input-control {\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n}\n.customize-control-kirki-react-colorful 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.customize-control-kirki-react-colorful .kirki-color-input:focus,\n.customize-control-kirki-react-colorful .kirki-color-input:active {\n box-shadow: 0 0 0 1px #2271b1;\n outline: none;\n border-color: #2271b1;\n}\n.customize-control-kirki-react-colorful .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.customize-control-kirki-react-colorful .kirki-color-preview,\n.customize-control-kirki-react-colorful .kirki-control-reset {\n position: absolute;\n padding: 0;\n background-color: transparent;\n cursor: pointer;\n}\n.customize-control-kirki-react-colorful .kirki-color-preview {\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n border-width: 0;\n}\n.customize-control-kirki-react-colorful .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.customize-control-kirki-react-colorful .kirki-control-reset:hover i {\n color: #f00;\n transform: rotate(-45deg);\n}\n.customize-control-kirki-react-colorful .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.customize-control-kirki-react-colorful .kirki-color-swatches {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 12px;\n}\n.customize-control-kirki-react-colorful .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.customize-control-kirki-react-colorful .kirki-color-swatch:active,\n.customize-control-kirki-react-colorful .kirki-color-swatch:focus {\n outline: none;\n}\n.customize-control-kirki-react-colorful .kirki-color-swatch:hover,\n.customize-control-kirki-react-colorful .kirki-color-swatch:focus {\n transform: scale(1.1, 1.1);\n}\n.customize-control-kirki-react-colorful .kirki-label-tooltip {\n position: absolute;\n bottom: 45px;\n left: -8px;\n padding: 7px 10px 3px;\n width: auto;\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.customize-control-kirki-react-colorful .kirki-label-tooltip::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.customize-control-kirki-react-colorful .kirki-label-tooltip .customize-control-title {\n line-height: 1.2;\n}\n.customize-control-kirki-react-colorful .kirki-trigger-circle-wrapper:hover ~ .kirki-label-tooltip {\n opacity: 1;\n visibility: visible;\n}\n.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-multicolor] {\n margin-right: 8px;\n margin-bottom: 20px;\n padding-right: 0;\n width: 35px;\n}\n.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-multicolor] .kirki-control-reset {\n top: -16px;\n right: 8px;\n}\n.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-typography] .colorPickerContainer {\n top: 55px;\n}\n.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-typography] .kirki-control-reset {\n top: 30px;\n right: auto;\n left: 35px;\n}\n/*# sourceMappingURL=control.css.map */\n"],"names":[],"version":3,"file":"control.css.map"}
1
+ {"version":3,"file":"./control.css","mappings":"AAEE,4DACE,kBACA,sBAGF,8DACE,sBAGF,4DACE,aACA,uBAGF,gEACE,mBACA,UACA,wBAGF,iEACE,aACA,yBACA,WAIA,sEACE,YAGF,kFACE,aAGF,oFACE,kBAGF,8EACE,iBACA,iBAIJ,sEACE,kBACA,SACA,aACA,mBACA,uBACA,YACA,WACA,YACA,kBACA,sBAGF,8DACE,kBACA,UACA,cACA,WACA,YACA,qBACA,YACA,kBACA,eAEA,mFACE,kBACA,MACA,OACA,WACA,YAIJ,8DACE,kBACA,SACA,QACA,eACA,WACA,aACA,sBACA,kBACA,yCACA,aAEA,UACA,kBACA,mBACA,uCAEA,sEACE,UACA,mBACA,6BACA,uCAIJ,wDACE,WACA,kBAGF,oEACE,0BAGF,sEACE,0BAGF,iEACE,WACA,YAGF,mEACE,gBAGF,mEACE,kBACA,aACA,mBACA,WAGF,gEACE,cACA,kBACA,kBACA,kBACA,WACA,YACA,iBACA,WACA,sBACA,kBACA,UAGF,mIAEE,6BACA,aACA,qBAGF,qEACE,kBACA,SACA,WACA,YACA,yBACA,oBACA,kBACA,sBACA,sBACA,wCACA,gCACA,UAGF,0HAEE,kBACA,UACA,6BACA,eAGF,6DACE,cACA,WACA,YACA,kBACA,eAGF,6DACE,aACA,mBACA,uBACA,QACA,WACA,WACA,YACA,kBACA,eACA,UAGF,qEACE,UACA,yBAGF,+DACE,eACA,WACA,YACA,wBACA,yBAGF,8DACE,aACA,mBACA,8BACA,mBAGF,4DACE,kBACA,cACA,UACA,WACA,YACA,kBACA,sBACA,eACA,sBACA,yBACA,wCACA,gCAGF,qIAEE,aAGF,oIAEE,0BAGF,6DACE,kBACA,YACA,UACA,qBACA,WACA,kBACA,gBACA,WACA,gCACA,kBACA,UACA,kBACA,mBAEA,qEACE,WACA,kBACA,YACA,UACA,2BACA,mBACA,gEAGF,sFACE,gBAKF,iGACE,UACA,mBAIJ,yFACE,iBACA,mBACA,gBACA,WAEA,8GACE,UACA,UAKF,+GACE,SAGF,8GACE,SACA,WACA,U","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,2 @@
1
- !function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function t(e){return e&&e.__esModule?e.default:e}var r={},n={},o=e.parcelRequire4303;null==o&&((o=function(e){if(e in r)return r[e].exports;if(e in n){var t=n[e];delete n[e];var o={id:e,exports:{}};return r[e]=o,t.call(o.exports,o,o.exports),o.exports}var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}).register=function(e,t){n[e]=t},e.parcelRequire4303=o),o.register("7HKs8",(function(e,t){var r=o("jjS2x"),n="object"==typeof t&&t&&!t.nodeType&&t,a=n&&e&&!e.nodeType&&e,i=a&&a.exports===n?c.Buffer:void 0,u=(i?i.isBuffer:void 0)||r;e.exports=u}));var a,c={},i="object"==typeof e&&e&&e.Object===Object&&e;a=i;var u="object"==typeof self&&self&&self.Object===Object&&self,l=a||u||Function("return this")();c=l,o.register("jjS2x",(function(e,t){e.exports=function(){return!1}})),o.register("7vc1R",(function(e,t){var r="object"==typeof t&&t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r&&a.process,c=function(){try{var e=n&&n.require&&n.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c})),o.register("4vs1M",(function(e,t){var r="object"==typeof t&&t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r?c.Buffer:void 0,a=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=a?a(r):new e.constructor(r);return e.copy(n),n}}));var s;function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function v(e){return e&&e.constructor===Symbol?"symbol":typeof e}s=ReactDOM;var d={};function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function b(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(o[r]=e[r]);return o}function h(e){var t=d.useRef(e),r=d.useRef((function(e){t.current&&t.current(e)}));return t.current=e,r.current}d=React;var g=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e<t?t:e},y=function(e){return"touches"in e},m=function(e){return e&&e.ownerDocument.defaultView||self},_=function(e,t,r){var n=e.getBoundingClientRect(),o=y(t)?function(e,t){for(var r=0;r<e.length;r++)if(e[r].identifier===t)return e[r];return e[0]}(t.touches,r):t;return{left:g((o.pageX-(n.left+m(e).pageXOffset))/n.width),top:g((o.pageY-(n.top+m(e).pageYOffset))/n.height)}},k=function(e){!y(e)&&e.preventDefault()},j=t(d).memo((function(e){var r=e.onMove,n=e.onKey,o=b(e,["onMove","onKey"]),a=d.useRef(null),c=h(r),i=h(n),u=d.useRef(null),l=d.useRef(!1),s=d.useMemo((function(){var e=function(e){k(e),(y(e)?e.touches.length>0:e.buttons>0)&&a.current?c(_(a.current,e,u.current)):r(!1)},t=function(){return r(!1)};function r(r){var n=l.current,o=m(a.current),c=r?o.addEventListener:o.removeEventListener;c(n?"touchmove":"mousemove",e),c(n?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,n=a.current;if(n&&(k(t),!function(e,t){return t&&!y(e)}(t,l.current)&&n)){if(y(t)){l.current=!0;var o=t.changedTouches||[];o.length&&(u.current=o[0].identifier)}n.focus(),c(_(n,t,u.current)),r(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),i({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},r]}),[i,c]),f=s[0],v=s[1],g=s[2];return d.useEffect((function(){return g}),[g]),t(d).createElement("div",p({},o,{onTouchStart:f,onMouseDown:f,className:"react-colorful__interactive",ref:a,onKeyDown:v,tabIndex:0,role:"slider"}))})),C=function(e){return e.filter(Boolean).join(" ")},w=function(e){var r=e.color,n=e.left,o=e.top,a=void 0===o?.5:o,c=C(["react-colorful__pointer",e.className]);return t(d).createElement("div",{className:c,style:{top:100*a+"%",left:100*n+"%"}},t(d).createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:r}}))},A=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r},O={grad:.9,turn:360,rad:360/(2*Math.PI)},S=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}},E=function(e,t){return void 0===t&&(t="deg"),Number(e)*(O[t]||1)},H=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?P({h:E(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},R=H,P=function(e){var t=e.s,r=e.l;return{h:e.h,s:(t*=(r<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}},x=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:A(e.h),s:A(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:A(o/2),a:A(n,2)}},M=function(e){var t=x(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},N=function(e){var t=x(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},B=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var a=Math.floor(t),c=n*(1-r),i=n*(1-(t-a)*r),u=n*(1-(1-t+a)*r),l=a%6;return{r:A(255*[n,i,c,c,u,n][l]),g:A(255*[u,n,n,i,c,c][l]),b:A(255*[c,c,u,n,n,i][l]),a:A(o,2)}},z=function(e){var t=/hsva?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?D({h:E(t[1],t[2]),s:Number(t[3]),v:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},I=z,F=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?L({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)}):{h:0,s:0,v:0,a:1}},T=F,U=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},L=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=Math.max(t,r,n),c=a-Math.min(t,r,n),i=c?a===t?(r-n)/c:a===r?2+(n-t)/c:4+(t-r)/c:0;return{h:A(60*(i<0?i+6:i)),s:A(a?c/a*100:0),v:A(a/255*100),a:o}},D=function(e){return{h:A(e.h),s:A(e.s),v:A(e.v),a:A(e.a,2)}},W=t(d).memo((function(e){var r=e.hue,n=e.onChange,o=C(["react-colorful__hue",e.className]);return t(d).createElement("div",{className:o},t(d).createElement(j,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:g(r+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":A(r)},t(d).createElement(w,{className:"react-colorful__hue-pointer",left:r/360,color:M({h:r,s:100,v:100,a:1})})))})),J=t(d).memo((function(e){var r=e.hsva,n=e.onChange,o={backgroundColor:M({h:r.h,s:100,v:100,a:1})};return t(d).createElement("div",{className:"react-colorful__saturation",style:o},t(d).createElement(j,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:g(r.s+100*e.left,0,100),v:g(r.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+A(r.s)+"%, Brightness "+A(r.v)+"%"},t(d).createElement(w,{className:"react-colorful__saturation-pointer",top:1-r.v/100,left:r.s/100,color:M(r)})))})),q=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},K=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")};function G(e,t,r){var n=h(r),o=d.useState((function(){return e.toHsva(t)})),a=o[0],c=o[1],i=d.useRef({color:t,hsva:a});d.useEffect((function(){if(!e.equal(t,i.current.color)){var r=e.toHsva(t);i.current={hsva:r,color:t},c(r)}}),[t,e]),d.useEffect((function(){var t;q(a,i.current.hsva)||e.equal(t=e.fromHsva(a),i.current.color)||(i.current={hsva:a,color:t},n(t))}),[a,e,n]);var u=d.useCallback((function(e){c((function(t){return Object.assign({},t,e)}))}),[]);return[a,u]}var Z,$="undefined"!=typeof window?d.useLayoutEffect:d.useEffect,Q=new Map,V=function(e){$((function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!Q.has(t)){var r=t.createElement("style");r.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}',Q.set(t,r);var n=Z||("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0);n&&r.setAttribute("nonce",n),t.head.appendChild(r)}}),[])},Y=function(e){var r=e.className,n=e.colorModel,o=e.color,a=void 0===o?n.defaultColor:o,c=e.onChange,i=b(e,["className","colorModel","color","onChange"]),u=d.useRef(null);V(u);var l=G(n,a,c),s=l[0],f=l[1],v=C(["react-colorful",r]);return t(d).createElement("div",p({},i,{ref:u,className:v}),t(d).createElement(J,{hsva:s,onChange:f}),t(d).createElement(W,{hue:s.h,onChange:f,className:"react-colorful__last-control"}))},X={defaultColor:"000",toHsva:function(e){return L(S(e))},fromHsva:function(e){var t,r,n;return r=(t=B(e)).g,n=t.b,"#"+U(t.r)+U(r)+U(n)},equal:function(e,t){return e.toLowerCase()===t.toLowerCase()||q(S(e),S(t))}},ee=function(e){return t(d).createElement(Y,p({},e,{colorModel:X}))},te=function(e){var r=e.className,n=e.hsva,o=e.onChange,a={backgroundImage:"linear-gradient(90deg, "+N(Object.assign({},n,{a:0}))+", "+N(Object.assign({},n,{a:1}))+")"},c=C(["react-colorful__alpha",r]);return t(d).createElement("div",{className:c},t(d).createElement("div",{className:"react-colorful__alpha-gradient",style:a}),t(d).createElement(j,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:g(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":A(100*n.a)+"%"},t(d).createElement(w,{className:"react-colorful__alpha-pointer",left:n.a,color:N(n)})))},re=function(e){var r=e.className,n=e.colorModel,o=e.color,a=void 0===o?n.defaultColor:o,c=e.onChange,i=b(e,["className","colorModel","color","onChange"]),u=d.useRef(null);V(u);var l=G(n,a,c),s=l[0],f=l[1],v=C(["react-colorful",r]);return t(d).createElement("div",p({},i,{ref:u,className:v}),t(d).createElement(J,{hsva:s,onChange:f}),t(d).createElement(W,{hue:s.h,onChange:f}),t(d).createElement(te,{hsva:s,onChange:f,className:"react-colorful__last-control"}))},ne={defaultColor:{h:0,s:0,l:0,a:1},toHsva:P,fromHsva:x,equal:q},oe=function(e){return t(d).createElement(re,p({},e,{colorModel:ne}))},ae={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:H,fromHsva:N,equal:K},ce=function(e){return t(d).createElement(re,p({},e,{colorModel:ae}))},ie={defaultColor:{h:0,s:0,l:0},toHsva:function(e){return P({h:e.h,s:e.s,l:e.l,a:1})},fromHsva:function(e){var t;return{h:(t=x(e)).h,s:t.s,l:t.l}},equal:q},ue=function(e){return t(d).createElement(Y,p({},e,{colorModel:ie}))},le={defaultColor:"hsl(0, 0%, 0%)",toHsva:R,fromHsva:M,equal:K},se=function(e){return t(d).createElement(Y,p({},e,{colorModel:le}))},fe={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(e){return e},fromHsva:D,equal:q},ve=function(e){return t(d).createElement(re,p({},e,{colorModel:fe}))},de={defaultColor:"hsva(0, 0%, 0%, 1)",toHsva:z,fromHsva:function(e){var t=D(e);return"hsva("+t.h+", "+t.s+"%, "+t.v+"%, "+t.a+")"},equal:K},pe=function(e){return t(d).createElement(re,p({},e,{colorModel:de}))},be={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 t=D(e);return{h:t.h,s:t.s,v:t.v}},equal:q},he=function(e){return t(d).createElement(Y,p({},e,{colorModel:be}))},ge={defaultColor:"hsv(0, 0%, 0%)",toHsva:I,fromHsva:function(e){var t=D(e);return"hsv("+t.h+", "+t.s+"%, "+t.v+"%)"},equal:K},ye=function(e){return t(d).createElement(Y,p({},e,{colorModel:ge}))},me={defaultColor:{r:0,g:0,b:0,a:1},toHsva:L,fromHsva:B,equal:q},_e=function(e){return t(d).createElement(re,p({},e,{colorModel:me}))},ke={defaultColor:"rgba(0, 0, 0, 1)",toHsva:F,fromHsva:function(e){var t=B(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:K},je=function(e){return t(d).createElement(re,p({},e,{colorModel:ke}))},Ce={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return L({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){var t;return{r:(t=B(e)).r,g:t.g,b:t.b}},equal:q},we=function(e){return t(d).createElement(Y,p({},e,{colorModel:Ce}))},Ae={defaultColor:"rgb(0, 0, 0)",toHsva:T,fromHsva:function(e){var t=B(e);return"rgb("+t.r+", "+t.g+", "+t.b+")"},equal:K},Oe=function(e){return t(d).createElement(Y,p({},e,{colorModel:Ae}))},Se={};Object.defineProperty(Se,"__esModule",{value:!0}),Se.ReactCSS=Se.loop=Se.handleActive=Se.handleHover=Se.hover=void 0;var Ee={};Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.flattenNames=void 0;var He,Re={};He=c.Symbol;var Pe={},xe=Object.prototype,Me=xe.hasOwnProperty,Ne=xe.toString,Be=He?He.toStringTag:void 0;Pe=function(e){var t=Me.call(e,Be),r=e[Be];try{e[Be]=void 0;var n=!0}catch(e){}var o=Ne.call(e);return n&&(t?e[Be]=r:delete e[Be]),o};var ze={},Ie=Object.prototype.toString;ze=function(e){return Ie.call(e)};var Fe=He?He.toStringTag:void 0;Re=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Fe&&Fe in Object(e)?Pe(e):ze(e)};var Te={},Ue=Array.isArray;Te=Ue;var Le={};Le=function(e){return null!=e&&"object"==typeof e};var De,We=so((function(e){return"string"==typeof e||!Te(e)&&Le(e)&&"[object String]"==Re(e)})),Je={},qe={};var Ke=function(e){return function(t,r,n){for(var o=-1,a=Object(t),c=n(t),i=c.length;i--;){var u=c[e?i:++o];if(!1===r(a[u],u,a))break}return t}}();qe=Ke;var Ge={},Ze={},$e={};$e=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n};var Qe={},Ve={};Ve=function(e){return Le(e)&&"[object Arguments]"==Re(e)};var Ye=Object.prototype,Xe=Ye.hasOwnProperty,et=Ye.propertyIsEnumerable,tt=Ve(function(){return arguments}())?Ve:function(e){return Le(e)&&Xe.call(e,"callee")&&!et.call(e,"callee")};Qe=tt;var rt=o("7HKs8"),nt={},ot=/^(?:0|[1-9]\d*)$/;nt=function(e,t){var r=void 0===e?"undefined":v(e);return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&ot.test(e))&&e>-1&&e%1==0&&e<t};var at,ct={},it={};it=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var ut={};ut["[object Float32Array]"]=ut["[object Float64Array]"]=ut["[object Int8Array]"]=ut["[object Int16Array]"]=ut["[object Int32Array]"]=ut["[object Uint8Array]"]=ut["[object Uint8ClampedArray]"]=ut["[object Uint16Array]"]=ut["[object Uint32Array]"]=!0,ut["[object Arguments]"]=ut["[object Array]"]=ut["[object ArrayBuffer]"]=ut["[object Boolean]"]=ut["[object DataView]"]=ut["[object Date]"]=ut["[object Error]"]=ut["[object Function]"]=ut["[object Map]"]=ut["[object Number]"]=ut["[object Object]"]=ut["[object RegExp]"]=ut["[object Set]"]=ut["[object String]"]=ut["[object WeakMap]"]=!1,at=function(e){return Le(e)&&it(e.length)&&!!ut[Re(e)]};var lt={};lt=function(e){return function(t){return e(t)}};var st=(oa=o("7vc1R"))&&oa.isTypedArray,ft=st?lt(st):at;ct=ft;var vt=Object.prototype.hasOwnProperty;Ze=function(e,t){var r=Te(e),n=!r&&Qe(e),o=!r&&!n&&rt(e),a=!r&&!n&&!o&&ct(e),c=r||n||o||a,i=c?$e(e.length,String):[],u=i.length;for(var l in e)!t&&!vt.call(e,l)||c&&("length"==l||o&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||nt(l,u))||i.push(l);return i};var dt={},pt={},bt=Object.prototype;pt=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||bt)};var ht={},gt={};var yt=(gt=function(e,t){return function(r){return e(t(r))}})(Object.keys,Object);ht=yt;var mt=Object.prototype.hasOwnProperty;dt=function(e){if(!pt(e))return ht(e);var t=[];for(var r in Object(e))mt.call(e,r)&&"constructor"!=r&&t.push(r);return t};var _t={},kt={},jt={};jt=function(e){var t=void 0===e?"undefined":v(e);return null!=e&&("object"==t||"function"==t)};kt=function(e){if(!jt(e))return!1;var t=Re(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},_t=function(e){return null!=e&&it(e.length)&&!kt(e)},Ge=function(e){return _t(e)?Ze(e):dt(e)},Je=function(e,t){return e&&qe(e,t,Ge)};var Ct,wt={};Ct=function(e){return e},wt=function(e){return"function"==typeof e?e:Ct};var At=so(De=function(e,t){return e&&Je(e,wt(t))}),Ot={},St=gt(Object.getPrototypeOf,Object);Ot=St;var Et=Function.prototype,Ht=Object.prototype,Rt=Et.toString,Pt=Ht.hasOwnProperty,xt=Rt.call(Object);var Mt=so((function(e){if(!Le(e)||"[object Object]"!=Re(e))return!1;var t=Ot(e);if(null===t)return!0;var r=Pt.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Rt.call(r)==xt})),Nt={};Nt=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o};var Bt,zt={},It={},Ft={},Tt={},Ut={};Bt=function(){this.__data__=[],this.size=0};var Lt,Dt={},Wt={};Wt=function(e,t){return e===t||e!=e&&t!=t},Dt=function(e,t){for(var r=e.length;r--;)if(Wt(e[r][0],t))return r;return-1};var Jt=Array.prototype.splice;Lt=function(e){var t=this.__data__,r=Dt(t,e);return!(r<0)&&(r==t.length-1?t.pop():Jt.call(t,r,1),--this.size,!0)};var qt;qt=function(e){var t=this.__data__,r=Dt(t,e);return r<0?void 0:t[r][1]};var Kt;Kt=function(e){return Dt(this.__data__,e)>-1};var Gt;function Zt(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Gt=function(e,t){var r=this.__data__,n=Dt(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Zt.prototype.clear=Bt,Zt.prototype.delete=Lt,Zt.prototype.get=qt,Zt.prototype.has=Kt,Zt.prototype.set=Gt,Ut=Zt;var $t;$t=function(){this.__data__=new Ut,this.size=0};var Qt;Qt=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r};var Vt;Vt=function(e){return this.__data__.get(e)};var Yt;Yt=function(e){return this.__data__.has(e)};var Xt,er,tr,rr={},nr={},or={},ar={},cr=c["__core-js_shared__"],ir=(tr=/[^.]+$/.exec((er=cr)&&er.keys&&er.keys.IE_PROTO||""))?"Symbol(src)_1."+tr:"";ar=function(e){return!!ir&&ir in e};var ur={},lr=Function.prototype.toString;ur=function(e){if(null!=e){try{return lr.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var sr=/^\[object .+?Constructor\]$/,fr=Function.prototype,vr=Object.prototype,dr=fr.toString,pr=vr.hasOwnProperty,br=RegExp("^"+dr.call(pr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");or=function(e){return!(!jt(e)||ar(e))&&(kt(e)?br:sr).test(ur(e))};var hr={};hr=function(e,t){return null==e?void 0:e[t]};var gr=(nr=function(e,t){var r=hr(e,t);return or(r)?r:void 0})(c,"Map");rr=gr;var yr,mr,_r={},kr={},jr={},Cr=nr(Object,"create");jr=Cr,mr=function(){this.__data__=jr?jr(null):{},this.size=0};var wr;wr=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var Ar,Or=Object.prototype.hasOwnProperty;Ar=function(e){var t=this.__data__;if(jr){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return Or.call(t,e)?t[e]:void 0};var Sr,Er=Object.prototype.hasOwnProperty;Sr=function(e){var t=this.__data__;return jr?void 0!==t[e]:Er.call(t,e)};var Hr;function Rr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Hr=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=jr&&void 0===t?"__lodash_hash_undefined__":t,this},Rr.prototype.clear=mr,Rr.prototype.delete=wr,Rr.prototype.get=Ar,Rr.prototype.has=Sr,Rr.prototype.set=Hr,kr=Rr,yr=function(){this.size=0,this.__data__={hash:new kr,map:new(rr||Ut),string:new kr}};var Pr,xr={},Mr={};Mr=function(e){var t=void 0===e?"undefined":v(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},xr=function(e,t){var r=e.__data__;return Mr(t)?r["string"==typeof t?"string":"hash"]:r.map},Pr=function(e){var t=xr(this,e).delete(e);return this.size-=t?1:0,t};var Nr;Nr=function(e){return xr(this,e).get(e)};var Br;Br=function(e){return xr(this,e).has(e)};var zr;function Ir(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}zr=function(e,t){var r=xr(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Ir.prototype.clear=yr,Ir.prototype.delete=Pr,Ir.prototype.get=Nr,Ir.prototype.has=Br,Ir.prototype.set=zr,_r=Ir;function Fr(e){var t=this.__data__=new Ut(e);this.size=t.size}Xt=function(e,t){var r=this.__data__;if(r instanceof Ut){var n=r.__data__;if(!rr||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new _r(n)}return r.set(e,t),this.size=r.size,this},Fr.prototype.clear=$t,Fr.prototype.delete=Qt,Fr.prototype.get=Vt,Fr.prototype.has=Yt,Fr.prototype.set=Xt,Tt=Fr;var Tr,Ur={},Lr={},Dr={},Wr={};Tr=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var Jr;function qr(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new _r;++t<r;)this.add(e[t])}Jr=function(e){return this.__data__.has(e)},qr.prototype.add=qr.prototype.push=Tr,qr.prototype.has=Jr,Wr=qr;var Kr={};Kr=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};var Gr={};Gr=function(e,t){return e.has(t)};Dr=function(e,t,r,n,o,a){var c=1&r,i=e.length,u=t.length;if(i!=u&&!(c&&u>i))return!1;var l=a.get(e),s=a.get(t);if(l&&s)return l==t&&s==e;var f=-1,v=!0,d=2&r?new Wr:void 0;for(a.set(e,t),a.set(t,e);++f<i;){var p=e[f],b=t[f];if(n)var h=c?n(b,p,f,t,e,a):n(p,b,f,e,t,a);if(void 0!==h){if(h)continue;v=!1;break}if(d){if(!Kr(t,(function(e,t){if(!Gr(d,t)&&(p===e||o(p,e,r,n,a)))return d.push(t)}))){v=!1;break}}else if(p!==b&&!o(p,b,r,n,a)){v=!1;break}}return a.delete(e),a.delete(t),v};var Zr={},$r={},Qr=c.Uint8Array;$r=Qr;var Vr;Vr=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r};var Yr;Yr=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r};var Xr=He?He.prototype:void 0,en=Xr?Xr.valueOf:void 0;Zr=function(e,t,r,n,o,a,c){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!a(new $r(e),new $r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Wt(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var i=Vr;case"[object Set]":var u=1&n;if(i||(i=Yr),e.size!=t.size&&!u)return!1;var l=c.get(e);if(l)return l==t;n|=2,c.set(e,t);var s=Dr(i(e),i(t),n,o,a,c);return c.delete(e),s;case"[object Symbol]":if(en)return en.call(e)==en.call(t)}return!1};var tn={},rn={},nn={},on={};on=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e},nn=function(e,t,r){var n=t(e);return Te(e)?n:on(n,r(e))};var an={},cn={};cn=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var c=e[r];t(c,r,e)&&(a[o++]=c)}return a};var un;un=function(){return[]};var ln=Object.prototype.propertyIsEnumerable,sn=Object.getOwnPropertySymbols;an=sn?function(e){return null==e?[]:(e=Object(e),cn(sn(e),(function(t){return ln.call(e,t)})))}:un,rn=function(e){return nn(e,Ge,an)};var fn=Object.prototype.hasOwnProperty;tn=function(e,t,r,n,o,a){var c=1&r,i=rn(e),u=i.length;if(u!=rn(t).length&&!c)return!1;for(var l=u;l--;){var s=i[l];if(!(c?s in t:fn.call(t,s)))return!1}var f=a.get(e),v=a.get(t);if(f&&v)return f==t&&v==e;var d=!0;a.set(e,t),a.set(t,e);for(var p=c;++l<u;){var b=e[s=i[l]],h=t[s];if(n)var g=c?n(h,b,s,t,e,a):n(b,h,s,e,t,a);if(!(void 0===g?b===h||o(b,h,r,n,a):g)){d=!1;break}p||(p="constructor"==s)}if(d&&!p){var y=e.constructor,m=t.constructor;y==m||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof m&&m instanceof m||(d=!1)}return a.delete(e),a.delete(t),d};var vn={},dn={};dn=nr(c,"DataView");var pn={};pn=nr(c,"Promise");var bn={};bn=nr(c,"Set");var hn={};hn=nr(c,"WeakMap");var gn="[object Map]",yn="[object Promise]",mn="[object Set]",_n="[object WeakMap]",kn="[object DataView]",jn=ur(dn),Cn=ur(rr),wn=ur(pn),An=ur(bn),On=ur(hn),Sn=Re;(dn&&Sn(new dn(new ArrayBuffer(1)))!=kn||rr&&Sn(new rr)!=gn||pn&&Sn(pn.resolve())!=yn||bn&&Sn(new bn)!=mn||hn&&Sn(new hn)!=_n)&&(Sn=function(e){var t=Re(e),r="[object Object]"==t?e.constructor:void 0,n=r?ur(r):"";if(n)switch(n){case jn:return kn;case Cn:return gn;case wn:return yn;case An:return mn;case On:return _n}return t}),vn=Sn;rt=o("7HKs8");var En="[object Arguments]",Hn="[object Array]",Rn="[object Object]",Pn=Object.prototype.hasOwnProperty;Lr=function(e,t,r,n,o,a){var c=Te(e),i=Te(t),u=c?Hn:vn(e),l=i?Hn:vn(t),s=(u=u==En?Rn:u)==Rn,f=(l=l==En?Rn:l)==Rn,v=u==l;if(v&&rt(e)){if(!rt(t))return!1;c=!0,s=!1}if(v&&!s)return a||(a=new Tt),c||ct(e)?Dr(e,t,r,n,o,a):Zr(e,t,u,r,n,o,a);if(!(1&r)){var d=s&&Pn.call(e,"__wrapped__"),p=f&&Pn.call(t,"__wrapped__");if(d||p){var b=d?e.value():e,h=p?t.value():t;return a||(a=new Tt),o(b,h,r,n,a)}}return!!v&&(a||(a=new Tt),tn(e,t,r,n,o,a))},Ur=function e(t,r,n,o,a){return t===r||(null==t||null==r||!Le(t)&&!Le(r)?t!=t&&r!=r:Lr(t,r,n,o,e,a))};Ft=function(e,t,r,n){var o=r.length,a=o,c=!n;if(null==e)return!a;for(e=Object(e);o--;){var i=r[o];if(c&&i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++o<a;){var u=(i=r[o])[0],l=e[u],s=i[1];if(c&&i[2]){if(void 0===l&&!(u in e))return!1}else{var f=new Tt;if(n)var v=n(l,s,u,e,t,f);if(!(void 0===v?Ur(s,l,3,n,f):v))return!1}}return!0};var xn={},Mn={};Mn=function(e){return e==e&&!jt(e)},xn=function(e){for(var t=Ge(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,Mn(o)]}return t};var Nn={};Nn=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}},It=function(e){var t=xn(e);return 1==t.length&&t[0][2]?Nn(t[0][0],t[0][1]):function(r){return r===e||Ft(r,e,t)}};var Bn={},zn={},In={},Fn={},Tn={},Un={};Un=function(e){return"symbol"==(void 0===e?"undefined":v(e))||Le(e)&&"[object Symbol]"==Re(e)};var Ln=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Dn=/^\w*$/;Tn=function(e,t){if(Te(e))return!1;var r=void 0===e?"undefined":v(e);return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Un(e))||(Dn.test(e)||!Ln.test(e)||null!=t&&e in Object(t))};var Wn={},Jn={};function qn(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var c=e.apply(this,n);return r.cache=a.set(o,c)||a,c};return r.cache=new(qn.Cache||_r),r}qn.Cache=_r,Jn=qn;var Kn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gn=/\\(\\)?/g,Zn=function(e){var t=Jn(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Kn,(function(e,r,n,o){t.push(n?o.replace(Gn,"$1"):r||e)})),t}));Wn=Zn;var $n={},Qn={},Vn=He?He.prototype:void 0,Yn=Vn?Vn.toString:void 0;Qn=function e(t){if("string"==typeof t)return t;if(Te(t))return Nt(t,e)+"";if(Un(t))return Yn?Yn.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r},$n=function(e){return null==e?"":Qn(e)},Fn=function(e,t){return Te(e)?e:Tn(e,t)?[e]:Wn($n(e))};var Xn={};Xn=function(e){if("string"==typeof e||Un(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t},In=function(e,t){for(var r=0,n=(t=Fn(t,e)).length;null!=e&&r<n;)e=e[Xn(t[r++])];return r&&r==n?e:void 0},zn=function(e,t,r){var n=null==e?void 0:In(e,t);return void 0===n?r:n};var eo,to={};eo=function(e,t){return null!=e&&t in Object(e)};var ro={};ro=function(e,t,r){for(var n=-1,o=(t=Fn(t,e)).length,a=!1;++n<o;){var c=Xn(t[n]);if(!(a=null!=e&&r(e,c)))break;e=e[c]}return a||++n!=o?a:!!(o=null==e?0:e.length)&&it(o)&&nt(c,o)&&(Te(e)||Qe(e))},to=function(e,t){return null!=e&&ro(e,t,eo)};Bn=function(e,t){return Tn(e)&&Mn(t)?Nn(Xn(e),t):function(r){var n=zn(r,e);return void 0===n&&n===t?to(r,e):Ur(t,n,3)}};var no={},oo={};oo=function(e){return function(t){return null==t?void 0:t[e]}};var ao={};ao=function(e){return function(t){return In(t,e)}},no=function(e){return Tn(e)?oo(Xn(e)):ao(e)},zt=function(e){return"function"==typeof e?e:null==e?Ct:"object"==typeof e?Te(e)?Bn(e[0],e[1]):It(e):no(e)};var co,io={};var uo=function(e,t){return function(r,n){if(null==r)return r;if(!_t(r))return e(r,n);for(var o=r.length,a=t?o:-1,c=Object(r);(t?a--:++a<o)&&!1!==n(c[a],a,c););return r}}(Je);io=uo,co=function(e,t){var r=-1,n=_t(e)?Array(e.length):[];return io(e,(function(e,o,a){n[++r]=t(e,o,a)})),n};var lo=so((function(e,t){return(Te(e)?Nt:co)(e,zt(t,3))}));function so(e){return e&&e.__esModule?e:{default:e}}var fo=Ee.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,lo.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return r.push(e)})):(0,Mt.default)(t)?(0,At.default)(t,(function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)})):(0,We.default)(t)&&r.push(t)})),r};Ee.default=fo;var vo=La(Ee),po={};Object.defineProperty(po,"__esModule",{value:!0}),po.mergeClasses=void 0;var bo=da(De),ho={},go={};go=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e};var yo={},mo={},_o={},ko=function(){try{var e=nr(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();_o=ko,mo=function(e,t,r){"__proto__"==t&&_o?_o(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r};var jo=Object.prototype.hasOwnProperty;yo=function(e,t,r){var n=e[t];jo.call(e,t)&&Wt(n,r)&&(void 0!==r||t in e)||mo(e,t,r)};var Co={},wo={};wo=function(e,t,r,n){var o=!r;r||(r={});for(var a=-1,c=t.length;++a<c;){var i=t[a],u=n?n(r[i],e[i],i,r,e):void 0;void 0===u&&(u=e[i]),o?mo(r,i,u):yo(r,i,u)}return r},Co=function(e,t){return e&&wo(t,Ge(t),e)};var Ao={},Oo={},So={},Eo={};Eo=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t};var Ho=Object.prototype.hasOwnProperty;So=function(e){if(!jt(e))return Eo(e);var t=pt(e),r=[];for(var n in e)("constructor"!=n||!t&&Ho.call(e,n))&&r.push(n);return r},Oo=function(e){return _t(e)?Ze(e,!0):So(e)},Ao=function(e,t){return e&&wo(t,Oo(t),e)};var Ro=o("4vs1M"),Po={};Po=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t};var xo={};xo=function(e,t){return wo(e,an(e),t)};var Mo={},No={},Bo=Object.getOwnPropertySymbols;No=Bo?function(e){for(var t=[];e;)on(t,an(e)),e=Ot(e);return t}:un,Mo=function(e,t){return wo(e,No(e),t)};var zo;zo=function(e){return nn(e,Oo,No)};var Io={},Fo=Object.prototype.hasOwnProperty;Io=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&Fo.call(e,"index")&&(r.index=e.index,r.input=e.input),r};var To={},Uo={};Uo=function(e){var t=new e.constructor(e.byteLength);return new $r(t).set(new $r(e)),t};var Lo={};Lo=function(e,t){var r=t?Uo(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)};var Do={},Wo=/\w*$/;Do=function(e){var t=new e.constructor(e.source,Wo.exec(e));return t.lastIndex=e.lastIndex,t};var Jo={},qo=He?He.prototype:void 0,Ko=qo?qo.valueOf:void 0;Jo=function(e){return Ko?Object(Ko.call(e)):{}};var Go={};Go=function(e,t){var r=t?Uo(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)};To=function(e,t,r){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return Uo(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return Lo(e,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 Go(e,r);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(e);case"[object RegExp]":return Do(e);case"[object Symbol]":return Jo(e)}};var Zo={},$o={},Qo=Object.create,Vo=function(){function e(){}return function(t){if(!jt(t))return{};if(Qo)return Qo(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();$o=Vo,Zo=function(e){return"function"!=typeof e.constructor||pt(e)?{}:$o(Ot(e))};rt=o("7HKs8");var Yo,Xo={};Yo=function(e){return Le(e)&&"[object Map]"==vn(e)};var ea=(oa=o("7vc1R"))&&oa.isMap,ta=ea?lt(ea):Yo;Xo=ta;var ra,na={};ra=function(e){return Le(e)&&"[object Set]"==vn(e)};var oa,aa=(oa=o("7vc1R"))&&oa.isSet,ca=aa?lt(aa):ra;na=ca;var ia="[object Arguments]",ua="[object Function]",la="[object Object]",sa={};sa["[object Arguments]"]=sa["[object Array]"]=sa["[object ArrayBuffer]"]=sa["[object DataView]"]=sa["[object Boolean]"]=sa["[object Date]"]=sa["[object Float32Array]"]=sa["[object Float64Array]"]=sa["[object Int8Array]"]=sa["[object Int16Array]"]=sa["[object Int32Array]"]=sa["[object Map]"]=sa["[object Number]"]=sa["[object Object]"]=sa["[object RegExp]"]=sa["[object Set]"]=sa["[object String]"]=sa["[object Symbol]"]=sa["[object Uint8Array]"]=sa["[object Uint8ClampedArray]"]=sa["[object Uint16Array]"]=sa["[object Uint32Array]"]=!0,sa["[object Error]"]=sa["[object Function]"]=sa["[object WeakMap]"]=!1,ho=function e(t,r,n,o,a,c){var i,u=1&r,l=2&r,s=4&r;if(n&&(i=a?n(t,o,a,c):n(t)),void 0!==i)return i;if(!jt(t))return t;var f=Te(t);if(f){if(i=Io(t),!u)return Po(t,i)}else{var v=vn(t),d=v==ua||"[object GeneratorFunction]"==v;if(rt(t))return Ro(t,u);if(v==la||v==ia||d&&!a){if(i=l||d?{}:Zo(t),!u)return l?Mo(t,Ao(i,t)):xo(t,Co(i,t))}else{if(!sa[v])return a?t:{};i=To(t,v,u)}}c||(c=new Tt);var p=c.get(t);if(p)return p;c.set(t,i),na(t)?t.forEach((function(o){i.add(e(o,r,n,o,t,c))})):Xo(t)&&t.forEach((function(o,a){i.set(a,e(o,r,n,a,t,c))}));var b=f?void 0:(s?l?zo:rn:l?Oo:Ge)(t);return go(b||t,(function(o,a){b&&(o=t[a=o]),yo(i,a,e(o,r,n,a,t,c))})),i};var fa=da((function(e){return ho(e,5)})),va=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function da(e){return e&&e.__esModule?e:{default:e}}var pa=po.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,fa.default)(e.default)||{};return t.map((function(t){var n=e[t];return n&&(0,bo.default)(n,(function(e,t){r[t]||(r[t]={}),r[t]=va({},r[t],n[t])})),t})),r};po.default=pa;var ba=La(po),ha={};Object.defineProperty(ha,"__esModule",{value:!0}),ha.autoprefix=void 0;var ga,ya=(ga=De)&&ga.__esModule?ga:{default:ga},ma=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};var _a={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var r=t[e];return r||{extend:e}}},ka=ha.autoprefix=function(e){var t={};return(0,ya.default)(e,(function(e,r){var n={};(0,ya.default)(e,(function(e,t){var r=_a[t];r?n=ma({},n,r(e)):n[t]=e})),t[r]=n})),t};ha.default=ka;var ja=La(ha),Ca={};Object.defineProperty(Ca,"__esModule",{value:!0}),Ca.hover=void 0;var wa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Aa=function(e){return e&&e.__esModule?e:{default:e}}(d);function Oa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sa(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function Ea(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":v(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Ha=Ca.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,o,a;Oa(this,n);for(var c=arguments.length,i=Array(c),u=0;u<c;u++)i[u]=arguments[u];return o=a=Sa(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(i))),a.state={hover:!1},a.handleMouseOver=function(){return a.setState({hover:!0})},a.handleMouseOut=function(){return a.setState({hover:!1})},a.render=function(){return Aa.default.createElement(t,{onMouseOver:a.handleMouseOver,onMouseOut:a.handleMouseOut},Aa.default.createElement(e,wa({},a.props,a.state)))},Sa(a,o)}return Ea(n,r),n}(Aa.default.Component)};Ca.default=Ha;var Ra=La(Ca),Pa={};Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.active=void 0;var xa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ma=function(e){return e&&e.__esModule?e:{default:e}}(d);function Na(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ba(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function za(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":v(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Ia=Pa.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,o,a;Na(this,n);for(var c=arguments.length,i=Array(c),u=0;u<c;u++)i[u]=arguments[u];return o=a=Ba(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(i))),a.state={active:!1},a.handleMouseDown=function(){return a.setState({active:!0})},a.handleMouseUp=function(){return a.setState({active:!1})},a.render=function(){return Ma.default.createElement(t,{onMouseDown:a.handleMouseDown,onMouseUp:a.handleMouseUp},Ma.default.createElement(e,xa({},a.props,a.state)))},Ba(a,o)}return za(n,r),n}(Ma.default.Component)};Pa.default=Ia;var Fa=La(Pa),Ta={};Object.defineProperty(Ta,"__esModule",{value:!0});Ta.default=function(e,t){var r={},n=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r[e]=t};return 0===e&&n("first-child"),e===t-1&&n("last-child"),(0===e||e%2==0)&&n("even"),1===Math.abs(e%2)&&n("odd"),n("nth-child",e),r};var Ua=La(Ta);function La(e){return e&&e.__esModule?e:{default:e}}Se.hover=Ra.default,Se.handleHover=Ra.default,Se.handleActive=Fa.default,Se.loop=Ua.default;var Da=Se.ReactCSS=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=(0,vo.default)(r),a=(0,ba.default)(e,o);return(0,ja.default)(a)};Se.default=Da;var Wa=function(e){var r=e.onChange,n=e.color,o=void 0===n?"":n,a=f(d.useState((function(){return o}))),c=a[0],i=a[1],u=d.useCallback((function(e){var t=e.target.value;2===t.length?t.includes("#")||t.includes("rg")||t.includes("hs")||(t="#"+t):3!==t.length&&6!==t.length||t.includes("#")||t.includes("rg")||t.includes("hs")||(t="#"+t),t=t.toLowerCase(),new RegExp(/(?:#|0x)(?:[a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})\b|(?:rgb|hsl)a?\([^\)]*\)/).test(t)&&r(t),i(t)}),[r]);d.useEffect((function(){i(o)}),[o]);var l=t(Se)({default:{colorPreviewWrapper:{backgroundImage:["RgbaColorPicker","RgbaStringColorPicker","HslaColorPicker","HslaStringColorPicker","HsvaColorPicker","HsvaStringColorPicker"].includes(e.pickerComponent)?'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==")':"none"},colorPreview:{backgroundColor:c}}});return React.createElement("div",{className:"kirki-color-input-wrapper"},React.createElement("div",{className:"kirki-color-input-control"},!e.useHueMode&&React.createElement("div",{className:"kirki-color-preview-wrapper",style:l.colorPreviewWrapper},React.createElement("button",{type:"button",className:"kirki-color-preview",style:l.colorPreview})),React.createElement("input",{type:"text",value:c,className:"kirki-color-input",spellCheck:"false",onChange:u})))},Ja=function(e){var t=e.colors,r=e.onClick;return React.createElement("div",{className:"kirki-color-swatches"},t.map((function(e,t){var n=e&&e.color?e.color:e;return React.createElement("button",{key:t.toString(),type:"button",className:"kirki-color-swatch","data-kirki-color":n,style:{backgroundColor:n},onClick:function(){return r(n)}})})))},qa={grad:.9,turn:360,rad:360/(2*Math.PI)},Ka=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},Ga=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Za=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e>t?e:t},$a=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},Qa=function(e){return{r:Za(e.r,0,255),g:Za(e.g,0,255),b:Za(e.b,0,255),a:Za(e.a)}},Va=function(e){return{r:Ga(e.r),g:Ga(e.g),b:Ga(e.b),a:Ga(e.a,3)}},Ya=/^#([0-9a-f]{3,8})$/i,Xa=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},ec=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=Math.max(t,r,n),c=a-Math.min(t,r,n),i=c?a===t?(r-n)/c:a===r?2+(n-t)/c:4+(t-r)/c:0;return{h:60*(i<0?i+6:i),s:a?c/a*100:0,v:a/255*100,a:o}},tc=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var a=Math.floor(t),c=n*(1-r),i=n*(1-(t-a)*r),u=n*(1-(1-t+a)*r),l=a%6;return{r:255*[n,i,c,c,u,n][l],g:255*[u,n,n,i,c,c][l],b:255*[c,c,u,n,n,i][l],a:o}},rc=function(e){return{h:$a(e.h),s:Za(e.s,0,100),l:Za(e.l,0,100),a:Za(e.a)}},nc=function(e){return{h:Ga(e.h),s:Ga(e.s),l:Ga(e.l),a:Ga(e.a,3)}},oc=function(e){var t,r,n;return tc((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}))},ac=function(e){var t,r,n,o;return{h:(t=ec(e)).h,s:(o=(200-(r=t.s))*(n=t.v)/100)>0&&o<200?r*n/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a}},cc=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ic=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,uc=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,lc=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,sc={string:[[function(e){var t=Ya.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?Ga(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?Ga(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=uc.exec(e)||lc.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:Qa({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(e){var t=cc.exec(e)||ic.exec(e);if(!t)return null;var r,n,o=rc({h:(r=t[1],n=t[2],void 0===n&&(n="deg"),Number(r)*(qa[n]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return oc(o)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=void 0===o?1:o;return Ka(t)&&Ka(r)&&Ka(n)?Qa({r:Number(t),g:Number(r),b:Number(n),a:Number(a)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,o=e.a,a=void 0===o?1:o;if(!Ka(t)||!Ka(r)||!Ka(n))return null;var c=rc({h:Number(t),s:Number(r),l:Number(n),a:Number(a)});return oc(c)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,o=e.a,a=void 0===o?1:o;if(!Ka(t)||!Ka(r)||!Ka(n))return null;var c,i=(c={h:Number(t),s:Number(r),v:Number(n),a:Number(a)},{h:$a(c.h),s:Za(c.s,0,100),v:Za(c.v,0,100),a:Za(c.a)});return tc(i)},"hsv"]]},fc=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},vc=function(e){return"string"==typeof e?fc(e.trim(),sc.string):"object"==typeof e&&null!==e?fc(e,sc.object):[null,void 0]},dc=function(e,t){var r=ac(e);return{h:r.h,s:Za(r.s+100*t,0,100),l:r.l,a:r.a}},pc=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},bc=function(e,t){var r=ac(e);return{h:r.h,s:r.s,l:Za(r.l+100*t,0,100),a:r.a}},hc=function(){function e(e){this.parsed=vc(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return Ga(pc(this.rgba),2)},e.prototype.isDark=function(){return pc(this.rgba)<.5},e.prototype.isLight=function(){return pc(this.rgba)>=.5},e.prototype.toHex=function(){var e,t,r,n,o,a;return t=(e=Va(this.rgba)).r,r=e.g,n=e.b,a=(o=e.a)<1?Xa(Ga(255*o)):"","#"+Xa(t)+Xa(r)+Xa(n)+a},e.prototype.toRgb=function(){return Va(this.rgba)},e.prototype.toRgbString=function(){var e,t,r,n,o;return t=(e=Va(this.rgba)).r,r=e.g,n=e.b,(o=e.a)<1?"rgba("+t+", "+r+", "+n+", "+o+")":"rgb("+t+", "+r+", "+n+")"},e.prototype.toHsl=function(){return nc(ac(this.rgba))},e.prototype.toHslString=function(){var e,t,r,n,o;return t=(e=nc(ac(this.rgba))).h,r=e.s,n=e.l,(o=e.a)<1?"hsla("+t+", "+r+"%, "+n+"%, "+o+")":"hsl("+t+", "+r+"%, "+n+"%)"},e.prototype.toHsv=function(){var e;return e=ec(this.rgba),{h:Ga(e.h),s:Ga(e.s),v:Ga(e.v),a:Ga(e.a,3)}},e.prototype.invert=function(){var e;return gc({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a})},e.prototype.saturate=function(e){return void 0===e&&(e=.1),gc(dc(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),gc(dc(this.rgba,-e))},e.prototype.grayscale=function(){return gc(dc(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),gc(bc(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),gc(bc(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){var t;return"number"==typeof e?gc({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):Ga(this.rgba.a,3)},e.prototype.hue=function(e){var t=ac(this.rgba);return"number"==typeof e?gc({h:e,s:t.s,l:t.l,a:t.a}):Ga(t.h)},e.prototype.isEqual=function(e){return this.toHex()===gc(e).toHex()},e}(),gc=function(e){return e instanceof hc?e:new hc(e)},yc=function(e,t){var r;switch(t){case"HexColorPicker":default:r=gc(e).toHex();break;case"RgbColorPicker":delete(r=gc(e).toRgb()).a;break;case"RgbStringColorPicker":r=gc(e).toRgbString();break;case"RgbaColorPicker":r=gc(e).toRgb();break;case"RgbaStringColorPicker":(r=gc(e).toRgbString()).includes("rgb")&&!r.includes("rgba")&&(r=(r=r.replace("rgb","rgba")).replace(")",", 1)"));break;case"HslColorPicker":delete(r=gc(e).toHsl()).a;break;case"HslStringColorPicker":r=gc(e).toHslString();break;case"HslaColorPicker":r=gc(e).toHsl();break;case"HslaStringColorPicker":(r=gc(e).toHslString()).includes("hsl")&&!r.includes("hsla")&&(r=(r=r.replace("hsl","hsla")).replace(")",", 1)"));break;case"HsvColorPicker":delete(r=gc(e).toHsv()).a;break;case"HsvStringColorPicker":var n=gc(e).toHsv();r="hsv("+n.h+", "+n.s+"%, "+n.v+"%)";break;case"HsvaColorPicker":r=gc(e).toHsv();break;case"HsvaStringColorPicker":var o=gc(e).toHsv();r="hsva("+o.h+", "+o.s+"%, "+o.v+"%, "+o.a+")"}return r},mc=function(e,t,r){var n,o,a;switch(t){case"HexColorPicker":default:a="string"==typeof e&&e.includes("#")?e:gc(e).toHex();break;case"RgbColorPicker":delete(a=gc(e).toRgb()).a;break;case"RgbStringColorPicker":a="string"==typeof e&&e.includes("rgb(")?e:gc(e).toRgbString();break;case"RgbaColorPicker":a=gc(e).toRgb();break;case"RgbaStringColorPicker":gc(e).toRgb().a<1?a="string"==typeof e&&e.includes("rgba")?e:gc(e).toRgbString():r?(a=gc(e).toRgbString()).includes("rgb")&&!a.includes("rgba")&&(a=(a=a.replace("rgb","rgba")).replace(")",", 1)")):a="string"==typeof e&&e.includes("#")?e:gc(e).toHex();break;case"HslColorPicker":delete(a=gc(e).toHsl()).a;break;case"HslStringColorPicker":a="string"==typeof e&&e.includes("hsl(")?e:gc(e).toHslString();break;case"HslaColorPicker":a=gc(e).toHsl();break;case"HslaStringColorPicker":(a=gc(e).toHslString()).includes("hsl")&&!a.includes("hsla")&&(a=(a=a.replace("hsl","hsla")).replace(")",", 1)"));break;case"HsvColorPicker":delete(a=gc(e).toHsv()).a;break;case"HsvStringColorPicker":a="hsv("+(n=gc(e).toHsv()).h+", "+n.s+"%, "+n.v+"%)";break;case"HsvaColorPicker":a=gc(e).toHsv();break;case"HsvaStringColorPicker":a="hsva("+(o=gc(e).toHsv()).h+", "+o.s+"%, "+o.v+"%, "+o.a+")"}return a},_c=function(e,t,r){var n,o,a;switch(t){case"HexColorPicker":a="string"==typeof e&&e.includes("#")?e:gc(e).toHex();break;case"RgbColorPicker":a="string"==typeof e&&e.includes("rgb(")?e:gc(e).toRgbString();break;case"RgbStringColorPicker":a="string"==typeof e&&e.includes("rgba")?e:gc(e).toRgbString();break;case"RgbaColorPicker":gc(e).toRgb().a<1?a="string"==typeof e&&e.includes("rgba")?e:gc(e).toRgbString():(a=gc(e).toRgbString()).includes("rgb")&&!a.includes("rgba")&&(a=(a=a.replace("rgb","rgba")).replace(")",", 1)"));break;case"RgbaStringColorPicker":1!=gc(e).toRgb().a||r?(a=gc(e).toRgbString()).includes("rgb")&&!a.includes("rgba")&&(a=(a=a.replace("rgb","rgba")).replace(")",", 1)")):a="string"==typeof e&&e.includes("#")?e:gc(e).toHex();break;case"HslColorPicker":case"HslStringColorPicker":a="string"==typeof e&&e.includes("hsl(")?e:gc(e).toHslString();break;case"HslaColorPicker":case"HslaStringColorPicker":(a=gc(e).toHslString()).includes("hsl")&&!a.includes("hsla")&&(a=(a=a.replace("hsl","hsla")).replace(")",", 1)"));break;case"HsvColorPicker":case"HsvStringColorPicker":a="hsv("+(n=gc(e).toHsv()).h+", "+n.s+"%, "+n.v+"%)";break;case"HsvaColorPicker":case"HsvaStringColorPicker":a="hsva("+(o=gc(e).toHsv()).h+", "+o.s+"%, "+o.v+"%, "+o.a+")";break;default:a=gc(e).toHex()}return a},kc=function(e,t,r){d.useEffect((function(){var n=!1,o=!1,a=function(a){n&&!o&&t.current&&!t.current.contains(a.target)&&e.current&&!e.current.contains(a.target)&&r()},c=function(r){n=t.current&&e.current,o=t.current&&t.current.contains(r.target)||e.current&&e.current.contains(r.target)};return document.addEventListener("mousedown",c),document.addEventListener("touchstart",c),document.addEventListener("click",a),function(){document.removeEventListener("mousedown",c),document.removeEventListener("touchstart",c),document.removeEventListener("click",a)}}),[t,e,r])},jc=function(e,t){d.useEffect((function(){var r=function(r){e.current&&(e.current.contains(r.target)||t())};return document.addEventListener("focus",r,!0),function(){document.removeEventListener("focus",r,!0)}}),[e,t])},Cc=function(e){d.useEffect((function(){var t=function(t){e()};return window.addEventListener("resize",t,!0),function(){window.removeEventListener("resize",t,!0)}}),[e])},wc=function(e){var r=e.color,n=void 0===r?"":r,o=f(d.useState((function(){return n}))),a=o[0],c=o[1];d.useEffect((function(){c(n)}),[n]);var i=t(Se)({default:{triggerButton:{backgroundImage:["RgbaColorPicker","RgbaStringColorPicker","HslaColorPicker","HslaStringColorPicker","HsvaColorPicker","HsvaStringColorPicker"].includes(e.pickerComponent)?'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==")':"none"},colorPreview:{backgroundColor:a||"transparent"}}});return React.createElement("div",{className:"kirki-trigger-circle-wrapper"},React.createElement("button",{type:"button",className:"kirki-trigger-circle",onClick:e.togglePickerHandler,style:i.triggerButton},React.createElement("div",{className:"kirki-color-preview",style:i.colorPreview})))},Ac=function(e){var t=e.control,r=e.customizerSetting,n=e.useHueMode,o=e.pickerComponent,a=e.choices,c=function(){return n?0:"#000000"},i=function(e){return(e=(e=e||c())<0?0:e)>360?360:e},u=function(e){return""===e?"":n?i(e):_c(e,o,a.formComponent).replace(";","")},l=function(e){return e=e||c(),n?{h:e,s:100,l:50}:yc(e,o)},s=f(d.useState((function(){return u(e.value)}))),v=s[0],p=s[1],b=f(d.useState((function(){return l(e.value)}))),h=b[0],g=b[1],y=v,m=h;t.updateComponentState=function(e){var t=u(e);("string"==typeof t||n?t!==v:JSON.stringify(t)!==JSON.stringify(y))&&p(t);var r=l(e);("string"==typeof r||n?r!==h:JSON.stringify(r)!==JSON.stringify(m))&&g(r)};var _=function(e){n?(e=e.h||0===e.h?e.h:e,e=i(e)):e=function(e){return""===e?"":mc(e,o,a.formComponent)}(e),r.set(e)},k=""!==e.default&&void 0!==e.default?e.default:e.value,j=React.createElement("span",{className:"customize-control-title",dangerouslySetInnerHTML:{__html:e.label}}),C=React.createElement("span",{className:"description customize-control-description",dangerouslySetInnerHTML:{__html:e.description}});j=React.createElement("label",{className:"kirki-control-label"},e.label?j:"",e.description?C:""),j=e.label||e.description?j:"";var w,A=d.useRef(null),O=d.useRef(null),S=d.useRef(null),E=f(d.useState(!1)),H=E[0],R=E[1],P="default"!==a.labelStyle,x=f(d.useState({})),M=x[0],N=x[1],B=function(){var e={};if(!P)return e;var r=window.getComputedStyle(t.container[0].parentNode).paddingLeft;r=2*parseInt(r,10),e.width=t.container[0].parentNode.getBoundingClientRect().width-r;var n=-1*(t.container[0].offsetLeft-9);return e.left=n+"px",e},z=function(){4===v.length&&v.includes("#")&&p(gc(v).toHex())},I=function(){H||(N(B()),z(),R(!0))},F=function(){H&&(R(!1),setTimeout(z,200))};switch(o){case"HexColorPicker":default:w=ee;break;case"RgbColorPicker":w=we;break;case"RgbStringColorPicker":w=Oe;break;case"RgbaColorPicker":w=_e;break;case"RgbaStringColorPicker":w=je;break;case"HueColorPicker":case"HslColorPicker":w=ue;break;case"HslStringColorPicker":w=se;break;case"HslaColorPicker":w=oe;break;case"HslaStringColorPicker":w=ce;break;case"HsvColorPicker":w=he;break;case"HsvStringColorPicker":w=ye;break;case"HsvaColorPicker":w=ve;break;case"HsvaStringColorPicker":w=pe}if(Cc((function(){N(B())})),jc(A,F),kc(O,S,F),jQuery.wp&&jQuery.wp.wpColorPicker){var T=jQuery.wp.wpColorPicker.prototype.options.palettes;if(Array.isArray(T)){if(T.length<8)for(var U=T.length;U<=8;U++)T.push(a.swatches[U]);a.swatches=T}}var L=React.createElement(React.Fragment,null,j,React.createElement("div",{className:"customize-control-notifications-container",ref:e.setNotificationContainer})),D=n?"kirki-control-form use-hue-mode":"kirki-control-form";D+=" has-"+a.labelStyle+"-label-style";var W=H?o+" colorPickerContainer is-open":o+" colorPickerContainer",J=React.createElement(React.Fragment,null,React.createElement("button",{type:"button",ref:S,className:"kirki-control-reset",onClick:function(){k||(y="",m=""),_(k)},style:{display:H?"flex":"none"}},React.createElement("i",{className:"dashicons dashicons-image-rotate"})),React.createElement(wc,{pickerComponent:o,useHueMode:n,color:n?gc({h:v,s:100,l:50}).toHex():v,isPickerOpen:H,togglePickerHandler:function(){H?F():I()}})),q=void 0;switch(a.labelStyle){case"tooltip":q=React.createElement(React.Fragment,null,J,!H&&React.createElement("div",{className:"kirki-label-tooltip"},L));break;case"top":q=React.createElement(React.Fragment,null,L,J);break;default:q=React.createElement(React.Fragment,null,React.createElement("div",{className:"kirki-control-cols"},React.createElement("div",{className:"kirki-control-left-col"},L),React.createElement("div",{className:"kirki-control-right-col"},J)))}return React.createElement(React.Fragment,null,React.createElement("div",{className:D,ref:A,tabIndex:"1"},q,React.createElement("div",{ref:O,className:W,style:M},!n&&React.createElement(Ja,{colors:a.swatches,onClick:function(e){_(e)}}),React.createElement(w,{color:h,onChange:function(t){e.onChange&&e.onChange(t),m=t,_(t)}}),React.createElement(Wa,{pickerComponent:o,useHueMode:n,color:v,onChange:function(e){y=e,_(e)}}))))};function Oc(){return Oc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Oc.apply(this,arguments)}var Sc=wp.customize.Control.extend({initialize:function(e,t){var r=this;r.setNotificationContainer=r.setNotificationContainer.bind(r),wp.customize.Control.prototype.initialize.call(r,e,t),wp.customize.control.bind("removed",(function e(t){r===t&&(r.destroy(),r.container.remove(),wp.customize.control.unbind("removed",e))}))},setNotificationContainer:function(e){this.notifications.container=jQuery(e),this.notifications.render()},renderContent:function(){var e,r=this,n="hue"===r.params.mode,o=r.params.choices;e=o.formComponent?o.formComponent:o.alpha?"RgbaStringColorPicker":"HexColorPicker",e=n?"HueColorPicker":e;var a=React.createElement(Ac,Oc({},r.params,{control:r,customizerSetting:r.setting,useHueMode:n,pickerComponent:e,value:r.params.value,setNotificationContainer:r.setNotificationContainer}));t(s).render(a,r.container[0])},ready:function(){var e=this;e.setting.bind((function(t){e.updateComponentState(t)}))},updateComponentState:function(){},destroy:function(){t(s).unmountComponentAtNode(this.container[0]),wp.customize.Control.prototype.destroy&&wp.customize.Control.prototype.destroy.call(this)}});wp.customize.controlConstructor["kirki-react-colorful"]=Sc}();
2
- //# sourceMappingURL=control.js.map
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}()}();
2
+ //# sourceMappingURL=control.js.map
packages/kirki-framework/control-react-colorful/dist/control.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":"wlBAIIA,EAAgC,iBAAXC,GAAuBA,IAAYA,EAAQC,UAAYD,EAG5EE,EAAaH,GAA4CI,IAAWA,EAAOF,UAAYE,EAMvFC,EAHgBF,GAAcA,EAAWF,UAAYD,EAG5BM,EAAAD,YAAcE,EAsBvCC,GAnBiBH,EAASA,EAAOG,cAAWD,IAmBfE,EAEjCL,EAAOH,QAAUO,gBCpCbE,EAA8B,iBAAVC,GAAsBA,GAAUA,EAAOC,SAAW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5B,SACjCvB,GAAGgB,UAAUC,QAAQj5B,UAAUu5B,QAAQr5B,KAPzBiU,SCnIpB6jB,GAAGgB,UAAUkB,mBAAmB,wBAA0BC","sources":["node_modules/lodash/isBuffer.js","node_modules/lodash/_freeGlobal.js","node_modules/lodash/_root.js","node_modules/lodash/stubFalse.js","node_modules/lodash/_nodeUtil.js","node_modules/lodash/_cloneBuffer.js","node_modules/@swc/helpers/src/_sliced_to_array.js","node_modules/@swc/helpers/src/_array_with_holes.js","node_modules/@swc/helpers/src/_iterable_to_array.js","node_modules/@swc/helpers/src/_non_iterable_rest.js","node_modules/@swc/helpers/src/_type_of.js","ReactDOM.js","node_modules/react-colorful/src/hooks/useEventCallback.ts","React.js","node_modules/react-colorful/src/utils/clamp.ts","node_modules/react-colorful/src/components/common/Interactive.tsx","node_modules/react-colorful/src/utils/format.ts","node_modules/react-colorful/src/components/common/Pointer.tsx","node_modules/react-colorful/src/utils/round.ts","node_modules/react-colorful/src/utils/convert.ts","node_modules/react-colorful/src/components/common/Hue.tsx","node_modules/react-colorful/src/components/common/Saturation.tsx","node_modules/react-colorful/src/utils/compare.ts","node_modules/react-colorful/src/hooks/useColorManipulation.ts","node_modules/react-colorful/src/utils/nonce.ts","node_modules/react-colorful/src/hooks/useIsomorphicLayoutEffect.ts","node_modules/react-colorful/src/hooks/useStyleSheet.ts","node_modules/react-colorful/src/components/common/ColorPicker.tsx","node_modules/react-colorful/src/components/HexColorPicker.tsx","node_modules/react-colorful/src/components/common/Alpha.tsx","node_modules/react-colorful/src/components/common/AlphaColorPicker.tsx","node_modules/react-colorful/src/components/HslaColorPicker.tsx","node_modules/react-colorful/src/components/HslaStringColorPicker.tsx","node_modules/react-colorful/src/components/HslColorPicker.tsx","node_modules/react-colorful/src/components/HslStringColorPicker.tsx","node_modules/react-colorful/src/components/HsvaColorPicker.tsx","node_modules/react-colorful/src/components/HsvaStringColorPicker.tsx","node_modules/react-colorful/src/components/HsvColorPicker.tsx","node_modules/react-colorful/src/components/HsvStringColorPicker.tsx","node_modules/react-colorful/src/components/RgbaColorPicker.tsx","node_modules/react-colorful/src/components/RgbaStringColorPicker.tsx","node_modules/react-colorful/src/components/RgbColorPicker.tsx","node_modules/react-colorful/src/components/RgbStringColorPicker.tsx","node_modules/reactcss/lib/index.js","node_modules/reactcss/lib/flattenNames.js","node_modules/lodash/_Symbol.js","node_modules/lodash/_getRawTag.js","node_modules/lodash/_objectToString.js","node_modules/lodash/_baseGetTag.js","node_modules/lodash/isArray.js","node_modules/lodash/isObjectLike.js","node_modules/lodash/isString.js","node_modules/lodash/_baseFor.js","node_modules/lodash/_createBaseFor.js","node_modules/lodash/_baseTimes.js","node_modules/lodash/_baseIsArguments.js","node_modules/lodash/isArguments.js","node_modules/lodash/_isIndex.js","node_modules/lodash/isLength.js","node_modules/lodash/_baseIsTypedArray.js","node_modules/lodash/_baseUnary.js","node_modules/lodash/isTypedArray.js","node_modules/lodash/_arrayLikeKeys.js","node_modules/lodash/_isPrototype.js","node_modules/lodash/_nativeKeys.js","node_modules/lodash/_overArg.js","node_modules/lodash/_baseKeys.js","node_modules/lodash/isObject.js","node_modules/lodash/isFunction.js","node_modules/lodash/isArrayLike.js","node_modules/lodash/keys.js","node_modules/lodash/_baseForOwn.js","node_modules/lodash/identity.js","node_modules/lodash/_castFunction.js","node_modules/lodash/forOwn.js","node_modules/lodash/_getPrototype.js","node_modules/lodash/isPlainObject.js","node_modules/lodash/_arrayMap.js","node_modules/lodash/_listCacheClear.js","node_modules/lodash/eq.js","node_modules/lodash/_assocIndexOf.js","node_modules/lodash/_listCacheDelete.js","node_modules/lodash/_listCacheGet.js","node_modules/lodash/_listCacheHas.js","node_modules/lodash/_ListCache.js","node_modules/lodash/_listCacheSet.js","node_modules/lodash/_stackClear.js","node_modules/lodash/_stackDelete.js","node_modules/lodash/_stackGet.js","node_modules/lodash/_stackHas.js","node_modules/lodash/_isMasked.js","node_modules/lodash/_coreJsData.js","node_modules/lodash/_toSource.js","node_modules/lodash/_baseIsNative.js","node_modules/lodash/_getValue.js","node_modules/lodash/_Map.js","node_modules/lodash/_getNative.js","node_modules/lodash/_nativeCreate.js","node_modules/lodash/_hashClear.js","node_modules/lodash/_hashDelete.js","node_modules/lodash/_hashGet.js","node_modules/lodash/_hashHas.js","node_modules/lodash/_Hash.js","node_modules/lodash/_hashSet.js","node_modules/lodash/_mapCacheClear.js","node_modules/lodash/_isKeyable.js","node_modules/lodash/_getMapData.js","node_modules/lodash/_mapCacheDelete.js","node_modules/lodash/_mapCacheGet.js","node_modules/lodash/_mapCacheHas.js","node_modules/lodash/_MapCache.js","node_modules/lodash/_mapCacheSet.js","node_modules/lodash/_Stack.js","node_modules/lodash/_stackSet.js","node_modules/lodash/_setCacheAdd.js","node_modules/lodash/_SetCache.js","node_modules/lodash/_setCacheHas.js","node_modules/lodash/_arraySome.js","node_modules/lodash/_cacheHas.js","node_modules/lodash/_equalArrays.js","node_modules/lodash/_Uint8Array.js","node_modules/lodash/_mapToArray.js","node_modules/lodash/_setToArray.js","node_modules/lodash/_equalByTag.js","node_modules/lodash/_arrayPush.js","node_modules/lodash/_baseGetAllKeys.js","node_modules/lodash/_arrayFilter.js","node_modules/lodash/stubArray.js","node_modules/lodash/_getSymbols.js","node_modules/lodash/_getAllKeys.js","node_modules/lodash/_equalObjects.js","node_modules/lodash/_DataView.js","node_modules/lodash/_Promise.js","node_modules/lodash/_Set.js","node_modules/lodash/_WeakMap.js","node_modules/lodash/_getTag.js","node_modules/lodash/_baseIsEqualDeep.js","node_modules/lodash/_baseIsEqual.js","node_modules/lodash/_baseIsMatch.js","node_modules/lodash/_isStrictComparable.js","node_modules/lodash/_getMatchData.js","node_modules/lodash/_matchesStrictComparable.js","node_modules/lodash/_baseMatches.js","node_modules/lodash/isSymbol.js","node_modules/lodash/_isKey.js","node_modules/lodash/memoize.js","node_modules/lodash/_stringToPath.js","node_modules/lodash/_memoizeCapped.js","node_modules/lodash/_baseToString.js","node_modules/lodash/toString.js","node_modules/lodash/_castPath.js","node_modules/lodash/_toKey.js","node_modules/lodash/_baseGet.js","node_modules/lodash/get.js","node_modules/lodash/_baseHasIn.js","node_modules/lodash/_hasPath.js","node_modules/lodash/hasIn.js","node_modules/lodash/_baseMatchesProperty.js","node_modules/lodash/_baseProperty.js","node_modules/lodash/_basePropertyDeep.js","node_modules/lodash/property.js","node_modules/lodash/_baseIteratee.js","node_modules/lodash/_baseEach.js","node_modules/lodash/_createBaseEach.js","node_modules/lodash/_baseMap.js","node_modules/lodash/map.js","node_modules/reactcss/lib/mergeClasses.js","node_modules/lodash/_arrayEach.js","node_modules/lodash/_defineProperty.js","node_modules/lodash/_baseAssignValue.js","node_modules/lodash/_assignValue.js","node_modules/lodash/_copyObject.js","node_modules/lodash/_baseAssign.js","node_modules/lodash/_nativeKeysIn.js","node_modules/lodash/_baseKeysIn.js","node_modules/lodash/keysIn.js","node_modules/lodash/_baseAssignIn.js","node_modules/lodash/_copyArray.js","node_modules/lodash/_copySymbols.js","node_modules/lodash/_getSymbolsIn.js","node_modules/lodash/_copySymbolsIn.js","node_modules/lodash/_getAllKeysIn.js","node_modules/lodash/_initCloneArray.js","node_modules/lodash/_cloneArrayBuffer.js","node_modules/lodash/_cloneDataView.js","node_modules/lodash/_cloneRegExp.js","node_modules/lodash/_cloneSymbol.js","node_modules/lodash/_cloneTypedArray.js","node_modules/lodash/_initCloneByTag.js","node_modules/lodash/_baseCreate.js","node_modules/lodash/_initCloneObject.js","node_modules/lodash/_baseIsMap.js","node_modules/lodash/isMap.js","node_modules/lodash/_baseIsSet.js","node_modules/lodash/isSet.js","node_modules/lodash/_baseClone.js","node_modules/lodash/cloneDeep.js","node_modules/reactcss/lib/autoprefix.js","node_modules/reactcss/lib/components/hover.js","node_modules/reactcss/lib/components/active.js","node_modules/reactcss/lib/loop.js","src/js/components/KirkiReactColorfulInput.js","src/js/components/KirkiReactColorfulSwatches.js","node_modules/colord/index.mjs","src/js/utils/convertColorForPicker.js","src/js/utils/convertColorForCustomizer.js","src/js/utils/convertColorForInput.js","src/js/hooks/useClickOutside.js","src/js/hooks/useFocusOutside.js","src/js/hooks/useWindowResize.js","src/js/components/KirkiReactColorfulCIrcle.js","src/KirkiReactColorfulForm.js","src/KirkiReactColorfulControl.js","src/control.js"],"sourcesContent":["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","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\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","/**\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 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","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","import arrayWithHoles from './_array_with_holes';\nimport iterableToArrayLimit from './_iterable_to_array';\nimport nonIterableRest from './_non_iterable_rest';\n\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || nonIterableRest();\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n","export default function _iterableToArray(iter) {\n if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n}\n","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n}\n","export default function _typeof(obj) {\n return obj && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n};\n","module.exports=ReactDOM;","import { useRef } from \"react\";\n\n// Saves incoming handler to the ref in order to avoid \"useCallback hell\"\nexport function useEventCallback<T>(handler?: (value: T) => void): (value: T) => void {\n const callbackRef = useRef(handler);\n const fn = useRef((value: T) => {\n callbackRef.current && callbackRef.current(value);\n });\n callbackRef.current = handler;\n\n return fn.current;\n}\n","module.exports=React;","// Clamps a value between an upper and lower bound.\n// We use ternary operators because it makes the minified code\n// 2 times shorter then `Math.min(Math.max(a,b),c)`\nexport const clamp = (number: number, min = 0, max = 1): number => {\n return number > max ? max : number < min ? min : number;\n};\n","import React, { useRef, useMemo, useEffect } from \"react\";\n\nimport { useEventCallback } from \"../../hooks/useEventCallback\";\nimport { clamp } from \"../../utils/clamp\";\n\nexport interface Interaction {\n left: number;\n top: number;\n}\n\n// Check if an event was triggered by touch\nconst isTouch = (event: MouseEvent | TouchEvent): event is TouchEvent => \"touches\" in event;\n\n// Finds a proper touch point by its identifier\nconst getTouchPoint = (touches: TouchList, touchId: null | number): Touch => {\n for (let i = 0; i < touches.length; i++) {\n if (touches[i].identifier === touchId) return touches[i];\n }\n return touches[0];\n};\n\n// Finds the proper window object to fix iframe embedding issues\nconst getParentWindow = (node?: HTMLDivElement | null): Window => {\n return (node && node.ownerDocument.defaultView) || self;\n};\n\n// Returns a relative position of the pointer inside the node's bounding box\nconst getRelativePosition = (\n node: HTMLDivElement,\n event: MouseEvent | TouchEvent,\n touchId: null | number\n): Interaction => {\n const rect = node.getBoundingClientRect();\n\n // Get user's pointer position from `touches` array if it's a `TouchEvent`\n const pointer = isTouch(event) ? getTouchPoint(event.touches, touchId) : (event as MouseEvent);\n\n return {\n left: clamp((pointer.pageX - (rect.left + getParentWindow(node).pageXOffset)) / rect.width),\n top: clamp((pointer.pageY - (rect.top + getParentWindow(node).pageYOffset)) / rect.height),\n };\n};\n\n// Browsers introduced an intervention, making touch events passive by default.\n// This workaround removes `preventDefault` call from the touch handlers.\n// https://github.com/facebook/react/issues/19651\nconst preventDefaultMove = (event: MouseEvent | TouchEvent): void => {\n !isTouch(event) && event.preventDefault();\n};\n\n// Prevent mobile browsers from handling mouse events (conflicting with touch ones).\n// If we detected a touch interaction before, we prefer reacting to touch events only.\nconst isInvalid = (event: MouseEvent | TouchEvent, hasTouch: boolean): boolean => {\n return hasTouch && !isTouch(event);\n};\n\ninterface Props {\n onMove: (interaction: Interaction) => void;\n onKey: (offset: Interaction) => void;\n children: React.ReactNode;\n}\n\nconst InteractiveBase = ({ onMove, onKey, ...rest }: Props) => {\n const container = useRef<HTMLDivElement>(null);\n const onMoveCallback = useEventCallback<Interaction>(onMove);\n const onKeyCallback = useEventCallback<Interaction>(onKey);\n const touchId = useRef<null | number>(null);\n const hasTouch = useRef(false);\n\n const [handleMoveStart, handleKeyDown, toggleDocumentEvents] = useMemo(() => {\n const handleMoveStart = ({ nativeEvent }: React.MouseEvent | React.TouchEvent) => {\n const el = container.current;\n if (!el) return;\n\n // Prevent text selection\n preventDefaultMove(nativeEvent);\n\n if (isInvalid(nativeEvent, hasTouch.current) || !el) return;\n\n if (isTouch(nativeEvent)) {\n hasTouch.current = true;\n const changedTouches = nativeEvent.changedTouches || [];\n if (changedTouches.length) touchId.current = changedTouches[0].identifier;\n }\n\n el.focus();\n onMoveCallback(getRelativePosition(el, nativeEvent, touchId.current));\n toggleDocumentEvents(true);\n };\n\n const handleMove = (event: MouseEvent | TouchEvent) => {\n // Prevent text selection\n preventDefaultMove(event);\n\n // If user moves the pointer outside of the window or iframe bounds and release it there,\n // `mouseup`/`touchend` won't be fired. In order to stop the picker from following the cursor\n // after the user has moved the mouse/finger back to the document, we check `event.buttons`\n // and `event.touches`. It allows us to detect that the user is just moving his pointer\n // without pressing it down\n const isDown = isTouch(event) ? event.touches.length > 0 : event.buttons > 0;\n\n if (isDown && container.current) {\n onMoveCallback(getRelativePosition(container.current, event, touchId.current));\n } else {\n toggleDocumentEvents(false);\n }\n };\n\n const handleMoveEnd = () => toggleDocumentEvents(false);\n\n const handleKeyDown = (event: React.KeyboardEvent) => {\n const keyCode = event.which || event.keyCode;\n\n // Ignore all keys except arrow ones\n if (keyCode < 37 || keyCode > 40) return;\n // Do not scroll page by arrow keys when document is focused on the element\n event.preventDefault();\n // Send relative offset to the parent component.\n // We use codes (37←, 38↑, 39→, 40↓) instead of keys ('ArrowRight', 'ArrowDown', etc)\n // to reduce the size of the library\n onKeyCallback({\n left: keyCode === 39 ? 0.05 : keyCode === 37 ? -0.05 : 0,\n top: keyCode === 40 ? 0.05 : keyCode === 38 ? -0.05 : 0,\n });\n };\n\n function toggleDocumentEvents(state?: boolean) {\n const touch = hasTouch.current;\n const el = container.current;\n const parentWindow = getParentWindow(el);\n\n // Add or remove additional pointer event listeners\n const toggleEvent = state ? parentWindow.addEventListener : parentWindow.removeEventListener;\n toggleEvent(touch ? \"touchmove\" : \"mousemove\", handleMove);\n toggleEvent(touch ? \"touchend\" : \"mouseup\", handleMoveEnd);\n }\n\n return [handleMoveStart, handleKeyDown, toggleDocumentEvents];\n }, [onKeyCallback, onMoveCallback]);\n\n // Remove window event listeners before unmounting\n useEffect(() => toggleDocumentEvents, [toggleDocumentEvents]);\n\n return (\n <div\n {...rest}\n onTouchStart={handleMoveStart}\n onMouseDown={handleMoveStart}\n className=\"react-colorful__interactive\"\n ref={container}\n onKeyDown={handleKeyDown}\n tabIndex={0}\n role=\"slider\"\n />\n );\n};\n\nexport const Interactive = React.memo(InteractiveBase);\n","export const formatClassName = (names: unknown[]): string => names.filter(Boolean).join(\" \");\n","import React from \"react\";\nimport { formatClassName } from \"../../utils/format\";\n\ninterface Props {\n className?: string;\n top?: number;\n left: number;\n color: string;\n}\n\nexport const Pointer = ({ className, color, left, top = 0.5 }: Props): JSX.Element => {\n const nodeClassName = formatClassName([\"react-colorful__pointer\", className]);\n\n const style = {\n top: `${top * 100}%`,\n left: `${left * 100}%`,\n };\n\n return (\n <div className={nodeClassName} style={style}>\n <div className=\"react-colorful__pointer-fill\" style={{ backgroundColor: color }} />\n </div>\n );\n};\n","export const round = (number: number, digits = 0, base = Math.pow(10, digits)): number => {\n return Math.round(base * number) / base;\n};\n","import { round } from \"./round\";\nimport { RgbaColor, RgbColor, HslaColor, HslColor, HsvaColor, HsvColor } from \"../types\";\n\n/**\n * Valid CSS <angle> units.\n * https://developer.mozilla.org/en-US/docs/Web/CSS/angle\n */\nconst angleUnits: Record<string, number> = {\n grad: 360 / 400,\n turn: 360,\n rad: 360 / (Math.PI * 2),\n};\n\nexport const hexToHsva = (hex: string): HsvaColor => rgbaToHsva(hexToRgba(hex));\n\nexport const hexToRgba = (hex: string): RgbaColor => {\n if (hex[0] === \"#\") hex = hex.substr(1);\n\n if (hex.length < 6) {\n return {\n r: parseInt(hex[0] + hex[0], 16),\n g: parseInt(hex[1] + hex[1], 16),\n b: parseInt(hex[2] + hex[2], 16),\n a: 1,\n };\n }\n\n return {\n r: parseInt(hex.substr(0, 2), 16),\n g: parseInt(hex.substr(2, 2), 16),\n b: parseInt(hex.substr(4, 2), 16),\n a: 1,\n };\n};\n\nexport const parseHue = (value: string, unit = \"deg\"): number => {\n return Number(value) * (angleUnits[unit] || 1);\n};\n\nexport const hslaStringToHsva = (hslString: string): HsvaColor => {\n const matcher = /hsla?\\(?\\s*(-?\\d*\\.?\\d+)(deg|rad|grad|turn)?[,\\s]+(-?\\d*\\.?\\d+)%?[,\\s]+(-?\\d*\\.?\\d+)%?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i;\n const match = matcher.exec(hslString);\n\n if (!match) return { h: 0, s: 0, v: 0, a: 1 };\n\n return hslaToHsva({\n h: parseHue(match[1], match[2]),\n s: Number(match[3]),\n l: Number(match[4]),\n a: match[5] === undefined ? 1 : Number(match[5]) / (match[6] ? 100 : 1),\n });\n};\n\nexport const hslStringToHsva = hslaStringToHsva;\n\nexport const hslaToHsva = ({ h, s, l, a }: HslaColor): HsvaColor => {\n s *= (l < 50 ? l : 100 - l) / 100;\n\n return {\n h: h,\n s: s > 0 ? ((2 * s) / (l + s)) * 100 : 0,\n v: l + s,\n a,\n };\n};\n\nexport const hsvaToHex = (hsva: HsvaColor): string => rgbaToHex(hsvaToRgba(hsva));\n\nexport const hsvaToHsla = ({ h, s, v, a }: HsvaColor): HslaColor => {\n const hh = ((200 - s) * v) / 100;\n\n return {\n h: round(h),\n s: round(hh > 0 && hh < 200 ? ((s * v) / 100 / (hh <= 100 ? hh : 200 - hh)) * 100 : 0),\n l: round(hh / 2),\n a: round(a, 2),\n };\n};\n\nexport const hsvaToHslString = (hsva: HsvaColor): string => {\n const { h, s, l } = hsvaToHsla(hsva);\n return `hsl(${h}, ${s}%, ${l}%)`;\n};\n\nexport const hsvaToHsvString = (hsva: HsvaColor): string => {\n const { h, s, v } = roundHsva(hsva);\n return `hsv(${h}, ${s}%, ${v}%)`;\n};\n\nexport const hsvaToHsvaString = (hsva: HsvaColor): string => {\n const { h, s, v, a } = roundHsva(hsva);\n return `hsva(${h}, ${s}%, ${v}%, ${a})`;\n};\n\nexport const hsvaToHslaString = (hsva: HsvaColor): string => {\n const { h, s, l, a } = hsvaToHsla(hsva);\n return `hsla(${h}, ${s}%, ${l}%, ${a})`;\n};\n\nexport const hsvaToRgba = ({ h, s, v, a }: HsvaColor): RgbaColor => {\n h = (h / 360) * 6;\n s = s / 100;\n v = v / 100;\n\n const hh = Math.floor(h),\n b = v * (1 - s),\n c = v * (1 - (h - hh) * s),\n d = v * (1 - (1 - h + hh) * s),\n module = hh % 6;\n\n return {\n r: round([v, c, b, b, d, v][module] * 255),\n g: round([d, v, v, c, b, b][module] * 255),\n b: round([b, b, d, v, v, c][module] * 255),\n a: round(a, 2),\n };\n};\n\nexport const hsvaToRgbString = (hsva: HsvaColor): string => {\n const { r, g, b } = hsvaToRgba(hsva);\n return `rgb(${r}, ${g}, ${b})`;\n};\n\nexport const hsvaToRgbaString = (hsva: HsvaColor): string => {\n const { r, g, b, a } = hsvaToRgba(hsva);\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n};\n\nexport const hsvaStringToHsva = (hsvString: string): HsvaColor => {\n const matcher = /hsva?\\(?\\s*(-?\\d*\\.?\\d+)(deg|rad|grad|turn)?[,\\s]+(-?\\d*\\.?\\d+)%?[,\\s]+(-?\\d*\\.?\\d+)%?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i;\n const match = matcher.exec(hsvString);\n\n if (!match) return { h: 0, s: 0, v: 0, a: 1 };\n\n return roundHsva({\n h: parseHue(match[1], match[2]),\n s: Number(match[3]),\n v: Number(match[4]),\n a: match[5] === undefined ? 1 : Number(match[5]) / (match[6] ? 100 : 1),\n });\n};\n\nexport const hsvStringToHsva = hsvaStringToHsva;\n\nexport const rgbaStringToHsva = (rgbaString: string): HsvaColor => {\n const matcher = /rgba?\\(?\\s*(-?\\d*\\.?\\d+)(%)?[,\\s]+(-?\\d*\\.?\\d+)(%)?[,\\s]+(-?\\d*\\.?\\d+)(%)?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i;\n const match = matcher.exec(rgbaString);\n\n if (!match) return { h: 0, s: 0, v: 0, a: 1 };\n\n return rgbaToHsva({\n r: Number(match[1]) / (match[2] ? 100 / 255 : 1),\n g: Number(match[3]) / (match[4] ? 100 / 255 : 1),\n b: Number(match[5]) / (match[6] ? 100 / 255 : 1),\n a: match[7] === undefined ? 1 : Number(match[7]) / (match[8] ? 100 : 1),\n });\n};\n\nexport const rgbStringToHsva = rgbaStringToHsva;\n\nconst format = (number: number) => {\n const hex = number.toString(16);\n return hex.length < 2 ? \"0\" + hex : hex;\n};\n\nexport const rgbaToHex = ({ r, g, b }: RgbaColor): string => {\n return \"#\" + format(r) + format(g) + format(b);\n};\n\nexport const rgbaToHsva = ({ r, g, b, a }: RgbaColor): HsvaColor => {\n const max = Math.max(r, g, b);\n const delta = max - Math.min(r, g, b);\n\n // prettier-ignore\n const hh = delta\n ? max === r\n ? (g - b) / delta\n : max === g\n ? 2 + (b - r) / delta\n : 4 + (r - g) / delta\n : 0;\n\n return {\n h: round(60 * (hh < 0 ? hh + 6 : hh)),\n s: round(max ? (delta / max) * 100 : 0),\n v: round((max / 255) * 100),\n a,\n };\n};\n\nexport const roundHsva = (hsva: HsvaColor): HsvaColor => ({\n h: round(hsva.h),\n s: round(hsva.s),\n v: round(hsva.v),\n a: round(hsva.a, 2),\n});\n\nexport const rgbaToRgb = ({ r, g, b }: RgbaColor): RgbColor => ({ r, g, b });\n\nexport const hslaToHsl = ({ h, s, l }: HslaColor): HslColor => ({ h, s, l });\n\nexport const hsvaToHsv = (hsva: HsvaColor): HsvColor => {\n const { h, s, v } = roundHsva(hsva);\n return { h, s, v };\n};\n","import React from \"react\";\n\nimport { Interactive, Interaction } from \"./Interactive\";\nimport { Pointer } from \"./Pointer\";\n\nimport { hsvaToHslString } from \"../../utils/convert\";\nimport { formatClassName } from \"../../utils/format\";\nimport { clamp } from \"../../utils/clamp\";\nimport { round } from \"../../utils/round\";\n\ninterface Props {\n className?: string;\n hue: number;\n onChange: (newHue: { h: number }) => void;\n}\n\nconst HueBase = ({ className, hue, onChange }: Props) => {\n const handleMove = (interaction: Interaction) => {\n onChange({ h: 360 * interaction.left });\n };\n\n const handleKey = (offset: Interaction) => {\n // Hue measured in degrees of the color circle ranging from 0 to 360\n onChange({\n h: clamp(hue + offset.left * 360, 0, 360),\n });\n };\n\n const nodeClassName = formatClassName([\"react-colorful__hue\", className]);\n\n return (\n <div className={nodeClassName}>\n <Interactive\n onMove={handleMove}\n onKey={handleKey}\n aria-label=\"Hue\"\n aria-valuetext={round(hue)}\n >\n <Pointer\n className=\"react-colorful__hue-pointer\"\n left={hue / 360}\n color={hsvaToHslString({ h: hue, s: 100, v: 100, a: 1 })}\n />\n </Interactive>\n </div>\n );\n};\n\nexport const Hue = React.memo(HueBase);\n","import React from \"react\";\nimport { Interactive, Interaction } from \"./Interactive\";\nimport { Pointer } from \"./Pointer\";\nimport { HsvaColor } from \"../../types\";\nimport { hsvaToHslString } from \"../../utils/convert\";\nimport { clamp } from \"../../utils/clamp\";\nimport { round } from \"../../utils/round\";\n\ninterface Props {\n hsva: HsvaColor;\n onChange: (newColor: { s: number; v: number }) => void;\n}\n\nconst SaturationBase = ({ hsva, onChange }: Props) => {\n const handleMove = (interaction: Interaction) => {\n onChange({\n s: interaction.left * 100,\n v: 100 - interaction.top * 100,\n });\n };\n\n const handleKey = (offset: Interaction) => {\n // Saturation and brightness always fit into [0, 100] range\n onChange({\n s: clamp(hsva.s + offset.left * 100, 0, 100),\n v: clamp(hsva.v - offset.top * 100, 0, 100),\n });\n };\n\n const containerStyle = {\n backgroundColor: hsvaToHslString({ h: hsva.h, s: 100, v: 100, a: 1 }),\n };\n\n return (\n <div className=\"react-colorful__saturation\" style={containerStyle}>\n <Interactive\n onMove={handleMove}\n onKey={handleKey}\n aria-label=\"Color\"\n aria-valuetext={`Saturation ${round(hsva.s)}%, Brightness ${round(hsva.v)}%`}\n >\n <Pointer\n className=\"react-colorful__saturation-pointer\"\n top={1 - hsva.v / 100}\n left={hsva.s / 100}\n color={hsvaToHslString(hsva)}\n />\n </Interactive>\n </div>\n );\n};\n\nexport const Saturation = React.memo(SaturationBase);\n","import { hexToRgba } from \"./convert\";\nimport { ObjectColor } from \"../types\";\n\nexport const equalColorObjects = (first: ObjectColor, second: ObjectColor): boolean => {\n if (first === second) return true;\n\n for (const prop in first) {\n // The following allows for a type-safe calling of this function (first & second have to be HSL, HSV, or RGB)\n // with type-unsafe iterating over object keys. TS does not allow this without an index (`[key: string]: number`)\n // on an object to define how iteration is normally done. To ensure extra keys are not allowed on our types,\n // we must cast our object to unknown (as RGB demands `r` be a key, while `Record<string, x>` does not care if\n // there is or not), and then as a type TS can iterate over.\n if (\n ((first as unknown) as Record<string, number>)[prop] !==\n ((second as unknown) as Record<string, number>)[prop]\n )\n return false;\n }\n\n return true;\n};\n\nexport const equalColorString = (first: string, second: string): boolean => {\n return first.replace(/\\s/g, \"\") === second.replace(/\\s/g, \"\");\n};\n\nexport const equalHex = (first: string, second: string): boolean => {\n if (first.toLowerCase() === second.toLowerCase()) return true;\n\n // To compare colors like `#FFF` and `ffffff` we convert them into RGB objects\n return equalColorObjects(hexToRgba(first), hexToRgba(second));\n};\n","import { useState, useEffect, useCallback, useRef } from \"react\";\nimport { ColorModel, AnyColor, HsvaColor } from \"../types\";\nimport { equalColorObjects } from \"../utils/compare\";\nimport { useEventCallback } from \"./useEventCallback\";\n\nexport function useColorManipulation<T extends AnyColor>(\n colorModel: ColorModel<T>,\n color: T,\n onChange?: (color: T) => void\n): [HsvaColor, (color: Partial<HsvaColor>) => void] {\n // Save onChange callback in the ref for avoiding \"useCallback hell\"\n const onChangeCallback = useEventCallback<T>(onChange);\n\n // No matter which color model is used (HEX, RGB(A) or HSL(A)),\n // all internal calculations are based on HSVA model\n const [hsva, updateHsva] = useState<HsvaColor>(() => colorModel.toHsva(color));\n\n // By using this ref we're able to prevent extra updates\n // and the effects recursion during the color conversion\n const cache = useRef({ color, hsva });\n\n // Update local HSVA-value if `color` property value is changed,\n // but only if that's not the same color that we just sent to the parent\n useEffect(() => {\n if (!colorModel.equal(color, cache.current.color)) {\n const newHsva = colorModel.toHsva(color);\n cache.current = { hsva: newHsva, color };\n updateHsva(newHsva);\n }\n }, [color, colorModel]);\n\n // Trigger `onChange` callback only if an updated color is different from cached one;\n // save the new color to the ref to prevent unnecessary updates\n useEffect(() => {\n let newColor;\n if (\n !equalColorObjects(hsva, cache.current.hsva) &&\n !colorModel.equal((newColor = colorModel.fromHsva(hsva)), cache.current.color)\n ) {\n cache.current = { hsva, color: newColor };\n onChangeCallback(newColor);\n }\n }, [hsva, colorModel, onChangeCallback]);\n\n // Merge the current HSVA color object with updated params.\n // For example, when a child component sends `h` or `s` only\n const handleChange = useCallback((params: Partial<HsvaColor>) => {\n updateHsva((current) => Object.assign({}, current, params));\n }, []);\n\n return [hsva, handleChange];\n}\n","declare const __webpack_nonce__: string | undefined;\nlet nonce: string | undefined;\n\n/**\n * Returns a nonce hash included by Webpack or the one defined manually by developer.\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/nonce\n * https://webpack.js.org/guides/csp/\n */\nexport const getNonce = (): string | undefined => {\n if (nonce) return nonce;\n if (typeof __webpack_nonce__ !== \"undefined\") return __webpack_nonce__;\n return undefined;\n};\n\n/**\n * Signs the style tag with a base64-encoded string (nonce) to conforms to Content Security Policies.\n * This function has to be invoked before any picker is rendered if you aren't using Webpack for CSP.\n */\nexport const setNonce = (hash: string): void => {\n nonce = hash;\n};\n","import { useLayoutEffect, useEffect } from \"react\";\n\n// React currently throws a warning when using useLayoutEffect on the server.\n// To get around it, we can conditionally useEffect on the server (no-op) and\n// useLayoutEffect in the browser.\nexport const useIsomorphicLayoutEffect =\n typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n","import { RefObject } from \"react\";\n\nimport { useIsomorphicLayoutEffect } from \"./useIsomorphicLayoutEffect\";\nimport { getNonce } from \"../utils/nonce\";\n\n// Bundler is configured to load this as a processed minified CSS-string\nimport styles from \"../css/styles.css\";\n\nconst styleElementMap: Map<Document, HTMLStyleElement> = new Map();\n\n/**\n * Injects CSS code into the document's <head>\n */\nexport const useStyleSheet = (nodeRef: RefObject<HTMLDivElement>): void => {\n useIsomorphicLayoutEffect(() => {\n const parentDocument = nodeRef.current ? nodeRef.current.ownerDocument : document;\n\n if (typeof parentDocument !== \"undefined\" && !styleElementMap.has(parentDocument)) {\n const styleElement = parentDocument.createElement(\"style\");\n styleElement.innerHTML = styles;\n styleElementMap.set(parentDocument, styleElement);\n\n // Conform to CSP rules by setting `nonce` attribute to the inline styles\n const nonce = getNonce();\n if (nonce) styleElement.setAttribute(\"nonce\", nonce);\n\n parentDocument.head.appendChild(styleElement);\n }\n }, []);\n};\n","import React, { useRef } from \"react\";\n\nimport { Hue } from \"./Hue\";\nimport { Saturation } from \"./Saturation\";\n\nimport { ColorModel, ColorPickerBaseProps, AnyColor } from \"../../types\";\nimport { useColorManipulation } from \"../../hooks/useColorManipulation\";\nimport { useStyleSheet } from \"../../hooks/useStyleSheet\";\nimport { formatClassName } from \"../../utils/format\";\n\ninterface Props<T extends AnyColor> extends Partial<ColorPickerBaseProps<T>> {\n colorModel: ColorModel<T>;\n}\n\nexport const ColorPicker = <T extends AnyColor>({\n className,\n colorModel,\n color = colorModel.defaultColor,\n onChange,\n ...rest\n}: Props<T>): JSX.Element => {\n const nodeRef = useRef<HTMLDivElement>(null);\n useStyleSheet(nodeRef);\n\n const [hsva, updateHsva] = useColorManipulation<T>(colorModel, color, onChange);\n\n const nodeClassName = formatClassName([\"react-colorful\", className]);\n\n return (\n <div {...rest} ref={nodeRef} className={nodeClassName}>\n <Saturation hsva={hsva} onChange={updateHsva} />\n <Hue hue={hsva.h} onChange={updateHsva} className=\"react-colorful__last-control\" />\n </div>\n );\n};\n","import React from \"react\";\n\nimport { ColorPicker } from \"./common/ColorPicker\";\nimport { ColorModel, ColorPickerBaseProps } from \"../types\";\nimport { equalHex } from \"../utils/compare\";\nimport { hexToHsva, hsvaToHex } from \"../utils/convert\";\n\nconst colorModel: ColorModel<string> = {\n defaultColor: \"000\",\n toHsva: hexToHsva,\n fromHsva: hsvaToHex,\n equal: equalHex,\n};\n\nexport const HexColorPicker = (props: Partial<ColorPickerBaseProps<string>>): JSX.Element => (\n <ColorPicker {...props} colorModel={colorModel} />\n);\n","import React from \"react\";\n\nimport { Interactive, Interaction } from \"./Interactive\";\nimport { Pointer } from \"./Pointer\";\n\nimport { hsvaToHslaString } from \"../../utils/convert\";\nimport { formatClassName } from \"../../utils/format\";\nimport { clamp } from \"../../utils/clamp\";\nimport { round } from \"../../utils/round\";\nimport { HsvaColor } from \"../../types\";\n\ninterface Props {\n className?: string;\n hsva: HsvaColor;\n onChange: (newAlpha: { a: number }) => void;\n}\n\nexport const Alpha = ({ className, hsva, onChange }: Props): JSX.Element => {\n const handleMove = (interaction: Interaction) => {\n onChange({ a: interaction.left });\n };\n\n const handleKey = (offset: Interaction) => {\n // Alpha always fit into [0, 1] range\n onChange({ a: clamp(hsva.a + offset.left) });\n };\n\n // We use `Object.assign` instead of the spread operator\n // to prevent adding the polyfill (about 150 bytes gzipped)\n const colorFrom = hsvaToHslaString(Object.assign({}, hsva, { a: 0 }));\n const colorTo = hsvaToHslaString(Object.assign({}, hsva, { a: 1 }));\n\n const gradientStyle = {\n backgroundImage: `linear-gradient(90deg, ${colorFrom}, ${colorTo})`,\n };\n\n const nodeClassName = formatClassName([\"react-colorful__alpha\", className]);\n\n return (\n <div className={nodeClassName}>\n <div className=\"react-colorful__alpha-gradient\" style={gradientStyle} />\n <Interactive\n onMove={handleMove}\n onKey={handleKey}\n aria-label=\"Alpha\"\n aria-valuetext={`${round(hsva.a * 100)}%`}\n >\n <Pointer\n className=\"react-colorful__alpha-pointer\"\n left={hsva.a}\n color={hsvaToHslaString(hsva)}\n />\n </Interactive>\n </div>\n );\n};\n","import React, { useRef } from \"react\";\n\nimport { Hue } from \"./Hue\";\nimport { Saturation } from \"./Saturation\";\nimport { Alpha } from \"./Alpha\";\n\nimport { ColorModel, ColorPickerBaseProps, AnyColor } from \"../../types\";\nimport { useColorManipulation } from \"../../hooks/useColorManipulation\";\nimport { useStyleSheet } from \"../../hooks/useStyleSheet\";\nimport { formatClassName } from \"../../utils/format\";\n\ninterface Props<T extends AnyColor> extends Partial<ColorPickerBaseProps<T>> {\n colorModel: ColorModel<T>;\n}\n\nexport const AlphaColorPicker = <T extends AnyColor>({\n className,\n colorModel,\n color = colorModel.defaultColor,\n onChange,\n ...rest\n}: Props<T>): JSX.Element => {\n const nodeRef = useRef<HTMLDivElement>(null);\n useStyleSheet(nodeRef);\n\n const [hsva, updateHsva] = useColorManipulation<T>(colorModel, color, onChange);\n\n const nodeClassName = formatClassName([\"react-colorful\", className]);\n\n return (\n <div {...rest} ref={nodeRef} className={nodeClassName}>\n <Saturation hsva={hsva} onChange={updateHsva} />\n <Hue hue={hsva.h} onChange={updateHsva} />\n <Alpha hsva={hsva} onChange={updateHsva} className=\"react-colorful__last-control\" />\n </div>\n );\n};\n","import React from \"react\";\n\nimport { AlphaColorPicker } from \"./common/AlphaColorPicker\";\nimport { ColorModel, ColorPickerBaseProps, HslaColor } from \"../types\";\nimport { equalColorObjects } from \"../utils/compare\";\nimport { hslaToHsva, hsvaToHsla } from \"../utils/convert\";\n\nconst colorModel: ColorModel<HslaColor> = {\n defaultColor: { h: 0, s: 0, l: 0, a: 1 },\n toHsva: hslaToHsva,\n fromHsva: hsvaToHsla,\n equal: equalColorObjects,\n};\n\nexport const HslaColorPicker = (props: Partial<ColorPickerBaseProps<HslaColor>>): JSX.Element => (\n <AlphaColorPicker {...props} colorModel={colorModel} />\n);\n","import React from \"react\";\n\nimport { AlphaColorPicker } from \"./common/AlphaColorPicker\";\nimport { ColorModel, ColorPickerBaseProps } from \"../types\";\nimport { equalColorString } from \"../utils/compare\";\nimport { hslaStringToHsva, hsvaToHslaString } from \"../utils/convert\";\n\nconst colorModel: ColorModel<string> = {\n defaultColor: \"hsla(0, 0%, 0%, 1)\",\n toHsva: hslaStringToHsva,\n fromHsva: hsvaToHslaString,\n equal: equalColorString,\n};\n\nexport const HslaStringColorPicker = (\n props: Partial<ColorPickerBaseProps<string>>\n): JSX.Element => <AlphaColorPicker {...props} colorModel={colorModel} />;\n","import React from \"react\";\n\nimport { ColorPicker } from \"./common/ColorPicker\";\nimport { ColorModel, ColorPickerBaseProps, HslColor } from \"../types\";\nimport { equalColorObjects } from \"../utils/compare\";\nimport { hslaToHsva, hsvaToHsla, hslaToHsl } from \"../utils/convert\";\n\nconst colorModel: ColorModel<HslColor> = {\n defaultColor: { h: 0, s: 0, l: 0 },\n toHsva: ({ h, s, l }) => hslaToHsva({ h, s, l, a: 1 }),\n fromHsva: (hsva) => hslaToHsl(hsvaToHsla(hsva)),\n equal: equalColorObjects,\n};\n\nexport const HslColorPicker = (props: Partial<ColorPickerBaseProps<HslColor>>): JSX.Element => (\n <ColorPicker {...props} colorModel={colorModel} />\n);\n","import React from \"react\";\n\nimport { ColorPicker } from \"./common/ColorPicker\";\nimport { ColorModel, ColorPickerBaseProps } from \"../types\";\nimport { equalColorString } from \"../utils/compare\";\nimport { hslStringToHsva, hsvaToHslString } from \"../utils/convert\";\n\nconst colorModel: ColorModel<string> = {\n defaultColor: \"hsl(0, 0%, 0%)\",\n toHsva: hslStringToHsva,\n fromHsva: hsvaToHslString,\n equal: equalColorString,\n};\n\nexport const HslStringColorPicker = (props: Partial<ColorPickerBaseProps<string>>): JSX.Element => (\n <ColorPicker {...props} colorModel={colorModel} />\n);\n","import React from \"react\";\n\nimport { AlphaColorPicker } from \"./common/AlphaColorPicker\";\nimport { ColorModel, ColorPickerBaseProps, HsvaColor } from \"../types\";\nimport { equalColorObjects } from \"../utils/compare\";\nimport { roundHsva } from \"../utils/convert\";\n\nconst colorModel: ColorModel<HsvaColor> = {\n defaultColor: { h: 0, s: 0, v: 0, a: 1 },\n toHsva: (hsva) => hsva,\n fromHsva: roundHsva,\n equal: equalColorObjects,\n};\n\nexport const HsvaColorPicker = (props: Partial<ColorPickerBaseProps<HsvaColor>>): JSX.Element => (\n <AlphaColorPicker {...props} colorModel={colorModel} />\n);\n","import React from \"react\";\n\nimport { AlphaColorPicker } from \"./common/AlphaColorPicker\";\nimport { ColorModel, ColorPickerBaseProps } from \"../types\";\nimport { equalColorString } from \"../utils/compare\";\nimport { hsvaStringToHsva, hsvaToHsvaString } from \"../utils/convert\";\n\nconst colorModel: ColorModel<string> = {\n defaultColor: \"hsva(0, 0%, 0%, 1)\",\n toHsva: hsvaStringToHsva,\n fromHsva: hsvaToHsvaString,\n equal: equalColorString,\n};\n\nexport const HsvaStringColorPicker = (\n props: Partial<ColorPickerBaseProps<string>>\n): JSX.Element => <AlphaColorPicker {...props} colorModel={colorModel} />;\n","import React from \"react\";\n\nimport { ColorPicker } from \"./common/ColorPicker\";\nimport { ColorModel, ColorPickerBaseProps, HsvColor } from \"../types\";\nimport { equalColorObjects } from \"../utils/compare\";\nimport { hsvaToHsv } from \"../utils/convert\";\n\nconst colorModel: ColorModel<HsvColor> = {\n defaultColor: { h: 0, s: 0, v: 0 },\n toHsva: ({ h, s, v }) => ({ h, s, v, a: 1 }),\n fromHsva: hsvaToHsv,\n equal: equalColorObjects,\n};\n\nexport const HsvColorPicker = (props: Partial<ColorPickerBaseProps<HsvColor>>): JSX.Element => (\n <ColorPicker {...props} colorModel={colorModel} />\n);\n","import React from \"react\";\n\nimport { ColorPicker } from \"./common/ColorPicker\";\nimport { ColorModel, ColorPickerBaseProps } from \"../types\";\nimport { equalColorString } from \"../utils/compare\";\nimport { hsvStringToHsva, hsvaToHsvString } from \"../utils/convert\";\n\nconst colorModel: ColorModel<string> = {\n defaultColor: \"hsv(0, 0%, 0%)\",\n toHsva: hsvStringToHsva,\n fromHsva: hsvaToHsvString,\n equal: equalColorString,\n};\n\nexport const HsvStringColorPicker = (props: Partial<ColorPickerBaseProps<string>>): JSX.Element => (\n <ColorPicker {...props} colorModel={colorModel} />\n);\n","import React from \"react\";\n\nimport { AlphaColorPicker } from \"./common/AlphaColorPicker\";\nimport { ColorModel, ColorPickerBaseProps, RgbaColor } from \"../types\";\nimport { equalColorObjects } from \"../utils/compare\";\nimport { rgbaToHsva, hsvaToRgba } from \"../utils/convert\";\n\nconst colorModel: ColorModel<RgbaColor> = {\n defaultColor: { r: 0, g: 0, b: 0, a: 1 },\n toHsva: rgbaToHsva,\n fromHsva: hsvaToRgba,\n equal: equalColorObjects,\n};\n\nexport const RgbaColorPicker = (props: Partial<ColorPickerBaseProps<RgbaColor>>): JSX.Element => (\n <AlphaColorPicker {...props} colorModel={colorModel} />\n);\n","import React from \"react\";\n\nimport { AlphaColorPicker } from \"./common/AlphaColorPicker\";\nimport { ColorModel, ColorPickerBaseProps } from \"../types\";\nimport { equalColorString } from \"../utils/compare\";\nimport { rgbaStringToHsva, hsvaToRgbaString } from \"../utils/convert\";\n\nconst colorModel: ColorModel<string> = {\n defaultColor: \"rgba(0, 0, 0, 1)\",\n toHsva: rgbaStringToHsva,\n fromHsva: hsvaToRgbaString,\n equal: equalColorString,\n};\n\nexport const RgbaStringColorPicker = (\n props: Partial<ColorPickerBaseProps<string>>\n): JSX.Element => <AlphaColorPicker {...props} colorModel={colorModel} />;\n","import React from \"react\";\n\nimport { ColorPicker } from \"./common/ColorPicker\";\nimport { ColorModel, ColorPickerBaseProps, RgbColor } from \"../types\";\nimport { equalColorObjects } from \"../utils/compare\";\nimport { rgbaToHsva, hsvaToRgba, rgbaToRgb } from \"../utils/convert\";\n\nconst colorModel: ColorModel<RgbColor> = {\n defaultColor: { r: 0, g: 0, b: 0 },\n toHsva: ({ r, g, b }) => rgbaToHsva({ r, g, b, a: 1 }),\n fromHsva: (hsva) => rgbaToRgb(hsvaToRgba(hsva)),\n equal: equalColorObjects,\n};\n\nexport const RgbColorPicker = (props: Partial<ColorPickerBaseProps<RgbColor>>): JSX.Element => (\n <ColorPicker {...props} colorModel={colorModel} />\n);\n","import React from \"react\";\n\nimport { ColorPicker } from \"./common/ColorPicker\";\nimport { ColorModel, ColorPickerBaseProps } from \"../types\";\nimport { equalColorString } from \"../utils/compare\";\nimport { rgbStringToHsva, hsvaToRgbString } from \"../utils/convert\";\n\nconst colorModel: ColorModel<string> = {\n defaultColor: \"rgb(0, 0, 0)\",\n toHsva: rgbStringToHsva,\n fromHsva: hsvaToRgbString,\n equal: equalColorString,\n};\n\nexport const RgbStringColorPicker = (props: Partial<ColorPickerBaseProps<string>>): JSX.Element => (\n <ColorPicker {...props} colorModel={colorModel} />\n);\n","'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});\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;","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\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","/** 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","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 * 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","/**\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 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 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","/**\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","/**\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 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 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","/** 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","/** 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 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","/**\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","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 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","/** 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 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 * 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 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","/**\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","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","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 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 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","/**\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 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 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 overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\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","/**\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 * 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","/**\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 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 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 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 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 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 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","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\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 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","/**\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 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 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 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 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 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 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","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","/**\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 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 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 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 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","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 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","/** 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","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","/**\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 * 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","/**\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 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 root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\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 * 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 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","/**\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","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","/**\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","/**\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","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 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 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","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 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 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","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","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 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 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 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","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","/**\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 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 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 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","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 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 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 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","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","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 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","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 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","/**\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 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 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","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","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","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 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 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","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 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","'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;","/**\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","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 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 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 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 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","/**\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 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 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 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","/**\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 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 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 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 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","/** 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 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 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","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 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 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","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 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","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 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 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 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","'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.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.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});\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;","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 { 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 { 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 { 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 { 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 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":["freeExports","exports","nodeType","freeModule","module","Buffer","$67910ad3df1b1086$exports","undefined","isBuffer","$jjS2x","$fb170ba8a9c2191f$var$freeGlobal","$parcel$global","Object","$fb170ba8a9c2191f$exports","$67910ad3df1b1086$var$freeSelf","self","$67910ad3df1b1086$var$root","Function","freeProcess","process","nodeUtil","types","require","binding","e","allocUnsafe","buffer","isDeep","slice","length","result","constructor","copy","arr","i","Array","isArray","$6e00726c30bb8aa8$export$2e2bcd8739ae039","iter","Symbol","iterator","prototype","toString","call","from","$8664303016091545$export$2e2bcd8739ae039","TypeError","$9e1e3aff84b72d71$export$2e2bcd8739ae039","obj","ReactDOM","useEventCallback","handler","callbackRef","useRef","fn","value","current","React","clamp","number","min","max","isTouch","event","getParentWindow","node","ownerDocument","defaultView","getRelativePosition","touchId","rect","getBoundingClientRect","pointer","touches","identifier","left","pageX","pageXOffset","width","top","pageY","pageYOffset","height","preventDefaultMove","preventDefault","Interactive","memo","o1","onMove","onKey","rest","container","onMoveCallback","onKeyCallback","hasTouch","x","useMemo","handleMove","buttons","toggleDocumentEvents","handleMoveEnd","state","touch","parentWindow","toggleEvent","addEventListener","removeEventListener","e4","nativeEvent","el","changedTouches","focus","keyCode","which","handleMoveStart","handleKeyDown","useEffect","onTouchStart","onMouseDown","className","ref","onKeyDown","tabIndex","role","formatClassName","names","filter","Boolean","join","Pointer","r","color","o","nodeClassName","style","backgroundColor","round","digits","base","Math","pow","angleUnits","grad","turn","rad","PI","hexToRgba","hex","substr","parseInt","g","b","a","parseHue","unit","Number","hslaStringToHsva","hslString","match","exec","hslaToHsva","h","s","l","v","hslStringToHsva","hsvaToHsla","hh","hsvaToHslString","hsva","hsvaToHslaString","hsvaToRgba","floor","c","d","hsvaStringToHsva","hsvString","roundHsva","hsvStringToHsva","rgbaStringToHsva","rgbaString","rgbaToHsva","rgbStringToHsva","format","delta","Hue","hue","onChange","interaction","offset","aria-label","aria-valuetext","Saturation","containerStyle","equalColorObjects","first","second","prop","equalColorString","replace","useColorManipulation","colorModel","onChangeCallback","useState","toHsva","updateHsva","cache","equal","newHsva","newColor","fromHsva","handleChange","useCallback","params","assign","nonce","useIsomorphicLayoutEffect","window","useLayoutEffect","styleElementMap","Map","useStyleSheet","nodeRef","parentDocument","document","has","styleElement","createElement","innerHTML","set","__webpack_nonce__","setAttribute","head","appendChild","ColorPicker","t","defaultColor","toLowerCase","HexColorPicker","props","Alpha","gradientStyle","backgroundImage","AlphaColorPicker","HslaColorPicker","HslaStringColorPicker","HslColorPicker","HslStringColorPicker","HsvaColorPicker","HsvaStringColorPicker","HsvColorPicker","HsvStringColorPicker","RgbaColorPicker","RgbaStringColorPicker","RgbColorPicker","RgbStringColorPicker","defineProperty","$e812653e67a6d710$exports","ReactCSS","loop","handleActive","handleHover","hover","$f318b0aeed5cca99$exports","flattenNames","$a090581360ce8173$exports","$f2cc4cee927d37c7$var$objectProto","$f2cc4cee927d37c7$var$hasOwnProperty","hasOwnProperty","$f2cc4cee927d37c7$var$nativeObjectToString","$f2cc4cee927d37c7$var$symToStringTag","toStringTag","$f2cc4cee927d37c7$exports","isOwn","tag","unmasked","$934b51efa189f09c$var$nativeObjectToString","$934b51efa189f09c$exports","$852d1f971b259156$var$symToStringTag","$852d1f971b259156$exports","$8cb3ae215df00a00$var$isArray","$8cb3ae215df00a00$exports","$5475ba594a8bdf91$exports","$f318b0aeed5cca99$var$_isString3","$f318b0aeed5cca99$var$_interopRequireDefault","$964779a63aa00972$var$baseFor","fromRight","object","iteratee","keysFunc","index","iterable","key","$5167005b932b675c$exports","$964779a63aa00972$exports","$29cd5707c05bf6b8$exports","n","$673e072344569ebe$exports","$c09020d853f4dd56$var$objectProto","$c09020d853f4dd56$var$hasOwnProperty","$c09020d853f4dd56$var$propertyIsEnumerable","propertyIsEnumerable","$c09020d853f4dd56$var$isArguments","arguments","$c09020d853f4dd56$exports","$1a5c8861aefb5e25$var$reIsUint","$1a5c8861aefb5e25$exports","type","$ee4fec65ef715af7$export$2e2bcd8739ae039","test","$9ad3d04370aa37c9$exports","$404e7686b4834cf1$var$typedArrayTags","$404e7686b4834cf1$exports","$a37b20fb7156577b$exports","func","$32e7db2a0777bb6d$var$nodeIsTypedArray","$7vc1R","isTypedArray","$32e7db2a0777bb6d$var$isTypedArray","$32e7db2a0777bb6d$exports","$1a01a48c6e6e7ac2$var$hasOwnProperty","$1a01a48c6e6e7ac2$exports","inherited","isArr","isArg","isBuff","$7HKs8","isType","skipIndexes","String","push","$9fb63971f28e98ce$var$objectProto","$9fb63971f28e98ce$exports","Ctor","$d1eeca103b9aa761$var$nativeKeys","$10bd1c09b9f64069$exports","transform","arg","keys","$d1eeca103b9aa761$exports","$eb634362e8bab00b$var$hasOwnProperty","$eb634362e8bab00b$exports","$db5dfd0661742a1a$exports","$63bef038e059393f$exports","$887f7dd95a2dee62$exports","$b104760b34d6b7b1$exports","$c40d9c5aec6b4ec6$exports","$836ffceb73715ab3$exports","$a83757e5168931b6$exports","$f318b0aeed5cca99$var$_forOwn3","$29f32b5d9ce7155d$exports","$7a9433312306cf5b$var$getPrototype","getPrototypeOf","$7a9433312306cf5b$exports","$58f2645d8a82ddb4$var$funcProto","$58f2645d8a82ddb4$var$objectProto","$58f2645d8a82ddb4$var$funcToString","$58f2645d8a82ddb4$var$hasOwnProperty","$58f2645d8a82ddb4$var$objectCtorString","$f318b0aeed5cca99$var$_isPlainObject3","proto","$c0d7b47ee8b12bf1$exports","array","$ed640afc4605eeaf$exports","this","__data__","size","$6f80be9883321bbe$exports","other","$a5c18ae4f7c751db$exports","$8dacab0aad959c1a$var$splice","splice","$8dacab0aad959c1a$exports","data","pop","$822f7d857aa2dcb8$exports","$5edb34374c74a495$exports","$9655ef897f0bbdba$var$ListCache","entries","clear","entry","$315b693937a70245$exports","get","$9655ef897f0bbdba$exports","$f4765b9de3cd25a2$exports","$4e48da7de9bc0080$exports","$21c09588dffa6b32$exports","$2739006159eb7a0c$exports","uid","$69576d09d95c0935$var$coreJsData","$989d09d10c86a3af$var$maskSrcKey","$69576d09d95c0935$exports","IE_PROTO","$989d09d10c86a3af$exports","$3d1b4ae41857d3b0$var$funcToString","$3d1b4ae41857d3b0$exports","e1","$105e649bd3deec51$var$reIsHostCtor","$105e649bd3deec51$var$funcProto","$105e649bd3deec51$var$objectProto","$105e649bd3deec51$var$funcToString","$105e649bd3deec51$var$hasOwnProperty","$105e649bd3deec51$var$reIsNative","RegExp","$105e649bd3deec51$exports","$5c63d0177b86ffa5$exports","$1b8f1205e4056240$var$Map","$97e6c72a80d118d2$exports","$1b8f1205e4056240$exports","$1a89124de4ced368$var$nativeCreate","$1a89124de4ced368$exports","$8fe1870119bc2ce4$exports","$7b046508d0c4b2bb$exports","$570123ba6240e679$var$hasOwnProperty","$570123ba6240e679$exports","$75e6b0027cb55f48$var$hasOwnProperty","$75e6b0027cb55f48$exports","$1e733182a9700f13$var$Hash","$315cb19b5f7dc6c3$exports","$1e733182a9700f13$exports","$b06f33fda863a736$exports","hash","map","string","$3bd39081531a18a3$exports","$ee96f1b7eaa44ac5$exports","$5f4eea80c864f4a3$exports","$54d2d6191fb8ab24$exports","$e8338a2a89515313$exports","$f6389c21d76f2f82$var$MapCache","$26a7fc4b70d5469b$exports","$f6389c21d76f2f82$exports","$8bfbce7e35b86105$var$Stack","$0ab5431b23eb293c$exports","pairs","$0ab5431b23eb293c$var$LARGE_ARRAY_SIZE","$8bfbce7e35b86105$exports","$868090bb248ca2fc$exports","$32da07863e46acec$var$SetCache","values","add","$ba2e6a93841338dc$exports","$32da07863e46acec$exports","$71c492a50c15e5ea$exports","predicate","$c0081f1c22a5c7b6$exports","$d78075cec53d5845$exports","bitmask","customizer","equalFunc","stack","isPartial","arrLength","othLength","arrStacked","othStacked","seen","arrValue","othValue1","compared","othValue","othIndex","$ddf8457b0c355418$var$Uint8Array","Uint8Array","$ddf8457b0c355418$exports","$65965bd4fe27ade2$exports","forEach","$eee7f5e5109334c4$exports","$a632bfd5cacb9484$var$symbolProto","$a632bfd5cacb9484$var$symbolValueOf","valueOf","$a632bfd5cacb9484$exports","byteLength","byteOffset","name","message","convert","stacked","$3fc9dba05ba16d53$exports","$9d3e3231281d182b$exports","symbolsFunc","$68bbccdd4a21a80e$exports","resIndex","$11b31dfc90d4eeeb$exports","$0eabf8f27c57cf11$var$propertyIsEnumerable","$0eabf8f27c57cf11$var$nativeGetSymbols","getOwnPropertySymbols","$0eabf8f27c57cf11$exports","symbol","$860bb4b6843d7563$exports","$b4663e3cbde1ff22$var$hasOwnProperty","$b4663e3cbde1ff22$exports","objProps","objLength","objStacked","skipCtor","objValue","objCtor","othCtor","$17dcac0166b81916$exports","$94f6808d7ce0e1fd$exports","$1a2f39184944fa46$exports","$7138f8441ce5e43e$exports","$e16b2168665de4fd$var$mapTag","$e16b2168665de4fd$var$promiseTag","$e16b2168665de4fd$var$setTag","$e16b2168665de4fd$var$weakMapTag","$e16b2168665de4fd$var$dataViewTag","$e16b2168665de4fd$var$dataViewCtorString","$e16b2168665de4fd$var$mapCtorString","$e16b2168665de4fd$var$promiseCtorString","$e16b2168665de4fd$var$setCtorString","$e16b2168665de4fd$var$weakMapCtorString","$e16b2168665de4fd$var$getTag","ArrayBuffer","resolve","ctorString","$e16b2168665de4fd$exports","$bfbd466526f8d698$var$argsTag","$bfbd466526f8d698$var$arrayTag","$bfbd466526f8d698$var$objectTag","$bfbd466526f8d698$var$hasOwnProperty","$bfbd466526f8d698$exports","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","$6219f680e6e19178$exports","$6219f680e6e19178$var$baseIsEqual","$85df9b6b26a2a3d6$exports","source","matchData","noCustomizer","srcValue","$85df9b6b26a2a3d6$var$COMPARE_PARTIAL_FLAG","$fdfd165136cf00fc$exports","$9d7de89299ad2e3c$exports","$84046984492b1213$exports","$1a6ab9420533a54c$exports","$b7350b23d035986b$exports","$ebf30b1c72800438$var$reIsDeepProp","$ebf30b1c72800438$var$reIsPlainProp","$ebf30b1c72800438$exports","$af3456543921feb4$var$memoize","resolver","memoized","args","apply","Cache","$af3456543921feb4$exports","$2171f479fe1b9e27$var$rePropName","$2171f479fe1b9e27$var$reEscapeChar","$2171f479fe1b9e27$var$stringToPath","$b8ba2ed78ec192fa$exports","charCodeAt","quote","subString","$2171f479fe1b9e27$exports","$c59f41c766f8804e$var$symbolProto","$c59f41c766f8804e$var$symbolToString","$c59f41c766f8804e$exports","$c59f41c766f8804e$var$baseToString","$22f1dff9b3c6ff0c$exports","$026916563a5fc8ad$exports","$e56d6cac75d4b6e0$exports","$01f8d472cea3b7ad$exports","path","$37f57525b6598a05$exports","defaultValue","$c33ef5d4bef3db8d$exports","$f29e6f17be0e64f1$exports","hasFunc","$ef091009ae184c05$exports","$f70cedfd69c2edab$exports","$f70cedfd69c2edab$var$COMPARE_PARTIAL_FLAG","$805c81fb4b9151f2$exports","$93a5b3a3d4a8ecc6$exports","$3931b06dee0ed94b$exports","$52849359d0c345c9$exports","$eb9d77a605684a7d$var$baseEach","eachFunc","collection","$c808fa36ed14e2e9$exports","$eb9d77a605684a7d$exports","$20f6957cb6a19f51$exports","collection1","$f318b0aeed5cca99$var$_map3","__esModule","default","$f318b0aeed5cca99$var$flattenNames","things","thing","$e812653e67a6d710$var$_flattenNames2","$e812653e67a6d710$var$_interopRequireDefault","$d39edcb6084a59a9$exports","mergeClasses","$d39edcb6084a59a9$var$_forOwn3","$d39edcb6084a59a9$var$_interopRequireDefault","$e883f280c82ab4ba$exports","$f6dfd7dc5e5ac807$var$defineProperty","$f6dfd7dc5e5ac807$exports","$48f1054f3ca5da26$exports","configurable","enumerable","writable","$6a410827939ce210$var$hasOwnProperty","$6a410827939ce210$exports","$31c6b882f05692c6$exports","isNew","newValue","$2ce1a18ea44c4deb$exports","$292ee6609f4e7a59$exports","$a4e56b5838b2897c$var$hasOwnProperty","$a4e56b5838b2897c$exports","isProto","$9db77247add89d2e$exports","$2f9edf92839feaff$exports","$cf08566b5f17aa4f$exports","$f8d658d15a2edcd4$exports","$d5293e6fa7b2b339$var$nativeGetSymbols","$d5293e6fa7b2b339$exports","$928edd92858e1662$exports","$ddc827b5ca2f5f3f$exports","$7d0a900e76da2d15$var$hasOwnProperty","$7d0a900e76da2d15$exports","input","$7ab071444f25f0fd$exports","arrayBuffer","$ae5e74912e4ee32e$exports","dataView","$bb1b70f977046c2d$var$reFlags","$bb1b70f977046c2d$exports","regexp","lastIndex","$2974eb792905b227$var$symbolProto","$2974eb792905b227$var$symbolValueOf","$2974eb792905b227$exports","$265d56dce3afa249$exports","typedArray","$b5e8347885b983a5$exports","$e9b96b6ee5614800$var$objectCreate","create","$e9b96b6ee5614800$var$baseCreate","$e9b96b6ee5614800$exports","$cdfd1eab1ed286bf$exports","$334fb66d416be2f0$exports","$eaa21bf4e287fd7f$var$nodeIsMap","isMap","$eaa21bf4e287fd7f$var$isMap","$eaa21bf4e287fd7f$exports","$01afc3bfd7071a26$exports","$10f055afd4d7cf22$var$nodeIsSet","isSet","$10f055afd4d7cf22$var$isSet","$10f055afd4d7cf22$exports","$8d55860d9ee8b98c$var$argsTag","$8d55860d9ee8b98c$var$funcTag","$8d55860d9ee8b98c$var$objectTag","$8d55860d9ee8b98c$var$cloneableTags","$8d55860d9ee8b98c$exports","$8d55860d9ee8b98c$var$baseClone","key1","isFlat","isFull","isFunc","$4vs1M","subValue","$d39edcb6084a59a9$var$_cloneDeep3","$bd24f08a3e765b6f$var$CLONE_DEEP_FLAG","$d39edcb6084a59a9$var$_extends","target","$d39edcb6084a59a9$var$mergeClasses","classes","activeNames","styles","toMerge","$e812653e67a6d710$var$_mergeClasses2","$bc1af4bbd8db85dd$exports","autoprefix","$bc1af4bbd8db85dd$var$_forOwn3","$bc1af4bbd8db85dd$var$_extends","$bc1af4bbd8db85dd$var$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","right","bottom","extend","otherElementStyles","otherStyle","$bc1af4bbd8db85dd$var$autoprefix","elements","prefixed","element","expanded","$e812653e67a6d710$var$_autoprefix2","$5b17b1ddd0131a26$exports","$5b17b1ddd0131a26$var$_extends","$5b17b1ddd0131a26$var$_react2","$5b17b1ddd0131a26$var$_interopRequireDefault","$5b55226219c5badd$exports","$5b17b1ddd0131a26$var$_classCallCheck","instance","Constructor","$5b17b1ddd0131a26$var$_possibleConstructorReturn","ReferenceError","$5b17b1ddd0131a26$var$_inherits","subClass","superClass","setPrototypeOf","__proto__","$5b17b1ddd0131a26$var$hover","Component","Span","_React$Component","Hover","_ref","_temp","_this","_len","_key","concat","handleMouseOver","setState","handleMouseOut","render","onMouseOver","onMouseOut","$e812653e67a6d710$var$_hover3","$57d875dd202e8322$exports","active","$57d875dd202e8322$var$_extends","$57d875dd202e8322$var$_react2","$57d875dd202e8322$var$_interopRequireDefault","$57d875dd202e8322$var$_classCallCheck","$57d875dd202e8322$var$_possibleConstructorReturn","$57d875dd202e8322$var$_inherits","$57d875dd202e8322$var$active","Active","handleMouseDown","handleMouseUp","onMouseUp","$e812653e67a6d710$var$_active2","$8f2c5b5ba3983d7d$exports","setProp","abs","$e812653e67a6d710$var$_loop3","$e812653e67a6d710$var$ReactCSS","activations","merged","$d52980caa599fe1f$export$2e2bcd8739ae039","_color","$d8de0eb6e0dd5f0d$export$2e2bcd8739ae039","setValue","val","includes","reactCSS","colorPreviewWrapper","pickerComponent","colorPreview","useHueMode","spellCheck","$35ca578fd17d5d2a$export$2e2bcd8739ae039","colors","param","onClick","clr","$eb935346a8ccb34a$var$r","$eb935346a8ccb34a$var$t","$eb935346a8ccb34a$var$n","$eb935346a8ccb34a$var$e","$eb935346a8ccb34a$var$u","isFinite","$eb935346a8ccb34a$var$a","$eb935346a8ccb34a$var$o","$eb935346a8ccb34a$var$i","$eb935346a8ccb34a$var$s","$eb935346a8ccb34a$var$h","u","$eb935346a8ccb34a$var$b","$eb935346a8ccb34a$var$g","$eb935346a8ccb34a$var$d","$eb935346a8ccb34a$var$f","$eb935346a8ccb34a$var$c","$eb935346a8ccb34a$var$l","$eb935346a8ccb34a$var$p","$eb935346a8ccb34a$var$v","$eb935346a8ccb34a$var$m","$eb935346a8ccb34a$var$y","r1","$eb935346a8ccb34a$var$N","$eb935346a8ccb34a$var$x","trim","$eb935346a8ccb34a$var$M","$eb935346a8ccb34a$var$H","$eb935346a8ccb34a$var$$","$eb935346a8ccb34a$export$4d30ed660ff08d0","r2","parsed","rgba","isValid","brightness","isDark","isLight","toHex","toRgb","toRgbString","toHsl","toHslString","toHsv","invert","$eb935346a8ccb34a$export$c8efe09109f9cb9e","saturate","desaturate","grayscale","lighten","darken","rotate","alpha","isEqual","$fdb67c921c041723$export$2e2bcd8739ae039","convertedValue","colord","hsv","$acc8e8e80a8c8e3d$export$2e2bcd8739ae039","formComponent","$8d8ec509b2dabd6c$export$2e2bcd8739ae039","$35e90aadd1ba6435$export$2e2bcd8739ae039","pickerRef","resetRef","startedWhenMounted","startedInside","listener","contains","validateEventStart","$11301fd5eebc4d6e$export$2e2bcd8739ae039","$4154559db83dad58$export$2e2bcd8739ae039","$fe6abd5ab0cd1bc5$export$2e2bcd8739ae039","triggerButton","togglePickerHandler","$8f45dead40d2ca40$export$2e2bcd8739ae039","control","customizerSetting","choices","parseEmptyValue","parseHueModeValue","hueValue","parseInputValue","convertColorForInput","parsePickerValue","convertColorForPicker","inputValue","setInputValue","pickerValue","setPickerValue","currentInputValue","currentPickerValue","updateComponentState","valueForInput","JSON","stringify","valueForPicker","saveToCustomizer","convertColorForCustomizer","parseCustomizerValue","initialColor","controlLabel","dangerouslySetInnerHTML","__html","label","controlDescription","description","KirkiPickerComponent","formRef","isPickerOpen","setIsPickerOpen","usePositionFixed","labelStyle","pickerContainerStyle","setPickerContainerStyle","getPickerContainerStyle","padding","getComputedStyle","parentNode","paddingLeft","controlLeftOffset","offsetLeft","convertInputValueTo6Digits","openPicker","closePicker","setTimeout","useWindowResize","useFocusOutside","useClickOutside","jQuery","wp","wpColorPicker","wpColorPickerSwatches","options","palettes","swatches","controlHeader","Fragment","setNotificationContainer","formClassName","pickerContainerClassName","pickerTrigger","display","pickerHeader","swatchColor","$ffbc67b60e0ee796$export$2e2bcd8739ae039","customize","Control","initialize","id","bind","onRemoved","removedControl","destroy","remove","unbind","notifications","renderContent","mode","form","$ffbc67b60e0ee796$var$_extends","setting","ready","unmountComponentAtNode","controlConstructor","KirkiReactColorfulControl"],"version":3,"file":"control.js.map"}
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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UAUxB2U,cAAe,WACb,MAAM3G,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":""}
packages/kirki-framework/control-react-colorful/dist/preview.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(){var o;o=function(o){return"number"==typeof o||"string"==typeof o&&!isNaN(o)&&!isNaN(parseFloat(o))},wp.hooks.addFilter("kirkiPostMessageStylesOutput","kirki",(function(a,e,l,r){return"kirki-react-colorful"!==r||"string"==typeof e||"number"==typeof e||(a+=l.element+"{"+l.property+": "+function(a){return alphaEnabled=!1,a.r||a.g||a.b?(colorMode=void 0!==a.a?"rgba":"rgb",alphaEnabled="rgba"===colorMode||alphaEnabled,pos1=a.r,pos2=a.g,pos3=a.b,pos4="rgba"===colorMode?a.a:1):(a.h||a.s)&&(pos1=a.h,a.l?(colorMode=void 0!==a.a?"hsla":"hsl",pos2=o(a.l)?a.l+"%":a.l):a.v&&(colorMode=void 0!==a.a?"hvla":"hvl",pos2=o(a.v)?a.v+"%":a.v),alphaEnabled="hsla"===colorMode||"hsva"===colorMode||alphaEnabled,pos3=o(a)?a.s+"%":a.s,pos4=alphaEnabled?a.a:1),alphaEnabled?formattedValue=colorMode+"("+pos1+", "+pos2+", "+pos3+", "+pos4+")":formattedValue=colorMode+"("+pos1+", "+pos2+", "+pos3+")",formattedValue}(e)+";\t\t}"),a}))}();
2
- //# sourceMappingURL=preview.js.map
1
+ (()=>{const o=o=>"number"==typeof o||"string"==typeof o&&!isNaN(o)&&!isNaN(parseFloat(o));wp.hooks.addFilter("kirkiPostMessageStylesOutput","kirki",((a,e,l,r)=>{if("kirki-react-colorful"!==r)return a;if("string"==typeof e||"number"==typeof e)return a;const s=l.prefix?l.prefix:"",p=l.suffix?l.suffix:"";return a+=l.element+"{"+l.property+": "+s+(a=>(alphaEnabled=!1,a.r||a.g||a.b?(colorMode=void 0!==a.a?"rgba":"rgb",alphaEnabled="rgba"===colorMode||alphaEnabled,pos1=a.r,pos2=a.g,pos3=a.b,pos4="rgba"===colorMode?a.a:1):(a.h||a.s)&&(pos1=a.h,a.l?(colorMode=void 0!==a.a?"hsla":"hsl",pos2=o(a.l)?a.l+"%":a.l):a.v&&(colorMode=void 0!==a.a?"hvla":"hvl",pos2=o(a.v)?a.v+"%":a.v),alphaEnabled="hsla"===colorMode||"hsva"===colorMode||alphaEnabled,pos3=o(a)?a.s+"%":a.s,pos4=alphaEnabled?a.a:1),alphaEnabled?formattedValue=colorMode+"("+pos1+", "+pos2+", "+pos3+", "+pos4+")":formattedValue=colorMode+"("+pos1+", "+pos2+", "+pos3+")",formattedValue))(e)+p+";\t\t}",a}))})();
2
+ //# sourceMappingURL=preview.js.map
packages/kirki-framework/control-react-colorful/dist/preview.js.map CHANGED
@@ -1 +1 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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\tstyles += output.element + '{'\n\t\t\t+ output.property + ': ' + generateStringValue(value) + ';\\\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","wp","hooks","addFilter","styles","value","output","controlType","element","property","alphaEnabled","r","g","b","colorMode","a","pos1","pos2","pos3","pos4","h","s","l","v","formattedValue","generateStringValue"],"version":3,"file":"preview.js.map"}
1
+ {"version":3,"file":"preview.js","mappings":"AAAA,MAUC,MAAMA,EAAaC,GAGd,iBAAoBA,GAGpB,iBAAoBA,IAGfC,MAAMD,KAASC,MAAMC,WAAWF,IA4E1CG,GAAGC,MAAMC,UAAU,+BAAgC,SAjB9B,CAACC,EAAQC,EAAOC,EAAQC,KAE5C,GAAI,yBAA2BA,EAAa,OAAOH,EACnD,GAAI,iBAAoBC,GAAS,iBAAoBA,EAAO,OAAOD,EAEnE,MAAMI,EAASF,EAAOE,OAASF,EAAOE,OAAS,GACzCC,EAASH,EAAOG,OAASH,EAAOG,OAAS,GAM/C,OAJAL,GAAUE,EAAOI,QAAU,IACxBJ,EAAOK,SAAW,KAAOH,EA1DAH,CAAAA,IAE5BO,cAAe,EAEXP,EAAMQ,GAAKR,EAAMS,GAAKT,EAAMU,GAC/BC,eAAY,IAAuBX,EAAMY,EAAI,OAAS,MACtDL,aAAe,SAAWI,WAAmBJ,aAE7CM,KAAOb,EAAMQ,EACbM,KAAOd,EAAMS,EACbM,KAAOf,EAAMU,EACbM,KAAO,SAAWL,UAAYX,EAAMY,EAAI,IAC9BZ,EAAMiB,GAAKjB,EAAMkB,KAC3BL,KAAOb,EAAMiB,EAETjB,EAAMmB,GACTR,eAAY,IAAuBX,EAAMY,EAAI,OAAS,MACtDE,KAAOtB,EAAUQ,EAAMmB,GAAKnB,EAAMmB,EAAI,IAAMnB,EAAMmB,GACxCnB,EAAMoB,IAChBT,eAAY,IAAuBX,EAAMY,EAAI,OAAS,MACtDE,KAAOtB,EAAUQ,EAAMoB,GAAKpB,EAAMoB,EAAI,IAAMpB,EAAMoB,GAGnDb,aAAe,SAAWI,WAAa,SAAWA,WAAmBJ,aAErEQ,KAAOvB,EAAUQ,GAASA,EAAMkB,EAAI,IAAMlB,EAAMkB,EAChDF,KAAOT,aAAeP,EAAMY,EAAI,GAG7BL,aACHc,eAAiBV,UAAY,IAAME,KAAO,KAAOC,KAAO,KAAOC,KAAO,KAAOC,KAAO,IAEpFK,eAAiBV,UAAY,IAAME,KAAO,KAAOC,KAAO,KAAOC,KAAO,IAGhEM,gBAuB8BC,CAAoBtB,GAASI,EAAS,SAGpEL,MA1FT","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","wp","hooks","addFilter","styles","value","output","controlType","prefix","suffix","element","property","alphaEnabled","r","g","b","colorMode","a","pos1","pos2","pos3","pos4","h","s","l","v","formattedValue","generateStringValue"],"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.8';
46
 
47
  /**
48
  * The color mode.
@@ -164,9 +164,14 @@ class ReactColorful extends Base {
164
 
165
  $default_swatches = apply_filters( 'kirki_default_color_swatches', $default_swatches );
166
 
167
- if ( isset( $this->choices['swatches'] ) && ! empty( $this->choices['swatches'] ) ) {
168
- $swatches = $this->choices['swatches'];
169
 
 
 
 
 
 
 
170
  $total_swatches = count( $swatches );
171
 
172
  if ( $total_swatches < 8 ) {
42
  * @since 1.0
43
  * @var string
44
  */
45
+ public static $control_ver = '1.0.14';
46
 
47
  /**
48
  * The color mode.
164
 
165
  $default_swatches = apply_filters( 'kirki_default_color_swatches', $default_swatches );
166
 
167
+ $defined_swatches = isset( $this->choices['swatches'] ) && ! empty( $this->choices['swatches'] ) ? $this->choices['swatches'] : [];
 
168
 
169
+ if ( empty( $defined_swatches ) ) {
170
+ $defined_swatches = isset( $this->choices['palettes'] ) && ! empty( $this->choices['palettes'] ) ? $this->choices['palettes'] : [];
171
+ }
172
+
173
+ if ( ! empty( $defined_swatches ) ) {
174
+ $swatches = $defined_swatches;
175
  $total_swatches = count( $swatches );
176
 
177
  if ( $total_swatches < 8 ) {
packages/kirki-framework/control-react-colorful/src/Field/CSS/ReactColorful.php CHANGED
@@ -34,12 +34,14 @@ class ReactColorful extends Output {
34
  'media_query' => 'global',
35
  'element' => '',
36
  'property' => 'color',
 
 
37
  )
38
  );
39
 
40
  // Only need to process further if the $value format is array.
41
  if ( ! is_array( $value ) ) {
42
- $this->styles[ $output['media_query'] ][ $output['element'] ][ $output['property'] ] = $value;
43
  return;
44
  }
45
 
@@ -76,7 +78,7 @@ class ReactColorful extends Output {
76
  $formatted_value = $color_mode . '(' . $pos_1 . ', ' . $pos_2 . ', ' . $pos_3 . ')';
77
  }
78
 
79
- $this->styles[ $output['media_query'] ][ $output['element'] ][ $output['property'] ] = $formatted_value;
80
 
81
  }
82
 
34
  'media_query' => 'global',
35
  'element' => '',
36
  'property' => 'color',
37
+ 'prefix' => '',
38
+ 'suffix' => '',
39
  )
40
  );
41
 
42
  // Only need to process further if the $value format is array.
43
  if ( ! is_array( $value ) ) {
44
+ $this->styles[ $output['media_query'] ][ $output['element'] ][ $output['property'] ] = $output['prefix'] . $value . $output['suffix'];
45
  return;
46
  }
47
 
78
  $formatted_value = $color_mode . '(' . $pos_1 . ', ' . $pos_2 . ', ' . $pos_3 . ')';
79
  }
80
 
81
+ $this->styles[ $output['media_query'] ][ $output['element'] ][ $output['property'] ] = $output['prefix'] . $formatted_value . $output['suffix'];
82
 
83
  }
84
 
packages/kirki-framework/control-react-colorful/src/Field/ReactColorful.php CHANGED
@@ -87,16 +87,17 @@ class ReactColorful extends Field {
87
  }
88
 
89
  // For postMessage/preview purpose, if property is not set, then set it to 'color'.
90
- /**
91
- * Disabling this as this was causing issue when releasing v4.0.19
92
- if ( isset( $args['output'] ) && ! empty( $args['output'] ) && is_array( $args['output'] ) ) {
93
  foreach ( $args['output'] as $index => $output ) {
94
  if ( ! isset( $output['property'] ) ) {
 
 
 
 
95
  $args['output'][ $index ]['property'] = 'color';
96
  }
97
  }
98
  }
99
- */
100
  }
101
 
102
  return $args;
87
  }
88
 
89
  // For postMessage/preview purpose, if property is not set, then set it to 'color'.
90
+ if ( isset( $args['output'] ) && ! empty( $args['output'] ) && is_array( $args['output'] ) && ! isset( $args['output']['element'] ) ) {
 
 
91
  foreach ( $args['output'] as $index => $output ) {
92
  if ( ! isset( $output['property'] ) ) {
93
+ if ( empty( $args['output'][ $index ] ) ) {
94
+ $args['output'][ $index ] = [];
95
+ }
96
+
97
  $args['output'][ $index ]['property'] = 'color';
98
  }
99
  }
100
  }
 
101
  }
102
 
103
  return $args;
packages/kirki-framework/control-react-select/dist/control.css CHANGED
@@ -1,2 +1,3 @@
1
- .customize-control-kirki-react-select input[autocomplete=off]{box-shadow:none}.kirki-react-select__value-container>div:not(.kirki-react-select__single-value):not(.kirki-react-select__multi-value){padding-bottom:0;padding-top:0}.kirki-react-select__control{min-height:26px;padding-bottom:2px;padding-top:2px}.kirki-react-select__value-container .kirki-react-select__input,.kirki-react-select__value-container .kirki-react-select__input input{height:24px;min-height:24px}.kirki-react-select__single-value{align-items:center;display:flex;width:100%}.kirki-react-select__multi-value{align-items:center;height:20px;position:relative}.kirki-react-select__input{align-items:center;display:inline-flex!important;left:2px;position:relative}.kirki-react-select__input input{box-sizing:border-box!important;height:30px}.kirki-react-select__indicators{height:24px!important}.kirki-react-select__indicator{align-items:center;height:24px}.customize-control-kirki-react-select .kirki-react-select__menu{z-index:3}
2
- /*# sourceMappingURL=control.css.map */
 
1
+ .customize-control-kirki-react-select input[autocomplete=off]{box-shadow:none}.kirki-react-select__value-container>div:not(.kirki-react-select__single-value):not(.kirki-react-select__multi-value){padding-top:0;padding-bottom:0}.kirki-react-select__control{padding-top:2px;padding-bottom:2px;min-height:26px}.kirki-react-select__value-container .kirki-react-select__input{min-height:24px;height:24px}.kirki-react-select__value-container .kirki-react-select__input input{min-height:24px;height:24px}.kirki-react-select__single-value{display:flex;align-items:center;width:100%}.kirki-react-select__multi-value{align-items:center;position:relative;height:20px}.kirki-react-select__input{display:inline-flex !important;align-items:center;position:relative;left:2px}.kirki-react-select__input input{box-sizing:border-box !important;height:30px}.kirki-react-select__indicators{height:24px !important}.kirki-react-select__indicator{align-items:center;height:24px}.customize-control-kirki-react-select .kirki-react-select__menu{z-index:3}
2
+
3
+ /*# sourceMappingURL=control.css.map*/
packages/kirki-framework/control-react-select/dist/control.css.map CHANGED
@@ -1 +1 @@
1
- {"mappings":"AACE,8DACE,eCAJ,CDKE,sHAEE,gBAAA,CADA,aCDJ,CDMA,6BAGE,eAAA,CADA,kBAAA,CADA,eCDF,CDWI,sIAEE,WAAA,CADA,eCHN,CDSA,kCAEE,kBAAA,CADA,YAAA,CAEA,UCNF,CDSA,iCACE,kBAAA,CAEA,WAAA,CADA,iBCLF,CDaA,2BAEE,kBAAA,CADA,6BAAA,CAGA,QAAA,CADA,iBCVF,CDaE,iCACE,+BAAA,CACA,WCXJ,CDeA,gCACE,qBCZF,CDeA,+BACE,kBAAA,CACA,WCZF,CDeA,gEACE,SCZF","sources":["src/control.scss","%3Cinput%20css%20KhyXGq%3E"],"sourcesContent":[".customize-control-kirki-react-select {\n input[autocomplete=\"off\"] {\n box-shadow: none;\n }\n}\n\n.kirki-react-select__value-container {\n > div:not(.kirki-react-select__single-value):not(.kirki-react-select__multi-value) {\n padding-top: 0;\n padding-bottom: 0;\n }\n}\n\n.kirki-react-select__control {\n padding-top: 2px;\n padding-bottom: 2px;\n min-height: 26px;\n}\n\n.kirki-react-select__value-container {\n .kirki-react-select__input {\n min-height: 24px;\n height: 24px;\n\n input {\n min-height: 24px;\n height: 24px;\n }\n }\n}\n\n.kirki-react-select__single-value {\n display: flex;\n align-items: center;\n width: 100%;\n}\n\n.kirki-react-select__multi-value {\n align-items: center;\n position: relative;\n height: 20px;\n\n .kirki-react-select__input-container {\n //\n }\n}\n\n.kirki-react-select__input {\n display: inline-flex !important;\n align-items: center;\n position: relative;\n left: 2px;\n\n input {\n box-sizing: border-box !important;\n height: 30px;\n }\n}\n\n.kirki-react-select__indicators {\n height: 24px !important;\n}\n\n.kirki-react-select__indicator {\n align-items: center;\n height: 24px;\n}\n\n.customize-control-kirki-react-select .kirki-react-select__menu {\n z-index: 3;\n}\n",".customize-control-kirki-react-select input[autocomplete=off] {\n box-shadow: none;\n}\n\n.kirki-react-select__value-container > div:not(.kirki-react-select__single-value):not(.kirki-react-select__multi-value) {\n padding-top: 0;\n padding-bottom: 0;\n}\n\n.kirki-react-select__control {\n padding-top: 2px;\n padding-bottom: 2px;\n min-height: 26px;\n}\n\n.kirki-react-select__value-container .kirki-react-select__input {\n min-height: 24px;\n height: 24px;\n}\n.kirki-react-select__value-container .kirki-react-select__input input {\n min-height: 24px;\n height: 24px;\n}\n\n.kirki-react-select__single-value {\n display: flex;\n align-items: center;\n width: 100%;\n}\n\n.kirki-react-select__multi-value {\n align-items: center;\n position: relative;\n height: 20px;\n}\n.kirki-react-select__input {\n display: inline-flex !important;\n align-items: center;\n position: relative;\n left: 2px;\n}\n.kirki-react-select__input input {\n box-sizing: border-box !important;\n height: 30px;\n}\n\n.kirki-react-select__indicators {\n height: 24px !important;\n}\n\n.kirki-react-select__indicator {\n align-items: center;\n height: 24px;\n}\n\n.customize-control-kirki-react-select .kirki-react-select__menu {\n z-index: 3;\n}\n/*# sourceMappingURL=control.css.map */\n"],"names":[],"version":3,"file":"control.css.map"}
1
+ {"version":3,"file":"./control.css","mappings":"AACE,8DACE,gBAKF,sHACE,cACA,iBAIJ,6BACE,gBACA,mBACA,gBAIA,gEACE,gBACA,YAEA,sEACE,gBACA,YAKN,kCACE,aACA,mBACA,WAGF,iCACE,mBACA,kBACA,YAOF,2BACE,+BACA,mBACA,kBACA,SAEA,iCACE,iCACA,YAIJ,gCACE,uBAGF,+BACE,mBACA,YAGF,gEACE,U","sources":["webpack://kirki-control-react-select/./src/control.scss"],"sourcesContent":[".customize-control-kirki-react-select {\n input[autocomplete=\"off\"] {\n box-shadow: none;\n }\n}\n\n.kirki-react-select__value-container {\n > div:not(.kirki-react-select__single-value):not(.kirki-react-select__multi-value) {\n padding-top: 0;\n padding-bottom: 0;\n }\n}\n\n.kirki-react-select__control {\n padding-top: 2px;\n padding-bottom: 2px;\n min-height: 26px;\n}\n\n.kirki-react-select__value-container {\n .kirki-react-select__input {\n min-height: 24px;\n height: 24px;\n\n input {\n min-height: 24px;\n height: 24px;\n }\n }\n}\n\n.kirki-react-select__single-value {\n display: flex;\n align-items: center;\n width: 100%;\n}\n\n.kirki-react-select__multi-value {\n align-items: center;\n position: relative;\n height: 20px;\n\n .kirki-react-select__input-container {\n //\n }\n}\n\n.kirki-react-select__input {\n display: inline-flex !important;\n align-items: center;\n position: relative;\n left: 2px;\n\n input {\n box-sizing: border-box !important;\n height: 30px;\n }\n}\n\n.kirki-react-select__indicators {\n height: 24px !important;\n}\n\n.kirki-react-select__indicator {\n align-items: center;\n height: 24px;\n}\n\n.customize-control-kirki-react-select .kirki-react-select__menu {\n z-index: 3;\n}\n"],"names":[],"sourceRoot":""}
packages/kirki-framework/control-react-select/dist/control.js CHANGED
@@ -1,2 +1,3 @@
1
- !function(){function e(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},n={},r={},o=t.parcelRequire5ac3;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}function s(e){return e&&e.constructor===Symbol?"symbol":typeof e}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}null==o&&((o=function(e){if(e in n)return n[e].exports;if(e in r){var t=r[e];delete r[e];var o={id:e,exports:{}};return n[e]=o,t.call(o.exports,o,o.exports),o.exports}var i=new Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}).register=function(e,t){r[e]=t},t.parcelRequire5ac3=o),o.register("beWdq",(function(t,n){var r,o,i,a,s,u,l,c,p,f,d,m,h,v,b,g,y,O,w,S,x,C,M,P,k,E,I,V;e(t.exports,"AsyncMode",(function(){return r}),(function(e){return r=e})),e(t.exports,"ConcurrentMode",(function(){return o}),(function(e){return o=e})),e(t.exports,"ContextConsumer",(function(){return i}),(function(e){return i=e})),e(t.exports,"ContextProvider",(function(){return a}),(function(e){return a=e})),e(t.exports,"Element",(function(){return s}),(function(e){return s=e})),e(t.exports,"ForwardRef",(function(){return u}),(function(e){return u=e})),e(t.exports,"Fragment",(function(){return l}),(function(e){return l=e})),e(t.exports,"Lazy",(function(){return c}),(function(e){return c=e})),e(t.exports,"Memo",(function(){return p}),(function(e){return p=e})),e(t.exports,"Portal",(function(){return f}),(function(e){return f=e})),e(t.exports,"Profiler",(function(){return d}),(function(e){return d=e})),e(t.exports,"StrictMode",(function(){return m}),(function(e){return m=e})),e(t.exports,"Suspense",(function(){return h}),(function(e){return h=e})),e(t.exports,"isAsyncMode",(function(){return v}),(function(e){return v=e})),e(t.exports,"isConcurrentMode",(function(){return b}),(function(e){return b=e})),e(t.exports,"isContextConsumer",(function(){return g}),(function(e){return g=e})),e(t.exports,"isContextProvider",(function(){return y}),(function(e){return y=e})),e(t.exports,"isElement",(function(){return O}),(function(e){return O=e})),e(t.exports,"isForwardRef",(function(){return w}),(function(e){return w=e})),e(t.exports,"isFragment",(function(){return S}),(function(e){return S=e})),e(t.exports,"isLazy",(function(){return x}),(function(e){return x=e})),e(t.exports,"isMemo",(function(){return C}),(function(e){return C=e})),e(t.exports,"isPortal",(function(){return M}),(function(e){return M=e})),e(t.exports,"isProfiler",(function(){return P}),(function(e){return P=e})),e(t.exports,"isStrictMode",(function(){return k}),(function(e){return k=e})),e(t.exports,"isSuspense",(function(){return E}),(function(e){return E=e})),e(t.exports,"isValidElementType",(function(){return I}),(function(e){return I=e})),e(t.exports,"typeOf",(function(){return V}),(function(e){return V=e}));var R="function"==typeof Symbol&&Symbol.for,D=R?Symbol.for("react.element"):60103,L=R?Symbol.for("react.portal"):60106,A=R?Symbol.for("react.fragment"):60107,T=R?Symbol.for("react.strict_mode"):60108,F=R?Symbol.for("react.profiler"):60114,_=R?Symbol.for("react.provider"):60109,N=R?Symbol.for("react.context"):60110,j=R?Symbol.for("react.async_mode"):60111,H=R?Symbol.for("react.concurrent_mode"):60111,$=R?Symbol.for("react.forward_ref"):60112,z=R?Symbol.for("react.suspense"):60113,U=R?Symbol.for("react.suspense_list"):60120,B=R?Symbol.for("react.memo"):60115,W=R?Symbol.for("react.lazy"):60116,G=R?Symbol.for("react.block"):60121,Y=R?Symbol.for("react.fundamental"):60117,X=R?Symbol.for("react.responder"):60118,q=R?Symbol.for("react.scope"):60119;function K(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case D:switch(e=e.type){case j:case H:case A:case F:case T:case z:return e;default:switch(e=e&&e.$$typeof){case N:case $:case W:case B:case _:return e;default:return t}}case L:return t}}}function Z(e){return K(e)===H}r=j,o=H,i=N,a=_,s=D,u=$,l=A,c=W,p=B,f=L,d=F,m=T,h=z,v=function(e){return Z(e)||K(e)===j},b=Z,g=function(e){return K(e)===N},y=function(e){return K(e)===_},O=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===D},w=function(e){return K(e)===$},S=function(e){return K(e)===A},x=function(e){return K(e)===W},C=function(e){return K(e)===B},M=function(e){return K(e)===L},P=function(e){return K(e)===F},k=function(e){return K(e)===T},E=function(e){return K(e)===z},I=function(e){return"string"==typeof e||"function"==typeof e||e===A||e===H||e===F||e===T||e===z||e===U||"object"==typeof e&&null!==e&&(e.$$typeof===W||e.$$typeof===B||e.$$typeof===_||e.$$typeof===N||e.$$typeof===$||e.$$typeof===Y||e.$$typeof===X||e.$$typeof===q||e.$$typeof===G)},V=K}));var l={};l=React;var c=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),p="-ms-",f="-moz-",d="-webkit-",m="comm",h="rule",v="decl",b="@keyframes",g=Math.abs,y=String.fromCharCode,O=Object.assign;function w(e){return e.trim()}function S(e,t,n){return e.replace(t,n)}function x(e,t){return e.indexOf(t)}function C(e,t){return 0|e.charCodeAt(t)}function M(e,t,n){return e.slice(t,n)}function P(e){return e.length}function k(e){return e.length}function E(e,t){return t.push(e),e}function I(e,t){return e.map(t).join("")}var V=1,R=1,D=0,L=0,A=0,T="";function F(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:V,column:R,length:a,return:""}}function N(e,t){return O(F("",null,null,"",null,null,0),e,{length:-e.length},t)}function j(){return A=L>0?C(T,--L):0,R--,10===A&&(R=1,V--),A}function H(){return A=L<D?C(T,L++):0,R++,10===A&&(R=1,V++),A}function $(){return C(T,L)}function z(){return L}function U(e,t){return M(T,e,t)}function B(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function W(e){return V=R=1,D=P(T=e),L=0,[]}function G(e){return T="",e}function Y(e){return w(U(L-1,K(91===e?e+2:40===e?e+1:e)))}function X(e){for(;(A=$())&&A<33;)H();return B(e)>2||B(A)>3?"":" "}function q(e,t){for(;--t&&H()&&!(A<48||A>102||A>57&&A<65||A>70&&A<97););return U(e,z()+(t<6&&32==$()&&32==H()))}function K(e){for(;H();)switch(A){case e:return L;case 34:case 39:34!==e&&39!==e&&K(A);break;case 40:41===e&&K(e);break;case 92:H()}return L}function Z(e,t){for(;H()&&e+A!==57&&(e+A!==84||47!==$()););return"/*"+U(t,L-1)+"*"+y(47===e?e:H())}function J(e){for(;!B($());)H();return U(e,L)}function Q(e){return G(ee("",null,null,null,[""],e=W(e),0,[0],e))}function ee(e,t,n,r,o,i,a,s,u){for(var l=0,c=0,p=a,f=0,d=0,m=0,h=1,v=1,b=1,g=0,O="",w=o,C=i,M=r,k=O;v;)switch(m=g,g=H()){case 40:if(108!=m&&58==k.charCodeAt(p-1)){-1!=x(k+=S(Y(g),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:k+=Y(g);break;case 9:case 10:case 13:case 32:k+=X(m);break;case 92:k+=q(z()-1,7);continue;case 47:switch($()){case 42:case 47:E(ne(Z(H(),z()),t,n),u);break;default:k+="/"}break;case 123*h:s[l++]=P(k)*b;case 125*h:case 59:case 0:switch(g){case 0:case 125:v=0;case 59+c:d>0&&P(k)-p&&E(d>32?re(k+";",r,n,p-1):re(S(k," ","")+";",r,n,p-2),u);break;case 59:k+=";";default:if(E(M=te(k,t,n,l,c,o,s,O,w=[],C=[],p),i),123===g)if(0===c)ee(k,t,M,M,w,i,p,s,C);else switch(f){case 100:case 109:case 115:ee(e,M,M,r&&E(te(e,M,M,0,0,o,s,O,o,w=[],p),C),o,C,p,s,r?w:C);break;default:ee(k,M,M,M,[""],C,0,s,C)}}l=c=d=0,h=b=1,O=k="",p=a;break;case 58:p=1+P(k),d=m;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==j())continue;switch(k+=y(g),g*h){case 38:b=c>0?1:(k+="\f",-1);break;case 44:s[l++]=(P(k)-1)*b,b=1;break;case 64:45===$()&&(k+=Y(H())),f=$(),c=p=P(O=k+=J(z())),g++;break;case 45:45===m&&2==P(k)&&(h=0)}}return i}function te(e,t,n,r,o,i,a,s,u,l,c){for(var p=o-1,f=0===o?i:[""],d=k(f),m=0,v=0,b=0;m<r;++m)for(var y=0,O=M(e,p+1,p=g(v=a[m])),x=e;y<d;++y)(x=w(v>0?f[y]+" "+O:S(O,/&\f/g,f[y])))&&(u[b++]=x);return F(e,t,n,0===o?h:s,u,l,c)}function ne(e,t,n){return F(e,t,n,m,y(A),M(e,2,-2),0)}function re(e,t,n,r){return F(e,t,n,v,M(e,0,r),M(e,r+1,-1),r)}function oe(e,t){switch(function(e,t){return(((t<<2^C(e,0))<<2^C(e,1))<<2^C(e,2))<<2^C(e,3)}(e,t)){case 5103:return"-webkit-print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return d+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return d+e+f+e+p+e+e;case 6828:case 4268:return d+e+p+e+e;case 6165:return d+e+p+"flex-"+e+e;case 5187:return d+e+S(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return d+e+p+"flex-item-"+S(e,/flex-|-self/,"")+e;case 4675:return d+e+p+"flex-line-pack"+S(e,/align-content|flex-|-self/,"")+e;case 5548:return d+e+p+S(e,"shrink","negative")+e;case 5292:return d+e+p+S(e,"basis","preferred-size")+e;case 6060:return"-webkit-box-"+S(e,"-grow","")+d+e+p+S(e,"grow","positive")+e;case 4554:return d+S(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return S(S(S(e,/(zoom-|grab)/,"-webkit-$1"),/(image-set)/,"-webkit-$1"),e,"")+e;case 5495:case 3959:return S(e,/(image-set\([^]*)/,"-webkit-$1$`$1");case 4968:return S(S(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+d+e+e;case 4095:case 3583:case 4068:case 2532:return S(e,/(.+)-inline(.+)/,"-webkit-$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(P(e)-1-t>6)switch(C(e,t+1)){case 109:if(45!==C(e,t+4))break;case 102:return S(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==C(e,t+3)?"$3":"$2-$3"))+e;case 115:return~x(e,"stretch")?oe(S(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==C(e,t+1))break;case 6444:switch(C(e,P(e)-3-(~x(e,"!important")&&10))){case 107:return S(e,":",":-webkit-")+e;case 101:return S(e,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===C(e,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+e}break;case 5936:switch(C(e,t+11)){case 114:return d+e+p+S(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return d+e+p+S(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return d+e+p+S(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return d+e+p+e+e}return e}function ie(e,t){for(var n="",r=k(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ae(e,t,n,r){switch(e.type){case"@import":case v:return e.return=e.return||e.value;case m:return"";case b:return e.return=e.value+"{"+ie(e.children,r)+"}";case h:e.value=e.props.join(",")}return P(n=ie(e.children,r))?e.return=e.value+"{"+n+"}":""}function se(e){return function(t){t.root||(t=t.return)&&e(t)}}var ue=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},le=function(e,t,n){for(var r=0,o=0;r=o,o=$(),38===r&&12===o&&(t[n]=1),!B(o);)H();return U(e,L)},ce=function(e,t){return G(function(e,t){var n=-1,r=44;do{switch(B(r)){case 0:38===r&&12===$()&&(t[n]=1),e[n]+=le(L-1,t,n);break;case 2:e[n]+=Y(r);break;case 4:if(44===r){e[++n]=58===$()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=y(r)}}while(r=H());return e}(W(e),t))},pe=new WeakMap,fe=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||pe.get(n))&&!r){pe.set(e,!0);for(var o=[],i=ce(t,o),a=n.props,s=0,u=0;s<i.length;s++)for(var l=0;l<a.length;l++,u++)e.props[u]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},de=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},me=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case v:e.return=oe(e.value,e.length);break;case b:return ie([N(e,{value:S(e.value,"@","@-webkit-")})],r);case h:if(e.length)return I(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ie([N(e,{props:[S(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return ie([N(e,{props:[S(t,/:(plac\w+)/,":-webkit-input-$1")]}),N(e,{props:[S(t,/:(plac\w+)/,":-moz-$1")]}),N(e,{props:[S(t,/:(plac\w+)/,"-ms-input-$1")]})],r)}return""}))}}],he=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||me,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var u,l=[fe,de],p=[ae,se((function(e){u.insert(e)}))],f=function(e){var t=k(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}(l.concat(i,p));o=function(e,t,n,r){u=n,ie(Q(e?e+"{"+t.styles+"}":t.styles),f),r&&(d.inserted[t.name]=!0)};var d={key:t,sheet:new c({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return d.sheet.hydrate(s),d},ve={};ve=o("beWdq");var be={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ge={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ye={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Oe={};function we(e){return ve.isMemo(e)?ye:Oe[e.$$typeof]||be}Oe[ve.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Oe[ve.Memo]=ye;var Se=Object.defineProperty,xe=Object.getOwnPropertyNames,Ce=Object.getOwnPropertySymbols,Me=Object.getOwnPropertyDescriptor,Pe=Object.getPrototypeOf,ke=Object.prototype;function Ee(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Ie=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0);o=o.next}while(void 0!==o)}};var Ve=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Re={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},De=/[A-Z]|^ms/g,Le=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ae=function(e){return 45===e.charCodeAt(1)},Te=function(e){return null!=e&&"boolean"!=typeof e},Fe=ue((function(e){return Ae(e)?e:e.replace(De,"-$&").toLowerCase()})),_e=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Le,(function(e,t,n){return je={name:t,styles:n,next:je},t}))}return 1===Re[e]||Ae(e)||"number"!=typeof t||0===t?t:t+"px"};function Ne(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(void 0===n?"undefined":s(n)){case"boolean":return"";case"object":if(1===n.anim)return je={name:n.name,styles:n.styles,next:je},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)je={name:r.name,styles:r.styles,next:je},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ne(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":Te(a)&&(r+=Fe(i)+":"+_e(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Ne(e,t,a);switch(i){case"animation":case"animationName":r+=Fe(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)Te(a[u])&&(r+=Fe(i)+":"+_e(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=je,i=n(e);return je=o,Ne(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var je,He=/label:\s*([^\s;\n{]+)\s*(;|$)/g,$e=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";je=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Ne(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Ne(n,t,e[a]),r&&(o+=i[a]);He.lastIndex=0;for(var s,u="";null!==(s=He.exec(o));)u+="-"+s[1];return{name:Ve(o)+u,styles:o,next:je}},ze={}.hasOwnProperty,Ue=l.createContext("undefined"!=typeof HTMLElement?he({key:"css"}):null),Be=Ue.Provider,We=function(e){return l.forwardRef((function(t,n){var r=l.useContext(Ue);return e(t,r,n)}))},Ge=l.createContext({});var Ye="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Xe=function(e,t){var n={};for(var r in t)ze.call(t,r)&&(n[r]=t[r]);return n.__EMOTION_TYPE_PLEASE_DO_NOT_USE__=e,n},qe=function(){return null},Ke=We((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e.__EMOTION_TYPE_PLEASE_DO_NOT_USE__,i=[r],a="";"string"==typeof e.className?a=Ee(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=$e(i,void 0,l.useContext(Ge));Ie(t,s,"string"==typeof o);a+=t.key+"-"+s.name;var u={};for(var c in e)ze.call(e,c)&&"css"!==c&&c!==Ye&&(u[c]=e[c]);u.ref=n,u.className=a;var p=l.createElement(o,u),f=l.createElement(qe,null);return l.createElement(l.Fragment,null,f,p)})),Ze={};function Je(){return Ze=Je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ze.__esModule=!0,Ze.default=Ze,Je.apply(this,arguments)}(Ze=Je).__esModule=!0,Ze.default=Ze;var Qe=function(e,t){var n=arguments;if(null==t||!ze.call(t,"css"))return l.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ke,o[1]=Xe(e,t);for(var i=2;i<r;i++)o[i]=n[i];return l.createElement.apply(null,o)};function et(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return $e(t)}var tt=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(void 0===i?"undefined":s(i)){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var u in a="",i)i[u]&&u&&(a&&(a+=" "),a+=u);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function nt(e,t,n){var r=[],o=Ee(e,r,n);return r.length<2?n:o+t(r)}var rt=function(){return null},ot=We((function(e,t){var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=$e(n,t.registered);return Ie(t,o,!1),t.key+"-"+o.name},r={css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return nt(t.registered,n,tt(r))},theme:l.useContext(Ge)},o=e.children(r);var i=l.createElement(rt,null);return l.createElement(l.Fragment,null,i,o)}));function it(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function at(e){return(at="function"==typeof Symbol&&"symbol"==s(Symbol.iterator)?function(e){return void 0===e?"undefined":s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":s(e)})(e)}function st(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lt(e,t,n){return t&&ut(e.prototype,t),n&&ut(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ct(e,t){return(ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ct(e,t)}function ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt;function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ht(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vt(e){for(var t=arguments,n=function(n){var r=null!=t[n]?t[n]:{};n%2?ht(Object(r),!0).forEach((function(t){mt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ht(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))},r=1;r<arguments.length;r++)n(r);return e}function bt(e){return(bt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function gt(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function yt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=bt(e);if(t){var o=bt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gt(this,n)}}dt=ReactDOM;var Ot=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],wt=function(){};function St(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function xt(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(St(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Ct=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===at(e)&&null!==e?[e]:[];var t},Mt=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,vt({},it(e,Ot))};function Pt(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function kt(e){return Pt(e)?window.pageYOffset:e.scrollTop}function Et(e,t){Pt(e)?window.scrollTo(0,t):e.scrollTop=t}function It(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Vt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:wt,o=kt(e),i=t-o,a=10,s=0;function u(){var t=It(s+=a,o,i,n);Et(e,t),s<n?window.requestAnimationFrame(u):r(e)}u()}function Rt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Dt=!1,Lt={get passive(){return Dt=!0}},At="undefined"!=typeof window?window:{};At.addEventListener&&At.removeEventListener&&(At.addEventListener("p",wt,Lt),At.removeEventListener("p",wt,!1));var Tt=Dt;function Ft(e){return null!=e}function _t(e,t,n){return e?t:n}function Nt(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.theme.spacing,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=u.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,d=p.height,m=p.top,h=n.offsetParent.getBoundingClientRect().top,v=window.innerHeight,b=kt(u),g=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),O=h-y,w=v-m,S=O+b,x=c-b-m,C=f-v+b+g,M=b+m-y,P=160;switch(o){case"auto":case"bottom":if(w>=d)return{placement:"bottom",maxHeight:t};if(x>=d&&!a)return i&&Vt(u,C,P),{placement:"bottom",maxHeight:t};if(!a&&x>=r||a&&w>=r)return i&&Vt(u,C,P),{placement:"bottom",maxHeight:a?w-g:x-g};if("auto"===o||a){var k=t,E=a?O:S;return E>=r&&(k=Math.min(E-g-s.controlHeight,t)),{placement:"top",maxHeight:k}}if("bottom"===o)return i&&Et(u,C),{placement:"bottom",maxHeight:t};break;case"top":if(O>=d)return{placement:"top",maxHeight:t};if(S>=d&&!a)return i&&Vt(u,M,P),{placement:"top",maxHeight:t};if(!a&&S>=r||a&&O>=r){var I=t;return(!a&&S>=r||a&&O>=r)&&(I=a?O-y:S-y),i&&Vt(u,M,P),{placement:"top",maxHeight:I}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return l}var jt=function(e){return"auto"===e?"bottom":e},Ht=l.createContext({getPortalPlacement:null}),$t=function(e){pt(n,e);var t=yt(n);function n(){var e;st(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.context=void 0,e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,o=n.maxMenuHeight,i=n.menuPlacement,a=n.menuPosition,s=n.menuShouldScrollIntoView,u=n.theme;if(t){var l="fixed"===a,c=Nt({maxHeight:o,menuEl:t,minHeight:r,placement:i,shouldScroll:s&&!l,isFixedPosition:l,theme:u}),p=e.context.getPortalPlacement;p&&p(c),e.setState(c)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||jt(t);return vt(vt({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return lt(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(l.Component);$t.contextType=Ht;var zt=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},Ut=zt,Bt=zt,Wt=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return Qe("div",u({css:o("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},i),t)};Wt.defaultProps={children:"No options"};var Gt=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return Qe("div",u({css:o("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},i),t)};Gt.defaultProps={children:"Loading..."};var Yt,Xt=function(e){pt(n,e);var t=yt(n);function n(){var e;st(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==jt(e.props.menuPlacement)&&e.setState({placement:n})},e}return lt(n,[{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,r=e.className,o=e.controlElement,i=e.cx,a=e.innerProps,s=e.menuPlacement,l=e.menuPosition,c=e.getStyles,p="fixed"===l;if(!t&&!p||!o)return null;var f=this.state.placement||jt(s),d=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),m=p?0:window.pageYOffset,h=d[f]+m,v=Qe("div",u({css:c("menuPortal",{offset:h,position:l,rect:d}),className:i({"menu-portal":!0},r)},a),n);return Qe(Ht.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?dt.createPortal(v,t):v)}}]),n}(l.Component),qt=["size"];var Kt,Zt,Jt={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Qt=function(e){var t=e.size,n=it(e,qt);return Qe("svg",u({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Jt},n))},en=function(e){return Qe(Qt,u({size:20},e),Qe("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},tn=function(e){return Qe(Qt,u({size:20},e),Qe("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},nn=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},rn=nn,on=nn,an=function(){var e=et.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Yt||(Kt=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Zt||(Zt=Kt.slice(0)),Yt=Object.freeze(Object.defineProperties(Kt,{raw:{value:Object.freeze(Zt)}})))),sn=function(e){var t=e.delay,n=e.offset;return Qe("span",{css:et({animation:"".concat(an," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},un=function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps,i=e.isRtl;return Qe("div",u({css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)},o),Qe(sn,{delay:0,offset:i}),Qe(sn,{delay:160,offset:!0}),Qe(sn,{delay:320,offset:!i}))};un.defaultProps={size:4};var ln=["data"],cn=["innerRef","isDisabled","isHidden","inputClassName"],pn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},fn={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":vt({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},pn)},dn=function(e){return vt({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},pn)},mn=function(e){var t=e.children,n=e.innerProps;return Qe("div",n,t)};var hn={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return Qe("div",u({css:o("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)},i),t||Qe(en,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.className,i=e.isDisabled,a=e.isFocused,s=e.innerRef,l=e.innerProps,c=e.menuIsOpen;return Qe("div",u({ref:s,css:r("control",e),className:n({control:!0,"control--is-disabled":i,"control--is-focused":a,"control--menu-is-open":c},o)},l),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return Qe("div",u({css:o("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)},i),t||Qe(tn,null))},DownChevron:tn,CrossIcon:en,Group:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,p=e.selectProps;return Qe("div",u({css:o("group",e),className:r({group:!0},n)},s),Qe(i,u({},a,{selectProps:p,theme:c,getStyles:o,cx:r}),l),Qe("div",null,t))},GroupHeading:function(e){var t=e.getStyles,n=e.cx,r=e.className,o=Mt(e);o.data;var i=it(o,ln);return Qe("div",u({css:t("groupHeading",e),className:n({"group-heading":!0},r)},i))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.innerProps,i=e.getStyles;return Qe("div",u({css:i("indicatorsContainer",e),className:r({indicators:!0},n)},o),t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps;return Qe("span",u({},o,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.value,i=Mt(e),a=i.innerRef,s=i.isDisabled,l=i.isHidden,c=i.inputClassName,p=it(i,cn);return Qe("div",{className:n({"input-container":!0},t),css:r("input",e),"data-value":o||""},Qe("input",u({className:n({input:!0},c),ref:a,style:dn(l),disabled:s},p)))},LoadingIndicator:un,Menu:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerRef,a=e.innerProps;return Qe("div",u({css:o("menu",e),className:r({menu:!0},n),ref:i},a),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps,a=e.innerRef,s=e.isMulti;return Qe("div",u({css:o("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":s},n),ref:a},i),t)},MenuPortal:Xt,LoadingMessage:Gt,NoOptionsMessage:Wt,MultiValue:function(e){var t=e.children,n=e.className,r=e.components,o=e.cx,i=e.data,a=e.getStyles,s=e.innerProps,u=e.isDisabled,l=e.removeProps,c=e.selectProps,p=r.Container,f=r.Label,d=r.Remove;return Qe(ot,null,(function(r){var m=r.css,h=r.cx;return Qe(p,{data:i,innerProps:vt({className:h(m(a("multiValue",e)),o({"multi-value":!0,"multi-value--is-disabled":u},n))},s),selectProps:c},Qe(f,{data:i,innerProps:{className:h(m(a("multiValueLabel",e)),o({"multi-value__label":!0},n))},selectProps:c},t),Qe(d,{data:i,innerProps:vt({className:h(m(a("multiValueRemove",e)),o({"multi-value__remove":!0},n)),"aria-label":"Remove ".concat(t||"option")},l),selectProps:c}))}))},MultiValueContainer:mn,MultiValueLabel:mn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Qe("div",u({role:"button"},n),t||Qe(en,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isDisabled,a=e.isFocused,s=e.isSelected,l=e.innerRef,c=e.innerProps;return Qe("div",u({css:o("option",e),className:r({option:!0,"option--is-disabled":i,"option--is-focused":a,"option--is-selected":s},n),ref:l,"aria-disabled":i},c),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return Qe("div",u({css:o("placeholder",e),className:r({placeholder:!0},n)},i),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps,a=e.isDisabled,s=e.isRtl;return Qe("div",u({css:o("container",e),className:r({"--is-disabled":a,"--is-rtl":s},n)},i),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isDisabled,a=e.innerProps;return Qe("div",u({css:o("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":i},n)},a),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.innerProps,i=e.isMulti,a=e.getStyles,s=e.hasValue;return Qe("div",u({css:a("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":i,"value-container--has-value":s},n)},o),t)}};function vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bn(e,t){if(e){if("string"==typeof e)return vn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vn(e,t):void 0}}function gn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||bn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var yn=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function On(e){return function(e){if(Array.isArray(e))return vn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||bn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var wn=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Sn(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||wn(r)&&wn(o)))return!1;var r,o;return!0}var xn=function(e,t){var n;void 0===t&&(t=Sn);var r,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}};for(var Cn={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},Mn=function(e){return Qe("span",u({css:Cn},e))},Pn={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.isDisabled,o=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,u=e.isSelected,l=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(l(a,n),".");if("menu"===t){var c=s?" disabled":"",p="".concat(u?"selected":"focused").concat(c);return"option ".concat(i," ").concat(p,", ").concat(l(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},kn=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,u=e.id,c=s.ariaLiveMessages,p=s.getOptionLabel,f=s.inputValue,d=s.isMulti,m=s.isOptionDisabled,h=s.isSearchable,v=s.menuIsOpen,b=s.options,g=s.screenReaderStatus,y=s.tabSelectsValue,O=s["aria-label"],w=s["aria-live"],S=l.useMemo((function(){return vt(vt({},Pn),c||{})}),[c]),x=l.useMemo((function(){var e,n="";if(t&&S.onChange){var r=t.option,o=t.options,i=t.removedValue,s=t.removedValues,u=t.value,l=i||r||(e=u,Array.isArray(e)?null:e),c=l?p(l):"",f=o||s||void 0,d=f?f.map(p):[],h=vt({isDisabled:l&&m(l,a),label:c,labels:d},t);n=S.onChange(h)}return n}),[t,S,m,a,p]),C=l.useMemo((function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&S.onFocus){var i={focused:t,label:p(t),isDisabled:m(t,a),isSelected:o,options:b,context:t===n?"menu":"value",selectValue:a};e=S.onFocus(i)}return e}),[n,r,p,m,S,b,a]),M=l.useMemo((function(){var e="";if(v&&b.length&&S.onFilter){var t=g({count:o.length});e=S.onFilter({inputValue:f,resultsMessage:t})}return e}),[o,f,v,S,b,g]),P=l.useMemo((function(){var e="";if(S.guidance){var t=r?"value":v?"menu":"input";e=S.guidance({"aria-label":O,context:t,isDisabled:n&&m(n,a),isMulti:d,isSearchable:h,tabSelectsValue:y})}return e}),[O,n,r,d,m,h,v,S,a,y]),k="".concat(C," ").concat(M," ").concat(P),E=Qe(l.Fragment,null,Qe("span",{id:"aria-selection"},x),Qe("span",{id:"aria-context"},k)),I="initial-input-focus"===(null==t?void 0:t.action);return Qe(l.Fragment,null,Qe(Mn,{id:u},I&&E),Qe(Mn,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text"},i&&!I&&E))},En=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],In=new RegExp("["+En.map((function(e){return e.letters})).join("")+"]","g"),Vn={},Rn=0;Rn<En.length;Rn++)for(var Dn=En[Rn],Ln=0;Ln<Dn.letters.length;Ln++)Vn[Dn.letters[Ln]]=Dn.base;var An=function(e){return e.replace(In,(function(e){return Vn[e]}))},Tn=xn(An),Fn=function(e){return e.replace(/^\s+|\s+$/g,"")},_n=function(e){return"".concat(e.label," ").concat(e.value)},Nn=["innerRef"];function jn(e){var t=e.innerRef,n=it(e,Nn);return Qe("input",u({ref:t},n,{css:et({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Hn=["boxSizing","height","overflow","paddingRight","position"],$n={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function zn(e){e.preventDefault()}function Un(e){e.stopPropagation()}function Bn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Wn(){return"ontouchstart"in window||navigator.maxTouchPoints}var Gn=!("undefined"==typeof window||!window.document||!window.document.createElement),Yn=0,Xn={capture:!1,passive:!1};var qn=function(){return document.activeElement&&document.activeElement.blur()},Kn={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Zn(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=l.useRef(!1),s=l.useRef(!1),u=l.useRef(0),c=l.useRef(null),p=l.useCallback((function(e,t){if(null!==c.current){var u=c.current,l=u.scrollTop,p=u.scrollHeight,f=u.clientHeight,d=c.current,m=t>0,h=p-f-l,v=!1;h>t&&a.current&&(r&&r(e),a.current=!1),m&&s.current&&(i&&i(e),s.current=!1),m&&t>h?(n&&!a.current&&n(e),d.scrollTop=p,v=!0,a.current=!0):!m&&-t>l&&(o&&!s.current&&o(e),d.scrollTop=0,v=!0,s.current=!0),v&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,i]),f=l.useCallback((function(e){p(e,e.deltaY)}),[p]),d=l.useCallback((function(e){u.current=e.changedTouches[0].clientY}),[]),m=l.useCallback((function(e){var t=u.current-e.changedTouches[0].clientY;p(e,t)}),[p]),h=l.useCallback((function(e){if(e){var t=!!Tt&&{passive:!1};e.addEventListener("wheel",f,t),e.addEventListener("touchstart",d,t),e.addEventListener("touchmove",m,t)}}),[m,d,f]),v=l.useCallback((function(e){e&&(e.removeEventListener("wheel",f,!1),e.removeEventListener("touchstart",d,!1),e.removeEventListener("touchmove",m,!1))}),[m,d,f]);return l.useEffect((function(){if(t){var e=c.current;return h(e),function(){v(e)}}}),[t,h,v]),function(e){c.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=l.useRef({}),i=l.useRef(null),a=l.useCallback((function(e){if(Gn){var t=document.body,n=t&&t.style;if(r&&Hn.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&Yn<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys($n).forEach((function(e){var t=$n[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&Wn()&&(t.addEventListener("touchmove",zn,Xn),e&&(e.addEventListener("touchstart",Bn,Xn),e.addEventListener("touchmove",Un,Xn))),Yn+=1}}),[r]),s=l.useCallback((function(e){if(Gn){var t=document.body,n=t&&t.style;Yn=Math.max(Yn-1,0),r&&Yn<1&&Hn.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&Wn()&&(t.removeEventListener("touchmove",zn,Xn),e&&(e.removeEventListener("touchstart",Bn,Xn),e.removeEventListener("touchmove",Un,Xn)))}}),[r]);return l.useEffect((function(){if(t){var e=i.current;return a(e),function(){s(e)}}}),[t,a,s]),function(e){i.current=e}}({isEnabled:n});return Qe(l.Fragment,null,n&&Qe("div",{onClick:qn,css:Kn}),t((function(e){o(e),i(e)})))}var Jn={clearIndicator:on,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:rn,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.value,r=e.theme,o=r.spacing,i=r.colors;return vt({margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:t?"hidden":"visible",color:i.neutral80,transform:n?"translateZ(0)":""},fn)},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:Bt,menu:function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return ft(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),ft(t,"backgroundColor",a.neutral0),ft(t,"borderRadius",o),ft(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),ft(t,"marginBottom",i.menuGutter),ft(t,"marginTop",i.menuGutter),ft(t,"position","absolute"),ft(t,"width","100%"),ft(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused?o.dangerLight:void 0,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:Ut,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,i=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:t?void 0:r?a.primary:a.primary50}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},valueContainer:function(e){var t=e.theme.spacing,n=e.isMulti,r=e.hasValue,o=e.selectProps.controlShouldRenderValue;return{alignItems:"center",display:n&&r&&o?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var Qn,er={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},tr={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Rt(),captureMenuScroll:!Rt(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=vt({ignoreCase:!0,ignoreAccents:!0,stringify:_n,trim:!0,matchFrom:"any"},Qn),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,u=a?Fn(t):t,l=a?Fn(i(e)):i(e);return r&&(u=u.toLowerCase(),l=l.toLowerCase()),o&&(u=Tn(u),l=An(l)),"start"===s?l.substr(0,u.length)===u:l.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function nr(e,t,n,r){return{type:"option",data:t,isDisabled:ur(e,t,n),isSelected:lr(e,t,n),label:ar(e,t),value:sr(e,t),index:r}}function rr(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return nr(e,n,t,r)})).filter((function(t){return ir(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=nr(e,n,t,r);return ir(e,i)?i:void 0})).filter(Ft)}function or(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,On(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function ir(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!pr(e)||!i)&&cr(e,{label:a,value:s,data:o},r)}var ar=function(e,t){return e.getOptionLabel(t)},sr=function(e,t){return e.getOptionValue(t)};function ur(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function lr(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=sr(e,t);return n.some((function(t){return sr(e,t)===r}))}function cr(e,t,n){return!e.filterOption||e.filterOption(t,n)}var pr=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},fr=1,dr=function(e){pt(n,e);var t=yt(n);function n(e){var r;return st(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=t.name,a=r.state.selectValue,s=o&&r.isOptionSelected(e,a),u=r.isOptionDisabled(e,a);if(s){var l=r.getOptionValue(e);r.setValue(a.filter((function(e){return r.getOptionValue(e)!==l})),"deselect-option",e)}else{if(u)return void r.ariaOnChange(e,{action:"select-option",option:e,name:i});o?r.setValue([].concat(On(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter((function(e){return r.getOptionValue(e)!==o})),a=_t(t,i,i[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(_t(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),i=_t(e,o,o[0]||null);r.onChange(i,{action:"pop-value",removedValue:n})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return xt.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return ar(r.props,e)},r.getOptionValue=function(e){return sr(r.props,e)},r.getStyles=function(e,t){var n=Jn[e](t);n.boxSizing="border-box";var o=r.props.styles[e];return o?o(n,t):n},r.getElementId=function(e){return"".concat(r.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,vt(vt({},hn),e.components);var e},r.buildCategorizedOptions=function(){return rr(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return or(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:vt({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault(),e.stopPropagation()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),e.stopPropagation(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Pt(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})},r.shouldHideSelectedOptions=function(){return pr(r.props)},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,u=t.isDisabled,l=t.menuIsOpen,c=t.onKeyDown,p=t.tabSelectsValue,f=t.openMenuOnFocus,d=r.state,m=d.focusedOption,h=d.focusedValue,v=d.selectValue;if(!(u||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(h)r.removeValue(h);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!l||!p||!m||f&&r.isOptionSelected(m,v))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(l){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":l?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!l){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":l?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":l?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!l)return;r.focusOption("pageup");break;case"PageDown":if(!l)return;r.focusOption("pagedown");break;case"Home":if(!l)return;r.focusOption("first");break;case"End":if(!l)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++fr),r.state.selectValue=Ct(e.value),r}return lt(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t,n,r,o,i,a=this.props,s=a.isDisabled,u=a.menuIsOpen,l=this.state.isFocused;(l&&!s&&e.isDisabled||l&&u&&!e.menuIsOpen)&&this.focusInput(),l&&s&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,r=t.getBoundingClientRect(),o=n.getBoundingClientRect(),i=n.offsetHeight/3,o.bottom+i>r.bottom?Et(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+i,t.scrollHeight)):o.top-i<r.top&&Et(t,Math.max(n.offsetTop-i,0)),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(er):vt(vt({},er),this.props.theme):er}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.selectOption,i=this.setValue,a=this.props,s=a.isMulti,u=a.isRtl,l=a.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:u,options:l,selectOption:o,selectProps:a,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return ur(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return lr(this.props,e,t)}},{key:"filterOption",value:function(e,t){return cr(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,a=e.form,s=e.menuIsOpen,c=this.getComponents().Input,p=this.state,f=p.inputIsHidden,d=p.ariaSelection,m=this.commonProps,h=r||this.getElementId("input"),v=vt(vt({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox"),"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==d?void 0:d.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?l.createElement(c,u({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:h,innerRef:this.getInputRef,isDisabled:t,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},v)):l.createElement(jn,u({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:wt,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,c=this.commonProps,p=this.props,f=p.controlShouldRenderValue,d=p.isDisabled,m=p.isMulti,h=p.inputValue,v=p.placeholder,b=this.state,g=b.selectValue,y=b.focusedValue,O=b.isFocused;if(!this.hasValue()||!f)return h?null:l.createElement(s,u({},c,{key:"placeholder",isDisabled:d,isFocused:O,innerProps:{id:this.getElementId("placeholder")}}),v);if(m)return g.map((function(t,a){var s=t===y,p="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return l.createElement(n,u({},c,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:d,key:p,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(h)return null;var w=g[0];return l.createElement(a,u({},c,{data:w,isDisabled:d}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,u({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!e||!o)return null;return l.createElement(e,u({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return l.createElement(n,u({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,u({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,a=t.MenuPortal,s=t.LoadingMessage,c=t.NoOptionsMessage,p=t.Option,f=this.commonProps,d=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,v=m.inputValue,b=m.isLoading,g=m.loadingMessage,y=m.minMenuHeight,O=m.maxMenuHeight,w=m.menuIsOpen,S=m.menuPlacement,x=m.menuPosition,C=m.menuPortalTarget,M=m.menuShouldBlockScroll,P=m.menuShouldScrollIntoView,k=m.noOptionsMessage,E=m.onMenuScrollToTop,I=m.onMenuScrollToBottom;if(!w)return null;var V,R=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,a=t.isSelected,s=t.label,c=t.value,m=d===o,h=i?void 0:function(){return e.onOptionHover(o)},v=i?void 0:function(){return e.selectOption(o)},b="".concat(e.getElementId("option"),"-").concat(n),g={id:b,onClick:v,onMouseMove:h,onMouseOver:h,tabIndex:-1};return l.createElement(p,u({},f,{innerProps:g,data:o,isDisabled:i,isSelected:a,key:b,label:s,type:r,value:c,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())V=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,i=t.options,a=t.index,s="".concat(e.getElementId("group"),"-").concat(a),c="".concat(s,"-heading");return l.createElement(n,u({},f,{key:s,data:o,options:i,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return R(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return R(t,"".concat(t.index))}));else if(b){var D=g({inputValue:v});if(null===D)return null;V=l.createElement(s,f,D)}else{var L=k({inputValue:v});if(null===L)return null;V=l.createElement(c,f,L)}var A={minMenuHeight:y,maxMenuHeight:O,menuPlacement:S,menuPosition:x,menuShouldScrollIntoView:P},T=l.createElement($t,u({},f,A),(function(t){var n=t.ref,r=t.placerProps,a=r.placement,s=r.maxHeight;return l.createElement(o,u({},f,A,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:b,placement:a}),l.createElement(Zn,{captureEnabled:h,onTopArrive:E,onBottomArrive:I,lockEnabled:M},(function(t){return l.createElement(i,u({},f,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:b,maxHeight:s,focusedOption:d}),V)})))}));return C||"fixed"===x?l.createElement(a,u({},f,{appendTo:C,controlElement:this.controlRef,menuPlacement:S,menuPosition:x}),T):T}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=this.state.selectValue;if(i&&!r){if(o){if(n){var s=a.map((function(t){return e.getOptionValue(t)})).join(n);return l.createElement("input",{name:i,type:"hidden",value:s})}var u=a.length>0?a.map((function(t,n){return l.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):l.createElement("input",{name:i,type:"hidden"});return l.createElement("div",null,u)}var c=a[0]?this.getOptionValue(a[0]):"";return l.createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return l.createElement(kn,u({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,a=i.className,s=i.id,c=i.isDisabled,p=i.menuIsOpen,f=this.state.isFocused,d=this.commonProps=this.getCommonProps();return l.createElement(r,u({},d,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),l.createElement(t,u({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:p}),l.createElement(o,u({},d,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),l.createElement(n,u({},d,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,u=e.options,l=e.value,c=e.menuIsOpen,p=e.inputValue,f=e.isMulti,d=Ct(l),m={};if(n&&(l!==n.value||u!==n.options||c!==n.menuIsOpen||p!==n.inputValue)){var h=c?function(e,t){return or(rr(e,t))}(e,d):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,d):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,h);m={selectValue:d,focusedOption:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var g=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},y=i,O=a&&s;return a&&!O&&(y={value:_t(f,d,d[0]||null),options:d,action:"initial-input-focus"},O=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(y=null),vt(vt(vt({},m),g),{},{prevProps:e,ariaSelection:y,prevWasFocused:O})}}]),n}(l.Component);dr.defaultProps=tr;var mr={},hr={};(hr=function(e){if(Array.isArray(e))return e}).__esModule=!0,hr.default=hr;var vr={};(vr=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}).__esModule=!0,vr.default=vr;var br={},gr={};(gr=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}).__esModule=!0,gr.default=gr,(br=function(e,t){if(e){if("string"==typeof e)return gr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gr(e,t):void 0}}).__esModule=!0,br.default=br;var yr={};(yr=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}).__esModule=!0,yr.default=yr,(mr=function(e,t){return hr(e)||vr(e,t)||br(e,t)||yr()}).__esModule=!0,mr.default=mr;var Or={},wr={};wr=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},wr.__esModule=!0,wr.default=wr,Or=function(e,t){if(null==e)return{};var n,r,o=wr(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o},Or.__esModule=!0,Or.default=Or;var Sr={},xr={};(xr=function(e){if(Array.isArray(e))return gr(e)}).__esModule=!0,xr.default=xr;var Cr={};(Cr=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}).__esModule=!0,Cr.default=Cr;var Mr={};(Mr=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}).__esModule=!0,Mr.default=Mr,(Sr=function(e){return xr(e)||Cr(e)||br(e)||Mr()}).__esModule=!0,Sr.default=Sr;var Pr={};Pr=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},Pr.__esModule=!0,Pr.default=Pr;var kr={};function Er(e){return(kr=Er="function"==typeof Symbol&&"symbol"==s(Symbol.iterator)?function(e){return void 0===e?"undefined":s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":s(e)}).__esModule=!0,kr.default=kr,Er(e)}(kr=Er).__esModule=!0,kr.default=kr;var Ir={};Ir=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Ir.__esModule=!0,Ir.default=Ir;var Vr=l.forwardRef((function(e,t){var n,r,o,i,a,s,c,p,f,d,m,h,v,b,g,y,O,w,S,x,C,M,P,k,E,I,V,R,D,L,A,T=(r=(n=e).defaultInputValue,o=void 0===r?"":r,i=n.defaultMenuIsOpen,a=void 0!==i&&i,s=n.defaultValue,c=void 0===s?null:s,p=n.inputValue,f=n.menuIsOpen,d=n.onChange,m=n.onInputChange,h=n.onMenuClose,v=n.onMenuOpen,b=n.value,g=it(n,yn),y=gn(l.useState(void 0!==p?p:o),2),O=y[0],w=y[1],S=gn(l.useState(void 0!==f?f:a),2),x=S[0],C=S[1],M=gn(l.useState(void 0!==b?b:c),2),P=M[0],k=M[1],E=l.useCallback((function(e,t){"function"==typeof d&&d(e,t),k(e)}),[d]),I=l.useCallback((function(e,t){var n;"function"==typeof m&&(n=m(e,t)),w(void 0!==n?n:e)}),[m]),V=l.useCallback((function(){"function"==typeof v&&v(),C(!0)}),[v]),R=l.useCallback((function(){"function"==typeof h&&h(),C(!1)}),[h]),D=void 0!==p?p:O,L=void 0!==f?f:x,A=void 0!==b?b:P,vt(vt({},g),{},{inputValue:D,menuIsOpen:L,onChange:E,onInputChange:I,onMenuClose:R,onMenuOpen:V,value:A}));return l.createElement(dr,u({ref:t},T))})),Rr=(l.Component,Vr);function Dr(){return Dr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dr.apply(this,arguments)}var Lr=function(e){var t={control:function(e,t){return a({},e,{minHeight:"30px"})},valueContainer:function(e){return a({},e,{padding:"0 6px"})},input:function(e){return a({},e,{margin:"0px"})}},n=e.inputId?e.inputId:"kirki-react-select-input--"+e.customizerSetting.id,r=e.label?React.createElement("label",{className:"customize-control-title",dangerouslySetInnerHTML:{__html:e.label},htmlFor:n}):"",o=e.description?React.createElement("span",{className:"description customize-control-description",dangerouslySetInnerHTML:{__html:e.description}}):"";return React.createElement("div",null,r,o,React.createElement("div",{className:"customize-control-notifications-container",ref:e.setNotificationContainer}),React.createElement(Rr,Dr({},e,{inputId:n,className:"kirki-react-select-container",classNamePrefix:"kirki-react-select",inputClassName:"kirki-react-select-input",openMenuOnFocus:e.openMenuOnFocus,formatOptionLabel:function(e){return React.createElement("div",{dangerouslySetInnerHTML:{__html:e.label}})},options:e.control.getFormattedOptions(),onChange:function(t,n){var r;r="clear"===n?"":Array.isArray(t)?t.map((function(e){return e.value})):t.value,wp.customize(e.customizerSetting.id).set(r)},value:e.control.getOptionProps(e.value),isOptionDisabled:e.isOptionDisabled,components:{IndicatorSeparator:function(){return null}},theme:function(e){return a({},e,{colors:a({},e.colors,{primary:"#0073aa",primary75:"#33b3db",primary50:"#99d9ed",primary24:"#e5f5fa"})})},styles:t})))};function Ar(){return Ar=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ar.apply(this,arguments)}var Tr=wp.customize.Control.extend({initialize:function(e,t){var n=this;n.setNotificationContainer=n.setNotificationContainer.bind(n),wp.customize.Control.prototype.initialize.call(n,e,t),wp.customize.control.bind("removed",(function e(t){n===t&&(n.destroy(),n.container.remove(),wp.customize.control.unbind("removed",e))}))},setNotificationContainer:function(e){this.notifications.container=jQuery(e),this.notifications.render()},renderContent:function(){var e=this,t=e.setting.get();if(Array.isArray(t)){for(var n in e.params.choices)e.params.choices.hasOwnProperty(n)&&t.includes(n)}e.id;var r=React.createElement(Lr,Ar({},e.params,{value:t,setNotificationContainer:e.setNotificationContainer,isClearable:e.params.isClearable,customizerSetting:e.setting,isOptionDisabled:e.isOptionDisabled,control:e,isMulti:e.isMulti()}));ReactDOM.render(r,e.container[0])},ready:function(){var e=this;e.setting.bind((function(){e.renderContent()}))},isMulti:function(){return isNaN(this.params.multiple)?!0===this.params.multiple&&this.params.multiple:1<this.params.multiple},destroy:function(){ReactDOM.unmountComponentAtNode(this.container[0]),wp.customize.Control.prototype.destroy&&wp.customize.Control.prototype.destroy.call(this)},isOptionDisabled:function(e){var t=this;return!!t&&(!!t.disabledSelectOptions&&!!t.disabledSelectOptions.indexOf(e))},doSelectAction:function(e,t){var n,r=this;switch(e){case"disableOption":r.disabledSelectOptions=void 0===r.disabledSelectOptions?[]:r.disabledSelectOptions,r.disabledSelectOptions.push(r.getOptionProps(t));break;case"enableOption":if(r.disabledSelectOptions)for(n=0;n<r.disabledSelectOptions.length;n++)r.disabledSelectOptions[n].value===t&&r.disabledSelectOptions.splice(n,1);break;case"selectOption":r.value=t}r.renderContent()},formatOptions:function(){var e=this;this.formattedOptions=[],Array.isArray(this.params.choices)?this.formattedOptions=this.params.choices:_.each(e.params.choices,(function(t,n){var r;"object"==typeof t?(r={label:t[0],options:[]},_.each(t[1],(function(e,t){r.options.push({label:e,value:t})})),e.formattedOptions.push(r)):"string"==typeof t&&e.formattedOptions.push({label:t,value:n})}))},getFormattedOptions:function(){return this.formattedOptions&&this.formattedOptions.length||this.formatOptions(),this.formattedOptions},getOptionProps:function(e){var t,n,r=this.getFormattedOptions();if(this.isMulti()){var o=[];for(t=0;t<r.length;t++)if(Array.isArray(e)){e.forEach((function(e){if(r[t].value!==e){if(r[t].options)for(n=0;n<r[t].options.length;n++)r[t].options[n].value===e&&o.push(r[t].options[n])}else o.push(r[t])}))}else if(r[t].value===e&&o.push(r[t]),r[t].options)for(n=0;n<r[t].options.length;n++)r[t].options[n].value===e&&o.push(r[t].options[n]);return o}for(t=0;t<r.length;t++){if(r[t].value===e)return r[t];if(r[t].options)for(n=0;n<r[t].options.length;n++)if(r[t].options[n].value===e)return r[t].options[n]}}}),Fr=Tr;wp.customize.controlConstructor["kirki-react-select"]=Fr}();
2
- //# sourceMappingURL=control.js.map
 
1
+ /*! For license information please see control.js.LICENSE.txt */
2
+ !function(){"use strict";var e={679:function(e,t,n){var r=n(864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=f(n);o&&o!==m&&e(t,o,r)}var a=c(n);p&&(a=a.concat(p(n)));for(var s=u(t),h=u(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||h&&h[g]||s&&s[g])){var b=d(n,g);try{l(t,g,b)}catch(e){}}}}return t}},921:function(e,t){var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,O=n?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case p:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case l:case d:case v:case h:case u:return e;default:return t}}case o:return t}}}function w(e){return S(e)===p}t.AsyncMode=c,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=v,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return w(e)||S(e)===c},t.isConcurrentMode=w,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return S(e)===d},t.isFragment=function(e){return S(e)===i},t.isLazy=function(e){return S(e)===v},t.isMemo=function(e){return S(e)===h},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===s||e===a||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===h||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===O||e.$$typeof===g)},t.typeOf=S},864:function(e,t,n){e.exports=n(921)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}!function(){function e(){return e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.apply(this,arguments)}var t=React,r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function u(e,t,n){return e.replace(t,n)}function l(e,t){return e.indexOf(t)}function c(e,t){return 0|e.charCodeAt(t)}function p(e,t,n){return e.slice(t,n)}function d(e){return e.length}function f(e){return e.length}function m(e,t){return t.push(e),e}var h=1,v=1,g=0,b=0,y=0,O="";function S(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:h,column:v,length:a,return:""}}function w(e,t){return a(S("",null,null,"",null,null,0),e,{length:-e.length},t)}function C(){return y=b>0?c(O,--b):0,v--,10===y&&(v=1,h--),y}function x(){return y=b<g?c(O,b++):0,v++,10===y&&(v=1,h++),y}function M(){return c(O,b)}function P(){return b}function k(e,t){return p(O,e,t)}function I(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function E(e){return h=v=1,g=d(O=e),b=0,[]}function V(e){return O="",e}function R(e){return s(k(b-1,A(91===e?e+2:40===e?e+1:e)))}function D(e){for(;(y=M())&&y<33;)x();return I(e)>2||I(y)>3?"":" "}function L(e,t){for(;--t&&x()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return k(e,P()+(t<6&&32==M()&&32==x()))}function A(e){for(;x();)switch(y){case e:return b;case 34:case 39:34!==e&&39!==e&&A(y);break;case 40:41===e&&A(e);break;case 92:x()}return b}function F(e,t){for(;x()&&e+y!==57&&(e+y!==84||47!==M()););return"/*"+k(t,b-1)+"*"+i(47===e?e:x())}function T(e){for(;!I(M());)x();return k(e,b)}var N="-ms-",H="-moz-",j="-webkit-",$="comm",z="rule",U="decl",B="@keyframes";function W(e,t){for(var n="",r=f(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function G(e,t,n,r){switch(e.type){case"@import":case U:return e.return=e.return||e.value;case $:return"";case B:return e.return=e.value+"{"+W(e.children,r)+"}";case z:e.value=e.props.join(",")}return d(n=W(e.children,r))?e.return=e.value+"{"+n+"}":""}function Y(e,t){switch(function(e,t){return(((t<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3)}(e,t)){case 5103:return j+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return j+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return j+e+H+e+N+e+e;case 6828:case 4268:return j+e+N+e+e;case 6165:return j+e+N+"flex-"+e+e;case 5187:return j+e+u(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return j+e+N+"flex-item-"+u(e,/flex-|-self/,"")+e;case 4675:return j+e+N+"flex-line-pack"+u(e,/align-content|flex-|-self/,"")+e;case 5548:return j+e+N+u(e,"shrink","negative")+e;case 5292:return j+e+N+u(e,"basis","preferred-size")+e;case 6060:return j+"box-"+u(e,"-grow","")+j+e+N+u(e,"grow","positive")+e;case 4554:return j+u(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return u(u(u(e,/(zoom-|grab)/,j+"$1"),/(image-set)/,j+"$1"),e,"")+e;case 5495:case 3959:return u(e,/(image-set\([^]*)/,j+"$1$`$1");case 4968:return u(u(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+j+e+e;case 4095:case 3583:case 4068:case 2532:return u(e,/(.+)-inline(.+)/,j+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(e)-1-t>6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+H+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~l(e,"stretch")?Y(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,d(e)-3-(~l(e,"!important")&&10))){case 107:return u(e,":",":"+j)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(45===c(e,14)?"inline-":"")+"box$3$1"+j+"$2$3$1"+N+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return j+e+N+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return j+e+N+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return j+e+N+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return j+e+N+e+e}return e}function X(e){return V(K("",null,null,null,[""],e=E(e),0,[0],e))}function K(e,t,n,r,o,a,s,c,p){for(var f=0,h=0,v=s,g=0,b=0,y=0,O=1,S=1,w=1,k=0,I="",E=o,V=a,A=r,N=I;S;)switch(y=k,k=x()){case 40:if(108!=y&&58==N.charCodeAt(v-1)){-1!=l(N+=u(R(k),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:N+=R(k);break;case 9:case 10:case 13:case 32:N+=D(y);break;case 92:N+=L(P()-1,7);continue;case 47:switch(M()){case 42:case 47:m(q(F(x(),P()),t,n),p);break;default:N+="/"}break;case 123*O:c[f++]=d(N)*w;case 125*O:case 59:case 0:switch(k){case 0:case 125:S=0;case 59+h:b>0&&d(N)-v&&m(b>32?J(N+";",r,n,v-1):J(u(N," ","")+";",r,n,v-2),p);break;case 59:N+=";";default:if(m(A=Z(N,t,n,f,h,o,c,I,E=[],V=[],v),a),123===k)if(0===h)K(N,t,A,A,E,a,v,c,V);else switch(g){case 100:case 109:case 115:K(e,A,A,r&&m(Z(e,A,A,0,0,o,c,I,o,E=[],v),V),o,V,v,c,r?E:V);break;default:K(N,A,A,A,[""],V,0,c,V)}}f=h=b=0,O=w=1,I=N="",v=s;break;case 58:v=1+d(N),b=y;default:if(O<1)if(123==k)--O;else if(125==k&&0==O++&&125==C())continue;switch(N+=i(k),k*O){case 38:w=h>0?1:(N+="\f",-1);break;case 44:c[f++]=(d(N)-1)*w,w=1;break;case 64:45===M()&&(N+=R(x())),g=M(),h=v=d(I=N+=T(P())),k++;break;case 45:45===y&&2==d(N)&&(O=0)}}return a}function Z(e,t,n,r,i,a,l,c,d,m,h){for(var v=i-1,g=0===i?a:[""],b=f(g),y=0,O=0,w=0;y<r;++y)for(var C=0,x=p(e,v+1,v=o(O=l[y])),M=e;C<b;++C)(M=s(O>0?g[C]+" "+x:u(x,/&\f/g,g[C])))&&(d[w++]=M);return S(e,t,n,0===i?z:c,d,m,h)}function q(e,t,n){return S(e,t,n,$,i(y),p(e,2,-2),0)}function J(e,t,n,r){return S(e,t,n,U,p(e,0,r),p(e,r+1,-1),r)}var Q=function(e,t,n){for(var r=0,o=0;r=o,o=M(),38===r&&12===o&&(t[n]=1),!I(o);)x();return k(e,b)},ee=new WeakMap,te=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ee.get(n))&&!r){ee.set(e,!0);for(var o=[],a=function(e,t){return V(function(e,t){var n=-1,r=44;do{switch(I(r)){case 0:38===r&&12===M()&&(t[n]=1),e[n]+=Q(b-1,t,n);break;case 2:e[n]+=R(r);break;case 4:if(44===r){e[++n]=58===M()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=x());return e}(E(e),t))}(t,o),s=n.props,u=0,l=0;u<a.length;u++)for(var c=0;c<s.length;c++,l++)e.props[l]=o[u]?a[u].replace(/&\f/g,s[c]):s[c]+" "+a[u]}}},ne=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=Y(e.value,e.length);break;case B:return W([w(e,{value:u(e.value,"@","@"+j)})],r);case z:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return W([w(e,{props:[u(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return W([w(e,{props:[u(t,/:(plac\w+)/,":-webkit-input-$1")]}),w(e,{props:[u(t,/:(plac\w+)/,":-moz-$1")]}),w(e,{props:[u(t,/:(plac\w+)/,N+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,a=e.stylisPlugins||re,s={},u=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;u.push(e)}));var l,c,p,d,m=[G,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(c=[te,ne].concat(a,m),p=f(c),function(e,t,n,r){for(var o="",i=0;i<p;i++)o+=c[i](e,t,n,r)||"";return o});i=function(e,t,n,r){l=n,W(X(e?e+"{"+t.styles+"}":t.styles),h),r&&(v.inserted[t.name]=!0)};var v={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return v.sheet.hydrate(u),v};function ie(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var ae=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},se=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},ue={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},le=/[A-Z]|^ms/g,ce=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pe=function(e){return 45===e.charCodeAt(1)},de=function(e){return null!=e&&"boolean"!=typeof e},fe=function(e){var t=Object.create(null);return function(e){return void 0===t[e]&&(t[e]=pe(n=e)?n:n.replace(le,"-$&").toLowerCase()),t[e];var n}}(),me=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ce,(function(e,t,n){return ve={name:t,styles:n,next:ve},t}))}return 1===ue[e]||pe(e)||"number"!=typeof t||0===t?t:t+"px"};function he(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return ve={name:n.name,styles:n.styles,next:ve},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)ve={name:r.name,styles:r.styles,next:ve},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=he(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":de(a)&&(r+=fe(i)+":"+me(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=he(e,t,a);switch(i){case"animation":case"animationName":r+=fe(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)de(a[u])&&(r+=fe(i)+":"+me(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=ve,i=n(e);return ve=o,he(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var ve,ge=/label:\s*([^\s;\n{]+)\s*(;|$)/g,be=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";ve=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=he(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=he(n,t,e[a]),r&&(o+=i[a]);ge.lastIndex=0;for(var s,u="";null!==(s=ge.exec(o));)u+="-"+s[1];return{name:se(o)+u,styles:o,next:ve}},ye={}.hasOwnProperty,Oe=(0,t.createContext)("undefined"!=typeof HTMLElement?oe({key:"css"}):null),Se=(Oe.Provider,function(e){return(0,t.forwardRef)((function(n,r){var o=(0,t.useContext)(Oe);return e(n,o,r)}))}),we=(0,t.createContext)({}),Ce="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",xe=function(e,t){var n={};for(var r in t)ye.call(t,r)&&(n[r]=t[r]);return n[Ce]=e,n},Me=function(){return null},Pe=Se((function(e,n,r){var o=e.css;"string"==typeof o&&void 0!==n.registered[o]&&(o=n.registered[o]);var i=e[Ce],a=[o],s="";"string"==typeof e.className?s=ie(n.registered,a,e.className):null!=e.className&&(s=e.className+" ");var u=be(a,void 0,(0,t.useContext)(we));ae(n,u,"string"==typeof i),s+=n.key+"-"+u.name;var l={};for(var c in e)ye.call(e,c)&&"css"!==c&&c!==Ce&&(l[c]=e[c]);l.ref=r,l.className=s;var p=(0,t.createElement)(i,l),d=(0,t.createElement)(Me,null);return(0,t.createElement)(t.Fragment,null,d,p)}));n(679);var ke=function(e,n){var r=arguments;if(null==n||!ye.call(n,"css"))return t.createElement.apply(void 0,r);var o=r.length,i=new Array(o);i[0]=Pe,i[1]=xe(e,n);for(var a=2;a<o;a++)i[a]=r[a];return t.createElement.apply(null,i)};function Ie(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return be(t)}var Ee=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var s in a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function Ve(e,t,n){var r=[],o=ie(e,r,n);return r.length<2?n:o+t(r)}var Re=function(){return null},De=Se((function(e,n){var r=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=be(t,n.registered);return ae(n,o,!1),n.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Ve(n.registered,r,Ee(t))},theme:(0,t.useContext)(we)},i=e.children(o),a=(0,t.createElement)(Re,null);return(0,t.createElement)(t.Fragment,null,a,i)}));function Le(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ae(e){return Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(e)}function Fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ne(e,t,n){return t&&Te(e.prototype,t),n&&Te(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function He(e,t){return He=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},He(e,t)}function je(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&He(e,t)}function $e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ze=ReactDOM;function Ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){Ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},We(e)}function Ge(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ye(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=We(e);if(t){var o=We(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ge(this,n)}}var Xe=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Ke=function(){};function Ze(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function qe(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(Ze(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Je=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Ae(e)&&null!==e?[e]:[];var t},Qe=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,Be({},Le(e,Xe))};function et(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function tt(e){return et(e)?window.pageYOffset:e.scrollTop}function nt(e,t){et(e)?window.scrollTo(0,t):e.scrollTop=t}function rt(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function ot(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ke,o=tt(e),i=t-o,a=10,s=0;function u(){var t=rt(s+=a,o,i,n);nt(e,t),s<n?window.requestAnimationFrame(u):r(e)}u()}function it(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var at=!1,st={get passive(){return at=!0}},ut="undefined"!=typeof window?window:{};ut.addEventListener&&ut.removeEventListener&&(ut.addEventListener("p",Ke,st),ut.removeEventListener("p",Ke,!1));var lt=at;function ct(e){return null!=e}function pt(e,t,n){return e?t:n}function dt(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.theme.spacing,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=u.getBoundingClientRect().height,p=n.getBoundingClientRect(),d=p.bottom,f=p.height,m=p.top,h=n.offsetParent.getBoundingClientRect().top,v=window.innerHeight,g=tt(u),b=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),O=h-y,S=v-m,w=O+g,C=c-g-m,x=d-v+g+b,M=g+m-y,P=160;switch(o){case"auto":case"bottom":if(S>=f)return{placement:"bottom",maxHeight:t};if(C>=f&&!a)return i&&ot(u,x,P),{placement:"bottom",maxHeight:t};if(!a&&C>=r||a&&S>=r)return i&&ot(u,x,P),{placement:"bottom",maxHeight:a?S-b:C-b};if("auto"===o||a){var k=t,I=a?O:w;return I>=r&&(k=Math.min(I-b-s.controlHeight,t)),{placement:"top",maxHeight:k}}if("bottom"===o)return i&&nt(u,x),{placement:"bottom",maxHeight:t};break;case"top":if(O>=f)return{placement:"top",maxHeight:t};if(w>=f&&!a)return i&&ot(u,M,P),{placement:"top",maxHeight:t};if(!a&&w>=r||a&&O>=r){var E=t;return(!a&&w>=r||a&&O>=r)&&(E=a?O-y:w-y),i&&ot(u,M,P),{placement:"top",maxHeight:E}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return l}var ft=function(e){return"auto"===e?"bottom":e},mt=(0,t.createContext)({getPortalPlacement:null}),ht=function(e){je(n,e);var t=Ye(n);function n(){var e;Fe(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.context=void 0,e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,o=n.maxMenuHeight,i=n.menuPlacement,a=n.menuPosition,s=n.menuShouldScrollIntoView,u=n.theme;if(t){var l="fixed"===a,c=dt({maxHeight:o,menuEl:t,minHeight:r,placement:i,shouldScroll:s&&!l,isFixedPosition:l,theme:u}),p=e.context.getPortalPlacement;p&&p(c),e.setState(c)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||ft(t);return Be(Be({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return Ne(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(t.Component);ht.contextType=mt;var vt=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},gt=vt,bt=vt,yt=function(t){var n=t.children,r=t.className,o=t.cx,i=t.getStyles,a=t.innerProps;return ke("div",e({css:i("noOptionsMessage",t),className:o({"menu-notice":!0,"menu-notice--no-options":!0},r)},a),n)};yt.defaultProps={children:"No options"};var Ot=function(t){var n=t.children,r=t.className,o=t.cx,i=t.getStyles,a=t.innerProps;return ke("div",e({css:i("loadingMessage",t),className:o({"menu-notice":!0,"menu-notice--loading":!0},r)},a),n)};Ot.defaultProps={children:"Loading..."};var St,wt,Ct,xt=function(t){je(r,t);var n=Ye(r);function r(){var e;Fe(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return(e=n.call.apply(n,[this].concat(o))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==ft(e.props.menuPlacement)&&e.setState({placement:n})},e}return Ne(r,[{key:"render",value:function(){var t=this.props,n=t.appendTo,r=t.children,o=t.className,i=t.controlElement,a=t.cx,s=t.innerProps,u=t.menuPlacement,l=t.menuPosition,c=t.getStyles,p="fixed"===l;if(!n&&!p||!i)return null;var d=this.state.placement||ft(u),f=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(i),m=p?0:window.pageYOffset,h=f[d]+m,v=ke("div",e({css:c("menuPortal",{offset:h,position:l,rect:f}),className:a({"menu-portal":!0},o)},s),r);return ke(mt.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},n?(0,ze.createPortal)(v,n):v)}}]),r}(t.Component),Mt=["size"],Pt={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},kt=function(t){var n=t.size,r=Le(t,Mt);return ke("svg",e({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Pt},r))},It=function(t){return ke(kt,e({size:20},t),ke("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Et=function(t){return ke(kt,e({size:20},t),ke("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Vt=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},Rt=Vt,Dt=Vt,Lt=function(){var e=Ie.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(St||(wt=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Ct||(Ct=wt.slice(0)),St=Object.freeze(Object.defineProperties(wt,{raw:{value:Object.freeze(Ct)}})))),At=function(e){var t=e.delay,n=e.offset;return ke("span",{css:Ie({animation:"".concat(Lt," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Ft=function(t){var n=t.className,r=t.cx,o=t.getStyles,i=t.innerProps,a=t.isRtl;return ke("div",e({css:o("loadingIndicator",t),className:r({indicator:!0,"loading-indicator":!0},n)},i),ke(At,{delay:0,offset:a}),ke(At,{delay:160,offset:!0}),ke(At,{delay:320,offset:!a}))};Ft.defaultProps={size:4};var Tt=["data"],Nt=["innerRef","isDisabled","isHidden","inputClassName"],Ht={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},jt={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Be({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ht)},$t=function(e){return Be({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ht)},zt=function(e){var t=e.children,n=e.innerProps;return ke("div",n,t)},Ut={ClearIndicator:function(t){var n=t.children,r=t.className,o=t.cx,i=t.getStyles,a=t.innerProps;return ke("div",e({css:i("clearIndicator",t),className:o({indicator:!0,"clear-indicator":!0},r)},a),n||ke(It,null))},Control:function(t){var n=t.children,r=t.cx,o=t.getStyles,i=t.className,a=t.isDisabled,s=t.isFocused,u=t.innerRef,l=t.innerProps,c=t.menuIsOpen;return ke("div",e({ref:u,css:o("control",t),className:r({control:!0,"control--is-disabled":a,"control--is-focused":s,"control--menu-is-open":c},i)},l),n)},DropdownIndicator:function(t){var n=t.children,r=t.className,o=t.cx,i=t.getStyles,a=t.innerProps;return ke("div",e({css:i("dropdownIndicator",t),className:o({indicator:!0,"dropdown-indicator":!0},r)},a),n||ke(Et,null))},DownChevron:Et,CrossIcon:It,Group:function(t){var n=t.children,r=t.className,o=t.cx,i=t.getStyles,a=t.Heading,s=t.headingProps,u=t.innerProps,l=t.label,c=t.theme,p=t.selectProps;return ke("div",e({css:i("group",t),className:o({group:!0},r)},u),ke(a,e({},s,{selectProps:p,theme:c,getStyles:i,cx:o}),l),ke("div",null,n))},GroupHeading:function(t){var n=t.getStyles,r=t.cx,o=t.className,i=Qe(t);i.data;var a=Le(i,Tt);return ke("div",e({css:n("groupHeading",t),className:r({"group-heading":!0},o)},a))},IndicatorsContainer:function(t){var n=t.children,r=t.className,o=t.cx,i=t.innerProps,a=t.getStyles;return ke("div",e({css:a("indicatorsContainer",t),className:o({indicators:!0},r)},i),n)},IndicatorSeparator:function(t){var n=t.className,r=t.cx,o=t.getStyles,i=t.innerProps;return ke("span",e({},i,{css:o("indicatorSeparator",t),className:r({"indicator-separator":!0},n)}))},Input:function(t){var n=t.className,r=t.cx,o=t.getStyles,i=t.value,a=Qe(t),s=a.innerRef,u=a.isDisabled,l=a.isHidden,c=a.inputClassName,p=Le(a,Nt);return ke("div",{className:r({"input-container":!0},n),css:o("input",t),"data-value":i||""},ke("input",e({className:r({input:!0},c),ref:s,style:$t(l),disabled:u},p)))},LoadingIndicator:Ft,Menu:function(t){var n=t.children,r=t.className,o=t.cx,i=t.getStyles,a=t.innerRef,s=t.innerProps;return ke("div",e({css:i("menu",t),className:o({menu:!0},r),ref:a},s),n)},MenuList:function(t){var n=t.children,r=t.className,o=t.cx,i=t.getStyles,a=t.innerProps,s=t.innerRef,u=t.isMulti;return ke("div",e({css:i("menuList",t),className:o({"menu-list":!0,"menu-list--is-multi":u},r),ref:s},a),n)},MenuPortal:xt,LoadingMessage:Ot,NoOptionsMessage:yt,MultiValue:function(e){var t=e.children,n=e.className,r=e.components,o=e.cx,i=e.data,a=e.getStyles,s=e.innerProps,u=e.isDisabled,l=e.removeProps,c=e.selectProps,p=r.Container,d=r.Label,f=r.Remove;return ke(De,null,(function(r){var m=r.css,h=r.cx;return ke(p,{data:i,innerProps:Be({className:h(m(a("multiValue",e)),o({"multi-value":!0,"multi-value--is-disabled":u},n))},s),selectProps:c},ke(d,{data:i,innerProps:{className:h(m(a("multiValueLabel",e)),o({"multi-value__label":!0},n))},selectProps:c},t),ke(f,{data:i,innerProps:Be({className:h(m(a("multiValueRemove",e)),o({"multi-value__remove":!0},n)),"aria-label":"Remove ".concat(t||"option")},l),selectProps:c}))}))},MultiValueContainer:zt,MultiValueLabel:zt,MultiValueRemove:function(t){var n=t.children,r=t.innerProps;return ke("div",e({role:"button"},r),n||ke(It,{size:14}))},Option:function(t){var n=t.children,r=t.className,o=t.cx,i=t.getStyles,a=t.isDisabled,s=t.isFocused,u=t.isSelected,l=t.innerRef,c=t.innerProps;return ke("div",e({css:i("option",t),className:o({option:!0,"option--is-disabled":a,"option--is-focused":s,"option--is-selected":u},r),ref:l,"aria-disabled":a},c),n)},Placeholder:function(t){var n=t.children,r=t.className,o=t.cx,i=t.getStyles,a=t.innerProps;return ke("div",e({css:i("placeholder",t),className:o({placeholder:!0},r)},a),n)},SelectContainer:function(t){var n=t.children,r=t.className,o=t.cx,i=t.getStyles,a=t.innerProps,s=t.isDisabled,u=t.isRtl;return ke("div",e({css:i("container",t),className:o({"--is-disabled":s,"--is-rtl":u},r)},a),n)},SingleValue:function(t){var n=t.children,r=t.className,o=t.cx,i=t.getStyles,a=t.isDisabled,s=t.innerProps;return ke("div",e({css:i("singleValue",t),className:o({"single-value":!0,"single-value--is-disabled":a},r)},s),n)},ValueContainer:function(t){var n=t.children,r=t.className,o=t.cx,i=t.innerProps,a=t.isMulti,s=t.getStyles,u=t.hasValue;return ke("div",e({css:s("valueContainer",t),className:o({"value-container":!0,"value-container--is-multi":a,"value-container--has-value":u},r)},i),n)}};function _t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Bt(e,t){if(e){if("string"==typeof e)return _t(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_t(e,t):void 0}}function Wt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||Bt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Gt=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Yt(e){return function(e){if(Array.isArray(e))return _t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Bt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Xt=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Kt(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||Xt(r)&&Xt(o)))return!1;var r,o;return!0}for(var Zt={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},qt=function(t){return ke("span",e({css:Zt},t))},Jt={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.isDisabled,o=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,u=e.isSelected,l=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(l(a,n),".");if("menu"===t){var c=s?" disabled":"",p="".concat(u?"selected":"focused").concat(c);return"option ".concat(i," ").concat(p,", ").concat(l(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Qt=function(e){var n=e.ariaSelection,r=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,a=e.isFocused,s=e.selectValue,u=e.selectProps,l=e.id,c=u.ariaLiveMessages,p=u.getOptionLabel,d=u.inputValue,f=u.isMulti,m=u.isOptionDisabled,h=u.isSearchable,v=u.menuIsOpen,g=u.options,b=u.screenReaderStatus,y=u.tabSelectsValue,O=u["aria-label"],S=u["aria-live"],w=(0,t.useMemo)((function(){return Be(Be({},Jt),c||{})}),[c]),C=(0,t.useMemo)((function(){var e,t="";if(n&&w.onChange){var r=n.option,o=n.options,i=n.removedValue,a=n.removedValues,u=n.value,l=i||r||(e=u,Array.isArray(e)?null:e),c=l?p(l):"",d=o||a||void 0,f=d?d.map(p):[],h=Be({isDisabled:l&&m(l,s),label:c,labels:f},n);t=w.onChange(h)}return t}),[n,w,m,s,p]),x=(0,t.useMemo)((function(){var e="",t=r||o,n=!!(r&&s&&s.includes(r));if(t&&w.onFocus){var i={focused:t,label:p(t),isDisabled:m(t,s),isSelected:n,options:g,context:t===r?"menu":"value",selectValue:s};e=w.onFocus(i)}return e}),[r,o,p,m,w,g,s]),M=(0,t.useMemo)((function(){var e="";if(v&&g.length&&w.onFilter){var t=b({count:i.length});e=w.onFilter({inputValue:d,resultsMessage:t})}return e}),[i,d,v,w,g,b]),P=(0,t.useMemo)((function(){var e="";if(w.guidance){var t=o?"value":v?"menu":"input";e=w.guidance({"aria-label":O,context:t,isDisabled:r&&m(r,s),isMulti:f,isSearchable:h,tabSelectsValue:y})}return e}),[O,r,o,f,m,h,v,w,s,y]),k="".concat(x," ").concat(M," ").concat(P),I=ke(t.Fragment,null,ke("span",{id:"aria-selection"},C),ke("span",{id:"aria-context"},k)),E="initial-input-focus"===(null==n?void 0:n.action);return ke(t.Fragment,null,ke(qt,{id:l},E&&I),ke(qt,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text"},a&&!E&&I))},en=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],tn=new RegExp("["+en.map((function(e){return e.letters})).join("")+"]","g"),nn={},rn=0;rn<en.length;rn++)for(var on=en[rn],an=0;an<on.letters.length;an++)nn[on.letters[an]]=on.base;var sn=function(e){return e.replace(tn,(function(e){return nn[e]}))},un=function(e,t){var n;void 0===t&&(t=Kt);var r,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}}(sn),ln=function(e){return e.replace(/^\s+|\s+$/g,"")},cn=function(e){return"".concat(e.label," ").concat(e.value)},pn=["innerRef"];function dn(t){var n=t.innerRef,r=Le(t,pn);return ke("input",e({ref:n},r,{css:Ie({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var fn=["boxSizing","height","overflow","paddingRight","position"],mn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function hn(e){e.preventDefault()}function vn(e){e.stopPropagation()}function gn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function bn(){return"ontouchstart"in window||navigator.maxTouchPoints}var yn=!("undefined"==typeof window||!window.document||!window.document.createElement),On=0,Sn={capture:!1,passive:!1},wn=function(){return document.activeElement&&document.activeElement.blur()},Cn={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function xn(e){var n=e.children,r=e.lockEnabled,o=e.captureEnabled,i=function(e){var n=e.isEnabled,r=e.onBottomArrive,o=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,s=(0,t.useRef)(!1),u=(0,t.useRef)(!1),l=(0,t.useRef)(0),c=(0,t.useRef)(null),p=(0,t.useCallback)((function(e,t){if(null!==c.current){var n=c.current,l=n.scrollTop,p=n.scrollHeight,d=n.clientHeight,f=c.current,m=t>0,h=p-d-l,v=!1;h>t&&s.current&&(o&&o(e),s.current=!1),m&&u.current&&(a&&a(e),u.current=!1),m&&t>h?(r&&!s.current&&r(e),f.scrollTop=p,v=!0,s.current=!0):!m&&-t>l&&(i&&!u.current&&i(e),f.scrollTop=0,v=!0,u.current=!0),v&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[r,o,i,a]),d=(0,t.useCallback)((function(e){p(e,e.deltaY)}),[p]),f=(0,t.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),m=(0,t.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;p(e,t)}),[p]),h=(0,t.useCallback)((function(e){if(e){var t=!!lt&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",m,t)}}),[m,f,d]),v=(0,t.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",m,!1))}),[m,f,d]);return(0,t.useEffect)((function(){if(n){var e=c.current;return h(e),function(){v(e)}}}),[n,h,v]),function(e){c.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var n=e.isEnabled,r=e.accountForScrollbars,o=void 0===r||r,i=(0,t.useRef)({}),a=(0,t.useRef)(null),s=(0,t.useCallback)((function(e){if(yn){var t=document.body,n=t&&t.style;if(o&&fn.forEach((function(e){var t=n&&n[e];i.current[e]=t})),o&&On<1){var r=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(mn).forEach((function(e){var t=mn[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&bn()&&(t.addEventListener("touchmove",hn,Sn),e&&(e.addEventListener("touchstart",gn,Sn),e.addEventListener("touchmove",vn,Sn))),On+=1}}),[o]),u=(0,t.useCallback)((function(e){if(yn){var t=document.body,n=t&&t.style;On=Math.max(On-1,0),o&&On<1&&fn.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&bn()&&(t.removeEventListener("touchmove",hn,Sn),e&&(e.removeEventListener("touchstart",gn,Sn),e.removeEventListener("touchmove",vn,Sn)))}}),[o]);return(0,t.useEffect)((function(){if(n){var e=a.current;return s(e),function(){u(e)}}}),[n,s,u]),function(e){a.current=e}}({isEnabled:r});return ke(t.Fragment,null,r&&ke("div",{onClick:wn,css:Cn}),n((function(e){i(e),a(e)})))}var Mn={clearIndicator:Dt,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:Rt,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.value,r=e.theme,o=r.spacing,i=r.colors;return Be({margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:t?"hidden":"visible",color:i.neutral80,transform:n?"translateZ(0)":""},jt)},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:bt,menu:function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return $e(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),$e(t,"backgroundColor",a.neutral0),$e(t,"borderRadius",o),$e(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),$e(t,"marginBottom",i.menuGutter),$e(t,"marginTop",i.menuGutter),$e(t,"position","absolute"),$e(t,"width","100%"),$e(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused?o.dangerLight:void 0,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:gt,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,i=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:t?void 0:r?a.primary:a.primary50}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},valueContainer:function(e){var t=e.theme.spacing,n=e.isMulti,r=e.hasValue,o=e.selectProps.controlShouldRenderValue;return{alignItems:"center",display:n&&r&&o?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}},Pn={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},kn={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:it(),captureMenuScroll:!it(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=Be({ignoreCase:!0,ignoreAccents:!0,stringify:cn,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,u=a?ln(t):t,l=a?ln(i(e)):i(e);return r&&(u=u.toLowerCase(),l=l.toLowerCase()),o&&(u=un(u),l=sn(l)),"start"===s?l.substr(0,u.length)===u:l.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function In(e,t,n,r){return{type:"option",data:t,isDisabled:An(e,t,n),isSelected:Fn(e,t,n),label:Dn(e,t),value:Ln(e,t),index:r}}function En(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return In(e,n,t,r)})).filter((function(t){return Rn(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=In(e,n,t,r);return Rn(e,i)?i:void 0})).filter(ct)}function Vn(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,Yt(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Rn(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!Nn(e)||!i)&&Tn(e,{label:a,value:s,data:o},r)}var Dn=function(e,t){return e.getOptionLabel(t)},Ln=function(e,t){return e.getOptionValue(t)};function An(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Fn(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Ln(e,t);return n.some((function(t){return Ln(e,t)===r}))}function Tn(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Nn=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Hn=1,jn=function(n){je(o,n);var r=Ye(o);function o(e){var t;return Fe(this,o),(t=r.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,i=r.name;n.name=i,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,i=n.name,a=t.state.selectValue,s=o&&t.isOptionSelected(e,a),u=t.isOptionDisabled(e,a);if(s){var l=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==l})),"deselect-option",e)}else{if(u)return void t.ariaOnChange(e,{action:"select-option",option:e,name:i});o?t.setValue([].concat(Yt(a),[e]),"select-option",e):t.setValue(e,"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,o=t.getOptionValue(e),i=r.filter((function(e){return t.getOptionValue(e)!==o})),a=pt(n,i,i[0]||null);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(pt(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),i=pt(e,o,o[0]||null);t.onChange(i,{action:"pop-value",removedValue:r})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return qe.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return Dn(t.props,e)},t.getOptionValue=function(e){return Ln(t.props,e)},t.getStyles=function(e,n){var r=Mn[e](n);r.boxSizing="border-box";var o=t.props.styles[e];return o?o(r,n):r},t.getElementId=function(e){return"".concat(t.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,Be(Be({},Ut),e.components);var e},t.buildCategorizedOptions=function(){return En(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return Vn(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:Be({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault(),e.stopPropagation()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),e.stopPropagation(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&et(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),i=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||i>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){return Nn(t.props)},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,i=n.escapeClearsValue,a=n.inputValue,s=n.isClearable,u=n.isDisabled,l=n.menuIsOpen,c=n.onKeyDown,p=n.tabSelectsValue,d=n.openMenuOnFocus,f=t.state,m=f.focusedOption,h=f.focusedValue,v=f.selectValue;if(!(u||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;t.focusValue("previous");break;case"ArrowRight":if(!r||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(h)t.removeValue(h);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!l||!p||!m||d&&t.isOptionSelected(m,v))return;t.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(l){if(!m)return;if(t.isComposing)return;t.selectOption(m);break}return;case"Escape":l?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):s&&i&&t.clearValue();break;case" ":if(a)return;if(!l){t.openMenu("first");break}if(!m)return;t.selectOption(m);break;case"ArrowUp":l?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":l?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!l)return;t.focusOption("pageup");break;case"PageDown":if(!l)return;t.focusOption("pagedown");break;case"Home":if(!l)return;t.focusOption("first");break;case"End":if(!l)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.instancePrefix="react-select-"+(t.props.instanceId||++Hn),t.state.selectValue=Je(e.value),t}return Ne(o,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t,n,r,o,i,a=this.props,s=a.isDisabled,u=a.menuIsOpen,l=this.state.isFocused;(l&&!s&&e.isDisabled||l&&u&&!e.menuIsOpen)&&this.focusInput(),l&&s&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,r=t.getBoundingClientRect(),o=n.getBoundingClientRect(),i=n.offsetHeight/3,o.bottom+i>r.bottom?nt(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+i,t.scrollHeight)):o.top-i<r.top&&nt(t,Math.max(n.offsetTop-i,0)),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Pn):Be(Be({},Pn),this.props.theme):Pn}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.selectOption,i=this.setValue,a=this.props,s=a.isMulti,u=a.isRtl,l=a.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:u,options:l,selectOption:o,selectProps:a,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return An(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Fn(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Tn(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var n=this.props,r=n.isDisabled,o=n.isSearchable,i=n.inputId,a=n.inputValue,s=n.tabIndex,u=n.form,l=n.menuIsOpen,c=this.getComponents().Input,p=this.state,d=p.inputIsHidden,f=p.ariaSelection,m=this.commonProps,h=i||this.getElementId("input"),v=Be(Be({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox"),"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},!o&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==f?void 0:f.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?t.createElement(c,e({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:h,innerRef:this.getInputRef,isDisabled:r,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:u,type:"text",value:a},v)):t.createElement(dn,e({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ke,onFocus:this.onInputFocus,disabled:r,tabIndex:s,inputMode:"none",form:u,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var n=this,r=this.getComponents(),o=r.MultiValue,i=r.MultiValueContainer,a=r.MultiValueLabel,s=r.MultiValueRemove,u=r.SingleValue,l=r.Placeholder,c=this.commonProps,p=this.props,d=p.controlShouldRenderValue,f=p.isDisabled,m=p.isMulti,h=p.inputValue,v=p.placeholder,g=this.state,b=g.selectValue,y=g.focusedValue,O=g.isFocused;if(!this.hasValue()||!d)return h?null:t.createElement(l,e({},c,{key:"placeholder",isDisabled:f,isFocused:O,innerProps:{id:this.getElementId("placeholder")}}),v);if(m)return b.map((function(r,u){var l=r===y,p="".concat(n.getOptionLabel(r),"-").concat(n.getOptionValue(r));return t.createElement(o,e({},c,{components:{Container:i,Label:a,Remove:s},isFocused:l,isDisabled:f,key:p,index:u,removeProps:{onClick:function(){return n.removeValue(r)},onTouchEnd:function(){return n.removeValue(r)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:r}),n.formatOptionLabel(r,"value"))}));if(h)return null;var S=b[0];return t.createElement(u,e({},c,{data:S,isDisabled:f}),this.formatOptionLabel(S,"value"))}},{key:"renderClearIndicator",value:function(){var n=this.getComponents().ClearIndicator,r=this.commonProps,o=this.props,i=o.isDisabled,a=o.isLoading,s=this.state.isFocused;if(!this.isClearable()||!n||i||!this.hasValue()||a)return null;var u={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return t.createElement(n,e({},r,{innerProps:u,isFocused:s}))}},{key:"renderLoadingIndicator",value:function(){var n=this.getComponents().LoadingIndicator,r=this.commonProps,o=this.props,i=o.isDisabled,a=o.isLoading,s=this.state.isFocused;return n&&a?t.createElement(n,e({},r,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:s})):null}},{key:"renderIndicatorSeparator",value:function(){var n=this.getComponents(),r=n.DropdownIndicator,o=n.IndicatorSeparator;if(!r||!o)return null;var i=this.commonProps,a=this.props.isDisabled,s=this.state.isFocused;return t.createElement(o,e({},i,{isDisabled:a,isFocused:s}))}},{key:"renderDropdownIndicator",value:function(){var n=this.getComponents().DropdownIndicator;if(!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return t.createElement(n,e({},r,{innerProps:a,isDisabled:o,isFocused:i}))}},{key:"renderMenu",value:function(){var n=this,r=this.getComponents(),o=r.Group,i=r.GroupHeading,a=r.Menu,s=r.MenuList,u=r.MenuPortal,l=r.LoadingMessage,c=r.NoOptionsMessage,p=r.Option,d=this.commonProps,f=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,v=m.inputValue,g=m.isLoading,b=m.loadingMessage,y=m.minMenuHeight,O=m.maxMenuHeight,S=m.menuIsOpen,w=m.menuPlacement,C=m.menuPosition,x=m.menuPortalTarget,M=m.menuShouldBlockScroll,P=m.menuShouldScrollIntoView,k=m.noOptionsMessage,I=m.onMenuScrollToTop,E=m.onMenuScrollToBottom;if(!S)return null;var V,R=function(r,o){var i=r.type,a=r.data,s=r.isDisabled,u=r.isSelected,l=r.label,c=r.value,m=f===a,h=s?void 0:function(){return n.onOptionHover(a)},v=s?void 0:function(){return n.selectOption(a)},g="".concat(n.getElementId("option"),"-").concat(o),b={id:g,onClick:v,onMouseMove:h,onMouseOver:h,tabIndex:-1};return t.createElement(p,e({},d,{innerProps:b,data:a,isDisabled:s,isSelected:u,key:g,label:l,type:i,value:c,isFocused:m,innerRef:m?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(r.data,"menu"))};if(this.hasOptions())V=this.getCategorizedOptions().map((function(r){if("group"===r.type){var a=r.data,s=r.options,u=r.index,l="".concat(n.getElementId("group"),"-").concat(u),c="".concat(l,"-heading");return t.createElement(o,e({},d,{key:l,data:a,options:s,Heading:i,headingProps:{id:c,data:r.data},label:n.formatGroupLabel(r.data)}),r.options.map((function(e){return R(e,"".concat(u,"-").concat(e.index))})))}if("option"===r.type)return R(r,"".concat(r.index))}));else if(g){var D=b({inputValue:v});if(null===D)return null;V=t.createElement(l,d,D)}else{var L=k({inputValue:v});if(null===L)return null;V=t.createElement(c,d,L)}var A={minMenuHeight:y,maxMenuHeight:O,menuPlacement:w,menuPosition:C,menuShouldScrollIntoView:P},F=t.createElement(ht,e({},d,A),(function(r){var o=r.ref,i=r.placerProps,u=i.placement,l=i.maxHeight;return t.createElement(a,e({},d,A,{innerRef:o,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove,id:n.getElementId("listbox")},isLoading:g,placement:u}),t.createElement(xn,{captureEnabled:h,onTopArrive:I,onBottomArrive:E,lockEnabled:M},(function(r){return t.createElement(s,e({},d,{innerRef:function(e){n.getMenuListRef(e),r(e)},isLoading:g,maxHeight:l,focusedOption:f}),V)})))}));return x||"fixed"===C?t.createElement(u,e({},d,{appendTo:x,controlElement:this.controlRef,menuPlacement:w,menuPosition:C}),F):F}},{key:"renderFormField",value:function(){var e=this,n=this.props,r=n.delimiter,o=n.isDisabled,i=n.isMulti,a=n.name,s=this.state.selectValue;if(a&&!o){if(i){if(r){var u=s.map((function(t){return e.getOptionValue(t)})).join(r);return t.createElement("input",{name:a,type:"hidden",value:u})}var l=s.length>0?s.map((function(n,r){return t.createElement("input",{key:"i-".concat(r),name:a,type:"hidden",value:e.getOptionValue(n)})})):t.createElement("input",{name:a,type:"hidden"});return t.createElement("div",null,l)}var c=s[0]?this.getOptionValue(s[0]):"";return t.createElement("input",{name:a,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var n=this.commonProps,r=this.state,o=r.ariaSelection,i=r.focusedOption,a=r.focusedValue,s=r.isFocused,u=r.selectValue,l=this.getFocusableOptions();return t.createElement(Qt,e({},n,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:i,focusedValue:a,isFocused:s,selectValue:u,focusableOptions:l}))}},{key:"render",value:function(){var n=this.getComponents(),r=n.Control,o=n.IndicatorsContainer,i=n.SelectContainer,a=n.ValueContainer,s=this.props,u=s.className,l=s.id,c=s.isDisabled,p=s.menuIsOpen,d=this.state.isFocused,f=this.commonProps=this.getCommonProps();return t.createElement(i,e({},f,{className:u,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),t.createElement(r,e({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:p}),t.createElement(a,e({},f,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),t.createElement(o,e({},f,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,u=e.options,l=e.value,c=e.menuIsOpen,p=e.inputValue,d=e.isMulti,f=Je(l),m={};if(n&&(l!==n.value||u!==n.options||c!==n.menuIsOpen||p!==n.inputValue)){var h=c?function(e,t){return Vn(En(e,t))}(e,f):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,f):null,g=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,h);m={selectValue:f,focusedOption:g,focusedValue:v,clearFocusValueOnUpdate:!1}}var b=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},y=i,O=a&&s;return a&&!O&&(y={value:pt(d,f,f[0]||null),options:f,action:"initial-input-focus"},O=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(y=null),Be(Be(Be({},m),b),{},{prevProps:e,ariaSelection:y,prevWasFocused:O})}}]),o}(t.Component);jn.defaultProps=kn;var $n=(0,t.forwardRef)((function(n,r){var o=function(e){var n=e.defaultInputValue,r=void 0===n?"":n,o=e.defaultMenuIsOpen,i=void 0!==o&&o,a=e.defaultValue,s=void 0===a?null:a,u=e.inputValue,l=e.menuIsOpen,c=e.onChange,p=e.onInputChange,d=e.onMenuClose,f=e.onMenuOpen,m=e.value,h=Le(e,Gt),v=Wt((0,t.useState)(void 0!==u?u:r),2),g=v[0],b=v[1],y=Wt((0,t.useState)(void 0!==l?l:i),2),O=y[0],S=y[1],w=Wt((0,t.useState)(void 0!==m?m:s),2),C=w[0],x=w[1],M=(0,t.useCallback)((function(e,t){"function"==typeof c&&c(e,t),x(e)}),[c]),P=(0,t.useCallback)((function(e,t){var n;"function"==typeof p&&(n=p(e,t)),b(void 0!==n?n:e)}),[p]),k=(0,t.useCallback)((function(){"function"==typeof f&&f(),S(!0)}),[f]),I=(0,t.useCallback)((function(){"function"==typeof d&&d(),S(!1)}),[d]),E=void 0!==u?u:g,V=void 0!==l?l:O,R=void 0!==m?m:C;return Be(Be({},h),{},{inputValue:E,menuIsOpen:V,onChange:M,onInputChange:P,onMenuClose:I,onMenuOpen:k,value:R})}(n);return t.createElement(jn,e({ref:r},o))})),zn=(t.Component,$n);function Un(){return Un=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Un.apply(this,arguments)}const _n=e=>{const{selectProps:t}=e,n=e.getValue().length||0;return React.createElement(Ut.Menu,e,n<t.maxSelectionNumber?e.children:React.createElement("div",{style:{padding:15}},t.messages.maxLimitReached))};var Bn=e=>{const t=e.inputId?e.inputId:"kirki-react-select-input--"+e.customizerSetting.id,n=e.label?React.createElement("label",{className:"customize-control-title",dangerouslySetInnerHTML:{__html:e.label},htmlFor:t}):"",r=e.description?React.createElement("span",{className:"description customize-control-description",dangerouslySetInnerHTML:{__html:e.description}}):"";return React.createElement("div",null,n,r,React.createElement("div",{className:"customize-control-notifications-container",ref:e.setNotificationContainer}),React.createElement(zn,Un({},e,{inputId:t,className:"kirki-react-select-container",classNamePrefix:"kirki-react-select",inputClassName:"kirki-react-select-input",openMenuOnFocus:e.openMenuOnFocus,formatOptionLabel:e=>React.createElement("div",{dangerouslySetInnerHTML:{__html:e.label}}),options:e.control.getFormattedOptions(),onChange:(t,n)=>{let r;r="clear"===n?"":Array.isArray(t)?t.map((e=>e.value)):t.value,wp.customize(e.customizerSetting.id).set(r)},value:e.control.getOptionProps(e.value),isOptionDisabled:e.isOptionDisabled,components:{IndicatorSeparator:()=>null,Menu:_n},theme:e=>({...e,colors:{...e.colors,primary:"#0073aa",primary75:"#33b3db",primary50:"#99d9ed",primary24:"#e5f5fa"}}),styles:{control:(e,t)=>({...e,minHeight:"30px"}),valueContainer:e=>({...e,padding:"0 6px"}),input:e=>({...e,margin:"0px"})}})))};function Wn(){return Wn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wn.apply(this,arguments)}const Gn=wp.customize.Control.extend({initialize:function(e,t){const n=this;n.setNotificationContainer=n.setNotificationContainer.bind(n),wp.customize.Control.prototype.initialize.call(n,e,t),wp.customize.control.bind("removed",(function e(t){n===t&&(n.destroy(),n.container.remove(),wp.customize.control.unbind("removed",e))}))},setNotificationContainer:function(e){this.notifications.container=jQuery(e),this.notifications.render()},renderContent:function(){const e=this;let t=e.setting.get();if(Array.isArray(t))for(const n in e.params.choices)e.params.choices.hasOwnProperty(n)&&t.includes(n);const n=React.createElement(Bn,Wn({},e.params,{value:t,setNotificationContainer:e.setNotificationContainer,isClearable:e.params.isClearable,customizerSetting:e.setting,isOptionDisabled:e.isOptionDisabled,control:e,isMulti:e.isMulti(),maxSelectionNumber:e.params.maxSelectionNumber}));ReactDOM.render(n,e.container[0])},ready:function(){const e=this;e.setting.bind((()=>{e.renderContent()}))},isMulti:function(){return this.params.isMulti},destroy:function(){ReactDOM.unmountComponentAtNode(this.container[0]),wp.customize.Control.prototype.destroy&&wp.customize.Control.prototype.destroy.call(this)},isOptionDisabled:function(e){const t=this;return!!t&&!!t.disabledSelectOptions&&!!t.disabledSelectOptions.indexOf(e)},doSelectAction:function(e,t){const n=this;let r;switch(e){case"disableOption":n.disabledSelectOptions=void 0===n.disabledSelectOptions?[]:n.disabledSelectOptions,n.disabledSelectOptions.push(n.getOptionProps(t));break;case"enableOption":if(n.disabledSelectOptions)for(r=0;r<n.disabledSelectOptions.length;r++)n.disabledSelectOptions[r].value===t&&n.disabledSelectOptions.splice(r,1);break;case"selectOption":n.value=t}n.renderContent()},formatOptions:function(){var e=this;this.formattedOptions=[],Array.isArray(this.params.choices)?this.formattedOptions=this.params.choices:_.each(e.params.choices,(function(t,n){var r;"object"==typeof t?(r={label:t[0],options:[]},_.each(t[1],(function(e,t){r.options.push({label:e,value:t})})),e.formattedOptions.push(r)):"string"==typeof t&&e.formattedOptions.push({label:t,value:n})}))},getFormattedOptions:function(){return this.formattedOptions&&this.formattedOptions.length||this.formatOptions(),this.formattedOptions},getOptionProps:function(e){var t,n,r=this.getFormattedOptions();if(this.isMulti()){let o=[];for(t=0;t<r.length;t++)if(Array.isArray(e))e.forEach((function(e){if(r[t].value!==e){if(r[t].options)for(n=0;n<r[t].options.length;n++)r[t].options[n].value===e&&o.push(r[t].options[n])}else o.push(r[t])}));else if(r[t].value===e&&o.push(r[t]),r[t].options)for(n=0;n<r[t].options.length;n++)r[t].options[n].value===e&&o.push(r[t].options[n]);return o}for(t=0;t<r.length;t++){if(r[t].value===e)return r[t];if(r[t].options)for(n=0;n<r[t].options.length;n++)if(r[t].options[n].value===e)return r[t].options[n]}}});var Yn=Gn;wp.customize.controlConstructor["kirki-react-select"]=Yn}()}();
3
+ //# sourceMappingURL=control.js.map
packages/kirki-framework/control-react-select/dist/control.js.LICENSE.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ /** @license React v16.13.1
2
+ * react-is.production.min.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
packages/kirki-framework/control-react-select/dist/control.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":"uSAAwCA,EAAKC,EAAKC,GAYhD,OAXID,KAAOD,EACTG,OAAOC,eAAeJ,EAAKC,EAAK,CAC9BC,MAAOA,EACPG,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZP,EAAIC,GAAOC,EAGNF,aCV6BQ,GACpC,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAAyB,MAAhBF,UAAUD,GAAaC,UAAUD,GAAK,GAC/CI,EAAUV,OAAOW,KAAKF,GAEkB,mBAAjCT,OAAOY,wBAChBF,EAAUA,EAAQG,OAAOb,OAAOY,sBAAsBH,GAAQK,QAAO,SAAUC,GAC7E,OAAOf,OAAOgB,yBAAyBP,EAAQM,GAAKb,gBAIxDQ,EAAQO,SAAQ,SAAUnB,GACxBoB,EAAeb,EAAQP,EAAKW,EAAOX,OAIvC,OAAOO,aClBuBR,GAC5B,OAAOA,GAAOA,EAAIsB,cAAgBC,OAAS,gBAAkBvB,eCc/D,OAdAwB,EAAWrB,OAAOsB,QAAU,SAAUjB,GACpC,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAASF,UAAUD,GAEvB,IAAK,IAAIR,KAAOW,EACVT,OAAOuB,UAAUC,eAAeC,KAAKhB,EAAQX,KAC/CO,EAAOP,GAAOW,EAAOX,IAK3B,OAAOO,GAGFgB,EAASK,MAAMC,KAAMpB,4VCJ0Q,IAAmBqB,EAAyBC,EAA0BC,EAA0BC,EAAkBC,EAAqBC,EAAmBC,EAAeC,EAAeC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D,KAAM,IACNC,QAAS,cACR,CACDD,KAAM,IACNC,QAAS,UACR,CACDD,KAAM,IACNC,QAAS,qBACR,CACDD,KAAM,IACNC,QAAS,qBACR,CACDD,KAAM,IACNC,QAAS,mBACR,CACDD,KAAM,KACNC,QAAS,KACR,CACDD,KAAM,IACNC,QAAS,sCACR,CACDD,KAAM,IACNC,QAAS,YACR,CACDD,KAAM,KACNC,QAAS,KACR,CACDD,KAAM,IACNC,QAAS,cACR,CACDD,KAAM,IACNC,QAAS,SACR,CACDD,KAAM,IACNC,QAAS,mBACR,CACDD,KAAM,IACNC,QAAS,kBACR,CACDD,KAAM,IACNC,QAAS,uCACR,CACDD,KAAM,KACNC,QAAS,KACR,CACDD,KAAM,KACNC,QAAS,OACR,CACDD,KAAM,KACNC,QAAS,KACR,CACDD,KAAM,KACNC,QAAS,KACR,CACDD,KAAM,KACNC,QAAS,MACR,CACDD,KAAM,KACNC,QAAS,KACR,CACDD,KAAM,IACNC,QAAS,aACR,CACDD,KAAM,IACNC,QAAS,iBACR,CACDD,KAAM,IACNC,QAAS,kBACR,CACDD,KAAM,KACNC,QAAS,MACR,CACDD,KAAM,IACNC,QAAS,mCACR,CACDD,KAAM,IACNC,QAAS,UACR,CACDD,KAAM,IACNC,QAAS,mBACR,CACDD,KAAM,IACNC,QAAS,mBACR,CACDD,KAAM,KACNC,QAAS,KACR,CACDD,KAAM,IACNC,QAAS,wBACR,CACDD,KAAM,IACNC,QAAS,UACR,CACDD,KAAM,IACNC,QAAS,kBACR,CACDD,KAAM,IACNC,QAAS,uBACR,CACDD,KAAM,KACNC,QAAS,KACR,CACDD,KAAM,IACNC,QAAS,YACR,CACDD,KAAM,IACNC,QAAS,qBACR,CACDD,KAAM,KACNC,QAAS,KACR,CACDD,KAAM,IACNC,QAAS,+CACR,CACDD,KAAM,KACNC,QAAS,KACR,CACDD,KAAM,KACNC,QAAS,KACR,CACDD,KAAM,KACNC,QAAS,KACR,CACDD,KAAM,IACNC,QAAS,cACR,CAC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