@danielgindi/selectbox 1.0.35 → 1.0.43

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/lib.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @danielgindi/selectbox 1.0.35
2
+ * @danielgindi/selectbox 1.0.43
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  'use strict';
@@ -20,6 +20,81 @@ var DomEventsSink__default = /*#__PURE__*/_interopDefaultLegacy(DomEventsSink);
20
20
  var VirtualListHelper__default = /*#__PURE__*/_interopDefaultLegacy(VirtualListHelper);
21
21
  var mitt__default = /*#__PURE__*/_interopDefaultLegacy(mitt);
22
22
 
23
+ function _asyncIterator(iterable) {
24
+ var method,
25
+ async,
26
+ sync,
27
+ retry = 2;
28
+
29
+ if (typeof Symbol !== "undefined") {
30
+ async = Symbol.asyncIterator;
31
+ sync = Symbol.iterator;
32
+ }
33
+
34
+ while (retry--) {
35
+ if (async && (method = iterable[async]) != null) {
36
+ return method.call(iterable);
37
+ }
38
+
39
+ if (sync && (method = iterable[sync]) != null) {
40
+ return new AsyncFromSyncIterator(method.call(iterable));
41
+ }
42
+
43
+ async = "@@asyncIterator";
44
+ sync = "@@iterator";
45
+ }
46
+
47
+ throw new TypeError("Object is not async iterable");
48
+ }
49
+
50
+ function AsyncFromSyncIterator(s) {
51
+ AsyncFromSyncIterator = function (s) {
52
+ this.s = s;
53
+ this.n = s.next;
54
+ };
55
+
56
+ AsyncFromSyncIterator.prototype = {
57
+ s: null,
58
+ n: null,
59
+ next: function () {
60
+ return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments));
61
+ },
62
+ return: function (value) {
63
+ var ret = this.s.return;
64
+
65
+ if (ret === undefined) {
66
+ return Promise.resolve({
67
+ value: value,
68
+ done: true
69
+ });
70
+ }
71
+
72
+ return AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments));
73
+ },
74
+ throw: function (value) {
75
+ var thr = this.s.return;
76
+ if (thr === undefined) return Promise.reject(value);
77
+ return AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments));
78
+ }
79
+ };
80
+
81
+ function AsyncFromSyncIteratorContinuation(r) {
82
+ if (Object(r) !== r) {
83
+ return Promise.reject(new TypeError(r + " is not an object."));
84
+ }
85
+
86
+ var done = r.done;
87
+ return Promise.resolve(r.value).then(function (value) {
88
+ return {
89
+ value: value,
90
+ done: done
91
+ };
92
+ });
93
+ }
94
+
95
+ return new AsyncFromSyncIterator(s);
96
+ }
97
+
23
98
  var REACT_ELEMENT_TYPE;
24
99
 
25
100
  function _jsx(type, props, key, children) {
@@ -185,20 +260,6 @@ function _wrapRegExp() {
185
260
  return _wrapRegExp.apply(this, arguments);
186
261
  }
187
262
 
188
- function _asyncIterator(iterable) {
189
- var method;
190
-
191
- if (typeof Symbol !== "undefined") {
192
- if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator];
193
- if (method == null && Symbol.iterator) method = iterable[Symbol.iterator];
194
- }
195
-
196
- if (method == null) method = iterable["@@asyncIterator"];
197
- if (method == null) method = iterable["@@iterator"];
198
- if (method == null) throw new TypeError("Object is not async iterable");
199
- return method.call(iterable);
200
- }
201
-
202
263
  function _AwaitValue(value) {
203
264
  this.wrapped = value;
204
265
  }
@@ -773,7 +834,7 @@ function _superPropBase(object, property) {
773
834
  return object;
774
835
  }
775
836
 
776
- function _get(target, property, receiver) {
837
+ function _get() {
777
838
  if (typeof Reflect !== "undefined" && Reflect.get) {
778
839
  _get = Reflect.get;
779
840
  } else {
@@ -784,14 +845,14 @@ function _get(target, property, receiver) {
784
845
  var desc = Object.getOwnPropertyDescriptor(base, property);
785
846
 
786
847
  if (desc.get) {
787
- return desc.get.call(receiver);
848
+ return desc.get.call(arguments.length < 3 ? target : receiver);
788
849
  }
789
850
 
790
851
  return desc.value;
791
852
  };
792
853
  }
793
854
 
794
- return _get(target, property, receiver || target);
855
+ return _get.apply(this, arguments);
795
856
  }
796
857
 
797
858
  function set$1(target, property, value, receiver) {
@@ -1740,7 +1801,7 @@ var check = function (it) {
1740
1801
  };
1741
1802
 
1742
1803
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
1743
- var global$k =
1804
+ var global$I =
1744
1805
  // eslint-disable-next-line es/no-global-this -- safe
1745
1806
  check(typeof globalThis == 'object' && globalThis) ||
1746
1807
  check(typeof window == 'object' && window) ||
@@ -1752,7 +1813,7 @@ var global$k =
1752
1813
 
1753
1814
  var objectGetOwnPropertyDescriptor = {};
1754
1815
 
1755
- var fails$p = function (exec) {
1816
+ var fails$r = function (exec) {
1756
1817
  try {
1757
1818
  return !!exec();
1758
1819
  } catch (error) {
@@ -1760,30 +1821,36 @@ var fails$p = function (exec) {
1760
1821
  }
1761
1822
  };
1762
1823
 
1763
- var fails$o = fails$p;
1824
+ var fails$q = fails$r;
1764
1825
 
1765
1826
  // Detect IE8's incomplete defineProperty implementation
1766
- var descriptors = !fails$o(function () {
1827
+ var descriptors = !fails$q(function () {
1767
1828
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1768
1829
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
1769
1830
  });
1770
1831
 
1832
+ var call$f = Function.prototype.call;
1833
+
1834
+ var functionCall = call$f.bind ? call$f.bind(call$f) : function () {
1835
+ return call$f.apply(call$f, arguments);
1836
+ };
1837
+
1771
1838
  var objectPropertyIsEnumerable = {};
1772
1839
 
1773
1840
  'use strict';
1774
- var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
1841
+ var $propertyIsEnumerable$2 = {}.propertyIsEnumerable;
1775
1842
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1776
1843
  var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
1777
1844
 
1778
1845
  // Nashorn ~ JDK8 bug
1779
- var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable$1.call({ 1: 2 }, 1);
1846
+ var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable$2.call({ 1: 2 }, 1);
1780
1847
 
1781
1848
  // `Object.prototype.propertyIsEnumerable` method implementation
1782
1849
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
1783
1850
  var f$6 = objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
1784
1851
  var descriptor = getOwnPropertyDescriptor$2(this, V);
1785
1852
  return !!descriptor && descriptor.enumerable;
1786
- } : $propertyIsEnumerable$1;
1853
+ } : $propertyIsEnumerable$2;
1787
1854
 
1788
1855
  var createPropertyDescriptor$5 = function (bitmap, value) {
1789
1856
  return {
@@ -1794,30 +1861,53 @@ var createPropertyDescriptor$5 = function (bitmap, value) {
1794
1861
  };
1795
1862
  };
1796
1863
 
1797
- var toString$c = {}.toString;
1864
+ var FunctionPrototype$2 = Function.prototype;
1865
+ var bind$6 = FunctionPrototype$2.bind;
1866
+ var call$e = FunctionPrototype$2.call;
1867
+ var callBind = bind$6 && bind$6.bind(call$e);
1868
+
1869
+ var functionUncurryThis = bind$6 ? function (fn) {
1870
+ return fn && callBind(call$e, fn);
1871
+ } : function (fn) {
1872
+ return fn && function () {
1873
+ return call$e.apply(fn, arguments);
1874
+ };
1875
+ };
1876
+
1877
+ var uncurryThis$v = functionUncurryThis;
1878
+
1879
+ var toString$d = uncurryThis$v({}.toString);
1880
+ var stringSlice$7 = uncurryThis$v(''.slice);
1798
1881
 
1799
1882
  var classofRaw$1 = function (it) {
1800
- return toString$c.call(it).slice(8, -1);
1883
+ return stringSlice$7(toString$d(it), 8, -1);
1801
1884
  };
1802
1885
 
1803
- var fails$n = fails$p;
1804
- var classof$8 = classofRaw$1;
1886
+ var global$H = global$I;
1887
+ var uncurryThis$u = functionUncurryThis;
1888
+ var fails$p = fails$r;
1889
+ var classof$a = classofRaw$1;
1805
1890
 
1806
- var split = ''.split;
1891
+ var Object$5 = global$H.Object;
1892
+ var split = uncurryThis$u(''.split);
1807
1893
 
1808
1894
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
1809
- var indexedObject = fails$n(function () {
1895
+ var indexedObject = fails$p(function () {
1810
1896
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
1811
1897
  // eslint-disable-next-line no-prototype-builtins -- safe
1812
- return !Object('z').propertyIsEnumerable(0);
1898
+ return !Object$5('z').propertyIsEnumerable(0);
1813
1899
  }) ? function (it) {
1814
- return classof$8(it) == 'String' ? split.call(it, '') : Object(it);
1815
- } : Object;
1900
+ return classof$a(it) == 'String' ? split(it, '') : Object$5(it);
1901
+ } : Object$5;
1902
+
1903
+ var global$G = global$I;
1904
+
1905
+ var TypeError$g = global$G.TypeError;
1816
1906
 
1817
1907
  // `RequireObjectCoercible` abstract operation
1818
1908
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
1819
1909
  var requireObjectCoercible$7 = function (it) {
1820
- if (it == undefined) throw TypeError("Can't call method on " + it);
1910
+ if (it == undefined) throw TypeError$g("Can't call method on " + it);
1821
1911
  return it;
1822
1912
  };
1823
1913
 
@@ -1825,23 +1915,23 @@ var requireObjectCoercible$7 = function (it) {
1825
1915
  var IndexedObject$3 = indexedObject;
1826
1916
  var requireObjectCoercible$6 = requireObjectCoercible$7;
1827
1917
 
1828
- var toIndexedObject$9 = function (it) {
1918
+ var toIndexedObject$a = function (it) {
1829
1919
  return IndexedObject$3(requireObjectCoercible$6(it));
1830
1920
  };
1831
1921
 
1832
1922
  // `IsCallable` abstract operation
1833
1923
  // https://tc39.es/ecma262/#sec-iscallable
1834
1924
  var isCallable$l = function (argument) {
1835
- return typeof argument === 'function';
1925
+ return typeof argument == 'function';
1836
1926
  };
1837
1927
 
1838
1928
  var isCallable$k = isCallable$l;
1839
1929
 
1840
1930
  var isObject$e = function (it) {
1841
- return typeof it === 'object' ? it !== null : isCallable$k(it);
1931
+ return typeof it == 'object' ? it !== null : isCallable$k(it);
1842
1932
  };
1843
1933
 
1844
- var global$j = global$k;
1934
+ var global$F = global$I;
1845
1935
  var isCallable$j = isCallable$l;
1846
1936
 
1847
1937
  var aFunction = function (argument) {
@@ -1849,42 +1939,52 @@ var aFunction = function (argument) {
1849
1939
  };
1850
1940
 
1851
1941
  var getBuiltIn$7 = function (namespace, method) {
1852
- return arguments.length < 2 ? aFunction(global$j[namespace]) : global$j[namespace] && global$j[namespace][method];
1942
+ return arguments.length < 2 ? aFunction(global$F[namespace]) : global$F[namespace] && global$F[namespace][method];
1853
1943
  };
1854
1944
 
1945
+ var uncurryThis$t = functionUncurryThis;
1946
+
1947
+ var objectIsPrototypeOf = uncurryThis$t({}.isPrototypeOf);
1948
+
1855
1949
  var getBuiltIn$6 = getBuiltIn$7;
1856
1950
 
1857
1951
  var engineUserAgent = getBuiltIn$6('navigator', 'userAgent') || '';
1858
1952
 
1859
- var global$i = global$k;
1953
+ var global$E = global$I;
1860
1954
  var userAgent$2 = engineUserAgent;
1861
1955
 
1862
- var process = global$i.process;
1863
- var Deno = global$i.Deno;
1956
+ var process = global$E.process;
1957
+ var Deno = global$E.Deno;
1864
1958
  var versions = process && process.versions || Deno && Deno.version;
1865
1959
  var v8 = versions && versions.v8;
1866
1960
  var match, version;
1867
1961
 
1868
1962
  if (v8) {
1869
1963
  match = v8.split('.');
1870
- version = match[0] < 4 ? 1 : match[0] + match[1];
1871
- } else if (userAgent$2) {
1964
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
1965
+ // but their correct versions are not interesting for us
1966
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
1967
+ }
1968
+
1969
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
1970
+ // so check `userAgent` even if `.v8` exists, but 0
1971
+ if (!version && userAgent$2) {
1872
1972
  match = userAgent$2.match(/Edge\/(\d+)/);
1873
1973
  if (!match || match[1] >= 74) {
1874
1974
  match = userAgent$2.match(/Chrome\/(\d+)/);
1875
- if (match) version = match[1];
1975
+ if (match) version = +match[1];
1876
1976
  }
1877
1977
  }
1878
1978
 
1879
- var engineV8Version = version && +version;
1979
+ var engineV8Version = version;
1880
1980
 
1881
1981
  /* eslint-disable es/no-symbol -- required for testing */
1882
1982
 
1883
1983
  var V8_VERSION$2 = engineV8Version;
1884
- var fails$m = fails$p;
1984
+ var fails$o = fails$r;
1885
1985
 
1886
1986
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
1887
- var nativeSymbol$1 = !!Object.getOwnPropertySymbols && !fails$m(function () {
1987
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$o(function () {
1888
1988
  var symbol = Symbol();
1889
1989
  // Chrome 38 Symbol has incorrect toString conversion
1890
1990
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -1895,38 +1995,49 @@ var nativeSymbol$1 = !!Object.getOwnPropertySymbols && !fails$m(function () {
1895
1995
 
1896
1996
  /* eslint-disable es/no-symbol -- required for testing */
1897
1997
 
1898
- var NATIVE_SYMBOL$2 = nativeSymbol$1;
1998
+ var NATIVE_SYMBOL$3 = nativeSymbol;
1899
1999
 
1900
- var useSymbolAsUid = NATIVE_SYMBOL$2
2000
+ var useSymbolAsUid = NATIVE_SYMBOL$3
1901
2001
  && !Symbol.sham
1902
2002
  && typeof Symbol.iterator == 'symbol';
1903
2003
 
1904
- var isCallable$i = isCallable$l;
2004
+ var global$D = global$I;
1905
2005
  var getBuiltIn$5 = getBuiltIn$7;
2006
+ var isCallable$i = isCallable$l;
2007
+ var isPrototypeOf$6 = objectIsPrototypeOf;
1906
2008
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
1907
2009
 
2010
+ var Object$4 = global$D.Object;
2011
+
1908
2012
  var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
1909
2013
  return typeof it == 'symbol';
1910
2014
  } : function (it) {
1911
2015
  var $Symbol = getBuiltIn$5('Symbol');
1912
- return isCallable$i($Symbol) && Object(it) instanceof $Symbol;
2016
+ return isCallable$i($Symbol) && isPrototypeOf$6($Symbol.prototype, Object$4(it));
1913
2017
  };
1914
2018
 
1915
- var tryToString$1 = function (argument) {
2019
+ var global$C = global$I;
2020
+
2021
+ var String$4 = global$C.String;
2022
+
2023
+ var tryToString$3 = function (argument) {
1916
2024
  try {
1917
- return String(argument);
2025
+ return String$4(argument);
1918
2026
  } catch (error) {
1919
2027
  return 'Object';
1920
2028
  }
1921
2029
  };
1922
2030
 
2031
+ var global$B = global$I;
1923
2032
  var isCallable$h = isCallable$l;
1924
- var tryToString = tryToString$1;
2033
+ var tryToString$2 = tryToString$3;
2034
+
2035
+ var TypeError$f = global$B.TypeError;
1925
2036
 
1926
2037
  // `Assert: IsCallable(argument) is true`
1927
2038
  var aCallable$4 = function (argument) {
1928
2039
  if (isCallable$h(argument)) return argument;
1929
- throw TypeError(tryToString(argument) + ' is not a function');
2040
+ throw TypeError$f(tryToString$2(argument) + ' is not a function');
1930
2041
  };
1931
2042
 
1932
2043
  var aCallable$3 = aCallable$4;
@@ -1938,39 +2049,45 @@ var getMethod$4 = function (V, P) {
1938
2049
  return func == null ? undefined : aCallable$3(func);
1939
2050
  };
1940
2051
 
2052
+ var global$A = global$I;
2053
+ var call$d = functionCall;
1941
2054
  var isCallable$g = isCallable$l;
1942
2055
  var isObject$d = isObject$e;
1943
2056
 
2057
+ var TypeError$e = global$A.TypeError;
2058
+
1944
2059
  // `OrdinaryToPrimitive` abstract operation
1945
2060
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
1946
2061
  var ordinaryToPrimitive$1 = function (input, pref) {
1947
2062
  var fn, val;
1948
- if (pref === 'string' && isCallable$g(fn = input.toString) && !isObject$d(val = fn.call(input))) return val;
1949
- if (isCallable$g(fn = input.valueOf) && !isObject$d(val = fn.call(input))) return val;
1950
- if (pref !== 'string' && isCallable$g(fn = input.toString) && !isObject$d(val = fn.call(input))) return val;
1951
- throw TypeError("Can't convert object to primitive value");
2063
+ if (pref === 'string' && isCallable$g(fn = input.toString) && !isObject$d(val = call$d(fn, input))) return val;
2064
+ if (isCallable$g(fn = input.valueOf) && !isObject$d(val = call$d(fn, input))) return val;
2065
+ if (pref !== 'string' && isCallable$g(fn = input.toString) && !isObject$d(val = call$d(fn, input))) return val;
2066
+ throw TypeError$e("Can't convert object to primitive value");
1952
2067
  };
1953
2068
 
1954
2069
  var shared$6 = {exports: {}};
1955
2070
 
1956
2071
  var isPure = false;
1957
2072
 
1958
- var global$h = global$k;
2073
+ var global$z = global$I;
2074
+
2075
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
2076
+ var defineProperty$7 = Object.defineProperty;
1959
2077
 
1960
2078
  var setGlobal$3 = function (key, value) {
1961
2079
  try {
1962
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1963
- Object.defineProperty(global$h, key, { value: value, configurable: true, writable: true });
2080
+ defineProperty$7(global$z, key, { value: value, configurable: true, writable: true });
1964
2081
  } catch (error) {
1965
- global$h[key] = value;
2082
+ global$z[key] = value;
1966
2083
  } return value;
1967
2084
  };
1968
2085
 
1969
- var global$g = global$k;
2086
+ var global$y = global$I;
1970
2087
  var setGlobal$2 = setGlobal$3;
1971
2088
 
1972
2089
  var SHARED = '__core-js_shared__';
1973
- var store$3 = global$g[SHARED] || setGlobal$2(SHARED, {});
2090
+ var store$3 = global$y[SHARED] || setGlobal$2(SHARED, {});
1974
2091
 
1975
2092
  var sharedStore = store$3;
1976
2093
 
@@ -1980,65 +2097,79 @@ var store$2 = sharedStore;
1980
2097
  (shared$6.exports = function (key, value) {
1981
2098
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
1982
2099
  })('versions', []).push({
1983
- version: '3.18.2',
2100
+ version: '3.19.1',
1984
2101
  mode: IS_PURE$4 ? 'pure' : 'global',
1985
2102
  copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
1986
2103
  });
1987
2104
 
1988
2105
  var shared$5 = shared$6.exports;
1989
2106
 
2107
+ var global$x = global$I;
1990
2108
  var requireObjectCoercible$5 = requireObjectCoercible$7;
1991
2109
 
2110
+ var Object$3 = global$x.Object;
2111
+
1992
2112
  // `ToObject` abstract operation
1993
2113
  // https://tc39.es/ecma262/#sec-toobject
1994
2114
  var toObject$a = function (argument) {
1995
- return Object(requireObjectCoercible$5(argument));
2115
+ return Object$3(requireObjectCoercible$5(argument));
1996
2116
  };
1997
2117
 
2118
+ var uncurryThis$s = functionUncurryThis;
1998
2119
  var toObject$9 = toObject$a;
1999
2120
 
2000
- var hasOwnProperty$1 = {}.hasOwnProperty;
2121
+ var hasOwnProperty$1 = uncurryThis$s({}.hasOwnProperty);
2001
2122
 
2002
2123
  // `HasOwnProperty` abstract operation
2003
2124
  // https://tc39.es/ecma262/#sec-hasownproperty
2004
2125
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
2005
- return hasOwnProperty$1.call(toObject$9(it), key);
2126
+ return hasOwnProperty$1(toObject$9(it), key);
2006
2127
  };
2007
2128
 
2129
+ var uncurryThis$r = functionUncurryThis;
2130
+
2008
2131
  var id$1 = 0;
2009
2132
  var postfix = Math.random();
2133
+ var toString$c = uncurryThis$r(1.0.toString);
2010
2134
 
2011
2135
  var uid$4 = function (key) {
2012
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id$1 + postfix).toString(36);
2136
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$c(++id$1 + postfix, 36);
2013
2137
  };
2014
2138
 
2015
- var global$f = global$k;
2139
+ var global$w = global$I;
2016
2140
  var shared$4 = shared$6.exports;
2017
2141
  var hasOwn$d = hasOwnProperty_1;
2018
2142
  var uid$3 = uid$4;
2019
- var NATIVE_SYMBOL$1 = nativeSymbol$1;
2143
+ var NATIVE_SYMBOL$2 = nativeSymbol;
2020
2144
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
2021
2145
 
2022
2146
  var WellKnownSymbolsStore$1 = shared$4('wks');
2023
- var Symbol$1 = global$f.Symbol;
2147
+ var Symbol$1 = global$w.Symbol;
2148
+ var symbolFor = Symbol$1 && Symbol$1['for'];
2024
2149
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$3;
2025
2150
 
2026
2151
  var wellKnownSymbol$n = function (name) {
2027
- if (!hasOwn$d(WellKnownSymbolsStore$1, name) || !(NATIVE_SYMBOL$1 || typeof WellKnownSymbolsStore$1[name] == 'string')) {
2028
- if (NATIVE_SYMBOL$1 && hasOwn$d(Symbol$1, name)) {
2152
+ if (!hasOwn$d(WellKnownSymbolsStore$1, name) || !(NATIVE_SYMBOL$2 || typeof WellKnownSymbolsStore$1[name] == 'string')) {
2153
+ var description = 'Symbol.' + name;
2154
+ if (NATIVE_SYMBOL$2 && hasOwn$d(Symbol$1, name)) {
2029
2155
  WellKnownSymbolsStore$1[name] = Symbol$1[name];
2156
+ } else if (USE_SYMBOL_AS_UID && symbolFor) {
2157
+ WellKnownSymbolsStore$1[name] = symbolFor(description);
2030
2158
  } else {
2031
- WellKnownSymbolsStore$1[name] = createWellKnownSymbol('Symbol.' + name);
2159
+ WellKnownSymbolsStore$1[name] = createWellKnownSymbol(description);
2032
2160
  }
2033
2161
  } return WellKnownSymbolsStore$1[name];
2034
2162
  };
2035
2163
 
2164
+ var global$v = global$I;
2165
+ var call$c = functionCall;
2036
2166
  var isObject$c = isObject$e;
2037
2167
  var isSymbol$2 = isSymbol$3;
2038
2168
  var getMethod$3 = getMethod$4;
2039
2169
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
2040
2170
  var wellKnownSymbol$m = wellKnownSymbol$n;
2041
2171
 
2172
+ var TypeError$d = global$v.TypeError;
2042
2173
  var TO_PRIMITIVE$1 = wellKnownSymbol$m('toPrimitive');
2043
2174
 
2044
2175
  // `ToPrimitive` abstract operation
@@ -2049,9 +2180,9 @@ var toPrimitive$1 = function (input, pref) {
2049
2180
  var result;
2050
2181
  if (exoticToPrim) {
2051
2182
  if (pref === undefined) pref = 'default';
2052
- result = exoticToPrim.call(input, pref);
2183
+ result = call$c(exoticToPrim, input, pref);
2053
2184
  if (!isObject$c(result) || isSymbol$2(result)) return result;
2054
- throw TypeError("Can't convert object to primitive value");
2185
+ throw TypeError$d("Can't convert object to primitive value");
2055
2186
  }
2056
2187
  if (pref === undefined) pref = 'number';
2057
2188
  return ordinaryToPrimitive(input, pref);
@@ -2064,13 +2195,13 @@ var isSymbol$1 = isSymbol$3;
2064
2195
  // https://tc39.es/ecma262/#sec-topropertykey
2065
2196
  var toPropertyKey$4 = function (argument) {
2066
2197
  var key = toPrimitive(argument, 'string');
2067
- return isSymbol$1(key) ? key : String(key);
2198
+ return isSymbol$1(key) ? key : key + '';
2068
2199
  };
2069
2200
 
2070
- var global$e = global$k;
2201
+ var global$u = global$I;
2071
2202
  var isObject$b = isObject$e;
2072
2203
 
2073
- var document$1 = global$e.document;
2204
+ var document$1 = global$u.document;
2074
2205
  // typeof document.createElement is 'object' in old IE
2075
2206
  var EXISTS$1 = isObject$b(document$1) && isObject$b(document$1.createElement);
2076
2207
 
@@ -2079,11 +2210,11 @@ var documentCreateElement$2 = function (it) {
2079
2210
  };
2080
2211
 
2081
2212
  var DESCRIPTORS$c = descriptors;
2082
- var fails$l = fails$p;
2213
+ var fails$n = fails$r;
2083
2214
  var createElement = documentCreateElement$2;
2084
2215
 
2085
2216
  // Thank's IE8 for his funny defineProperty
2086
- var ie8DomDefine = !DESCRIPTORS$c && !fails$l(function () {
2217
+ var ie8DomDefine = !DESCRIPTORS$c && !fails$n(function () {
2087
2218
  // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
2088
2219
  return Object.defineProperty(createElement('div'), 'a', {
2089
2220
  get: function () { return 7; }
@@ -2091,9 +2222,10 @@ var ie8DomDefine = !DESCRIPTORS$c && !fails$l(function () {
2091
2222
  });
2092
2223
 
2093
2224
  var DESCRIPTORS$b = descriptors;
2225
+ var call$b = functionCall;
2094
2226
  var propertyIsEnumerableModule$2 = objectPropertyIsEnumerable;
2095
2227
  var createPropertyDescriptor$4 = createPropertyDescriptor$5;
2096
- var toIndexedObject$8 = toIndexedObject$9;
2228
+ var toIndexedObject$9 = toIndexedObject$a;
2097
2229
  var toPropertyKey$3 = toPropertyKey$4;
2098
2230
  var hasOwn$c = hasOwnProperty_1;
2099
2231
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
@@ -2104,29 +2236,35 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
2104
2236
  // `Object.getOwnPropertyDescriptor` method
2105
2237
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
2106
2238
  var f$5 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
2107
- O = toIndexedObject$8(O);
2239
+ O = toIndexedObject$9(O);
2108
2240
  P = toPropertyKey$3(P);
2109
2241
  if (IE8_DOM_DEFINE$1) try {
2110
2242
  return $getOwnPropertyDescriptor$1(O, P);
2111
2243
  } catch (error) { /* empty */ }
2112
- if (hasOwn$c(O, P)) return createPropertyDescriptor$4(!propertyIsEnumerableModule$2.f.call(O, P), O[P]);
2244
+ if (hasOwn$c(O, P)) return createPropertyDescriptor$4(!call$b(propertyIsEnumerableModule$2.f, O, P), O[P]);
2113
2245
  };
2114
2246
 
2115
2247
  var objectDefineProperty = {};
2116
2248
 
2249
+ var global$t = global$I;
2117
2250
  var isObject$a = isObject$e;
2118
2251
 
2252
+ var String$3 = global$t.String;
2253
+ var TypeError$c = global$t.TypeError;
2254
+
2119
2255
  // `Assert: Type(argument) is Object`
2120
2256
  var anObject$e = function (argument) {
2121
2257
  if (isObject$a(argument)) return argument;
2122
- throw TypeError(String(argument) + ' is not an object');
2258
+ throw TypeError$c(String$3(argument) + ' is not an object');
2123
2259
  };
2124
2260
 
2261
+ var global$s = global$I;
2125
2262
  var DESCRIPTORS$a = descriptors;
2126
2263
  var IE8_DOM_DEFINE = ie8DomDefine;
2127
2264
  var anObject$d = anObject$e;
2128
2265
  var toPropertyKey$2 = toPropertyKey$4;
2129
2266
 
2267
+ var TypeError$b = global$s.TypeError;
2130
2268
  // eslint-disable-next-line es/no-object-defineproperty -- safe
2131
2269
  var $defineProperty$1 = Object.defineProperty;
2132
2270
 
@@ -2139,7 +2277,7 @@ var f$4 = objectDefineProperty.f = DESCRIPTORS$a ? $defineProperty$1 : function
2139
2277
  if (IE8_DOM_DEFINE) try {
2140
2278
  return $defineProperty$1(O, P, Attributes);
2141
2279
  } catch (error) { /* empty */ }
2142
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
2280
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$b('Accessors not supported');
2143
2281
  if ('value' in Attributes) O[P] = Attributes.value;
2144
2282
  return O;
2145
2283
  };
@@ -2157,25 +2295,26 @@ var createNonEnumerableProperty$7 = DESCRIPTORS$9 ? function (object, key, value
2157
2295
 
2158
2296
  var redefine$b = {exports: {}};
2159
2297
 
2298
+ var uncurryThis$q = functionUncurryThis;
2160
2299
  var isCallable$f = isCallable$l;
2161
2300
  var store$1 = sharedStore;
2162
2301
 
2163
- var functionToString = Function.toString;
2302
+ var functionToString = uncurryThis$q(Function.toString);
2164
2303
 
2165
2304
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
2166
2305
  if (!isCallable$f(store$1.inspectSource)) {
2167
2306
  store$1.inspectSource = function (it) {
2168
- return functionToString.call(it);
2307
+ return functionToString(it);
2169
2308
  };
2170
2309
  }
2171
2310
 
2172
2311
  var inspectSource$3 = store$1.inspectSource;
2173
2312
 
2174
- var global$d = global$k;
2313
+ var global$r = global$I;
2175
2314
  var isCallable$e = isCallable$l;
2176
2315
  var inspectSource$2 = inspectSource$3;
2177
2316
 
2178
- var WeakMap$2 = global$d.WeakMap;
2317
+ var WeakMap$2 = global$r.WeakMap;
2179
2318
 
2180
2319
  var nativeWeakMap = isCallable$e(WeakMap$2) && /native code/.test(inspectSource$2(WeakMap$2));
2181
2320
 
@@ -2191,7 +2330,8 @@ var sharedKey$4 = function (key) {
2191
2330
  var hiddenKeys$6 = {};
2192
2331
 
2193
2332
  var NATIVE_WEAK_MAP = nativeWeakMap;
2194
- var global$c = global$k;
2333
+ var global$q = global$I;
2334
+ var uncurryThis$p = functionUncurryThis;
2195
2335
  var isObject$9 = isObject$e;
2196
2336
  var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
2197
2337
  var hasOwn$b = hasOwnProperty_1;
@@ -2200,7 +2340,8 @@ var sharedKey$3 = sharedKey$4;
2200
2340
  var hiddenKeys$5 = hiddenKeys$6;
2201
2341
 
2202
2342
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
2203
- var WeakMap$1 = global$c.WeakMap;
2343
+ var TypeError$a = global$q.TypeError;
2344
+ var WeakMap$1 = global$q.WeakMap;
2204
2345
  var set, get, has;
2205
2346
 
2206
2347
  var enforce = function (it) {
@@ -2211,33 +2352,33 @@ var getterFor = function (TYPE) {
2211
2352
  return function (it) {
2212
2353
  var state;
2213
2354
  if (!isObject$9(it) || (state = get(it)).type !== TYPE) {
2214
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
2355
+ throw TypeError$a('Incompatible receiver, ' + TYPE + ' required');
2215
2356
  } return state;
2216
2357
  };
2217
2358
  };
2218
2359
 
2219
2360
  if (NATIVE_WEAK_MAP || shared$2.state) {
2220
2361
  var store = shared$2.state || (shared$2.state = new WeakMap$1());
2221
- var wmget = store.get;
2222
- var wmhas = store.has;
2223
- var wmset = store.set;
2362
+ var wmget = uncurryThis$p(store.get);
2363
+ var wmhas = uncurryThis$p(store.has);
2364
+ var wmset = uncurryThis$p(store.set);
2224
2365
  set = function (it, metadata) {
2225
- if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
2366
+ if (wmhas(store, it)) throw new TypeError$a(OBJECT_ALREADY_INITIALIZED);
2226
2367
  metadata.facade = it;
2227
- wmset.call(store, it, metadata);
2368
+ wmset(store, it, metadata);
2228
2369
  return metadata;
2229
2370
  };
2230
2371
  get = function (it) {
2231
- return wmget.call(store, it) || {};
2372
+ return wmget(store, it) || {};
2232
2373
  };
2233
2374
  has = function (it) {
2234
- return wmhas.call(store, it);
2375
+ return wmhas(store, it);
2235
2376
  };
2236
2377
  } else {
2237
2378
  var STATE = sharedKey$3('state');
2238
2379
  hiddenKeys$5[STATE] = true;
2239
2380
  set = function (it, metadata) {
2240
- if (hasOwn$b(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
2381
+ if (hasOwn$b(it, STATE)) throw new TypeError$a(OBJECT_ALREADY_INITIALIZED);
2241
2382
  metadata.facade = it;
2242
2383
  createNonEnumerableProperty$6(it, STATE, metadata);
2243
2384
  return metadata;
@@ -2261,14 +2402,14 @@ var internalState = {
2261
2402
  var DESCRIPTORS$8 = descriptors;
2262
2403
  var hasOwn$a = hasOwnProperty_1;
2263
2404
 
2264
- var FunctionPrototype = Function.prototype;
2405
+ var FunctionPrototype$1 = Function.prototype;
2265
2406
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2266
2407
  var getDescriptor = DESCRIPTORS$8 && Object.getOwnPropertyDescriptor;
2267
2408
 
2268
- var EXISTS = hasOwn$a(FunctionPrototype, 'name');
2409
+ var EXISTS = hasOwn$a(FunctionPrototype$1, 'name');
2269
2410
  // additional protection from minified / mangled / dropped function names
2270
2411
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
2271
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$8 || (DESCRIPTORS$8 && getDescriptor(FunctionPrototype, 'name').configurable));
2412
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$8 || (DESCRIPTORS$8 && getDescriptor(FunctionPrototype$1, 'name').configurable));
2272
2413
 
2273
2414
  var functionName = {
2274
2415
  EXISTS: EXISTS,
@@ -2276,7 +2417,7 @@ var functionName = {
2276
2417
  CONFIGURABLE: CONFIGURABLE
2277
2418
  };
2278
2419
 
2279
- var global$b = global$k;
2420
+ var global$p = global$I;
2280
2421
  var isCallable$d = isCallable$l;
2281
2422
  var hasOwn$9 = hasOwnProperty_1;
2282
2423
  var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
@@ -2307,7 +2448,7 @@ var TEMPLATE = String(String).split('String');
2307
2448
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
2308
2449
  }
2309
2450
  }
2310
- if (O === global$b) {
2451
+ if (O === global$p) {
2311
2452
  if (simple) O[key] = value;
2312
2453
  else setGlobal$1(key, value);
2313
2454
  return;
@@ -2369,14 +2510,14 @@ var lengthOfArrayLike$8 = function (obj) {
2369
2510
  return toLength$2(obj.length);
2370
2511
  };
2371
2512
 
2372
- var toIndexedObject$7 = toIndexedObject$9;
2513
+ var toIndexedObject$8 = toIndexedObject$a;
2373
2514
  var toAbsoluteIndex$2 = toAbsoluteIndex$3;
2374
2515
  var lengthOfArrayLike$7 = lengthOfArrayLike$8;
2375
2516
 
2376
2517
  // `Array.prototype.{ indexOf, includes }` methods implementation
2377
2518
  var createMethod$4 = function (IS_INCLUDES) {
2378
2519
  return function ($this, el, fromIndex) {
2379
- var O = toIndexedObject$7($this);
2520
+ var O = toIndexedObject$8($this);
2380
2521
  var length = lengthOfArrayLike$7(O);
2381
2522
  var index = toAbsoluteIndex$2(fromIndex, length);
2382
2523
  var value;
@@ -2402,20 +2543,23 @@ var arrayIncludes = {
2402
2543
  indexOf: createMethod$4(false)
2403
2544
  };
2404
2545
 
2546
+ var uncurryThis$o = functionUncurryThis;
2405
2547
  var hasOwn$8 = hasOwnProperty_1;
2406
- var toIndexedObject$6 = toIndexedObject$9;
2407
- var indexOf = arrayIncludes.indexOf;
2548
+ var toIndexedObject$7 = toIndexedObject$a;
2549
+ var indexOf$1 = arrayIncludes.indexOf;
2408
2550
  var hiddenKeys$4 = hiddenKeys$6;
2409
2551
 
2552
+ var push$5 = uncurryThis$o([].push);
2553
+
2410
2554
  var objectKeysInternal = function (object, names) {
2411
- var O = toIndexedObject$6(object);
2555
+ var O = toIndexedObject$7(object);
2412
2556
  var i = 0;
2413
2557
  var result = [];
2414
2558
  var key;
2415
- for (key in O) !hasOwn$8(hiddenKeys$4, key) && hasOwn$8(O, key) && result.push(key);
2559
+ for (key in O) !hasOwn$8(hiddenKeys$4, key) && hasOwn$8(O, key) && push$5(result, key);
2416
2560
  // Don't enum bug & hidden keys
2417
2561
  while (names.length > i) if (hasOwn$8(O, key = names[i++])) {
2418
- ~indexOf(result, key) || result.push(key);
2562
+ ~indexOf$1(result, key) || push$5(result, key);
2419
2563
  }
2420
2564
  return result;
2421
2565
  };
@@ -2449,15 +2593,18 @@ var objectGetOwnPropertySymbols = {};
2449
2593
  var f$2 = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
2450
2594
 
2451
2595
  var getBuiltIn$4 = getBuiltIn$7;
2596
+ var uncurryThis$n = functionUncurryThis;
2452
2597
  var getOwnPropertyNamesModule$2 = objectGetOwnPropertyNames;
2453
2598
  var getOwnPropertySymbolsModule$2 = objectGetOwnPropertySymbols;
2454
2599
  var anObject$c = anObject$e;
2455
2600
 
2601
+ var concat$2 = uncurryThis$n([].concat);
2602
+
2456
2603
  // all object keys, includes non-enumerable and symbols
2457
2604
  var ownKeys$1 = getBuiltIn$4('Reflect', 'ownKeys') || function ownKeys(it) {
2458
2605
  var keys = getOwnPropertyNamesModule$2.f(anObject$c(it));
2459
2606
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$2.f;
2460
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
2607
+ return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
2461
2608
  };
2462
2609
 
2463
2610
  var hasOwn$7 = hasOwnProperty_1;
@@ -2475,7 +2622,7 @@ var copyConstructorProperties$2 = function (target, source) {
2475
2622
  }
2476
2623
  };
2477
2624
 
2478
- var fails$k = fails$p;
2625
+ var fails$m = fails$r;
2479
2626
  var isCallable$c = isCallable$l;
2480
2627
 
2481
2628
  var replacement = /#|\.prototype\./;
@@ -2484,7 +2631,7 @@ var isForced$3 = function (feature, detection) {
2484
2631
  var value = data[normalize(feature)];
2485
2632
  return value == POLYFILL ? true
2486
2633
  : value == NATIVE ? false
2487
- : isCallable$c(detection) ? fails$k(detection)
2634
+ : isCallable$c(detection) ? fails$m(detection)
2488
2635
  : !!detection;
2489
2636
  };
2490
2637
 
@@ -2498,7 +2645,7 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
2498
2645
 
2499
2646
  var isForced_1 = isForced$3;
2500
2647
 
2501
- var global$a = global$k;
2648
+ var global$o = global$I;
2502
2649
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
2503
2650
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
2504
2651
  var redefine$9 = redefine$b.exports;
@@ -2527,11 +2674,11 @@ var _export = function (options, source) {
2527
2674
  var STATIC = options.stat;
2528
2675
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
2529
2676
  if (GLOBAL) {
2530
- target = global$a;
2677
+ target = global$o;
2531
2678
  } else if (STATIC) {
2532
- target = global$a[TARGET] || setGlobal(TARGET, {});
2679
+ target = global$o[TARGET] || setGlobal(TARGET, {});
2533
2680
  } else {
2534
- target = (global$a[TARGET] || {}).prototype;
2681
+ target = (global$o[TARGET] || {}).prototype;
2535
2682
  }
2536
2683
  if (target) for (key in source) {
2537
2684
  sourceProperty = source[key];
@@ -2542,7 +2689,7 @@ var _export = function (options, source) {
2542
2689
  FORCED = isForced$2(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
2543
2690
  // contained in target
2544
2691
  if (!FORCED && targetProperty !== undefined) {
2545
- if (typeof sourceProperty === typeof targetProperty) continue;
2692
+ if (typeof sourceProperty == typeof targetProperty) continue;
2546
2693
  copyConstructorProperties$1(sourceProperty, targetProperty);
2547
2694
  }
2548
2695
  // add a flag to not completely full polyfills
@@ -2554,13 +2701,23 @@ var _export = function (options, source) {
2554
2701
  }
2555
2702
  };
2556
2703
 
2557
- var classof$7 = classofRaw$1;
2704
+ var FunctionPrototype = Function.prototype;
2705
+ var apply$2 = FunctionPrototype.apply;
2706
+ var bind$5 = FunctionPrototype.bind;
2707
+ var call$a = FunctionPrototype.call;
2708
+
2709
+ // eslint-disable-next-line es/no-reflect -- safe
2710
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (bind$5 ? call$a.bind(apply$2) : function () {
2711
+ return call$a.apply(apply$2, arguments);
2712
+ });
2713
+
2714
+ var classof$9 = classofRaw$1;
2558
2715
 
2559
2716
  // `IsArray` abstract operation
2560
2717
  // https://tc39.es/ecma262/#sec-isarray
2561
2718
  // eslint-disable-next-line es/no-array-isarray -- safe
2562
2719
  var isArray$4 = Array.isArray || function isArray(argument) {
2563
- return classof$7(argument) == 'Array';
2720
+ return classof$9(argument) == 'Array';
2564
2721
  };
2565
2722
 
2566
2723
  var wellKnownSymbol$l = wellKnownSymbol$n;
@@ -2572,12 +2729,15 @@ test$1[TO_STRING_TAG$3] = 'z';
2572
2729
 
2573
2730
  var toStringTagSupport = String(test$1) === '[object z]';
2574
2731
 
2732
+ var global$n = global$I;
2575
2733
  var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
2576
2734
  var isCallable$b = isCallable$l;
2577
2735
  var classofRaw = classofRaw$1;
2578
2736
  var wellKnownSymbol$k = wellKnownSymbol$n;
2579
2737
 
2580
2738
  var TO_STRING_TAG$2 = wellKnownSymbol$k('toStringTag');
2739
+ var Object$2 = global$n.Object;
2740
+
2581
2741
  // ES3 wrong here
2582
2742
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
2583
2743
 
@@ -2589,22 +2749,25 @@ var tryGet = function (it, key) {
2589
2749
  };
2590
2750
 
2591
2751
  // getting tag from ES6+ `Object.prototype.toString`
2592
- var classof$6 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
2752
+ var classof$8 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
2593
2753
  var O, tag, result;
2594
2754
  return it === undefined ? 'Undefined' : it === null ? 'Null'
2595
2755
  // @@toStringTag case
2596
- : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG$2)) == 'string' ? tag
2756
+ : typeof (tag = tryGet(O = Object$2(it), TO_STRING_TAG$2)) == 'string' ? tag
2597
2757
  // builtinTag case
2598
2758
  : CORRECT_ARGUMENTS ? classofRaw(O)
2599
2759
  // ES3 arguments fallback
2600
2760
  : (result = classofRaw(O)) == 'Object' && isCallable$b(O.callee) ? 'Arguments' : result;
2601
2761
  };
2602
2762
 
2603
- var classof$5 = classof$6;
2763
+ var global$m = global$I;
2764
+ var classof$7 = classof$8;
2765
+
2766
+ var String$2 = global$m.String;
2604
2767
 
2605
2768
  var toString$b = function (argument) {
2606
- if (classof$5(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
2607
- return String(argument);
2769
+ if (classof$7(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
2770
+ return String$2(argument);
2608
2771
  };
2609
2772
 
2610
2773
  var internalObjectKeys = objectKeysInternal;
@@ -2620,6 +2783,7 @@ var objectKeys$4 = Object.keys || function keys(O) {
2620
2783
  var DESCRIPTORS$7 = descriptors;
2621
2784
  var definePropertyModule$4 = objectDefineProperty;
2622
2785
  var anObject$b = anObject$e;
2786
+ var toIndexedObject$6 = toIndexedObject$a;
2623
2787
  var objectKeys$3 = objectKeys$4;
2624
2788
 
2625
2789
  // `Object.defineProperties` method
@@ -2627,11 +2791,12 @@ var objectKeys$3 = objectKeys$4;
2627
2791
  // eslint-disable-next-line es/no-object-defineproperties -- safe
2628
2792
  var objectDefineProperties = DESCRIPTORS$7 ? Object.defineProperties : function defineProperties(O, Properties) {
2629
2793
  anObject$b(O);
2794
+ var props = toIndexedObject$6(Properties);
2630
2795
  var keys = objectKeys$3(Properties);
2631
2796
  var length = keys.length;
2632
2797
  var index = 0;
2633
2798
  var key;
2634
- while (length > index) definePropertyModule$4.f(O, key = keys[index++], Properties[key]);
2799
+ while (length > index) definePropertyModule$4.f(O, key = keys[index++], props[key]);
2635
2800
  return O;
2636
2801
  };
2637
2802
 
@@ -2725,12 +2890,16 @@ var objectCreate = Object.create || function create(O, Properties) {
2725
2890
 
2726
2891
  var objectGetOwnPropertyNamesExternal = {};
2727
2892
 
2893
+ var uncurryThis$m = functionUncurryThis;
2894
+
2895
+ var arraySlice$3 = uncurryThis$m([].slice);
2896
+
2728
2897
  /* eslint-disable es/no-object-getownpropertynames -- safe */
2729
2898
 
2730
- var toIndexedObject$5 = toIndexedObject$9;
2899
+ var classof$6 = classofRaw$1;
2900
+ var toIndexedObject$5 = toIndexedObject$a;
2731
2901
  var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
2732
-
2733
- var toString$a = {}.toString;
2902
+ var arraySlice$2 = arraySlice$3;
2734
2903
 
2735
2904
  var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
2736
2905
  ? Object.getOwnPropertyNames(window) : [];
@@ -2739,13 +2908,13 @@ var getWindowNames = function (it) {
2739
2908
  try {
2740
2909
  return $getOwnPropertyNames$1(it);
2741
2910
  } catch (error) {
2742
- return windowNames.slice();
2911
+ return arraySlice$2(windowNames);
2743
2912
  }
2744
2913
  };
2745
2914
 
2746
2915
  // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
2747
2916
  var f$1 = objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) {
2748
- return windowNames && toString$a.call(it) == '[object Window]'
2917
+ return windowNames && classof$6(it) == 'Window'
2749
2918
  ? getWindowNames(it)
2750
2919
  : $getOwnPropertyNames$1(toIndexedObject$5(it));
2751
2920
  };
@@ -2756,9 +2925,9 @@ var wellKnownSymbol$j = wellKnownSymbol$n;
2756
2925
 
2757
2926
  var f = wellKnownSymbolWrapped.f = wellKnownSymbol$j;
2758
2927
 
2759
- var global$9 = global$k;
2928
+ var global$l = global$I;
2760
2929
 
2761
- var path$1 = global$9;
2930
+ var path$1 = global$l;
2762
2931
 
2763
2932
  var path = path$1;
2764
2933
  var hasOwn$6 = hasOwnProperty_1;
@@ -2784,47 +2953,37 @@ var setToStringTag$4 = function (it, TAG, STATIC) {
2784
2953
  }
2785
2954
  };
2786
2955
 
2956
+ var uncurryThis$l = functionUncurryThis;
2787
2957
  var aCallable$2 = aCallable$4;
2788
2958
 
2959
+ var bind$4 = uncurryThis$l(uncurryThis$l.bind);
2960
+
2789
2961
  // optional / simple context binding
2790
- var functionBindContext = function (fn, that, length) {
2962
+ var functionBindContext = function (fn, that) {
2791
2963
  aCallable$2(fn);
2792
- if (that === undefined) return fn;
2793
- switch (length) {
2794
- case 0: return function () {
2795
- return fn.call(that);
2796
- };
2797
- case 1: return function (a) {
2798
- return fn.call(that, a);
2799
- };
2800
- case 2: return function (a, b) {
2801
- return fn.call(that, a, b);
2802
- };
2803
- case 3: return function (a, b, c) {
2804
- return fn.call(that, a, b, c);
2805
- };
2806
- }
2807
- return function (/* ...args */) {
2964
+ return that === undefined ? fn : bind$4 ? bind$4(fn, that) : function (/* ...args */) {
2808
2965
  return fn.apply(that, arguments);
2809
2966
  };
2810
2967
  };
2811
2968
 
2812
- var fails$j = fails$p;
2969
+ var uncurryThis$k = functionUncurryThis;
2970
+ var fails$l = fails$r;
2813
2971
  var isCallable$a = isCallable$l;
2814
- var classof$4 = classof$6;
2972
+ var classof$5 = classof$8;
2815
2973
  var getBuiltIn$2 = getBuiltIn$7;
2816
2974
  var inspectSource = inspectSource$3;
2817
2975
 
2976
+ var noop = function () { /* empty */ };
2818
2977
  var empty = [];
2819
2978
  var construct = getBuiltIn$2('Reflect', 'construct');
2820
2979
  var constructorRegExp = /^\s*(?:class|function)\b/;
2821
- var exec$1 = constructorRegExp.exec;
2822
- var INCORRECT_TO_STRING = !constructorRegExp.exec(function () { /* empty */ });
2980
+ var exec$2 = uncurryThis$k(constructorRegExp.exec);
2981
+ var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
2823
2982
 
2824
2983
  var isConstructorModern = function (argument) {
2825
2984
  if (!isCallable$a(argument)) return false;
2826
2985
  try {
2827
- construct(Object, empty, argument);
2986
+ construct(noop, empty, argument);
2828
2987
  return true;
2829
2988
  } catch (error) {
2830
2989
  return false;
@@ -2833,17 +2992,17 @@ var isConstructorModern = function (argument) {
2833
2992
 
2834
2993
  var isConstructorLegacy = function (argument) {
2835
2994
  if (!isCallable$a(argument)) return false;
2836
- switch (classof$4(argument)) {
2995
+ switch (classof$5(argument)) {
2837
2996
  case 'AsyncFunction':
2838
2997
  case 'GeneratorFunction':
2839
2998
  case 'AsyncGeneratorFunction': return false;
2840
2999
  // we can't check .prototype since constructors produced by .bind haven't it
2841
- } return INCORRECT_TO_STRING || !!exec$1.call(constructorRegExp, inspectSource(argument));
3000
+ } return INCORRECT_TO_STRING || !!exec$2(constructorRegExp, inspectSource(argument));
2842
3001
  };
2843
3002
 
2844
3003
  // `IsConstructor` abstract operation
2845
3004
  // https://tc39.es/ecma262/#sec-isconstructor
2846
- var isConstructor$3 = !construct || fails$j(function () {
3005
+ var isConstructor$3 = !construct || fails$l(function () {
2847
3006
  var called;
2848
3007
  return isConstructorModern(isConstructorModern.call)
2849
3008
  || !isConstructorModern(Object)
@@ -2851,12 +3010,14 @@ var isConstructor$3 = !construct || fails$j(function () {
2851
3010
  || called;
2852
3011
  }) ? isConstructorLegacy : isConstructorModern;
2853
3012
 
3013
+ var global$k = global$I;
2854
3014
  var isArray$3 = isArray$4;
2855
3015
  var isConstructor$2 = isConstructor$3;
2856
3016
  var isObject$8 = isObject$e;
2857
3017
  var wellKnownSymbol$h = wellKnownSymbol$n;
2858
3018
 
2859
3019
  var SPECIES$4 = wellKnownSymbol$h('species');
3020
+ var Array$3 = global$k.Array;
2860
3021
 
2861
3022
  // a part of `ArraySpeciesCreate` abstract operation
2862
3023
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
@@ -2865,12 +3026,12 @@ var arraySpeciesConstructor$1 = function (originalArray) {
2865
3026
  if (isArray$3(originalArray)) {
2866
3027
  C = originalArray.constructor;
2867
3028
  // cross-realm fallback
2868
- if (isConstructor$2(C) && (C === Array || isArray$3(C.prototype))) C = undefined;
3029
+ if (isConstructor$2(C) && (C === Array$3 || isArray$3(C.prototype))) C = undefined;
2869
3030
  else if (isObject$8(C)) {
2870
3031
  C = C[SPECIES$4];
2871
3032
  if (C === null) C = undefined;
2872
3033
  }
2873
- } return C === undefined ? Array : C;
3034
+ } return C === undefined ? Array$3 : C;
2874
3035
  };
2875
3036
 
2876
3037
  var arraySpeciesConstructor = arraySpeciesConstructor$1;
@@ -2882,12 +3043,13 @@ var arraySpeciesCreate$3 = function (originalArray, length) {
2882
3043
  };
2883
3044
 
2884
3045
  var bind$3 = functionBindContext;
3046
+ var uncurryThis$j = functionUncurryThis;
2885
3047
  var IndexedObject$2 = indexedObject;
2886
3048
  var toObject$8 = toObject$a;
2887
3049
  var lengthOfArrayLike$6 = lengthOfArrayLike$8;
2888
3050
  var arraySpeciesCreate$2 = arraySpeciesCreate$3;
2889
3051
 
2890
- var push = [].push;
3052
+ var push$4 = uncurryThis$j([].push);
2891
3053
 
2892
3054
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
2893
3055
  var createMethod$3 = function (TYPE) {
@@ -2901,7 +3063,7 @@ var createMethod$3 = function (TYPE) {
2901
3063
  return function ($this, callbackfn, that, specificCreate) {
2902
3064
  var O = toObject$8($this);
2903
3065
  var self = IndexedObject$2(O);
2904
- var boundFunction = bind$3(callbackfn, that, 3);
3066
+ var boundFunction = bind$3(callbackfn, that);
2905
3067
  var length = lengthOfArrayLike$6(self);
2906
3068
  var index = 0;
2907
3069
  var create = specificCreate || arraySpeciesCreate$2;
@@ -2916,10 +3078,10 @@ var createMethod$3 = function (TYPE) {
2916
3078
  case 3: return true; // some
2917
3079
  case 5: return value; // find
2918
3080
  case 6: return index; // findIndex
2919
- case 2: push.call(target, value); // filter
3081
+ case 2: push$4(target, value); // filter
2920
3082
  } else switch (TYPE) {
2921
3083
  case 4: return false; // every
2922
- case 7: push.call(target, value); // filterReject
3084
+ case 7: push$4(target, value); // filterReject
2923
3085
  }
2924
3086
  }
2925
3087
  }
@@ -2956,20 +3118,24 @@ var arrayIteration = {
2956
3118
 
2957
3119
  'use strict';
2958
3120
  var $$k = _export;
2959
- var global$8 = global$k;
3121
+ var global$j = global$I;
2960
3122
  var getBuiltIn$1 = getBuiltIn$7;
3123
+ var apply$1 = functionApply;
3124
+ var call$9 = functionCall;
3125
+ var uncurryThis$i = functionUncurryThis;
2961
3126
  var IS_PURE$3 = isPure;
2962
3127
  var DESCRIPTORS$6 = descriptors;
2963
- var NATIVE_SYMBOL = nativeSymbol$1;
2964
- var fails$i = fails$p;
3128
+ var NATIVE_SYMBOL$1 = nativeSymbol;
3129
+ var fails$k = fails$r;
2965
3130
  var hasOwn$4 = hasOwnProperty_1;
2966
3131
  var isArray$2 = isArray$4;
2967
3132
  var isCallable$9 = isCallable$l;
2968
3133
  var isObject$7 = isObject$e;
3134
+ var isPrototypeOf$5 = objectIsPrototypeOf;
2969
3135
  var isSymbol = isSymbol$3;
2970
3136
  var anObject$9 = anObject$e;
2971
3137
  var toObject$7 = toObject$a;
2972
- var toIndexedObject$4 = toIndexedObject$9;
3138
+ var toIndexedObject$4 = toIndexedObject$a;
2973
3139
  var toPropertyKey$1 = toPropertyKey$4;
2974
3140
  var $toString$1 = toString$b;
2975
3141
  var createPropertyDescriptor$2 = createPropertyDescriptor$5;
@@ -2981,6 +3147,7 @@ var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
2981
3147
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
2982
3148
  var definePropertyModule$3 = objectDefineProperty;
2983
3149
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
3150
+ var arraySlice$1 = arraySlice$3;
2984
3151
  var redefine$8 = redefine$b.exports;
2985
3152
  var shared$1 = shared$6.exports;
2986
3153
  var sharedKey$1 = sharedKey$4;
@@ -2997,26 +3164,33 @@ var HIDDEN = sharedKey$1('hidden');
2997
3164
  var SYMBOL = 'Symbol';
2998
3165
  var PROTOTYPE = 'prototype';
2999
3166
  var TO_PRIMITIVE = wellKnownSymbol$g('toPrimitive');
3167
+
3000
3168
  var setInternalState$3 = InternalStateModule$3.set;
3001
3169
  var getInternalState$3 = InternalStateModule$3.getterFor(SYMBOL);
3170
+
3002
3171
  var ObjectPrototype$1 = Object[PROTOTYPE];
3003
- var $Symbol = global$8.Symbol;
3172
+ var $Symbol = global$j.Symbol;
3173
+ var SymbolPrototype$1 = $Symbol && $Symbol[PROTOTYPE];
3174
+ var TypeError$9 = global$j.TypeError;
3175
+ var QObject = global$j.QObject;
3004
3176
  var $stringify = getBuiltIn$1('JSON', 'stringify');
3005
3177
  var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
3006
3178
  var nativeDefineProperty = definePropertyModule$3.f;
3007
3179
  var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
3008
3180
  var nativePropertyIsEnumerable = propertyIsEnumerableModule$1.f;
3181
+ var push$3 = uncurryThis$i([].push);
3182
+
3009
3183
  var AllSymbols = shared$1('symbols');
3010
3184
  var ObjectPrototypeSymbols = shared$1('op-symbols');
3011
3185
  var StringToSymbolRegistry = shared$1('string-to-symbol-registry');
3012
3186
  var SymbolToStringRegistry = shared$1('symbol-to-string-registry');
3013
3187
  var WellKnownSymbolsStore = shared$1('wks');
3014
- var QObject = global$8.QObject;
3188
+
3015
3189
  // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
3016
3190
  var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
3017
3191
 
3018
3192
  // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
3019
- var setSymbolDescriptor = DESCRIPTORS$6 && fails$i(function () {
3193
+ var setSymbolDescriptor = DESCRIPTORS$6 && fails$k(function () {
3020
3194
  return nativeObjectCreate(nativeDefineProperty({}, 'a', {
3021
3195
  get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
3022
3196
  })).a != 7;
@@ -3030,7 +3204,7 @@ var setSymbolDescriptor = DESCRIPTORS$6 && fails$i(function () {
3030
3204
  } : nativeDefineProperty;
3031
3205
 
3032
3206
  var wrap = function (tag, description) {
3033
- var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]);
3207
+ var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype$1);
3034
3208
  setInternalState$3(symbol, {
3035
3209
  type: SYMBOL,
3036
3210
  tag: tag,
@@ -3061,7 +3235,7 @@ var $defineProperties = function defineProperties(O, Properties) {
3061
3235
  var properties = toIndexedObject$4(Properties);
3062
3236
  var keys = objectKeys$2(properties).concat($getOwnPropertySymbols(properties));
3063
3237
  $forEach(keys, function (key) {
3064
- if (!DESCRIPTORS$6 || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);
3238
+ if (!DESCRIPTORS$6 || call$9($propertyIsEnumerable$1, properties, key)) $defineProperty(O, key, properties[key]);
3065
3239
  });
3066
3240
  return O;
3067
3241
  };
@@ -3070,9 +3244,9 @@ var $create = function create(O, Properties) {
3070
3244
  return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
3071
3245
  };
3072
3246
 
3073
- var $propertyIsEnumerable = function propertyIsEnumerable(V) {
3247
+ var $propertyIsEnumerable$1 = function propertyIsEnumerable(V) {
3074
3248
  var P = toPropertyKey$1(V);
3075
- var enumerable = nativePropertyIsEnumerable.call(this, P);
3249
+ var enumerable = call$9(nativePropertyIsEnumerable, this, P);
3076
3250
  if (this === ObjectPrototype$1 && hasOwn$4(AllSymbols, P) && !hasOwn$4(ObjectPrototypeSymbols, P)) return false;
3077
3251
  return enumerable || !hasOwn$4(this, P) || !hasOwn$4(AllSymbols, P) || hasOwn$4(this, HIDDEN) && this[HIDDEN][P]
3078
3252
  ? enumerable : true;
@@ -3093,7 +3267,7 @@ var $getOwnPropertyNames = function getOwnPropertyNames(O) {
3093
3267
  var names = nativeGetOwnPropertyNames(toIndexedObject$4(O));
3094
3268
  var result = [];
3095
3269
  $forEach(names, function (key) {
3096
- if (!hasOwn$4(AllSymbols, key) && !hasOwn$4(hiddenKeys$1, key)) result.push(key);
3270
+ if (!hasOwn$4(AllSymbols, key) && !hasOwn$4(hiddenKeys$1, key)) push$3(result, key);
3097
3271
  });
3098
3272
  return result;
3099
3273
  };
@@ -3104,7 +3278,7 @@ var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
3104
3278
  var result = [];
3105
3279
  $forEach(names, function (key) {
3106
3280
  if (hasOwn$4(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn$4(ObjectPrototype$1, key))) {
3107
- result.push(AllSymbols[key]);
3281
+ push$3(result, AllSymbols[key]);
3108
3282
  }
3109
3283
  });
3110
3284
  return result;
@@ -3112,13 +3286,13 @@ var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
3112
3286
 
3113
3287
  // `Symbol` constructor
3114
3288
  // https://tc39.es/ecma262/#sec-symbol-constructor
3115
- if (!NATIVE_SYMBOL) {
3289
+ if (!NATIVE_SYMBOL$1) {
3116
3290
  $Symbol = function Symbol() {
3117
- if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');
3291
+ if (isPrototypeOf$5(SymbolPrototype$1, this)) throw TypeError$9('Symbol is not a constructor');
3118
3292
  var description = !arguments.length || arguments[0] === undefined ? undefined : $toString$1(arguments[0]);
3119
3293
  var tag = uid$1(description);
3120
3294
  var setter = function (value) {
3121
- if (this === ObjectPrototype$1) setter.call(ObjectPrototypeSymbols, value);
3295
+ if (this === ObjectPrototype$1) call$9(setter, ObjectPrototypeSymbols, value);
3122
3296
  if (hasOwn$4(this, HIDDEN) && hasOwn$4(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
3123
3297
  setSymbolDescriptor(this, tag, createPropertyDescriptor$2(1, value));
3124
3298
  };
@@ -3126,7 +3300,9 @@ if (!NATIVE_SYMBOL) {
3126
3300
  return wrap(tag, description);
3127
3301
  };
3128
3302
 
3129
- redefine$8($Symbol[PROTOTYPE], 'toString', function toString() {
3303
+ SymbolPrototype$1 = $Symbol[PROTOTYPE];
3304
+
3305
+ redefine$8(SymbolPrototype$1, 'toString', function toString() {
3130
3306
  return getInternalState$3(this).tag;
3131
3307
  });
3132
3308
 
@@ -3134,7 +3310,7 @@ if (!NATIVE_SYMBOL) {
3134
3310
  return wrap(uid$1(description), description);
3135
3311
  });
3136
3312
 
3137
- propertyIsEnumerableModule$1.f = $propertyIsEnumerable;
3313
+ propertyIsEnumerableModule$1.f = $propertyIsEnumerable$1;
3138
3314
  definePropertyModule$3.f = $defineProperty;
3139
3315
  getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
3140
3316
  getOwnPropertyNamesModule$1.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
@@ -3146,19 +3322,19 @@ if (!NATIVE_SYMBOL) {
3146
3322
 
3147
3323
  if (DESCRIPTORS$6) {
3148
3324
  // https://github.com/tc39/proposal-Symbol-description
3149
- nativeDefineProperty($Symbol[PROTOTYPE], 'description', {
3325
+ nativeDefineProperty(SymbolPrototype$1, 'description', {
3150
3326
  configurable: true,
3151
3327
  get: function description() {
3152
3328
  return getInternalState$3(this).description;
3153
3329
  }
3154
3330
  });
3155
3331
  if (!IS_PURE$3) {
3156
- redefine$8(ObjectPrototype$1, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
3332
+ redefine$8(ObjectPrototype$1, 'propertyIsEnumerable', $propertyIsEnumerable$1, { unsafe: true });
3157
3333
  }
3158
3334
  }
3159
3335
  }
3160
3336
 
3161
- $$k({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
3337
+ $$k({ global: true, wrap: true, forced: !NATIVE_SYMBOL$1, sham: !NATIVE_SYMBOL$1 }, {
3162
3338
  Symbol: $Symbol
3163
3339
  });
3164
3340
 
@@ -3166,7 +3342,7 @@ $forEach(objectKeys$2(WellKnownSymbolsStore), function (name) {
3166
3342
  defineWellKnownSymbol(name);
3167
3343
  });
3168
3344
 
3169
- $$k({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
3345
+ $$k({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL$1 }, {
3170
3346
  // `Symbol.for` method
3171
3347
  // https://tc39.es/ecma262/#sec-symbol.for
3172
3348
  'for': function (key) {
@@ -3180,14 +3356,14 @@ $$k({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
3180
3356
  // `Symbol.keyFor` method
3181
3357
  // https://tc39.es/ecma262/#sec-symbol.keyfor
3182
3358
  keyFor: function keyFor(sym) {
3183
- if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');
3359
+ if (!isSymbol(sym)) throw TypeError$9(sym + ' is not a symbol');
3184
3360
  if (hasOwn$4(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
3185
3361
  },
3186
3362
  useSetter: function () { USE_SETTER = true; },
3187
3363
  useSimple: function () { USE_SETTER = false; }
3188
3364
  });
3189
3365
 
3190
- $$k({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS$6 }, {
3366
+ $$k({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL$1, sham: !DESCRIPTORS$6 }, {
3191
3367
  // `Object.create` method
3192
3368
  // https://tc39.es/ecma262/#sec-object.create
3193
3369
  create: $create,
@@ -3202,7 +3378,7 @@ $$k({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS$6
3202
3378
  getOwnPropertyDescriptor: $getOwnPropertyDescriptor
3203
3379
  });
3204
3380
 
3205
- $$k({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
3381
+ $$k({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL$1 }, {
3206
3382
  // `Object.getOwnPropertyNames` method
3207
3383
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
3208
3384
  getOwnPropertyNames: $getOwnPropertyNames,
@@ -3213,7 +3389,7 @@ $$k({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
3213
3389
 
3214
3390
  // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
3215
3391
  // https://bugs.chromium.org/p/v8/issues/detail?id=3443
3216
- $$k({ target: 'Object', stat: true, forced: fails$i(function () { getOwnPropertySymbolsModule$1.f(1); }) }, {
3392
+ $$k({ target: 'Object', stat: true, forced: fails$k(function () { getOwnPropertySymbolsModule$1.f(1); }) }, {
3217
3393
  getOwnPropertySymbols: function getOwnPropertySymbols(it) {
3218
3394
  return getOwnPropertySymbolsModule$1.f(toObject$7(it));
3219
3395
  }
@@ -3222,7 +3398,7 @@ $$k({ target: 'Object', stat: true, forced: fails$i(function () { getOwnProperty
3222
3398
  // `JSON.stringify` method behavior with symbols
3223
3399
  // https://tc39.es/ecma262/#sec-json.stringify
3224
3400
  if ($stringify) {
3225
- var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails$i(function () {
3401
+ var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL$1 || fails$k(function () {
3226
3402
  var symbol = $Symbol();
3227
3403
  // MS Edge converts symbol values to JSON as {}
3228
3404
  return $stringify([symbol]) != '[null]'
@@ -3235,28 +3411,27 @@ if ($stringify) {
3235
3411
  $$k({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
3236
3412
  // eslint-disable-next-line no-unused-vars -- required for `.length`
3237
3413
  stringify: function stringify(it, replacer, space) {
3238
- var args = [it];
3239
- var index = 1;
3240
- var $replacer;
3241
- while (arguments.length > index) args.push(arguments[index++]);
3242
- $replacer = replacer;
3414
+ var args = arraySlice$1(arguments);
3415
+ var $replacer = replacer;
3243
3416
  if (!isObject$7(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
3244
3417
  if (!isArray$2(replacer)) replacer = function (key, value) {
3245
- if (isCallable$9($replacer)) value = $replacer.call(this, key, value);
3418
+ if (isCallable$9($replacer)) value = call$9($replacer, this, key, value);
3246
3419
  if (!isSymbol(value)) return value;
3247
3420
  };
3248
3421
  args[1] = replacer;
3249
- return $stringify.apply(null, args);
3422
+ return apply$1($stringify, null, args);
3250
3423
  }
3251
3424
  });
3252
3425
  }
3253
3426
 
3254
3427
  // `Symbol.prototype[@@toPrimitive]` method
3255
3428
  // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
3256
- if (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) {
3257
- var valueOf = $Symbol[PROTOTYPE].valueOf;
3258
- redefine$8($Symbol[PROTOTYPE], TO_PRIMITIVE, function () {
3259
- return valueOf.apply(this, arguments);
3429
+ if (!SymbolPrototype$1[TO_PRIMITIVE]) {
3430
+ var valueOf = SymbolPrototype$1.valueOf;
3431
+ // eslint-disable-next-line no-unused-vars -- required for .length
3432
+ redefine$8(SymbolPrototype$1, TO_PRIMITIVE, function (hint) {
3433
+ // TODO: improve hint logic
3434
+ return call$9(valueOf, this);
3260
3435
  });
3261
3436
  }
3262
3437
  // `Symbol.prototype[@@toStringTag]` property
@@ -3272,44 +3447,52 @@ var es_symbol_description = {};
3272
3447
  'use strict';
3273
3448
  var $$j = _export;
3274
3449
  var DESCRIPTORS$5 = descriptors;
3275
- var global$7 = global$k;
3450
+ var global$i = global$I;
3451
+ var uncurryThis$h = functionUncurryThis;
3276
3452
  var hasOwn$3 = hasOwnProperty_1;
3277
3453
  var isCallable$8 = isCallable$l;
3278
- var isObject$6 = isObject$e;
3454
+ var isPrototypeOf$4 = objectIsPrototypeOf;
3455
+ var toString$a = toString$b;
3279
3456
  var defineProperty$4 = objectDefineProperty.f;
3280
3457
  var copyConstructorProperties = copyConstructorProperties$2;
3281
3458
 
3282
- var NativeSymbol = global$7.Symbol;
3459
+ var NativeSymbol = global$i.Symbol;
3460
+ var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
3283
3461
 
3284
- if (DESCRIPTORS$5 && isCallable$8(NativeSymbol) && (!('description' in NativeSymbol.prototype) ||
3462
+ if (DESCRIPTORS$5 && isCallable$8(NativeSymbol) && (!('description' in SymbolPrototype) ||
3285
3463
  // Safari 12 bug
3286
3464
  NativeSymbol().description !== undefined
3287
3465
  )) {
3288
3466
  var EmptyStringDescriptionStore = {};
3289
3467
  // wrap Symbol constructor for correct work with undefined description
3290
3468
  var SymbolWrapper = function Symbol() {
3291
- var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]);
3292
- var result = this instanceof SymbolWrapper
3469
+ var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$a(arguments[0]);
3470
+ var result = isPrototypeOf$4(SymbolPrototype, this)
3293
3471
  ? new NativeSymbol(description)
3294
3472
  // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
3295
3473
  : description === undefined ? NativeSymbol() : NativeSymbol(description);
3296
3474
  if (description === '') EmptyStringDescriptionStore[result] = true;
3297
3475
  return result;
3298
3476
  };
3477
+
3299
3478
  copyConstructorProperties(SymbolWrapper, NativeSymbol);
3300
- var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype;
3301
- symbolPrototype.constructor = SymbolWrapper;
3479
+ SymbolWrapper.prototype = SymbolPrototype;
3480
+ SymbolPrototype.constructor = SymbolWrapper;
3302
3481
 
3303
- var symbolToString = symbolPrototype.toString;
3304
- var nativeSymbol = String(NativeSymbol('test')) == 'Symbol(test)';
3482
+ var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';
3483
+ var symbolToString = uncurryThis$h(SymbolPrototype.toString);
3484
+ var symbolValueOf = uncurryThis$h(SymbolPrototype.valueOf);
3305
3485
  var regexp = /^Symbol\((.*)\)[^)]+$/;
3306
- defineProperty$4(symbolPrototype, 'description', {
3486
+ var replace$5 = uncurryThis$h(''.replace);
3487
+ var stringSlice$6 = uncurryThis$h(''.slice);
3488
+
3489
+ defineProperty$4(SymbolPrototype, 'description', {
3307
3490
  configurable: true,
3308
3491
  get: function description() {
3309
- var symbol = isObject$6(this) ? this.valueOf() : this;
3310
- var string = symbolToString.call(symbol);
3492
+ var symbol = symbolValueOf(this);
3493
+ var string = symbolToString(symbol);
3311
3494
  if (hasOwn$3(EmptyStringDescriptionStore, symbol)) return '';
3312
- var desc = nativeSymbol ? string.slice(7, -1) : string.replace(regexp, '$1');
3495
+ var desc = NATIVE_SYMBOL ? stringSlice$6(string, 7, -1) : replace$5(string, regexp, '$1');
3313
3496
  return desc === '' ? undefined : desc;
3314
3497
  }
3315
3498
  });
@@ -3323,12 +3506,12 @@ var es_object_toString = {};
3323
3506
 
3324
3507
  'use strict';
3325
3508
  var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
3326
- var classof$3 = classof$6;
3509
+ var classof$4 = classof$8;
3327
3510
 
3328
3511
  // `Object.prototype.toString` method implementation
3329
3512
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
3330
3513
  var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
3331
- return '[object ' + classof$3(this) + ']';
3514
+ return '[object ' + classof$4(this) + ']';
3332
3515
  };
3333
3516
 
3334
3517
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
@@ -3344,9 +3527,13 @@ if (!TO_STRING_TAG_SUPPORT) {
3344
3527
  var es_object_entries = {};
3345
3528
 
3346
3529
  var DESCRIPTORS$4 = descriptors;
3530
+ var uncurryThis$g = functionUncurryThis;
3347
3531
  var objectKeys$1 = objectKeys$4;
3348
- var toIndexedObject$3 = toIndexedObject$9;
3349
- var propertyIsEnumerable = objectPropertyIsEnumerable.f;
3532
+ var toIndexedObject$3 = toIndexedObject$a;
3533
+ var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
3534
+
3535
+ var propertyIsEnumerable = uncurryThis$g($propertyIsEnumerable);
3536
+ var push$2 = uncurryThis$g([].push);
3350
3537
 
3351
3538
  // `Object.{ entries, values }` methods implementation
3352
3539
  var createMethod$2 = function (TO_ENTRIES) {
@@ -3359,8 +3546,8 @@ var createMethod$2 = function (TO_ENTRIES) {
3359
3546
  var key;
3360
3547
  while (length > i) {
3361
3548
  key = keys[i++];
3362
- if (!DESCRIPTORS$4 || propertyIsEnumerable.call(O, key)) {
3363
- result.push(TO_ENTRIES ? [key, O[key]] : O[key]);
3549
+ if (!DESCRIPTORS$4 || propertyIsEnumerable(O, key)) {
3550
+ push$2(result, TO_ENTRIES ? [key, O[key]] : O[key]);
3364
3551
  }
3365
3552
  }
3366
3553
  return result;
@@ -3400,7 +3587,7 @@ var createProperty$4 = function (object, key, value) {
3400
3587
  else object[propertyKey] = value;
3401
3588
  };
3402
3589
 
3403
- var fails$h = fails$p;
3590
+ var fails$j = fails$r;
3404
3591
  var wellKnownSymbol$f = wellKnownSymbol$n;
3405
3592
  var V8_VERSION$1 = engineV8Version;
3406
3593
 
@@ -3410,7 +3597,7 @@ var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) {
3410
3597
  // We can't use this feature detection in V8 since it causes
3411
3598
  // deoptimization and serious performance degradation
3412
3599
  // https://github.com/zloirock/core-js/issues/677
3413
- return V8_VERSION$1 >= 51 || !fails$h(function () {
3600
+ return V8_VERSION$1 >= 51 || !fails$j(function () {
3414
3601
  var array = [];
3415
3602
  var constructor = array.constructor = {};
3416
3603
  constructor[SPECIES$3] = function () {
@@ -3422,9 +3609,10 @@ var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) {
3422
3609
 
3423
3610
  'use strict';
3424
3611
  var $$h = _export;
3425
- var fails$g = fails$p;
3612
+ var global$h = global$I;
3613
+ var fails$i = fails$r;
3426
3614
  var isArray$1 = isArray$4;
3427
- var isObject$5 = isObject$e;
3615
+ var isObject$6 = isObject$e;
3428
3616
  var toObject$6 = toObject$a;
3429
3617
  var lengthOfArrayLike$5 = lengthOfArrayLike$8;
3430
3618
  var createProperty$3 = createProperty$4;
@@ -3436,11 +3624,12 @@ var V8_VERSION = engineV8Version;
3436
3624
  var IS_CONCAT_SPREADABLE = wellKnownSymbol$e('isConcatSpreadable');
3437
3625
  var MAX_SAFE_INTEGER$1 = 0x1FFFFFFFFFFFFF;
3438
3626
  var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
3627
+ var TypeError$8 = global$h.TypeError;
3439
3628
 
3440
3629
  // We can't use this feature detection in V8 since it causes
3441
3630
  // deoptimization and serious performance degradation
3442
3631
  // https://github.com/zloirock/core-js/issues/679
3443
- var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$g(function () {
3632
+ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$i(function () {
3444
3633
  var array = [];
3445
3634
  array[IS_CONCAT_SPREADABLE] = false;
3446
3635
  return array.concat()[0] !== array;
@@ -3449,7 +3638,7 @@ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$g(function () {
3449
3638
  var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$4('concat');
3450
3639
 
3451
3640
  var isConcatSpreadable = function (O) {
3452
- if (!isObject$5(O)) return false;
3641
+ if (!isObject$6(O)) return false;
3453
3642
  var spreadable = O[IS_CONCAT_SPREADABLE];
3454
3643
  return spreadable !== undefined ? !!spreadable : isArray$1(O);
3455
3644
  };
@@ -3470,10 +3659,10 @@ $$h({ target: 'Array', proto: true, forced: FORCED$1 }, {
3470
3659
  E = i === -1 ? O : arguments[i];
3471
3660
  if (isConcatSpreadable(E)) {
3472
3661
  len = lengthOfArrayLike$5(E);
3473
- if (n + len > MAX_SAFE_INTEGER$1) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
3662
+ if (n + len > MAX_SAFE_INTEGER$1) throw TypeError$8(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
3474
3663
  for (k = 0; k < len; k++, n++) if (k in E) createProperty$3(A, n, E[k]);
3475
3664
  } else {
3476
- if (n >= MAX_SAFE_INTEGER$1) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
3665
+ if (n >= MAX_SAFE_INTEGER$1) throw TypeError$8(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
3477
3666
  createProperty$3(A, n++, E);
3478
3667
  }
3479
3668
  }
@@ -3485,11 +3674,11 @@ $$h({ target: 'Array', proto: true, forced: FORCED$1 }, {
3485
3674
  var es_array_join = {};
3486
3675
 
3487
3676
  'use strict';
3488
- var fails$f = fails$p;
3677
+ var fails$h = fails$r;
3489
3678
 
3490
3679
  var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
3491
3680
  var method = [][METHOD_NAME];
3492
- return !!method && fails$f(function () {
3681
+ return !!method && fails$h(function () {
3493
3682
  // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
3494
3683
  method.call(null, argument || function () { throw 1; }, 1);
3495
3684
  });
@@ -3497,11 +3686,12 @@ var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
3497
3686
 
3498
3687
  'use strict';
3499
3688
  var $$g = _export;
3689
+ var uncurryThis$f = functionUncurryThis;
3500
3690
  var IndexedObject$1 = indexedObject;
3501
- var toIndexedObject$2 = toIndexedObject$9;
3691
+ var toIndexedObject$2 = toIndexedObject$a;
3502
3692
  var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;
3503
3693
 
3504
- var nativeJoin = [].join;
3694
+ var un$Join = uncurryThis$f([].join);
3505
3695
 
3506
3696
  var ES3_STRINGS = IndexedObject$1 != Object;
3507
3697
  var STRICT_METHOD$1 = arrayMethodIsStrict$1('join', ',');
@@ -3510,12 +3700,13 @@ var STRICT_METHOD$1 = arrayMethodIsStrict$1('join', ',');
3510
3700
  // https://tc39.es/ecma262/#sec-array.prototype.join
3511
3701
  $$g({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$1 }, {
3512
3702
  join: function join(separator) {
3513
- return nativeJoin.call(toIndexedObject$2(this), separator === undefined ? ',' : separator);
3703
+ return un$Join(toIndexedObject$2(this), separator === undefined ? ',' : separator);
3514
3704
  }
3515
3705
  });
3516
3706
 
3517
3707
  var es_array_from = {};
3518
3708
 
3709
+ var call$8 = functionCall;
3519
3710
  var anObject$8 = anObject$e;
3520
3711
  var getMethod$2 = getMethod$4;
3521
3712
 
@@ -3528,7 +3719,7 @@ var iteratorClose$2 = function (iterator, kind, value) {
3528
3719
  if (kind === 'throw') throw value;
3529
3720
  return value;
3530
3721
  }
3531
- innerResult = innerResult.call(iterator);
3722
+ innerResult = call$8(innerResult, iterator);
3532
3723
  } catch (error) {
3533
3724
  innerError = true;
3534
3725
  innerResult = error;
@@ -3564,7 +3755,7 @@ var isArrayIteratorMethod$2 = function (it) {
3564
3755
  return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$5] === it);
3565
3756
  };
3566
3757
 
3567
- var classof$2 = classof$6;
3758
+ var classof$3 = classof$8;
3568
3759
  var getMethod$1 = getMethod$4;
3569
3760
  var Iterators$3 = iterators;
3570
3761
  var wellKnownSymbol$c = wellKnownSymbol$n;
@@ -3574,21 +3765,28 @@ var ITERATOR$4 = wellKnownSymbol$c('iterator');
3574
3765
  var getIteratorMethod$3 = function (it) {
3575
3766
  if (it != undefined) return getMethod$1(it, ITERATOR$4)
3576
3767
  || getMethod$1(it, '@@iterator')
3577
- || Iterators$3[classof$2(it)];
3768
+ || Iterators$3[classof$3(it)];
3578
3769
  };
3579
3770
 
3771
+ var global$g = global$I;
3772
+ var call$7 = functionCall;
3580
3773
  var aCallable$1 = aCallable$4;
3581
3774
  var anObject$6 = anObject$e;
3775
+ var tryToString$1 = tryToString$3;
3582
3776
  var getIteratorMethod$2 = getIteratorMethod$3;
3583
3777
 
3778
+ var TypeError$7 = global$g.TypeError;
3779
+
3584
3780
  var getIterator$2 = function (argument, usingIterator) {
3585
3781
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$2(argument) : usingIterator;
3586
- if (aCallable$1(iteratorMethod)) return anObject$6(iteratorMethod.call(argument));
3587
- throw TypeError(String(argument) + ' is not iterable');
3782
+ if (aCallable$1(iteratorMethod)) return anObject$6(call$7(iteratorMethod, argument));
3783
+ throw TypeError$7(tryToString$1(argument) + ' is not iterable');
3588
3784
  };
3589
3785
 
3590
3786
  'use strict';
3787
+ var global$f = global$I;
3591
3788
  var bind$2 = functionBindContext;
3789
+ var call$6 = functionCall;
3592
3790
  var toObject$5 = toObject$a;
3593
3791
  var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
3594
3792
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
@@ -3598,6 +3796,8 @@ var createProperty$2 = createProperty$4;
3598
3796
  var getIterator$1 = getIterator$2;
3599
3797
  var getIteratorMethod$1 = getIteratorMethod$3;
3600
3798
 
3799
+ var Array$2 = global$f.Array;
3800
+
3601
3801
  // `Array.from` method implementation
3602
3802
  // https://tc39.es/ecma262/#sec-array.from
3603
3803
  var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
@@ -3606,22 +3806,22 @@ var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefi
3606
3806
  var argumentsLength = arguments.length;
3607
3807
  var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
3608
3808
  var mapping = mapfn !== undefined;
3609
- if (mapping) mapfn = bind$2(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);
3809
+ if (mapping) mapfn = bind$2(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
3610
3810
  var iteratorMethod = getIteratorMethod$1(O);
3611
3811
  var index = 0;
3612
3812
  var length, result, step, iterator, next, value;
3613
3813
  // if the target is not iterable or it's an array with the default iterator - use a simple case
3614
- if (iteratorMethod && !(this == Array && isArrayIteratorMethod$1(iteratorMethod))) {
3814
+ if (iteratorMethod && !(this == Array$2 && isArrayIteratorMethod$1(iteratorMethod))) {
3615
3815
  iterator = getIterator$1(O, iteratorMethod);
3616
3816
  next = iterator.next;
3617
3817
  result = IS_CONSTRUCTOR ? new this() : [];
3618
- for (;!(step = next.call(iterator)).done; index++) {
3818
+ for (;!(step = call$6(next, iterator)).done; index++) {
3619
3819
  value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
3620
3820
  createProperty$2(result, index, value);
3621
3821
  }
3622
3822
  } else {
3623
3823
  length = lengthOfArrayLike$4(O);
3624
- result = IS_CONSTRUCTOR ? new this(length) : Array(length);
3824
+ result = IS_CONSTRUCTOR ? new this(length) : Array$2(length);
3625
3825
  for (;length > index; index++) {
3626
3826
  value = mapping ? mapfn(O[index], index) : O[index];
3627
3827
  createProperty$2(result, index, value);
@@ -3687,10 +3887,15 @@ $$f({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
3687
3887
 
3688
3888
  var es_string_iterator = {};
3689
3889
 
3890
+ var uncurryThis$e = functionUncurryThis;
3690
3891
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$5;
3691
3892
  var toString$8 = toString$b;
3692
3893
  var requireObjectCoercible$4 = requireObjectCoercible$7;
3693
3894
 
3895
+ var charAt$5 = uncurryThis$e(''.charAt);
3896
+ var charCodeAt = uncurryThis$e(''.charCodeAt);
3897
+ var stringSlice$5 = uncurryThis$e(''.slice);
3898
+
3694
3899
  var createMethod$1 = function (CONVERT_TO_STRING) {
3695
3900
  return function ($this, pos) {
3696
3901
  var S = toString$8(requireObjectCoercible$4($this));
@@ -3698,11 +3903,15 @@ var createMethod$1 = function (CONVERT_TO_STRING) {
3698
3903
  var size = S.length;
3699
3904
  var first, second;
3700
3905
  if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
3701
- first = S.charCodeAt(position);
3906
+ first = charCodeAt(S, position);
3702
3907
  return first < 0xD800 || first > 0xDBFF || position + 1 === size
3703
- || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
3704
- ? CONVERT_TO_STRING ? S.charAt(position) : first
3705
- : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
3908
+ || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
3909
+ ? CONVERT_TO_STRING
3910
+ ? charAt$5(S, position)
3911
+ : first
3912
+ : CONVERT_TO_STRING
3913
+ ? stringSlice$5(S, position, position + 2)
3914
+ : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
3706
3915
  };
3707
3916
  };
3708
3917
 
@@ -3715,15 +3924,16 @@ var stringMultibyte = {
3715
3924
  charAt: createMethod$1(true)
3716
3925
  };
3717
3926
 
3718
- var fails$e = fails$p;
3927
+ var fails$g = fails$r;
3719
3928
 
3720
- var correctPrototypeGetter = !fails$e(function () {
3929
+ var correctPrototypeGetter = !fails$g(function () {
3721
3930
  function F() { /* empty */ }
3722
3931
  F.prototype.constructor = null;
3723
3932
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
3724
3933
  return Object.getPrototypeOf(new F()) !== F.prototype;
3725
3934
  });
3726
3935
 
3936
+ var global$e = global$I;
3727
3937
  var hasOwn$2 = hasOwnProperty_1;
3728
3938
  var isCallable$7 = isCallable$l;
3729
3939
  var toObject$4 = toObject$a;
@@ -3731,22 +3941,22 @@ var sharedKey = sharedKey$4;
3731
3941
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
3732
3942
 
3733
3943
  var IE_PROTO = sharedKey('IE_PROTO');
3734
- var ObjectPrototype = Object.prototype;
3944
+ var Object$1 = global$e.Object;
3945
+ var ObjectPrototype = Object$1.prototype;
3735
3946
 
3736
3947
  // `Object.getPrototypeOf` method
3737
3948
  // https://tc39.es/ecma262/#sec-object.getprototypeof
3738
- // eslint-disable-next-line es/no-object-getprototypeof -- safe
3739
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {
3949
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$1.getPrototypeOf : function (O) {
3740
3950
  var object = toObject$4(O);
3741
3951
  if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
3742
3952
  var constructor = object.constructor;
3743
3953
  if (isCallable$7(constructor) && object instanceof constructor) {
3744
3954
  return constructor.prototype;
3745
- } return object instanceof Object ? ObjectPrototype : null;
3955
+ } return object instanceof Object$1 ? ObjectPrototype : null;
3746
3956
  };
3747
3957
 
3748
3958
  'use strict';
3749
- var fails$d = fails$p;
3959
+ var fails$f = fails$r;
3750
3960
  var isCallable$6 = isCallable$l;
3751
3961
  var create$4 = objectCreate;
3752
3962
  var getPrototypeOf$1 = objectGetPrototypeOf;
@@ -3772,7 +3982,7 @@ if ([].keys) {
3772
3982
  }
3773
3983
  }
3774
3984
 
3775
- var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails$d(function () {
3985
+ var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails$f(function () {
3776
3986
  var test = {};
3777
3987
  // FF44- legacy iterators case
3778
3988
  return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
@@ -3811,15 +4021,20 @@ var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next) {
3811
4021
  return IteratorConstructor;
3812
4022
  };
3813
4023
 
4024
+ var global$d = global$I;
3814
4025
  var isCallable$5 = isCallable$l;
3815
4026
 
4027
+ var String$1 = global$d.String;
4028
+ var TypeError$6 = global$d.TypeError;
4029
+
3816
4030
  var aPossiblePrototype$1 = function (argument) {
3817
- if (typeof argument === 'object' || isCallable$5(argument)) return argument;
3818
- throw TypeError("Can't set " + String(argument) + ' as a prototype');
4031
+ if (typeof argument == 'object' || isCallable$5(argument)) return argument;
4032
+ throw TypeError$6("Can't set " + String$1(argument) + ' as a prototype');
3819
4033
  };
3820
4034
 
3821
4035
  /* eslint-disable no-proto -- safe */
3822
4036
 
4037
+ var uncurryThis$d = functionUncurryThis;
3823
4038
  var anObject$5 = anObject$e;
3824
4039
  var aPossiblePrototype = aPossiblePrototype$1;
3825
4040
 
@@ -3833,14 +4048,14 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
3833
4048
  var setter;
3834
4049
  try {
3835
4050
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3836
- setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
3837
- setter.call(test, []);
4051
+ setter = uncurryThis$d(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
4052
+ setter(test, []);
3838
4053
  CORRECT_SETTER = test instanceof Array;
3839
4054
  } catch (error) { /* empty */ }
3840
4055
  return function setPrototypeOf(O, proto) {
3841
4056
  anObject$5(O);
3842
4057
  aPossiblePrototype(proto);
3843
- if (CORRECT_SETTER) setter.call(O, proto);
4058
+ if (CORRECT_SETTER) setter(O, proto);
3844
4059
  else O.__proto__ = proto;
3845
4060
  return O;
3846
4061
  };
@@ -3848,6 +4063,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
3848
4063
 
3849
4064
  'use strict';
3850
4065
  var $$e = _export;
4066
+ var call$5 = functionCall;
3851
4067
  var IS_PURE$1 = isPure;
3852
4068
  var FunctionName = functionName;
3853
4069
  var isCallable$4 = isCallable$l;
@@ -3918,7 +4134,7 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA
3918
4134
  createNonEnumerableProperty$3(IterablePrototype, 'name', VALUES);
3919
4135
  } else {
3920
4136
  INCORRECT_VALUES_NAME = true;
3921
- defaultIterator = function values() { return nativeIterator.call(this); };
4137
+ defaultIterator = function values() { return call$5(nativeIterator, this); };
3922
4138
  }
3923
4139
  }
3924
4140
 
@@ -3946,7 +4162,7 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA
3946
4162
  };
3947
4163
 
3948
4164
  'use strict';
3949
- var charAt$1 = stringMultibyte.charAt;
4165
+ var charAt$4 = stringMultibyte.charAt;
3950
4166
  var toString$7 = toString$b;
3951
4167
  var InternalStateModule$2 = internalState;
3952
4168
  var defineIterator$2 = defineIterator$3;
@@ -3971,15 +4187,15 @@ defineIterator$2(String, 'String', function (iterated) {
3971
4187
  var index = state.index;
3972
4188
  var point;
3973
4189
  if (index >= string.length) return { value: undefined, done: true };
3974
- point = charAt$1(string, index);
4190
+ point = charAt$4(string, index);
3975
4191
  state.index += point.length;
3976
4192
  return { value: point, done: false };
3977
4193
  });
3978
4194
 
3979
4195
  var es_string_startsWith = {};
3980
4196
 
3981
- var isObject$4 = isObject$e;
3982
- var classof$1 = classofRaw$1;
4197
+ var isObject$5 = isObject$e;
4198
+ var classof$2 = classofRaw$1;
3983
4199
  var wellKnownSymbol$8 = wellKnownSymbol$n;
3984
4200
 
3985
4201
  var MATCH$2 = wellKnownSymbol$8('match');
@@ -3988,14 +4204,17 @@ var MATCH$2 = wellKnownSymbol$8('match');
3988
4204
  // https://tc39.es/ecma262/#sec-isregexp
3989
4205
  var isRegexp = function (it) {
3990
4206
  var isRegExp;
3991
- return isObject$4(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$1(it) == 'RegExp');
4207
+ return isObject$5(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$2(it) == 'RegExp');
3992
4208
  };
3993
4209
 
4210
+ var global$c = global$I;
3994
4211
  var isRegExp$1 = isRegexp;
3995
4212
 
4213
+ var TypeError$5 = global$c.TypeError;
4214
+
3996
4215
  var notARegexp = function (it) {
3997
4216
  if (isRegExp$1(it)) {
3998
- throw TypeError("The method doesn't accept regular expressions");
4217
+ throw TypeError$5("The method doesn't accept regular expressions");
3999
4218
  } return it;
4000
4219
  };
4001
4220
 
@@ -4017,6 +4236,7 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
4017
4236
 
4018
4237
  'use strict';
4019
4238
  var $$d = _export;
4239
+ var uncurryThis$c = functionUncurryThis;
4020
4240
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
4021
4241
  var toLength$1 = toLength$3;
4022
4242
  var toString$6 = toString$b;
@@ -4026,7 +4246,8 @@ var correctIsRegExpLogic = correctIsRegexpLogic;
4026
4246
  var IS_PURE = isPure;
4027
4247
 
4028
4248
  // eslint-disable-next-line es/no-string-prototype-startswith -- safe
4029
- var $startsWith = ''.startsWith;
4249
+ var un$StartsWith = uncurryThis$c(''.startsWith);
4250
+ var stringSlice$4 = uncurryThis$c(''.slice);
4030
4251
  var min$2 = Math.min;
4031
4252
 
4032
4253
  var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
@@ -4044,9 +4265,9 @@ $$d({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_RE
4044
4265
  notARegExp(searchString);
4045
4266
  var index = toLength$1(min$2(arguments.length > 1 ? arguments[1] : undefined, that.length));
4046
4267
  var search = toString$6(searchString);
4047
- return $startsWith
4048
- ? $startsWith.call(that, search, index)
4049
- : that.slice(index, index + search.length) === search;
4268
+ return un$StartsWith
4269
+ ? un$StartsWith(that, search, index)
4270
+ : stringSlice$4(that, index, index + search.length) === search;
4050
4271
  }
4051
4272
  });
4052
4273
 
@@ -4054,6 +4275,7 @@ var es_array_splice = {};
4054
4275
 
4055
4276
  'use strict';
4056
4277
  var $$c = _export;
4278
+ var global$b = global$I;
4057
4279
  var toAbsoluteIndex$1 = toAbsoluteIndex$3;
4058
4280
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$5;
4059
4281
  var lengthOfArrayLike$3 = lengthOfArrayLike$8;
@@ -4064,6 +4286,7 @@ var arrayMethodHasSpeciesSupport$3 = arrayMethodHasSpeciesSupport$5;
4064
4286
 
4065
4287
  var HAS_SPECIES_SUPPORT$3 = arrayMethodHasSpeciesSupport$3('splice');
4066
4288
 
4289
+ var TypeError$4 = global$b.TypeError;
4067
4290
  var max$2 = Math.max;
4068
4291
  var min$1 = Math.min;
4069
4292
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
@@ -4089,7 +4312,7 @@ $$c({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, {
4089
4312
  actualDeleteCount = min$1(max$2(toIntegerOrInfinity$1(deleteCount), 0), len - actualStart);
4090
4313
  }
4091
4314
  if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {
4092
- throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
4315
+ throw TypeError$4(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
4093
4316
  }
4094
4317
  A = arraySpeciesCreate(O, actualDeleteCount);
4095
4318
  for (k = 0; k < actualDeleteCount; k++) {
@@ -4121,79 +4344,48 @@ $$c({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, {
4121
4344
  }
4122
4345
  });
4123
4346
 
4124
- var es_array_slice = {};
4347
+ var es_array_map = {};
4125
4348
 
4126
4349
  'use strict';
4127
4350
  var $$b = _export;
4128
- var isArray = isArray$4;
4129
- var isConstructor = isConstructor$3;
4130
- var isObject$3 = isObject$e;
4131
- var toAbsoluteIndex = toAbsoluteIndex$3;
4132
- var lengthOfArrayLike$2 = lengthOfArrayLike$8;
4133
- var toIndexedObject$1 = toIndexedObject$9;
4134
- var createProperty = createProperty$4;
4135
- var wellKnownSymbol$6 = wellKnownSymbol$n;
4351
+ var $map = arrayIteration.map;
4136
4352
  var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$5;
4137
4353
 
4138
- var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport$2('slice');
4354
+ var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport$2('map');
4139
4355
 
4140
- var SPECIES$2 = wellKnownSymbol$6('species');
4141
- var nativeSlice = [].slice;
4142
- var max$1 = Math.max;
4143
-
4144
- // `Array.prototype.slice` method
4145
- // https://tc39.es/ecma262/#sec-array.prototype.slice
4146
- // fallback for not array-like ES3 strings and DOM objects
4356
+ // `Array.prototype.map` method
4357
+ // https://tc39.es/ecma262/#sec-array.prototype.map
4358
+ // with adding support of @@species
4147
4359
  $$b({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
4148
- slice: function slice(start, end) {
4149
- var O = toIndexedObject$1(this);
4150
- var length = lengthOfArrayLike$2(O);
4151
- var k = toAbsoluteIndex(start, length);
4152
- var fin = toAbsoluteIndex(end === undefined ? length : end, length);
4153
- // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
4154
- var Constructor, result, n;
4155
- if (isArray(O)) {
4156
- Constructor = O.constructor;
4157
- // cross-realm fallback
4158
- if (isConstructor(Constructor) && (Constructor === Array || isArray(Constructor.prototype))) {
4159
- Constructor = undefined;
4160
- } else if (isObject$3(Constructor)) {
4161
- Constructor = Constructor[SPECIES$2];
4162
- if (Constructor === null) Constructor = undefined;
4163
- }
4164
- if (Constructor === Array || Constructor === undefined) {
4165
- return nativeSlice.call(O, k, fin);
4166
- }
4167
- }
4168
- result = new (Constructor === undefined ? Array : Constructor)(max$1(fin - k, 0));
4169
- for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
4170
- result.length = n;
4171
- return result;
4360
+ map: function map(callbackfn /* , thisArg */) {
4361
+ return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
4172
4362
  }
4173
4363
  });
4174
4364
 
4175
4365
  var es_string_anchor = {};
4176
4366
 
4367
+ var uncurryThis$b = functionUncurryThis;
4177
4368
  var requireObjectCoercible$2 = requireObjectCoercible$7;
4178
4369
  var toString$5 = toString$b;
4179
4370
 
4180
4371
  var quot = /"/g;
4372
+ var replace$4 = uncurryThis$b(''.replace);
4181
4373
 
4182
4374
  // `CreateHTML` abstract operation
4183
4375
  // https://tc39.es/ecma262/#sec-createhtml
4184
4376
  var createHtml = function (string, tag, attribute, value) {
4185
4377
  var S = toString$5(requireObjectCoercible$2(string));
4186
4378
  var p1 = '<' + tag;
4187
- if (attribute !== '') p1 += ' ' + attribute + '="' + toString$5(value).replace(quot, '&quot;') + '"';
4379
+ if (attribute !== '') p1 += ' ' + attribute + '="' + replace$4(toString$5(value), quot, '&quot;') + '"';
4188
4380
  return p1 + '>' + S + '</' + tag + '>';
4189
4381
  };
4190
4382
 
4191
- var fails$c = fails$p;
4383
+ var fails$e = fails$r;
4192
4384
 
4193
4385
  // check the existence of a method, lowercase
4194
4386
  // of a tag and escaping quotes in arguments
4195
4387
  var stringHtmlForced = function (METHOD_NAME) {
4196
- return fails$c(function () {
4388
+ return fails$e(function () {
4197
4389
  var test = ''[METHOD_NAME]('"');
4198
4390
  return test !== test.toLowerCase() || test.split('"').length > 3;
4199
4391
  });
@@ -4214,11 +4406,11 @@ $$a({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') },
4214
4406
 
4215
4407
  var es_array_find = {};
4216
4408
 
4217
- var wellKnownSymbol$5 = wellKnownSymbol$n;
4409
+ var wellKnownSymbol$6 = wellKnownSymbol$n;
4218
4410
  var create$2 = objectCreate;
4219
4411
  var definePropertyModule$1 = objectDefineProperty;
4220
4412
 
4221
- var UNSCOPABLES = wellKnownSymbol$5('unscopables');
4413
+ var UNSCOPABLES = wellKnownSymbol$6('unscopables');
4222
4414
  var ArrayPrototype = Array.prototype;
4223
4415
 
4224
4416
  // Array.prototype[@@unscopables]
@@ -4260,7 +4452,7 @@ addToUnscopables$2(FIND);
4260
4452
  var es_regexp_constructor = {};
4261
4453
 
4262
4454
  var isCallable$3 = isCallable$l;
4263
- var isObject$2 = isObject$e;
4455
+ var isObject$4 = isObject$e;
4264
4456
  var setPrototypeOf = objectSetPrototypeOf;
4265
4457
 
4266
4458
  // makes subclassing work correct for wrapped built-ins
@@ -4272,7 +4464,7 @@ var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
4272
4464
  // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
4273
4465
  isCallable$3(NewTarget = dummy.constructor) &&
4274
4466
  NewTarget !== Wrapper &&
4275
- isObject$2(NewTargetPrototype = NewTarget.prototype) &&
4467
+ isObject$4(NewTargetPrototype = NewTarget.prototype) &&
4276
4468
  NewTargetPrototype !== Wrapper.prototype
4277
4469
  ) setPrototypeOf($this, NewTargetPrototype);
4278
4470
  return $this;
@@ -4297,19 +4489,19 @@ var regexpFlags$1 = function () {
4297
4489
 
4298
4490
  var regexpStickyHelpers = {};
4299
4491
 
4300
- var fails$b = fails$p;
4301
- var global$6 = global$k;
4492
+ var fails$d = fails$r;
4493
+ var global$a = global$I;
4302
4494
 
4303
4495
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
4304
- var $RegExp$2 = global$6.RegExp;
4496
+ var $RegExp$2 = global$a.RegExp;
4305
4497
 
4306
- var UNSUPPORTED_Y$2 = regexpStickyHelpers.UNSUPPORTED_Y = fails$b(function () {
4498
+ var UNSUPPORTED_Y$2 = regexpStickyHelpers.UNSUPPORTED_Y = fails$d(function () {
4307
4499
  var re = $RegExp$2('a', 'y');
4308
4500
  re.lastIndex = 2;
4309
4501
  return re.exec('abcd') != null;
4310
4502
  });
4311
4503
 
4312
- var BROKEN_CARET = regexpStickyHelpers.BROKEN_CARET = fails$b(function () {
4504
+ var BROKEN_CARET = regexpStickyHelpers.BROKEN_CARET = fails$d(function () {
4313
4505
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
4314
4506
  var re = $RegExp$2('^r', 'gy');
4315
4507
  re.lastIndex = 2;
@@ -4319,69 +4511,78 @@ var BROKEN_CARET = regexpStickyHelpers.BROKEN_CARET = fails$b(function () {
4319
4511
  'use strict';
4320
4512
  var getBuiltIn = getBuiltIn$7;
4321
4513
  var definePropertyModule = objectDefineProperty;
4322
- var wellKnownSymbol$4 = wellKnownSymbol$n;
4514
+ var wellKnownSymbol$5 = wellKnownSymbol$n;
4323
4515
  var DESCRIPTORS$3 = descriptors;
4324
4516
 
4325
- var SPECIES$1 = wellKnownSymbol$4('species');
4517
+ var SPECIES$2 = wellKnownSymbol$5('species');
4326
4518
 
4327
4519
  var setSpecies$2 = function (CONSTRUCTOR_NAME) {
4328
4520
  var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
4329
4521
  var defineProperty = definePropertyModule.f;
4330
4522
 
4331
- if (DESCRIPTORS$3 && Constructor && !Constructor[SPECIES$1]) {
4332
- defineProperty(Constructor, SPECIES$1, {
4523
+ if (DESCRIPTORS$3 && Constructor && !Constructor[SPECIES$2]) {
4524
+ defineProperty(Constructor, SPECIES$2, {
4333
4525
  configurable: true,
4334
4526
  get: function () { return this; }
4335
4527
  });
4336
4528
  }
4337
4529
  };
4338
4530
 
4339
- var fails$a = fails$p;
4340
- var global$5 = global$k;
4531
+ var fails$c = fails$r;
4532
+ var global$9 = global$I;
4341
4533
 
4342
4534
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
4343
- var $RegExp$1 = global$5.RegExp;
4535
+ var $RegExp$1 = global$9.RegExp;
4344
4536
 
4345
- var regexpUnsupportedDotAll = fails$a(function () {
4537
+ var regexpUnsupportedDotAll = fails$c(function () {
4346
4538
  var re = $RegExp$1('.', 's');
4347
4539
  return !(re.dotAll && re.exec('\n') && re.flags === 's');
4348
4540
  });
4349
4541
 
4350
- var fails$9 = fails$p;
4351
- var global$4 = global$k;
4542
+ var fails$b = fails$r;
4543
+ var global$8 = global$I;
4352
4544
 
4353
4545
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
4354
- var $RegExp = global$4.RegExp;
4546
+ var $RegExp = global$8.RegExp;
4355
4547
 
4356
- var regexpUnsupportedNcg = fails$9(function () {
4548
+ var regexpUnsupportedNcg = fails$b(function () {
4357
4549
  var re = $RegExp('(?<a>b)', 'g');
4358
4550
  return re.exec('b').groups.a !== 'b' ||
4359
4551
  'b'.replace(re, '$<a>c') !== 'bc';
4360
4552
  });
4361
4553
 
4362
4554
  var DESCRIPTORS$2 = descriptors;
4363
- var global$3 = global$k;
4555
+ var global$7 = global$I;
4556
+ var uncurryThis$a = functionUncurryThis;
4364
4557
  var isForced$1 = isForced_1;
4365
4558
  var inheritIfRequired$1 = inheritIfRequired$2;
4366
4559
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
4367
4560
  var defineProperty$3 = objectDefineProperty.f;
4368
4561
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
4562
+ var isPrototypeOf$3 = objectIsPrototypeOf;
4369
4563
  var isRegExp = isRegexp;
4370
4564
  var toString$4 = toString$b;
4371
- var getFlags = regexpFlags$1;
4565
+ var regExpFlags$1 = regexpFlags$1;
4372
4566
  var stickyHelpers$1 = regexpStickyHelpers;
4373
4567
  var redefine$4 = redefine$b.exports;
4374
- var fails$8 = fails$p;
4568
+ var fails$a = fails$r;
4375
4569
  var hasOwn$1 = hasOwnProperty_1;
4376
4570
  var enforceInternalState = internalState.enforce;
4377
4571
  var setSpecies$1 = setSpecies$2;
4378
- var wellKnownSymbol$3 = wellKnownSymbol$n;
4572
+ var wellKnownSymbol$4 = wellKnownSymbol$n;
4379
4573
  var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;
4380
4574
  var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
4381
4575
 
4382
- var MATCH = wellKnownSymbol$3('match');
4383
- var NativeRegExp = global$3.RegExp;
4576
+ var MATCH = wellKnownSymbol$4('match');
4577
+ var NativeRegExp = global$7.RegExp;
4384
4578
  var RegExpPrototype$2 = NativeRegExp.prototype;
4579
+ var SyntaxError = global$7.SyntaxError;
4580
+ var getFlags$1 = uncurryThis$a(regExpFlags$1);
4581
+ var exec$1 = uncurryThis$a(RegExpPrototype$2.exec);
4582
+ var charAt$3 = uncurryThis$a(''.charAt);
4583
+ var replace$3 = uncurryThis$a(''.replace);
4584
+ var stringIndexOf$1 = uncurryThis$a(''.indexOf);
4585
+ var stringSlice$3 = uncurryThis$a(''.slice);
4385
4586
  // TODO: Use only propper RegExpIdentifierName
4386
4587
  var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
4387
4588
  var re1 = /a/g;
@@ -4393,7 +4594,7 @@ var CORRECT_NEW = new NativeRegExp(re1) !== re1;
4393
4594
  var UNSUPPORTED_Y$1 = stickyHelpers$1.UNSUPPORTED_Y;
4394
4595
 
4395
4596
  var BASE_FORCED = DESCRIPTORS$2 &&
4396
- (!CORRECT_NEW || UNSUPPORTED_Y$1 || UNSUPPORTED_DOT_ALL$1 || UNSUPPORTED_NCG$1 || fails$8(function () {
4597
+ (!CORRECT_NEW || UNSUPPORTED_Y$1 || UNSUPPORTED_DOT_ALL$1 || UNSUPPORTED_NCG$1 || fails$a(function () {
4397
4598
  re2[MATCH] = false;
4398
4599
  // RegExp constructor can alter flags and IsRegExp works correct with @@match
4399
4600
  return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';
@@ -4406,9 +4607,9 @@ var handleDotAll = function (string) {
4406
4607
  var brackets = false;
4407
4608
  var chr;
4408
4609
  for (; index <= length; index++) {
4409
- chr = string.charAt(index);
4610
+ chr = charAt$3(string, index);
4410
4611
  if (chr === '\\') {
4411
- result += chr + string.charAt(++index);
4612
+ result += chr + charAt$3(string, ++index);
4412
4613
  continue;
4413
4614
  }
4414
4615
  if (!brackets && chr === '.') {
@@ -4435,9 +4636,9 @@ var handleNCG = function (string) {
4435
4636
  var groupname = '';
4436
4637
  var chr;
4437
4638
  for (; index <= length; index++) {
4438
- chr = string.charAt(index);
4639
+ chr = charAt$3(string, index);
4439
4640
  if (chr === '\\') {
4440
- chr = chr + string.charAt(++index);
4641
+ chr = chr + charAt$3(string, ++index);
4441
4642
  } else if (chr === ']') {
4442
4643
  brackets = false;
4443
4644
  } else if (!brackets) switch (true) {
@@ -4445,7 +4646,7 @@ var handleNCG = function (string) {
4445
4646
  brackets = true;
4446
4647
  break;
4447
4648
  case chr === '(':
4448
- if (IS_NCG.test(string.slice(index + 1))) {
4649
+ if (exec$1(IS_NCG, stringSlice$3(string, index + 1))) {
4449
4650
  index += 2;
4450
4651
  ncg = true;
4451
4652
  }
@@ -4457,7 +4658,7 @@ var handleNCG = function (string) {
4457
4658
  throw new SyntaxError('Invalid capture group name');
4458
4659
  }
4459
4660
  names[groupname] = true;
4460
- named.push([groupname, groupid]);
4661
+ named[named.length] = [groupname, groupid];
4461
4662
  ncg = false;
4462
4663
  groupname = '';
4463
4664
  continue;
@@ -4471,7 +4672,7 @@ var handleNCG = function (string) {
4471
4672
  // https://tc39.es/ecma262/#sec-regexp-constructor
4472
4673
  if (isForced$1('RegExp', BASE_FORCED)) {
4473
4674
  var RegExpWrapper = function RegExp(pattern, flags) {
4474
- var thisIsRegExp = this instanceof RegExpWrapper;
4675
+ var thisIsRegExp = isPrototypeOf$3(RegExpPrototype$2, this);
4475
4676
  var patternIsRegExp = isRegExp(pattern);
4476
4677
  var flagsAreUndefined = flags === undefined;
4477
4678
  var groups = [];
@@ -4482,9 +4683,9 @@ if (isForced$1('RegExp', BASE_FORCED)) {
4482
4683
  return pattern;
4483
4684
  }
4484
4685
 
4485
- if (patternIsRegExp || pattern instanceof RegExpWrapper) {
4686
+ if (patternIsRegExp || isPrototypeOf$3(RegExpPrototype$2, pattern)) {
4486
4687
  pattern = pattern.source;
4487
- if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : getFlags.call(rawPattern);
4688
+ if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : getFlags$1(rawPattern);
4488
4689
  }
4489
4690
 
4490
4691
  pattern = pattern === undefined ? '' : toString$4(pattern);
@@ -4492,15 +4693,15 @@ if (isForced$1('RegExp', BASE_FORCED)) {
4492
4693
  rawPattern = pattern;
4493
4694
 
4494
4695
  if (UNSUPPORTED_DOT_ALL$1 && 'dotAll' in re1) {
4495
- dotAll = !!flags && flags.indexOf('s') > -1;
4496
- if (dotAll) flags = flags.replace(/s/g, '');
4696
+ dotAll = !!flags && stringIndexOf$1(flags, 's') > -1;
4697
+ if (dotAll) flags = replace$3(flags, /s/g, '');
4497
4698
  }
4498
4699
 
4499
4700
  rawFlags = flags;
4500
4701
 
4501
4702
  if (UNSUPPORTED_Y$1 && 'sticky' in re1) {
4502
- sticky = !!flags && flags.indexOf('y') > -1;
4503
- if (sticky) flags = flags.replace(/y/g, '');
4703
+ sticky = !!flags && stringIndexOf$1(flags, 'y') > -1;
4704
+ if (sticky) flags = replace$3(flags, /y/g, '');
4504
4705
  }
4505
4706
 
4506
4707
  if (UNSUPPORTED_NCG$1) {
@@ -4543,7 +4744,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
4543
4744
 
4544
4745
  RegExpPrototype$2.constructor = RegExpWrapper;
4545
4746
  RegExpWrapper.prototype = RegExpPrototype$2;
4546
- redefine$4(global$3, 'RegExp', RegExpWrapper);
4747
+ redefine$4(global$7, 'RegExp', RegExpWrapper);
4547
4748
  }
4548
4749
 
4549
4750
  // https://tc39.es/ecma262/#sec-get-regexp-@@species
@@ -4554,6 +4755,8 @@ var es_regexp_exec = {};
4554
4755
  'use strict';
4555
4756
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
4556
4757
  /* eslint-disable regexp/no-useless-quantifier -- testing */
4758
+ var call$4 = functionCall;
4759
+ var uncurryThis$9 = functionUncurryThis;
4557
4760
  var toString$3 = toString$b;
4558
4761
  var regexpFlags = regexpFlags$1;
4559
4762
  var stickyHelpers = regexpStickyHelpers;
@@ -4563,16 +4766,19 @@ var getInternalState$1 = internalState.get;
4563
4766
  var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
4564
4767
  var UNSUPPORTED_NCG = regexpUnsupportedNcg;
4565
4768
 
4566
- var nativeExec = RegExp.prototype.exec;
4567
4769
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
4568
-
4770
+ var nativeExec = RegExp.prototype.exec;
4569
4771
  var patchedExec = nativeExec;
4772
+ var charAt$2 = uncurryThis$9(''.charAt);
4773
+ var indexOf = uncurryThis$9(''.indexOf);
4774
+ var replace$2 = uncurryThis$9(''.replace);
4775
+ var stringSlice$2 = uncurryThis$9(''.slice);
4570
4776
 
4571
4777
  var UPDATES_LAST_INDEX_WRONG = (function () {
4572
4778
  var re1 = /a/;
4573
4779
  var re2 = /b*/g;
4574
- nativeExec.call(re1, 'a');
4575
- nativeExec.call(re2, 'a');
4780
+ call$4(nativeExec, re1, 'a');
4781
+ call$4(nativeExec, re2, 'a');
4576
4782
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
4577
4783
  })();
4578
4784
 
@@ -4594,27 +4800,27 @@ if (PATCH) {
4594
4800
 
4595
4801
  if (raw) {
4596
4802
  raw.lastIndex = re.lastIndex;
4597
- result = patchedExec.call(raw, str);
4803
+ result = call$4(patchedExec, raw, str);
4598
4804
  re.lastIndex = raw.lastIndex;
4599
4805
  return result;
4600
4806
  }
4601
4807
 
4602
4808
  var groups = state.groups;
4603
4809
  var sticky = UNSUPPORTED_Y && re.sticky;
4604
- var flags = regexpFlags.call(re);
4810
+ var flags = call$4(regexpFlags, re);
4605
4811
  var source = re.source;
4606
4812
  var charsAdded = 0;
4607
4813
  var strCopy = str;
4608
4814
 
4609
4815
  if (sticky) {
4610
- flags = flags.replace('y', '');
4611
- if (flags.indexOf('g') === -1) {
4816
+ flags = replace$2(flags, 'y', '');
4817
+ if (indexOf(flags, 'g') === -1) {
4612
4818
  flags += 'g';
4613
4819
  }
4614
4820
 
4615
- strCopy = str.slice(re.lastIndex);
4821
+ strCopy = stringSlice$2(str, re.lastIndex);
4616
4822
  // Support anchored sticky behavior.
4617
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && str.charAt(re.lastIndex - 1) !== '\n')) {
4823
+ if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$2(str, re.lastIndex - 1) !== '\n')) {
4618
4824
  source = '(?: ' + source + ')';
4619
4825
  strCopy = ' ' + strCopy;
4620
4826
  charsAdded++;
@@ -4629,12 +4835,12 @@ if (PATCH) {
4629
4835
  }
4630
4836
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
4631
4837
 
4632
- match = nativeExec.call(sticky ? reCopy : re, strCopy);
4838
+ match = call$4(nativeExec, sticky ? reCopy : re, strCopy);
4633
4839
 
4634
4840
  if (sticky) {
4635
4841
  if (match) {
4636
- match.input = match.input.slice(charsAdded);
4637
- match[0] = match[0].slice(charsAdded);
4842
+ match.input = stringSlice$2(match.input, charsAdded);
4843
+ match[0] = stringSlice$2(match[0], charsAdded);
4638
4844
  match.index = re.lastIndex;
4639
4845
  re.lastIndex += match[0].length;
4640
4846
  } else re.lastIndex = 0;
@@ -4644,7 +4850,7 @@ if (PATCH) {
4644
4850
  if (NPCG_INCLUDED && match && match.length > 1) {
4645
4851
  // Fix browsers whose `exec` methods don't consistently return `undefined`
4646
4852
  // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
4647
- nativeReplace.call(match[0], reCopy, function () {
4853
+ call$4(nativeReplace, match[0], reCopy, function () {
4648
4854
  for (i = 1; i < arguments.length - 2; i++) {
4649
4855
  if (arguments[i] === undefined) match[i] = undefined;
4650
4856
  }
@@ -4678,20 +4884,23 @@ $$8({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
4678
4884
  var es_regexp_toString = {};
4679
4885
 
4680
4886
  'use strict';
4887
+ var uncurryThis$8 = functionUncurryThis;
4681
4888
  var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
4682
4889
  var redefine$3 = redefine$b.exports;
4683
4890
  var anObject$3 = anObject$e;
4891
+ var isPrototypeOf$2 = objectIsPrototypeOf;
4684
4892
  var $toString = toString$b;
4685
- var fails$7 = fails$p;
4686
- var flags = regexpFlags$1;
4893
+ var fails$9 = fails$r;
4894
+ var regExpFlags = regexpFlags$1;
4687
4895
 
4688
4896
  var TO_STRING = 'toString';
4689
4897
  var RegExpPrototype$1 = RegExp.prototype;
4690
- var nativeToString = RegExpPrototype$1[TO_STRING];
4898
+ var n$ToString = RegExpPrototype$1[TO_STRING];
4899
+ var getFlags = uncurryThis$8(regExpFlags);
4691
4900
 
4692
- var NOT_GENERIC = fails$7(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
4901
+ var NOT_GENERIC = fails$9(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
4693
4902
  // FF44- RegExp#toString has a wrong name
4694
- var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name != TO_STRING;
4903
+ var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && n$ToString.name != TO_STRING;
4695
4904
 
4696
4905
  // `RegExp.prototype.toString` method
4697
4906
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
@@ -4700,7 +4909,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
4700
4909
  var R = anObject$3(this);
4701
4910
  var p = $toString(R.source);
4702
4911
  var rf = R.flags;
4703
- var f = $toString(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype$1) ? flags.call(R) : rf);
4912
+ var f = $toString(rf === undefined && isPrototypeOf$2(RegExpPrototype$1, R) && !('flags' in RegExpPrototype$1) ? getFlags(R) : rf);
4704
4913
  return '/' + p + '/' + f;
4705
4914
  }, { unsafe: true });
4706
4915
  }
@@ -4710,26 +4919,27 @@ var es_string_replace = {};
4710
4919
  'use strict';
4711
4920
  // TODO: Remove from `core-js@4` since it's moved to entry points
4712
4921
 
4922
+ var uncurryThis$7 = functionUncurryThis;
4713
4923
  var redefine$2 = redefine$b.exports;
4714
4924
  var regexpExec$1 = regexpExec$2;
4715
- var fails$6 = fails$p;
4716
- var wellKnownSymbol$2 = wellKnownSymbol$n;
4925
+ var fails$8 = fails$r;
4926
+ var wellKnownSymbol$3 = wellKnownSymbol$n;
4717
4927
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
4718
4928
 
4719
- var SPECIES = wellKnownSymbol$2('species');
4929
+ var SPECIES$1 = wellKnownSymbol$3('species');
4720
4930
  var RegExpPrototype = RegExp.prototype;
4721
4931
 
4722
4932
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
4723
- var SYMBOL = wellKnownSymbol$2(KEY);
4933
+ var SYMBOL = wellKnownSymbol$3(KEY);
4724
4934
 
4725
- var DELEGATES_TO_SYMBOL = !fails$6(function () {
4935
+ var DELEGATES_TO_SYMBOL = !fails$8(function () {
4726
4936
  // String methods call symbol-named RegEp methods
4727
4937
  var O = {};
4728
4938
  O[SYMBOL] = function () { return 7; };
4729
4939
  return ''[KEY](O) != 7;
4730
4940
  });
4731
4941
 
4732
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$6(function () {
4942
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$8(function () {
4733
4943
  // Symbol-named RegExp methods call .exec
4734
4944
  var execCalled = false;
4735
4945
  var re = /a/;
@@ -4742,7 +4952,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
4742
4952
  // RegExp[@@split] doesn't call the regex's exec method, but first creates
4743
4953
  // a new one. We need to return the patched regex when creating the new one.
4744
4954
  re.constructor = {};
4745
- re.constructor[SPECIES] = function () { return re; };
4955
+ re.constructor[SPECIES$1] = function () { return re; };
4746
4956
  re.flags = '';
4747
4957
  re[SYMBOL] = /./[SYMBOL];
4748
4958
  }
@@ -4758,17 +4968,18 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
4758
4968
  !DELEGATES_TO_EXEC ||
4759
4969
  FORCED
4760
4970
  ) {
4761
- var nativeRegExpMethod = /./[SYMBOL];
4971
+ var uncurriedNativeRegExpMethod = uncurryThis$7(/./[SYMBOL]);
4762
4972
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
4973
+ var uncurriedNativeMethod = uncurryThis$7(nativeMethod);
4763
4974
  var $exec = regexp.exec;
4764
4975
  if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
4765
4976
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
4766
4977
  // The native String method already delegates to @@method (this
4767
4978
  // polyfilled function), leasing to infinite recursion.
4768
4979
  // We avoid it by directly calling the native @@method method.
4769
- return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
4980
+ return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
4770
4981
  }
4771
- return { done: true, value: nativeMethod.call(str, regexp, arg2) };
4982
+ return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
4772
4983
  }
4773
4984
  return { done: false };
4774
4985
  });
@@ -4781,18 +4992,21 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
4781
4992
  };
4782
4993
 
4783
4994
  'use strict';
4784
- var charAt = stringMultibyte.charAt;
4995
+ var charAt$1 = stringMultibyte.charAt;
4785
4996
 
4786
4997
  // `AdvanceStringIndex` abstract operation
4787
4998
  // https://tc39.es/ecma262/#sec-advancestringindex
4788
4999
  var advanceStringIndex$1 = function (S, index, unicode) {
4789
- return index + (unicode ? charAt(S, index).length : 1);
5000
+ return index + (unicode ? charAt$1(S, index).length : 1);
4790
5001
  };
4791
5002
 
5003
+ var uncurryThis$6 = functionUncurryThis;
4792
5004
  var toObject$2 = toObject$a;
4793
5005
 
4794
5006
  var floor$1 = Math.floor;
4795
- var replace = ''.replace;
5007
+ var charAt = uncurryThis$6(''.charAt);
5008
+ var replace$1 = uncurryThis$6(''.replace);
5009
+ var stringSlice$1 = uncurryThis$6(''.slice);
4796
5010
  var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
4797
5011
  var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
4798
5012
 
@@ -4806,15 +5020,15 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
4806
5020
  namedCaptures = toObject$2(namedCaptures);
4807
5021
  symbols = SUBSTITUTION_SYMBOLS;
4808
5022
  }
4809
- return replace.call(replacement, symbols, function (match, ch) {
5023
+ return replace$1(replacement, symbols, function (match, ch) {
4810
5024
  var capture;
4811
- switch (ch.charAt(0)) {
5025
+ switch (charAt(ch, 0)) {
4812
5026
  case '$': return '$';
4813
5027
  case '&': return matched;
4814
- case '`': return str.slice(0, position);
4815
- case "'": return str.slice(tailPos);
5028
+ case '`': return stringSlice$1(str, 0, position);
5029
+ case "'": return stringSlice$1(str, tailPos);
4816
5030
  case '<':
4817
- capture = namedCaptures[ch.slice(1, -1)];
5031
+ capture = namedCaptures[stringSlice$1(ch, 1, -1)];
4818
5032
  break;
4819
5033
  default: // \d\d?
4820
5034
  var n = +ch;
@@ -4822,7 +5036,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
4822
5036
  if (n > m) {
4823
5037
  var f = floor$1(n / 10);
4824
5038
  if (f === 0) return match;
4825
- if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
5039
+ if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
4826
5040
  return match;
4827
5041
  }
4828
5042
  capture = captures[n - 1];
@@ -4831,27 +5045,34 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
4831
5045
  });
4832
5046
  };
4833
5047
 
5048
+ var global$6 = global$I;
5049
+ var call$3 = functionCall;
4834
5050
  var anObject$2 = anObject$e;
4835
5051
  var isCallable$2 = isCallable$l;
4836
- var classof = classofRaw$1;
5052
+ var classof$1 = classofRaw$1;
4837
5053
  var regexpExec = regexpExec$2;
4838
5054
 
5055
+ var TypeError$3 = global$6.TypeError;
5056
+
4839
5057
  // `RegExpExec` abstract operation
4840
5058
  // https://tc39.es/ecma262/#sec-regexpexec
4841
5059
  var regexpExecAbstract = function (R, S) {
4842
5060
  var exec = R.exec;
4843
5061
  if (isCallable$2(exec)) {
4844
- var result = exec.call(R, S);
5062
+ var result = call$3(exec, R, S);
4845
5063
  if (result !== null) anObject$2(result);
4846
5064
  return result;
4847
5065
  }
4848
- if (classof(R) === 'RegExp') return regexpExec.call(R, S);
4849
- throw TypeError('RegExp#exec called on incompatible receiver');
5066
+ if (classof$1(R) === 'RegExp') return call$3(regexpExec, R, S);
5067
+ throw TypeError$3('RegExp#exec called on incompatible receiver');
4850
5068
  };
4851
5069
 
4852
5070
  'use strict';
5071
+ var apply = functionApply;
5072
+ var call$2 = functionCall;
5073
+ var uncurryThis$5 = functionUncurryThis;
4853
5074
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
4854
- var fails$5 = fails$p;
5075
+ var fails$7 = fails$r;
4855
5076
  var anObject$1 = anObject$e;
4856
5077
  var isCallable$1 = isCallable$l;
4857
5078
  var toIntegerOrInfinity = toIntegerOrInfinity$5;
@@ -4862,11 +5083,15 @@ var advanceStringIndex = advanceStringIndex$1;
4862
5083
  var getMethod = getMethod$4;
4863
5084
  var getSubstitution = getSubstitution$1;
4864
5085
  var regExpExec = regexpExecAbstract;
4865
- var wellKnownSymbol$1 = wellKnownSymbol$n;
5086
+ var wellKnownSymbol$2 = wellKnownSymbol$n;
4866
5087
 
4867
- var REPLACE = wellKnownSymbol$1('replace');
4868
- var max = Math.max;
5088
+ var REPLACE = wellKnownSymbol$2('replace');
5089
+ var max$1 = Math.max;
4869
5090
  var min = Math.min;
5091
+ var concat$1 = uncurryThis$5([].concat);
5092
+ var push$1 = uncurryThis$5([].push);
5093
+ var stringIndexOf = uncurryThis$5(''.indexOf);
5094
+ var stringSlice = uncurryThis$5(''.slice);
4870
5095
 
4871
5096
  var maybeToString = function (it) {
4872
5097
  return it === undefined ? it : String(it);
@@ -4887,7 +5112,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
4887
5112
  return false;
4888
5113
  })();
4889
5114
 
4890
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$5(function () {
5115
+ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$7(function () {
4891
5116
  var re = /./;
4892
5117
  re.exec = function () {
4893
5118
  var result = [];
@@ -4909,8 +5134,8 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4909
5134
  var O = requireObjectCoercible$1(this);
4910
5135
  var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);
4911
5136
  return replacer
4912
- ? replacer.call(searchValue, O, replaceValue)
4913
- : nativeReplace.call(toString$2(O), searchValue, replaceValue);
5137
+ ? call$2(replacer, searchValue, O, replaceValue)
5138
+ : call$2(nativeReplace, toString$2(O), searchValue, replaceValue);
4914
5139
  },
4915
5140
  // `RegExp.prototype[@@replace]` method
4916
5141
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
@@ -4919,9 +5144,9 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4919
5144
  var S = toString$2(string);
4920
5145
 
4921
5146
  if (
4922
- typeof replaceValue === 'string' &&
4923
- replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1 &&
4924
- replaceValue.indexOf('$<') === -1
5147
+ typeof replaceValue == 'string' &&
5148
+ stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
5149
+ stringIndexOf(replaceValue, '$<') === -1
4925
5150
  ) {
4926
5151
  var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
4927
5152
  if (res.done) return res.value;
@@ -4940,7 +5165,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4940
5165
  var result = regExpExec(rx, S);
4941
5166
  if (result === null) break;
4942
5167
 
4943
- results.push(result);
5168
+ push$1(results, result);
4944
5169
  if (!global) break;
4945
5170
 
4946
5171
  var matchStr = toString$2(result[0]);
@@ -4953,28 +5178,28 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4953
5178
  result = results[i];
4954
5179
 
4955
5180
  var matched = toString$2(result[0]);
4956
- var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
5181
+ var position = max$1(min(toIntegerOrInfinity(result.index), S.length), 0);
4957
5182
  var captures = [];
4958
5183
  // NOTE: This is equivalent to
4959
5184
  // captures = result.slice(1).map(maybeToString)
4960
5185
  // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
4961
5186
  // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
4962
5187
  // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
4963
- for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
5188
+ for (var j = 1; j < result.length; j++) push$1(captures, maybeToString(result[j]));
4964
5189
  var namedCaptures = result.groups;
4965
5190
  if (functionalReplace) {
4966
- var replacerArgs = [matched].concat(captures, position, S);
4967
- if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
4968
- var replacement = toString$2(replaceValue.apply(undefined, replacerArgs));
5191
+ var replacerArgs = concat$1([matched], captures, position, S);
5192
+ if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures);
5193
+ var replacement = toString$2(apply(replaceValue, undefined, replacerArgs));
4969
5194
  } else {
4970
5195
  replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
4971
5196
  }
4972
5197
  if (position >= nextSourcePosition) {
4973
- accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
5198
+ accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
4974
5199
  nextSourcePosition = position + matched.length;
4975
5200
  }
4976
5201
  }
4977
- return accumulatedResult + S.slice(nextSourcePosition);
5202
+ return accumulatedResult + stringSlice(S, nextSourcePosition);
4978
5203
  }
4979
5204
  ];
4980
5205
  }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
@@ -5083,7 +5308,7 @@ Emits the following events:
5083
5308
  'hide:before': the drop list will hide.
5084
5309
  'hide': the drop list was hidden.
5085
5310
  'hide:after': emitted after the hide css transition has ended, or immediately after 'hide'.
5086
- 'check' {value, item, isCheckingGroup}: item was selected (in multi mode).
5311
+ 'check' {value, item, checked: boolean, isGroup: boolean, isCheckingGroup: boolean}: item was selected (in multi mode).
5087
5312
  'groupcheck' {value, item, affectedItems}: item was selected (in multi mode).
5088
5313
  */
5089
5314
 
@@ -5180,10 +5405,15 @@ var DropList = /*#__PURE__*/function () {
5180
5405
  onItemRender: function onItemRender(itemEl, index) {
5181
5406
  var item;
5182
5407
 
5183
- if ( /**@type any*/index === GhostSymbol) {var _item;
5184
- item = (_item = {}, _defineProperty(_item,
5185
- p.labelProp, p.lastMeasureLongestLabelText), _defineProperty(_item,
5186
- p.valueProp, 'Measure'), _item);
5408
+ if ( /**@type any*/index === GhostSymbol) {var _ItemSymbol;
5409
+ item = _defineProperty({
5410
+ label: p.lastMeasureLongestLabelText,
5411
+ value: 'Measure' },
5412
+
5413
+ ItemSymbol$1, (_ItemSymbol = {}, _defineProperty(_ItemSymbol,
5414
+ p.labelProp, p.lastMeasureLongestLabelText), _defineProperty(_ItemSymbol,
5415
+ p.valueProp, 'Measure'), _ItemSymbol));
5416
+
5187
5417
 
5188
5418
  itemEl.setAttribute('aria-hidden', 'true');
5189
5419
  } else {
@@ -5237,7 +5467,7 @@ var DropList = /*#__PURE__*/function () {
5237
5467
  var fn = p.unrenderItem;
5238
5468
  p.virtualListHelper.setOnItemUnrender(function (el) {
5239
5469
  try {
5240
- fn(el[ItemSymbol$1], el);
5470
+ fn(el[ItemSymbol$1][ItemSymbol$1], el);
5241
5471
  } catch (err) {console.error(err);} // eslint-disable-line no-console
5242
5472
  delete el[ItemSymbol$1];
5243
5473
 
@@ -5356,7 +5586,7 @@ var DropList = /*#__PURE__*/function () {
5356
5586
  el.className = classes.join(' ');
5357
5587
  } }, { key: "blurFocusedItem", value:
5358
5588
 
5359
- function blurFocusedItem() {
5589
+ function blurFocusedItem() {var _item$ItemSymbol;
5360
5590
  var p = this._p;
5361
5591
 
5362
5592
  clearTimeout(p.blurTimer);
@@ -5377,7 +5607,7 @@ var DropList = /*#__PURE__*/function () {
5377
5607
  if (!item)
5378
5608
  return;
5379
5609
 
5380
- this._trigger('itemblur', { value: item[p.valueProp], item: item });
5610
+ this._trigger('itemblur', { value: item.value, item: (_item$ItemSymbol = item[ItemSymbol$1]) !== null && _item$ItemSymbol !== void 0 ? _item$ItemSymbol : item });
5381
5611
  } }, { key: "nextPage", value:
5382
5612
 
5383
5613
  function nextPage(event) {
@@ -5391,7 +5621,7 @@ var DropList = /*#__PURE__*/function () {
5391
5621
  function toggleFocusedItem() {
5392
5622
  var p = this._p;
5393
5623
 
5394
- if (this.hasFocusedItem() && p.multi) {
5624
+ if (this.hasFocusedItem() && p.multi) {var _item$ItemSymbol2;
5395
5625
  var item = p.items[p.focusItemIndex];
5396
5626
  if (item._nocheck || item._nointeraction) return this;
5397
5627
 
@@ -5399,7 +5629,13 @@ var DropList = /*#__PURE__*/function () {
5399
5629
  if (p.focusItemEl) {
5400
5630
  DomCompat.toggleClass(p.focusItemEl, "".concat(p.baseClassName, "__item_checked"), item._checked);
5401
5631
  }
5402
- this._trigger('check', { value: item[p.valueProp], item: item });
5632
+ this._trigger('check', {
5633
+ value: item.value,
5634
+ item: (_item$ItemSymbol2 = item[ItemSymbol$1]) !== null && _item$ItemSymbol2 !== void 0 ? _item$ItemSymbol2 : item,
5635
+ checked: item._checked,
5636
+ isGroup: item._group,
5637
+ isCheckingGroup: false });
5638
+
5403
5639
 
5404
5640
  this._updateGroupStateForItem(item);
5405
5641
  }
@@ -5407,7 +5643,7 @@ var DropList = /*#__PURE__*/function () {
5407
5643
  return this;
5408
5644
  } }, { key: "triggerItemSelection", value:
5409
5645
 
5410
- function triggerItemSelection(event) {
5646
+ function triggerItemSelection(event) {var _item$ItemSymbol3;
5411
5647
  var p = this._p;
5412
5648
 
5413
5649
  p.focusItemEl = p.focusItemEl || Dom.closestUntil(event.target, 'li', p.el);
@@ -5424,7 +5660,7 @@ var DropList = /*#__PURE__*/function () {
5424
5660
  this._setSingleSelectedItemEl(p.focusItemEl);
5425
5661
  }
5426
5662
 
5427
- this._trigger('select', { value: item ? item[p.valueProp] : undefined, item: item });
5663
+ this._trigger('select', { value: item ? item.value : undefined, item: (_item$ItemSymbol3 = item[ItemSymbol$1]) !== null && _item$ItemSymbol3 !== void 0 ? _item$ItemSymbol3 : item });
5428
5664
 
5429
5665
  return true;
5430
5666
  }
@@ -5462,9 +5698,9 @@ var DropList = /*#__PURE__*/function () {
5462
5698
  var oitem = itemsToAdd[i];
5463
5699
  //noinspection PointlessBooleanExpressionJS
5464
5700
  var item = (_item2 = {}, _defineProperty(_item2,
5465
- ItemSymbol$1, oitem), _defineProperty(_item2,
5466
- labelProp, oitem[labelProp]), _defineProperty(_item2,
5467
- valueProp, oitem[valueProp]), _defineProperty(_item2, "_nocheck",
5701
+ ItemSymbol$1, oitem), _defineProperty(_item2, "label",
5702
+ oitem[labelProp]), _defineProperty(_item2, "value",
5703
+ oitem[valueProp]), _defineProperty(_item2, "_nocheck",
5468
5704
  !!oitem._nocheck), _defineProperty(_item2, "_nointeraction",
5469
5705
  !!oitem._nointeraction), _item2);
5470
5706
 
@@ -5515,10 +5751,10 @@ var DropList = /*#__PURE__*/function () {
5515
5751
  item[ItemSymbol$1] = newItem;
5516
5752
 
5517
5753
  if (hasOwnProperty.call(newItem, p.labelProp))
5518
- item[p.labelProp] = newItem[p.labelProp];
5754
+ item.label = newItem[p.labelProp];
5519
5755
 
5520
5756
  if (hasOwnProperty.call(newItem, p.valueProp))
5521
- item[p.valueProp] = newItem[p.valueProp];
5757
+ item.value = newItem[p.valueProp];
5522
5758
 
5523
5759
  if (hasOwnProperty.call(newItem, '_nocheck'))
5524
5760
  item._nocheck = !!newItem._nocheck;
@@ -5586,12 +5822,12 @@ var DropList = /*#__PURE__*/function () {
5586
5822
  } }, { key: "itemDataByValue", value:
5587
5823
 
5588
5824
  function itemDataByValue(value) {
5589
- var p = this._p,valueProp = p.valueProp;
5825
+ var p = this._p;
5590
5826
 
5591
5827
  for (var i = 0, count = p.items.length; i < count; i++) {
5592
5828
  var item = p.items[i];
5593
- if (item[valueProp] === value) {
5594
- return item;
5829
+ if (item.value === value) {
5830
+ return item[ItemSymbol$1];
5595
5831
  }
5596
5832
  }
5597
5833
 
@@ -5599,11 +5835,11 @@ var DropList = /*#__PURE__*/function () {
5599
5835
  } }, { key: "itemIndexByValue", value:
5600
5836
 
5601
5837
  function itemIndexByValue(value) {
5602
- var p = this._p,valueProp = p.valueProp;
5838
+ var p = this._p;
5603
5839
 
5604
5840
  for (var i = 0, count = p.items.length; i < count; i++) {
5605
5841
  var item = p.items[i];
5606
- if (item[valueProp] === value) {
5842
+ if (item.value === value) {
5607
5843
  return i;
5608
5844
  }
5609
5845
  }
@@ -5612,11 +5848,11 @@ var DropList = /*#__PURE__*/function () {
5612
5848
  } }, { key: "itemIndexByValueOrLabel", value:
5613
5849
 
5614
5850
  function itemIndexByValueOrLabel(value, label) {
5615
- var p = this._p,labelProp = p.labelProp,valueProp = p.valueProp;
5851
+ var p = this._p;
5616
5852
 
5617
5853
  for (var i = 0, count = p.items.length; i < count; i++) {
5618
5854
  var item = p.items[i];
5619
- if (item[valueProp] === value || item[labelProp] === label) {
5855
+ if (item.value === value || item.label === label) {
5620
5856
  return i;
5621
5857
  }
5622
5858
  }
@@ -5625,7 +5861,7 @@ var DropList = /*#__PURE__*/function () {
5625
5861
  } }, { key: "items", value:
5626
5862
 
5627
5863
  function items() {
5628
- return this._p.items.slice(0);
5864
+ return this._p.items.map(function (x) {return x[ItemSymbol$1];});
5629
5865
  } }, { key: "itemsReference", value:
5630
5866
 
5631
5867
  function itemsReference() {
@@ -5636,8 +5872,8 @@ var DropList = /*#__PURE__*/function () {
5636
5872
  return this._p.items.length;
5637
5873
  } }, { key: "itemAtIndex", value:
5638
5874
 
5639
- function itemAtIndex(index) {
5640
- return this._p.items[index];
5875
+ function itemAtIndex(index) {var _this$_p$items$index;
5876
+ return (_this$_p$items$index = this._p.items[index]) === null || _this$_p$items$index === void 0 ? void 0 : _this$_p$items$index[ItemSymbol$1];
5641
5877
  }
5642
5878
 
5643
5879
  /**
@@ -5917,13 +6153,13 @@ var DropList = /*#__PURE__*/function () {
5917
6153
  * @returns {DropList} self
5918
6154
  */ }, { key: "setCheckedValues", value:
5919
6155
  function setCheckedValues(values) {
5920
- var p = this._p,valueProp = p.valueProp;
6156
+ var p = this._p;
5921
6157
 
5922
6158
  var groupIndexes = [];
5923
6159
 
5924
6160
  for (var i = 0, count = p.items.length; i < count; i++) {
5925
6161
  var item = p.items[i];
5926
- var checked = !item._nocheck && values.indexOf(item[valueProp]) !== -1;
6162
+ var checked = !item._nocheck && values.indexOf(item.value) !== -1;
5927
6163
 
5928
6164
  if (item._group) {
5929
6165
  groupIndexes.push(i);
@@ -5955,7 +6191,7 @@ var DropList = /*#__PURE__*/function () {
5955
6191
  * @returns {Array<*>} self
5956
6192
  */ }, { key: "getCheckedValues", value:
5957
6193
  function getCheckedValues(excludeGroups) {
5958
- var p = this._p,valueProp = p.valueProp;
6194
+ var p = this._p;
5959
6195
 
5960
6196
  excludeGroups = excludeGroups && p.groupCount > 0;
5961
6197
 
@@ -5965,7 +6201,7 @@ var DropList = /*#__PURE__*/function () {
5965
6201
  var item = p.items[i];
5966
6202
  if (!item._checked) continue;
5967
6203
  if (excludeGroups && item._group) continue;
5968
- values.push(item[valueProp]);
6204
+ values.push(item.value);
5969
6205
  }
5970
6206
 
5971
6207
  return values;
@@ -5988,7 +6224,7 @@ var DropList = /*#__PURE__*/function () {
5988
6224
  var item = p.items[i];
5989
6225
  if (!item._checked) continue;
5990
6226
  if (excludeGroups && item._group) continue;
5991
- items.push(item);
6227
+ items.push(item[ItemSymbol$1]);
5992
6228
  }
5993
6229
 
5994
6230
  return items;
@@ -6167,7 +6403,7 @@ var DropList = /*#__PURE__*/function () {
6167
6403
  itemElement.classList.add("".concat(p.baseClassName, "__item_focus"));
6168
6404
  p.focusItemEl = itemElement;
6169
6405
 
6170
- this._trigger('itemfocus', { value: itemElement[p.valueProp], item: itemElement[ItemSymbol$1], event: null });
6406
+ this._trigger('itemfocus', { value: itemElement.value, item: itemElement[ItemSymbol$1], event: null });
6171
6407
  }
6172
6408
  }
6173
6409
 
@@ -6324,15 +6560,15 @@ var DropList = /*#__PURE__*/function () {
6324
6560
  } }, { key: "_getItemIndex", value:
6325
6561
 
6326
6562
  function _getItemIndex(item) {
6327
- var p = this._p,labelProp = p.labelProp,valueProp = p.valueProp;
6563
+ var p = this._p;
6328
6564
 
6329
6565
  var itemIndex = -1;
6330
6566
 
6331
6567
  if (item) {
6332
6568
  itemIndex = p.items.indexOf(item);
6333
6569
  if (itemIndex === -1) {
6334
- var value = item && item[valueProp] !== undefined ? item[valueProp] : item;
6335
- var label = item && item[labelProp] ? item[labelProp] : value;
6570
+ var value = item && item.value !== undefined ? item.value : item;
6571
+ var label = item && item.label ? item.label : value;
6336
6572
  itemIndex = this.itemIndexByValueOrLabel(value, label);
6337
6573
  }
6338
6574
  }
@@ -6568,7 +6804,7 @@ var DropList = /*#__PURE__*/function () {
6568
6804
  } }, { key: "_keydownFreeType", value:
6569
6805
 
6570
6806
  function _keydownFreeType(evt) {
6571
- var p = this._p,labelProp = p.labelProp;
6807
+ var p = this._p;
6572
6808
 
6573
6809
  // noinspection JSDeprecatedSymbols
6574
6810
  var character = evt.key || String.fromCharCode(evt.keyCode);
@@ -6587,7 +6823,7 @@ var DropList = /*#__PURE__*/function () {
6587
6823
  // These are all the possible matches
6588
6824
  for (var i = 0, count = p.items.length; i < count; i++) {
6589
6825
  item = p.items[i];
6590
- if (regex.test(item[labelProp])) {
6826
+ if (regex.test(item.label)) {
6591
6827
  matchIndices.push(i);
6592
6828
  }
6593
6829
  }
@@ -6600,7 +6836,7 @@ var DropList = /*#__PURE__*/function () {
6600
6836
 
6601
6837
  for (var _i6 = 0, _count2 = p.items.length; _i6 < _count2; _i6++) {
6602
6838
  item = p.items[_i6];
6603
- if (regex.test(item[labelProp])) {
6839
+ if (regex.test(item.label)) {
6604
6840
  matchIndices.push(_i6);
6605
6841
  }
6606
6842
  }
@@ -6643,7 +6879,7 @@ var DropList = /*#__PURE__*/function () {
6643
6879
  }
6644
6880
  } }, { key: "_focus", value:
6645
6881
 
6646
- function _focus(event, itemEl, itemIndex) {
6882
+ function _focus(event, itemEl, itemIndex) {var _item$ItemSymbol4;
6647
6883
  var p = this._p;
6648
6884
 
6649
6885
  if (!itemIndex && itemEl) {
@@ -6674,7 +6910,7 @@ var DropList = /*#__PURE__*/function () {
6674
6910
  p.focusItemIndex = itemIndex;
6675
6911
 
6676
6912
  var item = p.items[itemIndex];
6677
- this._trigger('itemfocus', { value: item[p.valueProp], item: item, event: event });
6913
+ this._trigger('itemfocus', { value: item.value, item: (_item$ItemSymbol4 = item[ItemSymbol$1]) !== null && _item$ItemSymbol4 !== void 0 ? _item$ItemSymbol4 : item, event: event });
6678
6914
  } }, { key: "_delayBlur", value:
6679
6915
 
6680
6916
  function _delayBlur() {var _this10 = this;
@@ -6827,13 +7063,13 @@ var DropList = /*#__PURE__*/function () {
6827
7063
  } }, { key: "_updateGroupStateForItem", value:
6828
7064
 
6829
7065
  function _updateGroupStateForItem(item) {
6830
- var p = this._p,valueProp = p.valueProp;
7066
+ var p = this._p;
6831
7067
 
6832
7068
  if (p.multi && p.autoCheckGroupChildren) {
6833
7069
 
6834
7070
  var items, groupIndex, itemIndex;
6835
7071
 
6836
- if (item._group) {
7072
+ if (item._group) {var _item$ItemSymbol5;
6837
7073
  // Now loop through children below the group
6838
7074
 
6839
7075
  items = p.items;
@@ -6841,7 +7077,7 @@ var DropList = /*#__PURE__*/function () {
6841
7077
 
6842
7078
  var affectedItems = 0;
6843
7079
 
6844
- for (var i = groupIndex + 1, len = items.length; i < len; i++) {
7080
+ for (var i = groupIndex + 1, len = items.length; i < len; i++) {var _next$ItemSymbol;
6845
7081
  var next = items[i];
6846
7082
 
6847
7083
  // Hit the next group, break out
@@ -6864,11 +7100,17 @@ var DropList = /*#__PURE__*/function () {
6864
7100
  }
6865
7101
 
6866
7102
  // Fire event
6867
- this._trigger('check', { value: next[valueProp], item: next, isCheckingGroup: true });
7103
+ this._trigger('check', {
7104
+ value: next.value,
7105
+ item: (_next$ItemSymbol = next[ItemSymbol$1]) !== null && _next$ItemSymbol !== void 0 ? _next$ItemSymbol : next,
7106
+ checked: item._checked,
7107
+ isGroup: item._group,
7108
+ isCheckingGroup: true });
7109
+
6868
7110
  }
6869
7111
 
6870
7112
  // Fire event
6871
- this._trigger('groupcheck', { value: item[valueProp], item: item, affectedItems: affectedItems });
7113
+ this._trigger('groupcheck', { value: item.value, item: (_item$ItemSymbol5 = item[ItemSymbol$1]) !== null && _item$ItemSymbol5 !== void 0 ? _item$ItemSymbol5 : item, affectedItems: affectedItems });
6872
7114
  } else if (p.groupCount > 0) {
6873
7115
  items = p.items;
6874
7116
  itemIndex = items.indexOf(item);
@@ -6928,9 +7170,15 @@ var DropList = /*#__PURE__*/function () {
6928
7170
  DomCompat.toggleClass(nextEl, "".concat(p.baseClassName, "__item_checked"), groupItem._checked);
6929
7171
  }
6930
7172
 
6931
- if (fireEvents) {
7173
+ if (fireEvents) {var _groupItem$ItemSymbol;
6932
7174
  // Fire event
6933
- this._trigger('check', { value: groupItem[p.valueProp], item: groupItem });
7175
+ this._trigger('check', {
7176
+ value: groupItem.value,
7177
+ item: (_groupItem$ItemSymbol = groupItem[ItemSymbol$1]) !== null && _groupItem$ItemSymbol !== void 0 ? _groupItem$ItemSymbol : groupItem,
7178
+ checked: item._checked,
7179
+ isGroup: item._group,
7180
+ isCheckingGroup: false });
7181
+
6934
7182
  }
6935
7183
  }
6936
7184
  }
@@ -6946,7 +7194,6 @@ var DropList = /*#__PURE__*/function () {
6946
7194
  var p = this._p;
6947
7195
 
6948
7196
  if (p.lastMeasureItemCount !== p.items.length) {
6949
- var labelProp = p.labelProp,valueProp = p.valueProp;
6950
7197
  var longestLabel = p.lastMeasureLongestLabel || 1,
6951
7198
  longestLabelText = p.lastMeasureLongestLabelText || '';
6952
7199
 
@@ -6955,9 +7202,9 @@ var DropList = /*#__PURE__*/function () {
6955
7202
  i++) {
6956
7203
 
6957
7204
  var item = items[i];
6958
- var text = item[labelProp];
7205
+ var text = item.label;
6959
7206
  if (text == null)
6960
- text = item[valueProp];
7207
+ text = item.value;
6961
7208
  if (text == null)
6962
7209
  text = '';
6963
7210
 
@@ -7006,7 +7253,7 @@ var DropList = /*#__PURE__*/function () {
7006
7253
  } }, { key: "_renderItemContent", value:
7007
7254
 
7008
7255
  function _renderItemContent(item, itemEl) {
7009
- var p = this._p,labelProp = p.labelProp;
7256
+ var p = this._p;
7010
7257
 
7011
7258
  // NOTE: a "measure" item will not have full data of original item.
7012
7259
  // so for a custom renderer - we try to send original item, and fallback to our private list item.
@@ -7014,7 +7261,7 @@ var DropList = /*#__PURE__*/function () {
7014
7261
  if (!p.renderItem || p.renderItem(item[ItemSymbol$1] || item, itemEl) === false) {
7015
7262
  itemEl.appendChild(Dom.createElement('span', {
7016
7263
  class: "".concat(p.baseClassName, "__item_label"),
7017
- textContent: item[labelProp] }));
7264
+ textContent: item.label }));
7018
7265
 
7019
7266
 
7020
7267
  if (p.multi) {
@@ -7075,7 +7322,7 @@ var DropList = /*#__PURE__*/function () {
7075
7322
  } }]);return DropList;}();
7076
7323
 
7077
7324
  'use strict';
7078
- var toIndexedObject = toIndexedObject$9;
7325
+ var toIndexedObject$1 = toIndexedObject$a;
7079
7326
  var addToUnscopables$1 = addToUnscopables$3;
7080
7327
  var Iterators = iterators;
7081
7328
  var InternalStateModule$1 = internalState;
@@ -7098,7 +7345,7 @@ var getInternalState = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
7098
7345
  var es_array_iterator = defineIterator$1(Array, 'Array', function (iterated, kind) {
7099
7346
  setInternalState$1(this, {
7100
7347
  type: ARRAY_ITERATOR,
7101
- target: toIndexedObject(iterated), // target
7348
+ target: toIndexedObject$1(iterated), // target
7102
7349
  index: 0, // next index
7103
7350
  kind: kind // kind
7104
7351
  });
@@ -7128,9 +7375,39 @@ addToUnscopables$1('keys');
7128
7375
  addToUnscopables$1('values');
7129
7376
  addToUnscopables$1('entries');
7130
7377
 
7378
+ var es_set = {};
7379
+
7131
7380
  var internalMetadata$1 = {exports: {}};
7132
7381
 
7133
- var fails$4 = fails$p;
7382
+ // FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it
7383
+ var fails$6 = fails$r;
7384
+
7385
+ var arrayBufferNonExtensible = fails$6(function () {
7386
+ if (typeof ArrayBuffer == 'function') {
7387
+ var buffer = new ArrayBuffer(8);
7388
+ // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe
7389
+ if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });
7390
+ }
7391
+ });
7392
+
7393
+ var fails$5 = fails$r;
7394
+ var isObject$3 = isObject$e;
7395
+ var classof = classofRaw$1;
7396
+ var ARRAY_BUFFER_NON_EXTENSIBLE = arrayBufferNonExtensible;
7397
+
7398
+ // eslint-disable-next-line es/no-object-isextensible -- safe
7399
+ var $isExtensible = Object.isExtensible;
7400
+ var FAILS_ON_PRIMITIVES = fails$5(function () { $isExtensible(1); });
7401
+
7402
+ // `Object.isExtensible` method
7403
+ // https://tc39.es/ecma262/#sec-object.isextensible
7404
+ var objectIsExtensible = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {
7405
+ if (!isObject$3(it)) return false;
7406
+ if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;
7407
+ return $isExtensible ? $isExtensible(it) : true;
7408
+ } : $isExtensible;
7409
+
7410
+ var fails$4 = fails$r;
7134
7411
 
7135
7412
  var freezing = !fails$4(function () {
7136
7413
  // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing
@@ -7138,12 +7415,14 @@ var freezing = !fails$4(function () {
7138
7415
  });
7139
7416
 
7140
7417
  var $$7 = _export;
7418
+ var uncurryThis$4 = functionUncurryThis;
7141
7419
  var hiddenKeys = hiddenKeys$6;
7142
- var isObject$1 = isObject$e;
7420
+ var isObject$2 = isObject$e;
7143
7421
  var hasOwn = hasOwnProperty_1;
7144
7422
  var defineProperty$2 = objectDefineProperty.f;
7145
7423
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
7146
7424
  var getOwnPropertyNamesExternalModule = objectGetOwnPropertyNamesExternal;
7425
+ var isExtensible = objectIsExtensible;
7147
7426
  var uid = uid$4;
7148
7427
  var FREEZING = freezing;
7149
7428
 
@@ -7151,11 +7430,6 @@ var REQUIRED = false;
7151
7430
  var METADATA = uid('meta');
7152
7431
  var id = 0;
7153
7432
 
7154
- // eslint-disable-next-line es/no-object-isextensible -- safe
7155
- var isExtensible = Object.isExtensible || function () {
7156
- return true;
7157
- };
7158
-
7159
7433
  var setMetadata = function (it) {
7160
7434
  defineProperty$2(it, METADATA, { value: {
7161
7435
  objectID: 'O' + id++, // object ID
@@ -7165,7 +7439,7 @@ var setMetadata = function (it) {
7165
7439
 
7166
7440
  var fastKey$1 = function (it, create) {
7167
7441
  // return a primitive with prefix
7168
- if (!isObject$1(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
7442
+ if (!isObject$2(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
7169
7443
  if (!hasOwn(it, METADATA)) {
7170
7444
  // can't set metadata to uncaught frozen object
7171
7445
  if (!isExtensible(it)) return 'F';
@@ -7199,7 +7473,7 @@ var enable = function () {
7199
7473
  meta.enable = function () { /* empty */ };
7200
7474
  REQUIRED = true;
7201
7475
  var getOwnPropertyNames = getOwnPropertyNamesModule.f;
7202
- var splice = [].splice;
7476
+ var splice = uncurryThis$4([].splice);
7203
7477
  var test = {};
7204
7478
  test[METADATA] = 1;
7205
7479
 
@@ -7209,7 +7483,7 @@ var enable = function () {
7209
7483
  var result = getOwnPropertyNames(it);
7210
7484
  for (var i = 0, length = result.length; i < length; i++) {
7211
7485
  if (result[i] === METADATA) {
7212
- splice.call(result, i, 1);
7486
+ splice(result, i, 1);
7213
7487
  break;
7214
7488
  }
7215
7489
  } return result;
@@ -7232,25 +7506,33 @@ hiddenKeys[METADATA] = true;
7232
7506
 
7233
7507
  var internalMetadata = internalMetadata$1.exports;
7234
7508
 
7509
+ var global$5 = global$I;
7510
+ var bind$1 = functionBindContext;
7511
+ var call$1 = functionCall;
7235
7512
  var anObject = anObject$e;
7513
+ var tryToString = tryToString$3;
7236
7514
  var isArrayIteratorMethod = isArrayIteratorMethod$2;
7237
- var lengthOfArrayLike$1 = lengthOfArrayLike$8;
7238
- var bind$1 = functionBindContext;
7515
+ var lengthOfArrayLike$2 = lengthOfArrayLike$8;
7516
+ var isPrototypeOf$1 = objectIsPrototypeOf;
7239
7517
  var getIterator = getIterator$2;
7240
7518
  var getIteratorMethod = getIteratorMethod$3;
7241
7519
  var iteratorClose = iteratorClose$2;
7242
7520
 
7521
+ var TypeError$2 = global$5.TypeError;
7522
+
7243
7523
  var Result = function (stopped, result) {
7244
7524
  this.stopped = stopped;
7245
7525
  this.result = result;
7246
7526
  };
7247
7527
 
7528
+ var ResultPrototype = Result.prototype;
7529
+
7248
7530
  var iterate$2 = function (iterable, unboundFunction, options) {
7249
7531
  var that = options && options.that;
7250
7532
  var AS_ENTRIES = !!(options && options.AS_ENTRIES);
7251
7533
  var IS_ITERATOR = !!(options && options.IS_ITERATOR);
7252
7534
  var INTERRUPTED = !!(options && options.INTERRUPTED);
7253
- var fn = bind$1(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED);
7535
+ var fn = bind$1(unboundFunction, that);
7254
7536
  var iterator, iterFn, index, length, result, next, step;
7255
7537
 
7256
7538
  var stop = function (condition) {
@@ -7269,44 +7551,50 @@ var iterate$2 = function (iterable, unboundFunction, options) {
7269
7551
  iterator = iterable;
7270
7552
  } else {
7271
7553
  iterFn = getIteratorMethod(iterable);
7272
- if (!iterFn) throw TypeError(String(iterable) + ' is not iterable');
7554
+ if (!iterFn) throw TypeError$2(tryToString(iterable) + ' is not iterable');
7273
7555
  // optimisation for array iterators
7274
7556
  if (isArrayIteratorMethod(iterFn)) {
7275
- for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
7557
+ for (index = 0, length = lengthOfArrayLike$2(iterable); length > index; index++) {
7276
7558
  result = callFn(iterable[index]);
7277
- if (result && result instanceof Result) return result;
7559
+ if (result && isPrototypeOf$1(ResultPrototype, result)) return result;
7278
7560
  } return new Result(false);
7279
7561
  }
7280
7562
  iterator = getIterator(iterable, iterFn);
7281
7563
  }
7282
7564
 
7283
7565
  next = iterator.next;
7284
- while (!(step = next.call(iterator)).done) {
7566
+ while (!(step = call$1(next, iterator)).done) {
7285
7567
  try {
7286
7568
  result = callFn(step.value);
7287
7569
  } catch (error) {
7288
7570
  iteratorClose(iterator, 'throw', error);
7289
7571
  }
7290
- if (typeof result == 'object' && result && result instanceof Result) return result;
7572
+ if (typeof result == 'object' && result && isPrototypeOf$1(ResultPrototype, result)) return result;
7291
7573
  } return new Result(false);
7292
7574
  };
7293
7575
 
7294
- var anInstance$2 = function (it, Constructor, name) {
7295
- if (it instanceof Constructor) return it;
7296
- throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');
7576
+ var global$4 = global$I;
7577
+ var isPrototypeOf = objectIsPrototypeOf;
7578
+
7579
+ var TypeError$1 = global$4.TypeError;
7580
+
7581
+ var anInstance$2 = function (it, Prototype) {
7582
+ if (isPrototypeOf(Prototype, it)) return it;
7583
+ throw TypeError$1('Incorrect invocation');
7297
7584
  };
7298
7585
 
7299
7586
  'use strict';
7300
7587
  var $$6 = _export;
7301
- var global$2 = global$k;
7588
+ var global$3 = global$I;
7589
+ var uncurryThis$3 = functionUncurryThis;
7302
7590
  var isForced = isForced_1;
7303
7591
  var redefine$1 = redefine$b.exports;
7304
7592
  var InternalMetadataModule = internalMetadata$1.exports;
7305
7593
  var iterate$1 = iterate$2;
7306
7594
  var anInstance$1 = anInstance$2;
7307
7595
  var isCallable = isCallable$l;
7308
- var isObject = isObject$e;
7309
- var fails$3 = fails$p;
7596
+ var isObject$1 = isObject$e;
7597
+ var fails$3 = fails$r;
7310
7598
  var checkCorrectnessOfIteration = checkCorrectnessOfIteration$2;
7311
7599
  var setToStringTag = setToStringTag$4;
7312
7600
  var inheritIfRequired = inheritIfRequired$2;
@@ -7315,25 +7603,25 @@ var collection$1 = function (CONSTRUCTOR_NAME, wrapper, common) {
7315
7603
  var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
7316
7604
  var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
7317
7605
  var ADDER = IS_MAP ? 'set' : 'add';
7318
- var NativeConstructor = global$2[CONSTRUCTOR_NAME];
7606
+ var NativeConstructor = global$3[CONSTRUCTOR_NAME];
7319
7607
  var NativePrototype = NativeConstructor && NativeConstructor.prototype;
7320
7608
  var Constructor = NativeConstructor;
7321
7609
  var exported = {};
7322
7610
 
7323
7611
  var fixMethod = function (KEY) {
7324
- var nativeMethod = NativePrototype[KEY];
7612
+ var uncurriedNativeMethod = uncurryThis$3(NativePrototype[KEY]);
7325
7613
  redefine$1(NativePrototype, KEY,
7326
7614
  KEY == 'add' ? function add(value) {
7327
- nativeMethod.call(this, value === 0 ? 0 : value);
7615
+ uncurriedNativeMethod(this, value === 0 ? 0 : value);
7328
7616
  return this;
7329
7617
  } : KEY == 'delete' ? function (key) {
7330
- return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);
7618
+ return IS_WEAK && !isObject$1(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
7331
7619
  } : KEY == 'get' ? function get(key) {
7332
- return IS_WEAK && !isObject(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key);
7620
+ return IS_WEAK && !isObject$1(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);
7333
7621
  } : KEY == 'has' ? function has(key) {
7334
- return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);
7622
+ return IS_WEAK && !isObject$1(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
7335
7623
  } : function set(key, value) {
7336
- nativeMethod.call(this, key === 0 ? 0 : key, value);
7624
+ uncurriedNativeMethod(this, key === 0 ? 0 : key, value);
7337
7625
  return this;
7338
7626
  }
7339
7627
  );
@@ -7370,7 +7658,7 @@ var collection$1 = function (CONSTRUCTOR_NAME, wrapper, common) {
7370
7658
 
7371
7659
  if (!ACCEPT_ITERABLES) {
7372
7660
  Constructor = wrapper(function (dummy, iterable) {
7373
- anInstance$1(dummy, Constructor, CONSTRUCTOR_NAME);
7661
+ anInstance$1(dummy, NativePrototype);
7374
7662
  var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);
7375
7663
  if (iterable != undefined) iterate$1(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
7376
7664
  return that;
@@ -7426,8 +7714,8 @@ var internalStateGetterFor = InternalStateModule.getterFor;
7426
7714
 
7427
7715
  var collectionStrong$1 = {
7428
7716
  getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
7429
- var C = wrapper(function (that, iterable) {
7430
- anInstance(that, C, CONSTRUCTOR_NAME);
7717
+ var Constructor = wrapper(function (that, iterable) {
7718
+ anInstance(that, Prototype);
7431
7719
  setInternalState(that, {
7432
7720
  type: CONSTRUCTOR_NAME,
7433
7721
  index: create(null),
@@ -7439,6 +7727,8 @@ var collectionStrong$1 = {
7439
7727
  if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
7440
7728
  });
7441
7729
 
7730
+ var Prototype = Constructor.prototype;
7731
+
7442
7732
  var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
7443
7733
 
7444
7734
  var define = function (that, key, value) {
@@ -7479,7 +7769,7 @@ var collectionStrong$1 = {
7479
7769
  }
7480
7770
  };
7481
7771
 
7482
- redefineAll(C.prototype, {
7772
+ redefineAll(Prototype, {
7483
7773
  // `{ Map, Set }.prototype.clear()` methods
7484
7774
  // https://tc39.es/ecma262/#sec-map.prototype.clear
7485
7775
  // https://tc39.es/ecma262/#sec-set.prototype.clear
@@ -7523,7 +7813,7 @@ var collectionStrong$1 = {
7523
7813
  // https://tc39.es/ecma262/#sec-set.prototype.foreach
7524
7814
  forEach: function forEach(callbackfn /* , that = undefined */) {
7525
7815
  var state = getInternalState(this);
7526
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
7816
+ var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
7527
7817
  var entry;
7528
7818
  while (entry = entry ? entry.next : state.first) {
7529
7819
  boundFunction(entry.value, entry.key, this);
@@ -7539,7 +7829,7 @@ var collectionStrong$1 = {
7539
7829
  }
7540
7830
  });
7541
7831
 
7542
- redefineAll(C.prototype, IS_MAP ? {
7832
+ redefineAll(Prototype, IS_MAP ? {
7543
7833
  // `Map.prototype.get(key)` method
7544
7834
  // https://tc39.es/ecma262/#sec-map.prototype.get
7545
7835
  get: function get(key) {
@@ -7558,14 +7848,14 @@ var collectionStrong$1 = {
7558
7848
  return define(this, value = value === 0 ? 0 : value, value);
7559
7849
  }
7560
7850
  });
7561
- if (DESCRIPTORS$1) defineProperty$1(C.prototype, 'size', {
7851
+ if (DESCRIPTORS$1) defineProperty$1(Prototype, 'size', {
7562
7852
  get: function () {
7563
7853
  return getInternalState(this).size;
7564
7854
  }
7565
7855
  });
7566
- return C;
7856
+ return Constructor;
7567
7857
  },
7568
- setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) {
7858
+ setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {
7569
7859
  var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';
7570
7860
  var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);
7571
7861
  var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);
@@ -7578,7 +7868,7 @@ var collectionStrong$1 = {
7578
7868
  // https://tc39.es/ecma262/#sec-set.prototype.keys
7579
7869
  // https://tc39.es/ecma262/#sec-set.prototype.values
7580
7870
  // https://tc39.es/ecma262/#sec-set.prototype-@@iterator
7581
- defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) {
7871
+ defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {
7582
7872
  setInternalState(this, {
7583
7873
  type: ITERATOR_NAME,
7584
7874
  target: iterated,
@@ -7617,7 +7907,7 @@ var collectionStrong = collectionStrong$1;
7617
7907
 
7618
7908
  // `Set` constructor
7619
7909
  // https://tc39.es/ecma262/#sec-set-objects
7620
- var es_set = collection('Set', function (init) {
7910
+ collection('Set', function (init) {
7621
7911
  return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };
7622
7912
  }, collectionStrong);
7623
7913
 
@@ -7667,15 +7957,15 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
7667
7957
 
7668
7958
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
7669
7959
 
7670
- var global$1 = global$k;
7960
+ var global$2 = global$I;
7671
7961
  var DOMIterables = domIterables;
7672
7962
  var DOMTokenListPrototype = domTokenListPrototype;
7673
7963
  var ArrayIteratorMethods = es_array_iterator;
7674
7964
  var createNonEnumerableProperty = createNonEnumerableProperty$7;
7675
- var wellKnownSymbol = wellKnownSymbol$n;
7965
+ var wellKnownSymbol$1 = wellKnownSymbol$n;
7676
7966
 
7677
- var ITERATOR = wellKnownSymbol('iterator');
7678
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
7967
+ var ITERATOR = wellKnownSymbol$1('iterator');
7968
+ var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
7679
7969
  var ArrayValues = ArrayIteratorMethods.values;
7680
7970
 
7681
7971
  var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
@@ -7701,16 +7991,71 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
7701
7991
  };
7702
7992
 
7703
7993
  for (var COLLECTION_NAME in DOMIterables) {
7704
- handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
7994
+ handlePrototype(global$2[COLLECTION_NAME] && global$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
7705
7995
  }
7706
7996
 
7707
7997
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
7708
7998
 
7999
+ var es_array_slice = {};
8000
+
8001
+ 'use strict';
8002
+ var $$5 = _export;
8003
+ var global$1 = global$I;
8004
+ var isArray = isArray$4;
8005
+ var isConstructor = isConstructor$3;
8006
+ var isObject = isObject$e;
8007
+ var toAbsoluteIndex = toAbsoluteIndex$3;
8008
+ var lengthOfArrayLike$1 = lengthOfArrayLike$8;
8009
+ var toIndexedObject = toIndexedObject$a;
8010
+ var createProperty = createProperty$4;
8011
+ var wellKnownSymbol = wellKnownSymbol$n;
8012
+ var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$5;
8013
+ var un$Slice = arraySlice$3;
8014
+
8015
+ var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('slice');
8016
+
8017
+ var SPECIES = wellKnownSymbol('species');
8018
+ var Array$1 = global$1.Array;
8019
+ var max = Math.max;
8020
+
8021
+ // `Array.prototype.slice` method
8022
+ // https://tc39.es/ecma262/#sec-array.prototype.slice
8023
+ // fallback for not array-like ES3 strings and DOM objects
8024
+ $$5({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
8025
+ slice: function slice(start, end) {
8026
+ var O = toIndexedObject(this);
8027
+ var length = lengthOfArrayLike$1(O);
8028
+ var k = toAbsoluteIndex(start, length);
8029
+ var fin = toAbsoluteIndex(end === undefined ? length : end, length);
8030
+ // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
8031
+ var Constructor, result, n;
8032
+ if (isArray(O)) {
8033
+ Constructor = O.constructor;
8034
+ // cross-realm fallback
8035
+ if (isConstructor(Constructor) && (Constructor === Array$1 || isArray(Constructor.prototype))) {
8036
+ Constructor = undefined;
8037
+ } else if (isObject(Constructor)) {
8038
+ Constructor = Constructor[SPECIES];
8039
+ if (Constructor === null) Constructor = undefined;
8040
+ }
8041
+ if (Constructor === Array$1 || Constructor === undefined) {
8042
+ return un$Slice(O, k, fin);
8043
+ }
8044
+ }
8045
+ result = new (Constructor === undefined ? Array$1 : Constructor)(max(fin - k, 0));
8046
+ for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
8047
+ result.length = n;
8048
+ return result;
8049
+ }
8050
+ });
8051
+
7709
8052
  var es_object_assign = {};
7710
8053
 
7711
8054
  'use strict';
7712
8055
  var DESCRIPTORS = descriptors;
7713
- var fails$2 = fails$p;
8056
+ var uncurryThis$2 = functionUncurryThis;
8057
+ var call = functionCall;
8058
+ var fails$2 = fails$r;
7714
8059
  var objectKeys = objectKeys$4;
7715
8060
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
7716
8061
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
@@ -7721,6 +8066,7 @@ var IndexedObject = indexedObject;
7721
8066
  var $assign = Object.assign;
7722
8067
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
7723
8068
  var defineProperty = Object.defineProperty;
8069
+ var concat = uncurryThis$2([].concat);
7724
8070
 
7725
8071
  // `Object.assign` method
7726
8072
  // https://tc39.es/ecma262/#sec-object.assign
@@ -7752,24 +8098,24 @@ var objectAssign = !$assign || fails$2(function () {
7752
8098
  var propertyIsEnumerable = propertyIsEnumerableModule.f;
7753
8099
  while (argumentsLength > index) {
7754
8100
  var S = IndexedObject(arguments[index++]);
7755
- var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
8101
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
7756
8102
  var length = keys.length;
7757
8103
  var j = 0;
7758
8104
  var key;
7759
8105
  while (length > j) {
7760
8106
  key = keys[j++];
7761
- if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];
8107
+ if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
7762
8108
  }
7763
8109
  } return T;
7764
8110
  } : $assign;
7765
8111
 
7766
- var $$5 = _export;
8112
+ var $$4 = _export;
7767
8113
  var assign = objectAssign;
7768
8114
 
7769
8115
  // `Object.assign` method
7770
8116
  // https://tc39.es/ecma262/#sec-object.assign
7771
8117
  // eslint-disable-next-line es/no-object-assign -- required for testing
7772
- $$5({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
8118
+ $$4({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
7773
8119
  assign: assign
7774
8120
  });
7775
8121
 
@@ -7779,10 +8125,12 @@ var es_string_trim = {};
7779
8125
  var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
7780
8126
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
7781
8127
 
8128
+ var uncurryThis$1 = functionUncurryThis;
7782
8129
  var requireObjectCoercible = requireObjectCoercible$7;
7783
8130
  var toString$1 = toString$b;
7784
8131
  var whitespaces$1 = whitespaces$2;
7785
8132
 
8133
+ var replace = uncurryThis$1(''.replace);
7786
8134
  var whitespace = '[' + whitespaces$1 + ']';
7787
8135
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
7788
8136
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -7791,8 +8139,8 @@ var rtrim = RegExp(whitespace + whitespace + '*$');
7791
8139
  var createMethod = function (TYPE) {
7792
8140
  return function ($this) {
7793
8141
  var string = toString$1(requireObjectCoercible($this));
7794
- if (TYPE & 1) string = string.replace(ltrim, '');
7795
- if (TYPE & 2) string = string.replace(rtrim, '');
8142
+ if (TYPE & 1) string = replace(string, ltrim, '');
8143
+ if (TYPE & 2) string = replace(string, rtrim, '');
7796
8144
  return string;
7797
8145
  };
7798
8146
  };
@@ -7810,7 +8158,7 @@ var stringTrim = {
7810
8158
  };
7811
8159
 
7812
8160
  var PROPER_FUNCTION_NAME = functionName.PROPER;
7813
- var fails$1 = fails$p;
8161
+ var fails$1 = fails$r;
7814
8162
  var whitespaces = whitespaces$2;
7815
8163
 
7816
8164
  var non = '\u200B\u0085\u180E';
@@ -7826,13 +8174,13 @@ var stringTrimForced = function (METHOD_NAME) {
7826
8174
  };
7827
8175
 
7828
8176
  'use strict';
7829
- var $$4 = _export;
8177
+ var $$3 = _export;
7830
8178
  var $trim = stringTrim.trim;
7831
8179
  var forcedStringTrimMethod = stringTrimForced;
7832
8180
 
7833
8181
  // `String.prototype.trim` method
7834
8182
  // https://tc39.es/ecma262/#sec-string.prototype.trim
7835
- $$4({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
8183
+ $$3({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
7836
8184
  trim: function trim() {
7837
8185
  return $trim(this);
7838
8186
  }
@@ -7841,39 +8189,21 @@ $$4({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
7841
8189
  var es_array_filter = {};
7842
8190
 
7843
8191
  'use strict';
7844
- var $$3 = _export;
8192
+ var $$2 = _export;
7845
8193
  var $filter = arrayIteration.filter;
7846
- var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$5;
8194
+ var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$5;
7847
8195
 
7848
- var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('filter');
8196
+ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
7849
8197
 
7850
8198
  // `Array.prototype.filter` method
7851
8199
  // https://tc39.es/ecma262/#sec-array.prototype.filter
7852
8200
  // with adding support of @@species
7853
- $$3({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
8201
+ $$2({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
7854
8202
  filter: function filter(callbackfn /* , thisArg */) {
7855
8203
  return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
7856
8204
  }
7857
8205
  });
7858
8206
 
7859
- var es_array_map = {};
7860
-
7861
- 'use strict';
7862
- var $$2 = _export;
7863
- var $map = arrayIteration.map;
7864
- var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$5;
7865
-
7866
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
7867
-
7868
- // `Array.prototype.map` method
7869
- // https://tc39.es/ecma262/#sec-array.prototype.map
7870
- // with adding support of @@species
7871
- $$2({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
7872
- map: function map(callbackfn /* , thisArg */) {
7873
- return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
7874
- }
7875
- });
7876
-
7877
8207
  var es_array_findIndex = {};
7878
8208
 
7879
8209
  'use strict';
@@ -7900,15 +8230,17 @@ addToUnscopables(FIND_INDEX);
7900
8230
 
7901
8231
  var es_array_sort = {};
7902
8232
 
7903
- // TODO: use something more complex like timsort?
8233
+ var arraySlice = arraySlice$3;
8234
+
7904
8235
  var floor = Math.floor;
7905
8236
 
7906
8237
  var mergeSort = function (array, comparefn) {
7907
8238
  var length = array.length;
7908
8239
  var middle = floor(length / 2);
7909
8240
  return length < 8 ? insertionSort(array, comparefn) : merge(
7910
- mergeSort(array.slice(0, middle), comparefn),
7911
- mergeSort(array.slice(middle), comparefn),
8241
+ array,
8242
+ mergeSort(arraySlice(array, 0, middle), comparefn),
8243
+ mergeSort(arraySlice(array, middle), comparefn),
7912
8244
  comparefn
7913
8245
  );
7914
8246
  };
@@ -7928,20 +8260,17 @@ var insertionSort = function (array, comparefn) {
7928
8260
  } return array;
7929
8261
  };
7930
8262
 
7931
- var merge = function (left, right, comparefn) {
8263
+ var merge = function (array, left, right, comparefn) {
7932
8264
  var llength = left.length;
7933
8265
  var rlength = right.length;
7934
8266
  var lindex = 0;
7935
8267
  var rindex = 0;
7936
- var result = [];
7937
8268
 
7938
8269
  while (lindex < llength || rindex < rlength) {
7939
- if (lindex < llength && rindex < rlength) {
7940
- result.push(comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]);
7941
- } else {
7942
- result.push(lindex < llength ? left[lindex++] : right[rindex++]);
7943
- }
7944
- } return result;
8270
+ array[lindex + rindex] = (lindex < llength && rindex < rlength)
8271
+ ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
8272
+ : lindex < llength ? left[lindex++] : right[rindex++];
8273
+ } return array;
7945
8274
  };
7946
8275
 
7947
8276
  var arraySort = mergeSort;
@@ -7964,11 +8293,12 @@ var engineWebkitVersion = !!webkit && +webkit[1];
7964
8293
 
7965
8294
  'use strict';
7966
8295
  var $ = _export;
8296
+ var uncurryThis = functionUncurryThis;
7967
8297
  var aCallable = aCallable$4;
7968
8298
  var toObject = toObject$a;
7969
8299
  var lengthOfArrayLike = lengthOfArrayLike$8;
7970
8300
  var toString = toString$b;
7971
- var fails = fails$p;
8301
+ var fails = fails$r;
7972
8302
  var internalSort = arraySort;
7973
8303
  var arrayMethodIsStrict = arrayMethodIsStrict$2;
7974
8304
  var FF = engineFfVersion;
@@ -7977,7 +8307,8 @@ var V8 = engineV8Version;
7977
8307
  var WEBKIT = engineWebkitVersion;
7978
8308
 
7979
8309
  var test = [];
7980
- var nativeSort = test.sort;
8310
+ var un$Sort = uncurryThis(test.sort);
8311
+ var push = uncurryThis(test.push);
7981
8312
 
7982
8313
  // IE8-
7983
8314
  var FAILS_ON_UNDEFINED = fails(function () {
@@ -8044,17 +8375,18 @@ $({ target: 'Array', proto: true, forced: FORCED }, {
8044
8375
 
8045
8376
  var array = toObject(this);
8046
8377
 
8047
- if (STABLE_SORT) return comparefn === undefined ? nativeSort.call(array) : nativeSort.call(array, comparefn);
8378
+ if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);
8048
8379
 
8049
8380
  var items = [];
8050
8381
  var arrayLength = lengthOfArrayLike(array);
8051
8382
  var itemsLength, index;
8052
8383
 
8053
8384
  for (index = 0; index < arrayLength; index++) {
8054
- if (index in array) items.push(array[index]);
8385
+ if (index in array) push(items, array[index]);
8055
8386
  }
8056
8387
 
8057
- items = internalSort(items, getSortCompare(comparefn));
8388
+ internalSort(items, getSortCompare(comparefn));
8389
+
8058
8390
  itemsLength = items.length;
8059
8391
  index = 0;
8060
8392
 
@@ -8329,6 +8661,7 @@ var SelectBox = /*#__PURE__*/function () {
8329
8661
 
8330
8662
  items: [],
8331
8663
  filteredItems: null,
8664
+ currentItemsView: [], // contains the final version of items sent to DropList
8332
8665
  itemsChanged: true,
8333
8666
 
8334
8667
  sink: new DomEventsSink__default["default"](),
@@ -9805,8 +10138,8 @@ var SelectBox = /*#__PURE__*/function () {
9805
10138
  var item = /**@type DropList.Item*/event.item;
9806
10139
  var value = event.value;
9807
10140
 
9808
- var checked = item._checked;
9809
- if (item._group) return; // Ignore groups
10141
+ var checked = event.checked;
10142
+ if (event.isGroup) return; // Ignore groups
9810
10143
 
9811
10144
  var selEvt = { value: value, item: item, cancel: false };
9812
10145
  _this5._trigger((checked ? 'addsel' : 'removesel') + ':before', selEvt);
@@ -9950,16 +10283,26 @@ var SelectBox = /*#__PURE__*/function () {
9950
10283
 
9951
10284
  switch (evt.key) {
9952
10285
  case keycodeJs.VALUE_PAGE_UP:
10286
+ if (dropList.isVisible())
9953
10287
  dropList.previousPage(evt);
9954
10288
  break;
9955
10289
  case keycodeJs.VALUE_PAGE_DOWN:
10290
+ if (dropList.isVisible())
9956
10291
  dropList.nextPage(evt);
9957
10292
  break;
9958
10293
  case keycodeJs.VALUE_UP:
9959
- dropList.previous(evt);
10294
+ if (dropList.isVisible()) {
10295
+ dropList.previous(evt);
10296
+ } else {
10297
+ _this6._movePrev();
10298
+ }
9960
10299
  break;
9961
10300
  case keycodeJs.VALUE_DOWN:
9962
- dropList.next(evt);
10301
+ if (dropList.isVisible()) {
10302
+ dropList.next(evt);
10303
+ } else {
10304
+ _this6._moveNext();
10305
+ }
9963
10306
  break;}
9964
10307
 
9965
10308
 
@@ -9967,7 +10310,7 @@ var SelectBox = /*#__PURE__*/function () {
9967
10310
 
9968
10311
  case keycodeJs.VALUE_SPACE:
9969
10312
  if (p.lastKeyAllowsSpaceToggle) {
9970
- if (dropList.hasFocusedItem()) {
10313
+ if (dropList.isVisible() && dropList.hasFocusedItem()) {
9971
10314
  suppressKeyPress = true;
9972
10315
  suppressKeyPressRepeat = true;
9973
10316
  if (p.multi)
@@ -9989,7 +10332,7 @@ var SelectBox = /*#__PURE__*/function () {
9989
10332
  break;
9990
10333
 
9991
10334
  case keycodeJs.VALUE_TAB:
9992
- if (dropList.hasFocusedItem()) {
10335
+ if (dropList.isVisible() && dropList.hasFocusedItem()) {
9993
10336
  dropList.triggerItemSelection(evt);
9994
10337
  }
9995
10338
  break;
@@ -10046,19 +10389,28 @@ var SelectBox = /*#__PURE__*/function () {
10046
10389
 
10047
10390
  switch (evt.key) {
10048
10391
  case keycodeJs.VALUE_PAGE_UP:
10392
+ if (dropList.isVisible())
10049
10393
  dropList.previousPage(evt);
10050
10394
  break;
10051
10395
  case keycodeJs.VALUE_PAGE_DOWN:
10396
+ if (dropList.isVisible())
10052
10397
  dropList.nextPage(evt);
10053
10398
  break;
10054
10399
  case keycodeJs.VALUE_UP:
10055
- dropList.previous(evt);
10400
+ if (dropList.isVisible()) {
10401
+ dropList.previous(evt);
10402
+ } else {
10403
+ _this6._movePrev();
10404
+ }
10056
10405
  break;
10057
10406
  case keycodeJs.VALUE_DOWN:
10058
- dropList.next(evt);
10407
+ if (dropList.isVisible()) {
10408
+ dropList.next(evt);
10409
+ } else {
10410
+ _this6._moveNext();
10411
+ }
10059
10412
  break;}
10060
10413
 
10061
-
10062
10414
  break;}
10063
10415
 
10064
10416
  });
@@ -10140,6 +10492,40 @@ var SelectBox = /*#__PURE__*/function () {
10140
10492
  }).
10141
10493
  add(p.el, 'touchcancel.dropdown_touchextra', onTouchCancel);
10142
10494
  });
10495
+ } }, { key: "_movePrev", value:
10496
+
10497
+ function _movePrev() {var _p$filteredItems;
10498
+ var p = this._p;
10499
+
10500
+ if (this.isMultiEnabled()) return;
10501
+
10502
+ var selectedItems = this.getSelectedItems();
10503
+ var items = (_p$filteredItems = p.filteredItems) !== null && _p$filteredItems !== void 0 ? _p$filteredItems : p.items;
10504
+ if (p.currentItemsView && p.currentItemsView.length === items.length)
10505
+ items = p.currentItemsView;
10506
+ if (items.length + (p.clearable ? 1 : 0) > 1) {
10507
+ var nextIndex = selectedItems.length > 0 ? items.indexOf(selectedItems[0]) - 1 : items.length - 1;
10508
+ if (nextIndex === -1 && !p.clearable)
10509
+ nextIndex = items.length - 1;
10510
+ this.setSelectedItems(nextIndex === -1 ? [] : [items[nextIndex]]);
10511
+ }
10512
+ } }, { key: "_moveNext", value:
10513
+
10514
+ function _moveNext() {var _p$filteredItems2;
10515
+ var p = this._p;
10516
+
10517
+ if (this.isMultiEnabled()) return;
10518
+
10519
+ var selectedItems = this.getSelectedItems();
10520
+ var items = (_p$filteredItems2 = p.filteredItems) !== null && _p$filteredItems2 !== void 0 ? _p$filteredItems2 : p.items;
10521
+ if (p.currentItemsView && p.currentItemsView.length === items.length)
10522
+ items = p.currentItemsView;
10523
+ if (items.length + (p.clearable ? 1 : 0) > 1) {
10524
+ var nextIndex = selectedItems.length > 0 ? items.indexOf(selectedItems[0]) + 1 : 0;
10525
+ if (nextIndex === items.length)
10526
+ nextIndex = p.clearable ? -1 : 0;
10527
+ this.setSelectedItems(nextIndex === -1 ? [] : [items[nextIndex]]);
10528
+ }
10143
10529
  }
10144
10530
 
10145
10531
  /** @private */ }, { key: "_updateListItems", value:
@@ -10180,6 +10566,7 @@ var SelectBox = /*#__PURE__*/function () {
10180
10566
  }
10181
10567
 
10182
10568
  dropList.addItems(items);
10569
+ p.currentItemsView = items;
10183
10570
  p.itemsChanged = false;
10184
10571
  p.selectionChanged = true;
10185
10572
  p.resortBySelectionNeeded = false;
@@ -11135,7 +11522,7 @@ var SelectBox = /*#__PURE__*/function () {
11135
11522
  }
11136
11523
 
11137
11524
  var aLabel = a[labelProp] || a[multiItemLabelProp];
11138
- var bLabel = a[labelProp] || a[multiItemLabelProp];
11525
+ var bLabel = b[labelProp] || b[multiItemLabelProp];
11139
11526
 
11140
11527
  if (aLabel < bLabel) return -1;
11141
11528
  if (aLabel > bLabel) return 1;