@native-systems/utility 2.3.1 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1723,4084 +1723,6 @@ var FormSanitizer = /*#__PURE__*/ (function () {
1723
1723
  return FormSanitizer;
1724
1724
  })();
1725
1725
 
1726
- var commonjsGlobal =
1727
- typeof globalThis !== 'undefined'
1728
- ? globalThis
1729
- : typeof window !== 'undefined'
1730
- ? window
1731
- : typeof global !== 'undefined'
1732
- ? global
1733
- : typeof self !== 'undefined'
1734
- ? self
1735
- : {};
1736
-
1737
- var colornames = { exports: {} };
1738
-
1739
- var colors = [
1740
- {
1741
- value: '#B0171F',
1742
- name: 'indian red',
1743
- },
1744
- {
1745
- value: '#DC143C',
1746
- css: true,
1747
- name: 'crimson',
1748
- },
1749
- {
1750
- value: '#FFB6C1',
1751
- css: true,
1752
- name: 'lightpink',
1753
- },
1754
- {
1755
- value: '#FFAEB9',
1756
- name: 'lightpink 1',
1757
- },
1758
- {
1759
- value: '#EEA2AD',
1760
- name: 'lightpink 2',
1761
- },
1762
- {
1763
- value: '#CD8C95',
1764
- name: 'lightpink 3',
1765
- },
1766
- {
1767
- value: '#8B5F65',
1768
- name: 'lightpink 4',
1769
- },
1770
- {
1771
- value: '#FFC0CB',
1772
- css: true,
1773
- name: 'pink',
1774
- },
1775
- {
1776
- value: '#FFB5C5',
1777
- name: 'pink 1',
1778
- },
1779
- {
1780
- value: '#EEA9B8',
1781
- name: 'pink 2',
1782
- },
1783
- {
1784
- value: '#CD919E',
1785
- name: 'pink 3',
1786
- },
1787
- {
1788
- value: '#8B636C',
1789
- name: 'pink 4',
1790
- },
1791
- {
1792
- value: '#DB7093',
1793
- css: true,
1794
- name: 'palevioletred',
1795
- },
1796
- {
1797
- value: '#FF82AB',
1798
- name: 'palevioletred 1',
1799
- },
1800
- {
1801
- value: '#EE799F',
1802
- name: 'palevioletred 2',
1803
- },
1804
- {
1805
- value: '#CD6889',
1806
- name: 'palevioletred 3',
1807
- },
1808
- {
1809
- value: '#8B475D',
1810
- name: 'palevioletred 4',
1811
- },
1812
- {
1813
- value: '#FFF0F5',
1814
- name: 'lavenderblush 1',
1815
- },
1816
- {
1817
- value: '#FFF0F5',
1818
- css: true,
1819
- name: 'lavenderblush',
1820
- },
1821
- {
1822
- value: '#EEE0E5',
1823
- name: 'lavenderblush 2',
1824
- },
1825
- {
1826
- value: '#CDC1C5',
1827
- name: 'lavenderblush 3',
1828
- },
1829
- {
1830
- value: '#8B8386',
1831
- name: 'lavenderblush 4',
1832
- },
1833
- {
1834
- value: '#FF3E96',
1835
- name: 'violetred 1',
1836
- },
1837
- {
1838
- value: '#EE3A8C',
1839
- name: 'violetred 2',
1840
- },
1841
- {
1842
- value: '#CD3278',
1843
- name: 'violetred 3',
1844
- },
1845
- {
1846
- value: '#8B2252',
1847
- name: 'violetred 4',
1848
- },
1849
- {
1850
- value: '#FF69B4',
1851
- css: true,
1852
- name: 'hotpink',
1853
- },
1854
- {
1855
- value: '#FF6EB4',
1856
- name: 'hotpink 1',
1857
- },
1858
- {
1859
- value: '#EE6AA7',
1860
- name: 'hotpink 2',
1861
- },
1862
- {
1863
- value: '#CD6090',
1864
- name: 'hotpink 3',
1865
- },
1866
- {
1867
- value: '#8B3A62',
1868
- name: 'hotpink 4',
1869
- },
1870
- {
1871
- value: '#872657',
1872
- name: 'raspberry',
1873
- },
1874
- {
1875
- value: '#FF1493',
1876
- name: 'deeppink 1',
1877
- },
1878
- {
1879
- value: '#FF1493',
1880
- css: true,
1881
- name: 'deeppink',
1882
- },
1883
- {
1884
- value: '#EE1289',
1885
- name: 'deeppink 2',
1886
- },
1887
- {
1888
- value: '#CD1076',
1889
- name: 'deeppink 3',
1890
- },
1891
- {
1892
- value: '#8B0A50',
1893
- name: 'deeppink 4',
1894
- },
1895
- {
1896
- value: '#FF34B3',
1897
- name: 'maroon 1',
1898
- },
1899
- {
1900
- value: '#EE30A7',
1901
- name: 'maroon 2',
1902
- },
1903
- {
1904
- value: '#CD2990',
1905
- name: 'maroon 3',
1906
- },
1907
- {
1908
- value: '#8B1C62',
1909
- name: 'maroon 4',
1910
- },
1911
- {
1912
- value: '#C71585',
1913
- css: true,
1914
- name: 'mediumvioletred',
1915
- },
1916
- {
1917
- value: '#D02090',
1918
- name: 'violetred',
1919
- },
1920
- {
1921
- value: '#DA70D6',
1922
- css: true,
1923
- name: 'orchid',
1924
- },
1925
- {
1926
- value: '#FF83FA',
1927
- name: 'orchid 1',
1928
- },
1929
- {
1930
- value: '#EE7AE9',
1931
- name: 'orchid 2',
1932
- },
1933
- {
1934
- value: '#CD69C9',
1935
- name: 'orchid 3',
1936
- },
1937
- {
1938
- value: '#8B4789',
1939
- name: 'orchid 4',
1940
- },
1941
- {
1942
- value: '#D8BFD8',
1943
- css: true,
1944
- name: 'thistle',
1945
- },
1946
- {
1947
- value: '#FFE1FF',
1948
- name: 'thistle 1',
1949
- },
1950
- {
1951
- value: '#EED2EE',
1952
- name: 'thistle 2',
1953
- },
1954
- {
1955
- value: '#CDB5CD',
1956
- name: 'thistle 3',
1957
- },
1958
- {
1959
- value: '#8B7B8B',
1960
- name: 'thistle 4',
1961
- },
1962
- {
1963
- value: '#FFBBFF',
1964
- name: 'plum 1',
1965
- },
1966
- {
1967
- value: '#EEAEEE',
1968
- name: 'plum 2',
1969
- },
1970
- {
1971
- value: '#CD96CD',
1972
- name: 'plum 3',
1973
- },
1974
- {
1975
- value: '#8B668B',
1976
- name: 'plum 4',
1977
- },
1978
- {
1979
- value: '#DDA0DD',
1980
- css: true,
1981
- name: 'plum',
1982
- },
1983
- {
1984
- value: '#EE82EE',
1985
- css: true,
1986
- name: 'violet',
1987
- },
1988
- {
1989
- value: '#FF00FF',
1990
- vga: true,
1991
- name: 'magenta',
1992
- },
1993
- {
1994
- value: '#FF00FF',
1995
- vga: true,
1996
- css: true,
1997
- name: 'fuchsia',
1998
- },
1999
- {
2000
- value: '#EE00EE',
2001
- name: 'magenta 2',
2002
- },
2003
- {
2004
- value: '#CD00CD',
2005
- name: 'magenta 3',
2006
- },
2007
- {
2008
- value: '#8B008B',
2009
- name: 'magenta 4',
2010
- },
2011
- {
2012
- value: '#8B008B',
2013
- css: true,
2014
- name: 'darkmagenta',
2015
- },
2016
- {
2017
- value: '#800080',
2018
- vga: true,
2019
- css: true,
2020
- name: 'purple',
2021
- },
2022
- {
2023
- value: '#BA55D3',
2024
- css: true,
2025
- name: 'mediumorchid',
2026
- },
2027
- {
2028
- value: '#E066FF',
2029
- name: 'mediumorchid 1',
2030
- },
2031
- {
2032
- value: '#D15FEE',
2033
- name: 'mediumorchid 2',
2034
- },
2035
- {
2036
- value: '#B452CD',
2037
- name: 'mediumorchid 3',
2038
- },
2039
- {
2040
- value: '#7A378B',
2041
- name: 'mediumorchid 4',
2042
- },
2043
- {
2044
- value: '#9400D3',
2045
- css: true,
2046
- name: 'darkviolet',
2047
- },
2048
- {
2049
- value: '#9932CC',
2050
- css: true,
2051
- name: 'darkorchid',
2052
- },
2053
- {
2054
- value: '#BF3EFF',
2055
- name: 'darkorchid 1',
2056
- },
2057
- {
2058
- value: '#B23AEE',
2059
- name: 'darkorchid 2',
2060
- },
2061
- {
2062
- value: '#9A32CD',
2063
- name: 'darkorchid 3',
2064
- },
2065
- {
2066
- value: '#68228B',
2067
- name: 'darkorchid 4',
2068
- },
2069
- {
2070
- value: '#4B0082',
2071
- css: true,
2072
- name: 'indigo',
2073
- },
2074
- {
2075
- value: '#8A2BE2',
2076
- css: true,
2077
- name: 'blueviolet',
2078
- },
2079
- {
2080
- value: '#9B30FF',
2081
- name: 'purple 1',
2082
- },
2083
- {
2084
- value: '#912CEE',
2085
- name: 'purple 2',
2086
- },
2087
- {
2088
- value: '#7D26CD',
2089
- name: 'purple 3',
2090
- },
2091
- {
2092
- value: '#551A8B',
2093
- name: 'purple 4',
2094
- },
2095
- {
2096
- value: '#9370DB',
2097
- css: true,
2098
- name: 'mediumpurple',
2099
- },
2100
- {
2101
- value: '#AB82FF',
2102
- name: 'mediumpurple 1',
2103
- },
2104
- {
2105
- value: '#9F79EE',
2106
- name: 'mediumpurple 2',
2107
- },
2108
- {
2109
- value: '#8968CD',
2110
- name: 'mediumpurple 3',
2111
- },
2112
- {
2113
- value: '#5D478B',
2114
- name: 'mediumpurple 4',
2115
- },
2116
- {
2117
- value: '#483D8B',
2118
- css: true,
2119
- name: 'darkslateblue',
2120
- },
2121
- {
2122
- value: '#8470FF',
2123
- name: 'lightslateblue',
2124
- },
2125
- {
2126
- value: '#7B68EE',
2127
- css: true,
2128
- name: 'mediumslateblue',
2129
- },
2130
- {
2131
- value: '#6A5ACD',
2132
- css: true,
2133
- name: 'slateblue',
2134
- },
2135
- {
2136
- value: '#836FFF',
2137
- name: 'slateblue 1',
2138
- },
2139
- {
2140
- value: '#7A67EE',
2141
- name: 'slateblue 2',
2142
- },
2143
- {
2144
- value: '#6959CD',
2145
- name: 'slateblue 3',
2146
- },
2147
- {
2148
- value: '#473C8B',
2149
- name: 'slateblue 4',
2150
- },
2151
- {
2152
- value: '#F8F8FF',
2153
- css: true,
2154
- name: 'ghostwhite',
2155
- },
2156
- {
2157
- value: '#E6E6FA',
2158
- css: true,
2159
- name: 'lavender',
2160
- },
2161
- {
2162
- value: '#0000FF',
2163
- vga: true,
2164
- css: true,
2165
- name: 'blue',
2166
- },
2167
- {
2168
- value: '#0000EE',
2169
- name: 'blue 2',
2170
- },
2171
- {
2172
- value: '#0000CD',
2173
- name: 'blue 3',
2174
- },
2175
- {
2176
- value: '#0000CD',
2177
- css: true,
2178
- name: 'mediumblue',
2179
- },
2180
- {
2181
- value: '#00008B',
2182
- name: 'blue 4',
2183
- },
2184
- {
2185
- value: '#00008B',
2186
- css: true,
2187
- name: 'darkblue',
2188
- },
2189
- {
2190
- value: '#000080',
2191
- vga: true,
2192
- css: true,
2193
- name: 'navy',
2194
- },
2195
- {
2196
- value: '#191970',
2197
- css: true,
2198
- name: 'midnightblue',
2199
- },
2200
- {
2201
- value: '#3D59AB',
2202
- name: 'cobalt',
2203
- },
2204
- {
2205
- value: '#4169E1',
2206
- css: true,
2207
- name: 'royalblue',
2208
- },
2209
- {
2210
- value: '#4876FF',
2211
- name: 'royalblue 1',
2212
- },
2213
- {
2214
- value: '#436EEE',
2215
- name: 'royalblue 2',
2216
- },
2217
- {
2218
- value: '#3A5FCD',
2219
- name: 'royalblue 3',
2220
- },
2221
- {
2222
- value: '#27408B',
2223
- name: 'royalblue 4',
2224
- },
2225
- {
2226
- value: '#6495ED',
2227
- css: true,
2228
- name: 'cornflowerblue',
2229
- },
2230
- {
2231
- value: '#B0C4DE',
2232
- css: true,
2233
- name: 'lightsteelblue',
2234
- },
2235
- {
2236
- value: '#CAE1FF',
2237
- name: 'lightsteelblue 1',
2238
- },
2239
- {
2240
- value: '#BCD2EE',
2241
- name: 'lightsteelblue 2',
2242
- },
2243
- {
2244
- value: '#A2B5CD',
2245
- name: 'lightsteelblue 3',
2246
- },
2247
- {
2248
- value: '#6E7B8B',
2249
- name: 'lightsteelblue 4',
2250
- },
2251
- {
2252
- value: '#778899',
2253
- css: true,
2254
- name: 'lightslategray',
2255
- },
2256
- {
2257
- value: '#708090',
2258
- css: true,
2259
- name: 'slategray',
2260
- },
2261
- {
2262
- value: '#C6E2FF',
2263
- name: 'slategray 1',
2264
- },
2265
- {
2266
- value: '#B9D3EE',
2267
- name: 'slategray 2',
2268
- },
2269
- {
2270
- value: '#9FB6CD',
2271
- name: 'slategray 3',
2272
- },
2273
- {
2274
- value: '#6C7B8B',
2275
- name: 'slategray 4',
2276
- },
2277
- {
2278
- value: '#1E90FF',
2279
- name: 'dodgerblue 1',
2280
- },
2281
- {
2282
- value: '#1E90FF',
2283
- css: true,
2284
- name: 'dodgerblue',
2285
- },
2286
- {
2287
- value: '#1C86EE',
2288
- name: 'dodgerblue 2',
2289
- },
2290
- {
2291
- value: '#1874CD',
2292
- name: 'dodgerblue 3',
2293
- },
2294
- {
2295
- value: '#104E8B',
2296
- name: 'dodgerblue 4',
2297
- },
2298
- {
2299
- value: '#F0F8FF',
2300
- css: true,
2301
- name: 'aliceblue',
2302
- },
2303
- {
2304
- value: '#4682B4',
2305
- css: true,
2306
- name: 'steelblue',
2307
- },
2308
- {
2309
- value: '#63B8FF',
2310
- name: 'steelblue 1',
2311
- },
2312
- {
2313
- value: '#5CACEE',
2314
- name: 'steelblue 2',
2315
- },
2316
- {
2317
- value: '#4F94CD',
2318
- name: 'steelblue 3',
2319
- },
2320
- {
2321
- value: '#36648B',
2322
- name: 'steelblue 4',
2323
- },
2324
- {
2325
- value: '#87CEFA',
2326
- css: true,
2327
- name: 'lightskyblue',
2328
- },
2329
- {
2330
- value: '#B0E2FF',
2331
- name: 'lightskyblue 1',
2332
- },
2333
- {
2334
- value: '#A4D3EE',
2335
- name: 'lightskyblue 2',
2336
- },
2337
- {
2338
- value: '#8DB6CD',
2339
- name: 'lightskyblue 3',
2340
- },
2341
- {
2342
- value: '#607B8B',
2343
- name: 'lightskyblue 4',
2344
- },
2345
- {
2346
- value: '#87CEFF',
2347
- name: 'skyblue 1',
2348
- },
2349
- {
2350
- value: '#7EC0EE',
2351
- name: 'skyblue 2',
2352
- },
2353
- {
2354
- value: '#6CA6CD',
2355
- name: 'skyblue 3',
2356
- },
2357
- {
2358
- value: '#4A708B',
2359
- name: 'skyblue 4',
2360
- },
2361
- {
2362
- value: '#87CEEB',
2363
- css: true,
2364
- name: 'skyblue',
2365
- },
2366
- {
2367
- value: '#00BFFF',
2368
- name: 'deepskyblue 1',
2369
- },
2370
- {
2371
- value: '#00BFFF',
2372
- css: true,
2373
- name: 'deepskyblue',
2374
- },
2375
- {
2376
- value: '#00B2EE',
2377
- name: 'deepskyblue 2',
2378
- },
2379
- {
2380
- value: '#009ACD',
2381
- name: 'deepskyblue 3',
2382
- },
2383
- {
2384
- value: '#00688B',
2385
- name: 'deepskyblue 4',
2386
- },
2387
- {
2388
- value: '#33A1C9',
2389
- name: 'peacock',
2390
- },
2391
- {
2392
- value: '#ADD8E6',
2393
- css: true,
2394
- name: 'lightblue',
2395
- },
2396
- {
2397
- value: '#BFEFFF',
2398
- name: 'lightblue 1',
2399
- },
2400
- {
2401
- value: '#B2DFEE',
2402
- name: 'lightblue 2',
2403
- },
2404
- {
2405
- value: '#9AC0CD',
2406
- name: 'lightblue 3',
2407
- },
2408
- {
2409
- value: '#68838B',
2410
- name: 'lightblue 4',
2411
- },
2412
- {
2413
- value: '#B0E0E6',
2414
- css: true,
2415
- name: 'powderblue',
2416
- },
2417
- {
2418
- value: '#98F5FF',
2419
- name: 'cadetblue 1',
2420
- },
2421
- {
2422
- value: '#8EE5EE',
2423
- name: 'cadetblue 2',
2424
- },
2425
- {
2426
- value: '#7AC5CD',
2427
- name: 'cadetblue 3',
2428
- },
2429
- {
2430
- value: '#53868B',
2431
- name: 'cadetblue 4',
2432
- },
2433
- {
2434
- value: '#00F5FF',
2435
- name: 'turquoise 1',
2436
- },
2437
- {
2438
- value: '#00E5EE',
2439
- name: 'turquoise 2',
2440
- },
2441
- {
2442
- value: '#00C5CD',
2443
- name: 'turquoise 3',
2444
- },
2445
- {
2446
- value: '#00868B',
2447
- name: 'turquoise 4',
2448
- },
2449
- {
2450
- value: '#5F9EA0',
2451
- css: true,
2452
- name: 'cadetblue',
2453
- },
2454
- {
2455
- value: '#00CED1',
2456
- css: true,
2457
- name: 'darkturquoise',
2458
- },
2459
- {
2460
- value: '#F0FFFF',
2461
- name: 'azure 1',
2462
- },
2463
- {
2464
- value: '#F0FFFF',
2465
- css: true,
2466
- name: 'azure',
2467
- },
2468
- {
2469
- value: '#E0EEEE',
2470
- name: 'azure 2',
2471
- },
2472
- {
2473
- value: '#C1CDCD',
2474
- name: 'azure 3',
2475
- },
2476
- {
2477
- value: '#838B8B',
2478
- name: 'azure 4',
2479
- },
2480
- {
2481
- value: '#E0FFFF',
2482
- name: 'lightcyan 1',
2483
- },
2484
- {
2485
- value: '#E0FFFF',
2486
- css: true,
2487
- name: 'lightcyan',
2488
- },
2489
- {
2490
- value: '#D1EEEE',
2491
- name: 'lightcyan 2',
2492
- },
2493
- {
2494
- value: '#B4CDCD',
2495
- name: 'lightcyan 3',
2496
- },
2497
- {
2498
- value: '#7A8B8B',
2499
- name: 'lightcyan 4',
2500
- },
2501
- {
2502
- value: '#BBFFFF',
2503
- name: 'paleturquoise 1',
2504
- },
2505
- {
2506
- value: '#AEEEEE',
2507
- name: 'paleturquoise 2',
2508
- },
2509
- {
2510
- value: '#AEEEEE',
2511
- css: true,
2512
- name: 'paleturquoise',
2513
- },
2514
- {
2515
- value: '#96CDCD',
2516
- name: 'paleturquoise 3',
2517
- },
2518
- {
2519
- value: '#668B8B',
2520
- name: 'paleturquoise 4',
2521
- },
2522
- {
2523
- value: '#2F4F4F',
2524
- css: true,
2525
- name: 'darkslategray',
2526
- },
2527
- {
2528
- value: '#97FFFF',
2529
- name: 'darkslategray 1',
2530
- },
2531
- {
2532
- value: '#8DEEEE',
2533
- name: 'darkslategray 2',
2534
- },
2535
- {
2536
- value: '#79CDCD',
2537
- name: 'darkslategray 3',
2538
- },
2539
- {
2540
- value: '#528B8B',
2541
- name: 'darkslategray 4',
2542
- },
2543
- {
2544
- value: '#00FFFF',
2545
- name: 'cyan',
2546
- },
2547
- {
2548
- value: '#00FFFF',
2549
- css: true,
2550
- name: 'aqua',
2551
- },
2552
- {
2553
- value: '#00EEEE',
2554
- name: 'cyan 2',
2555
- },
2556
- {
2557
- value: '#00CDCD',
2558
- name: 'cyan 3',
2559
- },
2560
- {
2561
- value: '#008B8B',
2562
- name: 'cyan 4',
2563
- },
2564
- {
2565
- value: '#008B8B',
2566
- css: true,
2567
- name: 'darkcyan',
2568
- },
2569
- {
2570
- value: '#008080',
2571
- vga: true,
2572
- css: true,
2573
- name: 'teal',
2574
- },
2575
- {
2576
- value: '#48D1CC',
2577
- css: true,
2578
- name: 'mediumturquoise',
2579
- },
2580
- {
2581
- value: '#20B2AA',
2582
- css: true,
2583
- name: 'lightseagreen',
2584
- },
2585
- {
2586
- value: '#03A89E',
2587
- name: 'manganeseblue',
2588
- },
2589
- {
2590
- value: '#40E0D0',
2591
- css: true,
2592
- name: 'turquoise',
2593
- },
2594
- {
2595
- value: '#808A87',
2596
- name: 'coldgrey',
2597
- },
2598
- {
2599
- value: '#00C78C',
2600
- name: 'turquoiseblue',
2601
- },
2602
- {
2603
- value: '#7FFFD4',
2604
- name: 'aquamarine 1',
2605
- },
2606
- {
2607
- value: '#7FFFD4',
2608
- css: true,
2609
- name: 'aquamarine',
2610
- },
2611
- {
2612
- value: '#76EEC6',
2613
- name: 'aquamarine 2',
2614
- },
2615
- {
2616
- value: '#66CDAA',
2617
- name: 'aquamarine 3',
2618
- },
2619
- {
2620
- value: '#66CDAA',
2621
- css: true,
2622
- name: 'mediumaquamarine',
2623
- },
2624
- {
2625
- value: '#458B74',
2626
- name: 'aquamarine 4',
2627
- },
2628
- {
2629
- value: '#00FA9A',
2630
- css: true,
2631
- name: 'mediumspringgreen',
2632
- },
2633
- {
2634
- value: '#F5FFFA',
2635
- css: true,
2636
- name: 'mintcream',
2637
- },
2638
- {
2639
- value: '#00FF7F',
2640
- css: true,
2641
- name: 'springgreen',
2642
- },
2643
- {
2644
- value: '#00EE76',
2645
- name: 'springgreen 1',
2646
- },
2647
- {
2648
- value: '#00CD66',
2649
- name: 'springgreen 2',
2650
- },
2651
- {
2652
- value: '#008B45',
2653
- name: 'springgreen 3',
2654
- },
2655
- {
2656
- value: '#3CB371',
2657
- css: true,
2658
- name: 'mediumseagreen',
2659
- },
2660
- {
2661
- value: '#54FF9F',
2662
- name: 'seagreen 1',
2663
- },
2664
- {
2665
- value: '#4EEE94',
2666
- name: 'seagreen 2',
2667
- },
2668
- {
2669
- value: '#43CD80',
2670
- name: 'seagreen 3',
2671
- },
2672
- {
2673
- value: '#2E8B57',
2674
- name: 'seagreen 4',
2675
- },
2676
- {
2677
- value: '#2E8B57',
2678
- css: true,
2679
- name: 'seagreen',
2680
- },
2681
- {
2682
- value: '#00C957',
2683
- name: 'emeraldgreen',
2684
- },
2685
- {
2686
- value: '#BDFCC9',
2687
- name: 'mint',
2688
- },
2689
- {
2690
- value: '#3D9140',
2691
- name: 'cobaltgreen',
2692
- },
2693
- {
2694
- value: '#F0FFF0',
2695
- name: 'honeydew 1',
2696
- },
2697
- {
2698
- value: '#F0FFF0',
2699
- css: true,
2700
- name: 'honeydew',
2701
- },
2702
- {
2703
- value: '#E0EEE0',
2704
- name: 'honeydew 2',
2705
- },
2706
- {
2707
- value: '#C1CDC1',
2708
- name: 'honeydew 3',
2709
- },
2710
- {
2711
- value: '#838B83',
2712
- name: 'honeydew 4',
2713
- },
2714
- {
2715
- value: '#8FBC8F',
2716
- css: true,
2717
- name: 'darkseagreen',
2718
- },
2719
- {
2720
- value: '#C1FFC1',
2721
- name: 'darkseagreen 1',
2722
- },
2723
- {
2724
- value: '#B4EEB4',
2725
- name: 'darkseagreen 2',
2726
- },
2727
- {
2728
- value: '#9BCD9B',
2729
- name: 'darkseagreen 3',
2730
- },
2731
- {
2732
- value: '#698B69',
2733
- name: 'darkseagreen 4',
2734
- },
2735
- {
2736
- value: '#98FB98',
2737
- css: true,
2738
- name: 'palegreen',
2739
- },
2740
- {
2741
- value: '#9AFF9A',
2742
- name: 'palegreen 1',
2743
- },
2744
- {
2745
- value: '#90EE90',
2746
- name: 'palegreen 2',
2747
- },
2748
- {
2749
- value: '#90EE90',
2750
- css: true,
2751
- name: 'lightgreen',
2752
- },
2753
- {
2754
- value: '#7CCD7C',
2755
- name: 'palegreen 3',
2756
- },
2757
- {
2758
- value: '#548B54',
2759
- name: 'palegreen 4',
2760
- },
2761
- {
2762
- value: '#32CD32',
2763
- css: true,
2764
- name: 'limegreen',
2765
- },
2766
- {
2767
- value: '#228B22',
2768
- css: true,
2769
- name: 'forestgreen',
2770
- },
2771
- {
2772
- value: '#00FF00',
2773
- vga: true,
2774
- name: 'green 1',
2775
- },
2776
- {
2777
- value: '#00FF00',
2778
- vga: true,
2779
- css: true,
2780
- name: 'lime',
2781
- },
2782
- {
2783
- value: '#00EE00',
2784
- name: 'green 2',
2785
- },
2786
- {
2787
- value: '#00CD00',
2788
- name: 'green 3',
2789
- },
2790
- {
2791
- value: '#008B00',
2792
- name: 'green 4',
2793
- },
2794
- {
2795
- value: '#008000',
2796
- vga: true,
2797
- css: true,
2798
- name: 'green',
2799
- },
2800
- {
2801
- value: '#006400',
2802
- css: true,
2803
- name: 'darkgreen',
2804
- },
2805
- {
2806
- value: '#308014',
2807
- name: 'sapgreen',
2808
- },
2809
- {
2810
- value: '#7CFC00',
2811
- css: true,
2812
- name: 'lawngreen',
2813
- },
2814
- {
2815
- value: '#7FFF00',
2816
- name: 'chartreuse 1',
2817
- },
2818
- {
2819
- value: '#7FFF00',
2820
- css: true,
2821
- name: 'chartreuse',
2822
- },
2823
- {
2824
- value: '#76EE00',
2825
- name: 'chartreuse 2',
2826
- },
2827
- {
2828
- value: '#66CD00',
2829
- name: 'chartreuse 3',
2830
- },
2831
- {
2832
- value: '#458B00',
2833
- name: 'chartreuse 4',
2834
- },
2835
- {
2836
- value: '#ADFF2F',
2837
- css: true,
2838
- name: 'greenyellow',
2839
- },
2840
- {
2841
- value: '#CAFF70',
2842
- name: 'darkolivegreen 1',
2843
- },
2844
- {
2845
- value: '#BCEE68',
2846
- name: 'darkolivegreen 2',
2847
- },
2848
- {
2849
- value: '#A2CD5A',
2850
- name: 'darkolivegreen 3',
2851
- },
2852
- {
2853
- value: '#6E8B3D',
2854
- name: 'darkolivegreen 4',
2855
- },
2856
- {
2857
- value: '#556B2F',
2858
- css: true,
2859
- name: 'darkolivegreen',
2860
- },
2861
- {
2862
- value: '#6B8E23',
2863
- css: true,
2864
- name: 'olivedrab',
2865
- },
2866
- {
2867
- value: '#C0FF3E',
2868
- name: 'olivedrab 1',
2869
- },
2870
- {
2871
- value: '#B3EE3A',
2872
- name: 'olivedrab 2',
2873
- },
2874
- {
2875
- value: '#9ACD32',
2876
- name: 'olivedrab 3',
2877
- },
2878
- {
2879
- value: '#9ACD32',
2880
- css: true,
2881
- name: 'yellowgreen',
2882
- },
2883
- {
2884
- value: '#698B22',
2885
- name: 'olivedrab 4',
2886
- },
2887
- {
2888
- value: '#FFFFF0',
2889
- name: 'ivory 1',
2890
- },
2891
- {
2892
- value: '#FFFFF0',
2893
- css: true,
2894
- name: 'ivory',
2895
- },
2896
- {
2897
- value: '#EEEEE0',
2898
- name: 'ivory 2',
2899
- },
2900
- {
2901
- value: '#CDCDC1',
2902
- name: 'ivory 3',
2903
- },
2904
- {
2905
- value: '#8B8B83',
2906
- name: 'ivory 4',
2907
- },
2908
- {
2909
- value: '#F5F5DC',
2910
- css: true,
2911
- name: 'beige',
2912
- },
2913
- {
2914
- value: '#FFFFE0',
2915
- name: 'lightyellow 1',
2916
- },
2917
- {
2918
- value: '#FFFFE0',
2919
- css: true,
2920
- name: 'lightyellow',
2921
- },
2922
- {
2923
- value: '#EEEED1',
2924
- name: 'lightyellow 2',
2925
- },
2926
- {
2927
- value: '#CDCDB4',
2928
- name: 'lightyellow 3',
2929
- },
2930
- {
2931
- value: '#8B8B7A',
2932
- name: 'lightyellow 4',
2933
- },
2934
- {
2935
- value: '#FAFAD2',
2936
- css: true,
2937
- name: 'lightgoldenrodyellow',
2938
- },
2939
- {
2940
- value: '#FFFF00',
2941
- vga: true,
2942
- name: 'yellow 1',
2943
- },
2944
- {
2945
- value: '#FFFF00',
2946
- vga: true,
2947
- css: true,
2948
- name: 'yellow',
2949
- },
2950
- {
2951
- value: '#EEEE00',
2952
- name: 'yellow 2',
2953
- },
2954
- {
2955
- value: '#CDCD00',
2956
- name: 'yellow 3',
2957
- },
2958
- {
2959
- value: '#8B8B00',
2960
- name: 'yellow 4',
2961
- },
2962
- {
2963
- value: '#808069',
2964
- name: 'warmgrey',
2965
- },
2966
- {
2967
- value: '#808000',
2968
- vga: true,
2969
- css: true,
2970
- name: 'olive',
2971
- },
2972
- {
2973
- value: '#BDB76B',
2974
- css: true,
2975
- name: 'darkkhaki',
2976
- },
2977
- {
2978
- value: '#FFF68F',
2979
- name: 'khaki 1',
2980
- },
2981
- {
2982
- value: '#EEE685',
2983
- name: 'khaki 2',
2984
- },
2985
- {
2986
- value: '#CDC673',
2987
- name: 'khaki 3',
2988
- },
2989
- {
2990
- value: '#8B864E',
2991
- name: 'khaki 4',
2992
- },
2993
- {
2994
- value: '#F0E68C',
2995
- css: true,
2996
- name: 'khaki',
2997
- },
2998
- {
2999
- value: '#EEE8AA',
3000
- css: true,
3001
- name: 'palegoldenrod',
3002
- },
3003
- {
3004
- value: '#FFFACD',
3005
- name: 'lemonchiffon 1',
3006
- },
3007
- {
3008
- value: '#FFFACD',
3009
- css: true,
3010
- name: 'lemonchiffon',
3011
- },
3012
- {
3013
- value: '#EEE9BF',
3014
- name: 'lemonchiffon 2',
3015
- },
3016
- {
3017
- value: '#CDC9A5',
3018
- name: 'lemonchiffon 3',
3019
- },
3020
- {
3021
- value: '#8B8970',
3022
- name: 'lemonchiffon 4',
3023
- },
3024
- {
3025
- value: '#FFEC8B',
3026
- name: 'lightgoldenrod 1',
3027
- },
3028
- {
3029
- value: '#EEDC82',
3030
- name: 'lightgoldenrod 2',
3031
- },
3032
- {
3033
- value: '#CDBE70',
3034
- name: 'lightgoldenrod 3',
3035
- },
3036
- {
3037
- value: '#8B814C',
3038
- name: 'lightgoldenrod 4',
3039
- },
3040
- {
3041
- value: '#E3CF57',
3042
- name: 'banana',
3043
- },
3044
- {
3045
- value: '#FFD700',
3046
- name: 'gold 1',
3047
- },
3048
- {
3049
- value: '#FFD700',
3050
- css: true,
3051
- name: 'gold',
3052
- },
3053
- {
3054
- value: '#EEC900',
3055
- name: 'gold 2',
3056
- },
3057
- {
3058
- value: '#CDAD00',
3059
- name: 'gold 3',
3060
- },
3061
- {
3062
- value: '#8B7500',
3063
- name: 'gold 4',
3064
- },
3065
- {
3066
- value: '#FFF8DC',
3067
- name: 'cornsilk 1',
3068
- },
3069
- {
3070
- value: '#FFF8DC',
3071
- css: true,
3072
- name: 'cornsilk',
3073
- },
3074
- {
3075
- value: '#EEE8CD',
3076
- name: 'cornsilk 2',
3077
- },
3078
- {
3079
- value: '#CDC8B1',
3080
- name: 'cornsilk 3',
3081
- },
3082
- {
3083
- value: '#8B8878',
3084
- name: 'cornsilk 4',
3085
- },
3086
- {
3087
- value: '#DAA520',
3088
- css: true,
3089
- name: 'goldenrod',
3090
- },
3091
- {
3092
- value: '#FFC125',
3093
- name: 'goldenrod 1',
3094
- },
3095
- {
3096
- value: '#EEB422',
3097
- name: 'goldenrod 2',
3098
- },
3099
- {
3100
- value: '#CD9B1D',
3101
- name: 'goldenrod 3',
3102
- },
3103
- {
3104
- value: '#8B6914',
3105
- name: 'goldenrod 4',
3106
- },
3107
- {
3108
- value: '#B8860B',
3109
- css: true,
3110
- name: 'darkgoldenrod',
3111
- },
3112
- {
3113
- value: '#FFB90F',
3114
- name: 'darkgoldenrod 1',
3115
- },
3116
- {
3117
- value: '#EEAD0E',
3118
- name: 'darkgoldenrod 2',
3119
- },
3120
- {
3121
- value: '#CD950C',
3122
- name: 'darkgoldenrod 3',
3123
- },
3124
- {
3125
- value: '#8B6508',
3126
- name: 'darkgoldenrod 4',
3127
- },
3128
- {
3129
- value: '#FFA500',
3130
- name: 'orange 1',
3131
- },
3132
- {
3133
- value: '#FF8000',
3134
- css: true,
3135
- name: 'orange',
3136
- },
3137
- {
3138
- value: '#EE9A00',
3139
- name: 'orange 2',
3140
- },
3141
- {
3142
- value: '#CD8500',
3143
- name: 'orange 3',
3144
- },
3145
- {
3146
- value: '#8B5A00',
3147
- name: 'orange 4',
3148
- },
3149
- {
3150
- value: '#FFFAF0',
3151
- css: true,
3152
- name: 'floralwhite',
3153
- },
3154
- {
3155
- value: '#FDF5E6',
3156
- css: true,
3157
- name: 'oldlace',
3158
- },
3159
- {
3160
- value: '#F5DEB3',
3161
- css: true,
3162
- name: 'wheat',
3163
- },
3164
- {
3165
- value: '#FFE7BA',
3166
- name: 'wheat 1',
3167
- },
3168
- {
3169
- value: '#EED8AE',
3170
- name: 'wheat 2',
3171
- },
3172
- {
3173
- value: '#CDBA96',
3174
- name: 'wheat 3',
3175
- },
3176
- {
3177
- value: '#8B7E66',
3178
- name: 'wheat 4',
3179
- },
3180
- {
3181
- value: '#FFE4B5',
3182
- css: true,
3183
- name: 'moccasin',
3184
- },
3185
- {
3186
- value: '#FFEFD5',
3187
- css: true,
3188
- name: 'papayawhip',
3189
- },
3190
- {
3191
- value: '#FFEBCD',
3192
- css: true,
3193
- name: 'blanchedalmond',
3194
- },
3195
- {
3196
- value: '#FFDEAD',
3197
- name: 'navajowhite 1',
3198
- },
3199
- {
3200
- value: '#FFDEAD',
3201
- css: true,
3202
- name: 'navajowhite',
3203
- },
3204
- {
3205
- value: '#EECFA1',
3206
- name: 'navajowhite 2',
3207
- },
3208
- {
3209
- value: '#CDB38B',
3210
- name: 'navajowhite 3',
3211
- },
3212
- {
3213
- value: '#8B795E',
3214
- name: 'navajowhite 4',
3215
- },
3216
- {
3217
- value: '#FCE6C9',
3218
- name: 'eggshell',
3219
- },
3220
- {
3221
- value: '#D2B48C',
3222
- css: true,
3223
- name: 'tan',
3224
- },
3225
- {
3226
- value: '#9C661F',
3227
- name: 'brick',
3228
- },
3229
- {
3230
- value: '#FF9912',
3231
- name: 'cadmiumyellow',
3232
- },
3233
- {
3234
- value: '#FAEBD7',
3235
- css: true,
3236
- name: 'antiquewhite',
3237
- },
3238
- {
3239
- value: '#FFEFDB',
3240
- name: 'antiquewhite 1',
3241
- },
3242
- {
3243
- value: '#EEDFCC',
3244
- name: 'antiquewhite 2',
3245
- },
3246
- {
3247
- value: '#CDC0B0',
3248
- name: 'antiquewhite 3',
3249
- },
3250
- {
3251
- value: '#8B8378',
3252
- name: 'antiquewhite 4',
3253
- },
3254
- {
3255
- value: '#DEB887',
3256
- css: true,
3257
- name: 'burlywood',
3258
- },
3259
- {
3260
- value: '#FFD39B',
3261
- name: 'burlywood 1',
3262
- },
3263
- {
3264
- value: '#EEC591',
3265
- name: 'burlywood 2',
3266
- },
3267
- {
3268
- value: '#CDAA7D',
3269
- name: 'burlywood 3',
3270
- },
3271
- {
3272
- value: '#8B7355',
3273
- name: 'burlywood 4',
3274
- },
3275
- {
3276
- value: '#FFE4C4',
3277
- name: 'bisque 1',
3278
- },
3279
- {
3280
- value: '#FFE4C4',
3281
- css: true,
3282
- name: 'bisque',
3283
- },
3284
- {
3285
- value: '#EED5B7',
3286
- name: 'bisque 2',
3287
- },
3288
- {
3289
- value: '#CDB79E',
3290
- name: 'bisque 3',
3291
- },
3292
- {
3293
- value: '#8B7D6B',
3294
- name: 'bisque 4',
3295
- },
3296
- {
3297
- value: '#E3A869',
3298
- name: 'melon',
3299
- },
3300
- {
3301
- value: '#ED9121',
3302
- name: 'carrot',
3303
- },
3304
- {
3305
- value: '#FF8C00',
3306
- css: true,
3307
- name: 'darkorange',
3308
- },
3309
- {
3310
- value: '#FF7F00',
3311
- name: 'darkorange 1',
3312
- },
3313
- {
3314
- value: '#EE7600',
3315
- name: 'darkorange 2',
3316
- },
3317
- {
3318
- value: '#CD6600',
3319
- name: 'darkorange 3',
3320
- },
3321
- {
3322
- value: '#8B4500',
3323
- name: 'darkorange 4',
3324
- },
3325
- {
3326
- value: '#FFA54F',
3327
- name: 'tan 1',
3328
- },
3329
- {
3330
- value: '#EE9A49',
3331
- name: 'tan 2',
3332
- },
3333
- {
3334
- value: '#CD853F',
3335
- name: 'tan 3',
3336
- },
3337
- {
3338
- value: '#CD853F',
3339
- css: true,
3340
- name: 'peru',
3341
- },
3342
- {
3343
- value: '#8B5A2B',
3344
- name: 'tan 4',
3345
- },
3346
- {
3347
- value: '#FAF0E6',
3348
- css: true,
3349
- name: 'linen',
3350
- },
3351
- {
3352
- value: '#FFDAB9',
3353
- name: 'peachpuff 1',
3354
- },
3355
- {
3356
- value: '#FFDAB9',
3357
- css: true,
3358
- name: 'peachpuff',
3359
- },
3360
- {
3361
- value: '#EECBAD',
3362
- name: 'peachpuff 2',
3363
- },
3364
- {
3365
- value: '#CDAF95',
3366
- name: 'peachpuff 3',
3367
- },
3368
- {
3369
- value: '#8B7765',
3370
- name: 'peachpuff 4',
3371
- },
3372
- {
3373
- value: '#FFF5EE',
3374
- name: 'seashell 1',
3375
- },
3376
- {
3377
- value: '#FFF5EE',
3378
- css: true,
3379
- name: 'seashell',
3380
- },
3381
- {
3382
- value: '#EEE5DE',
3383
- name: 'seashell 2',
3384
- },
3385
- {
3386
- value: '#CDC5BF',
3387
- name: 'seashell 3',
3388
- },
3389
- {
3390
- value: '#8B8682',
3391
- name: 'seashell 4',
3392
- },
3393
- {
3394
- value: '#F4A460',
3395
- css: true,
3396
- name: 'sandybrown',
3397
- },
3398
- {
3399
- value: '#C76114',
3400
- name: 'rawsienna',
3401
- },
3402
- {
3403
- value: '#D2691E',
3404
- css: true,
3405
- name: 'chocolate',
3406
- },
3407
- {
3408
- value: '#FF7F24',
3409
- name: 'chocolate 1',
3410
- },
3411
- {
3412
- value: '#EE7621',
3413
- name: 'chocolate 2',
3414
- },
3415
- {
3416
- value: '#CD661D',
3417
- name: 'chocolate 3',
3418
- },
3419
- {
3420
- value: '#8B4513',
3421
- name: 'chocolate 4',
3422
- },
3423
- {
3424
- value: '#8B4513',
3425
- css: true,
3426
- name: 'saddlebrown',
3427
- },
3428
- {
3429
- value: '#292421',
3430
- name: 'ivoryblack',
3431
- },
3432
- {
3433
- value: '#FF7D40',
3434
- name: 'flesh',
3435
- },
3436
- {
3437
- value: '#FF6103',
3438
- name: 'cadmiumorange',
3439
- },
3440
- {
3441
- value: '#8A360F',
3442
- name: 'burntsienna',
3443
- },
3444
- {
3445
- value: '#A0522D',
3446
- css: true,
3447
- name: 'sienna',
3448
- },
3449
- {
3450
- value: '#FF8247',
3451
- name: 'sienna 1',
3452
- },
3453
- {
3454
- value: '#EE7942',
3455
- name: 'sienna 2',
3456
- },
3457
- {
3458
- value: '#CD6839',
3459
- name: 'sienna 3',
3460
- },
3461
- {
3462
- value: '#8B4726',
3463
- name: 'sienna 4',
3464
- },
3465
- {
3466
- value: '#FFA07A',
3467
- name: 'lightsalmon 1',
3468
- },
3469
- {
3470
- value: '#FFA07A',
3471
- css: true,
3472
- name: 'lightsalmon',
3473
- },
3474
- {
3475
- value: '#EE9572',
3476
- name: 'lightsalmon 2',
3477
- },
3478
- {
3479
- value: '#CD8162',
3480
- name: 'lightsalmon 3',
3481
- },
3482
- {
3483
- value: '#8B5742',
3484
- name: 'lightsalmon 4',
3485
- },
3486
- {
3487
- value: '#FF7F50',
3488
- css: true,
3489
- name: 'coral',
3490
- },
3491
- {
3492
- value: '#FF4500',
3493
- name: 'orangered 1',
3494
- },
3495
- {
3496
- value: '#FF4500',
3497
- css: true,
3498
- name: 'orangered',
3499
- },
3500
- {
3501
- value: '#EE4000',
3502
- name: 'orangered 2',
3503
- },
3504
- {
3505
- value: '#CD3700',
3506
- name: 'orangered 3',
3507
- },
3508
- {
3509
- value: '#8B2500',
3510
- name: 'orangered 4',
3511
- },
3512
- {
3513
- value: '#5E2612',
3514
- name: 'sepia',
3515
- },
3516
- {
3517
- value: '#E9967A',
3518
- css: true,
3519
- name: 'darksalmon',
3520
- },
3521
- {
3522
- value: '#FF8C69',
3523
- name: 'salmon 1',
3524
- },
3525
- {
3526
- value: '#EE8262',
3527
- name: 'salmon 2',
3528
- },
3529
- {
3530
- value: '#CD7054',
3531
- name: 'salmon 3',
3532
- },
3533
- {
3534
- value: '#8B4C39',
3535
- name: 'salmon 4',
3536
- },
3537
- {
3538
- value: '#FF7256',
3539
- name: 'coral 1',
3540
- },
3541
- {
3542
- value: '#EE6A50',
3543
- name: 'coral 2',
3544
- },
3545
- {
3546
- value: '#CD5B45',
3547
- name: 'coral 3',
3548
- },
3549
- {
3550
- value: '#8B3E2F',
3551
- name: 'coral 4',
3552
- },
3553
- {
3554
- value: '#8A3324',
3555
- name: 'burntumber',
3556
- },
3557
- {
3558
- value: '#FF6347',
3559
- name: 'tomato 1',
3560
- },
3561
- {
3562
- value: '#FF6347',
3563
- css: true,
3564
- name: 'tomato',
3565
- },
3566
- {
3567
- value: '#EE5C42',
3568
- name: 'tomato 2',
3569
- },
3570
- {
3571
- value: '#CD4F39',
3572
- name: 'tomato 3',
3573
- },
3574
- {
3575
- value: '#8B3626',
3576
- name: 'tomato 4',
3577
- },
3578
- {
3579
- value: '#FA8072',
3580
- css: true,
3581
- name: 'salmon',
3582
- },
3583
- {
3584
- value: '#FFE4E1',
3585
- name: 'mistyrose 1',
3586
- },
3587
- {
3588
- value: '#FFE4E1',
3589
- css: true,
3590
- name: 'mistyrose',
3591
- },
3592
- {
3593
- value: '#EED5D2',
3594
- name: 'mistyrose 2',
3595
- },
3596
- {
3597
- value: '#CDB7B5',
3598
- name: 'mistyrose 3',
3599
- },
3600
- {
3601
- value: '#8B7D7B',
3602
- name: 'mistyrose 4',
3603
- },
3604
- {
3605
- value: '#FFFAFA',
3606
- name: 'snow 1',
3607
- },
3608
- {
3609
- value: '#FFFAFA',
3610
- css: true,
3611
- name: 'snow',
3612
- },
3613
- {
3614
- value: '#EEE9E9',
3615
- name: 'snow 2',
3616
- },
3617
- {
3618
- value: '#CDC9C9',
3619
- name: 'snow 3',
3620
- },
3621
- {
3622
- value: '#8B8989',
3623
- name: 'snow 4',
3624
- },
3625
- {
3626
- value: '#BC8F8F',
3627
- css: true,
3628
- name: 'rosybrown',
3629
- },
3630
- {
3631
- value: '#FFC1C1',
3632
- name: 'rosybrown 1',
3633
- },
3634
- {
3635
- value: '#EEB4B4',
3636
- name: 'rosybrown 2',
3637
- },
3638
- {
3639
- value: '#CD9B9B',
3640
- name: 'rosybrown 3',
3641
- },
3642
- {
3643
- value: '#8B6969',
3644
- name: 'rosybrown 4',
3645
- },
3646
- {
3647
- value: '#F08080',
3648
- css: true,
3649
- name: 'lightcoral',
3650
- },
3651
- {
3652
- value: '#CD5C5C',
3653
- css: true,
3654
- name: 'indianred',
3655
- },
3656
- {
3657
- value: '#FF6A6A',
3658
- name: 'indianred 1',
3659
- },
3660
- {
3661
- value: '#EE6363',
3662
- name: 'indianred 2',
3663
- },
3664
- {
3665
- value: '#8B3A3A',
3666
- name: 'indianred 4',
3667
- },
3668
- {
3669
- value: '#CD5555',
3670
- name: 'indianred 3',
3671
- },
3672
- {
3673
- value: '#A52A2A',
3674
- css: true,
3675
- name: 'brown',
3676
- },
3677
- {
3678
- value: '#FF4040',
3679
- name: 'brown 1',
3680
- },
3681
- {
3682
- value: '#EE3B3B',
3683
- name: 'brown 2',
3684
- },
3685
- {
3686
- value: '#CD3333',
3687
- name: 'brown 3',
3688
- },
3689
- {
3690
- value: '#8B2323',
3691
- name: 'brown 4',
3692
- },
3693
- {
3694
- value: '#B22222',
3695
- css: true,
3696
- name: 'firebrick',
3697
- },
3698
- {
3699
- value: '#FF3030',
3700
- name: 'firebrick 1',
3701
- },
3702
- {
3703
- value: '#EE2C2C',
3704
- name: 'firebrick 2',
3705
- },
3706
- {
3707
- value: '#CD2626',
3708
- name: 'firebrick 3',
3709
- },
3710
- {
3711
- value: '#8B1A1A',
3712
- name: 'firebrick 4',
3713
- },
3714
- {
3715
- value: '#FF0000',
3716
- vga: true,
3717
- name: 'red 1',
3718
- },
3719
- {
3720
- value: '#FF0000',
3721
- vga: true,
3722
- css: true,
3723
- name: 'red',
3724
- },
3725
- {
3726
- value: '#EE0000',
3727
- name: 'red 2',
3728
- },
3729
- {
3730
- value: '#CD0000',
3731
- name: 'red 3',
3732
- },
3733
- {
3734
- value: '#8B0000',
3735
- name: 'red 4',
3736
- },
3737
- {
3738
- value: '#8B0000',
3739
- css: true,
3740
- name: 'darkred',
3741
- },
3742
- {
3743
- value: '#800000',
3744
- vga: true,
3745
- css: true,
3746
- name: 'maroon',
3747
- },
3748
- {
3749
- value: '#8E388E',
3750
- name: 'sgi beet',
3751
- },
3752
- {
3753
- value: '#7171C6',
3754
- name: 'sgi slateblue',
3755
- },
3756
- {
3757
- value: '#7D9EC0',
3758
- name: 'sgi lightblue',
3759
- },
3760
- {
3761
- value: '#388E8E',
3762
- name: 'sgi teal',
3763
- },
3764
- {
3765
- value: '#71C671',
3766
- name: 'sgi chartreuse',
3767
- },
3768
- {
3769
- value: '#8E8E38',
3770
- name: 'sgi olivedrab',
3771
- },
3772
- {
3773
- value: '#C5C1AA',
3774
- name: 'sgi brightgray',
3775
- },
3776
- {
3777
- value: '#C67171',
3778
- name: 'sgi salmon',
3779
- },
3780
- {
3781
- value: '#555555',
3782
- name: 'sgi darkgray',
3783
- },
3784
- {
3785
- value: '#1E1E1E',
3786
- name: 'sgi gray 12',
3787
- },
3788
- {
3789
- value: '#282828',
3790
- name: 'sgi gray 16',
3791
- },
3792
- {
3793
- value: '#515151',
3794
- name: 'sgi gray 32',
3795
- },
3796
- {
3797
- value: '#5B5B5B',
3798
- name: 'sgi gray 36',
3799
- },
3800
- {
3801
- value: '#848484',
3802
- name: 'sgi gray 52',
3803
- },
3804
- {
3805
- value: '#8E8E8E',
3806
- name: 'sgi gray 56',
3807
- },
3808
- {
3809
- value: '#AAAAAA',
3810
- name: 'sgi lightgray',
3811
- },
3812
- {
3813
- value: '#B7B7B7',
3814
- name: 'sgi gray 72',
3815
- },
3816
- {
3817
- value: '#C1C1C1',
3818
- name: 'sgi gray 76',
3819
- },
3820
- {
3821
- value: '#EAEAEA',
3822
- name: 'sgi gray 92',
3823
- },
3824
- {
3825
- value: '#F4F4F4',
3826
- name: 'sgi gray 96',
3827
- },
3828
- {
3829
- value: '#FFFFFF',
3830
- vga: true,
3831
- css: true,
3832
- name: 'white',
3833
- },
3834
- {
3835
- value: '#F5F5F5',
3836
- name: 'white smoke',
3837
- },
3838
- {
3839
- value: '#F5F5F5',
3840
- name: 'gray 96',
3841
- },
3842
- {
3843
- value: '#DCDCDC',
3844
- css: true,
3845
- name: 'gainsboro',
3846
- },
3847
- {
3848
- value: '#D3D3D3',
3849
- css: true,
3850
- name: 'lightgrey',
3851
- },
3852
- {
3853
- value: '#C0C0C0',
3854
- vga: true,
3855
- css: true,
3856
- name: 'silver',
3857
- },
3858
- {
3859
- value: '#A9A9A9',
3860
- css: true,
3861
- name: 'darkgray',
3862
- },
3863
- {
3864
- value: '#808080',
3865
- vga: true,
3866
- css: true,
3867
- name: 'gray',
3868
- },
3869
- {
3870
- value: '#696969',
3871
- css: true,
3872
- name: 'dimgray',
3873
- },
3874
- {
3875
- value: '#696969',
3876
- name: 'gray 42',
3877
- },
3878
- {
3879
- value: '#000000',
3880
- vga: true,
3881
- css: true,
3882
- name: 'black',
3883
- },
3884
- {
3885
- value: '#FCFCFC',
3886
- name: 'gray 99',
3887
- },
3888
- {
3889
- value: '#FAFAFA',
3890
- name: 'gray 98',
3891
- },
3892
- {
3893
- value: '#F7F7F7',
3894
- name: 'gray 97',
3895
- },
3896
- {
3897
- value: '#F2F2F2',
3898
- name: 'gray 95',
3899
- },
3900
- {
3901
- value: '#F0F0F0',
3902
- name: 'gray 94',
3903
- },
3904
- {
3905
- value: '#EDEDED',
3906
- name: 'gray 93',
3907
- },
3908
- {
3909
- value: '#EBEBEB',
3910
- name: 'gray 92',
3911
- },
3912
- {
3913
- value: '#E8E8E8',
3914
- name: 'gray 91',
3915
- },
3916
- {
3917
- value: '#E5E5E5',
3918
- name: 'gray 90',
3919
- },
3920
- {
3921
- value: '#E3E3E3',
3922
- name: 'gray 89',
3923
- },
3924
- {
3925
- value: '#E0E0E0',
3926
- name: 'gray 88',
3927
- },
3928
- {
3929
- value: '#DEDEDE',
3930
- name: 'gray 87',
3931
- },
3932
- {
3933
- value: '#DBDBDB',
3934
- name: 'gray 86',
3935
- },
3936
- {
3937
- value: '#D9D9D9',
3938
- name: 'gray 85',
3939
- },
3940
- {
3941
- value: '#D6D6D6',
3942
- name: 'gray 84',
3943
- },
3944
- {
3945
- value: '#D4D4D4',
3946
- name: 'gray 83',
3947
- },
3948
- {
3949
- value: '#D1D1D1',
3950
- name: 'gray 82',
3951
- },
3952
- {
3953
- value: '#CFCFCF',
3954
- name: 'gray 81',
3955
- },
3956
- {
3957
- value: '#CCCCCC',
3958
- name: 'gray 80',
3959
- },
3960
- {
3961
- value: '#C9C9C9',
3962
- name: 'gray 79',
3963
- },
3964
- {
3965
- value: '#C7C7C7',
3966
- name: 'gray 78',
3967
- },
3968
- {
3969
- value: '#C4C4C4',
3970
- name: 'gray 77',
3971
- },
3972
- {
3973
- value: '#C2C2C2',
3974
- name: 'gray 76',
3975
- },
3976
- {
3977
- value: '#BFBFBF',
3978
- name: 'gray 75',
3979
- },
3980
- {
3981
- value: '#BDBDBD',
3982
- name: 'gray 74',
3983
- },
3984
- {
3985
- value: '#BABABA',
3986
- name: 'gray 73',
3987
- },
3988
- {
3989
- value: '#B8B8B8',
3990
- name: 'gray 72',
3991
- },
3992
- {
3993
- value: '#B5B5B5',
3994
- name: 'gray 71',
3995
- },
3996
- {
3997
- value: '#B3B3B3',
3998
- name: 'gray 70',
3999
- },
4000
- {
4001
- value: '#B0B0B0',
4002
- name: 'gray 69',
4003
- },
4004
- {
4005
- value: '#ADADAD',
4006
- name: 'gray 68',
4007
- },
4008
- {
4009
- value: '#ABABAB',
4010
- name: 'gray 67',
4011
- },
4012
- {
4013
- value: '#A8A8A8',
4014
- name: 'gray 66',
4015
- },
4016
- {
4017
- value: '#A6A6A6',
4018
- name: 'gray 65',
4019
- },
4020
- {
4021
- value: '#A3A3A3',
4022
- name: 'gray 64',
4023
- },
4024
- {
4025
- value: '#A1A1A1',
4026
- name: 'gray 63',
4027
- },
4028
- {
4029
- value: '#9E9E9E',
4030
- name: 'gray 62',
4031
- },
4032
- {
4033
- value: '#9C9C9C',
4034
- name: 'gray 61',
4035
- },
4036
- {
4037
- value: '#999999',
4038
- name: 'gray 60',
4039
- },
4040
- {
4041
- value: '#969696',
4042
- name: 'gray 59',
4043
- },
4044
- {
4045
- value: '#949494',
4046
- name: 'gray 58',
4047
- },
4048
- {
4049
- value: '#919191',
4050
- name: 'gray 57',
4051
- },
4052
- {
4053
- value: '#8F8F8F',
4054
- name: 'gray 56',
4055
- },
4056
- {
4057
- value: '#8C8C8C',
4058
- name: 'gray 55',
4059
- },
4060
- {
4061
- value: '#8A8A8A',
4062
- name: 'gray 54',
4063
- },
4064
- {
4065
- value: '#878787',
4066
- name: 'gray 53',
4067
- },
4068
- {
4069
- value: '#858585',
4070
- name: 'gray 52',
4071
- },
4072
- {
4073
- value: '#828282',
4074
- name: 'gray 51',
4075
- },
4076
- {
4077
- value: '#7F7F7F',
4078
- name: 'gray 50',
4079
- },
4080
- {
4081
- value: '#7D7D7D',
4082
- name: 'gray 49',
4083
- },
4084
- {
4085
- value: '#7A7A7A',
4086
- name: 'gray 48',
4087
- },
4088
- {
4089
- value: '#787878',
4090
- name: 'gray 47',
4091
- },
4092
- {
4093
- value: '#757575',
4094
- name: 'gray 46',
4095
- },
4096
- {
4097
- value: '#737373',
4098
- name: 'gray 45',
4099
- },
4100
- {
4101
- value: '#707070',
4102
- name: 'gray 44',
4103
- },
4104
- {
4105
- value: '#6E6E6E',
4106
- name: 'gray 43',
4107
- },
4108
- {
4109
- value: '#666666',
4110
- name: 'gray 40',
4111
- },
4112
- {
4113
- value: '#636363',
4114
- name: 'gray 39',
4115
- },
4116
- {
4117
- value: '#616161',
4118
- name: 'gray 38',
4119
- },
4120
- {
4121
- value: '#5E5E5E',
4122
- name: 'gray 37',
4123
- },
4124
- {
4125
- value: '#5C5C5C',
4126
- name: 'gray 36',
4127
- },
4128
- {
4129
- value: '#595959',
4130
- name: 'gray 35',
4131
- },
4132
- {
4133
- value: '#575757',
4134
- name: 'gray 34',
4135
- },
4136
- {
4137
- value: '#545454',
4138
- name: 'gray 33',
4139
- },
4140
- {
4141
- value: '#525252',
4142
- name: 'gray 32',
4143
- },
4144
- {
4145
- value: '#4F4F4F',
4146
- name: 'gray 31',
4147
- },
4148
- {
4149
- value: '#4D4D4D',
4150
- name: 'gray 30',
4151
- },
4152
- {
4153
- value: '#4A4A4A',
4154
- name: 'gray 29',
4155
- },
4156
- {
4157
- value: '#474747',
4158
- name: 'gray 28',
4159
- },
4160
- {
4161
- value: '#454545',
4162
- name: 'gray 27',
4163
- },
4164
- {
4165
- value: '#424242',
4166
- name: 'gray 26',
4167
- },
4168
- {
4169
- value: '#404040',
4170
- name: 'gray 25',
4171
- },
4172
- {
4173
- value: '#3D3D3D',
4174
- name: 'gray 24',
4175
- },
4176
- {
4177
- value: '#3B3B3B',
4178
- name: 'gray 23',
4179
- },
4180
- {
4181
- value: '#383838',
4182
- name: 'gray 22',
4183
- },
4184
- {
4185
- value: '#363636',
4186
- name: 'gray 21',
4187
- },
4188
- {
4189
- value: '#333333',
4190
- name: 'gray 20',
4191
- },
4192
- {
4193
- value: '#303030',
4194
- name: 'gray 19',
4195
- },
4196
- {
4197
- value: '#2E2E2E',
4198
- name: 'gray 18',
4199
- },
4200
- {
4201
- value: '#2B2B2B',
4202
- name: 'gray 17',
4203
- },
4204
- {
4205
- value: '#292929',
4206
- name: 'gray 16',
4207
- },
4208
- {
4209
- value: '#262626',
4210
- name: 'gray 15',
4211
- },
4212
- {
4213
- value: '#242424',
4214
- name: 'gray 14',
4215
- },
4216
- {
4217
- value: '#212121',
4218
- name: 'gray 13',
4219
- },
4220
- {
4221
- value: '#1F1F1F',
4222
- name: 'gray 12',
4223
- },
4224
- {
4225
- value: '#1C1C1C',
4226
- name: 'gray 11',
4227
- },
4228
- {
4229
- value: '#1A1A1A',
4230
- name: 'gray 10',
4231
- },
4232
- {
4233
- value: '#171717',
4234
- name: 'gray 9',
4235
- },
4236
- {
4237
- value: '#141414',
4238
- name: 'gray 8',
4239
- },
4240
- {
4241
- value: '#121212',
4242
- name: 'gray 7',
4243
- },
4244
- {
4245
- value: '#0F0F0F',
4246
- name: 'gray 6',
4247
- },
4248
- {
4249
- value: '#0D0D0D',
4250
- name: 'gray 5',
4251
- },
4252
- {
4253
- value: '#0A0A0A',
4254
- name: 'gray 4',
4255
- },
4256
- {
4257
- value: '#080808',
4258
- name: 'gray 3',
4259
- },
4260
- {
4261
- value: '#050505',
4262
- name: 'gray 2',
4263
- },
4264
- {
4265
- value: '#030303',
4266
- name: 'gray 1',
4267
- },
4268
- {
4269
- value: '#F5F5F5',
4270
- css: true,
4271
- name: 'whitesmoke',
4272
- },
4273
- ];
4274
-
4275
- /**
4276
- * Module dependencies
4277
- */
4278
-
4279
- (function (module) {
4280
- var colors$1 = colors;
4281
-
4282
- var cssColors = colors$1.filter(function (color) {
4283
- return !!color.css;
4284
- });
4285
-
4286
- var vgaColors = colors$1.filter(function (color) {
4287
- return !!color.vga;
4288
- });
4289
-
4290
- /**
4291
- * Get color value for a certain name.
4292
- * @param name {String}
4293
- * @return {String} Hex color value
4294
- * @api public
4295
- */
4296
-
4297
- module.exports = function (name) {
4298
- var color = module.exports.get(name);
4299
- return color && color.value;
4300
- };
4301
-
4302
- /**
4303
- * Get color object.
4304
- *
4305
- * @param name {String}
4306
- * @return {Object} Color object
4307
- * @api public
4308
- */
4309
-
4310
- module.exports.get = function (name) {
4311
- name = name || '';
4312
- name = name.trim().toLowerCase();
4313
- return colors$1
4314
- .filter(function (color) {
4315
- return color.name.toLowerCase() === name;
4316
- })
4317
- .pop();
4318
- };
4319
-
4320
- /**
4321
- * Get all color object.
4322
- *
4323
- * @return {Array}
4324
- * @api public
4325
- */
4326
-
4327
- module.exports.all = module.exports.get.all = function () {
4328
- return colors$1;
4329
- };
4330
-
4331
- /**
4332
- * Get color object compatible with CSS.
4333
- *
4334
- * @return {Array}
4335
- * @api public
4336
- */
4337
-
4338
- module.exports.get.css = function (name) {
4339
- if (!name) return cssColors;
4340
- name = name || '';
4341
- name = name.trim().toLowerCase();
4342
- return cssColors
4343
- .filter(function (color) {
4344
- return color.name.toLowerCase() === name;
4345
- })
4346
- .pop();
4347
- };
4348
-
4349
- module.exports.get.vga = function (name) {
4350
- if (!name) return vgaColors;
4351
- name = name || '';
4352
- name = name.trim().toLowerCase();
4353
- return vgaColors
4354
- .filter(function (color) {
4355
- return color.name.toLowerCase() === name;
4356
- })
4357
- .pop();
4358
- };
4359
- })(colornames);
4360
-
4361
- /**
4362
- * lodash (Custom Build) <https://lodash.com/>
4363
- * Build: `lodash modularize exports="npm" -o ./`
4364
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
4365
- * Released under MIT license <https://lodash.com/license>
4366
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
4367
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
4368
- */
4369
-
4370
- /** `Object#toString` result references. */
4371
- var symbolTag$2 = '[object Symbol]';
4372
-
4373
- /** Used to match words composed of alphanumeric characters. */
4374
- var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
4375
-
4376
- /** Used to compose unicode character classes. */
4377
- var rsAstralRange$2 = '\\ud800-\\udfff',
4378
- rsComboMarksRange$2 = '\\u0300-\\u036f\\ufe20-\\ufe23',
4379
- rsComboSymbolsRange$2 = '\\u20d0-\\u20f0',
4380
- rsDingbatRange = '\\u2700-\\u27bf',
4381
- rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
4382
- rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
4383
- rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
4384
- rsPunctuationRange = '\\u2000-\\u206f',
4385
- rsSpaceRange =
4386
- ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
4387
- rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
4388
- rsVarRange$2 = '\\ufe0e\\ufe0f',
4389
- rsBreakRange =
4390
- rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
4391
-
4392
- /** Used to compose unicode capture groups. */
4393
- var rsApos = "['\u2019]",
4394
- rsBreak = '[' + rsBreakRange + ']',
4395
- rsCombo$2 = '[' + rsComboMarksRange$2 + rsComboSymbolsRange$2 + ']',
4396
- rsDigits = '\\d+',
4397
- rsDingbat = '[' + rsDingbatRange + ']',
4398
- rsLower = '[' + rsLowerRange + ']',
4399
- rsMisc =
4400
- '[^' +
4401
- rsAstralRange$2 +
4402
- rsBreakRange +
4403
- rsDigits +
4404
- rsDingbatRange +
4405
- rsLowerRange +
4406
- rsUpperRange +
4407
- ']',
4408
- rsFitz$2 = '\\ud83c[\\udffb-\\udfff]',
4409
- rsModifier$2 = '(?:' + rsCombo$2 + '|' + rsFitz$2 + ')',
4410
- rsNonAstral$2 = '[^' + rsAstralRange$2 + ']',
4411
- rsRegional$2 = '(?:\\ud83c[\\udde6-\\uddff]){2}',
4412
- rsSurrPair$2 = '[\\ud800-\\udbff][\\udc00-\\udfff]',
4413
- rsUpper = '[' + rsUpperRange + ']',
4414
- rsZWJ$2 = '\\u200d';
4415
-
4416
- /** Used to compose unicode regexes. */
4417
- var rsLowerMisc = '(?:' + rsLower + '|' + rsMisc + ')',
4418
- rsUpperMisc = '(?:' + rsUpper + '|' + rsMisc + ')',
4419
- rsOptLowerContr = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
4420
- rsOptUpperContr = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
4421
- reOptMod$2 = rsModifier$2 + '?',
4422
- rsOptVar$2 = '[' + rsVarRange$2 + ']?',
4423
- rsOptJoin$2 =
4424
- '(?:' +
4425
- rsZWJ$2 +
4426
- '(?:' +
4427
- [rsNonAstral$2, rsRegional$2, rsSurrPair$2].join('|') +
4428
- ')' +
4429
- rsOptVar$2 +
4430
- reOptMod$2 +
4431
- ')*',
4432
- rsSeq$2 = rsOptVar$2 + reOptMod$2 + rsOptJoin$2,
4433
- rsEmoji =
4434
- '(?:' + [rsDingbat, rsRegional$2, rsSurrPair$2].join('|') + ')' + rsSeq$2;
4435
-
4436
- /** Used to match complex or compound words. */
4437
- var reUnicodeWord = RegExp(
4438
- [
4439
- rsUpper +
4440
- '?' +
4441
- rsLower +
4442
- '+' +
4443
- rsOptLowerContr +
4444
- '(?=' +
4445
- [rsBreak, rsUpper, '$'].join('|') +
4446
- ')',
4447
- rsUpperMisc +
4448
- '+' +
4449
- rsOptUpperContr +
4450
- '(?=' +
4451
- [rsBreak, rsUpper + rsLowerMisc, '$'].join('|') +
4452
- ')',
4453
- rsUpper + '?' + rsLowerMisc + '+' + rsOptLowerContr,
4454
- rsUpper + '+' + rsOptUpperContr,
4455
- rsDigits,
4456
- rsEmoji,
4457
- ].join('|'),
4458
- 'g'
4459
- );
4460
-
4461
- /** Used to detect strings that need a more robust regexp to match words. */
4462
- var reHasUnicodeWord =
4463
- /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
4464
-
4465
- /** Detect free variable `global` from Node.js. */
4466
- var freeGlobal$2 =
4467
- typeof commonjsGlobal == 'object' &&
4468
- commonjsGlobal &&
4469
- commonjsGlobal.Object === Object &&
4470
- commonjsGlobal;
4471
-
4472
- /** Detect free variable `self`. */
4473
- var freeSelf$2 =
4474
- typeof self == 'object' && self && self.Object === Object && self;
4475
-
4476
- /** Used as a reference to the global object. */
4477
- var root$2 = freeGlobal$2 || freeSelf$2 || Function('return this')();
4478
-
4479
- /**
4480
- * Splits an ASCII `string` into an array of its words.
4481
- *
4482
- * @private
4483
- * @param {string} The string to inspect.
4484
- * @returns {Array} Returns the words of `string`.
4485
- */
4486
- function asciiWords(string) {
4487
- return string.match(reAsciiWord) || [];
4488
- }
4489
-
4490
- /**
4491
- * Checks if `string` contains a word composed of Unicode symbols.
4492
- *
4493
- * @private
4494
- * @param {string} string The string to inspect.
4495
- * @returns {boolean} Returns `true` if a word is found, else `false`.
4496
- */
4497
- function hasUnicodeWord(string) {
4498
- return reHasUnicodeWord.test(string);
4499
- }
4500
-
4501
- /**
4502
- * Splits a Unicode `string` into an array of its words.
4503
- *
4504
- * @private
4505
- * @param {string} The string to inspect.
4506
- * @returns {Array} Returns the words of `string`.
4507
- */
4508
- function unicodeWords(string) {
4509
- return string.match(reUnicodeWord) || [];
4510
- }
4511
-
4512
- /** Used for built-in method references. */
4513
- var objectProto$2 = Object.prototype;
4514
-
4515
- /**
4516
- * Used to resolve the
4517
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
4518
- * of values.
4519
- */
4520
- var objectToString$2 = objectProto$2.toString;
4521
-
4522
- /** Built-in value references. */
4523
- var Symbol$3 = root$2.Symbol;
4524
-
4525
- /** Used to convert symbols to primitives and strings. */
4526
- var symbolProto$2 = Symbol$3 ? Symbol$3.prototype : undefined,
4527
- symbolToString$2 = symbolProto$2 ? symbolProto$2.toString : undefined;
4528
-
4529
- /**
4530
- * The base implementation of `_.toString` which doesn't convert nullish
4531
- * values to empty strings.
4532
- *
4533
- * @private
4534
- * @param {*} value The value to process.
4535
- * @returns {string} Returns the string.
4536
- */
4537
- function baseToString$2(value) {
4538
- // Exit early for strings to avoid a performance hit in some environments.
4539
- if (typeof value == 'string') {
4540
- return value;
4541
- }
4542
- if (isSymbol$2(value)) {
4543
- return symbolToString$2 ? symbolToString$2.call(value) : '';
4544
- }
4545
- var result = value + '';
4546
- return result == '0' && 1 / value == -Infinity ? '-0' : result;
4547
- }
4548
-
4549
- /**
4550
- * Checks if `value` is object-like. A value is object-like if it's not `null`
4551
- * and has a `typeof` result of "object".
4552
- *
4553
- * @static
4554
- * @memberOf _
4555
- * @since 4.0.0
4556
- * @category Lang
4557
- * @param {*} value The value to check.
4558
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
4559
- * @example
4560
- *
4561
- * _.isObjectLike({});
4562
- * // => true
4563
- *
4564
- * _.isObjectLike([1, 2, 3]);
4565
- * // => true
4566
- *
4567
- * _.isObjectLike(_.noop);
4568
- * // => false
4569
- *
4570
- * _.isObjectLike(null);
4571
- * // => false
4572
- */
4573
- function isObjectLike$2(value) {
4574
- return !!value && typeof value == 'object';
4575
- }
4576
-
4577
- /**
4578
- * Checks if `value` is classified as a `Symbol` primitive or object.
4579
- *
4580
- * @static
4581
- * @memberOf _
4582
- * @since 4.0.0
4583
- * @category Lang
4584
- * @param {*} value The value to check.
4585
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
4586
- * @example
4587
- *
4588
- * _.isSymbol(Symbol.iterator);
4589
- * // => true
4590
- *
4591
- * _.isSymbol('abc');
4592
- * // => false
4593
- */
4594
- function isSymbol$2(value) {
4595
- return (
4596
- typeof value == 'symbol' ||
4597
- (isObjectLike$2(value) && objectToString$2.call(value) == symbolTag$2)
4598
- );
4599
- }
4600
-
4601
- /**
4602
- * Converts `value` to a string. An empty string is returned for `null`
4603
- * and `undefined` values. The sign of `-0` is preserved.
4604
- *
4605
- * @static
4606
- * @memberOf _
4607
- * @since 4.0.0
4608
- * @category Lang
4609
- * @param {*} value The value to process.
4610
- * @returns {string} Returns the string.
4611
- * @example
4612
- *
4613
- * _.toString(null);
4614
- * // => ''
4615
- *
4616
- * _.toString(-0);
4617
- * // => '-0'
4618
- *
4619
- * _.toString([1, 2, 3]);
4620
- * // => '1,2,3'
4621
- */
4622
- function toString$2(value) {
4623
- return value == null ? '' : baseToString$2(value);
4624
- }
4625
-
4626
- /**
4627
- * Splits `string` into an array of its words.
4628
- *
4629
- * @static
4630
- * @memberOf _
4631
- * @since 3.0.0
4632
- * @category String
4633
- * @param {string} [string=''] The string to inspect.
4634
- * @param {RegExp|string} [pattern] The pattern to match words.
4635
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
4636
- * @returns {Array} Returns the words of `string`.
4637
- * @example
4638
- *
4639
- * _.words('fred, barney, & pebbles');
4640
- * // => ['fred', 'barney', 'pebbles']
4641
- *
4642
- * _.words('fred, barney, & pebbles', /[^, ]+/g);
4643
- * // => ['fred', 'barney', '&', 'pebbles']
4644
- */
4645
- function words(string, pattern, guard) {
4646
- string = toString$2(string);
4647
- pattern = guard ? undefined : pattern;
4648
-
4649
- if (pattern === undefined) {
4650
- return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
4651
- }
4652
- return string.match(pattern) || [];
4653
- }
4654
-
4655
- var lodash_words = words;
4656
-
4657
- /**
4658
- * lodash (Custom Build) <https://lodash.com/>
4659
- * Build: `lodash modularize exports="npm" -o ./`
4660
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
4661
- * Released under MIT license <https://lodash.com/license>
4662
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
4663
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
4664
- */
4665
-
4666
- /** `Object#toString` result references. */
4667
- var symbolTag$1 = '[object Symbol]';
4668
-
4669
- /** Used to match leading and trailing whitespace. */
4670
- var reTrimStart = /^\s+/;
4671
-
4672
- /** Used to compose unicode character classes. */
4673
- var rsAstralRange$1 = '\\ud800-\\udfff',
4674
- rsComboMarksRange$1 = '\\u0300-\\u036f\\ufe20-\\ufe23',
4675
- rsComboSymbolsRange$1 = '\\u20d0-\\u20f0',
4676
- rsVarRange$1 = '\\ufe0e\\ufe0f';
4677
-
4678
- /** Used to compose unicode capture groups. */
4679
- var rsAstral$1 = '[' + rsAstralRange$1 + ']',
4680
- rsCombo$1 = '[' + rsComboMarksRange$1 + rsComboSymbolsRange$1 + ']',
4681
- rsFitz$1 = '\\ud83c[\\udffb-\\udfff]',
4682
- rsModifier$1 = '(?:' + rsCombo$1 + '|' + rsFitz$1 + ')',
4683
- rsNonAstral$1 = '[^' + rsAstralRange$1 + ']',
4684
- rsRegional$1 = '(?:\\ud83c[\\udde6-\\uddff]){2}',
4685
- rsSurrPair$1 = '[\\ud800-\\udbff][\\udc00-\\udfff]',
4686
- rsZWJ$1 = '\\u200d';
4687
-
4688
- /** Used to compose unicode regexes. */
4689
- var reOptMod$1 = rsModifier$1 + '?',
4690
- rsOptVar$1 = '[' + rsVarRange$1 + ']?',
4691
- rsOptJoin$1 =
4692
- '(?:' +
4693
- rsZWJ$1 +
4694
- '(?:' +
4695
- [rsNonAstral$1, rsRegional$1, rsSurrPair$1].join('|') +
4696
- ')' +
4697
- rsOptVar$1 +
4698
- reOptMod$1 +
4699
- ')*',
4700
- rsSeq$1 = rsOptVar$1 + reOptMod$1 + rsOptJoin$1,
4701
- rsSymbol$1 =
4702
- '(?:' +
4703
- [
4704
- rsNonAstral$1 + rsCombo$1 + '?',
4705
- rsCombo$1,
4706
- rsRegional$1,
4707
- rsSurrPair$1,
4708
- rsAstral$1,
4709
- ].join('|') +
4710
- ')';
4711
-
4712
- /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
4713
- var reUnicode$1 = RegExp(
4714
- rsFitz$1 + '(?=' + rsFitz$1 + ')|' + rsSymbol$1 + rsSeq$1,
4715
- 'g'
4716
- );
4717
-
4718
- /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
4719
- var reHasUnicode$1 = RegExp(
4720
- '[' +
4721
- rsZWJ$1 +
4722
- rsAstralRange$1 +
4723
- rsComboMarksRange$1 +
4724
- rsComboSymbolsRange$1 +
4725
- rsVarRange$1 +
4726
- ']'
4727
- );
4728
-
4729
- /** Detect free variable `global` from Node.js. */
4730
- var freeGlobal$1 =
4731
- typeof commonjsGlobal == 'object' &&
4732
- commonjsGlobal &&
4733
- commonjsGlobal.Object === Object &&
4734
- commonjsGlobal;
4735
-
4736
- /** Detect free variable `self`. */
4737
- var freeSelf$1 =
4738
- typeof self == 'object' && self && self.Object === Object && self;
4739
-
4740
- /** Used as a reference to the global object. */
4741
- var root$1 = freeGlobal$1 || freeSelf$1 || Function('return this')();
4742
-
4743
- /**
4744
- * Converts an ASCII `string` to an array.
4745
- *
4746
- * @private
4747
- * @param {string} string The string to convert.
4748
- * @returns {Array} Returns the converted array.
4749
- */
4750
- function asciiToArray$1(string) {
4751
- return string.split('');
4752
- }
4753
-
4754
- /**
4755
- * The base implementation of `_.findIndex` and `_.findLastIndex` without
4756
- * support for iteratee shorthands.
4757
- *
4758
- * @private
4759
- * @param {Array} array The array to inspect.
4760
- * @param {Function} predicate The function invoked per iteration.
4761
- * @param {number} fromIndex The index to search from.
4762
- * @param {boolean} [fromRight] Specify iterating from right to left.
4763
- * @returns {number} Returns the index of the matched value, else `-1`.
4764
- */
4765
- function baseFindIndex(array, predicate, fromIndex, fromRight) {
4766
- var length = array.length,
4767
- index = fromIndex + -1;
4768
-
4769
- while (++index < length) {
4770
- if (predicate(array[index], index, array)) {
4771
- return index;
4772
- }
4773
- }
4774
- return -1;
4775
- }
4776
-
4777
- /**
4778
- * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
4779
- *
4780
- * @private
4781
- * @param {Array} array The array to inspect.
4782
- * @param {*} value The value to search for.
4783
- * @param {number} fromIndex The index to search from.
4784
- * @returns {number} Returns the index of the matched value, else `-1`.
4785
- */
4786
- function baseIndexOf(array, value, fromIndex) {
4787
- if (value !== value) {
4788
- return baseFindIndex(array, baseIsNaN, fromIndex);
4789
- }
4790
- var index = fromIndex - 1,
4791
- length = array.length;
4792
-
4793
- while (++index < length) {
4794
- if (array[index] === value) {
4795
- return index;
4796
- }
4797
- }
4798
- return -1;
4799
- }
4800
-
4801
- /**
4802
- * The base implementation of `_.isNaN` without support for number objects.
4803
- *
4804
- * @private
4805
- * @param {*} value The value to check.
4806
- * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
4807
- */
4808
- function baseIsNaN(value) {
4809
- return value !== value;
4810
- }
4811
-
4812
- /**
4813
- * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol
4814
- * that is not found in the character symbols.
4815
- *
4816
- * @private
4817
- * @param {Array} strSymbols The string symbols to inspect.
4818
- * @param {Array} chrSymbols The character symbols to find.
4819
- * @returns {number} Returns the index of the first unmatched string symbol.
4820
- */
4821
- function charsStartIndex(strSymbols, chrSymbols) {
4822
- var index = -1,
4823
- length = strSymbols.length;
4824
-
4825
- while (
4826
- ++index < length &&
4827
- baseIndexOf(chrSymbols, strSymbols[index], 0) > -1
4828
- ) {}
4829
- return index;
4830
- }
4831
-
4832
- /**
4833
- * Checks if `string` contains Unicode symbols.
4834
- *
4835
- * @private
4836
- * @param {string} string The string to inspect.
4837
- * @returns {boolean} Returns `true` if a symbol is found, else `false`.
4838
- */
4839
- function hasUnicode$1(string) {
4840
- return reHasUnicode$1.test(string);
4841
- }
4842
-
4843
- /**
4844
- * Converts `string` to an array.
4845
- *
4846
- * @private
4847
- * @param {string} string The string to convert.
4848
- * @returns {Array} Returns the converted array.
4849
- */
4850
- function stringToArray$1(string) {
4851
- return hasUnicode$1(string)
4852
- ? unicodeToArray$1(string)
4853
- : asciiToArray$1(string);
4854
- }
4855
-
4856
- /**
4857
- * Converts a Unicode `string` to an array.
4858
- *
4859
- * @private
4860
- * @param {string} string The string to convert.
4861
- * @returns {Array} Returns the converted array.
4862
- */
4863
- function unicodeToArray$1(string) {
4864
- return string.match(reUnicode$1) || [];
4865
- }
4866
-
4867
- /** Used for built-in method references. */
4868
- var objectProto$1 = Object.prototype;
4869
-
4870
- /**
4871
- * Used to resolve the
4872
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
4873
- * of values.
4874
- */
4875
- var objectToString$1 = objectProto$1.toString;
4876
-
4877
- /** Built-in value references. */
4878
- var Symbol$2 = root$1.Symbol;
4879
-
4880
- /** Used to convert symbols to primitives and strings. */
4881
- var symbolProto$1 = Symbol$2 ? Symbol$2.prototype : undefined,
4882
- symbolToString$1 = symbolProto$1 ? symbolProto$1.toString : undefined;
4883
-
4884
- /**
4885
- * The base implementation of `_.slice` without an iteratee call guard.
4886
- *
4887
- * @private
4888
- * @param {Array} array The array to slice.
4889
- * @param {number} [start=0] The start position.
4890
- * @param {number} [end=array.length] The end position.
4891
- * @returns {Array} Returns the slice of `array`.
4892
- */
4893
- function baseSlice$1(array, start, end) {
4894
- var index = -1,
4895
- length = array.length;
4896
-
4897
- if (start < 0) {
4898
- start = -start > length ? 0 : length + start;
4899
- }
4900
- end = end > length ? length : end;
4901
- if (end < 0) {
4902
- end += length;
4903
- }
4904
- length = start > end ? 0 : (end - start) >>> 0;
4905
- start >>>= 0;
4906
-
4907
- var result = Array(length);
4908
- while (++index < length) {
4909
- result[index] = array[index + start];
4910
- }
4911
- return result;
4912
- }
4913
-
4914
- /**
4915
- * The base implementation of `_.toString` which doesn't convert nullish
4916
- * values to empty strings.
4917
- *
4918
- * @private
4919
- * @param {*} value The value to process.
4920
- * @returns {string} Returns the string.
4921
- */
4922
- function baseToString$1(value) {
4923
- // Exit early for strings to avoid a performance hit in some environments.
4924
- if (typeof value == 'string') {
4925
- return value;
4926
- }
4927
- if (isSymbol$1(value)) {
4928
- return symbolToString$1 ? symbolToString$1.call(value) : '';
4929
- }
4930
- var result = value + '';
4931
- return result == '0' && 1 / value == -Infinity ? '-0' : result;
4932
- }
4933
-
4934
- /**
4935
- * Casts `array` to a slice if it's needed.
4936
- *
4937
- * @private
4938
- * @param {Array} array The array to inspect.
4939
- * @param {number} start The start position.
4940
- * @param {number} [end=array.length] The end position.
4941
- * @returns {Array} Returns the cast slice.
4942
- */
4943
- function castSlice$1(array, start, end) {
4944
- var length = array.length;
4945
- end = end === undefined ? length : end;
4946
- return !start && end >= length ? array : baseSlice$1(array, start, end);
4947
- }
4948
-
4949
- /**
4950
- * Checks if `value` is object-like. A value is object-like if it's not `null`
4951
- * and has a `typeof` result of "object".
4952
- *
4953
- * @static
4954
- * @memberOf _
4955
- * @since 4.0.0
4956
- * @category Lang
4957
- * @param {*} value The value to check.
4958
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
4959
- * @example
4960
- *
4961
- * _.isObjectLike({});
4962
- * // => true
4963
- *
4964
- * _.isObjectLike([1, 2, 3]);
4965
- * // => true
4966
- *
4967
- * _.isObjectLike(_.noop);
4968
- * // => false
4969
- *
4970
- * _.isObjectLike(null);
4971
- * // => false
4972
- */
4973
- function isObjectLike$1(value) {
4974
- return !!value && typeof value == 'object';
4975
- }
4976
-
4977
- /**
4978
- * Checks if `value` is classified as a `Symbol` primitive or object.
4979
- *
4980
- * @static
4981
- * @memberOf _
4982
- * @since 4.0.0
4983
- * @category Lang
4984
- * @param {*} value The value to check.
4985
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
4986
- * @example
4987
- *
4988
- * _.isSymbol(Symbol.iterator);
4989
- * // => true
4990
- *
4991
- * _.isSymbol('abc');
4992
- * // => false
4993
- */
4994
- function isSymbol$1(value) {
4995
- return (
4996
- typeof value == 'symbol' ||
4997
- (isObjectLike$1(value) && objectToString$1.call(value) == symbolTag$1)
4998
- );
4999
- }
5000
-
5001
- /**
5002
- * Converts `value` to a string. An empty string is returned for `null`
5003
- * and `undefined` values. The sign of `-0` is preserved.
5004
- *
5005
- * @static
5006
- * @memberOf _
5007
- * @since 4.0.0
5008
- * @category Lang
5009
- * @param {*} value The value to process.
5010
- * @returns {string} Returns the string.
5011
- * @example
5012
- *
5013
- * _.toString(null);
5014
- * // => ''
5015
- *
5016
- * _.toString(-0);
5017
- * // => '-0'
5018
- *
5019
- * _.toString([1, 2, 3]);
5020
- * // => '1,2,3'
5021
- */
5022
- function toString$1(value) {
5023
- return value == null ? '' : baseToString$1(value);
5024
- }
5025
-
5026
- /**
5027
- * Removes leading whitespace or specified characters from `string`.
5028
- *
5029
- * @static
5030
- * @memberOf _
5031
- * @since 4.0.0
5032
- * @category String
5033
- * @param {string} [string=''] The string to trim.
5034
- * @param {string} [chars=whitespace] The characters to trim.
5035
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
5036
- * @returns {string} Returns the trimmed string.
5037
- * @example
5038
- *
5039
- * _.trimStart(' abc ');
5040
- * // => 'abc '
5041
- *
5042
- * _.trimStart('-_-abc-_-', '_-');
5043
- * // => 'abc-_-'
5044
- */
5045
- function trimStart$1(string, chars, guard) {
5046
- string = toString$1(string);
5047
- if (string && (guard || chars === undefined)) {
5048
- return string.replace(reTrimStart, '');
5049
- }
5050
- if (!string || !(chars = baseToString$1(chars))) {
5051
- return string;
5052
- }
5053
- var strSymbols = stringToArray$1(string),
5054
- start = charsStartIndex(strSymbols, stringToArray$1(chars));
5055
-
5056
- return castSlice$1(strSymbols, start).join('');
5057
- }
5058
-
5059
- var lodash_trimstart = trimStart$1;
5060
-
5061
- /**
5062
- * lodash (Custom Build) <https://lodash.com/>
5063
- * Build: `lodash modularize exports="npm" -o ./`
5064
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
5065
- * Released under MIT license <https://lodash.com/license>
5066
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
5067
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
5068
- */
5069
-
5070
- /** Used as references for various `Number` constants. */
5071
- var INFINITY = 1 / 0,
5072
- MAX_SAFE_INTEGER = 9007199254740991,
5073
- MAX_INTEGER = 1.7976931348623157e308,
5074
- NAN = 0 / 0;
5075
-
5076
- /** `Object#toString` result references. */
5077
- var symbolTag = '[object Symbol]';
5078
-
5079
- /** Used to match leading and trailing whitespace. */
5080
- var reTrim = /^\s+|\s+$/g;
5081
-
5082
- /** Used to detect bad signed hexadecimal string values. */
5083
- var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
5084
-
5085
- /** Used to detect binary string values. */
5086
- var reIsBinary = /^0b[01]+$/i;
5087
-
5088
- /** Used to detect octal string values. */
5089
- var reIsOctal = /^0o[0-7]+$/i;
5090
-
5091
- /** Used to compose unicode character classes. */
5092
- var rsAstralRange = '\\ud800-\\udfff',
5093
- rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
5094
- rsComboSymbolsRange = '\\u20d0-\\u20f0',
5095
- rsVarRange = '\\ufe0e\\ufe0f';
5096
-
5097
- /** Used to compose unicode capture groups. */
5098
- var rsAstral = '[' + rsAstralRange + ']',
5099
- rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
5100
- rsFitz = '\\ud83c[\\udffb-\\udfff]',
5101
- rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
5102
- rsNonAstral = '[^' + rsAstralRange + ']',
5103
- rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
5104
- rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
5105
- rsZWJ = '\\u200d';
5106
-
5107
- /** Used to compose unicode regexes. */
5108
- var reOptMod = rsModifier + '?',
5109
- rsOptVar = '[' + rsVarRange + ']?',
5110
- rsOptJoin =
5111
- '(?:' +
5112
- rsZWJ +
5113
- '(?:' +
5114
- [rsNonAstral, rsRegional, rsSurrPair].join('|') +
5115
- ')' +
5116
- rsOptVar +
5117
- reOptMod +
5118
- ')*',
5119
- rsSeq = rsOptVar + reOptMod + rsOptJoin,
5120
- rsSymbol =
5121
- '(?:' +
5122
- [
5123
- rsNonAstral + rsCombo + '?',
5124
- rsCombo,
5125
- rsRegional,
5126
- rsSurrPair,
5127
- rsAstral,
5128
- ].join('|') +
5129
- ')';
5130
-
5131
- /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
5132
- var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
5133
-
5134
- /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
5135
- var reHasUnicode = RegExp(
5136
- '[' +
5137
- rsZWJ +
5138
- rsAstralRange +
5139
- rsComboMarksRange +
5140
- rsComboSymbolsRange +
5141
- rsVarRange +
5142
- ']'
5143
- );
5144
-
5145
- /** Built-in method references without a dependency on `root`. */
5146
- var freeParseInt = parseInt;
5147
-
5148
- /** Detect free variable `global` from Node.js. */
5149
- var freeGlobal =
5150
- typeof commonjsGlobal == 'object' &&
5151
- commonjsGlobal &&
5152
- commonjsGlobal.Object === Object &&
5153
- commonjsGlobal;
5154
-
5155
- /** Detect free variable `self`. */
5156
- var freeSelf =
5157
- typeof self == 'object' && self && self.Object === Object && self;
5158
-
5159
- /** Used as a reference to the global object. */
5160
- var root = freeGlobal || freeSelf || Function('return this')();
5161
-
5162
- /**
5163
- * Gets the size of an ASCII `string`.
5164
- *
5165
- * @private
5166
- * @param {string} string The string inspect.
5167
- * @returns {number} Returns the string size.
5168
- */
5169
- var asciiSize = baseProperty('length');
5170
-
5171
- /**
5172
- * Converts an ASCII `string` to an array.
5173
- *
5174
- * @private
5175
- * @param {string} string The string to convert.
5176
- * @returns {Array} Returns the converted array.
5177
- */
5178
- function asciiToArray(string) {
5179
- return string.split('');
5180
- }
5181
-
5182
- /**
5183
- * The base implementation of `_.property` without support for deep paths.
5184
- *
5185
- * @private
5186
- * @param {string} key The key of the property to get.
5187
- * @returns {Function} Returns the new accessor function.
5188
- */
5189
- function baseProperty(key) {
5190
- return function (object) {
5191
- return object == null ? undefined : object[key];
5192
- };
5193
- }
5194
-
5195
- /**
5196
- * Checks if `string` contains Unicode symbols.
5197
- *
5198
- * @private
5199
- * @param {string} string The string to inspect.
5200
- * @returns {boolean} Returns `true` if a symbol is found, else `false`.
5201
- */
5202
- function hasUnicode(string) {
5203
- return reHasUnicode.test(string);
5204
- }
5205
-
5206
- /**
5207
- * Gets the number of symbols in `string`.
5208
- *
5209
- * @private
5210
- * @param {string} string The string to inspect.
5211
- * @returns {number} Returns the string size.
5212
- */
5213
- function stringSize(string) {
5214
- return hasUnicode(string) ? unicodeSize(string) : asciiSize(string);
5215
- }
5216
-
5217
- /**
5218
- * Converts `string` to an array.
5219
- *
5220
- * @private
5221
- * @param {string} string The string to convert.
5222
- * @returns {Array} Returns the converted array.
5223
- */
5224
- function stringToArray(string) {
5225
- return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);
5226
- }
5227
-
5228
- /**
5229
- * Gets the size of a Unicode `string`.
5230
- *
5231
- * @private
5232
- * @param {string} string The string inspect.
5233
- * @returns {number} Returns the string size.
5234
- */
5235
- function unicodeSize(string) {
5236
- var result = (reUnicode.lastIndex = 0);
5237
- while (reUnicode.test(string)) {
5238
- result++;
5239
- }
5240
- return result;
5241
- }
5242
-
5243
- /**
5244
- * Converts a Unicode `string` to an array.
5245
- *
5246
- * @private
5247
- * @param {string} string The string to convert.
5248
- * @returns {Array} Returns the converted array.
5249
- */
5250
- function unicodeToArray(string) {
5251
- return string.match(reUnicode) || [];
5252
- }
5253
-
5254
- /** Used for built-in method references. */
5255
- var objectProto = Object.prototype;
5256
-
5257
- /**
5258
- * Used to resolve the
5259
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
5260
- * of values.
5261
- */
5262
- var objectToString = objectProto.toString;
5263
-
5264
- /** Built-in value references. */
5265
- var Symbol$1 = root.Symbol;
5266
-
5267
- /* Built-in method references for those with the same name as other `lodash` methods. */
5268
- var nativeCeil = Math.ceil,
5269
- nativeFloor = Math.floor;
5270
-
5271
- /** Used to convert symbols to primitives and strings. */
5272
- var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
5273
- symbolToString = symbolProto ? symbolProto.toString : undefined;
5274
-
5275
- /**
5276
- * The base implementation of `_.repeat` which doesn't coerce arguments.
5277
- *
5278
- * @private
5279
- * @param {string} string The string to repeat.
5280
- * @param {number} n The number of times to repeat the string.
5281
- * @returns {string} Returns the repeated string.
5282
- */
5283
- function baseRepeat(string, n) {
5284
- var result = '';
5285
- if (!string || n < 1 || n > MAX_SAFE_INTEGER) {
5286
- return result;
5287
- }
5288
- // Leverage the exponentiation by squaring algorithm for a faster repeat.
5289
- // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.
5290
- do {
5291
- if (n % 2) {
5292
- result += string;
5293
- }
5294
- n = nativeFloor(n / 2);
5295
- if (n) {
5296
- string += string;
5297
- }
5298
- } while (n);
5299
-
5300
- return result;
5301
- }
5302
-
5303
- /**
5304
- * The base implementation of `_.slice` without an iteratee call guard.
5305
- *
5306
- * @private
5307
- * @param {Array} array The array to slice.
5308
- * @param {number} [start=0] The start position.
5309
- * @param {number} [end=array.length] The end position.
5310
- * @returns {Array} Returns the slice of `array`.
5311
- */
5312
- function baseSlice(array, start, end) {
5313
- var index = -1,
5314
- length = array.length;
5315
-
5316
- if (start < 0) {
5317
- start = -start > length ? 0 : length + start;
5318
- }
5319
- end = end > length ? length : end;
5320
- if (end < 0) {
5321
- end += length;
5322
- }
5323
- length = start > end ? 0 : (end - start) >>> 0;
5324
- start >>>= 0;
5325
-
5326
- var result = Array(length);
5327
- while (++index < length) {
5328
- result[index] = array[index + start];
5329
- }
5330
- return result;
5331
- }
5332
-
5333
- /**
5334
- * The base implementation of `_.toString` which doesn't convert nullish
5335
- * values to empty strings.
5336
- *
5337
- * @private
5338
- * @param {*} value The value to process.
5339
- * @returns {string} Returns the string.
5340
- */
5341
- function baseToString(value) {
5342
- // Exit early for strings to avoid a performance hit in some environments.
5343
- if (typeof value == 'string') {
5344
- return value;
5345
- }
5346
- if (isSymbol(value)) {
5347
- return symbolToString ? symbolToString.call(value) : '';
5348
- }
5349
- var result = value + '';
5350
- return result == '0' && 1 / value == -INFINITY ? '-0' : result;
5351
- }
5352
-
5353
- /**
5354
- * Casts `array` to a slice if it's needed.
5355
- *
5356
- * @private
5357
- * @param {Array} array The array to inspect.
5358
- * @param {number} start The start position.
5359
- * @param {number} [end=array.length] The end position.
5360
- * @returns {Array} Returns the cast slice.
5361
- */
5362
- function castSlice(array, start, end) {
5363
- var length = array.length;
5364
- end = end === undefined ? length : end;
5365
- return !start && end >= length ? array : baseSlice(array, start, end);
5366
- }
5367
-
5368
- /**
5369
- * Creates the padding for `string` based on `length`. The `chars` string
5370
- * is truncated if the number of characters exceeds `length`.
5371
- *
5372
- * @private
5373
- * @param {number} length The padding length.
5374
- * @param {string} [chars=' '] The string used as padding.
5375
- * @returns {string} Returns the padding for `string`.
5376
- */
5377
- function createPadding(length, chars) {
5378
- chars = chars === undefined ? ' ' : baseToString(chars);
5379
-
5380
- var charsLength = chars.length;
5381
- if (charsLength < 2) {
5382
- return charsLength ? baseRepeat(chars, length) : chars;
5383
- }
5384
- var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));
5385
- return hasUnicode(chars)
5386
- ? castSlice(stringToArray(result), 0, length).join('')
5387
- : result.slice(0, length);
5388
- }
5389
-
5390
- /**
5391
- * Checks if `value` is the
5392
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
5393
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
5394
- *
5395
- * @static
5396
- * @memberOf _
5397
- * @since 0.1.0
5398
- * @category Lang
5399
- * @param {*} value The value to check.
5400
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
5401
- * @example
5402
- *
5403
- * _.isObject({});
5404
- * // => true
5405
- *
5406
- * _.isObject([1, 2, 3]);
5407
- * // => true
5408
- *
5409
- * _.isObject(_.noop);
5410
- * // => true
5411
- *
5412
- * _.isObject(null);
5413
- * // => false
5414
- */
5415
- function isObject(value) {
5416
- var type = typeof value;
5417
- return !!value && (type == 'object' || type == 'function');
5418
- }
5419
-
5420
- /**
5421
- * Checks if `value` is object-like. A value is object-like if it's not `null`
5422
- * and has a `typeof` result of "object".
5423
- *
5424
- * @static
5425
- * @memberOf _
5426
- * @since 4.0.0
5427
- * @category Lang
5428
- * @param {*} value The value to check.
5429
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
5430
- * @example
5431
- *
5432
- * _.isObjectLike({});
5433
- * // => true
5434
- *
5435
- * _.isObjectLike([1, 2, 3]);
5436
- * // => true
5437
- *
5438
- * _.isObjectLike(_.noop);
5439
- * // => false
5440
- *
5441
- * _.isObjectLike(null);
5442
- * // => false
5443
- */
5444
- function isObjectLike(value) {
5445
- return !!value && typeof value == 'object';
5446
- }
5447
-
5448
- /**
5449
- * Checks if `value` is classified as a `Symbol` primitive or object.
5450
- *
5451
- * @static
5452
- * @memberOf _
5453
- * @since 4.0.0
5454
- * @category Lang
5455
- * @param {*} value The value to check.
5456
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
5457
- * @example
5458
- *
5459
- * _.isSymbol(Symbol.iterator);
5460
- * // => true
5461
- *
5462
- * _.isSymbol('abc');
5463
- * // => false
5464
- */
5465
- function isSymbol(value) {
5466
- return (
5467
- typeof value == 'symbol' ||
5468
- (isObjectLike(value) && objectToString.call(value) == symbolTag)
5469
- );
5470
- }
5471
-
5472
- /**
5473
- * Converts `value` to a finite number.
5474
- *
5475
- * @static
5476
- * @memberOf _
5477
- * @since 4.12.0
5478
- * @category Lang
5479
- * @param {*} value The value to convert.
5480
- * @returns {number} Returns the converted number.
5481
- * @example
5482
- *
5483
- * _.toFinite(3.2);
5484
- * // => 3.2
5485
- *
5486
- * _.toFinite(Number.MIN_VALUE);
5487
- * // => 5e-324
5488
- *
5489
- * _.toFinite(Infinity);
5490
- * // => 1.7976931348623157e+308
5491
- *
5492
- * _.toFinite('3.2');
5493
- * // => 3.2
5494
- */
5495
- function toFinite(value) {
5496
- if (!value) {
5497
- return value === 0 ? value : 0;
5498
- }
5499
- value = toNumber(value);
5500
- if (value === INFINITY || value === -INFINITY) {
5501
- var sign = value < 0 ? -1 : 1;
5502
- return sign * MAX_INTEGER;
5503
- }
5504
- return value === value ? value : 0;
5505
- }
5506
-
5507
- /**
5508
- * Converts `value` to an integer.
5509
- *
5510
- * **Note:** This method is loosely based on
5511
- * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
5512
- *
5513
- * @static
5514
- * @memberOf _
5515
- * @since 4.0.0
5516
- * @category Lang
5517
- * @param {*} value The value to convert.
5518
- * @returns {number} Returns the converted integer.
5519
- * @example
5520
- *
5521
- * _.toInteger(3.2);
5522
- * // => 3
5523
- *
5524
- * _.toInteger(Number.MIN_VALUE);
5525
- * // => 0
5526
- *
5527
- * _.toInteger(Infinity);
5528
- * // => 1.7976931348623157e+308
5529
- *
5530
- * _.toInteger('3.2');
5531
- * // => 3
5532
- */
5533
- function toInteger(value) {
5534
- var result = toFinite(value),
5535
- remainder = result % 1;
5536
-
5537
- return result === result ? (remainder ? result - remainder : result) : 0;
5538
- }
5539
-
5540
- /**
5541
- * Converts `value` to a number.
5542
- *
5543
- * @static
5544
- * @memberOf _
5545
- * @since 4.0.0
5546
- * @category Lang
5547
- * @param {*} value The value to process.
5548
- * @returns {number} Returns the number.
5549
- * @example
5550
- *
5551
- * _.toNumber(3.2);
5552
- * // => 3.2
5553
- *
5554
- * _.toNumber(Number.MIN_VALUE);
5555
- * // => 5e-324
5556
- *
5557
- * _.toNumber(Infinity);
5558
- * // => Infinity
5559
- *
5560
- * _.toNumber('3.2');
5561
- * // => 3.2
5562
- */
5563
- function toNumber(value) {
5564
- if (typeof value == 'number') {
5565
- return value;
5566
- }
5567
- if (isSymbol(value)) {
5568
- return NAN;
5569
- }
5570
- if (isObject(value)) {
5571
- var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
5572
- value = isObject(other) ? other + '' : other;
5573
- }
5574
- if (typeof value != 'string') {
5575
- return value === 0 ? value : +value;
5576
- }
5577
- value = value.replace(reTrim, '');
5578
- var isBinary = reIsBinary.test(value);
5579
- return isBinary || reIsOctal.test(value)
5580
- ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
5581
- : reIsBadHex.test(value)
5582
- ? NAN
5583
- : +value;
5584
- }
5585
-
5586
- /**
5587
- * Converts `value` to a string. An empty string is returned for `null`
5588
- * and `undefined` values. The sign of `-0` is preserved.
5589
- *
5590
- * @static
5591
- * @memberOf _
5592
- * @since 4.0.0
5593
- * @category Lang
5594
- * @param {*} value The value to process.
5595
- * @returns {string} Returns the string.
5596
- * @example
5597
- *
5598
- * _.toString(null);
5599
- * // => ''
5600
- *
5601
- * _.toString(-0);
5602
- * // => '-0'
5603
- *
5604
- * _.toString([1, 2, 3]);
5605
- * // => '1,2,3'
5606
- */
5607
- function toString(value) {
5608
- return value == null ? '' : baseToString(value);
5609
- }
5610
-
5611
- /**
5612
- * Pads `string` on the right side if it's shorter than `length`. Padding
5613
- * characters are truncated if they exceed `length`.
5614
- *
5615
- * @static
5616
- * @memberOf _
5617
- * @since 4.0.0
5618
- * @category String
5619
- * @param {string} [string=''] The string to pad.
5620
- * @param {number} [length=0] The padding length.
5621
- * @param {string} [chars=' '] The string used as padding.
5622
- * @returns {string} Returns the padded string.
5623
- * @example
5624
- *
5625
- * _.padEnd('abc', 6);
5626
- * // => 'abc '
5627
- *
5628
- * _.padEnd('abc', 6, '_-');
5629
- * // => 'abc_-_'
5630
- *
5631
- * _.padEnd('abc', 3);
5632
- * // => 'abc'
5633
- */
5634
- function padEnd$1(string, length, chars) {
5635
- string = toString(string);
5636
- length = toInteger(length);
5637
-
5638
- var strLength = length ? stringSize(string) : 0;
5639
- return length && strLength < length
5640
- ? string + createPadding(length - strLength, chars)
5641
- : string;
5642
- }
5643
-
5644
- var lodash_padend = padEnd$1;
5645
-
5646
- /* eslint-disable no-mixed-operators */
5647
- var rgbHex$1 = (red, green, blue, alpha) => {
5648
- const isPercent = (red + (alpha || '')).toString().includes('%');
5649
-
5650
- if (typeof red === 'string') {
5651
- [red, green, blue, alpha] = red.match(/(0?\.?\d{1,3})%?\b/g).map(Number);
5652
- } else if (alpha !== undefined) {
5653
- alpha = parseFloat(alpha);
5654
- }
5655
-
5656
- if (
5657
- typeof red !== 'number' ||
5658
- typeof green !== 'number' ||
5659
- typeof blue !== 'number' ||
5660
- red > 255 ||
5661
- green > 255 ||
5662
- blue > 255
5663
- ) {
5664
- throw new TypeError('Expected three numbers below 256');
5665
- }
5666
-
5667
- if (typeof alpha === 'number') {
5668
- if (!isPercent && alpha >= 0 && alpha <= 1) {
5669
- alpha = Math.round(255 * alpha);
5670
- } else if (isPercent && alpha >= 0 && alpha <= 100) {
5671
- alpha = Math.round((255 * alpha) / 100);
5672
- } else {
5673
- throw new TypeError(
5674
- `Expected alpha value (${alpha}) as a fraction or percentage`
5675
- );
5676
- }
5677
-
5678
- alpha = (alpha | (1 << 8)).toString(16).slice(1);
5679
- } else {
5680
- alpha = '';
5681
- }
5682
-
5683
- return (
5684
- (blue | (green << 8) | (red << 16) | (1 << 24)).toString(16).slice(1) +
5685
- alpha
5686
- );
5687
- };
5688
-
5689
- const hexCharacters = 'a-f\\d';
5690
- const match3or4Hex = `#?[${hexCharacters}]{3}[${hexCharacters}]?`;
5691
- const match6or8Hex = `#?[${hexCharacters}]{6}([${hexCharacters}]{2})?`;
5692
- const nonHexChars = new RegExp(`[^#${hexCharacters}]`, 'gi');
5693
- const validHexSize = new RegExp(`^${match3or4Hex}$|^${match6or8Hex}$`, 'i');
5694
-
5695
- var hexRgb$1 = (hex, options = {}) => {
5696
- if (
5697
- typeof hex !== 'string' ||
5698
- nonHexChars.test(hex) ||
5699
- !validHexSize.test(hex)
5700
- ) {
5701
- throw new TypeError('Expected a valid hex string');
5702
- }
5703
-
5704
- hex = hex.replace(/^#/, '');
5705
- let alphaFromHex = 1;
5706
-
5707
- if (hex.length === 8) {
5708
- alphaFromHex = Number.parseInt(hex.slice(6, 8), 16) / 255;
5709
- hex = hex.slice(0, 6);
5710
- }
5711
-
5712
- if (hex.length === 4) {
5713
- alphaFromHex = Number.parseInt(hex.slice(3, 4).repeat(2), 16) / 255;
5714
- hex = hex.slice(0, 3);
5715
- }
5716
-
5717
- if (hex.length === 3) {
5718
- hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2];
5719
- }
5720
-
5721
- const number = Number.parseInt(hex, 16);
5722
- const red = number >> 16;
5723
- const green = (number >> 8) & 255;
5724
- const blue = number & 255;
5725
- const alpha =
5726
- typeof options.alpha === 'number' ? options.alpha : alphaFromHex;
5727
-
5728
- if (options.format === 'array') {
5729
- return [red, green, blue, alpha];
5730
- }
5731
-
5732
- if (options.format === 'css') {
5733
- const alphaString =
5734
- alpha === 1 ? '' : ` / ${Number((alpha * 100).toFixed(2))}%`;
5735
- return `rgb(${red} ${green} ${blue}${alphaString})`;
5736
- }
5737
-
5738
- return { red, green, blue, alpha };
5739
- };
5740
-
5741
- var toHex = colornames.exports;
5742
- var _words = lodash_words;
5743
- var trimStart = lodash_trimstart;
5744
- var padEnd = lodash_padend;
5745
- var rgbHex = rgbHex$1;
5746
- var hexRgb = hexRgb$1;
5747
-
5748
- const MIXED_WEIGHT = 0.75;
5749
- const TEXT_WEIGHT = 0.25;
5750
- const SEED = 16777215;
5751
- const FACTOR = 49979693;
5752
-
5753
- var stringToColor = function (object) {
5754
- return '#' + generateColor(String(JSON.stringify(object)));
5755
- };
5756
-
5757
- function getColors(text) {
5758
- var words = _words(text);
5759
- var colors = [];
5760
- words.forEach(function (word) {
5761
- var color = toHex(word);
5762
- if (color) colors.push(hexRgb(trimStart(color, '#'), { format: 'array' }));
5763
- });
5764
- return colors;
5765
- }
5766
-
5767
- function mixColors(colors) {
5768
- var mixed = [0, 0, 0];
5769
- colors.forEach(function (value) {
5770
- for (var i = 0; i < 3; i++) mixed[i] += value[i];
5771
- });
5772
- return [
5773
- mixed[0] / colors.length,
5774
- mixed[1] / colors.length,
5775
- mixed[2] / colors.length,
5776
- ];
5777
- }
5778
-
5779
- function generateColor(text) {
5780
- var mixed;
5781
- var colors = getColors(text);
5782
- if (colors.length > 0) mixed = mixColors(colors);
5783
- var b = 1;
5784
- var d = 0;
5785
- var f = 1;
5786
- if (text.length > 0) {
5787
- for (var i = 0; i < text.length; i++)
5788
- text[i].charCodeAt(0) > d && (d = text[i].charCodeAt(0)),
5789
- (f = parseInt(SEED / d)),
5790
- (b = (b + text[i].charCodeAt(0) * f * FACTOR) % SEED);
5791
- }
5792
- var hex = ((b * text.length) % SEED).toString(16);
5793
- hex = padEnd(hex, 6, hex);
5794
- var rgb = hexRgb(hex, { format: 'array' });
5795
- if (mixed)
5796
- return rgbHex(
5797
- TEXT_WEIGHT * rgb[0] + MIXED_WEIGHT * mixed[0],
5798
- TEXT_WEIGHT * rgb[1] + MIXED_WEIGHT * mixed[1],
5799
- TEXT_WEIGHT * rgb[2] + MIXED_WEIGHT * mixed[2]
5800
- );
5801
- return hex;
5802
- }
5803
-
5804
1726
  function _class_call_check$1(instance, Constructor) {
5805
1727
  if (!(instance instanceof Constructor)) {
5806
1728
  throw new TypeError('Cannot call a class as a function');
@@ -5858,12 +1780,6 @@ var InfoFormatter = /*#__PURE__*/ (function () {
5858
1780
  return name.charAt(0).toUpperCase();
5859
1781
  },
5860
1782
  },
5861
- {
5862
- key: 'getBackgroundColor',
5863
- value: function getBackgroundColor(email) {
5864
- return stringToColor(email);
5865
- },
5866
- },
5867
1783
  {
5868
1784
  key: 'getInitial',
5869
1785
  value: function getInitial(name) {