Version Description
Download this release
Release Info
Developer | davidvongries |
Plugin | Kirki |
Version | 4.0.24 |
Comparing to | |
See all releases |
Code changes from version 4.0.23 to 4.0.24
- composer.json +3 -3
- composer.lock +26 -26
- kirki.php +2 -2
- packages/autoload.php +5 -0
- packages/composer/InstalledVersions.php +2 -0
- packages/composer/autoload_classmap.php +1 -1
- packages/composer/autoload_namespaces.php +1 -1
- packages/composer/autoload_psr4.php +1 -1
- packages/composer/autoload_real.php +3 -22
- packages/composer/include_paths.php +1 -1
- packages/composer/installed.json +28 -28
- packages/composer/installed.php +16 -16
- packages/kirki-framework/compatibility/src/Kirki.php +1 -1
- packages/kirki-framework/compatibility/src/Scripts.php +2 -0
- packages/kirki-framework/control-react-colorful/dist/control.css +2 -261
- packages/kirki-framework/control-react-colorful/dist/control.css.map +1 -1
- packages/kirki-framework/control-react-colorful/dist/control.js +2 -7678
- packages/kirki-framework/control-react-colorful/dist/control.js.map +1 -1
- packages/kirki-framework/control-react-colorful/dist/preview.js +2 -93
- packages/kirki-framework/control-react-colorful/dist/preview.js.map +1 -1
- packages/kirki-framework/control-react-colorful/src/Control/ReactColorful.php +4 -0
- packages/kirki-framework/control-react-colorful/src/Field/ReactColorful.php +2 -0
- packages/kirki-framework/control-react-colorful/src/js/components/KirkiReactColorfulCircle.js +38 -38
- packages/kirki-framework/control-react-colorful/src/js/components/KirkiReactColorfulInput.js +76 -76
- packages/kirki-framework/control-react-colorful/src/js/components/KirkiReactColorfulSwatches.js +16 -16
- packages/kirki-framework/control-react-colorful/src/js/hooks/useClickOutside.js +35 -35
- packages/kirki-framework/control-react-colorful/src/js/hooks/useWindowResize.js +9 -9
- packages/kirki-framework/control-react-colorful/src/js/utils/convertColorForCustomizer.js +52 -37
- packages/kirki-framework/control-react-colorful/src/js/utils/convertColorForInput.js +168 -168
- packages/kirki-framework/control-react-colorful/src/js/utils/convertColorForPicker.js +30 -21
- packages/kirki-framework/control-slider/composer.json +23 -23
- packages/kirki-framework/control-slider/dist/control.css +2 -2
- packages/kirki-framework/control-slider/dist/control.js +0 -1
composer.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"name": "kirki-framework/kirki",
|
3 |
"type": "library",
|
4 |
-
"version": "4.0.
|
5 |
"keywords": ["WordPress", "Customizer"],
|
6 |
"description": "Extending the WordPress customizer",
|
7 |
"homepage": "https://kirki.org",
|
@@ -15,8 +15,8 @@
|
|
15 |
"config": {
|
16 |
"vendor-dir": "packages",
|
17 |
"allow-plugins": {
|
18 |
-
"
|
19 |
-
"composer
|
20 |
}
|
21 |
},
|
22 |
"include-path": [".", "core"],
|
1 |
{
|
2 |
"name": "kirki-framework/kirki",
|
3 |
"type": "library",
|
4 |
+
"version": "4.0.24",
|
5 |
"keywords": ["WordPress", "Customizer"],
|
6 |
"description": "Extending the WordPress customizer",
|
7 |
"homepage": "https://kirki.org",
|
15 |
"config": {
|
16 |
"vendor-dir": "packages",
|
17 |
"allow-plugins": {
|
18 |
+
"composer/installers": true,
|
19 |
+
"dealerdirect/phpcodesniffer-composer-installer": true
|
20 |
}
|
21 |
},
|
22 |
"include-path": [".", "core"],
|
composer.lock
CHANGED
@@ -4,20 +4,20 @@
|
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
-
"content-hash": "
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "kirki-framework/compatibility",
|
11 |
-
"version": "v1.0.
|
12 |
"source": {
|
13 |
"type": "git",
|
14 |
"url": "https://github.com/kirki-framework/compatibility.git",
|
15 |
-
"reference": "
|
16 |
},
|
17 |
"dist": {
|
18 |
"type": "zip",
|
19 |
-
"url": "https://api.github.com/repos/kirki-framework/compatibility/zipball/
|
20 |
-
"reference": "
|
21 |
"shasum": ""
|
22 |
},
|
23 |
"require": {
|
@@ -48,9 +48,9 @@
|
|
48 |
],
|
49 |
"support": {
|
50 |
"issues": "https://github.com/kirki-framework/compatibility/issues",
|
51 |
-
"source": "https://github.com/kirki-framework/compatibility/tree/v1.0.
|
52 |
},
|
53 |
-
"time": "2022-
|
54 |
},
|
55 |
{
|
56 |
"name": "kirki-framework/control-base",
|
@@ -823,16 +823,16 @@
|
|
823 |
},
|
824 |
{
|
825 |
"name": "kirki-framework/control-react-colorful",
|
826 |
-
"version": "
|
827 |
"source": {
|
828 |
"type": "git",
|
829 |
"url": "https://github.com/kirki-framework/control-react-colorful.git",
|
830 |
-
"reference": "
|
831 |
},
|
832 |
"dist": {
|
833 |
"type": "zip",
|
834 |
-
"url": "https://api.github.com/repos/kirki-framework/control-react-colorful/zipball/
|
835 |
-
"reference": "
|
836 |
"shasum": ""
|
837 |
},
|
838 |
"require": {
|
@@ -867,9 +867,9 @@
|
|
867 |
],
|
868 |
"support": {
|
869 |
"issues": "https://github.com/kirki-framework/control-react-colorful/issues",
|
870 |
-
"source": "https://github.com/kirki-framework/control-react-colorful/tree/v1.0.
|
871 |
},
|
872 |
-
"time": "2022-
|
873 |
},
|
874 |
{
|
875 |
"name": "kirki-framework/control-react-select",
|
@@ -1793,16 +1793,16 @@
|
|
1793 |
},
|
1794 |
{
|
1795 |
"name": "kirki-framework/module-postmessage",
|
1796 |
-
"version": "
|
1797 |
"source": {
|
1798 |
"type": "git",
|
1799 |
"url": "https://github.com/kirki-framework/module-postMessage.git",
|
1800 |
-
"reference": "
|
1801 |
},
|
1802 |
"dist": {
|
1803 |
"type": "zip",
|
1804 |
-
"url": "https://api.github.com/repos/kirki-framework/module-postMessage/zipball/
|
1805 |
-
"reference": "
|
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.
|
1839 |
},
|
1840 |
-
"time": "2022-
|
1841 |
},
|
1842 |
{
|
1843 |
"name": "kirki-framework/module-preset",
|
@@ -2076,16 +2076,16 @@
|
|
2076 |
},
|
2077 |
{
|
2078 |
"name": "kirki-framework/module-webfonts",
|
2079 |
-
"version": "v1.0.
|
2080 |
"source": {
|
2081 |
"type": "git",
|
2082 |
"url": "https://github.com/kirki-framework/module-webfonts.git",
|
2083 |
-
"reference": "
|
2084 |
},
|
2085 |
"dist": {
|
2086 |
"type": "zip",
|
2087 |
-
"url": "https://api.github.com/repos/kirki-framework/module-webfonts/zipball/
|
2088 |
-
"reference": "
|
2089 |
"shasum": ""
|
2090 |
},
|
2091 |
"require": {
|
@@ -2117,9 +2117,9 @@
|
|
2117 |
],
|
2118 |
"support": {
|
2119 |
"issues": "https://github.com/kirki-framework/module-webfonts/issues",
|
2120 |
-
"source": "https://github.com/kirki-framework/module-webfonts/tree/v1.0.
|
2121 |
},
|
2122 |
-
"time": "
|
2123 |
},
|
2124 |
{
|
2125 |
"name": "kirki-framework/url-getter",
|
@@ -2222,5 +2222,5 @@
|
|
2222 |
"php": ">=7.0"
|
2223 |
},
|
2224 |
"platform-dev": [],
|
2225 |
-
"plugin-api-version": "2.
|
2226 |
}
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
+
"content-hash": "b66ff3fb0d81017c2960498d84bbf3f6",
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "kirki-framework/compatibility",
|
11 |
+
"version": "v1.0.11",
|
12 |
"source": {
|
13 |
"type": "git",
|
14 |
"url": "https://github.com/kirki-framework/compatibility.git",
|
15 |
+
"reference": "551fdc67b39e7345fc49a785b2cdd0c2a9f0bc3e"
|
16 |
},
|
17 |
"dist": {
|
18 |
"type": "zip",
|
19 |
+
"url": "https://api.github.com/repos/kirki-framework/compatibility/zipball/551fdc67b39e7345fc49a785b2cdd0c2a9f0bc3e",
|
20 |
+
"reference": "551fdc67b39e7345fc49a785b2cdd0c2a9f0bc3e",
|
21 |
"shasum": ""
|
22 |
},
|
23 |
"require": {
|
48 |
],
|
49 |
"support": {
|
50 |
"issues": "https://github.com/kirki-framework/compatibility/issues",
|
51 |
+
"source": "https://github.com/kirki-framework/compatibility/tree/v1.0.11"
|
52 |
},
|
53 |
+
"time": "2022-05-19T16:55:52+00:00"
|
54 |
},
|
55 |
{
|
56 |
"name": "kirki-framework/control-base",
|
823 |
},
|
824 |
{
|
825 |
"name": "kirki-framework/control-react-colorful",
|
826 |
+
"version": "v1.0.17",
|
827 |
"source": {
|
828 |
"type": "git",
|
829 |
"url": "https://github.com/kirki-framework/control-react-colorful.git",
|
830 |
+
"reference": "79258cdbcdd4ee8582560edc4a09c8ba45eaf219"
|
831 |
},
|
832 |
"dist": {
|
833 |
"type": "zip",
|
834 |
+
"url": "https://api.github.com/repos/kirki-framework/control-react-colorful/zipball/79258cdbcdd4ee8582560edc4a09c8ba45eaf219",
|
835 |
+
"reference": "79258cdbcdd4ee8582560edc4a09c8ba45eaf219",
|
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.17"
|
871 |
},
|
872 |
+
"time": "2022-05-20T11:03:05+00:00"
|
873 |
},
|
874 |
{
|
875 |
"name": "kirki-framework/control-react-select",
|
1793 |
},
|
1794 |
{
|
1795 |
"name": "kirki-framework/module-postmessage",
|
1796 |
+
"version": "1.0.7",
|
1797 |
"source": {
|
1798 |
"type": "git",
|
1799 |
"url": "https://github.com/kirki-framework/module-postMessage.git",
|
1800 |
+
"reference": "9b2b419027f3b95a2546041a83fc5607492f35a5"
|
1801 |
},
|
1802 |
"dist": {
|
1803 |
"type": "zip",
|
1804 |
+
"url": "https://api.github.com/repos/kirki-framework/module-postMessage/zipball/9b2b419027f3b95a2546041a83fc5607492f35a5",
|
1805 |
+
"reference": "9b2b419027f3b95a2546041a83fc5607492f35a5",
|
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.7"
|
1839 |
},
|
1840 |
+
"time": "2022-05-19T14:39:11+00:00"
|
1841 |
},
|
1842 |
{
|
1843 |
"name": "kirki-framework/module-preset",
|
2076 |
},
|
2077 |
{
|
2078 |
"name": "kirki-framework/module-webfonts",
|
2079 |
+
"version": "v1.0.5",
|
2080 |
"source": {
|
2081 |
"type": "git",
|
2082 |
"url": "https://github.com/kirki-framework/module-webfonts.git",
|
2083 |
+
"reference": "6be8c298abc29bccc227e1b1dbcb029e6a072659"
|
2084 |
},
|
2085 |
"dist": {
|
2086 |
"type": "zip",
|
2087 |
+
"url": "https://api.github.com/repos/kirki-framework/module-webfonts/zipball/6be8c298abc29bccc227e1b1dbcb029e6a072659",
|
2088 |
+
"reference": "6be8c298abc29bccc227e1b1dbcb029e6a072659",
|
2089 |
"shasum": ""
|
2090 |
},
|
2091 |
"require": {
|
2117 |
],
|
2118 |
"support": {
|
2119 |
"issues": "https://github.com/kirki-framework/module-webfonts/issues",
|
2120 |
+
"source": "https://github.com/kirki-framework/module-webfonts/tree/v1.0.5"
|
2121 |
},
|
2122 |
+
"time": "2022-05-19T16:44:39+00:00"
|
2123 |
},
|
2124 |
{
|
2125 |
"name": "kirki-framework/url-getter",
|
2222 |
"php": ">=7.0"
|
2223 |
},
|
2224 |
"platform-dev": [],
|
2225 |
+
"plugin-api-version": "2.3.0"
|
2226 |
}
|
kirki.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: The Ultimate WordPress Customizer Framework
|
6 |
* Author: David Vongries
|
7 |
* Author URI: https://davidvongries.com/
|
8 |
-
* Version: 4.0.
|
9 |
* Text Domain: kirki
|
10 |
* Requires at least: 5.2
|
11 |
* Requires PHP: 7.0
|
@@ -44,7 +44,7 @@ require_once __DIR__ . '/inc/bootstrap.php'; // phpcs:ignore WPThemeReview.CoreF
|
|
44 |
|
45 |
// Define the KIRKI_VERSION constant.
|
46 |
if ( ! defined( 'KIRKI_VERSION' ) ) {
|
47 |
-
define( 'KIRKI_VERSION', '4.0.
|
48 |
}
|
49 |
|
50 |
if ( ! function_exists( 'Kirki' ) ) {
|
5 |
* Description: The Ultimate WordPress Customizer Framework
|
6 |
* Author: David Vongries
|
7 |
* Author URI: https://davidvongries.com/
|
8 |
+
* Version: 4.0.24
|
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.24' );
|
48 |
}
|
49 |
|
50 |
if ( ! function_exists( 'Kirki' ) ) {
|
packages/autoload.php
CHANGED
@@ -2,6 +2,11 @@
|
|
2 |
|
3 |
// autoload.php @generated by Composer
|
4 |
|
|
|
|
|
|
|
|
|
|
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
return ComposerAutoloaderInitc56aa391ac498061f8d648878e0e6144::getLoader();
|
2 |
|
3 |
// autoload.php @generated by Composer
|
4 |
|
5 |
+
if (PHP_VERSION_ID < 50600) {
|
6 |
+
echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
|
7 |
+
exit(1);
|
8 |
+
}
|
9 |
+
|
10 |
require_once __DIR__ . '/composer/autoload_real.php';
|
11 |
|
12 |
return ComposerAutoloaderInitc56aa391ac498061f8d648878e0e6144::getLoader();
|
packages/composer/InstalledVersions.php
CHANGED
@@ -21,6 +21,8 @@ use Composer\Semver\VersionParser;
|
|
21 |
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
|
22 |
*
|
23 |
* To require its presence, you can require `composer-runtime-api ^2.0`
|
|
|
|
|
24 |
*/
|
25 |
class InstalledVersions
|
26 |
{
|
21 |
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
|
22 |
*
|
23 |
* To require its presence, you can require `composer-runtime-api ^2.0`
|
24 |
+
*
|
25 |
+
* @final
|
26 |
*/
|
27 |
class InstalledVersions
|
28 |
{
|
packages/composer/autoload_classmap.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_classmap.php @generated by Composer
|
4 |
|
5 |
-
$vendorDir = dirname(
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
2 |
|
3 |
// autoload_classmap.php @generated by Composer
|
4 |
|
5 |
+
$vendorDir = dirname(__DIR__);
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
packages/composer/autoload_namespaces.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_namespaces.php @generated by Composer
|
4 |
|
5 |
-
$vendorDir = dirname(
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
2 |
|
3 |
// autoload_namespaces.php @generated by Composer
|
4 |
|
5 |
+
$vendorDir = dirname(__DIR__);
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
packages/composer/autoload_psr4.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_psr4.php @generated by Composer
|
4 |
|
5 |
-
$vendorDir = dirname(
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
2 |
|
3 |
// autoload_psr4.php @generated by Composer
|
4 |
|
5 |
+
$vendorDir = dirname(__DIR__);
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
packages/composer/autoload_real.php
CHANGED
@@ -25,34 +25,15 @@ class ComposerAutoloaderInitc56aa391ac498061f8d648878e0e6144
|
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
spl_autoload_register(array('ComposerAutoloaderInitc56aa391ac498061f8d648878e0e6144', 'loadClassLoader'), true, true);
|
28 |
-
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(
|
29 |
spl_autoload_unregister(array('ComposerAutoloaderInitc56aa391ac498061f8d648878e0e6144', 'loadClassLoader'));
|
30 |
|
31 |
$includePaths = require __DIR__ . '/include_paths.php';
|
32 |
$includePaths[] = get_include_path();
|
33 |
set_include_path(implode(PATH_SEPARATOR, $includePaths));
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
require __DIR__ . '/autoload_static.php';
|
38 |
-
|
39 |
-
call_user_func(\Composer\Autoload\ComposerStaticInitc56aa391ac498061f8d648878e0e6144::getInitializer($loader));
|
40 |
-
} else {
|
41 |
-
$map = require __DIR__ . '/autoload_namespaces.php';
|
42 |
-
foreach ($map as $namespace => $path) {
|
43 |
-
$loader->set($namespace, $path);
|
44 |
-
}
|
45 |
-
|
46 |
-
$map = require __DIR__ . '/autoload_psr4.php';
|
47 |
-
foreach ($map as $namespace => $path) {
|
48 |
-
$loader->setPsr4($namespace, $path);
|
49 |
-
}
|
50 |
-
|
51 |
-
$classMap = require __DIR__ . '/autoload_classmap.php';
|
52 |
-
if ($classMap) {
|
53 |
-
$loader->addClassMap($classMap);
|
54 |
-
}
|
55 |
-
}
|
56 |
|
57 |
$loader->register(true);
|
58 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
spl_autoload_register(array('ComposerAutoloaderInitc56aa391ac498061f8d648878e0e6144', 'loadClassLoader'), true, true);
|
28 |
+
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
29 |
spl_autoload_unregister(array('ComposerAutoloaderInitc56aa391ac498061f8d648878e0e6144', 'loadClassLoader'));
|
30 |
|
31 |
$includePaths = require __DIR__ . '/include_paths.php';
|
32 |
$includePaths[] = get_include_path();
|
33 |
set_include_path(implode(PATH_SEPARATOR, $includePaths));
|
34 |
|
35 |
+
require __DIR__ . '/autoload_static.php';
|
36 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitc56aa391ac498061f8d648878e0e6144::getInitializer($loader));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
$loader->register(true);
|
39 |
|
packages/composer/include_paths.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// include_paths.php @generated by Composer
|
4 |
|
5 |
-
$vendorDir = dirname(
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
2 |
|
3 |
// include_paths.php @generated by Composer
|
4 |
|
5 |
+
$vendorDir = dirname(__DIR__);
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
packages/composer/installed.json
CHANGED
@@ -2,23 +2,23 @@
|
|
2 |
"packages": [
|
3 |
{
|
4 |
"name": "kirki-framework/compatibility",
|
5 |
-
"version": "v1.0.
|
6 |
-
"version_normalized": "1.0.
|
7 |
"source": {
|
8 |
"type": "git",
|
9 |
"url": "https://github.com/kirki-framework/compatibility.git",
|
10 |
-
"reference": "
|
11 |
},
|
12 |
"dist": {
|
13 |
"type": "zip",
|
14 |
-
"url": "https://api.github.com/repos/kirki-framework/compatibility/zipball/
|
15 |
-
"reference": "
|
16 |
"shasum": ""
|
17 |
},
|
18 |
"require": {
|
19 |
"php": ">=7.0"
|
20 |
},
|
21 |
-
"time": "2022-
|
22 |
"type": "library",
|
23 |
"installation-source": "dist",
|
24 |
"autoload": {
|
@@ -45,7 +45,7 @@
|
|
45 |
],
|
46 |
"support": {
|
47 |
"issues": "https://github.com/kirki-framework/compatibility/issues",
|
48 |
-
"source": "https://github.com/kirki-framework/compatibility/tree/v1.0.
|
49 |
},
|
50 |
"install-path": "../kirki-framework/compatibility"
|
51 |
},
|
@@ -868,17 +868,17 @@
|
|
868 |
},
|
869 |
{
|
870 |
"name": "kirki-framework/control-react-colorful",
|
871 |
-
"version": "
|
872 |
-
"version_normalized": "1.0.
|
873 |
"source": {
|
874 |
"type": "git",
|
875 |
"url": "https://github.com/kirki-framework/control-react-colorful.git",
|
876 |
-
"reference": "
|
877 |
},
|
878 |
"dist": {
|
879 |
"type": "zip",
|
880 |
-
"url": "https://api.github.com/repos/kirki-framework/control-react-colorful/zipball/
|
881 |
-
"reference": "
|
882 |
"shasum": ""
|
883 |
},
|
884 |
"require": {
|
@@ -887,7 +887,7 @@
|
|
887 |
"kirki-framework/url-getter": "*",
|
888 |
"php": ">=7.0"
|
889 |
},
|
890 |
-
"time": "2022-
|
891 |
"type": "library",
|
892 |
"installation-source": "dist",
|
893 |
"autoload": {
|
@@ -915,7 +915,7 @@
|
|
915 |
],
|
916 |
"support": {
|
917 |
"issues": "https://github.com/kirki-framework/control-react-colorful/issues",
|
918 |
-
"source": "https://github.com/kirki-framework/control-react-colorful/tree/v1.0.
|
919 |
},
|
920 |
"install-path": "../kirki-framework/control-react-colorful"
|
921 |
},
|
@@ -1898,17 +1898,17 @@
|
|
1898 |
},
|
1899 |
{
|
1900 |
"name": "kirki-framework/module-postmessage",
|
1901 |
-
"version": "
|
1902 |
-
"version_normalized": "1.0.
|
1903 |
"source": {
|
1904 |
"type": "git",
|
1905 |
"url": "https://github.com/kirki-framework/module-postMessage.git",
|
1906 |
-
"reference": "
|
1907 |
},
|
1908 |
"dist": {
|
1909 |
"type": "zip",
|
1910 |
-
"url": "https://api.github.com/repos/kirki-framework/module-postMessage/zipball/
|
1911 |
-
"reference": "
|
1912 |
"shasum": ""
|
1913 |
},
|
1914 |
"require": {
|
@@ -1916,7 +1916,7 @@
|
|
1916 |
"kirki-framework/util": "*",
|
1917 |
"php": ">=7.0"
|
1918 |
},
|
1919 |
-
"time": "2022-
|
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.
|
1947 |
},
|
1948 |
"install-path": "../kirki-framework/module-postmessage"
|
1949 |
},
|
@@ -2199,24 +2199,24 @@
|
|
2199 |
},
|
2200 |
{
|
2201 |
"name": "kirki-framework/module-webfonts",
|
2202 |
-
"version": "v1.0.
|
2203 |
-
"version_normalized": "1.0.
|
2204 |
"source": {
|
2205 |
"type": "git",
|
2206 |
"url": "https://github.com/kirki-framework/module-webfonts.git",
|
2207 |
-
"reference": "
|
2208 |
},
|
2209 |
"dist": {
|
2210 |
"type": "zip",
|
2211 |
-
"url": "https://api.github.com/repos/kirki-framework/module-webfonts/zipball/
|
2212 |
-
"reference": "
|
2213 |
"shasum": ""
|
2214 |
},
|
2215 |
"require": {
|
2216 |
"kirki-framework/googlefonts": "*",
|
2217 |
"php": ">=7.0"
|
2218 |
},
|
2219 |
-
"time": "
|
2220 |
"type": "library",
|
2221 |
"installation-source": "dist",
|
2222 |
"autoload": {
|
@@ -2243,7 +2243,7 @@
|
|
2243 |
],
|
2244 |
"support": {
|
2245 |
"issues": "https://github.com/kirki-framework/module-webfonts/issues",
|
2246 |
-
"source": "https://github.com/kirki-framework/module-webfonts/tree/v1.0.
|
2247 |
},
|
2248 |
"install-path": "../kirki-framework/module-webfonts"
|
2249 |
},
|
2 |
"packages": [
|
3 |
{
|
4 |
"name": "kirki-framework/compatibility",
|
5 |
+
"version": "v1.0.11",
|
6 |
+
"version_normalized": "1.0.11.0",
|
7 |
"source": {
|
8 |
"type": "git",
|
9 |
"url": "https://github.com/kirki-framework/compatibility.git",
|
10 |
+
"reference": "551fdc67b39e7345fc49a785b2cdd0c2a9f0bc3e"
|
11 |
},
|
12 |
"dist": {
|
13 |
"type": "zip",
|
14 |
+
"url": "https://api.github.com/repos/kirki-framework/compatibility/zipball/551fdc67b39e7345fc49a785b2cdd0c2a9f0bc3e",
|
15 |
+
"reference": "551fdc67b39e7345fc49a785b2cdd0c2a9f0bc3e",
|
16 |
"shasum": ""
|
17 |
},
|
18 |
"require": {
|
19 |
"php": ">=7.0"
|
20 |
},
|
21 |
+
"time": "2022-05-19T16:55:52+00:00",
|
22 |
"type": "library",
|
23 |
"installation-source": "dist",
|
24 |
"autoload": {
|
45 |
],
|
46 |
"support": {
|
47 |
"issues": "https://github.com/kirki-framework/compatibility/issues",
|
48 |
+
"source": "https://github.com/kirki-framework/compatibility/tree/v1.0.11"
|
49 |
},
|
50 |
"install-path": "../kirki-framework/compatibility"
|
51 |
},
|
868 |
},
|
869 |
{
|
870 |
"name": "kirki-framework/control-react-colorful",
|
871 |
+
"version": "v1.0.17",
|
872 |
+
"version_normalized": "1.0.17.0",
|
873 |
"source": {
|
874 |
"type": "git",
|
875 |
"url": "https://github.com/kirki-framework/control-react-colorful.git",
|
876 |
+
"reference": "79258cdbcdd4ee8582560edc4a09c8ba45eaf219"
|
877 |
},
|
878 |
"dist": {
|
879 |
"type": "zip",
|
880 |
+
"url": "https://api.github.com/repos/kirki-framework/control-react-colorful/zipball/79258cdbcdd4ee8582560edc4a09c8ba45eaf219",
|
881 |
+
"reference": "79258cdbcdd4ee8582560edc4a09c8ba45eaf219",
|
882 |
"shasum": ""
|
883 |
},
|
884 |
"require": {
|
887 |
"kirki-framework/url-getter": "*",
|
888 |
"php": ">=7.0"
|
889 |
},
|
890 |
+
"time": "2022-05-20T11:03:05+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.17"
|
919 |
},
|
920 |
"install-path": "../kirki-framework/control-react-colorful"
|
921 |
},
|
1898 |
},
|
1899 |
{
|
1900 |
"name": "kirki-framework/module-postmessage",
|
1901 |
+
"version": "1.0.7",
|
1902 |
+
"version_normalized": "1.0.7.0",
|
1903 |
"source": {
|
1904 |
"type": "git",
|
1905 |
"url": "https://github.com/kirki-framework/module-postMessage.git",
|
1906 |
+
"reference": "9b2b419027f3b95a2546041a83fc5607492f35a5"
|
1907 |
},
|
1908 |
"dist": {
|
1909 |
"type": "zip",
|
1910 |
+
"url": "https://api.github.com/repos/kirki-framework/module-postMessage/zipball/9b2b419027f3b95a2546041a83fc5607492f35a5",
|
1911 |
+
"reference": "9b2b419027f3b95a2546041a83fc5607492f35a5",
|
1912 |
"shasum": ""
|
1913 |
},
|
1914 |
"require": {
|
1916 |
"kirki-framework/util": "*",
|
1917 |
"php": ">=7.0"
|
1918 |
},
|
1919 |
+
"time": "2022-05-19T14:39:11+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.7"
|
1947 |
},
|
1948 |
"install-path": "../kirki-framework/module-postmessage"
|
1949 |
},
|
2199 |
},
|
2200 |
{
|
2201 |
"name": "kirki-framework/module-webfonts",
|
2202 |
+
"version": "v1.0.5",
|
2203 |
+
"version_normalized": "1.0.5.0",
|
2204 |
"source": {
|
2205 |
"type": "git",
|
2206 |
"url": "https://github.com/kirki-framework/module-webfonts.git",
|
2207 |
+
"reference": "6be8c298abc29bccc227e1b1dbcb029e6a072659"
|
2208 |
},
|
2209 |
"dist": {
|
2210 |
"type": "zip",
|
2211 |
+
"url": "https://api.github.com/repos/kirki-framework/module-webfonts/zipball/6be8c298abc29bccc227e1b1dbcb029e6a072659",
|
2212 |
+
"reference": "6be8c298abc29bccc227e1b1dbcb029e6a072659",
|
2213 |
"shasum": ""
|
2214 |
},
|
2215 |
"require": {
|
2216 |
"kirki-framework/googlefonts": "*",
|
2217 |
"php": ">=7.0"
|
2218 |
},
|
2219 |
+
"time": "2022-05-19T16:44:39+00:00",
|
2220 |
"type": "library",
|
2221 |
"installation-source": "dist",
|
2222 |
"autoload": {
|
2243 |
],
|
2244 |
"support": {
|
2245 |
"issues": "https://github.com/kirki-framework/module-webfonts/issues",
|
2246 |
+
"source": "https://github.com/kirki-framework/module-webfonts/tree/v1.0.5"
|
2247 |
},
|
2248 |
"install-path": "../kirki-framework/module-webfonts"
|
2249 |
},
|
packages/composer/installed.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
-
'pretty_version' => '4.0.
|
4 |
-
'version' => '4.0.
|
5 |
'type' => 'library',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
@@ -11,12 +11,12 @@
|
|
11 |
),
|
12 |
'versions' => array(
|
13 |
'kirki-framework/compatibility' => array(
|
14 |
-
'pretty_version' => 'v1.0.
|
15 |
-
'version' => '1.0.
|
16 |
'type' => 'library',
|
17 |
'install_path' => __DIR__ . '/../kirki-framework/compatibility',
|
18 |
'aliases' => array(),
|
19 |
-
'reference' => '
|
20 |
'dev_requirement' => false,
|
21 |
),
|
22 |
'kirki-framework/control-base' => array(
|
@@ -164,12 +164,12 @@
|
|
164 |
'dev_requirement' => false,
|
165 |
),
|
166 |
'kirki-framework/control-react-colorful' => array(
|
167 |
-
'pretty_version' => '
|
168 |
-
'version' => '1.0.
|
169 |
'type' => 'library',
|
170 |
'install_path' => __DIR__ . '/../kirki-framework/control-react-colorful',
|
171 |
'aliases' => array(),
|
172 |
-
'reference' => '
|
173 |
'dev_requirement' => false,
|
174 |
),
|
175 |
'kirki-framework/control-react-select' => array(
|
@@ -299,8 +299,8 @@
|
|
299 |
'dev_requirement' => false,
|
300 |
),
|
301 |
'kirki-framework/kirki' => array(
|
302 |
-
'pretty_version' => '4.0.
|
303 |
-
'version' => '4.0.
|
304 |
'type' => 'library',
|
305 |
'install_path' => __DIR__ . '/../../',
|
306 |
'aliases' => array(),
|
@@ -353,12 +353,12 @@
|
|
353 |
'dev_requirement' => false,
|
354 |
),
|
355 |
'kirki-framework/module-postmessage' => array(
|
356 |
-
'pretty_version' => '
|
357 |
-
'version' => '1.0.
|
358 |
'type' => 'library',
|
359 |
'install_path' => __DIR__ . '/../kirki-framework/module-postmessage',
|
360 |
'aliases' => array(),
|
361 |
-
'reference' => '
|
362 |
'dev_requirement' => false,
|
363 |
),
|
364 |
'kirki-framework/module-preset' => array(
|
@@ -407,12 +407,12 @@
|
|
407 |
'dev_requirement' => false,
|
408 |
),
|
409 |
'kirki-framework/module-webfonts' => array(
|
410 |
-
'pretty_version' => 'v1.0.
|
411 |
-
'version' => '1.0.
|
412 |
'type' => 'library',
|
413 |
'install_path' => __DIR__ . '/../kirki-framework/module-webfonts',
|
414 |
'aliases' => array(),
|
415 |
-
'reference' => '
|
416 |
'dev_requirement' => false,
|
417 |
),
|
418 |
'kirki-framework/url-getter' => array(
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
+
'pretty_version' => '4.0.24',
|
4 |
+
'version' => '4.0.24.0',
|
5 |
'type' => 'library',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
11 |
),
|
12 |
'versions' => array(
|
13 |
'kirki-framework/compatibility' => array(
|
14 |
+
'pretty_version' => 'v1.0.11',
|
15 |
+
'version' => '1.0.11.0',
|
16 |
'type' => 'library',
|
17 |
'install_path' => __DIR__ . '/../kirki-framework/compatibility',
|
18 |
'aliases' => array(),
|
19 |
+
'reference' => '551fdc67b39e7345fc49a785b2cdd0c2a9f0bc3e',
|
20 |
'dev_requirement' => false,
|
21 |
),
|
22 |
'kirki-framework/control-base' => array(
|
164 |
'dev_requirement' => false,
|
165 |
),
|
166 |
'kirki-framework/control-react-colorful' => array(
|
167 |
+
'pretty_version' => 'v1.0.17',
|
168 |
+
'version' => '1.0.17.0',
|
169 |
'type' => 'library',
|
170 |
'install_path' => __DIR__ . '/../kirki-framework/control-react-colorful',
|
171 |
'aliases' => array(),
|
172 |
+
'reference' => '79258cdbcdd4ee8582560edc4a09c8ba45eaf219',
|
173 |
'dev_requirement' => false,
|
174 |
),
|
175 |
'kirki-framework/control-react-select' => array(
|
299 |
'dev_requirement' => false,
|
300 |
),
|
301 |
'kirki-framework/kirki' => array(
|
302 |
+
'pretty_version' => '4.0.24',
|
303 |
+
'version' => '4.0.24.0',
|
304 |
'type' => 'library',
|
305 |
'install_path' => __DIR__ . '/../../',
|
306 |
'aliases' => array(),
|
353 |
'dev_requirement' => false,
|
354 |
),
|
355 |
'kirki-framework/module-postmessage' => array(
|
356 |
+
'pretty_version' => '1.0.7',
|
357 |
+
'version' => '1.0.7.0',
|
358 |
'type' => 'library',
|
359 |
'install_path' => __DIR__ . '/../kirki-framework/module-postmessage',
|
360 |
'aliases' => array(),
|
361 |
+
'reference' => '9b2b419027f3b95a2546041a83fc5607492f35a5',
|
362 |
'dev_requirement' => false,
|
363 |
),
|
364 |
'kirki-framework/module-preset' => array(
|
407 |
'dev_requirement' => false,
|
408 |
),
|
409 |
'kirki-framework/module-webfonts' => array(
|
410 |
+
'pretty_version' => 'v1.0.5',
|
411 |
+
'version' => '1.0.5.0',
|
412 |
'type' => 'library',
|
413 |
'install_path' => __DIR__ . '/../kirki-framework/module-webfonts',
|
414 |
'aliases' => array(),
|
415 |
+
'reference' => '6be8c298abc29bccc227e1b1dbcb029e6a072659',
|
416 |
'dev_requirement' => false,
|
417 |
),
|
418 |
'kirki-framework/url-getter' => array(
|
packages/kirki-framework/compatibility/src/Kirki.php
CHANGED
@@ -271,7 +271,7 @@ class Kirki extends Init {
|
|
271 |
// Convert css_vars to output args.
|
272 |
if ( isset( $args['css_vars'] ) ) {
|
273 |
|
274 |
-
if ( 'postMessage' === $args['transport'] ) {
|
275 |
$args['transport'] = 'auto';
|
276 |
}
|
277 |
|
271 |
// Convert css_vars to output args.
|
272 |
if ( isset( $args['css_vars'] ) ) {
|
273 |
|
274 |
+
if ( isset( $args['transport'] ) && 'postMessage' === $args['transport'] ) {
|
275 |
$args['transport'] = 'auto';
|
276 |
}
|
277 |
|
packages/kirki-framework/compatibility/src/Scripts.php
CHANGED
@@ -12,6 +12,8 @@
|
|
12 |
|
13 |
namespace Kirki\Compatibility;
|
14 |
|
|
|
|
|
15 |
/**
|
16 |
* Adds scripts for backwards-compatibility
|
17 |
*
|
12 |
|
13 |
namespace Kirki\Compatibility;
|
14 |
|
15 |
+
use Kirki\URL;
|
16 |
+
|
17 |
/**
|
18 |
* Adds scripts for backwards-compatibility
|
19 |
*
|
packages/kirki-framework/control-react-colorful/dist/control.css
CHANGED
@@ -1,261 +1,2 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
\***********************************************************************************************************/
|
4 |
-
.customize-control-kirki-react-colorful .kirki-control-form {
|
5 |
-
position: relative;
|
6 |
-
box-sizing: border-box;
|
7 |
-
}
|
8 |
-
.customize-control-kirki-react-colorful .kirki-control-form * {
|
9 |
-
box-sizing: border-box;
|
10 |
-
}
|
11 |
-
.customize-control-kirki-react-colorful .kirki-control-cols {
|
12 |
-
display: flex;
|
13 |
-
align-items: flex-start;
|
14 |
-
}
|
15 |
-
.customize-control-kirki-react-colorful .kirki-control-left-col {
|
16 |
-
padding-right: 30px;
|
17 |
-
width: 90%;
|
18 |
-
width: calc(100% - 35px);
|
19 |
-
}
|
20 |
-
.customize-control-kirki-react-colorful .kirki-control-right-col {
|
21 |
-
display: flex;
|
22 |
-
justify-content: flex-end;
|
23 |
-
width: 35px;
|
24 |
-
}
|
25 |
-
.customize-control-kirki-react-colorful .use-hue-mode .react-colorful {
|
26 |
-
height: auto;
|
27 |
-
}
|
28 |
-
.customize-control-kirki-react-colorful .use-hue-mode .react-colorful__saturation {
|
29 |
-
display: none;
|
30 |
-
}
|
31 |
-
.customize-control-kirki-react-colorful .use-hue-mode .react-colorful__last-control {
|
32 |
-
border-radius: 4px;
|
33 |
-
}
|
34 |
-
.customize-control-kirki-react-colorful .use-hue-mode input.kirki-color-input {
|
35 |
-
padding-left: 8px;
|
36 |
-
padding-left: 8px;
|
37 |
-
}
|
38 |
-
.customize-control-kirki-react-colorful .kirki-trigger-circle-wrapper {
|
39 |
-
position: relative;
|
40 |
-
top: -3px;
|
41 |
-
display: flex;
|
42 |
-
align-items: center;
|
43 |
-
justify-content: center;
|
44 |
-
padding: 3px;
|
45 |
-
width: 33px;
|
46 |
-
height: 33px;
|
47 |
-
border-radius: 50%;
|
48 |
-
border: 1px solid #ccc;
|
49 |
-
}
|
50 |
-
.customize-control-kirki-react-colorful .kirki-trigger-circle {
|
51 |
-
position: relative;
|
52 |
-
padding: 0;
|
53 |
-
display: block;
|
54 |
-
width: 25px;
|
55 |
-
height: 25px;
|
56 |
-
background-size: 10px;
|
57 |
-
border: none;
|
58 |
-
border-radius: 50%;
|
59 |
-
cursor: pointer;
|
60 |
-
}
|
61 |
-
.customize-control-kirki-react-colorful .kirki-trigger-circle .kirki-color-preview {
|
62 |
-
position: absolute;
|
63 |
-
top: 0;
|
64 |
-
left: 0;
|
65 |
-
width: 100%;
|
66 |
-
height: 100%;
|
67 |
-
}
|
68 |
-
.customize-control-kirki-react-colorful .colorPickerContainer {
|
69 |
-
position: absolute;
|
70 |
-
top: 35px;
|
71 |
-
right: 0;
|
72 |
-
margin-top: 5px;
|
73 |
-
width: 100%;
|
74 |
-
padding: 15px;
|
75 |
-
background-color: #fff;
|
76 |
-
border-radius: 6px;
|
77 |
-
box-shadow: rgba(0, 0, 0, 0.09) 0 12px 15px 0;
|
78 |
-
z-index: 9999;
|
79 |
-
opacity: 0;
|
80 |
-
visibility: hidden;
|
81 |
-
transition: all 0.2s;
|
82 |
-
transition-property: opacity, visibility;
|
83 |
-
}
|
84 |
-
.customize-control-kirki-react-colorful .colorPickerContainer.is-open {
|
85 |
-
opacity: 1;
|
86 |
-
visibility: visible;
|
87 |
-
transition: all 0.2s ease 10ms;
|
88 |
-
transition-property: opacity, visibility;
|
89 |
-
}
|
90 |
-
.customize-control-kirki-react-colorful .react-colorful {
|
91 |
-
width: 100%;
|
92 |
-
border-radius: 4px;
|
93 |
-
}
|
94 |
-
.customize-control-kirki-react-colorful .react-colorful__saturation {
|
95 |
-
border-radius: 4px 4px 0 0;
|
96 |
-
}
|
97 |
-
.customize-control-kirki-react-colorful .react-colorful__last-control {
|
98 |
-
border-radius: 0 0 4px 4px;
|
99 |
-
}
|
100 |
-
.customize-control-kirki-react-colorful .react-colorful__pointer {
|
101 |
-
width: 20px;
|
102 |
-
height: 20px;
|
103 |
-
}
|
104 |
-
.customize-control-kirki-react-colorful .kirki-color-input-wrapper {
|
105 |
-
margin-top: 15px;
|
106 |
-
}
|
107 |
-
.customize-control-kirki-react-colorful .kirki-color-input-control {
|
108 |
-
position: relative;
|
109 |
-
display: flex;
|
110 |
-
align-items: center;
|
111 |
-
width: 100%;
|
112 |
-
}
|
113 |
-
.customize-control-kirki-react-colorful input.kirki-color-input {
|
114 |
-
display: block;
|
115 |
-
position: relative;
|
116 |
-
padding-left: 32px;
|
117 |
-
padding-right: 8px;
|
118 |
-
width: 100%;
|
119 |
-
height: 30px;
|
120 |
-
line-height: 30px;
|
121 |
-
color: #333;
|
122 |
-
border: 1px solid #ccc;
|
123 |
-
border-radius: 4px;
|
124 |
-
z-index: 1;
|
125 |
-
}
|
126 |
-
.customize-control-kirki-react-colorful .kirki-color-input:focus,
|
127 |
-
.customize-control-kirki-react-colorful .kirki-color-input:active {
|
128 |
-
box-shadow: 0 0 0 1px #2271b1;
|
129 |
-
outline: none;
|
130 |
-
border-color: #2271b1;
|
131 |
-
}
|
132 |
-
.customize-control-kirki-react-colorful .kirki-color-preview-wrapper {
|
133 |
-
position: absolute;
|
134 |
-
left: 6px;
|
135 |
-
width: 22px;
|
136 |
-
height: 22px;
|
137 |
-
background-repeat: repeat;
|
138 |
-
background-size: 8px;
|
139 |
-
border-radius: 50%;
|
140 |
-
border: 1px solid #ddd;
|
141 |
-
border: 2px solid #fff;
|
142 |
-
-webkit-box-shadow: 0px 0px 0px 1px #ddd;
|
143 |
-
box-shadow: 0px 0px 0px 1px #ddd;
|
144 |
-
z-index: 2;
|
145 |
-
}
|
146 |
-
.customize-control-kirki-react-colorful .kirki-color-preview,
|
147 |
-
.customize-control-kirki-react-colorful .kirki-control-reset {
|
148 |
-
position: absolute;
|
149 |
-
padding: 0;
|
150 |
-
background-color: transparent;
|
151 |
-
cursor: pointer;
|
152 |
-
}
|
153 |
-
.customize-control-kirki-react-colorful .kirki-color-preview {
|
154 |
-
display: block;
|
155 |
-
width: 100%;
|
156 |
-
height: 100%;
|
157 |
-
border-radius: 50%;
|
158 |
-
border-width: 0;
|
159 |
-
}
|
160 |
-
.customize-control-kirki-react-colorful .kirki-control-reset {
|
161 |
-
display: flex;
|
162 |
-
align-items: center;
|
163 |
-
justify-content: center;
|
164 |
-
top: 4px;
|
165 |
-
right: 35px;
|
166 |
-
width: 17px;
|
167 |
-
height: 17px;
|
168 |
-
border-radius: 50%;
|
169 |
-
border-width: 0;
|
170 |
-
z-index: 3;
|
171 |
-
}
|
172 |
-
.customize-control-kirki-react-colorful .kirki-control-reset:hover i {
|
173 |
-
color: #f00;
|
174 |
-
transform: rotate(-45deg);
|
175 |
-
}
|
176 |
-
.customize-control-kirki-react-colorful .kirki-control-reset i {
|
177 |
-
font-size: 12px;
|
178 |
-
width: auto;
|
179 |
-
height: auto;
|
180 |
-
transform: rotate(45deg);
|
181 |
-
transition: transform 0.2s;
|
182 |
-
}
|
183 |
-
.customize-control-kirki-react-colorful .kirki-color-swatches {
|
184 |
-
display: flex;
|
185 |
-
align-items: center;
|
186 |
-
justify-content: space-between;
|
187 |
-
margin-bottom: 12px;
|
188 |
-
}
|
189 |
-
.customize-control-kirki-react-colorful .kirki-color-swatch {
|
190 |
-
position: relative;
|
191 |
-
display: block;
|
192 |
-
padding: 0;
|
193 |
-
width: 25px;
|
194 |
-
height: 25px;
|
195 |
-
border-radius: 50%;
|
196 |
-
border: 2px solid #fff;
|
197 |
-
cursor: pointer;
|
198 |
-
transform: scale(1, 1);
|
199 |
-
transition: transform 0.2s;
|
200 |
-
-webkit-box-shadow: 0px 0px 0px 1px #ddd;
|
201 |
-
box-shadow: 0px 0px 0px 1px #ddd;
|
202 |
-
}
|
203 |
-
.customize-control-kirki-react-colorful .kirki-color-swatch:active,
|
204 |
-
.customize-control-kirki-react-colorful .kirki-color-swatch:focus {
|
205 |
-
outline: none;
|
206 |
-
}
|
207 |
-
.customize-control-kirki-react-colorful .kirki-color-swatch:hover,
|
208 |
-
.customize-control-kirki-react-colorful .kirki-color-swatch:focus {
|
209 |
-
transform: scale(1.1, 1.1);
|
210 |
-
}
|
211 |
-
.customize-control-kirki-react-colorful .kirki-label-tooltip {
|
212 |
-
position: absolute;
|
213 |
-
bottom: 45px;
|
214 |
-
left: -8px;
|
215 |
-
padding: 7px 10px 3px;
|
216 |
-
width: auto;
|
217 |
-
width: max-content;
|
218 |
-
max-width: 100px;
|
219 |
-
color: #fff;
|
220 |
-
background-color: rgba(0, 0, 0, 0.7);
|
221 |
-
border-radius: 4px;
|
222 |
-
opacity: 0;
|
223 |
-
visibility: hidden;
|
224 |
-
transition: all 0.2s;
|
225 |
-
}
|
226 |
-
.customize-control-kirki-react-colorful .kirki-label-tooltip::before {
|
227 |
-
content: "";
|
228 |
-
position: absolute;
|
229 |
-
bottom: -8px;
|
230 |
-
left: 19px;
|
231 |
-
border-width: 8px 7px 0 7px;
|
232 |
-
border-style: solid;
|
233 |
-
border-color: rgba(0, 0, 0, 0.7) transparent transparent transparent;
|
234 |
-
}
|
235 |
-
.customize-control-kirki-react-colorful .kirki-label-tooltip .customize-control-title {
|
236 |
-
line-height: 1.2;
|
237 |
-
}
|
238 |
-
.customize-control-kirki-react-colorful .kirki-trigger-circle-wrapper:hover ~ .kirki-label-tooltip {
|
239 |
-
opacity: 1;
|
240 |
-
visibility: visible;
|
241 |
-
}
|
242 |
-
.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-multicolor] {
|
243 |
-
margin-right: 8px;
|
244 |
-
margin-bottom: 20px;
|
245 |
-
padding-right: 0;
|
246 |
-
width: 35px;
|
247 |
-
}
|
248 |
-
.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-multicolor] .kirki-control-reset {
|
249 |
-
top: -19px;
|
250 |
-
right: 8px;
|
251 |
-
}
|
252 |
-
.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-typography] .colorPickerContainer {
|
253 |
-
top: 55px;
|
254 |
-
}
|
255 |
-
.customize-control-kirki-react-colorful[data-kirki-parent-control-type=kirki-typography] .kirki-control-reset {
|
256 |
-
top: 30px;
|
257 |
-
right: auto;
|
258 |
-
left: 35px;
|
259 |
-
}
|
260 |
-
|
261 |
-
/*# sourceMappingURL=control.css.map*/
|
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{width:90%;width:calc(100% - 35px);padding-right:30px}.customize-control-kirki-react-colorful .kirki-control-right-col{width:35px;justify-content:flex-end;display:flex}.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{width:33px;height:33px;border:1px solid #ccc;border-radius:50%;justify-content:center;align-items:center;padding:3px;display:flex;position:relative;top:-3px}.customize-control-kirki-react-colorful .kirki-trigger-circle{width:25px;height:25px;cursor:pointer;background-size:10px;border:none;border-radius:50%;padding:0;display:block;position:relative}.customize-control-kirki-react-colorful .kirki-trigger-circle .kirki-color-preview{width:100%;height:100%;position:absolute;top:0;left:0}.customize-control-kirki-react-colorful .colorPickerContainer{width:100%;z-index:9999;opacity:0;visibility:hidden;background-color:#fff;border-radius:6px;margin-top:5px;padding:15px;transition:opacity .2s,visibility .2s;position:absolute;top:35px;right:0;box-shadow:0 12px 15px rgba(0,0,0,.09)}.customize-control-kirki-react-colorful .colorPickerContainer.is-open{opacity:1;visibility:visible;transition:opacity .2s 10ms,visibility .2s 10ms}.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{width:100%;align-items:center;display:flex;position:relative}.customize-control-kirki-react-colorful input.kirki-color-input{width:100%;height:30px;color:#333;z-index:1;border:1px solid #ccc;border-radius:4px;padding-left:32px;padding-right:8px;line-height:30px;display:block;position:relative}.customize-control-kirki-react-colorful .kirki-color-input:focus,.customize-control-kirki-react-colorful .kirki-color-input:active{border-color:#2271b1;outline:none;box-shadow:0 0 0 1px #2271b1}.customize-control-kirki-react-colorful .kirki-color-preview-wrapper{width:22px;height:22px;z-index:2;background-repeat:repeat;background-size:8px;border:2px solid #fff;border-radius:50%;position:absolute;left:6px;box-shadow:0 0 0 1px #ddd}.customize-control-kirki-react-colorful .kirki-color-preview,.customize-control-kirki-react-colorful .kirki-control-reset{cursor:pointer;background-color:rgba(0,0,0,0);padding:0;position:absolute}.customize-control-kirki-react-colorful .kirki-color-preview{width:100%;height:100%;border-width:0;border-radius:50%;display:block}.customize-control-kirki-react-colorful .kirki-control-reset{width:17px;height:17px;z-index:3;border-width:0;border-radius:50%;justify-content:center;align-items:center;display:flex;top:4px;right:35px}.customize-control-kirki-react-colorful .kirki-control-reset:hover i{color:red;transform:rotate(-45deg)}.customize-control-kirki-react-colorful .kirki-control-reset i{width:auto;height:auto;font-size:12px;transition:transform .2s;transform:rotate(45deg)}.customize-control-kirki-react-colorful .kirki-color-swatches{flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:12px;display:flex}.customize-control-kirki-react-colorful .kirki-color-swatch{width:25px;height:25px;cursor:pointer;border:2px solid #fff;border-radius:50%;padding:0;transition:transform .2s;display:block;position:relative;transform:scale(1);box-shadow:0 0 0 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)}.customize-control-kirki-react-colorful .kirki-label-tooltip{width:auto;width:max-content;max-width:100px;color:#fff;opacity:0;visibility:hidden;background-color:rgba(0,0,0,.7);border-radius:4px;padding:7px 10px 3px;transition:all .2s;position:absolute;bottom:45px;left:-8px}.customize-control-kirki-react-colorful .kirki-label-tooltip:before{content:"";border:7px solid rgba(0,0,0,0);border-top:8px solid rgba(0,0,0,.7);border-bottom-width:0;position:absolute;bottom:-8px;left:19px}.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]{width:35px;margin-bottom:20px;margin-right:8px;padding-right:0}.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;left:35px;right:auto}
|
2 |
+
/*# sourceMappingURL=control.css.map */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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;AAUI;EACE;AARN;AAWI;EACE;AATN;AAYI;EACE;EACA;AAVN;AAcE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAZJ;AAeE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAbJ;AAeI;EACE;EACA;EACA;EACA;EACA;AAbN;AAiBE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;AAhBJ;AAkBI;EACE;EACA;EACA;EACA;AAhBN;AAoBE;EACE;EACA;AAlBJ;AAqBE;EACE;AAnBJ;AAsBE;EACE;AApBJ;AAuBE;EACE;EACA;AArBJ;AAwBE;EACE;AAtBJ;AAyBE;EACE;EACA;EACA;EACA;AAvBJ;AA0BE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAxBJ;AA2BE;;EAEE;EACA;EACA;AAzBJ;AA4BE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AA1BJ;AA6BE;;EAEE;EACA;EACA;EACA;AA3BJ;AA8BE;EACE;EACA;EACA;EACA;EACA;AA5BJ;AA+BE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AA7BJ;AAgCE;EACE;EACA;AA9BJ;AAiCE;EACE;EACA;EACA;EACA;EACA;AA/BJ;AAkCE;EACE;EACA;EACA;EACA;AAhCJ;AAmCE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAjCJ;AAoCE;;EAEE;AAlCJ;AAqCE;;EAEE;AAnCJ;AAsCE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AApCJ;AAsCI;EACE;EACA;EACA;EACA;EACA;EACA;EACA;AApCN;AAuCI;EACE;AArCN;AA0CI;EACE;EACA;AAxCN;AA4CE;EACE;EACA;EACA;EACA;AA1CJ;AA4CI;EACE;EACA;AA1CN;AA+CI;EACE;AA7CN;AAgDI;EACE;EACA;EACA;AA9CN,C","sources":["webpack://control-react-colorful/./src/control.scss"],"sourcesContent":["// React colorful control.\n.customize-control-kirki-react-colorful {\n .kirki-control-form {\n position: relative;\n box-sizing: border-box;\n }\n\n .kirki-control-form * {\n box-sizing: border-box;\n }\n\n .kirki-control-cols {\n display: flex;\n align-items: flex-start;\n }\n\n .kirki-control-left-col {\n padding-right: 30px;\n width: 90%;\n width: calc(100% - 35px);\n }\n\n .kirki-control-right-col {\n display: flex;\n justify-content: flex-end;\n width: 35px;\n }\n\n .use-hue-mode {\n .react-colorful {\n height: auto;\n }\n\n .react-colorful__saturation {\n display: none;\n }\n\n .react-colorful__last-control {\n border-radius: 4px;\n }\n\n input.kirki-color-input {\n padding-left: 8px;\n padding-left: 8px;\n }\n }\n\n .kirki-trigger-circle-wrapper {\n position: relative;\n top: -3px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 3px;\n width: 33px;\n height: 33px;\n border-radius: 50%;\n border: 1px solid #ccc;\n }\n\n .kirki-trigger-circle {\n position: relative;\n padding: 0;\n display: block;\n width: 25px;\n height: 25px;\n background-size: 10px;\n border: none;\n border-radius: 50%;\n cursor: pointer;\n\n .kirki-color-preview {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n }\n\n .colorPickerContainer {\n position: absolute;\n top: 35px;\n right: 0;\n margin-top: 5px;\n width: 100%;\n padding: 15px;\n background-color: #fff;\n border-radius: 6px;\n box-shadow: rgba(0, 0, 0, 0.09) 0 12px 15px 0;\n z-index: 9999;\n\n opacity: 0;\n visibility: hidden;\n transition: all 0.2s;\n transition-property: opacity, visibility; // Yes, only opacity and visibility please.\n\n &.is-open {\n opacity: 1;\n visibility: visible;\n transition: all 0.2s ease 10ms; // When we open the picker popup, the top offset is changed, so we need to wait a bit.\n transition-property: opacity, visibility; // Yes, only opacity and visibility please.\n }\n }\n\n .react-colorful {\n width: 100%;\n border-radius: 4px;\n }\n\n .react-colorful__saturation {\n border-radius: 4px 4px 0 0;\n }\n\n .react-colorful__last-control {\n border-radius: 0 0 4px 4px;\n }\n\n .react-colorful__pointer {\n width: 20px;\n height: 20px;\n }\n\n .kirki-color-input-wrapper {\n margin-top: 15px;\n }\n\n .kirki-color-input-control {\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n }\n\n input.kirki-color-input {\n display: block;\n position: relative;\n padding-left: 32px;\n padding-right: 8px;\n width: 100%;\n height: 30px;\n line-height: 30px;\n color: #333;\n border: 1px solid #ccc;\n border-radius: 4px;\n z-index: 1;\n }\n\n .kirki-color-input:focus,\n .kirki-color-input:active {\n box-shadow: 0 0 0 1px #2271b1;\n outline: none;\n border-color: #2271b1;\n }\n\n .kirki-color-preview-wrapper {\n position: absolute;\n left: 6px;\n width: 22px;\n height: 22px;\n background-repeat: repeat;\n background-size: 8px;\n border-radius: 50%;\n border: 1px solid #ddd;\n border: 2px solid #fff;\n -webkit-box-shadow: 0px 0px 0px 1px #ddd;\n box-shadow: 0px 0px 0px 1px #ddd;\n z-index: 2;\n }\n\n .kirki-color-preview,\n .kirki-control-reset {\n position: absolute;\n padding: 0;\n background-color: transparent;\n cursor: pointer;\n }\n\n .kirki-color-preview {\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n border-width: 0;\n }\n\n .kirki-control-reset {\n display: flex;\n align-items: center;\n justify-content: center;\n top: 4px;\n right: 35px;\n width: 17px;\n height: 17px;\n border-radius: 50%;\n border-width: 0;\n z-index: 3;\n }\n\n .kirki-control-reset:hover i {\n color: #f00;\n transform: rotate(-45deg);\n }\n\n .kirki-control-reset i {\n font-size: 12px;\n width: auto;\n height: auto;\n transform: rotate(45deg);\n transition: transform 0.2s;\n }\n\n .kirki-color-swatches {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 12px;\n }\n\n .kirki-color-swatch {\n position: relative;\n display: block;\n padding: 0;\n width: 25px;\n height: 25px;\n border-radius: 50%;\n border: 2px solid #fff;\n cursor: pointer;\n transform: scale(1, 1);\n transition: transform 0.2s;\n -webkit-box-shadow: 0px 0px 0px 1px #ddd;\n box-shadow: 0px 0px 0px 1px #ddd;\n }\n\n .kirki-color-swatch:active,\n .kirki-color-swatch:focus {\n outline: none;\n }\n\n .kirki-color-swatch:hover,\n .kirki-color-swatch:focus {\n transform: scale(1.1, 1.1);\n }\n\n .kirki-label-tooltip {\n position: absolute;\n bottom: 45px;\n left: -8px;\n padding: 7px 10px 3px; // The 4px of bottom side is handled by label / description's margin-bottom.\n width: auto; // just for fallback for max-content.\n width: max-content;\n max-width: 100px;\n color: #fff;\n background-color: rgba(0, 0, 0, 0.7);\n border-radius: 4px;\n opacity: 0;\n visibility: hidden;\n transition: all 0.2s;\n\n &::before {\n content: \"\";\n position: absolute;\n bottom: -8px;\n left: 19px;\n border-width: 8px 7px 0 7px;\n border-style: solid;\n border-color: rgba(0, 0, 0, 0.7) transparent transparent transparent;\n }\n\n .customize-control-title {\n line-height: 1.2;\n }\n }\n\n .kirki-trigger-circle-wrapper {\n &:hover ~ .kirki-label-tooltip {\n opacity: 1;\n visibility: visible;\n }\n }\n\n &[data-kirki-parent-control-type=\"kirki-multicolor\"] {\n margin-right: 8px;\n margin-bottom: 20px;\n padding-right: 0;\n width: 35px;\n\n .kirki-control-reset {\n top: -19px;\n right: 8px;\n }\n }\n\n &[data-kirki-parent-control-type=\"kirki-typography\"] {\n .colorPickerContainer {\n top: 55px;\n }\n\n .kirki-control-reset {\n top: 30px;\n right: auto;\n left: 35px;\n }\n }\n}\n"],"names":[],"sourceRoot":""}
|
1 |
+
{"mappings":"ACEC,oGAKA,oFAIA,gGAKA,qHAMA,kHAOC,kFAIA,+FAIA,sGAIA,+FAMD,mOAaA,iMAWC,yIASD,sSAiBC,mJAQD,qFAKA,8FAIA,gGAIA,wFAKA,mFAIA,gIAOA,yOAcA,kMAOA,gPAeA,oMAQA,mIAQA,yMAaA,wGAKA,sJAQA,wIAQA,0PAeA,kJAKA,yJAKA,mRAeC,gNAUA,sGAMA,8HAMD,wJAMC,kIAOA,wHAIA","sources":["control.css","src/control.scss"],"sourcesContent":[".customize-control-kirki-react-colorful .kirki-control-form {\n box-sizing: border-box;\n position: relative;\n}\n\n.customize-control-kirki-react-colorful .kirki-control-form * {\n box-sizing: border-box;\n}\n\n.customize-control-kirki-react-colorful .kirki-control-cols {\n align-items: flex-start;\n display: flex;\n}\n\n.customize-control-kirki-react-colorful .kirki-control-left-col {\n width: 90%;\n width: calc(100% - 35px);\n padding-right: 30px;\n}\n\n.customize-control-kirki-react-colorful .kirki-control-right-col {\n width: 35px;\n justify-content: flex-end;\n display: flex;\n}\n\n.customize-control-kirki-react-colorful .use-hue-mode .react-colorful {\n height: auto;\n}\n\n.customize-control-kirki-react-colorful .use-hue-mode .react-colorful__saturation {\n display: none;\n}\n\n.customize-control-kirki-react-colorful .use-hue-mode .react-colorful__last-control {\n border-radius: 4px;\n}\n\n.customize-control-kirki-react-colorful .use-hue-mode input.kirki-color-input {\n padding-left: 8px;\n}\n\n.customize-control-kirki-react-colorful .kirki-trigger-circle-wrapper {\n width: 33px;\n height: 33px;\n border: 1px solid #ccc;\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n padding: 3px;\n display: flex;\n position: relative;\n top: -3px;\n}\n\n.customize-control-kirki-react-colorful .kirki-trigger-circle {\n width: 25px;\n height: 25px;\n cursor: pointer;\n background-size: 10px;\n border: none;\n border-radius: 50%;\n padding: 0;\n display: block;\n position: relative;\n}\n\n.customize-control-kirki-react-colorful .kirki-trigger-circle .kirki-color-preview {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.customize-control-kirki-react-colorful .colorPickerContainer {\n width: 100%;\n z-index: 9999;\n opacity: 0;\n visibility: hidden;\n background-color: #fff;\n border-radius: 6px;\n margin-top: 5px;\n padding: 15px;\n transition: opacity .2s, visibility .2s;\n position: absolute;\n top: 35px;\n right: 0;\n box-shadow: 0 12px 15px rgba(0, 0, 0, .09);\n}\n\n.customize-control-kirki-react-colorful .colorPickerContainer.is-open {\n opacity: 1;\n visibility: visible;\n transition: opacity .2s 10ms, visibility .2s 10ms;\n}\n\n.customize-control-kirki-react-colorful .react-colorful {\n width: 100%;\n border-radius: 4px;\n}\n\n.customize-control-kirki-react-colorful .react-colorful__saturation {\n border-radius: 4px 4px 0 0;\n}\n\n.customize-control-kirki-react-colorful .react-colorful__last-control {\n border-radius: 0 0 4px 4px;\n}\n\n.customize-control-kirki-react-colorful .react-colorful__pointer {\n width: 20px;\n height: 20px;\n}\n\n.customize-control-kirki-react-colorful .kirki-color-input-wrapper {\n margin-top: 15px;\n}\n\n.customize-control-kirki-react-colorful .kirki-color-input-control {\n width: 100%;\n align-items: center;\n display: flex;\n position: relative;\n}\n\n.customize-control-kirki-react-colorful input.kirki-color-input {\n width: 100%;\n height: 30px;\n color: #333;\n z-index: 1;\n border: 1px solid #ccc;\n border-radius: 4px;\n padding-left: 32px;\n padding-right: 8px;\n line-height: 30px;\n display: block;\n position: relative;\n}\n\n.customize-control-kirki-react-colorful .kirki-color-input:focus, .customize-control-kirki-react-colorful .kirki-color-input:active {\n border-color: #2271b1;\n outline: none;\n box-shadow: 0 0 0 1px #2271b1;\n}\n\n.customize-control-kirki-react-colorful .kirki-color-preview-wrapper {\n width: 22px;\n height: 22px;\n z-index: 2;\n background-repeat: repeat;\n background-size: 8px;\n border: 2px solid #fff;\n border-radius: 50%;\n position: absolute;\n left: 6px;\n box-shadow: 0 0 0 1px #ddd;\n}\n\n.customize-control-kirki-react-colorful .kirki-color-preview, .customize-control-kirki-react-colorful .kirki-control-reset {\n cursor: pointer;\n background-color: rgba(0, 0, 0, 0);\n padding: 0;\n position: absolute;\n}\n\n.customize-control-kirki-react-colorful .kirki-color-preview {\n width: 100%;\n height: 100%;\n border-width: 0;\n border-radius: 50%;\n display: block;\n}\n\n.customize-control-kirki-react-colorful .kirki-control-reset {\n width: 17px;\n height: 17px;\n z-index: 3;\n border-width: 0;\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n display: flex;\n top: 4px;\n right: 35px;\n}\n\n.customize-control-kirki-react-colorful .kirki-control-reset:hover i {\n color: red;\n transform: rotate(-45deg);\n}\n\n.customize-control-kirki-react-colorful .kirki-control-reset i {\n width: auto;\n height: auto;\n font-size: 12px;\n transition: transform .2s;\n transform: rotate(45deg);\n}\n\n.customize-control-kirki-react-colorful .kirki-color-swatches {\n flex-wrap: wrap;\n align-items: center;\n gap: 4px;\n margin-bottom: 12px;\n display: flex;\n}\n\n.customize-control-kirki-react-colorful .kirki-color-swatch {\n width: 25px;\n height: 25px;\n cursor: pointer;\n border: 2px solid #fff;\n border-radius: 50%;\n padding: 0;\n transition: transform .2s;\n display: block;\n position: relative;\n transform: scale(1);\n box-shadow: 0 0 0 1px #ddd;\n}\n\n.customize-control-kirki-react-colorful .kirki-color-swatch:active, .customize-control-kirki-react-colorful .kirki-color-swatch:focus {\n outline: none;\n}\n\n.customize-control-kirki-react-colorful .kirki-color-swatch:hover, .customize-control-kirki-react-colorful .kirki-color-swatch:focus {\n transform: scale(1.1);\n}\n\n.customize-control-kirki-react-colorful .kirki-label-tooltip {\n width: auto;\n width: max-content;\n max-width: 100px;\n color: #fff;\n opacity: 0;\n visibility: hidden;\n background-color: rgba(0, 0, 0, .7);\n border-radius: 4px;\n padding: 7px 10px 3px;\n transition: all .2s;\n position: absolute;\n bottom: 45px;\n left: -8px;\n}\n\n.customize-control-kirki-react-colorful .kirki-label-tooltip:before {\n content: \"\";\n border: 7px solid rgba(0, 0, 0, 0);\n border-top: 8px solid rgba(0, 0, 0, .7);\n border-bottom-width: 0;\n position: absolute;\n bottom: -8px;\n left: 19px;\n}\n\n.customize-control-kirki-react-colorful .kirki-label-tooltip .customize-control-title {\n line-height: 1.2;\n}\n\n.customize-control-kirki-react-colorful .kirki-trigger-circle-wrapper:hover ~ .kirki-label-tooltip {\n opacity: 1;\n visibility: visible;\n}\n\n.customize-control-kirki-react-colorful[data-kirki-parent-control-type=\"kirki-multicolor\"] {\n width: 35px;\n margin-bottom: 20px;\n margin-right: 8px;\n padding-right: 0;\n}\n\n.customize-control-kirki-react-colorful[data-kirki-parent-control-type=\"kirki-multicolor\"] .kirki-control-reset {\n top: -19px;\n right: 8px;\n}\n\n.customize-control-kirki-react-colorful[data-kirki-parent-control-type=\"kirki-typography\"] .colorPickerContainer {\n top: 55px;\n}\n\n.customize-control-kirki-react-colorful[data-kirki-parent-control-type=\"kirki-typography\"] .kirki-control-reset {\n top: 30px;\n left: 35px;\n right: auto;\n}\n\n/*# sourceMappingURL=control.css.map */\n","// React colorful control.\n.customize-control-kirki-react-colorful {\n\t.kirki-control-form {\n\t\tposition: relative;\n\t\tbox-sizing: border-box;\n\t}\n\n\t.kirki-control-form * {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.kirki-control-cols {\n\t\tdisplay: flex;\n\t\talign-items: flex-start;\n\t}\n\n\t.kirki-control-left-col {\n\t\tpadding-right: 30px;\n\t\twidth: 90%;\n\t\twidth: calc(100% - 35px);\n\t}\n\n\t.kirki-control-right-col {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t\twidth: 35px;\n\t}\n\n\t.use-hue-mode {\n\t\t.react-colorful {\n\t\t\theight: auto;\n\t\t}\n\n\t\t.react-colorful__saturation {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t.react-colorful__last-control {\n\t\t\tborder-radius: 4px;\n\t\t}\n\n\t\tinput.kirki-color-input {\n\t\t\tpadding-left: 8px;\n\t\t\tpadding-left: 8px;\n\t\t}\n\t}\n\n\t.kirki-trigger-circle-wrapper {\n\t\tposition: relative;\n\t\ttop: -3px;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tpadding: 3px;\n\t\twidth: 33px;\n\t\theight: 33px;\n\t\tborder-radius: 50%;\n\t\tborder: 1px solid #ccc;\n\t}\n\n\t.kirki-trigger-circle {\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tdisplay: block;\n\t\twidth: 25px;\n\t\theight: 25px;\n\t\tbackground-size: 10px;\n\t\tborder: none;\n\t\tborder-radius: 50%;\n\t\tcursor: pointer;\n\n\t\t.kirki-color-preview {\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t}\n\t}\n\n\t.colorPickerContainer {\n\t\tposition: absolute;\n\t\ttop: 35px;\n\t\tright: 0;\n\t\tmargin-top: 5px;\n\t\twidth: 100%;\n\t\tpadding: 15px;\n\t\tbackground-color: #fff;\n\t\tborder-radius: 6px;\n\t\tbox-shadow: rgba(0, 0, 0, 0.09) 0 12px 15px 0;\n\t\tz-index: 9999;\n\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\ttransition: all 0.2s;\n\t\ttransition-property: opacity, visibility; // Yes, only opacity and visibility please.\n\n\t\t&.is-open {\n\t\t\topacity: 1;\n\t\t\tvisibility: visible;\n\t\t\ttransition: all 0.2s ease 10ms; // When we open the picker popup, the top offset is changed, so we need to wait a bit.\n\t\t\ttransition-property: opacity, visibility; // Yes, only opacity and visibility please.\n\t\t}\n\t}\n\n\t.react-colorful {\n\t\twidth: 100%;\n\t\tborder-radius: 4px;\n\t}\n\n\t.react-colorful__saturation {\n\t\tborder-radius: 4px 4px 0 0;\n\t}\n\n\t.react-colorful__last-control {\n\t\tborder-radius: 0 0 4px 4px;\n\t}\n\n\t.react-colorful__pointer {\n\t\twidth: 20px;\n\t\theight: 20px;\n\t}\n\n\t.kirki-color-input-wrapper {\n\t\tmargin-top: 15px;\n\t}\n\n\t.kirki-color-input-control {\n\t\tposition: relative;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\twidth: 100%;\n\t}\n\n\tinput.kirki-color-input {\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\tpadding-left: 32px;\n\t\tpadding-right: 8px;\n\t\twidth: 100%;\n\t\theight: 30px;\n\t\tline-height: 30px;\n\t\tcolor: #333;\n\t\tborder: 1px solid #ccc;\n\t\tborder-radius: 4px;\n\t\tz-index: 1;\n\t}\n\n\t.kirki-color-input:focus,\n\t.kirki-color-input:active {\n\t\tbox-shadow: 0 0 0 1px #2271b1;\n\t\toutline: none;\n\t\tborder-color: #2271b1;\n\t}\n\n\t.kirki-color-preview-wrapper {\n\t\tposition: absolute;\n\t\tleft: 6px;\n\t\twidth: 22px;\n\t\theight: 22px;\n\t\tbackground-repeat: repeat;\n\t\tbackground-size: 8px;\n\t\tborder-radius: 50%;\n\t\tborder: 1px solid #ddd;\n\t\tborder: 2px solid #fff;\n\t\t-webkit-box-shadow: 0px 0px 0px 1px #ddd;\n\t\tbox-shadow: 0px 0px 0px 1px #ddd;\n\t\tz-index: 2;\n\t}\n\n\t.kirki-color-preview,\n\t.kirki-control-reset {\n\t\tposition: absolute;\n\t\tpadding: 0;\n\t\tbackground-color: transparent;\n\t\tcursor: pointer;\n\t}\n\n\t.kirki-color-preview {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tborder-width: 0;\n\t}\n\n\t.kirki-control-reset {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\ttop: 4px;\n\t\tright: 35px;\n\t\twidth: 17px;\n\t\theight: 17px;\n\t\tborder-radius: 50%;\n\t\tborder-width: 0;\n\t\tz-index: 3;\n\t}\n\n\t.kirki-control-reset:hover i {\n\t\tcolor: #f00;\n\t\ttransform: rotate(-45deg);\n\t}\n\n\t.kirki-control-reset i {\n\t\tfont-size: 12px;\n\t\twidth: auto;\n\t\theight: auto;\n\t\ttransform: rotate(45deg);\n\t\ttransition: transform 0.2s;\n\t}\n\n\t.kirki-color-swatches {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\tgap: 4px;\n\t\talign-items: center;\n\t\tmargin-bottom: 12px;\n\t}\n\n\t.kirki-color-swatch {\n\t\tposition: relative;\n\t\tdisplay: block;\n\t\tpadding: 0;\n\t\twidth: 25px;\n\t\theight: 25px;\n\t\tborder-radius: 50%;\n\t\tborder: 2px solid #fff;\n\t\tcursor: pointer;\n\t\ttransform: scale(1, 1);\n\t\ttransition: transform 0.2s;\n\t\t-webkit-box-shadow: 0px 0px 0px 1px #ddd;\n\t\tbox-shadow: 0px 0px 0px 1px #ddd;\n\t}\n\n\t.kirki-color-swatch:active,\n\t.kirki-color-swatch:focus {\n\t\toutline: none;\n\t}\n\n\t.kirki-color-swatch:hover,\n\t.kirki-color-swatch:focus {\n\t\ttransform: scale(1.1, 1.1);\n\t}\n\n\t.kirki-label-tooltip {\n\t\tposition: absolute;\n\t\tbottom: 45px;\n\t\tleft: -8px;\n\t\tpadding: 7px 10px 3px; // The 4px of bottom side is handled by label / description's margin-bottom.\n\t\twidth: auto; // just for fallback for max-content.\n\t\twidth: max-content;\n\t\tmax-width: 100px;\n\t\tcolor: #fff;\n\t\tbackground-color: rgba(0, 0, 0, 0.7);\n\t\tborder-radius: 4px;\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\ttransition: all 0.2s;\n\n\t\t&::before {\n\t\t\tcontent: \"\";\n\t\t\tposition: absolute;\n\t\t\tbottom: -8px;\n\t\t\tleft: 19px;\n\t\t\tborder-width: 8px 7px 0 7px;\n\t\t\tborder-style: solid;\n\t\t\tborder-color: rgba(0, 0, 0, 0.7) transparent transparent transparent;\n\t\t}\n\n\t\t.customize-control-title {\n\t\t\tline-height: 1.2;\n\t\t}\n\t}\n\n\t.kirki-trigger-circle-wrapper {\n\t\t&:hover ~ .kirki-label-tooltip {\n\t\t\topacity: 1;\n\t\t\tvisibility: visible;\n\t\t}\n\t}\n\n\t&[data-kirki-parent-control-type=\"kirki-multicolor\"] {\n\t\tmargin-right: 8px;\n\t\tmargin-bottom: 20px;\n\t\tpadding-right: 0;\n\t\twidth: 35px;\n\n\t\t.kirki-control-reset {\n\t\t\ttop: -19px;\n\t\t\tright: 8px;\n\t\t}\n\t}\n\n\t&[data-kirki-parent-control-type=\"kirki-typography\"] {\n\t\t.colorPickerContainer {\n\t\t\ttop: 55px;\n\t\t}\n\n\t\t.kirki-control-reset {\n\t\t\ttop: 30px;\n\t\t\tright: auto;\n\t\t\tleft: 35px;\n\t\t}\n\t}\n}\n"],"names":[],"version":3,"file":"control.css.map"}
|
packages/kirki-framework/control-react-colorful/dist/control.js
CHANGED
@@ -1,7678 +1,2 @@
|
|
1 |
-
/******/ (function() { // webpackBootstrap
|
2 |
-
|
3 |
-
|
4 |
-
/***/ "./src/KirkiReactColorfulControl.js":
|
5 |
-
/*!******************************************!*\
|
6 |
-
!*** ./src/KirkiReactColorfulControl.js ***!
|
7 |
-
\******************************************/
|
8 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
9 |
-
|
10 |
-
"use strict";
|
11 |
-
__webpack_require__.r(__webpack_exports__);
|
12 |
-
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-dom */ "react-dom");
|
13 |
-
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_0__);
|
14 |
-
/* harmony import */ var _KirkiReactColorfulForm__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KirkiReactColorfulForm */ "./src/KirkiReactColorfulForm.js");
|
15 |
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
/**
|
20 |
-
* KirkiReactColorfulControl.
|
21 |
-
*
|
22 |
-
* @class
|
23 |
-
* @augments wp.customize.Control
|
24 |
-
* @augments wp.customize.Class
|
25 |
-
*/
|
26 |
-
|
27 |
-
const KirkiReactColorfulControl = wp.customize.Control.extend({
|
28 |
-
/**
|
29 |
-
* Initialize.
|
30 |
-
*
|
31 |
-
* @param {string} id - Control ID.
|
32 |
-
* @param {object} params - Control params.
|
33 |
-
*/
|
34 |
-
initialize: function (id, params) {
|
35 |
-
const control = this; // Bind functions to this control context for passing as React props.
|
36 |
-
|
37 |
-
control.setNotificationContainer = control.setNotificationContainer.bind(control);
|
38 |
-
wp.customize.Control.prototype.initialize.call(control, id, params); // The following should be eliminated with <https://core.trac.wordpress.org/ticket/31334>.
|
39 |
-
|
40 |
-
function onRemoved(removedControl) {
|
41 |
-
if (control === removedControl) {
|
42 |
-
control.destroy();
|
43 |
-
control.container.remove();
|
44 |
-
wp.customize.control.unbind("removed", onRemoved);
|
45 |
-
}
|
46 |
-
}
|
47 |
-
|
48 |
-
wp.customize.control.bind("removed", onRemoved);
|
49 |
-
},
|
50 |
-
|
51 |
-
/**
|
52 |
-
* Set notification container and render.
|
53 |
-
*
|
54 |
-
* This is called when the React component is mounted.
|
55 |
-
*
|
56 |
-
* @param {Element} element - Notification container.
|
57 |
-
* @returns {void}
|
58 |
-
*/
|
59 |
-
setNotificationContainer: function setNotificationContainer(element) {
|
60 |
-
const control = this;
|
61 |
-
control.notifications.container = jQuery(element);
|
62 |
-
control.notifications.render();
|
63 |
-
},
|
64 |
-
|
65 |
-
/**
|
66 |
-
* Render the control into the DOM.
|
67 |
-
*
|
68 |
-
* This is called from the Control#embed() method in the parent class.
|
69 |
-
*
|
70 |
-
* @returns {void}
|
71 |
-
*/
|
72 |
-
renderContent: function renderContent() {
|
73 |
-
const control = this;
|
74 |
-
const useHueMode = "hue" === control.params.mode;
|
75 |
-
const choices = control.params.choices;
|
76 |
-
let pickerComponent;
|
77 |
-
|
78 |
-
if (choices.formComponent) {
|
79 |
-
pickerComponent = choices.formComponent;
|
80 |
-
} else {
|
81 |
-
pickerComponent = choices.alpha ? "RgbaStringColorPicker" : "HexColorPicker";
|
82 |
-
}
|
83 |
-
|
84 |
-
pickerComponent = useHueMode ? "HueColorPicker" : pickerComponent;
|
85 |
-
const form = /*#__PURE__*/React.createElement(_KirkiReactColorfulForm__WEBPACK_IMPORTED_MODULE_1__["default"], _extends({}, control.params, {
|
86 |
-
control: control,
|
87 |
-
customizerSetting: control.setting,
|
88 |
-
useHueMode: useHueMode,
|
89 |
-
pickerComponent: pickerComponent,
|
90 |
-
value: control.params.value,
|
91 |
-
setNotificationContainer: control.setNotificationContainer
|
92 |
-
}));
|
93 |
-
react_dom__WEBPACK_IMPORTED_MODULE_0___default().render(form, control.container[0]);
|
94 |
-
},
|
95 |
-
|
96 |
-
/**
|
97 |
-
* After control has been first rendered, start re-rendering when setting changes.
|
98 |
-
*
|
99 |
-
* React is able to be used here instead of the wp.customize.Element abstraction.
|
100 |
-
*
|
101 |
-
* @returns {void}
|
102 |
-
*/
|
103 |
-
ready: function ready() {
|
104 |
-
const control = this;
|
105 |
-
/**
|
106 |
-
* Update component state when customizer setting changes.
|
107 |
-
*
|
108 |
-
* There was an issue (which was fixed):
|
109 |
-
*
|
110 |
-
* Let's say we have other color picker ("x" color picker) and this current color picker ("y" color picker).
|
111 |
-
* Let's say there's a script that bind to that "x" color picker to make change to this "y" color picker.
|
112 |
-
*
|
113 |
-
* When "x" color picker is changed fast (by dragging the color, for example),
|
114 |
-
* then the re-render of this "y" color picker will be messy.
|
115 |
-
* There was something like "function-call race" between component re-render and function call inside the component.
|
116 |
-
*
|
117 |
-
* When that happens, the "x" color picker becomes unresponsive and un-usable.
|
118 |
-
*
|
119 |
-
* How we fixed that:
|
120 |
-
* - Provide a updateComponentState property to this file.
|
121 |
-
* - Inside the component, assign the updateComponentState with a function to update some states.
|
122 |
-
* - Then inside the binding below, call updateComponentState instead of re-rendering the component.
|
123 |
-
*
|
124 |
-
* The result: Even though the "x" color picker becomes very slow, it's still usable and responsive enough.
|
125 |
-
*/
|
126 |
-
|
127 |
-
control.setting.bind(val => {
|
128 |
-
control.updateComponentState(val);
|
129 |
-
});
|
130 |
-
},
|
131 |
-
updateComponentState: () => {},
|
132 |
-
|
133 |
-
/**
|
134 |
-
* Handle removal/de-registration of the control.
|
135 |
-
*
|
136 |
-
* This is essentially the inverse of the Control#embed() method.
|
137 |
-
*
|
138 |
-
* @link https://core.trac.wordpress.org/ticket/31334
|
139 |
-
* @returns {void}
|
140 |
-
*/
|
141 |
-
destroy: function destroy() {
|
142 |
-
const control = this; // Garbage collection: undo mounting that was done in the embed/renderContent method.
|
143 |
-
|
144 |
-
react_dom__WEBPACK_IMPORTED_MODULE_0___default().unmountComponentAtNode(control.container[0]); // Call destroy method in parent if it exists (as of #31334).
|
145 |
-
|
146 |
-
if (wp.customize.Control.prototype.destroy) {
|
147 |
-
wp.customize.Control.prototype.destroy.call(control);
|
148 |
-
}
|
149 |
-
}
|
150 |
-
});
|
151 |
-
/* harmony default export */ __webpack_exports__["default"] = (KirkiReactColorfulControl);
|
152 |
-
|
153 |
-
/***/ }),
|
154 |
-
|
155 |
-
/***/ "./src/KirkiReactColorfulForm.js":
|
156 |
-
/*!***************************************!*\
|
157 |
-
!*** ./src/KirkiReactColorfulForm.js ***!
|
158 |
-
\***************************************/
|
159 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
160 |
-
|
161 |
-
"use strict";
|
162 |
-
__webpack_require__.r(__webpack_exports__);
|
163 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
164 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
165 |
-
/* harmony import */ var react_colorful__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react-colorful */ "./node_modules/react-colorful/dist/index.module.js");
|
166 |
-
/* harmony import */ var _js_components_KirkiReactColorfulInput__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./js/components/KirkiReactColorfulInput */ "./src/js/components/KirkiReactColorfulInput.js");
|
167 |
-
/* harmony import */ var _js_components_KirkiReactColorfulSwatches__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./js/components/KirkiReactColorfulSwatches */ "./src/js/components/KirkiReactColorfulSwatches.js");
|
168 |
-
/* harmony import */ var _js_utils_convertColorForPicker__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./js/utils/convertColorForPicker */ "./src/js/utils/convertColorForPicker.js");
|
169 |
-
/* harmony import */ var _js_utils_convertColorForCustomizer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./js/utils/convertColorForCustomizer */ "./src/js/utils/convertColorForCustomizer.js");
|
170 |
-
/* harmony import */ var _js_utils_convertColorForInput__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./js/utils/convertColorForInput */ "./src/js/utils/convertColorForInput.js");
|
171 |
-
/* harmony import */ var _js_hooks_useClickOutside__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./js/hooks/useClickOutside */ "./src/js/hooks/useClickOutside.js");
|
172 |
-
/* harmony import */ var _js_hooks_useFocusOutside__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./js/hooks/useFocusOutside */ "./src/js/hooks/useFocusOutside.js");
|
173 |
-
/* harmony import */ var _js_hooks_useWindowResize__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./js/hooks/useWindowResize */ "./src/js/hooks/useWindowResize.js");
|
174 |
-
/* harmony import */ var _js_components_KirkiReactColorfulCircle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./js/components/KirkiReactColorfulCircle */ "./src/js/components/KirkiReactColorfulCircle.js");
|
175 |
-
/* harmony import */ var colord__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! colord */ "./node_modules/colord/index.mjs");
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
/**
|
189 |
-
* The form component of Kirki React Colorful.
|
190 |
-
*
|
191 |
-
* Globals:
|
192 |
-
* _, wp, React, ReactDOM
|
193 |
-
*
|
194 |
-
* @param {Object} props The props for the component.
|
195 |
-
* @returns The component element.
|
196 |
-
*/
|
197 |
-
|
198 |
-
const KirkiReactColorfulForm = props => {
|
199 |
-
const {
|
200 |
-
control,
|
201 |
-
customizerSetting,
|
202 |
-
useHueMode,
|
203 |
-
pickerComponent,
|
204 |
-
choices
|
205 |
-
} = props;
|
206 |
-
|
207 |
-
const parseEmptyValue = () => useHueMode ? 0 : "#000000";
|
208 |
-
|
209 |
-
const parseHueModeValue = hueValue => {
|
210 |
-
hueValue = hueValue || parseEmptyValue();
|
211 |
-
hueValue = hueValue < 0 ? 0 : hueValue;
|
212 |
-
return hueValue > 360 ? 360 : hueValue;
|
213 |
-
};
|
214 |
-
|
215 |
-
const parseInputValue = value => {
|
216 |
-
if ("" === value) return "";
|
217 |
-
return useHueMode ? parseHueModeValue(value) : (0,_js_utils_convertColorForInput__WEBPACK_IMPORTED_MODULE_5__["default"])(value, pickerComponent, choices.formComponent).replace(";", "");
|
218 |
-
};
|
219 |
-
|
220 |
-
const parseCustomizerValue = value => {
|
221 |
-
if ("" === value) return "";
|
222 |
-
return (0,_js_utils_convertColorForCustomizer__WEBPACK_IMPORTED_MODULE_4__["default"])(value, pickerComponent, choices.formComponent);
|
223 |
-
};
|
224 |
-
|
225 |
-
const parsePickerValue = value => {
|
226 |
-
value = value || parseEmptyValue(); // Hard coded saturation and lightness when using hue mode.
|
227 |
-
|
228 |
-
return useHueMode ? {
|
229 |
-
h: value,
|
230 |
-
s: 100,
|
231 |
-
l: 50
|
232 |
-
} : (0,_js_utils_convertColorForPicker__WEBPACK_IMPORTED_MODULE_3__["default"])(value, pickerComponent);
|
233 |
-
};
|
234 |
-
|
235 |
-
const [inputValue, setInputValue] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(() => {
|
236 |
-
return parseInputValue(props.value);
|
237 |
-
});
|
238 |
-
const [pickerValue, setPickerValue] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(() => {
|
239 |
-
return parsePickerValue(props.value);
|
240 |
-
});
|
241 |
-
let currentInputValue = inputValue;
|
242 |
-
let currentPickerValue = pickerValue; // This function will be called when this control's customizer value is changed.
|
243 |
-
|
244 |
-
control.updateComponentState = value => {
|
245 |
-
const valueForInput = parseInputValue(value);
|
246 |
-
let changeInputValue = false;
|
247 |
-
|
248 |
-
if (typeof valueForInput === "string" || useHueMode) {
|
249 |
-
changeInputValue = valueForInput !== inputValue;
|
250 |
-
} else {
|
251 |
-
changeInputValue = JSON.stringify(valueForInput) !== JSON.stringify(currentInputValue);
|
252 |
-
}
|
253 |
-
|
254 |
-
if (changeInputValue) setInputValue(valueForInput);
|
255 |
-
const valueForPicker = parsePickerValue(value);
|
256 |
-
let changePickerValue = false;
|
257 |
-
|
258 |
-
if (typeof valueForPicker === "string" || useHueMode) {
|
259 |
-
changePickerValue = valueForPicker !== pickerValue;
|
260 |
-
} else {
|
261 |
-
changePickerValue = JSON.stringify(valueForPicker) !== JSON.stringify(currentPickerValue);
|
262 |
-
}
|
263 |
-
|
264 |
-
if (changePickerValue) setPickerValue(valueForPicker);
|
265 |
-
};
|
266 |
-
|
267 |
-
const saveToCustomizer = value => {
|
268 |
-
if (useHueMode) {
|
269 |
-
/**
|
270 |
-
* When using hue mode, the pickerComponent is HslColorPicker.
|
271 |
-
* If there is value.h, then value is set from the picker.
|
272 |
-
* Otherwise, value is set from the input or the customizer.
|
273 |
-
*/
|
274 |
-
value = value.h || 0 === value.h ? value.h : value;
|
275 |
-
value = parseHueModeValue(value);
|
276 |
-
} else {
|
277 |
-
value = parseCustomizerValue(value);
|
278 |
-
}
|
279 |
-
|
280 |
-
customizerSetting.set(value);
|
281 |
-
};
|
282 |
-
|
283 |
-
const initialColor = "" !== props.default && "undefined" !== typeof props.default ? props.default : props.value;
|
284 |
-
/**
|
285 |
-
* Function to run on picker change.
|
286 |
-
*
|
287 |
-
* @param {string|Object} color The value returned by the picker. It can be a string or a color object.
|
288 |
-
*/
|
289 |
-
|
290 |
-
const handlePickerChange = color => {
|
291 |
-
if (props.onChange) props.onChange(color);
|
292 |
-
currentPickerValue = color;
|
293 |
-
saveToCustomizer(color);
|
294 |
-
};
|
295 |
-
|
296 |
-
const handleInputChange = value => {
|
297 |
-
currentInputValue = value;
|
298 |
-
saveToCustomizer(value);
|
299 |
-
};
|
300 |
-
|
301 |
-
const handleReset = () => {
|
302 |
-
if (!initialColor) {
|
303 |
-
currentInputValue = "";
|
304 |
-
currentPickerValue = "";
|
305 |
-
}
|
306 |
-
|
307 |
-
saveToCustomizer(initialColor);
|
308 |
-
};
|
309 |
-
|
310 |
-
const handleSwatchesClick = swatchColor => {
|
311 |
-
saveToCustomizer(swatchColor);
|
312 |
-
};
|
313 |
-
|
314 |
-
const handleWindowResize = () => {
|
315 |
-
setPickerContainerStyle(getPickerContainerStyle());
|
316 |
-
};
|
317 |
-
|
318 |
-
let controlLabel = /*#__PURE__*/React.createElement("span", {
|
319 |
-
className: "customize-control-title",
|
320 |
-
dangerouslySetInnerHTML: {
|
321 |
-
__html: props.label
|
322 |
-
}
|
323 |
-
});
|
324 |
-
let controlDescription = /*#__PURE__*/React.createElement("span", {
|
325 |
-
className: "description customize-control-description",
|
326 |
-
dangerouslySetInnerHTML: {
|
327 |
-
__html: props.description
|
328 |
-
}
|
329 |
-
});
|
330 |
-
controlLabel = /*#__PURE__*/React.createElement("label", {
|
331 |
-
className: "kirki-control-label"
|
332 |
-
}, props.label ? controlLabel : "", props.description ? controlDescription : "");
|
333 |
-
controlLabel = props.label || props.description ? controlLabel : "";
|
334 |
-
const formRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null); // Reference to the form div.
|
335 |
-
|
336 |
-
const pickerRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null); // Reference to the picker popup.
|
337 |
-
|
338 |
-
const resetRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null); // Reference to the picker popup.
|
339 |
-
|
340 |
-
const [isPickerOpen, setIsPickerOpen] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false);
|
341 |
-
const usePositionFixed = "default" !== choices.labelStyle ? true : false;
|
342 |
-
const [pickerContainerStyle, setPickerContainerStyle] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({});
|
343 |
-
|
344 |
-
const getPickerContainerStyle = () => {
|
345 |
-
let pickerContainerStyle = {};
|
346 |
-
if (!usePositionFixed) return pickerContainerStyle;
|
347 |
-
let padding = window.getComputedStyle(control.container[0].parentNode).paddingLeft;
|
348 |
-
padding = parseInt(padding, 10) * 2;
|
349 |
-
pickerContainerStyle.width = control.container[0].parentNode.getBoundingClientRect().width - padding;
|
350 |
-
const controlLeftOffset = (control.container[0].offsetLeft - 9) * -1;
|
351 |
-
pickerContainerStyle.left = controlLeftOffset + "px";
|
352 |
-
return pickerContainerStyle;
|
353 |
-
};
|
354 |
-
|
355 |
-
const convertInputValueTo6Digits = () => {
|
356 |
-
if (4 === inputValue.length && inputValue.includes("#")) {
|
357 |
-
setInputValue((0,colord__WEBPACK_IMPORTED_MODULE_10__.colord)(inputValue).toHex());
|
358 |
-
}
|
359 |
-
};
|
360 |
-
|
361 |
-
const togglePicker = () => {
|
362 |
-
if (isPickerOpen) {
|
363 |
-
closePicker();
|
364 |
-
} else {
|
365 |
-
openPicker();
|
366 |
-
}
|
367 |
-
};
|
368 |
-
|
369 |
-
const openPicker = () => {
|
370 |
-
if (isPickerOpen) return;
|
371 |
-
setPickerContainerStyle(getPickerContainerStyle());
|
372 |
-
convertInputValueTo6Digits();
|
373 |
-
setIsPickerOpen(true);
|
374 |
-
};
|
375 |
-
|
376 |
-
const closePicker = () => {
|
377 |
-
if (!isPickerOpen) return;
|
378 |
-
setIsPickerOpen(false);
|
379 |
-
setTimeout(convertInputValueTo6Digits, 200);
|
380 |
-
};
|
381 |
-
|
382 |
-
let KirkiPickerComponent; // We can't just render `pickerComponent` directly, we need these lines so that the compiler will import them.
|
383 |
-
|
384 |
-
switch (pickerComponent) {
|
385 |
-
case "HexColorPicker":
|
386 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HexColorPicker;
|
387 |
-
break;
|
388 |
-
|
389 |
-
case "RgbColorPicker":
|
390 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.RgbColorPicker;
|
391 |
-
break;
|
392 |
-
|
393 |
-
case "RgbStringColorPicker":
|
394 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.RgbStringColorPicker;
|
395 |
-
break;
|
396 |
-
|
397 |
-
case "RgbaColorPicker":
|
398 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.RgbaColorPicker;
|
399 |
-
break;
|
400 |
-
|
401 |
-
case "RgbaStringColorPicker":
|
402 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.RgbaStringColorPicker;
|
403 |
-
break;
|
404 |
-
// We treat HueColorPicker (hue mode) as HslColorPicker.
|
405 |
-
|
406 |
-
case "HueColorPicker":
|
407 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HslColorPicker;
|
408 |
-
break;
|
409 |
-
|
410 |
-
case "HslColorPicker":
|
411 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HslColorPicker;
|
412 |
-
break;
|
413 |
-
|
414 |
-
case "HslStringColorPicker":
|
415 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HslStringColorPicker;
|
416 |
-
break;
|
417 |
-
|
418 |
-
case "HslaColorPicker":
|
419 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HslaColorPicker;
|
420 |
-
break;
|
421 |
-
|
422 |
-
case "HslaStringColorPicker":
|
423 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HslaStringColorPicker;
|
424 |
-
break;
|
425 |
-
|
426 |
-
case "HsvColorPicker":
|
427 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HsvColorPicker;
|
428 |
-
break;
|
429 |
-
|
430 |
-
case "HsvStringColorPicker":
|
431 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HsvStringColorPicker;
|
432 |
-
break;
|
433 |
-
|
434 |
-
case "HsvaColorPicker":
|
435 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HsvaColorPicker;
|
436 |
-
break;
|
437 |
-
|
438 |
-
case "HsvaStringColorPicker":
|
439 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HsvaStringColorPicker;
|
440 |
-
break;
|
441 |
-
|
442 |
-
default:
|
443 |
-
KirkiPickerComponent = react_colorful__WEBPACK_IMPORTED_MODULE_11__.HexColorPicker;
|
444 |
-
break;
|
445 |
-
}
|
446 |
-
|
447 |
-
(0,_js_hooks_useWindowResize__WEBPACK_IMPORTED_MODULE_8__["default"])(handleWindowResize); // Handle outside focus to close the picker popup.
|
448 |
-
|
449 |
-
(0,_js_hooks_useFocusOutside__WEBPACK_IMPORTED_MODULE_7__["default"])(formRef, closePicker); // Handle outside click to close the picker popup.
|
450 |
-
|
451 |
-
(0,_js_hooks_useClickOutside__WEBPACK_IMPORTED_MODULE_6__["default"])(pickerRef, resetRef, closePicker);
|
452 |
-
|
453 |
-
if (jQuery.wp && jQuery.wp.wpColorPicker) {
|
454 |
-
const wpColorPickerSwatches = jQuery.wp.wpColorPicker.prototype.options.palettes; // If 3rd parties applied custom colors to wpColorPicker swatches, let's use them.
|
455 |
-
|
456 |
-
if (Array.isArray(wpColorPickerSwatches)) {
|
457 |
-
if (wpColorPickerSwatches.length < 8) {
|
458 |
-
for (let i = wpColorPickerSwatches.length; i <= 8; i++) {
|
459 |
-
wpColorPickerSwatches.push(choices.swatches[i]);
|
460 |
-
}
|
461 |
-
}
|
462 |
-
|
463 |
-
choices.swatches = wpColorPickerSwatches;
|
464 |
-
}
|
465 |
-
}
|
466 |
-
|
467 |
-
const controlHeader = /*#__PURE__*/React.createElement(React.Fragment, null, controlLabel, /*#__PURE__*/React.createElement("div", {
|
468 |
-
className: "customize-control-notifications-container",
|
469 |
-
ref: props.setNotificationContainer
|
470 |
-
}));
|
471 |
-
let formClassName = useHueMode ? "kirki-control-form use-hue-mode" : "kirki-control-form";
|
472 |
-
formClassName += " has-" + choices.labelStyle + "-label-style";
|
473 |
-
let pickerContainerClassName = isPickerOpen ? pickerComponent + " colorPickerContainer is-open" : pickerComponent + " colorPickerContainer";
|
474 |
-
const pickerTrigger = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("button", {
|
475 |
-
type: "button",
|
476 |
-
ref: resetRef,
|
477 |
-
className: "kirki-control-reset",
|
478 |
-
onClick: handleReset,
|
479 |
-
style: {
|
480 |
-
display: isPickerOpen ? "flex" : "none"
|
481 |
-
}
|
482 |
-
}, /*#__PURE__*/React.createElement("i", {
|
483 |
-
className: "dashicons dashicons-image-rotate"
|
484 |
-
})), /*#__PURE__*/React.createElement(_js_components_KirkiReactColorfulCircle__WEBPACK_IMPORTED_MODULE_9__["default"], {
|
485 |
-
pickerComponent: pickerComponent,
|
486 |
-
useHueMode: useHueMode,
|
487 |
-
color: !useHueMode ? inputValue : (0,colord__WEBPACK_IMPORTED_MODULE_10__.colord)({
|
488 |
-
h: inputValue,
|
489 |
-
s: 100,
|
490 |
-
l: 50
|
491 |
-
}).toHex(),
|
492 |
-
isPickerOpen: isPickerOpen,
|
493 |
-
togglePickerHandler: togglePicker
|
494 |
-
}));
|
495 |
-
let pickerHeader;
|
496 |
-
|
497 |
-
switch (choices.labelStyle) {
|
498 |
-
case "tooltip":
|
499 |
-
pickerHeader = /*#__PURE__*/React.createElement(React.Fragment, null, pickerTrigger, !isPickerOpen && /*#__PURE__*/React.createElement("div", {
|
500 |
-
className: "kirki-label-tooltip"
|
501 |
-
}, controlHeader));
|
502 |
-
break;
|
503 |
-
|
504 |
-
case "top":
|
505 |
-
pickerHeader = /*#__PURE__*/React.createElement(React.Fragment, null, controlHeader, pickerTrigger);
|
506 |
-
break;
|
507 |
-
|
508 |
-
default:
|
509 |
-
pickerHeader = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
510 |
-
className: "kirki-control-cols"
|
511 |
-
}, /*#__PURE__*/React.createElement("div", {
|
512 |
-
className: "kirki-control-left-col"
|
513 |
-
}, controlHeader), /*#__PURE__*/React.createElement("div", {
|
514 |
-
className: "kirki-control-right-col"
|
515 |
-
}, pickerTrigger)));
|
516 |
-
break;
|
517 |
-
}
|
518 |
-
|
519 |
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
520 |
-
className: formClassName,
|
521 |
-
ref: formRef,
|
522 |
-
tabIndex: "1"
|
523 |
-
}, pickerHeader, /*#__PURE__*/React.createElement("div", {
|
524 |
-
ref: pickerRef,
|
525 |
-
className: pickerContainerClassName,
|
526 |
-
style: pickerContainerStyle
|
527 |
-
}, !useHueMode && /*#__PURE__*/React.createElement(_js_components_KirkiReactColorfulSwatches__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
528 |
-
colors: choices.swatches,
|
529 |
-
onClick: handleSwatchesClick
|
530 |
-
}), /*#__PURE__*/React.createElement(KirkiPickerComponent, {
|
531 |
-
color: pickerValue,
|
532 |
-
onChange: handlePickerChange
|
533 |
-
}), /*#__PURE__*/React.createElement(_js_components_KirkiReactColorfulInput__WEBPACK_IMPORTED_MODULE_1__["default"], {
|
534 |
-
pickerComponent: pickerComponent,
|
535 |
-
useHueMode: useHueMode,
|
536 |
-
color: inputValue,
|
537 |
-
onChange: handleInputChange
|
538 |
-
}))));
|
539 |
-
};
|
540 |
-
|
541 |
-
/* harmony default export */ __webpack_exports__["default"] = (KirkiReactColorfulForm);
|
542 |
-
|
543 |
-
/***/ }),
|
544 |
-
|
545 |
-
/***/ "./src/js/components/KirkiReactColorfulCircle.js":
|
546 |
-
/*!*******************************************************!*\
|
547 |
-
!*** ./src/js/components/KirkiReactColorfulCircle.js ***!
|
548 |
-
\*******************************************************/
|
549 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
550 |
-
|
551 |
-
"use strict";
|
552 |
-
__webpack_require__.r(__webpack_exports__);
|
553 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
554 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
555 |
-
/* harmony import */ var reactcss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
const KirkiReactColorfulCircle = props => {
|
560 |
-
const {
|
561 |
-
color = ""
|
562 |
-
} = props;
|
563 |
-
const [value, setValue] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(() => color); // Update the local state when `color` property value is changed.
|
564 |
-
|
565 |
-
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
566 |
-
// We don't need to convert the color since it's using the customizer value.
|
567 |
-
setValue(color);
|
568 |
-
}, [color]);
|
569 |
-
const pickersWithAlpha = ["RgbaColorPicker", "RgbaStringColorPicker", "HslaColorPicker", "HslaStringColorPicker", "HsvaColorPicker", "HsvaStringColorPicker"];
|
570 |
-
const styles = (0,reactcss__WEBPACK_IMPORTED_MODULE_1__["default"])({
|
571 |
-
default: {
|
572 |
-
triggerButton: {
|
573 |
-
backgroundImage: 'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==")'
|
574 |
-
},
|
575 |
-
colorPreview: {
|
576 |
-
backgroundColor: value ? value : "transparent"
|
577 |
-
}
|
578 |
-
}
|
579 |
-
});
|
580 |
-
return /*#__PURE__*/React.createElement("div", {
|
581 |
-
className: "kirki-trigger-circle-wrapper"
|
582 |
-
}, /*#__PURE__*/React.createElement("button", {
|
583 |
-
type: "button",
|
584 |
-
className: "kirki-trigger-circle",
|
585 |
-
onClick: props.togglePickerHandler,
|
586 |
-
style: styles.triggerButton
|
587 |
-
}, /*#__PURE__*/React.createElement("div", {
|
588 |
-
className: "kirki-color-preview",
|
589 |
-
style: styles.colorPreview
|
590 |
-
})));
|
591 |
-
};
|
592 |
-
|
593 |
-
/* harmony default export */ __webpack_exports__["default"] = (KirkiReactColorfulCircle);
|
594 |
-
|
595 |
-
/***/ }),
|
596 |
-
|
597 |
-
/***/ "./src/js/components/KirkiReactColorfulInput.js":
|
598 |
-
/*!******************************************************!*\
|
599 |
-
!*** ./src/js/components/KirkiReactColorfulInput.js ***!
|
600 |
-
\******************************************************/
|
601 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
602 |
-
|
603 |
-
"use strict";
|
604 |
-
__webpack_require__.r(__webpack_exports__);
|
605 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
606 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
607 |
-
/* harmony import */ var reactcss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
const KirkiReactColorfulInput = props => {
|
612 |
-
const {
|
613 |
-
onChange,
|
614 |
-
color = ""
|
615 |
-
} = props;
|
616 |
-
const [value, setValue] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(() => color);
|
617 |
-
const handleChange = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(e => {
|
618 |
-
let val = e.target.value;
|
619 |
-
|
620 |
-
if (2 === val.length) {
|
621 |
-
if (!val.includes("#") && !val.includes("rg") && !val.includes("hs")) {
|
622 |
-
val = "#" + val;
|
623 |
-
}
|
624 |
-
} else if (3 === val.length || 6 === val.length) {
|
625 |
-
if (!val.includes("#") && !val.includes("rg") && !val.includes("hs")) {
|
626 |
-
val = "#" + val;
|
627 |
-
}
|
628 |
-
}
|
629 |
-
|
630 |
-
val = val.toLowerCase(); // Thank you: https://regexr.com/39cgj
|
631 |
-
|
632 |
-
const pattern = new RegExp(/(?:#|0x)(?:[a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})\b|(?:rgb|hsl)a?\([^\)]*\)/);
|
633 |
-
|
634 |
-
if (pattern.test(val)) {
|
635 |
-
onChange(val); // Run onChange handler passed by `KirkiReactColorfulForm` component.
|
636 |
-
}
|
637 |
-
|
638 |
-
setValue(val);
|
639 |
-
}, [onChange]); // Update the local state when `color` property value is changed.
|
640 |
-
|
641 |
-
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
642 |
-
// We don't need to convert the color since it's already handled in parent component.
|
643 |
-
setValue(color);
|
644 |
-
}, [color]);
|
645 |
-
const pickersWithAlpha = ["RgbaColorPicker", "RgbaStringColorPicker", "HslaColorPicker", "HslaStringColorPicker", "HsvaColorPicker", "HsvaStringColorPicker"];
|
646 |
-
const styles = (0,reactcss__WEBPACK_IMPORTED_MODULE_1__["default"])({
|
647 |
-
default: {
|
648 |
-
colorPreviewWrapper: {
|
649 |
-
backgroundImage: pickersWithAlpha.includes(props.pickerComponent) ? 'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==")' : "none"
|
650 |
-
},
|
651 |
-
colorPreview: {
|
652 |
-
backgroundColor: value
|
653 |
-
}
|
654 |
-
}
|
655 |
-
});
|
656 |
-
return /*#__PURE__*/React.createElement("div", {
|
657 |
-
className: "kirki-color-input-wrapper"
|
658 |
-
}, /*#__PURE__*/React.createElement("div", {
|
659 |
-
className: "kirki-color-input-control"
|
660 |
-
}, !props.useHueMode && /*#__PURE__*/React.createElement("div", {
|
661 |
-
className: "kirki-color-preview-wrapper",
|
662 |
-
style: styles.colorPreviewWrapper
|
663 |
-
}, /*#__PURE__*/React.createElement("button", {
|
664 |
-
type: "button",
|
665 |
-
className: "kirki-color-preview",
|
666 |
-
style: styles.colorPreview
|
667 |
-
})), /*#__PURE__*/React.createElement("input", {
|
668 |
-
type: "text",
|
669 |
-
value: value,
|
670 |
-
className: "kirki-color-input",
|
671 |
-
spellCheck: "false",
|
672 |
-
onChange: handleChange
|
673 |
-
})));
|
674 |
-
};
|
675 |
-
|
676 |
-
/* harmony default export */ __webpack_exports__["default"] = (KirkiReactColorfulInput);
|
677 |
-
|
678 |
-
/***/ }),
|
679 |
-
|
680 |
-
/***/ "./src/js/components/KirkiReactColorfulSwatches.js":
|
681 |
-
/*!*********************************************************!*\
|
682 |
-
!*** ./src/js/components/KirkiReactColorfulSwatches.js ***!
|
683 |
-
\*********************************************************/
|
684 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
685 |
-
|
686 |
-
"use strict";
|
687 |
-
__webpack_require__.r(__webpack_exports__);
|
688 |
-
const KirkiReactColorfulSwatches = ({
|
689 |
-
colors,
|
690 |
-
onClick
|
691 |
-
}) => {
|
692 |
-
return /*#__PURE__*/React.createElement("div", {
|
693 |
-
className: "kirki-color-swatches"
|
694 |
-
}, colors.map((clr, index) => {
|
695 |
-
const color = clr && clr.color ? clr.color : clr;
|
696 |
-
return /*#__PURE__*/React.createElement("button", {
|
697 |
-
key: index.toString(),
|
698 |
-
type: "button",
|
699 |
-
className: "kirki-color-swatch",
|
700 |
-
"data-kirki-color": color,
|
701 |
-
style: {
|
702 |
-
backgroundColor: color
|
703 |
-
},
|
704 |
-
onClick: () => onClick(color)
|
705 |
-
});
|
706 |
-
}));
|
707 |
-
};
|
708 |
-
|
709 |
-
/* harmony default export */ __webpack_exports__["default"] = (KirkiReactColorfulSwatches);
|
710 |
-
|
711 |
-
/***/ }),
|
712 |
-
|
713 |
-
/***/ "./src/js/hooks/useClickOutside.js":
|
714 |
-
/*!*****************************************!*\
|
715 |
-
!*** ./src/js/hooks/useClickOutside.js ***!
|
716 |
-
\*****************************************/
|
717 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
718 |
-
|
719 |
-
"use strict";
|
720 |
-
__webpack_require__.r(__webpack_exports__);
|
721 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
722 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
723 |
-
|
724 |
-
/**
|
725 |
-
* Code was taken and then modified from https://codesandbox.io/s/opmco?file=/src/useClickOutside.js:0-1192
|
726 |
-
* It was improved version of https://usehooks.com/useOnClickOutside/
|
727 |
-
*/
|
728 |
-
|
729 |
-
const useClickOutside = (pickerRef, resetRef, handler) => {
|
730 |
-
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
731 |
-
let startedWhenMounted = false;
|
732 |
-
let startedInside = false;
|
733 |
-
|
734 |
-
const listener = event => {
|
735 |
-
// Do nothing if `mousedown` or `touchstart` started either inside resetRef or pickerRef element
|
736 |
-
if (!startedWhenMounted || startedInside) return; // Do nothing if clicking resetRef's element or descendent elements
|
737 |
-
|
738 |
-
if (!resetRef.current || resetRef.current.contains(event.target)) return; // Do nothing if clicking pickerRef's element or descendent elements
|
739 |
-
|
740 |
-
if (!pickerRef.current || pickerRef.current.contains(event.target)) return;
|
741 |
-
handler();
|
742 |
-
};
|
743 |
-
|
744 |
-
const validateEventStart = event => {
|
745 |
-
startedWhenMounted = resetRef.current && pickerRef.current;
|
746 |
-
startedInside = resetRef.current && resetRef.current.contains(event.target) || pickerRef.current && pickerRef.current.contains(event.target);
|
747 |
-
};
|
748 |
-
|
749 |
-
document.addEventListener("mousedown", validateEventStart);
|
750 |
-
document.addEventListener("touchstart", validateEventStart);
|
751 |
-
document.addEventListener("click", listener);
|
752 |
-
return () => {
|
753 |
-
document.removeEventListener("mousedown", validateEventStart);
|
754 |
-
document.removeEventListener("touchstart", validateEventStart);
|
755 |
-
document.removeEventListener("click", listener);
|
756 |
-
};
|
757 |
-
}, [resetRef, pickerRef, handler]);
|
758 |
-
};
|
759 |
-
|
760 |
-
/* harmony default export */ __webpack_exports__["default"] = (useClickOutside);
|
761 |
-
|
762 |
-
/***/ }),
|
763 |
-
|
764 |
-
/***/ "./src/js/hooks/useFocusOutside.js":
|
765 |
-
/*!*****************************************!*\
|
766 |
-
!*** ./src/js/hooks/useFocusOutside.js ***!
|
767 |
-
\*****************************************/
|
768 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
769 |
-
|
770 |
-
"use strict";
|
771 |
-
__webpack_require__.r(__webpack_exports__);
|
772 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
773 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
774 |
-
|
775 |
-
|
776 |
-
const useFocusOutside = (ref, handler) => {
|
777 |
-
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
778 |
-
const listener = e => {
|
779 |
-
// Do nothing if the component hasn't been mounted.
|
780 |
-
if (!ref.current) return; // Do nothing if the focused element is inside the ref or the ref it self.
|
781 |
-
|
782 |
-
if (ref.current.contains(e.target)) return;
|
783 |
-
handler();
|
784 |
-
};
|
785 |
-
|
786 |
-
document.addEventListener("focus", listener, true);
|
787 |
-
return () => {
|
788 |
-
document.removeEventListener("focus", listener, true);
|
789 |
-
};
|
790 |
-
}, [ref, handler]);
|
791 |
-
};
|
792 |
-
|
793 |
-
/* harmony default export */ __webpack_exports__["default"] = (useFocusOutside);
|
794 |
-
|
795 |
-
/***/ }),
|
796 |
-
|
797 |
-
/***/ "./src/js/hooks/useWindowResize.js":
|
798 |
-
/*!*****************************************!*\
|
799 |
-
!*** ./src/js/hooks/useWindowResize.js ***!
|
800 |
-
\*****************************************/
|
801 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
802 |
-
|
803 |
-
"use strict";
|
804 |
-
__webpack_require__.r(__webpack_exports__);
|
805 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
806 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
807 |
-
|
808 |
-
|
809 |
-
const useWindowResize = handler => {
|
810 |
-
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
811 |
-
const listener = e => {
|
812 |
-
handler();
|
813 |
-
};
|
814 |
-
|
815 |
-
window.addEventListener("resize", listener, true);
|
816 |
-
return () => {
|
817 |
-
window.removeEventListener("resize", listener, true);
|
818 |
-
};
|
819 |
-
}, [handler]);
|
820 |
-
};
|
821 |
-
|
822 |
-
/* harmony default export */ __webpack_exports__["default"] = (useWindowResize);
|
823 |
-
|
824 |
-
/***/ }),
|
825 |
-
|
826 |
-
/***/ "./src/js/utils/convertColorForCustomizer.js":
|
827 |
-
/*!***************************************************!*\
|
828 |
-
!*** ./src/js/utils/convertColorForCustomizer.js ***!
|
829 |
-
\***************************************************/
|
830 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
831 |
-
|
832 |
-
"use strict";
|
833 |
-
__webpack_require__.r(__webpack_exports__);
|
834 |
-
/* harmony import */ var colord__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! colord */ "./node_modules/colord/index.mjs");
|
835 |
-
|
836 |
-
/**
|
837 |
-
* Convert the value for the customizer.
|
838 |
-
*
|
839 |
-
* @param {string|Object} value The value to be converted.
|
840 |
-
* @param {string} pickerComponent The picker component name.
|
841 |
-
*
|
842 |
-
* @returns {string} The converted value.
|
843 |
-
*/
|
844 |
-
|
845 |
-
const convertColorForCustomizer = (value, pickerComponent, formComponent) => {
|
846 |
-
let rgba;
|
847 |
-
let hsv;
|
848 |
-
let hsva;
|
849 |
-
let convertedValue;
|
850 |
-
|
851 |
-
switch (pickerComponent) {
|
852 |
-
/**
|
853 |
-
* The HexColorPicker is used by these condition:
|
854 |
-
* 1. When formComponent is defined with HexColorPicker as the value.
|
855 |
-
* 2. When formComponent is not defined but the "alpha" choice is not set or set to false (the old way).
|
856 |
-
*/
|
857 |
-
case 'HexColorPicker':
|
858 |
-
convertedValue = 'string' === typeof value && value.includes('#') ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
859 |
-
break;
|
860 |
-
|
861 |
-
case 'RgbColorPicker':
|
862 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb();
|
863 |
-
delete convertedValue.a;
|
864 |
-
break;
|
865 |
-
|
866 |
-
case 'RgbStringColorPicker':
|
867 |
-
convertedValue = "string" === typeof value && value.includes("rgb(") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString();
|
868 |
-
break;
|
869 |
-
|
870 |
-
case 'RgbaColorPicker':
|
871 |
-
rgba = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb();
|
872 |
-
convertedValue = rgba;
|
873 |
-
break;
|
874 |
-
|
875 |
-
/**
|
876 |
-
* The RgbaStringColorPicker is used by these condition:
|
877 |
-
* 1. When formComponent is defined with RgbaColorPicker as the value.
|
878 |
-
* 2. When formComponent is not defined but the "alpha" choice is set to true.
|
879 |
-
*/
|
880 |
-
|
881 |
-
case 'RgbaStringColorPicker':
|
882 |
-
rgba = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb();
|
883 |
-
|
884 |
-
if (rgba.a < 1) {
|
885 |
-
convertedValue = "string" === typeof value && value.includes("rgba") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString();
|
886 |
-
} else {
|
887 |
-
// When it uses the 2nd condition above, then the expected value is "hex".
|
888 |
-
if (!formComponent) {
|
889 |
-
convertedValue = "string" === typeof value && value.includes("#") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
890 |
-
} else {
|
891 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString(); // Force to set the alpha channel value.
|
892 |
-
|
893 |
-
if (convertedValue.includes('rgb') && !convertedValue.includes('rgba')) {
|
894 |
-
convertedValue = convertedValue.replace('rgb', 'rgba');
|
895 |
-
convertedValue = convertedValue.replace(')', ', 1)');
|
896 |
-
}
|
897 |
-
}
|
898 |
-
}
|
899 |
-
|
900 |
-
break;
|
901 |
-
|
902 |
-
case 'HslColorPicker':
|
903 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsl();
|
904 |
-
delete convertedValue.a;
|
905 |
-
break;
|
906 |
-
|
907 |
-
case 'HslStringColorPicker':
|
908 |
-
convertedValue = "string" === typeof value && value.includes("hsl(") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString();
|
909 |
-
break;
|
910 |
-
|
911 |
-
case 'HslaColorPicker':
|
912 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsl();
|
913 |
-
break;
|
914 |
-
|
915 |
-
case 'HslaStringColorPicker':
|
916 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString(); // Force to set the alpha channel value.
|
917 |
-
|
918 |
-
if (convertedValue.includes('hsl') && !convertedValue.includes('hsla')) {
|
919 |
-
convertedValue = convertedValue.replace('hsl', 'hsla');
|
920 |
-
convertedValue = convertedValue.replace(')', ', 1)');
|
921 |
-
}
|
922 |
-
|
923 |
-
break;
|
924 |
-
|
925 |
-
case 'HsvColorPicker':
|
926 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
927 |
-
delete convertedValue.a;
|
928 |
-
break;
|
929 |
-
|
930 |
-
/**
|
931 |
-
* The colord library doesn't provide .toHsvString() method yet.
|
932 |
-
* This manual value-building will apply to "HsvStringColorPicker" and "HsvaStringColorPicker" stuff below.
|
933 |
-
*/
|
934 |
-
|
935 |
-
case 'HsvStringColorPicker':
|
936 |
-
hsv = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
937 |
-
convertedValue = 'hsv(' + hsv.h + ', ' + hsv.s + '%, ' + hsv.v + '%)';
|
938 |
-
break;
|
939 |
-
|
940 |
-
case 'HsvaColorPicker':
|
941 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
942 |
-
break;
|
943 |
-
|
944 |
-
case 'HsvaStringColorPicker':
|
945 |
-
hsva = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
946 |
-
convertedValue = 'hsva(' + hsva.h + ', ' + hsva.s + '%, ' + hsva.v + '%, ' + hsva.a + ')';
|
947 |
-
break;
|
948 |
-
|
949 |
-
default:
|
950 |
-
convertedValue = "string" === typeof value && value.includes("#") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
951 |
-
break;
|
952 |
-
}
|
953 |
-
|
954 |
-
return convertedValue;
|
955 |
-
};
|
956 |
-
|
957 |
-
/* harmony default export */ __webpack_exports__["default"] = (convertColorForCustomizer);
|
958 |
-
|
959 |
-
/***/ }),
|
960 |
-
|
961 |
-
/***/ "./src/js/utils/convertColorForInput.js":
|
962 |
-
/*!**********************************************!*\
|
963 |
-
!*** ./src/js/utils/convertColorForInput.js ***!
|
964 |
-
\**********************************************/
|
965 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
966 |
-
|
967 |
-
"use strict";
|
968 |
-
__webpack_require__.r(__webpack_exports__);
|
969 |
-
/* harmony import */ var colord__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! colord */ "./node_modules/colord/index.mjs");
|
970 |
-
|
971 |
-
/**
|
972 |
-
* Convert the value for the color input.
|
973 |
-
*
|
974 |
-
* @param {string|Object} value The value to be converted.
|
975 |
-
* @param {string} pickerComponent The picker component name.
|
976 |
-
*
|
977 |
-
* @returns {string} The converted value.
|
978 |
-
*/
|
979 |
-
|
980 |
-
const convertColorForInput = (value, pickerComponent, formComponent) => {
|
981 |
-
let rgba;
|
982 |
-
let hsv;
|
983 |
-
let hsva;
|
984 |
-
let convertedValue;
|
985 |
-
|
986 |
-
switch (pickerComponent) {
|
987 |
-
/**
|
988 |
-
* The HexColorPicker is used by these condition:
|
989 |
-
* 1. When formComponent is defined with HexColorPicker as the value.
|
990 |
-
* 2. When formComponent is not defined but the "alpha" choice is not set or set to false (the old way).
|
991 |
-
*/
|
992 |
-
case "HexColorPicker":
|
993 |
-
convertedValue = "string" === typeof value && value.includes("#") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
994 |
-
break;
|
995 |
-
|
996 |
-
case "RgbColorPicker":
|
997 |
-
convertedValue = "string" === typeof value && value.includes("rgb(") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString();
|
998 |
-
break;
|
999 |
-
|
1000 |
-
case "RgbStringColorPicker":
|
1001 |
-
convertedValue = "string" === typeof value && value.includes("rgba") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString();
|
1002 |
-
break;
|
1003 |
-
|
1004 |
-
case "RgbaColorPicker":
|
1005 |
-
rgba = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb();
|
1006 |
-
|
1007 |
-
if (rgba.a < 1) {
|
1008 |
-
convertedValue = "string" === typeof value && value.includes("rgba") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString();
|
1009 |
-
} else {
|
1010 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString(); // Force to set the alpha value.
|
1011 |
-
|
1012 |
-
if (convertedValue.includes("rgb") && !convertedValue.includes("rgba")) {
|
1013 |
-
convertedValue = convertedValue.replace("rgb", "rgba");
|
1014 |
-
convertedValue = convertedValue.replace(")", ", 1)");
|
1015 |
-
}
|
1016 |
-
}
|
1017 |
-
|
1018 |
-
break;
|
1019 |
-
|
1020 |
-
/**
|
1021 |
-
* The RgbaStringColorPicker is used by these condition:
|
1022 |
-
* 1. When formComponent is defined with RgbaColorPicker as the value.
|
1023 |
-
* 2. When formComponent is not defined but the "alpha" choice is set to true.
|
1024 |
-
*/
|
1025 |
-
|
1026 |
-
case "RgbaStringColorPicker":
|
1027 |
-
rgba = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb(); // When it uses the 2nd condition above, then the expected value is "hex".
|
1028 |
-
|
1029 |
-
if (rgba.a == 1 && !formComponent) {
|
1030 |
-
convertedValue = "string" === typeof value && value.includes("#") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
1031 |
-
} else {
|
1032 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString(); // Force to set the alpha value.
|
1033 |
-
|
1034 |
-
if (convertedValue.includes("rgb") && !convertedValue.includes("rgba")) {
|
1035 |
-
convertedValue = convertedValue.replace("rgb", "rgba");
|
1036 |
-
convertedValue = convertedValue.replace(")", ", 1)");
|
1037 |
-
}
|
1038 |
-
}
|
1039 |
-
|
1040 |
-
break;
|
1041 |
-
|
1042 |
-
case "HslColorPicker":
|
1043 |
-
convertedValue = "string" === typeof value && value.includes("hsl(") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString();
|
1044 |
-
break;
|
1045 |
-
|
1046 |
-
case "HslStringColorPicker":
|
1047 |
-
convertedValue = "string" === typeof value && value.includes("hsl(") ? value : (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString();
|
1048 |
-
break;
|
1049 |
-
|
1050 |
-
case "HslaColorPicker":
|
1051 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString(); // Force to set the alpha value.
|
1052 |
-
|
1053 |
-
if (convertedValue.includes("hsl") && !convertedValue.includes("hsla")) {
|
1054 |
-
convertedValue = convertedValue.replace("hsl", "hsla");
|
1055 |
-
convertedValue = convertedValue.replace(")", ", 1)");
|
1056 |
-
}
|
1057 |
-
|
1058 |
-
break;
|
1059 |
-
|
1060 |
-
case "HslaStringColorPicker":
|
1061 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString(); // Force to set the alpha value.
|
1062 |
-
|
1063 |
-
if (convertedValue.includes("hsl") && !convertedValue.includes("hsla")) {
|
1064 |
-
convertedValue = convertedValue.replace("hsl", "hsla");
|
1065 |
-
convertedValue = convertedValue.replace(")", ", 1)");
|
1066 |
-
}
|
1067 |
-
|
1068 |
-
break;
|
1069 |
-
|
1070 |
-
/**
|
1071 |
-
* The colord library doesn't provide .toHsvString() method yet.
|
1072 |
-
* This manual value-building will apply to "hsv" and "hsva" stuff below.
|
1073 |
-
*/
|
1074 |
-
|
1075 |
-
case "HsvColorPicker":
|
1076 |
-
hsv = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1077 |
-
convertedValue = "hsv(" + hsv.h + ", " + hsv.s + "%, " + hsv.v + "%)";
|
1078 |
-
break;
|
1079 |
-
|
1080 |
-
case "HsvStringColorPicker":
|
1081 |
-
hsv = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1082 |
-
convertedValue = "hsv(" + hsv.h + ", " + hsv.s + "%, " + hsv.v + "%)";
|
1083 |
-
break;
|
1084 |
-
|
1085 |
-
case "HsvaColorPicker":
|
1086 |
-
hsva = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1087 |
-
convertedValue = "hsva(" + hsva.h + ", " + hsva.s + "%, " + hsva.v + "%, " + hsva.a + ")";
|
1088 |
-
break;
|
1089 |
-
|
1090 |
-
case "HsvaStringColorPicker":
|
1091 |
-
hsva = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1092 |
-
convertedValue = "hsva(" + hsva.h + ", " + hsva.s + "%, " + hsva.v + "%, " + hsva.a + ")";
|
1093 |
-
break;
|
1094 |
-
|
1095 |
-
default:
|
1096 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
1097 |
-
break;
|
1098 |
-
}
|
1099 |
-
|
1100 |
-
return convertedValue;
|
1101 |
-
};
|
1102 |
-
|
1103 |
-
/* harmony default export */ __webpack_exports__["default"] = (convertColorForInput);
|
1104 |
-
|
1105 |
-
/***/ }),
|
1106 |
-
|
1107 |
-
/***/ "./src/js/utils/convertColorForPicker.js":
|
1108 |
-
/*!***********************************************!*\
|
1109 |
-
!*** ./src/js/utils/convertColorForPicker.js ***!
|
1110 |
-
\***********************************************/
|
1111 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1112 |
-
|
1113 |
-
"use strict";
|
1114 |
-
__webpack_require__.r(__webpack_exports__);
|
1115 |
-
/* harmony import */ var colord__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! colord */ "./node_modules/colord/index.mjs");
|
1116 |
-
|
1117 |
-
/**
|
1118 |
-
* Convert the value for the color picker.
|
1119 |
-
*
|
1120 |
-
* @param {string|Object} value The value to be converted.
|
1121 |
-
* @param {string} pickerComponent The picker component name.
|
1122 |
-
*
|
1123 |
-
* @returns {string|Object} The converted value.
|
1124 |
-
*/
|
1125 |
-
|
1126 |
-
const convertColorForPicker = (value, pickerComponent) => {
|
1127 |
-
let convertedValue;
|
1128 |
-
|
1129 |
-
switch (pickerComponent) {
|
1130 |
-
case 'HexColorPicker':
|
1131 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
1132 |
-
break;
|
1133 |
-
|
1134 |
-
case 'RgbColorPicker':
|
1135 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb();
|
1136 |
-
delete convertedValue.a;
|
1137 |
-
break;
|
1138 |
-
|
1139 |
-
case 'RgbStringColorPicker':
|
1140 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString();
|
1141 |
-
break;
|
1142 |
-
|
1143 |
-
case 'RgbaColorPicker':
|
1144 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgb();
|
1145 |
-
break;
|
1146 |
-
|
1147 |
-
case 'RgbaStringColorPicker':
|
1148 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toRgbString(); // Force to set the alpha channel value.
|
1149 |
-
|
1150 |
-
if (convertedValue.includes('rgb') && !convertedValue.includes('rgba')) {
|
1151 |
-
convertedValue = convertedValue.replace('rgb', 'rgba');
|
1152 |
-
convertedValue = convertedValue.replace(')', ', 1)');
|
1153 |
-
}
|
1154 |
-
|
1155 |
-
break;
|
1156 |
-
|
1157 |
-
case 'HslColorPicker':
|
1158 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsl();
|
1159 |
-
delete convertedValue.a;
|
1160 |
-
break;
|
1161 |
-
|
1162 |
-
case 'HslStringColorPicker':
|
1163 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString();
|
1164 |
-
break;
|
1165 |
-
|
1166 |
-
case 'HslaColorPicker':
|
1167 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsl();
|
1168 |
-
break;
|
1169 |
-
|
1170 |
-
case 'HslaStringColorPicker':
|
1171 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHslString(); // Force to set the alpha channel value.
|
1172 |
-
|
1173 |
-
if (convertedValue.includes('hsl') && !convertedValue.includes('hsla')) {
|
1174 |
-
convertedValue = convertedValue.replace('hsl', 'hsla');
|
1175 |
-
convertedValue = convertedValue.replace(')', ', 1)');
|
1176 |
-
}
|
1177 |
-
|
1178 |
-
break;
|
1179 |
-
|
1180 |
-
case 'HsvColorPicker':
|
1181 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1182 |
-
delete convertedValue.a;
|
1183 |
-
break;
|
1184 |
-
|
1185 |
-
case 'HsvStringColorPicker':
|
1186 |
-
const hsv = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1187 |
-
convertedValue = 'hsv(' + hsv.h + ', ' + hsv.s + '%, ' + hsv.v + '%)';
|
1188 |
-
break;
|
1189 |
-
|
1190 |
-
case 'HsvaColorPicker':
|
1191 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1192 |
-
break;
|
1193 |
-
|
1194 |
-
case 'HsvaStringColorPicker':
|
1195 |
-
// colord library doesn't provide .toHsvString() method yet.
|
1196 |
-
const hsva = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHsv();
|
1197 |
-
convertedValue = 'hsva(' + hsva.h + ', ' + hsva.s + '%, ' + hsva.v + '%, ' + hsva.a + ')';
|
1198 |
-
break;
|
1199 |
-
|
1200 |
-
default:
|
1201 |
-
convertedValue = (0,colord__WEBPACK_IMPORTED_MODULE_0__.colord)(value).toHex();
|
1202 |
-
break;
|
1203 |
-
}
|
1204 |
-
|
1205 |
-
return convertedValue;
|
1206 |
-
};
|
1207 |
-
|
1208 |
-
/* harmony default export */ __webpack_exports__["default"] = (convertColorForPicker);
|
1209 |
-
|
1210 |
-
/***/ }),
|
1211 |
-
|
1212 |
-
/***/ "./node_modules/lodash/_DataView.js":
|
1213 |
-
/*!******************************************!*\
|
1214 |
-
!*** ./node_modules/lodash/_DataView.js ***!
|
1215 |
-
\******************************************/
|
1216 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1217 |
-
|
1218 |
-
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
|
1219 |
-
root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1220 |
-
|
1221 |
-
/* Built-in method references that are verified to be native. */
|
1222 |
-
var DataView = getNative(root, 'DataView');
|
1223 |
-
|
1224 |
-
module.exports = DataView;
|
1225 |
-
|
1226 |
-
|
1227 |
-
/***/ }),
|
1228 |
-
|
1229 |
-
/***/ "./node_modules/lodash/_Hash.js":
|
1230 |
-
/*!**************************************!*\
|
1231 |
-
!*** ./node_modules/lodash/_Hash.js ***!
|
1232 |
-
\**************************************/
|
1233 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1234 |
-
|
1235 |
-
var hashClear = __webpack_require__(/*! ./_hashClear */ "./node_modules/lodash/_hashClear.js"),
|
1236 |
-
hashDelete = __webpack_require__(/*! ./_hashDelete */ "./node_modules/lodash/_hashDelete.js"),
|
1237 |
-
hashGet = __webpack_require__(/*! ./_hashGet */ "./node_modules/lodash/_hashGet.js"),
|
1238 |
-
hashHas = __webpack_require__(/*! ./_hashHas */ "./node_modules/lodash/_hashHas.js"),
|
1239 |
-
hashSet = __webpack_require__(/*! ./_hashSet */ "./node_modules/lodash/_hashSet.js");
|
1240 |
-
|
1241 |
-
/**
|
1242 |
-
* Creates a hash object.
|
1243 |
-
*
|
1244 |
-
* @private
|
1245 |
-
* @constructor
|
1246 |
-
* @param {Array} [entries] The key-value pairs to cache.
|
1247 |
-
*/
|
1248 |
-
function Hash(entries) {
|
1249 |
-
var index = -1,
|
1250 |
-
length = entries == null ? 0 : entries.length;
|
1251 |
-
|
1252 |
-
this.clear();
|
1253 |
-
while (++index < length) {
|
1254 |
-
var entry = entries[index];
|
1255 |
-
this.set(entry[0], entry[1]);
|
1256 |
-
}
|
1257 |
-
}
|
1258 |
-
|
1259 |
-
// Add methods to `Hash`.
|
1260 |
-
Hash.prototype.clear = hashClear;
|
1261 |
-
Hash.prototype['delete'] = hashDelete;
|
1262 |
-
Hash.prototype.get = hashGet;
|
1263 |
-
Hash.prototype.has = hashHas;
|
1264 |
-
Hash.prototype.set = hashSet;
|
1265 |
-
|
1266 |
-
module.exports = Hash;
|
1267 |
-
|
1268 |
-
|
1269 |
-
/***/ }),
|
1270 |
-
|
1271 |
-
/***/ "./node_modules/lodash/_ListCache.js":
|
1272 |
-
/*!*******************************************!*\
|
1273 |
-
!*** ./node_modules/lodash/_ListCache.js ***!
|
1274 |
-
\*******************************************/
|
1275 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1276 |
-
|
1277 |
-
var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ "./node_modules/lodash/_listCacheClear.js"),
|
1278 |
-
listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ "./node_modules/lodash/_listCacheDelete.js"),
|
1279 |
-
listCacheGet = __webpack_require__(/*! ./_listCacheGet */ "./node_modules/lodash/_listCacheGet.js"),
|
1280 |
-
listCacheHas = __webpack_require__(/*! ./_listCacheHas */ "./node_modules/lodash/_listCacheHas.js"),
|
1281 |
-
listCacheSet = __webpack_require__(/*! ./_listCacheSet */ "./node_modules/lodash/_listCacheSet.js");
|
1282 |
-
|
1283 |
-
/**
|
1284 |
-
* Creates an list cache object.
|
1285 |
-
*
|
1286 |
-
* @private
|
1287 |
-
* @constructor
|
1288 |
-
* @param {Array} [entries] The key-value pairs to cache.
|
1289 |
-
*/
|
1290 |
-
function ListCache(entries) {
|
1291 |
-
var index = -1,
|
1292 |
-
length = entries == null ? 0 : entries.length;
|
1293 |
-
|
1294 |
-
this.clear();
|
1295 |
-
while (++index < length) {
|
1296 |
-
var entry = entries[index];
|
1297 |
-
this.set(entry[0], entry[1]);
|
1298 |
-
}
|
1299 |
-
}
|
1300 |
-
|
1301 |
-
// Add methods to `ListCache`.
|
1302 |
-
ListCache.prototype.clear = listCacheClear;
|
1303 |
-
ListCache.prototype['delete'] = listCacheDelete;
|
1304 |
-
ListCache.prototype.get = listCacheGet;
|
1305 |
-
ListCache.prototype.has = listCacheHas;
|
1306 |
-
ListCache.prototype.set = listCacheSet;
|
1307 |
-
|
1308 |
-
module.exports = ListCache;
|
1309 |
-
|
1310 |
-
|
1311 |
-
/***/ }),
|
1312 |
-
|
1313 |
-
/***/ "./node_modules/lodash/_Map.js":
|
1314 |
-
/*!*************************************!*\
|
1315 |
-
!*** ./node_modules/lodash/_Map.js ***!
|
1316 |
-
\*************************************/
|
1317 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1318 |
-
|
1319 |
-
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
|
1320 |
-
root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1321 |
-
|
1322 |
-
/* Built-in method references that are verified to be native. */
|
1323 |
-
var Map = getNative(root, 'Map');
|
1324 |
-
|
1325 |
-
module.exports = Map;
|
1326 |
-
|
1327 |
-
|
1328 |
-
/***/ }),
|
1329 |
-
|
1330 |
-
/***/ "./node_modules/lodash/_MapCache.js":
|
1331 |
-
/*!******************************************!*\
|
1332 |
-
!*** ./node_modules/lodash/_MapCache.js ***!
|
1333 |
-
\******************************************/
|
1334 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1335 |
-
|
1336 |
-
var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ "./node_modules/lodash/_mapCacheClear.js"),
|
1337 |
-
mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ "./node_modules/lodash/_mapCacheDelete.js"),
|
1338 |
-
mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ "./node_modules/lodash/_mapCacheGet.js"),
|
1339 |
-
mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ "./node_modules/lodash/_mapCacheHas.js"),
|
1340 |
-
mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ "./node_modules/lodash/_mapCacheSet.js");
|
1341 |
-
|
1342 |
-
/**
|
1343 |
-
* Creates a map cache object to store key-value pairs.
|
1344 |
-
*
|
1345 |
-
* @private
|
1346 |
-
* @constructor
|
1347 |
-
* @param {Array} [entries] The key-value pairs to cache.
|
1348 |
-
*/
|
1349 |
-
function MapCache(entries) {
|
1350 |
-
var index = -1,
|
1351 |
-
length = entries == null ? 0 : entries.length;
|
1352 |
-
|
1353 |
-
this.clear();
|
1354 |
-
while (++index < length) {
|
1355 |
-
var entry = entries[index];
|
1356 |
-
this.set(entry[0], entry[1]);
|
1357 |
-
}
|
1358 |
-
}
|
1359 |
-
|
1360 |
-
// Add methods to `MapCache`.
|
1361 |
-
MapCache.prototype.clear = mapCacheClear;
|
1362 |
-
MapCache.prototype['delete'] = mapCacheDelete;
|
1363 |
-
MapCache.prototype.get = mapCacheGet;
|
1364 |
-
MapCache.prototype.has = mapCacheHas;
|
1365 |
-
MapCache.prototype.set = mapCacheSet;
|
1366 |
-
|
1367 |
-
module.exports = MapCache;
|
1368 |
-
|
1369 |
-
|
1370 |
-
/***/ }),
|
1371 |
-
|
1372 |
-
/***/ "./node_modules/lodash/_Promise.js":
|
1373 |
-
/*!*****************************************!*\
|
1374 |
-
!*** ./node_modules/lodash/_Promise.js ***!
|
1375 |
-
\*****************************************/
|
1376 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1377 |
-
|
1378 |
-
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
|
1379 |
-
root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1380 |
-
|
1381 |
-
/* Built-in method references that are verified to be native. */
|
1382 |
-
var Promise = getNative(root, 'Promise');
|
1383 |
-
|
1384 |
-
module.exports = Promise;
|
1385 |
-
|
1386 |
-
|
1387 |
-
/***/ }),
|
1388 |
-
|
1389 |
-
/***/ "./node_modules/lodash/_Set.js":
|
1390 |
-
/*!*************************************!*\
|
1391 |
-
!*** ./node_modules/lodash/_Set.js ***!
|
1392 |
-
\*************************************/
|
1393 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1394 |
-
|
1395 |
-
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
|
1396 |
-
root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1397 |
-
|
1398 |
-
/* Built-in method references that are verified to be native. */
|
1399 |
-
var Set = getNative(root, 'Set');
|
1400 |
-
|
1401 |
-
module.exports = Set;
|
1402 |
-
|
1403 |
-
|
1404 |
-
/***/ }),
|
1405 |
-
|
1406 |
-
/***/ "./node_modules/lodash/_SetCache.js":
|
1407 |
-
/*!******************************************!*\
|
1408 |
-
!*** ./node_modules/lodash/_SetCache.js ***!
|
1409 |
-
\******************************************/
|
1410 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1411 |
-
|
1412 |
-
var MapCache = __webpack_require__(/*! ./_MapCache */ "./node_modules/lodash/_MapCache.js"),
|
1413 |
-
setCacheAdd = __webpack_require__(/*! ./_setCacheAdd */ "./node_modules/lodash/_setCacheAdd.js"),
|
1414 |
-
setCacheHas = __webpack_require__(/*! ./_setCacheHas */ "./node_modules/lodash/_setCacheHas.js");
|
1415 |
-
|
1416 |
-
/**
|
1417 |
-
*
|
1418 |
-
* Creates an array cache object to store unique values.
|
1419 |
-
*
|
1420 |
-
* @private
|
1421 |
-
* @constructor
|
1422 |
-
* @param {Array} [values] The values to cache.
|
1423 |
-
*/
|
1424 |
-
function SetCache(values) {
|
1425 |
-
var index = -1,
|
1426 |
-
length = values == null ? 0 : values.length;
|
1427 |
-
|
1428 |
-
this.__data__ = new MapCache;
|
1429 |
-
while (++index < length) {
|
1430 |
-
this.add(values[index]);
|
1431 |
-
}
|
1432 |
-
}
|
1433 |
-
|
1434 |
-
// Add methods to `SetCache`.
|
1435 |
-
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
1436 |
-
SetCache.prototype.has = setCacheHas;
|
1437 |
-
|
1438 |
-
module.exports = SetCache;
|
1439 |
-
|
1440 |
-
|
1441 |
-
/***/ }),
|
1442 |
-
|
1443 |
-
/***/ "./node_modules/lodash/_Stack.js":
|
1444 |
-
/*!***************************************!*\
|
1445 |
-
!*** ./node_modules/lodash/_Stack.js ***!
|
1446 |
-
\***************************************/
|
1447 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1448 |
-
|
1449 |
-
var ListCache = __webpack_require__(/*! ./_ListCache */ "./node_modules/lodash/_ListCache.js"),
|
1450 |
-
stackClear = __webpack_require__(/*! ./_stackClear */ "./node_modules/lodash/_stackClear.js"),
|
1451 |
-
stackDelete = __webpack_require__(/*! ./_stackDelete */ "./node_modules/lodash/_stackDelete.js"),
|
1452 |
-
stackGet = __webpack_require__(/*! ./_stackGet */ "./node_modules/lodash/_stackGet.js"),
|
1453 |
-
stackHas = __webpack_require__(/*! ./_stackHas */ "./node_modules/lodash/_stackHas.js"),
|
1454 |
-
stackSet = __webpack_require__(/*! ./_stackSet */ "./node_modules/lodash/_stackSet.js");
|
1455 |
-
|
1456 |
-
/**
|
1457 |
-
* Creates a stack cache object to store key-value pairs.
|
1458 |
-
*
|
1459 |
-
* @private
|
1460 |
-
* @constructor
|
1461 |
-
* @param {Array} [entries] The key-value pairs to cache.
|
1462 |
-
*/
|
1463 |
-
function Stack(entries) {
|
1464 |
-
var data = this.__data__ = new ListCache(entries);
|
1465 |
-
this.size = data.size;
|
1466 |
-
}
|
1467 |
-
|
1468 |
-
// Add methods to `Stack`.
|
1469 |
-
Stack.prototype.clear = stackClear;
|
1470 |
-
Stack.prototype['delete'] = stackDelete;
|
1471 |
-
Stack.prototype.get = stackGet;
|
1472 |
-
Stack.prototype.has = stackHas;
|
1473 |
-
Stack.prototype.set = stackSet;
|
1474 |
-
|
1475 |
-
module.exports = Stack;
|
1476 |
-
|
1477 |
-
|
1478 |
-
/***/ }),
|
1479 |
-
|
1480 |
-
/***/ "./node_modules/lodash/_Symbol.js":
|
1481 |
-
/*!****************************************!*\
|
1482 |
-
!*** ./node_modules/lodash/_Symbol.js ***!
|
1483 |
-
\****************************************/
|
1484 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1485 |
-
|
1486 |
-
var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1487 |
-
|
1488 |
-
/** Built-in value references. */
|
1489 |
-
var Symbol = root.Symbol;
|
1490 |
-
|
1491 |
-
module.exports = Symbol;
|
1492 |
-
|
1493 |
-
|
1494 |
-
/***/ }),
|
1495 |
-
|
1496 |
-
/***/ "./node_modules/lodash/_Uint8Array.js":
|
1497 |
-
/*!********************************************!*\
|
1498 |
-
!*** ./node_modules/lodash/_Uint8Array.js ***!
|
1499 |
-
\********************************************/
|
1500 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1501 |
-
|
1502 |
-
var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1503 |
-
|
1504 |
-
/** Built-in value references. */
|
1505 |
-
var Uint8Array = root.Uint8Array;
|
1506 |
-
|
1507 |
-
module.exports = Uint8Array;
|
1508 |
-
|
1509 |
-
|
1510 |
-
/***/ }),
|
1511 |
-
|
1512 |
-
/***/ "./node_modules/lodash/_WeakMap.js":
|
1513 |
-
/*!*****************************************!*\
|
1514 |
-
!*** ./node_modules/lodash/_WeakMap.js ***!
|
1515 |
-
\*****************************************/
|
1516 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1517 |
-
|
1518 |
-
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
|
1519 |
-
root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
1520 |
-
|
1521 |
-
/* Built-in method references that are verified to be native. */
|
1522 |
-
var WeakMap = getNative(root, 'WeakMap');
|
1523 |
-
|
1524 |
-
module.exports = WeakMap;
|
1525 |
-
|
1526 |
-
|
1527 |
-
/***/ }),
|
1528 |
-
|
1529 |
-
/***/ "./node_modules/lodash/_arrayEach.js":
|
1530 |
-
/*!*******************************************!*\
|
1531 |
-
!*** ./node_modules/lodash/_arrayEach.js ***!
|
1532 |
-
\*******************************************/
|
1533 |
-
/***/ (function(module) {
|
1534 |
-
|
1535 |
-
/**
|
1536 |
-
* A specialized version of `_.forEach` for arrays without support for
|
1537 |
-
* iteratee shorthands.
|
1538 |
-
*
|
1539 |
-
* @private
|
1540 |
-
* @param {Array} [array] The array to iterate over.
|
1541 |
-
* @param {Function} iteratee The function invoked per iteration.
|
1542 |
-
* @returns {Array} Returns `array`.
|
1543 |
-
*/
|
1544 |
-
function arrayEach(array, iteratee) {
|
1545 |
-
var index = -1,
|
1546 |
-
length = array == null ? 0 : array.length;
|
1547 |
-
|
1548 |
-
while (++index < length) {
|
1549 |
-
if (iteratee(array[index], index, array) === false) {
|
1550 |
-
break;
|
1551 |
-
}
|
1552 |
-
}
|
1553 |
-
return array;
|
1554 |
-
}
|
1555 |
-
|
1556 |
-
module.exports = arrayEach;
|
1557 |
-
|
1558 |
-
|
1559 |
-
/***/ }),
|
1560 |
-
|
1561 |
-
/***/ "./node_modules/lodash/_arrayFilter.js":
|
1562 |
-
/*!*********************************************!*\
|
1563 |
-
!*** ./node_modules/lodash/_arrayFilter.js ***!
|
1564 |
-
\*********************************************/
|
1565 |
-
/***/ (function(module) {
|
1566 |
-
|
1567 |
-
/**
|
1568 |
-
* A specialized version of `_.filter` for arrays without support for
|
1569 |
-
* iteratee shorthands.
|
1570 |
-
*
|
1571 |
-
* @private
|
1572 |
-
* @param {Array} [array] The array to iterate over.
|
1573 |
-
* @param {Function} predicate The function invoked per iteration.
|
1574 |
-
* @returns {Array} Returns the new filtered array.
|
1575 |
-
*/
|
1576 |
-
function arrayFilter(array, predicate) {
|
1577 |
-
var index = -1,
|
1578 |
-
length = array == null ? 0 : array.length,
|
1579 |
-
resIndex = 0,
|
1580 |
-
result = [];
|
1581 |
-
|
1582 |
-
while (++index < length) {
|
1583 |
-
var value = array[index];
|
1584 |
-
if (predicate(value, index, array)) {
|
1585 |
-
result[resIndex++] = value;
|
1586 |
-
}
|
1587 |
-
}
|
1588 |
-
return result;
|
1589 |
-
}
|
1590 |
-
|
1591 |
-
module.exports = arrayFilter;
|
1592 |
-
|
1593 |
-
|
1594 |
-
/***/ }),
|
1595 |
-
|
1596 |
-
/***/ "./node_modules/lodash/_arrayLikeKeys.js":
|
1597 |
-
/*!***********************************************!*\
|
1598 |
-
!*** ./node_modules/lodash/_arrayLikeKeys.js ***!
|
1599 |
-
\***********************************************/
|
1600 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1601 |
-
|
1602 |
-
var baseTimes = __webpack_require__(/*! ./_baseTimes */ "./node_modules/lodash/_baseTimes.js"),
|
1603 |
-
isArguments = __webpack_require__(/*! ./isArguments */ "./node_modules/lodash/isArguments.js"),
|
1604 |
-
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
1605 |
-
isBuffer = __webpack_require__(/*! ./isBuffer */ "./node_modules/lodash/isBuffer.js"),
|
1606 |
-
isIndex = __webpack_require__(/*! ./_isIndex */ "./node_modules/lodash/_isIndex.js"),
|
1607 |
-
isTypedArray = __webpack_require__(/*! ./isTypedArray */ "./node_modules/lodash/isTypedArray.js");
|
1608 |
-
|
1609 |
-
/** Used for built-in method references. */
|
1610 |
-
var objectProto = Object.prototype;
|
1611 |
-
|
1612 |
-
/** Used to check objects for own properties. */
|
1613 |
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
1614 |
-
|
1615 |
-
/**
|
1616 |
-
* Creates an array of the enumerable property names of the array-like `value`.
|
1617 |
-
*
|
1618 |
-
* @private
|
1619 |
-
* @param {*} value The value to query.
|
1620 |
-
* @param {boolean} inherited Specify returning inherited property names.
|
1621 |
-
* @returns {Array} Returns the array of property names.
|
1622 |
-
*/
|
1623 |
-
function arrayLikeKeys(value, inherited) {
|
1624 |
-
var isArr = isArray(value),
|
1625 |
-
isArg = !isArr && isArguments(value),
|
1626 |
-
isBuff = !isArr && !isArg && isBuffer(value),
|
1627 |
-
isType = !isArr && !isArg && !isBuff && isTypedArray(value),
|
1628 |
-
skipIndexes = isArr || isArg || isBuff || isType,
|
1629 |
-
result = skipIndexes ? baseTimes(value.length, String) : [],
|
1630 |
-
length = result.length;
|
1631 |
-
|
1632 |
-
for (var key in value) {
|
1633 |
-
if ((inherited || hasOwnProperty.call(value, key)) &&
|
1634 |
-
!(skipIndexes && (
|
1635 |
-
// Safari 9 has enumerable `arguments.length` in strict mode.
|
1636 |
-
key == 'length' ||
|
1637 |
-
// Node.js 0.10 has enumerable non-index properties on buffers.
|
1638 |
-
(isBuff && (key == 'offset' || key == 'parent')) ||
|
1639 |
-
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
1640 |
-
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
|
1641 |
-
// Skip index properties.
|
1642 |
-
isIndex(key, length)
|
1643 |
-
))) {
|
1644 |
-
result.push(key);
|
1645 |
-
}
|
1646 |
-
}
|
1647 |
-
return result;
|
1648 |
-
}
|
1649 |
-
|
1650 |
-
module.exports = arrayLikeKeys;
|
1651 |
-
|
1652 |
-
|
1653 |
-
/***/ }),
|
1654 |
-
|
1655 |
-
/***/ "./node_modules/lodash/_arrayMap.js":
|
1656 |
-
/*!******************************************!*\
|
1657 |
-
!*** ./node_modules/lodash/_arrayMap.js ***!
|
1658 |
-
\******************************************/
|
1659 |
-
/***/ (function(module) {
|
1660 |
-
|
1661 |
-
/**
|
1662 |
-
* A specialized version of `_.map` for arrays without support for iteratee
|
1663 |
-
* shorthands.
|
1664 |
-
*
|
1665 |
-
* @private
|
1666 |
-
* @param {Array} [array] The array to iterate over.
|
1667 |
-
* @param {Function} iteratee The function invoked per iteration.
|
1668 |
-
* @returns {Array} Returns the new mapped array.
|
1669 |
-
*/
|
1670 |
-
function arrayMap(array, iteratee) {
|
1671 |
-
var index = -1,
|
1672 |
-
length = array == null ? 0 : array.length,
|
1673 |
-
result = Array(length);
|
1674 |
-
|
1675 |
-
while (++index < length) {
|
1676 |
-
result[index] = iteratee(array[index], index, array);
|
1677 |
-
}
|
1678 |
-
return result;
|
1679 |
-
}
|
1680 |
-
|
1681 |
-
module.exports = arrayMap;
|
1682 |
-
|
1683 |
-
|
1684 |
-
/***/ }),
|
1685 |
-
|
1686 |
-
/***/ "./node_modules/lodash/_arrayPush.js":
|
1687 |
-
/*!*******************************************!*\
|
1688 |
-
!*** ./node_modules/lodash/_arrayPush.js ***!
|
1689 |
-
\*******************************************/
|
1690 |
-
/***/ (function(module) {
|
1691 |
-
|
1692 |
-
/**
|
1693 |
-
* Appends the elements of `values` to `array`.
|
1694 |
-
*
|
1695 |
-
* @private
|
1696 |
-
* @param {Array} array The array to modify.
|
1697 |
-
* @param {Array} values The values to append.
|
1698 |
-
* @returns {Array} Returns `array`.
|
1699 |
-
*/
|
1700 |
-
function arrayPush(array, values) {
|
1701 |
-
var index = -1,
|
1702 |
-
length = values.length,
|
1703 |
-
offset = array.length;
|
1704 |
-
|
1705 |
-
while (++index < length) {
|
1706 |
-
array[offset + index] = values[index];
|
1707 |
-
}
|
1708 |
-
return array;
|
1709 |
-
}
|
1710 |
-
|
1711 |
-
module.exports = arrayPush;
|
1712 |
-
|
1713 |
-
|
1714 |
-
/***/ }),
|
1715 |
-
|
1716 |
-
/***/ "./node_modules/lodash/_arraySome.js":
|
1717 |
-
/*!*******************************************!*\
|
1718 |
-
!*** ./node_modules/lodash/_arraySome.js ***!
|
1719 |
-
\*******************************************/
|
1720 |
-
/***/ (function(module) {
|
1721 |
-
|
1722 |
-
/**
|
1723 |
-
* A specialized version of `_.some` for arrays without support for iteratee
|
1724 |
-
* shorthands.
|
1725 |
-
*
|
1726 |
-
* @private
|
1727 |
-
* @param {Array} [array] The array to iterate over.
|
1728 |
-
* @param {Function} predicate The function invoked per iteration.
|
1729 |
-
* @returns {boolean} Returns `true` if any element passes the predicate check,
|
1730 |
-
* else `false`.
|
1731 |
-
*/
|
1732 |
-
function arraySome(array, predicate) {
|
1733 |
-
var index = -1,
|
1734 |
-
length = array == null ? 0 : array.length;
|
1735 |
-
|
1736 |
-
while (++index < length) {
|
1737 |
-
if (predicate(array[index], index, array)) {
|
1738 |
-
return true;
|
1739 |
-
}
|
1740 |
-
}
|
1741 |
-
return false;
|
1742 |
-
}
|
1743 |
-
|
1744 |
-
module.exports = arraySome;
|
1745 |
-
|
1746 |
-
|
1747 |
-
/***/ }),
|
1748 |
-
|
1749 |
-
/***/ "./node_modules/lodash/_assignValue.js":
|
1750 |
-
/*!*********************************************!*\
|
1751 |
-
!*** ./node_modules/lodash/_assignValue.js ***!
|
1752 |
-
\*********************************************/
|
1753 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1754 |
-
|
1755 |
-
var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ "./node_modules/lodash/_baseAssignValue.js"),
|
1756 |
-
eq = __webpack_require__(/*! ./eq */ "./node_modules/lodash/eq.js");
|
1757 |
-
|
1758 |
-
/** Used for built-in method references. */
|
1759 |
-
var objectProto = Object.prototype;
|
1760 |
-
|
1761 |
-
/** Used to check objects for own properties. */
|
1762 |
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
1763 |
-
|
1764 |
-
/**
|
1765 |
-
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
1766 |
-
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
1767 |
-
* for equality comparisons.
|
1768 |
-
*
|
1769 |
-
* @private
|
1770 |
-
* @param {Object} object The object to modify.
|
1771 |
-
* @param {string} key The key of the property to assign.
|
1772 |
-
* @param {*} value The value to assign.
|
1773 |
-
*/
|
1774 |
-
function assignValue(object, key, value) {
|
1775 |
-
var objValue = object[key];
|
1776 |
-
if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
|
1777 |
-
(value === undefined && !(key in object))) {
|
1778 |
-
baseAssignValue(object, key, value);
|
1779 |
-
}
|
1780 |
-
}
|
1781 |
-
|
1782 |
-
module.exports = assignValue;
|
1783 |
-
|
1784 |
-
|
1785 |
-
/***/ }),
|
1786 |
-
|
1787 |
-
/***/ "./node_modules/lodash/_assocIndexOf.js":
|
1788 |
-
/*!**********************************************!*\
|
1789 |
-
!*** ./node_modules/lodash/_assocIndexOf.js ***!
|
1790 |
-
\**********************************************/
|
1791 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1792 |
-
|
1793 |
-
var eq = __webpack_require__(/*! ./eq */ "./node_modules/lodash/eq.js");
|
1794 |
-
|
1795 |
-
/**
|
1796 |
-
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
1797 |
-
*
|
1798 |
-
* @private
|
1799 |
-
* @param {Array} array The array to inspect.
|
1800 |
-
* @param {*} key The key to search for.
|
1801 |
-
* @returns {number} Returns the index of the matched value, else `-1`.
|
1802 |
-
*/
|
1803 |
-
function assocIndexOf(array, key) {
|
1804 |
-
var length = array.length;
|
1805 |
-
while (length--) {
|
1806 |
-
if (eq(array[length][0], key)) {
|
1807 |
-
return length;
|
1808 |
-
}
|
1809 |
-
}
|
1810 |
-
return -1;
|
1811 |
-
}
|
1812 |
-
|
1813 |
-
module.exports = assocIndexOf;
|
1814 |
-
|
1815 |
-
|
1816 |
-
/***/ }),
|
1817 |
-
|
1818 |
-
/***/ "./node_modules/lodash/_baseAssign.js":
|
1819 |
-
/*!********************************************!*\
|
1820 |
-
!*** ./node_modules/lodash/_baseAssign.js ***!
|
1821 |
-
\********************************************/
|
1822 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1823 |
-
|
1824 |
-
var copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
|
1825 |
-
keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js");
|
1826 |
-
|
1827 |
-
/**
|
1828 |
-
* The base implementation of `_.assign` without support for multiple sources
|
1829 |
-
* or `customizer` functions.
|
1830 |
-
*
|
1831 |
-
* @private
|
1832 |
-
* @param {Object} object The destination object.
|
1833 |
-
* @param {Object} source The source object.
|
1834 |
-
* @returns {Object} Returns `object`.
|
1835 |
-
*/
|
1836 |
-
function baseAssign(object, source) {
|
1837 |
-
return object && copyObject(source, keys(source), object);
|
1838 |
-
}
|
1839 |
-
|
1840 |
-
module.exports = baseAssign;
|
1841 |
-
|
1842 |
-
|
1843 |
-
/***/ }),
|
1844 |
-
|
1845 |
-
/***/ "./node_modules/lodash/_baseAssignIn.js":
|
1846 |
-
/*!**********************************************!*\
|
1847 |
-
!*** ./node_modules/lodash/_baseAssignIn.js ***!
|
1848 |
-
\**********************************************/
|
1849 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1850 |
-
|
1851 |
-
var copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
|
1852 |
-
keysIn = __webpack_require__(/*! ./keysIn */ "./node_modules/lodash/keysIn.js");
|
1853 |
-
|
1854 |
-
/**
|
1855 |
-
* The base implementation of `_.assignIn` without support for multiple sources
|
1856 |
-
* or `customizer` functions.
|
1857 |
-
*
|
1858 |
-
* @private
|
1859 |
-
* @param {Object} object The destination object.
|
1860 |
-
* @param {Object} source The source object.
|
1861 |
-
* @returns {Object} Returns `object`.
|
1862 |
-
*/
|
1863 |
-
function baseAssignIn(object, source) {
|
1864 |
-
return object && copyObject(source, keysIn(source), object);
|
1865 |
-
}
|
1866 |
-
|
1867 |
-
module.exports = baseAssignIn;
|
1868 |
-
|
1869 |
-
|
1870 |
-
/***/ }),
|
1871 |
-
|
1872 |
-
/***/ "./node_modules/lodash/_baseAssignValue.js":
|
1873 |
-
/*!*************************************************!*\
|
1874 |
-
!*** ./node_modules/lodash/_baseAssignValue.js ***!
|
1875 |
-
\*************************************************/
|
1876 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1877 |
-
|
1878 |
-
var defineProperty = __webpack_require__(/*! ./_defineProperty */ "./node_modules/lodash/_defineProperty.js");
|
1879 |
-
|
1880 |
-
/**
|
1881 |
-
* The base implementation of `assignValue` and `assignMergeValue` without
|
1882 |
-
* value checks.
|
1883 |
-
*
|
1884 |
-
* @private
|
1885 |
-
* @param {Object} object The object to modify.
|
1886 |
-
* @param {string} key The key of the property to assign.
|
1887 |
-
* @param {*} value The value to assign.
|
1888 |
-
*/
|
1889 |
-
function baseAssignValue(object, key, value) {
|
1890 |
-
if (key == '__proto__' && defineProperty) {
|
1891 |
-
defineProperty(object, key, {
|
1892 |
-
'configurable': true,
|
1893 |
-
'enumerable': true,
|
1894 |
-
'value': value,
|
1895 |
-
'writable': true
|
1896 |
-
});
|
1897 |
-
} else {
|
1898 |
-
object[key] = value;
|
1899 |
-
}
|
1900 |
-
}
|
1901 |
-
|
1902 |
-
module.exports = baseAssignValue;
|
1903 |
-
|
1904 |
-
|
1905 |
-
/***/ }),
|
1906 |
-
|
1907 |
-
/***/ "./node_modules/lodash/_baseClone.js":
|
1908 |
-
/*!*******************************************!*\
|
1909 |
-
!*** ./node_modules/lodash/_baseClone.js ***!
|
1910 |
-
\*******************************************/
|
1911 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1912 |
-
|
1913 |
-
var Stack = __webpack_require__(/*! ./_Stack */ "./node_modules/lodash/_Stack.js"),
|
1914 |
-
arrayEach = __webpack_require__(/*! ./_arrayEach */ "./node_modules/lodash/_arrayEach.js"),
|
1915 |
-
assignValue = __webpack_require__(/*! ./_assignValue */ "./node_modules/lodash/_assignValue.js"),
|
1916 |
-
baseAssign = __webpack_require__(/*! ./_baseAssign */ "./node_modules/lodash/_baseAssign.js"),
|
1917 |
-
baseAssignIn = __webpack_require__(/*! ./_baseAssignIn */ "./node_modules/lodash/_baseAssignIn.js"),
|
1918 |
-
cloneBuffer = __webpack_require__(/*! ./_cloneBuffer */ "./node_modules/lodash/_cloneBuffer.js"),
|
1919 |
-
copyArray = __webpack_require__(/*! ./_copyArray */ "./node_modules/lodash/_copyArray.js"),
|
1920 |
-
copySymbols = __webpack_require__(/*! ./_copySymbols */ "./node_modules/lodash/_copySymbols.js"),
|
1921 |
-
copySymbolsIn = __webpack_require__(/*! ./_copySymbolsIn */ "./node_modules/lodash/_copySymbolsIn.js"),
|
1922 |
-
getAllKeys = __webpack_require__(/*! ./_getAllKeys */ "./node_modules/lodash/_getAllKeys.js"),
|
1923 |
-
getAllKeysIn = __webpack_require__(/*! ./_getAllKeysIn */ "./node_modules/lodash/_getAllKeysIn.js"),
|
1924 |
-
getTag = __webpack_require__(/*! ./_getTag */ "./node_modules/lodash/_getTag.js"),
|
1925 |
-
initCloneArray = __webpack_require__(/*! ./_initCloneArray */ "./node_modules/lodash/_initCloneArray.js"),
|
1926 |
-
initCloneByTag = __webpack_require__(/*! ./_initCloneByTag */ "./node_modules/lodash/_initCloneByTag.js"),
|
1927 |
-
initCloneObject = __webpack_require__(/*! ./_initCloneObject */ "./node_modules/lodash/_initCloneObject.js"),
|
1928 |
-
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
1929 |
-
isBuffer = __webpack_require__(/*! ./isBuffer */ "./node_modules/lodash/isBuffer.js"),
|
1930 |
-
isMap = __webpack_require__(/*! ./isMap */ "./node_modules/lodash/isMap.js"),
|
1931 |
-
isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js"),
|
1932 |
-
isSet = __webpack_require__(/*! ./isSet */ "./node_modules/lodash/isSet.js"),
|
1933 |
-
keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js"),
|
1934 |
-
keysIn = __webpack_require__(/*! ./keysIn */ "./node_modules/lodash/keysIn.js");
|
1935 |
-
|
1936 |
-
/** Used to compose bitmasks for cloning. */
|
1937 |
-
var CLONE_DEEP_FLAG = 1,
|
1938 |
-
CLONE_FLAT_FLAG = 2,
|
1939 |
-
CLONE_SYMBOLS_FLAG = 4;
|
1940 |
-
|
1941 |
-
/** `Object#toString` result references. */
|
1942 |
-
var argsTag = '[object Arguments]',
|
1943 |
-
arrayTag = '[object Array]',
|
1944 |
-
boolTag = '[object Boolean]',
|
1945 |
-
dateTag = '[object Date]',
|
1946 |
-
errorTag = '[object Error]',
|
1947 |
-
funcTag = '[object Function]',
|
1948 |
-
genTag = '[object GeneratorFunction]',
|
1949 |
-
mapTag = '[object Map]',
|
1950 |
-
numberTag = '[object Number]',
|
1951 |
-
objectTag = '[object Object]',
|
1952 |
-
regexpTag = '[object RegExp]',
|
1953 |
-
setTag = '[object Set]',
|
1954 |
-
stringTag = '[object String]',
|
1955 |
-
symbolTag = '[object Symbol]',
|
1956 |
-
weakMapTag = '[object WeakMap]';
|
1957 |
-
|
1958 |
-
var arrayBufferTag = '[object ArrayBuffer]',
|
1959 |
-
dataViewTag = '[object DataView]',
|
1960 |
-
float32Tag = '[object Float32Array]',
|
1961 |
-
float64Tag = '[object Float64Array]',
|
1962 |
-
int8Tag = '[object Int8Array]',
|
1963 |
-
int16Tag = '[object Int16Array]',
|
1964 |
-
int32Tag = '[object Int32Array]',
|
1965 |
-
uint8Tag = '[object Uint8Array]',
|
1966 |
-
uint8ClampedTag = '[object Uint8ClampedArray]',
|
1967 |
-
uint16Tag = '[object Uint16Array]',
|
1968 |
-
uint32Tag = '[object Uint32Array]';
|
1969 |
-
|
1970 |
-
/** Used to identify `toStringTag` values supported by `_.clone`. */
|
1971 |
-
var cloneableTags = {};
|
1972 |
-
cloneableTags[argsTag] = cloneableTags[arrayTag] =
|
1973 |
-
cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
|
1974 |
-
cloneableTags[boolTag] = cloneableTags[dateTag] =
|
1975 |
-
cloneableTags[float32Tag] = cloneableTags[float64Tag] =
|
1976 |
-
cloneableTags[int8Tag] = cloneableTags[int16Tag] =
|
1977 |
-
cloneableTags[int32Tag] = cloneableTags[mapTag] =
|
1978 |
-
cloneableTags[numberTag] = cloneableTags[objectTag] =
|
1979 |
-
cloneableTags[regexpTag] = cloneableTags[setTag] =
|
1980 |
-
cloneableTags[stringTag] = cloneableTags[symbolTag] =
|
1981 |
-
cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
|
1982 |
-
cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
|
1983 |
-
cloneableTags[errorTag] = cloneableTags[funcTag] =
|
1984 |
-
cloneableTags[weakMapTag] = false;
|
1985 |
-
|
1986 |
-
/**
|
1987 |
-
* The base implementation of `_.clone` and `_.cloneDeep` which tracks
|
1988 |
-
* traversed objects.
|
1989 |
-
*
|
1990 |
-
* @private
|
1991 |
-
* @param {*} value The value to clone.
|
1992 |
-
* @param {boolean} bitmask The bitmask flags.
|
1993 |
-
* 1 - Deep clone
|
1994 |
-
* 2 - Flatten inherited properties
|
1995 |
-
* 4 - Clone symbols
|
1996 |
-
* @param {Function} [customizer] The function to customize cloning.
|
1997 |
-
* @param {string} [key] The key of `value`.
|
1998 |
-
* @param {Object} [object] The parent object of `value`.
|
1999 |
-
* @param {Object} [stack] Tracks traversed objects and their clone counterparts.
|
2000 |
-
* @returns {*} Returns the cloned value.
|
2001 |
-
*/
|
2002 |
-
function baseClone(value, bitmask, customizer, key, object, stack) {
|
2003 |
-
var result,
|
2004 |
-
isDeep = bitmask & CLONE_DEEP_FLAG,
|
2005 |
-
isFlat = bitmask & CLONE_FLAT_FLAG,
|
2006 |
-
isFull = bitmask & CLONE_SYMBOLS_FLAG;
|
2007 |
-
|
2008 |
-
if (customizer) {
|
2009 |
-
result = object ? customizer(value, key, object, stack) : customizer(value);
|
2010 |
-
}
|
2011 |
-
if (result !== undefined) {
|
2012 |
-
return result;
|
2013 |
-
}
|
2014 |
-
if (!isObject(value)) {
|
2015 |
-
return value;
|
2016 |
-
}
|
2017 |
-
var isArr = isArray(value);
|
2018 |
-
if (isArr) {
|
2019 |
-
result = initCloneArray(value);
|
2020 |
-
if (!isDeep) {
|
2021 |
-
return copyArray(value, result);
|
2022 |
-
}
|
2023 |
-
} else {
|
2024 |
-
var tag = getTag(value),
|
2025 |
-
isFunc = tag == funcTag || tag == genTag;
|
2026 |
-
|
2027 |
-
if (isBuffer(value)) {
|
2028 |
-
return cloneBuffer(value, isDeep);
|
2029 |
-
}
|
2030 |
-
if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
|
2031 |
-
result = (isFlat || isFunc) ? {} : initCloneObject(value);
|
2032 |
-
if (!isDeep) {
|
2033 |
-
return isFlat
|
2034 |
-
? copySymbolsIn(value, baseAssignIn(result, value))
|
2035 |
-
: copySymbols(value, baseAssign(result, value));
|
2036 |
-
}
|
2037 |
-
} else {
|
2038 |
-
if (!cloneableTags[tag]) {
|
2039 |
-
return object ? value : {};
|
2040 |
-
}
|
2041 |
-
result = initCloneByTag(value, tag, isDeep);
|
2042 |
-
}
|
2043 |
-
}
|
2044 |
-
// Check for circular references and return its corresponding clone.
|
2045 |
-
stack || (stack = new Stack);
|
2046 |
-
var stacked = stack.get(value);
|
2047 |
-
if (stacked) {
|
2048 |
-
return stacked;
|
2049 |
-
}
|
2050 |
-
stack.set(value, result);
|
2051 |
-
|
2052 |
-
if (isSet(value)) {
|
2053 |
-
value.forEach(function(subValue) {
|
2054 |
-
result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
|
2055 |
-
});
|
2056 |
-
} else if (isMap(value)) {
|
2057 |
-
value.forEach(function(subValue, key) {
|
2058 |
-
result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
|
2059 |
-
});
|
2060 |
-
}
|
2061 |
-
|
2062 |
-
var keysFunc = isFull
|
2063 |
-
? (isFlat ? getAllKeysIn : getAllKeys)
|
2064 |
-
: (isFlat ? keysIn : keys);
|
2065 |
-
|
2066 |
-
var props = isArr ? undefined : keysFunc(value);
|
2067 |
-
arrayEach(props || value, function(subValue, key) {
|
2068 |
-
if (props) {
|
2069 |
-
key = subValue;
|
2070 |
-
subValue = value[key];
|
2071 |
-
}
|
2072 |
-
// Recursively populate clone (susceptible to call stack limits).
|
2073 |
-
assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
|
2074 |
-
});
|
2075 |
-
return result;
|
2076 |
-
}
|
2077 |
-
|
2078 |
-
module.exports = baseClone;
|
2079 |
-
|
2080 |
-
|
2081 |
-
/***/ }),
|
2082 |
-
|
2083 |
-
/***/ "./node_modules/lodash/_baseCreate.js":
|
2084 |
-
/*!********************************************!*\
|
2085 |
-
!*** ./node_modules/lodash/_baseCreate.js ***!
|
2086 |
-
\********************************************/
|
2087 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2088 |
-
|
2089 |
-
var isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js");
|
2090 |
-
|
2091 |
-
/** Built-in value references. */
|
2092 |
-
var objectCreate = Object.create;
|
2093 |
-
|
2094 |
-
/**
|
2095 |
-
* The base implementation of `_.create` without support for assigning
|
2096 |
-
* properties to the created object.
|
2097 |
-
*
|
2098 |
-
* @private
|
2099 |
-
* @param {Object} proto The object to inherit from.
|
2100 |
-
* @returns {Object} Returns the new object.
|
2101 |
-
*/
|
2102 |
-
var baseCreate = (function() {
|
2103 |
-
function object() {}
|
2104 |
-
return function(proto) {
|
2105 |
-
if (!isObject(proto)) {
|
2106 |
-
return {};
|
2107 |
-
}
|
2108 |
-
if (objectCreate) {
|
2109 |
-
return objectCreate(proto);
|
2110 |
-
}
|
2111 |
-
object.prototype = proto;
|
2112 |
-
var result = new object;
|
2113 |
-
object.prototype = undefined;
|
2114 |
-
return result;
|
2115 |
-
};
|
2116 |
-
}());
|
2117 |
-
|
2118 |
-
module.exports = baseCreate;
|
2119 |
-
|
2120 |
-
|
2121 |
-
/***/ }),
|
2122 |
-
|
2123 |
-
/***/ "./node_modules/lodash/_baseEach.js":
|
2124 |
-
/*!******************************************!*\
|
2125 |
-
!*** ./node_modules/lodash/_baseEach.js ***!
|
2126 |
-
\******************************************/
|
2127 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2128 |
-
|
2129 |
-
var baseForOwn = __webpack_require__(/*! ./_baseForOwn */ "./node_modules/lodash/_baseForOwn.js"),
|
2130 |
-
createBaseEach = __webpack_require__(/*! ./_createBaseEach */ "./node_modules/lodash/_createBaseEach.js");
|
2131 |
-
|
2132 |
-
/**
|
2133 |
-
* The base implementation of `_.forEach` without support for iteratee shorthands.
|
2134 |
-
*
|
2135 |
-
* @private
|
2136 |
-
* @param {Array|Object} collection The collection to iterate over.
|
2137 |
-
* @param {Function} iteratee The function invoked per iteration.
|
2138 |
-
* @returns {Array|Object} Returns `collection`.
|
2139 |
-
*/
|
2140 |
-
var baseEach = createBaseEach(baseForOwn);
|
2141 |
-
|
2142 |
-
module.exports = baseEach;
|
2143 |
-
|
2144 |
-
|
2145 |
-
/***/ }),
|
2146 |
-
|
2147 |
-
/***/ "./node_modules/lodash/_baseFor.js":
|
2148 |
-
/*!*****************************************!*\
|
2149 |
-
!*** ./node_modules/lodash/_baseFor.js ***!
|
2150 |
-
\*****************************************/
|
2151 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2152 |
-
|
2153 |
-
var createBaseFor = __webpack_require__(/*! ./_createBaseFor */ "./node_modules/lodash/_createBaseFor.js");
|
2154 |
-
|
2155 |
-
/**
|
2156 |
-
* The base implementation of `baseForOwn` which iterates over `object`
|
2157 |
-
* properties returned by `keysFunc` and invokes `iteratee` for each property.
|
2158 |
-
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
2159 |
-
*
|
2160 |
-
* @private
|
2161 |
-
* @param {Object} object The object to iterate over.
|
2162 |
-
* @param {Function} iteratee The function invoked per iteration.
|
2163 |
-
* @param {Function} keysFunc The function to get the keys of `object`.
|
2164 |
-
* @returns {Object} Returns `object`.
|
2165 |
-
*/
|
2166 |
-
var baseFor = createBaseFor();
|
2167 |
-
|
2168 |
-
module.exports = baseFor;
|
2169 |
-
|
2170 |
-
|
2171 |
-
/***/ }),
|
2172 |
-
|
2173 |
-
/***/ "./node_modules/lodash/_baseForOwn.js":
|
2174 |
-
/*!********************************************!*\
|
2175 |
-
!*** ./node_modules/lodash/_baseForOwn.js ***!
|
2176 |
-
\********************************************/
|
2177 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2178 |
-
|
2179 |
-
var baseFor = __webpack_require__(/*! ./_baseFor */ "./node_modules/lodash/_baseFor.js"),
|
2180 |
-
keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js");
|
2181 |
-
|
2182 |
-
/**
|
2183 |
-
* The base implementation of `_.forOwn` without support for iteratee shorthands.
|
2184 |
-
*
|
2185 |
-
* @private
|
2186 |
-
* @param {Object} object The object to iterate over.
|
2187 |
-
* @param {Function} iteratee The function invoked per iteration.
|
2188 |
-
* @returns {Object} Returns `object`.
|
2189 |
-
*/
|
2190 |
-
function baseForOwn(object, iteratee) {
|
2191 |
-
return object && baseFor(object, iteratee, keys);
|
2192 |
-
}
|
2193 |
-
|
2194 |
-
module.exports = baseForOwn;
|
2195 |
-
|
2196 |
-
|
2197 |
-
/***/ }),
|
2198 |
-
|
2199 |
-
/***/ "./node_modules/lodash/_baseGet.js":
|
2200 |
-
/*!*****************************************!*\
|
2201 |
-
!*** ./node_modules/lodash/_baseGet.js ***!
|
2202 |
-
\*****************************************/
|
2203 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2204 |
-
|
2205 |
-
var castPath = __webpack_require__(/*! ./_castPath */ "./node_modules/lodash/_castPath.js"),
|
2206 |
-
toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
|
2207 |
-
|
2208 |
-
/**
|
2209 |
-
* The base implementation of `_.get` without support for default values.
|
2210 |
-
*
|
2211 |
-
* @private
|
2212 |
-
* @param {Object} object The object to query.
|
2213 |
-
* @param {Array|string} path The path of the property to get.
|
2214 |
-
* @returns {*} Returns the resolved value.
|
2215 |
-
*/
|
2216 |
-
function baseGet(object, path) {
|
2217 |
-
path = castPath(path, object);
|
2218 |
-
|
2219 |
-
var index = 0,
|
2220 |
-
length = path.length;
|
2221 |
-
|
2222 |
-
while (object != null && index < length) {
|
2223 |
-
object = object[toKey(path[index++])];
|
2224 |
-
}
|
2225 |
-
return (index && index == length) ? object : undefined;
|
2226 |
-
}
|
2227 |
-
|
2228 |
-
module.exports = baseGet;
|
2229 |
-
|
2230 |
-
|
2231 |
-
/***/ }),
|
2232 |
-
|
2233 |
-
/***/ "./node_modules/lodash/_baseGetAllKeys.js":
|
2234 |
-
/*!************************************************!*\
|
2235 |
-
!*** ./node_modules/lodash/_baseGetAllKeys.js ***!
|
2236 |
-
\************************************************/
|
2237 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2238 |
-
|
2239 |
-
var arrayPush = __webpack_require__(/*! ./_arrayPush */ "./node_modules/lodash/_arrayPush.js"),
|
2240 |
-
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js");
|
2241 |
-
|
2242 |
-
/**
|
2243 |
-
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
2244 |
-
* `keysFunc` and `symbolsFunc` to get the enumerable property names and
|
2245 |
-
* symbols of `object`.
|
2246 |
-
*
|
2247 |
-
* @private
|
2248 |
-
* @param {Object} object The object to query.
|
2249 |
-
* @param {Function} keysFunc The function to get the keys of `object`.
|
2250 |
-
* @param {Function} symbolsFunc The function to get the symbols of `object`.
|
2251 |
-
* @returns {Array} Returns the array of property names and symbols.
|
2252 |
-
*/
|
2253 |
-
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
2254 |
-
var result = keysFunc(object);
|
2255 |
-
return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
|
2256 |
-
}
|
2257 |
-
|
2258 |
-
module.exports = baseGetAllKeys;
|
2259 |
-
|
2260 |
-
|
2261 |
-
/***/ }),
|
2262 |
-
|
2263 |
-
/***/ "./node_modules/lodash/_baseGetTag.js":
|
2264 |
-
/*!********************************************!*\
|
2265 |
-
!*** ./node_modules/lodash/_baseGetTag.js ***!
|
2266 |
-
\********************************************/
|
2267 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2268 |
-
|
2269 |
-
var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js"),
|
2270 |
-
getRawTag = __webpack_require__(/*! ./_getRawTag */ "./node_modules/lodash/_getRawTag.js"),
|
2271 |
-
objectToString = __webpack_require__(/*! ./_objectToString */ "./node_modules/lodash/_objectToString.js");
|
2272 |
-
|
2273 |
-
/** `Object#toString` result references. */
|
2274 |
-
var nullTag = '[object Null]',
|
2275 |
-
undefinedTag = '[object Undefined]';
|
2276 |
-
|
2277 |
-
/** Built-in value references. */
|
2278 |
-
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
2279 |
-
|
2280 |
-
/**
|
2281 |
-
* The base implementation of `getTag` without fallbacks for buggy environments.
|
2282 |
-
*
|
2283 |
-
* @private
|
2284 |
-
* @param {*} value The value to query.
|
2285 |
-
* @returns {string} Returns the `toStringTag`.
|
2286 |
-
*/
|
2287 |
-
function baseGetTag(value) {
|
2288 |
-
if (value == null) {
|
2289 |
-
return value === undefined ? undefinedTag : nullTag;
|
2290 |
-
}
|
2291 |
-
return (symToStringTag && symToStringTag in Object(value))
|
2292 |
-
? getRawTag(value)
|
2293 |
-
: objectToString(value);
|
2294 |
-
}
|
2295 |
-
|
2296 |
-
module.exports = baseGetTag;
|
2297 |
-
|
2298 |
-
|
2299 |
-
/***/ }),
|
2300 |
-
|
2301 |
-
/***/ "./node_modules/lodash/_baseHasIn.js":
|
2302 |
-
/*!*******************************************!*\
|
2303 |
-
!*** ./node_modules/lodash/_baseHasIn.js ***!
|
2304 |
-
\*******************************************/
|
2305 |
-
/***/ (function(module) {
|
2306 |
-
|
2307 |
-
/**
|
2308 |
-
* The base implementation of `_.hasIn` without support for deep paths.
|
2309 |
-
*
|
2310 |
-
* @private
|
2311 |
-
* @param {Object} [object] The object to query.
|
2312 |
-
* @param {Array|string} key The key to check.
|
2313 |
-
* @returns {boolean} Returns `true` if `key` exists, else `false`.
|
2314 |
-
*/
|
2315 |
-
function baseHasIn(object, key) {
|
2316 |
-
return object != null && key in Object(object);
|
2317 |
-
}
|
2318 |
-
|
2319 |
-
module.exports = baseHasIn;
|
2320 |
-
|
2321 |
-
|
2322 |
-
/***/ }),
|
2323 |
-
|
2324 |
-
/***/ "./node_modules/lodash/_baseIsArguments.js":
|
2325 |
-
/*!*************************************************!*\
|
2326 |
-
!*** ./node_modules/lodash/_baseIsArguments.js ***!
|
2327 |
-
\*************************************************/
|
2328 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2329 |
-
|
2330 |
-
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
2331 |
-
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
2332 |
-
|
2333 |
-
/** `Object#toString` result references. */
|
2334 |
-
var argsTag = '[object Arguments]';
|
2335 |
-
|
2336 |
-
/**
|
2337 |
-
* The base implementation of `_.isArguments`.
|
2338 |
-
*
|
2339 |
-
* @private
|
2340 |
-
* @param {*} value The value to check.
|
2341 |
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
2342 |
-
*/
|
2343 |
-
function baseIsArguments(value) {
|
2344 |
-
return isObjectLike(value) && baseGetTag(value) == argsTag;
|
2345 |
-
}
|
2346 |
-
|
2347 |
-
module.exports = baseIsArguments;
|
2348 |
-
|
2349 |
-
|
2350 |
-
/***/ }),
|
2351 |
-
|
2352 |
-
/***/ "./node_modules/lodash/_baseIsEqual.js":
|
2353 |
-
/*!*********************************************!*\
|
2354 |
-
!*** ./node_modules/lodash/_baseIsEqual.js ***!
|
2355 |
-
\*********************************************/
|
2356 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2357 |
-
|
2358 |
-
var baseIsEqualDeep = __webpack_require__(/*! ./_baseIsEqualDeep */ "./node_modules/lodash/_baseIsEqualDeep.js"),
|
2359 |
-
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
2360 |
-
|
2361 |
-
/**
|
2362 |
-
* The base implementation of `_.isEqual` which supports partial comparisons
|
2363 |
-
* and tracks traversed objects.
|
2364 |
-
*
|
2365 |
-
* @private
|
2366 |
-
* @param {*} value The value to compare.
|
2367 |
-
* @param {*} other The other value to compare.
|
2368 |
-
* @param {boolean} bitmask The bitmask flags.
|
2369 |
-
* 1 - Unordered comparison
|
2370 |
-
* 2 - Partial comparison
|
2371 |
-
* @param {Function} [customizer] The function to customize comparisons.
|
2372 |
-
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
|
2373 |
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
2374 |
-
*/
|
2375 |
-
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
2376 |
-
if (value === other) {
|
2377 |
-
return true;
|
2378 |
-
}
|
2379 |
-
if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
|
2380 |
-
return value !== value && other !== other;
|
2381 |
-
}
|
2382 |
-
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
2383 |
-
}
|
2384 |
-
|
2385 |
-
module.exports = baseIsEqual;
|
2386 |
-
|
2387 |
-
|
2388 |
-
/***/ }),
|
2389 |
-
|
2390 |
-
/***/ "./node_modules/lodash/_baseIsEqualDeep.js":
|
2391 |
-
/*!*************************************************!*\
|
2392 |
-
!*** ./node_modules/lodash/_baseIsEqualDeep.js ***!
|
2393 |
-
\*************************************************/
|
2394 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2395 |
-
|
2396 |
-
var Stack = __webpack_require__(/*! ./_Stack */ "./node_modules/lodash/_Stack.js"),
|
2397 |
-
equalArrays = __webpack_require__(/*! ./_equalArrays */ "./node_modules/lodash/_equalArrays.js"),
|
2398 |
-
equalByTag = __webpack_require__(/*! ./_equalByTag */ "./node_modules/lodash/_equalByTag.js"),
|
2399 |
-
equalObjects = __webpack_require__(/*! ./_equalObjects */ "./node_modules/lodash/_equalObjects.js"),
|
2400 |
-
getTag = __webpack_require__(/*! ./_getTag */ "./node_modules/lodash/_getTag.js"),
|
2401 |
-
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
2402 |
-
isBuffer = __webpack_require__(/*! ./isBuffer */ "./node_modules/lodash/isBuffer.js"),
|
2403 |
-
isTypedArray = __webpack_require__(/*! ./isTypedArray */ "./node_modules/lodash/isTypedArray.js");
|
2404 |
-
|
2405 |
-
/** Used to compose bitmasks for value comparisons. */
|
2406 |
-
var COMPARE_PARTIAL_FLAG = 1;
|
2407 |
-
|
2408 |
-
/** `Object#toString` result references. */
|
2409 |
-
var argsTag = '[object Arguments]',
|
2410 |
-
arrayTag = '[object Array]',
|
2411 |
-
objectTag = '[object Object]';
|
2412 |
-
|
2413 |
-
/** Used for built-in method references. */
|
2414 |
-
var objectProto = Object.prototype;
|
2415 |
-
|
2416 |
-
/** Used to check objects for own properties. */
|
2417 |
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
2418 |
-
|
2419 |
-
/**
|
2420 |
-
* A specialized version of `baseIsEqual` for arrays and objects which performs
|
2421 |
-
* deep comparisons and tracks traversed objects enabling objects with circular
|
2422 |
-
* references to be compared.
|
2423 |
-
*
|
2424 |
-
* @private
|
2425 |
-
* @param {Object} object The object to compare.
|
2426 |
-
* @param {Object} other The other object to compare.
|
2427 |
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
2428 |
-
* @param {Function} customizer The function to customize comparisons.
|
2429 |
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
2430 |
-
* @param {Object} [stack] Tracks traversed `object` and `other` objects.
|
2431 |
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
2432 |
-
*/
|
2433 |
-
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
2434 |
-
var objIsArr = isArray(object),
|
2435 |
-
othIsArr = isArray(other),
|
2436 |
-
objTag = objIsArr ? arrayTag : getTag(object),
|
2437 |
-
othTag = othIsArr ? arrayTag : getTag(other);
|
2438 |
-
|
2439 |
-
objTag = objTag == argsTag ? objectTag : objTag;
|
2440 |
-
othTag = othTag == argsTag ? objectTag : othTag;
|
2441 |
-
|
2442 |
-
var objIsObj = objTag == objectTag,
|
2443 |
-
othIsObj = othTag == objectTag,
|
2444 |
-
isSameTag = objTag == othTag;
|
2445 |
-
|
2446 |
-
if (isSameTag && isBuffer(object)) {
|
2447 |
-
if (!isBuffer(other)) {
|
2448 |
-
return false;
|
2449 |
-
}
|
2450 |
-
objIsArr = true;
|
2451 |
-
objIsObj = false;
|
2452 |
-
}
|
2453 |
-
if (isSameTag && !objIsObj) {
|
2454 |
-
stack || (stack = new Stack);
|
2455 |
-
return (objIsArr || isTypedArray(object))
|
2456 |
-
? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
|
2457 |
-
: equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
2458 |
-
}
|
2459 |
-
if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
|
2460 |
-
var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
|
2461 |
-
othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
|
2462 |
-
|
2463 |
-
if (objIsWrapped || othIsWrapped) {
|
2464 |
-
var objUnwrapped = objIsWrapped ? object.value() : object,
|
2465 |
-
othUnwrapped = othIsWrapped ? other.value() : other;
|
2466 |
-
|
2467 |
-
stack || (stack = new Stack);
|
2468 |
-
return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
|
2469 |
-
}
|
2470 |
-
}
|
2471 |
-
if (!isSameTag) {
|
2472 |
-
return false;
|
2473 |
-
}
|
2474 |
-
stack || (stack = new Stack);
|
2475 |
-
return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
|
2476 |
-
}
|
2477 |
-
|
2478 |
-
module.exports = baseIsEqualDeep;
|
2479 |
-
|
2480 |
-
|
2481 |
-
/***/ }),
|
2482 |
-
|
2483 |
-
/***/ "./node_modules/lodash/_baseIsMap.js":
|
2484 |
-
/*!*******************************************!*\
|
2485 |
-
!*** ./node_modules/lodash/_baseIsMap.js ***!
|
2486 |
-
\*******************************************/
|
2487 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2488 |
-
|
2489 |
-
var getTag = __webpack_require__(/*! ./_getTag */ "./node_modules/lodash/_getTag.js"),
|
2490 |
-
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
2491 |
-
|
2492 |
-
/** `Object#toString` result references. */
|
2493 |
-
var mapTag = '[object Map]';
|
2494 |
-
|
2495 |
-
/**
|
2496 |
-
* The base implementation of `_.isMap` without Node.js optimizations.
|
2497 |
-
*
|
2498 |
-
* @private
|
2499 |
-
* @param {*} value The value to check.
|
2500 |
-
* @returns {boolean} Returns `true` if `value` is a map, else `false`.
|
2501 |
-
*/
|
2502 |
-
function baseIsMap(value) {
|
2503 |
-
return isObjectLike(value) && getTag(value) == mapTag;
|
2504 |
-
}
|
2505 |
-
|
2506 |
-
module.exports = baseIsMap;
|
2507 |
-
|
2508 |
-
|
2509 |
-
/***/ }),
|
2510 |
-
|
2511 |
-
/***/ "./node_modules/lodash/_baseIsMatch.js":
|
2512 |
-
/*!*********************************************!*\
|
2513 |
-
!*** ./node_modules/lodash/_baseIsMatch.js ***!
|
2514 |
-
\*********************************************/
|
2515 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2516 |
-
|
2517 |
-
var Stack = __webpack_require__(/*! ./_Stack */ "./node_modules/lodash/_Stack.js"),
|
2518 |
-
baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ "./node_modules/lodash/_baseIsEqual.js");
|
2519 |
-
|
2520 |
-
/** Used to compose bitmasks for value comparisons. */
|
2521 |
-
var COMPARE_PARTIAL_FLAG = 1,
|
2522 |
-
COMPARE_UNORDERED_FLAG = 2;
|
2523 |
-
|
2524 |
-
/**
|
2525 |
-
* The base implementation of `_.isMatch` without support for iteratee shorthands.
|
2526 |
-
*
|
2527 |
-
* @private
|
2528 |
-
* @param {Object} object The object to inspect.
|
2529 |
-
* @param {Object} source The object of property values to match.
|
2530 |
-
* @param {Array} matchData The property names, values, and compare flags to match.
|
2531 |
-
* @param {Function} [customizer] The function to customize comparisons.
|
2532 |
-
* @returns {boolean} Returns `true` if `object` is a match, else `false`.
|
2533 |
-
*/
|
2534 |
-
function baseIsMatch(object, source, matchData, customizer) {
|
2535 |
-
var index = matchData.length,
|
2536 |
-
length = index,
|
2537 |
-
noCustomizer = !customizer;
|
2538 |
-
|
2539 |
-
if (object == null) {
|
2540 |
-
return !length;
|
2541 |
-
}
|
2542 |
-
object = Object(object);
|
2543 |
-
while (index--) {
|
2544 |
-
var data = matchData[index];
|
2545 |
-
if ((noCustomizer && data[2])
|
2546 |
-
? data[1] !== object[data[0]]
|
2547 |
-
: !(data[0] in object)
|
2548 |
-
) {
|
2549 |
-
return false;
|
2550 |
-
}
|
2551 |
-
}
|
2552 |
-
while (++index < length) {
|
2553 |
-
data = matchData[index];
|
2554 |
-
var key = data[0],
|
2555 |
-
objValue = object[key],
|
2556 |
-
srcValue = data[1];
|
2557 |
-
|
2558 |
-
if (noCustomizer && data[2]) {
|
2559 |
-
if (objValue === undefined && !(key in object)) {
|
2560 |
-
return false;
|
2561 |
-
}
|
2562 |
-
} else {
|
2563 |
-
var stack = new Stack;
|
2564 |
-
if (customizer) {
|
2565 |
-
var result = customizer(objValue, srcValue, key, object, source, stack);
|
2566 |
-
}
|
2567 |
-
if (!(result === undefined
|
2568 |
-
? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)
|
2569 |
-
: result
|
2570 |
-
)) {
|
2571 |
-
return false;
|
2572 |
-
}
|
2573 |
-
}
|
2574 |
-
}
|
2575 |
-
return true;
|
2576 |
-
}
|
2577 |
-
|
2578 |
-
module.exports = baseIsMatch;
|
2579 |
-
|
2580 |
-
|
2581 |
-
/***/ }),
|
2582 |
-
|
2583 |
-
/***/ "./node_modules/lodash/_baseIsNative.js":
|
2584 |
-
/*!**********************************************!*\
|
2585 |
-
!*** ./node_modules/lodash/_baseIsNative.js ***!
|
2586 |
-
\**********************************************/
|
2587 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2588 |
-
|
2589 |
-
var isFunction = __webpack_require__(/*! ./isFunction */ "./node_modules/lodash/isFunction.js"),
|
2590 |
-
isMasked = __webpack_require__(/*! ./_isMasked */ "./node_modules/lodash/_isMasked.js"),
|
2591 |
-
isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js"),
|
2592 |
-
toSource = __webpack_require__(/*! ./_toSource */ "./node_modules/lodash/_toSource.js");
|
2593 |
-
|
2594 |
-
/**
|
2595 |
-
* Used to match `RegExp`
|
2596 |
-
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
2597 |
-
*/
|
2598 |
-
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
2599 |
-
|
2600 |
-
/** Used to detect host constructors (Safari). */
|
2601 |
-
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
2602 |
-
|
2603 |
-
/** Used for built-in method references. */
|
2604 |
-
var funcProto = Function.prototype,
|
2605 |
-
objectProto = Object.prototype;
|
2606 |
-
|
2607 |
-
/** Used to resolve the decompiled source of functions. */
|
2608 |
-
var funcToString = funcProto.toString;
|
2609 |
-
|
2610 |
-
/** Used to check objects for own properties. */
|
2611 |
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
2612 |
-
|
2613 |
-
/** Used to detect if a method is native. */
|
2614 |
-
var reIsNative = RegExp('^' +
|
2615 |
-
funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
|
2616 |
-
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
2617 |
-
);
|
2618 |
-
|
2619 |
-
/**
|
2620 |
-
* The base implementation of `_.isNative` without bad shim checks.
|
2621 |
-
*
|
2622 |
-
* @private
|
2623 |
-
* @param {*} value The value to check.
|
2624 |
-
* @returns {boolean} Returns `true` if `value` is a native function,
|
2625 |
-
* else `false`.
|
2626 |
-
*/
|
2627 |
-
function baseIsNative(value) {
|
2628 |
-
if (!isObject(value) || isMasked(value)) {
|
2629 |
-
return false;
|
2630 |
-
}
|
2631 |
-
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
2632 |
-
return pattern.test(toSource(value));
|
2633 |
-
}
|
2634 |
-
|
2635 |
-
module.exports = baseIsNative;
|
2636 |
-
|
2637 |
-
|
2638 |
-
/***/ }),
|
2639 |
-
|
2640 |
-
/***/ "./node_modules/lodash/_baseIsSet.js":
|
2641 |
-
/*!*******************************************!*\
|
2642 |
-
!*** ./node_modules/lodash/_baseIsSet.js ***!
|
2643 |
-
\*******************************************/
|
2644 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2645 |
-
|
2646 |
-
var getTag = __webpack_require__(/*! ./_getTag */ "./node_modules/lodash/_getTag.js"),
|
2647 |
-
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
2648 |
-
|
2649 |
-
/** `Object#toString` result references. */
|
2650 |
-
var setTag = '[object Set]';
|
2651 |
-
|
2652 |
-
/**
|
2653 |
-
* The base implementation of `_.isSet` without Node.js optimizations.
|
2654 |
-
*
|
2655 |
-
* @private
|
2656 |
-
* @param {*} value The value to check.
|
2657 |
-
* @returns {boolean} Returns `true` if `value` is a set, else `false`.
|
2658 |
-
*/
|
2659 |
-
function baseIsSet(value) {
|
2660 |
-
return isObjectLike(value) && getTag(value) == setTag;
|
2661 |
-
}
|
2662 |
-
|
2663 |
-
module.exports = baseIsSet;
|
2664 |
-
|
2665 |
-
|
2666 |
-
/***/ }),
|
2667 |
-
|
2668 |
-
/***/ "./node_modules/lodash/_baseIsTypedArray.js":
|
2669 |
-
/*!**************************************************!*\
|
2670 |
-
!*** ./node_modules/lodash/_baseIsTypedArray.js ***!
|
2671 |
-
\**************************************************/
|
2672 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2673 |
-
|
2674 |
-
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
2675 |
-
isLength = __webpack_require__(/*! ./isLength */ "./node_modules/lodash/isLength.js"),
|
2676 |
-
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
2677 |
-
|
2678 |
-
/** `Object#toString` result references. */
|
2679 |
-
var argsTag = '[object Arguments]',
|
2680 |
-
arrayTag = '[object Array]',
|
2681 |
-
boolTag = '[object Boolean]',
|
2682 |
-
dateTag = '[object Date]',
|
2683 |
-
errorTag = '[object Error]',
|
2684 |
-
funcTag = '[object Function]',
|
2685 |
-
mapTag = '[object Map]',
|
2686 |
-
numberTag = '[object Number]',
|
2687 |
-
objectTag = '[object Object]',
|
2688 |
-
regexpTag = '[object RegExp]',
|
2689 |
-
setTag = '[object Set]',
|
2690 |
-
stringTag = '[object String]',
|
2691 |
-
weakMapTag = '[object WeakMap]';
|
2692 |
-
|
2693 |
-
var arrayBufferTag = '[object ArrayBuffer]',
|
2694 |
-
dataViewTag = '[object DataView]',
|
2695 |
-
float32Tag = '[object Float32Array]',
|
2696 |
-
float64Tag = '[object Float64Array]',
|
2697 |
-
int8Tag = '[object Int8Array]',
|
2698 |
-
int16Tag = '[object Int16Array]',
|
2699 |
-
int32Tag = '[object Int32Array]',
|
2700 |
-
uint8Tag = '[object Uint8Array]',
|
2701 |
-
uint8ClampedTag = '[object Uint8ClampedArray]',
|
2702 |
-
uint16Tag = '[object Uint16Array]',
|
2703 |
-
uint32Tag = '[object Uint32Array]';
|
2704 |
-
|
2705 |
-
/** Used to identify `toStringTag` values of typed arrays. */
|
2706 |
-
var typedArrayTags = {};
|
2707 |
-
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
2708 |
-
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
|
2709 |
-
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
|
2710 |
-
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
|
2711 |
-
typedArrayTags[uint32Tag] = true;
|
2712 |
-
typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
|
2713 |
-
typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
|
2714 |
-
typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
|
2715 |
-
typedArrayTags[errorTag] = typedArrayTags[funcTag] =
|
2716 |
-
typedArrayTags[mapTag] = typedArrayTags[numberTag] =
|
2717 |
-
typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
|
2718 |
-
typedArrayTags[setTag] = typedArrayTags[stringTag] =
|
2719 |
-
typedArrayTags[weakMapTag] = false;
|
2720 |
-
|
2721 |
-
/**
|
2722 |
-
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
2723 |
-
*
|
2724 |
-
* @private
|
2725 |
-
* @param {*} value The value to check.
|
2726 |
-
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
2727 |
-
*/
|
2728 |
-
function baseIsTypedArray(value) {
|
2729 |
-
return isObjectLike(value) &&
|
2730 |
-
isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
2731 |
-
}
|
2732 |
-
|
2733 |
-
module.exports = baseIsTypedArray;
|
2734 |
-
|
2735 |
-
|
2736 |
-
/***/ }),
|
2737 |
-
|
2738 |
-
/***/ "./node_modules/lodash/_baseIteratee.js":
|
2739 |
-
/*!**********************************************!*\
|
2740 |
-
!*** ./node_modules/lodash/_baseIteratee.js ***!
|
2741 |
-
\**********************************************/
|
2742 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2743 |
-
|
2744 |
-
var baseMatches = __webpack_require__(/*! ./_baseMatches */ "./node_modules/lodash/_baseMatches.js"),
|
2745 |
-
baseMatchesProperty = __webpack_require__(/*! ./_baseMatchesProperty */ "./node_modules/lodash/_baseMatchesProperty.js"),
|
2746 |
-
identity = __webpack_require__(/*! ./identity */ "./node_modules/lodash/identity.js"),
|
2747 |
-
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
2748 |
-
property = __webpack_require__(/*! ./property */ "./node_modules/lodash/property.js");
|
2749 |
-
|
2750 |
-
/**
|
2751 |
-
* The base implementation of `_.iteratee`.
|
2752 |
-
*
|
2753 |
-
* @private
|
2754 |
-
* @param {*} [value=_.identity] The value to convert to an iteratee.
|
2755 |
-
* @returns {Function} Returns the iteratee.
|
2756 |
-
*/
|
2757 |
-
function baseIteratee(value) {
|
2758 |
-
// Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
|
2759 |
-
// See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
|
2760 |
-
if (typeof value == 'function') {
|
2761 |
-
return value;
|
2762 |
-
}
|
2763 |
-
if (value == null) {
|
2764 |
-
return identity;
|
2765 |
-
}
|
2766 |
-
if (typeof value == 'object') {
|
2767 |
-
return isArray(value)
|
2768 |
-
? baseMatchesProperty(value[0], value[1])
|
2769 |
-
: baseMatches(value);
|
2770 |
-
}
|
2771 |
-
return property(value);
|
2772 |
-
}
|
2773 |
-
|
2774 |
-
module.exports = baseIteratee;
|
2775 |
-
|
2776 |
-
|
2777 |
-
/***/ }),
|
2778 |
-
|
2779 |
-
/***/ "./node_modules/lodash/_baseKeys.js":
|
2780 |
-
/*!******************************************!*\
|
2781 |
-
!*** ./node_modules/lodash/_baseKeys.js ***!
|
2782 |
-
\******************************************/
|
2783 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2784 |
-
|
2785 |
-
var isPrototype = __webpack_require__(/*! ./_isPrototype */ "./node_modules/lodash/_isPrototype.js"),
|
2786 |
-
nativeKeys = __webpack_require__(/*! ./_nativeKeys */ "./node_modules/lodash/_nativeKeys.js");
|
2787 |
-
|
2788 |
-
/** Used for built-in method references. */
|
2789 |
-
var objectProto = Object.prototype;
|
2790 |
-
|
2791 |
-
/** Used to check objects for own properties. */
|
2792 |
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
2793 |
-
|
2794 |
-
/**
|
2795 |
-
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
2796 |
-
*
|
2797 |
-
* @private
|
2798 |
-
* @param {Object} object The object to query.
|
2799 |
-
* @returns {Array} Returns the array of property names.
|
2800 |
-
*/
|
2801 |
-
function baseKeys(object) {
|
2802 |
-
if (!isPrototype(object)) {
|
2803 |
-
return nativeKeys(object);
|
2804 |
-
}
|
2805 |
-
var result = [];
|
2806 |
-
for (var key in Object(object)) {
|
2807 |
-
if (hasOwnProperty.call(object, key) && key != 'constructor') {
|
2808 |
-
result.push(key);
|
2809 |
-
}
|
2810 |
-
}
|
2811 |
-
return result;
|
2812 |
-
}
|
2813 |
-
|
2814 |
-
module.exports = baseKeys;
|
2815 |
-
|
2816 |
-
|
2817 |
-
/***/ }),
|
2818 |
-
|
2819 |
-
/***/ "./node_modules/lodash/_baseKeysIn.js":
|
2820 |
-
/*!********************************************!*\
|
2821 |
-
!*** ./node_modules/lodash/_baseKeysIn.js ***!
|
2822 |
-
\********************************************/
|
2823 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2824 |
-
|
2825 |
-
var isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js"),
|
2826 |
-
isPrototype = __webpack_require__(/*! ./_isPrototype */ "./node_modules/lodash/_isPrototype.js"),
|
2827 |
-
nativeKeysIn = __webpack_require__(/*! ./_nativeKeysIn */ "./node_modules/lodash/_nativeKeysIn.js");
|
2828 |
-
|
2829 |
-
/** Used for built-in method references. */
|
2830 |
-
var objectProto = Object.prototype;
|
2831 |
-
|
2832 |
-
/** Used to check objects for own properties. */
|
2833 |
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
2834 |
-
|
2835 |
-
/**
|
2836 |
-
* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
|
2837 |
-
*
|
2838 |
-
* @private
|
2839 |
-
* @param {Object} object The object to query.
|
2840 |
-
* @returns {Array} Returns the array of property names.
|
2841 |
-
*/
|
2842 |
-
function baseKeysIn(object) {
|
2843 |
-
if (!isObject(object)) {
|
2844 |
-
return nativeKeysIn(object);
|
2845 |
-
}
|
2846 |
-
var isProto = isPrototype(object),
|
2847 |
-
result = [];
|
2848 |
-
|
2849 |
-
for (var key in object) {
|
2850 |
-
if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
|
2851 |
-
result.push(key);
|
2852 |
-
}
|
2853 |
-
}
|
2854 |
-
return result;
|
2855 |
-
}
|
2856 |
-
|
2857 |
-
module.exports = baseKeysIn;
|
2858 |
-
|
2859 |
-
|
2860 |
-
/***/ }),
|
2861 |
-
|
2862 |
-
/***/ "./node_modules/lodash/_baseMap.js":
|
2863 |
-
/*!*****************************************!*\
|
2864 |
-
!*** ./node_modules/lodash/_baseMap.js ***!
|
2865 |
-
\*****************************************/
|
2866 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2867 |
-
|
2868 |
-
var baseEach = __webpack_require__(/*! ./_baseEach */ "./node_modules/lodash/_baseEach.js"),
|
2869 |
-
isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./node_modules/lodash/isArrayLike.js");
|
2870 |
-
|
2871 |
-
/**
|
2872 |
-
* The base implementation of `_.map` without support for iteratee shorthands.
|
2873 |
-
*
|
2874 |
-
* @private
|
2875 |
-
* @param {Array|Object} collection The collection to iterate over.
|
2876 |
-
* @param {Function} iteratee The function invoked per iteration.
|
2877 |
-
* @returns {Array} Returns the new mapped array.
|
2878 |
-
*/
|
2879 |
-
function baseMap(collection, iteratee) {
|
2880 |
-
var index = -1,
|
2881 |
-
result = isArrayLike(collection) ? Array(collection.length) : [];
|
2882 |
-
|
2883 |
-
baseEach(collection, function(value, key, collection) {
|
2884 |
-
result[++index] = iteratee(value, key, collection);
|
2885 |
-
});
|
2886 |
-
return result;
|
2887 |
-
}
|
2888 |
-
|
2889 |
-
module.exports = baseMap;
|
2890 |
-
|
2891 |
-
|
2892 |
-
/***/ }),
|
2893 |
-
|
2894 |
-
/***/ "./node_modules/lodash/_baseMatches.js":
|
2895 |
-
/*!*********************************************!*\
|
2896 |
-
!*** ./node_modules/lodash/_baseMatches.js ***!
|
2897 |
-
\*********************************************/
|
2898 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2899 |
-
|
2900 |
-
var baseIsMatch = __webpack_require__(/*! ./_baseIsMatch */ "./node_modules/lodash/_baseIsMatch.js"),
|
2901 |
-
getMatchData = __webpack_require__(/*! ./_getMatchData */ "./node_modules/lodash/_getMatchData.js"),
|
2902 |
-
matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ "./node_modules/lodash/_matchesStrictComparable.js");
|
2903 |
-
|
2904 |
-
/**
|
2905 |
-
* The base implementation of `_.matches` which doesn't clone `source`.
|
2906 |
-
*
|
2907 |
-
* @private
|
2908 |
-
* @param {Object} source The object of property values to match.
|
2909 |
-
* @returns {Function} Returns the new spec function.
|
2910 |
-
*/
|
2911 |
-
function baseMatches(source) {
|
2912 |
-
var matchData = getMatchData(source);
|
2913 |
-
if (matchData.length == 1 && matchData[0][2]) {
|
2914 |
-
return matchesStrictComparable(matchData[0][0], matchData[0][1]);
|
2915 |
-
}
|
2916 |
-
return function(object) {
|
2917 |
-
return object === source || baseIsMatch(object, source, matchData);
|
2918 |
-
};
|
2919 |
-
}
|
2920 |
-
|
2921 |
-
module.exports = baseMatches;
|
2922 |
-
|
2923 |
-
|
2924 |
-
/***/ }),
|
2925 |
-
|
2926 |
-
/***/ "./node_modules/lodash/_baseMatchesProperty.js":
|
2927 |
-
/*!*****************************************************!*\
|
2928 |
-
!*** ./node_modules/lodash/_baseMatchesProperty.js ***!
|
2929 |
-
\*****************************************************/
|
2930 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2931 |
-
|
2932 |
-
var baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ "./node_modules/lodash/_baseIsEqual.js"),
|
2933 |
-
get = __webpack_require__(/*! ./get */ "./node_modules/lodash/get.js"),
|
2934 |
-
hasIn = __webpack_require__(/*! ./hasIn */ "./node_modules/lodash/hasIn.js"),
|
2935 |
-
isKey = __webpack_require__(/*! ./_isKey */ "./node_modules/lodash/_isKey.js"),
|
2936 |
-
isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ "./node_modules/lodash/_isStrictComparable.js"),
|
2937 |
-
matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ "./node_modules/lodash/_matchesStrictComparable.js"),
|
2938 |
-
toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
|
2939 |
-
|
2940 |
-
/** Used to compose bitmasks for value comparisons. */
|
2941 |
-
var COMPARE_PARTIAL_FLAG = 1,
|
2942 |
-
COMPARE_UNORDERED_FLAG = 2;
|
2943 |
-
|
2944 |
-
/**
|
2945 |
-
* The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
|
2946 |
-
*
|
2947 |
-
* @private
|
2948 |
-
* @param {string} path The path of the property to get.
|
2949 |
-
* @param {*} srcValue The value to match.
|
2950 |
-
* @returns {Function} Returns the new spec function.
|
2951 |
-
*/
|
2952 |
-
function baseMatchesProperty(path, srcValue) {
|
2953 |
-
if (isKey(path) && isStrictComparable(srcValue)) {
|
2954 |
-
return matchesStrictComparable(toKey(path), srcValue);
|
2955 |
-
}
|
2956 |
-
return function(object) {
|
2957 |
-
var objValue = get(object, path);
|
2958 |
-
return (objValue === undefined && objValue === srcValue)
|
2959 |
-
? hasIn(object, path)
|
2960 |
-
: baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
2961 |
-
};
|
2962 |
-
}
|
2963 |
-
|
2964 |
-
module.exports = baseMatchesProperty;
|
2965 |
-
|
2966 |
-
|
2967 |
-
/***/ }),
|
2968 |
-
|
2969 |
-
/***/ "./node_modules/lodash/_baseProperty.js":
|
2970 |
-
/*!**********************************************!*\
|
2971 |
-
!*** ./node_modules/lodash/_baseProperty.js ***!
|
2972 |
-
\**********************************************/
|
2973 |
-
/***/ (function(module) {
|
2974 |
-
|
2975 |
-
/**
|
2976 |
-
* The base implementation of `_.property` without support for deep paths.
|
2977 |
-
*
|
2978 |
-
* @private
|
2979 |
-
* @param {string} key The key of the property to get.
|
2980 |
-
* @returns {Function} Returns the new accessor function.
|
2981 |
-
*/
|
2982 |
-
function baseProperty(key) {
|
2983 |
-
return function(object) {
|
2984 |
-
return object == null ? undefined : object[key];
|
2985 |
-
};
|
2986 |
-
}
|
2987 |
-
|
2988 |
-
module.exports = baseProperty;
|
2989 |
-
|
2990 |
-
|
2991 |
-
/***/ }),
|
2992 |
-
|
2993 |
-
/***/ "./node_modules/lodash/_basePropertyDeep.js":
|
2994 |
-
/*!**************************************************!*\
|
2995 |
-
!*** ./node_modules/lodash/_basePropertyDeep.js ***!
|
2996 |
-
\**************************************************/
|
2997 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
2998 |
-
|
2999 |
-
var baseGet = __webpack_require__(/*! ./_baseGet */ "./node_modules/lodash/_baseGet.js");
|
3000 |
-
|
3001 |
-
/**
|
3002 |
-
* A specialized version of `baseProperty` which supports deep paths.
|
3003 |
-
*
|
3004 |
-
* @private
|
3005 |
-
* @param {Array|string} path The path of the property to get.
|
3006 |
-
* @returns {Function} Returns the new accessor function.
|
3007 |
-
*/
|
3008 |
-
function basePropertyDeep(path) {
|
3009 |
-
return function(object) {
|
3010 |
-
return baseGet(object, path);
|
3011 |
-
};
|
3012 |
-
}
|
3013 |
-
|
3014 |
-
module.exports = basePropertyDeep;
|
3015 |
-
|
3016 |
-
|
3017 |
-
/***/ }),
|
3018 |
-
|
3019 |
-
/***/ "./node_modules/lodash/_baseTimes.js":
|
3020 |
-
/*!*******************************************!*\
|
3021 |
-
!*** ./node_modules/lodash/_baseTimes.js ***!
|
3022 |
-
\*******************************************/
|
3023 |
-
/***/ (function(module) {
|
3024 |
-
|
3025 |
-
/**
|
3026 |
-
* The base implementation of `_.times` without support for iteratee shorthands
|
3027 |
-
* or max array length checks.
|
3028 |
-
*
|
3029 |
-
* @private
|
3030 |
-
* @param {number} n The number of times to invoke `iteratee`.
|
3031 |
-
* @param {Function} iteratee The function invoked per iteration.
|
3032 |
-
* @returns {Array} Returns the array of results.
|
3033 |
-
*/
|
3034 |
-
function baseTimes(n, iteratee) {
|
3035 |
-
var index = -1,
|
3036 |
-
result = Array(n);
|
3037 |
-
|
3038 |
-
while (++index < n) {
|
3039 |
-
result[index] = iteratee(index);
|
3040 |
-
}
|
3041 |
-
return result;
|
3042 |
-
}
|
3043 |
-
|
3044 |
-
module.exports = baseTimes;
|
3045 |
-
|
3046 |
-
|
3047 |
-
/***/ }),
|
3048 |
-
|
3049 |
-
/***/ "./node_modules/lodash/_baseToString.js":
|
3050 |
-
/*!**********************************************!*\
|
3051 |
-
!*** ./node_modules/lodash/_baseToString.js ***!
|
3052 |
-
\**********************************************/
|
3053 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3054 |
-
|
3055 |
-
var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js"),
|
3056 |
-
arrayMap = __webpack_require__(/*! ./_arrayMap */ "./node_modules/lodash/_arrayMap.js"),
|
3057 |
-
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
3058 |
-
isSymbol = __webpack_require__(/*! ./isSymbol */ "./node_modules/lodash/isSymbol.js");
|
3059 |
-
|
3060 |
-
/** Used as references for various `Number` constants. */
|
3061 |
-
var INFINITY = 1 / 0;
|
3062 |
-
|
3063 |
-
/** Used to convert symbols to primitives and strings. */
|
3064 |
-
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
3065 |
-
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
3066 |
-
|
3067 |
-
/**
|
3068 |
-
* The base implementation of `_.toString` which doesn't convert nullish
|
3069 |
-
* values to empty strings.
|
3070 |
-
*
|
3071 |
-
* @private
|
3072 |
-
* @param {*} value The value to process.
|
3073 |
-
* @returns {string} Returns the string.
|
3074 |
-
*/
|
3075 |
-
function baseToString(value) {
|
3076 |
-
// Exit early for strings to avoid a performance hit in some environments.
|
3077 |
-
if (typeof value == 'string') {
|
3078 |
-
return value;
|
3079 |
-
}
|
3080 |
-
if (isArray(value)) {
|
3081 |
-
// Recursively convert values (susceptible to call stack limits).
|
3082 |
-
return arrayMap(value, baseToString) + '';
|
3083 |
-
}
|
3084 |
-
if (isSymbol(value)) {
|
3085 |
-
return symbolToString ? symbolToString.call(value) : '';
|
3086 |
-
}
|
3087 |
-
var result = (value + '');
|
3088 |
-
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
3089 |
-
}
|
3090 |
-
|
3091 |
-
module.exports = baseToString;
|
3092 |
-
|
3093 |
-
|
3094 |
-
/***/ }),
|
3095 |
-
|
3096 |
-
/***/ "./node_modules/lodash/_baseUnary.js":
|
3097 |
-
/*!*******************************************!*\
|
3098 |
-
!*** ./node_modules/lodash/_baseUnary.js ***!
|
3099 |
-
\*******************************************/
|
3100 |
-
/***/ (function(module) {
|
3101 |
-
|
3102 |
-
/**
|
3103 |
-
* The base implementation of `_.unary` without support for storing metadata.
|
3104 |
-
*
|
3105 |
-
* @private
|
3106 |
-
* @param {Function} func The function to cap arguments for.
|
3107 |
-
* @returns {Function} Returns the new capped function.
|
3108 |
-
*/
|
3109 |
-
function baseUnary(func) {
|
3110 |
-
return function(value) {
|
3111 |
-
return func(value);
|
3112 |
-
};
|
3113 |
-
}
|
3114 |
-
|
3115 |
-
module.exports = baseUnary;
|
3116 |
-
|
3117 |
-
|
3118 |
-
/***/ }),
|
3119 |
-
|
3120 |
-
/***/ "./node_modules/lodash/_cacheHas.js":
|
3121 |
-
/*!******************************************!*\
|
3122 |
-
!*** ./node_modules/lodash/_cacheHas.js ***!
|
3123 |
-
\******************************************/
|
3124 |
-
/***/ (function(module) {
|
3125 |
-
|
3126 |
-
/**
|
3127 |
-
* Checks if a `cache` value for `key` exists.
|
3128 |
-
*
|
3129 |
-
* @private
|
3130 |
-
* @param {Object} cache The cache to query.
|
3131 |
-
* @param {string} key The key of the entry to check.
|
3132 |
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
3133 |
-
*/
|
3134 |
-
function cacheHas(cache, key) {
|
3135 |
-
return cache.has(key);
|
3136 |
-
}
|
3137 |
-
|
3138 |
-
module.exports = cacheHas;
|
3139 |
-
|
3140 |
-
|
3141 |
-
/***/ }),
|
3142 |
-
|
3143 |
-
/***/ "./node_modules/lodash/_castFunction.js":
|
3144 |
-
/*!**********************************************!*\
|
3145 |
-
!*** ./node_modules/lodash/_castFunction.js ***!
|
3146 |
-
\**********************************************/
|
3147 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3148 |
-
|
3149 |
-
var identity = __webpack_require__(/*! ./identity */ "./node_modules/lodash/identity.js");
|
3150 |
-
|
3151 |
-
/**
|
3152 |
-
* Casts `value` to `identity` if it's not a function.
|
3153 |
-
*
|
3154 |
-
* @private
|
3155 |
-
* @param {*} value The value to inspect.
|
3156 |
-
* @returns {Function} Returns cast function.
|
3157 |
-
*/
|
3158 |
-
function castFunction(value) {
|
3159 |
-
return typeof value == 'function' ? value : identity;
|
3160 |
-
}
|
3161 |
-
|
3162 |
-
module.exports = castFunction;
|
3163 |
-
|
3164 |
-
|
3165 |
-
/***/ }),
|
3166 |
-
|
3167 |
-
/***/ "./node_modules/lodash/_castPath.js":
|
3168 |
-
/*!******************************************!*\
|
3169 |
-
!*** ./node_modules/lodash/_castPath.js ***!
|
3170 |
-
\******************************************/
|
3171 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3172 |
-
|
3173 |
-
var isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
3174 |
-
isKey = __webpack_require__(/*! ./_isKey */ "./node_modules/lodash/_isKey.js"),
|
3175 |
-
stringToPath = __webpack_require__(/*! ./_stringToPath */ "./node_modules/lodash/_stringToPath.js"),
|
3176 |
-
toString = __webpack_require__(/*! ./toString */ "./node_modules/lodash/toString.js");
|
3177 |
-
|
3178 |
-
/**
|
3179 |
-
* Casts `value` to a path array if it's not one.
|
3180 |
-
*
|
3181 |
-
* @private
|
3182 |
-
* @param {*} value The value to inspect.
|
3183 |
-
* @param {Object} [object] The object to query keys on.
|
3184 |
-
* @returns {Array} Returns the cast property path array.
|
3185 |
-
*/
|
3186 |
-
function castPath(value, object) {
|
3187 |
-
if (isArray(value)) {
|
3188 |
-
return value;
|
3189 |
-
}
|
3190 |
-
return isKey(value, object) ? [value] : stringToPath(toString(value));
|
3191 |
-
}
|
3192 |
-
|
3193 |
-
module.exports = castPath;
|
3194 |
-
|
3195 |
-
|
3196 |
-
/***/ }),
|
3197 |
-
|
3198 |
-
/***/ "./node_modules/lodash/_cloneArrayBuffer.js":
|
3199 |
-
/*!**************************************************!*\
|
3200 |
-
!*** ./node_modules/lodash/_cloneArrayBuffer.js ***!
|
3201 |
-
\**************************************************/
|
3202 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3203 |
-
|
3204 |
-
var Uint8Array = __webpack_require__(/*! ./_Uint8Array */ "./node_modules/lodash/_Uint8Array.js");
|
3205 |
-
|
3206 |
-
/**
|
3207 |
-
* Creates a clone of `arrayBuffer`.
|
3208 |
-
*
|
3209 |
-
* @private
|
3210 |
-
* @param {ArrayBuffer} arrayBuffer The array buffer to clone.
|
3211 |
-
* @returns {ArrayBuffer} Returns the cloned array buffer.
|
3212 |
-
*/
|
3213 |
-
function cloneArrayBuffer(arrayBuffer) {
|
3214 |
-
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
3215 |
-
new Uint8Array(result).set(new Uint8Array(arrayBuffer));
|
3216 |
-
return result;
|
3217 |
-
}
|
3218 |
-
|
3219 |
-
module.exports = cloneArrayBuffer;
|
3220 |
-
|
3221 |
-
|
3222 |
-
/***/ }),
|
3223 |
-
|
3224 |
-
/***/ "./node_modules/lodash/_cloneBuffer.js":
|
3225 |
-
/*!*********************************************!*\
|
3226 |
-
!*** ./node_modules/lodash/_cloneBuffer.js ***!
|
3227 |
-
\*********************************************/
|
3228 |
-
/***/ (function(module, exports, __webpack_require__) {
|
3229 |
-
|
3230 |
-
/* module decorator */ module = __webpack_require__.nmd(module);
|
3231 |
-
var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
3232 |
-
|
3233 |
-
/** Detect free variable `exports`. */
|
3234 |
-
var freeExports = true && exports && !exports.nodeType && exports;
|
3235 |
-
|
3236 |
-
/** Detect free variable `module`. */
|
3237 |
-
var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
|
3238 |
-
|
3239 |
-
/** Detect the popular CommonJS extension `module.exports`. */
|
3240 |
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
3241 |
-
|
3242 |
-
/** Built-in value references. */
|
3243 |
-
var Buffer = moduleExports ? root.Buffer : undefined,
|
3244 |
-
allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
|
3245 |
-
|
3246 |
-
/**
|
3247 |
-
* Creates a clone of `buffer`.
|
3248 |
-
*
|
3249 |
-
* @private
|
3250 |
-
* @param {Buffer} buffer The buffer to clone.
|
3251 |
-
* @param {boolean} [isDeep] Specify a deep clone.
|
3252 |
-
* @returns {Buffer} Returns the cloned buffer.
|
3253 |
-
*/
|
3254 |
-
function cloneBuffer(buffer, isDeep) {
|
3255 |
-
if (isDeep) {
|
3256 |
-
return buffer.slice();
|
3257 |
-
}
|
3258 |
-
var length = buffer.length,
|
3259 |
-
result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
|
3260 |
-
|
3261 |
-
buffer.copy(result);
|
3262 |
-
return result;
|
3263 |
-
}
|
3264 |
-
|
3265 |
-
module.exports = cloneBuffer;
|
3266 |
-
|
3267 |
-
|
3268 |
-
/***/ }),
|
3269 |
-
|
3270 |
-
/***/ "./node_modules/lodash/_cloneDataView.js":
|
3271 |
-
/*!***********************************************!*\
|
3272 |
-
!*** ./node_modules/lodash/_cloneDataView.js ***!
|
3273 |
-
\***********************************************/
|
3274 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3275 |
-
|
3276 |
-
var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ "./node_modules/lodash/_cloneArrayBuffer.js");
|
3277 |
-
|
3278 |
-
/**
|
3279 |
-
* Creates a clone of `dataView`.
|
3280 |
-
*
|
3281 |
-
* @private
|
3282 |
-
* @param {Object} dataView The data view to clone.
|
3283 |
-
* @param {boolean} [isDeep] Specify a deep clone.
|
3284 |
-
* @returns {Object} Returns the cloned data view.
|
3285 |
-
*/
|
3286 |
-
function cloneDataView(dataView, isDeep) {
|
3287 |
-
var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
|
3288 |
-
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
|
3289 |
-
}
|
3290 |
-
|
3291 |
-
module.exports = cloneDataView;
|
3292 |
-
|
3293 |
-
|
3294 |
-
/***/ }),
|
3295 |
-
|
3296 |
-
/***/ "./node_modules/lodash/_cloneRegExp.js":
|
3297 |
-
/*!*********************************************!*\
|
3298 |
-
!*** ./node_modules/lodash/_cloneRegExp.js ***!
|
3299 |
-
\*********************************************/
|
3300 |
-
/***/ (function(module) {
|
3301 |
-
|
3302 |
-
/** Used to match `RegExp` flags from their coerced string values. */
|
3303 |
-
var reFlags = /\w*$/;
|
3304 |
-
|
3305 |
-
/**
|
3306 |
-
* Creates a clone of `regexp`.
|
3307 |
-
*
|
3308 |
-
* @private
|
3309 |
-
* @param {Object} regexp The regexp to clone.
|
3310 |
-
* @returns {Object} Returns the cloned regexp.
|
3311 |
-
*/
|
3312 |
-
function cloneRegExp(regexp) {
|
3313 |
-
var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
|
3314 |
-
result.lastIndex = regexp.lastIndex;
|
3315 |
-
return result;
|
3316 |
-
}
|
3317 |
-
|
3318 |
-
module.exports = cloneRegExp;
|
3319 |
-
|
3320 |
-
|
3321 |
-
/***/ }),
|
3322 |
-
|
3323 |
-
/***/ "./node_modules/lodash/_cloneSymbol.js":
|
3324 |
-
/*!*********************************************!*\
|
3325 |
-
!*** ./node_modules/lodash/_cloneSymbol.js ***!
|
3326 |
-
\*********************************************/
|
3327 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3328 |
-
|
3329 |
-
var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js");
|
3330 |
-
|
3331 |
-
/** Used to convert symbols to primitives and strings. */
|
3332 |
-
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
3333 |
-
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
3334 |
-
|
3335 |
-
/**
|
3336 |
-
* Creates a clone of the `symbol` object.
|
3337 |
-
*
|
3338 |
-
* @private
|
3339 |
-
* @param {Object} symbol The symbol object to clone.
|
3340 |
-
* @returns {Object} Returns the cloned symbol object.
|
3341 |
-
*/
|
3342 |
-
function cloneSymbol(symbol) {
|
3343 |
-
return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
|
3344 |
-
}
|
3345 |
-
|
3346 |
-
module.exports = cloneSymbol;
|
3347 |
-
|
3348 |
-
|
3349 |
-
/***/ }),
|
3350 |
-
|
3351 |
-
/***/ "./node_modules/lodash/_cloneTypedArray.js":
|
3352 |
-
/*!*************************************************!*\
|
3353 |
-
!*** ./node_modules/lodash/_cloneTypedArray.js ***!
|
3354 |
-
\*************************************************/
|
3355 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3356 |
-
|
3357 |
-
var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ "./node_modules/lodash/_cloneArrayBuffer.js");
|
3358 |
-
|
3359 |
-
/**
|
3360 |
-
* Creates a clone of `typedArray`.
|
3361 |
-
*
|
3362 |
-
* @private
|
3363 |
-
* @param {Object} typedArray The typed array to clone.
|
3364 |
-
* @param {boolean} [isDeep] Specify a deep clone.
|
3365 |
-
* @returns {Object} Returns the cloned typed array.
|
3366 |
-
*/
|
3367 |
-
function cloneTypedArray(typedArray, isDeep) {
|
3368 |
-
var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
|
3369 |
-
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
3370 |
-
}
|
3371 |
-
|
3372 |
-
module.exports = cloneTypedArray;
|
3373 |
-
|
3374 |
-
|
3375 |
-
/***/ }),
|
3376 |
-
|
3377 |
-
/***/ "./node_modules/lodash/_copyArray.js":
|
3378 |
-
/*!*******************************************!*\
|
3379 |
-
!*** ./node_modules/lodash/_copyArray.js ***!
|
3380 |
-
\*******************************************/
|
3381 |
-
/***/ (function(module) {
|
3382 |
-
|
3383 |
-
/**
|
3384 |
-
* Copies the values of `source` to `array`.
|
3385 |
-
*
|
3386 |
-
* @private
|
3387 |
-
* @param {Array} source The array to copy values from.
|
3388 |
-
* @param {Array} [array=[]] The array to copy values to.
|
3389 |
-
* @returns {Array} Returns `array`.
|
3390 |
-
*/
|
3391 |
-
function copyArray(source, array) {
|
3392 |
-
var index = -1,
|
3393 |
-
length = source.length;
|
3394 |
-
|
3395 |
-
array || (array = Array(length));
|
3396 |
-
while (++index < length) {
|
3397 |
-
array[index] = source[index];
|
3398 |
-
}
|
3399 |
-
return array;
|
3400 |
-
}
|
3401 |
-
|
3402 |
-
module.exports = copyArray;
|
3403 |
-
|
3404 |
-
|
3405 |
-
/***/ }),
|
3406 |
-
|
3407 |
-
/***/ "./node_modules/lodash/_copyObject.js":
|
3408 |
-
/*!********************************************!*\
|
3409 |
-
!*** ./node_modules/lodash/_copyObject.js ***!
|
3410 |
-
\********************************************/
|
3411 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3412 |
-
|
3413 |
-
var assignValue = __webpack_require__(/*! ./_assignValue */ "./node_modules/lodash/_assignValue.js"),
|
3414 |
-
baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ "./node_modules/lodash/_baseAssignValue.js");
|
3415 |
-
|
3416 |
-
/**
|
3417 |
-
* Copies properties of `source` to `object`.
|
3418 |
-
*
|
3419 |
-
* @private
|
3420 |
-
* @param {Object} source The object to copy properties from.
|
3421 |
-
* @param {Array} props The property identifiers to copy.
|
3422 |
-
* @param {Object} [object={}] The object to copy properties to.
|
3423 |
-
* @param {Function} [customizer] The function to customize copied values.
|
3424 |
-
* @returns {Object} Returns `object`.
|
3425 |
-
*/
|
3426 |
-
function copyObject(source, props, object, customizer) {
|
3427 |
-
var isNew = !object;
|
3428 |
-
object || (object = {});
|
3429 |
-
|
3430 |
-
var index = -1,
|
3431 |
-
length = props.length;
|
3432 |
-
|
3433 |
-
while (++index < length) {
|
3434 |
-
var key = props[index];
|
3435 |
-
|
3436 |
-
var newValue = customizer
|
3437 |
-
? customizer(object[key], source[key], key, object, source)
|
3438 |
-
: undefined;
|
3439 |
-
|
3440 |
-
if (newValue === undefined) {
|
3441 |
-
newValue = source[key];
|
3442 |
-
}
|
3443 |
-
if (isNew) {
|
3444 |
-
baseAssignValue(object, key, newValue);
|
3445 |
-
} else {
|
3446 |
-
assignValue(object, key, newValue);
|
3447 |
-
}
|
3448 |
-
}
|
3449 |
-
return object;
|
3450 |
-
}
|
3451 |
-
|
3452 |
-
module.exports = copyObject;
|
3453 |
-
|
3454 |
-
|
3455 |
-
/***/ }),
|
3456 |
-
|
3457 |
-
/***/ "./node_modules/lodash/_copySymbols.js":
|
3458 |
-
/*!*********************************************!*\
|
3459 |
-
!*** ./node_modules/lodash/_copySymbols.js ***!
|
3460 |
-
\*********************************************/
|
3461 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3462 |
-
|
3463 |
-
var copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
|
3464 |
-
getSymbols = __webpack_require__(/*! ./_getSymbols */ "./node_modules/lodash/_getSymbols.js");
|
3465 |
-
|
3466 |
-
/**
|
3467 |
-
* Copies own symbols of `source` to `object`.
|
3468 |
-
*
|
3469 |
-
* @private
|
3470 |
-
* @param {Object} source The object to copy symbols from.
|
3471 |
-
* @param {Object} [object={}] The object to copy symbols to.
|
3472 |
-
* @returns {Object} Returns `object`.
|
3473 |
-
*/
|
3474 |
-
function copySymbols(source, object) {
|
3475 |
-
return copyObject(source, getSymbols(source), object);
|
3476 |
-
}
|
3477 |
-
|
3478 |
-
module.exports = copySymbols;
|
3479 |
-
|
3480 |
-
|
3481 |
-
/***/ }),
|
3482 |
-
|
3483 |
-
/***/ "./node_modules/lodash/_copySymbolsIn.js":
|
3484 |
-
/*!***********************************************!*\
|
3485 |
-
!*** ./node_modules/lodash/_copySymbolsIn.js ***!
|
3486 |
-
\***********************************************/
|
3487 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3488 |
-
|
3489 |
-
var copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
|
3490 |
-
getSymbolsIn = __webpack_require__(/*! ./_getSymbolsIn */ "./node_modules/lodash/_getSymbolsIn.js");
|
3491 |
-
|
3492 |
-
/**
|
3493 |
-
* Copies own and inherited symbols of `source` to `object`.
|
3494 |
-
*
|
3495 |
-
* @private
|
3496 |
-
* @param {Object} source The object to copy symbols from.
|
3497 |
-
* @param {Object} [object={}] The object to copy symbols to.
|
3498 |
-
* @returns {Object} Returns `object`.
|
3499 |
-
*/
|
3500 |
-
function copySymbolsIn(source, object) {
|
3501 |
-
return copyObject(source, getSymbolsIn(source), object);
|
3502 |
-
}
|
3503 |
-
|
3504 |
-
module.exports = copySymbolsIn;
|
3505 |
-
|
3506 |
-
|
3507 |
-
/***/ }),
|
3508 |
-
|
3509 |
-
/***/ "./node_modules/lodash/_coreJsData.js":
|
3510 |
-
/*!********************************************!*\
|
3511 |
-
!*** ./node_modules/lodash/_coreJsData.js ***!
|
3512 |
-
\********************************************/
|
3513 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3514 |
-
|
3515 |
-
var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
|
3516 |
-
|
3517 |
-
/** Used to detect overreaching core-js shims. */
|
3518 |
-
var coreJsData = root['__core-js_shared__'];
|
3519 |
-
|
3520 |
-
module.exports = coreJsData;
|
3521 |
-
|
3522 |
-
|
3523 |
-
/***/ }),
|
3524 |
-
|
3525 |
-
/***/ "./node_modules/lodash/_createBaseEach.js":
|
3526 |
-
/*!************************************************!*\
|
3527 |
-
!*** ./node_modules/lodash/_createBaseEach.js ***!
|
3528 |
-
\************************************************/
|
3529 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3530 |
-
|
3531 |
-
var isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./node_modules/lodash/isArrayLike.js");
|
3532 |
-
|
3533 |
-
/**
|
3534 |
-
* Creates a `baseEach` or `baseEachRight` function.
|
3535 |
-
*
|
3536 |
-
* @private
|
3537 |
-
* @param {Function} eachFunc The function to iterate over a collection.
|
3538 |
-
* @param {boolean} [fromRight] Specify iterating from right to left.
|
3539 |
-
* @returns {Function} Returns the new base function.
|
3540 |
-
*/
|
3541 |
-
function createBaseEach(eachFunc, fromRight) {
|
3542 |
-
return function(collection, iteratee) {
|
3543 |
-
if (collection == null) {
|
3544 |
-
return collection;
|
3545 |
-
}
|
3546 |
-
if (!isArrayLike(collection)) {
|
3547 |
-
return eachFunc(collection, iteratee);
|
3548 |
-
}
|
3549 |
-
var length = collection.length,
|
3550 |
-
index = fromRight ? length : -1,
|
3551 |
-
iterable = Object(collection);
|
3552 |
-
|
3553 |
-
while ((fromRight ? index-- : ++index < length)) {
|
3554 |
-
if (iteratee(iterable[index], index, iterable) === false) {
|
3555 |
-
break;
|
3556 |
-
}
|
3557 |
-
}
|
3558 |
-
return collection;
|
3559 |
-
};
|
3560 |
-
}
|
3561 |
-
|
3562 |
-
module.exports = createBaseEach;
|
3563 |
-
|
3564 |
-
|
3565 |
-
/***/ }),
|
3566 |
-
|
3567 |
-
/***/ "./node_modules/lodash/_createBaseFor.js":
|
3568 |
-
/*!***********************************************!*\
|
3569 |
-
!*** ./node_modules/lodash/_createBaseFor.js ***!
|
3570 |
-
\***********************************************/
|
3571 |
-
/***/ (function(module) {
|
3572 |
-
|
3573 |
-
/**
|
3574 |
-
* Creates a base function for methods like `_.forIn` and `_.forOwn`.
|
3575 |
-
*
|
3576 |
-
* @private
|
3577 |
-
* @param {boolean} [fromRight] Specify iterating from right to left.
|
3578 |
-
* @returns {Function} Returns the new base function.
|
3579 |
-
*/
|
3580 |
-
function createBaseFor(fromRight) {
|
3581 |
-
return function(object, iteratee, keysFunc) {
|
3582 |
-
var index = -1,
|
3583 |
-
iterable = Object(object),
|
3584 |
-
props = keysFunc(object),
|
3585 |
-
length = props.length;
|
3586 |
-
|
3587 |
-
while (length--) {
|
3588 |
-
var key = props[fromRight ? length : ++index];
|
3589 |
-
if (iteratee(iterable[key], key, iterable) === false) {
|
3590 |
-
break;
|
3591 |
-
}
|
3592 |
-
}
|
3593 |
-
return object;
|
3594 |
-
};
|
3595 |
-
}
|
3596 |
-
|
3597 |
-
module.exports = createBaseFor;
|
3598 |
-
|
3599 |
-
|
3600 |
-
/***/ }),
|
3601 |
-
|
3602 |
-
/***/ "./node_modules/lodash/_defineProperty.js":
|
3603 |
-
/*!************************************************!*\
|
3604 |
-
!*** ./node_modules/lodash/_defineProperty.js ***!
|
3605 |
-
\************************************************/
|
3606 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3607 |
-
|
3608 |
-
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js");
|
3609 |
-
|
3610 |
-
var defineProperty = (function() {
|
3611 |
-
try {
|
3612 |
-
var func = getNative(Object, 'defineProperty');
|
3613 |
-
func({}, '', {});
|
3614 |
-
return func;
|
3615 |
-
} catch (e) {}
|
3616 |
-
}());
|
3617 |
-
|
3618 |
-
module.exports = defineProperty;
|
3619 |
-
|
3620 |
-
|
3621 |
-
/***/ }),
|
3622 |
-
|
3623 |
-
/***/ "./node_modules/lodash/_equalArrays.js":
|
3624 |
-
/*!*********************************************!*\
|
3625 |
-
!*** ./node_modules/lodash/_equalArrays.js ***!
|
3626 |
-
\*********************************************/
|
3627 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3628 |
-
|
3629 |
-
var SetCache = __webpack_require__(/*! ./_SetCache */ "./node_modules/lodash/_SetCache.js"),
|
3630 |
-
arraySome = __webpack_require__(/*! ./_arraySome */ "./node_modules/lodash/_arraySome.js"),
|
3631 |
-
cacheHas = __webpack_require__(/*! ./_cacheHas */ "./node_modules/lodash/_cacheHas.js");
|
3632 |
-
|
3633 |
-
/** Used to compose bitmasks for value comparisons. */
|
3634 |
-
var COMPARE_PARTIAL_FLAG = 1,
|
3635 |
-
COMPARE_UNORDERED_FLAG = 2;
|
3636 |
-
|
3637 |
-
/**
|
3638 |
-
* A specialized version of `baseIsEqualDeep` for arrays with support for
|
3639 |
-
* partial deep comparisons.
|
3640 |
-
*
|
3641 |
-
* @private
|
3642 |
-
* @param {Array} array The array to compare.
|
3643 |
-
* @param {Array} other The other array to compare.
|
3644 |
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
3645 |
-
* @param {Function} customizer The function to customize comparisons.
|
3646 |
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
3647 |
-
* @param {Object} stack Tracks traversed `array` and `other` objects.
|
3648 |
-
* @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
|
3649 |
-
*/
|
3650 |
-
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
3651 |
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
|
3652 |
-
arrLength = array.length,
|
3653 |
-
othLength = other.length;
|
3654 |
-
|
3655 |
-
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
3656 |
-
return false;
|
3657 |
-
}
|
3658 |
-
// Check that cyclic values are equal.
|
3659 |
-
var arrStacked = stack.get(array);
|
3660 |
-
var othStacked = stack.get(other);
|
3661 |
-
if (arrStacked && othStacked) {
|
3662 |
-
return arrStacked == other && othStacked == array;
|
3663 |
-
}
|
3664 |
-
var index = -1,
|
3665 |
-
result = true,
|
3666 |
-
seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;
|
3667 |
-
|
3668 |
-
stack.set(array, other);
|
3669 |
-
stack.set(other, array);
|
3670 |
-
|
3671 |
-
// Ignore non-index properties.
|
3672 |
-
while (++index < arrLength) {
|
3673 |
-
var arrValue = array[index],
|
3674 |
-
othValue = other[index];
|
3675 |
-
|
3676 |
-
if (customizer) {
|
3677 |
-
var compared = isPartial
|
3678 |
-
? customizer(othValue, arrValue, index, other, array, stack)
|
3679 |
-
: customizer(arrValue, othValue, index, array, other, stack);
|
3680 |
-
}
|
3681 |
-
if (compared !== undefined) {
|
3682 |
-
if (compared) {
|
3683 |
-
continue;
|
3684 |
-
}
|
3685 |
-
result = false;
|
3686 |
-
break;
|
3687 |
-
}
|
3688 |
-
// Recursively compare arrays (susceptible to call stack limits).
|
3689 |
-
if (seen) {
|
3690 |
-
if (!arraySome(other, function(othValue, othIndex) {
|
3691 |
-
if (!cacheHas(seen, othIndex) &&
|
3692 |
-
(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
|
3693 |
-
return seen.push(othIndex);
|
3694 |
-
}
|
3695 |
-
})) {
|
3696 |
-
result = false;
|
3697 |
-
break;
|
3698 |
-
}
|
3699 |
-
} else if (!(
|
3700 |
-
arrValue === othValue ||
|
3701 |
-
equalFunc(arrValue, othValue, bitmask, customizer, stack)
|
3702 |
-
)) {
|
3703 |
-
result = false;
|
3704 |
-
break;
|
3705 |
-
}
|
3706 |
-
}
|
3707 |
-
stack['delete'](array);
|
3708 |
-
stack['delete'](other);
|
3709 |
-
return result;
|
3710 |
-
}
|
3711 |
-
|
3712 |
-
module.exports = equalArrays;
|
3713 |
-
|
3714 |
-
|
3715 |
-
/***/ }),
|
3716 |
-
|
3717 |
-
/***/ "./node_modules/lodash/_equalByTag.js":
|
3718 |
-
/*!********************************************!*\
|
3719 |
-
!*** ./node_modules/lodash/_equalByTag.js ***!
|
3720 |
-
\********************************************/
|
3721 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3722 |
-
|
3723 |
-
var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js"),
|
3724 |
-
Uint8Array = __webpack_require__(/*! ./_Uint8Array */ "./node_modules/lodash/_Uint8Array.js"),
|
3725 |
-
eq = __webpack_require__(/*! ./eq */ "./node_modules/lodash/eq.js"),
|
3726 |
-
equalArrays = __webpack_require__(/*! ./_equalArrays */ "./node_modules/lodash/_equalArrays.js"),
|
3727 |
-
mapToArray = __webpack_require__(/*! ./_mapToArray */ "./node_modules/lodash/_mapToArray.js"),
|
3728 |
-
setToArray = __webpack_require__(/*! ./_setToArray */ "./node_modules/lodash/_setToArray.js");
|
3729 |
-
|
3730 |
-
/** Used to compose bitmasks for value comparisons. */
|
3731 |
-
var COMPARE_PARTIAL_FLAG = 1,
|
3732 |
-
COMPARE_UNORDERED_FLAG = 2;
|
3733 |
-
|
3734 |
-
/** `Object#toString` result references. */
|
3735 |
-
var boolTag = '[object Boolean]',
|
3736 |
-
dateTag = '[object Date]',
|
3737 |
-
errorTag = '[object Error]',
|
3738 |
-
mapTag = '[object Map]',
|
3739 |
-
numberTag = '[object Number]',
|
3740 |
-
regexpTag = '[object RegExp]',
|
3741 |
-
setTag = '[object Set]',
|
3742 |
-
stringTag = '[object String]',
|
3743 |
-
symbolTag = '[object Symbol]';
|
3744 |
-
|
3745 |
-
var arrayBufferTag = '[object ArrayBuffer]',
|
3746 |
-
dataViewTag = '[object DataView]';
|
3747 |
-
|
3748 |
-
/** Used to convert symbols to primitives and strings. */
|
3749 |
-
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
3750 |
-
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
3751 |
-
|
3752 |
-
/**
|
3753 |
-
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
3754 |
-
* the same `toStringTag`.
|
3755 |
-
*
|
3756 |
-
* **Note:** This function only supports comparing values with tags of
|
3757 |
-
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
|
3758 |
-
*
|
3759 |
-
* @private
|
3760 |
-
* @param {Object} object The object to compare.
|
3761 |
-
* @param {Object} other The other object to compare.
|
3762 |
-
* @param {string} tag The `toStringTag` of the objects to compare.
|
3763 |
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
3764 |
-
* @param {Function} customizer The function to customize comparisons.
|
3765 |
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
3766 |
-
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
3767 |
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
3768 |
-
*/
|
3769 |
-
function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
3770 |
-
switch (tag) {
|
3771 |
-
case dataViewTag:
|
3772 |
-
if ((object.byteLength != other.byteLength) ||
|
3773 |
-
(object.byteOffset != other.byteOffset)) {
|
3774 |
-
return false;
|
3775 |
-
}
|
3776 |
-
object = object.buffer;
|
3777 |
-
other = other.buffer;
|
3778 |
-
|
3779 |
-
case arrayBufferTag:
|
3780 |
-
if ((object.byteLength != other.byteLength) ||
|
3781 |
-
!equalFunc(new Uint8Array(object), new Uint8Array(other))) {
|
3782 |
-
return false;
|
3783 |
-
}
|
3784 |
-
return true;
|
3785 |
-
|
3786 |
-
case boolTag:
|
3787 |
-
case dateTag:
|
3788 |
-
case numberTag:
|
3789 |
-
// Coerce booleans to `1` or `0` and dates to milliseconds.
|
3790 |
-
// Invalid dates are coerced to `NaN`.
|
3791 |
-
return eq(+object, +other);
|
3792 |
-
|
3793 |
-
case errorTag:
|
3794 |
-
return object.name == other.name && object.message == other.message;
|
3795 |
-
|
3796 |
-
case regexpTag:
|
3797 |
-
case stringTag:
|
3798 |
-
// Coerce regexes to strings and treat strings, primitives and objects,
|
3799 |
-
// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
|
3800 |
-
// for more details.
|
3801 |
-
return object == (other + '');
|
3802 |
-
|
3803 |
-
case mapTag:
|
3804 |
-
var convert = mapToArray;
|
3805 |
-
|
3806 |
-
case setTag:
|
3807 |
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
|
3808 |
-
convert || (convert = setToArray);
|
3809 |
-
|
3810 |
-
if (object.size != other.size && !isPartial) {
|
3811 |
-
return false;
|
3812 |
-
}
|
3813 |
-
// Assume cyclic values are equal.
|
3814 |
-
var stacked = stack.get(object);
|
3815 |
-
if (stacked) {
|
3816 |
-
return stacked == other;
|
3817 |
-
}
|
3818 |
-
bitmask |= COMPARE_UNORDERED_FLAG;
|
3819 |
-
|
3820 |
-
// Recursively compare objects (susceptible to call stack limits).
|
3821 |
-
stack.set(object, other);
|
3822 |
-
var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
|
3823 |
-
stack['delete'](object);
|
3824 |
-
return result;
|
3825 |
-
|
3826 |
-
case symbolTag:
|
3827 |
-
if (symbolValueOf) {
|
3828 |
-
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
3829 |
-
}
|
3830 |
-
}
|
3831 |
-
return false;
|
3832 |
-
}
|
3833 |
-
|
3834 |
-
module.exports = equalByTag;
|
3835 |
-
|
3836 |
-
|
3837 |
-
/***/ }),
|
3838 |
-
|
3839 |
-
/***/ "./node_modules/lodash/_equalObjects.js":
|
3840 |
-
/*!**********************************************!*\
|
3841 |
-
!*** ./node_modules/lodash/_equalObjects.js ***!
|
3842 |
-
\**********************************************/
|
3843 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3844 |
-
|
3845 |
-
var getAllKeys = __webpack_require__(/*! ./_getAllKeys */ "./node_modules/lodash/_getAllKeys.js");
|
3846 |
-
|
3847 |
-
/** Used to compose bitmasks for value comparisons. */
|
3848 |
-
var COMPARE_PARTIAL_FLAG = 1;
|
3849 |
-
|
3850 |
-
/** Used for built-in method references. */
|
3851 |
-
var objectProto = Object.prototype;
|
3852 |
-
|
3853 |
-
/** Used to check objects for own properties. */
|
3854 |
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
3855 |
-
|
3856 |
-
/**
|
3857 |
-
* A specialized version of `baseIsEqualDeep` for objects with support for
|
3858 |
-
* partial deep comparisons.
|
3859 |
-
*
|
3860 |
-
* @private
|
3861 |
-
* @param {Object} object The object to compare.
|
3862 |
-
* @param {Object} other The other object to compare.
|
3863 |
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
3864 |
-
* @param {Function} customizer The function to customize comparisons.
|
3865 |
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
3866 |
-
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
3867 |
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
3868 |
-
*/
|
3869 |
-
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
3870 |
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
|
3871 |
-
objProps = getAllKeys(object),
|
3872 |
-
objLength = objProps.length,
|
3873 |
-
othProps = getAllKeys(other),
|
3874 |
-
othLength = othProps.length;
|
3875 |
-
|
3876 |
-
if (objLength != othLength && !isPartial) {
|
3877 |
-
return false;
|
3878 |
-
}
|
3879 |
-
var index = objLength;
|
3880 |
-
while (index--) {
|
3881 |
-
var key = objProps[index];
|
3882 |
-
if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
|
3883 |
-
return false;
|
3884 |
-
}
|
3885 |
-
}
|
3886 |
-
// Check that cyclic values are equal.
|
3887 |
-
var objStacked = stack.get(object);
|
3888 |
-
var othStacked = stack.get(other);
|
3889 |
-
if (objStacked && othStacked) {
|
3890 |
-
return objStacked == other && othStacked == object;
|
3891 |
-
}
|
3892 |
-
var result = true;
|
3893 |
-
stack.set(object, other);
|
3894 |
-
stack.set(other, object);
|
3895 |
-
|
3896 |
-
var skipCtor = isPartial;
|
3897 |
-
while (++index < objLength) {
|
3898 |
-
key = objProps[index];
|
3899 |
-
var objValue = object[key],
|
3900 |
-
othValue = other[key];
|
3901 |
-
|
3902 |
-
if (customizer) {
|
3903 |
-
var compared = isPartial
|
3904 |
-
? customizer(othValue, objValue, key, other, object, stack)
|
3905 |
-
: customizer(objValue, othValue, key, object, other, stack);
|
3906 |
-
}
|
3907 |
-
// Recursively compare objects (susceptible to call stack limits).
|
3908 |
-
if (!(compared === undefined
|
3909 |
-
? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
|
3910 |
-
: compared
|
3911 |
-
)) {
|
3912 |
-
result = false;
|
3913 |
-
break;
|
3914 |
-
}
|
3915 |
-
skipCtor || (skipCtor = key == 'constructor');
|
3916 |
-
}
|
3917 |
-
if (result && !skipCtor) {
|
3918 |
-
var objCtor = object.constructor,
|
3919 |
-
othCtor = other.constructor;
|
3920 |
-
|
3921 |
-
// Non `Object` object instances with different constructors are not equal.
|
3922 |
-
if (objCtor != othCtor &&
|
3923 |
-
('constructor' in object && 'constructor' in other) &&
|
3924 |
-
!(typeof objCtor == 'function' && objCtor instanceof objCtor &&
|
3925 |
-
typeof othCtor == 'function' && othCtor instanceof othCtor)) {
|
3926 |
-
result = false;
|
3927 |
-
}
|
3928 |
-
}
|
3929 |
-
stack['delete'](object);
|
3930 |
-
stack['delete'](other);
|
3931 |
-
return result;
|
3932 |
-
}
|
3933 |
-
|
3934 |
-
module.exports = equalObjects;
|
3935 |
-
|
3936 |
-
|
3937 |
-
/***/ }),
|
3938 |
-
|
3939 |
-
/***/ "./node_modules/lodash/_freeGlobal.js":
|
3940 |
-
/*!********************************************!*\
|
3941 |
-
!*** ./node_modules/lodash/_freeGlobal.js ***!
|
3942 |
-
\********************************************/
|
3943 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3944 |
-
|
3945 |
-
/** Detect free variable `global` from Node.js. */
|
3946 |
-
var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
|
3947 |
-
|
3948 |
-
module.exports = freeGlobal;
|
3949 |
-
|
3950 |
-
|
3951 |
-
/***/ }),
|
3952 |
-
|
3953 |
-
/***/ "./node_modules/lodash/_getAllKeys.js":
|
3954 |
-
/*!********************************************!*\
|
3955 |
-
!*** ./node_modules/lodash/_getAllKeys.js ***!
|
3956 |
-
\********************************************/
|
3957 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3958 |
-
|
3959 |
-
var baseGetAllKeys = __webpack_require__(/*! ./_baseGetAllKeys */ "./node_modules/lodash/_baseGetAllKeys.js"),
|
3960 |
-
getSymbols = __webpack_require__(/*! ./_getSymbols */ "./node_modules/lodash/_getSymbols.js"),
|
3961 |
-
keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js");
|
3962 |
-
|
3963 |
-
/**
|
3964 |
-
* Creates an array of own enumerable property names and symbols of `object`.
|
3965 |
-
*
|
3966 |
-
* @private
|
3967 |
-
* @param {Object} object The object to query.
|
3968 |
-
* @returns {Array} Returns the array of property names and symbols.
|
3969 |
-
*/
|
3970 |
-
function getAllKeys(object) {
|
3971 |
-
return baseGetAllKeys(object, keys, getSymbols);
|
3972 |
-
}
|
3973 |
-
|
3974 |
-
module.exports = getAllKeys;
|
3975 |
-
|
3976 |
-
|
3977 |
-
/***/ }),
|
3978 |
-
|
3979 |
-
/***/ "./node_modules/lodash/_getAllKeysIn.js":
|
3980 |
-
/*!**********************************************!*\
|
3981 |
-
!*** ./node_modules/lodash/_getAllKeysIn.js ***!
|
3982 |
-
\**********************************************/
|
3983 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
3984 |
-
|
3985 |
-
var baseGetAllKeys = __webpack_require__(/*! ./_baseGetAllKeys */ "./node_modules/lodash/_baseGetAllKeys.js"),
|
3986 |
-
getSymbolsIn = __webpack_require__(/*! ./_getSymbolsIn */ "./node_modules/lodash/_getSymbolsIn.js"),
|
3987 |
-
keysIn = __webpack_require__(/*! ./keysIn */ "./node_modules/lodash/keysIn.js");
|
3988 |
-
|
3989 |
-
/**
|
3990 |
-
* Creates an array of own and inherited enumerable property names and
|
3991 |
-
* symbols of `object`.
|
3992 |
-
*
|
3993 |
-
* @private
|
3994 |
-
* @param {Object} object The object to query.
|
3995 |
-
* @returns {Array} Returns the array of property names and symbols.
|
3996 |
-
*/
|
3997 |
-
function getAllKeysIn(object) {
|
3998 |
-
return baseGetAllKeys(object, keysIn, getSymbolsIn);
|
3999 |
-
}
|
4000 |
-
|
4001 |
-
module.exports = getAllKeysIn;
|
4002 |
-
|
4003 |
-
|
4004 |
-
/***/ }),
|
4005 |
-
|
4006 |
-
/***/ "./node_modules/lodash/_getMapData.js":
|
4007 |
-
/*!********************************************!*\
|
4008 |
-
!*** ./node_modules/lodash/_getMapData.js ***!
|
4009 |
-
\********************************************/
|
4010 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4011 |
-
|
4012 |
-
var isKeyable = __webpack_require__(/*! ./_isKeyable */ "./node_modules/lodash/_isKeyable.js");
|
4013 |
-
|
4014 |
-
/**
|
4015 |
-
* Gets the data for `map`.
|
4016 |
-
*
|
4017 |
-
* @private
|
4018 |
-
* @param {Object} map The map to query.
|
4019 |
-
* @param {string} key The reference key.
|
4020 |
-
* @returns {*} Returns the map data.
|
4021 |
-
*/
|
4022 |
-
function getMapData(map, key) {
|
4023 |
-
var data = map.__data__;
|
4024 |
-
return isKeyable(key)
|
4025 |
-
? data[typeof key == 'string' ? 'string' : 'hash']
|
4026 |
-
: data.map;
|
4027 |
-
}
|
4028 |
-
|
4029 |
-
module.exports = getMapData;
|
4030 |
-
|
4031 |
-
|
4032 |
-
/***/ }),
|
4033 |
-
|
4034 |
-
/***/ "./node_modules/lodash/_getMatchData.js":
|
4035 |
-
/*!**********************************************!*\
|
4036 |
-
!*** ./node_modules/lodash/_getMatchData.js ***!
|
4037 |
-
\**********************************************/
|
4038 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4039 |
-
|
4040 |
-
var isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ "./node_modules/lodash/_isStrictComparable.js"),
|
4041 |
-
keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js");
|
4042 |
-
|
4043 |
-
/**
|
4044 |
-
* Gets the property names, values, and compare flags of `object`.
|
4045 |
-
*
|
4046 |
-
* @private
|
4047 |
-
* @param {Object} object The object to query.
|
4048 |
-
* @returns {Array} Returns the match data of `object`.
|
4049 |
-
*/
|
4050 |
-
function getMatchData(object) {
|
4051 |
-
var result = keys(object),
|
4052 |
-
length = result.length;
|
4053 |
-
|
4054 |
-
while (length--) {
|
4055 |
-
var key = result[length],
|
4056 |
-
value = object[key];
|
4057 |
-
|
4058 |
-
result[length] = [key, value, isStrictComparable(value)];
|
4059 |
-
}
|
4060 |
-
return result;
|
4061 |
-
}
|
4062 |
-
|
4063 |
-
module.exports = getMatchData;
|
4064 |
-
|
4065 |
-
|
4066 |
-
/***/ }),
|
4067 |
-
|
4068 |
-
/***/ "./node_modules/lodash/_getNative.js":
|
4069 |
-
/*!*******************************************!*\
|
4070 |
-
!*** ./node_modules/lodash/_getNative.js ***!
|
4071 |
-
\*******************************************/
|
4072 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4073 |
-
|
4074 |
-
var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ "./node_modules/lodash/_baseIsNative.js"),
|
4075 |
-
getValue = __webpack_require__(/*! ./_getValue */ "./node_modules/lodash/_getValue.js");
|
4076 |
-
|
4077 |
-
/**
|
4078 |
-
* Gets the native function at `key` of `object`.
|
4079 |
-
*
|
4080 |
-
* @private
|
4081 |
-
* @param {Object} object The object to query.
|
4082 |
-
* @param {string} key The key of the method to get.
|
4083 |
-
* @returns {*} Returns the function if it's native, else `undefined`.
|
4084 |
-
*/
|
4085 |
-
function getNative(object, key) {
|
4086 |
-
var value = getValue(object, key);
|
4087 |
-
return baseIsNative(value) ? value : undefined;
|
4088 |
-
}
|
4089 |
-
|
4090 |
-
module.exports = getNative;
|
4091 |
-
|
4092 |
-
|
4093 |
-
/***/ }),
|
4094 |
-
|
4095 |
-
/***/ "./node_modules/lodash/_getPrototype.js":
|
4096 |
-
/*!**********************************************!*\
|
4097 |
-
!*** ./node_modules/lodash/_getPrototype.js ***!
|
4098 |
-
\**********************************************/
|
4099 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4100 |
-
|
4101 |
-
var overArg = __webpack_require__(/*! ./_overArg */ "./node_modules/lodash/_overArg.js");
|
4102 |
-
|
4103 |
-
/** Built-in value references. */
|
4104 |
-
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
4105 |
-
|
4106 |
-
module.exports = getPrototype;
|
4107 |
-
|
4108 |
-
|
4109 |
-
/***/ }),
|
4110 |
-
|
4111 |
-
/***/ "./node_modules/lodash/_getRawTag.js":
|
4112 |
-
/*!*******************************************!*\
|
4113 |
-
!*** ./node_modules/lodash/_getRawTag.js ***!
|
4114 |
-
\*******************************************/
|
4115 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4116 |
-
|
4117 |
-
var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js");
|
4118 |
-
|
4119 |
-
/** Used for built-in method references. */
|
4120 |
-
var objectProto = Object.prototype;
|
4121 |
-
|
4122 |
-
/** Used to check objects for own properties. */
|
4123 |
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
4124 |
-
|
4125 |
-
/**
|
4126 |
-
* Used to resolve the
|
4127 |
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
4128 |
-
* of values.
|
4129 |
-
*/
|
4130 |
-
var nativeObjectToString = objectProto.toString;
|
4131 |
-
|
4132 |
-
/** Built-in value references. */
|
4133 |
-
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
4134 |
-
|
4135 |
-
/**
|
4136 |
-
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
4137 |
-
*
|
4138 |
-
* @private
|
4139 |
-
* @param {*} value The value to query.
|
4140 |
-
* @returns {string} Returns the raw `toStringTag`.
|
4141 |
-
*/
|
4142 |
-
function getRawTag(value) {
|
4143 |
-
var isOwn = hasOwnProperty.call(value, symToStringTag),
|
4144 |
-
tag = value[symToStringTag];
|
4145 |
-
|
4146 |
-
try {
|
4147 |
-
value[symToStringTag] = undefined;
|
4148 |
-
var unmasked = true;
|
4149 |
-
} catch (e) {}
|
4150 |
-
|
4151 |
-
var result = nativeObjectToString.call(value);
|
4152 |
-
if (unmasked) {
|
4153 |
-
if (isOwn) {
|
4154 |
-
value[symToStringTag] = tag;
|
4155 |
-
} else {
|
4156 |
-
delete value[symToStringTag];
|
4157 |
-
}
|
4158 |
-
}
|
4159 |
-
return result;
|
4160 |
-
}
|
4161 |
-
|
4162 |
-
module.exports = getRawTag;
|
4163 |
-
|
4164 |
-
|
4165 |
-
/***/ }),
|
4166 |
-
|
4167 |
-
/***/ "./node_modules/lodash/_getSymbols.js":
|
4168 |
-
/*!********************************************!*\
|
4169 |
-
!*** ./node_modules/lodash/_getSymbols.js ***!
|
4170 |
-
\********************************************/
|
4171 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4172 |
-
|
4173 |
-
var arrayFilter = __webpack_require__(/*! ./_arrayFilter */ "./node_modules/lodash/_arrayFilter.js"),
|
4174 |
-
stubArray = __webpack_require__(/*! ./stubArray */ "./node_modules/lodash/stubArray.js");
|
4175 |
-
|
4176 |
-
/** Used for built-in method references. */
|
4177 |
-
var objectProto = Object.prototype;
|
4178 |
-
|
4179 |
-
/** Built-in value references. */
|
4180 |
-
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
4181 |
-
|
4182 |
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
4183 |
-
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
4184 |
-
|
4185 |
-
/**
|
4186 |
-
* Creates an array of the own enumerable symbols of `object`.
|
4187 |
-
*
|
4188 |
-
* @private
|
4189 |
-
* @param {Object} object The object to query.
|
4190 |
-
* @returns {Array} Returns the array of symbols.
|
4191 |
-
*/
|
4192 |
-
var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
4193 |
-
if (object == null) {
|
4194 |
-
return [];
|
4195 |
-
}
|
4196 |
-
object = Object(object);
|
4197 |
-
return arrayFilter(nativeGetSymbols(object), function(symbol) {
|
4198 |
-
return propertyIsEnumerable.call(object, symbol);
|
4199 |
-
});
|
4200 |
-
};
|
4201 |
-
|
4202 |
-
module.exports = getSymbols;
|
4203 |
-
|
4204 |
-
|
4205 |
-
/***/ }),
|
4206 |
-
|
4207 |
-
/***/ "./node_modules/lodash/_getSymbolsIn.js":
|
4208 |
-
/*!**********************************************!*\
|
4209 |
-
!*** ./node_modules/lodash/_getSymbolsIn.js ***!
|
4210 |
-
\**********************************************/
|
4211 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4212 |
-
|
4213 |
-
var arrayPush = __webpack_require__(/*! ./_arrayPush */ "./node_modules/lodash/_arrayPush.js"),
|
4214 |
-
getPrototype = __webpack_require__(/*! ./_getPrototype */ "./node_modules/lodash/_getPrototype.js"),
|
4215 |
-
getSymbols = __webpack_require__(/*! ./_getSymbols */ "./node_modules/lodash/_getSymbols.js"),
|
4216 |
-
stubArray = __webpack_require__(/*! ./stubArray */ "./node_modules/lodash/stubArray.js");
|
4217 |
-
|
4218 |
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
4219 |
-
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
4220 |
-
|
4221 |
-
/**
|
4222 |
-
* Creates an array of the own and inherited enumerable symbols of `object`.
|
4223 |
-
*
|
4224 |
-
* @private
|
4225 |
-
* @param {Object} object The object to query.
|
4226 |
-
* @returns {Array} Returns the array of symbols.
|
4227 |
-
*/
|
4228 |
-
var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
|
4229 |
-
var result = [];
|
4230 |
-
while (object) {
|
4231 |
-
arrayPush(result, getSymbols(object));
|
4232 |
-
object = getPrototype(object);
|
4233 |
-
}
|
4234 |
-
return result;
|
4235 |
-
};
|
4236 |
-
|
4237 |
-
module.exports = getSymbolsIn;
|
4238 |
-
|
4239 |
-
|
4240 |
-
/***/ }),
|
4241 |
-
|
4242 |
-
/***/ "./node_modules/lodash/_getTag.js":
|
4243 |
-
/*!****************************************!*\
|
4244 |
-
!*** ./node_modules/lodash/_getTag.js ***!
|
4245 |
-
\****************************************/
|
4246 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4247 |
-
|
4248 |
-
var DataView = __webpack_require__(/*! ./_DataView */ "./node_modules/lodash/_DataView.js"),
|
4249 |
-
Map = __webpack_require__(/*! ./_Map */ "./node_modules/lodash/_Map.js"),
|
4250 |
-
Promise = __webpack_require__(/*! ./_Promise */ "./node_modules/lodash/_Promise.js"),
|
4251 |
-
Set = __webpack_require__(/*! ./_Set */ "./node_modules/lodash/_Set.js"),
|
4252 |
-
WeakMap = __webpack_require__(/*! ./_WeakMap */ "./node_modules/lodash/_WeakMap.js"),
|
4253 |
-
baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
4254 |
-
toSource = __webpack_require__(/*! ./_toSource */ "./node_modules/lodash/_toSource.js");
|
4255 |
-
|
4256 |
-
/** `Object#toString` result references. */
|
4257 |
-
var mapTag = '[object Map]',
|
4258 |
-
objectTag = '[object Object]',
|
4259 |
-
promiseTag = '[object Promise]',
|
4260 |
-
setTag = '[object Set]',
|
4261 |
-
weakMapTag = '[object WeakMap]';
|
4262 |
-
|
4263 |
-
var dataViewTag = '[object DataView]';
|
4264 |
-
|
4265 |
-
/** Used to detect maps, sets, and weakmaps. */
|
4266 |
-
var dataViewCtorString = toSource(DataView),
|
4267 |
-
mapCtorString = toSource(Map),
|
4268 |
-
promiseCtorString = toSource(Promise),
|
4269 |
-
setCtorString = toSource(Set),
|
4270 |
-
weakMapCtorString = toSource(WeakMap);
|
4271 |
-
|
4272 |
-
/**
|
4273 |
-
* Gets the `toStringTag` of `value`.
|
4274 |
-
*
|
4275 |
-
* @private
|
4276 |
-
* @param {*} value The value to query.
|
4277 |
-
* @returns {string} Returns the `toStringTag`.
|
4278 |
-
*/
|
4279 |
-
var getTag = baseGetTag;
|
4280 |
-
|
4281 |
-
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
4282 |
-
if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
4283 |
-
(Map && getTag(new Map) != mapTag) ||
|
4284 |
-
(Promise && getTag(Promise.resolve()) != promiseTag) ||
|
4285 |
-
(Set && getTag(new Set) != setTag) ||
|
4286 |
-
(WeakMap && getTag(new WeakMap) != weakMapTag)) {
|
4287 |
-
getTag = function(value) {
|
4288 |
-
var result = baseGetTag(value),
|
4289 |
-
Ctor = result == objectTag ? value.constructor : undefined,
|
4290 |
-
ctorString = Ctor ? toSource(Ctor) : '';
|
4291 |
-
|
4292 |
-
if (ctorString) {
|
4293 |
-
switch (ctorString) {
|
4294 |
-
case dataViewCtorString: return dataViewTag;
|
4295 |
-
case mapCtorString: return mapTag;
|
4296 |
-
case promiseCtorString: return promiseTag;
|
4297 |
-
case setCtorString: return setTag;
|
4298 |
-
case weakMapCtorString: return weakMapTag;
|
4299 |
-
}
|
4300 |
-
}
|
4301 |
-
return result;
|
4302 |
-
};
|
4303 |
-
}
|
4304 |
-
|
4305 |
-
module.exports = getTag;
|
4306 |
-
|
4307 |
-
|
4308 |
-
/***/ }),
|
4309 |
-
|
4310 |
-
/***/ "./node_modules/lodash/_getValue.js":
|
4311 |
-
/*!******************************************!*\
|
4312 |
-
!*** ./node_modules/lodash/_getValue.js ***!
|
4313 |
-
\******************************************/
|
4314 |
-
/***/ (function(module) {
|
4315 |
-
|
4316 |
-
/**
|
4317 |
-
* Gets the value at `key` of `object`.
|
4318 |
-
*
|
4319 |
-
* @private
|
4320 |
-
* @param {Object} [object] The object to query.
|
4321 |
-
* @param {string} key The key of the property to get.
|
4322 |
-
* @returns {*} Returns the property value.
|
4323 |
-
*/
|
4324 |
-
function getValue(object, key) {
|
4325 |
-
return object == null ? undefined : object[key];
|
4326 |
-
}
|
4327 |
-
|
4328 |
-
module.exports = getValue;
|
4329 |
-
|
4330 |
-
|
4331 |
-
/***/ }),
|
4332 |
-
|
4333 |
-
/***/ "./node_modules/lodash/_hasPath.js":
|
4334 |
-
/*!*****************************************!*\
|
4335 |
-
!*** ./node_modules/lodash/_hasPath.js ***!
|
4336 |
-
\*****************************************/
|
4337 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4338 |
-
|
4339 |
-
var castPath = __webpack_require__(/*! ./_castPath */ "./node_modules/lodash/_castPath.js"),
|
4340 |
-
isArguments = __webpack_require__(/*! ./isArguments */ "./node_modules/lodash/isArguments.js"),
|
4341 |
-
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
4342 |
-
isIndex = __webpack_require__(/*! ./_isIndex */ "./node_modules/lodash/_isIndex.js"),
|
4343 |
-
isLength = __webpack_require__(/*! ./isLength */ "./node_modules/lodash/isLength.js"),
|
4344 |
-
toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
|
4345 |
-
|
4346 |
-
/**
|
4347 |
-
* Checks if `path` exists on `object`.
|
4348 |
-
*
|
4349 |
-
* @private
|
4350 |
-
* @param {Object} object The object to query.
|
4351 |
-
* @param {Array|string} path The path to check.
|
4352 |
-
* @param {Function} hasFunc The function to check properties.
|
4353 |
-
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
4354 |
-
*/
|
4355 |
-
function hasPath(object, path, hasFunc) {
|
4356 |
-
path = castPath(path, object);
|
4357 |
-
|
4358 |
-
var index = -1,
|
4359 |
-
length = path.length,
|
4360 |
-
result = false;
|
4361 |
-
|
4362 |
-
while (++index < length) {
|
4363 |
-
var key = toKey(path[index]);
|
4364 |
-
if (!(result = object != null && hasFunc(object, key))) {
|
4365 |
-
break;
|
4366 |
-
}
|
4367 |
-
object = object[key];
|
4368 |
-
}
|
4369 |
-
if (result || ++index != length) {
|
4370 |
-
return result;
|
4371 |
-
}
|
4372 |
-
length = object == null ? 0 : object.length;
|
4373 |
-
return !!length && isLength(length) && isIndex(key, length) &&
|
4374 |
-
(isArray(object) || isArguments(object));
|
4375 |
-
}
|
4376 |
-
|
4377 |
-
module.exports = hasPath;
|
4378 |
-
|
4379 |
-
|
4380 |
-
/***/ }),
|
4381 |
-
|
4382 |
-
/***/ "./node_modules/lodash/_hashClear.js":
|
4383 |
-
/*!*******************************************!*\
|
4384 |
-
!*** ./node_modules/lodash/_hashClear.js ***!
|
4385 |
-
\*******************************************/
|
4386 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4387 |
-
|
4388 |
-
var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./node_modules/lodash/_nativeCreate.js");
|
4389 |
-
|
4390 |
-
/**
|
4391 |
-
* Removes all key-value entries from the hash.
|
4392 |
-
*
|
4393 |
-
* @private
|
4394 |
-
* @name clear
|
4395 |
-
* @memberOf Hash
|
4396 |
-
*/
|
4397 |
-
function hashClear() {
|
4398 |
-
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
4399 |
-
this.size = 0;
|
4400 |
-
}
|
4401 |
-
|
4402 |
-
module.exports = hashClear;
|
4403 |
-
|
4404 |
-
|
4405 |
-
/***/ }),
|
4406 |
-
|
4407 |
-
/***/ "./node_modules/lodash/_hashDelete.js":
|
4408 |
-
/*!********************************************!*\
|
4409 |
-
!*** ./node_modules/lodash/_hashDelete.js ***!
|
4410 |
-
\********************************************/
|
4411 |
-
/***/ (function(module) {
|
4412 |
-
|
4413 |
-
/**
|
4414 |
-
* Removes `key` and its value from the hash.
|
4415 |
-
*
|
4416 |
-
* @private
|
4417 |
-
* @name delete
|
4418 |
-
* @memberOf Hash
|
4419 |
-
* @param {Object} hash The hash to modify.
|
4420 |
-
* @param {string} key The key of the value to remove.
|
4421 |
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
4422 |
-
*/
|
4423 |
-
function hashDelete(key) {
|
4424 |
-
var result = this.has(key) && delete this.__data__[key];
|
4425 |
-
this.size -= result ? 1 : 0;
|
4426 |
-
return result;
|
4427 |
-
}
|
4428 |
-
|
4429 |
-
module.exports = hashDelete;
|
4430 |
-
|
4431 |
-
|
4432 |
-
/***/ }),
|
4433 |
-
|
4434 |
-
/***/ "./node_modules/lodash/_hashGet.js":
|
4435 |
-
/*!*****************************************!*\
|
4436 |
-
!*** ./node_modules/lodash/_hashGet.js ***!
|
4437 |
-
\*****************************************/
|
4438 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4439 |
-
|
4440 |
-
var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./node_modules/lodash/_nativeCreate.js");
|
4441 |
-
|
4442 |
-
/** Used to stand-in for `undefined` hash values. */
|
4443 |
-
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
4444 |
-
|
4445 |
-
/** Used for built-in method references. */
|
4446 |
-
var objectProto = Object.prototype;
|
4447 |
-
|
4448 |
-
/** Used to check objects for own properties. */
|
4449 |
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
4450 |
-
|
4451 |
-
/**
|
4452 |
-
* Gets the hash value for `key`.
|
4453 |
-
*
|
4454 |
-
* @private
|
4455 |
-
* @name get
|
4456 |
-
* @memberOf Hash
|
4457 |
-
* @param {string} key The key of the value to get.
|
4458 |
-
* @returns {*} Returns the entry value.
|
4459 |
-
*/
|
4460 |
-
function hashGet(key) {
|
4461 |
-
var data = this.__data__;
|
4462 |
-
if (nativeCreate) {
|
4463 |
-
var result = data[key];
|
4464 |
-
return result === HASH_UNDEFINED ? undefined : result;
|
4465 |
-
}
|
4466 |
-
return hasOwnProperty.call(data, key) ? data[key] : undefined;
|
4467 |
-
}
|
4468 |
-
|
4469 |
-
module.exports = hashGet;
|
4470 |
-
|
4471 |
-
|
4472 |
-
/***/ }),
|
4473 |
-
|
4474 |
-
/***/ "./node_modules/lodash/_hashHas.js":
|
4475 |
-
/*!*****************************************!*\
|
4476 |
-
!*** ./node_modules/lodash/_hashHas.js ***!
|
4477 |
-
\*****************************************/
|
4478 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4479 |
-
|
4480 |
-
var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./node_modules/lodash/_nativeCreate.js");
|
4481 |
-
|
4482 |
-
/** Used for built-in method references. */
|
4483 |
-
var objectProto = Object.prototype;
|
4484 |
-
|
4485 |
-
/** Used to check objects for own properties. */
|
4486 |
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
4487 |
-
|
4488 |
-
/**
|
4489 |
-
* Checks if a hash value for `key` exists.
|
4490 |
-
*
|
4491 |
-
* @private
|
4492 |
-
* @name has
|
4493 |
-
* @memberOf Hash
|
4494 |
-
* @param {string} key The key of the entry to check.
|
4495 |
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
4496 |
-
*/
|
4497 |
-
function hashHas(key) {
|
4498 |
-
var data = this.__data__;
|
4499 |
-
return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
|
4500 |
-
}
|
4501 |
-
|
4502 |
-
module.exports = hashHas;
|
4503 |
-
|
4504 |
-
|
4505 |
-
/***/ }),
|
4506 |
-
|
4507 |
-
/***/ "./node_modules/lodash/_hashSet.js":
|
4508 |
-
/*!*****************************************!*\
|
4509 |
-
!*** ./node_modules/lodash/_hashSet.js ***!
|
4510 |
-
\*****************************************/
|
4511 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4512 |
-
|
4513 |
-
var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./node_modules/lodash/_nativeCreate.js");
|
4514 |
-
|
4515 |
-
/** Used to stand-in for `undefined` hash values. */
|
4516 |
-
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
4517 |
-
|
4518 |
-
/**
|
4519 |
-
* Sets the hash `key` to `value`.
|
4520 |
-
*
|
4521 |
-
* @private
|
4522 |
-
* @name set
|
4523 |
-
* @memberOf Hash
|
4524 |
-
* @param {string} key The key of the value to set.
|
4525 |
-
* @param {*} value The value to set.
|
4526 |
-
* @returns {Object} Returns the hash instance.
|
4527 |
-
*/
|
4528 |
-
function hashSet(key, value) {
|
4529 |
-
var data = this.__data__;
|
4530 |
-
this.size += this.has(key) ? 0 : 1;
|
4531 |
-
data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
|
4532 |
-
return this;
|
4533 |
-
}
|
4534 |
-
|
4535 |
-
module.exports = hashSet;
|
4536 |
-
|
4537 |
-
|
4538 |
-
/***/ }),
|
4539 |
-
|
4540 |
-
/***/ "./node_modules/lodash/_initCloneArray.js":
|
4541 |
-
/*!************************************************!*\
|
4542 |
-
!*** ./node_modules/lodash/_initCloneArray.js ***!
|
4543 |
-
\************************************************/
|
4544 |
-
/***/ (function(module) {
|
4545 |
-
|
4546 |
-
/** Used for built-in method references. */
|
4547 |
-
var objectProto = Object.prototype;
|
4548 |
-
|
4549 |
-
/** Used to check objects for own properties. */
|
4550 |
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
4551 |
-
|
4552 |
-
/**
|
4553 |
-
* Initializes an array clone.
|
4554 |
-
*
|
4555 |
-
* @private
|
4556 |
-
* @param {Array} array The array to clone.
|
4557 |
-
* @returns {Array} Returns the initialized clone.
|
4558 |
-
*/
|
4559 |
-
function initCloneArray(array) {
|
4560 |
-
var length = array.length,
|
4561 |
-
result = new array.constructor(length);
|
4562 |
-
|
4563 |
-
// Add properties assigned by `RegExp#exec`.
|
4564 |
-
if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
|
4565 |
-
result.index = array.index;
|
4566 |
-
result.input = array.input;
|
4567 |
-
}
|
4568 |
-
return result;
|
4569 |
-
}
|
4570 |
-
|
4571 |
-
module.exports = initCloneArray;
|
4572 |
-
|
4573 |
-
|
4574 |
-
/***/ }),
|
4575 |
-
|
4576 |
-
/***/ "./node_modules/lodash/_initCloneByTag.js":
|
4577 |
-
/*!************************************************!*\
|
4578 |
-
!*** ./node_modules/lodash/_initCloneByTag.js ***!
|
4579 |
-
\************************************************/
|
4580 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4581 |
-
|
4582 |
-
var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ "./node_modules/lodash/_cloneArrayBuffer.js"),
|
4583 |
-
cloneDataView = __webpack_require__(/*! ./_cloneDataView */ "./node_modules/lodash/_cloneDataView.js"),
|
4584 |
-
cloneRegExp = __webpack_require__(/*! ./_cloneRegExp */ "./node_modules/lodash/_cloneRegExp.js"),
|
4585 |
-
cloneSymbol = __webpack_require__(/*! ./_cloneSymbol */ "./node_modules/lodash/_cloneSymbol.js"),
|
4586 |
-
cloneTypedArray = __webpack_require__(/*! ./_cloneTypedArray */ "./node_modules/lodash/_cloneTypedArray.js");
|
4587 |
-
|
4588 |
-
/** `Object#toString` result references. */
|
4589 |
-
var boolTag = '[object Boolean]',
|
4590 |
-
dateTag = '[object Date]',
|
4591 |
-
mapTag = '[object Map]',
|
4592 |
-
numberTag = '[object Number]',
|
4593 |
-
regexpTag = '[object RegExp]',
|
4594 |
-
setTag = '[object Set]',
|
4595 |
-
stringTag = '[object String]',
|
4596 |
-
symbolTag = '[object Symbol]';
|
4597 |
-
|
4598 |
-
var arrayBufferTag = '[object ArrayBuffer]',
|
4599 |
-
dataViewTag = '[object DataView]',
|
4600 |
-
float32Tag = '[object Float32Array]',
|
4601 |
-
float64Tag = '[object Float64Array]',
|
4602 |
-
int8Tag = '[object Int8Array]',
|
4603 |
-
int16Tag = '[object Int16Array]',
|
4604 |
-
int32Tag = '[object Int32Array]',
|
4605 |
-
uint8Tag = '[object Uint8Array]',
|
4606 |
-
uint8ClampedTag = '[object Uint8ClampedArray]',
|
4607 |
-
uint16Tag = '[object Uint16Array]',
|
4608 |
-
uint32Tag = '[object Uint32Array]';
|
4609 |
-
|
4610 |
-
/**
|
4611 |
-
* Initializes an object clone based on its `toStringTag`.
|
4612 |
-
*
|
4613 |
-
* **Note:** This function only supports cloning values with tags of
|
4614 |
-
* `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
|
4615 |
-
*
|
4616 |
-
* @private
|
4617 |
-
* @param {Object} object The object to clone.
|
4618 |
-
* @param {string} tag The `toStringTag` of the object to clone.
|
4619 |
-
* @param {boolean} [isDeep] Specify a deep clone.
|
4620 |
-
* @returns {Object} Returns the initialized clone.
|
4621 |
-
*/
|
4622 |
-
function initCloneByTag(object, tag, isDeep) {
|
4623 |
-
var Ctor = object.constructor;
|
4624 |
-
switch (tag) {
|
4625 |
-
case arrayBufferTag:
|
4626 |
-
return cloneArrayBuffer(object);
|
4627 |
-
|
4628 |
-
case boolTag:
|
4629 |
-
case dateTag:
|
4630 |
-
return new Ctor(+object);
|
4631 |
-
|
4632 |
-
case dataViewTag:
|
4633 |
-
return cloneDataView(object, isDeep);
|
4634 |
-
|
4635 |
-
case float32Tag: case float64Tag:
|
4636 |
-
case int8Tag: case int16Tag: case int32Tag:
|
4637 |
-
case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
|
4638 |
-
return cloneTypedArray(object, isDeep);
|
4639 |
-
|
4640 |
-
case mapTag:
|
4641 |
-
return new Ctor;
|
4642 |
-
|
4643 |
-
case numberTag:
|
4644 |
-
case stringTag:
|
4645 |
-
return new Ctor(object);
|
4646 |
-
|
4647 |
-
case regexpTag:
|
4648 |
-
return cloneRegExp(object);
|
4649 |
-
|
4650 |
-
case setTag:
|
4651 |
-
return new Ctor;
|
4652 |
-
|
4653 |
-
case symbolTag:
|
4654 |
-
return cloneSymbol(object);
|
4655 |
-
}
|
4656 |
-
}
|
4657 |
-
|
4658 |
-
module.exports = initCloneByTag;
|
4659 |
-
|
4660 |
-
|
4661 |
-
/***/ }),
|
4662 |
-
|
4663 |
-
/***/ "./node_modules/lodash/_initCloneObject.js":
|
4664 |
-
/*!*************************************************!*\
|
4665 |
-
!*** ./node_modules/lodash/_initCloneObject.js ***!
|
4666 |
-
\*************************************************/
|
4667 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4668 |
-
|
4669 |
-
var baseCreate = __webpack_require__(/*! ./_baseCreate */ "./node_modules/lodash/_baseCreate.js"),
|
4670 |
-
getPrototype = __webpack_require__(/*! ./_getPrototype */ "./node_modules/lodash/_getPrototype.js"),
|
4671 |
-
isPrototype = __webpack_require__(/*! ./_isPrototype */ "./node_modules/lodash/_isPrototype.js");
|
4672 |
-
|
4673 |
-
/**
|
4674 |
-
* Initializes an object clone.
|
4675 |
-
*
|
4676 |
-
* @private
|
4677 |
-
* @param {Object} object The object to clone.
|
4678 |
-
* @returns {Object} Returns the initialized clone.
|
4679 |
-
*/
|
4680 |
-
function initCloneObject(object) {
|
4681 |
-
return (typeof object.constructor == 'function' && !isPrototype(object))
|
4682 |
-
? baseCreate(getPrototype(object))
|
4683 |
-
: {};
|
4684 |
-
}
|
4685 |
-
|
4686 |
-
module.exports = initCloneObject;
|
4687 |
-
|
4688 |
-
|
4689 |
-
/***/ }),
|
4690 |
-
|
4691 |
-
/***/ "./node_modules/lodash/_isIndex.js":
|
4692 |
-
/*!*****************************************!*\
|
4693 |
-
!*** ./node_modules/lodash/_isIndex.js ***!
|
4694 |
-
\*****************************************/
|
4695 |
-
/***/ (function(module) {
|
4696 |
-
|
4697 |
-
/** Used as references for various `Number` constants. */
|
4698 |
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
4699 |
-
|
4700 |
-
/** Used to detect unsigned integer values. */
|
4701 |
-
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
4702 |
-
|
4703 |
-
/**
|
4704 |
-
* Checks if `value` is a valid array-like index.
|
4705 |
-
*
|
4706 |
-
* @private
|
4707 |
-
* @param {*} value The value to check.
|
4708 |
-
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
4709 |
-
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
4710 |
-
*/
|
4711 |
-
function isIndex(value, length) {
|
4712 |
-
var type = typeof value;
|
4713 |
-
length = length == null ? MAX_SAFE_INTEGER : length;
|
4714 |
-
|
4715 |
-
return !!length &&
|
4716 |
-
(type == 'number' ||
|
4717 |
-
(type != 'symbol' && reIsUint.test(value))) &&
|
4718 |
-
(value > -1 && value % 1 == 0 && value < length);
|
4719 |
-
}
|
4720 |
-
|
4721 |
-
module.exports = isIndex;
|
4722 |
-
|
4723 |
-
|
4724 |
-
/***/ }),
|
4725 |
-
|
4726 |
-
/***/ "./node_modules/lodash/_isKey.js":
|
4727 |
-
/*!***************************************!*\
|
4728 |
-
!*** ./node_modules/lodash/_isKey.js ***!
|
4729 |
-
\***************************************/
|
4730 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4731 |
-
|
4732 |
-
var isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
4733 |
-
isSymbol = __webpack_require__(/*! ./isSymbol */ "./node_modules/lodash/isSymbol.js");
|
4734 |
-
|
4735 |
-
/** Used to match property names within property paths. */
|
4736 |
-
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
|
4737 |
-
reIsPlainProp = /^\w*$/;
|
4738 |
-
|
4739 |
-
/**
|
4740 |
-
* Checks if `value` is a property name and not a property path.
|
4741 |
-
*
|
4742 |
-
* @private
|
4743 |
-
* @param {*} value The value to check.
|
4744 |
-
* @param {Object} [object] The object to query keys on.
|
4745 |
-
* @returns {boolean} Returns `true` if `value` is a property name, else `false`.
|
4746 |
-
*/
|
4747 |
-
function isKey(value, object) {
|
4748 |
-
if (isArray(value)) {
|
4749 |
-
return false;
|
4750 |
-
}
|
4751 |
-
var type = typeof value;
|
4752 |
-
if (type == 'number' || type == 'symbol' || type == 'boolean' ||
|
4753 |
-
value == null || isSymbol(value)) {
|
4754 |
-
return true;
|
4755 |
-
}
|
4756 |
-
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
|
4757 |
-
(object != null && value in Object(object));
|
4758 |
-
}
|
4759 |
-
|
4760 |
-
module.exports = isKey;
|
4761 |
-
|
4762 |
-
|
4763 |
-
/***/ }),
|
4764 |
-
|
4765 |
-
/***/ "./node_modules/lodash/_isKeyable.js":
|
4766 |
-
/*!*******************************************!*\
|
4767 |
-
!*** ./node_modules/lodash/_isKeyable.js ***!
|
4768 |
-
\*******************************************/
|
4769 |
-
/***/ (function(module) {
|
4770 |
-
|
4771 |
-
/**
|
4772 |
-
* Checks if `value` is suitable for use as unique object key.
|
4773 |
-
*
|
4774 |
-
* @private
|
4775 |
-
* @param {*} value The value to check.
|
4776 |
-
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
4777 |
-
*/
|
4778 |
-
function isKeyable(value) {
|
4779 |
-
var type = typeof value;
|
4780 |
-
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
4781 |
-
? (value !== '__proto__')
|
4782 |
-
: (value === null);
|
4783 |
-
}
|
4784 |
-
|
4785 |
-
module.exports = isKeyable;
|
4786 |
-
|
4787 |
-
|
4788 |
-
/***/ }),
|
4789 |
-
|
4790 |
-
/***/ "./node_modules/lodash/_isMasked.js":
|
4791 |
-
/*!******************************************!*\
|
4792 |
-
!*** ./node_modules/lodash/_isMasked.js ***!
|
4793 |
-
\******************************************/
|
4794 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4795 |
-
|
4796 |
-
var coreJsData = __webpack_require__(/*! ./_coreJsData */ "./node_modules/lodash/_coreJsData.js");
|
4797 |
-
|
4798 |
-
/** Used to detect methods masquerading as native. */
|
4799 |
-
var maskSrcKey = (function() {
|
4800 |
-
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
4801 |
-
return uid ? ('Symbol(src)_1.' + uid) : '';
|
4802 |
-
}());
|
4803 |
-
|
4804 |
-
/**
|
4805 |
-
* Checks if `func` has its source masked.
|
4806 |
-
*
|
4807 |
-
* @private
|
4808 |
-
* @param {Function} func The function to check.
|
4809 |
-
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
4810 |
-
*/
|
4811 |
-
function isMasked(func) {
|
4812 |
-
return !!maskSrcKey && (maskSrcKey in func);
|
4813 |
-
}
|
4814 |
-
|
4815 |
-
module.exports = isMasked;
|
4816 |
-
|
4817 |
-
|
4818 |
-
/***/ }),
|
4819 |
-
|
4820 |
-
/***/ "./node_modules/lodash/_isPrototype.js":
|
4821 |
-
/*!*********************************************!*\
|
4822 |
-
!*** ./node_modules/lodash/_isPrototype.js ***!
|
4823 |
-
\*********************************************/
|
4824 |
-
/***/ (function(module) {
|
4825 |
-
|
4826 |
-
/** Used for built-in method references. */
|
4827 |
-
var objectProto = Object.prototype;
|
4828 |
-
|
4829 |
-
/**
|
4830 |
-
* Checks if `value` is likely a prototype object.
|
4831 |
-
*
|
4832 |
-
* @private
|
4833 |
-
* @param {*} value The value to check.
|
4834 |
-
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
4835 |
-
*/
|
4836 |
-
function isPrototype(value) {
|
4837 |
-
var Ctor = value && value.constructor,
|
4838 |
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
|
4839 |
-
|
4840 |
-
return value === proto;
|
4841 |
-
}
|
4842 |
-
|
4843 |
-
module.exports = isPrototype;
|
4844 |
-
|
4845 |
-
|
4846 |
-
/***/ }),
|
4847 |
-
|
4848 |
-
/***/ "./node_modules/lodash/_isStrictComparable.js":
|
4849 |
-
/*!****************************************************!*\
|
4850 |
-
!*** ./node_modules/lodash/_isStrictComparable.js ***!
|
4851 |
-
\****************************************************/
|
4852 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4853 |
-
|
4854 |
-
var isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js");
|
4855 |
-
|
4856 |
-
/**
|
4857 |
-
* Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
|
4858 |
-
*
|
4859 |
-
* @private
|
4860 |
-
* @param {*} value The value to check.
|
4861 |
-
* @returns {boolean} Returns `true` if `value` if suitable for strict
|
4862 |
-
* equality comparisons, else `false`.
|
4863 |
-
*/
|
4864 |
-
function isStrictComparable(value) {
|
4865 |
-
return value === value && !isObject(value);
|
4866 |
-
}
|
4867 |
-
|
4868 |
-
module.exports = isStrictComparable;
|
4869 |
-
|
4870 |
-
|
4871 |
-
/***/ }),
|
4872 |
-
|
4873 |
-
/***/ "./node_modules/lodash/_listCacheClear.js":
|
4874 |
-
/*!************************************************!*\
|
4875 |
-
!*** ./node_modules/lodash/_listCacheClear.js ***!
|
4876 |
-
\************************************************/
|
4877 |
-
/***/ (function(module) {
|
4878 |
-
|
4879 |
-
/**
|
4880 |
-
* Removes all key-value entries from the list cache.
|
4881 |
-
*
|
4882 |
-
* @private
|
4883 |
-
* @name clear
|
4884 |
-
* @memberOf ListCache
|
4885 |
-
*/
|
4886 |
-
function listCacheClear() {
|
4887 |
-
this.__data__ = [];
|
4888 |
-
this.size = 0;
|
4889 |
-
}
|
4890 |
-
|
4891 |
-
module.exports = listCacheClear;
|
4892 |
-
|
4893 |
-
|
4894 |
-
/***/ }),
|
4895 |
-
|
4896 |
-
/***/ "./node_modules/lodash/_listCacheDelete.js":
|
4897 |
-
/*!*************************************************!*\
|
4898 |
-
!*** ./node_modules/lodash/_listCacheDelete.js ***!
|
4899 |
-
\*************************************************/
|
4900 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4901 |
-
|
4902 |
-
var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./node_modules/lodash/_assocIndexOf.js");
|
4903 |
-
|
4904 |
-
/** Used for built-in method references. */
|
4905 |
-
var arrayProto = Array.prototype;
|
4906 |
-
|
4907 |
-
/** Built-in value references. */
|
4908 |
-
var splice = arrayProto.splice;
|
4909 |
-
|
4910 |
-
/**
|
4911 |
-
* Removes `key` and its value from the list cache.
|
4912 |
-
*
|
4913 |
-
* @private
|
4914 |
-
* @name delete
|
4915 |
-
* @memberOf ListCache
|
4916 |
-
* @param {string} key The key of the value to remove.
|
4917 |
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
4918 |
-
*/
|
4919 |
-
function listCacheDelete(key) {
|
4920 |
-
var data = this.__data__,
|
4921 |
-
index = assocIndexOf(data, key);
|
4922 |
-
|
4923 |
-
if (index < 0) {
|
4924 |
-
return false;
|
4925 |
-
}
|
4926 |
-
var lastIndex = data.length - 1;
|
4927 |
-
if (index == lastIndex) {
|
4928 |
-
data.pop();
|
4929 |
-
} else {
|
4930 |
-
splice.call(data, index, 1);
|
4931 |
-
}
|
4932 |
-
--this.size;
|
4933 |
-
return true;
|
4934 |
-
}
|
4935 |
-
|
4936 |
-
module.exports = listCacheDelete;
|
4937 |
-
|
4938 |
-
|
4939 |
-
/***/ }),
|
4940 |
-
|
4941 |
-
/***/ "./node_modules/lodash/_listCacheGet.js":
|
4942 |
-
/*!**********************************************!*\
|
4943 |
-
!*** ./node_modules/lodash/_listCacheGet.js ***!
|
4944 |
-
\**********************************************/
|
4945 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4946 |
-
|
4947 |
-
var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./node_modules/lodash/_assocIndexOf.js");
|
4948 |
-
|
4949 |
-
/**
|
4950 |
-
* Gets the list cache value for `key`.
|
4951 |
-
*
|
4952 |
-
* @private
|
4953 |
-
* @name get
|
4954 |
-
* @memberOf ListCache
|
4955 |
-
* @param {string} key The key of the value to get.
|
4956 |
-
* @returns {*} Returns the entry value.
|
4957 |
-
*/
|
4958 |
-
function listCacheGet(key) {
|
4959 |
-
var data = this.__data__,
|
4960 |
-
index = assocIndexOf(data, key);
|
4961 |
-
|
4962 |
-
return index < 0 ? undefined : data[index][1];
|
4963 |
-
}
|
4964 |
-
|
4965 |
-
module.exports = listCacheGet;
|
4966 |
-
|
4967 |
-
|
4968 |
-
/***/ }),
|
4969 |
-
|
4970 |
-
/***/ "./node_modules/lodash/_listCacheHas.js":
|
4971 |
-
/*!**********************************************!*\
|
4972 |
-
!*** ./node_modules/lodash/_listCacheHas.js ***!
|
4973 |
-
\**********************************************/
|
4974 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
4975 |
-
|
4976 |
-
var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./node_modules/lodash/_assocIndexOf.js");
|
4977 |
-
|
4978 |
-
/**
|
4979 |
-
* Checks if a list cache value for `key` exists.
|
4980 |
-
*
|
4981 |
-
* @private
|
4982 |
-
* @name has
|
4983 |
-
* @memberOf ListCache
|
4984 |
-
* @param {string} key The key of the entry to check.
|
4985 |
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
4986 |
-
*/
|
4987 |
-
function listCacheHas(key) {
|
4988 |
-
return assocIndexOf(this.__data__, key) > -1;
|
4989 |
-
}
|
4990 |
-
|
4991 |
-
module.exports = listCacheHas;
|
4992 |
-
|
4993 |
-
|
4994 |
-
/***/ }),
|
4995 |
-
|
4996 |
-
/***/ "./node_modules/lodash/_listCacheSet.js":
|
4997 |
-
/*!**********************************************!*\
|
4998 |
-
!*** ./node_modules/lodash/_listCacheSet.js ***!
|
4999 |
-
\**********************************************/
|
5000 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5001 |
-
|
5002 |
-
var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./node_modules/lodash/_assocIndexOf.js");
|
5003 |
-
|
5004 |
-
/**
|
5005 |
-
* Sets the list cache `key` to `value`.
|
5006 |
-
*
|
5007 |
-
* @private
|
5008 |
-
* @name set
|
5009 |
-
* @memberOf ListCache
|
5010 |
-
* @param {string} key The key of the value to set.
|
5011 |
-
* @param {*} value The value to set.
|
5012 |
-
* @returns {Object} Returns the list cache instance.
|
5013 |
-
*/
|
5014 |
-
function listCacheSet(key, value) {
|
5015 |
-
var data = this.__data__,
|
5016 |
-
index = assocIndexOf(data, key);
|
5017 |
-
|
5018 |
-
if (index < 0) {
|
5019 |
-
++this.size;
|
5020 |
-
data.push([key, value]);
|
5021 |
-
} else {
|
5022 |
-
data[index][1] = value;
|
5023 |
-
}
|
5024 |
-
return this;
|
5025 |
-
}
|
5026 |
-
|
5027 |
-
module.exports = listCacheSet;
|
5028 |
-
|
5029 |
-
|
5030 |
-
/***/ }),
|
5031 |
-
|
5032 |
-
/***/ "./node_modules/lodash/_mapCacheClear.js":
|
5033 |
-
/*!***********************************************!*\
|
5034 |
-
!*** ./node_modules/lodash/_mapCacheClear.js ***!
|
5035 |
-
\***********************************************/
|
5036 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5037 |
-
|
5038 |
-
var Hash = __webpack_require__(/*! ./_Hash */ "./node_modules/lodash/_Hash.js"),
|
5039 |
-
ListCache = __webpack_require__(/*! ./_ListCache */ "./node_modules/lodash/_ListCache.js"),
|
5040 |
-
Map = __webpack_require__(/*! ./_Map */ "./node_modules/lodash/_Map.js");
|
5041 |
-
|
5042 |
-
/**
|
5043 |
-
* Removes all key-value entries from the map.
|
5044 |
-
*
|
5045 |
-
* @private
|
5046 |
-
* @name clear
|
5047 |
-
* @memberOf MapCache
|
5048 |
-
*/
|
5049 |
-
function mapCacheClear() {
|
5050 |
-
this.size = 0;
|
5051 |
-
this.__data__ = {
|
5052 |
-
'hash': new Hash,
|
5053 |
-
'map': new (Map || ListCache),
|
5054 |
-
'string': new Hash
|
5055 |
-
};
|
5056 |
-
}
|
5057 |
-
|
5058 |
-
module.exports = mapCacheClear;
|
5059 |
-
|
5060 |
-
|
5061 |
-
/***/ }),
|
5062 |
-
|
5063 |
-
/***/ "./node_modules/lodash/_mapCacheDelete.js":
|
5064 |
-
/*!************************************************!*\
|
5065 |
-
!*** ./node_modules/lodash/_mapCacheDelete.js ***!
|
5066 |
-
\************************************************/
|
5067 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5068 |
-
|
5069 |
-
var getMapData = __webpack_require__(/*! ./_getMapData */ "./node_modules/lodash/_getMapData.js");
|
5070 |
-
|
5071 |
-
/**
|
5072 |
-
* Removes `key` and its value from the map.
|
5073 |
-
*
|
5074 |
-
* @private
|
5075 |
-
* @name delete
|
5076 |
-
* @memberOf MapCache
|
5077 |
-
* @param {string} key The key of the value to remove.
|
5078 |
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
5079 |
-
*/
|
5080 |
-
function mapCacheDelete(key) {
|
5081 |
-
var result = getMapData(this, key)['delete'](key);
|
5082 |
-
this.size -= result ? 1 : 0;
|
5083 |
-
return result;
|
5084 |
-
}
|
5085 |
-
|
5086 |
-
module.exports = mapCacheDelete;
|
5087 |
-
|
5088 |
-
|
5089 |
-
/***/ }),
|
5090 |
-
|
5091 |
-
/***/ "./node_modules/lodash/_mapCacheGet.js":
|
5092 |
-
/*!*********************************************!*\
|
5093 |
-
!*** ./node_modules/lodash/_mapCacheGet.js ***!
|
5094 |
-
\*********************************************/
|
5095 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5096 |
-
|
5097 |
-
var getMapData = __webpack_require__(/*! ./_getMapData */ "./node_modules/lodash/_getMapData.js");
|
5098 |
-
|
5099 |
-
/**
|
5100 |
-
* Gets the map value for `key`.
|
5101 |
-
*
|
5102 |
-
* @private
|
5103 |
-
* @name get
|
5104 |
-
* @memberOf MapCache
|
5105 |
-
* @param {string} key The key of the value to get.
|
5106 |
-
* @returns {*} Returns the entry value.
|
5107 |
-
*/
|
5108 |
-
function mapCacheGet(key) {
|
5109 |
-
return getMapData(this, key).get(key);
|
5110 |
-
}
|
5111 |
-
|
5112 |
-
module.exports = mapCacheGet;
|
5113 |
-
|
5114 |
-
|
5115 |
-
/***/ }),
|
5116 |
-
|
5117 |
-
/***/ "./node_modules/lodash/_mapCacheHas.js":
|
5118 |
-
/*!*********************************************!*\
|
5119 |
-
!*** ./node_modules/lodash/_mapCacheHas.js ***!
|
5120 |
-
\*********************************************/
|
5121 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5122 |
-
|
5123 |
-
var getMapData = __webpack_require__(/*! ./_getMapData */ "./node_modules/lodash/_getMapData.js");
|
5124 |
-
|
5125 |
-
/**
|
5126 |
-
* Checks if a map value for `key` exists.
|
5127 |
-
*
|
5128 |
-
* @private
|
5129 |
-
* @name has
|
5130 |
-
* @memberOf MapCache
|
5131 |
-
* @param {string} key The key of the entry to check.
|
5132 |
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
5133 |
-
*/
|
5134 |
-
function mapCacheHas(key) {
|
5135 |
-
return getMapData(this, key).has(key);
|
5136 |
-
}
|
5137 |
-
|
5138 |
-
module.exports = mapCacheHas;
|
5139 |
-
|
5140 |
-
|
5141 |
-
/***/ }),
|
5142 |
-
|
5143 |
-
/***/ "./node_modules/lodash/_mapCacheSet.js":
|
5144 |
-
/*!*********************************************!*\
|
5145 |
-
!*** ./node_modules/lodash/_mapCacheSet.js ***!
|
5146 |
-
\*********************************************/
|
5147 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5148 |
-
|
5149 |
-
var getMapData = __webpack_require__(/*! ./_getMapData */ "./node_modules/lodash/_getMapData.js");
|
5150 |
-
|
5151 |
-
/**
|
5152 |
-
* Sets the map `key` to `value`.
|
5153 |
-
*
|
5154 |
-
* @private
|
5155 |
-
* @name set
|
5156 |
-
* @memberOf MapCache
|
5157 |
-
* @param {string} key The key of the value to set.
|
5158 |
-
* @param {*} value The value to set.
|
5159 |
-
* @returns {Object} Returns the map cache instance.
|
5160 |
-
*/
|
5161 |
-
function mapCacheSet(key, value) {
|
5162 |
-
var data = getMapData(this, key),
|
5163 |
-
size = data.size;
|
5164 |
-
|
5165 |
-
data.set(key, value);
|
5166 |
-
this.size += data.size == size ? 0 : 1;
|
5167 |
-
return this;
|
5168 |
-
}
|
5169 |
-
|
5170 |
-
module.exports = mapCacheSet;
|
5171 |
-
|
5172 |
-
|
5173 |
-
/***/ }),
|
5174 |
-
|
5175 |
-
/***/ "./node_modules/lodash/_mapToArray.js":
|
5176 |
-
/*!********************************************!*\
|
5177 |
-
!*** ./node_modules/lodash/_mapToArray.js ***!
|
5178 |
-
\********************************************/
|
5179 |
-
/***/ (function(module) {
|
5180 |
-
|
5181 |
-
/**
|
5182 |
-
* Converts `map` to its key-value pairs.
|
5183 |
-
*
|
5184 |
-
* @private
|
5185 |
-
* @param {Object} map The map to convert.
|
5186 |
-
* @returns {Array} Returns the key-value pairs.
|
5187 |
-
*/
|
5188 |
-
function mapToArray(map) {
|
5189 |
-
var index = -1,
|
5190 |
-
result = Array(map.size);
|
5191 |
-
|
5192 |
-
map.forEach(function(value, key) {
|
5193 |
-
result[++index] = [key, value];
|
5194 |
-
});
|
5195 |
-
return result;
|
5196 |
-
}
|
5197 |
-
|
5198 |
-
module.exports = mapToArray;
|
5199 |
-
|
5200 |
-
|
5201 |
-
/***/ }),
|
5202 |
-
|
5203 |
-
/***/ "./node_modules/lodash/_matchesStrictComparable.js":
|
5204 |
-
/*!*********************************************************!*\
|
5205 |
-
!*** ./node_modules/lodash/_matchesStrictComparable.js ***!
|
5206 |
-
\*********************************************************/
|
5207 |
-
/***/ (function(module) {
|
5208 |
-
|
5209 |
-
/**
|
5210 |
-
* A specialized version of `matchesProperty` for source values suitable
|
5211 |
-
* for strict equality comparisons, i.e. `===`.
|
5212 |
-
*
|
5213 |
-
* @private
|
5214 |
-
* @param {string} key The key of the property to get.
|
5215 |
-
* @param {*} srcValue The value to match.
|
5216 |
-
* @returns {Function} Returns the new spec function.
|
5217 |
-
*/
|
5218 |
-
function matchesStrictComparable(key, srcValue) {
|
5219 |
-
return function(object) {
|
5220 |
-
if (object == null) {
|
5221 |
-
return false;
|
5222 |
-
}
|
5223 |
-
return object[key] === srcValue &&
|
5224 |
-
(srcValue !== undefined || (key in Object(object)));
|
5225 |
-
};
|
5226 |
-
}
|
5227 |
-
|
5228 |
-
module.exports = matchesStrictComparable;
|
5229 |
-
|
5230 |
-
|
5231 |
-
/***/ }),
|
5232 |
-
|
5233 |
-
/***/ "./node_modules/lodash/_memoizeCapped.js":
|
5234 |
-
/*!***********************************************!*\
|
5235 |
-
!*** ./node_modules/lodash/_memoizeCapped.js ***!
|
5236 |
-
\***********************************************/
|
5237 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5238 |
-
|
5239 |
-
var memoize = __webpack_require__(/*! ./memoize */ "./node_modules/lodash/memoize.js");
|
5240 |
-
|
5241 |
-
/** Used as the maximum memoize cache size. */
|
5242 |
-
var MAX_MEMOIZE_SIZE = 500;
|
5243 |
-
|
5244 |
-
/**
|
5245 |
-
* A specialized version of `_.memoize` which clears the memoized function's
|
5246 |
-
* cache when it exceeds `MAX_MEMOIZE_SIZE`.
|
5247 |
-
*
|
5248 |
-
* @private
|
5249 |
-
* @param {Function} func The function to have its output memoized.
|
5250 |
-
* @returns {Function} Returns the new memoized function.
|
5251 |
-
*/
|
5252 |
-
function memoizeCapped(func) {
|
5253 |
-
var result = memoize(func, function(key) {
|
5254 |
-
if (cache.size === MAX_MEMOIZE_SIZE) {
|
5255 |
-
cache.clear();
|
5256 |
-
}
|
5257 |
-
return key;
|
5258 |
-
});
|
5259 |
-
|
5260 |
-
var cache = result.cache;
|
5261 |
-
return result;
|
5262 |
-
}
|
5263 |
-
|
5264 |
-
module.exports = memoizeCapped;
|
5265 |
-
|
5266 |
-
|
5267 |
-
/***/ }),
|
5268 |
-
|
5269 |
-
/***/ "./node_modules/lodash/_nativeCreate.js":
|
5270 |
-
/*!**********************************************!*\
|
5271 |
-
!*** ./node_modules/lodash/_nativeCreate.js ***!
|
5272 |
-
\**********************************************/
|
5273 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5274 |
-
|
5275 |
-
var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js");
|
5276 |
-
|
5277 |
-
/* Built-in method references that are verified to be native. */
|
5278 |
-
var nativeCreate = getNative(Object, 'create');
|
5279 |
-
|
5280 |
-
module.exports = nativeCreate;
|
5281 |
-
|
5282 |
-
|
5283 |
-
/***/ }),
|
5284 |
-
|
5285 |
-
/***/ "./node_modules/lodash/_nativeKeys.js":
|
5286 |
-
/*!********************************************!*\
|
5287 |
-
!*** ./node_modules/lodash/_nativeKeys.js ***!
|
5288 |
-
\********************************************/
|
5289 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5290 |
-
|
5291 |
-
var overArg = __webpack_require__(/*! ./_overArg */ "./node_modules/lodash/_overArg.js");
|
5292 |
-
|
5293 |
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
5294 |
-
var nativeKeys = overArg(Object.keys, Object);
|
5295 |
-
|
5296 |
-
module.exports = nativeKeys;
|
5297 |
-
|
5298 |
-
|
5299 |
-
/***/ }),
|
5300 |
-
|
5301 |
-
/***/ "./node_modules/lodash/_nativeKeysIn.js":
|
5302 |
-
/*!**********************************************!*\
|
5303 |
-
!*** ./node_modules/lodash/_nativeKeysIn.js ***!
|
5304 |
-
\**********************************************/
|
5305 |
-
/***/ (function(module) {
|
5306 |
-
|
5307 |
-
/**
|
5308 |
-
* This function is like
|
5309 |
-
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
5310 |
-
* except that it includes inherited enumerable properties.
|
5311 |
-
*
|
5312 |
-
* @private
|
5313 |
-
* @param {Object} object The object to query.
|
5314 |
-
* @returns {Array} Returns the array of property names.
|
5315 |
-
*/
|
5316 |
-
function nativeKeysIn(object) {
|
5317 |
-
var result = [];
|
5318 |
-
if (object != null) {
|
5319 |
-
for (var key in Object(object)) {
|
5320 |
-
result.push(key);
|
5321 |
-
}
|
5322 |
-
}
|
5323 |
-
return result;
|
5324 |
-
}
|
5325 |
-
|
5326 |
-
module.exports = nativeKeysIn;
|
5327 |
-
|
5328 |
-
|
5329 |
-
/***/ }),
|
5330 |
-
|
5331 |
-
/***/ "./node_modules/lodash/_nodeUtil.js":
|
5332 |
-
/*!******************************************!*\
|
5333 |
-
!*** ./node_modules/lodash/_nodeUtil.js ***!
|
5334 |
-
\******************************************/
|
5335 |
-
/***/ (function(module, exports, __webpack_require__) {
|
5336 |
-
|
5337 |
-
/* module decorator */ module = __webpack_require__.nmd(module);
|
5338 |
-
var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ "./node_modules/lodash/_freeGlobal.js");
|
5339 |
-
|
5340 |
-
/** Detect free variable `exports`. */
|
5341 |
-
var freeExports = true && exports && !exports.nodeType && exports;
|
5342 |
-
|
5343 |
-
/** Detect free variable `module`. */
|
5344 |
-
var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
|
5345 |
-
|
5346 |
-
/** Detect the popular CommonJS extension `module.exports`. */
|
5347 |
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
5348 |
-
|
5349 |
-
/** Detect free variable `process` from Node.js. */
|
5350 |
-
var freeProcess = moduleExports && freeGlobal.process;
|
5351 |
-
|
5352 |
-
/** Used to access faster Node.js helpers. */
|
5353 |
-
var nodeUtil = (function() {
|
5354 |
-
try {
|
5355 |
-
// Use `util.types` for Node.js 10+.
|
5356 |
-
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
5357 |
-
|
5358 |
-
if (types) {
|
5359 |
-
return types;
|
5360 |
-
}
|
5361 |
-
|
5362 |
-
// Legacy `process.binding('util')` for Node.js < 10.
|
5363 |
-
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
5364 |
-
} catch (e) {}
|
5365 |
-
}());
|
5366 |
-
|
5367 |
-
module.exports = nodeUtil;
|
5368 |
-
|
5369 |
-
|
5370 |
-
/***/ }),
|
5371 |
-
|
5372 |
-
/***/ "./node_modules/lodash/_objectToString.js":
|
5373 |
-
/*!************************************************!*\
|
5374 |
-
!*** ./node_modules/lodash/_objectToString.js ***!
|
5375 |
-
\************************************************/
|
5376 |
-
/***/ (function(module) {
|
5377 |
-
|
5378 |
-
/** Used for built-in method references. */
|
5379 |
-
var objectProto = Object.prototype;
|
5380 |
-
|
5381 |
-
/**
|
5382 |
-
* Used to resolve the
|
5383 |
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
5384 |
-
* of values.
|
5385 |
-
*/
|
5386 |
-
var nativeObjectToString = objectProto.toString;
|
5387 |
-
|
5388 |
-
/**
|
5389 |
-
* Converts `value` to a string using `Object.prototype.toString`.
|
5390 |
-
*
|
5391 |
-
* @private
|
5392 |
-
* @param {*} value The value to convert.
|
5393 |
-
* @returns {string} Returns the converted string.
|
5394 |
-
*/
|
5395 |
-
function objectToString(value) {
|
5396 |
-
return nativeObjectToString.call(value);
|
5397 |
-
}
|
5398 |
-
|
5399 |
-
module.exports = objectToString;
|
5400 |
-
|
5401 |
-
|
5402 |
-
/***/ }),
|
5403 |
-
|
5404 |
-
/***/ "./node_modules/lodash/_overArg.js":
|
5405 |
-
/*!*****************************************!*\
|
5406 |
-
!*** ./node_modules/lodash/_overArg.js ***!
|
5407 |
-
\*****************************************/
|
5408 |
-
/***/ (function(module) {
|
5409 |
-
|
5410 |
-
/**
|
5411 |
-
* Creates a unary function that invokes `func` with its argument transformed.
|
5412 |
-
*
|
5413 |
-
* @private
|
5414 |
-
* @param {Function} func The function to wrap.
|
5415 |
-
* @param {Function} transform The argument transform.
|
5416 |
-
* @returns {Function} Returns the new function.
|
5417 |
-
*/
|
5418 |
-
function overArg(func, transform) {
|
5419 |
-
return function(arg) {
|
5420 |
-
return func(transform(arg));
|
5421 |
-
};
|
5422 |
-
}
|
5423 |
-
|
5424 |
-
module.exports = overArg;
|
5425 |
-
|
5426 |
-
|
5427 |
-
/***/ }),
|
5428 |
-
|
5429 |
-
/***/ "./node_modules/lodash/_root.js":
|
5430 |
-
/*!**************************************!*\
|
5431 |
-
!*** ./node_modules/lodash/_root.js ***!
|
5432 |
-
\**************************************/
|
5433 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5434 |
-
|
5435 |
-
var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ "./node_modules/lodash/_freeGlobal.js");
|
5436 |
-
|
5437 |
-
/** Detect free variable `self`. */
|
5438 |
-
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
5439 |
-
|
5440 |
-
/** Used as a reference to the global object. */
|
5441 |
-
var root = freeGlobal || freeSelf || Function('return this')();
|
5442 |
-
|
5443 |
-
module.exports = root;
|
5444 |
-
|
5445 |
-
|
5446 |
-
/***/ }),
|
5447 |
-
|
5448 |
-
/***/ "./node_modules/lodash/_setCacheAdd.js":
|
5449 |
-
/*!*********************************************!*\
|
5450 |
-
!*** ./node_modules/lodash/_setCacheAdd.js ***!
|
5451 |
-
\*********************************************/
|
5452 |
-
/***/ (function(module) {
|
5453 |
-
|
5454 |
-
/** Used to stand-in for `undefined` hash values. */
|
5455 |
-
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
5456 |
-
|
5457 |
-
/**
|
5458 |
-
* Adds `value` to the array cache.
|
5459 |
-
*
|
5460 |
-
* @private
|
5461 |
-
* @name add
|
5462 |
-
* @memberOf SetCache
|
5463 |
-
* @alias push
|
5464 |
-
* @param {*} value The value to cache.
|
5465 |
-
* @returns {Object} Returns the cache instance.
|
5466 |
-
*/
|
5467 |
-
function setCacheAdd(value) {
|
5468 |
-
this.__data__.set(value, HASH_UNDEFINED);
|
5469 |
-
return this;
|
5470 |
-
}
|
5471 |
-
|
5472 |
-
module.exports = setCacheAdd;
|
5473 |
-
|
5474 |
-
|
5475 |
-
/***/ }),
|
5476 |
-
|
5477 |
-
/***/ "./node_modules/lodash/_setCacheHas.js":
|
5478 |
-
/*!*********************************************!*\
|
5479 |
-
!*** ./node_modules/lodash/_setCacheHas.js ***!
|
5480 |
-
\*********************************************/
|
5481 |
-
/***/ (function(module) {
|
5482 |
-
|
5483 |
-
/**
|
5484 |
-
* Checks if `value` is in the array cache.
|
5485 |
-
*
|
5486 |
-
* @private
|
5487 |
-
* @name has
|
5488 |
-
* @memberOf SetCache
|
5489 |
-
* @param {*} value The value to search for.
|
5490 |
-
* @returns {number} Returns `true` if `value` is found, else `false`.
|
5491 |
-
*/
|
5492 |
-
function setCacheHas(value) {
|
5493 |
-
return this.__data__.has(value);
|
5494 |
-
}
|
5495 |
-
|
5496 |
-
module.exports = setCacheHas;
|
5497 |
-
|
5498 |
-
|
5499 |
-
/***/ }),
|
5500 |
-
|
5501 |
-
/***/ "./node_modules/lodash/_setToArray.js":
|
5502 |
-
/*!********************************************!*\
|
5503 |
-
!*** ./node_modules/lodash/_setToArray.js ***!
|
5504 |
-
\********************************************/
|
5505 |
-
/***/ (function(module) {
|
5506 |
-
|
5507 |
-
/**
|
5508 |
-
* Converts `set` to an array of its values.
|
5509 |
-
*
|
5510 |
-
* @private
|
5511 |
-
* @param {Object} set The set to convert.
|
5512 |
-
* @returns {Array} Returns the values.
|
5513 |
-
*/
|
5514 |
-
function setToArray(set) {
|
5515 |
-
var index = -1,
|
5516 |
-
result = Array(set.size);
|
5517 |
-
|
5518 |
-
set.forEach(function(value) {
|
5519 |
-
result[++index] = value;
|
5520 |
-
});
|
5521 |
-
return result;
|
5522 |
-
}
|
5523 |
-
|
5524 |
-
module.exports = setToArray;
|
5525 |
-
|
5526 |
-
|
5527 |
-
/***/ }),
|
5528 |
-
|
5529 |
-
/***/ "./node_modules/lodash/_stackClear.js":
|
5530 |
-
/*!********************************************!*\
|
5531 |
-
!*** ./node_modules/lodash/_stackClear.js ***!
|
5532 |
-
\********************************************/
|
5533 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5534 |
-
|
5535 |
-
var ListCache = __webpack_require__(/*! ./_ListCache */ "./node_modules/lodash/_ListCache.js");
|
5536 |
-
|
5537 |
-
/**
|
5538 |
-
* Removes all key-value entries from the stack.
|
5539 |
-
*
|
5540 |
-
* @private
|
5541 |
-
* @name clear
|
5542 |
-
* @memberOf Stack
|
5543 |
-
*/
|
5544 |
-
function stackClear() {
|
5545 |
-
this.__data__ = new ListCache;
|
5546 |
-
this.size = 0;
|
5547 |
-
}
|
5548 |
-
|
5549 |
-
module.exports = stackClear;
|
5550 |
-
|
5551 |
-
|
5552 |
-
/***/ }),
|
5553 |
-
|
5554 |
-
/***/ "./node_modules/lodash/_stackDelete.js":
|
5555 |
-
/*!*********************************************!*\
|
5556 |
-
!*** ./node_modules/lodash/_stackDelete.js ***!
|
5557 |
-
\*********************************************/
|
5558 |
-
/***/ (function(module) {
|
5559 |
-
|
5560 |
-
/**
|
5561 |
-
* Removes `key` and its value from the stack.
|
5562 |
-
*
|
5563 |
-
* @private
|
5564 |
-
* @name delete
|
5565 |
-
* @memberOf Stack
|
5566 |
-
* @param {string} key The key of the value to remove.
|
5567 |
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
5568 |
-
*/
|
5569 |
-
function stackDelete(key) {
|
5570 |
-
var data = this.__data__,
|
5571 |
-
result = data['delete'](key);
|
5572 |
-
|
5573 |
-
this.size = data.size;
|
5574 |
-
return result;
|
5575 |
-
}
|
5576 |
-
|
5577 |
-
module.exports = stackDelete;
|
5578 |
-
|
5579 |
-
|
5580 |
-
/***/ }),
|
5581 |
-
|
5582 |
-
/***/ "./node_modules/lodash/_stackGet.js":
|
5583 |
-
/*!******************************************!*\
|
5584 |
-
!*** ./node_modules/lodash/_stackGet.js ***!
|
5585 |
-
\******************************************/
|
5586 |
-
/***/ (function(module) {
|
5587 |
-
|
5588 |
-
/**
|
5589 |
-
* Gets the stack value for `key`.
|
5590 |
-
*
|
5591 |
-
* @private
|
5592 |
-
* @name get
|
5593 |
-
* @memberOf Stack
|
5594 |
-
* @param {string} key The key of the value to get.
|
5595 |
-
* @returns {*} Returns the entry value.
|
5596 |
-
*/
|
5597 |
-
function stackGet(key) {
|
5598 |
-
return this.__data__.get(key);
|
5599 |
-
}
|
5600 |
-
|
5601 |
-
module.exports = stackGet;
|
5602 |
-
|
5603 |
-
|
5604 |
-
/***/ }),
|
5605 |
-
|
5606 |
-
/***/ "./node_modules/lodash/_stackHas.js":
|
5607 |
-
/*!******************************************!*\
|
5608 |
-
!*** ./node_modules/lodash/_stackHas.js ***!
|
5609 |
-
\******************************************/
|
5610 |
-
/***/ (function(module) {
|
5611 |
-
|
5612 |
-
/**
|
5613 |
-
* Checks if a stack value for `key` exists.
|
5614 |
-
*
|
5615 |
-
* @private
|
5616 |
-
* @name has
|
5617 |
-
* @memberOf Stack
|
5618 |
-
* @param {string} key The key of the entry to check.
|
5619 |
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
5620 |
-
*/
|
5621 |
-
function stackHas(key) {
|
5622 |
-
return this.__data__.has(key);
|
5623 |
-
}
|
5624 |
-
|
5625 |
-
module.exports = stackHas;
|
5626 |
-
|
5627 |
-
|
5628 |
-
/***/ }),
|
5629 |
-
|
5630 |
-
/***/ "./node_modules/lodash/_stackSet.js":
|
5631 |
-
/*!******************************************!*\
|
5632 |
-
!*** ./node_modules/lodash/_stackSet.js ***!
|
5633 |
-
\******************************************/
|
5634 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5635 |
-
|
5636 |
-
var ListCache = __webpack_require__(/*! ./_ListCache */ "./node_modules/lodash/_ListCache.js"),
|
5637 |
-
Map = __webpack_require__(/*! ./_Map */ "./node_modules/lodash/_Map.js"),
|
5638 |
-
MapCache = __webpack_require__(/*! ./_MapCache */ "./node_modules/lodash/_MapCache.js");
|
5639 |
-
|
5640 |
-
/** Used as the size to enable large array optimizations. */
|
5641 |
-
var LARGE_ARRAY_SIZE = 200;
|
5642 |
-
|
5643 |
-
/**
|
5644 |
-
* Sets the stack `key` to `value`.
|
5645 |
-
*
|
5646 |
-
* @private
|
5647 |
-
* @name set
|
5648 |
-
* @memberOf Stack
|
5649 |
-
* @param {string} key The key of the value to set.
|
5650 |
-
* @param {*} value The value to set.
|
5651 |
-
* @returns {Object} Returns the stack cache instance.
|
5652 |
-
*/
|
5653 |
-
function stackSet(key, value) {
|
5654 |
-
var data = this.__data__;
|
5655 |
-
if (data instanceof ListCache) {
|
5656 |
-
var pairs = data.__data__;
|
5657 |
-
if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
|
5658 |
-
pairs.push([key, value]);
|
5659 |
-
this.size = ++data.size;
|
5660 |
-
return this;
|
5661 |
-
}
|
5662 |
-
data = this.__data__ = new MapCache(pairs);
|
5663 |
-
}
|
5664 |
-
data.set(key, value);
|
5665 |
-
this.size = data.size;
|
5666 |
-
return this;
|
5667 |
-
}
|
5668 |
-
|
5669 |
-
module.exports = stackSet;
|
5670 |
-
|
5671 |
-
|
5672 |
-
/***/ }),
|
5673 |
-
|
5674 |
-
/***/ "./node_modules/lodash/_stringToPath.js":
|
5675 |
-
/*!**********************************************!*\
|
5676 |
-
!*** ./node_modules/lodash/_stringToPath.js ***!
|
5677 |
-
\**********************************************/
|
5678 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5679 |
-
|
5680 |
-
var memoizeCapped = __webpack_require__(/*! ./_memoizeCapped */ "./node_modules/lodash/_memoizeCapped.js");
|
5681 |
-
|
5682 |
-
/** Used to match property names within property paths. */
|
5683 |
-
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
5684 |
-
|
5685 |
-
/** Used to match backslashes in property paths. */
|
5686 |
-
var reEscapeChar = /\\(\\)?/g;
|
5687 |
-
|
5688 |
-
/**
|
5689 |
-
* Converts `string` to a property path array.
|
5690 |
-
*
|
5691 |
-
* @private
|
5692 |
-
* @param {string} string The string to convert.
|
5693 |
-
* @returns {Array} Returns the property path array.
|
5694 |
-
*/
|
5695 |
-
var stringToPath = memoizeCapped(function(string) {
|
5696 |
-
var result = [];
|
5697 |
-
if (string.charCodeAt(0) === 46 /* . */) {
|
5698 |
-
result.push('');
|
5699 |
-
}
|
5700 |
-
string.replace(rePropName, function(match, number, quote, subString) {
|
5701 |
-
result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
|
5702 |
-
});
|
5703 |
-
return result;
|
5704 |
-
});
|
5705 |
-
|
5706 |
-
module.exports = stringToPath;
|
5707 |
-
|
5708 |
-
|
5709 |
-
/***/ }),
|
5710 |
-
|
5711 |
-
/***/ "./node_modules/lodash/_toKey.js":
|
5712 |
-
/*!***************************************!*\
|
5713 |
-
!*** ./node_modules/lodash/_toKey.js ***!
|
5714 |
-
\***************************************/
|
5715 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5716 |
-
|
5717 |
-
var isSymbol = __webpack_require__(/*! ./isSymbol */ "./node_modules/lodash/isSymbol.js");
|
5718 |
-
|
5719 |
-
/** Used as references for various `Number` constants. */
|
5720 |
-
var INFINITY = 1 / 0;
|
5721 |
-
|
5722 |
-
/**
|
5723 |
-
* Converts `value` to a string key if it's not a string or symbol.
|
5724 |
-
*
|
5725 |
-
* @private
|
5726 |
-
* @param {*} value The value to inspect.
|
5727 |
-
* @returns {string|symbol} Returns the key.
|
5728 |
-
*/
|
5729 |
-
function toKey(value) {
|
5730 |
-
if (typeof value == 'string' || isSymbol(value)) {
|
5731 |
-
return value;
|
5732 |
-
}
|
5733 |
-
var result = (value + '');
|
5734 |
-
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
5735 |
-
}
|
5736 |
-
|
5737 |
-
module.exports = toKey;
|
5738 |
-
|
5739 |
-
|
5740 |
-
/***/ }),
|
5741 |
-
|
5742 |
-
/***/ "./node_modules/lodash/_toSource.js":
|
5743 |
-
/*!******************************************!*\
|
5744 |
-
!*** ./node_modules/lodash/_toSource.js ***!
|
5745 |
-
\******************************************/
|
5746 |
-
/***/ (function(module) {
|
5747 |
-
|
5748 |
-
/** Used for built-in method references. */
|
5749 |
-
var funcProto = Function.prototype;
|
5750 |
-
|
5751 |
-
/** Used to resolve the decompiled source of functions. */
|
5752 |
-
var funcToString = funcProto.toString;
|
5753 |
-
|
5754 |
-
/**
|
5755 |
-
* Converts `func` to its source code.
|
5756 |
-
*
|
5757 |
-
* @private
|
5758 |
-
* @param {Function} func The function to convert.
|
5759 |
-
* @returns {string} Returns the source code.
|
5760 |
-
*/
|
5761 |
-
function toSource(func) {
|
5762 |
-
if (func != null) {
|
5763 |
-
try {
|
5764 |
-
return funcToString.call(func);
|
5765 |
-
} catch (e) {}
|
5766 |
-
try {
|
5767 |
-
return (func + '');
|
5768 |
-
} catch (e) {}
|
5769 |
-
}
|
5770 |
-
return '';
|
5771 |
-
}
|
5772 |
-
|
5773 |
-
module.exports = toSource;
|
5774 |
-
|
5775 |
-
|
5776 |
-
/***/ }),
|
5777 |
-
|
5778 |
-
/***/ "./node_modules/lodash/cloneDeep.js":
|
5779 |
-
/*!******************************************!*\
|
5780 |
-
!*** ./node_modules/lodash/cloneDeep.js ***!
|
5781 |
-
\******************************************/
|
5782 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5783 |
-
|
5784 |
-
var baseClone = __webpack_require__(/*! ./_baseClone */ "./node_modules/lodash/_baseClone.js");
|
5785 |
-
|
5786 |
-
/** Used to compose bitmasks for cloning. */
|
5787 |
-
var CLONE_DEEP_FLAG = 1,
|
5788 |
-
CLONE_SYMBOLS_FLAG = 4;
|
5789 |
-
|
5790 |
-
/**
|
5791 |
-
* This method is like `_.clone` except that it recursively clones `value`.
|
5792 |
-
*
|
5793 |
-
* @static
|
5794 |
-
* @memberOf _
|
5795 |
-
* @since 1.0.0
|
5796 |
-
* @category Lang
|
5797 |
-
* @param {*} value The value to recursively clone.
|
5798 |
-
* @returns {*} Returns the deep cloned value.
|
5799 |
-
* @see _.clone
|
5800 |
-
* @example
|
5801 |
-
*
|
5802 |
-
* var objects = [{ 'a': 1 }, { 'b': 2 }];
|
5803 |
-
*
|
5804 |
-
* var deep = _.cloneDeep(objects);
|
5805 |
-
* console.log(deep[0] === objects[0]);
|
5806 |
-
* // => false
|
5807 |
-
*/
|
5808 |
-
function cloneDeep(value) {
|
5809 |
-
return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
|
5810 |
-
}
|
5811 |
-
|
5812 |
-
module.exports = cloneDeep;
|
5813 |
-
|
5814 |
-
|
5815 |
-
/***/ }),
|
5816 |
-
|
5817 |
-
/***/ "./node_modules/lodash/eq.js":
|
5818 |
-
/*!***********************************!*\
|
5819 |
-
!*** ./node_modules/lodash/eq.js ***!
|
5820 |
-
\***********************************/
|
5821 |
-
/***/ (function(module) {
|
5822 |
-
|
5823 |
-
/**
|
5824 |
-
* Performs a
|
5825 |
-
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
5826 |
-
* comparison between two values to determine if they are equivalent.
|
5827 |
-
*
|
5828 |
-
* @static
|
5829 |
-
* @memberOf _
|
5830 |
-
* @since 4.0.0
|
5831 |
-
* @category Lang
|
5832 |
-
* @param {*} value The value to compare.
|
5833 |
-
* @param {*} other The other value to compare.
|
5834 |
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
5835 |
-
* @example
|
5836 |
-
*
|
5837 |
-
* var object = { 'a': 1 };
|
5838 |
-
* var other = { 'a': 1 };
|
5839 |
-
*
|
5840 |
-
* _.eq(object, object);
|
5841 |
-
* // => true
|
5842 |
-
*
|
5843 |
-
* _.eq(object, other);
|
5844 |
-
* // => false
|
5845 |
-
*
|
5846 |
-
* _.eq('a', 'a');
|
5847 |
-
* // => true
|
5848 |
-
*
|
5849 |
-
* _.eq('a', Object('a'));
|
5850 |
-
* // => false
|
5851 |
-
*
|
5852 |
-
* _.eq(NaN, NaN);
|
5853 |
-
* // => true
|
5854 |
-
*/
|
5855 |
-
function eq(value, other) {
|
5856 |
-
return value === other || (value !== value && other !== other);
|
5857 |
-
}
|
5858 |
-
|
5859 |
-
module.exports = eq;
|
5860 |
-
|
5861 |
-
|
5862 |
-
/***/ }),
|
5863 |
-
|
5864 |
-
/***/ "./node_modules/lodash/forOwn.js":
|
5865 |
-
/*!***************************************!*\
|
5866 |
-
!*** ./node_modules/lodash/forOwn.js ***!
|
5867 |
-
\***************************************/
|
5868 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5869 |
-
|
5870 |
-
var baseForOwn = __webpack_require__(/*! ./_baseForOwn */ "./node_modules/lodash/_baseForOwn.js"),
|
5871 |
-
castFunction = __webpack_require__(/*! ./_castFunction */ "./node_modules/lodash/_castFunction.js");
|
5872 |
-
|
5873 |
-
/**
|
5874 |
-
* Iterates over own enumerable string keyed properties of an object and
|
5875 |
-
* invokes `iteratee` for each property. The iteratee is invoked with three
|
5876 |
-
* arguments: (value, key, object). Iteratee functions may exit iteration
|
5877 |
-
* early by explicitly returning `false`.
|
5878 |
-
*
|
5879 |
-
* @static
|
5880 |
-
* @memberOf _
|
5881 |
-
* @since 0.3.0
|
5882 |
-
* @category Object
|
5883 |
-
* @param {Object} object The object to iterate over.
|
5884 |
-
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
5885 |
-
* @returns {Object} Returns `object`.
|
5886 |
-
* @see _.forOwnRight
|
5887 |
-
* @example
|
5888 |
-
*
|
5889 |
-
* function Foo() {
|
5890 |
-
* this.a = 1;
|
5891 |
-
* this.b = 2;
|
5892 |
-
* }
|
5893 |
-
*
|
5894 |
-
* Foo.prototype.c = 3;
|
5895 |
-
*
|
5896 |
-
* _.forOwn(new Foo, function(value, key) {
|
5897 |
-
* console.log(key);
|
5898 |
-
* });
|
5899 |
-
* // => Logs 'a' then 'b' (iteration order is not guaranteed).
|
5900 |
-
*/
|
5901 |
-
function forOwn(object, iteratee) {
|
5902 |
-
return object && baseForOwn(object, castFunction(iteratee));
|
5903 |
-
}
|
5904 |
-
|
5905 |
-
module.exports = forOwn;
|
5906 |
-
|
5907 |
-
|
5908 |
-
/***/ }),
|
5909 |
-
|
5910 |
-
/***/ "./node_modules/lodash/get.js":
|
5911 |
-
/*!************************************!*\
|
5912 |
-
!*** ./node_modules/lodash/get.js ***!
|
5913 |
-
\************************************/
|
5914 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5915 |
-
|
5916 |
-
var baseGet = __webpack_require__(/*! ./_baseGet */ "./node_modules/lodash/_baseGet.js");
|
5917 |
-
|
5918 |
-
/**
|
5919 |
-
* Gets the value at `path` of `object`. If the resolved value is
|
5920 |
-
* `undefined`, the `defaultValue` is returned in its place.
|
5921 |
-
*
|
5922 |
-
* @static
|
5923 |
-
* @memberOf _
|
5924 |
-
* @since 3.7.0
|
5925 |
-
* @category Object
|
5926 |
-
* @param {Object} object The object to query.
|
5927 |
-
* @param {Array|string} path The path of the property to get.
|
5928 |
-
* @param {*} [defaultValue] The value returned for `undefined` resolved values.
|
5929 |
-
* @returns {*} Returns the resolved value.
|
5930 |
-
* @example
|
5931 |
-
*
|
5932 |
-
* var object = { 'a': [{ 'b': { 'c': 3 } }] };
|
5933 |
-
*
|
5934 |
-
* _.get(object, 'a[0].b.c');
|
5935 |
-
* // => 3
|
5936 |
-
*
|
5937 |
-
* _.get(object, ['a', '0', 'b', 'c']);
|
5938 |
-
* // => 3
|
5939 |
-
*
|
5940 |
-
* _.get(object, 'a.b.c', 'default');
|
5941 |
-
* // => 'default'
|
5942 |
-
*/
|
5943 |
-
function get(object, path, defaultValue) {
|
5944 |
-
var result = object == null ? undefined : baseGet(object, path);
|
5945 |
-
return result === undefined ? defaultValue : result;
|
5946 |
-
}
|
5947 |
-
|
5948 |
-
module.exports = get;
|
5949 |
-
|
5950 |
-
|
5951 |
-
/***/ }),
|
5952 |
-
|
5953 |
-
/***/ "./node_modules/lodash/hasIn.js":
|
5954 |
-
/*!**************************************!*\
|
5955 |
-
!*** ./node_modules/lodash/hasIn.js ***!
|
5956 |
-
\**************************************/
|
5957 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
5958 |
-
|
5959 |
-
var baseHasIn = __webpack_require__(/*! ./_baseHasIn */ "./node_modules/lodash/_baseHasIn.js"),
|
5960 |
-
hasPath = __webpack_require__(/*! ./_hasPath */ "./node_modules/lodash/_hasPath.js");
|
5961 |
-
|
5962 |
-
/**
|
5963 |
-
* Checks if `path` is a direct or inherited property of `object`.
|
5964 |
-
*
|
5965 |
-
* @static
|
5966 |
-
* @memberOf _
|
5967 |
-
* @since 4.0.0
|
5968 |
-
* @category Object
|
5969 |
-
* @param {Object} object The object to query.
|
5970 |
-
* @param {Array|string} path The path to check.
|
5971 |
-
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
5972 |
-
* @example
|
5973 |
-
*
|
5974 |
-
* var object = _.create({ 'a': _.create({ 'b': 2 }) });
|
5975 |
-
*
|
5976 |
-
* _.hasIn(object, 'a');
|
5977 |
-
* // => true
|
5978 |
-
*
|
5979 |
-
* _.hasIn(object, 'a.b');
|
5980 |
-
* // => true
|
5981 |
-
*
|
5982 |
-
* _.hasIn(object, ['a', 'b']);
|
5983 |
-
* // => true
|
5984 |
-
*
|
5985 |
-
* _.hasIn(object, 'b');
|
5986 |
-
* // => false
|
5987 |
-
*/
|
5988 |
-
function hasIn(object, path) {
|
5989 |
-
return object != null && hasPath(object, path, baseHasIn);
|
5990 |
-
}
|
5991 |
-
|
5992 |
-
module.exports = hasIn;
|
5993 |
-
|
5994 |
-
|
5995 |
-
/***/ }),
|
5996 |
-
|
5997 |
-
/***/ "./node_modules/lodash/identity.js":
|
5998 |
-
/*!*****************************************!*\
|
5999 |
-
!*** ./node_modules/lodash/identity.js ***!
|
6000 |
-
\*****************************************/
|
6001 |
-
/***/ (function(module) {
|
6002 |
-
|
6003 |
-
/**
|
6004 |
-
* This method returns the first argument it receives.
|
6005 |
-
*
|
6006 |
-
* @static
|
6007 |
-
* @since 0.1.0
|
6008 |
-
* @memberOf _
|
6009 |
-
* @category Util
|
6010 |
-
* @param {*} value Any value.
|
6011 |
-
* @returns {*} Returns `value`.
|
6012 |
-
* @example
|
6013 |
-
*
|
6014 |
-
* var object = { 'a': 1 };
|
6015 |
-
*
|
6016 |
-
* console.log(_.identity(object) === object);
|
6017 |
-
* // => true
|
6018 |
-
*/
|
6019 |
-
function identity(value) {
|
6020 |
-
return value;
|
6021 |
-
}
|
6022 |
-
|
6023 |
-
module.exports = identity;
|
6024 |
-
|
6025 |
-
|
6026 |
-
/***/ }),
|
6027 |
-
|
6028 |
-
/***/ "./node_modules/lodash/isArguments.js":
|
6029 |
-
/*!********************************************!*\
|
6030 |
-
!*** ./node_modules/lodash/isArguments.js ***!
|
6031 |
-
\********************************************/
|
6032 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6033 |
-
|
6034 |
-
var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ "./node_modules/lodash/_baseIsArguments.js"),
|
6035 |
-
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
6036 |
-
|
6037 |
-
/** Used for built-in method references. */
|
6038 |
-
var objectProto = Object.prototype;
|
6039 |
-
|
6040 |
-
/** Used to check objects for own properties. */
|
6041 |
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
6042 |
-
|
6043 |
-
/** Built-in value references. */
|
6044 |
-
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
6045 |
-
|
6046 |
-
/**
|
6047 |
-
* Checks if `value` is likely an `arguments` object.
|
6048 |
-
*
|
6049 |
-
* @static
|
6050 |
-
* @memberOf _
|
6051 |
-
* @since 0.1.0
|
6052 |
-
* @category Lang
|
6053 |
-
* @param {*} value The value to check.
|
6054 |
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
6055 |
-
* else `false`.
|
6056 |
-
* @example
|
6057 |
-
*
|
6058 |
-
* _.isArguments(function() { return arguments; }());
|
6059 |
-
* // => true
|
6060 |
-
*
|
6061 |
-
* _.isArguments([1, 2, 3]);
|
6062 |
-
* // => false
|
6063 |
-
*/
|
6064 |
-
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
6065 |
-
return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
|
6066 |
-
!propertyIsEnumerable.call(value, 'callee');
|
6067 |
-
};
|
6068 |
-
|
6069 |
-
module.exports = isArguments;
|
6070 |
-
|
6071 |
-
|
6072 |
-
/***/ }),
|
6073 |
-
|
6074 |
-
/***/ "./node_modules/lodash/isArray.js":
|
6075 |
-
/*!****************************************!*\
|
6076 |
-
!*** ./node_modules/lodash/isArray.js ***!
|
6077 |
-
\****************************************/
|
6078 |
-
/***/ (function(module) {
|
6079 |
-
|
6080 |
-
/**
|
6081 |
-
* Checks if `value` is classified as an `Array` object.
|
6082 |
-
*
|
6083 |
-
* @static
|
6084 |
-
* @memberOf _
|
6085 |
-
* @since 0.1.0
|
6086 |
-
* @category Lang
|
6087 |
-
* @param {*} value The value to check.
|
6088 |
-
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
6089 |
-
* @example
|
6090 |
-
*
|
6091 |
-
* _.isArray([1, 2, 3]);
|
6092 |
-
* // => true
|
6093 |
-
*
|
6094 |
-
* _.isArray(document.body.children);
|
6095 |
-
* // => false
|
6096 |
-
*
|
6097 |
-
* _.isArray('abc');
|
6098 |
-
* // => false
|
6099 |
-
*
|
6100 |
-
* _.isArray(_.noop);
|
6101 |
-
* // => false
|
6102 |
-
*/
|
6103 |
-
var isArray = Array.isArray;
|
6104 |
-
|
6105 |
-
module.exports = isArray;
|
6106 |
-
|
6107 |
-
|
6108 |
-
/***/ }),
|
6109 |
-
|
6110 |
-
/***/ "./node_modules/lodash/isArrayLike.js":
|
6111 |
-
/*!********************************************!*\
|
6112 |
-
!*** ./node_modules/lodash/isArrayLike.js ***!
|
6113 |
-
\********************************************/
|
6114 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6115 |
-
|
6116 |
-
var isFunction = __webpack_require__(/*! ./isFunction */ "./node_modules/lodash/isFunction.js"),
|
6117 |
-
isLength = __webpack_require__(/*! ./isLength */ "./node_modules/lodash/isLength.js");
|
6118 |
-
|
6119 |
-
/**
|
6120 |
-
* Checks if `value` is array-like. A value is considered array-like if it's
|
6121 |
-
* not a function and has a `value.length` that's an integer greater than or
|
6122 |
-
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
6123 |
-
*
|
6124 |
-
* @static
|
6125 |
-
* @memberOf _
|
6126 |
-
* @since 4.0.0
|
6127 |
-
* @category Lang
|
6128 |
-
* @param {*} value The value to check.
|
6129 |
-
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
6130 |
-
* @example
|
6131 |
-
*
|
6132 |
-
* _.isArrayLike([1, 2, 3]);
|
6133 |
-
* // => true
|
6134 |
-
*
|
6135 |
-
* _.isArrayLike(document.body.children);
|
6136 |
-
* // => true
|
6137 |
-
*
|
6138 |
-
* _.isArrayLike('abc');
|
6139 |
-
* // => true
|
6140 |
-
*
|
6141 |
-
* _.isArrayLike(_.noop);
|
6142 |
-
* // => false
|
6143 |
-
*/
|
6144 |
-
function isArrayLike(value) {
|
6145 |
-
return value != null && isLength(value.length) && !isFunction(value);
|
6146 |
-
}
|
6147 |
-
|
6148 |
-
module.exports = isArrayLike;
|
6149 |
-
|
6150 |
-
|
6151 |
-
/***/ }),
|
6152 |
-
|
6153 |
-
/***/ "./node_modules/lodash/isBuffer.js":
|
6154 |
-
/*!*****************************************!*\
|
6155 |
-
!*** ./node_modules/lodash/isBuffer.js ***!
|
6156 |
-
\*****************************************/
|
6157 |
-
/***/ (function(module, exports, __webpack_require__) {
|
6158 |
-
|
6159 |
-
/* module decorator */ module = __webpack_require__.nmd(module);
|
6160 |
-
var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js"),
|
6161 |
-
stubFalse = __webpack_require__(/*! ./stubFalse */ "./node_modules/lodash/stubFalse.js");
|
6162 |
-
|
6163 |
-
/** Detect free variable `exports`. */
|
6164 |
-
var freeExports = true && exports && !exports.nodeType && exports;
|
6165 |
-
|
6166 |
-
/** Detect free variable `module`. */
|
6167 |
-
var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
|
6168 |
-
|
6169 |
-
/** Detect the popular CommonJS extension `module.exports`. */
|
6170 |
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
6171 |
-
|
6172 |
-
/** Built-in value references. */
|
6173 |
-
var Buffer = moduleExports ? root.Buffer : undefined;
|
6174 |
-
|
6175 |
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
6176 |
-
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
6177 |
-
|
6178 |
-
/**
|
6179 |
-
* Checks if `value` is a buffer.
|
6180 |
-
*
|
6181 |
-
* @static
|
6182 |
-
* @memberOf _
|
6183 |
-
* @since 4.3.0
|
6184 |
-
* @category Lang
|
6185 |
-
* @param {*} value The value to check.
|
6186 |
-
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
6187 |
-
* @example
|
6188 |
-
*
|
6189 |
-
* _.isBuffer(new Buffer(2));
|
6190 |
-
* // => true
|
6191 |
-
*
|
6192 |
-
* _.isBuffer(new Uint8Array(2));
|
6193 |
-
* // => false
|
6194 |
-
*/
|
6195 |
-
var isBuffer = nativeIsBuffer || stubFalse;
|
6196 |
-
|
6197 |
-
module.exports = isBuffer;
|
6198 |
-
|
6199 |
-
|
6200 |
-
/***/ }),
|
6201 |
-
|
6202 |
-
/***/ "./node_modules/lodash/isFunction.js":
|
6203 |
-
/*!*******************************************!*\
|
6204 |
-
!*** ./node_modules/lodash/isFunction.js ***!
|
6205 |
-
\*******************************************/
|
6206 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6207 |
-
|
6208 |
-
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
6209 |
-
isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js");
|
6210 |
-
|
6211 |
-
/** `Object#toString` result references. */
|
6212 |
-
var asyncTag = '[object AsyncFunction]',
|
6213 |
-
funcTag = '[object Function]',
|
6214 |
-
genTag = '[object GeneratorFunction]',
|
6215 |
-
proxyTag = '[object Proxy]';
|
6216 |
-
|
6217 |
-
/**
|
6218 |
-
* Checks if `value` is classified as a `Function` object.
|
6219 |
-
*
|
6220 |
-
* @static
|
6221 |
-
* @memberOf _
|
6222 |
-
* @since 0.1.0
|
6223 |
-
* @category Lang
|
6224 |
-
* @param {*} value The value to check.
|
6225 |
-
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
6226 |
-
* @example
|
6227 |
-
*
|
6228 |
-
* _.isFunction(_);
|
6229 |
-
* // => true
|
6230 |
-
*
|
6231 |
-
* _.isFunction(/abc/);
|
6232 |
-
* // => false
|
6233 |
-
*/
|
6234 |
-
function isFunction(value) {
|
6235 |
-
if (!isObject(value)) {
|
6236 |
-
return false;
|
6237 |
-
}
|
6238 |
-
// The use of `Object#toString` avoids issues with the `typeof` operator
|
6239 |
-
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
6240 |
-
var tag = baseGetTag(value);
|
6241 |
-
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
6242 |
-
}
|
6243 |
-
|
6244 |
-
module.exports = isFunction;
|
6245 |
-
|
6246 |
-
|
6247 |
-
/***/ }),
|
6248 |
-
|
6249 |
-
/***/ "./node_modules/lodash/isLength.js":
|
6250 |
-
/*!*****************************************!*\
|
6251 |
-
!*** ./node_modules/lodash/isLength.js ***!
|
6252 |
-
\*****************************************/
|
6253 |
-
/***/ (function(module) {
|
6254 |
-
|
6255 |
-
/** Used as references for various `Number` constants. */
|
6256 |
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
6257 |
-
|
6258 |
-
/**
|
6259 |
-
* Checks if `value` is a valid array-like length.
|
6260 |
-
*
|
6261 |
-
* **Note:** This method is loosely based on
|
6262 |
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
6263 |
-
*
|
6264 |
-
* @static
|
6265 |
-
* @memberOf _
|
6266 |
-
* @since 4.0.0
|
6267 |
-
* @category Lang
|
6268 |
-
* @param {*} value The value to check.
|
6269 |
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
6270 |
-
* @example
|
6271 |
-
*
|
6272 |
-
* _.isLength(3);
|
6273 |
-
* // => true
|
6274 |
-
*
|
6275 |
-
* _.isLength(Number.MIN_VALUE);
|
6276 |
-
* // => false
|
6277 |
-
*
|
6278 |
-
* _.isLength(Infinity);
|
6279 |
-
* // => false
|
6280 |
-
*
|
6281 |
-
* _.isLength('3');
|
6282 |
-
* // => false
|
6283 |
-
*/
|
6284 |
-
function isLength(value) {
|
6285 |
-
return typeof value == 'number' &&
|
6286 |
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
6287 |
-
}
|
6288 |
-
|
6289 |
-
module.exports = isLength;
|
6290 |
-
|
6291 |
-
|
6292 |
-
/***/ }),
|
6293 |
-
|
6294 |
-
/***/ "./node_modules/lodash/isMap.js":
|
6295 |
-
/*!**************************************!*\
|
6296 |
-
!*** ./node_modules/lodash/isMap.js ***!
|
6297 |
-
\**************************************/
|
6298 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6299 |
-
|
6300 |
-
var baseIsMap = __webpack_require__(/*! ./_baseIsMap */ "./node_modules/lodash/_baseIsMap.js"),
|
6301 |
-
baseUnary = __webpack_require__(/*! ./_baseUnary */ "./node_modules/lodash/_baseUnary.js"),
|
6302 |
-
nodeUtil = __webpack_require__(/*! ./_nodeUtil */ "./node_modules/lodash/_nodeUtil.js");
|
6303 |
-
|
6304 |
-
/* Node.js helper references. */
|
6305 |
-
var nodeIsMap = nodeUtil && nodeUtil.isMap;
|
6306 |
-
|
6307 |
-
/**
|
6308 |
-
* Checks if `value` is classified as a `Map` object.
|
6309 |
-
*
|
6310 |
-
* @static
|
6311 |
-
* @memberOf _
|
6312 |
-
* @since 4.3.0
|
6313 |
-
* @category Lang
|
6314 |
-
* @param {*} value The value to check.
|
6315 |
-
* @returns {boolean} Returns `true` if `value` is a map, else `false`.
|
6316 |
-
* @example
|
6317 |
-
*
|
6318 |
-
* _.isMap(new Map);
|
6319 |
-
* // => true
|
6320 |
-
*
|
6321 |
-
* _.isMap(new WeakMap);
|
6322 |
-
* // => false
|
6323 |
-
*/
|
6324 |
-
var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
|
6325 |
-
|
6326 |
-
module.exports = isMap;
|
6327 |
-
|
6328 |
-
|
6329 |
-
/***/ }),
|
6330 |
-
|
6331 |
-
/***/ "./node_modules/lodash/isObject.js":
|
6332 |
-
/*!*****************************************!*\
|
6333 |
-
!*** ./node_modules/lodash/isObject.js ***!
|
6334 |
-
\*****************************************/
|
6335 |
-
/***/ (function(module) {
|
6336 |
-
|
6337 |
-
/**
|
6338 |
-
* Checks if `value` is the
|
6339 |
-
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
6340 |
-
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
6341 |
-
*
|
6342 |
-
* @static
|
6343 |
-
* @memberOf _
|
6344 |
-
* @since 0.1.0
|
6345 |
-
* @category Lang
|
6346 |
-
* @param {*} value The value to check.
|
6347 |
-
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
6348 |
-
* @example
|
6349 |
-
*
|
6350 |
-
* _.isObject({});
|
6351 |
-
* // => true
|
6352 |
-
*
|
6353 |
-
* _.isObject([1, 2, 3]);
|
6354 |
-
* // => true
|
6355 |
-
*
|
6356 |
-
* _.isObject(_.noop);
|
6357 |
-
* // => true
|
6358 |
-
*
|
6359 |
-
* _.isObject(null);
|
6360 |
-
* // => false
|
6361 |
-
*/
|
6362 |
-
function isObject(value) {
|
6363 |
-
var type = typeof value;
|
6364 |
-
return value != null && (type == 'object' || type == 'function');
|
6365 |
-
}
|
6366 |
-
|
6367 |
-
module.exports = isObject;
|
6368 |
-
|
6369 |
-
|
6370 |
-
/***/ }),
|
6371 |
-
|
6372 |
-
/***/ "./node_modules/lodash/isObjectLike.js":
|
6373 |
-
/*!*********************************************!*\
|
6374 |
-
!*** ./node_modules/lodash/isObjectLike.js ***!
|
6375 |
-
\*********************************************/
|
6376 |
-
/***/ (function(module) {
|
6377 |
-
|
6378 |
-
/**
|
6379 |
-
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
6380 |
-
* and has a `typeof` result of "object".
|
6381 |
-
*
|
6382 |
-
* @static
|
6383 |
-
* @memberOf _
|
6384 |
-
* @since 4.0.0
|
6385 |
-
* @category Lang
|
6386 |
-
* @param {*} value The value to check.
|
6387 |
-
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
6388 |
-
* @example
|
6389 |
-
*
|
6390 |
-
* _.isObjectLike({});
|
6391 |
-
* // => true
|
6392 |
-
*
|
6393 |
-
* _.isObjectLike([1, 2, 3]);
|
6394 |
-
* // => true
|
6395 |
-
*
|
6396 |
-
* _.isObjectLike(_.noop);
|
6397 |
-
* // => false
|
6398 |
-
*
|
6399 |
-
* _.isObjectLike(null);
|
6400 |
-
* // => false
|
6401 |
-
*/
|
6402 |
-
function isObjectLike(value) {
|
6403 |
-
return value != null && typeof value == 'object';
|
6404 |
-
}
|
6405 |
-
|
6406 |
-
module.exports = isObjectLike;
|
6407 |
-
|
6408 |
-
|
6409 |
-
/***/ }),
|
6410 |
-
|
6411 |
-
/***/ "./node_modules/lodash/isPlainObject.js":
|
6412 |
-
/*!**********************************************!*\
|
6413 |
-
!*** ./node_modules/lodash/isPlainObject.js ***!
|
6414 |
-
\**********************************************/
|
6415 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6416 |
-
|
6417 |
-
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
6418 |
-
getPrototype = __webpack_require__(/*! ./_getPrototype */ "./node_modules/lodash/_getPrototype.js"),
|
6419 |
-
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
6420 |
-
|
6421 |
-
/** `Object#toString` result references. */
|
6422 |
-
var objectTag = '[object Object]';
|
6423 |
-
|
6424 |
-
/** Used for built-in method references. */
|
6425 |
-
var funcProto = Function.prototype,
|
6426 |
-
objectProto = Object.prototype;
|
6427 |
-
|
6428 |
-
/** Used to resolve the decompiled source of functions. */
|
6429 |
-
var funcToString = funcProto.toString;
|
6430 |
-
|
6431 |
-
/** Used to check objects for own properties. */
|
6432 |
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
6433 |
-
|
6434 |
-
/** Used to infer the `Object` constructor. */
|
6435 |
-
var objectCtorString = funcToString.call(Object);
|
6436 |
-
|
6437 |
-
/**
|
6438 |
-
* Checks if `value` is a plain object, that is, an object created by the
|
6439 |
-
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
6440 |
-
*
|
6441 |
-
* @static
|
6442 |
-
* @memberOf _
|
6443 |
-
* @since 0.8.0
|
6444 |
-
* @category Lang
|
6445 |
-
* @param {*} value The value to check.
|
6446 |
-
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
6447 |
-
* @example
|
6448 |
-
*
|
6449 |
-
* function Foo() {
|
6450 |
-
* this.a = 1;
|
6451 |
-
* }
|
6452 |
-
*
|
6453 |
-
* _.isPlainObject(new Foo);
|
6454 |
-
* // => false
|
6455 |
-
*
|
6456 |
-
* _.isPlainObject([1, 2, 3]);
|
6457 |
-
* // => false
|
6458 |
-
*
|
6459 |
-
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
6460 |
-
* // => true
|
6461 |
-
*
|
6462 |
-
* _.isPlainObject(Object.create(null));
|
6463 |
-
* // => true
|
6464 |
-
*/
|
6465 |
-
function isPlainObject(value) {
|
6466 |
-
if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
|
6467 |
-
return false;
|
6468 |
-
}
|
6469 |
-
var proto = getPrototype(value);
|
6470 |
-
if (proto === null) {
|
6471 |
-
return true;
|
6472 |
-
}
|
6473 |
-
var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
|
6474 |
-
return typeof Ctor == 'function' && Ctor instanceof Ctor &&
|
6475 |
-
funcToString.call(Ctor) == objectCtorString;
|
6476 |
-
}
|
6477 |
-
|
6478 |
-
module.exports = isPlainObject;
|
6479 |
-
|
6480 |
-
|
6481 |
-
/***/ }),
|
6482 |
-
|
6483 |
-
/***/ "./node_modules/lodash/isSet.js":
|
6484 |
-
/*!**************************************!*\
|
6485 |
-
!*** ./node_modules/lodash/isSet.js ***!
|
6486 |
-
\**************************************/
|
6487 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6488 |
-
|
6489 |
-
var baseIsSet = __webpack_require__(/*! ./_baseIsSet */ "./node_modules/lodash/_baseIsSet.js"),
|
6490 |
-
baseUnary = __webpack_require__(/*! ./_baseUnary */ "./node_modules/lodash/_baseUnary.js"),
|
6491 |
-
nodeUtil = __webpack_require__(/*! ./_nodeUtil */ "./node_modules/lodash/_nodeUtil.js");
|
6492 |
-
|
6493 |
-
/* Node.js helper references. */
|
6494 |
-
var nodeIsSet = nodeUtil && nodeUtil.isSet;
|
6495 |
-
|
6496 |
-
/**
|
6497 |
-
* Checks if `value` is classified as a `Set` object.
|
6498 |
-
*
|
6499 |
-
* @static
|
6500 |
-
* @memberOf _
|
6501 |
-
* @since 4.3.0
|
6502 |
-
* @category Lang
|
6503 |
-
* @param {*} value The value to check.
|
6504 |
-
* @returns {boolean} Returns `true` if `value` is a set, else `false`.
|
6505 |
-
* @example
|
6506 |
-
*
|
6507 |
-
* _.isSet(new Set);
|
6508 |
-
* // => true
|
6509 |
-
*
|
6510 |
-
* _.isSet(new WeakSet);
|
6511 |
-
* // => false
|
6512 |
-
*/
|
6513 |
-
var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
6514 |
-
|
6515 |
-
module.exports = isSet;
|
6516 |
-
|
6517 |
-
|
6518 |
-
/***/ }),
|
6519 |
-
|
6520 |
-
/***/ "./node_modules/lodash/isString.js":
|
6521 |
-
/*!*****************************************!*\
|
6522 |
-
!*** ./node_modules/lodash/isString.js ***!
|
6523 |
-
\*****************************************/
|
6524 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6525 |
-
|
6526 |
-
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
6527 |
-
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
|
6528 |
-
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
6529 |
-
|
6530 |
-
/** `Object#toString` result references. */
|
6531 |
-
var stringTag = '[object String]';
|
6532 |
-
|
6533 |
-
/**
|
6534 |
-
* Checks if `value` is classified as a `String` primitive or object.
|
6535 |
-
*
|
6536 |
-
* @static
|
6537 |
-
* @since 0.1.0
|
6538 |
-
* @memberOf _
|
6539 |
-
* @category Lang
|
6540 |
-
* @param {*} value The value to check.
|
6541 |
-
* @returns {boolean} Returns `true` if `value` is a string, else `false`.
|
6542 |
-
* @example
|
6543 |
-
*
|
6544 |
-
* _.isString('abc');
|
6545 |
-
* // => true
|
6546 |
-
*
|
6547 |
-
* _.isString(1);
|
6548 |
-
* // => false
|
6549 |
-
*/
|
6550 |
-
function isString(value) {
|
6551 |
-
return typeof value == 'string' ||
|
6552 |
-
(!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);
|
6553 |
-
}
|
6554 |
-
|
6555 |
-
module.exports = isString;
|
6556 |
-
|
6557 |
-
|
6558 |
-
/***/ }),
|
6559 |
-
|
6560 |
-
/***/ "./node_modules/lodash/isSymbol.js":
|
6561 |
-
/*!*****************************************!*\
|
6562 |
-
!*** ./node_modules/lodash/isSymbol.js ***!
|
6563 |
-
\*****************************************/
|
6564 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6565 |
-
|
6566 |
-
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
6567 |
-
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
6568 |
-
|
6569 |
-
/** `Object#toString` result references. */
|
6570 |
-
var symbolTag = '[object Symbol]';
|
6571 |
-
|
6572 |
-
/**
|
6573 |
-
* Checks if `value` is classified as a `Symbol` primitive or object.
|
6574 |
-
*
|
6575 |
-
* @static
|
6576 |
-
* @memberOf _
|
6577 |
-
* @since 4.0.0
|
6578 |
-
* @category Lang
|
6579 |
-
* @param {*} value The value to check.
|
6580 |
-
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
6581 |
-
* @example
|
6582 |
-
*
|
6583 |
-
* _.isSymbol(Symbol.iterator);
|
6584 |
-
* // => true
|
6585 |
-
*
|
6586 |
-
* _.isSymbol('abc');
|
6587 |
-
* // => false
|
6588 |
-
*/
|
6589 |
-
function isSymbol(value) {
|
6590 |
-
return typeof value == 'symbol' ||
|
6591 |
-
(isObjectLike(value) && baseGetTag(value) == symbolTag);
|
6592 |
-
}
|
6593 |
-
|
6594 |
-
module.exports = isSymbol;
|
6595 |
-
|
6596 |
-
|
6597 |
-
/***/ }),
|
6598 |
-
|
6599 |
-
/***/ "./node_modules/lodash/isTypedArray.js":
|
6600 |
-
/*!*********************************************!*\
|
6601 |
-
!*** ./node_modules/lodash/isTypedArray.js ***!
|
6602 |
-
\*********************************************/
|
6603 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6604 |
-
|
6605 |
-
var baseIsTypedArray = __webpack_require__(/*! ./_baseIsTypedArray */ "./node_modules/lodash/_baseIsTypedArray.js"),
|
6606 |
-
baseUnary = __webpack_require__(/*! ./_baseUnary */ "./node_modules/lodash/_baseUnary.js"),
|
6607 |
-
nodeUtil = __webpack_require__(/*! ./_nodeUtil */ "./node_modules/lodash/_nodeUtil.js");
|
6608 |
-
|
6609 |
-
/* Node.js helper references. */
|
6610 |
-
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
6611 |
-
|
6612 |
-
/**
|
6613 |
-
* Checks if `value` is classified as a typed array.
|
6614 |
-
*
|
6615 |
-
* @static
|
6616 |
-
* @memberOf _
|
6617 |
-
* @since 3.0.0
|
6618 |
-
* @category Lang
|
6619 |
-
* @param {*} value The value to check.
|
6620 |
-
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
6621 |
-
* @example
|
6622 |
-
*
|
6623 |
-
* _.isTypedArray(new Uint8Array);
|
6624 |
-
* // => true
|
6625 |
-
*
|
6626 |
-
* _.isTypedArray([]);
|
6627 |
-
* // => false
|
6628 |
-
*/
|
6629 |
-
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
6630 |
-
|
6631 |
-
module.exports = isTypedArray;
|
6632 |
-
|
6633 |
-
|
6634 |
-
/***/ }),
|
6635 |
-
|
6636 |
-
/***/ "./node_modules/lodash/keys.js":
|
6637 |
-
/*!*************************************!*\
|
6638 |
-
!*** ./node_modules/lodash/keys.js ***!
|
6639 |
-
\*************************************/
|
6640 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6641 |
-
|
6642 |
-
var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ "./node_modules/lodash/_arrayLikeKeys.js"),
|
6643 |
-
baseKeys = __webpack_require__(/*! ./_baseKeys */ "./node_modules/lodash/_baseKeys.js"),
|
6644 |
-
isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./node_modules/lodash/isArrayLike.js");
|
6645 |
-
|
6646 |
-
/**
|
6647 |
-
* Creates an array of the own enumerable property names of `object`.
|
6648 |
-
*
|
6649 |
-
* **Note:** Non-object values are coerced to objects. See the
|
6650 |
-
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
6651 |
-
* for more details.
|
6652 |
-
*
|
6653 |
-
* @static
|
6654 |
-
* @since 0.1.0
|
6655 |
-
* @memberOf _
|
6656 |
-
* @category Object
|
6657 |
-
* @param {Object} object The object to query.
|
6658 |
-
* @returns {Array} Returns the array of property names.
|
6659 |
-
* @example
|
6660 |
-
*
|
6661 |
-
* function Foo() {
|
6662 |
-
* this.a = 1;
|
6663 |
-
* this.b = 2;
|
6664 |
-
* }
|
6665 |
-
*
|
6666 |
-
* Foo.prototype.c = 3;
|
6667 |
-
*
|
6668 |
-
* _.keys(new Foo);
|
6669 |
-
* // => ['a', 'b'] (iteration order is not guaranteed)
|
6670 |
-
*
|
6671 |
-
* _.keys('hi');
|
6672 |
-
* // => ['0', '1']
|
6673 |
-
*/
|
6674 |
-
function keys(object) {
|
6675 |
-
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
6676 |
-
}
|
6677 |
-
|
6678 |
-
module.exports = keys;
|
6679 |
-
|
6680 |
-
|
6681 |
-
/***/ }),
|
6682 |
-
|
6683 |
-
/***/ "./node_modules/lodash/keysIn.js":
|
6684 |
-
/*!***************************************!*\
|
6685 |
-
!*** ./node_modules/lodash/keysIn.js ***!
|
6686 |
-
\***************************************/
|
6687 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6688 |
-
|
6689 |
-
var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ "./node_modules/lodash/_arrayLikeKeys.js"),
|
6690 |
-
baseKeysIn = __webpack_require__(/*! ./_baseKeysIn */ "./node_modules/lodash/_baseKeysIn.js"),
|
6691 |
-
isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./node_modules/lodash/isArrayLike.js");
|
6692 |
-
|
6693 |
-
/**
|
6694 |
-
* Creates an array of the own and inherited enumerable property names of `object`.
|
6695 |
-
*
|
6696 |
-
* **Note:** Non-object values are coerced to objects.
|
6697 |
-
*
|
6698 |
-
* @static
|
6699 |
-
* @memberOf _
|
6700 |
-
* @since 3.0.0
|
6701 |
-
* @category Object
|
6702 |
-
* @param {Object} object The object to query.
|
6703 |
-
* @returns {Array} Returns the array of property names.
|
6704 |
-
* @example
|
6705 |
-
*
|
6706 |
-
* function Foo() {
|
6707 |
-
* this.a = 1;
|
6708 |
-
* this.b = 2;
|
6709 |
-
* }
|
6710 |
-
*
|
6711 |
-
* Foo.prototype.c = 3;
|
6712 |
-
*
|
6713 |
-
* _.keysIn(new Foo);
|
6714 |
-
* // => ['a', 'b', 'c'] (iteration order is not guaranteed)
|
6715 |
-
*/
|
6716 |
-
function keysIn(object) {
|
6717 |
-
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
6718 |
-
}
|
6719 |
-
|
6720 |
-
module.exports = keysIn;
|
6721 |
-
|
6722 |
-
|
6723 |
-
/***/ }),
|
6724 |
-
|
6725 |
-
/***/ "./node_modules/lodash/map.js":
|
6726 |
-
/*!************************************!*\
|
6727 |
-
!*** ./node_modules/lodash/map.js ***!
|
6728 |
-
\************************************/
|
6729 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6730 |
-
|
6731 |
-
var arrayMap = __webpack_require__(/*! ./_arrayMap */ "./node_modules/lodash/_arrayMap.js"),
|
6732 |
-
baseIteratee = __webpack_require__(/*! ./_baseIteratee */ "./node_modules/lodash/_baseIteratee.js"),
|
6733 |
-
baseMap = __webpack_require__(/*! ./_baseMap */ "./node_modules/lodash/_baseMap.js"),
|
6734 |
-
isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js");
|
6735 |
-
|
6736 |
-
/**
|
6737 |
-
* Creates an array of values by running each element in `collection` thru
|
6738 |
-
* `iteratee`. The iteratee is invoked with three arguments:
|
6739 |
-
* (value, index|key, collection).
|
6740 |
-
*
|
6741 |
-
* Many lodash methods are guarded to work as iteratees for methods like
|
6742 |
-
* `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
|
6743 |
-
*
|
6744 |
-
* The guarded methods are:
|
6745 |
-
* `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
|
6746 |
-
* `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
|
6747 |
-
* `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
|
6748 |
-
* `template`, `trim`, `trimEnd`, `trimStart`, and `words`
|
6749 |
-
*
|
6750 |
-
* @static
|
6751 |
-
* @memberOf _
|
6752 |
-
* @since 0.1.0
|
6753 |
-
* @category Collection
|
6754 |
-
* @param {Array|Object} collection The collection to iterate over.
|
6755 |
-
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
6756 |
-
* @returns {Array} Returns the new mapped array.
|
6757 |
-
* @example
|
6758 |
-
*
|
6759 |
-
* function square(n) {
|
6760 |
-
* return n * n;
|
6761 |
-
* }
|
6762 |
-
*
|
6763 |
-
* _.map([4, 8], square);
|
6764 |
-
* // => [16, 64]
|
6765 |
-
*
|
6766 |
-
* _.map({ 'a': 4, 'b': 8 }, square);
|
6767 |
-
* // => [16, 64] (iteration order is not guaranteed)
|
6768 |
-
*
|
6769 |
-
* var users = [
|
6770 |
-
* { 'user': 'barney' },
|
6771 |
-
* { 'user': 'fred' }
|
6772 |
-
* ];
|
6773 |
-
*
|
6774 |
-
* // The `_.property` iteratee shorthand.
|
6775 |
-
* _.map(users, 'user');
|
6776 |
-
* // => ['barney', 'fred']
|
6777 |
-
*/
|
6778 |
-
function map(collection, iteratee) {
|
6779 |
-
var func = isArray(collection) ? arrayMap : baseMap;
|
6780 |
-
return func(collection, baseIteratee(iteratee, 3));
|
6781 |
-
}
|
6782 |
-
|
6783 |
-
module.exports = map;
|
6784 |
-
|
6785 |
-
|
6786 |
-
/***/ }),
|
6787 |
-
|
6788 |
-
/***/ "./node_modules/lodash/memoize.js":
|
6789 |
-
/*!****************************************!*\
|
6790 |
-
!*** ./node_modules/lodash/memoize.js ***!
|
6791 |
-
\****************************************/
|
6792 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6793 |
-
|
6794 |
-
var MapCache = __webpack_require__(/*! ./_MapCache */ "./node_modules/lodash/_MapCache.js");
|
6795 |
-
|
6796 |
-
/** Error message constants. */
|
6797 |
-
var FUNC_ERROR_TEXT = 'Expected a function';
|
6798 |
-
|
6799 |
-
/**
|
6800 |
-
* Creates a function that memoizes the result of `func`. If `resolver` is
|
6801 |
-
* provided, it determines the cache key for storing the result based on the
|
6802 |
-
* arguments provided to the memoized function. By default, the first argument
|
6803 |
-
* provided to the memoized function is used as the map cache key. The `func`
|
6804 |
-
* is invoked with the `this` binding of the memoized function.
|
6805 |
-
*
|
6806 |
-
* **Note:** The cache is exposed as the `cache` property on the memoized
|
6807 |
-
* function. Its creation may be customized by replacing the `_.memoize.Cache`
|
6808 |
-
* constructor with one whose instances implement the
|
6809 |
-
* [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
|
6810 |
-
* method interface of `clear`, `delete`, `get`, `has`, and `set`.
|
6811 |
-
*
|
6812 |
-
* @static
|
6813 |
-
* @memberOf _
|
6814 |
-
* @since 0.1.0
|
6815 |
-
* @category Function
|
6816 |
-
* @param {Function} func The function to have its output memoized.
|
6817 |
-
* @param {Function} [resolver] The function to resolve the cache key.
|
6818 |
-
* @returns {Function} Returns the new memoized function.
|
6819 |
-
* @example
|
6820 |
-
*
|
6821 |
-
* var object = { 'a': 1, 'b': 2 };
|
6822 |
-
* var other = { 'c': 3, 'd': 4 };
|
6823 |
-
*
|
6824 |
-
* var values = _.memoize(_.values);
|
6825 |
-
* values(object);
|
6826 |
-
* // => [1, 2]
|
6827 |
-
*
|
6828 |
-
* values(other);
|
6829 |
-
* // => [3, 4]
|
6830 |
-
*
|
6831 |
-
* object.a = 2;
|
6832 |
-
* values(object);
|
6833 |
-
* // => [1, 2]
|
6834 |
-
*
|
6835 |
-
* // Modify the result cache.
|
6836 |
-
* values.cache.set(object, ['a', 'b']);
|
6837 |
-
* values(object);
|
6838 |
-
* // => ['a', 'b']
|
6839 |
-
*
|
6840 |
-
* // Replace `_.memoize.Cache`.
|
6841 |
-
* _.memoize.Cache = WeakMap;
|
6842 |
-
*/
|
6843 |
-
function memoize(func, resolver) {
|
6844 |
-
if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
|
6845 |
-
throw new TypeError(FUNC_ERROR_TEXT);
|
6846 |
-
}
|
6847 |
-
var memoized = function() {
|
6848 |
-
var args = arguments,
|
6849 |
-
key = resolver ? resolver.apply(this, args) : args[0],
|
6850 |
-
cache = memoized.cache;
|
6851 |
-
|
6852 |
-
if (cache.has(key)) {
|
6853 |
-
return cache.get(key);
|
6854 |
-
}
|
6855 |
-
var result = func.apply(this, args);
|
6856 |
-
memoized.cache = cache.set(key, result) || cache;
|
6857 |
-
return result;
|
6858 |
-
};
|
6859 |
-
memoized.cache = new (memoize.Cache || MapCache);
|
6860 |
-
return memoized;
|
6861 |
-
}
|
6862 |
-
|
6863 |
-
// Expose `MapCache`.
|
6864 |
-
memoize.Cache = MapCache;
|
6865 |
-
|
6866 |
-
module.exports = memoize;
|
6867 |
-
|
6868 |
-
|
6869 |
-
/***/ }),
|
6870 |
-
|
6871 |
-
/***/ "./node_modules/lodash/property.js":
|
6872 |
-
/*!*****************************************!*\
|
6873 |
-
!*** ./node_modules/lodash/property.js ***!
|
6874 |
-
\*****************************************/
|
6875 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6876 |
-
|
6877 |
-
var baseProperty = __webpack_require__(/*! ./_baseProperty */ "./node_modules/lodash/_baseProperty.js"),
|
6878 |
-
basePropertyDeep = __webpack_require__(/*! ./_basePropertyDeep */ "./node_modules/lodash/_basePropertyDeep.js"),
|
6879 |
-
isKey = __webpack_require__(/*! ./_isKey */ "./node_modules/lodash/_isKey.js"),
|
6880 |
-
toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
|
6881 |
-
|
6882 |
-
/**
|
6883 |
-
* Creates a function that returns the value at `path` of a given object.
|
6884 |
-
*
|
6885 |
-
* @static
|
6886 |
-
* @memberOf _
|
6887 |
-
* @since 2.4.0
|
6888 |
-
* @category Util
|
6889 |
-
* @param {Array|string} path The path of the property to get.
|
6890 |
-
* @returns {Function} Returns the new accessor function.
|
6891 |
-
* @example
|
6892 |
-
*
|
6893 |
-
* var objects = [
|
6894 |
-
* { 'a': { 'b': 2 } },
|
6895 |
-
* { 'a': { 'b': 1 } }
|
6896 |
-
* ];
|
6897 |
-
*
|
6898 |
-
* _.map(objects, _.property('a.b'));
|
6899 |
-
* // => [2, 1]
|
6900 |
-
*
|
6901 |
-
* _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
|
6902 |
-
* // => [1, 2]
|
6903 |
-
*/
|
6904 |
-
function property(path) {
|
6905 |
-
return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
|
6906 |
-
}
|
6907 |
-
|
6908 |
-
module.exports = property;
|
6909 |
-
|
6910 |
-
|
6911 |
-
/***/ }),
|
6912 |
-
|
6913 |
-
/***/ "./node_modules/lodash/stubArray.js":
|
6914 |
-
/*!******************************************!*\
|
6915 |
-
!*** ./node_modules/lodash/stubArray.js ***!
|
6916 |
-
\******************************************/
|
6917 |
-
/***/ (function(module) {
|
6918 |
-
|
6919 |
-
/**
|
6920 |
-
* This method returns a new empty array.
|
6921 |
-
*
|
6922 |
-
* @static
|
6923 |
-
* @memberOf _
|
6924 |
-
* @since 4.13.0
|
6925 |
-
* @category Util
|
6926 |
-
* @returns {Array} Returns the new empty array.
|
6927 |
-
* @example
|
6928 |
-
*
|
6929 |
-
* var arrays = _.times(2, _.stubArray);
|
6930 |
-
*
|
6931 |
-
* console.log(arrays);
|
6932 |
-
* // => [[], []]
|
6933 |
-
*
|
6934 |
-
* console.log(arrays[0] === arrays[1]);
|
6935 |
-
* // => false
|
6936 |
-
*/
|
6937 |
-
function stubArray() {
|
6938 |
-
return [];
|
6939 |
-
}
|
6940 |
-
|
6941 |
-
module.exports = stubArray;
|
6942 |
-
|
6943 |
-
|
6944 |
-
/***/ }),
|
6945 |
-
|
6946 |
-
/***/ "./node_modules/lodash/stubFalse.js":
|
6947 |
-
/*!******************************************!*\
|
6948 |
-
!*** ./node_modules/lodash/stubFalse.js ***!
|
6949 |
-
\******************************************/
|
6950 |
-
/***/ (function(module) {
|
6951 |
-
|
6952 |
-
/**
|
6953 |
-
* This method returns `false`.
|
6954 |
-
*
|
6955 |
-
* @static
|
6956 |
-
* @memberOf _
|
6957 |
-
* @since 4.13.0
|
6958 |
-
* @category Util
|
6959 |
-
* @returns {boolean} Returns `false`.
|
6960 |
-
* @example
|
6961 |
-
*
|
6962 |
-
* _.times(2, _.stubFalse);
|
6963 |
-
* // => [false, false]
|
6964 |
-
*/
|
6965 |
-
function stubFalse() {
|
6966 |
-
return false;
|
6967 |
-
}
|
6968 |
-
|
6969 |
-
module.exports = stubFalse;
|
6970 |
-
|
6971 |
-
|
6972 |
-
/***/ }),
|
6973 |
-
|
6974 |
-
/***/ "./node_modules/lodash/toString.js":
|
6975 |
-
/*!*****************************************!*\
|
6976 |
-
!*** ./node_modules/lodash/toString.js ***!
|
6977 |
-
\*****************************************/
|
6978 |
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
6979 |
-
|
6980 |
-
var baseToString = __webpack_require__(/*! ./_baseToString */ "./node_modules/lodash/_baseToString.js");
|
6981 |
-
|
6982 |
-
/**
|
6983 |
-
* Converts `value` to a string. An empty string is returned for `null`
|
6984 |
-
* and `undefined` values. The sign of `-0` is preserved.
|
6985 |
-
*
|
6986 |
-
* @static
|
6987 |
-
* @memberOf _
|
6988 |
-
* @since 4.0.0
|
6989 |
-
* @category Lang
|
6990 |
-
* @param {*} value The value to convert.
|
6991 |
-
* @returns {string} Returns the converted string.
|
6992 |
-
* @example
|
6993 |
-
*
|
6994 |
-
* _.toString(null);
|
6995 |
-
* // => ''
|
6996 |
-
*
|
6997 |
-
* _.toString(-0);
|
6998 |
-
* // => '-0'
|
6999 |
-
*
|
7000 |
-
* _.toString([1, 2, 3]);
|
7001 |
-
* // => '1,2,3'
|
7002 |
-
*/
|
7003 |
-
function toString(value) {
|
7004 |
-
return value == null ? '' : baseToString(value);
|
7005 |
-
}
|
7006 |
-
|
7007 |
-
module.exports = toString;
|
7008 |
-
|
7009 |
-
|
7010 |
-
/***/ }),
|
7011 |
-
|
7012 |
-
/***/ "./src/control.scss":
|
7013 |
-
/*!**************************!*\
|
7014 |
-
!*** ./src/control.scss ***!
|
7015 |
-
\**************************/
|
7016 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
7017 |
-
|
7018 |
-
"use strict";
|
7019 |
-
__webpack_require__.r(__webpack_exports__);
|
7020 |
-
// extracted by mini-css-extract-plugin
|
7021 |
-
|
7022 |
-
|
7023 |
-
/***/ }),
|
7024 |
-
|
7025 |
-
/***/ "./node_modules/react-colorful/dist/index.module.js":
|
7026 |
-
/*!**********************************************************!*\
|
7027 |
-
!*** ./node_modules/react-colorful/dist/index.module.js ***!
|
7028 |
-
\**********************************************************/
|
7029 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
7030 |
-
|
7031 |
-
"use strict";
|
7032 |
-
__webpack_require__.r(__webpack_exports__);
|
7033 |
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
7034 |
-
/* harmony export */ "HexColorInput": function() { return /* binding */ Ne; },
|
7035 |
-
/* harmony export */ "HexColorPicker": function() { return /* binding */ J; },
|
7036 |
-
/* harmony export */ "HslColorPicker": function() { return /* binding */ ne; },
|
7037 |
-
/* harmony export */ "HslStringColorPicker": function() { return /* binding */ ae; },
|
7038 |
-
/* harmony export */ "HslaColorPicker": function() { return /* binding */ Z; },
|
7039 |
-
/* harmony export */ "HslaStringColorPicker": function() { return /* binding */ re; },
|
7040 |
-
/* harmony export */ "HsvColorPicker": function() { return /* binding */ fe; },
|
7041 |
-
/* harmony export */ "HsvStringColorPicker": function() { return /* binding */ de; },
|
7042 |
-
/* harmony export */ "HsvaColorPicker": function() { return /* binding */ ue; },
|
7043 |
-
/* harmony export */ "HsvaStringColorPicker": function() { return /* binding */ ie; },
|
7044 |
-
/* harmony export */ "RgbColorPicker": function() { return /* binding */ _e; },
|
7045 |
-
/* harmony export */ "RgbStringColorPicker": function() { return /* binding */ Ce; },
|
7046 |
-
/* harmony export */ "RgbaColorPicker": function() { return /* binding */ me; },
|
7047 |
-
/* harmony export */ "RgbaStringColorPicker": function() { return /* binding */ pe; },
|
7048 |
-
/* harmony export */ "setNonce": function() { return /* binding */ Y; }
|
7049 |
-
/* harmony export */ });
|
7050 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
7051 |
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
7052 |
-
function u(){return(u=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function c(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r.indexOf(t=a[n])>=0||(o[t]=e[t]);return o}function i(e){var t=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(e),n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(function(e){t.current&&t.current(e)});return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e<r?r:e},f=function(e){return"touches"in e},v=function(e){return e&&e.ownerDocument.defaultView||self},d=function(e,r,t){var n=e.getBoundingClientRect(),o=f(r)?function(e,r){for(var t=0;t<e.length;t++)if(e[t].identifier===r)return e[t];return e[0]}(r.touches,t):r;return{left:s((o.pageX-(n.left+v(e).pageXOffset))/n.width),top:s((o.pageY-(n.top+v(e).pageYOffset))/n.height)}},h=function(e){!f(e)&&e.preventDefault()},m=react__WEBPACK_IMPORTED_MODULE_0___default().memo(function(o){var a=o.onMove,l=o.onKey,s=c(o,["onMove","onKey"]),m=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),g=i(a),p=i(l),b=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),_=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1),x=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function(){var e=function(e){h(e),(f(e)?e.touches.length>0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1)},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]},[p,g]),C=x[0],E=x[1],H=x[2];return (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){return H},[H]),react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))}),g=function(e){return e.filter(Boolean).join(" ")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g(["react-colorful__pointer",r.className]);return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},x=function(e){return"#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},C=function(e,r){return void 0===r&&(r="deg"),Number(e)*(_[r]||1)},E=function(e){var r=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?M({h:C(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},H=E,M=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},N=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},w=function(e){var r=N(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},y=function(e){var r=N(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},q=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},k=function(e){var r=/hsva?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?D({h:C(r[1],r[2]),s:Number(r[3]),v:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},O=k,I=function(e){var r=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?B({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=I,z=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},B=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},D=function(e){return{h:b(e.h),s:b(e.s),v:b(e.v),a:b(e.a,2)}},K=react__WEBPACK_IMPORTED_MODULE_0___default().memo(function(r){var t=r.hue,n=r.onChange,o=g(["react-colorful__hue",r.className]);return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",{className:o},react__WEBPACK_IMPORTED_MODULE_0___default().createElement(m,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:s(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":b(t)},react__WEBPACK_IMPORTED_MODULE_0___default().createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:w({h:t,s:100,v:100,a:1})})))}),L=react__WEBPACK_IMPORTED_MODULE_0___default().memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:w({h:t.h,s:100,v:100,a:1})};return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",{className:"react-colorful__saturation",style:o},react__WEBPACK_IMPORTED_MODULE_0___default().createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+b(t.s)+"%, Brightness "+b(t.v)+"%"},react__WEBPACK_IMPORTED_MODULE_0___default().createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:w(t)})))}),A=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},S=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")};function T(e,t,l){var u=i(l),c=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)({color:t,hsva:s});(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}},[t,e]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){var r;A(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))},[s,e,u]);var d=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(e){f(function(r){return Object.assign({},r,e)})},[]);return[s,d]}var F,P="undefined"!=typeof window?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect,X=function(){return F||( true?__webpack_require__.nc:0)},Y=function(e){F=e},R=new Map,V=function(e){P(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!R.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',R.set(r,t);var n=X();n&&t.setAttribute("nonce",n),r.head.appendChild(t)}},[])},$=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",u({},s,{ref:f,className:m}),react__WEBPACK_IMPORTED_MODULE_0___default().createElement(L,{hsva:d,onChange:h}),react__WEBPACK_IMPORTED_MODULE_0___default().createElement(K,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},G={defaultColor:"000",toHsva:function(e){return B(x(e))},fromHsva:function(e){return t=(r=q(e)).g,n=r.b,"#"+z(r.r)+z(t)+z(n);var r,t,n},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||A(x(e),x(r))}},J=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:G}))},Q=function(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+y(Object.assign({},n,{a:0}))+", "+y(Object.assign({},n,{a:1}))+")"},l=g(["react-colorful__alpha",t]);return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",{className:l},react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react__WEBPACK_IMPORTED_MODULE_0___default().createElement(m,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:s(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":b(100*n.a)+"%"},react__WEBPACK_IMPORTED_MODULE_0___default().createElement(p,{className:"react-colorful__alpha-pointer",left:n.a,color:y(n)})))},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",u({},s,{ref:f,className:m}),react__WEBPACK_IMPORTED_MODULE_0___default().createElement(L,{hsva:d,onChange:h}),react__WEBPACK_IMPORTED_MODULE_0___default().createElement(K,{hue:d.h,onChange:h}),react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Q,{hsva:d,onChange:h,className:"react-colorful__last-control"}))},W={defaultColor:{h:0,s:0,l:0,a:1},toHsva:M,fromHsva:N,equal:A},Z=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(U,u({},r,{colorModel:W}))},ee={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:E,fromHsva:y,equal:S},re=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(U,u({},r,{colorModel:ee}))},te={defaultColor:{h:0,s:0,l:0},toHsva:function(e){return M({h:e.h,s:e.s,l:e.l,a:1})},fromHsva:function(e){return{h:(r=N(e)).h,s:r.s,l:r.l};var r},equal:A},ne=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:te}))},oe={defaultColor:"hsl(0, 0%, 0%)",toHsva:H,fromHsva:w,equal:S},ae=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:oe}))},le={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(e){return e},fromHsva:D,equal:A},ue=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(U,u({},r,{colorModel:le}))},ce={defaultColor:"hsva(0, 0%, 0%, 1)",toHsva:k,fromHsva:function(e){var r=D(e);return"hsva("+r.h+", "+r.s+"%, "+r.v+"%, "+r.a+")"},equal:S},ie=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(U,u({},r,{colorModel:ce}))},se={defaultColor:{h:0,s:0,v:0},toHsva:function(e){return{h:e.h,s:e.s,v:e.v,a:1}},fromHsva:function(e){var r=D(e);return{h:r.h,s:r.s,v:r.v}},equal:A},fe=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:se}))},ve={defaultColor:"hsv(0, 0%, 0%)",toHsva:O,fromHsva:function(e){var r=D(e);return"hsv("+r.h+", "+r.s+"%, "+r.v+"%)"},equal:S},de=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:ve}))},he={defaultColor:{r:0,g:0,b:0,a:1},toHsva:B,fromHsva:q,equal:A},me=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(U,u({},r,{colorModel:he}))},ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:I,fromHsva:function(e){var r=q(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:S},pe=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(U,u({},r,{colorModel:ge}))},be={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return B({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){return{r:(r=q(e)).r,g:r.g,b:r.b};var r},equal:A},_e=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:be}))},xe={defaultColor:"rgb(0, 0, 0)",toHsva:j,fromHsva:function(e){var r=q(e);return"rgb("+r.r+", "+r.g+", "+r.b+")"},equal:S},Ce=function(r){return react__WEBPACK_IMPORTED_MODULE_0___default().createElement($,u({},r,{colorModel:xe}))},Ee=/^#?([0-9A-F]{3,8})$/i,He=function(r){var t=r.color,l=void 0===t?"":t,s=r.onChange,f=r.onBlur,v=r.escape,d=r.validate,h=r.format,m=r.process,g=c(r,["color","onChange","onBlur","escape","validate","format","process"]),p=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(function(){return v(l)}),b=p[0],_=p[1],x=i(s),C=i(f),E=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(e){var r=v(e.target.value);_(r),d(r)&&x(m?m(r):r)},[v,m,d,x]),H=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(e){d(e.target.value)||_(v(l)),C(e)},[l,v,d,C]);return (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){_(v(l))},[l,v]),react__WEBPACK_IMPORTED_MODULE_0___default().createElement("input",u({},g,{value:h?h(b):b,spellCheck:"false",onChange:E,onBlur:H}))},Me=function(e){return"#"+e},Ne=function(r){var t=r.prefixed,n=r.alpha,o=c(r,["prefixed","alpha"]),l=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(e){return e.replace(/([^0-9A-F]+)/gi,"").substr(0,n?8:6)},[n]),i=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(e){return function(e,r){var t=Ee.exec(e),n=t?t[1].length:0;return 3===n||6===n||!!r&&4===n||!!r&&8===n}(e,n)},[n]);return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(He,u({},o,{escape:l,format:t?Me:void 0,process:Me,validate:i}))};
|
7053 |
-
//# sourceMappingURL=index.module.js.map
|
7054 |
-
|
7055 |
-
|
7056 |
-
/***/ }),
|
7057 |
-
|
7058 |
-
/***/ "./node_modules/reactcss/lib/autoprefix.js":
|
7059 |
-
/*!*************************************************!*\
|
7060 |
-
!*** ./node_modules/reactcss/lib/autoprefix.js ***!
|
7061 |
-
\*************************************************/
|
7062 |
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
7063 |
-
|
7064 |
-
"use strict";
|
7065 |
-
|
7066 |
-
|
7067 |
-
Object.defineProperty(exports, "__esModule", ({
|
7068 |
-
value: true
|
7069 |
-
}));
|
7070 |
-
exports.autoprefix = undefined;
|
7071 |
-
|
7072 |
-
var _forOwn2 = __webpack_require__(/*! lodash/forOwn */ "./node_modules/lodash/forOwn.js");
|
7073 |
-
|
7074 |
-
var _forOwn3 = _interopRequireDefault(_forOwn2);
|
7075 |
-
|
7076 |
-
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
7077 |
-
|
7078 |
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
7079 |
-
|
7080 |
-
var transforms = {
|
7081 |
-
borderRadius: function borderRadius(value) {
|
7082 |
-
return {
|
7083 |
-
msBorderRadius: value,
|
7084 |
-
MozBorderRadius: value,
|
7085 |
-
OBorderRadius: value,
|
7086 |
-
WebkitBorderRadius: value,
|
7087 |
-
borderRadius: value
|
7088 |
-
};
|
7089 |
-
},
|
7090 |
-
boxShadow: function boxShadow(value) {
|
7091 |
-
return {
|
7092 |
-
msBoxShadow: value,
|
7093 |
-
MozBoxShadow: value,
|
7094 |
-
OBoxShadow: value,
|
7095 |
-
WebkitBoxShadow: value,
|
7096 |
-
boxShadow: value
|
7097 |
-
};
|
7098 |
-
},
|
7099 |
-
userSelect: function userSelect(value) {
|
7100 |
-
return {
|
7101 |
-
WebkitTouchCallout: value,
|
7102 |
-
KhtmlUserSelect: value,
|
7103 |
-
MozUserSelect: value,
|
7104 |
-
msUserSelect: value,
|
7105 |
-
WebkitUserSelect: value,
|
7106 |
-
userSelect: value
|
7107 |
-
};
|
7108 |
-
},
|
7109 |
-
|
7110 |
-
flex: function flex(value) {
|
7111 |
-
return {
|
7112 |
-
WebkitBoxFlex: value,
|
7113 |
-
MozBoxFlex: value,
|
7114 |
-
WebkitFlex: value,
|
7115 |
-
msFlex: value,
|
7116 |
-
flex: value
|
7117 |
-
};
|
7118 |
-
},
|
7119 |
-
flexBasis: function flexBasis(value) {
|
7120 |
-
return {
|
7121 |
-
WebkitFlexBasis: value,
|
7122 |
-
flexBasis: value
|
7123 |
-
};
|
7124 |
-
},
|
7125 |
-
justifyContent: function justifyContent(value) {
|
7126 |
-
return {
|
7127 |
-
WebkitJustifyContent: value,
|
7128 |
-
justifyContent: value
|
7129 |
-
};
|
7130 |
-
},
|
7131 |
-
|
7132 |
-
transition: function transition(value) {
|
7133 |
-
return {
|
7134 |
-
msTransition: value,
|
7135 |
-
MozTransition: value,
|
7136 |
-
OTransition: value,
|
7137 |
-
WebkitTransition: value,
|
7138 |
-
transition: value
|
7139 |
-
};
|
7140 |
-
},
|
7141 |
-
|
7142 |
-
transform: function transform(value) {
|
7143 |
-
return {
|
7144 |
-
msTransform: value,
|
7145 |
-
MozTransform: value,
|
7146 |
-
OTransform: value,
|
7147 |
-
WebkitTransform: value,
|
7148 |
-
transform: value
|
7149 |
-
};
|
7150 |
-
},
|
7151 |
-
absolute: function absolute(value) {
|
7152 |
-
var direction = value && value.split(' ');
|
7153 |
-
return {
|
7154 |
-
position: 'absolute',
|
7155 |
-
top: direction && direction[0],
|
7156 |
-
right: direction && direction[1],
|
7157 |
-
bottom: direction && direction[2],
|
7158 |
-
left: direction && direction[3]
|
7159 |
-
};
|
7160 |
-
},
|
7161 |
-
extend: function extend(name, otherElementStyles) {
|
7162 |
-
var otherStyle = otherElementStyles[name];
|
7163 |
-
if (otherStyle) {
|
7164 |
-
return otherStyle;
|
7165 |
-
}
|
7166 |
-
return {
|
7167 |
-
'extend': name
|
7168 |
-
};
|
7169 |
-
}
|
7170 |
-
};
|
7171 |
-
|
7172 |
-
var autoprefix = exports.autoprefix = function autoprefix(elements) {
|
7173 |
-
var prefixed = {};
|
7174 |
-
(0, _forOwn3.default)(elements, function (styles, element) {
|
7175 |
-
var expanded = {};
|
7176 |
-
(0, _forOwn3.default)(styles, function (value, key) {
|
7177 |
-
var transform = transforms[key];
|
7178 |
-
if (transform) {
|
7179 |
-
expanded = _extends({}, expanded, transform(value));
|
7180 |
-
} else {
|
7181 |
-
expanded[key] = value;
|
7182 |
-
}
|
7183 |
-
});
|
7184 |
-
prefixed[element] = expanded;
|
7185 |
-
});
|
7186 |
-
return prefixed;
|
7187 |
-
};
|
7188 |
-
|
7189 |
-
exports["default"] = autoprefix;
|
7190 |
-
|
7191 |
-
/***/ }),
|
7192 |
-
|
7193 |
-
/***/ "./node_modules/reactcss/lib/components/active.js":
|
7194 |
-
/*!********************************************************!*\
|
7195 |
-
!*** ./node_modules/reactcss/lib/components/active.js ***!
|
7196 |
-
\********************************************************/
|
7197 |
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
7198 |
-
|
7199 |
-
"use strict";
|
7200 |
-
|
7201 |
-
|
7202 |
-
Object.defineProperty(exports, "__esModule", ({
|
7203 |
-
value: true
|
7204 |
-
}));
|
7205 |
-
exports.active = undefined;
|
7206 |
-
|
7207 |
-
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
7208 |
-
|
7209 |
-
var _react = __webpack_require__(/*! react */ "react");
|
7210 |
-
|
7211 |
-
var _react2 = _interopRequireDefault(_react);
|
7212 |
-
|
7213 |
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
7214 |
-
|
7215 |
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
7216 |
-
|
7217 |
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
7218 |
-
|
7219 |
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
7220 |
-
|
7221 |
-
var active = exports.active = function active(Component) {
|
7222 |
-
var Span = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'span';
|
7223 |
-
|
7224 |
-
return function (_React$Component) {
|
7225 |
-
_inherits(Active, _React$Component);
|
7226 |
-
|
7227 |
-
function Active() {
|
7228 |
-
var _ref;
|
7229 |
-
|
7230 |
-
var _temp, _this, _ret;
|
7231 |
-
|
7232 |
-
_classCallCheck(this, Active);
|
7233 |
-
|
7234 |
-
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
7235 |
-
args[_key] = arguments[_key];
|
7236 |
-
}
|
7237 |
-
|
7238 |
-
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Active.__proto__ || Object.getPrototypeOf(Active)).call.apply(_ref, [this].concat(args))), _this), _this.state = { active: false }, _this.handleMouseDown = function () {
|
7239 |
-
return _this.setState({ active: true });
|
7240 |
-
}, _this.handleMouseUp = function () {
|
7241 |
-
return _this.setState({ active: false });
|
7242 |
-
}, _this.render = function () {
|
7243 |
-
return _react2.default.createElement(
|
7244 |
-
Span,
|
7245 |
-
{ onMouseDown: _this.handleMouseDown, onMouseUp: _this.handleMouseUp },
|
7246 |
-
_react2.default.createElement(Component, _extends({}, _this.props, _this.state))
|
7247 |
-
);
|
7248 |
-
}, _temp), _possibleConstructorReturn(_this, _ret);
|
7249 |
-
}
|
7250 |
-
|
7251 |
-
return Active;
|
7252 |
-
}(_react2.default.Component);
|
7253 |
-
};
|
7254 |
-
|
7255 |
-
exports["default"] = active;
|
7256 |
-
|
7257 |
-
/***/ }),
|
7258 |
-
|
7259 |
-
/***/ "./node_modules/reactcss/lib/components/hover.js":
|
7260 |
-
/*!*******************************************************!*\
|
7261 |
-
!*** ./node_modules/reactcss/lib/components/hover.js ***!
|
7262 |
-
\*******************************************************/
|
7263 |
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
7264 |
-
|
7265 |
-
"use strict";
|
7266 |
-
|
7267 |
-
|
7268 |
-
Object.defineProperty(exports, "__esModule", ({
|
7269 |
-
value: true
|
7270 |
-
}));
|
7271 |
-
exports.hover = undefined;
|
7272 |
-
|
7273 |
-
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
7274 |
-
|
7275 |
-
var _react = __webpack_require__(/*! react */ "react");
|
7276 |
-
|
7277 |
-
var _react2 = _interopRequireDefault(_react);
|
7278 |
-
|
7279 |
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
7280 |
-
|
7281 |
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
7282 |
-
|
7283 |
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
7284 |
-
|
7285 |
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
7286 |
-
|
7287 |
-
var hover = exports.hover = function hover(Component) {
|
7288 |
-
var Span = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'span';
|
7289 |
-
|
7290 |
-
return function (_React$Component) {
|
7291 |
-
_inherits(Hover, _React$Component);
|
7292 |
-
|
7293 |
-
function Hover() {
|
7294 |
-
var _ref;
|
7295 |
-
|
7296 |
-
var _temp, _this, _ret;
|
7297 |
-
|
7298 |
-
_classCallCheck(this, Hover);
|
7299 |
-
|
7300 |
-
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
7301 |
-
args[_key] = arguments[_key];
|
7302 |
-
}
|
7303 |
-
|
7304 |
-
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Hover.__proto__ || Object.getPrototypeOf(Hover)).call.apply(_ref, [this].concat(args))), _this), _this.state = { hover: false }, _this.handleMouseOver = function () {
|
7305 |
-
return _this.setState({ hover: true });
|
7306 |
-
}, _this.handleMouseOut = function () {
|
7307 |
-
return _this.setState({ hover: false });
|
7308 |
-
}, _this.render = function () {
|
7309 |
-
return _react2.default.createElement(
|
7310 |
-
Span,
|
7311 |
-
{ onMouseOver: _this.handleMouseOver, onMouseOut: _this.handleMouseOut },
|
7312 |
-
_react2.default.createElement(Component, _extends({}, _this.props, _this.state))
|
7313 |
-
);
|
7314 |
-
}, _temp), _possibleConstructorReturn(_this, _ret);
|
7315 |
-
}
|
7316 |
-
|
7317 |
-
return Hover;
|
7318 |
-
}(_react2.default.Component);
|
7319 |
-
};
|
7320 |
-
|
7321 |
-
exports["default"] = hover;
|
7322 |
-
|
7323 |
-
/***/ }),
|
7324 |
-
|
7325 |
-
/***/ "./node_modules/reactcss/lib/flattenNames.js":
|
7326 |
-
/*!***************************************************!*\
|
7327 |
-
!*** ./node_modules/reactcss/lib/flattenNames.js ***!
|
7328 |
-
\***************************************************/
|
7329 |
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
7330 |
-
|
7331 |
-
"use strict";
|
7332 |
-
|
7333 |
-
|
7334 |
-
Object.defineProperty(exports, "__esModule", ({
|
7335 |
-
value: true
|
7336 |
-
}));
|
7337 |
-
exports.flattenNames = undefined;
|
7338 |
-
|
7339 |
-
var _isString2 = __webpack_require__(/*! lodash/isString */ "./node_modules/lodash/isString.js");
|
7340 |
-
|
7341 |
-
var _isString3 = _interopRequireDefault(_isString2);
|
7342 |
-
|
7343 |
-
var _forOwn2 = __webpack_require__(/*! lodash/forOwn */ "./node_modules/lodash/forOwn.js");
|
7344 |
-
|
7345 |
-
var _forOwn3 = _interopRequireDefault(_forOwn2);
|
7346 |
-
|
7347 |
-
var _isPlainObject2 = __webpack_require__(/*! lodash/isPlainObject */ "./node_modules/lodash/isPlainObject.js");
|
7348 |
-
|
7349 |
-
var _isPlainObject3 = _interopRequireDefault(_isPlainObject2);
|
7350 |
-
|
7351 |
-
var _map2 = __webpack_require__(/*! lodash/map */ "./node_modules/lodash/map.js");
|
7352 |
-
|
7353 |
-
var _map3 = _interopRequireDefault(_map2);
|
7354 |
-
|
7355 |
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
7356 |
-
|
7357 |
-
var flattenNames = exports.flattenNames = function flattenNames() {
|
7358 |
-
var things = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
7359 |
-
|
7360 |
-
var names = [];
|
7361 |
-
|
7362 |
-
(0, _map3.default)(things, function (thing) {
|
7363 |
-
if (Array.isArray(thing)) {
|
7364 |
-
flattenNames(thing).map(function (name) {
|
7365 |
-
return names.push(name);
|
7366 |
-
});
|
7367 |
-
} else if ((0, _isPlainObject3.default)(thing)) {
|
7368 |
-
(0, _forOwn3.default)(thing, function (value, key) {
|
7369 |
-
value === true && names.push(key);
|
7370 |
-
names.push(key + '-' + value);
|
7371 |
-
});
|
7372 |
-
} else if ((0, _isString3.default)(thing)) {
|
7373 |
-
names.push(thing);
|
7374 |
-
}
|
7375 |
-
});
|
7376 |
-
|
7377 |
-
return names;
|
7378 |
-
};
|
7379 |
-
|
7380 |
-
exports["default"] = flattenNames;
|
7381 |
-
|
7382 |
-
/***/ }),
|
7383 |
-
|
7384 |
-
/***/ "./node_modules/reactcss/lib/index.js":
|
7385 |
-
/*!********************************************!*\
|
7386 |
-
!*** ./node_modules/reactcss/lib/index.js ***!
|
7387 |
-
\********************************************/
|
7388 |
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
7389 |
-
|
7390 |
-
"use strict";
|
7391 |
-
|
7392 |
-
|
7393 |
-
Object.defineProperty(exports, "__esModule", ({
|
7394 |
-
value: true
|
7395 |
-
}));
|
7396 |
-
exports.ReactCSS = exports.loop = exports.handleActive = exports.handleHover = exports.hover = undefined;
|
7397 |
-
|
7398 |
-
var _flattenNames = __webpack_require__(/*! ./flattenNames */ "./node_modules/reactcss/lib/flattenNames.js");
|
7399 |
-
|
7400 |
-
var _flattenNames2 = _interopRequireDefault(_flattenNames);
|
7401 |
-
|
7402 |
-
var _mergeClasses = __webpack_require__(/*! ./mergeClasses */ "./node_modules/reactcss/lib/mergeClasses.js");
|
7403 |
-
|
7404 |
-
var _mergeClasses2 = _interopRequireDefault(_mergeClasses);
|
7405 |
-
|
7406 |
-
var _autoprefix = __webpack_require__(/*! ./autoprefix */ "./node_modules/reactcss/lib/autoprefix.js");
|
7407 |
-
|
7408 |
-
var _autoprefix2 = _interopRequireDefault(_autoprefix);
|
7409 |
-
|
7410 |
-
var _hover2 = __webpack_require__(/*! ./components/hover */ "./node_modules/reactcss/lib/components/hover.js");
|
7411 |
-
|
7412 |
-
var _hover3 = _interopRequireDefault(_hover2);
|
7413 |
-
|
7414 |
-
var _active = __webpack_require__(/*! ./components/active */ "./node_modules/reactcss/lib/components/active.js");
|
7415 |
-
|
7416 |
-
var _active2 = _interopRequireDefault(_active);
|
7417 |
-
|
7418 |
-
var _loop2 = __webpack_require__(/*! ./loop */ "./node_modules/reactcss/lib/loop.js");
|
7419 |
-
|
7420 |
-
var _loop3 = _interopRequireDefault(_loop2);
|
7421 |
-
|
7422 |
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
7423 |
-
|
7424 |
-
exports.hover = _hover3.default;
|
7425 |
-
exports.handleHover = _hover3.default;
|
7426 |
-
exports.handleActive = _active2.default;
|
7427 |
-
exports.loop = _loop3.default;
|
7428 |
-
var ReactCSS = exports.ReactCSS = function ReactCSS(classes) {
|
7429 |
-
for (var _len = arguments.length, activations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
7430 |
-
activations[_key - 1] = arguments[_key];
|
7431 |
-
}
|
7432 |
-
|
7433 |
-
var activeNames = (0, _flattenNames2.default)(activations);
|
7434 |
-
var merged = (0, _mergeClasses2.default)(classes, activeNames);
|
7435 |
-
return (0, _autoprefix2.default)(merged);
|
7436 |
-
};
|
7437 |
-
|
7438 |
-
exports["default"] = ReactCSS;
|
7439 |
-
|
7440 |
-
/***/ }),
|
7441 |
-
|
7442 |
-
/***/ "./node_modules/reactcss/lib/loop.js":
|
7443 |
-
/*!*******************************************!*\
|
7444 |
-
!*** ./node_modules/reactcss/lib/loop.js ***!
|
7445 |
-
\*******************************************/
|
7446 |
-
/***/ (function(__unused_webpack_module, exports) {
|
7447 |
-
|
7448 |
-
"use strict";
|
7449 |
-
|
7450 |
-
|
7451 |
-
Object.defineProperty(exports, "__esModule", ({
|
7452 |
-
value: true
|
7453 |
-
}));
|
7454 |
-
var loopable = function loopable(i, length) {
|
7455 |
-
var props = {};
|
7456 |
-
var setProp = function setProp(name) {
|
7457 |
-
var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
7458 |
-
|
7459 |
-
props[name] = value;
|
7460 |
-
};
|
7461 |
-
|
7462 |
-
i === 0 && setProp('first-child');
|
7463 |
-
i === length - 1 && setProp('last-child');
|
7464 |
-
(i === 0 || i % 2 === 0) && setProp('even');
|
7465 |
-
Math.abs(i % 2) === 1 && setProp('odd');
|
7466 |
-
setProp('nth-child', i);
|
7467 |
-
|
7468 |
-
return props;
|
7469 |
-
};
|
7470 |
-
|
7471 |
-
exports["default"] = loopable;
|
7472 |
-
|
7473 |
-
/***/ }),
|
7474 |
-
|
7475 |
-
/***/ "./node_modules/reactcss/lib/mergeClasses.js":
|
7476 |
-
/*!***************************************************!*\
|
7477 |
-
!*** ./node_modules/reactcss/lib/mergeClasses.js ***!
|
7478 |
-
\***************************************************/
|
7479 |
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
7480 |
-
|
7481 |
-
"use strict";
|
7482 |
-
|
7483 |
-
|
7484 |
-
Object.defineProperty(exports, "__esModule", ({
|
7485 |
-
value: true
|
7486 |
-
}));
|
7487 |
-
exports.mergeClasses = undefined;
|
7488 |
-
|
7489 |
-
var _forOwn2 = __webpack_require__(/*! lodash/forOwn */ "./node_modules/lodash/forOwn.js");
|
7490 |
-
|
7491 |
-
var _forOwn3 = _interopRequireDefault(_forOwn2);
|
7492 |
-
|
7493 |
-
var _cloneDeep2 = __webpack_require__(/*! lodash/cloneDeep */ "./node_modules/lodash/cloneDeep.js");
|
7494 |
-
|
7495 |
-
var _cloneDeep3 = _interopRequireDefault(_cloneDeep2);
|
7496 |
-
|
7497 |
-
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
7498 |
-
|
7499 |
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
7500 |
-
|
7501 |
-
var mergeClasses = exports.mergeClasses = function mergeClasses(classes) {
|
7502 |
-
var activeNames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
7503 |
-
|
7504 |
-
var styles = classes.default && (0, _cloneDeep3.default)(classes.default) || {};
|
7505 |
-
activeNames.map(function (name) {
|
7506 |
-
var toMerge = classes[name];
|
7507 |
-
if (toMerge) {
|
7508 |
-
(0, _forOwn3.default)(toMerge, function (value, key) {
|
7509 |
-
if (!styles[key]) {
|
7510 |
-
styles[key] = {};
|
7511 |
-
}
|
7512 |
-
|
7513 |
-
styles[key] = _extends({}, styles[key], toMerge[key]);
|
7514 |
-
});
|
7515 |
-
}
|
7516 |
-
|
7517 |
-
return name;
|
7518 |
-
});
|
7519 |
-
return styles;
|
7520 |
-
};
|
7521 |
-
|
7522 |
-
exports["default"] = mergeClasses;
|
7523 |
-
|
7524 |
-
/***/ }),
|
7525 |
-
|
7526 |
-
/***/ "react":
|
7527 |
-
/*!************************!*\
|
7528 |
-
!*** external "React" ***!
|
7529 |
-
\************************/
|
7530 |
-
/***/ (function(module) {
|
7531 |
-
|
7532 |
-
"use strict";
|
7533 |
-
module.exports = React;
|
7534 |
-
|
7535 |
-
/***/ }),
|
7536 |
-
|
7537 |
-
/***/ "react-dom":
|
7538 |
-
/*!***************************!*\
|
7539 |
-
!*** external "ReactDOM" ***!
|
7540 |
-
\***************************/
|
7541 |
-
/***/ (function(module) {
|
7542 |
-
|
7543 |
-
"use strict";
|
7544 |
-
module.exports = ReactDOM;
|
7545 |
-
|
7546 |
-
/***/ }),
|
7547 |
-
|
7548 |
-
/***/ "./node_modules/colord/index.mjs":
|
7549 |
-
/*!***************************************!*\
|
7550 |
-
!*** ./node_modules/colord/index.mjs ***!
|
7551 |
-
\***************************************/
|
7552 |
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
7553 |
-
|
7554 |
-
"use strict";
|
7555 |
-
__webpack_require__.r(__webpack_exports__);
|
7556 |
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
7557 |
-
/* harmony export */ "Colord": function() { return /* binding */ j; },
|
7558 |
-
/* harmony export */ "colord": function() { return /* binding */ w; },
|
7559 |
-
/* harmony export */ "extend": function() { return /* binding */ k; },
|
7560 |
-
/* harmony export */ "getFormat": function() { return /* binding */ I; },
|
7561 |
-
/* harmony export */ "random": function() { return /* binding */ E; }
|
7562 |
-
/* harmony export */ });
|
7563 |
-
var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return"string"==typeof r?r.length>0:"number"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return(r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return{r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return{r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?"0"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return{h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return{r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return{h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return{h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e},c=function(r){return{h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u},l=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(r){var t=v.exec(r)||m.exec(r);return t?t[2]!==t[4]||t[4]!==t[6]?null:a({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u="deg"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},"hsl"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},"rgb"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},"hsl"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return{h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},"hsv"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return[e,t[n][1]]}return[null,void 0]},x=function(r){return"string"==typeof r?N(r.trim(),y.string):"object"==typeof r&&null!==r?N(r,y.object):[null,void 0]},I=function(r){return x(r)[1]},M=function(r,t){var n=c(r);return{h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return(299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return{h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):"","#"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?"rgba("+t+", "+n+", "+e+", "+u+")":"rgb("+t+", "+n+", "+e+")";var r,t,n,e,u},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?"hsla("+t+", "+n+"%, "+e+"%, "+u+")":"hsl("+t+", "+n+"%, "+e+"%)";var r,t,n,e,u},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return"number"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t},r.prototype.hue=function(r){var t=c(this.rgba);return"number"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r))})},E=function(){return new j({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})};
|
7564 |
-
|
7565 |
-
|
7566 |
-
/***/ })
|
7567 |
-
|
7568 |
-
/******/ });
|
7569 |
-
/************************************************************************/
|
7570 |
-
/******/ // The module cache
|
7571 |
-
/******/ var __webpack_module_cache__ = {};
|
7572 |
-
/******/
|
7573 |
-
/******/ // The require function
|
7574 |
-
/******/ function __webpack_require__(moduleId) {
|
7575 |
-
/******/ // Check if module is in cache
|
7576 |
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
7577 |
-
/******/ if (cachedModule !== undefined) {
|
7578 |
-
/******/ return cachedModule.exports;
|
7579 |
-
/******/ }
|
7580 |
-
/******/ // Create a new module (and put it into the cache)
|
7581 |
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
7582 |
-
/******/ id: moduleId,
|
7583 |
-
/******/ loaded: false,
|
7584 |
-
/******/ exports: {}
|
7585 |
-
/******/ };
|
7586 |
-
/******/
|
7587 |
-
/******/ // Execute the module function
|
7588 |
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
7589 |
-
/******/
|
7590 |
-
/******/ // Flag the module as loaded
|
7591 |
-
/******/ module.loaded = true;
|
7592 |
-
/******/
|
7593 |
-
/******/ // Return the exports of the module
|
7594 |
-
/******/ return module.exports;
|
7595 |
-
/******/ }
|
7596 |
-
/******/
|
7597 |
-
/************************************************************************/
|
7598 |
-
/******/ /* webpack/runtime/compat get default export */
|
7599 |
-
/******/ !function() {
|
7600 |
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
7601 |
-
/******/ __webpack_require__.n = function(module) {
|
7602 |
-
/******/ var getter = module && module.__esModule ?
|
7603 |
-
/******/ function() { return module['default']; } :
|
7604 |
-
/******/ function() { return module; };
|
7605 |
-
/******/ __webpack_require__.d(getter, { a: getter });
|
7606 |
-
/******/ return getter;
|
7607 |
-
/******/ };
|
7608 |
-
/******/ }();
|
7609 |
-
/******/
|
7610 |
-
/******/ /* webpack/runtime/define property getters */
|
7611 |
-
/******/ !function() {
|
7612 |
-
/******/ // define getter functions for harmony exports
|
7613 |
-
/******/ __webpack_require__.d = function(exports, definition) {
|
7614 |
-
/******/ for(var key in definition) {
|
7615 |
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
7616 |
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
7617 |
-
/******/ }
|
7618 |
-
/******/ }
|
7619 |
-
/******/ };
|
7620 |
-
/******/ }();
|
7621 |
-
/******/
|
7622 |
-
/******/ /* webpack/runtime/global */
|
7623 |
-
/******/ !function() {
|
7624 |
-
/******/ __webpack_require__.g = (function() {
|
7625 |
-
/******/ if (typeof globalThis === 'object') return globalThis;
|
7626 |
-
/******/ try {
|
7627 |
-
/******/ return this || new Function('return this')();
|
7628 |
-
/******/ } catch (e) {
|
7629 |
-
/******/ if (typeof window === 'object') return window;
|
7630 |
-
/******/ }
|
7631 |
-
/******/ })();
|
7632 |
-
/******/ }();
|
7633 |
-
/******/
|
7634 |
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
7635 |
-
/******/ !function() {
|
7636 |
-
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
7637 |
-
/******/ }();
|
7638 |
-
/******/
|
7639 |
-
/******/ /* webpack/runtime/make namespace object */
|
7640 |
-
/******/ !function() {
|
7641 |
-
/******/ // define __esModule on exports
|
7642 |
-
/******/ __webpack_require__.r = function(exports) {
|
7643 |
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
7644 |
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
7645 |
-
/******/ }
|
7646 |
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
7647 |
-
/******/ };
|
7648 |
-
/******/ }();
|
7649 |
-
/******/
|
7650 |
-
/******/ /* webpack/runtime/node module decorator */
|
7651 |
-
/******/ !function() {
|
7652 |
-
/******/ __webpack_require__.nmd = function(module) {
|
7653 |
-
/******/ module.paths = [];
|
7654 |
-
/******/ if (!module.children) module.children = [];
|
7655 |
-
/******/ return module;
|
7656 |
-
/******/ };
|
7657 |
-
/******/ }();
|
7658 |
-
/******/
|
7659 |
-
/************************************************************************/
|
7660 |
-
var __webpack_exports__ = {};
|
7661 |
-
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
7662 |
-
!function() {
|
7663 |
-
"use strict";
|
7664 |
-
/*!************************!*\
|
7665 |
-
!*** ./src/control.js ***!
|
7666 |
-
\************************/
|
7667 |
-
__webpack_require__.r(__webpack_exports__);
|
7668 |
-
/* harmony import */ var _control_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./control.scss */ "./src/control.scss");
|
7669 |
-
/* harmony import */ var _KirkiReactColorfulControl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KirkiReactColorfulControl */ "./src/KirkiReactColorfulControl.js");
|
7670 |
-
/* global wp */
|
7671 |
-
|
7672 |
-
// Register control type with Customizer.
|
7673 |
-
|
7674 |
-
wp.customize.controlConstructor['kirki-react-colorful'] = _KirkiReactColorfulControl__WEBPACK_IMPORTED_MODULE_1__["default"];
|
7675 |
-
}();
|
7676 |
-
/******/ })()
|
7677 |
-
;
|
7678 |
-
//# sourceMappingURL=control.js.map
|
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("8ThvE"),n=o("jjS2x"),a=t&&!t.nodeType&&t,i=a&&e&&!e.nodeType&&e,c=i&&i.exports===a?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||n;e.exports=u})),o.register("8ThvE",(function(e,t){var r=o("lyxRX"),n="object"==typeof self&&self&&self.Object===Object&&self,a=r||n||Function("return this")();e.exports=a})),o.register("lyxRX",(function(t,r){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n})),o.register("jjS2x",(function(e,t){e.exports=function(){return!1}})),o.register("7vc1R",(function(e,t){var r=o("lyxRX"),n=t&&!t.nodeType&&t,a=n&&e&&!e.nodeType&&e,i=a&&a.exports===n&&r.process,c=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=c})),o.register("4vs1M",(function(e,t){var r=o("8ThvE"),n=t&&!t.nodeType&&t,a=n&&e&&!e.nodeType&&e,i=a&&a.exports===n?r.Buffer:void 0,c=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=c?c(r):new e.constructor(r);return e.copy(n),n}}));var a;function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(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.")}()}function u(e){return e&&e.constructor===Symbol?"symbol":typeof e}a=ReactDOM;var l={};function s(){return(s=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 f(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 v(e){var t=l.useRef(e),r=l.useRef((function(e){t.current&&t.current(e)}));return t.current=e,r.current}l=React;var d=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e<t?t:e},p=function(e){return"touches"in e},b=function(e){return e&&e.ownerDocument.defaultView||self},h=function(e,t,r){var n=e.getBoundingClientRect(),o=p(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:d((o.pageX-(n.left+b(e).pageXOffset))/n.width),top:d((o.pageY-(n.top+b(e).pageYOffset))/n.height)}},g=function(e){!p(e)&&e.preventDefault()},y=t(l).memo((function(e){var r=e.onMove,n=e.onKey,o=f(e,["onMove","onKey"]),a=l.useRef(null),i=v(r),c=v(n),u=l.useRef(null),d=l.useRef(!1),y=l.useMemo((function(){var e=function(e){g(e),(p(e)?e.touches.length>0:e.buttons>0)&&a.current?i(h(a.current,e,u.current)):r(!1)},t=function(){return r(!1)};function r(r){var n=d.current,o=b(a.current),i=r?o.addEventListener:o.removeEventListener;i(n?"touchmove":"mousemove",e),i(n?"touchend":"mouseup",t)}return[function(e){var t,n=e.nativeEvent,o=a.current;if(o&&(g(n),t=n,(!d.current||p(t))&&o)){if(p(n)){d.current=!0;var c=n.changedTouches||[];c.length&&(u.current=c[0].identifier)}o.focus(),i(h(o,n,u.current)),r(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),c({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},r]}),[c,i]),m=y[0],_=y[1],k=y[2];return l.useEffect((function(){return k}),[k]),t(l).createElement("div",s({},o,{onTouchStart:m,onMouseDown:m,className:"react-colorful__interactive",ref:a,onKeyDown:_,tabIndex:0,role:"slider"}))})),m=function(e){return e.filter(Boolean).join(" ")},_=function(e){var r=e.color,n=e.left,o=e.top,a=void 0===o?.5:o,i=m(["react-colorful__pointer",e.className]);return t(l).createElement("div",{className:i,style:{top:100*a+"%",left:100*n+"%"}},t(l).createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:r}}))},k=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r},j={grad:.9,turn:360,rad:360/(2*Math.PI)},C=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}},w=function(e,t){return void 0===t&&(t="deg"),Number(e)*(j[t]||1)},A=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?O({h:w(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}},E=A,O=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}},S=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:k(e.h),s:k(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:k(o/2),a:k(n,2)}},H=function(e){var t=S(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},R=function(e){var t=S(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},x=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),i=n*(1-r),c=n*(1-(t-a)*r),u=n*(1-(1-t+a)*r),l=a%6;return{r:k(255*[n,c,i,i,u,n][l]),g:k(255*[u,n,n,c,i,i][l]),b:k(255*[i,i,u,n,n,c][l]),a:k(o,2)}},P=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?T({h:w(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}},M=P,N=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?I({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}},B=N,z=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},I=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=Math.max(t,r,n),i=a-Math.min(t,r,n),c=i?a===t?(r-n)/i:a===r?2+(n-t)/i:4+(t-r)/i:0;return{h:k(60*(c<0?c+6:c)),s:k(a?i/a*100:0),v:k(a/255*100),a:o}},T=function(e){return{h:k(e.h),s:k(e.s),v:k(e.v),a:k(e.a,2)}},F=t(l).memo((function(e){var r=e.hue,n=e.onChange,o=m(["react-colorful__hue",e.className]);return t(l).createElement("div",{className:o},t(l).createElement(y,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:d(r+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":k(r)},t(l).createElement(_,{className:"react-colorful__hue-pointer",left:r/360,color:H({h:r,s:100,v:100,a:1})})))})),U=t(l).memo((function(e){var r=e.hsva,n=e.onChange,o={backgroundColor:H({h:r.h,s:100,v:100,a:1})};return t(l).createElement("div",{className:"react-colorful__saturation",style:o},t(l).createElement(y,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:d(r.s+100*e.left,0,100),v:d(r.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+k(r.s)+"%, Brightness "+k(r.v)+"%"},t(l).createElement(_,{className:"react-colorful__saturation-pointer",top:1-r.v/100,left:r.s/100,color:H(r)})))})),L=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},D=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")};function W(e,t,r){var n=v(r),o=l.useState((function(){return e.toHsva(t)})),a=o[0],i=o[1],c=l.useRef({color:t,hsva:a});l.useEffect((function(){if(!e.equal(t,c.current.color)){var r=e.toHsva(t);c.current={hsva:r,color:t},i(r)}}),[t,e]),l.useEffect((function(){var t;L(a,c.current.hsva)||e.equal(t=e.fromHsva(a),c.current.color)||(c.current={hsva:a,color:t},n(t))}),[a,e,n]);var u=l.useCallback((function(e){i((function(t){return Object.assign({},t,e)}))}),[]);return[a,u]}var J,q="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,K=new Map,$=function(e){q((function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!K.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}',K.set(t,r);var n=J||("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0);n&&r.setAttribute("nonce",n),t.head.appendChild(r)}}),[])},G=function(e){var r=e.className,n=e.colorModel,o=e.color,a=void 0===o?n.defaultColor:o,i=e.onChange,c=f(e,["className","colorModel","color","onChange"]),u=l.useRef(null);$(u);var v=W(n,a,i),d=v[0],p=v[1],b=m(["react-colorful",r]);return t(l).createElement("div",s({},c,{ref:u,className:b}),t(l).createElement(U,{hsva:d,onChange:p}),t(l).createElement(F,{hue:d.h,onChange:p,className:"react-colorful__last-control"}))},Z={defaultColor:"000",toHsva:function(e){return I(C(e))},fromHsva:function(e){var t,r,n;return r=(t=x(e)).g,n=t.b,"#"+z(t.r)+z(r)+z(n)},equal:function(e,t){return e.toLowerCase()===t.toLowerCase()||L(C(e),C(t))}},Q=function(e){return t(l).createElement(G,s({},e,{colorModel:Z}))},V=function(e){var r=e.className,n=e.hsva,o=e.onChange,a={backgroundImage:"linear-gradient(90deg, "+R(Object.assign({},n,{a:0}))+", "+R(Object.assign({},n,{a:1}))+")"},i=m(["react-colorful__alpha",r]);return t(l).createElement("div",{className:i},t(l).createElement("div",{className:"react-colorful__alpha-gradient",style:a}),t(l).createElement(y,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:d(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":k(100*n.a)+"%"},t(l).createElement(_,{className:"react-colorful__alpha-pointer",left:n.a,color:R(n)})))},Y=function(e){var r=e.className,n=e.colorModel,o=e.color,a=void 0===o?n.defaultColor:o,i=e.onChange,c=f(e,["className","colorModel","color","onChange"]),u=l.useRef(null);$(u);var v=W(n,a,i),d=v[0],p=v[1],b=m(["react-colorful",r]);return t(l).createElement("div",s({},c,{ref:u,className:b}),t(l).createElement(U,{hsva:d,onChange:p}),t(l).createElement(F,{hue:d.h,onChange:p}),t(l).createElement(V,{hsva:d,onChange:p,className:"react-colorful__last-control"}))},X={defaultColor:{h:0,s:0,l:0,a:1},toHsva:O,fromHsva:S,equal:L},ee=function(e){return t(l).createElement(Y,s({},e,{colorModel:X}))},te={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:A,fromHsva:R,equal:D},re=function(e){return t(l).createElement(Y,s({},e,{colorModel:te}))},ne={defaultColor:{h:0,s:0,l:0},toHsva:function(e){return O({h:e.h,s:e.s,l:e.l,a:1})},fromHsva:function(e){var t;return{h:(t=S(e)).h,s:t.s,l:t.l}},equal:L},oe=function(e){return t(l).createElement(G,s({},e,{colorModel:ne}))},ae={defaultColor:"hsl(0, 0%, 0%)",toHsva:E,fromHsva:H,equal:D},ie=function(e){return t(l).createElement(G,s({},e,{colorModel:ae}))},ce={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(e){return e},fromHsva:T,equal:L},ue=function(e){return t(l).createElement(Y,s({},e,{colorModel:ce}))},le={defaultColor:"hsva(0, 0%, 0%, 1)",toHsva:P,fromHsva:function(e){var t=T(e);return"hsva("+t.h+", "+t.s+"%, "+t.v+"%, "+t.a+")"},equal:D},se=function(e){return t(l).createElement(Y,s({},e,{colorModel:le}))},fe={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=T(e);return{h:t.h,s:t.s,v:t.v}},equal:L},ve=function(e){return t(l).createElement(G,s({},e,{colorModel:fe}))},de={defaultColor:"hsv(0, 0%, 0%)",toHsva:M,fromHsva:function(e){var t=T(e);return"hsv("+t.h+", "+t.s+"%, "+t.v+"%)"},equal:D},pe=function(e){return t(l).createElement(G,s({},e,{colorModel:de}))},be={defaultColor:{r:0,g:0,b:0,a:1},toHsva:I,fromHsva:x,equal:L},he=function(e){return t(l).createElement(Y,s({},e,{colorModel:be}))},ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:N,fromHsva:function(e){var t=x(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:D},ye=function(e){return t(l).createElement(Y,s({},e,{colorModel:ge}))},me={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return I({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){var t;return{r:(t=x(e)).r,g:t.g,b:t.b}},equal:L},_e=function(e){return t(l).createElement(G,s({},e,{colorModel:me}))},ke={defaultColor:"rgb(0, 0, 0)",toHsva:B,fromHsva:function(e){var t=x(e);return"rgb("+t.r+", "+t.g+", "+t.b+")"},equal:D},je=function(e){return t(l).createElement(G,s({},e,{colorModel:ke}))},Ce={};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.ReactCSS=Ce.loop=Ce.handleActive=Ce.handleHover=Ce.hover=void 0;var we={};Object.defineProperty(we,"__esModule",{value:!0}),we.flattenNames=void 0;var Ae,Ee={};Ae=(dr=o("8ThvE")).Symbol;var Oe={},Se=Object.prototype,He=Se.hasOwnProperty,Re=Se.toString,xe=Ae?Ae.toStringTag:void 0;Oe=function(e){var t=He.call(e,xe),r=e[xe];try{e[xe]=void 0;var n=!0}catch(e){}var o=Re.call(e);return n&&(t?e[xe]=r:delete e[xe]),o};var Pe={},Me=Object.prototype.toString;Pe=function(e){return Me.call(e)};var Ne=Ae?Ae.toStringTag:void 0;Ee=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Ne&&Ne in Object(e)?Oe(e):Pe(e)};var Be={},ze=Array.isArray;Be=ze;var Ie={};Ie=function(e){return null!=e&&"object"==typeof e};var Te,Fe=co((function(e){return"string"==typeof e||!Be(e)&&Ie(e)&&"[object String]"==Ee(e)})),Ue={},Le={};var De=function(e){return function(t,r,n){for(var o=-1,a=Object(t),i=n(t),c=i.length;c--;){var u=i[e?c:++o];if(!1===r(a[u],u,a))break}return t}}();Le=De;var We={},Je={},qe={};qe=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n};var Ke={},$e={};$e=function(e){return Ie(e)&&"[object Arguments]"==Ee(e)};var Ge=Object.prototype,Ze=Ge.hasOwnProperty,Qe=Ge.propertyIsEnumerable,Ve=$e(function(){return arguments}())?$e:function(e){return Ie(e)&&Ze.call(e,"callee")&&!Qe.call(e,"callee")};Ke=Ve;var Ye=o("7HKs8"),Xe={},et=/^(?:0|[1-9]\d*)$/;Xe=function(e,t){var r=void 0===e?"undefined":u(e);return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&et.test(e))&&e>-1&&e%1==0&&e<t};var tt,rt={},nt={};nt=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var ot={};ot["[object Float32Array]"]=ot["[object Float64Array]"]=ot["[object Int8Array]"]=ot["[object Int16Array]"]=ot["[object Int32Array]"]=ot["[object Uint8Array]"]=ot["[object Uint8ClampedArray]"]=ot["[object Uint16Array]"]=ot["[object Uint32Array]"]=!0,ot["[object Arguments]"]=ot["[object Array]"]=ot["[object ArrayBuffer]"]=ot["[object Boolean]"]=ot["[object DataView]"]=ot["[object Date]"]=ot["[object Error]"]=ot["[object Function]"]=ot["[object Map]"]=ot["[object Number]"]=ot["[object Object]"]=ot["[object RegExp]"]=ot["[object Set]"]=ot["[object String]"]=ot["[object WeakMap]"]=!1,tt=function(e){return Ie(e)&&nt(e.length)&&!!ot[Ee(e)]};var at={};at=function(e){return function(t){return e(t)}};var it=(ta=o("7vc1R"))&&ta.isTypedArray,ct=it?at(it):tt;rt=ct;var ut=Object.prototype.hasOwnProperty;Je=function(e,t){var r=Be(e),n=!r&&Ke(e),o=!r&&!n&&Ye(e),a=!r&&!n&&!o&&rt(e),i=r||n||o||a,c=i?qe(e.length,String):[],u=c.length;for(var l in e)!t&&!ut.call(e,l)||i&&("length"==l||o&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Xe(l,u))||c.push(l);return c};var lt={},st={},ft=Object.prototype;st=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ft)};var vt={},dt={};var pt=(dt=function(e,t){return function(r){return e(t(r))}})(Object.keys,Object);vt=pt;var bt=Object.prototype.hasOwnProperty;lt=function(e){if(!st(e))return vt(e);var t=[];for(var r in Object(e))bt.call(e,r)&&"constructor"!=r&&t.push(r);return t};var ht={},gt={},yt={};yt=function(e){var t=void 0===e?"undefined":u(e);return null!=e&&("object"==t||"function"==t)};gt=function(e){if(!yt(e))return!1;var t=Ee(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},ht=function(e){return null!=e&&nt(e.length)&&!gt(e)},We=function(e){return ht(e)?Je(e):lt(e)},Ue=function(e,t){return e&&Le(e,t,We)};var mt,_t={};mt=function(e){return e},_t=function(e){return"function"==typeof e?e:mt};var kt=co(Te=function(e,t){return e&&Ue(e,_t(t))}),jt={},Ct=dt(Object.getPrototypeOf,Object);jt=Ct;var wt=Function.prototype,At=Object.prototype,Et=wt.toString,Ot=At.hasOwnProperty,St=Et.call(Object);var Ht=co((function(e){if(!Ie(e)||"[object Object]"!=Ee(e))return!1;var t=jt(e);if(null===t)return!0;var r=Ot.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Et.call(r)==St})),Rt={};Rt=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 xt,Pt={},Mt={},Nt={},Bt={},zt={};xt=function(){this.__data__=[],this.size=0};var It,Tt={},Ft={};Ft=function(e,t){return e===t||e!=e&&t!=t},Tt=function(e,t){for(var r=e.length;r--;)if(Ft(e[r][0],t))return r;return-1};var Ut=Array.prototype.splice;It=function(e){var t=this.__data__,r=Tt(t,e);return!(r<0)&&(r==t.length-1?t.pop():Ut.call(t,r,1),--this.size,!0)};var Lt;Lt=function(e){var t=this.__data__,r=Tt(t,e);return r<0?void 0:t[r][1]};var Dt;Dt=function(e){return Tt(this.__data__,e)>-1};var Wt;function Jt(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])}}Wt=function(e,t){var r=this.__data__,n=Tt(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Jt.prototype.clear=xt,Jt.prototype.delete=It,Jt.prototype.get=Lt,Jt.prototype.has=Dt,Jt.prototype.set=Wt,zt=Jt;var qt;qt=function(){this.__data__=new zt,this.size=0};var Kt;Kt=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r};var $t;$t=function(e){return this.__data__.get(e)};var Gt;Gt=function(e){return this.__data__.has(e)};var Zt,Qt,Vt,Yt={},Xt={},er={},tr={},rr=(dr=o("8ThvE"))["__core-js_shared__"],nr=(Vt=/[^.]+$/.exec((Qt=rr)&&Qt.keys&&Qt.keys.IE_PROTO||""))?"Symbol(src)_1."+Vt:"";tr=function(e){return!!nr&&nr in e};var or={},ar=Function.prototype.toString;or=function(e){if(null!=e){try{return ar.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var ir=/^\[object .+?Constructor\]$/,cr=Function.prototype,ur=Object.prototype,lr=cr.toString,sr=ur.hasOwnProperty,fr=RegExp("^"+lr.call(sr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");er=function(e){return!(!yt(e)||tr(e))&&(gt(e)?fr:ir).test(or(e))};var vr={};vr=function(e,t){return null==e?void 0:e[t]},Xt=function(e,t){var r=vr(e,t);return er(r)?r:void 0};var dr=o("8ThvE"),pr=Xt(dr,"Map");Yt=pr;var br,hr,gr={},yr={},mr={},_r=Xt(Object,"create");mr=_r,hr=function(){this.__data__=mr?mr(null):{},this.size=0};var kr;kr=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var jr,Cr=Object.prototype.hasOwnProperty;jr=function(e){var t=this.__data__;if(mr){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return Cr.call(t,e)?t[e]:void 0};var wr,Ar=Object.prototype.hasOwnProperty;wr=function(e){var t=this.__data__;return mr?void 0!==t[e]:Ar.call(t,e)};var Er;function Or(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])}}Er=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=mr&&void 0===t?"__lodash_hash_undefined__":t,this},Or.prototype.clear=hr,Or.prototype.delete=kr,Or.prototype.get=jr,Or.prototype.has=wr,Or.prototype.set=Er,yr=Or,br=function(){this.size=0,this.__data__={hash:new yr,map:new(Yt||zt),string:new yr}};var Sr,Hr={},Rr={};Rr=function(e){var t=void 0===e?"undefined":u(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},Hr=function(e,t){var r=e.__data__;return Rr(t)?r["string"==typeof t?"string":"hash"]:r.map},Sr=function(e){var t=Hr(this,e).delete(e);return this.size-=t?1:0,t};var xr;xr=function(e){return Hr(this,e).get(e)};var Pr;Pr=function(e){return Hr(this,e).has(e)};var Mr;function Nr(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])}}Mr=function(e,t){var r=Hr(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Nr.prototype.clear=br,Nr.prototype.delete=Sr,Nr.prototype.get=xr,Nr.prototype.has=Pr,Nr.prototype.set=Mr,gr=Nr;function Br(e){var t=this.__data__=new zt(e);this.size=t.size}Zt=function(e,t){var r=this.__data__;if(r instanceof zt){var n=r.__data__;if(!Yt||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new gr(n)}return r.set(e,t),this.size=r.size,this},Br.prototype.clear=qt,Br.prototype.delete=Kt,Br.prototype.get=$t,Br.prototype.has=Gt,Br.prototype.set=Zt,Bt=Br;var zr,Ir={},Tr={},Fr={},Ur={};zr=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var Lr;function Dr(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new gr;++t<r;)this.add(e[t])}Lr=function(e){return this.__data__.has(e)},Dr.prototype.add=Dr.prototype.push=zr,Dr.prototype.has=Lr,Ur=Dr;var Wr={};Wr=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 Jr={};Jr=function(e,t){return e.has(t)};Fr=function(e,t,r,n,o,a){var i=1&r,c=e.length,u=t.length;if(c!=u&&!(i&&u>c))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 Ur:void 0;for(a.set(e,t),a.set(t,e);++f<c;){var p=e[f],b=t[f];if(n)var h=i?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(!Wr(t,(function(e,t){if(!Jr(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 qr={},Kr={},$r=(dr=o("8ThvE")).Uint8Array;Kr=$r;var Gr;Gr=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r};var Zr;Zr=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r};var Qr=Ae?Ae.prototype:void 0,Vr=Qr?Qr.valueOf:void 0;qr=function(e,t,r,n,o,a,i){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 Kr(e),new Kr(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ft(+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 c=Gr;case"[object Set]":var u=1&n;if(c||(c=Zr),e.size!=t.size&&!u)return!1;var l=i.get(e);if(l)return l==t;n|=2,i.set(e,t);var s=Fr(c(e),c(t),n,o,a,i);return i.delete(e),s;case"[object Symbol]":if(Vr)return Vr.call(e)==Vr.call(t)}return!1};var Yr={},Xr={},en={},tn={};tn=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e},en=function(e,t,r){var n=t(e);return Be(e)?n:tn(n,r(e))};var rn={},nn={};nn=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a};var on;on=function(){return[]};var an=Object.prototype.propertyIsEnumerable,cn=Object.getOwnPropertySymbols;rn=cn?function(e){return null==e?[]:(e=Object(e),nn(cn(e),(function(t){return an.call(e,t)})))}:on,Xr=function(e){return en(e,We,rn)};var un=Object.prototype.hasOwnProperty;Yr=function(e,t,r,n,o,a){var i=1&r,c=Xr(e),u=c.length;if(u!=Xr(t).length&&!i)return!1;for(var l=u;l--;){var s=c[l];if(!(i?s in t:un.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=i;++l<u;){var b=e[s=c[l]],h=t[s];if(n)var g=i?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 ln={},sn={};dr=o("8ThvE");sn=Xt(dr,"DataView");var fn={};dr=o("8ThvE");fn=Xt(dr,"Promise");var vn={};dr=o("8ThvE");vn=Xt(dr,"Set");var dn={};dr=o("8ThvE");dn=Xt(dr,"WeakMap");var pn="[object Map]",bn="[object Promise]",hn="[object Set]",gn="[object WeakMap]",yn="[object DataView]",mn=or(sn),_n=or(Yt),kn=or(fn),jn=or(vn),Cn=or(dn),wn=Ee;(sn&&wn(new sn(new ArrayBuffer(1)))!=yn||Yt&&wn(new Yt)!=pn||fn&&wn(fn.resolve())!=bn||vn&&wn(new vn)!=hn||dn&&wn(new dn)!=gn)&&(wn=function(e){var t=Ee(e),r="[object Object]"==t?e.constructor:void 0,n=r?or(r):"";if(n)switch(n){case mn:return yn;case _n:return pn;case kn:return bn;case jn:return hn;case Cn:return gn}return t}),ln=wn;Ye=o("7HKs8");var An="[object Arguments]",En="[object Array]",On="[object Object]",Sn=Object.prototype.hasOwnProperty;Tr=function(e,t,r,n,o,a){var i=Be(e),c=Be(t),u=i?En:ln(e),l=c?En:ln(t),s=(u=u==An?On:u)==On,f=(l=l==An?On:l)==On,v=u==l;if(v&&Ye(e)){if(!Ye(t))return!1;i=!0,s=!1}if(v&&!s)return a||(a=new Bt),i||rt(e)?Fr(e,t,r,n,o,a):qr(e,t,u,r,n,o,a);if(!(1&r)){var d=s&&Sn.call(e,"__wrapped__"),p=f&&Sn.call(t,"__wrapped__");if(d||p){var b=d?e.value():e,h=p?t.value():t;return a||(a=new Bt),o(b,h,r,n,a)}}return!!v&&(a||(a=new Bt),Yr(e,t,r,n,o,a))},Ir=function e(t,r,n,o,a){return t===r||(null==t||null==r||!Ie(t)&&!Ie(r)?t!=t&&r!=r:Tr(t,r,n,o,e,a))};Nt=function(e,t,r,n){var o=r.length,a=o,i=!n;if(null==e)return!a;for(e=Object(e);o--;){var c=r[o];if(i&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++o<a;){var u=(c=r[o])[0],l=e[u],s=c[1];if(i&&c[2]){if(void 0===l&&!(u in e))return!1}else{var f=new Bt;if(n)var v=n(l,s,u,e,t,f);if(!(void 0===v?Ir(s,l,3,n,f):v))return!1}}return!0};var Hn={},Rn={};Rn=function(e){return e==e&&!yt(e)},Hn=function(e){for(var t=We(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,Rn(o)]}return t};var xn={};xn=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}},Mt=function(e){var t=Hn(e);return 1==t.length&&t[0][2]?xn(t[0][0],t[0][1]):function(r){return r===e||Nt(r,e,t)}};var Pn={},Mn={},Nn={},Bn={},zn={},In={};In=function(e){return"symbol"==(void 0===e?"undefined":u(e))||Ie(e)&&"[object Symbol]"==Ee(e)};var Tn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Fn=/^\w*$/;zn=function(e,t){if(Be(e))return!1;var r=void 0===e?"undefined":u(e);return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!In(e))||(Fn.test(e)||!Tn.test(e)||null!=t&&e in Object(t))};var Un={},Ln={};function Dn(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 i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Dn.Cache||gr),r}Dn.Cache=gr,Ln=Dn;var Wn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Jn=/\\(\\)?/g,qn=function(e){var t=Ln(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(Wn,(function(e,r,n,o){t.push(n?o.replace(Jn,"$1"):r||e)})),t}));Un=qn;var Kn={},$n={},Gn=Ae?Ae.prototype:void 0,Zn=Gn?Gn.toString:void 0;$n=function e(t){if("string"==typeof t)return t;if(Be(t))return Rt(t,e)+"";if(In(t))return Zn?Zn.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r},Kn=function(e){return null==e?"":$n(e)},Bn=function(e,t){return Be(e)?e:zn(e,t)?[e]:Un(Kn(e))};var Qn={};Qn=function(e){if("string"==typeof e||In(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t},Nn=function(e,t){for(var r=0,n=(t=Bn(t,e)).length;null!=e&&r<n;)e=e[Qn(t[r++])];return r&&r==n?e:void 0},Mn=function(e,t,r){var n=null==e?void 0:Nn(e,t);return void 0===n?r:n};var Vn,Yn={};Vn=function(e,t){return null!=e&&t in Object(e)};var Xn={};Xn=function(e,t,r){for(var n=-1,o=(t=Bn(t,e)).length,a=!1;++n<o;){var i=Qn(t[n]);if(!(a=null!=e&&r(e,i)))break;e=e[i]}return a||++n!=o?a:!!(o=null==e?0:e.length)&&nt(o)&&Xe(i,o)&&(Be(e)||Ke(e))},Yn=function(e,t){return null!=e&&Xn(e,t,Vn)};Pn=function(e,t){return zn(e)&&Rn(t)?xn(Qn(e),t):function(r){var n=Mn(r,e);return void 0===n&&n===t?Yn(r,e):Ir(t,n,3)}};var eo={},to={};to=function(e){return function(t){return null==t?void 0:t[e]}};var ro={};ro=function(e){return function(t){return Nn(t,e)}},eo=function(e){return zn(e)?to(Qn(e)):ro(e)},Pt=function(e){return"function"==typeof e?e:null==e?mt:"object"==typeof e?Be(e)?Pn(e[0],e[1]):Mt(e):eo(e)};var no,oo={};var ao=function(e,t){return function(r,n){if(null==r)return r;if(!ht(r))return e(r,n);for(var o=r.length,a=t?o:-1,i=Object(r);(t?a--:++a<o)&&!1!==n(i[a],a,i););return r}}(Ue);oo=ao,no=function(e,t){var r=-1,n=ht(e)?Array(e.length):[];return oo(e,(function(e,o,a){n[++r]=t(e,o,a)})),n};var io=co((function(e,t){return(Be(e)?Rt:no)(e,Pt(t,3))}));function co(e){return e&&e.__esModule?e:{default:e}}var uo=we.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,io.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return r.push(e)})):(0,Ht.default)(t)?(0,kt.default)(t,(function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)})):(0,Fe.default)(t)&&r.push(t)})),r};we.default=uo;var lo=Ta(we),so={};Object.defineProperty(so,"__esModule",{value:!0}),so.mergeClasses=void 0;var fo=sa(Te),vo={},po={};po=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e};var bo={},ho={},go={},yo=function(){try{var e=Xt(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();go=yo,ho=function(e,t,r){"__proto__"==t&&go?go(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r};var mo=Object.prototype.hasOwnProperty;bo=function(e,t,r){var n=e[t];mo.call(e,t)&&Ft(n,r)&&(void 0!==r||t in e)||ho(e,t,r)};var _o={},ko={};ko=function(e,t,r,n){var o=!r;r||(r={});for(var a=-1,i=t.length;++a<i;){var c=t[a],u=n?n(r[c],e[c],c,r,e):void 0;void 0===u&&(u=e[c]),o?ho(r,c,u):bo(r,c,u)}return r},_o=function(e,t){return e&&ko(t,We(t),e)};var jo={},Co={},wo={},Ao={};Ao=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t};var Eo=Object.prototype.hasOwnProperty;wo=function(e){if(!yt(e))return Ao(e);var t=st(e),r=[];for(var n in e)("constructor"!=n||!t&&Eo.call(e,n))&&r.push(n);return r},Co=function(e){return ht(e)?Je(e,!0):wo(e)},jo=function(e,t){return e&&ko(t,Co(t),e)};var Oo=o("4vs1M"),So={};So=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t};var Ho={};Ho=function(e,t){return ko(e,rn(e),t)};var Ro={},xo={},Po=Object.getOwnPropertySymbols;xo=Po?function(e){for(var t=[];e;)tn(t,rn(e)),e=jt(e);return t}:on,Ro=function(e,t){return ko(e,xo(e),t)};var Mo;Mo=function(e){return en(e,Co,xo)};var No={},Bo=Object.prototype.hasOwnProperty;No=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&Bo.call(e,"index")&&(r.index=e.index,r.input=e.input),r};var zo={},Io={};Io=function(e){var t=new e.constructor(e.byteLength);return new Kr(t).set(new Kr(e)),t};var To={};To=function(e,t){var r=t?Io(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)};var Fo={},Uo=/\w*$/;Fo=function(e){var t=new e.constructor(e.source,Uo.exec(e));return t.lastIndex=e.lastIndex,t};var Lo={},Do=Ae?Ae.prototype:void 0,Wo=Do?Do.valueOf:void 0;Lo=function(e){return Wo?Object(Wo.call(e)):{}};var Jo={};Jo=function(e,t){var r=t?Io(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)};zo=function(e,t,r){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return Io(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return To(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 Jo(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 Fo(e);case"[object Symbol]":return Lo(e)}};var qo={},Ko={},$o=Object.create,Go=function(){function e(){}return function(t){if(!yt(t))return{};if($o)return $o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();Ko=Go,qo=function(e){return"function"!=typeof e.constructor||st(e)?{}:Ko(jt(e))};Ye=o("7HKs8");var Zo,Qo={};Zo=function(e){return Ie(e)&&"[object Map]"==ln(e)};var Vo=(ta=o("7vc1R"))&&ta.isMap,Yo=Vo?at(Vo):Zo;Qo=Yo;var Xo,ea={};Xo=function(e){return Ie(e)&&"[object Set]"==ln(e)};var ta,ra=(ta=o("7vc1R"))&&ta.isSet,na=ra?at(ra):Xo;ea=na;var oa="[object Arguments]",aa="[object Function]",ia="[object Object]",ca={};ca["[object Arguments]"]=ca["[object Array]"]=ca["[object ArrayBuffer]"]=ca["[object DataView]"]=ca["[object Boolean]"]=ca["[object Date]"]=ca["[object Float32Array]"]=ca["[object Float64Array]"]=ca["[object Int8Array]"]=ca["[object Int16Array]"]=ca["[object Int32Array]"]=ca["[object Map]"]=ca["[object Number]"]=ca["[object Object]"]=ca["[object RegExp]"]=ca["[object Set]"]=ca["[object String]"]=ca["[object Symbol]"]=ca["[object Uint8Array]"]=ca["[object Uint8ClampedArray]"]=ca["[object Uint16Array]"]=ca["[object Uint32Array]"]=!0,ca["[object Error]"]=ca["[object Function]"]=ca["[object WeakMap]"]=!1,vo=function e(t,r,n,o,a,i){var c,u=1&r,l=2&r,s=4&r;if(n&&(c=a?n(t,o,a,i):n(t)),void 0!==c)return c;if(!yt(t))return t;var f=Be(t);if(f){if(c=No(t),!u)return So(t,c)}else{var v=ln(t),d=v==aa||"[object GeneratorFunction]"==v;if(Ye(t))return Oo(t,u);if(v==ia||v==oa||d&&!a){if(c=l||d?{}:qo(t),!u)return l?Ro(t,jo(c,t)):Ho(t,_o(c,t))}else{if(!ca[v])return a?t:{};c=zo(t,v,u)}}i||(i=new Bt);var p=i.get(t);if(p)return p;i.set(t,c),ea(t)?t.forEach((function(o){c.add(e(o,r,n,o,t,i))})):Qo(t)&&t.forEach((function(o,a){c.set(a,e(o,r,n,a,t,i))}));var b=f?void 0:(s?l?Mo:Xr:l?Co:We)(t);return po(b||t,(function(o,a){b&&(o=t[a=o]),bo(c,a,e(o,r,n,a,t,i))})),c};var ua=sa((function(e){return vo(e,5)})),la=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 sa(e){return e&&e.__esModule?e:{default:e}}var fa=so.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,ua.default)(e.default)||{};return t.map((function(t){var n=e[t];return n&&(0,fo.default)(n,(function(e,t){r[t]||(r[t]={}),r[t]=la({},r[t],n[t])})),t})),r};so.default=fa;var va=Ta(so),da={};Object.defineProperty(da,"__esModule",{value:!0}),da.autoprefix=void 0;var pa,ba=(pa=Te)&&pa.__esModule?pa:{default:pa},ha=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 ga={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}}},ya=da.autoprefix=function(e){var t={};return(0,ba.default)(e,(function(e,r){var n={};(0,ba.default)(e,(function(e,t){var r=ga[t];r?n=ha({},n,r(e)):n[t]=e})),t[r]=n})),t};da.default=ya;var ma=Ta(da),_a={};Object.defineProperty(_a,"__esModule",{value:!0}),_a.hover=void 0;var ka=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},ja=function(e){return e&&e.__esModule?e:{default:e}}(l);function Ca(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wa(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 Aa(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":u(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 Ea=_a.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,o,a;Ca(this,n);for(var i=arguments.length,c=Array(i),u=0;u<i;u++)c[u]=arguments[u];return o=a=wa(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(c))),a.state={hover:!1},a.handleMouseOver=function(){return a.setState({hover:!0})},a.handleMouseOut=function(){return a.setState({hover:!1})},a.render=function(){return ja.default.createElement(t,{onMouseOver:a.handleMouseOver,onMouseOut:a.handleMouseOut},ja.default.createElement(e,ka({},a.props,a.state)))},wa(a,o)}return Aa(n,r),n}(ja.default.Component)};_a.default=Ea;var Oa=Ta(_a),Sa={};Object.defineProperty(Sa,"__esModule",{value:!0}),Sa.active=void 0;var Ha=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},Ra=function(e){return e&&e.__esModule?e:{default:e}}(l);function xa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pa(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 Ma(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":u(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 Na=Sa.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,o,a;xa(this,n);for(var i=arguments.length,c=Array(i),u=0;u<i;u++)c[u]=arguments[u];return o=a=Pa(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(c))),a.state={active:!1},a.handleMouseDown=function(){return a.setState({active:!0})},a.handleMouseUp=function(){return a.setState({active:!1})},a.render=function(){return Ra.default.createElement(t,{onMouseDown:a.handleMouseDown,onMouseUp:a.handleMouseUp},Ra.default.createElement(e,Ha({},a.props,a.state)))},Pa(a,o)}return Ma(n,r),n}(Ra.default.Component)};Sa.default=Na;var Ba=Ta(Sa),za={};Object.defineProperty(za,"__esModule",{value:!0});za.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 Ia=Ta(za);function Ta(e){return e&&e.__esModule?e:{default:e}}Ce.hover=Oa.default,Ce.handleHover=Oa.default,Ce.handleActive=Ba.default,Ce.loop=Ia.default;var Fa=Ce.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,lo.default)(r),a=(0,va.default)(e,o);return(0,ma.default)(a)};Ce.default=Fa;var Ua=function(e){var r=e.onChange,n=e.color,o=void 0===n?"":n,a=c(l.useState((function(){return o})),2),i=a[0],u=a[1],s=l.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();var n=new RegExp(/(?:#|0x)(?:[a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})\b|(?:rgb|hsl)a?\([^\)]*\)/);(""===t||n.test(t))&&r(t),u(t)}),[r]);l.useEffect((function(){u(o)}),[o]);var f=t(Ce)({default:{colorPreviewWrapper:{backgroundImage:["RgbaColorPicker","RgbaStringColorPicker","HslaColorPicker","HslaStringColorPicker","HsvaColorPicker","HsvaStringColorPicker"].includes(e.pickerComponent)?'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==")':"none"},colorPreview:{backgroundColor:i}}});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:f.colorPreviewWrapper},React.createElement("button",{type:"button",className:"kirki-color-preview",style:f.colorPreview})),React.createElement("input",{type:"text",value:i,className:"kirki-color-input",spellCheck:"false",onChange:s})))},La=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)}})})))},Da={grad:.9,turn:360,rad:360/(2*Math.PI)},Wa=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},Ja=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},qa=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e>t?e:t},Ka=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},$a=function(e){return{r:qa(e.r,0,255),g:qa(e.g,0,255),b:qa(e.b,0,255),a:qa(e.a)}},Ga=function(e){return{r:Ja(e.r),g:Ja(e.g),b:Ja(e.b),a:Ja(e.a,3)}},Za=/^#([0-9a-f]{3,8})$/i,Qa=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Va=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=Math.max(t,r,n),i=a-Math.min(t,r,n),c=i?a===t?(r-n)/i:a===r?2+(n-t)/i:4+(t-r)/i:0;return{h:60*(c<0?c+6:c),s:a?i/a*100:0,v:a/255*100,a:o}},Ya=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),i=n*(1-r),c=n*(1-(t-a)*r),u=n*(1-(1-t+a)*r),l=a%6;return{r:255*[n,c,i,i,u,n][l],g:255*[u,n,n,c,i,i][l],b:255*[i,i,u,n,n,c][l],a:o}},Xa=function(e){return{h:Ka(e.h),s:qa(e.s,0,100),l:qa(e.l,0,100),a:qa(e.a)}},ei=function(e){return{h:Ja(e.h),s:Ja(e.s),l:Ja(e.l),a:Ja(e.a,3)}},ti=function(e){var t,r,n;return Ya((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}))},ri=function(e){var t,r,n,o;return{h:(t=Va(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}},ni=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,oi=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ai=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ii=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ci={string:[[function(e){var t=Za.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?Ja(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?Ja(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=ai.exec(e)||ii.exec(e);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(e){var t=ni.exec(e)||oi.exec(e);if(!t)return null;var r,n,o=Xa({h:(r=t[1],n=t[2],void 0===n&&(n="deg"),Number(r)*(Da[n]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return ti(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 Wa(t)&&Wa(r)&&Wa(n)?$a({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(!Wa(t)||!Wa(r)||!Wa(n))return null;var i=Xa({h:Number(t),s:Number(r),l:Number(n),a:Number(a)});return ti(i)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,o=e.a,a=void 0===o?1:o;if(!Wa(t)||!Wa(r)||!Wa(n))return null;var i,c=(i={h:Number(t),s:Number(r),v:Number(n),a:Number(a)},{h:Ka(i.h),s:qa(i.s,0,100),v:qa(i.v,0,100),a:qa(i.a)});return Ya(c)},"hsv"]]},ui=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]},li=function(e){return"string"==typeof e?ui(e.trim(),ci.string):"object"==typeof e&&null!==e?ui(e,ci.object):[null,void 0]},si=function(e,t){var r=ri(e);return{h:r.h,s:qa(r.s+100*t,0,100),l:r.l,a:r.a}},fi=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},vi=function(e,t){var r=ri(e);return{h:r.h,s:r.s,l:qa(r.l+100*t,0,100),a:r.a}},di=function(){function e(e){this.parsed=li(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 Ja(fi(this.rgba),2)},e.prototype.isDark=function(){return fi(this.rgba)<.5},e.prototype.isLight=function(){return fi(this.rgba)>=.5},e.prototype.toHex=function(){var e,t,r,n,o,a;return t=(e=Ga(this.rgba)).r,r=e.g,n=e.b,a=(o=e.a)<1?Qa(Ja(255*o)):"","#"+Qa(t)+Qa(r)+Qa(n)+a},e.prototype.toRgb=function(){return Ga(this.rgba)},e.prototype.toRgbString=function(){var e,t,r,n,o;return t=(e=Ga(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 ei(ri(this.rgba))},e.prototype.toHslString=function(){var e,t,r,n,o;return t=(e=ei(ri(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=Va(this.rgba),{h:Ja(e.h),s:Ja(e.s),v:Ja(e.v),a:Ja(e.a,3)}},e.prototype.invert=function(){var e;return pi({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),pi(si(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),pi(si(this.rgba,-e))},e.prototype.grayscale=function(){return pi(si(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),pi(vi(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),pi(vi(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?pi({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):Ja(this.rgba.a,3)},e.prototype.hue=function(e){var t=ri(this.rgba);return"number"==typeof e?pi({h:e,s:t.s,l:t.l,a:t.a}):Ja(t.h)},e.prototype.isEqual=function(e){return this.toHex()===pi(e).toHex()},e}(),pi=function(e){return e instanceof di?e:new di(e)},bi=function(e,t){var r;switch(t){case"HexColorPicker":default:r=pi(e).toHex();break;case"RgbColorPicker":delete(r=pi(e).toRgb()).a;break;case"RgbStringColorPicker":r=pi(e).toRgbString();break;case"RgbaColorPicker":r=pi(e).toRgb();break;case"RgbaStringColorPicker":(r=pi(e).toRgbString()).includes("rgb")&&!r.includes("rgba")&&(r=(r=r.replace("rgb","rgba")).replace(")",", 1)"));break;case"HslColorPicker":delete(r=pi(e).toHsl()).a;break;case"HslStringColorPicker":r=pi(e).toHslString();break;case"HslaColorPicker":r=pi(e).toHsl();break;case"HslaStringColorPicker":(r=pi(e).toHslString()).includes("hsl")&&!r.includes("hsla")&&(r=(r=r.replace("hsl","hsla")).replace(")",", 1)"));break;case"HsvColorPicker":delete(r=pi(e).toHsv()).a;break;case"HsvStringColorPicker":var n=pi(e).toHsv();r="hsv("+n.h+", "+n.s+"%, "+n.v+"%)";break;case"HsvaColorPicker":r=pi(e).toHsv();break;case"HsvaStringColorPicker":var o=pi(e).toHsv();r="hsva("+o.h+", "+o.s+"%, "+o.v+"%, "+o.a+")"}return r},hi=function(e,t,r){var n,o,a;switch(t){case"HexColorPicker":default:a="string"==typeof e&&e.includes("#")?e:pi(e).toHex();break;case"RgbColorPicker":delete(a=pi(e).toRgb()).a;break;case"RgbStringColorPicker":a="string"==typeof e&&e.includes("rgb(")?e:pi(e).toRgbString();break;case"RgbaColorPicker":a=pi(e).toRgb();break;case"RgbaStringColorPicker":pi(e).toRgb().a<1?a="string"==typeof e&&e.includes("rgba")?e:pi(e).toRgbString():r?(a=pi(e).toRgbString()).includes("rgb")&&!a.includes("rgba")&&(a=(a=a.replace("rgb","rgba")).replace(")",", 1)")):a="string"==typeof e&&e.includes("#")?e:pi(e).toHex();break;case"HslColorPicker":delete(a=pi(e).toHsl()).a;break;case"HslStringColorPicker":a="string"==typeof e&&e.includes("hsl(")?e:pi(e).toHslString();break;case"HslaColorPicker":a=pi(e).toHsl();break;case"HslaStringColorPicker":(a=pi(e).toHslString()).includes("hsl")&&!a.includes("hsla")&&(a=(a=a.replace("hsl","hsla")).replace(")",", 1)"));break;case"HsvColorPicker":delete(a=pi(e).toHsv()).a;break;case"HsvStringColorPicker":a="hsv("+(n=pi(e).toHsv()).h+", "+n.s+"%, "+n.v+"%)";break;case"HsvaColorPicker":a=pi(e).toHsv();break;case"HsvaStringColorPicker":a="hsva("+(o=pi(e).toHsv()).h+", "+o.s+"%, "+o.v+"%, "+o.a+")"}return a},gi=function(e,t,r){var n,o,a;switch(t){case"HexColorPicker":a="string"==typeof e&&e.includes("#")?e:pi(e).toHex();break;case"RgbColorPicker":a="string"==typeof e&&e.includes("rgb(")?e:pi(e).toRgbString();break;case"RgbStringColorPicker":a="string"==typeof e&&e.includes("rgba")?e:pi(e).toRgbString();break;case"RgbaColorPicker":pi(e).toRgb().a<1?a="string"==typeof e&&e.includes("rgba")?e:pi(e).toRgbString():(a=pi(e).toRgbString()).includes("rgb")&&!a.includes("rgba")&&(a=(a=a.replace("rgb","rgba")).replace(")",", 1)"));break;case"RgbaStringColorPicker":1!=pi(e).toRgb().a||r?(a=pi(e).toRgbString()).includes("rgb")&&!a.includes("rgba")&&(a=(a=a.replace("rgb","rgba")).replace(")",", 1)")):a="string"==typeof e&&e.includes("#")?e:pi(e).toHex();break;case"HslColorPicker":case"HslStringColorPicker":a="string"==typeof e&&e.includes("hsl(")?e:pi(e).toHslString();break;case"HslaColorPicker":case"HslaStringColorPicker":(a=pi(e).toHslString()).includes("hsl")&&!a.includes("hsla")&&(a=(a=a.replace("hsl","hsla")).replace(")",", 1)"));break;case"HsvColorPicker":case"HsvStringColorPicker":a="hsv("+(n=pi(e).toHsv()).h+", "+n.s+"%, "+n.v+"%)";break;case"HsvaColorPicker":case"HsvaStringColorPicker":a="hsva("+(o=pi(e).toHsv()).h+", "+o.s+"%, "+o.v+"%, "+o.a+")";break;default:a=pi(e).toHex()}return a},yi=function(e,t,r){l.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()},i=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",i),document.addEventListener("touchstart",i),document.addEventListener("click",a),function(){document.removeEventListener("mousedown",i),document.removeEventListener("touchstart",i),document.removeEventListener("click",a)}}),[t,e,r])},mi=function(e,t){l.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])},_i=function(e){l.useEffect((function(){var t=function(t){e()};return window.addEventListener("resize",t,!0),function(){window.removeEventListener("resize",t,!0)}}),[e])},ki=function(e){var r=e.color,n=void 0===r?"":r,o=c(l.useState((function(){return n})),2),a=o[0],i=o[1];l.useEffect((function(){i(n)}),[n]);var u=t(Ce)({default:{triggerButton:{backgroundImage:'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==")'},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:u.triggerButton},React.createElement("div",{className:"kirki-color-preview",style:u.colorPreview})))},ji=function(e){var t=e.control,r=e.customizerSetting,n=e.useHueMode,o=e.pickerComponent,a=e.choices,i=function(){return n?0:"#000000"},u=function(e){return(e=(e=e||i())<0?0:e)>360?360:e},s=function(e){return""===e?"":n?u(e):gi(e,o,a.formComponent).replace(";","")},f=function(e){return e=e||i(),n?{h:e,s:100,l:50}:bi(e,o)},v=c(l.useState((function(){return s(e.value)})),2),d=v[0],p=v[1],b=c(l.useState((function(){return f(e.value)})),2),h=b[0],g=b[1],y=d,m=h;t.updateComponentState=function(e){var t=s(e);("string"==typeof t||n?t!==d:JSON.stringify(t)!==JSON.stringify(y))&&p(t);var r=f(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=u(e)):e=function(e){return""===e?"":hi(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=l.useRef(null),E=l.useRef(null),O=l.useRef(null),S=c(l.useState(!1),2),H=S[0],R=S[1],x="default"!==a.labelStyle,P=c(l.useState({}),2),M=P[0],N=P[1],B=function(){var e={};if(!x)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===d.length&&d.includes("#")&&p(pi(d).toHex())},I=function(){H||(N(B()),z(),R(!0))},T=function(){H&&(R(!1),setTimeout(z,200))};switch(o){case"HexColorPicker":default:w=Q;break;case"RgbColorPicker":w=_e;break;case"RgbStringColorPicker":w=je;break;case"RgbaColorPicker":w=he;break;case"RgbaStringColorPicker":w=ye;break;case"HueColorPicker":case"HslColorPicker":w=oe;break;case"HslStringColorPicker":w=ie;break;case"HslaColorPicker":w=ee;break;case"HslaStringColorPicker":w=re;break;case"HsvColorPicker":w=ve;break;case"HsvStringColorPicker":w=pe;break;case"HsvaColorPicker":w=ue;break;case"HsvaStringColorPicker":w=se}if(_i((function(){N(B())})),mi(A,T),yi(E,O,T),jQuery.wp&&jQuery.wp.wpColorPicker){var F=jQuery.wp.wpColorPicker.prototype.options.palettes;if(Array.isArray(F)){if(F.length<8)for(var U=F.length;U<=8;U++)F.push(a.swatches[U]);a.swatches=F}}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,J=H?o+" colorPickerContainer is-open":o+" colorPickerContainer",q=React.createElement(React.Fragment,null,React.createElement("button",{type:"button",ref:O,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(ki,{pickerComponent:o,useHueMode:n,color:n?pi({h:d,s:100,l:50}).toHex():d,isPickerOpen:H,togglePickerHandler:function(){H?T():I()}}));switch(a.labelStyle){case"tooltip":W=React.createElement(React.Fragment,null,q,!H&&React.createElement("div",{className:"kirki-label-tooltip"},L));break;case"top":W=React.createElement(React.Fragment,null,L,q);break;default:W=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"},q)))}return React.createElement(React.Fragment,null,React.createElement("div",{className:D,ref:A,tabIndex:"1"},W,React.createElement("div",{ref:E,className:J,style:M},!n&&React.createElement(La,{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(Ua,{pickerComponent:o,useHueMode:n,color:d,onChange:function(e){y=e,_(e)}}))))};function Ci(){return Ci=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},Ci.apply(this,arguments)}var wi=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 i=React.createElement(ji,Ci({},r.params,{control:r,customizerSetting:r.setting,useHueMode:n,pickerComponent:e,value:r.params.value,setNotificationContainer:r.setNotificationContainer}));t(a).render(i,r.container[0])},ready:function(){var e=this;e.setting.bind((function(t){e.updateComponentState(t)}))},updateComponentState:function(){},destroy:function(){t(a).unmountComponentAtNode(this.container[0]),wp.customize.Control.prototype.destroy&&wp.customize.Control.prototype.destroy.call(this)}});wp.customize.controlConstructor["kirki-react-colorful"]=wi}();
|
2 |
+
//# sourceMappingURL=control.js.map
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,SAAS;AACpB;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa,GAAG;AAChB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC;AACvC;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;;;;;;;;;;ACrKA,eAAe,mBAAO,CAAC,qDAAY;;AAEnC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;;;;AC7BA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,qBAAqB,mBAAO,CAAC,mEAAmB;;AAEhD;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,UAAU;AACrB,aAAa,cAAc;AAC3B;AACA;;AAEA;;;;;;;;;;;ACbA,oBAAoB,mBAAO,CAAC,iEAAkB;;AAE9C;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,aAAa,QAAQ;AACrB;AACA;;AAEA;;;;;;;;;;;ACfA,cAAc,mBAAO,CAAC,qDAAY;AAClC,W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B,WAAW,OAAO;AAClB,WAAW,UAAU;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC7DA,iBAAiB,mBAAO,CAAC,yDAAc;AACvC,eAAe,mBAAO,CAAC,uDAAa;AACpC,eAAe,mBAAO,CAAC,qDAAY;AACnC,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;AACA;AACA;AACA,oCAAoC;;AAEpC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC9CA,aAAa,mBAAO,CAAC,mDAAW;AAChC,mBAAmB,mBAAO,CAAC,6DAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACjBA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,eAAe,mBAAO,CAAC,qDAAY;AACnC,mBAAmB,mBAAO,CAAC,6DAAgB;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;;AAEA;;;;;;;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;;;ACfA,WAAW,mBAAO,CAAC,+CAAS;;AAE5B;AACA;;AAEA;;;;;;;;;;;ACLA,kBAAkB,mBAAO,CAAC,2DAAe;;AAEzC;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,SAAS;AACpB,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC/BA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACxBA,gBAAgB,mBAAO,CAAC,yDAAc;;AAEtC;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,IAAI;AACJ,CAAC;;AAED;;;;;;;;;;;ACVA,eAAe,mBAAO,CAAC,uDAAa;AACpC,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACnFA,aAAa,mBAAO,CAAC,mDAAW;AAChC,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,SAAS,mBAAO,CAAC,yCAAM;AACvB,kBAAkB,mBAAO,CAAC,6DAAgB;AAC1C,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,iBAAiB,mBAAO,CAAC,2DAAe;;AAExC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC/GA,iBAAiB,mBAAO,CAAC,2DAAe;;AAExC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;A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A;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACxBA,cAAc,mBAAO,CAAC,mDAAW;AACjC,eAAe,mBAAO,CAAC,qDAAY;;AAEnC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACdA,iBAAiB,mBAAO,CAAC,2DAAe;;AAExC;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACnBA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;ACjBA,eAAe,mBAAO,CAAC,qDAAY;;AAEnC;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACZA,mBAAmB,mBAAO,CAAC,+DAAiB;;AAE5C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AClCA,mBAAmB,mBAAO,CAAC,+DAAiB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,GAAG;AAChB;AACA;AACA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;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;ACRA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;;;;;;;;;;ACjBA,gBAAgB,mBAAO,CAAC,yDAAc;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,GAAG;AAChB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACbA,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,UAAU,mBAAO,CAAC,6CAAQ;AAC1B,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACjCA,oBAAoB,mBAAO,CAAC,iEAAkB;;AAE9C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;;;;;;;;;;;AC1BA,eAAe,mBAAO,CAAC,qDAAY;;AAEnC;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,eAAe;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpBA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;;;;;;;;;;;ACzBA,gBAAgB,mBAAO,CAAC,yDAAc;;AAEtC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,GAAG;AAChB;AACA;AACA;AACA,oBAAoB,QAAQ,IAAI,QAAQ;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA,kBAAkB;AAClB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpCA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,mBAAmB,mBAAO,CAAC,+DAAiB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACnCA,cAAc,mBAAO,CAAC,qDAAY;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,cAAc;AACzB,WAAW,GAAG;AACd,aAAa,GAAG;AAChB;AACA;AACA,kBAAkB,QAAQ,OAAO,UAAU;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,cAAc,mBAAO,CAAC,qDAAY;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,cAAc;AACzB,aAAa,SAAS;AACtB;AACA;AACA,2BAA2B,gBAAgB,QAAQ,GAAG;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,GAAG;AAChB;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpBA,sBAAsB,mBAAO,CAAC,qEAAoB;AAClD,mBAAmB,mBAAO,CAAC,6DAAgB;;AAE3C;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA,8BAA8B,mBAAmB;AACjD;AACA;AACA;AACA;AACA;AACA,+CAA+C,mBAAmB;AAClE;AACA;AACA;;AAEA;;;;;;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACzBA,iBAAiB,mBAAO,CAAC,yDAAc;AACvC,eAAe,mBAAO,CAAC,qDAAY;;AAEnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;AChCA,WAAW,mBAAO,CAAC,+CAAS;AAC5B,gBAAgB,mBAAO,CAAC,uDAAa;;AAErC;AACA,kBAAkB,KAA0B;;AAE5C;AACA,gCAAgC,QAAa;;AAE7C;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACrCA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,eAAe,mBAAO,CAAC,qDAAY;;AAEnC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpCA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AClCA,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC5BA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,mBAAmB,mBAAO,CAAC,+DAAiB;AAC5C,mBAAmB,mBAAO,CAAC,6DAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,gBAAgB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC7DA,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC1BA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,cAAc,mBAAO,CAAC,mDAAW;AACjC,mBAAmB,mBAAO,CAAC,6DAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC7BA,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,mBAAmB,mBAAO,CAAC,6DAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC5BA,uBAAuB,mBAAO,CAAC,uEAAqB;AACpD,gBAAgB,mBAAO,CAAC,yDAAc;AACtC,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC1BA,oBAAoB,mBAAO,CAAC,iEAAkB;AAC9C,eAAe,mBAAO,CAAC,uDAAa;AACpC,kBAAkB,mBAAO,CAAC,2DAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpCA,oBAAoB,mBAAO,CAAC,iEAAkB;AAC9C,iBAAiB,mBAAO,CAAC,2DAAe;AACxC,kBAAkB,mBAAO,CAAC,2DAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC/BA,eAAe,mBAAO,CAAC,uDAAa;AACpC,mBAAmB,mBAAO,CAAC,+DAAiB;AAC5C,cAAc,mBAAO,CAAC,qDAAY;AAClC,cAAc,mBAAO,CAAC,mDAAW;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,UAAU;AACrB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;AACA;AACA,OAAO,kBAAkB;AACzB,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACpDA,eAAe,mBAAO,CAAC,uDAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,aAAa,UAAU;AACvB;AACA;AACA,kBAAkB;AAClB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;ACxEA,mBAAmB,mBAAO,CAAC,+DAAiB;AAC5C,uBAAuB,mBAAO,CAAC,uEAAqB;AACpD,YAAY,mBAAO,CAAC,iDAAU;AAC9B,YAAY,mBAAO,CAAC,iDAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,aAAa,UAAU;AACvB;AACA;AACA;AACA,OAAO,OAAO,UAAU;AACxB,OAAO,OAAO;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AAC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gC,6CAA6C,gCAAgC,iDAAiD,+BAA+B,4BAA4B,kCAAkC,mBAAmB,MAAM,6BAA6B,mBAAmB,4BAA4B,sBAAsB,SAAS,iCAAiC,mCAAmC,GAAG,iBAAiB,iCAAiC,oBAAoB,sBAAsB,mCAAmC,EAAE,cAAc,cAAc,4DAA4D,GAA0E;;;;;;;UCA3uL;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCzBA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;WACA;WACA;WACA;WACA;;;;;;;;;;;;;;ACJA;AAEA;CAGA;;AACArD,EAAE,CAACC,SAAH,CAAakM,kBAAb,CAAgC,sBAAhC,IAA0DpM,kEAA1D,C","sources":["webpack://control-react-colorful/./src/KirkiReactColorfulControl.js","webpack://control-react-colorful/./src/KirkiReactColorfulForm.js","webpack://control-react-colorful/./src/js/components/KirkiReactColorfulCircle.js","webpack://control-react-colorful/./src/js/components/KirkiReactColorfulInput.js","webpack://control-react-colorful/./src/js/components/KirkiReactColorfulSwatches.js","webpack://control-react-colorful/./src/js/hooks/useClickOutside.js","webpack://control-react-colorful/./src/js/hooks/useFocusOutside.js","webpack://control-react-colorful/./src/js/hooks/useWindowResize.js","webpack://control-react-colorful/./src/js/utils/convertColorForCustomizer.js","webpack://control-react-colorful/./src/js/utils/convertColorForInput.js","webpack://control-react-colorful/./src/js/utils/convertColorForPicker.js","webpack://control-react-colorful/./node_modules/lodash/_DataView.js","webpack://control-react-colorful/./node_modules/lodash/_Hash.js","webpack://control-react-colorful/./node_modules/lodash/_ListCache.js","webpack://control-react-colorful/./node_modules/lodash/_Map.js","webpack://control-react-colorful/./node_modules/lodash/_MapCache.js","webpack://control-react-colorful/./node_modules/lodash/_Promise.js","webpack://control-react-colorful/./node_modules/lodash/_Set.js","webpack://control-react-colorful/./node_modules/lodash/_SetCache.js","webpack://control-react-colorful/./node_modules/lodash/_Stack.js","webpack://control-react-colorful/./node_modules/lodash/_Symbol.js","webpack://control-react-colorful/./node_modules/lodash/_Uint8Array.js","webpack://control-react-colorful/./node_modules/lodash/_WeakMap.js","webpack://control-react-colorful/./node_modules/lodash/_arrayEach.js","webpack://control-react-colorful/./node_modules/lodash/_arrayFilter.js","webpack://control-react-colorful/./node_modules/lodash/_arrayLikeKeys.js","webpack://control-react-colorful/./node_modules/lodash/_arrayMap.js","webpack://control-react-colorful/./node_modules/lodash/_arrayPush.js","webpack://control-react-colorful/./node_modules/lodash/_arraySome.js","webpack://control-react-colorful/./node_modules/lodash/_assignValue.js","webpack://control-react-colorful/./node_modules/lodash/_assocIndexOf.js","webpack://control-react-colorful/./node_modules/lodash/_baseAssign.js","webpack://control-react-colorful/./node_modules/lodash/_baseAssignIn.js","webpack://control-react-colorful/./node_modules/lodash/_baseAssignValue.js","webpack://control-react-colorful/./node_modules/lodash/_baseClone.js","webpack://control-react-colorful/./node_modules/lodash/_baseCreate.js","webpack://control-react-colorful/./node_modules/lodash/_baseEach.js","webpack://control-react-colorful/./node_modules/lodash/_baseFor.js","webpack://control-react-colorful/./node_modules/lodash/_baseForOwn.js","webpack://control-react-colorful/./node_modules/lodash/_baseGet.js","webpack://control-react-colorful/./node_modules/lodash/_baseGetAllKeys.js","webpack://control-react-colorful/./node_modules/lodash/_baseGetTag.js","webpack://control-react-colorful/./node_modules/lodash/_baseHasIn.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsArguments.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsEqual.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsEqualDeep.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsMap.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsMatch.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsNative.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsSet.js","webpack://control-react-colorful/./node_modules/lodash/_baseIsTypedArray.js","webpack://control-react-colorful/./node_modules/lodash/_baseIteratee.js","webpack://control-react-colorful/./node_modules/lodash/_baseKeys.js","webpack://control-react-colorful/./node_modules/lodash/_baseKeysIn.js","webpack://control-react-colorful/./node_modules/lodash/_baseMap.js","webpack://control-react-colorful/./node_modules/lodash/_baseMatches.js","webpack://control-react-colorful/./node_modules/lodash/_baseMatchesProperty.js","webpack://control-react-colorful/./node_modules/lodash/_baseProperty.js","webpack://control-react-colorful/./node_modules/lodash/_basePropertyDeep.js","webpack://control-react-colorful/./node_modules/lodash/_baseTimes.js","webpack://control-react-colorful/./node_modules/lodash/_baseToString.js","webpack://control-react-colorful/./node_modules/lodash/_baseUnary.js","webpack://control-react-colorful/./node_modules/lodash/_cacheHas.js","webpack://control-react-colorful/./node_modules/lodash/_castFunction.js","webpack://control-react-colorful/./node_modules/lodash/_castPath.js","webpack://control-react-colorful/./node_modules/lodash/_cloneArrayBuffer.js","webpack://control-react-colorful/./node_modules/lodash/_cloneBuffer.js","webpack://control-react-colorful/./node_modules/lodash/_cloneDataView.js","webpack://control-react-colorful/./node_modules/lodash/_cloneRegExp.js","webpack://control-react-colorful/./node_modules/lodash/_cloneSymbol.js","webpack://control-react-colorful/./node_modules/lodash/_cloneTypedArray.js","webpack://control-react-colorful/./node_modules/lodash/_copyArray.js","webpack://control-react-colorful/./node_modules/lodash/_copyObject.js","webpack://control-react-colorful/./node_modules/lodash/_copySymbols.js","webpack://control-react-colorful/./node_modules/lodash/_copySymbolsIn.js","webpack://control-react-colorful/./node_modules/lodash/_coreJsData.js","webpack://control-react-colorful/./node_modules/lodash/_createBaseEach.js","webpack://control-react-colorful/./node_modules/lodash/_createBaseFor.js","webpack://control-react-colorful/./node_modules/lodash/_defineProperty.js","webpack://control-react-colorful/./node_modules/lodash/_equalArrays.js","webpack://control-react-colorful/./node_modules/lodash/_equalByTag.js","webpack://control-react-colorful/./node_modules/lodash/_equalObjects.js","webpack://control-react-colorful/./node_modules/lodash/_freeGlobal.js","webpack://control-react-colorful/./node_modules/lodash/_getAllKeys.js","webpack://control-react-colorful/./node_modules/lodash/_getAllKeysIn.js","webpack://control-react-colorful/./node_modules/lodash/_getMapData.js","webpack://control-react-colorful/./node_modules/lodash/_getMatchData.js","webpack://control-react-colorful/./node_modules/lodash/_getNative.js","webpack://control-react-colorful/./node_modules/lodash/_getPrototype.js","webpack://control-react-colorful/./node_modules/lodash/_getRawTag.js","webpack://control-react-colorful/./node_modules/lodash/_getSymbols.js","webpack://control-react-colorful/./node_modules/lodash/_getSymbolsIn.js","webpack://control-react-colorful/./node_modules/lodash/_getTag.js","webpack://control-react-colorful/./node_modules/lodash/_getValue.js","webpack://control-react-colorful/./node_modules/lodash/_hasPath.js","webpack://control-react-colorful/./node_modules/lodash/_hashClear.js","webpack://control-react-colorful/./node_modules/lodash/_hashDelete.js","webpack://control-react-colorful/./node_modules/lodash/_hashGet.js","webpack://control-react-colorful/./node_modules/lodash/_hashHas.js","webpack://control-react-colorful/./node_modules/lodash/_hashSet.js","webpack://control-react-colorful/./node_modules/lodash/_initCloneArray.js","webpack://control-react-colorful/./node_modules/lodash/_initCloneByTag.js","webpack://control-react-colorful/./node_modules/lodash/_initCloneObject.js","webpack://control-react-colorful/./node_modules/lodash/_isIndex.js","webpack://control-react-colorful/./node_modules/lodash/_isKey.js","webpack://control-react-colorful/./node_modules/lodash/_isKeyable.js","webpack://control-react-colorful/./node_modules/lodash/_isMasked.js","webpack://control-react-colorful/./node_modules/lodash/_isPrototype.js","webpack://control-react-colorful/./node_modules/lodash/_isStrictComparable.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheClear.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheDelete.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheGet.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheHas.js","webpack://control-react-colorful/./node_modules/lodash/_listCacheSet.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheClear.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheDelete.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheGet.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheHas.js","webpack://control-react-colorful/./node_modules/lodash/_mapCacheSet.js","webpack://control-react-colorful/./node_modules/lodash/_mapToArray.js","webpack://control-react-colorful/./node_modules/lodash/_matchesStrictComparable.js","webpack://control-react-colorful/./node_modules/lodash/_memoizeCapped.js","webpack://control-react-colorful/./node_modules/lodash/_nativeCreate.js","webpack://control-react-colorful/./node_modules/lodash/_nativeKeys.js","webpack://control-react-colorful/./node_modules/lodash/_nativeKeysIn.js","webpack://control-react-colorful/./node_modules/lodash/_nodeUtil.js","webpack://control-react-colorful/./node_modules/lodash/_objectToString.js","webpack://control-react-colorful/./node_modules/lodash/_overArg.js","webpack://control-react-colorful/./node_modules/lodash/_root.js","webpack://control-react-colorful/./node_modules/lodash/_setCacheAdd.js","webpack://control-react-colorful/./node_modules/lodash/_setCacheHas.js","webpack://control-react-colorful/./node_modules/lodash/_setToArray.js","webpack://control-react-colorful/./node_modules/lodash/_stackClear.js","webpack://control-react-colorful/./node_modules/lodash/_stackDelete.js","webpack://control-react-colorful/./node_modules/lodash/_stackGet.js","webpack://control-react-colorful/./node_modules/lodash/_stackHas.js","webpack://control-react-colorful/./node_modules/lodash/_stackSet.js","webpack://control-react-colorful/./node_modules/lodash/_stringToPath.js","webpack://control-react-colorful/./node_modules/lodash/_toKey.js","webpack://control-react-colorful/./node_modules/lodash/_toSource.js","webpack://control-react-colorful/./node_modules/lodash/cloneDeep.js","webpack://control-react-colorful/./node_modules/lodash/eq.js","webpack://control-react-colorful/./node_modules/lodash/forOwn.js","webpack://control-react-colorful/./node_modules/lodash/get.js","webpack://control-react-colorful/./node_modules/lodash/hasIn.js","webpack://control-react-colorful/./node_modules/lodash/identity.js","webpack://control-react-colorful/./node_modules/lodash/isArguments.js","webpack://control-react-colorful/./node_modules/lodash/isArray.js","webpack://control-react-colorful/./node_modules/lodash/isArrayLike.js","webpack://control-react-colorful/./node_modules/lodash/isBuffer.js","webpack://control-react-colorful/./node_modules/lodash/isFunction.js","webpack://control-react-colorful/./node_modules/lodash/isLength.js","webpack://control-react-colorful/./node_modules/lodash/isMap.js","webpack://control-react-colorful/./node_modules/lodash/isObject.js","webpack://control-react-colorful/./node_modules/lodash/isObjectLike.js","webpack://control-react-colorful/./node_modules/lodash/isPlainObject.js","webpack://control-react-colorful/./node_modules/lodash/isSet.js","webpack://control-react-colorful/./node_modules/lodash/isString.js","webpack://control-react-colorful/./node_modules/lodash/isSymbol.js","webpack://control-react-colorful/./node_modules/lodash/isTypedArray.js","webpack://control-react-colorful/./node_modules/lodash/keys.js","webpack://control-react-colorful/./node_modules/lodash/keysIn.js","webpack://control-react-colorful/./node_modules/lodash/map.js","webpack://control-react-colorful/./node_modules/lodash/memoize.js","webpack://control-react-colorful/./node_modules/lodash/property.js","webpack://control-react-colorful/./node_modules/lodash/stubArray.js","webpack://control-react-colorful/./node_modules/lodash/stubFalse.js","webpack://control-react-colorful/./node_modules/lodash/toString.js","webpack://control-react-colorful/./src/control.scss?ac67","webpack://control-react-colorful/./node_modules/react-colorful/dist/index.module.js","webpack://control-react-colorful/./node_modules/reactcss/lib/autoprefix.js","webpack://control-react-colorful/./node_modules/reactcss/lib/components/active.js","webpack://control-react-colorful/./node_modules/reactcss/lib/components/hover.js","webpack://control-react-colorful/./node_modules/reactcss/lib/flattenNames.js","webpack://control-react-colorful/./node_modules/reactcss/lib/index.js","webpack://control-react-colorful/./node_modules/reactcss/lib/loop.js","webpack://control-react-colorful/./node_modules/reactcss/lib/mergeClasses.js","webpack://control-react-colorful/external var \"React\"","webpack://control-react-colorful/external var \"ReactDOM\"","webpack://control-react-colorful/./node_modules/colord/index.mjs","webpack://control-react-colorful/webpack/bootstrap","webpack://control-react-colorful/webpack/runtime/compat get default export","webpack://control-react-colorful/webpack/runtime/define property getters","webpack://control-react-colorful/webpack/runtime/global","webpack://control-react-colorful/webpack/runtime/hasOwnProperty shorthand","webpack://control-react-colorful/webpack/runtime/make namespace object","webpack://control-react-colorful/webpack/runtime/node module decorator","webpack://control-react-colorful/./src/control.js"],"sourcesContent":["import ReactDOM from \"react-dom\";\nimport KirkiReactColorfulForm from \"./KirkiReactColorfulForm\";\n\n/**\n * KirkiReactColorfulControl.\n *\n * @class\n * @augments wp.customize.Control\n * @augments wp.customize.Class\n */\nconst KirkiReactColorfulControl = wp.customize.Control.extend({\n /**\n * Initialize.\n *\n * @param {string} id - Control ID.\n * @param {object} params - Control params.\n */\n initialize: function (id, params) {\n const control = this;\n\n // Bind functions to this control context for passing as React props.\n control.setNotificationContainer =\n control.setNotificationContainer.bind(control);\n\n wp.customize.Control.prototype.initialize.call(control, id, params);\n\n // The following should be eliminated with <https://core.trac.wordpress.org/ticket/31334>.\n function onRemoved(removedControl) {\n if (control === removedControl) {\n control.destroy();\n control.container.remove();\n wp.customize.control.unbind(\"removed\", onRemoved);\n }\n }\n wp.customize.control.bind(\"removed\", onRemoved);\n },\n\n /**\n * Set notification container and render.\n *\n * This is called when the React component is mounted.\n *\n * @param {Element} element - Notification container.\n * @returns {void}\n */\n setNotificationContainer: function setNotificationContainer(element) {\n const control = this;\n control.notifications.container = jQuery(element);\n control.notifications.render();\n },\n\n /**\n * Render the control into the DOM.\n *\n * This is called from the Control#embed() method in the parent class.\n *\n * @returns {void}\n */\n renderContent: function renderContent() {\n const control = this;\n const useHueMode = \"hue\" === control.params.mode;\n const choices = control.params.choices;\n\n let pickerComponent;\n\n if (choices.formComponent) {\n pickerComponent = choices.formComponent;\n } else {\n pickerComponent = choices.alpha\n ? \"RgbaStringColorPicker\"\n : \"HexColorPicker\";\n }\n\n pickerComponent = useHueMode ? \"HueColorPicker\" : pickerComponent;\n\n const form = (\n <KirkiReactColorfulForm\n {...control.params}\n control={control}\n customizerSetting={control.setting}\n useHueMode={useHueMode}\n pickerComponent={pickerComponent}\n value={control.params.value}\n setNotificationContainer={control.setNotificationContainer}\n />\n );\n\n ReactDOM.render(form, control.container[0]);\n },\n\n /**\n * After control has been first rendered, start re-rendering when setting changes.\n *\n * React is able to be used here instead of the wp.customize.Element abstraction.\n *\n * @returns {void}\n */\n ready: function ready() {\n const control = this;\n\n /**\n * Update component state when customizer setting changes.\n *\n * There was an issue (which was fixed):\n *\n * Let's say we have other color picker (\"x\" color picker) and this current color picker (\"y\" color picker).\n * Let's say there's a script that bind to that \"x\" color picker to make change to this \"y\" color picker.\n *\n * When \"x\" color picker is changed fast (by dragging the color, for example),\n * then the re-render of this \"y\" color picker will be messy.\n * There was something like \"function-call race\" between component re-render and function call inside the component.\n *\n * When that happens, the \"x\" color picker becomes unresponsive and un-usable.\n *\n * How we fixed that:\n * - Provide a updateComponentState property to this file.\n * - Inside the component, assign the updateComponentState with a function to update some states.\n * - Then inside the binding below, call updateComponentState instead of re-rendering the component.\n *\n * The result: Even though the \"x\" color picker becomes very slow, it's still usable and responsive enough.\n */\n control.setting.bind((val) => {\n control.updateComponentState(val);\n });\n },\n\n updateComponentState: () => {},\n\n /**\n * Handle removal/de-registration of the control.\n *\n * This is essentially the inverse of the Control#embed() method.\n *\n * @link https://core.trac.wordpress.org/ticket/31334\n * @returns {void}\n */\n destroy: function destroy() {\n const control = this;\n\n // Garbage collection: undo mounting that was done in the embed/renderContent method.\n ReactDOM.unmountComponentAtNode(control.container[0]);\n\n // Call destroy method in parent if it exists (as of #31334).\n if (wp.customize.Control.prototype.destroy) {\n wp.customize.Control.prototype.destroy.call(control);\n }\n },\n});\n\nexport default KirkiReactColorfulControl;\n","import { useState, useRef } from \"react\";\nimport {\n HexColorPicker,\n RgbColorPicker,\n RgbaColorPicker,\n RgbStringColorPicker,\n RgbaStringColorPicker,\n HslColorPicker,\n HslaColorPicker,\n HslStringColorPicker,\n HslaStringColorPicker,\n HsvColorPicker,\n HsvaColorPicker,\n HsvStringColorPicker,\n HsvaStringColorPicker,\n} from \"react-colorful\";\nimport KirkiReactColorfulInput from \"./js/components/KirkiReactColorfulInput\";\nimport KirkiReactColorfulSwatches from \"./js/components/KirkiReactColorfulSwatches\";\nimport convertColorForPicker from \"./js/utils/convertColorForPicker\";\nimport convertColorForCustomizer from \"./js/utils/convertColorForCustomizer\";\nimport convertColorForInput from \"./js/utils/convertColorForInput\";\nimport useClickOutside from \"./js/hooks/useClickOutside\";\nimport useFocusOutside from \"./js/hooks/useFocusOutside\";\nimport useWindowResize from \"./js/hooks/useWindowResize\";\nimport KirkiReactColorfulCircle from \"./js/components/KirkiReactColorfulCircle\";\nimport { colord } from \"colord\";\n\n/**\n * The form component of Kirki React Colorful.\n *\n * Globals:\n * _, wp, React, ReactDOM\n *\n * @param {Object} props The props for the component.\n * @returns The component element.\n */\nconst KirkiReactColorfulForm = (props) => {\n const { control, customizerSetting, useHueMode, pickerComponent, choices } =\n props;\n\n const parseEmptyValue = () => (useHueMode ? 0 : \"#000000\");\n\n const parseHueModeValue = (hueValue) => {\n hueValue = hueValue || parseEmptyValue();\n hueValue = hueValue < 0 ? 0 : hueValue;\n\n return hueValue > 360 ? 360 : hueValue;\n };\n\n const parseInputValue = (value) => {\n if (\"\" === value) return \"\";\n\n return useHueMode\n ? parseHueModeValue(value)\n : convertColorForInput(\n value,\n pickerComponent,\n choices.formComponent\n ).replace(\";\", \"\");\n };\n\n const parseCustomizerValue = (value) => {\n if (\"\" === value) return \"\";\n\n return convertColorForCustomizer(\n value,\n pickerComponent,\n choices.formComponent\n );\n };\n\n const parsePickerValue = (value) => {\n value = value || parseEmptyValue();\n\n // Hard coded saturation and lightness when using hue mode.\n return useHueMode\n ? { h: value, s: 100, l: 50 }\n : convertColorForPicker(value, pickerComponent);\n };\n\n const [inputValue, setInputValue] = useState(() => {\n return parseInputValue(props.value);\n });\n\n const [pickerValue, setPickerValue] = useState(() => {\n return parsePickerValue(props.value);\n });\n\n let currentInputValue = inputValue;\n let currentPickerValue = pickerValue;\n\n // This function will be called when this control's customizer value is changed.\n control.updateComponentState = (value) => {\n const valueForInput = parseInputValue(value);\n let changeInputValue = false;\n\n if (typeof valueForInput === \"string\" || useHueMode) {\n changeInputValue = valueForInput !== inputValue;\n } else {\n changeInputValue =\n JSON.stringify(valueForInput) !== JSON.stringify(currentInputValue);\n }\n\n if (changeInputValue) setInputValue(valueForInput);\n\n const valueForPicker = parsePickerValue(value);\n let changePickerValue = false;\n\n if (typeof valueForPicker === \"string\" || useHueMode) {\n changePickerValue = valueForPicker !== pickerValue;\n } else {\n changePickerValue =\n JSON.stringify(valueForPicker) !== JSON.stringify(currentPickerValue);\n }\n\n if (changePickerValue) setPickerValue(valueForPicker);\n };\n\n const saveToCustomizer = (value) => {\n if (useHueMode) {\n /**\n * When using hue mode, the pickerComponent is HslColorPicker.\n * If there is value.h, then value is set from the picker.\n * Otherwise, value is set from the input or the customizer.\n */\n value = value.h || 0 === value.h ? value.h : value;\n value = parseHueModeValue(value);\n } else {\n value = parseCustomizerValue(value);\n }\n\n customizerSetting.set(value);\n };\n\n const initialColor =\n \"\" !== props.default && \"undefined\" !== typeof props.default\n ? props.default\n : props.value;\n\n /**\n * Function to run on picker change.\n *\n * @param {string|Object} color The value returned by the picker. It can be a string or a color object.\n */\n const handlePickerChange = (color) => {\n if (props.onChange) props.onChange(color);\n currentPickerValue = color;\n saveToCustomizer(color);\n };\n\n const handleInputChange = (value) => {\n currentInputValue = value;\n saveToCustomizer(value);\n };\n\n const handleReset = () => {\n if (!initialColor) {\n currentInputValue = \"\";\n currentPickerValue = \"\";\n }\n\n saveToCustomizer(initialColor);\n };\n\n const handleSwatchesClick = (swatchColor) => {\n saveToCustomizer(swatchColor);\n };\n\n const handleWindowResize = () => {\n setPickerContainerStyle(getPickerContainerStyle());\n };\n\n let controlLabel = (\n <span\n className=\"customize-control-title\"\n dangerouslySetInnerHTML={{ __html: props.label }}\n />\n );\n\n let controlDescription = (\n <span\n className=\"description customize-control-description\"\n dangerouslySetInnerHTML={{ __html: props.description }}\n ></span>\n );\n\n controlLabel = (\n <label className=\"kirki-control-label\">\n {props.label ? controlLabel : \"\"}\n {props.description ? controlDescription : \"\"}\n </label>\n );\n\n controlLabel = props.label || props.description ? controlLabel : \"\";\n\n const formRef = useRef(null); // Reference to the form div.\n const pickerRef = useRef(null); // Reference to the picker popup.\n const resetRef = useRef(null); // Reference to the picker popup.\n\n const [isPickerOpen, setIsPickerOpen] = useState(false);\n\n const usePositionFixed = \"default\" !== choices.labelStyle ? true : false;\n\n const [pickerContainerStyle, setPickerContainerStyle] = useState({});\n\n const getPickerContainerStyle = () => {\n let pickerContainerStyle = {};\n\n if (!usePositionFixed) return pickerContainerStyle;\n\n let padding = window.getComputedStyle(\n control.container[0].parentNode\n ).paddingLeft;\n padding = parseInt(padding, 10) * 2;\n\n pickerContainerStyle.width =\n control.container[0].parentNode.getBoundingClientRect().width - padding;\n\n const controlLeftOffset = (control.container[0].offsetLeft - 9) * -1;\n\n pickerContainerStyle.left = controlLeftOffset + \"px\";\n\n return pickerContainerStyle;\n };\n\n const convertInputValueTo6Digits = () => {\n if (4 === inputValue.length && inputValue.includes(\"#\")) {\n setInputValue(colord(inputValue).toHex());\n }\n };\n\n const togglePicker = () => {\n if (isPickerOpen) {\n closePicker();\n } else {\n openPicker();\n }\n };\n\n const openPicker = () => {\n if (isPickerOpen) return;\n\n setPickerContainerStyle(getPickerContainerStyle());\n convertInputValueTo6Digits();\n setIsPickerOpen(true);\n };\n\n const closePicker = () => {\n if (!isPickerOpen) return;\n\n setIsPickerOpen(false);\n setTimeout(convertInputValueTo6Digits, 200);\n };\n\n let KirkiPickerComponent;\n\n // We can't just render `pickerComponent` directly, we need these lines so that the compiler will import them.\n switch (pickerComponent) {\n case \"HexColorPicker\":\n KirkiPickerComponent = HexColorPicker;\n break;\n case \"RgbColorPicker\":\n KirkiPickerComponent = RgbColorPicker;\n break;\n case \"RgbStringColorPicker\":\n KirkiPickerComponent = RgbStringColorPicker;\n break;\n case \"RgbaColorPicker\":\n KirkiPickerComponent = RgbaColorPicker;\n break;\n case \"RgbaStringColorPicker\":\n KirkiPickerComponent = RgbaStringColorPicker;\n break;\n // We treat HueColorPicker (hue mode) as HslColorPicker.\n case \"HueColorPicker\":\n KirkiPickerComponent = HslColorPicker;\n break;\n case \"HslColorPicker\":\n KirkiPickerComponent = HslColorPicker;\n break;\n case \"HslStringColorPicker\":\n KirkiPickerComponent = HslStringColorPicker;\n break;\n case \"HslaColorPicker\":\n KirkiPickerComponent = HslaColorPicker;\n break;\n case \"HslaStringColorPicker\":\n KirkiPickerComponent = HslaStringColorPicker;\n break;\n case \"HsvColorPicker\":\n KirkiPickerComponent = HsvColorPicker;\n break;\n case \"HsvStringColorPicker\":\n KirkiPickerComponent = HsvStringColorPicker;\n break;\n case \"HsvaColorPicker\":\n KirkiPickerComponent = HsvaColorPicker;\n break;\n case \"HsvaStringColorPicker\":\n KirkiPickerComponent = HsvaStringColorPicker;\n break;\n default:\n KirkiPickerComponent = HexColorPicker;\n break;\n }\n\n useWindowResize(handleWindowResize);\n\n // Handle outside focus to close the picker popup.\n useFocusOutside(formRef, closePicker);\n\n // Handle outside click to close the picker popup.\n useClickOutside(pickerRef, resetRef, closePicker);\n\n if (jQuery.wp && jQuery.wp.wpColorPicker) {\n const wpColorPickerSwatches =\n jQuery.wp.wpColorPicker.prototype.options.palettes;\n\n // If 3rd parties applied custom colors to wpColorPicker swatches, let's use them.\n if (Array.isArray(wpColorPickerSwatches)) {\n if (wpColorPickerSwatches.length < 8) {\n for (let i = wpColorPickerSwatches.length; i <= 8; i++) {\n wpColorPickerSwatches.push(choices.swatches[i]);\n }\n }\n\n choices.swatches = wpColorPickerSwatches;\n }\n }\n\n const controlHeader = (\n <>\n {controlLabel}\n <div\n className=\"customize-control-notifications-container\"\n ref={props.setNotificationContainer}\n />\n </>\n );\n\n let formClassName = useHueMode\n ? \"kirki-control-form use-hue-mode\"\n : \"kirki-control-form\";\n\n formClassName += \" has-\" + choices.labelStyle + \"-label-style\";\n\n let pickerContainerClassName = isPickerOpen\n ? pickerComponent + \" colorPickerContainer is-open\"\n : pickerComponent + \" colorPickerContainer\";\n\n const pickerTrigger = (\n <>\n <button\n type=\"button\"\n ref={resetRef}\n className=\"kirki-control-reset\"\n onClick={handleReset}\n style={{ display: isPickerOpen ? \"flex\" : \"none\" }}\n >\n <i className=\"dashicons dashicons-image-rotate\"></i>\n </button>\n\n <KirkiReactColorfulCircle\n pickerComponent={pickerComponent}\n useHueMode={useHueMode}\n color={\n !useHueMode\n ? inputValue\n : colord({ h: inputValue, s: 100, l: 50 }).toHex()\n }\n isPickerOpen={isPickerOpen}\n togglePickerHandler={togglePicker}\n />\n </>\n );\n\n let pickerHeader;\n\n switch (choices.labelStyle) {\n case \"tooltip\":\n pickerHeader = (\n <>\n {pickerTrigger}\n {!isPickerOpen && (\n <div className=\"kirki-label-tooltip\">{controlHeader}</div>\n )}\n </>\n );\n break;\n\n case \"top\":\n pickerHeader = (\n <>\n {controlHeader}\n {pickerTrigger}\n </>\n );\n break;\n\n default:\n pickerHeader = (\n <>\n <div className=\"kirki-control-cols\">\n <div className=\"kirki-control-left-col\">{controlHeader}</div>\n <div className=\"kirki-control-right-col\">{pickerTrigger}</div>\n </div>\n </>\n );\n break;\n }\n\n return (\n <>\n <div className={formClassName} ref={formRef} tabIndex=\"1\">\n {pickerHeader}\n <div\n ref={pickerRef}\n className={pickerContainerClassName}\n style={pickerContainerStyle}\n >\n {!useHueMode && (\n <KirkiReactColorfulSwatches\n colors={choices.swatches}\n onClick={handleSwatchesClick}\n />\n )}\n\n <KirkiPickerComponent\n color={pickerValue}\n onChange={handlePickerChange}\n />\n\n <KirkiReactColorfulInput\n pickerComponent={pickerComponent}\n useHueMode={useHueMode}\n color={inputValue}\n onChange={handleInputChange}\n />\n </div>\n </div>\n </>\n );\n};\n\nexport default KirkiReactColorfulForm;\n","import { useState, useEffect } from \"react\";\nimport reactCSS from \"reactcss\";\n\nconst KirkiReactColorfulCircle = (props) => {\n const { color = \"\" } = props;\n const [value, setValue] = useState(() => color);\n\n // Update the local state when `color` property value is changed.\n useEffect(() => {\n // We don't need to convert the color since it's using the customizer value.\n setValue(color);\n }, [color]);\n\n const pickersWithAlpha = [\n \"RgbaColorPicker\",\n \"RgbaStringColorPicker\",\n \"HslaColorPicker\",\n \"HslaStringColorPicker\",\n \"HsvaColorPicker\",\n \"HsvaStringColorPicker\",\n ];\n\n const styles = reactCSS({\n default: {\n triggerButton: {\n backgroundImage:\n 'url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==\")',\n },\n colorPreview: {\n backgroundColor: value ? value : \"transparent\",\n },\n },\n });\n\n return (\n <div className=\"kirki-trigger-circle-wrapper\">\n <button\n type=\"button\"\n className=\"kirki-trigger-circle\"\n onClick={props.togglePickerHandler}\n style={styles.triggerButton}\n >\n <div className=\"kirki-color-preview\" style={styles.colorPreview}></div>\n </button>\n </div>\n );\n};\n\nexport default KirkiReactColorfulCircle;\n","import { useState, useEffect, useCallback } from \"react\";\nimport reactCSS from \"reactcss\";\n\nconst KirkiReactColorfulInput = (props) => {\n const { onChange, color = \"\" } = props;\n const [value, setValue] = useState(() => color);\n\n const handleChange = useCallback(\n (e) => {\n let val = e.target.value;\n\n if (2 === val.length) {\n if (!val.includes(\"#\") && !val.includes(\"rg\") && !val.includes(\"hs\")) {\n val = \"#\" + val;\n }\n } else if (3 === val.length || 6 === val.length) {\n if (!val.includes(\"#\") && !val.includes(\"rg\") && !val.includes(\"hs\")) {\n val = \"#\" + val;\n }\n }\n\n val = val.toLowerCase();\n\n // Thank you: https://regexr.com/39cgj\n const pattern = new RegExp(\n /(?:#|0x)(?:[a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})\\b|(?:rgb|hsl)a?\\([^\\)]*\\)/\n );\n\n if (pattern.test(val)) {\n onChange(val); // Run onChange handler passed by `KirkiReactColorfulForm` component.\n }\n\n setValue(val);\n },\n [onChange]\n );\n\n // Update the local state when `color` property value is changed.\n useEffect(() => {\n // We don't need to convert the color since it's already handled in parent component.\n setValue(color);\n }, [color]);\n\n const pickersWithAlpha = [\n \"RgbaColorPicker\",\n \"RgbaStringColorPicker\",\n \"HslaColorPicker\",\n \"HslaStringColorPicker\",\n \"HsvaColorPicker\",\n \"HsvaStringColorPicker\",\n ];\n\n const styles = reactCSS({\n default: {\n colorPreviewWrapper: {\n backgroundImage: pickersWithAlpha.includes(props.pickerComponent)\n ? 'url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==\")'\n : \"none\",\n },\n colorPreview: {\n backgroundColor: value,\n },\n },\n });\n\n return (\n <div className=\"kirki-color-input-wrapper\">\n <div className=\"kirki-color-input-control\">\n {!props.useHueMode && (\n <div\n className=\"kirki-color-preview-wrapper\"\n style={styles.colorPreviewWrapper}\n >\n <button\n type=\"button\"\n className=\"kirki-color-preview\"\n style={styles.colorPreview}\n ></button>\n </div>\n )}\n <input\n type=\"text\"\n value={value}\n className=\"kirki-color-input\"\n spellCheck=\"false\"\n onChange={handleChange}\n />\n </div>\n </div>\n );\n};\n\nexport default KirkiReactColorfulInput;\n","const KirkiReactColorfulSwatches = ({ colors, onClick }) => {\n return (\n <div className=\"kirki-color-swatches\">\n {colors.map((clr, index) => {\n\t\t\t\tconst color = clr && clr.color ? clr.color : clr;\n\n return (\n <button\n key={index.toString()}\n type=\"button\"\n className=\"kirki-color-swatch\"\n data-kirki-color={color}\n style={{ backgroundColor: color }}\n onClick={() => onClick(color)}\n ></button>\n );\n })}\n </div>\n );\n};\n\nexport default KirkiReactColorfulSwatches;\n","import { useEffect } from \"react\";\n\n/**\n * Code was taken and then modified from https://codesandbox.io/s/opmco?file=/src/useClickOutside.js:0-1192\n * It was improved version of https://usehooks.com/useOnClickOutside/\n */\nconst useClickOutside = (pickerRef, resetRef, handler) => {\n useEffect(() => {\n let startedWhenMounted = false;\n let startedInside = false;\n\n const listener = (event) => {\n // Do nothing if `mousedown` or `touchstart` started either inside resetRef or pickerRef element\n if (!startedWhenMounted || startedInside) return;\n\n // Do nothing if clicking resetRef's element or descendent elements\n if (!resetRef.current || resetRef.current.contains(event.target)) return;\n\n // Do nothing if clicking pickerRef's element or descendent elements\n if (!pickerRef.current || pickerRef.current.contains(event.target))\n return;\n\n handler();\n };\n\n const validateEventStart = (event) => {\n startedWhenMounted = resetRef.current && pickerRef.current;\n startedInside =\n (resetRef.current && resetRef.current.contains(event.target)) ||\n (pickerRef.current && pickerRef.current.contains(event.target));\n };\n\n document.addEventListener(\"mousedown\", validateEventStart);\n document.addEventListener(\"touchstart\", validateEventStart);\n document.addEventListener(\"click\", listener);\n\n return () => {\n document.removeEventListener(\"mousedown\", validateEventStart);\n document.removeEventListener(\"touchstart\", validateEventStart);\n document.removeEventListener(\"click\", listener);\n };\n }, [resetRef, pickerRef, handler]);\n};\n\nexport default useClickOutside;\n","import { useEffect } from \"react\";\n\nconst useFocusOutside = (ref, handler) => {\n\tuseEffect(() => {\n\t\tconst listener = (e) => {\n\t\t\t// Do nothing if the component hasn't been mounted.\n\t\t\tif (!ref.current) return;\n\n\t\t\t// Do nothing if the focused element is inside the ref or the ref it self.\n\t\t\tif (ref.current.contains(e.target)) return;\n\n\t\t\thandler();\n\t\t};\n\n\t\tdocument.addEventListener(\"focus\", listener, true);\n\n\t\treturn () => {\n\t\t\tdocument.removeEventListener(\"focus\", listener, true);\n\t\t};\n\t}, [ref, handler]);\n};\n\nexport default useFocusOutside;\n","import { useEffect } from \"react\";\n\nconst useWindowResize = (handler) => {\n useEffect(() => {\n const listener = (e) => {\n handler();\n };\n\n window.addEventListener(\"resize\", listener, true);\n\n return () => {\n window.removeEventListener(\"resize\", listener, true);\n };\n }, [handler]);\n};\n\nexport default useWindowResize;\n","import { colord } from \"colord\";\n\n/**\n * Convert the value for the customizer.\n *\n * @param {string|Object} value The value to be converted.\n * @param {string} pickerComponent The picker component name.\n *\n * @returns {string} The converted value.\n */\nconst convertColorForCustomizer = (value, pickerComponent, formComponent) => {\n\tlet rgba;\n\tlet hsv;\n\tlet hsva;\n\tlet convertedValue;\n\n\tswitch (pickerComponent) {\n\t\t/**\n\t\t * The HexColorPicker is used by these condition:\n\t\t * 1. When formComponent is defined with HexColorPicker as the value.\n\t\t * 2. When formComponent is not defined but the \"alpha\" choice is not set or set to false (the old way).\n\t\t */\n\t\tcase 'HexColorPicker':\n\t\t\tconvertedValue = 'string' === typeof value && value.includes('#') ? value : colord(value).toHex();\n\t\t\tbreak;\n\n\t\tcase 'RgbColorPicker':\n\t\t\tconvertedValue = colord(value).toRgb();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'RgbStringColorPicker':\n\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"rgb(\")\n ? value\n : colord(value).toRgbString();\n\t\t\tbreak;\n\n\t\tcase 'RgbaColorPicker':\n\t\t\trgba = colord(value).toRgb();\n\t\t\tconvertedValue = rgba;\n\t\t\tbreak;\n\n\t\t/**\n\t\t * The RgbaStringColorPicker is used by these condition:\n\t\t * 1. When formComponent is defined with RgbaColorPicker as the value.\n\t\t * 2. When formComponent is not defined but the \"alpha\" choice is set to true.\n\t\t */\n\t\tcase 'RgbaStringColorPicker':\n\t\t\trgba = colord(value).toRgb();\n\n\t\t\tif (rgba.a < 1) {\n\t\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"rgba\")\n ? value\n : colord(value).toRgbString();\n\t\t\t} else {\n\t\t\t\t// When it uses the 2nd condition above, then the expected value is \"hex\".\n\t\t\t\tif (!formComponent) {\n\t\t\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"#\")\n ? value\n : colord(value).toHex();\n\t\t\t\t} else {\n\t\t\t\t\tconvertedValue = colord(value).toRgbString();\n\n\t\t\t\t\t// Force to set the alpha channel value.\n\t\t\t\t\tif (convertedValue.includes('rgb') && !convertedValue.includes('rgba')) {\n\t\t\t\t\t\tconvertedValue = convertedValue.replace('rgb', 'rgba');\n\t\t\t\t\t\tconvertedValue = convertedValue.replace(')', ', 1)');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase 'HslColorPicker':\n\t\t\tconvertedValue = colord(value).toHsl();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'HslStringColorPicker':\n\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"hsl(\")\n ? value\n : colord(value).toHslString();\n\t\t\tbreak;\n\n\t\tcase 'HslaColorPicker':\n\t\t\tconvertedValue = colord(value).toHsl();\n\t\t\tbreak;\n\n\t\tcase 'HslaStringColorPicker':\n\t\t\tconvertedValue = colord(value).toHslString();\n\n\t\t\t// Force to set the alpha channel value.\n\t\t\tif (convertedValue.includes('hsl') && !convertedValue.includes('hsla')) {\n\t\t\t\tconvertedValue = convertedValue.replace('hsl', 'hsla');\n\t\t\t\tconvertedValue = convertedValue.replace(')', ', 1)');\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase 'HsvColorPicker':\n\t\t\tconvertedValue = colord(value).toHsv();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\t/**\n\t\t * The colord library doesn't provide .toHsvString() method yet.\n\t\t * This manual value-building will apply to \"HsvStringColorPicker\" and \"HsvaStringColorPicker\" stuff below.\n\t\t */\n\t\tcase 'HsvStringColorPicker':\n\t\t\thsv = colord(value).toHsv();\n\t\t\tconvertedValue = 'hsv(' + hsv.h + ', ' + hsv.s + '%, ' + hsv.v + '%)';\n\t\t\tbreak;\n\n\t\tcase 'HsvaColorPicker':\n\t\t\tconvertedValue = colord(value).toHsv();\n\t\t\tbreak;\n\n\t\tcase 'HsvaStringColorPicker':\n\t\t\thsva = colord(value).toHsv();\n\t\t\tconvertedValue = 'hsva(' + hsva.h + ', ' + hsva.s + '%, ' + hsva.v + '%, ' + hsva.a + ')';\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tconvertedValue =\n \"string\" === typeof value && value.includes(\"#\")\n ? value\n : colord(value).toHex();\n\t\t\tbreak;\n\t}\n\n\treturn convertedValue;\n};\n\nexport default convertColorForCustomizer;\n","import { colord } from \"colord\";\n\n/**\n * Convert the value for the color input.\n *\n * @param {string|Object} value The value to be converted.\n * @param {string} pickerComponent The picker component name.\n *\n * @returns {string} The converted value.\n */\nconst convertColorForInput = (value, pickerComponent, formComponent) => {\n let rgba;\n let hsv;\n let hsva;\n let convertedValue;\n\n switch (pickerComponent) {\n /**\n * The HexColorPicker is used by these condition:\n * 1. When formComponent is defined with HexColorPicker as the value.\n * 2. When formComponent is not defined but the \"alpha\" choice is not set or set to false (the old way).\n */\n case \"HexColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"#\")\n ? value\n : colord(value).toHex();\n break;\n\n case \"RgbColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"rgb(\")\n ? value\n : colord(value).toRgbString();\n break;\n\n case \"RgbStringColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"rgba\")\n ? value\n : colord(value).toRgbString();\n break;\n\n case \"RgbaColorPicker\":\n rgba = colord(value).toRgb();\n\n if (rgba.a < 1) {\n convertedValue =\n \"string\" === typeof value && value.includes(\"rgba\")\n ? value\n : colord(value).toRgbString();\n } else {\n convertedValue = colord(value).toRgbString();\n\n // Force to set the alpha value.\n if (\n convertedValue.includes(\"rgb\") &&\n !convertedValue.includes(\"rgba\")\n ) {\n convertedValue = convertedValue.replace(\"rgb\", \"rgba\");\n convertedValue = convertedValue.replace(\")\", \", 1)\");\n }\n }\n\n break;\n\n /**\n * The RgbaStringColorPicker is used by these condition:\n * 1. When formComponent is defined with RgbaColorPicker as the value.\n * 2. When formComponent is not defined but the \"alpha\" choice is set to true.\n */\n case \"RgbaStringColorPicker\":\n rgba = colord(value).toRgb();\n\n // When it uses the 2nd condition above, then the expected value is \"hex\".\n if (rgba.a == 1 && !formComponent) {\n convertedValue =\n \"string\" === typeof value && value.includes(\"#\")\n ? value\n : colord(value).toHex();\n } else {\n convertedValue = colord(value).toRgbString();\n\n // Force to set the alpha value.\n if (\n convertedValue.includes(\"rgb\") &&\n !convertedValue.includes(\"rgba\")\n ) {\n convertedValue = convertedValue.replace(\"rgb\", \"rgba\");\n convertedValue = convertedValue.replace(\")\", \", 1)\");\n }\n }\n\n break;\n\n case \"HslColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"hsl(\")\n ? value\n : colord(value).toHslString();\n break;\n\n case \"HslStringColorPicker\":\n convertedValue =\n \"string\" === typeof value && value.includes(\"hsl(\")\n ? value\n : colord(value).toHslString();\n break;\n\n case \"HslaColorPicker\":\n convertedValue = colord(value).toHslString();\n\n // Force to set the alpha value.\n if (convertedValue.includes(\"hsl\") && !convertedValue.includes(\"hsla\")) {\n convertedValue = convertedValue.replace(\"hsl\", \"hsla\");\n convertedValue = convertedValue.replace(\")\", \", 1)\");\n }\n\n break;\n\n case \"HslaStringColorPicker\":\n convertedValue = colord(value).toHslString();\n\n // Force to set the alpha value.\n if (convertedValue.includes(\"hsl\") && !convertedValue.includes(\"hsla\")) {\n convertedValue = convertedValue.replace(\"hsl\", \"hsla\");\n convertedValue = convertedValue.replace(\")\", \", 1)\");\n }\n\n break;\n\n /**\n * The colord library doesn't provide .toHsvString() method yet.\n * This manual value-building will apply to \"hsv\" and \"hsva\" stuff below.\n */\n case \"HsvColorPicker\":\n hsv = colord(value).toHsv();\n convertedValue = \"hsv(\" + hsv.h + \", \" + hsv.s + \"%, \" + hsv.v + \"%)\";\n break;\n\n case \"HsvStringColorPicker\":\n hsv = colord(value).toHsv();\n convertedValue = \"hsv(\" + hsv.h + \", \" + hsv.s + \"%, \" + hsv.v + \"%)\";\n break;\n\n case \"HsvaColorPicker\":\n hsva = colord(value).toHsv();\n convertedValue =\n \"hsva(\" +\n hsva.h +\n \", \" +\n hsva.s +\n \"%, \" +\n hsva.v +\n \"%, \" +\n hsva.a +\n \")\";\n break;\n\n case \"HsvaStringColorPicker\":\n hsva = colord(value).toHsv();\n convertedValue =\n \"hsva(\" +\n hsva.h +\n \", \" +\n hsva.s +\n \"%, \" +\n hsva.v +\n \"%, \" +\n hsva.a +\n \")\";\n break;\n\n default:\n convertedValue = colord(value).toHex();\n break;\n }\n\n return convertedValue;\n};\n\nexport default convertColorForInput;\n","import { colord } from \"colord\";\n\n/**\n * Convert the value for the color picker.\n *\n * @param {string|Object} value The value to be converted.\n * @param {string} pickerComponent The picker component name.\n *\n * @returns {string|Object} The converted value.\n */\nconst convertColorForPicker = (value, pickerComponent) => {\n\tlet convertedValue;\n\n\tswitch (pickerComponent) {\n\t\tcase 'HexColorPicker':\n\t\t\tconvertedValue = colord(value).toHex();\n\t\t\tbreak;\n\n\t\tcase 'RgbColorPicker':\n\t\t\tconvertedValue = colord(value).toRgb();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'RgbStringColorPicker':\n\t\t\tconvertedValue = colord(value).toRgbString();\n\t\t\tbreak;\n\n\t\tcase 'RgbaColorPicker':\n\t\t\tconvertedValue = colord(value).toRgb();\n\t\t\tbreak;\n\n\t\tcase 'RgbaStringColorPicker':\n\t\t\tconvertedValue = colord(value).toRgbString();\n\n\t\t\t// Force to set the alpha channel value.\n\t\t\tif (convertedValue.includes('rgb') && !convertedValue.includes('rgba')) {\n\t\t\t\tconvertedValue = convertedValue.replace('rgb', 'rgba');\n\t\t\t\tconvertedValue = convertedValue.replace(')', ', 1)');\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase 'HslColorPicker':\n\t\t\tconvertedValue = colord(value).toHsl();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'HslStringColorPicker':\n\t\t\tconvertedValue = colord(value).toHslString();\n\t\t\tbreak;\n\n\t\tcase 'HslaColorPicker':\n\t\t\tconvertedValue = colord(value).toHsl();\n\t\t\tbreak;\n\n\t\tcase 'HslaStringColorPicker':\n\t\t\tconvertedValue = colord(value).toHslString();\n\n\t\t\t// Force to set the alpha channel value.\n\t\t\tif (convertedValue.includes('hsl') && !convertedValue.includes('hsla')) {\n\t\t\t\tconvertedValue = convertedValue.replace('hsl', 'hsla');\n\t\t\t\tconvertedValue = convertedValue.replace(')', ', 1)');\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase 'HsvColorPicker':\n\t\t\tconvertedValue = colord(value).toHsv();\n\t\t\tdelete convertedValue.a;\n\t\t\tbreak;\n\n\t\tcase 'HsvStringColorPicker':\n\t\t\tconst hsv = colord(value).toHsv();\n\t\t\tconvertedValue = 'hsv(' + hsv.h + ', ' + hsv.s + '%, ' + hsv.v + '%)';\n\n\t\t\tbreak;\n\n\t\tcase 'HsvaColorPicker':\n\t\t\tconvertedValue = colord(value).toHsv();\n\t\t\tbreak;\n\n\t\tcase 'HsvaStringColorPicker':\n\t\t\t// colord library doesn't provide .toHsvString() method yet.\n\t\t\tconst hsva = colord(value).toHsv();\n\t\t\tconvertedValue = 'hsva(' + hsva.h + ', ' + hsva.s + '%, ' + hsva.v + '%, ' + hsva.a + ')';\n\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tconvertedValue = colord(value).toHex();\n\t\t\tbreak;\n\t}\n\n\treturn convertedValue;\n};\n\nexport default convertColorForPicker;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n","var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n","var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys'),\n keysIn = require('./keysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nmodule.exports = baseClone;\n","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n","var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n","var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n","var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n","var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n","var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nmodule.exports = baseMap;\n","var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n","var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n","var baseGet = require('./_baseGet');\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var identity = require('./identity');\n\n/**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\nfunction castFunction(value) {\n return typeof value == 'function' ? value : identity;\n}\n\nmodule.exports = castFunction;\n","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n","var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n","var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n","var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nmodule.exports = getMatchData;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n","var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nmodule.exports = initCloneArray;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n","var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","var isObject = require('./isObject');\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = cloneDeep;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var baseForOwn = require('./_baseForOwn'),\n castFunction = require('./_castFunction');\n\n/**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\nfunction forOwn(object, iteratee) {\n return object && baseForOwn(object, castFunction(iteratee));\n}\n\nmodule.exports = forOwn;\n","var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n","var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n","var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n isArray = require('./isArray');\n\n/**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nmodule.exports = map;\n","var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n","var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n","// extracted by mini-css-extract-plugin\nexport {};","import e,{useRef as r,useMemo as t,useEffect as n,useState as o,useCallback as a,useLayoutEffect as l}from\"react\";function u(){return(u=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function c(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r.indexOf(t=a[n])>=0||(o[t]=e[t]);return o}function i(e){var t=r(e),n=r(function(e){t.current&&t.current(e)});return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e<r?r:e},f=function(e){return\"touches\"in e},v=function(e){return e&&e.ownerDocument.defaultView||self},d=function(e,r,t){var n=e.getBoundingClientRect(),o=f(r)?function(e,r){for(var t=0;t<e.length;t++)if(e[t].identifier===r)return e[t];return e[0]}(r.touches,t):r;return{left:s((o.pageX-(n.left+v(e).pageXOffset))/n.width),top:s((o.pageY-(n.top+v(e).pageYOffset))/n.height)}},h=function(e){!f(e)&&e.preventDefault()},m=e.memo(function(o){var a=o.onMove,l=o.onKey,s=c(o,[\"onMove\",\"onKey\"]),m=r(null),g=i(a),p=i(l),b=r(null),_=r(!1),x=t(function(){var e=function(e){h(e),(f(e)?e.touches.length>0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1)},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?\"touchmove\":\"mousemove\",e),a(n?\"touchend\":\"mouseup\",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]},[p,g]),C=x[0],E=x[1],H=x[2];return n(function(){return H},[H]),e.createElement(\"div\",u({},s,{onTouchStart:C,onMouseDown:C,className:\"react-colorful__interactive\",ref:m,onKeyDown:E,tabIndex:0,role:\"slider\"}))}),g=function(e){return e.filter(Boolean).join(\" \")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g([\"react-colorful__pointer\",r.className]);return e.createElement(\"div\",{className:l,style:{top:100*a+\"%\",left:100*n+\"%\"}},e.createElement(\"div\",{className:\"react-colorful__pointer-fill\",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},x=function(e){return\"#\"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},C=function(e,r){return void 0===r&&(r=\"deg\"),Number(e)*(_[r]||1)},E=function(e){var r=/hsla?\\(?\\s*(-?\\d*\\.?\\d+)(deg|rad|grad|turn)?[,\\s]+(-?\\d*\\.?\\d+)%?[,\\s]+(-?\\d*\\.?\\d+)%?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i.exec(e);return r?M({h:C(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},H=E,M=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},N=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},w=function(e){var r=N(e);return\"hsl(\"+r.h+\", \"+r.s+\"%, \"+r.l+\"%)\"},y=function(e){var r=N(e);return\"hsla(\"+r.h+\", \"+r.s+\"%, \"+r.l+\"%, \"+r.a+\")\"},q=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},k=function(e){var r=/hsva?\\(?\\s*(-?\\d*\\.?\\d+)(deg|rad|grad|turn)?[,\\s]+(-?\\d*\\.?\\d+)%?[,\\s]+(-?\\d*\\.?\\d+)%?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i.exec(e);return r?D({h:C(r[1],r[2]),s:Number(r[3]),v:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},O=k,I=function(e){var r=/rgba?\\(?\\s*(-?\\d*\\.?\\d+)(%)?[,\\s]+(-?\\d*\\.?\\d+)(%)?[,\\s]+(-?\\d*\\.?\\d+)(%)?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i.exec(e);return r?B({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=I,z=function(e){var r=e.toString(16);return r.length<2?\"0\"+r:r},B=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},D=function(e){return{h:b(e.h),s:b(e.s),v:b(e.v),a:b(e.a,2)}},K=e.memo(function(r){var t=r.hue,n=r.onChange,o=g([\"react-colorful__hue\",r.className]);return e.createElement(\"div\",{className:o},e.createElement(m,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:s(t+360*e.left,0,360)})},\"aria-label\":\"Hue\",\"aria-valuetext\":b(t)},e.createElement(p,{className:\"react-colorful__hue-pointer\",left:t/360,color:w({h:t,s:100,v:100,a:1})})))}),L=e.memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:w({h:t.h,s:100,v:100,a:1})};return e.createElement(\"div\",{className:\"react-colorful__saturation\",style:o},e.createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},\"aria-label\":\"Color\",\"aria-valuetext\":\"Saturation \"+b(t.s)+\"%, Brightness \"+b(t.v)+\"%\"},e.createElement(p,{className:\"react-colorful__saturation-pointer\",top:1-t.v/100,left:t.s/100,color:w(t)})))}),A=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},S=function(e,r){return e.replace(/\\s/g,\"\")===r.replace(/\\s/g,\"\")};function T(e,t,l){var u=i(l),c=o(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=r({color:t,hsva:s});n(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}},[t,e]),n(function(){var r;A(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))},[s,e,u]);var d=a(function(e){f(function(r){return Object.assign({},r,e)})},[]);return[s,d]}var F,P=\"undefined\"!=typeof window?l:n,X=function(){return F||(\"undefined\"!=typeof __webpack_nonce__?__webpack_nonce__:void 0)},Y=function(e){F=e},R=new Map,V=function(e){P(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!R.has(r)){var t=r.createElement(\"style\");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:\"\";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\\'data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill-opacity=\".05\"><path d=\"M8 0h8v8H8zM0 8h8v8H0z\"/></svg>\\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',R.set(r,t);var n=X();n&&t.setAttribute(\"nonce\",n),r.head.appendChild(t)}},[])},$=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,[\"className\",\"colorModel\",\"color\",\"onChange\"]),f=r(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g([\"react-colorful\",n]);return e.createElement(\"div\",u({},s,{ref:f,className:m}),e.createElement(L,{hsva:d,onChange:h}),e.createElement(K,{hue:d.h,onChange:h,className:\"react-colorful__last-control\"}))},G={defaultColor:\"000\",toHsva:function(e){return B(x(e))},fromHsva:function(e){return t=(r=q(e)).g,n=r.b,\"#\"+z(r.r)+z(t)+z(n);var r,t,n},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||A(x(e),x(r))}},J=function(r){return e.createElement($,u({},r,{colorModel:G}))},Q=function(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:\"linear-gradient(90deg, \"+y(Object.assign({},n,{a:0}))+\", \"+y(Object.assign({},n,{a:1}))+\")\"},l=g([\"react-colorful__alpha\",t]);return e.createElement(\"div\",{className:l},e.createElement(\"div\",{className:\"react-colorful__alpha-gradient\",style:a}),e.createElement(m,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:s(n.a+e.left)})},\"aria-label\":\"Alpha\",\"aria-valuetext\":b(100*n.a)+\"%\"},e.createElement(p,{className:\"react-colorful__alpha-pointer\",left:n.a,color:y(n)})))},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,[\"className\",\"colorModel\",\"color\",\"onChange\"]),f=r(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g([\"react-colorful\",n]);return e.createElement(\"div\",u({},s,{ref:f,className:m}),e.createElement(L,{hsva:d,onChange:h}),e.createElement(K,{hue:d.h,onChange:h}),e.createElement(Q,{hsva:d,onChange:h,className:\"react-colorful__last-control\"}))},W={defaultColor:{h:0,s:0,l:0,a:1},toHsva:M,fromHsva:N,equal:A},Z=function(r){return e.createElement(U,u({},r,{colorModel:W}))},ee={defaultColor:\"hsla(0, 0%, 0%, 1)\",toHsva:E,fromHsva:y,equal:S},re=function(r){return e.createElement(U,u({},r,{colorModel:ee}))},te={defaultColor:{h:0,s:0,l:0},toHsva:function(e){return M({h:e.h,s:e.s,l:e.l,a:1})},fromHsva:function(e){return{h:(r=N(e)).h,s:r.s,l:r.l};var r},equal:A},ne=function(r){return e.createElement($,u({},r,{colorModel:te}))},oe={defaultColor:\"hsl(0, 0%, 0%)\",toHsva:H,fromHsva:w,equal:S},ae=function(r){return e.createElement($,u({},r,{colorModel:oe}))},le={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(e){return e},fromHsva:D,equal:A},ue=function(r){return e.createElement(U,u({},r,{colorModel:le}))},ce={defaultColor:\"hsva(0, 0%, 0%, 1)\",toHsva:k,fromHsva:function(e){var r=D(e);return\"hsva(\"+r.h+\", \"+r.s+\"%, \"+r.v+\"%, \"+r.a+\")\"},equal:S},ie=function(r){return e.createElement(U,u({},r,{colorModel:ce}))},se={defaultColor:{h:0,s:0,v:0},toHsva:function(e){return{h:e.h,s:e.s,v:e.v,a:1}},fromHsva:function(e){var r=D(e);return{h:r.h,s:r.s,v:r.v}},equal:A},fe=function(r){return e.createElement($,u({},r,{colorModel:se}))},ve={defaultColor:\"hsv(0, 0%, 0%)\",toHsva:O,fromHsva:function(e){var r=D(e);return\"hsv(\"+r.h+\", \"+r.s+\"%, \"+r.v+\"%)\"},equal:S},de=function(r){return e.createElement($,u({},r,{colorModel:ve}))},he={defaultColor:{r:0,g:0,b:0,a:1},toHsva:B,fromHsva:q,equal:A},me=function(r){return e.createElement(U,u({},r,{colorModel:he}))},ge={defaultColor:\"rgba(0, 0, 0, 1)\",toHsva:I,fromHsva:function(e){var r=q(e);return\"rgba(\"+r.r+\", \"+r.g+\", \"+r.b+\", \"+r.a+\")\"},equal:S},pe=function(r){return e.createElement(U,u({},r,{colorModel:ge}))},be={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return B({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){return{r:(r=q(e)).r,g:r.g,b:r.b};var r},equal:A},_e=function(r){return e.createElement($,u({},r,{colorModel:be}))},xe={defaultColor:\"rgb(0, 0, 0)\",toHsva:j,fromHsva:function(e){var r=q(e);return\"rgb(\"+r.r+\", \"+r.g+\", \"+r.b+\")\"},equal:S},Ce=function(r){return e.createElement($,u({},r,{colorModel:xe}))},Ee=/^#?([0-9A-F]{3,8})$/i,He=function(r){var t=r.color,l=void 0===t?\"\":t,s=r.onChange,f=r.onBlur,v=r.escape,d=r.validate,h=r.format,m=r.process,g=c(r,[\"color\",\"onChange\",\"onBlur\",\"escape\",\"validate\",\"format\",\"process\"]),p=o(function(){return v(l)}),b=p[0],_=p[1],x=i(s),C=i(f),E=a(function(e){var r=v(e.target.value);_(r),d(r)&&x(m?m(r):r)},[v,m,d,x]),H=a(function(e){d(e.target.value)||_(v(l)),C(e)},[l,v,d,C]);return n(function(){_(v(l))},[l,v]),e.createElement(\"input\",u({},g,{value:h?h(b):b,spellCheck:\"false\",onChange:E,onBlur:H}))},Me=function(e){return\"#\"+e},Ne=function(r){var t=r.prefixed,n=r.alpha,o=c(r,[\"prefixed\",\"alpha\"]),l=a(function(e){return e.replace(/([^0-9A-F]+)/gi,\"\").substr(0,n?8:6)},[n]),i=a(function(e){return function(e,r){var t=Ee.exec(e),n=t?t[1].length:0;return 3===n||6===n||!!r&&4===n||!!r&&8===n}(e,n)},[n]);return e.createElement(He,u({},o,{escape:l,format:t?Me:void 0,process:Me,validate:i}))};export{Ne as HexColorInput,J as HexColorPicker,ne as HslColorPicker,ae as HslStringColorPicker,Z as HslaColorPicker,re as HslaStringColorPicker,fe as HsvColorPicker,de as HsvStringColorPicker,ue as HsvaColorPicker,ie as HsvaStringColorPicker,_e as RgbColorPicker,Ce as RgbStringColorPicker,me as RgbaColorPicker,pe as RgbaStringColorPicker,Y as setNonce};\n//# sourceMappingURL=index.module.js.map\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.autoprefix = undefined;\n\nvar _forOwn2 = require('lodash/forOwn');\n\nvar _forOwn3 = _interopRequireDefault(_forOwn2);\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar transforms = {\n borderRadius: function borderRadius(value) {\n return {\n msBorderRadius: value,\n MozBorderRadius: value,\n OBorderRadius: value,\n WebkitBorderRadius: value,\n borderRadius: value\n };\n },\n boxShadow: function boxShadow(value) {\n return {\n msBoxShadow: value,\n MozBoxShadow: value,\n OBoxShadow: value,\n WebkitBoxShadow: value,\n boxShadow: value\n };\n },\n userSelect: function userSelect(value) {\n return {\n WebkitTouchCallout: value,\n KhtmlUserSelect: value,\n MozUserSelect: value,\n msUserSelect: value,\n WebkitUserSelect: value,\n userSelect: value\n };\n },\n\n flex: function flex(value) {\n return {\n WebkitBoxFlex: value,\n MozBoxFlex: value,\n WebkitFlex: value,\n msFlex: value,\n flex: value\n };\n },\n flexBasis: function flexBasis(value) {\n return {\n WebkitFlexBasis: value,\n flexBasis: value\n };\n },\n justifyContent: function justifyContent(value) {\n return {\n WebkitJustifyContent: value,\n justifyContent: value\n };\n },\n\n transition: function transition(value) {\n return {\n msTransition: value,\n MozTransition: value,\n OTransition: value,\n WebkitTransition: value,\n transition: value\n };\n },\n\n transform: function transform(value) {\n return {\n msTransform: value,\n MozTransform: value,\n OTransform: value,\n WebkitTransform: value,\n transform: value\n };\n },\n absolute: function absolute(value) {\n var direction = value && value.split(' ');\n return {\n position: 'absolute',\n top: direction && direction[0],\n right: direction && direction[1],\n bottom: direction && direction[2],\n left: direction && direction[3]\n };\n },\n extend: function extend(name, otherElementStyles) {\n var otherStyle = otherElementStyles[name];\n if (otherStyle) {\n return otherStyle;\n }\n return {\n 'extend': name\n };\n }\n};\n\nvar autoprefix = exports.autoprefix = function autoprefix(elements) {\n var prefixed = {};\n (0, _forOwn3.default)(elements, function (styles, element) {\n var expanded = {};\n (0, _forOwn3.default)(styles, function (value, key) {\n var transform = transforms[key];\n if (transform) {\n expanded = _extends({}, expanded, transform(value));\n } else {\n expanded[key] = value;\n }\n });\n prefixed[element] = expanded;\n });\n return prefixed;\n};\n\nexports.default = autoprefix;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.active = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar active = exports.active = function active(Component) {\n var Span = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'span';\n\n return function (_React$Component) {\n _inherits(Active, _React$Component);\n\n function Active() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Active);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Active.__proto__ || Object.getPrototypeOf(Active)).call.apply(_ref, [this].concat(args))), _this), _this.state = { active: false }, _this.handleMouseDown = function () {\n return _this.setState({ active: true });\n }, _this.handleMouseUp = function () {\n return _this.setState({ active: false });\n }, _this.render = function () {\n return _react2.default.createElement(\n Span,\n { onMouseDown: _this.handleMouseDown, onMouseUp: _this.handleMouseUp },\n _react2.default.createElement(Component, _extends({}, _this.props, _this.state))\n );\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n return Active;\n }(_react2.default.Component);\n};\n\nexports.default = active;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.hover = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar hover = exports.hover = function hover(Component) {\n var Span = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'span';\n\n return function (_React$Component) {\n _inherits(Hover, _React$Component);\n\n function Hover() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Hover);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Hover.__proto__ || Object.getPrototypeOf(Hover)).call.apply(_ref, [this].concat(args))), _this), _this.state = { hover: false }, _this.handleMouseOver = function () {\n return _this.setState({ hover: true });\n }, _this.handleMouseOut = function () {\n return _this.setState({ hover: false });\n }, _this.render = function () {\n return _react2.default.createElement(\n Span,\n { onMouseOver: _this.handleMouseOver, onMouseOut: _this.handleMouseOut },\n _react2.default.createElement(Component, _extends({}, _this.props, _this.state))\n );\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n return Hover;\n }(_react2.default.Component);\n};\n\nexports.default = hover;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.flattenNames = undefined;\n\nvar _isString2 = require('lodash/isString');\n\nvar _isString3 = _interopRequireDefault(_isString2);\n\nvar _forOwn2 = require('lodash/forOwn');\n\nvar _forOwn3 = _interopRequireDefault(_forOwn2);\n\nvar _isPlainObject2 = require('lodash/isPlainObject');\n\nvar _isPlainObject3 = _interopRequireDefault(_isPlainObject2);\n\nvar _map2 = require('lodash/map');\n\nvar _map3 = _interopRequireDefault(_map2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar flattenNames = exports.flattenNames = function flattenNames() {\n var things = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n var names = [];\n\n (0, _map3.default)(things, function (thing) {\n if (Array.isArray(thing)) {\n flattenNames(thing).map(function (name) {\n return names.push(name);\n });\n } else if ((0, _isPlainObject3.default)(thing)) {\n (0, _forOwn3.default)(thing, function (value, key) {\n value === true && names.push(key);\n names.push(key + '-' + value);\n });\n } else if ((0, _isString3.default)(thing)) {\n names.push(thing);\n }\n });\n\n return names;\n};\n\nexports.default = flattenNames;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ReactCSS = exports.loop = exports.handleActive = exports.handleHover = exports.hover = undefined;\n\nvar _flattenNames = require('./flattenNames');\n\nvar _flattenNames2 = _interopRequireDefault(_flattenNames);\n\nvar _mergeClasses = require('./mergeClasses');\n\nvar _mergeClasses2 = _interopRequireDefault(_mergeClasses);\n\nvar _autoprefix = require('./autoprefix');\n\nvar _autoprefix2 = _interopRequireDefault(_autoprefix);\n\nvar _hover2 = require('./components/hover');\n\nvar _hover3 = _interopRequireDefault(_hover2);\n\nvar _active = require('./components/active');\n\nvar _active2 = _interopRequireDefault(_active);\n\nvar _loop2 = require('./loop');\n\nvar _loop3 = _interopRequireDefault(_loop2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.hover = _hover3.default;\nexports.handleHover = _hover3.default;\nexports.handleActive = _active2.default;\nexports.loop = _loop3.default;\nvar ReactCSS = exports.ReactCSS = function ReactCSS(classes) {\n for (var _len = arguments.length, activations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n activations[_key - 1] = arguments[_key];\n }\n\n var activeNames = (0, _flattenNames2.default)(activations);\n var merged = (0, _mergeClasses2.default)(classes, activeNames);\n return (0, _autoprefix2.default)(merged);\n};\n\nexports.default = ReactCSS;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar loopable = function loopable(i, length) {\n var props = {};\n var setProp = function setProp(name) {\n var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n props[name] = value;\n };\n\n i === 0 && setProp('first-child');\n i === length - 1 && setProp('last-child');\n (i === 0 || i % 2 === 0) && setProp('even');\n Math.abs(i % 2) === 1 && setProp('odd');\n setProp('nth-child', i);\n\n return props;\n};\n\nexports.default = loopable;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.mergeClasses = undefined;\n\nvar _forOwn2 = require('lodash/forOwn');\n\nvar _forOwn3 = _interopRequireDefault(_forOwn2);\n\nvar _cloneDeep2 = require('lodash/cloneDeep');\n\nvar _cloneDeep3 = _interopRequireDefault(_cloneDeep2);\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar mergeClasses = exports.mergeClasses = function mergeClasses(classes) {\n var activeNames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n var styles = classes.default && (0, _cloneDeep3.default)(classes.default) || {};\n activeNames.map(function (name) {\n var toMerge = classes[name];\n if (toMerge) {\n (0, _forOwn3.default)(toMerge, function (value, key) {\n if (!styles[key]) {\n styles[key] = {};\n }\n\n styles[key] = _extends({}, styles[key], toMerge[key]);\n });\n }\n\n return name;\n });\n return styles;\n};\n\nexports.default = mergeClasses;","module.exports = React;","module.exports = ReactDOM;","var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return\"string\"==typeof r?r.length>0:\"number\"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return(r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return{r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return{r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?\"0\"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return{h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return{r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return{h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return{h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e},c=function(r){return{h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u},l=/^hsla?\\(\\s*([+-]?\\d*\\.?\\d+)(deg|rad|grad|turn)?\\s*,\\s*([+-]?\\d*\\.?\\d+)%\\s*,\\s*([+-]?\\d*\\.?\\d+)%\\s*(?:,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,p=/^hsla?\\(\\s*([+-]?\\d*\\.?\\d+)(deg|rad|grad|turn)?\\s+([+-]?\\d*\\.?\\d+)%\\s+([+-]?\\d*\\.?\\d+)%\\s*(?:\\/\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,v=/^rgba?\\(\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*(?:,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,m=/^rgba?\\(\\s*([+-]?\\d*\\.?\\d+)(%)?\\s+([+-]?\\d*\\.?\\d+)(%)?\\s+([+-]?\\d*\\.?\\d+)(%)?\\s*(?:\\/\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},\"hex\"],[function(r){var t=v.exec(r)||m.exec(r);return t?t[2]!==t[4]||t[4]!==t[6]?null:a({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},\"rgb\"],[function(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u=\"deg\"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},\"hsl\"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},\"rgb\"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},\"hsl\"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return{h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},\"hsv\"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return[e,t[n][1]]}return[null,void 0]},x=function(r){return\"string\"==typeof r?N(r.trim(),y.string):\"object\"==typeof r&&null!==r?N(r,y.object):[null,void 0]},I=function(r){return x(r)[1]},M=function(r,t){var n=c(r);return{h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return(299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return{h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):\"\",\"#\"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?\"rgba(\"+t+\", \"+n+\", \"+e+\", \"+u+\")\":\"rgb(\"+t+\", \"+n+\", \"+e+\")\";var r,t,n,e,u},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?\"hsla(\"+t+\", \"+n+\"%, \"+e+\"%, \"+u+\")\":\"hsl(\"+t+\", \"+n+\"%, \"+e+\"%)\";var r,t,n,e,u},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return\"number\"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t},r.prototype.hue=function(r){var t=c(this.rgba);return\"number\"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r))})},E=function(){return new j({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})};export{j as Colord,w as colord,k as extend,I as getFormat,E as random};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","/* global wp */\n\nimport \"./control.scss\";\nimport KirkiReactColorfulControl from './KirkiReactColorfulControl';\n\n// Register control type with Customizer.\nwp.customize.controlConstructor['kirki-react-colorful'] = KirkiReactColorfulControl;\n"],"names":["ReactDOM","KirkiReactColorfulForm","KirkiReactColorfulControl","wp","customize","Control","extend","initialize","id","params","control","setNotificationContainer","bind","prototype","call","onRemoved","removedControl","destroy","container","remove","unbind","element","notifications","jQuery","render","renderContent","useHueMode","mode","choices","pickerComponent","formComponent","alpha","form","setting","value","ready","val","updateComponentState","unmountComponentAtNode","useState","useRef","HexColorPicker","RgbColorPicker","RgbaColorPicker","RgbStringColorPicker","RgbaStringColorPicker","HslColorPicker","HslaColorPicker","HslStringColorPicker","HslaStringColorPicker","HsvColorPicker","HsvaColorPicker","HsvStringColorPicker","HsvaStringColorPicker","KirkiReactColorfulInput","KirkiReactColorfulSwatches","convertColorForPicker","convertColorForCustomizer","convertColorForInput","useClickOutside","useFocusOutside","useWindowResize","KirkiReactColorfulCircle","colord","props","customizerSetting","parseEmptyValue","parseHueModeValue","hueValue","parseInputValue","replace","parseCustomizerValue","parsePickerValue","h","s","l","inputValue","setInputValue","pickerValue","setPickerValue","currentInputValue","currentPickerValue","valueForInput","changeInputValue","JSON","stringify","valueForPicker","changePickerValue","saveToCustomizer","set","initialColor","default","handlePickerChange","color","onChange","handleInputChange","handleReset","handleSwatchesClick","swatchColor","handleWindowResize","setPickerContainerStyle","getPickerContainerStyle","controlLabel","__html","label","controlDescription","description","formRef","pickerRef","resetRef","isPickerOpen","setIsPickerOpen","usePositionFixed","labelStyle","pickerContainerStyle","padding","window","getComputedStyle","parentNode","paddingLeft","parseInt","width","getBoundingClientRect","controlLeftOffset","offsetLeft","left","convertInputValueTo6Digits","length","includes","toHex","togglePicker","closePicker","openPicker","setTimeout","KirkiPickerComponent","wpColorPicker","wpColorPickerSwatches","options","palettes","Array","isArray","i","push","swatches","controlHeader","formClassName","pickerContainerClassName","pickerTrigger","display","pickerHeader","useEffect","reactCSS","setValue","pickersWithAlpha","styles","triggerButton","backgroundImage","colorPreview","backgroundColor","togglePickerHandler","useCallback","handleChange","e","target","toLowerCase","pattern","RegExp","test","colorPreviewWrapper","colors","onClick","map","clr","index","toString","handler","startedWhenMounted","startedInside","listener","event","current","contains","validateEventStart","document","addEventListener","removeEventListener","ref","rgba","hsv","hsva","convertedValue","toRgb","a","toRgbString","toHsl","toHslString","toHsv","v","controlConstructor"],"sourceRoot":""}
|
1 |
+
{"mappings":"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qBAAsB,aAUtB6D,QAAS,WAIR34B,EAAAA,GAASq5B,uBAHO/lB,KAGwB7Q,UAAU,IAG9C20B,GAAGgB,UAAUC,QAAQ/4B,UAAUq5B,SAClCvB,GAAGgB,UAAUC,QAAQ/4B,UAAUq5B,QAAQn5B,KAPxB8T,SCnIlB8jB,GAAGgB,UAAUkB,mBAAmB,wBAA0BC","sources":["node_modules/lodash/isBuffer.js","node_modules/lodash/_root.js","node_modules/lodash/_freeGlobal.js","node_modules/lodash/stubFalse.js","node_modules/lodash/_nodeUtil.js","node_modules/lodash/_cloneBuffer.js","node_modules/@swc/helpers/src/_array_like_to_array.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/_unsupported_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/_getNative.js","node_modules/lodash/_Map.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","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","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\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","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\n","import arrayWithHoles from './_array_with_holes';\nimport iterableToArrayLimit from './_iterable_to_array';\nimport nonIterableRest from './_non_iterable_rest';\nimport unsupportedIterableToArray from './_unsupported_iterable_to_array';\n\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\n","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n","import _arrayLikeToArray from './_array_like_to_array';\n\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(n);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))\n return _arrayLikeToArray(o, minLen);\n}\n","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n","export default function _typeof(obj) {\n \"@swc/helpers - typeof\";\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 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 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 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\tconst { onChange, color = \"\" } = props;\n\tconst [value, setValue] = useState(() => color);\n\n\tconst handleChange = useCallback(\n\t\t(e) => {\n\t\t\tlet val = e.target.value;\n\n\t\t\tif (2 === val.length) {\n\t\t\t\tif (!val.includes(\"#\") && !val.includes(\"rg\") && !val.includes(\"hs\")) {\n\t\t\t\t\tval = \"#\" + val;\n\t\t\t\t}\n\t\t\t} else if (3 === val.length || 6 === val.length) {\n\t\t\t\tif (!val.includes(\"#\") && !val.includes(\"rg\") && !val.includes(\"hs\")) {\n\t\t\t\t\tval = \"#\" + val;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tval = val.toLowerCase();\n\n\t\t\t// Thank you: https://regexr.com/39cgj\n\t\t\tconst pattern = new RegExp(\n\t\t\t\t/(?:#|0x)(?:[a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})\\b|(?:rgb|hsl)a?\\([^\\)]*\\)/\n\t\t\t);\n\n\t\t\tif (\"\" === val || pattern.test(val)) {\n\t\t\t\tonChange(val); // Run onChange handler passed by `KirkiReactColorfulForm` component.\n\t\t\t}\n\n\t\t\tsetValue(val);\n\t\t},\n\t\t[onChange]\n\t);\n\n\t// Update the local state when `color` property value is changed.\n\tuseEffect(() => {\n\t\t// We don't need to convert the color since it's already handled in parent component.\n\t\tsetValue(color);\n\t}, [color]);\n\n\tconst pickersWithAlpha = [\n\t\t\"RgbaColorPicker\",\n\t\t\"RgbaStringColorPicker\",\n\t\t\"HslaColorPicker\",\n\t\t\"HslaStringColorPicker\",\n\t\t\"HsvaColorPicker\",\n\t\t\"HsvaStringColorPicker\",\n\t];\n\n\tconst styles = reactCSS({\n\t\tdefault: {\n\t\t\tcolorPreviewWrapper: {\n\t\t\t\tbackgroundImage: pickersWithAlpha.includes(props.pickerComponent)\n\t\t\t\t\t? 'url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==\")'\n\t\t\t\t\t: \"none\",\n\t\t\t},\n\t\t\tcolorPreview: {\n\t\t\t\tbackgroundColor: value,\n\t\t\t},\n\t\t},\n\t});\n\n\treturn (\n\t\t<div className=\"kirki-color-input-wrapper\">\n\t\t\t<div className=\"kirki-color-input-control\">\n\t\t\t\t{!props.useHueMode && (\n\t\t\t\t\t<div\n\t\t\t\t\t\tclassName=\"kirki-color-preview-wrapper\"\n\t\t\t\t\t\tstyle={styles.colorPreviewWrapper}\n\t\t\t\t\t>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tclassName=\"kirki-color-preview\"\n\t\t\t\t\t\t\tstyle={styles.colorPreview}\n\t\t\t\t\t\t></button>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t\t<input\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tvalue={value}\n\t\t\t\t\tclassName=\"kirki-color-input\"\n\t\t\t\t\tspellCheck=\"false\"\n\t\t\t\t\tonChange={handleChange}\n\t\t\t\t/>\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\nexport default KirkiReactColorfulInput;\n","const KirkiReactColorfulSwatches = ({ colors, onClick }) => {\n\treturn (\n\t\t<div className=\"kirki-color-swatches\">\n\t\t\t{colors.map((clr, index) => {\n\t\t\t\tconst color = clr && clr.color ? clr.color : clr;\n\n\t\t\t\treturn (\n\t\t\t\t\t<button\n\t\t\t\t\t\tkey={index.toString()}\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tclassName=\"kirki-color-swatch\"\n\t\t\t\t\t\tdata-kirki-color={color}\n\t\t\t\t\t\tstyle={{ backgroundColor: color }}\n\t\t\t\t\t\tonClick={() => onClick(color)}\n\t\t\t\t\t></button>\n\t\t\t\t);\n\t\t\t})}\n\t\t</div>\n\t);\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 =\n\t\t\t\t\"hsva(\" +\n\t\t\t\thsva.h +\n\t\t\t\t\", \" +\n\t\t\t\thsva.s +\n\t\t\t\t\"%, \" +\n\t\t\t\thsva.v +\n\t\t\t\t\"%, \" +\n\t\t\t\thsva.a +\n\t\t\t\t\")\";\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 =\n\t\t\t\t\"string\" === typeof value && value.includes(\"#\")\n\t\t\t\t\t? value\n\t\t\t\t\t: 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\t\t\t\t\"string\" === typeof value && value.includes(\"rgb(\")\n\t\t\t\t\t? value\n\t\t\t\t\t: 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\t\t\t\t\t\"string\" === typeof value && value.includes(\"rgba\")\n\t\t\t\t\t\t? value\n\t\t\t\t\t\t: 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\t\t\t\t\t\t\"string\" === typeof value && value.includes(\"#\")\n\t\t\t\t\t\t\t? value\n\t\t\t\t\t\t\t: 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 (\n\t\t\t\t\t\tconvertedValue.includes(\"rgb\") &&\n\t\t\t\t\t\t!convertedValue.includes(\"rgba\")\n\t\t\t\t\t) {\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\t\t\t\t\"string\" === typeof value && value.includes(\"hsl(\")\n\t\t\t\t\t? value\n\t\t\t\t\t: 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 =\n\t\t\t\t\"hsva(\" +\n\t\t\t\thsva.h +\n\t\t\t\t\", \" +\n\t\t\t\thsva.s +\n\t\t\t\t\"%, \" +\n\t\t\t\thsva.v +\n\t\t\t\t\"%, \" +\n\t\t\t\thsva.a +\n\t\t\t\t\")\";\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tconvertedValue =\n\t\t\t\t\"string\" === typeof value && value.includes(\"#\")\n\t\t\t\t\t? value\n\t\t\t\t\t: 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\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 =\n\t\t\t\t\"string\" === typeof value && value.includes(\"#\")\n\t\t\t\t\t? value\n\t\t\t\t\t: colord(value).toHex();\n\t\t\tbreak;\n\n\t\tcase \"RgbColorPicker\":\n\t\t\tconvertedValue =\n\t\t\t\t\"string\" === typeof value && value.includes(\"rgb(\")\n\t\t\t\t\t? value\n\t\t\t\t\t: colord(value).toRgbString();\n\t\t\tbreak;\n\n\t\tcase \"RgbStringColorPicker\":\n\t\t\tconvertedValue =\n\t\t\t\t\"string\" === typeof value && value.includes(\"rgba\")\n\t\t\t\t\t? value\n\t\t\t\t\t: colord(value).toRgbString();\n\t\t\tbreak;\n\n\t\tcase \"RgbaColorPicker\":\n\t\t\trgba = colord(value).toRgb();\n\n\t\t\tif (rgba.a < 1) {\n\t\t\t\tconvertedValue =\n\t\t\t\t\t\"string\" === typeof value && value.includes(\"rgba\")\n\t\t\t\t\t\t? value\n\t\t\t\t\t\t: colord(value).toRgbString();\n\t\t\t} else {\n\t\t\t\tconvertedValue = colord(value).toRgbString();\n\n\t\t\t\t// Force to set the alpha value.\n\t\t\t\tif (\n\t\t\t\t\tconvertedValue.includes(\"rgb\") &&\n\t\t\t\t\t!convertedValue.includes(\"rgba\")\n\t\t\t\t) {\n\t\t\t\t\tconvertedValue = convertedValue.replace(\"rgb\", \"rgba\");\n\t\t\t\t\tconvertedValue = convertedValue.replace(\")\", \", 1)\");\n\t\t\t\t}\n\t\t\t}\n\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\t// When it uses the 2nd condition above, then the expected value is \"hex\".\n\t\t\tif (rgba.a == 1 && !formComponent) {\n\t\t\t\tconvertedValue =\n\t\t\t\t\t\"string\" === typeof value && value.includes(\"#\")\n\t\t\t\t\t\t? value\n\t\t\t\t\t\t: colord(value).toHex();\n\t\t\t} else {\n\t\t\t\tconvertedValue = colord(value).toRgbString();\n\n\t\t\t\t// Force to set the alpha value.\n\t\t\t\tif (\n\t\t\t\t\tconvertedValue.includes(\"rgb\") &&\n\t\t\t\t\t!convertedValue.includes(\"rgba\")\n\t\t\t\t) {\n\t\t\t\t\tconvertedValue = convertedValue.replace(\"rgb\", \"rgba\");\n\t\t\t\t\tconvertedValue = convertedValue.replace(\")\", \", 1)\");\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase \"HslColorPicker\":\n\t\t\tconvertedValue =\n\t\t\t\t\"string\" === typeof value && value.includes(\"hsl(\")\n\t\t\t\t\t? value\n\t\t\t\t\t: colord(value).toHslString();\n\t\t\tbreak;\n\n\t\tcase \"HslStringColorPicker\":\n\t\t\tconvertedValue =\n\t\t\t\t\"string\" === typeof value && value.includes(\"hsl(\")\n\t\t\t\t\t? value\n\t\t\t\t\t: colord(value).toHslString();\n\t\t\tbreak;\n\n\t\tcase \"HslaColorPicker\":\n\t\t\tconvertedValue = colord(value).toHslString();\n\n\t\t\t// Force to set the alpha 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 \"HslaStringColorPicker\":\n\t\t\tconvertedValue = colord(value).toHslString();\n\n\t\t\t// Force to set the alpha 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\t/**\n\t\t * The colord library doesn't provide .toHsvString() method yet.\n\t\t * This manual value-building will apply to \"hsv\" and \"hsva\" stuff below.\n\t\t */\n\t\tcase \"HsvColorPicker\":\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 \"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\thsva = colord(value).toHsv();\n\t\t\tconvertedValue =\n\t\t\t\t\"hsva(\" +\n\t\t\t\thsva.h +\n\t\t\t\t\", \" +\n\t\t\t\thsva.s +\n\t\t\t\t\"%, \" +\n\t\t\t\thsva.v +\n\t\t\t\t\"%, \" +\n\t\t\t\thsva.a +\n\t\t\t\t\")\";\n\t\t\tbreak;\n\n\t\tcase \"HsvaStringColorPicker\":\n\t\t\thsva = colord(value).toHsv();\n\t\t\tconvertedValue =\n\t\t\t\t\"hsva(\" +\n\t\t\t\thsva.h +\n\t\t\t\t\", \" +\n\t\t\t\thsva.s +\n\t\t\t\t\"%, \" +\n\t\t\t\thsva.v +\n\t\t\t\t\"%, \" +\n\t\t\t\thsva.a +\n\t\t\t\t\")\";\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 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\tuseEffect(() => {\n\t\tlet startedWhenMounted = false;\n\t\tlet startedInside = false;\n\n\t\tconst listener = (event) => {\n\t\t\t// Do nothing if `mousedown` or `touchstart` started either inside resetRef or pickerRef element\n\t\t\tif (!startedWhenMounted || startedInside) return;\n\n\t\t\t// Do nothing if clicking resetRef's element or descendent elements\n\t\t\tif (!resetRef.current || resetRef.current.contains(event.target)) return;\n\n\t\t\t// Do nothing if clicking pickerRef's element or descendent elements\n\t\t\tif (!pickerRef.current || pickerRef.current.contains(event.target))\n\t\t\t\treturn;\n\n\t\t\thandler();\n\t\t};\n\n\t\tconst validateEventStart = (event) => {\n\t\t\tstartedWhenMounted = resetRef.current && pickerRef.current;\n\t\t\tstartedInside =\n\t\t\t\t(resetRef.current && resetRef.current.contains(event.target)) ||\n\t\t\t\t(pickerRef.current && pickerRef.current.contains(event.target));\n\t\t};\n\n\t\tdocument.addEventListener(\"mousedown\", validateEventStart);\n\t\tdocument.addEventListener(\"touchstart\", validateEventStart);\n\t\tdocument.addEventListener(\"click\", listener);\n\n\t\treturn () => {\n\t\t\tdocument.removeEventListener(\"mousedown\", validateEventStart);\n\t\t\tdocument.removeEventListener(\"touchstart\", validateEventStart);\n\t\t\tdocument.removeEventListener(\"click\", listener);\n\t\t};\n\t}, [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\tuseEffect(() => {\n\t\tconst listener = (e) => {\n\t\t\thandler();\n\t\t};\n\n\t\twindow.addEventListener(\"resize\", listener, true);\n\n\t\treturn () => {\n\t\t\twindow.removeEventListener(\"resize\", listener, true);\n\t\t};\n\t}, [handler]);\n};\n\nexport default useWindowResize;\n","import { useState, useEffect } from \"react\";\nimport reactCSS from \"reactcss\";\n\nconst KirkiReactColorfulCircle = (props) => {\n\tconst { color = \"\" } = props;\n\tconst [value, setValue] = useState(() => color);\n\n\t// Update the local state when `color` property value is changed.\n\tuseEffect(() => {\n\t\t// We don't need to convert the color since it's using the customizer value.\n\t\tsetValue(color);\n\t}, [color]);\n\n\tconst pickersWithAlpha = [\n\t\t\"RgbaColorPicker\",\n\t\t\"RgbaStringColorPicker\",\n\t\t\"HslaColorPicker\",\n\t\t\"HslaStringColorPicker\",\n\t\t\"HsvaColorPicker\",\n\t\t\"HsvaStringColorPicker\",\n\t];\n\n\tconst styles = reactCSS({\n\t\tdefault: {\n\t\t\ttriggerButton: {\n\t\t\t\tbackgroundImage:\n\t\t\t\t\t'url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==\")',\n\t\t\t},\n\t\t\tcolorPreview: {\n\t\t\t\tbackgroundColor: value ? value : \"transparent\",\n\t\t\t},\n\t\t},\n\t});\n\n\treturn (\n\t\t<div className=\"kirki-trigger-circle-wrapper\">\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\tclassName=\"kirki-trigger-circle\"\n\t\t\t\tonClick={props.togglePickerHandler}\n\t\t\t\tstyle={styles.triggerButton}\n\t\t\t>\n\t\t\t\t<div className=\"kirki-color-preview\" style={styles.colorPreview}></div>\n\t\t\t</button>\n\t\t</div>\n\t);\n};\n\nexport default KirkiReactColorfulCircle;\n","import { useState, useRef } from \"react\";\nimport {\n\tHexColorPicker,\n\tRgbColorPicker,\n\tRgbaColorPicker,\n\tRgbStringColorPicker,\n\tRgbaStringColorPicker,\n\tHslColorPicker,\n\tHslaColorPicker,\n\tHslStringColorPicker,\n\tHslaStringColorPicker,\n\tHsvColorPicker,\n\tHsvaColorPicker,\n\tHsvStringColorPicker,\n\tHsvaStringColorPicker,\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\tconst { control, customizerSetting, useHueMode, pickerComponent, choices } =\n\t\tprops;\n\n\tconst parseEmptyValue = () => (useHueMode ? 0 : \"#000000\");\n\n\tconst parseHueModeValue = (hueValue) => {\n\t\thueValue = hueValue || parseEmptyValue();\n\t\thueValue = hueValue < 0 ? 0 : hueValue;\n\n\t\treturn hueValue > 360 ? 360 : hueValue;\n\t};\n\n\tconst parseInputValue = (value) => {\n\t\tif (\"\" === value) return \"\";\n\n\t\treturn useHueMode\n\t\t\t? parseHueModeValue(value)\n\t\t\t: convertColorForInput(\n\t\t\t\t\tvalue,\n\t\t\t\t\tpickerComponent,\n\t\t\t\t\tchoices.formComponent\n\t\t\t ).replace(\";\", \"\");\n\t};\n\n\tconst parseCustomizerValue = (value) => {\n\t\tif (\"\" === value) return \"\";\n\n\t\treturn convertColorForCustomizer(\n\t\t\tvalue,\n\t\t\tpickerComponent,\n\t\t\tchoices.formComponent\n\t\t);\n\t};\n\n\tconst parsePickerValue = (value) => {\n\t\tvalue = value || parseEmptyValue();\n\n\t\t// Hard coded saturation and lightness when using hue mode.\n\t\treturn useHueMode\n\t\t\t? { h: value, s: 100, l: 50 }\n\t\t\t: convertColorForPicker(value, pickerComponent);\n\t};\n\n\tconst [inputValue, setInputValue] = useState(() => {\n\t\treturn parseInputValue(props.value);\n\t});\n\n\tconst [pickerValue, setPickerValue] = useState(() => {\n\t\treturn parsePickerValue(props.value);\n\t});\n\n\tlet currentInputValue = inputValue;\n\tlet currentPickerValue = pickerValue;\n\n\t// This function will be called when this control's customizer value is changed.\n\tcontrol.updateComponentState = (value) => {\n\t\tconst valueForInput = parseInputValue(value);\n\t\tlet changeInputValue = false;\n\n\t\tif (typeof valueForInput === \"string\" || useHueMode) {\n\t\t\tchangeInputValue = valueForInput !== inputValue;\n\t\t} else {\n\t\t\tchangeInputValue =\n\t\t\t\tJSON.stringify(valueForInput) !== JSON.stringify(currentInputValue);\n\t\t}\n\n\t\tif (changeInputValue) setInputValue(valueForInput);\n\n\t\tconst valueForPicker = parsePickerValue(value);\n\t\tlet changePickerValue = false;\n\n\t\tif (typeof valueForPicker === \"string\" || useHueMode) {\n\t\t\tchangePickerValue = valueForPicker !== pickerValue;\n\t\t} else {\n\t\t\tchangePickerValue =\n\t\t\t\tJSON.stringify(valueForPicker) !== JSON.stringify(currentPickerValue);\n\t\t}\n\n\t\tif (changePickerValue) setPickerValue(valueForPicker);\n\t};\n\n\tconst saveToCustomizer = (value) => {\n\t\tif (useHueMode) {\n\t\t\t/**\n\t\t\t * When using hue mode, the pickerComponent is HslColorPicker.\n\t\t\t * If there is value.h, then value is set from the picker.\n\t\t\t * Otherwise, value is set from the input or the customizer.\n\t\t\t */\n\t\t\tvalue = value.h || 0 === value.h ? value.h : value;\n\t\t\tvalue = parseHueModeValue(value);\n\t\t} else {\n\t\t\tvalue = parseCustomizerValue(value);\n\t\t}\n\n\t\tcustomizerSetting.set(value);\n\t};\n\n\tconst initialColor =\n\t\t\"\" !== props.default && \"undefined\" !== typeof props.default\n\t\t\t? props.default\n\t\t\t: props.value;\n\n\t/**\n\t * Function to run on picker change.\n\t *\n\t * @param {string|Object} color The value returned by the picker. It can be a string or a color object.\n\t */\n\tconst handlePickerChange = (color) => {\n\t\tif (props.onChange) props.onChange(color);\n\t\tcurrentPickerValue = color;\n\t\tsaveToCustomizer(color);\n\t};\n\n\tconst handleInputChange = (value) => {\n\t\tcurrentInputValue = value;\n\t\tsaveToCustomizer(value);\n\t};\n\n\tconst handleReset = () => {\n\t\tif (!initialColor) {\n\t\t\tcurrentInputValue = \"\";\n\t\t\tcurrentPickerValue = \"\";\n\t\t}\n\n\t\tsaveToCustomizer(initialColor);\n\t};\n\n\tconst handleSwatchesClick = (swatchColor) => {\n\t\tsaveToCustomizer(swatchColor);\n\t};\n\n\tconst handleWindowResize = () => {\n\t\tsetPickerContainerStyle(getPickerContainerStyle());\n\t};\n\n\tlet controlLabel = (\n\t\t<span\n\t\t\tclassName=\"customize-control-title\"\n\t\t\tdangerouslySetInnerHTML={{ __html: props.label }}\n\t\t/>\n\t);\n\n\tlet controlDescription = (\n\t\t<span\n\t\t\tclassName=\"description customize-control-description\"\n\t\t\tdangerouslySetInnerHTML={{ __html: props.description }}\n\t\t></span>\n\t);\n\n\tcontrolLabel = (\n\t\t<label className=\"kirki-control-label\">\n\t\t\t{props.label ? controlLabel : \"\"}\n\t\t\t{props.description ? controlDescription : \"\"}\n\t\t</label>\n\t);\n\n\tcontrolLabel = props.label || props.description ? controlLabel : \"\";\n\n\tconst formRef = useRef(null); // Reference to the form div.\n\tconst pickerRef = useRef(null); // Reference to the picker popup.\n\tconst resetRef = useRef(null); // Reference to the picker popup.\n\n\tconst [isPickerOpen, setIsPickerOpen] = useState(false);\n\n\tconst usePositionFixed = \"default\" !== choices.labelStyle ? true : false;\n\n\tconst [pickerContainerStyle, setPickerContainerStyle] = useState({});\n\n\tconst getPickerContainerStyle = () => {\n\t\tlet pickerContainerStyle = {};\n\n\t\tif (!usePositionFixed) return pickerContainerStyle;\n\n\t\tlet padding = window.getComputedStyle(\n\t\t\tcontrol.container[0].parentNode\n\t\t).paddingLeft;\n\t\tpadding = parseInt(padding, 10) * 2;\n\n\t\tpickerContainerStyle.width =\n\t\t\tcontrol.container[0].parentNode.getBoundingClientRect().width - padding;\n\n\t\tconst controlLeftOffset = (control.container[0].offsetLeft - 9) * -1;\n\n\t\tpickerContainerStyle.left = controlLeftOffset + \"px\";\n\n\t\treturn pickerContainerStyle;\n\t};\n\n\tconst convertInputValueTo6Digits = () => {\n\t\tif (4 === inputValue.length && inputValue.includes(\"#\")) {\n\t\t\tsetInputValue(colord(inputValue).toHex());\n\t\t}\n\t};\n\n\tconst togglePicker = () => {\n\t\tif (isPickerOpen) {\n\t\t\tclosePicker();\n\t\t} else {\n\t\t\topenPicker();\n\t\t}\n\t};\n\n\tconst openPicker = () => {\n\t\tif (isPickerOpen) return;\n\n\t\tsetPickerContainerStyle(getPickerContainerStyle());\n\t\tconvertInputValueTo6Digits();\n\t\tsetIsPickerOpen(true);\n\t};\n\n\tconst closePicker = () => {\n\t\tif (!isPickerOpen) return;\n\n\t\tsetIsPickerOpen(false);\n\t\tsetTimeout(convertInputValueTo6Digits, 200);\n\t};\n\n\tlet KirkiPickerComponent;\n\n\t// We can't just render `pickerComponent` directly, we need these lines so that the compiler will import them.\n\tswitch (pickerComponent) {\n\t\tcase \"HexColorPicker\":\n\t\t\tKirkiPickerComponent = HexColorPicker;\n\t\t\tbreak;\n\t\tcase \"RgbColorPicker\":\n\t\t\tKirkiPickerComponent = RgbColorPicker;\n\t\t\tbreak;\n\t\tcase \"RgbStringColorPicker\":\n\t\t\tKirkiPickerComponent = RgbStringColorPicker;\n\t\t\tbreak;\n\t\tcase \"RgbaColorPicker\":\n\t\t\tKirkiPickerComponent = RgbaColorPicker;\n\t\t\tbreak;\n\t\tcase \"RgbaStringColorPicker\":\n\t\t\tKirkiPickerComponent = RgbaStringColorPicker;\n\t\t\tbreak;\n\t\t// We treat HueColorPicker (hue mode) as HslColorPicker.\n\t\tcase \"HueColorPicker\":\n\t\t\tKirkiPickerComponent = HslColorPicker;\n\t\t\tbreak;\n\t\tcase \"HslColorPicker\":\n\t\t\tKirkiPickerComponent = HslColorPicker;\n\t\t\tbreak;\n\t\tcase \"HslStringColorPicker\":\n\t\t\tKirkiPickerComponent = HslStringColorPicker;\n\t\t\tbreak;\n\t\tcase \"HslaColorPicker\":\n\t\t\tKirkiPickerComponent = HslaColorPicker;\n\t\t\tbreak;\n\t\tcase \"HslaStringColorPicker\":\n\t\t\tKirkiPickerComponent = HslaStringColorPicker;\n\t\t\tbreak;\n\t\tcase \"HsvColorPicker\":\n\t\t\tKirkiPickerComponent = HsvColorPicker;\n\t\t\tbreak;\n\t\tcase \"HsvStringColorPicker\":\n\t\t\tKirkiPickerComponent = HsvStringColorPicker;\n\t\t\tbreak;\n\t\tcase \"HsvaColorPicker\":\n\t\t\tKirkiPickerComponent = HsvaColorPicker;\n\t\t\tbreak;\n\t\tcase \"HsvaStringColorPicker\":\n\t\t\tKirkiPickerComponent = HsvaStringColorPicker;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tKirkiPickerComponent = HexColorPicker;\n\t\t\tbreak;\n\t}\n\n\tuseWindowResize(handleWindowResize);\n\n\t// Handle outside focus to close the picker popup.\n\tuseFocusOutside(formRef, closePicker);\n\n\t// Handle outside click to close the picker popup.\n\tuseClickOutside(pickerRef, resetRef, closePicker);\n\n\tif (jQuery.wp && jQuery.wp.wpColorPicker) {\n\t\tconst wpColorPickerSwatches =\n\t\t\tjQuery.wp.wpColorPicker.prototype.options.palettes;\n\n\t\t// If 3rd parties applied custom colors to wpColorPicker swatches, let's use them.\n\t\tif (Array.isArray(wpColorPickerSwatches)) {\n\t\t\tif (wpColorPickerSwatches.length < 8) {\n\t\t\t\tfor (let i = wpColorPickerSwatches.length; i <= 8; i++) {\n\t\t\t\t\twpColorPickerSwatches.push(choices.swatches[i]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tchoices.swatches = wpColorPickerSwatches;\n\t\t}\n\t}\n\n\tconst controlHeader = (\n\t\t<>\n\t\t\t{controlLabel}\n\t\t\t<div\n\t\t\t\tclassName=\"customize-control-notifications-container\"\n\t\t\t\tref={props.setNotificationContainer}\n\t\t\t/>\n\t\t</>\n\t);\n\n\tlet formClassName = useHueMode\n\t\t? \"kirki-control-form use-hue-mode\"\n\t\t: \"kirki-control-form\";\n\n\tformClassName += \" has-\" + choices.labelStyle + \"-label-style\";\n\n\tlet pickerContainerClassName = isPickerOpen\n\t\t? pickerComponent + \" colorPickerContainer is-open\"\n\t\t: pickerComponent + \" colorPickerContainer\";\n\n\tconst pickerTrigger = (\n\t\t<>\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\tref={resetRef}\n\t\t\t\tclassName=\"kirki-control-reset\"\n\t\t\t\tonClick={handleReset}\n\t\t\t\tstyle={{ display: isPickerOpen ? \"flex\" : \"none\" }}\n\t\t\t>\n\t\t\t\t<i className=\"dashicons dashicons-image-rotate\"></i>\n\t\t\t</button>\n\n\t\t\t<KirkiReactColorfulCircle\n\t\t\t\tpickerComponent={pickerComponent}\n\t\t\t\tuseHueMode={useHueMode}\n\t\t\t\tcolor={\n\t\t\t\t\t!useHueMode\n\t\t\t\t\t\t? inputValue\n\t\t\t\t\t\t: colord({ h: inputValue, s: 100, l: 50 }).toHex()\n\t\t\t\t}\n\t\t\t\tisPickerOpen={isPickerOpen}\n\t\t\t\ttogglePickerHandler={togglePicker}\n\t\t\t/>\n\t\t</>\n\t);\n\n\tlet pickerHeader;\n\n\tswitch (choices.labelStyle) {\n\t\tcase \"tooltip\":\n\t\t\tpickerHeader = (\n\t\t\t\t<>\n\t\t\t\t\t{pickerTrigger}\n\t\t\t\t\t{!isPickerOpen && (\n\t\t\t\t\t\t<div className=\"kirki-label-tooltip\">{controlHeader}</div>\n\t\t\t\t\t)}\n\t\t\t\t</>\n\t\t\t);\n\t\t\tbreak;\n\n\t\tcase \"top\":\n\t\t\tpickerHeader = (\n\t\t\t\t<>\n\t\t\t\t\t{controlHeader}\n\t\t\t\t\t{pickerTrigger}\n\t\t\t\t</>\n\t\t\t);\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tpickerHeader = (\n\t\t\t\t<>\n\t\t\t\t\t<div className=\"kirki-control-cols\">\n\t\t\t\t\t\t<div className=\"kirki-control-left-col\">{controlHeader}</div>\n\t\t\t\t\t\t<div className=\"kirki-control-right-col\">{pickerTrigger}</div>\n\t\t\t\t\t</div>\n\t\t\t\t</>\n\t\t\t);\n\t\t\tbreak;\n\t}\n\n\treturn (\n\t\t<>\n\t\t\t<div className={formClassName} ref={formRef} tabIndex=\"1\">\n\t\t\t\t{pickerHeader}\n\t\t\t\t<div\n\t\t\t\t\tref={pickerRef}\n\t\t\t\t\tclassName={pickerContainerClassName}\n\t\t\t\t\tstyle={pickerContainerStyle}\n\t\t\t\t>\n\t\t\t\t\t{!useHueMode && (\n\t\t\t\t\t\t<KirkiReactColorfulSwatches\n\t\t\t\t\t\t\tcolors={choices.swatches}\n\t\t\t\t\t\t\tonClick={handleSwatchesClick}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<KirkiPickerComponent\n\t\t\t\t\t\tcolor={pickerValue}\n\t\t\t\t\t\tonChange={handlePickerChange}\n\t\t\t\t\t/>\n\n\t\t\t\t\t<KirkiReactColorfulInput\n\t\t\t\t\t\tpickerComponent={pickerComponent}\n\t\t\t\t\t\tuseHueMode={useHueMode}\n\t\t\t\t\t\tcolor={inputValue}\n\t\t\t\t\t\tonChange={handleInputChange}\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</>\n\t);\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\t/**\n\t * Initialize.\n\t *\n\t * @param {string} id - Control ID.\n\t * @param {object} params - Control params.\n\t */\n\tinitialize: function (id, params) {\n\t\tconst control = this;\n\n\t\t// Bind functions to this control context for passing as React props.\n\t\tcontrol.setNotificationContainer =\n\t\t\tcontrol.setNotificationContainer.bind(control);\n\n\t\twp.customize.Control.prototype.initialize.call(control, id, params);\n\n\t\t// The following should be eliminated with <https://core.trac.wordpress.org/ticket/31334>.\n\t\tfunction onRemoved(removedControl) {\n\t\t\tif (control === removedControl) {\n\t\t\t\tcontrol.destroy();\n\t\t\t\tcontrol.container.remove();\n\t\t\t\twp.customize.control.unbind(\"removed\", onRemoved);\n\t\t\t}\n\t\t}\n\t\twp.customize.control.bind(\"removed\", onRemoved);\n\t},\n\n\t/**\n\t * Set notification container and render.\n\t *\n\t * This is called when the React component is mounted.\n\t *\n\t * @param {Element} element - Notification container.\n\t * @returns {void}\n\t */\n\tsetNotificationContainer: function setNotificationContainer(element) {\n\t\tconst control = this;\n\t\tcontrol.notifications.container = jQuery(element);\n\t\tcontrol.notifications.render();\n\t},\n\n\t/**\n\t * Render the control into the DOM.\n\t *\n\t * This is called from the Control#embed() method in the parent class.\n\t *\n\t * @returns {void}\n\t */\n\trenderContent: function renderContent() {\n\t\tconst control = this;\n\t\tconst useHueMode = \"hue\" === control.params.mode;\n\t\tconst choices = control.params.choices;\n\n\t\tlet pickerComponent;\n\n\t\tif (choices.formComponent) {\n\t\t\tpickerComponent = choices.formComponent;\n\t\t} else {\n\t\t\tpickerComponent = choices.alpha\n\t\t\t\t? \"RgbaStringColorPicker\"\n\t\t\t\t: \"HexColorPicker\";\n\t\t}\n\n\t\tpickerComponent = useHueMode ? \"HueColorPicker\" : pickerComponent;\n\n\t\tconst form = (\n\t\t\t<KirkiReactColorfulForm\n\t\t\t\t{...control.params}\n\t\t\t\tcontrol={control}\n\t\t\t\tcustomizerSetting={control.setting}\n\t\t\t\tuseHueMode={useHueMode}\n\t\t\t\tpickerComponent={pickerComponent}\n\t\t\t\tvalue={control.params.value}\n\t\t\t\tsetNotificationContainer={control.setNotificationContainer}\n\t\t\t/>\n\t\t);\n\n\t\tReactDOM.render(form, control.container[0]);\n\t},\n\n\t/**\n\t * After control has been first rendered, start re-rendering when setting changes.\n\t *\n\t * React is able to be used here instead of the wp.customize.Element abstraction.\n\t *\n\t * @returns {void}\n\t */\n\tready: function ready() {\n\t\tconst control = this;\n\n\t\t/**\n\t\t * Update component state when customizer setting changes.\n\t\t *\n\t\t * There was an issue (which was fixed):\n\t\t *\n\t\t * Let's say we have other color picker (\"x\" color picker) and this current color picker (\"y\" color picker).\n\t\t * Let's say there's a script that bind to that \"x\" color picker to make change to this \"y\" color picker.\n\t\t *\n\t\t * When \"x\" color picker is changed fast (by dragging the color, for example),\n\t\t * then the re-render of this \"y\" color picker will be messy.\n\t\t * There was something like \"function-call race\" between component re-render and function call inside the component.\n\t\t *\n\t\t * When that happens, the \"x\" color picker becomes unresponsive and un-usable.\n\t\t *\n\t\t * How we fixed that:\n\t\t * - Provide a updateComponentState property to this file.\n\t\t * - Inside the component, assign the updateComponentState with a function to update some states.\n\t\t * - Then inside the binding below, call updateComponentState instead of re-rendering the component.\n\t\t *\n\t\t * The result: Even though the \"x\" color picker becomes very slow, it's still usable and responsive enough.\n\t\t */\n\t\tcontrol.setting.bind((val) => {\n\t\t\tcontrol.updateComponentState(val);\n\t\t});\n\t},\n\n\tupdateComponentState: () => {},\n\n\t/**\n\t * Handle removal/de-registration of the control.\n\t *\n\t * This is essentially the inverse of the Control#embed() method.\n\t *\n\t * @link https://core.trac.wordpress.org/ticket/31334\n\t * @returns {void}\n\t */\n\tdestroy: function destroy() {\n\t\tconst control = this;\n\n\t\t// Garbage collection: undo mounting that was done in the embed/renderContent method.\n\t\tReactDOM.unmountComponentAtNode(control.container[0]);\n\n\t\t// Call destroy method in parent if it exists (as of #31334).\n\t\tif (wp.customize.Control.prototype.destroy) {\n\t\t\twp.customize.Control.prototype.destroy.call(control);\n\t\t}\n\t},\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":["$8ThvE","parcelRequire","freeExports","exports","nodeType","freeModule","module","Buffer","undefined","isBuffer","$jjS2x","$lyxRX","$67910ad3df1b1086$var$freeSelf","self","Object","$67910ad3df1b1086$var$root","Function","$fb170ba8a9c2191f$var$freeGlobal","$parcel$global","freeProcess","process","nodeUtil","types","require","binding","e","allocUnsafe","buffer","isDeep","slice","length","result","constructor","copy","$a735c72dc00321c4$export$2e2bcd8739ae039","arr","len","i","arr2","Array","$d8de0eb6e0dd5f0d$export$2e2bcd8739ae039","isArray","$6e00726c30bb8aa8$export$2e2bcd8739ae039","iter","Symbol","iterator","from","$8664303016091545$export$2e2bcd8739ae039","o","minLen","n","prototype","toString","call","name","test","$09f7b49357d6407d$export$2e2bcd8739ae039","TypeError","$9e1e3aff84b72d71$export$2e2bcd8739ae039","$ee4fec65ef715af7$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","onMove","onKey","rest","container","onMoveCallback","onKeyCallback","hasTouch","x","useMemo","handleMove","buttons","toggleDocumentEvents","handleMoveEnd","state","touch","parentWindow","toggleEvent","addEventListener","removeEventListener","e3","nativeEvent","el","changedTouches","focus","keyCode","which","handleMoveStart","handleKeyDown","useEffect","onTouchStart","onMouseDown","className","ref","onKeyDown","tabIndex","role","formatClassName","names","filter","Boolean","join","Pointer","r","color","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","$673e072344569ebe$exports","$c09020d853f4dd56$var$objectProto","$c09020d853f4dd56$var$hasOwnProperty","$c09020d853f4dd56$var$propertyIsEnumerable","propertyIsEnumerable","$c09020d853f4dd56$var$isArguments","arguments","$c09020d853f4dd56$exports","$1a5c8861aefb5e25$var$reIsUint","$1a5c8861aefb5e25$exports","type","$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","$97e6c72a80d118d2$exports","$1b8f1205e4056240$var$Map","$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","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","setValue","val","includes","pattern","reactCSS","colorPreviewWrapper","pickerComponent","colorPreview","useHueMode","spellCheck","$35ca578fd17d5d2a$export$2e2bcd8739ae039","param","colors","onClick","clr","$eb935346a8ccb34a$var$r","$eb935346a8ccb34a$var$t","$eb935346a8ccb34a$var$n","_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","_$r","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","$9fb400e4497293f5$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","pickerHeader","pickerContainerClassName","pickerTrigger","display","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"}
|
packages/kirki-framework/control-react-colorful/dist/preview.js
CHANGED
@@ -1,93 +1,2 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
/*!************************!*\
|
4 |
-
!*** ./src/preview.js ***!
|
5 |
-
\************************/
|
6 |
-
(() => {
|
7 |
-
/**
|
8 |
-
* Check if the provided value is a numeric.
|
9 |
-
*
|
10 |
-
* Thanks to Dan (https://stackoverflow.com/users/17121/dan) for his answer on StackOverflow:
|
11 |
-
* @see https://stackoverflow.com/questions/175739/built-in-way-in-javascript-to-check-if-a-string-is-a-valid-number#answer-175787
|
12 |
-
*
|
13 |
-
* @param {string|number} str The provided value.
|
14 |
-
* @return bool
|
15 |
-
*/
|
16 |
-
const isNumeric = str => {
|
17 |
-
// Number is a numeric.
|
18 |
-
if ('number' === typeof str) return true; // We only process strings.
|
19 |
-
|
20 |
-
if ('string' !== typeof str) return false; // Use type coercion to parse the entirety of the string (`parseFloat` alone does not do this) and ensure strings of whitespace fail.
|
21 |
-
|
22 |
-
return !isNaN(str) && !isNaN(parseFloat(str));
|
23 |
-
};
|
24 |
-
/**
|
25 |
-
* Generate value from color object.
|
26 |
-
*
|
27 |
-
* @param {Object} value The value.
|
28 |
-
* @return string
|
29 |
-
*/
|
30 |
-
|
31 |
-
|
32 |
-
const generateStringValue = value => {
|
33 |
-
alphaEnabled = false;
|
34 |
-
|
35 |
-
if (value.r || value.g || value.b) {
|
36 |
-
colorMode = "undefined" !== typeof value.a ? 'rgba' : 'rgb';
|
37 |
-
alphaEnabled = 'rgba' === colorMode ? true : alphaEnabled;
|
38 |
-
pos1 = value.r;
|
39 |
-
pos2 = value.g;
|
40 |
-
pos3 = value.b;
|
41 |
-
pos4 = 'rgba' === colorMode ? value.a : 1;
|
42 |
-
} else if (value.h || value.s) {
|
43 |
-
pos1 = value.h;
|
44 |
-
|
45 |
-
if (value.l) {
|
46 |
-
colorMode = "undefined" !== typeof value.a ? 'hsla' : 'hsl';
|
47 |
-
pos2 = isNumeric(value.l) ? value.l + '%' : value.l;
|
48 |
-
} else if (value.v) {
|
49 |
-
colorMode = "undefined" !== typeof value.a ? 'hvla' : 'hvl';
|
50 |
-
pos2 = isNumeric(value.v) ? value.v + '%' : value.v;
|
51 |
-
}
|
52 |
-
|
53 |
-
alphaEnabled = 'hsla' === colorMode || 'hsva' === colorMode ? true : alphaEnabled;
|
54 |
-
pos3 = isNumeric(value) ? value.s + '%' : value.s;
|
55 |
-
pos4 = alphaEnabled ? value.a : 1;
|
56 |
-
}
|
57 |
-
|
58 |
-
if (alphaEnabled) {
|
59 |
-
formattedValue = colorMode + '(' + pos1 + ', ' + pos2 + ', ' + pos3 + ', ' + pos4 + ')';
|
60 |
-
} else {
|
61 |
-
formattedValue = colorMode + '(' + pos1 + ', ' + pos2 + ', ' + pos3 + ')';
|
62 |
-
}
|
63 |
-
|
64 |
-
return formattedValue;
|
65 |
-
};
|
66 |
-
/**
|
67 |
-
* Function to hook into `kirkiPostMessageStylesOutput` filter.
|
68 |
-
*
|
69 |
-
* @param {string} styles The styles to be filtered.
|
70 |
-
* @param {string|Object|int} value The control's value.
|
71 |
-
* @param {Object} output The control's output argument.
|
72 |
-
* @param {string} controlType The control type.
|
73 |
-
*
|
74 |
-
* @return {string} The filtered styles.
|
75 |
-
*/
|
76 |
-
|
77 |
-
|
78 |
-
const stylesOutput = (styles, value, output, controlType) => {
|
79 |
-
if ('kirki-react-colorful' !== controlType) return styles;
|
80 |
-
if ('string' === typeof value || 'number' === typeof value) return styles;
|
81 |
-
const prefix = output.prefix ? output.prefix : '';
|
82 |
-
const suffix = output.suffix ? output.suffix : "";
|
83 |
-
styles += output.element + '{' + output.property + ': ' + prefix + generateStringValue(value) + suffix + ';\
|
84 |
-
}';
|
85 |
-
return styles;
|
86 |
-
}; // Hook the function to the `kirkiPostMessageStylesOutput` filter.
|
87 |
-
|
88 |
-
|
89 |
-
wp.hooks.addFilter('kirkiPostMessageStylesOutput', 'kirki', stylesOutput);
|
90 |
-
})();
|
91 |
-
/******/ })()
|
92 |
-
;
|
93 |
-
//# sourceMappingURL=preview.js.map
|
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,r,l){if("kirki-react-colorful"!==l)return a;if("string"==typeof e||"number"==typeof e)return a;var s=r.prefix?r.prefix:"",p=r.suffix?r.suffix:"";return a+=r.element+"{"+r.property+": "+s+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)+p+";\t\t}",a}))}();
|
2 |
+
//# sourceMappingURL=preview.js.map
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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AOvB,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,eAuB8BC,CAAoBtB,GAASI,EAAS,SAGpEL","sources":["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"],"version":3,"file":"preview.js.map"}
|
packages/kirki-framework/control-react-colorful/src/Control/ReactColorful.php
CHANGED
@@ -97,6 +97,10 @@ class ReactColorful extends Base {
|
|
97 |
// Value.
|
98 |
$this->json['value'] = empty( $this->value() ) ? '' : ( 'hue' === $this->mode ? absint( $this->value() ) : $this->value() );
|
99 |
|
|
|
|
|
|
|
|
|
100 |
// Mode.
|
101 |
$this->json['mode'] = $this->mode;
|
102 |
|
97 |
// Value.
|
98 |
$this->json['value'] = empty( $this->value() ) ? '' : ( 'hue' === $this->mode ? absint( $this->value() ) : $this->value() );
|
99 |
|
100 |
+
if ( is_string( $this->json['value'] ) ) {
|
101 |
+
$this->json['value'] = strtolower( $this->json['value'] );
|
102 |
+
}
|
103 |
+
|
104 |
// Mode.
|
105 |
$this->json['mode'] = $this->mode;
|
106 |
|
packages/kirki-framework/control-react-colorful/src/Field/ReactColorful.php
CHANGED
@@ -217,6 +217,8 @@ class ReactColorful extends Field {
|
|
217 |
*/
|
218 |
public static function sanitize_color_string( $value ) {
|
219 |
|
|
|
|
|
220 |
/**
|
221 |
* This pattern will check and match 3/6/8-character hex, rgb, rgba, hsl, hsla, hsv, and hsva colors.
|
222 |
*
|
217 |
*/
|
218 |
public static function sanitize_color_string( $value ) {
|
219 |
|
220 |
+
$value = strtolower( $value );
|
221 |
+
|
222 |
/**
|
223 |
* This pattern will check and match 3/6/8-character hex, rgb, rgba, hsl, hsla, hsv, and hsva colors.
|
224 |
*
|
packages/kirki-framework/control-react-colorful/src/js/components/KirkiReactColorfulCircle.js
CHANGED
@@ -2,48 +2,48 @@ import { useState, useEffect } from "react";
|
|
2 |
import reactCSS from "reactcss";
|
3 |
|
4 |
const KirkiReactColorfulCircle = (props) => {
|
5 |
-
|
6 |
-
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
};
|
48 |
|
49 |
export default KirkiReactColorfulCircle;
|
2 |
import reactCSS from "reactcss";
|
3 |
|
4 |
const KirkiReactColorfulCircle = (props) => {
|
5 |
+
const { color = "" } = props;
|
6 |
+
const [value, setValue] = useState(() => color);
|
7 |
|
8 |
+
// Update the local state when `color` property value is changed.
|
9 |
+
useEffect(() => {
|
10 |
+
// We don't need to convert the color since it's using the customizer value.
|
11 |
+
setValue(color);
|
12 |
+
}, [color]);
|
13 |
|
14 |
+
const pickersWithAlpha = [
|
15 |
+
"RgbaColorPicker",
|
16 |
+
"RgbaStringColorPicker",
|
17 |
+
"HslaColorPicker",
|
18 |
+
"HslaStringColorPicker",
|
19 |
+
"HsvaColorPicker",
|
20 |
+
"HsvaStringColorPicker",
|
21 |
+
];
|
22 |
|
23 |
+
const styles = reactCSS({
|
24 |
+
default: {
|
25 |
+
triggerButton: {
|
26 |
+
backgroundImage:
|
27 |
+
'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==")',
|
28 |
+
},
|
29 |
+
colorPreview: {
|
30 |
+
backgroundColor: value ? value : "transparent",
|
31 |
+
},
|
32 |
+
},
|
33 |
+
});
|
34 |
|
35 |
+
return (
|
36 |
+
<div className="kirki-trigger-circle-wrapper">
|
37 |
+
<button
|
38 |
+
type="button"
|
39 |
+
className="kirki-trigger-circle"
|
40 |
+
onClick={props.togglePickerHandler}
|
41 |
+
style={styles.triggerButton}
|
42 |
+
>
|
43 |
+
<div className="kirki-color-preview" style={styles.colorPreview}></div>
|
44 |
+
</button>
|
45 |
+
</div>
|
46 |
+
);
|
47 |
};
|
48 |
|
49 |
export default KirkiReactColorfulCircle;
|
packages/kirki-framework/control-react-colorful/src/js/components/KirkiReactColorfulInput.js
CHANGED
@@ -2,92 +2,92 @@ import { useState, useEffect, useCallback } from "react";
|
|
2 |
import reactCSS from "reactcss";
|
3 |
|
4 |
const KirkiReactColorfulInput = (props) => {
|
5 |
-
|
6 |
-
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
|
22 |
-
|
23 |
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
};
|
92 |
|
93 |
export default KirkiReactColorfulInput;
|
2 |
import reactCSS from "reactcss";
|
3 |
|
4 |
const KirkiReactColorfulInput = (props) => {
|
5 |
+
const { onChange, color = "" } = props;
|
6 |
+
const [value, setValue] = useState(() => color);
|
7 |
|
8 |
+
const handleChange = useCallback(
|
9 |
+
(e) => {
|
10 |
+
let val = e.target.value;
|
11 |
|
12 |
+
if (2 === val.length) {
|
13 |
+
if (!val.includes("#") && !val.includes("rg") && !val.includes("hs")) {
|
14 |
+
val = "#" + val;
|
15 |
+
}
|
16 |
+
} else if (3 === val.length || 6 === val.length) {
|
17 |
+
if (!val.includes("#") && !val.includes("rg") && !val.includes("hs")) {
|
18 |
+
val = "#" + val;
|
19 |
+
}
|
20 |
+
}
|
21 |
|
22 |
+
val = val.toLowerCase();
|
23 |
|
24 |
+
// Thank you: https://regexr.com/39cgj
|
25 |
+
const pattern = new RegExp(
|
26 |
+
/(?:#|0x)(?:[a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})\b|(?:rgb|hsl)a?\([^\)]*\)/
|
27 |
+
);
|
28 |
|
29 |
+
if ("" === val || pattern.test(val)) {
|
30 |
+
onChange(val); // Run onChange handler passed by `KirkiReactColorfulForm` component.
|
31 |
+
}
|
32 |
|
33 |
+
setValue(val);
|
34 |
+
},
|
35 |
+
[onChange]
|
36 |
+
);
|
37 |
|
38 |
+
// Update the local state when `color` property value is changed.
|
39 |
+
useEffect(() => {
|
40 |
+
// We don't need to convert the color since it's already handled in parent component.
|
41 |
+
setValue(color);
|
42 |
+
}, [color]);
|
43 |
|
44 |
+
const pickersWithAlpha = [
|
45 |
+
"RgbaColorPicker",
|
46 |
+
"RgbaStringColorPicker",
|
47 |
+
"HslaColorPicker",
|
48 |
+
"HslaStringColorPicker",
|
49 |
+
"HsvaColorPicker",
|
50 |
+
"HsvaStringColorPicker",
|
51 |
+
];
|
52 |
|
53 |
+
const styles = reactCSS({
|
54 |
+
default: {
|
55 |
+
colorPreviewWrapper: {
|
56 |
+
backgroundImage: pickersWithAlpha.includes(props.pickerComponent)
|
57 |
+
? 'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==")'
|
58 |
+
: "none",
|
59 |
+
},
|
60 |
+
colorPreview: {
|
61 |
+
backgroundColor: value,
|
62 |
+
},
|
63 |
+
},
|
64 |
+
});
|
65 |
|
66 |
+
return (
|
67 |
+
<div className="kirki-color-input-wrapper">
|
68 |
+
<div className="kirki-color-input-control">
|
69 |
+
{!props.useHueMode && (
|
70 |
+
<div
|
71 |
+
className="kirki-color-preview-wrapper"
|
72 |
+
style={styles.colorPreviewWrapper}
|
73 |
+
>
|
74 |
+
<button
|
75 |
+
type="button"
|
76 |
+
className="kirki-color-preview"
|
77 |
+
style={styles.colorPreview}
|
78 |
+
></button>
|
79 |
+
</div>
|
80 |
+
)}
|
81 |
+
<input
|
82 |
+
type="text"
|
83 |
+
value={value}
|
84 |
+
className="kirki-color-input"
|
85 |
+
spellCheck="false"
|
86 |
+
onChange={handleChange}
|
87 |
+
/>
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
);
|
91 |
};
|
92 |
|
93 |
export default KirkiReactColorfulInput;
|
packages/kirki-framework/control-react-colorful/src/js/components/KirkiReactColorfulSwatches.js
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
const KirkiReactColorfulSwatches = ({ colors, onClick }) => {
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
const color = clr && clr.color ? clr.color : clr;
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
};
|
21 |
|
22 |
export default KirkiReactColorfulSwatches;
|
1 |
const KirkiReactColorfulSwatches = ({ colors, onClick }) => {
|
2 |
+
return (
|
3 |
+
<div className="kirki-color-swatches">
|
4 |
+
{colors.map((clr, index) => {
|
5 |
const color = clr && clr.color ? clr.color : clr;
|
6 |
|
7 |
+
return (
|
8 |
+
<button
|
9 |
+
key={index.toString()}
|
10 |
+
type="button"
|
11 |
+
className="kirki-color-swatch"
|
12 |
+
data-kirki-color={color}
|
13 |
+
style={{ backgroundColor: color }}
|
14 |
+
onClick={() => onClick(color)}
|
15 |
+
></button>
|
16 |
+
);
|
17 |
+
})}
|
18 |
+
</div>
|
19 |
+
);
|
20 |
};
|
21 |
|
22 |
export default KirkiReactColorfulSwatches;
|
packages/kirki-framework/control-react-colorful/src/js/hooks/useClickOutside.js
CHANGED
@@ -5,41 +5,41 @@ import { useEffect } from "react";
|
|
5 |
* It was improved version of https://usehooks.com/useOnClickOutside/
|
6 |
*/
|
7 |
const useClickOutside = (pickerRef, resetRef, handler) => {
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
};
|
44 |
|
45 |
export default useClickOutside;
|
5 |
* It was improved version of https://usehooks.com/useOnClickOutside/
|
6 |
*/
|
7 |
const useClickOutside = (pickerRef, resetRef, handler) => {
|
8 |
+
useEffect(() => {
|
9 |
+
let startedWhenMounted = false;
|
10 |
+
let startedInside = false;
|
11 |
+
|
12 |
+
const listener = (event) => {
|
13 |
+
// Do nothing if `mousedown` or `touchstart` started either inside resetRef or pickerRef element
|
14 |
+
if (!startedWhenMounted || startedInside) return;
|
15 |
+
|
16 |
+
// Do nothing if clicking resetRef's element or descendent elements
|
17 |
+
if (!resetRef.current || resetRef.current.contains(event.target)) return;
|
18 |
+
|
19 |
+
// Do nothing if clicking pickerRef's element or descendent elements
|
20 |
+
if (!pickerRef.current || pickerRef.current.contains(event.target))
|
21 |
+
return;
|
22 |
+
|
23 |
+
handler();
|
24 |
+
};
|
25 |
+
|
26 |
+
const validateEventStart = (event) => {
|
27 |
+
startedWhenMounted = resetRef.current && pickerRef.current;
|
28 |
+
startedInside =
|
29 |
+
(resetRef.current && resetRef.current.contains(event.target)) ||
|
30 |
+
(pickerRef.current && pickerRef.current.contains(event.target));
|
31 |
+
};
|
32 |
+
|
33 |
+
document.addEventListener("mousedown", validateEventStart);
|
34 |
+
document.addEventListener("touchstart", validateEventStart);
|
35 |
+
document.addEventListener("click", listener);
|
36 |
+
|
37 |
+
return () => {
|
38 |
+
document.removeEventListener("mousedown", validateEventStart);
|
39 |
+
document.removeEventListener("touchstart", validateEventStart);
|
40 |
+
document.removeEventListener("click", listener);
|
41 |
+
};
|
42 |
+
}, [resetRef, pickerRef, handler]);
|
43 |
};
|
44 |
|
45 |
export default useClickOutside;
|
packages/kirki-framework/control-react-colorful/src/js/hooks/useWindowResize.js
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
import { useEffect } from "react";
|
2 |
|
3 |
const useWindowResize = (handler) => {
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
|
9 |
-
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
};
|
16 |
|
17 |
export default useWindowResize;
|
1 |
import { useEffect } from "react";
|
2 |
|
3 |
const useWindowResize = (handler) => {
|
4 |
+
useEffect(() => {
|
5 |
+
const listener = (e) => {
|
6 |
+
handler();
|
7 |
+
};
|
8 |
|
9 |
+
window.addEventListener("resize", listener, true);
|
10 |
|
11 |
+
return () => {
|
12 |
+
window.removeEventListener("resize", listener, true);
|
13 |
+
};
|
14 |
+
}, [handler]);
|
15 |
};
|
16 |
|
17 |
export default useWindowResize;
|
packages/kirki-framework/control-react-colorful/src/js/utils/convertColorForCustomizer.js
CHANGED
@@ -20,23 +20,26 @@ const convertColorForCustomizer = (value, pickerComponent, formComponent) => {
|
|
20 |
* 1. When formComponent is defined with HexColorPicker as the value.
|
21 |
* 2. When formComponent is not defined but the "alpha" choice is not set or set to false (the old way).
|
22 |
*/
|
23 |
-
case
|
24 |
-
convertedValue =
|
|
|
|
|
|
|
25 |
break;
|
26 |
|
27 |
-
case
|
28 |
convertedValue = colord(value).toRgb();
|
29 |
delete convertedValue.a;
|
30 |
break;
|
31 |
|
32 |
-
case
|
33 |
convertedValue =
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
break;
|
38 |
|
39 |
-
case
|
40 |
rgba = colord(value).toRgb();
|
41 |
convertedValue = rgba;
|
42 |
break;
|
@@ -46,62 +49,65 @@ const convertColorForCustomizer = (value, pickerComponent, formComponent) => {
|
|
46 |
* 1. When formComponent is defined with RgbaColorPicker as the value.
|
47 |
* 2. When formComponent is not defined but the "alpha" choice is set to true.
|
48 |
*/
|
49 |
-
case
|
50 |
rgba = colord(value).toRgb();
|
51 |
|
52 |
if (rgba.a < 1) {
|
53 |
convertedValue =
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
} else {
|
58 |
// When it uses the 2nd condition above, then the expected value is "hex".
|
59 |
if (!formComponent) {
|
60 |
convertedValue =
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
} else {
|
65 |
convertedValue = colord(value).toRgbString();
|
66 |
|
67 |
// Force to set the alpha channel value.
|
68 |
-
if (
|
69 |
-
convertedValue
|
70 |
-
convertedValue
|
|
|
|
|
|
|
71 |
}
|
72 |
}
|
73 |
}
|
74 |
|
75 |
break;
|
76 |
|
77 |
-
case
|
78 |
convertedValue = colord(value).toHsl();
|
79 |
delete convertedValue.a;
|
80 |
break;
|
81 |
|
82 |
-
case
|
83 |
convertedValue =
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
break;
|
88 |
|
89 |
-
case
|
90 |
convertedValue = colord(value).toHsl();
|
91 |
break;
|
92 |
|
93 |
-
case
|
94 |
convertedValue = colord(value).toHslString();
|
95 |
|
96 |
// Force to set the alpha channel value.
|
97 |
-
if (convertedValue.includes(
|
98 |
-
convertedValue = convertedValue.replace(
|
99 |
-
convertedValue = convertedValue.replace(
|
100 |
}
|
101 |
|
102 |
break;
|
103 |
|
104 |
-
case
|
105 |
convertedValue = colord(value).toHsv();
|
106 |
delete convertedValue.a;
|
107 |
break;
|
@@ -110,25 +116,34 @@ const convertColorForCustomizer = (value, pickerComponent, formComponent) => {
|
|
110 |
* The colord library doesn't provide .toHsvString() method yet.
|
111 |
* This manual value-building will apply to "HsvStringColorPicker" and "HsvaStringColorPicker" stuff below.
|
112 |
*/
|
113 |
-
case
|
114 |
hsv = colord(value).toHsv();
|
115 |
-
convertedValue =
|
116 |
break;
|
117 |
|
118 |
-
case
|
119 |
convertedValue = colord(value).toHsv();
|
120 |
break;
|
121 |
|
122 |
-
case
|
123 |
hsva = colord(value).toHsv();
|
124 |
-
convertedValue =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
break;
|
126 |
|
127 |
default:
|
128 |
convertedValue =
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
break;
|
133 |
}
|
134 |
|
20 |
* 1. When formComponent is defined with HexColorPicker as the value.
|
21 |
* 2. When formComponent is not defined but the "alpha" choice is not set or set to false (the old way).
|
22 |
*/
|
23 |
+
case "HexColorPicker":
|
24 |
+
convertedValue =
|
25 |
+
"string" === typeof value && value.includes("#")
|
26 |
+
? value
|
27 |
+
: colord(value).toHex();
|
28 |
break;
|
29 |
|
30 |
+
case "RgbColorPicker":
|
31 |
convertedValue = colord(value).toRgb();
|
32 |
delete convertedValue.a;
|
33 |
break;
|
34 |
|
35 |
+
case "RgbStringColorPicker":
|
36 |
convertedValue =
|
37 |
+
"string" === typeof value && value.includes("rgb(")
|
38 |
+
? value
|
39 |
+
: colord(value).toRgbString();
|
40 |
break;
|
41 |
|
42 |
+
case "RgbaColorPicker":
|
43 |
rgba = colord(value).toRgb();
|
44 |
convertedValue = rgba;
|
45 |
break;
|
49 |
* 1. When formComponent is defined with RgbaColorPicker as the value.
|
50 |
* 2. When formComponent is not defined but the "alpha" choice is set to true.
|
51 |
*/
|
52 |
+
case "RgbaStringColorPicker":
|
53 |
rgba = colord(value).toRgb();
|
54 |
|
55 |
if (rgba.a < 1) {
|
56 |
convertedValue =
|
57 |
+
"string" === typeof value && value.includes("rgba")
|
58 |
+
? value
|
59 |
+
: colord(value).toRgbString();
|
60 |
} else {
|
61 |
// When it uses the 2nd condition above, then the expected value is "hex".
|
62 |
if (!formComponent) {
|
63 |
convertedValue =
|
64 |
+
"string" === typeof value && value.includes("#")
|
65 |
+
? value
|
66 |
+
: colord(value).toHex();
|
67 |
} else {
|
68 |
convertedValue = colord(value).toRgbString();
|
69 |
|
70 |
// Force to set the alpha channel value.
|
71 |
+
if (
|
72 |
+
convertedValue.includes("rgb") &&
|
73 |
+
!convertedValue.includes("rgba")
|
74 |
+
) {
|
75 |
+
convertedValue = convertedValue.replace("rgb", "rgba");
|
76 |
+
convertedValue = convertedValue.replace(")", ", 1)");
|
77 |
}
|
78 |
}
|
79 |
}
|
80 |
|
81 |
break;
|
82 |
|
83 |
+
case "HslColorPicker":
|
84 |
convertedValue = colord(value).toHsl();
|
85 |
delete convertedValue.a;
|
86 |
break;
|
87 |
|
88 |
+
case "HslStringColorPicker":
|
89 |
convertedValue =
|
90 |
+
"string" === typeof value && value.includes("hsl(")
|
91 |
+
? value
|
92 |
+
: colord(value).toHslString();
|
93 |
break;
|
94 |
|
95 |
+
case "HslaColorPicker":
|
96 |
convertedValue = colord(value).toHsl();
|
97 |
break;
|
98 |
|
99 |
+
case "HslaStringColorPicker":
|
100 |
convertedValue = colord(value).toHslString();
|
101 |
|
102 |
// Force to set the alpha channel value.
|
103 |
+
if (convertedValue.includes("hsl") && !convertedValue.includes("hsla")) {
|
104 |
+
convertedValue = convertedValue.replace("hsl", "hsla");
|
105 |
+
convertedValue = convertedValue.replace(")", ", 1)");
|
106 |
}
|
107 |
|
108 |
break;
|
109 |
|
110 |
+
case "HsvColorPicker":
|
111 |
convertedValue = colord(value).toHsv();
|
112 |
delete convertedValue.a;
|
113 |
break;
|
116 |
* The colord library doesn't provide .toHsvString() method yet.
|
117 |
* This manual value-building will apply to "HsvStringColorPicker" and "HsvaStringColorPicker" stuff below.
|
118 |
*/
|
119 |
+
case "HsvStringColorPicker":
|
120 |
hsv = colord(value).toHsv();
|
121 |
+
convertedValue = "hsv(" + hsv.h + ", " + hsv.s + "%, " + hsv.v + "%)";
|
122 |
break;
|
123 |
|
124 |
+
case "HsvaColorPicker":
|
125 |
convertedValue = colord(value).toHsv();
|
126 |
break;
|
127 |
|
128 |
+
case "HsvaStringColorPicker":
|
129 |
hsva = colord(value).toHsv();
|
130 |
+
convertedValue =
|
131 |
+
"hsva(" +
|
132 |
+
hsva.h +
|
133 |
+
", " +
|
134 |
+
hsva.s +
|
135 |
+
"%, " +
|
136 |
+
hsva.v +
|
137 |
+
"%, " +
|
138 |
+
hsva.a +
|
139 |
+
")";
|
140 |
break;
|
141 |
|
142 |
default:
|
143 |
convertedValue =
|
144 |
+
"string" === typeof value && value.includes("#")
|
145 |
+
? value
|
146 |
+
: colord(value).toHex();
|
147 |
break;
|
148 |
}
|
149 |
|
packages/kirki-framework/control-react-colorful/src/js/utils/convertColorForInput.js
CHANGED
@@ -9,174 +9,174 @@ import { colord } from "colord";
|
|
9 |
* @returns {string} The converted value.
|
10 |
*/
|
11 |
const convertColorForInput = (value, pickerComponent, formComponent) => {
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
};
|
181 |
|
182 |
export default convertColorForInput;
|
9 |
* @returns {string} The converted value.
|
10 |
*/
|
11 |
const convertColorForInput = (value, pickerComponent, formComponent) => {
|
12 |
+
let rgba;
|
13 |
+
let hsv;
|
14 |
+
let hsva;
|
15 |
+
let convertedValue;
|
16 |
+
|
17 |
+
switch (pickerComponent) {
|
18 |
+
/**
|
19 |
+
* The HexColorPicker is used by these condition:
|
20 |
+
* 1. When formComponent is defined with HexColorPicker as the value.
|
21 |
+
* 2. When formComponent is not defined but the "alpha" choice is not set or set to false (the old way).
|
22 |
+
*/
|
23 |
+
case "HexColorPicker":
|
24 |
+
convertedValue =
|
25 |
+
"string" === typeof value && value.includes("#")
|
26 |
+
? value
|
27 |
+
: colord(value).toHex();
|
28 |
+
break;
|
29 |
+
|
30 |
+
case "RgbColorPicker":
|
31 |
+
convertedValue =
|
32 |
+
"string" === typeof value && value.includes("rgb(")
|
33 |
+
? value
|
34 |
+
: colord(value).toRgbString();
|
35 |
+
break;
|
36 |
+
|
37 |
+
case "RgbStringColorPicker":
|
38 |
+
convertedValue =
|
39 |
+
"string" === typeof value && value.includes("rgba")
|
40 |
+
? value
|
41 |
+
: colord(value).toRgbString();
|
42 |
+
break;
|
43 |
+
|
44 |
+
case "RgbaColorPicker":
|
45 |
+
rgba = colord(value).toRgb();
|
46 |
+
|
47 |
+
if (rgba.a < 1) {
|
48 |
+
convertedValue =
|
49 |
+
"string" === typeof value && value.includes("rgba")
|
50 |
+
? value
|
51 |
+
: colord(value).toRgbString();
|
52 |
+
} else {
|
53 |
+
convertedValue = colord(value).toRgbString();
|
54 |
+
|
55 |
+
// Force to set the alpha value.
|
56 |
+
if (
|
57 |
+
convertedValue.includes("rgb") &&
|
58 |
+
!convertedValue.includes("rgba")
|
59 |
+
) {
|
60 |
+
convertedValue = convertedValue.replace("rgb", "rgba");
|
61 |
+
convertedValue = convertedValue.replace(")", ", 1)");
|
62 |
+
}
|
63 |
+
}
|
64 |
+
|
65 |
+
break;
|
66 |
+
|
67 |
+
/**
|
68 |
+
* The RgbaStringColorPicker is used by these condition:
|
69 |
+
* 1. When formComponent is defined with RgbaColorPicker as the value.
|
70 |
+
* 2. When formComponent is not defined but the "alpha" choice is set to true.
|
71 |
+
*/
|
72 |
+
case "RgbaStringColorPicker":
|
73 |
+
rgba = colord(value).toRgb();
|
74 |
+
|
75 |
+
// When it uses the 2nd condition above, then the expected value is "hex".
|
76 |
+
if (rgba.a == 1 && !formComponent) {
|
77 |
+
convertedValue =
|
78 |
+
"string" === typeof value && value.includes("#")
|
79 |
+
? value
|
80 |
+
: colord(value).toHex();
|
81 |
+
} else {
|
82 |
+
convertedValue = colord(value).toRgbString();
|
83 |
+
|
84 |
+
// Force to set the alpha value.
|
85 |
+
if (
|
86 |
+
convertedValue.includes("rgb") &&
|
87 |
+
!convertedValue.includes("rgba")
|
88 |
+
) {
|
89 |
+
convertedValue = convertedValue.replace("rgb", "rgba");
|
90 |
+
convertedValue = convertedValue.replace(")", ", 1)");
|
91 |
+
}
|
92 |
+
}
|
93 |
+
|
94 |
+
break;
|
95 |
+
|
96 |
+
case "HslColorPicker":
|
97 |
+
convertedValue =
|
98 |
+
"string" === typeof value && value.includes("hsl(")
|
99 |
+
? value
|
100 |
+
: colord(value).toHslString();
|
101 |
+
break;
|
102 |
+
|
103 |
+
case "HslStringColorPicker":
|
104 |
+
convertedValue =
|
105 |
+
"string" === typeof value && value.includes("hsl(")
|
106 |
+
? value
|
107 |
+
: colord(value).toHslString();
|
108 |
+
break;
|
109 |
+
|
110 |
+
case "HslaColorPicker":
|
111 |
+
convertedValue = colord(value).toHslString();
|
112 |
+
|
113 |
+
// Force to set the alpha value.
|
114 |
+
if (convertedValue.includes("hsl") && !convertedValue.includes("hsla")) {
|
115 |
+
convertedValue = convertedValue.replace("hsl", "hsla");
|
116 |
+
convertedValue = convertedValue.replace(")", ", 1)");
|
117 |
+
}
|
118 |
+
|
119 |
+
break;
|
120 |
+
|
121 |
+
case "HslaStringColorPicker":
|
122 |
+
convertedValue = colord(value).toHslString();
|
123 |
+
|
124 |
+
// Force to set the alpha value.
|
125 |
+
if (convertedValue.includes("hsl") && !convertedValue.includes("hsla")) {
|
126 |
+
convertedValue = convertedValue.replace("hsl", "hsla");
|
127 |
+
convertedValue = convertedValue.replace(")", ", 1)");
|
128 |
+
}
|
129 |
+
|
130 |
+
break;
|
131 |
+
|
132 |
+
/**
|
133 |
+
* The colord library doesn't provide .toHsvString() method yet.
|
134 |
+
* This manual value-building will apply to "hsv" and "hsva" stuff below.
|
135 |
+
*/
|
136 |
+
case "HsvColorPicker":
|
137 |
+
hsv = colord(value).toHsv();
|
138 |
+
convertedValue = "hsv(" + hsv.h + ", " + hsv.s + "%, " + hsv.v + "%)";
|
139 |
+
break;
|
140 |
+
|
141 |
+
case "HsvStringColorPicker":
|
142 |
+
hsv = colord(value).toHsv();
|
143 |
+
convertedValue = "hsv(" + hsv.h + ", " + hsv.s + "%, " + hsv.v + "%)";
|
144 |
+
break;
|
145 |
+
|
146 |
+
case "HsvaColorPicker":
|
147 |
+
hsva = colord(value).toHsv();
|
148 |
+
convertedValue =
|
149 |
+
"hsva(" +
|
150 |
+
hsva.h +
|
151 |
+
", " +
|
152 |
+
hsva.s +
|
153 |
+
"%, " +
|
154 |
+
hsva.v +
|
155 |
+
"%, " +
|
156 |
+
hsva.a +
|
157 |
+
")";
|
158 |
+
break;
|
159 |
+
|
160 |
+
case "HsvaStringColorPicker":
|
161 |
+
hsva = colord(value).toHsv();
|
162 |
+
convertedValue =
|
163 |
+
"hsva(" +
|
164 |
+
hsva.h +
|
165 |
+
", " +
|
166 |
+
hsva.s +
|
167 |
+
"%, " +
|
168 |
+
hsva.v +
|
169 |
+
"%, " +
|
170 |
+
hsva.a +
|
171 |
+
")";
|
172 |
+
break;
|
173 |
+
|
174 |
+
default:
|
175 |
+
convertedValue = colord(value).toHex();
|
176 |
+
break;
|
177 |
+
}
|
178 |
+
|
179 |
+
return convertedValue;
|
180 |
};
|
181 |
|
182 |
export default convertColorForInput;
|
packages/kirki-framework/control-react-colorful/src/js/utils/convertColorForPicker.js
CHANGED
@@ -12,77 +12,86 @@ const convertColorForPicker = (value, pickerComponent) => {
|
|
12 |
let convertedValue;
|
13 |
|
14 |
switch (pickerComponent) {
|
15 |
-
case
|
16 |
convertedValue = colord(value).toHex();
|
17 |
break;
|
18 |
|
19 |
-
case
|
20 |
convertedValue = colord(value).toRgb();
|
21 |
delete convertedValue.a;
|
22 |
break;
|
23 |
|
24 |
-
case
|
25 |
convertedValue = colord(value).toRgbString();
|
26 |
break;
|
27 |
|
28 |
-
case
|
29 |
convertedValue = colord(value).toRgb();
|
30 |
break;
|
31 |
|
32 |
-
case
|
33 |
convertedValue = colord(value).toRgbString();
|
34 |
|
35 |
// Force to set the alpha channel value.
|
36 |
-
if (convertedValue.includes(
|
37 |
-
convertedValue = convertedValue.replace(
|
38 |
-
convertedValue = convertedValue.replace(
|
39 |
}
|
40 |
|
41 |
break;
|
42 |
|
43 |
-
case
|
44 |
convertedValue = colord(value).toHsl();
|
45 |
delete convertedValue.a;
|
46 |
break;
|
47 |
|
48 |
-
case
|
49 |
convertedValue = colord(value).toHslString();
|
50 |
break;
|
51 |
|
52 |
-
case
|
53 |
convertedValue = colord(value).toHsl();
|
54 |
break;
|
55 |
|
56 |
-
case
|
57 |
convertedValue = colord(value).toHslString();
|
58 |
|
59 |
// Force to set the alpha channel value.
|
60 |
-
if (convertedValue.includes(
|
61 |
-
convertedValue = convertedValue.replace(
|
62 |
-
convertedValue = convertedValue.replace(
|
63 |
}
|
64 |
|
65 |
break;
|
66 |
|
67 |
-
case
|
68 |
convertedValue = colord(value).toHsv();
|
69 |
delete convertedValue.a;
|
70 |
break;
|
71 |
|
72 |
-
case
|
73 |
const hsv = colord(value).toHsv();
|
74 |
-
convertedValue =
|
75 |
|
76 |
break;
|
77 |
|
78 |
-
case
|
79 |
convertedValue = colord(value).toHsv();
|
80 |
break;
|
81 |
|
82 |
-
case
|
83 |
// colord library doesn't provide .toHsvString() method yet.
|
84 |
const hsva = colord(value).toHsv();
|
85 |
-
convertedValue =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
|
87 |
break;
|
88 |
|
12 |
let convertedValue;
|
13 |
|
14 |
switch (pickerComponent) {
|
15 |
+
case "HexColorPicker":
|
16 |
convertedValue = colord(value).toHex();
|
17 |
break;
|
18 |
|
19 |
+
case "RgbColorPicker":
|
20 |
convertedValue = colord(value).toRgb();
|
21 |
delete convertedValue.a;
|
22 |
break;
|
23 |
|
24 |
+
case "RgbStringColorPicker":
|
25 |
convertedValue = colord(value).toRgbString();
|
26 |
break;
|
27 |
|
28 |
+
case "RgbaColorPicker":
|
29 |
convertedValue = colord(value).toRgb();
|
30 |
break;
|
31 |
|
32 |
+
case "RgbaStringColorPicker":
|
33 |
convertedValue = colord(value).toRgbString();
|
34 |
|
35 |
// Force to set the alpha channel value.
|
36 |
+
if (convertedValue.includes("rgb") && !convertedValue.includes("rgba")) {
|
37 |
+
convertedValue = convertedValue.replace("rgb", "rgba");
|
38 |
+
convertedValue = convertedValue.replace(")", ", 1)");
|
39 |
}
|
40 |
|
41 |
break;
|
42 |
|
43 |
+
case "HslColorPicker":
|
44 |
convertedValue = colord(value).toHsl();
|
45 |
delete convertedValue.a;
|
46 |
break;
|
47 |
|
48 |
+
case "HslStringColorPicker":
|
49 |
convertedValue = colord(value).toHslString();
|
50 |
break;
|
51 |
|
52 |
+
case "HslaColorPicker":
|
53 |
convertedValue = colord(value).toHsl();
|
54 |
break;
|
55 |
|
56 |
+
case "HslaStringColorPicker":
|
57 |
convertedValue = colord(value).toHslString();
|
58 |
|
59 |
// Force to set the alpha channel value.
|
60 |
+
if (convertedValue.includes("hsl") && !convertedValue.includes("hsla")) {
|
61 |
+
convertedValue = convertedValue.replace("hsl", "hsla");
|
62 |
+
convertedValue = convertedValue.replace(")", ", 1)");
|
63 |
}
|
64 |
|
65 |
break;
|
66 |
|
67 |
+
case "HsvColorPicker":
|
68 |
convertedValue = colord(value).toHsv();
|
69 |
delete convertedValue.a;
|
70 |
break;
|
71 |
|
72 |
+
case "HsvStringColorPicker":
|
73 |
const hsv = colord(value).toHsv();
|
74 |
+
convertedValue = "hsv(" + hsv.h + ", " + hsv.s + "%, " + hsv.v + "%)";
|
75 |
|
76 |
break;
|
77 |
|
78 |
+
case "HsvaColorPicker":
|
79 |
convertedValue = colord(value).toHsv();
|
80 |
break;
|
81 |
|
82 |
+
case "HsvaStringColorPicker":
|
83 |
// colord library doesn't provide .toHsvString() method yet.
|
84 |
const hsva = colord(value).toHsv();
|
85 |
+
convertedValue =
|
86 |
+
"hsva(" +
|
87 |
+
hsva.h +
|
88 |
+
", " +
|
89 |
+
hsva.s +
|
90 |
+
"%, " +
|
91 |
+
hsva.v +
|
92 |
+
"%, " +
|
93 |
+
hsva.a +
|
94 |
+
")";
|
95 |
|
96 |
break;
|
97 |
|
packages/kirki-framework/control-slider/composer.json
CHANGED
@@ -1,23 +1,23 @@
|
|
1 |
-
{
|
2 |
-
"name": "kirki-framework/control-range-slider",
|
3 |
-
"description": "Range slider control for the Kirki Customizer Framework",
|
4 |
-
"type": "library",
|
5 |
-
"homepage": "https://kirki.org/",
|
6 |
-
"license": "MIT",
|
7 |
-
"autoload": {
|
8 |
-
"psr-4": {
|
9 |
-
"Kirki\\Control\\": "src/Control",
|
10 |
-
"Kirki\\Field\\": "src/Field"
|
11 |
-
}
|
12 |
-
},
|
13 |
-
"authors": [
|
14 |
-
{
|
15 |
-
"name": "Kirki Framework",
|
16 |
-
"email": "connect@mapsteps.com"
|
17 |
-
}
|
18 |
-
],
|
19 |
-
"require": {
|
20 |
-
"php": ">=7.0",
|
21 |
-
"kirki-framework/control-base": "*"
|
22 |
-
}
|
23 |
-
}
|
1 |
+
{
|
2 |
+
"name": "kirki-framework/control-range-slider",
|
3 |
+
"description": "Range slider control for the Kirki Customizer Framework",
|
4 |
+
"type": "library",
|
5 |
+
"homepage": "https://kirki.org/",
|
6 |
+
"license": "MIT",
|
7 |
+
"autoload": {
|
8 |
+
"psr-4": {
|
9 |
+
"Kirki\\Control\\": "src/Control",
|
10 |
+
"Kirki\\Field\\": "src/Field"
|
11 |
+
}
|
12 |
+
},
|
13 |
+
"authors": [
|
14 |
+
{
|
15 |
+
"name": "Kirki Framework",
|
16 |
+
"email": "connect@mapsteps.com"
|
17 |
+
}
|
18 |
+
],
|
19 |
+
"require": {
|
20 |
+
"php": ">=7.0",
|
21 |
+
"kirki-framework/control-base": "*"
|
22 |
+
}
|
23 |
+
}
|
packages/kirki-framework/control-slider/dist/control.css
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
.customize-control-kirki-slider .kirki-control-label{position:relative;display:block}.customize-control-kirki-slider .customize-control-description{padding-right:30px}.customize-control-kirki-slider .kirki-control-form{position:relative;margin-bottom:12px}.customize-control-kirki-slider .kirki-control-form:hover .kirki-control-reset{opacity:1}.customize-control-kirki-slider .kirki-control-reset{display:flex;align-items:center;justify-content:center;right:0;bottom:22px;position:absolute;padding:0;width:16px;height:16px;color:#50575e;background-color:transparent;border-radius:50%;border-width:0;opacity:0;cursor:pointer;transition:all .3s;z-index:3}.customize-control-kirki-slider .kirki-control-reset:focus{opacity:1}.customize-control-kirki-slider .kirki-control-reset:hover i{color:red;transform:rotate(-45deg)}.customize-control-kirki-slider .kirki-control-reset i{font-size:12px;width:auto;height:auto;transform:rotate(45deg);transition:transform .3s}.customize-control-kirki-slider .kirki-control-cols{display:flex;align-items:center;justify-content:space-between}.customize-control-kirki-slider .kirki-control-left-col{width:90%;padding-right:13px}.customize-control-kirki-slider .kirki-control-right-col{width:10%;text-align:right}.customize-control-kirki-slider .kirki-control-input{font-size:12px;text-align:center;background-color:#f7f7f7;border-color:#bbb;border-radius:4px;z-index:2}.customize-control-kirki-slider .kirki-control-slider{position:relative;top:-1px;padding:0;margin:0;width:100%;height:5px;border-radius:2.5px;background-color:#bdc3c7;outline:none;-webkit-appearance:none}.customize-control-kirki-slider .kirki-control-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background-color:#f0f0f0;cursor:pointer;border:1px solid #999;box-shadow:none;-webkit-transition:background-color .15s ease-in-out,box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;transition:background-color .15s ease-in-out,box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}.customize-control-kirki-slider .kirki-control-slider::-webkit-slider-thumb:hover,.customize-control-kirki-slider .kirki-control-slider::-webkit-slider-thumb:focus{background-color:#e7e7e7}.customize-control-kirki-slider .kirki-control-slider:active::-webkit-slider-thumb{background-color:#e7e7e7}.customize-control-kirki-slider .kirki-control-slider::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background-color:#f0f0f0;cursor:pointer;border:1px solid #999;box-shadow:none;-moz-transition:background-color .15s ease-in-out,box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;transition:background-color .15s ease-in-out,box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}.customize-control-kirki-slider .kirki-control-slider::-moz-range-thumb:hover,.customize-control-kirki-slider .kirki-control-slider::-moz-range-thumb:focus{background-color:#e7e7e7}.customize-control-kirki-slider ::-moz-range-track{background-color:#bdc3c7;border:0}.customize-control-kirki-slider input::-moz-focus-inner,.customize-control-kirki-slider input::-moz-focus-outer{border:0}
|
2 |
-
|
3 |
/*# sourceMappingURL=control.css.map*/
|
1 |
+
.customize-control-kirki-slider .kirki-control-label{position:relative;display:block}.customize-control-kirki-slider .customize-control-description{padding-right:30px}.customize-control-kirki-slider .kirki-control-form{position:relative;margin-bottom:12px}.customize-control-kirki-slider .kirki-control-form:hover .kirki-control-reset{opacity:1}.customize-control-kirki-slider .kirki-control-reset{display:flex;align-items:center;justify-content:center;right:0;bottom:22px;position:absolute;padding:0;width:16px;height:16px;color:#50575e;background-color:transparent;border-radius:50%;border-width:0;opacity:0;cursor:pointer;transition:all .3s;z-index:3}.customize-control-kirki-slider .kirki-control-reset:focus{opacity:1}.customize-control-kirki-slider .kirki-control-reset:hover i{color:red;transform:rotate(-45deg)}.customize-control-kirki-slider .kirki-control-reset i{font-size:12px;width:auto;height:auto;transform:rotate(45deg);transition:transform .3s}.customize-control-kirki-slider .kirki-control-cols{display:flex;align-items:center;justify-content:space-between}.customize-control-kirki-slider .kirki-control-left-col{width:90%;padding-right:13px}.customize-control-kirki-slider .kirki-control-right-col{width:10%;text-align:right}.customize-control-kirki-slider .kirki-control-input{font-size:12px;text-align:center;background-color:#f7f7f7;border-color:#bbb;border-radius:4px;z-index:2}.customize-control-kirki-slider .kirki-control-slider{position:relative;top:-1px;padding:0;margin:0;width:100%;height:5px;border-radius:2.5px;background-color:#bdc3c7;outline:none;-webkit-appearance:none}.customize-control-kirki-slider .kirki-control-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background-color:#f0f0f0;cursor:pointer;border:1px solid #999;box-shadow:none;-webkit-transition:background-color .15s ease-in-out,box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;transition:background-color .15s ease-in-out,box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}.customize-control-kirki-slider .kirki-control-slider::-webkit-slider-thumb:hover,.customize-control-kirki-slider .kirki-control-slider::-webkit-slider-thumb:focus{background-color:#e7e7e7}.customize-control-kirki-slider .kirki-control-slider:active::-webkit-slider-thumb{background-color:#e7e7e7}.customize-control-kirki-slider .kirki-control-slider::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background-color:#f0f0f0;cursor:pointer;border:1px solid #999;box-shadow:none;-moz-transition:background-color .15s ease-in-out,box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;transition:background-color .15s ease-in-out,box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}.customize-control-kirki-slider .kirki-control-slider::-moz-range-thumb:hover,.customize-control-kirki-slider .kirki-control-slider::-moz-range-thumb:focus{background-color:#e7e7e7}.customize-control-kirki-slider ::-moz-range-track{background-color:#bdc3c7;border:0}.customize-control-kirki-slider input::-moz-focus-inner,.customize-control-kirki-slider input::-moz-focus-outer{border:0}
|
2 |
+
|
3 |
/*# sourceMappingURL=control.css.map*/
|
packages/kirki-framework/control-slider/dist/control.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
(()=>{"use strict";const t=React,e=function(e){var n=e.control,o=e.customizerSetting,a=e.choices,i="";n.updateComponentState=function(t){"slider"===i?s.current.textContent=t:"input"===i?l.current.value=t:"reset"===i&&(s.current.textContent=t,l.current.value=t)};var r="kirki-control-input-".concat(o.id),c=""!==e.value?e.value:0,l=(0,t.useRef)(null),s=(0,t.useRef)(null);return React.createElement("div",{className:"kirki-control-form",tabIndex:"1"},React.createElement("label",{className:"kirki-control-label",htmlFor:r},React.createElement("span",{className:"customize-control-title"},e.label),React.createElement("span",{className:"customize-control-description description",dangerouslySetInnerHTML:{__html:e.description}})),React.createElement("div",{className:"customize-control-notifications-container",ref:e.setNotificationContainer}),React.createElement("button",{type:"button",className:"kirki-control-reset",onClick:function(t){""!==e.default&&void 0!==e.default?(l.current.value=e.default,s.current.textContent=e.default):""!==e.value?(l.current.value=e.value,s.current.textContent=e.value):(l.current.value=a.min,s.current.textContent=""),i="reset",o.set(l.current.value)}},React.createElement("i",{className:"dashicons dashicons-image-rotate"})),React.createElement("div",{className:"kirki-control-cols"},React.createElement("div",{className:"kirki-control-left-col"},React.createElement("input",{ref:l,type:"range",id:r,defaultValue:c,min:a.min,max:a.max,step:a.step,className:"kirki-control-slider",onChange:function(t){i="range"===t.target.type?"slider":"input";var e=t.target.value;e<a.min&&(e=a.min),e>a.max&&(e=a.max),"input"===i&&(t.target.value=e),o.set(e)}})),React.createElement("div",{className:"kirki-control-
|
|