@native-systems/utility 2.2.1 → 2.3.0

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