@danielgindi/selectbox 1.0.32 → 1.0.33

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.32
2
+ * @danielgindi/selectbox 1.0.33
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  'use strict';
@@ -11,14 +11,14 @@ var DomCompat = require('@danielgindi/dom-utils/lib/DomCompat');
11
11
  var Css = require('@danielgindi/dom-utils/lib/Css');
12
12
  var DomEventsSink = require('@danielgindi/dom-utils/lib/DomEventsSink');
13
13
  var VirtualListHelper = require('@danielgindi/virtual-list-helper');
14
- var parseCssTransition = require('parse-css-transition');
15
14
  var keycodeJs = require('keycode-js');
15
+ var mitt = require('mitt');
16
16
 
17
17
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
18
18
 
19
19
  var DomEventsSink__default = /*#__PURE__*/_interopDefaultLegacy(DomEventsSink);
20
20
  var VirtualListHelper__default = /*#__PURE__*/_interopDefaultLegacy(VirtualListHelper);
21
- var parseCssTransition__default = /*#__PURE__*/_interopDefaultLegacy(parseCssTransition);
21
+ var mitt__default = /*#__PURE__*/_interopDefaultLegacy(mitt);
22
22
 
23
23
  var REACT_ELEMENT_TYPE;
24
24
 
@@ -1740,7 +1740,7 @@ var check = function (it) {
1740
1740
  };
1741
1741
 
1742
1742
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
1743
- var global$m =
1743
+ var global$k =
1744
1744
  // eslint-disable-next-line es/no-global-this -- safe
1745
1745
  check(typeof globalThis == 'object' && globalThis) ||
1746
1746
  check(typeof window == 'object' && window) ||
@@ -1752,7 +1752,7 @@ var global$m =
1752
1752
 
1753
1753
  var objectGetOwnPropertyDescriptor = {};
1754
1754
 
1755
- var fails$o = function (exec) {
1755
+ var fails$p = function (exec) {
1756
1756
  try {
1757
1757
  return !!exec();
1758
1758
  } catch (error) {
@@ -1760,10 +1760,10 @@ var fails$o = function (exec) {
1760
1760
  }
1761
1761
  };
1762
1762
 
1763
- var fails$n = fails$o;
1763
+ var fails$o = fails$p;
1764
1764
 
1765
1765
  // Detect IE8's incomplete defineProperty implementation
1766
- var descriptors = !fails$n(function () {
1766
+ var descriptors = !fails$o(function () {
1767
1767
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1768
1768
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
1769
1769
  });
@@ -1794,24 +1794,24 @@ var createPropertyDescriptor$5 = function (bitmap, value) {
1794
1794
  };
1795
1795
  };
1796
1796
 
1797
- var toString$d = {}.toString;
1797
+ var toString$c = {}.toString;
1798
1798
 
1799
1799
  var classofRaw$1 = function (it) {
1800
- return toString$d.call(it).slice(8, -1);
1800
+ return toString$c.call(it).slice(8, -1);
1801
1801
  };
1802
1802
 
1803
- var fails$m = fails$o;
1804
- var classof$7 = classofRaw$1;
1803
+ var fails$n = fails$p;
1804
+ var classof$8 = classofRaw$1;
1805
1805
 
1806
1806
  var split = ''.split;
1807
1807
 
1808
1808
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
1809
- var indexedObject = fails$m(function () {
1809
+ var indexedObject = fails$n(function () {
1810
1810
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
1811
1811
  // eslint-disable-next-line no-prototype-builtins -- safe
1812
1812
  return !Object('z').propertyIsEnumerable(0);
1813
1813
  }) ? function (it) {
1814
- return classof$7(it) == 'String' ? split.call(it, '') : Object(it);
1814
+ return classof$8(it) == 'String' ? split.call(it, '') : Object(it);
1815
1815
  } : Object;
1816
1816
 
1817
1817
  // `RequireObjectCoercible` abstract operation
@@ -1822,36 +1822,45 @@ var requireObjectCoercible$7 = function (it) {
1822
1822
  };
1823
1823
 
1824
1824
  // toObject with fallback for non-array-like ES3 strings
1825
- var IndexedObject$4 = indexedObject;
1825
+ var IndexedObject$3 = indexedObject;
1826
1826
  var requireObjectCoercible$6 = requireObjectCoercible$7;
1827
1827
 
1828
1828
  var toIndexedObject$9 = function (it) {
1829
- return IndexedObject$4(requireObjectCoercible$6(it));
1829
+ return IndexedObject$3(requireObjectCoercible$6(it));
1830
+ };
1831
+
1832
+ // `IsCallable` abstract operation
1833
+ // https://tc39.es/ecma262/#sec-iscallable
1834
+ var isCallable$l = function (argument) {
1835
+ return typeof argument === 'function';
1830
1836
  };
1831
1837
 
1832
- var isObject$f = function (it) {
1833
- return typeof it === 'object' ? it !== null : typeof it === 'function';
1838
+ var isCallable$k = isCallable$l;
1839
+
1840
+ var isObject$e = function (it) {
1841
+ return typeof it === 'object' ? it !== null : isCallable$k(it);
1834
1842
  };
1835
1843
 
1836
- var global$l = global$m;
1844
+ var global$j = global$k;
1845
+ var isCallable$j = isCallable$l;
1837
1846
 
1838
- var aFunction$4 = function (variable) {
1839
- return typeof variable == 'function' ? variable : undefined;
1847
+ var aFunction = function (argument) {
1848
+ return isCallable$j(argument) ? argument : undefined;
1840
1849
  };
1841
1850
 
1842
- var getBuiltIn$6 = function (namespace, method) {
1843
- return arguments.length < 2 ? aFunction$4(global$l[namespace]) : global$l[namespace] && global$l[namespace][method];
1851
+ var getBuiltIn$7 = function (namespace, method) {
1852
+ return arguments.length < 2 ? aFunction(global$j[namespace]) : global$j[namespace] && global$j[namespace][method];
1844
1853
  };
1845
1854
 
1846
- var getBuiltIn$5 = getBuiltIn$6;
1855
+ var getBuiltIn$6 = getBuiltIn$7;
1847
1856
 
1848
- var engineUserAgent = getBuiltIn$5('navigator', 'userAgent') || '';
1857
+ var engineUserAgent = getBuiltIn$6('navigator', 'userAgent') || '';
1849
1858
 
1850
- var global$k = global$m;
1859
+ var global$i = global$k;
1851
1860
  var userAgent$2 = engineUserAgent;
1852
1861
 
1853
- var process = global$k.process;
1854
- var Deno = global$k.Deno;
1862
+ var process = global$i.process;
1863
+ var Deno = global$i.Deno;
1855
1864
  var versions = process && process.versions || Deno && Deno.version;
1856
1865
  var v8 = versions && versions.v8;
1857
1866
  var match, version;
@@ -1872,10 +1881,10 @@ var engineV8Version = version && +version;
1872
1881
  /* eslint-disable es/no-symbol -- required for testing */
1873
1882
 
1874
1883
  var V8_VERSION$2 = engineV8Version;
1875
- var fails$l = fails$o;
1884
+ var fails$m = fails$p;
1876
1885
 
1877
1886
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
1878
- var nativeSymbol$1 = !!Object.getOwnPropertySymbols && !fails$l(function () {
1887
+ var nativeSymbol$1 = !!Object.getOwnPropertySymbols && !fails$m(function () {
1879
1888
  var symbol = Symbol();
1880
1889
  // Chrome 38 Symbol has incorrect toString conversion
1881
1890
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -1892,25 +1901,53 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
1892
1901
  && !Symbol.sham
1893
1902
  && typeof Symbol.iterator == 'symbol';
1894
1903
 
1895
- var getBuiltIn$4 = getBuiltIn$6;
1904
+ var isCallable$i = isCallable$l;
1905
+ var getBuiltIn$5 = getBuiltIn$7;
1896
1906
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
1897
1907
 
1898
- var isSymbol$4 = USE_SYMBOL_AS_UID$1 ? function (it) {
1908
+ var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
1899
1909
  return typeof it == 'symbol';
1900
1910
  } : function (it) {
1901
- var $Symbol = getBuiltIn$4('Symbol');
1902
- return typeof $Symbol == 'function' && Object(it) instanceof $Symbol;
1911
+ var $Symbol = getBuiltIn$5('Symbol');
1912
+ return isCallable$i($Symbol) && Object(it) instanceof $Symbol;
1903
1913
  };
1904
1914
 
1905
- var isObject$e = isObject$f;
1915
+ var tryToString$1 = function (argument) {
1916
+ try {
1917
+ return String(argument);
1918
+ } catch (error) {
1919
+ return 'Object';
1920
+ }
1921
+ };
1922
+
1923
+ var isCallable$h = isCallable$l;
1924
+ var tryToString = tryToString$1;
1925
+
1926
+ // `Assert: IsCallable(argument) is true`
1927
+ var aCallable$4 = function (argument) {
1928
+ if (isCallable$h(argument)) return argument;
1929
+ throw TypeError(tryToString(argument) + ' is not a function');
1930
+ };
1931
+
1932
+ var aCallable$3 = aCallable$4;
1933
+
1934
+ // `GetMethod` abstract operation
1935
+ // https://tc39.es/ecma262/#sec-getmethod
1936
+ var getMethod$4 = function (V, P) {
1937
+ var func = V[P];
1938
+ return func == null ? undefined : aCallable$3(func);
1939
+ };
1940
+
1941
+ var isCallable$g = isCallable$l;
1942
+ var isObject$d = isObject$e;
1906
1943
 
1907
1944
  // `OrdinaryToPrimitive` abstract operation
1908
1945
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
1909
1946
  var ordinaryToPrimitive$1 = function (input, pref) {
1910
1947
  var fn, val;
1911
- if (pref === 'string' && typeof (fn = input.toString) == 'function' && !isObject$e(val = fn.call(input))) return val;
1912
- if (typeof (fn = input.valueOf) == 'function' && !isObject$e(val = fn.call(input))) return val;
1913
- if (pref !== 'string' && typeof (fn = input.toString) == 'function' && !isObject$e(val = fn.call(input))) return 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;
1914
1951
  throw TypeError("Can't convert object to primitive value");
1915
1952
  };
1916
1953
 
@@ -1918,22 +1955,22 @@ var shared$6 = {exports: {}};
1918
1955
 
1919
1956
  var isPure = false;
1920
1957
 
1921
- var global$j = global$m;
1958
+ var global$h = global$k;
1922
1959
 
1923
1960
  var setGlobal$3 = function (key, value) {
1924
1961
  try {
1925
1962
  // eslint-disable-next-line es/no-object-defineproperty -- safe
1926
- Object.defineProperty(global$j, key, { value: value, configurable: true, writable: true });
1963
+ Object.defineProperty(global$h, key, { value: value, configurable: true, writable: true });
1927
1964
  } catch (error) {
1928
- global$j[key] = value;
1965
+ global$h[key] = value;
1929
1966
  } return value;
1930
1967
  };
1931
1968
 
1932
- var global$i = global$m;
1969
+ var global$g = global$k;
1933
1970
  var setGlobal$2 = setGlobal$3;
1934
1971
 
1935
1972
  var SHARED = '__core-js_shared__';
1936
- var store$3 = global$i[SHARED] || setGlobal$2(SHARED, {});
1973
+ var store$3 = global$g[SHARED] || setGlobal$2(SHARED, {});
1937
1974
 
1938
1975
  var sharedStore = store$3;
1939
1976
 
@@ -1943,7 +1980,7 @@ var store$2 = sharedStore;
1943
1980
  (shared$6.exports = function (key, value) {
1944
1981
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
1945
1982
  })('versions', []).push({
1946
- version: '3.17.3',
1983
+ version: '3.18.2',
1947
1984
  mode: IS_PURE$4 ? 'pure' : 'global',
1948
1985
  copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
1949
1986
  });
@@ -1954,16 +1991,18 @@ var requireObjectCoercible$5 = requireObjectCoercible$7;
1954
1991
 
1955
1992
  // `ToObject` abstract operation
1956
1993
  // https://tc39.es/ecma262/#sec-toobject
1957
- var toObject$b = function (argument) {
1994
+ var toObject$a = function (argument) {
1958
1995
  return Object(requireObjectCoercible$5(argument));
1959
1996
  };
1960
1997
 
1961
- var toObject$a = toObject$b;
1998
+ var toObject$9 = toObject$a;
1962
1999
 
1963
2000
  var hasOwnProperty$1 = {}.hasOwnProperty;
1964
2001
 
1965
- var has$d = Object.hasOwn || function hasOwn(it, key) {
1966
- return hasOwnProperty$1.call(toObject$a(it), key);
2002
+ // `HasOwnProperty` abstract operation
2003
+ // https://tc39.es/ecma262/#sec-hasownproperty
2004
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
2005
+ return hasOwnProperty$1.call(toObject$9(it), key);
1967
2006
  };
1968
2007
 
1969
2008
  var id$1 = 0;
@@ -1973,20 +2012,20 @@ var uid$4 = function (key) {
1973
2012
  return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id$1 + postfix).toString(36);
1974
2013
  };
1975
2014
 
1976
- var global$h = global$m;
2015
+ var global$f = global$k;
1977
2016
  var shared$4 = shared$6.exports;
1978
- var has$c = has$d;
2017
+ var hasOwn$d = hasOwnProperty_1;
1979
2018
  var uid$3 = uid$4;
1980
2019
  var NATIVE_SYMBOL$1 = nativeSymbol$1;
1981
2020
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
1982
2021
 
1983
2022
  var WellKnownSymbolsStore$1 = shared$4('wks');
1984
- var Symbol$1 = global$h.Symbol;
2023
+ var Symbol$1 = global$f.Symbol;
1985
2024
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$3;
1986
2025
 
1987
2026
  var wellKnownSymbol$n = function (name) {
1988
- if (!has$c(WellKnownSymbolsStore$1, name) || !(NATIVE_SYMBOL$1 || typeof WellKnownSymbolsStore$1[name] == 'string')) {
1989
- if (NATIVE_SYMBOL$1 && has$c(Symbol$1, 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)) {
1990
2029
  WellKnownSymbolsStore$1[name] = Symbol$1[name];
1991
2030
  } else {
1992
2031
  WellKnownSymbolsStore$1[name] = createWellKnownSymbol('Symbol.' + name);
@@ -1994,8 +2033,9 @@ var wellKnownSymbol$n = function (name) {
1994
2033
  } return WellKnownSymbolsStore$1[name];
1995
2034
  };
1996
2035
 
1997
- var isObject$d = isObject$f;
1998
- var isSymbol$3 = isSymbol$4;
2036
+ var isObject$c = isObject$e;
2037
+ var isSymbol$2 = isSymbol$3;
2038
+ var getMethod$3 = getMethod$4;
1999
2039
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
2000
2040
  var wellKnownSymbol$m = wellKnownSymbol$n;
2001
2041
 
@@ -2004,13 +2044,13 @@ var TO_PRIMITIVE$1 = wellKnownSymbol$m('toPrimitive');
2004
2044
  // `ToPrimitive` abstract operation
2005
2045
  // https://tc39.es/ecma262/#sec-toprimitive
2006
2046
  var toPrimitive$1 = function (input, pref) {
2007
- if (!isObject$d(input) || isSymbol$3(input)) return input;
2008
- var exoticToPrim = input[TO_PRIMITIVE$1];
2047
+ if (!isObject$c(input) || isSymbol$2(input)) return input;
2048
+ var exoticToPrim = getMethod$3(input, TO_PRIMITIVE$1);
2009
2049
  var result;
2010
- if (exoticToPrim !== undefined) {
2050
+ if (exoticToPrim) {
2011
2051
  if (pref === undefined) pref = 'default';
2012
2052
  result = exoticToPrim.call(input, pref);
2013
- if (!isObject$d(result) || isSymbol$3(result)) return result;
2053
+ if (!isObject$c(result) || isSymbol$2(result)) return result;
2014
2054
  throw TypeError("Can't convert object to primitive value");
2015
2055
  }
2016
2056
  if (pref === undefined) pref = 'number';
@@ -2018,44 +2058,44 @@ var toPrimitive$1 = function (input, pref) {
2018
2058
  };
2019
2059
 
2020
2060
  var toPrimitive = toPrimitive$1;
2021
- var isSymbol$2 = isSymbol$4;
2061
+ var isSymbol$1 = isSymbol$3;
2022
2062
 
2023
2063
  // `ToPropertyKey` abstract operation
2024
2064
  // https://tc39.es/ecma262/#sec-topropertykey
2025
2065
  var toPropertyKey$4 = function (argument) {
2026
2066
  var key = toPrimitive(argument, 'string');
2027
- return isSymbol$2(key) ? key : String(key);
2067
+ return isSymbol$1(key) ? key : String(key);
2028
2068
  };
2029
2069
 
2030
- var global$g = global$m;
2031
- var isObject$c = isObject$f;
2070
+ var global$e = global$k;
2071
+ var isObject$b = isObject$e;
2032
2072
 
2033
- var document$1 = global$g.document;
2073
+ var document$1 = global$e.document;
2034
2074
  // typeof document.createElement is 'object' in old IE
2035
- var EXISTS = isObject$c(document$1) && isObject$c(document$1.createElement);
2075
+ var EXISTS$1 = isObject$b(document$1) && isObject$b(document$1.createElement);
2036
2076
 
2037
2077
  var documentCreateElement$2 = function (it) {
2038
- return EXISTS ? document$1.createElement(it) : {};
2078
+ return EXISTS$1 ? document$1.createElement(it) : {};
2039
2079
  };
2040
2080
 
2041
- var DESCRIPTORS$b = descriptors;
2042
- var fails$k = fails$o;
2081
+ var DESCRIPTORS$c = descriptors;
2082
+ var fails$l = fails$p;
2043
2083
  var createElement = documentCreateElement$2;
2044
2084
 
2045
2085
  // Thank's IE8 for his funny defineProperty
2046
- var ie8DomDefine = !DESCRIPTORS$b && !fails$k(function () {
2086
+ var ie8DomDefine = !DESCRIPTORS$c && !fails$l(function () {
2047
2087
  // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
2048
2088
  return Object.defineProperty(createElement('div'), 'a', {
2049
2089
  get: function () { return 7; }
2050
2090
  }).a != 7;
2051
2091
  });
2052
2092
 
2053
- var DESCRIPTORS$a = descriptors;
2093
+ var DESCRIPTORS$b = descriptors;
2054
2094
  var propertyIsEnumerableModule$2 = objectPropertyIsEnumerable;
2055
2095
  var createPropertyDescriptor$4 = createPropertyDescriptor$5;
2056
2096
  var toIndexedObject$8 = toIndexedObject$9;
2057
2097
  var toPropertyKey$3 = toPropertyKey$4;
2058
- var has$b = has$d;
2098
+ var hasOwn$c = hasOwnProperty_1;
2059
2099
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
2060
2100
 
2061
2101
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -2063,28 +2103,28 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
2063
2103
 
2064
2104
  // `Object.getOwnPropertyDescriptor` method
2065
2105
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
2066
- var f$5 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
2106
+ var f$5 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
2067
2107
  O = toIndexedObject$8(O);
2068
2108
  P = toPropertyKey$3(P);
2069
2109
  if (IE8_DOM_DEFINE$1) try {
2070
2110
  return $getOwnPropertyDescriptor$1(O, P);
2071
2111
  } catch (error) { /* empty */ }
2072
- if (has$b(O, P)) return createPropertyDescriptor$4(!propertyIsEnumerableModule$2.f.call(O, P), O[P]);
2112
+ if (hasOwn$c(O, P)) return createPropertyDescriptor$4(!propertyIsEnumerableModule$2.f.call(O, P), O[P]);
2073
2113
  };
2074
2114
 
2075
2115
  var objectDefineProperty = {};
2076
2116
 
2077
- var isObject$b = isObject$f;
2117
+ var isObject$a = isObject$e;
2078
2118
 
2079
- var anObject$d = function (it) {
2080
- if (!isObject$b(it)) {
2081
- throw TypeError(String(it) + ' is not an object');
2082
- } return it;
2119
+ // `Assert: Type(argument) is Object`
2120
+ var anObject$e = function (argument) {
2121
+ if (isObject$a(argument)) return argument;
2122
+ throw TypeError(String(argument) + ' is not an object');
2083
2123
  };
2084
2124
 
2085
- var DESCRIPTORS$9 = descriptors;
2125
+ var DESCRIPTORS$a = descriptors;
2086
2126
  var IE8_DOM_DEFINE = ie8DomDefine;
2087
- var anObject$c = anObject$d;
2127
+ var anObject$d = anObject$e;
2088
2128
  var toPropertyKey$2 = toPropertyKey$4;
2089
2129
 
2090
2130
  // eslint-disable-next-line es/no-object-defineproperty -- safe
@@ -2092,10 +2132,10 @@ var $defineProperty$1 = Object.defineProperty;
2092
2132
 
2093
2133
  // `Object.defineProperty` method
2094
2134
  // https://tc39.es/ecma262/#sec-object.defineproperty
2095
- var f$4 = objectDefineProperty.f = DESCRIPTORS$9 ? $defineProperty$1 : function defineProperty(O, P, Attributes) {
2096
- anObject$c(O);
2135
+ var f$4 = objectDefineProperty.f = DESCRIPTORS$a ? $defineProperty$1 : function defineProperty(O, P, Attributes) {
2136
+ anObject$d(O);
2097
2137
  P = toPropertyKey$2(P);
2098
- anObject$c(Attributes);
2138
+ anObject$d(Attributes);
2099
2139
  if (IE8_DOM_DEFINE) try {
2100
2140
  return $defineProperty$1(O, P, Attributes);
2101
2141
  } catch (error) { /* empty */ }
@@ -2104,38 +2144,40 @@ var f$4 = objectDefineProperty.f = DESCRIPTORS$9 ? $defineProperty$1 : function
2104
2144
  return O;
2105
2145
  };
2106
2146
 
2107
- var DESCRIPTORS$8 = descriptors;
2147
+ var DESCRIPTORS$9 = descriptors;
2108
2148
  var definePropertyModule$6 = objectDefineProperty;
2109
2149
  var createPropertyDescriptor$3 = createPropertyDescriptor$5;
2110
2150
 
2111
- var createNonEnumerableProperty$9 = DESCRIPTORS$8 ? function (object, key, value) {
2151
+ var createNonEnumerableProperty$7 = DESCRIPTORS$9 ? function (object, key, value) {
2112
2152
  return definePropertyModule$6.f(object, key, createPropertyDescriptor$3(1, value));
2113
2153
  } : function (object, key, value) {
2114
2154
  object[key] = value;
2115
2155
  return object;
2116
2156
  };
2117
2157
 
2118
- var redefine$a = {exports: {}};
2158
+ var redefine$b = {exports: {}};
2119
2159
 
2160
+ var isCallable$f = isCallable$l;
2120
2161
  var store$1 = sharedStore;
2121
2162
 
2122
2163
  var functionToString = Function.toString;
2123
2164
 
2124
2165
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
2125
- if (typeof store$1.inspectSource != 'function') {
2166
+ if (!isCallable$f(store$1.inspectSource)) {
2126
2167
  store$1.inspectSource = function (it) {
2127
2168
  return functionToString.call(it);
2128
2169
  };
2129
2170
  }
2130
2171
 
2131
- var inspectSource$2 = store$1.inspectSource;
2172
+ var inspectSource$3 = store$1.inspectSource;
2132
2173
 
2133
- var global$f = global$m;
2134
- var inspectSource$1 = inspectSource$2;
2174
+ var global$d = global$k;
2175
+ var isCallable$e = isCallable$l;
2176
+ var inspectSource$2 = inspectSource$3;
2135
2177
 
2136
- var WeakMap$2 = global$f.WeakMap;
2178
+ var WeakMap$2 = global$d.WeakMap;
2137
2179
 
2138
- var nativeWeakMap = typeof WeakMap$2 === 'function' && /native code/.test(inspectSource$1(WeakMap$2));
2180
+ var nativeWeakMap = isCallable$e(WeakMap$2) && /native code/.test(inspectSource$2(WeakMap$2));
2139
2181
 
2140
2182
  var shared$3 = shared$6.exports;
2141
2183
  var uid$2 = uid$4;
@@ -2149,26 +2191,26 @@ var sharedKey$4 = function (key) {
2149
2191
  var hiddenKeys$6 = {};
2150
2192
 
2151
2193
  var NATIVE_WEAK_MAP = nativeWeakMap;
2152
- var global$e = global$m;
2153
- var isObject$a = isObject$f;
2154
- var createNonEnumerableProperty$8 = createNonEnumerableProperty$9;
2155
- var objectHas = has$d;
2194
+ var global$c = global$k;
2195
+ var isObject$9 = isObject$e;
2196
+ var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
2197
+ var hasOwn$b = hasOwnProperty_1;
2156
2198
  var shared$2 = sharedStore;
2157
2199
  var sharedKey$3 = sharedKey$4;
2158
2200
  var hiddenKeys$5 = hiddenKeys$6;
2159
2201
 
2160
2202
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
2161
- var WeakMap$1 = global$e.WeakMap;
2162
- var set, get, has$a;
2203
+ var WeakMap$1 = global$c.WeakMap;
2204
+ var set, get, has;
2163
2205
 
2164
2206
  var enforce = function (it) {
2165
- return has$a(it) ? get(it) : set(it, {});
2207
+ return has(it) ? get(it) : set(it, {});
2166
2208
  };
2167
2209
 
2168
2210
  var getterFor = function (TYPE) {
2169
2211
  return function (it) {
2170
2212
  var state;
2171
- if (!isObject$a(it) || (state = get(it)).type !== TYPE) {
2213
+ if (!isObject$9(it) || (state = get(it)).type !== TYPE) {
2172
2214
  throw TypeError('Incompatible receiver, ' + TYPE + ' required');
2173
2215
  } return state;
2174
2216
  };
@@ -2188,60 +2230,84 @@ if (NATIVE_WEAK_MAP || shared$2.state) {
2188
2230
  get = function (it) {
2189
2231
  return wmget.call(store, it) || {};
2190
2232
  };
2191
- has$a = function (it) {
2233
+ has = function (it) {
2192
2234
  return wmhas.call(store, it);
2193
2235
  };
2194
2236
  } else {
2195
2237
  var STATE = sharedKey$3('state');
2196
2238
  hiddenKeys$5[STATE] = true;
2197
2239
  set = function (it, metadata) {
2198
- if (objectHas(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
2240
+ if (hasOwn$b(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
2199
2241
  metadata.facade = it;
2200
- createNonEnumerableProperty$8(it, STATE, metadata);
2242
+ createNonEnumerableProperty$6(it, STATE, metadata);
2201
2243
  return metadata;
2202
2244
  };
2203
2245
  get = function (it) {
2204
- return objectHas(it, STATE) ? it[STATE] : {};
2246
+ return hasOwn$b(it, STATE) ? it[STATE] : {};
2205
2247
  };
2206
- has$a = function (it) {
2207
- return objectHas(it, STATE);
2248
+ has = function (it) {
2249
+ return hasOwn$b(it, STATE);
2208
2250
  };
2209
2251
  }
2210
2252
 
2211
2253
  var internalState = {
2212
2254
  set: set,
2213
2255
  get: get,
2214
- has: has$a,
2256
+ has: has,
2215
2257
  enforce: enforce,
2216
2258
  getterFor: getterFor
2217
2259
  };
2218
2260
 
2219
- var global$d = global$m;
2220
- var createNonEnumerableProperty$7 = createNonEnumerableProperty$9;
2221
- var has$9 = has$d;
2261
+ var DESCRIPTORS$8 = descriptors;
2262
+ var hasOwn$a = hasOwnProperty_1;
2263
+
2264
+ var FunctionPrototype = Function.prototype;
2265
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2266
+ var getDescriptor = DESCRIPTORS$8 && Object.getOwnPropertyDescriptor;
2267
+
2268
+ var EXISTS = hasOwn$a(FunctionPrototype, 'name');
2269
+ // additional protection from minified / mangled / dropped function names
2270
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
2271
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$8 || (DESCRIPTORS$8 && getDescriptor(FunctionPrototype, 'name').configurable));
2272
+
2273
+ var functionName = {
2274
+ EXISTS: EXISTS,
2275
+ PROPER: PROPER,
2276
+ CONFIGURABLE: CONFIGURABLE
2277
+ };
2278
+
2279
+ var global$b = global$k;
2280
+ var isCallable$d = isCallable$l;
2281
+ var hasOwn$9 = hasOwnProperty_1;
2282
+ var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
2222
2283
  var setGlobal$1 = setGlobal$3;
2223
- var inspectSource = inspectSource$2;
2284
+ var inspectSource$1 = inspectSource$3;
2224
2285
  var InternalStateModule$4 = internalState;
2286
+ var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
2225
2287
 
2226
2288
  var getInternalState$4 = InternalStateModule$4.get;
2227
2289
  var enforceInternalState$1 = InternalStateModule$4.enforce;
2228
2290
  var TEMPLATE = String(String).split('String');
2229
2291
 
2230
- (redefine$a.exports = function (O, key, value, options) {
2292
+ (redefine$b.exports = function (O, key, value, options) {
2231
2293
  var unsafe = options ? !!options.unsafe : false;
2232
2294
  var simple = options ? !!options.enumerable : false;
2233
2295
  var noTargetGet = options ? !!options.noTargetGet : false;
2296
+ var name = options && options.name !== undefined ? options.name : key;
2234
2297
  var state;
2235
- if (typeof value == 'function') {
2236
- if (typeof key == 'string' && !has$9(value, 'name')) {
2237
- createNonEnumerableProperty$7(value, 'name', key);
2298
+ if (isCallable$d(value)) {
2299
+ if (String(name).slice(0, 7) === 'Symbol(') {
2300
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
2301
+ }
2302
+ if (!hasOwn$9(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
2303
+ createNonEnumerableProperty$5(value, 'name', name);
2238
2304
  }
2239
2305
  state = enforceInternalState$1(value);
2240
2306
  if (!state.source) {
2241
- state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
2307
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
2242
2308
  }
2243
2309
  }
2244
- if (O === global$d) {
2310
+ if (O === global$b) {
2245
2311
  if (simple) O[key] = value;
2246
2312
  else setGlobal$1(key, value);
2247
2313
  return;
@@ -2251,57 +2317,67 @@ var TEMPLATE = String(String).split('String');
2251
2317
  simple = true;
2252
2318
  }
2253
2319
  if (simple) O[key] = value;
2254
- else createNonEnumerableProperty$7(O, key, value);
2320
+ else createNonEnumerableProperty$5(O, key, value);
2255
2321
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
2256
2322
  })(Function.prototype, 'toString', function toString() {
2257
- return typeof this == 'function' && getInternalState$4(this).source || inspectSource(this);
2323
+ return isCallable$d(this) && getInternalState$4(this).source || inspectSource$1(this);
2258
2324
  });
2259
2325
 
2260
- var redefine$9 = redefine$a.exports;
2326
+ var redefine$a = redefine$b.exports;
2261
2327
 
2262
2328
  var objectGetOwnPropertyNames = {};
2263
2329
 
2264
2330
  var ceil = Math.ceil;
2265
2331
  var floor$2 = Math.floor;
2266
2332
 
2267
- // `ToInteger` abstract operation
2268
- // https://tc39.es/ecma262/#sec-tointeger
2269
- var toInteger$5 = function (argument) {
2270
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor$2 : ceil)(argument);
2333
+ // `ToIntegerOrInfinity` abstract operation
2334
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
2335
+ var toIntegerOrInfinity$5 = function (argument) {
2336
+ var number = +argument;
2337
+ // eslint-disable-next-line no-self-compare -- safe
2338
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor$2 : ceil)(number);
2271
2339
  };
2272
2340
 
2273
- var toInteger$4 = toInteger$5;
2341
+ var toIntegerOrInfinity$4 = toIntegerOrInfinity$5;
2274
2342
 
2343
+ var max$3 = Math.max;
2275
2344
  var min$4 = Math.min;
2276
2345
 
2277
- // `ToLength` abstract operation
2278
- // https://tc39.es/ecma262/#sec-tolength
2279
- var toLength$b = function (argument) {
2280
- return argument > 0 ? min$4(toInteger$4(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
2346
+ // Helper for a popular repeating case of the spec:
2347
+ // Let integer be ? ToInteger(index).
2348
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
2349
+ var toAbsoluteIndex$3 = function (index, length) {
2350
+ var integer = toIntegerOrInfinity$4(index);
2351
+ return integer < 0 ? max$3(integer + length, 0) : min$4(integer, length);
2281
2352
  };
2282
2353
 
2283
- var toInteger$3 = toInteger$5;
2354
+ var toIntegerOrInfinity$3 = toIntegerOrInfinity$5;
2284
2355
 
2285
- var max$3 = Math.max;
2286
2356
  var min$3 = Math.min;
2287
2357
 
2288
- // Helper for a popular repeating case of the spec:
2289
- // Let integer be ? ToInteger(index).
2290
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
2291
- var toAbsoluteIndex$3 = function (index, length) {
2292
- var integer = toInteger$3(index);
2293
- return integer < 0 ? max$3(integer + length, 0) : min$3(integer, length);
2358
+ // `ToLength` abstract operation
2359
+ // https://tc39.es/ecma262/#sec-tolength
2360
+ var toLength$3 = function (argument) {
2361
+ return argument > 0 ? min$3(toIntegerOrInfinity$3(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
2362
+ };
2363
+
2364
+ var toLength$2 = toLength$3;
2365
+
2366
+ // `LengthOfArrayLike` abstract operation
2367
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
2368
+ var lengthOfArrayLike$8 = function (obj) {
2369
+ return toLength$2(obj.length);
2294
2370
  };
2295
2371
 
2296
2372
  var toIndexedObject$7 = toIndexedObject$9;
2297
- var toLength$a = toLength$b;
2298
2373
  var toAbsoluteIndex$2 = toAbsoluteIndex$3;
2374
+ var lengthOfArrayLike$7 = lengthOfArrayLike$8;
2299
2375
 
2300
2376
  // `Array.prototype.{ indexOf, includes }` methods implementation
2301
- var createMethod$5 = function (IS_INCLUDES) {
2377
+ var createMethod$4 = function (IS_INCLUDES) {
2302
2378
  return function ($this, el, fromIndex) {
2303
2379
  var O = toIndexedObject$7($this);
2304
- var length = toLength$a(O.length);
2380
+ var length = lengthOfArrayLike$7(O);
2305
2381
  var index = toAbsoluteIndex$2(fromIndex, length);
2306
2382
  var value;
2307
2383
  // Array#includes uses SameValueZero equality algorithm
@@ -2320,13 +2396,13 @@ var createMethod$5 = function (IS_INCLUDES) {
2320
2396
  var arrayIncludes = {
2321
2397
  // `Array.prototype.includes` method
2322
2398
  // https://tc39.es/ecma262/#sec-array.prototype.includes
2323
- includes: createMethod$5(true),
2399
+ includes: createMethod$4(true),
2324
2400
  // `Array.prototype.indexOf` method
2325
2401
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
2326
- indexOf: createMethod$5(false)
2402
+ indexOf: createMethod$4(false)
2327
2403
  };
2328
2404
 
2329
- var has$8 = has$d;
2405
+ var hasOwn$8 = hasOwnProperty_1;
2330
2406
  var toIndexedObject$6 = toIndexedObject$9;
2331
2407
  var indexOf = arrayIncludes.indexOf;
2332
2408
  var hiddenKeys$4 = hiddenKeys$6;
@@ -2336,9 +2412,9 @@ var objectKeysInternal = function (object, names) {
2336
2412
  var i = 0;
2337
2413
  var result = [];
2338
2414
  var key;
2339
- for (key in O) !has$8(hiddenKeys$4, key) && has$8(O, key) && result.push(key);
2415
+ for (key in O) !hasOwn$8(hiddenKeys$4, key) && hasOwn$8(O, key) && result.push(key);
2340
2416
  // Don't enum bug & hidden keys
2341
- while (names.length > i) if (has$8(O, key = names[i++])) {
2417
+ while (names.length > i) if (hasOwn$8(O, key = names[i++])) {
2342
2418
  ~indexOf(result, key) || result.push(key);
2343
2419
  }
2344
2420
  return result;
@@ -2372,19 +2448,19 @@ var objectGetOwnPropertySymbols = {};
2372
2448
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
2373
2449
  var f$2 = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
2374
2450
 
2375
- var getBuiltIn$3 = getBuiltIn$6;
2451
+ var getBuiltIn$4 = getBuiltIn$7;
2376
2452
  var getOwnPropertyNamesModule$2 = objectGetOwnPropertyNames;
2377
2453
  var getOwnPropertySymbolsModule$2 = objectGetOwnPropertySymbols;
2378
- var anObject$b = anObject$d;
2454
+ var anObject$c = anObject$e;
2379
2455
 
2380
2456
  // all object keys, includes non-enumerable and symbols
2381
- var ownKeys$1 = getBuiltIn$3('Reflect', 'ownKeys') || function ownKeys(it) {
2382
- var keys = getOwnPropertyNamesModule$2.f(anObject$b(it));
2457
+ var ownKeys$1 = getBuiltIn$4('Reflect', 'ownKeys') || function ownKeys(it) {
2458
+ var keys = getOwnPropertyNamesModule$2.f(anObject$c(it));
2383
2459
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$2.f;
2384
2460
  return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
2385
2461
  };
2386
2462
 
2387
- var has$7 = has$d;
2463
+ var hasOwn$7 = hasOwnProperty_1;
2388
2464
  var ownKeys = ownKeys$1;
2389
2465
  var getOwnPropertyDescriptorModule$1 = objectGetOwnPropertyDescriptor;
2390
2466
  var definePropertyModule$5 = objectDefineProperty;
@@ -2395,11 +2471,12 @@ var copyConstructorProperties$2 = function (target, source) {
2395
2471
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule$1.f;
2396
2472
  for (var i = 0; i < keys.length; i++) {
2397
2473
  var key = keys[i];
2398
- if (!has$7(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
2474
+ if (!hasOwn$7(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
2399
2475
  }
2400
2476
  };
2401
2477
 
2402
- var fails$j = fails$o;
2478
+ var fails$k = fails$p;
2479
+ var isCallable$c = isCallable$l;
2403
2480
 
2404
2481
  var replacement = /#|\.prototype\./;
2405
2482
 
@@ -2407,7 +2484,7 @@ var isForced$3 = function (feature, detection) {
2407
2484
  var value = data[normalize(feature)];
2408
2485
  return value == POLYFILL ? true
2409
2486
  : value == NATIVE ? false
2410
- : typeof detection == 'function' ? fails$j(detection)
2487
+ : isCallable$c(detection) ? fails$k(detection)
2411
2488
  : !!detection;
2412
2489
  };
2413
2490
 
@@ -2421,10 +2498,10 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
2421
2498
 
2422
2499
  var isForced_1 = isForced$3;
2423
2500
 
2424
- var global$c = global$m;
2501
+ var global$a = global$k;
2425
2502
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
2426
- var createNonEnumerableProperty$6 = createNonEnumerableProperty$9;
2427
- var redefine$8 = redefine$a.exports;
2503
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
2504
+ var redefine$9 = redefine$b.exports;
2428
2505
  var setGlobal = setGlobal$3;
2429
2506
  var copyConstructorProperties$1 = copyConstructorProperties$2;
2430
2507
  var isForced$2 = isForced_1;
@@ -2442,6 +2519,7 @@ var isForced$2 = isForced_1;
2442
2519
  options.sham - add a flag to not completely full polyfills
2443
2520
  options.enumerable - export as enumerable property
2444
2521
  options.noTargetGet - prevent calling a getter on target
2522
+ options.name - the .name of the function if it does not match the key
2445
2523
  */
2446
2524
  var _export = function (options, source) {
2447
2525
  var TARGET = options.target;
@@ -2449,11 +2527,11 @@ var _export = function (options, source) {
2449
2527
  var STATIC = options.stat;
2450
2528
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
2451
2529
  if (GLOBAL) {
2452
- target = global$c;
2530
+ target = global$a;
2453
2531
  } else if (STATIC) {
2454
- target = global$c[TARGET] || setGlobal(TARGET, {});
2532
+ target = global$a[TARGET] || setGlobal(TARGET, {});
2455
2533
  } else {
2456
- target = (global$c[TARGET] || {}).prototype;
2534
+ target = (global$a[TARGET] || {}).prototype;
2457
2535
  }
2458
2536
  if (target) for (key in source) {
2459
2537
  sourceProperty = source[key];
@@ -2469,26 +2547,63 @@ var _export = function (options, source) {
2469
2547
  }
2470
2548
  // add a flag to not completely full polyfills
2471
2549
  if (options.sham || (targetProperty && targetProperty.sham)) {
2472
- createNonEnumerableProperty$6(sourceProperty, 'sham', true);
2550
+ createNonEnumerableProperty$4(sourceProperty, 'sham', true);
2473
2551
  }
2474
2552
  // extend global
2475
- redefine$8(target, key, sourceProperty, options);
2553
+ redefine$9(target, key, sourceProperty, options);
2476
2554
  }
2477
2555
  };
2478
2556
 
2479
- var classof$6 = classofRaw$1;
2557
+ var classof$7 = classofRaw$1;
2480
2558
 
2481
2559
  // `IsArray` abstract operation
2482
2560
  // https://tc39.es/ecma262/#sec-isarray
2483
2561
  // eslint-disable-next-line es/no-array-isarray -- safe
2484
- var isArray$4 = Array.isArray || function isArray(arg) {
2485
- return classof$6(arg) == 'Array';
2562
+ var isArray$4 = Array.isArray || function isArray(argument) {
2563
+ return classof$7(argument) == 'Array';
2564
+ };
2565
+
2566
+ var wellKnownSymbol$l = wellKnownSymbol$n;
2567
+
2568
+ var TO_STRING_TAG$3 = wellKnownSymbol$l('toStringTag');
2569
+ var test$1 = {};
2570
+
2571
+ test$1[TO_STRING_TAG$3] = 'z';
2572
+
2573
+ var toStringTagSupport = String(test$1) === '[object z]';
2574
+
2575
+ var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
2576
+ var isCallable$b = isCallable$l;
2577
+ var classofRaw = classofRaw$1;
2578
+ var wellKnownSymbol$k = wellKnownSymbol$n;
2579
+
2580
+ var TO_STRING_TAG$2 = wellKnownSymbol$k('toStringTag');
2581
+ // ES3 wrong here
2582
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
2583
+
2584
+ // fallback for IE11 Script Access Denied error
2585
+ var tryGet = function (it, key) {
2586
+ try {
2587
+ return it[key];
2588
+ } catch (error) { /* empty */ }
2486
2589
  };
2487
2590
 
2488
- var isSymbol$1 = isSymbol$4;
2591
+ // getting tag from ES6+ `Object.prototype.toString`
2592
+ var classof$6 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
2593
+ var O, tag, result;
2594
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
2595
+ // @@toStringTag case
2596
+ : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG$2)) == 'string' ? tag
2597
+ // builtinTag case
2598
+ : CORRECT_ARGUMENTS ? classofRaw(O)
2599
+ // ES3 arguments fallback
2600
+ : (result = classofRaw(O)) == 'Object' && isCallable$b(O.callee) ? 'Arguments' : result;
2601
+ };
2489
2602
 
2490
- var toString$c = function (argument) {
2491
- if (isSymbol$1(argument)) throw TypeError('Cannot convert a Symbol value to a string');
2603
+ var classof$5 = classof$6;
2604
+
2605
+ var toString$b = function (argument) {
2606
+ if (classof$5(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
2492
2607
  return String(argument);
2493
2608
  };
2494
2609
 
@@ -2504,14 +2619,14 @@ var objectKeys$4 = Object.keys || function keys(O) {
2504
2619
 
2505
2620
  var DESCRIPTORS$7 = descriptors;
2506
2621
  var definePropertyModule$4 = objectDefineProperty;
2507
- var anObject$a = anObject$d;
2622
+ var anObject$b = anObject$e;
2508
2623
  var objectKeys$3 = objectKeys$4;
2509
2624
 
2510
2625
  // `Object.defineProperties` method
2511
2626
  // https://tc39.es/ecma262/#sec-object.defineproperties
2512
2627
  // eslint-disable-next-line es/no-object-defineproperties -- safe
2513
2628
  var objectDefineProperties = DESCRIPTORS$7 ? Object.defineProperties : function defineProperties(O, Properties) {
2514
- anObject$a(O);
2629
+ anObject$b(O);
2515
2630
  var keys = objectKeys$3(Properties);
2516
2631
  var length = keys.length;
2517
2632
  var index = 0;
@@ -2520,13 +2635,13 @@ var objectDefineProperties = DESCRIPTORS$7 ? Object.defineProperties : function
2520
2635
  return O;
2521
2636
  };
2522
2637
 
2523
- var getBuiltIn$2 = getBuiltIn$6;
2638
+ var getBuiltIn$3 = getBuiltIn$7;
2524
2639
 
2525
- var html$1 = getBuiltIn$2('document', 'documentElement');
2640
+ var html$1 = getBuiltIn$3('document', 'documentElement');
2526
2641
 
2527
2642
  /* global ActiveXObject -- old IE, WSH */
2528
2643
 
2529
- var anObject$9 = anObject$d;
2644
+ var anObject$a = anObject$e;
2530
2645
  var defineProperties = objectDefineProperties;
2531
2646
  var enumBugKeys = enumBugKeys$3;
2532
2647
  var hiddenKeys$2 = hiddenKeys$6;
@@ -2599,7 +2714,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
2599
2714
  var objectCreate = Object.create || function create(O, Properties) {
2600
2715
  var result;
2601
2716
  if (O !== null) {
2602
- EmptyConstructor[PROTOTYPE$1] = anObject$9(O);
2717
+ EmptyConstructor[PROTOTYPE$1] = anObject$a(O);
2603
2718
  result = new EmptyConstructor();
2604
2719
  EmptyConstructor[PROTOTYPE$1] = null;
2605
2720
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -2615,7 +2730,7 @@ var objectGetOwnPropertyNamesExternal = {};
2615
2730
  var toIndexedObject$5 = toIndexedObject$9;
2616
2731
  var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
2617
2732
 
2618
- var toString$b = {}.toString;
2733
+ var toString$a = {}.toString;
2619
2734
 
2620
2735
  var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
2621
2736
  ? Object.getOwnPropertyNames(window) : [];
@@ -2630,56 +2745,50 @@ var getWindowNames = function (it) {
2630
2745
 
2631
2746
  // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
2632
2747
  var f$1 = objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) {
2633
- return windowNames && toString$b.call(it) == '[object Window]'
2748
+ return windowNames && toString$a.call(it) == '[object Window]'
2634
2749
  ? getWindowNames(it)
2635
2750
  : $getOwnPropertyNames$1(toIndexedObject$5(it));
2636
2751
  };
2637
2752
 
2638
2753
  var wellKnownSymbolWrapped = {};
2639
2754
 
2640
- var wellKnownSymbol$l = wellKnownSymbol$n;
2755
+ var wellKnownSymbol$j = wellKnownSymbol$n;
2641
2756
 
2642
- var f = wellKnownSymbolWrapped.f = wellKnownSymbol$l;
2757
+ var f = wellKnownSymbolWrapped.f = wellKnownSymbol$j;
2643
2758
 
2644
- var global$b = global$m;
2759
+ var global$9 = global$k;
2645
2760
 
2646
- var path$1 = global$b;
2761
+ var path$1 = global$9;
2647
2762
 
2648
2763
  var path = path$1;
2649
- var has$6 = has$d;
2764
+ var hasOwn$6 = hasOwnProperty_1;
2650
2765
  var wrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped;
2651
2766
  var defineProperty$6 = objectDefineProperty.f;
2652
2767
 
2653
2768
  var defineWellKnownSymbol$1 = function (NAME) {
2654
2769
  var Symbol = path.Symbol || (path.Symbol = {});
2655
- if (!has$6(Symbol, NAME)) defineProperty$6(Symbol, NAME, {
2770
+ if (!hasOwn$6(Symbol, NAME)) defineProperty$6(Symbol, NAME, {
2656
2771
  value: wrappedWellKnownSymbolModule$1.f(NAME)
2657
2772
  });
2658
2773
  };
2659
2774
 
2660
2775
  var defineProperty$5 = objectDefineProperty.f;
2661
- var has$5 = has$d;
2662
- var wellKnownSymbol$k = wellKnownSymbol$n;
2776
+ var hasOwn$5 = hasOwnProperty_1;
2777
+ var wellKnownSymbol$i = wellKnownSymbol$n;
2663
2778
 
2664
- var TO_STRING_TAG$3 = wellKnownSymbol$k('toStringTag');
2779
+ var TO_STRING_TAG$1 = wellKnownSymbol$i('toStringTag');
2665
2780
 
2666
2781
  var setToStringTag$4 = function (it, TAG, STATIC) {
2667
- if (it && !has$5(it = STATIC ? it : it.prototype, TO_STRING_TAG$3)) {
2668
- defineProperty$5(it, TO_STRING_TAG$3, { configurable: true, value: TAG });
2782
+ if (it && !hasOwn$5(it = STATIC ? it : it.prototype, TO_STRING_TAG$1)) {
2783
+ defineProperty$5(it, TO_STRING_TAG$1, { configurable: true, value: TAG });
2669
2784
  }
2670
2785
  };
2671
2786
 
2672
- var aFunction$3 = function (it) {
2673
- if (typeof it != 'function') {
2674
- throw TypeError(String(it) + ' is not a function');
2675
- } return it;
2676
- };
2677
-
2678
- var aFunction$2 = aFunction$3;
2787
+ var aCallable$2 = aCallable$4;
2679
2788
 
2680
2789
  // optional / simple context binding
2681
2790
  var functionBindContext = function (fn, that, length) {
2682
- aFunction$2(fn);
2791
+ aCallable$2(fn);
2683
2792
  if (that === undefined) return fn;
2684
2793
  switch (length) {
2685
2794
  case 0: return function () {
@@ -2700,11 +2809,54 @@ var functionBindContext = function (fn, that, length) {
2700
2809
  };
2701
2810
  };
2702
2811
 
2703
- var isObject$9 = isObject$f;
2812
+ var fails$j = fails$p;
2813
+ var isCallable$a = isCallable$l;
2814
+ var classof$4 = classof$6;
2815
+ var getBuiltIn$2 = getBuiltIn$7;
2816
+ var inspectSource = inspectSource$3;
2817
+
2818
+ var empty = [];
2819
+ var construct = getBuiltIn$2('Reflect', 'construct');
2820
+ var constructorRegExp = /^\s*(?:class|function)\b/;
2821
+ var exec$1 = constructorRegExp.exec;
2822
+ var INCORRECT_TO_STRING = !constructorRegExp.exec(function () { /* empty */ });
2823
+
2824
+ var isConstructorModern = function (argument) {
2825
+ if (!isCallable$a(argument)) return false;
2826
+ try {
2827
+ construct(Object, empty, argument);
2828
+ return true;
2829
+ } catch (error) {
2830
+ return false;
2831
+ }
2832
+ };
2833
+
2834
+ var isConstructorLegacy = function (argument) {
2835
+ if (!isCallable$a(argument)) return false;
2836
+ switch (classof$4(argument)) {
2837
+ case 'AsyncFunction':
2838
+ case 'GeneratorFunction':
2839
+ case 'AsyncGeneratorFunction': return false;
2840
+ // we can't check .prototype since constructors produced by .bind haven't it
2841
+ } return INCORRECT_TO_STRING || !!exec$1.call(constructorRegExp, inspectSource(argument));
2842
+ };
2843
+
2844
+ // `IsConstructor` abstract operation
2845
+ // https://tc39.es/ecma262/#sec-isconstructor
2846
+ var isConstructor$3 = !construct || fails$j(function () {
2847
+ var called;
2848
+ return isConstructorModern(isConstructorModern.call)
2849
+ || !isConstructorModern(Object)
2850
+ || !isConstructorModern(function () { called = true; })
2851
+ || called;
2852
+ }) ? isConstructorLegacy : isConstructorModern;
2853
+
2704
2854
  var isArray$3 = isArray$4;
2705
- var wellKnownSymbol$j = wellKnownSymbol$n;
2855
+ var isConstructor$2 = isConstructor$3;
2856
+ var isObject$8 = isObject$e;
2857
+ var wellKnownSymbol$h = wellKnownSymbol$n;
2706
2858
 
2707
- var SPECIES$4 = wellKnownSymbol$j('species');
2859
+ var SPECIES$4 = wellKnownSymbol$h('species');
2708
2860
 
2709
2861
  // a part of `ArraySpeciesCreate` abstract operation
2710
2862
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
@@ -2713,8 +2865,8 @@ var arraySpeciesConstructor$1 = function (originalArray) {
2713
2865
  if (isArray$3(originalArray)) {
2714
2866
  C = originalArray.constructor;
2715
2867
  // cross-realm fallback
2716
- if (typeof C == 'function' && (C === Array || isArray$3(C.prototype))) C = undefined;
2717
- else if (isObject$9(C)) {
2868
+ if (isConstructor$2(C) && (C === Array || isArray$3(C.prototype))) C = undefined;
2869
+ else if (isObject$8(C)) {
2718
2870
  C = C[SPECIES$4];
2719
2871
  if (C === null) C = undefined;
2720
2872
  }
@@ -2730,15 +2882,15 @@ var arraySpeciesCreate$3 = function (originalArray, length) {
2730
2882
  };
2731
2883
 
2732
2884
  var bind$3 = functionBindContext;
2733
- var IndexedObject$3 = indexedObject;
2734
- var toObject$9 = toObject$b;
2735
- var toLength$9 = toLength$b;
2885
+ var IndexedObject$2 = indexedObject;
2886
+ var toObject$8 = toObject$a;
2887
+ var lengthOfArrayLike$6 = lengthOfArrayLike$8;
2736
2888
  var arraySpeciesCreate$2 = arraySpeciesCreate$3;
2737
2889
 
2738
2890
  var push = [].push;
2739
2891
 
2740
2892
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
2741
- var createMethod$4 = function (TYPE) {
2893
+ var createMethod$3 = function (TYPE) {
2742
2894
  var IS_MAP = TYPE == 1;
2743
2895
  var IS_FILTER = TYPE == 2;
2744
2896
  var IS_SOME = TYPE == 3;
@@ -2747,10 +2899,10 @@ var createMethod$4 = function (TYPE) {
2747
2899
  var IS_FILTER_REJECT = TYPE == 7;
2748
2900
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
2749
2901
  return function ($this, callbackfn, that, specificCreate) {
2750
- var O = toObject$9($this);
2751
- var self = IndexedObject$3(O);
2902
+ var O = toObject$8($this);
2903
+ var self = IndexedObject$2(O);
2752
2904
  var boundFunction = bind$3(callbackfn, that, 3);
2753
- var length = toLength$9(self.length);
2905
+ var length = lengthOfArrayLike$6(self);
2754
2906
  var index = 0;
2755
2907
  var create = specificCreate || arraySpeciesCreate$2;
2756
2908
  var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
@@ -2778,47 +2930,48 @@ var createMethod$4 = function (TYPE) {
2778
2930
  var arrayIteration = {
2779
2931
  // `Array.prototype.forEach` method
2780
2932
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
2781
- forEach: createMethod$4(0),
2933
+ forEach: createMethod$3(0),
2782
2934
  // `Array.prototype.map` method
2783
2935
  // https://tc39.es/ecma262/#sec-array.prototype.map
2784
- map: createMethod$4(1),
2936
+ map: createMethod$3(1),
2785
2937
  // `Array.prototype.filter` method
2786
2938
  // https://tc39.es/ecma262/#sec-array.prototype.filter
2787
- filter: createMethod$4(2),
2939
+ filter: createMethod$3(2),
2788
2940
  // `Array.prototype.some` method
2789
2941
  // https://tc39.es/ecma262/#sec-array.prototype.some
2790
- some: createMethod$4(3),
2942
+ some: createMethod$3(3),
2791
2943
  // `Array.prototype.every` method
2792
2944
  // https://tc39.es/ecma262/#sec-array.prototype.every
2793
- every: createMethod$4(4),
2945
+ every: createMethod$3(4),
2794
2946
  // `Array.prototype.find` method
2795
2947
  // https://tc39.es/ecma262/#sec-array.prototype.find
2796
- find: createMethod$4(5),
2948
+ find: createMethod$3(5),
2797
2949
  // `Array.prototype.findIndex` method
2798
2950
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
2799
- findIndex: createMethod$4(6),
2951
+ findIndex: createMethod$3(6),
2800
2952
  // `Array.prototype.filterReject` method
2801
2953
  // https://github.com/tc39/proposal-array-filtering
2802
- filterReject: createMethod$4(7)
2954
+ filterReject: createMethod$3(7)
2803
2955
  };
2804
2956
 
2805
2957
  'use strict';
2806
- var $$n = _export;
2807
- var global$a = global$m;
2808
- var getBuiltIn$1 = getBuiltIn$6;
2958
+ var $$k = _export;
2959
+ var global$8 = global$k;
2960
+ var getBuiltIn$1 = getBuiltIn$7;
2809
2961
  var IS_PURE$3 = isPure;
2810
2962
  var DESCRIPTORS$6 = descriptors;
2811
2963
  var NATIVE_SYMBOL = nativeSymbol$1;
2812
- var fails$i = fails$o;
2813
- var has$4 = has$d;
2964
+ var fails$i = fails$p;
2965
+ var hasOwn$4 = hasOwnProperty_1;
2814
2966
  var isArray$2 = isArray$4;
2815
- var isObject$8 = isObject$f;
2816
- var isSymbol = isSymbol$4;
2817
- var anObject$8 = anObject$d;
2818
- var toObject$8 = toObject$b;
2967
+ var isCallable$9 = isCallable$l;
2968
+ var isObject$7 = isObject$e;
2969
+ var isSymbol = isSymbol$3;
2970
+ var anObject$9 = anObject$e;
2971
+ var toObject$7 = toObject$a;
2819
2972
  var toIndexedObject$4 = toIndexedObject$9;
2820
2973
  var toPropertyKey$1 = toPropertyKey$4;
2821
- var $toString$1 = toString$c;
2974
+ var $toString$1 = toString$b;
2822
2975
  var createPropertyDescriptor$2 = createPropertyDescriptor$5;
2823
2976
  var nativeObjectCreate = objectCreate;
2824
2977
  var objectKeys$2 = objectKeys$4;
@@ -2828,13 +2981,12 @@ var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
2828
2981
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
2829
2982
  var definePropertyModule$3 = objectDefineProperty;
2830
2983
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
2831
- var createNonEnumerableProperty$5 = createNonEnumerableProperty$9;
2832
- var redefine$7 = redefine$a.exports;
2984
+ var redefine$8 = redefine$b.exports;
2833
2985
  var shared$1 = shared$6.exports;
2834
2986
  var sharedKey$1 = sharedKey$4;
2835
2987
  var hiddenKeys$1 = hiddenKeys$6;
2836
2988
  var uid$1 = uid$4;
2837
- var wellKnownSymbol$i = wellKnownSymbol$n;
2989
+ var wellKnownSymbol$g = wellKnownSymbol$n;
2838
2990
  var wrappedWellKnownSymbolModule = wellKnownSymbolWrapped;
2839
2991
  var defineWellKnownSymbol = defineWellKnownSymbol$1;
2840
2992
  var setToStringTag$3 = setToStringTag$4;
@@ -2844,11 +2996,11 @@ var $forEach = arrayIteration.forEach;
2844
2996
  var HIDDEN = sharedKey$1('hidden');
2845
2997
  var SYMBOL = 'Symbol';
2846
2998
  var PROTOTYPE = 'prototype';
2847
- var TO_PRIMITIVE = wellKnownSymbol$i('toPrimitive');
2999
+ var TO_PRIMITIVE = wellKnownSymbol$g('toPrimitive');
2848
3000
  var setInternalState$3 = InternalStateModule$3.set;
2849
3001
  var getInternalState$3 = InternalStateModule$3.getterFor(SYMBOL);
2850
3002
  var ObjectPrototype$1 = Object[PROTOTYPE];
2851
- var $Symbol = global$a.Symbol;
3003
+ var $Symbol = global$8.Symbol;
2852
3004
  var $stringify = getBuiltIn$1('JSON', 'stringify');
2853
3005
  var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
2854
3006
  var nativeDefineProperty = definePropertyModule$3.f;
@@ -2859,7 +3011,7 @@ var ObjectPrototypeSymbols = shared$1('op-symbols');
2859
3011
  var StringToSymbolRegistry = shared$1('string-to-symbol-registry');
2860
3012
  var SymbolToStringRegistry = shared$1('symbol-to-string-registry');
2861
3013
  var WellKnownSymbolsStore = shared$1('wks');
2862
- var QObject = global$a.QObject;
3014
+ var QObject = global$8.QObject;
2863
3015
  // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
2864
3016
  var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
2865
3017
 
@@ -2890,22 +3042,22 @@ var wrap = function (tag, description) {
2890
3042
 
2891
3043
  var $defineProperty = function defineProperty(O, P, Attributes) {
2892
3044
  if (O === ObjectPrototype$1) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
2893
- anObject$8(O);
3045
+ anObject$9(O);
2894
3046
  var key = toPropertyKey$1(P);
2895
- anObject$8(Attributes);
2896
- if (has$4(AllSymbols, key)) {
3047
+ anObject$9(Attributes);
3048
+ if (hasOwn$4(AllSymbols, key)) {
2897
3049
  if (!Attributes.enumerable) {
2898
- if (!has$4(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor$2(1, {}));
3050
+ if (!hasOwn$4(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor$2(1, {}));
2899
3051
  O[HIDDEN][key] = true;
2900
3052
  } else {
2901
- if (has$4(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
3053
+ if (hasOwn$4(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
2902
3054
  Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor$2(0, false) });
2903
3055
  } return setSymbolDescriptor(O, key, Attributes);
2904
3056
  } return nativeDefineProperty(O, key, Attributes);
2905
3057
  };
2906
3058
 
2907
3059
  var $defineProperties = function defineProperties(O, Properties) {
2908
- anObject$8(O);
3060
+ anObject$9(O);
2909
3061
  var properties = toIndexedObject$4(Properties);
2910
3062
  var keys = objectKeys$2(properties).concat($getOwnPropertySymbols(properties));
2911
3063
  $forEach(keys, function (key) {
@@ -2921,16 +3073,17 @@ var $create = function create(O, Properties) {
2921
3073
  var $propertyIsEnumerable = function propertyIsEnumerable(V) {
2922
3074
  var P = toPropertyKey$1(V);
2923
3075
  var enumerable = nativePropertyIsEnumerable.call(this, P);
2924
- if (this === ObjectPrototype$1 && has$4(AllSymbols, P) && !has$4(ObjectPrototypeSymbols, P)) return false;
2925
- return enumerable || !has$4(this, P) || !has$4(AllSymbols, P) || has$4(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
3076
+ if (this === ObjectPrototype$1 && hasOwn$4(AllSymbols, P) && !hasOwn$4(ObjectPrototypeSymbols, P)) return false;
3077
+ return enumerable || !hasOwn$4(this, P) || !hasOwn$4(AllSymbols, P) || hasOwn$4(this, HIDDEN) && this[HIDDEN][P]
3078
+ ? enumerable : true;
2926
3079
  };
2927
3080
 
2928
3081
  var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
2929
3082
  var it = toIndexedObject$4(O);
2930
3083
  var key = toPropertyKey$1(P);
2931
- if (it === ObjectPrototype$1 && has$4(AllSymbols, key) && !has$4(ObjectPrototypeSymbols, key)) return;
3084
+ if (it === ObjectPrototype$1 && hasOwn$4(AllSymbols, key) && !hasOwn$4(ObjectPrototypeSymbols, key)) return;
2932
3085
  var descriptor = nativeGetOwnPropertyDescriptor(it, key);
2933
- if (descriptor && has$4(AllSymbols, key) && !(has$4(it, HIDDEN) && it[HIDDEN][key])) {
3086
+ if (descriptor && hasOwn$4(AllSymbols, key) && !(hasOwn$4(it, HIDDEN) && it[HIDDEN][key])) {
2934
3087
  descriptor.enumerable = true;
2935
3088
  }
2936
3089
  return descriptor;
@@ -2940,7 +3093,7 @@ var $getOwnPropertyNames = function getOwnPropertyNames(O) {
2940
3093
  var names = nativeGetOwnPropertyNames(toIndexedObject$4(O));
2941
3094
  var result = [];
2942
3095
  $forEach(names, function (key) {
2943
- if (!has$4(AllSymbols, key) && !has$4(hiddenKeys$1, key)) result.push(key);
3096
+ if (!hasOwn$4(AllSymbols, key) && !hasOwn$4(hiddenKeys$1, key)) result.push(key);
2944
3097
  });
2945
3098
  return result;
2946
3099
  };
@@ -2950,7 +3103,7 @@ var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
2950
3103
  var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject$4(O));
2951
3104
  var result = [];
2952
3105
  $forEach(names, function (key) {
2953
- if (has$4(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has$4(ObjectPrototype$1, key))) {
3106
+ if (hasOwn$4(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn$4(ObjectPrototype$1, key))) {
2954
3107
  result.push(AllSymbols[key]);
2955
3108
  }
2956
3109
  });
@@ -2966,18 +3119,18 @@ if (!NATIVE_SYMBOL) {
2966
3119
  var tag = uid$1(description);
2967
3120
  var setter = function (value) {
2968
3121
  if (this === ObjectPrototype$1) setter.call(ObjectPrototypeSymbols, value);
2969
- if (has$4(this, HIDDEN) && has$4(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
3122
+ if (hasOwn$4(this, HIDDEN) && hasOwn$4(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
2970
3123
  setSymbolDescriptor(this, tag, createPropertyDescriptor$2(1, value));
2971
3124
  };
2972
3125
  if (DESCRIPTORS$6 && USE_SETTER) setSymbolDescriptor(ObjectPrototype$1, tag, { configurable: true, set: setter });
2973
3126
  return wrap(tag, description);
2974
3127
  };
2975
3128
 
2976
- redefine$7($Symbol[PROTOTYPE], 'toString', function toString() {
3129
+ redefine$8($Symbol[PROTOTYPE], 'toString', function toString() {
2977
3130
  return getInternalState$3(this).tag;
2978
3131
  });
2979
3132
 
2980
- redefine$7($Symbol, 'withoutSetter', function (description) {
3133
+ redefine$8($Symbol, 'withoutSetter', function (description) {
2981
3134
  return wrap(uid$1(description), description);
2982
3135
  });
2983
3136
 
@@ -2988,7 +3141,7 @@ if (!NATIVE_SYMBOL) {
2988
3141
  getOwnPropertySymbolsModule$1.f = $getOwnPropertySymbols;
2989
3142
 
2990
3143
  wrappedWellKnownSymbolModule.f = function (name) {
2991
- return wrap(wellKnownSymbol$i(name), name);
3144
+ return wrap(wellKnownSymbol$g(name), name);
2992
3145
  };
2993
3146
 
2994
3147
  if (DESCRIPTORS$6) {
@@ -3000,12 +3153,12 @@ if (!NATIVE_SYMBOL) {
3000
3153
  }
3001
3154
  });
3002
3155
  if (!IS_PURE$3) {
3003
- redefine$7(ObjectPrototype$1, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
3156
+ redefine$8(ObjectPrototype$1, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
3004
3157
  }
3005
3158
  }
3006
3159
  }
3007
3160
 
3008
- $$n({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
3161
+ $$k({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
3009
3162
  Symbol: $Symbol
3010
3163
  });
3011
3164
 
@@ -3013,12 +3166,12 @@ $forEach(objectKeys$2(WellKnownSymbolsStore), function (name) {
3013
3166
  defineWellKnownSymbol(name);
3014
3167
  });
3015
3168
 
3016
- $$n({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
3169
+ $$k({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
3017
3170
  // `Symbol.for` method
3018
3171
  // https://tc39.es/ecma262/#sec-symbol.for
3019
3172
  'for': function (key) {
3020
3173
  var string = $toString$1(key);
3021
- if (has$4(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
3174
+ if (hasOwn$4(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
3022
3175
  var symbol = $Symbol(string);
3023
3176
  StringToSymbolRegistry[string] = symbol;
3024
3177
  SymbolToStringRegistry[symbol] = string;
@@ -3028,13 +3181,13 @@ $$n({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
3028
3181
  // https://tc39.es/ecma262/#sec-symbol.keyfor
3029
3182
  keyFor: function keyFor(sym) {
3030
3183
  if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');
3031
- if (has$4(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
3184
+ if (hasOwn$4(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
3032
3185
  },
3033
3186
  useSetter: function () { USE_SETTER = true; },
3034
3187
  useSimple: function () { USE_SETTER = false; }
3035
3188
  });
3036
3189
 
3037
- $$n({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS$6 }, {
3190
+ $$k({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS$6 }, {
3038
3191
  // `Object.create` method
3039
3192
  // https://tc39.es/ecma262/#sec-object.create
3040
3193
  create: $create,
@@ -3049,7 +3202,7 @@ $$n({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS$6
3049
3202
  getOwnPropertyDescriptor: $getOwnPropertyDescriptor
3050
3203
  });
3051
3204
 
3052
- $$n({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
3205
+ $$k({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
3053
3206
  // `Object.getOwnPropertyNames` method
3054
3207
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
3055
3208
  getOwnPropertyNames: $getOwnPropertyNames,
@@ -3060,9 +3213,9 @@ $$n({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
3060
3213
 
3061
3214
  // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
3062
3215
  // https://bugs.chromium.org/p/v8/issues/detail?id=3443
3063
- $$n({ target: 'Object', stat: true, forced: fails$i(function () { getOwnPropertySymbolsModule$1.f(1); }) }, {
3216
+ $$k({ target: 'Object', stat: true, forced: fails$i(function () { getOwnPropertySymbolsModule$1.f(1); }) }, {
3064
3217
  getOwnPropertySymbols: function getOwnPropertySymbols(it) {
3065
- return getOwnPropertySymbolsModule$1.f(toObject$8(it));
3218
+ return getOwnPropertySymbolsModule$1.f(toObject$7(it));
3066
3219
  }
3067
3220
  });
3068
3221
 
@@ -3079,7 +3232,7 @@ if ($stringify) {
3079
3232
  || $stringify(Object(symbol)) != '{}';
3080
3233
  });
3081
3234
 
3082
- $$n({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
3235
+ $$k({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
3083
3236
  // eslint-disable-next-line no-unused-vars -- required for `.length`
3084
3237
  stringify: function stringify(it, replacer, space) {
3085
3238
  var args = [it];
@@ -3087,9 +3240,9 @@ if ($stringify) {
3087
3240
  var $replacer;
3088
3241
  while (arguments.length > index) args.push(arguments[index++]);
3089
3242
  $replacer = replacer;
3090
- if (!isObject$8(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
3243
+ if (!isObject$7(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
3091
3244
  if (!isArray$2(replacer)) replacer = function (key, value) {
3092
- if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
3245
+ if (isCallable$9($replacer)) value = $replacer.call(this, key, value);
3093
3246
  if (!isSymbol(value)) return value;
3094
3247
  };
3095
3248
  args[1] = replacer;
@@ -3101,7 +3254,10 @@ if ($stringify) {
3101
3254
  // `Symbol.prototype[@@toPrimitive]` method
3102
3255
  // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
3103
3256
  if (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) {
3104
- createNonEnumerableProperty$5($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
3257
+ var valueOf = $Symbol[PROTOTYPE].valueOf;
3258
+ redefine$8($Symbol[PROTOTYPE], TO_PRIMITIVE, function () {
3259
+ return valueOf.apply(this, arguments);
3260
+ });
3105
3261
  }
3106
3262
  // `Symbol.prototype[@@toStringTag]` property
3107
3263
  // https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
@@ -3114,17 +3270,18 @@ var es_symbol_description = {};
3114
3270
  // `Symbol.prototype.description` getter
3115
3271
  // https://tc39.es/ecma262/#sec-symbol.prototype.description
3116
3272
  'use strict';
3117
- var $$m = _export;
3273
+ var $$j = _export;
3118
3274
  var DESCRIPTORS$5 = descriptors;
3119
- var global$9 = global$m;
3120
- var has$3 = has$d;
3121
- var isObject$7 = isObject$f;
3275
+ var global$7 = global$k;
3276
+ var hasOwn$3 = hasOwnProperty_1;
3277
+ var isCallable$8 = isCallable$l;
3278
+ var isObject$6 = isObject$e;
3122
3279
  var defineProperty$4 = objectDefineProperty.f;
3123
3280
  var copyConstructorProperties = copyConstructorProperties$2;
3124
3281
 
3125
- var NativeSymbol = global$9.Symbol;
3282
+ var NativeSymbol = global$7.Symbol;
3126
3283
 
3127
- if (DESCRIPTORS$5 && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) ||
3284
+ if (DESCRIPTORS$5 && isCallable$8(NativeSymbol) && (!('description' in NativeSymbol.prototype) ||
3128
3285
  // Safari 12 bug
3129
3286
  NativeSymbol().description !== undefined
3130
3287
  )) {
@@ -3149,75 +3306,39 @@ if (DESCRIPTORS$5 && typeof NativeSymbol == 'function' && (!('description' in Na
3149
3306
  defineProperty$4(symbolPrototype, 'description', {
3150
3307
  configurable: true,
3151
3308
  get: function description() {
3152
- var symbol = isObject$7(this) ? this.valueOf() : this;
3309
+ var symbol = isObject$6(this) ? this.valueOf() : this;
3153
3310
  var string = symbolToString.call(symbol);
3154
- if (has$3(EmptyStringDescriptionStore, symbol)) return '';
3311
+ if (hasOwn$3(EmptyStringDescriptionStore, symbol)) return '';
3155
3312
  var desc = nativeSymbol ? string.slice(7, -1) : string.replace(regexp, '$1');
3156
3313
  return desc === '' ? undefined : desc;
3157
3314
  }
3158
3315
  });
3159
3316
 
3160
- $$m({ global: true, forced: true }, {
3317
+ $$j({ global: true, forced: true }, {
3161
3318
  Symbol: SymbolWrapper
3162
3319
  });
3163
3320
  }
3164
3321
 
3165
3322
  var es_object_toString = {};
3166
3323
 
3167
- var wellKnownSymbol$h = wellKnownSymbol$n;
3168
-
3169
- var TO_STRING_TAG$2 = wellKnownSymbol$h('toStringTag');
3170
- var test$1 = {};
3171
-
3172
- test$1[TO_STRING_TAG$2] = 'z';
3173
-
3174
- var toStringTagSupport = String(test$1) === '[object z]';
3175
-
3176
- var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
3177
- var classofRaw = classofRaw$1;
3178
- var wellKnownSymbol$g = wellKnownSymbol$n;
3179
-
3180
- var TO_STRING_TAG$1 = wellKnownSymbol$g('toStringTag');
3181
- // ES3 wrong here
3182
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
3183
-
3184
- // fallback for IE11 Script Access Denied error
3185
- var tryGet = function (it, key) {
3186
- try {
3187
- return it[key];
3188
- } catch (error) { /* empty */ }
3189
- };
3190
-
3191
- // getting tag from ES6+ `Object.prototype.toString`
3192
- var classof$5 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
3193
- var O, tag, result;
3194
- return it === undefined ? 'Undefined' : it === null ? 'Null'
3195
- // @@toStringTag case
3196
- : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG$1)) == 'string' ? tag
3197
- // builtinTag case
3198
- : CORRECT_ARGUMENTS ? classofRaw(O)
3199
- // ES3 arguments fallback
3200
- : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
3201
- };
3202
-
3203
3324
  'use strict';
3204
3325
  var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
3205
- var classof$4 = classof$5;
3326
+ var classof$3 = classof$6;
3206
3327
 
3207
3328
  // `Object.prototype.toString` method implementation
3208
3329
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
3209
3330
  var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
3210
- return '[object ' + classof$4(this) + ']';
3331
+ return '[object ' + classof$3(this) + ']';
3211
3332
  };
3212
3333
 
3213
3334
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
3214
- var redefine$6 = redefine$a.exports;
3215
- var toString$a = objectToString;
3335
+ var redefine$7 = redefine$b.exports;
3336
+ var toString$9 = objectToString;
3216
3337
 
3217
3338
  // `Object.prototype.toString` method
3218
3339
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
3219
3340
  if (!TO_STRING_TAG_SUPPORT) {
3220
- redefine$6(Object.prototype, 'toString', toString$a, { unsafe: true });
3341
+ redefine$7(Object.prototype, 'toString', toString$9, { unsafe: true });
3221
3342
  }
3222
3343
 
3223
3344
  var es_object_entries = {};
@@ -3228,7 +3349,7 @@ var toIndexedObject$3 = toIndexedObject$9;
3228
3349
  var propertyIsEnumerable = objectPropertyIsEnumerable.f;
3229
3350
 
3230
3351
  // `Object.{ entries, values }` methods implementation
3231
- var createMethod$3 = function (TO_ENTRIES) {
3352
+ var createMethod$2 = function (TO_ENTRIES) {
3232
3353
  return function (it) {
3233
3354
  var O = toIndexedObject$3(it);
3234
3355
  var keys = objectKeys$1(O);
@@ -3249,18 +3370,18 @@ var createMethod$3 = function (TO_ENTRIES) {
3249
3370
  var objectToArray = {
3250
3371
  // `Object.entries` method
3251
3372
  // https://tc39.es/ecma262/#sec-object.entries
3252
- entries: createMethod$3(true),
3373
+ entries: createMethod$2(true),
3253
3374
  // `Object.values` method
3254
3375
  // https://tc39.es/ecma262/#sec-object.values
3255
- values: createMethod$3(false)
3376
+ values: createMethod$2(false)
3256
3377
  };
3257
3378
 
3258
- var $$l = _export;
3379
+ var $$i = _export;
3259
3380
  var $entries = objectToArray.entries;
3260
3381
 
3261
3382
  // `Object.entries` method
3262
3383
  // https://tc39.es/ecma262/#sec-object.entries
3263
- $$l({ target: 'Object', stat: true }, {
3384
+ $$i({ target: 'Object', stat: true }, {
3264
3385
  entries: function entries(O) {
3265
3386
  return $entries(O);
3266
3387
  }
@@ -3279,7 +3400,7 @@ var createProperty$4 = function (object, key, value) {
3279
3400
  else object[propertyKey] = value;
3280
3401
  };
3281
3402
 
3282
- var fails$h = fails$o;
3403
+ var fails$h = fails$p;
3283
3404
  var wellKnownSymbol$f = wellKnownSymbol$n;
3284
3405
  var V8_VERSION$1 = engineV8Version;
3285
3406
 
@@ -3300,12 +3421,12 @@ var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) {
3300
3421
  };
3301
3422
 
3302
3423
  'use strict';
3303
- var $$k = _export;
3304
- var fails$g = fails$o;
3424
+ var $$h = _export;
3425
+ var fails$g = fails$p;
3305
3426
  var isArray$1 = isArray$4;
3306
- var isObject$6 = isObject$f;
3307
- var toObject$7 = toObject$b;
3308
- var toLength$8 = toLength$b;
3427
+ var isObject$5 = isObject$e;
3428
+ var toObject$6 = toObject$a;
3429
+ var lengthOfArrayLike$5 = lengthOfArrayLike$8;
3309
3430
  var createProperty$3 = createProperty$4;
3310
3431
  var arraySpeciesCreate$1 = arraySpeciesCreate$3;
3311
3432
  var arrayMethodHasSpeciesSupport$4 = arrayMethodHasSpeciesSupport$5;
@@ -3328,27 +3449,27 @@ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$g(function () {
3328
3449
  var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$4('concat');
3329
3450
 
3330
3451
  var isConcatSpreadable = function (O) {
3331
- if (!isObject$6(O)) return false;
3452
+ if (!isObject$5(O)) return false;
3332
3453
  var spreadable = O[IS_CONCAT_SPREADABLE];
3333
3454
  return spreadable !== undefined ? !!spreadable : isArray$1(O);
3334
3455
  };
3335
3456
 
3336
- var FORCED$2 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
3457
+ var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
3337
3458
 
3338
3459
  // `Array.prototype.concat` method
3339
3460
  // https://tc39.es/ecma262/#sec-array.prototype.concat
3340
3461
  // with adding support of @@isConcatSpreadable and @@species
3341
- $$k({ target: 'Array', proto: true, forced: FORCED$2 }, {
3462
+ $$h({ target: 'Array', proto: true, forced: FORCED$1 }, {
3342
3463
  // eslint-disable-next-line no-unused-vars -- required for `.length`
3343
3464
  concat: function concat(arg) {
3344
- var O = toObject$7(this);
3465
+ var O = toObject$6(this);
3345
3466
  var A = arraySpeciesCreate$1(O, 0);
3346
3467
  var n = 0;
3347
3468
  var i, k, length, len, E;
3348
3469
  for (i = -1, length = arguments.length; i < length; i++) {
3349
3470
  E = i === -1 ? O : arguments[i];
3350
3471
  if (isConcatSpreadable(E)) {
3351
- len = toLength$8(E.length);
3472
+ len = lengthOfArrayLike$5(E);
3352
3473
  if (n + len > MAX_SAFE_INTEGER$1) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
3353
3474
  for (k = 0; k < len; k++, n++) if (k in E) createProperty$3(A, n, E[k]);
3354
3475
  } else {
@@ -3364,9 +3485,9 @@ $$k({ target: 'Array', proto: true, forced: FORCED$2 }, {
3364
3485
  var es_array_join = {};
3365
3486
 
3366
3487
  'use strict';
3367
- var fails$f = fails$o;
3488
+ var fails$f = fails$p;
3368
3489
 
3369
- var arrayMethodIsStrict$4 = function (METHOD_NAME, argument) {
3490
+ var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
3370
3491
  var method = [][METHOD_NAME];
3371
3492
  return !!method && fails$f(function () {
3372
3493
  // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
@@ -3375,19 +3496,19 @@ var arrayMethodIsStrict$4 = function (METHOD_NAME, argument) {
3375
3496
  };
3376
3497
 
3377
3498
  'use strict';
3378
- var $$j = _export;
3379
- var IndexedObject$2 = indexedObject;
3499
+ var $$g = _export;
3500
+ var IndexedObject$1 = indexedObject;
3380
3501
  var toIndexedObject$2 = toIndexedObject$9;
3381
- var arrayMethodIsStrict$3 = arrayMethodIsStrict$4;
3502
+ var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;
3382
3503
 
3383
3504
  var nativeJoin = [].join;
3384
3505
 
3385
- var ES3_STRINGS = IndexedObject$2 != Object;
3386
- var STRICT_METHOD$3 = arrayMethodIsStrict$3('join', ',');
3506
+ var ES3_STRINGS = IndexedObject$1 != Object;
3507
+ var STRICT_METHOD$1 = arrayMethodIsStrict$1('join', ',');
3387
3508
 
3388
3509
  // `Array.prototype.join` method
3389
3510
  // https://tc39.es/ecma262/#sec-array.prototype.join
3390
- $$j({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$3 }, {
3511
+ $$g({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$1 }, {
3391
3512
  join: function join(separator) {
3392
3513
  return nativeJoin.call(toIndexedObject$2(this), separator === undefined ? ',' : separator);
3393
3514
  }
@@ -3395,14 +3516,15 @@ $$j({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$3 }, {
3395
3516
 
3396
3517
  var es_array_from = {};
3397
3518
 
3398
- var anObject$7 = anObject$d;
3519
+ var anObject$8 = anObject$e;
3520
+ var getMethod$2 = getMethod$4;
3399
3521
 
3400
3522
  var iteratorClose$2 = function (iterator, kind, value) {
3401
3523
  var innerResult, innerError;
3402
- anObject$7(iterator);
3524
+ anObject$8(iterator);
3403
3525
  try {
3404
- innerResult = iterator['return'];
3405
- if (innerResult === undefined) {
3526
+ innerResult = getMethod$2(iterator, 'return');
3527
+ if (!innerResult) {
3406
3528
  if (kind === 'throw') throw value;
3407
3529
  return value;
3408
3530
  }
@@ -3413,17 +3535,17 @@ var iteratorClose$2 = function (iterator, kind, value) {
3413
3535
  }
3414
3536
  if (kind === 'throw') throw value;
3415
3537
  if (innerError) throw innerResult;
3416
- anObject$7(innerResult);
3538
+ anObject$8(innerResult);
3417
3539
  return value;
3418
3540
  };
3419
3541
 
3420
- var anObject$6 = anObject$d;
3542
+ var anObject$7 = anObject$e;
3421
3543
  var iteratorClose$1 = iteratorClose$2;
3422
3544
 
3423
3545
  // call something on iterator step with safe closing on error
3424
3546
  var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
3425
3547
  try {
3426
- return ENTRIES ? fn(anObject$6(value)[0], value[1]) : fn(value);
3548
+ return ENTRIES ? fn(anObject$7(value)[0], value[1]) : fn(value);
3427
3549
  } catch (error) {
3428
3550
  iteratorClose$1(iterator, 'throw', error);
3429
3551
  }
@@ -3442,34 +3564,36 @@ var isArrayIteratorMethod$2 = function (it) {
3442
3564
  return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$5] === it);
3443
3565
  };
3444
3566
 
3445
- var classof$3 = classof$5;
3567
+ var classof$2 = classof$6;
3568
+ var getMethod$1 = getMethod$4;
3446
3569
  var Iterators$3 = iterators;
3447
3570
  var wellKnownSymbol$c = wellKnownSymbol$n;
3448
3571
 
3449
3572
  var ITERATOR$4 = wellKnownSymbol$c('iterator');
3450
3573
 
3451
3574
  var getIteratorMethod$3 = function (it) {
3452
- if (it != undefined) return it[ITERATOR$4]
3453
- || it['@@iterator']
3454
- || Iterators$3[classof$3(it)];
3575
+ if (it != undefined) return getMethod$1(it, ITERATOR$4)
3576
+ || getMethod$1(it, '@@iterator')
3577
+ || Iterators$3[classof$2(it)];
3455
3578
  };
3456
3579
 
3457
- var anObject$5 = anObject$d;
3580
+ var aCallable$1 = aCallable$4;
3581
+ var anObject$6 = anObject$e;
3458
3582
  var getIteratorMethod$2 = getIteratorMethod$3;
3459
3583
 
3460
- var getIterator$2 = function (it, usingIterator) {
3461
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod$2(it) : usingIterator;
3462
- if (typeof iteratorMethod != 'function') {
3463
- throw TypeError(String(it) + ' is not iterable');
3464
- } return anObject$5(iteratorMethod.call(it));
3584
+ var getIterator$2 = function (argument, usingIterator) {
3585
+ 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');
3465
3588
  };
3466
3589
 
3467
3590
  'use strict';
3468
3591
  var bind$2 = functionBindContext;
3469
- var toObject$6 = toObject$b;
3592
+ var toObject$5 = toObject$a;
3470
3593
  var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
3471
3594
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
3472
- var toLength$7 = toLength$b;
3595
+ var isConstructor$1 = isConstructor$3;
3596
+ var lengthOfArrayLike$4 = lengthOfArrayLike$8;
3473
3597
  var createProperty$2 = createProperty$4;
3474
3598
  var getIterator$1 = getIterator$2;
3475
3599
  var getIteratorMethod$1 = getIteratorMethod$3;
@@ -3477,27 +3601,27 @@ var getIteratorMethod$1 = getIteratorMethod$3;
3477
3601
  // `Array.from` method implementation
3478
3602
  // https://tc39.es/ecma262/#sec-array.from
3479
3603
  var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
3480
- var O = toObject$6(arrayLike);
3481
- var C = typeof this == 'function' ? this : Array;
3604
+ var O = toObject$5(arrayLike);
3605
+ var IS_CONSTRUCTOR = isConstructor$1(this);
3482
3606
  var argumentsLength = arguments.length;
3483
3607
  var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
3484
3608
  var mapping = mapfn !== undefined;
3609
+ if (mapping) mapfn = bind$2(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);
3485
3610
  var iteratorMethod = getIteratorMethod$1(O);
3486
3611
  var index = 0;
3487
3612
  var length, result, step, iterator, next, value;
3488
- if (mapping) mapfn = bind$2(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);
3489
3613
  // if the target is not iterable or it's an array with the default iterator - use a simple case
3490
- if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod$1(iteratorMethod))) {
3614
+ if (iteratorMethod && !(this == Array && isArrayIteratorMethod$1(iteratorMethod))) {
3491
3615
  iterator = getIterator$1(O, iteratorMethod);
3492
3616
  next = iterator.next;
3493
- result = new C();
3617
+ result = IS_CONSTRUCTOR ? new this() : [];
3494
3618
  for (;!(step = next.call(iterator)).done; index++) {
3495
3619
  value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
3496
3620
  createProperty$2(result, index, value);
3497
3621
  }
3498
3622
  } else {
3499
- length = toLength$7(O.length);
3500
- result = new C(length);
3623
+ length = lengthOfArrayLike$4(O);
3624
+ result = IS_CONSTRUCTOR ? new this(length) : Array(length);
3501
3625
  for (;length > index; index++) {
3502
3626
  value = mapping ? mapfn(O[index], index) : O[index];
3503
3627
  createProperty$2(result, index, value);
@@ -3546,7 +3670,7 @@ var checkCorrectnessOfIteration$2 = function (exec, SKIP_CLOSING) {
3546
3670
  return ITERATION_SUPPORT;
3547
3671
  };
3548
3672
 
3549
- var $$i = _export;
3673
+ var $$f = _export;
3550
3674
  var from = arrayFrom;
3551
3675
  var checkCorrectnessOfIteration$1 = checkCorrectnessOfIteration$2;
3552
3676
 
@@ -3557,21 +3681,20 @@ var INCORRECT_ITERATION = !checkCorrectnessOfIteration$1(function (iterable) {
3557
3681
 
3558
3682
  // `Array.from` method
3559
3683
  // https://tc39.es/ecma262/#sec-array.from
3560
- $$i({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
3684
+ $$f({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
3561
3685
  from: from
3562
3686
  });
3563
3687
 
3564
3688
  var es_string_iterator = {};
3565
3689
 
3566
- var toInteger$2 = toInteger$5;
3567
- var toString$9 = toString$c;
3690
+ var toIntegerOrInfinity$2 = toIntegerOrInfinity$5;
3691
+ var toString$8 = toString$b;
3568
3692
  var requireObjectCoercible$4 = requireObjectCoercible$7;
3569
3693
 
3570
- // `String.prototype.codePointAt` methods implementation
3571
- var createMethod$2 = function (CONVERT_TO_STRING) {
3694
+ var createMethod$1 = function (CONVERT_TO_STRING) {
3572
3695
  return function ($this, pos) {
3573
- var S = toString$9(requireObjectCoercible$4($this));
3574
- var position = toInteger$2(pos);
3696
+ var S = toString$8(requireObjectCoercible$4($this));
3697
+ var position = toIntegerOrInfinity$2(pos);
3575
3698
  var size = S.length;
3576
3699
  var first, second;
3577
3700
  if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
@@ -3586,13 +3709,13 @@ var createMethod$2 = function (CONVERT_TO_STRING) {
3586
3709
  var stringMultibyte = {
3587
3710
  // `String.prototype.codePointAt` method
3588
3711
  // https://tc39.es/ecma262/#sec-string.prototype.codepointat
3589
- codeAt: createMethod$2(false),
3712
+ codeAt: createMethod$1(false),
3590
3713
  // `String.prototype.at` method
3591
3714
  // https://github.com/mathiasbynens/String.prototype.at
3592
- charAt: createMethod$2(true)
3715
+ charAt: createMethod$1(true)
3593
3716
  };
3594
3717
 
3595
- var fails$e = fails$o;
3718
+ var fails$e = fails$p;
3596
3719
 
3597
3720
  var correctPrototypeGetter = !fails$e(function () {
3598
3721
  function F() { /* empty */ }
@@ -3601,8 +3724,9 @@ var correctPrototypeGetter = !fails$e(function () {
3601
3724
  return Object.getPrototypeOf(new F()) !== F.prototype;
3602
3725
  });
3603
3726
 
3604
- var has$2 = has$d;
3605
- var toObject$5 = toObject$b;
3727
+ var hasOwn$2 = hasOwnProperty_1;
3728
+ var isCallable$7 = isCallable$l;
3729
+ var toObject$4 = toObject$a;
3606
3730
  var sharedKey = sharedKey$4;
3607
3731
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
3608
3732
 
@@ -3613,18 +3737,20 @@ var ObjectPrototype = Object.prototype;
3613
3737
  // https://tc39.es/ecma262/#sec-object.getprototypeof
3614
3738
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
3615
3739
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {
3616
- O = toObject$5(O);
3617
- if (has$2(O, IE_PROTO)) return O[IE_PROTO];
3618
- if (typeof O.constructor == 'function' && O instanceof O.constructor) {
3619
- return O.constructor.prototype;
3620
- } return O instanceof Object ? ObjectPrototype : null;
3740
+ var object = toObject$4(O);
3741
+ if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
3742
+ var constructor = object.constructor;
3743
+ if (isCallable$7(constructor) && object instanceof constructor) {
3744
+ return constructor.prototype;
3745
+ } return object instanceof Object ? ObjectPrototype : null;
3621
3746
  };
3622
3747
 
3623
3748
  'use strict';
3624
- var fails$d = fails$o;
3749
+ var fails$d = fails$p;
3750
+ var isCallable$6 = isCallable$l;
3625
3751
  var create$4 = objectCreate;
3626
3752
  var getPrototypeOf$1 = objectGetPrototypeOf;
3627
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$9;
3753
+ var redefine$6 = redefine$b.exports;
3628
3754
  var wellKnownSymbol$a = wellKnownSymbol$n;
3629
3755
  var IS_PURE$2 = isPure;
3630
3756
 
@@ -3657,8 +3783,8 @@ else if (IS_PURE$2) IteratorPrototype$2 = create$4(IteratorPrototype$2);
3657
3783
 
3658
3784
  // `%IteratorPrototype%[@@iterator]()` method
3659
3785
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
3660
- if (typeof IteratorPrototype$2[ITERATOR$2] !== 'function') {
3661
- createNonEnumerableProperty$4(IteratorPrototype$2, ITERATOR$2, function () {
3786
+ if (!isCallable$6(IteratorPrototype$2[ITERATOR$2])) {
3787
+ redefine$6(IteratorPrototype$2, ITERATOR$2, function () {
3662
3788
  return this;
3663
3789
  });
3664
3790
  }
@@ -3685,17 +3811,16 @@ var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next) {
3685
3811
  return IteratorConstructor;
3686
3812
  };
3687
3813
 
3688
- var isObject$5 = isObject$f;
3814
+ var isCallable$5 = isCallable$l;
3689
3815
 
3690
- var aPossiblePrototype$1 = function (it) {
3691
- if (!isObject$5(it) && it !== null) {
3692
- throw TypeError("Can't set " + String(it) + ' as a prototype');
3693
- } return it;
3816
+ 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');
3694
3819
  };
3695
3820
 
3696
3821
  /* eslint-disable no-proto -- safe */
3697
3822
 
3698
- var anObject$4 = anObject$d;
3823
+ var anObject$5 = anObject$e;
3699
3824
  var aPossiblePrototype = aPossiblePrototype$1;
3700
3825
 
3701
3826
  // `Object.setPrototypeOf` method
@@ -3713,7 +3838,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
3713
3838
  CORRECT_SETTER = test instanceof Array;
3714
3839
  } catch (error) { /* empty */ }
3715
3840
  return function setPrototypeOf(O, proto) {
3716
- anObject$4(O);
3841
+ anObject$5(O);
3717
3842
  aPossiblePrototype(proto);
3718
3843
  if (CORRECT_SETTER) setter.call(O, proto);
3719
3844
  else O.__proto__ = proto;
@@ -3722,18 +3847,22 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
3722
3847
  }() : undefined);
3723
3848
 
3724
3849
  'use strict';
3725
- var $$h = _export;
3850
+ var $$e = _export;
3851
+ var IS_PURE$1 = isPure;
3852
+ var FunctionName = functionName;
3853
+ var isCallable$4 = isCallable$l;
3726
3854
  var createIteratorConstructor = createIteratorConstructor$1;
3727
3855
  var getPrototypeOf = objectGetPrototypeOf;
3728
3856
  var setPrototypeOf$1 = objectSetPrototypeOf;
3729
3857
  var setToStringTag$1 = setToStringTag$4;
3730
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$9;
3731
- var redefine$5 = redefine$a.exports;
3858
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$7;
3859
+ var redefine$5 = redefine$b.exports;
3732
3860
  var wellKnownSymbol$9 = wellKnownSymbol$n;
3733
- var IS_PURE$1 = isPure;
3734
3861
  var Iterators$1 = iterators;
3735
3862
  var IteratorsCore = iteratorsCore;
3736
3863
 
3864
+ var PROPER_FUNCTION_NAME$2 = FunctionName.PROPER;
3865
+ var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
3737
3866
  var IteratorPrototype = IteratorsCore.IteratorPrototype;
3738
3867
  var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
3739
3868
  var ITERATOR$1 = wellKnownSymbol$9('iterator');
@@ -3773,8 +3902,8 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA
3773
3902
  if (!IS_PURE$1 && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
3774
3903
  if (setPrototypeOf$1) {
3775
3904
  setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype);
3776
- } else if (typeof CurrentIteratorPrototype[ITERATOR$1] != 'function') {
3777
- createNonEnumerableProperty$3(CurrentIteratorPrototype, ITERATOR$1, returnThis);
3905
+ } else if (!isCallable$4(CurrentIteratorPrototype[ITERATOR$1])) {
3906
+ redefine$5(CurrentIteratorPrototype, ITERATOR$1, returnThis);
3778
3907
  }
3779
3908
  }
3780
3909
  // Set @@toStringTag to native iterators
@@ -3784,16 +3913,14 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA
3784
3913
  }
3785
3914
 
3786
3915
  // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
3787
- if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
3788
- INCORRECT_VALUES_NAME = true;
3789
- defaultIterator = function values() { return nativeIterator.call(this); };
3790
- }
3791
-
3792
- // define iterator
3793
- if ((!IS_PURE$1 || FORCED) && IterablePrototype[ITERATOR$1] !== defaultIterator) {
3794
- createNonEnumerableProperty$3(IterablePrototype, ITERATOR$1, defaultIterator);
3916
+ if (PROPER_FUNCTION_NAME$2 && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
3917
+ if (!IS_PURE$1 && CONFIGURABLE_FUNCTION_NAME) {
3918
+ createNonEnumerableProperty$3(IterablePrototype, 'name', VALUES);
3919
+ } else {
3920
+ INCORRECT_VALUES_NAME = true;
3921
+ defaultIterator = function values() { return nativeIterator.call(this); };
3922
+ }
3795
3923
  }
3796
- Iterators$1[NAME] = defaultIterator;
3797
3924
 
3798
3925
  // export additional methods
3799
3926
  if (DEFAULT) {
@@ -3806,15 +3933,21 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA
3806
3933
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
3807
3934
  redefine$5(IterablePrototype, KEY, methods[KEY]);
3808
3935
  }
3809
- } else $$h({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
3936
+ } else $$e({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
3810
3937
  }
3811
3938
 
3939
+ // define iterator
3940
+ if ((!IS_PURE$1 || FORCED) && IterablePrototype[ITERATOR$1] !== defaultIterator) {
3941
+ redefine$5(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
3942
+ }
3943
+ Iterators$1[NAME] = defaultIterator;
3944
+
3812
3945
  return methods;
3813
3946
  };
3814
3947
 
3815
3948
  'use strict';
3816
3949
  var charAt$1 = stringMultibyte.charAt;
3817
- var toString$8 = toString$c;
3950
+ var toString$7 = toString$b;
3818
3951
  var InternalStateModule$2 = internalState;
3819
3952
  var defineIterator$2 = defineIterator$3;
3820
3953
 
@@ -3827,7 +3960,7 @@ var getInternalState$2 = InternalStateModule$2.getterFor(STRING_ITERATOR);
3827
3960
  defineIterator$2(String, 'String', function (iterated) {
3828
3961
  setInternalState$2(this, {
3829
3962
  type: STRING_ITERATOR,
3830
- string: toString$8(iterated),
3963
+ string: toString$7(iterated),
3831
3964
  index: 0
3832
3965
  });
3833
3966
  // `%StringIteratorPrototype%.next` method
@@ -3845,8 +3978,8 @@ defineIterator$2(String, 'String', function (iterated) {
3845
3978
 
3846
3979
  var es_string_startsWith = {};
3847
3980
 
3848
- var isObject$4 = isObject$f;
3849
- var classof$2 = classofRaw$1;
3981
+ var isObject$4 = isObject$e;
3982
+ var classof$1 = classofRaw$1;
3850
3983
  var wellKnownSymbol$8 = wellKnownSymbol$n;
3851
3984
 
3852
3985
  var MATCH$2 = wellKnownSymbol$8('match');
@@ -3855,7 +3988,7 @@ var MATCH$2 = wellKnownSymbol$8('match');
3855
3988
  // https://tc39.es/ecma262/#sec-isregexp
3856
3989
  var isRegexp = function (it) {
3857
3990
  var isRegExp;
3858
- return isObject$4(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$2(it) == 'RegExp');
3991
+ return isObject$4(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$1(it) == 'RegExp');
3859
3992
  };
3860
3993
 
3861
3994
  var isRegExp$1 = isRegexp;
@@ -3883,10 +4016,10 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
3883
4016
  };
3884
4017
 
3885
4018
  'use strict';
3886
- var $$g = _export;
4019
+ var $$d = _export;
3887
4020
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
3888
- var toLength$6 = toLength$b;
3889
- var toString$7 = toString$c;
4021
+ var toLength$1 = toLength$3;
4022
+ var toString$6 = toString$b;
3890
4023
  var notARegExp = notARegexp;
3891
4024
  var requireObjectCoercible$3 = requireObjectCoercible$7;
3892
4025
  var correctIsRegExpLogic = correctIsRegexpLogic;
@@ -3905,12 +4038,12 @@ var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
3905
4038
 
3906
4039
  // `String.prototype.startsWith` method
3907
4040
  // https://tc39.es/ecma262/#sec-string.prototype.startswith
3908
- $$g({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
4041
+ $$d({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
3909
4042
  startsWith: function startsWith(searchString /* , position = 0 */) {
3910
- var that = toString$7(requireObjectCoercible$3(this));
4043
+ var that = toString$6(requireObjectCoercible$3(this));
3911
4044
  notARegExp(searchString);
3912
- var index = toLength$6(min$2(arguments.length > 1 ? arguments[1] : undefined, that.length));
3913
- var search = toString$7(searchString);
4045
+ var index = toLength$1(min$2(arguments.length > 1 ? arguments[1] : undefined, that.length));
4046
+ var search = toString$6(searchString);
3914
4047
  return $startsWith
3915
4048
  ? $startsWith.call(that, search, index)
3916
4049
  : that.slice(index, index + search.length) === search;
@@ -3920,11 +4053,11 @@ $$g({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_RE
3920
4053
  var es_array_splice = {};
3921
4054
 
3922
4055
  'use strict';
3923
- var $$f = _export;
4056
+ var $$c = _export;
3924
4057
  var toAbsoluteIndex$1 = toAbsoluteIndex$3;
3925
- var toInteger$1 = toInteger$5;
3926
- var toLength$5 = toLength$b;
3927
- var toObject$4 = toObject$b;
4058
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$5;
4059
+ var lengthOfArrayLike$3 = lengthOfArrayLike$8;
4060
+ var toObject$3 = toObject$a;
3928
4061
  var arraySpeciesCreate = arraySpeciesCreate$3;
3929
4062
  var createProperty$1 = createProperty$4;
3930
4063
  var arrayMethodHasSpeciesSupport$3 = arrayMethodHasSpeciesSupport$5;
@@ -3939,10 +4072,10 @@ var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';
3939
4072
  // `Array.prototype.splice` method
3940
4073
  // https://tc39.es/ecma262/#sec-array.prototype.splice
3941
4074
  // with adding support of @@species
3942
- $$f({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, {
4075
+ $$c({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, {
3943
4076
  splice: function splice(start, deleteCount /* , ...items */) {
3944
- var O = toObject$4(this);
3945
- var len = toLength$5(O.length);
4077
+ var O = toObject$3(this);
4078
+ var len = lengthOfArrayLike$3(O);
3946
4079
  var actualStart = toAbsoluteIndex$1(start, len);
3947
4080
  var argumentsLength = arguments.length;
3948
4081
  var insertCount, actualDeleteCount, A, k, from, to;
@@ -3953,7 +4086,7 @@ $$f({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, {
3953
4086
  actualDeleteCount = len - actualStart;
3954
4087
  } else {
3955
4088
  insertCount = argumentsLength - 2;
3956
- actualDeleteCount = min$1(max$2(toInteger$1(deleteCount), 0), len - actualStart);
4089
+ actualDeleteCount = min$1(max$2(toIntegerOrInfinity$1(deleteCount), 0), len - actualStart);
3957
4090
  }
3958
4091
  if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {
3959
4092
  throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
@@ -3991,11 +4124,12 @@ $$f({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, {
3991
4124
  var es_array_slice = {};
3992
4125
 
3993
4126
  'use strict';
3994
- var $$e = _export;
3995
- var isObject$3 = isObject$f;
4127
+ var $$b = _export;
3996
4128
  var isArray = isArray$4;
4129
+ var isConstructor = isConstructor$3;
4130
+ var isObject$3 = isObject$e;
3997
4131
  var toAbsoluteIndex = toAbsoluteIndex$3;
3998
- var toLength$4 = toLength$b;
4132
+ var lengthOfArrayLike$2 = lengthOfArrayLike$8;
3999
4133
  var toIndexedObject$1 = toIndexedObject$9;
4000
4134
  var createProperty = createProperty$4;
4001
4135
  var wellKnownSymbol$6 = wellKnownSymbol$n;
@@ -4010,10 +4144,10 @@ var max$1 = Math.max;
4010
4144
  // `Array.prototype.slice` method
4011
4145
  // https://tc39.es/ecma262/#sec-array.prototype.slice
4012
4146
  // fallback for not array-like ES3 strings and DOM objects
4013
- $$e({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
4147
+ $$b({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
4014
4148
  slice: function slice(start, end) {
4015
4149
  var O = toIndexedObject$1(this);
4016
- var length = toLength$4(O.length);
4150
+ var length = lengthOfArrayLike$2(O);
4017
4151
  var k = toAbsoluteIndex(start, length);
4018
4152
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
4019
4153
  // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
@@ -4021,7 +4155,7 @@ $$e({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
4021
4155
  if (isArray(O)) {
4022
4156
  Constructor = O.constructor;
4023
4157
  // cross-realm fallback
4024
- if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
4158
+ if (isConstructor(Constructor) && (Constructor === Array || isArray(Constructor.prototype))) {
4025
4159
  Constructor = undefined;
4026
4160
  } else if (isObject$3(Constructor)) {
4027
4161
  Constructor = Constructor[SPECIES$2];
@@ -4038,84 +4172,23 @@ $$e({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
4038
4172
  }
4039
4173
  });
4040
4174
 
4041
- var es_parseFloat = {};
4042
-
4043
- // a string of all valid unicode whitespaces
4044
- var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
4045
- '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
4046
-
4047
- var requireObjectCoercible$2 = requireObjectCoercible$7;
4048
- var toString$6 = toString$c;
4049
- var whitespaces$2 = whitespaces$3;
4050
-
4051
- var whitespace = '[' + whitespaces$2 + ']';
4052
- var ltrim = RegExp('^' + whitespace + whitespace + '*');
4053
- var rtrim = RegExp(whitespace + whitespace + '*$');
4054
-
4055
- // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
4056
- var createMethod$1 = function (TYPE) {
4057
- return function ($this) {
4058
- var string = toString$6(requireObjectCoercible$2($this));
4059
- if (TYPE & 1) string = string.replace(ltrim, '');
4060
- if (TYPE & 2) string = string.replace(rtrim, '');
4061
- return string;
4062
- };
4063
- };
4064
-
4065
- var stringTrim = {
4066
- // `String.prototype.{ trimLeft, trimStart }` methods
4067
- // https://tc39.es/ecma262/#sec-string.prototype.trimstart
4068
- start: createMethod$1(1),
4069
- // `String.prototype.{ trimRight, trimEnd }` methods
4070
- // https://tc39.es/ecma262/#sec-string.prototype.trimend
4071
- end: createMethod$1(2),
4072
- // `String.prototype.trim` method
4073
- // https://tc39.es/ecma262/#sec-string.prototype.trim
4074
- trim: createMethod$1(3)
4075
- };
4076
-
4077
- var global$8 = global$m;
4078
- var toString$5 = toString$c;
4079
- var trim = stringTrim.trim;
4080
- var whitespaces$1 = whitespaces$3;
4081
-
4082
- var $parseFloat = global$8.parseFloat;
4083
- var FORCED$1 = 1 / $parseFloat(whitespaces$1 + '-0') !== -Infinity;
4084
-
4085
- // `parseFloat` method
4086
- // https://tc39.es/ecma262/#sec-parsefloat-string
4087
- var numberParseFloat = FORCED$1 ? function parseFloat(string) {
4088
- var trimmedString = trim(toString$5(string));
4089
- var result = $parseFloat(trimmedString);
4090
- return result === 0 && trimmedString.charAt(0) == '-' ? -0 : result;
4091
- } : $parseFloat;
4092
-
4093
- var $$d = _export;
4094
- var parseFloatImplementation = numberParseFloat;
4095
-
4096
- // `parseFloat` method
4097
- // https://tc39.es/ecma262/#sec-parsefloat-string
4098
- $$d({ global: true, forced: parseFloat != parseFloatImplementation }, {
4099
- parseFloat: parseFloatImplementation
4100
- });
4101
-
4102
4175
  var es_string_anchor = {};
4103
4176
 
4104
- var requireObjectCoercible$1 = requireObjectCoercible$7;
4105
- var toString$4 = toString$c;
4177
+ var requireObjectCoercible$2 = requireObjectCoercible$7;
4178
+ var toString$5 = toString$b;
4106
4179
 
4107
4180
  var quot = /"/g;
4108
4181
 
4109
4182
  // `CreateHTML` abstract operation
4110
4183
  // https://tc39.es/ecma262/#sec-createhtml
4111
4184
  var createHtml = function (string, tag, attribute, value) {
4112
- var S = toString$4(requireObjectCoercible$1(string));
4185
+ var S = toString$5(requireObjectCoercible$2(string));
4113
4186
  var p1 = '<' + tag;
4114
- if (attribute !== '') p1 += ' ' + attribute + '="' + toString$4(value).replace(quot, '&quot;') + '"';
4187
+ if (attribute !== '') p1 += ' ' + attribute + '="' + toString$5(value).replace(quot, '&quot;') + '"';
4115
4188
  return p1 + '>' + S + '</' + tag + '>';
4116
4189
  };
4117
4190
 
4118
- var fails$c = fails$o;
4191
+ var fails$c = fails$p;
4119
4192
 
4120
4193
  // check the existence of a method, lowercase
4121
4194
  // of a tag and escaping quotes in arguments
@@ -4127,110 +4200,18 @@ var stringHtmlForced = function (METHOD_NAME) {
4127
4200
  };
4128
4201
 
4129
4202
  'use strict';
4130
- var $$c = _export;
4203
+ var $$a = _export;
4131
4204
  var createHTML = createHtml;
4132
4205
  var forcedStringHTMLMethod = stringHtmlForced;
4133
4206
 
4134
4207
  // `String.prototype.anchor` method
4135
4208
  // https://tc39.es/ecma262/#sec-string.prototype.anchor
4136
- $$c({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, {
4209
+ $$a({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, {
4137
4210
  anchor: function anchor(name) {
4138
4211
  return createHTML(this, 'a', 'name', name);
4139
4212
  }
4140
4213
  });
4141
4214
 
4142
- var es_array_indexOf = {};
4143
-
4144
- 'use strict';
4145
- /* eslint-disable es/no-array-prototype-indexof -- required for testing */
4146
- var $$b = _export;
4147
- var $indexOf = arrayIncludes.indexOf;
4148
- var arrayMethodIsStrict$2 = arrayMethodIsStrict$4;
4149
-
4150
- var nativeIndexOf = [].indexOf;
4151
-
4152
- var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
4153
- var STRICT_METHOD$2 = arrayMethodIsStrict$2('indexOf');
4154
-
4155
- // `Array.prototype.indexOf` method
4156
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
4157
- $$b({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD$2 }, {
4158
- indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
4159
- return NEGATIVE_ZERO
4160
- // convert -0 to +0
4161
- ? nativeIndexOf.apply(this, arguments) || 0
4162
- : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);
4163
- }
4164
- });
4165
-
4166
- var es_array_reduce = {};
4167
-
4168
- var aFunction$1 = aFunction$3;
4169
- var toObject$3 = toObject$b;
4170
- var IndexedObject$1 = indexedObject;
4171
- var toLength$3 = toLength$b;
4172
-
4173
- // `Array.prototype.{ reduce, reduceRight }` methods implementation
4174
- var createMethod = function (IS_RIGHT) {
4175
- return function (that, callbackfn, argumentsLength, memo) {
4176
- aFunction$1(callbackfn);
4177
- var O = toObject$3(that);
4178
- var self = IndexedObject$1(O);
4179
- var length = toLength$3(O.length);
4180
- var index = IS_RIGHT ? length - 1 : 0;
4181
- var i = IS_RIGHT ? -1 : 1;
4182
- if (argumentsLength < 2) while (true) {
4183
- if (index in self) {
4184
- memo = self[index];
4185
- index += i;
4186
- break;
4187
- }
4188
- index += i;
4189
- if (IS_RIGHT ? index < 0 : length <= index) {
4190
- throw TypeError('Reduce of empty array with no initial value');
4191
- }
4192
- }
4193
- for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
4194
- memo = callbackfn(memo, self[index], index, O);
4195
- }
4196
- return memo;
4197
- };
4198
- };
4199
-
4200
- var arrayReduce = {
4201
- // `Array.prototype.reduce` method
4202
- // https://tc39.es/ecma262/#sec-array.prototype.reduce
4203
- left: createMethod(false),
4204
- // `Array.prototype.reduceRight` method
4205
- // https://tc39.es/ecma262/#sec-array.prototype.reduceright
4206
- right: createMethod(true)
4207
- };
4208
-
4209
- var classof$1 = classofRaw$1;
4210
- var global$7 = global$m;
4211
-
4212
- var engineIsNode = classof$1(global$7.process) == 'process';
4213
-
4214
- 'use strict';
4215
- var $$a = _export;
4216
- var $reduce = arrayReduce.left;
4217
- var arrayMethodIsStrict$1 = arrayMethodIsStrict$4;
4218
- var CHROME_VERSION = engineV8Version;
4219
- var IS_NODE = engineIsNode;
4220
-
4221
- var STRICT_METHOD$1 = arrayMethodIsStrict$1('reduce');
4222
- // Chrome 80-82 has a critical bug
4223
- // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
4224
- var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
4225
-
4226
- // `Array.prototype.reduce` method
4227
- // https://tc39.es/ecma262/#sec-array.prototype.reduce
4228
- $$a({ target: 'Array', proto: true, forced: !STRICT_METHOD$1 || CHROME_BUG }, {
4229
- reduce: function reduce(callbackfn /* , initialValue */) {
4230
- return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
4231
- }
4232
- });
4233
-
4234
4215
  var es_array_find = {};
4235
4216
 
4236
4217
  var wellKnownSymbol$5 = wellKnownSymbol$n;
@@ -4278,7 +4259,8 @@ addToUnscopables$2(FIND);
4278
4259
 
4279
4260
  var es_regexp_constructor = {};
4280
4261
 
4281
- var isObject$2 = isObject$f;
4262
+ var isCallable$3 = isCallable$l;
4263
+ var isObject$2 = isObject$e;
4282
4264
  var setPrototypeOf = objectSetPrototypeOf;
4283
4265
 
4284
4266
  // makes subclassing work correct for wrapped built-ins
@@ -4288,7 +4270,7 @@ var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
4288
4270
  // it can work only with native `setPrototypeOf`
4289
4271
  setPrototypeOf &&
4290
4272
  // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
4291
- typeof (NewTarget = dummy.constructor) == 'function' &&
4273
+ isCallable$3(NewTarget = dummy.constructor) &&
4292
4274
  NewTarget !== Wrapper &&
4293
4275
  isObject$2(NewTargetPrototype = NewTarget.prototype) &&
4294
4276
  NewTargetPrototype !== Wrapper.prototype
@@ -4297,12 +4279,12 @@ var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
4297
4279
  };
4298
4280
 
4299
4281
  'use strict';
4300
- var anObject$3 = anObject$d;
4282
+ var anObject$4 = anObject$e;
4301
4283
 
4302
4284
  // `RegExp.prototype.flags` getter implementation
4303
4285
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
4304
4286
  var regexpFlags$1 = function () {
4305
- var that = anObject$3(this);
4287
+ var that = anObject$4(this);
4306
4288
  var result = '';
4307
4289
  if (that.global) result += 'g';
4308
4290
  if (that.ignoreCase) result += 'i';
@@ -4315,8 +4297,8 @@ var regexpFlags$1 = function () {
4315
4297
 
4316
4298
  var regexpStickyHelpers = {};
4317
4299
 
4318
- var fails$b = fails$o;
4319
- var global$6 = global$m;
4300
+ var fails$b = fails$p;
4301
+ var global$6 = global$k;
4320
4302
 
4321
4303
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
4322
4304
  var $RegExp$2 = global$6.RegExp;
@@ -4335,7 +4317,7 @@ var BROKEN_CARET = regexpStickyHelpers.BROKEN_CARET = fails$b(function () {
4335
4317
  });
4336
4318
 
4337
4319
  'use strict';
4338
- var getBuiltIn = getBuiltIn$6;
4320
+ var getBuiltIn = getBuiltIn$7;
4339
4321
  var definePropertyModule = objectDefineProperty;
4340
4322
  var wellKnownSymbol$4 = wellKnownSymbol$n;
4341
4323
  var DESCRIPTORS$3 = descriptors;
@@ -4354,8 +4336,8 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
4354
4336
  }
4355
4337
  };
4356
4338
 
4357
- var fails$a = fails$o;
4358
- var global$5 = global$m;
4339
+ var fails$a = fails$p;
4340
+ var global$5 = global$k;
4359
4341
 
4360
4342
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
4361
4343
  var $RegExp$1 = global$5.RegExp;
@@ -4365,8 +4347,8 @@ var regexpUnsupportedDotAll = fails$a(function () {
4365
4347
  return !(re.dotAll && re.exec('\n') && re.flags === 's');
4366
4348
  });
4367
4349
 
4368
- var fails$9 = fails$o;
4369
- var global$4 = global$m;
4350
+ var fails$9 = fails$p;
4351
+ var global$4 = global$k;
4370
4352
 
4371
4353
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
4372
4354
  var $RegExp = global$4.RegExp;
@@ -4378,19 +4360,19 @@ var regexpUnsupportedNcg = fails$9(function () {
4378
4360
  });
4379
4361
 
4380
4362
  var DESCRIPTORS$2 = descriptors;
4381
- var global$3 = global$m;
4363
+ var global$3 = global$k;
4382
4364
  var isForced$1 = isForced_1;
4383
4365
  var inheritIfRequired$1 = inheritIfRequired$2;
4384
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$9;
4366
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
4385
4367
  var defineProperty$3 = objectDefineProperty.f;
4386
4368
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
4387
4369
  var isRegExp = isRegexp;
4388
- var toString$3 = toString$c;
4370
+ var toString$4 = toString$b;
4389
4371
  var getFlags = regexpFlags$1;
4390
4372
  var stickyHelpers$1 = regexpStickyHelpers;
4391
- var redefine$4 = redefine$a.exports;
4392
- var fails$8 = fails$o;
4393
- var has$1 = has$d;
4373
+ var redefine$4 = redefine$b.exports;
4374
+ var fails$8 = fails$p;
4375
+ var hasOwn$1 = hasOwnProperty_1;
4394
4376
  var enforceInternalState = internalState.enforce;
4395
4377
  var setSpecies$1 = setSpecies$2;
4396
4378
  var wellKnownSymbol$3 = wellKnownSymbol$n;
@@ -4471,7 +4453,7 @@ var handleNCG = function (string) {
4471
4453
  groupid++;
4472
4454
  continue;
4473
4455
  case chr === '>' && ncg:
4474
- if (groupname === '' || has$1(names, groupname)) {
4456
+ if (groupname === '' || hasOwn$1(names, groupname)) {
4475
4457
  throw new SyntaxError('Invalid capture group name');
4476
4458
  }
4477
4459
  names[groupname] = true;
@@ -4505,8 +4487,8 @@ if (isForced$1('RegExp', BASE_FORCED)) {
4505
4487
  if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : getFlags.call(rawPattern);
4506
4488
  }
4507
4489
 
4508
- pattern = pattern === undefined ? '' : toString$3(pattern);
4509
- flags = flags === undefined ? '' : toString$3(flags);
4490
+ pattern = pattern === undefined ? '' : toString$4(pattern);
4491
+ flags = flags === undefined ? '' : toString$4(flags);
4510
4492
  rawPattern = pattern;
4511
4493
 
4512
4494
  if (UNSUPPORTED_DOT_ALL$1 && 'dotAll' in re1) {
@@ -4572,7 +4554,7 @@ var es_regexp_exec = {};
4572
4554
  'use strict';
4573
4555
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
4574
4556
  /* eslint-disable regexp/no-useless-quantifier -- testing */
4575
- var toString$2 = toString$c;
4557
+ var toString$3 = toString$b;
4576
4558
  var regexpFlags = regexpFlags$1;
4577
4559
  var stickyHelpers = regexpStickyHelpers;
4578
4560
  var shared = shared$6.exports;
@@ -4606,7 +4588,7 @@ if (PATCH) {
4606
4588
  patchedExec = function exec(string) {
4607
4589
  var re = this;
4608
4590
  var state = getInternalState$1(re);
4609
- var str = toString$2(string);
4591
+ var str = toString$3(string);
4610
4592
  var raw = state.raw;
4611
4593
  var result, reCopy, lastIndex, match, i, object, group;
4612
4594
 
@@ -4696,10 +4678,11 @@ $$8({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
4696
4678
  var es_regexp_toString = {};
4697
4679
 
4698
4680
  'use strict';
4699
- var redefine$3 = redefine$a.exports;
4700
- var anObject$2 = anObject$d;
4701
- var $toString = toString$c;
4702
- var fails$7 = fails$o;
4681
+ var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
4682
+ var redefine$3 = redefine$b.exports;
4683
+ var anObject$3 = anObject$e;
4684
+ var $toString = toString$b;
4685
+ var fails$7 = fails$p;
4703
4686
  var flags = regexpFlags$1;
4704
4687
 
4705
4688
  var TO_STRING = 'toString';
@@ -4708,13 +4691,13 @@ var nativeToString = RegExpPrototype$1[TO_STRING];
4708
4691
 
4709
4692
  var NOT_GENERIC = fails$7(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
4710
4693
  // FF44- RegExp#toString has a wrong name
4711
- var INCORRECT_NAME = nativeToString.name != TO_STRING;
4694
+ var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name != TO_STRING;
4712
4695
 
4713
4696
  // `RegExp.prototype.toString` method
4714
4697
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
4715
4698
  if (NOT_GENERIC || INCORRECT_NAME) {
4716
4699
  redefine$3(RegExp.prototype, TO_STRING, function toString() {
4717
- var R = anObject$2(this);
4700
+ var R = anObject$3(this);
4718
4701
  var p = $toString(R.source);
4719
4702
  var rf = R.flags;
4720
4703
  var f = $toString(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype$1) ? flags.call(R) : rf);
@@ -4727,11 +4710,11 @@ var es_string_replace = {};
4727
4710
  'use strict';
4728
4711
  // TODO: Remove from `core-js@4` since it's moved to entry points
4729
4712
 
4730
- var redefine$2 = redefine$a.exports;
4713
+ var redefine$2 = redefine$b.exports;
4731
4714
  var regexpExec$1 = regexpExec$2;
4732
- var fails$6 = fails$o;
4715
+ var fails$6 = fails$p;
4733
4716
  var wellKnownSymbol$2 = wellKnownSymbol$n;
4734
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$9;
4717
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
4735
4718
 
4736
4719
  var SPECIES = wellKnownSymbol$2('species');
4737
4720
  var RegExpPrototype = RegExp.prototype;
@@ -4806,7 +4789,7 @@ var advanceStringIndex$1 = function (S, index, unicode) {
4806
4789
  return index + (unicode ? charAt(S, index).length : 1);
4807
4790
  };
4808
4791
 
4809
- var toObject$2 = toObject$b;
4792
+ var toObject$2 = toObject$a;
4810
4793
 
4811
4794
  var floor$1 = Math.floor;
4812
4795
  var replace = ''.replace;
@@ -4848,6 +4831,8 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
4848
4831
  });
4849
4832
  };
4850
4833
 
4834
+ var anObject$2 = anObject$e;
4835
+ var isCallable$2 = isCallable$l;
4851
4836
  var classof = classofRaw$1;
4852
4837
  var regexpExec = regexpExec$2;
4853
4838
 
@@ -4855,30 +4840,26 @@ var regexpExec = regexpExec$2;
4855
4840
  // https://tc39.es/ecma262/#sec-regexpexec
4856
4841
  var regexpExecAbstract = function (R, S) {
4857
4842
  var exec = R.exec;
4858
- if (typeof exec === 'function') {
4843
+ if (isCallable$2(exec)) {
4859
4844
  var result = exec.call(R, S);
4860
- if (typeof result !== 'object') {
4861
- throw TypeError('RegExp exec method returned something other than an Object or null');
4862
- }
4845
+ if (result !== null) anObject$2(result);
4863
4846
  return result;
4864
4847
  }
4865
-
4866
- if (classof(R) !== 'RegExp') {
4867
- throw TypeError('RegExp#exec called on incompatible receiver');
4868
- }
4869
-
4870
- return regexpExec.call(R, S);
4848
+ if (classof(R) === 'RegExp') return regexpExec.call(R, S);
4849
+ throw TypeError('RegExp#exec called on incompatible receiver');
4871
4850
  };
4872
4851
 
4873
4852
  'use strict';
4874
4853
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
4875
- var fails$5 = fails$o;
4876
- var anObject$1 = anObject$d;
4877
- var toInteger = toInteger$5;
4878
- var toLength$2 = toLength$b;
4879
- var toString$1 = toString$c;
4880
- var requireObjectCoercible = requireObjectCoercible$7;
4854
+ var fails$5 = fails$p;
4855
+ var anObject$1 = anObject$e;
4856
+ var isCallable$1 = isCallable$l;
4857
+ var toIntegerOrInfinity = toIntegerOrInfinity$5;
4858
+ var toLength = toLength$3;
4859
+ var toString$2 = toString$b;
4860
+ var requireObjectCoercible$1 = requireObjectCoercible$7;
4881
4861
  var advanceStringIndex = advanceStringIndex$1;
4862
+ var getMethod = getMethod$4;
4882
4863
  var getSubstitution = getSubstitution$1;
4883
4864
  var regExpExec = regexpExecAbstract;
4884
4865
  var wellKnownSymbol$1 = wellKnownSymbol$n;
@@ -4925,17 +4906,17 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4925
4906
  // `String.prototype.replace` method
4926
4907
  // https://tc39.es/ecma262/#sec-string.prototype.replace
4927
4908
  function replace(searchValue, replaceValue) {
4928
- var O = requireObjectCoercible(this);
4929
- var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
4930
- return replacer !== undefined
4909
+ var O = requireObjectCoercible$1(this);
4910
+ var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);
4911
+ return replacer
4931
4912
  ? replacer.call(searchValue, O, replaceValue)
4932
- : nativeReplace.call(toString$1(O), searchValue, replaceValue);
4913
+ : nativeReplace.call(toString$2(O), searchValue, replaceValue);
4933
4914
  },
4934
4915
  // `RegExp.prototype[@@replace]` method
4935
4916
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
4936
4917
  function (string, replaceValue) {
4937
4918
  var rx = anObject$1(this);
4938
- var S = toString$1(string);
4919
+ var S = toString$2(string);
4939
4920
 
4940
4921
  if (
4941
4922
  typeof replaceValue === 'string' &&
@@ -4946,8 +4927,8 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4946
4927
  if (res.done) return res.value;
4947
4928
  }
4948
4929
 
4949
- var functionalReplace = typeof replaceValue === 'function';
4950
- if (!functionalReplace) replaceValue = toString$1(replaceValue);
4930
+ var functionalReplace = isCallable$1(replaceValue);
4931
+ if (!functionalReplace) replaceValue = toString$2(replaceValue);
4951
4932
 
4952
4933
  var global = rx.global;
4953
4934
  if (global) {
@@ -4962,8 +4943,8 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4962
4943
  results.push(result);
4963
4944
  if (!global) break;
4964
4945
 
4965
- var matchStr = toString$1(result[0]);
4966
- if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength$2(rx.lastIndex), fullUnicode);
4946
+ var matchStr = toString$2(result[0]);
4947
+ if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
4967
4948
  }
4968
4949
 
4969
4950
  var accumulatedResult = '';
@@ -4971,8 +4952,8 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4971
4952
  for (var i = 0; i < results.length; i++) {
4972
4953
  result = results[i];
4973
4954
 
4974
- var matched = toString$1(result[0]);
4975
- var position = max(min(toInteger(result.index), S.length), 0);
4955
+ var matched = toString$2(result[0]);
4956
+ var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
4976
4957
  var captures = [];
4977
4958
  // NOTE: This is equivalent to
4978
4959
  // captures = result.slice(1).map(maybeToString)
@@ -4984,7 +4965,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4984
4965
  if (functionalReplace) {
4985
4966
  var replacerArgs = [matched].concat(captures, position, S);
4986
4967
  if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
4987
- var replacement = toString$1(replaceValue.apply(undefined, replacerArgs));
4968
+ var replacement = toString$2(replaceValue.apply(undefined, replacerArgs));
4988
4969
  } else {
4989
4970
  replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
4990
4971
  }
@@ -5094,7 +5075,7 @@ var defaultOptions$1 = {
5094
5075
  Emits the following events:
5095
5076
  ---------------------------
5096
5077
 
5097
- 'itemfocus' {value, item}: item gained focus.
5078
+ 'itemfocus' {value, item, event}: item gained focus.
5098
5079
  'itemblur' {value, item}: item lost focus.
5099
5080
  'select' {value, item}: item was selected (in single mode).
5100
5081
  'show:before': the drop list will show.
@@ -5139,12 +5120,14 @@ var DropList = /*#__PURE__*/function () {
5139
5120
  valueProp: o.valueProp,
5140
5121
  renderItem: o.renderItem,
5141
5122
  unrenderItem: o.unrenderItem,
5142
- on: o.on,
5123
+ on: o.on || null,
5124
+ silenceEvents: true,
5125
+ mitt: mitt__default["default"](),
5143
5126
 
5144
5127
  focusItemIndex: -1,
5145
5128
  focusItemEl: null,
5146
5129
 
5147
- sink: new DomEventsSink__default['default']() };
5130
+ sink: new DomEventsSink__default["default"]() };
5148
5131
 
5149
5132
 
5150
5133
  var classes = [p.baseClassName];
@@ -5181,7 +5164,7 @@ var DropList = /*#__PURE__*/function () {
5181
5164
 
5182
5165
  p.mouseHandled = false;
5183
5166
 
5184
- p.virtualListHelper = new VirtualListHelper__default['default']({
5167
+ p.virtualListHelper = new VirtualListHelper__default["default"]({
5185
5168
  list: p.el,
5186
5169
  virtual: true,
5187
5170
  buffer: 5,
@@ -5278,6 +5261,8 @@ var DropList = /*#__PURE__*/function () {
5278
5261
  this._hookTouchEvents();
5279
5262
  this._hookFocusEvents();
5280
5263
  this._hookKeyEvents();
5264
+
5265
+ this.silenceEvents = false;
5281
5266
  }_createClass(DropList, [{ key: "destroy", value:
5282
5267
 
5283
5268
  function destroy() {
@@ -6102,7 +6087,7 @@ var DropList = /*#__PURE__*/function () {
6102
6087
  el.classList.add("".concat(p.baseClassName, "__is-hiding"));
6103
6088
 
6104
6089
  // support for hide transition in css
6105
- var maxTransitionDuration = parseCssTransition__default['default'](getComputedStyle(p.el).transition).
6090
+ var maxTransitionDuration = Css.parseTransition(getComputedStyle(p.el).transition).
6106
6091
  reduce(function (p, v) {return Math.max(p, v.delay + v.duration);}, 0);
6107
6092
 
6108
6093
  if (maxTransitionDuration > 0) {
@@ -6184,7 +6169,7 @@ var DropList = /*#__PURE__*/function () {
6184
6169
  itemElement.classList.add("".concat(p.baseClassName, "__item_focus"));
6185
6170
  p.focusItemEl = itemElement;
6186
6171
 
6187
- this._trigger('itemfocus', { value: itemElement[p.valueProp], item: itemElement[ItemSymbol$1] });
6172
+ this._trigger('itemfocus', { value: itemElement[p.valueProp], item: itemElement[ItemSymbol$1], event: null });
6188
6173
  }
6189
6174
  }
6190
6175
 
@@ -6285,6 +6270,58 @@ var DropList = /*#__PURE__*/function () {
6285
6270
  }
6286
6271
  }
6287
6272
 
6273
+ return this;
6274
+ }
6275
+
6276
+ /**
6277
+ * Register an event handler
6278
+ * @param {(string|'*')?} event
6279
+ * @param {function(any)} handler
6280
+ * @returns {DropList}
6281
+ */ }, { key: "on", value:
6282
+ function on( /**string|'*'*/event, /**Function?*/handler) {
6283
+ this._p.mitt.on(event, handler);
6284
+ return this;
6285
+ }
6286
+
6287
+ /**
6288
+ * Register a one time event handler
6289
+ * @param {(string|'*')?} event
6290
+ * @param {function(any)} handler
6291
+ * @returns {DropList}
6292
+ */ }, { key: "once", value:
6293
+ function once( /**string|'*'*/event, /**Function?*/handler) {var _this4 = this;
6294
+ var wrapped = function wrapped(value) {
6295
+ _this4._p.mitt.off(event, wrapped);
6296
+ handler(value);
6297
+ };
6298
+ this._p.mitt.on(event, wrapped);
6299
+ return this;
6300
+ }
6301
+
6302
+ /**
6303
+ * Remove an `handler` for `event`, all events for `event`, or all events completely.
6304
+ * @param {(string|'*')?} event
6305
+ * @param {function(any)} handler
6306
+ * @returns {DropList}
6307
+ */ }, { key: "off", value:
6308
+ function off( /**(string|'*')?*/event, /**Function?*/handler) {
6309
+ if (!event && !event) {
6310
+ this._p.mitt.all.clear();
6311
+ } else {
6312
+ this._p.mitt.off(event, handler);
6313
+ }
6314
+ return this;
6315
+ }
6316
+
6317
+ /**
6318
+ * Emit an event
6319
+ * @param {string} event
6320
+ * @param {any} value
6321
+ * @returns {DropList}
6322
+ */ }, { key: "emit", value:
6323
+ function emit( /**string|'*'*/event, /**any?*/value) {
6324
+ this._p.mitt.emit(event, value);
6288
6325
  return this;
6289
6326
  } }, { key: "_getItemIndex", value:
6290
6327
 
@@ -6330,9 +6367,10 @@ var DropList = /*#__PURE__*/function () {
6330
6367
  var p = this._p;
6331
6368
  if (p.on)
6332
6369
  p.on.apply(p, [event].concat(_toConsumableArray(data === undefined ? [] : [data])));
6370
+ p.mitt.emit(event, data);
6333
6371
  } }, { key: "_itemUpAction", value:
6334
6372
 
6335
- function _itemUpAction(event, itemEl) {var _this4 = this;
6373
+ function _itemUpAction(event, itemEl) {var _this5 = this;
6336
6374
  if (Dom.closestUntil(event.target, '.requires-pointer-events,button', itemEl)) return;
6337
6375
 
6338
6376
  var p = this._p;
@@ -6352,12 +6390,12 @@ var DropList = /*#__PURE__*/function () {
6352
6390
  }
6353
6391
 
6354
6392
  setTimeout(function () {
6355
- _this4._mouseHandled = false;
6393
+ _this5._mouseHandled = false;
6356
6394
  }, 0);
6357
6395
  }
6358
6396
  } }, { key: "_hookMouseEvents", value:
6359
6397
 
6360
- function _hookMouseEvents() {var _this5 = this;
6398
+ function _hookMouseEvents() {var _this6 = this;
6361
6399
  var p = this._p;
6362
6400
 
6363
6401
  p.sink.
@@ -6373,13 +6411,13 @@ var DropList = /*#__PURE__*/function () {
6373
6411
 
6374
6412
  if (event.button !== 0) return;
6375
6413
 
6376
- _this5._itemUpAction(event, li);
6414
+ _this6._itemUpAction(event, li);
6377
6415
  }).
6378
6416
  add(p.el, 'mouseover', function (event) {
6379
6417
  var li = Dom.closestUntil(event.target, 'li', event.currentTarget);
6380
6418
  if (!li) return;
6381
6419
 
6382
- _this5._handleMouseOver(event, li);
6420
+ _this6._handleMouseOver(event, li);
6383
6421
  });
6384
6422
  } }, { key: "_handleMouseOver", value:
6385
6423
 
@@ -6387,7 +6425,7 @@ var DropList = /*#__PURE__*/function () {
6387
6425
  this._focus(event, itemEl);
6388
6426
  } }, { key: "_hookTouchEvents", value:
6389
6427
 
6390
- function _hookTouchEvents() {var _this6 = this;
6428
+ function _hookTouchEvents() {var _this7 = this;
6391
6429
  var p = this._p;
6392
6430
 
6393
6431
  var currentTouchId;
@@ -6402,7 +6440,7 @@ var DropList = /*#__PURE__*/function () {
6402
6440
  currentTouchId = event.changedTouches[0].identifier;
6403
6441
 
6404
6442
  // Simulate mouseover event
6405
- _this6._handleMouseOver(event, li);
6443
+ _this7._handleMouseOver(event, li);
6406
6444
 
6407
6445
  // Track scrolling
6408
6446
  var didScroll = false;
@@ -6433,14 +6471,14 @@ var DropList = /*#__PURE__*/function () {
6433
6471
  onTouchCancel();
6434
6472
 
6435
6473
  if (!didScroll) {
6436
- _this6._itemUpAction(event, li);
6474
+ _this7._itemUpAction(event, li);
6437
6475
  event.preventDefault();
6438
6476
  }
6439
6477
  });
6440
6478
  });
6441
6479
  } }, { key: "_hookFocusEvents", value:
6442
6480
 
6443
- function _hookFocusEvents() {var _this7 = this;
6481
+ function _hookFocusEvents() {var _this8 = this;
6444
6482
  var p = this._p;
6445
6483
 
6446
6484
  p.sink.
@@ -6448,24 +6486,24 @@ var DropList = /*#__PURE__*/function () {
6448
6486
  var itemEl = p.focusItemEl || // focused item
6449
6487
  p.el.firstChild; // or the first item
6450
6488
 
6451
- _this7._focus(event, itemEl);
6489
+ _this8._focus(event, itemEl);
6452
6490
  }).
6453
6491
  add(p.el, 'blur', function () {
6454
6492
  setTimeout(function () {
6455
- if (_this7[DestroyedSymbol$1]) return;
6493
+ if (_this8[DestroyedSymbol$1]) return;
6456
6494
 
6457
6495
  if (!p.el.contains(document.activeElement)) {
6458
- _this7._delayBlur();
6496
+ _this8._delayBlur();
6459
6497
  }
6460
6498
  });
6461
6499
  });
6462
6500
  } }, { key: "_hookKeyEvents", value:
6463
6501
 
6464
- function _hookKeyEvents() {var _this8 = this;
6502
+ function _hookKeyEvents() {var _this9 = this;
6465
6503
  var p = this._p;
6466
6504
 
6467
- p.sink.add(p.el, 'keydown', function (evt) {return _this8._keydown(evt);});
6468
- p.sink.add(p.el, 'keypress', function (evt) {return _this8._keydown(evt);});
6505
+ p.sink.add(p.el, 'keydown', function (evt) {return _this9._keydown(evt);});
6506
+ p.sink.add(p.el, 'keypress', function (evt) {return _this9._keydown(evt);});
6469
6507
  } }, { key: "_keydown", value:
6470
6508
 
6471
6509
  function _keydown(event) {
@@ -6633,7 +6671,7 @@ var DropList = /*#__PURE__*/function () {
6633
6671
  p.focusItemIndex = itemIndex;
6634
6672
 
6635
6673
  var item = p.items[itemIndex];
6636
- this._trigger('itemfocus', { value: item[p.valueProp], item: item });
6674
+ this._trigger('itemfocus', { value: item[p.valueProp], item: item, event: event });
6637
6675
  }
6638
6676
  } else {
6639
6677
  // This could happen if trying to focus a grouped item
@@ -6641,7 +6679,7 @@ var DropList = /*#__PURE__*/function () {
6641
6679
  }
6642
6680
  } }, { key: "_delayBlur", value:
6643
6681
 
6644
- function _delayBlur() {var _this9 = this;
6682
+ function _delayBlur() {var _this10 = this;
6645
6683
  if (this[DestroyedSymbol$1])
6646
6684
  return;
6647
6685
 
@@ -6650,8 +6688,8 @@ var DropList = /*#__PURE__*/function () {
6650
6688
  clearTimeout(p.timer);
6651
6689
 
6652
6690
  p.timer = setTimeout(function () {
6653
- if (_this9[DestroyedSymbol$1]) return;
6654
- _this9.blurFocusedItem();
6691
+ if (_this10[DestroyedSymbol$1]) return;
6692
+ _this10.blurFocusedItem();
6655
6693
  }, p.itemBlurDelay);
6656
6694
  } }, { key: "_move", value:
6657
6695
 
@@ -7094,7 +7132,7 @@ addToUnscopables$1('entries');
7094
7132
 
7095
7133
  var internalMetadata$1 = {exports: {}};
7096
7134
 
7097
- var fails$4 = fails$o;
7135
+ var fails$4 = fails$p;
7098
7136
 
7099
7137
  var freezing = !fails$4(function () {
7100
7138
  // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing
@@ -7103,8 +7141,8 @@ var freezing = !fails$4(function () {
7103
7141
 
7104
7142
  var $$7 = _export;
7105
7143
  var hiddenKeys = hiddenKeys$6;
7106
- var isObject$1 = isObject$f;
7107
- var has = has$d;
7144
+ var isObject$1 = isObject$e;
7145
+ var hasOwn = hasOwnProperty_1;
7108
7146
  var defineProperty$2 = objectDefineProperty.f;
7109
7147
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
7110
7148
  var getOwnPropertyNamesExternalModule = objectGetOwnPropertyNamesExternal;
@@ -7130,7 +7168,7 @@ var setMetadata = function (it) {
7130
7168
  var fastKey$1 = function (it, create) {
7131
7169
  // return a primitive with prefix
7132
7170
  if (!isObject$1(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
7133
- if (!has(it, METADATA)) {
7171
+ if (!hasOwn(it, METADATA)) {
7134
7172
  // can't set metadata to uncaught frozen object
7135
7173
  if (!isExtensible(it)) return 'F';
7136
7174
  // not necessary to add metadata
@@ -7142,7 +7180,7 @@ var fastKey$1 = function (it, create) {
7142
7180
  };
7143
7181
 
7144
7182
  var getWeakData = function (it, create) {
7145
- if (!has(it, METADATA)) {
7183
+ if (!hasOwn(it, METADATA)) {
7146
7184
  // can't set metadata to uncaught frozen object
7147
7185
  if (!isExtensible(it)) return true;
7148
7186
  // not necessary to add metadata
@@ -7155,7 +7193,7 @@ var getWeakData = function (it, create) {
7155
7193
 
7156
7194
  // add metadata on freeze-family methods calling
7157
7195
  var onFreeze = function (it) {
7158
- if (FREEZING && REQUIRED && isExtensible(it) && !has(it, METADATA)) setMetadata(it);
7196
+ if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);
7159
7197
  return it;
7160
7198
  };
7161
7199
 
@@ -7196,9 +7234,9 @@ hiddenKeys[METADATA] = true;
7196
7234
 
7197
7235
  var internalMetadata = internalMetadata$1.exports;
7198
7236
 
7199
- var anObject = anObject$d;
7237
+ var anObject = anObject$e;
7200
7238
  var isArrayIteratorMethod = isArrayIteratorMethod$2;
7201
- var toLength$1 = toLength$b;
7239
+ var lengthOfArrayLike$1 = lengthOfArrayLike$8;
7202
7240
  var bind$1 = functionBindContext;
7203
7241
  var getIterator = getIterator$2;
7204
7242
  var getIteratorMethod = getIteratorMethod$3;
@@ -7233,10 +7271,10 @@ var iterate$2 = function (iterable, unboundFunction, options) {
7233
7271
  iterator = iterable;
7234
7272
  } else {
7235
7273
  iterFn = getIteratorMethod(iterable);
7236
- if (typeof iterFn != 'function') throw TypeError('Target is not iterable');
7274
+ if (!iterFn) throw TypeError(String(iterable) + ' is not iterable');
7237
7275
  // optimisation for array iterators
7238
7276
  if (isArrayIteratorMethod(iterFn)) {
7239
- for (index = 0, length = toLength$1(iterable.length); length > index; index++) {
7277
+ for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
7240
7278
  result = callFn(iterable[index]);
7241
7279
  if (result && result instanceof Result) return result;
7242
7280
  } return new Result(false);
@@ -7256,21 +7294,21 @@ var iterate$2 = function (iterable, unboundFunction, options) {
7256
7294
  };
7257
7295
 
7258
7296
  var anInstance$2 = function (it, Constructor, name) {
7259
- if (!(it instanceof Constructor)) {
7260
- throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');
7261
- } return it;
7297
+ if (it instanceof Constructor) return it;
7298
+ throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');
7262
7299
  };
7263
7300
 
7264
7301
  'use strict';
7265
7302
  var $$6 = _export;
7266
- var global$2 = global$m;
7303
+ var global$2 = global$k;
7267
7304
  var isForced = isForced_1;
7268
- var redefine$1 = redefine$a.exports;
7305
+ var redefine$1 = redefine$b.exports;
7269
7306
  var InternalMetadataModule = internalMetadata$1.exports;
7270
7307
  var iterate$1 = iterate$2;
7271
7308
  var anInstance$1 = anInstance$2;
7272
- var isObject = isObject$f;
7273
- var fails$3 = fails$o;
7309
+ var isCallable = isCallable$l;
7310
+ var isObject = isObject$e;
7311
+ var fails$3 = fails$p;
7274
7312
  var checkCorrectnessOfIteration = checkCorrectnessOfIteration$2;
7275
7313
  var setToStringTag = setToStringTag$4;
7276
7314
  var inheritIfRequired = inheritIfRequired$2;
@@ -7305,7 +7343,7 @@ var collection$1 = function (CONSTRUCTOR_NAME, wrapper, common) {
7305
7343
 
7306
7344
  var REPLACE = isForced(
7307
7345
  CONSTRUCTOR_NAME,
7308
- typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails$3(function () {
7346
+ !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails$3(function () {
7309
7347
  new NativeConstructor().entries().next();
7310
7348
  }))
7311
7349
  );
@@ -7365,7 +7403,7 @@ var collection$1 = function (CONSTRUCTOR_NAME, wrapper, common) {
7365
7403
  return Constructor;
7366
7404
  };
7367
7405
 
7368
- var redefine = redefine$a.exports;
7406
+ var redefine = redefine$b.exports;
7369
7407
 
7370
7408
  var redefineAll$1 = function (target, src, options) {
7371
7409
  for (var key in src) redefine(target, key, src[key], options);
@@ -7631,11 +7669,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
7631
7669
 
7632
7670
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
7633
7671
 
7634
- var global$1 = global$m;
7672
+ var global$1 = global$k;
7635
7673
  var DOMIterables = domIterables;
7636
7674
  var DOMTokenListPrototype = domTokenListPrototype;
7637
7675
  var ArrayIteratorMethods = es_array_iterator;
7638
- var createNonEnumerableProperty = createNonEnumerableProperty$9;
7676
+ var createNonEnumerableProperty = createNonEnumerableProperty$7;
7639
7677
  var wellKnownSymbol = wellKnownSymbol$n;
7640
7678
 
7641
7679
  var ITERATOR = wellKnownSymbol('iterator');
@@ -7674,11 +7712,11 @@ var es_object_assign = {};
7674
7712
 
7675
7713
  'use strict';
7676
7714
  var DESCRIPTORS = descriptors;
7677
- var fails$2 = fails$o;
7715
+ var fails$2 = fails$p;
7678
7716
  var objectKeys = objectKeys$4;
7679
7717
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
7680
7718
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
7681
- var toObject$1 = toObject$b;
7719
+ var toObject$1 = toObject$a;
7682
7720
  var IndexedObject = indexedObject;
7683
7721
 
7684
7722
  // eslint-disable-next-line es/no-object-assign -- safe
@@ -7739,8 +7777,43 @@ $$5({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
7739
7777
 
7740
7778
  var es_string_trim = {};
7741
7779
 
7742
- var fails$1 = fails$o;
7743
- var whitespaces = whitespaces$3;
7780
+ // a string of all valid unicode whitespaces
7781
+ var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
7782
+ '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
7783
+
7784
+ var requireObjectCoercible = requireObjectCoercible$7;
7785
+ var toString$1 = toString$b;
7786
+ var whitespaces$1 = whitespaces$2;
7787
+
7788
+ var whitespace = '[' + whitespaces$1 + ']';
7789
+ var ltrim = RegExp('^' + whitespace + whitespace + '*');
7790
+ var rtrim = RegExp(whitespace + whitespace + '*$');
7791
+
7792
+ // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
7793
+ var createMethod = function (TYPE) {
7794
+ return function ($this) {
7795
+ var string = toString$1(requireObjectCoercible($this));
7796
+ if (TYPE & 1) string = string.replace(ltrim, '');
7797
+ if (TYPE & 2) string = string.replace(rtrim, '');
7798
+ return string;
7799
+ };
7800
+ };
7801
+
7802
+ var stringTrim = {
7803
+ // `String.prototype.{ trimLeft, trimStart }` methods
7804
+ // https://tc39.es/ecma262/#sec-string.prototype.trimstart
7805
+ start: createMethod(1),
7806
+ // `String.prototype.{ trimRight, trimEnd }` methods
7807
+ // https://tc39.es/ecma262/#sec-string.prototype.trimend
7808
+ end: createMethod(2),
7809
+ // `String.prototype.trim` method
7810
+ // https://tc39.es/ecma262/#sec-string.prototype.trim
7811
+ trim: createMethod(3)
7812
+ };
7813
+
7814
+ var PROPER_FUNCTION_NAME = functionName.PROPER;
7815
+ var fails$1 = fails$p;
7816
+ var whitespaces = whitespaces$2;
7744
7817
 
7745
7818
  var non = '\u200B\u0085\u180E';
7746
7819
 
@@ -7748,7 +7821,9 @@ var non = '\u200B\u0085\u180E';
7748
7821
  // of whitespaces and has a correct name
7749
7822
  var stringTrimForced = function (METHOD_NAME) {
7750
7823
  return fails$1(function () {
7751
- return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;
7824
+ return !!whitespaces[METHOD_NAME]()
7825
+ || non[METHOD_NAME]() !== non
7826
+ || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
7752
7827
  });
7753
7828
  };
7754
7829
 
@@ -7891,13 +7966,13 @@ var engineWebkitVersion = !!webkit && +webkit[1];
7891
7966
 
7892
7967
  'use strict';
7893
7968
  var $ = _export;
7894
- var aFunction = aFunction$3;
7895
- var toObject = toObject$b;
7896
- var toLength = toLength$b;
7897
- var toString = toString$c;
7898
- var fails = fails$o;
7969
+ var aCallable = aCallable$4;
7970
+ var toObject = toObject$a;
7971
+ var lengthOfArrayLike = lengthOfArrayLike$8;
7972
+ var toString = toString$b;
7973
+ var fails = fails$p;
7899
7974
  var internalSort = arraySort;
7900
- var arrayMethodIsStrict = arrayMethodIsStrict$4;
7975
+ var arrayMethodIsStrict = arrayMethodIsStrict$2;
7901
7976
  var FF = engineFfVersion;
7902
7977
  var IE_OR_EDGE = engineIsIeOrEdge;
7903
7978
  var V8 = engineV8Version;
@@ -7967,14 +8042,14 @@ var getSortCompare = function (comparefn) {
7967
8042
  // https://tc39.es/ecma262/#sec-array.prototype.sort
7968
8043
  $({ target: 'Array', proto: true, forced: FORCED }, {
7969
8044
  sort: function sort(comparefn) {
7970
- if (comparefn !== undefined) aFunction(comparefn);
8045
+ if (comparefn !== undefined) aCallable(comparefn);
7971
8046
 
7972
8047
  var array = toObject(this);
7973
8048
 
7974
8049
  if (STABLE_SORT) return comparefn === undefined ? nativeSort.call(array) : nativeSort.call(array, comparefn);
7975
8050
 
7976
8051
  var items = [];
7977
- var arrayLength = toLength(array.length);
8052
+ var arrayLength = lengthOfArrayLike(array);
7978
8053
  var itemsLength, index;
7979
8054
 
7980
8055
  for (index = 0; index < arrayLength; index++) {
@@ -8247,7 +8322,9 @@ var SelectBox = /*#__PURE__*/function () {
8247
8322
  renderNoResultsItem: o.renderNoResultsItem,
8248
8323
  unrenderNoResultsItem: o.unrenderNoResultsItem,
8249
8324
  filterFn: o.filterFn,
8250
- on: null,
8325
+ on: o.on || null,
8326
+ silenceEvents: true,
8327
+ mitt: mitt__default["default"](),
8251
8328
  additionalClasses: o.additionalClasses,
8252
8329
 
8253
8330
  isLoadingMode: !!o.isLoadingMode,
@@ -8256,7 +8333,7 @@ var SelectBox = /*#__PURE__*/function () {
8256
8333
  filteredItems: null,
8257
8334
  itemsChanged: true,
8258
8335
 
8259
- sink: new DomEventsSink__default['default'](),
8336
+ sink: new DomEventsSink__default["default"](),
8260
8337
 
8261
8338
  selectedItems: [],
8262
8339
  selectedValues: [],
@@ -8354,11 +8431,10 @@ var SelectBox = /*#__PURE__*/function () {
8354
8431
  this.setValue(o.value);
8355
8432
  }
8356
8433
 
8357
- // Start firing events
8358
- p.on = o.on || null;
8359
-
8360
8434
  this._scheduleSync();
8361
8435
 
8436
+ this.silenceEvents = false;
8437
+
8362
8438
  return this;
8363
8439
  }_createClass(SelectBox, [{ key: "destroy", value:
8364
8440
 
@@ -9368,8 +9444,60 @@ var SelectBox = /*#__PURE__*/function () {
9368
9444
  return this;
9369
9445
  }
9370
9446
 
9447
+ /**
9448
+ * Register an event handler
9449
+ * @param {(string|'*')?} event
9450
+ * @param {function(any)} handler
9451
+ * @returns {SelectBox}
9452
+ */ }, { key: "on", value:
9453
+ function on( /**string|'*'*/event, /**Function?*/handler) {
9454
+ this._p.mitt.on(event, handler);
9455
+ return this;
9456
+ }
9457
+
9458
+ /**
9459
+ * Register a one time event handler
9460
+ * @param {(string|'*')?} event
9461
+ * @param {function(any)} handler
9462
+ * @returns {SelectBox}
9463
+ */ }, { key: "once", value:
9464
+ function once( /**string|'*'*/event, /**Function?*/handler) {var _this3 = this;
9465
+ var wrapped = function wrapped(value) {
9466
+ _this3._p.mitt.off(event, wrapped);
9467
+ handler(value);
9468
+ };
9469
+ this._p.mitt.on(event, wrapped);
9470
+ return this;
9471
+ }
9472
+
9473
+ /**
9474
+ * Remove an `handler` for `event`, all events for `event`, or all events completely.
9475
+ * @param {(string|'*')?} event
9476
+ * @param {function(any)} handler
9477
+ * @returns {SelectBox}
9478
+ */ }, { key: "off", value:
9479
+ function off( /**(string|'*')?*/event, /**Function?*/handler) {
9480
+ if (!event && !event) {
9481
+ this._p.mitt.all.clear();
9482
+ } else {
9483
+ this._p.mitt.off(event, handler);
9484
+ }
9485
+ return this;
9486
+ }
9487
+
9488
+ /**
9489
+ * Emit an event
9490
+ * @param {string} event
9491
+ * @param {any} value
9492
+ * @returns {SelectBox}
9493
+ */ }, { key: "emit", value:
9494
+ function emit( /**string|'*'*/event, /**any?*/value) {
9495
+ this._p.mitt.emit(event, value);
9496
+ return this;
9497
+ }
9498
+
9371
9499
  /** @private */ }, { key: "_renderBase", value:
9372
- function _renderBase() {var _this3 = this;
9500
+ function _renderBase() {var _this4 = this;
9373
9501
  var p = this._p;
9374
9502
 
9375
9503
  if (!p.inputBackBuffer) {
@@ -9434,7 +9562,7 @@ var SelectBox = /*#__PURE__*/function () {
9434
9562
 
9435
9563
  if (p.disabled) return;
9436
9564
 
9437
- _this3._removeMultiItemFromEvent(
9565
+ _this4._removeMultiItemFromEvent(
9438
9566
  /**@type Element*/
9439
9567
  Dom.closestUntil(evt.target, ".".concat(p.baseClassName, "__item"), evt.currentTarget),
9440
9568
  evt);
@@ -9443,7 +9571,7 @@ var SelectBox = /*#__PURE__*/function () {
9443
9571
  if (!Dom.closestUntil(evt.target, ".".concat(p.baseClassName, "__item"), evt.currentTarget))
9444
9572
  return;
9445
9573
 
9446
- _this3._handleMultiKeydown(evt);
9574
+ _this4._handleMultiKeydown(evt);
9447
9575
  });
9448
9576
 
9449
9577
  if (lastActiveElement === p.input)
@@ -9550,7 +9678,7 @@ var SelectBox = /*#__PURE__*/function () {
9550
9678
  }
9551
9679
 
9552
9680
  /** @private */ }, { key: "_setupDropdownMenu", value:
9553
- function _setupDropdownMenu() {var _this4 = this;
9681
+ function _setupDropdownMenu() {var _this5 = this;
9554
9682
  var p = this._p,valueProp = p.valueProp;
9555
9683
 
9556
9684
  if (p.dropList) {
@@ -9620,12 +9748,12 @@ var SelectBox = /*#__PURE__*/function () {
9620
9748
  if (p.resortBySelectionNeeded && p.sortListCheckedFirst && p.multi)
9621
9749
  p.itemsChanged = true;
9622
9750
 
9623
- _this4._updateListItems();
9624
- _this4._trigger('open', { list: dropList });
9751
+ _this5._updateListItems();
9752
+ _this5._trigger('open', { list: dropList });
9625
9753
 
9626
- _this4._startTrackingPresence();
9754
+ _this5._startTrackingPresence();
9627
9755
 
9628
- p.sink.add(window, 'resize.trackposition', function () {return _this4._repositionDropList();});
9756
+ p.sink.add(window, 'resize.trackposition', function () {return _this5._repositionDropList();});
9629
9757
 
9630
9758
  var parent = p.el.parentNode;
9631
9759
  while (parent) {
@@ -9634,7 +9762,7 @@ var SelectBox = /*#__PURE__*/function () {
9634
9762
  if (parent === document.documentElement) {
9635
9763
  parent = window;
9636
9764
  }
9637
- p.sink.add(parent, 'scroll.trackposition', function () {return _this4._repositionDropList();});
9765
+ p.sink.add(parent, 'scroll.trackposition', function () {return _this5._repositionDropList();});
9638
9766
  }
9639
9767
  parent = parent.parentNode;
9640
9768
  }
@@ -9648,15 +9776,15 @@ var SelectBox = /*#__PURE__*/function () {
9648
9776
  p.el.classList.add("".concat(p.baseClassName, "__closed_list"));
9649
9777
 
9650
9778
  if (!p.multi) {
9651
- _this4._setInputText('');
9652
- _this4._scheduleSync();
9779
+ _this5._setInputText('');
9780
+ _this5._scheduleSync();
9653
9781
  }
9654
9782
 
9655
- _this4._trigger('close');
9783
+ _this5._trigger('close');
9656
9784
 
9657
- if (_this4[DestroyedSymbol]) return; // destroyed by event handler
9785
+ if (_this5[DestroyedSymbol]) return; // destroyed by event handler
9658
9786
 
9659
- _this4._stopTrackingPresence();
9787
+ _this5._stopTrackingPresence();
9660
9788
  p.sink.remove(null, '.trackposition');
9661
9789
  }
9662
9790
  break;
@@ -9671,7 +9799,7 @@ var SelectBox = /*#__PURE__*/function () {
9671
9799
  if (item._group) return; // Ignore groups
9672
9800
 
9673
9801
  var selEvt = { value: value, item: item, cancel: false };
9674
- _this4._trigger((checked ? 'addsel' : 'removesel') + ':before', selEvt);
9802
+ _this5._trigger((checked ? 'addsel' : 'removesel') + ':before', selEvt);
9675
9803
 
9676
9804
  if (selEvt.cancel) {
9677
9805
  // Rollback that check
@@ -9696,37 +9824,37 @@ var SelectBox = /*#__PURE__*/function () {
9696
9824
  if (p.showSelection) {
9697
9825
  if (checked) {
9698
9826
  if (dropList.itemCount() === 1) {
9699
- _this4._setInputText('');
9827
+ _this5._setInputText('');
9700
9828
  }
9701
9829
 
9702
9830
  if (p.sortSelectedItems) {
9703
9831
  if (!hasGroupSync)
9704
- _this4._scheduleSync('full');
9832
+ _this5._scheduleSync('full');
9705
9833
  } else {
9706
9834
  if (p.maxMultiItems != null &&
9707
9835
  p.selectedItems.filter(function (x) {return !x._group;}).length > p.maxMultiItems) {
9708
- _this4._scheduleSync('addOrUpdateMultiItemRestElement');
9836
+ _this5._scheduleSync('addOrUpdateMultiItemRestElement');
9709
9837
  } else {
9710
- _this4._scheduleSync('addMultiItemElement', item);
9838
+ _this5._scheduleSync('addMultiItemElement', item);
9711
9839
  }
9712
9840
 
9713
9841
  if (!hasGroupSync)
9714
- _this4._scheduleSync();
9842
+ _this5._scheduleSync();
9715
9843
  }
9716
9844
  } else {
9717
9845
  if (p.maxMultiItems != null &&
9718
9846
  p.selectedItems.filter(function (x) {return !x._group;}).length === p.maxMultiItems) {
9719
- _this4._scheduleSync('removeMultiItemRestElement');
9847
+ _this5._scheduleSync('removeMultiItemRestElement');
9720
9848
  } else {
9721
- _this4._scheduleSync('removeMultiItemElement', item);
9849
+ _this5._scheduleSync('removeMultiItemElement', item);
9722
9850
  }
9723
9851
 
9724
9852
  if (!hasGroupSync)
9725
- _this4._scheduleSync();
9853
+ _this5._scheduleSync();
9726
9854
  }
9727
9855
  }
9728
9856
 
9729
- _this4._trigger(checked ? 'addsel' : 'removesel', { value: value, item: item });
9857
+ _this5._trigger(checked ? 'addsel' : 'removesel', { value: value, item: item });
9730
9858
  }
9731
9859
  break;
9732
9860
 
@@ -9734,7 +9862,7 @@ var SelectBox = /*#__PURE__*/function () {
9734
9862
  if (!p.multi) return;
9735
9863
 
9736
9864
  if (event.affectedItems) {
9737
- _this4._scheduleSync(p.sortSelectedItems ? 'full' : null);
9865
+ _this5._scheduleSync(p.sortSelectedItems ? 'full' : null);
9738
9866
  }
9739
9867
  }
9740
9868
  break;
@@ -9746,19 +9874,19 @@ var SelectBox = /*#__PURE__*/function () {
9746
9874
  var _value = event.value;
9747
9875
 
9748
9876
  var selectEvt = { value: _value, item: _item, cancel: false };
9749
- _this4._trigger('select:before', selectEvt);
9877
+ _this5._trigger('select:before', selectEvt);
9750
9878
 
9751
9879
  if (selectEvt.cancel)
9752
9880
  return;
9753
9881
 
9754
- if (_this4[DestroyedSymbol]) return; // destroyed by event handler
9882
+ if (_this5[DestroyedSymbol]) return; // destroyed by event handler
9755
9883
 
9756
- _this4._setSelectedItems([_item]);
9757
- _this4._trigger('select', { value: _value, item: _item });
9884
+ _this5._setSelectedItems([_item]);
9885
+ _this5._trigger('select', { value: _value, item: _item });
9758
9886
 
9759
- if (_this4[DestroyedSymbol]) return; // destroyed by event handler
9887
+ if (_this5[DestroyedSymbol]) return; // destroyed by event handler
9760
9888
 
9761
- _this4.closeList();
9889
+ _this5.closeList();
9762
9890
 
9763
9891
  if (p.blurOnSingleSelection === 'touch' && hasTouchCapability ||
9764
9892
  p.blurOnSingleSelection !== 'touch' && p.blurOnSingleSelection) {
@@ -9779,7 +9907,7 @@ var SelectBox = /*#__PURE__*/function () {
9779
9907
  p.sink.remove(null, '.dropdown');
9780
9908
  } }, { key: "_registerDropdownEvents", value:
9781
9909
 
9782
- function _registerDropdownEvents() {var _this5 = this;
9910
+ function _registerDropdownEvents() {var _this6 = this;
9783
9911
  var p = this._p;
9784
9912
 
9785
9913
  this._unregisterDropdownEvents();
@@ -9893,7 +10021,7 @@ var SelectBox = /*#__PURE__*/function () {
9893
10021
  !dropList.hasFocusedItem())
9894
10022
 
9895
10023
  {
9896
- _this5.toggleList();
10024
+ _this6.toggleList();
9897
10025
  evt.preventDefault();
9898
10026
  evt.stopPropagation();
9899
10027
  return;
@@ -9932,42 +10060,42 @@ var SelectBox = /*#__PURE__*/function () {
9932
10060
  p.filteredItems = null;
9933
10061
  p.itemsChanged = true;
9934
10062
 
9935
- _this5._trigger('search', { value: p.input.value });
10063
+ _this6._trigger('search', { value: p.input.value });
9936
10064
 
9937
10065
  p.throttledUpdateListItems();
9938
10066
  }).
9939
10067
  add(p.input, 'click.dropdown', function () {
9940
10068
  if (!p.multi && p.searchable) {
9941
- _this5.openList();
10069
+ _this6.openList();
9942
10070
  }
9943
10071
  }).
9944
10072
  add(p.input, 'focus.dropdown', function () {
9945
- _this5._trigger('search:focus');
10073
+ _this6._trigger('search:focus');
9946
10074
 
9947
- if (_this5[DestroyedSymbol]) return; // destroyed by event handler
10075
+ if (_this6[DestroyedSymbol]) return; // destroyed by event handler
9948
10076
 
9949
10077
  avoidToggleFromClick = false;
9950
- _this5.openList();
10078
+ _this6.openList();
9951
10079
 
9952
10080
  avoidToggleFromClick = true;
9953
10081
  setTimeout(function () {avoidToggleFromClick = false;}, 10);
9954
10082
  }).
9955
10083
  add(p.input, 'blur.dropdown', function () {
9956
- _this5._trigger('search:blur');
10084
+ _this6._trigger('search:blur');
9957
10085
 
9958
- if (_this5[DestroyedSymbol]) return; // destroyed by event handler
10086
+ if (_this6[DestroyedSymbol]) return; // destroyed by event handler
9959
10087
 
9960
10088
  if (p.throttledUpdateListItems)
9961
10089
  p.throttledUpdateListItems.cancel();
9962
10090
 
9963
- _this5.closeList();
10091
+ _this6.closeList();
9964
10092
  });
9965
10093
  }
9966
10094
 
9967
10095
  p.sink.
9968
10096
  add(p.el, 'mousedown.dropdown', function () {
9969
10097
  if (!p.multi && !p.searchable && !avoidToggleFromClick) {
9970
- _this5.toggleList();
10098
+ _this6.toggleList();
9971
10099
  }
9972
10100
  avoidToggleFromClick = false;
9973
10101
  }).
@@ -9975,7 +10103,7 @@ var SelectBox = /*#__PURE__*/function () {
9975
10103
  if (currentTouchId) return;
9976
10104
  currentTouchId = evt.changedTouches[0].identifier;
9977
10105
 
9978
- if (_this5.isDisabled())
10106
+ if (_this6.isDisabled())
9979
10107
  return;
9980
10108
 
9981
10109
  if (Dom.closestUntil(evt.target, ".".concat(p.baseClassName, "__item,.").concat(p.baseClassName, "__clear"), p.el))
@@ -10158,7 +10286,7 @@ var SelectBox = /*#__PURE__*/function () {
10158
10286
  this._scheduleSync('full');
10159
10287
  } }, { key: "_scheduleSync", value:
10160
10288
 
10161
- function _scheduleSync(mode, data) {var _this6 = this;
10289
+ function _scheduleSync(mode, data) {var _this7 = this;
10162
10290
  var p = this._p;
10163
10291
 
10164
10292
  if (!p.syncQueue)
@@ -10177,11 +10305,11 @@ var SelectBox = /*#__PURE__*/function () {
10177
10305
  delete p.syncTimeout;
10178
10306
  var queue = p.syncQueue;
10179
10307
  delete p.syncQueue;
10180
- _this6._performSync(queue);
10308
+ _this7._performSync(queue);
10181
10309
  });
10182
10310
  } }, { key: "_performSync", value:
10183
10311
 
10184
- function _performSync(queue) {var _this7 = this;
10312
+ function _performSync(queue) {var _this8 = this;
10185
10313
  var p = this._p;
10186
10314
 
10187
10315
  if (this[DestroyedSymbol])
@@ -10207,7 +10335,7 @@ var SelectBox = /*#__PURE__*/function () {
10207
10335
 
10208
10336
  var idx = p.multiItemEls.findIndex(function (x) {return x[ItemSymbol][valueProp] === value;});
10209
10337
  if (idx !== -1) {
10210
- _this7._removeMultiItemElementByIndex(idx);
10338
+ _this8._removeMultiItemElementByIndex(idx);
10211
10339
  }})();
10212
10340
  }
10213
10341
  }
@@ -10370,7 +10498,7 @@ var SelectBox = /*#__PURE__*/function () {
10370
10498
  }
10371
10499
 
10372
10500
  /** @private */ }, { key: "_syncClearButton", value:
10373
- function _syncClearButton() {var _this8 = this;
10501
+ function _syncClearButton() {var _this9 = this;
10374
10502
  var p = this._p;
10375
10503
 
10376
10504
  // Set clear button
@@ -10386,8 +10514,8 @@ var SelectBox = /*#__PURE__*/function () {
10386
10514
  p.el.classList.add("".concat(p.baseClassName, "__has_clear"));
10387
10515
 
10388
10516
  p.sink.add(p.clearButton, 'click', function () {
10389
- if (_this8.isDisabled()) return;
10390
- _this8.clear();
10517
+ if (_this9.isDisabled()) return;
10518
+ _this9.clear();
10391
10519
  });
10392
10520
  }
10393
10521
  } else {
@@ -10542,6 +10670,7 @@ var SelectBox = /*#__PURE__*/function () {
10542
10670
  var p = this._p;
10543
10671
  if (p.on)
10544
10672
  p.on.apply(p, [event].concat(_toConsumableArray(data === undefined ? [] : [data])));
10673
+ p.mitt.emit(event, data);
10545
10674
  }
10546
10675
 
10547
10676
  /**