@vention/machine-ui 4.1.2 → 4.1.3

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.
Files changed (2) hide show
  1. package/index.esm.js +810 -525
  2. package/package.json +3 -3
package/index.esm.js CHANGED
@@ -13,7 +13,7 @@ import { tss as tss$1 } from 'tss-react';
13
13
 
14
14
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
15
15
 
16
- var fails$l = function (exec) {
16
+ var fails$n = function (exec) {
17
17
  try {
18
18
  return !!exec();
19
19
  } catch (error) {
@@ -21,11 +21,11 @@ var fails$l = function (exec) {
21
21
  }
22
22
  };
23
23
 
24
- var fails$k = fails$l;
24
+ var fails$m = fails$n;
25
25
 
26
- var functionBindNative = !fails$k(function () {
26
+ var functionBindNative = !fails$m(function () {
27
27
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
28
- var test = (function () { /* empty */ }).bind();
28
+ var test = function () { /* empty */ }.bind();
29
29
  // eslint-disable-next-line no-prototype-builtins -- safe
30
30
  return typeof test != 'function' || test.hasOwnProperty('prototype');
31
31
  });
@@ -33,33 +33,34 @@ var functionBindNative = !fails$k(function () {
33
33
  var NATIVE_BIND$3 = functionBindNative;
34
34
 
35
35
  var FunctionPrototype$2 = Function.prototype;
36
- var call$h = FunctionPrototype$2.call;
37
- var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$h, call$h);
36
+ var call$l = FunctionPrototype$2.call;
37
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
38
+ var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$l, call$l);
38
39
 
39
40
  var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
40
41
  return function () {
41
- return call$h.apply(fn, arguments);
42
+ return call$l.apply(fn, arguments);
42
43
  };
43
44
  };
44
45
 
45
- var uncurryThis$k = functionUncurryThis;
46
+ var uncurryThis$l = functionUncurryThis;
46
47
 
47
- var toString$7 = uncurryThis$k({}.toString);
48
- var stringSlice$3 = uncurryThis$k(''.slice);
48
+ var toString$7 = uncurryThis$l({}.toString);
49
+ var stringSlice$3 = uncurryThis$l(''.slice);
49
50
 
50
51
  var classofRaw$2 = function (it) {
51
52
  return stringSlice$3(toString$7(it), 8, -1);
52
53
  };
53
54
 
54
- var uncurryThis$j = functionUncurryThis;
55
- var fails$j = fails$l;
55
+ var uncurryThis$k = functionUncurryThis;
56
+ var fails$l = fails$n;
56
57
  var classof$7 = classofRaw$2;
57
58
 
58
59
  var $Object$4 = Object;
59
- var split = uncurryThis$j(''.split);
60
+ var split = uncurryThis$k(''.split);
60
61
 
61
62
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
62
- var indexedObject = fails$j(function () {
63
+ var indexedObject = fails$l(function () {
63
64
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
64
65
  // eslint-disable-next-line no-prototype-builtins -- safe
65
66
  return !$Object$4('z').propertyIsEnumerable(0);
@@ -112,30 +113,30 @@ var sharedStore = {exports: {}};
112
113
 
113
114
  var isPure = false;
114
115
 
115
- var globalThis$m = globalThis_1;
116
+ var globalThis$p = globalThis_1;
116
117
 
117
118
  // eslint-disable-next-line es/no-object-defineproperty -- safe
118
119
  var defineProperty$7 = Object.defineProperty;
119
120
 
120
121
  var defineGlobalProperty$3 = function (key, value) {
121
122
  try {
122
- defineProperty$7(globalThis$m, key, { value: value, configurable: true, writable: true });
123
+ defineProperty$7(globalThis$p, key, { value: value, configurable: true, writable: true });
123
124
  } catch (error) {
124
- globalThis$m[key] = value;
125
+ globalThis$p[key] = value;
125
126
  } return value;
126
127
  };
127
128
 
128
- var globalThis$l = globalThis_1;
129
+ var globalThis$o = globalThis_1;
129
130
  var defineGlobalProperty$2 = defineGlobalProperty$3;
130
131
 
131
132
  var SHARED = '__core-js_shared__';
132
- var store$3 = sharedStore.exports = globalThis$l[SHARED] || defineGlobalProperty$2(SHARED, {});
133
+ var store$3 = sharedStore.exports = globalThis$o[SHARED] || defineGlobalProperty$2(SHARED, {});
133
134
 
134
135
  (store$3.versions || (store$3.versions = [])).push({
135
- version: '3.38.1',
136
+ version: '3.49.0',
136
137
  mode: 'global',
137
- copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
138
- license: 'https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE',
138
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
139
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
139
140
  source: 'https://github.com/zloirock/core-js'
140
141
  });
141
142
 
@@ -157,10 +158,10 @@ var toObject$6 = function (argument) {
157
158
  return $Object$3(requireObjectCoercible$3(argument));
158
159
  };
159
160
 
160
- var uncurryThis$i = functionUncurryThis;
161
+ var uncurryThis$j = functionUncurryThis;
161
162
  var toObject$5 = toObject$6;
162
163
 
163
- var hasOwnProperty = uncurryThis$i({}.hasOwnProperty);
164
+ var hasOwnProperty = uncurryThis$j({}.hasOwnProperty);
164
165
 
165
166
  // `HasOwnProperty` abstract operation
166
167
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -169,28 +170,28 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
169
170
  return hasOwnProperty(toObject$5(it), key);
170
171
  };
171
172
 
172
- var uncurryThis$h = functionUncurryThis;
173
+ var uncurryThis$i = functionUncurryThis;
173
174
 
174
175
  var id = 0;
175
176
  var postfix = Math.random();
176
- var toString$6 = uncurryThis$h(1.0.toString);
177
+ var toString$6 = uncurryThis$i(1.1.toString);
177
178
 
178
179
  var uid$2 = function (key) {
179
180
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$6(++id + postfix, 36);
180
181
  };
181
182
 
182
- var globalThis$k = globalThis_1;
183
+ var globalThis$n = globalThis_1;
183
184
 
184
- var navigator = globalThis$k.navigator;
185
+ var navigator = globalThis$n.navigator;
185
186
  var userAgent$7 = navigator && navigator.userAgent;
186
187
 
187
188
  var environmentUserAgent = userAgent$7 ? String(userAgent$7) : '';
188
189
 
189
- var globalThis$j = globalThis_1;
190
+ var globalThis$m = globalThis_1;
190
191
  var userAgent$6 = environmentUserAgent;
191
192
 
192
- var process$3 = globalThis$j.process;
193
- var Deno$1 = globalThis$j.Deno;
193
+ var process$3 = globalThis$m.process;
194
+ var Deno$1 = globalThis$m.Deno;
194
195
  var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
195
196
  var v8 = versions && versions.v8;
196
197
  var match, version;
@@ -216,13 +217,13 @@ var environmentV8Version = version;
216
217
 
217
218
  /* eslint-disable es/no-symbol -- required for testing */
218
219
  var V8_VERSION$1 = environmentV8Version;
219
- var fails$i = fails$l;
220
- var globalThis$i = globalThis_1;
220
+ var fails$k = fails$n;
221
+ var globalThis$l = globalThis_1;
221
222
 
222
- var $String$6 = globalThis$i.String;
223
+ var $String$6 = globalThis$l.String;
223
224
 
224
225
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
225
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$i(function () {
226
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$k(function () {
226
227
  var symbol = Symbol('symbol detection');
227
228
  // Chrome 38 Symbol has incorrect toString conversion
228
229
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -236,18 +237,18 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$i(func
236
237
  /* eslint-disable es/no-symbol -- required for testing */
237
238
  var NATIVE_SYMBOL$2 = symbolConstructorDetection;
238
239
 
239
- var useSymbolAsUid = NATIVE_SYMBOL$2
240
- && !Symbol.sham
241
- && typeof Symbol.iterator == 'symbol';
240
+ var useSymbolAsUid = NATIVE_SYMBOL$2 &&
241
+ !Symbol.sham &&
242
+ typeof Symbol.iterator == 'symbol';
242
243
 
243
- var globalThis$h = globalThis_1;
244
+ var globalThis$k = globalThis_1;
244
245
  var shared$2 = shared$3;
245
246
  var hasOwn$d = hasOwnProperty_1;
246
247
  var uid$1 = uid$2;
247
248
  var NATIVE_SYMBOL$1 = symbolConstructorDetection;
248
249
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
249
250
 
250
- var Symbol$1 = globalThis$h.Symbol;
251
+ var Symbol$1 = globalThis$k.Symbol;
251
252
  var WellKnownSymbolsStore = shared$2('wks');
252
253
  var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
253
254
 
@@ -290,20 +291,20 @@ var anObject$j = function (argument) {
290
291
 
291
292
  var objectDefineProperties = {};
292
293
 
293
- var fails$h = fails$l;
294
+ var fails$j = fails$n;
294
295
 
295
296
  // Detect IE8's incomplete defineProperty implementation
296
- var descriptors = !fails$h(function () {
297
+ var descriptors = !fails$j(function () {
297
298
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
298
299
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
299
300
  });
300
301
 
301
302
  var DESCRIPTORS$g = descriptors;
302
- var fails$g = fails$l;
303
+ var fails$i = fails$n;
303
304
 
304
305
  // V8 ~ Chrome 36-
305
306
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
306
- var v8PrototypeDefineBug = DESCRIPTORS$g && fails$g(function () {
307
+ var v8PrototypeDefineBug = DESCRIPTORS$g && fails$i(function () {
307
308
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
308
309
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
309
310
  value: 42,
@@ -313,10 +314,10 @@ var v8PrototypeDefineBug = DESCRIPTORS$g && fails$g(function () {
313
314
 
314
315
  var objectDefineProperty = {};
315
316
 
316
- var globalThis$g = globalThis_1;
317
+ var globalThis$j = globalThis_1;
317
318
  var isObject$b = isObject$d;
318
319
 
319
- var document$3 = globalThis$g.document;
320
+ var document$3 = globalThis$j.document;
320
321
  // typeof document.createElement is 'object' in old IE
321
322
  var EXISTS$1 = isObject$b(document$3) && isObject$b(document$3.createElement);
322
323
 
@@ -325,11 +326,11 @@ var documentCreateElement$2 = function (it) {
325
326
  };
326
327
 
327
328
  var DESCRIPTORS$f = descriptors;
328
- var fails$f = fails$l;
329
+ var fails$h = fails$n;
329
330
  var createElement$1 = documentCreateElement$2;
330
331
 
331
332
  // Thanks to IE8 for its funny defineProperty
332
- var ie8DomDefine = !DESCRIPTORS$f && !fails$f(function () {
333
+ var ie8DomDefine = !DESCRIPTORS$f && !fails$h(function () {
333
334
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
334
335
  return Object.defineProperty(createElement$1('div'), 'a', {
335
336
  get: function () { return 7; }
@@ -338,13 +339,13 @@ var ie8DomDefine = !DESCRIPTORS$f && !fails$f(function () {
338
339
 
339
340
  var NATIVE_BIND$2 = functionBindNative;
340
341
 
341
- var call$g = Function.prototype.call;
342
-
343
- var functionCall = NATIVE_BIND$2 ? call$g.bind(call$g) : function () {
344
- return call$g.apply(call$g, arguments);
342
+ var call$k = Function.prototype.call;
343
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
344
+ var functionCall = NATIVE_BIND$2 ? call$k.bind(call$k) : function () {
345
+ return call$k.apply(call$k, arguments);
345
346
  };
346
347
 
347
- var globalThis$f = globalThis_1;
348
+ var globalThis$i = globalThis_1;
348
349
  var isCallable$k = isCallable$m;
349
350
 
350
351
  var aFunction = function (argument) {
@@ -352,12 +353,12 @@ var aFunction = function (argument) {
352
353
  };
353
354
 
354
355
  var getBuiltIn$8 = function (namespace, method) {
355
- return arguments.length < 2 ? aFunction(globalThis$f[namespace]) : globalThis$f[namespace] && globalThis$f[namespace][method];
356
+ return arguments.length < 2 ? aFunction(globalThis$i[namespace]) : globalThis$i[namespace] && globalThis$i[namespace][method];
356
357
  };
357
358
 
358
- var uncurryThis$g = functionUncurryThis;
359
+ var uncurryThis$h = functionUncurryThis;
359
360
 
360
- var objectIsPrototypeOf = uncurryThis$g({}.isPrototypeOf);
361
+ var objectIsPrototypeOf = uncurryThis$h({}.isPrototypeOf);
361
362
 
362
363
  var getBuiltIn$7 = getBuiltIn$8;
363
364
  var isCallable$j = isCallable$m;
@@ -389,22 +390,22 @@ var tryToString$4 = tryToString$5;
389
390
  var $TypeError$h = TypeError;
390
391
 
391
392
  // `Assert: IsCallable(argument) is true`
392
- var aCallable$g = function (argument) {
393
+ var aCallable$h = function (argument) {
393
394
  if (isCallable$i(argument)) return argument;
394
395
  throw new $TypeError$h(tryToString$4(argument) + ' is not a function');
395
396
  };
396
397
 
397
- var aCallable$f = aCallable$g;
398
+ var aCallable$g = aCallable$h;
398
399
  var isNullOrUndefined$2 = isNullOrUndefined$4;
399
400
 
400
401
  // `GetMethod` abstract operation
401
402
  // https://tc39.es/ecma262/#sec-getmethod
402
403
  var getMethod$4 = function (V, P) {
403
404
  var func = V[P];
404
- return isNullOrUndefined$2(func) ? undefined : aCallable$f(func);
405
+ return isNullOrUndefined$2(func) ? undefined : aCallable$g(func);
405
406
  };
406
407
 
407
- var call$f = functionCall;
408
+ var call$j = functionCall;
408
409
  var isCallable$h = isCallable$m;
409
410
  var isObject$a = isObject$d;
410
411
 
@@ -414,13 +415,13 @@ var $TypeError$g = TypeError;
414
415
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
415
416
  var ordinaryToPrimitive$1 = function (input, pref) {
416
417
  var fn, val;
417
- if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$a(val = call$f(fn, input))) return val;
418
- if (isCallable$h(fn = input.valueOf) && !isObject$a(val = call$f(fn, input))) return val;
419
- if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$a(val = call$f(fn, input))) return val;
418
+ if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$a(val = call$j(fn, input))) return val;
419
+ if (isCallable$h(fn = input.valueOf) && !isObject$a(val = call$j(fn, input))) return val;
420
+ if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$a(val = call$j(fn, input))) return val;
420
421
  throw new $TypeError$g("Can't convert object to primitive value");
421
422
  };
422
423
 
423
- var call$e = functionCall;
424
+ var call$i = functionCall;
424
425
  var isObject$9 = isObject$d;
425
426
  var isSymbol$1 = isSymbol$2;
426
427
  var getMethod$3 = getMethod$4;
@@ -438,7 +439,7 @@ var toPrimitive$1 = function (input, pref) {
438
439
  var result;
439
440
  if (exoticToPrim) {
440
441
  if (pref === undefined) pref = 'default';
441
- result = call$e(exoticToPrim, input, pref);
442
+ result = call$i(exoticToPrim, input, pref);
442
443
  if (!isObject$9(result) || isSymbol$1(result)) return result;
443
444
  throw new $TypeError$f("Can't convert object to primitive value");
444
445
  }
@@ -501,14 +502,14 @@ objectDefineProperty.f = DESCRIPTORS$e ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
501
502
  };
502
503
 
503
504
  var ceil = Math.ceil;
504
- var floor$2 = Math.floor;
505
+ var floor$3 = Math.floor;
505
506
 
506
507
  // `Math.trunc` method
507
508
  // https://tc39.es/ecma262/#sec-math.trunc
508
509
  // eslint-disable-next-line es/no-math-trunc -- safe
509
510
  var mathTrunc = Math.trunc || function trunc(x) {
510
511
  var n = +x;
511
- return (n > 0 ? floor$2 : ceil)(n);
512
+ return (n > 0 ? floor$3 : ceil)(n);
512
513
  };
513
514
 
514
515
  var trunc = mathTrunc;
@@ -589,13 +590,13 @@ var arrayIncludes = {
589
590
 
590
591
  var hiddenKeys$4 = {};
591
592
 
592
- var uncurryThis$f = functionUncurryThis;
593
+ var uncurryThis$g = functionUncurryThis;
593
594
  var hasOwn$c = hasOwnProperty_1;
594
595
  var toIndexedObject$3 = toIndexedObject$5;
595
596
  var indexOf = arrayIncludes.indexOf;
596
597
  var hiddenKeys$3 = hiddenKeys$4;
597
598
 
598
- var push$1 = uncurryThis$f([].push);
599
+ var push$1 = uncurryThis$g([].push);
599
600
 
600
601
  var objectKeysInternal = function (object, names) {
601
602
  var O = toIndexedObject$3(object);
@@ -773,10 +774,10 @@ var addToUnscopables$2 = function (key) {
773
774
 
774
775
  var iterators = {};
775
776
 
776
- var globalThis$e = globalThis_1;
777
+ var globalThis$h = globalThis_1;
777
778
  var isCallable$g = isCallable$m;
778
779
 
779
- var WeakMap$1 = globalThis$e.WeakMap;
780
+ var WeakMap$1 = globalThis$h.WeakMap;
780
781
 
781
782
  var weakMapBasicDetection = isCallable$g(WeakMap$1) && /native code/.test(String(WeakMap$1));
782
783
 
@@ -801,7 +802,7 @@ var createNonEnumerableProperty$8 = DESCRIPTORS$c ? function (object, key, value
801
802
  };
802
803
 
803
804
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
804
- var globalThis$d = globalThis_1;
805
+ var globalThis$g = globalThis_1;
805
806
  var isObject$8 = isObject$d;
806
807
  var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
807
808
  var hasOwn$b = hasOwnProperty_1;
@@ -810,18 +811,18 @@ var sharedKey$1 = sharedKey$3;
810
811
  var hiddenKeys$1 = hiddenKeys$4;
811
812
 
812
813
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
813
- var TypeError$2 = globalThis$d.TypeError;
814
- var WeakMap = globalThis$d.WeakMap;
815
- var set$1, get, has;
814
+ var TypeError$2 = globalThis$g.TypeError;
815
+ var WeakMap = globalThis$g.WeakMap;
816
+ var set$3, get$2, has$2;
816
817
 
817
818
  var enforce = function (it) {
818
- return has(it) ? get(it) : set$1(it, {});
819
+ return has$2(it) ? get$2(it) : set$3(it, {});
819
820
  };
820
821
 
821
822
  var getterFor = function (TYPE) {
822
823
  return function (it) {
823
824
  var state;
824
- if (!isObject$8(it) || (state = get(it)).type !== TYPE) {
825
+ if (!isObject$8(it) || (state = get$2(it)).type !== TYPE) {
825
826
  throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required');
826
827
  } return state;
827
828
  };
@@ -834,39 +835,39 @@ if (NATIVE_WEAK_MAP || shared.state) {
834
835
  store$1.has = store$1.has;
835
836
  store$1.set = store$1.set;
836
837
  /* eslint-enable no-self-assign -- prototype methods protection */
837
- set$1 = function (it, metadata) {
838
+ set$3 = function (it, metadata) {
838
839
  if (store$1.has(it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
839
840
  metadata.facade = it;
840
841
  store$1.set(it, metadata);
841
842
  return metadata;
842
843
  };
843
- get = function (it) {
844
+ get$2 = function (it) {
844
845
  return store$1.get(it) || {};
845
846
  };
846
- has = function (it) {
847
+ has$2 = function (it) {
847
848
  return store$1.has(it);
848
849
  };
849
850
  } else {
850
851
  var STATE = sharedKey$1('state');
851
852
  hiddenKeys$1[STATE] = true;
852
- set$1 = function (it, metadata) {
853
+ set$3 = function (it, metadata) {
853
854
  if (hasOwn$b(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
854
855
  metadata.facade = it;
855
856
  createNonEnumerableProperty$7(it, STATE, metadata);
856
857
  return metadata;
857
858
  };
858
- get = function (it) {
859
+ get$2 = function (it) {
859
860
  return hasOwn$b(it, STATE) ? it[STATE] : {};
860
861
  };
861
- has = function (it) {
862
+ has$2 = function (it) {
862
863
  return hasOwn$b(it, STATE);
863
864
  };
864
865
  }
865
866
 
866
867
  var internalState = {
867
- set: set$1,
868
- get: get,
869
- has: has,
868
+ set: set$3,
869
+ get: get$2,
870
+ has: has$2,
870
871
  enforce: enforce,
871
872
  getterFor: getterFor
872
873
  };
@@ -890,7 +891,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
890
891
  } : $propertyIsEnumerable;
891
892
 
892
893
  var DESCRIPTORS$b = descriptors;
893
- var call$d = functionCall;
894
+ var call$h = functionCall;
894
895
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
895
896
  var createPropertyDescriptor$3 = createPropertyDescriptor$5;
896
897
  var toIndexedObject$1 = toIndexedObject$5;
@@ -909,7 +910,7 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor : f
909
910
  if (IE8_DOM_DEFINE) try {
910
911
  return $getOwnPropertyDescriptor(O, P);
911
912
  } catch (error) { /* empty */ }
912
- if (hasOwn$a(O, P)) return createPropertyDescriptor$3(!call$d(propertyIsEnumerableModule$1.f, O, P), O[P]);
913
+ if (hasOwn$a(O, P)) return createPropertyDescriptor$3(!call$h(propertyIsEnumerableModule$1.f, O, P), O[P]);
913
914
  };
914
915
 
915
916
  var makeBuiltIn$3 = {exports: {}};
@@ -923,7 +924,7 @@ var getDescriptor = DESCRIPTORS$a && Object.getOwnPropertyDescriptor;
923
924
 
924
925
  var EXISTS = hasOwn$9(FunctionPrototype$1, 'name');
925
926
  // additional protection from minified / mangled / dropped function names
926
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
927
+ var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
927
928
  var CONFIGURABLE = EXISTS && (!DESCRIPTORS$a || (DESCRIPTORS$a && getDescriptor(FunctionPrototype$1, 'name').configurable));
928
929
 
929
930
  var functionName = {
@@ -931,11 +932,11 @@ var functionName = {
931
932
  CONFIGURABLE: CONFIGURABLE
932
933
  };
933
934
 
934
- var uncurryThis$e = functionUncurryThis;
935
+ var uncurryThis$f = functionUncurryThis;
935
936
  var isCallable$f = isCallable$m;
936
937
  var store = sharedStoreExports;
937
938
 
938
- var functionToString = uncurryThis$e(Function.toString);
939
+ var functionToString = uncurryThis$f(Function.toString);
939
940
 
940
941
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
941
942
  if (!isCallable$f(store.inspectSource)) {
@@ -946,8 +947,8 @@ if (!isCallable$f(store.inspectSource)) {
946
947
 
947
948
  var inspectSource$3 = store.inspectSource;
948
949
 
949
- var uncurryThis$d = functionUncurryThis;
950
- var fails$e = fails$l;
950
+ var uncurryThis$e = functionUncurryThis;
951
+ var fails$g = fails$n;
951
952
  var isCallable$e = isCallable$m;
952
953
  var hasOwn$8 = hasOwnProperty_1;
953
954
  var DESCRIPTORS$9 = descriptors;
@@ -960,11 +961,11 @@ var getInternalState$1 = InternalStateModule$3.get;
960
961
  var $String$3 = String;
961
962
  // eslint-disable-next-line es/no-object-defineproperty -- safe
962
963
  var defineProperty$5 = Object.defineProperty;
963
- var stringSlice$2 = uncurryThis$d(''.slice);
964
- var replace$2 = uncurryThis$d(''.replace);
965
- var join = uncurryThis$d([].join);
964
+ var stringSlice$2 = uncurryThis$e(''.slice);
965
+ var replace$2 = uncurryThis$e(''.replace);
966
+ var join = uncurryThis$e([].join);
966
967
 
967
- var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$e(function () {
968
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$g(function () {
968
969
  return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
969
970
  });
970
971
 
@@ -1051,12 +1052,12 @@ var objectGetOwnPropertySymbols = {};
1051
1052
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1052
1053
 
1053
1054
  var getBuiltIn$5 = getBuiltIn$8;
1054
- var uncurryThis$c = functionUncurryThis;
1055
+ var uncurryThis$d = functionUncurryThis;
1055
1056
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1056
1057
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1057
1058
  var anObject$f = anObject$j;
1058
1059
 
1059
- var concat$1 = uncurryThis$c([].concat);
1060
+ var concat$1 = uncurryThis$d([].concat);
1060
1061
 
1061
1062
  // all object keys, includes non-enumerable and symbols
1062
1063
  var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -1082,7 +1083,7 @@ var copyConstructorProperties$3 = function (target, source, exceptions) {
1082
1083
  }
1083
1084
  };
1084
1085
 
1085
- var fails$d = fails$l;
1086
+ var fails$f = fails$n;
1086
1087
  var isCallable$c = isCallable$m;
1087
1088
 
1088
1089
  var replacement = /#|\.prototype\./;
@@ -1091,7 +1092,7 @@ var isForced$2 = function (feature, detection) {
1091
1092
  var value = data[normalize(feature)];
1092
1093
  return value === POLYFILL ? true
1093
1094
  : value === NATIVE ? false
1094
- : isCallable$c(detection) ? fails$d(detection)
1095
+ : isCallable$c(detection) ? fails$f(detection)
1095
1096
  : !!detection;
1096
1097
  };
1097
1098
 
@@ -1105,7 +1106,7 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
1105
1106
 
1106
1107
  var isForced_1 = isForced$2;
1107
1108
 
1108
- var globalThis$c = globalThis_1;
1109
+ var globalThis$f = globalThis_1;
1109
1110
  var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
1110
1111
  var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
1111
1112
  var defineBuiltIn$6 = defineBuiltIn$7;
@@ -1134,11 +1135,11 @@ var _export = function (options, source) {
1134
1135
  var STATIC = options.stat;
1135
1136
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1136
1137
  if (GLOBAL) {
1137
- target = globalThis$c;
1138
+ target = globalThis$f;
1138
1139
  } else if (STATIC) {
1139
- target = globalThis$c[TARGET] || defineGlobalProperty(TARGET, {});
1140
+ target = globalThis$f[TARGET] || defineGlobalProperty(TARGET, {});
1140
1141
  } else {
1141
- target = globalThis$c[TARGET] && globalThis$c[TARGET].prototype;
1142
+ target = globalThis$f[TARGET] && globalThis$f[TARGET].prototype;
1142
1143
  }
1143
1144
  if (target) for (key in source) {
1144
1145
  sourceProperty = source[key];
@@ -1160,9 +1161,9 @@ var _export = function (options, source) {
1160
1161
  }
1161
1162
  };
1162
1163
 
1163
- var fails$c = fails$l;
1164
+ var fails$e = fails$n;
1164
1165
 
1165
- var correctPrototypeGetter = !fails$c(function () {
1166
+ var correctPrototypeGetter = !fails$e(function () {
1166
1167
  function F() { /* empty */ }
1167
1168
  F.prototype.constructor = null;
1168
1169
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
@@ -1191,7 +1192,7 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
1191
1192
  } return object instanceof $Object$1 ? ObjectPrototype : null;
1192
1193
  };
1193
1194
 
1194
- var fails$b = fails$l;
1195
+ var fails$d = fails$n;
1195
1196
  var isCallable$a = isCallable$m;
1196
1197
  var isObject$7 = isObject$d;
1197
1198
  var getPrototypeOf$2 = objectGetPrototypeOf;
@@ -1216,7 +1217,7 @@ if ([].keys) {
1216
1217
  }
1217
1218
  }
1218
1219
 
1219
- var NEW_ITERATOR_PROTOTYPE = !isObject$7(IteratorPrototype$4) || fails$b(function () {
1220
+ var NEW_ITERATOR_PROTOTYPE = !isObject$7(IteratorPrototype$4) || fails$d(function () {
1220
1221
  var test = {};
1221
1222
  // FF44- legacy iterators case
1222
1223
  return IteratorPrototype$4[ITERATOR$6].call(test) !== test;
@@ -1266,13 +1267,13 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
1266
1267
  return IteratorConstructor;
1267
1268
  };
1268
1269
 
1269
- var uncurryThis$b = functionUncurryThis;
1270
- var aCallable$e = aCallable$g;
1270
+ var uncurryThis$c = functionUncurryThis;
1271
+ var aCallable$f = aCallable$h;
1271
1272
 
1272
1273
  var functionUncurryThisAccessor = function (object, key, method) {
1273
1274
  try {
1274
1275
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1275
- return uncurryThis$b(aCallable$e(Object.getOwnPropertyDescriptor(object, key)[method]));
1276
+ return uncurryThis$c(aCallable$f(Object.getOwnPropertyDescriptor(object, key)[method]));
1276
1277
  } catch (error) { /* empty */ }
1277
1278
  };
1278
1279
 
@@ -1321,8 +1322,8 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1321
1322
  };
1322
1323
  }() : undefined);
1323
1324
 
1324
- var $$m = _export;
1325
- var call$c = functionCall;
1325
+ var $$o = _export;
1326
+ var call$g = functionCall;
1326
1327
  var FunctionName = functionName;
1327
1328
  var isCallable$9 = isCallable$m;
1328
1329
  var createIteratorConstructor = iteratorCreateConstructor;
@@ -1394,7 +1395,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1394
1395
  createNonEnumerableProperty$5(IterablePrototype, 'name', VALUES);
1395
1396
  } else {
1396
1397
  INCORRECT_VALUES_NAME = true;
1397
- defaultIterator = function values() { return call$c(nativeIterator, this); };
1398
+ defaultIterator = function values() { return call$g(nativeIterator, this); };
1398
1399
  }
1399
1400
  }
1400
1401
 
@@ -1409,7 +1410,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1409
1410
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1410
1411
  defineBuiltIn$4(IterablePrototype, KEY, methods[KEY]);
1411
1412
  }
1412
- } else $$m({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1413
+ } else $$o({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1413
1414
  }
1414
1415
 
1415
1416
  // define iterator
@@ -1489,9 +1490,9 @@ if (DESCRIPTORS$8 && values.name !== 'values') try {
1489
1490
  } catch (error) { /* empty */ }
1490
1491
 
1491
1492
  var DESCRIPTORS$7 = descriptors;
1492
- var uncurryThis$a = functionUncurryThis;
1493
- var call$b = functionCall;
1494
- var fails$a = fails$l;
1493
+ var uncurryThis$b = functionUncurryThis;
1494
+ var call$f = functionCall;
1495
+ var fails$c = fails$n;
1495
1496
  var objectKeys = objectKeys$2;
1496
1497
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1497
1498
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
@@ -1502,11 +1503,11 @@ var IndexedObject$1 = indexedObject;
1502
1503
  var $assign = Object.assign;
1503
1504
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1504
1505
  var defineProperty$2 = Object.defineProperty;
1505
- var concat = uncurryThis$a([].concat);
1506
+ var concat = uncurryThis$b([].concat);
1506
1507
 
1507
1508
  // `Object.assign` method
1508
1509
  // https://tc39.es/ecma262/#sec-object.assign
1509
- var objectAssign = !$assign || fails$a(function () {
1510
+ var objectAssign = !$assign || fails$c(function () {
1510
1511
  // should have correct order of operations (Edge bug)
1511
1512
  if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
1512
1513
  enumerable: true,
@@ -1524,6 +1525,7 @@ var objectAssign = !$assign || fails$a(function () {
1524
1525
  var symbol = Symbol('assign detection');
1525
1526
  var alphabet = 'abcdefghijklmnopqrst';
1526
1527
  A[symbol] = 7;
1528
+ // eslint-disable-next-line es/no-array-prototype-foreach -- safe
1527
1529
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1528
1530
  return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
1529
1531
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
@@ -1540,18 +1542,18 @@ var objectAssign = !$assign || fails$a(function () {
1540
1542
  var key;
1541
1543
  while (length > j) {
1542
1544
  key = keys[j++];
1543
- if (!DESCRIPTORS$7 || call$b(propertyIsEnumerable, S, key)) T[key] = S[key];
1545
+ if (!DESCRIPTORS$7 || call$f(propertyIsEnumerable, S, key)) T[key] = S[key];
1544
1546
  }
1545
1547
  } return T;
1546
1548
  } : $assign;
1547
1549
 
1548
- var $$l = _export;
1550
+ var $$n = _export;
1549
1551
  var assign = objectAssign;
1550
1552
 
1551
1553
  // `Object.assign` method
1552
1554
  // https://tc39.es/ecma262/#sec-object.assign
1553
1555
  // eslint-disable-next-line es/no-object-assign -- required for testing
1554
- $$l({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1556
+ $$n({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1555
1557
  assign: assign
1556
1558
  });
1557
1559
 
@@ -1599,7 +1601,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1599
1601
 
1600
1602
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1601
1603
 
1602
- var globalThis$b = globalThis_1;
1604
+ var globalThis$e = globalThis_1;
1603
1605
  var DOMIterables = domIterables;
1604
1606
  var DOMTokenListPrototype = domTokenListPrototype;
1605
1607
  var ArrayIteratorMethods = es_array_iterator;
@@ -1631,7 +1633,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1631
1633
  };
1632
1634
 
1633
1635
  for (var COLLECTION_NAME in DOMIterables) {
1634
- handlePrototype(globalThis$b[COLLECTION_NAME] && globalThis$b[COLLECTION_NAME].prototype, COLLECTION_NAME);
1636
+ handlePrototype(globalThis$e[COLLECTION_NAME] && globalThis$e[COLLECTION_NAME].prototype, COLLECTION_NAME);
1635
1637
  }
1636
1638
 
1637
1639
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -3705,7 +3707,7 @@ var wellKnownSymbol$b = wellKnownSymbol$i;
3705
3707
 
3706
3708
  var TO_STRING_TAG$3 = wellKnownSymbol$b('toStringTag');
3707
3709
  var test$1 = {};
3708
-
3710
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
3709
3711
  test$1[TO_STRING_TAG$3] = 'z';
3710
3712
 
3711
3713
  var toStringTagSupport = String(test$1) === '[object z]';
@@ -3749,6 +3751,53 @@ var toString$5 = function (argument) {
3749
3751
  return $String$1(argument);
3750
3752
  };
3751
3753
 
3754
+ var globalThis$d = globalThis_1;
3755
+ var fails$b = fails$n;
3756
+
3757
+ // babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError
3758
+ var RegExp$1 = globalThis$d.RegExp;
3759
+
3760
+ var FLAGS_GETTER_IS_CORRECT = !fails$b(function () {
3761
+ var INDICES_SUPPORT = true;
3762
+ try {
3763
+ RegExp$1('.', 'd');
3764
+ } catch (error) {
3765
+ INDICES_SUPPORT = false;
3766
+ }
3767
+
3768
+ var O = {};
3769
+ // modern V8 bug
3770
+ var calls = '';
3771
+ var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy';
3772
+
3773
+ var addGetter = function (key, chr) {
3774
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
3775
+ Object.defineProperty(O, key, { get: function () {
3776
+ calls += chr;
3777
+ return true;
3778
+ } });
3779
+ };
3780
+
3781
+ var pairs = {
3782
+ dotAll: 's',
3783
+ global: 'g',
3784
+ ignoreCase: 'i',
3785
+ multiline: 'm',
3786
+ sticky: 'y'
3787
+ };
3788
+
3789
+ if (INDICES_SUPPORT) pairs.hasIndices = 'd';
3790
+
3791
+ for (var key in pairs) addGetter(key, pairs[key]);
3792
+
3793
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3794
+ var result = Object.getOwnPropertyDescriptor(RegExp$1.prototype, 'flags').get.call(O);
3795
+
3796
+ return result !== expected || calls !== expected;
3797
+ });
3798
+
3799
+ var regexpFlagsDetection = { correct: FLAGS_GETTER_IS_CORRECT };
3800
+
3752
3801
  var anObject$e = anObject$j;
3753
3802
 
3754
3803
  // `RegExp.prototype.flags` getter implementation
@@ -3767,31 +3816,34 @@ var regexpFlags = function () {
3767
3816
  return result;
3768
3817
  };
3769
3818
 
3770
- var call$a = functionCall;
3819
+ var call$e = functionCall;
3771
3820
  var hasOwn$4 = hasOwnProperty_1;
3772
3821
  var isPrototypeOf$4 = objectIsPrototypeOf;
3773
- var regExpFlags = regexpFlags;
3822
+ var regExpFlagsDetection = regexpFlagsDetection;
3823
+ var regExpFlagsGetterImplementation = regexpFlags;
3774
3824
 
3775
3825
  var RegExpPrototype$1 = RegExp.prototype;
3776
3826
 
3777
- var regexpGetFlags = function (R) {
3778
- var flags = R.flags;
3779
- return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$4(R, 'flags') && isPrototypeOf$4(RegExpPrototype$1, R)
3780
- ? call$a(regExpFlags, R) : flags;
3827
+ var regexpGetFlags = regExpFlagsDetection.correct ? function (it) {
3828
+ return it.flags;
3829
+ } : function (it) {
3830
+ return (!regExpFlagsDetection.correct && isPrototypeOf$4(RegExpPrototype$1, it) && !hasOwn$4(it, 'flags'))
3831
+ ? call$e(regExpFlagsGetterImplementation, it)
3832
+ : it.flags;
3781
3833
  };
3782
3834
 
3783
3835
  var PROPER_FUNCTION_NAME = functionName.PROPER;
3784
3836
  var defineBuiltIn$3 = defineBuiltIn$7;
3785
3837
  var anObject$d = anObject$j;
3786
3838
  var $toString = toString$5;
3787
- var fails$9 = fails$l;
3839
+ var fails$a = fails$n;
3788
3840
  var getRegExpFlags = regexpGetFlags;
3789
3841
 
3790
3842
  var TO_STRING = 'toString';
3791
3843
  var RegExpPrototype = RegExp.prototype;
3792
3844
  var nativeToString = RegExpPrototype[TO_STRING];
3793
3845
 
3794
- var NOT_GENERIC = fails$9(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
3846
+ var NOT_GENERIC = fails$a(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
3795
3847
  // FF44- RegExp#toString has a wrong name
3796
3848
  var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
3797
3849
 
@@ -4457,10 +4509,11 @@ var defineBuiltInAccessor$3 = function (target, name, descriptor) {
4457
4509
  return defineProperty$1.f(target, name, descriptor);
4458
4510
  };
4459
4511
 
4460
- var $$k = _export;
4512
+ var $$m = _export;
4461
4513
  var DESCRIPTORS$6 = descriptors;
4462
- var globalThis$a = globalThis_1;
4463
- var uncurryThis$9 = functionUncurryThis;
4514
+ var globalThis$c = globalThis_1;
4515
+ var call$d = functionCall;
4516
+ var uncurryThis$a = functionUncurryThis;
4464
4517
  var hasOwn$3 = hasOwnProperty_1;
4465
4518
  var isCallable$7 = isCallable$m;
4466
4519
  var isPrototypeOf$3 = objectIsPrototypeOf;
@@ -4468,7 +4521,7 @@ var toString$4 = toString$5;
4468
4521
  var defineBuiltInAccessor$2 = defineBuiltInAccessor$3;
4469
4522
  var copyConstructorProperties$1 = copyConstructorProperties$3;
4470
4523
 
4471
- var NativeSymbol = globalThis$a.Symbol;
4524
+ var NativeSymbol = globalThis$c.Symbol;
4472
4525
  var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
4473
4526
 
4474
4527
  if (DESCRIPTORS$6 && isCallable$7(NativeSymbol) && (!('description' in SymbolPrototype) ||
@@ -4480,7 +4533,7 @@ if (DESCRIPTORS$6 && isCallable$7(NativeSymbol) && (!('description' in SymbolPro
4480
4533
  var SymbolWrapper = function Symbol() {
4481
4534
  var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$4(arguments[0]);
4482
4535
  var result = isPrototypeOf$3(SymbolPrototype, this)
4483
- // eslint-disable-next-line sonar/inconsistent-function-call -- ok
4536
+ // eslint-disable-next-line sonarjs/inconsistent-function-call -- ok
4484
4537
  ? new NativeSymbol(description)
4485
4538
  // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
4486
4539
  : description === undefined ? NativeSymbol() : NativeSymbol(description);
@@ -4489,15 +4542,23 @@ if (DESCRIPTORS$6 && isCallable$7(NativeSymbol) && (!('description' in SymbolPro
4489
4542
  };
4490
4543
 
4491
4544
  copyConstructorProperties$1(SymbolWrapper, NativeSymbol);
4545
+ // wrap Symbol.for for correct handling of empty string descriptions
4546
+ var nativeFor = SymbolWrapper['for'];
4547
+ SymbolWrapper['for'] = { 'for': function (key) {
4548
+ var stringKey = toString$4(key);
4549
+ var symbol = call$d(nativeFor, this, stringKey);
4550
+ if (stringKey === '') EmptyStringDescriptionStore[symbol] = true;
4551
+ return symbol;
4552
+ } }['for'];
4492
4553
  SymbolWrapper.prototype = SymbolPrototype;
4493
4554
  SymbolPrototype.constructor = SymbolWrapper;
4494
4555
 
4495
4556
  var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
4496
- var thisSymbolValue = uncurryThis$9(SymbolPrototype.valueOf);
4497
- var symbolDescriptiveString = uncurryThis$9(SymbolPrototype.toString);
4557
+ var thisSymbolValue = uncurryThis$a(SymbolPrototype.valueOf);
4558
+ var symbolDescriptiveString = uncurryThis$a(SymbolPrototype.toString);
4498
4559
  var regexp = /^Symbol\((.*)\)[^)]+$/;
4499
- var replace$1 = uncurryThis$9(''.replace);
4500
- var stringSlice$1 = uncurryThis$9(''.slice);
4560
+ var replace$1 = uncurryThis$a(''.replace);
4561
+ var stringSlice$1 = uncurryThis$a(''.slice);
4501
4562
 
4502
4563
  defineBuiltInAccessor$2(SymbolPrototype, 'description', {
4503
4564
  configurable: true,
@@ -4510,165 +4571,11 @@ if (DESCRIPTORS$6 && isCallable$7(NativeSymbol) && (!('description' in SymbolPro
4510
4571
  }
4511
4572
  });
4512
4573
 
4513
- $$k({ global: true, constructor: true, forced: true }, {
4574
+ $$m({ global: true, constructor: true, forced: true }, {
4514
4575
  Symbol: SymbolWrapper
4515
4576
  });
4516
4577
  }
4517
4578
 
4518
- var uncurryThis$8 = functionUncurryThis;
4519
-
4520
- // `thisNumberValue` abstract operation
4521
- // https://tc39.es/ecma262/#sec-thisnumbervalue
4522
- var thisNumberValue$1 = uncurryThis$8(1.0.valueOf);
4523
-
4524
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
4525
- var toString$3 = toString$5;
4526
- var requireObjectCoercible$1 = requireObjectCoercible$5;
4527
-
4528
- var $RangeError$1 = RangeError;
4529
-
4530
- // `String.prototype.repeat` method implementation
4531
- // https://tc39.es/ecma262/#sec-string.prototype.repeat
4532
- var stringRepeat = function repeat(count) {
4533
- var str = toString$3(requireObjectCoercible$1(this));
4534
- var result = '';
4535
- var n = toIntegerOrInfinity$1(count);
4536
- if (n < 0 || n === Infinity) throw new $RangeError$1('Wrong number of repetitions');
4537
- for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
4538
- return result;
4539
- };
4540
-
4541
- var $$j = _export;
4542
- var uncurryThis$7 = functionUncurryThis;
4543
- var toIntegerOrInfinity = toIntegerOrInfinity$4;
4544
- var thisNumberValue = thisNumberValue$1;
4545
- var $repeat = stringRepeat;
4546
- var fails$8 = fails$l;
4547
-
4548
- var $RangeError = RangeError;
4549
- var $String = String;
4550
- var floor$1 = Math.floor;
4551
- var repeat = uncurryThis$7($repeat);
4552
- var stringSlice = uncurryThis$7(''.slice);
4553
- var nativeToFixed = uncurryThis$7(1.0.toFixed);
4554
-
4555
- var pow = function (x, n, acc) {
4556
- return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
4557
- };
4558
-
4559
- var log = function (x) {
4560
- var n = 0;
4561
- var x2 = x;
4562
- while (x2 >= 4096) {
4563
- n += 12;
4564
- x2 /= 4096;
4565
- }
4566
- while (x2 >= 2) {
4567
- n += 1;
4568
- x2 /= 2;
4569
- } return n;
4570
- };
4571
-
4572
- var multiply = function (data, n, c) {
4573
- var index = -1;
4574
- var c2 = c;
4575
- while (++index < 6) {
4576
- c2 += n * data[index];
4577
- data[index] = c2 % 1e7;
4578
- c2 = floor$1(c2 / 1e7);
4579
- }
4580
- };
4581
-
4582
- var divide = function (data, n) {
4583
- var index = 6;
4584
- var c = 0;
4585
- while (--index >= 0) {
4586
- c += data[index];
4587
- data[index] = floor$1(c / n);
4588
- c = (c % n) * 1e7;
4589
- }
4590
- };
4591
-
4592
- var dataToString = function (data) {
4593
- var index = 6;
4594
- var s = '';
4595
- while (--index >= 0) {
4596
- if (s !== '' || index === 0 || data[index] !== 0) {
4597
- var t = $String(data[index]);
4598
- s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
4599
- }
4600
- } return s;
4601
- };
4602
-
4603
- var FORCED$5 = fails$8(function () {
4604
- return nativeToFixed(0.00008, 3) !== '0.000' ||
4605
- nativeToFixed(0.9, 0) !== '1' ||
4606
- nativeToFixed(1.255, 2) !== '1.25' ||
4607
- nativeToFixed(1000000000000000128.0, 0) !== '1000000000000000128';
4608
- }) || !fails$8(function () {
4609
- // V8 ~ Android 4.3-
4610
- nativeToFixed({});
4611
- });
4612
-
4613
- // `Number.prototype.toFixed` method
4614
- // https://tc39.es/ecma262/#sec-number.prototype.tofixed
4615
- $$j({ target: 'Number', proto: true, forced: FORCED$5 }, {
4616
- toFixed: function toFixed(fractionDigits) {
4617
- var number = thisNumberValue(this);
4618
- var fractDigits = toIntegerOrInfinity(fractionDigits);
4619
- var data = [0, 0, 0, 0, 0, 0];
4620
- var sign = '';
4621
- var result = '0';
4622
- var e, z, j, k;
4623
-
4624
- // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
4625
- if (fractDigits < 0 || fractDigits > 20) throw new $RangeError('Incorrect fraction digits');
4626
- // eslint-disable-next-line no-self-compare -- NaN check
4627
- if (number !== number) return 'NaN';
4628
- if (number <= -1e21 || number >= 1e21) return $String(number);
4629
- if (number < 0) {
4630
- sign = '-';
4631
- number = -number;
4632
- }
4633
- if (number > 1e-21) {
4634
- e = log(number * pow(2, 69, 1)) - 69;
4635
- z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);
4636
- z *= 0x10000000000000;
4637
- e = 52 - e;
4638
- if (e > 0) {
4639
- multiply(data, 0, z);
4640
- j = fractDigits;
4641
- while (j >= 7) {
4642
- multiply(data, 1e7, 0);
4643
- j -= 7;
4644
- }
4645
- multiply(data, pow(10, j, 1), 0);
4646
- j = e - 1;
4647
- while (j >= 23) {
4648
- divide(data, 1 << 23);
4649
- j -= 23;
4650
- }
4651
- divide(data, 1 << j);
4652
- multiply(data, 1, 1);
4653
- divide(data, 2);
4654
- result = dataToString(data);
4655
- } else {
4656
- multiply(data, 0, z);
4657
- multiply(data, 1 << -e, 0);
4658
- result = dataToString(data) + repeat('0', fractDigits);
4659
- }
4660
- }
4661
- if (fractDigits > 0) {
4662
- k = result.length;
4663
- result = sign + (k <= fractDigits
4664
- ? '0.' + repeat('0', fractDigits - k) + result
4665
- : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits));
4666
- } else {
4667
- result = sign + result;
4668
- } return result;
4669
- }
4670
- });
4671
-
4672
4579
  var isPrototypeOf$2 = objectIsPrototypeOf;
4673
4580
 
4674
4581
  var $TypeError$c = TypeError;
@@ -4687,15 +4594,15 @@ var createProperty$1 = function (object, key, value) {
4687
4594
  else object[key] = value;
4688
4595
  };
4689
4596
 
4690
- var $$i = _export;
4691
- var globalThis$9 = globalThis_1;
4597
+ var $$l = _export;
4598
+ var globalThis$b = globalThis_1;
4692
4599
  var anInstance$1 = anInstance$2;
4693
4600
  var anObject$c = anObject$j;
4694
4601
  var isCallable$6 = isCallable$m;
4695
4602
  var getPrototypeOf = objectGetPrototypeOf;
4696
4603
  var defineBuiltInAccessor$1 = defineBuiltInAccessor$3;
4697
4604
  var createProperty = createProperty$1;
4698
- var fails$7 = fails$l;
4605
+ var fails$9 = fails$n;
4699
4606
  var hasOwn$2 = hasOwnProperty_1;
4700
4607
  var wellKnownSymbol$9 = wellKnownSymbol$i;
4701
4608
  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
@@ -4706,13 +4613,13 @@ var ITERATOR$3 = 'Iterator';
4706
4613
  var TO_STRING_TAG$1 = wellKnownSymbol$9('toStringTag');
4707
4614
 
4708
4615
  var $TypeError$b = TypeError;
4709
- var NativeIterator = globalThis$9[ITERATOR$3];
4616
+ var NativeIterator = globalThis$b[ITERATOR$3];
4710
4617
 
4711
4618
  // FF56- have non-standard global helper `Iterator`
4712
- var FORCED$4 = !isCallable$6(NativeIterator)
4619
+ var FORCED$7 = !isCallable$6(NativeIterator)
4713
4620
  || NativeIterator.prototype !== IteratorPrototype$1
4714
4621
  // FF44- non-standard `Iterator` passes previous tests
4715
- || !fails$7(function () { NativeIterator({}); });
4622
+ || !fails$9(function () { NativeIterator({}); });
4716
4623
 
4717
4624
  var IteratorConstructor = function Iterator() {
4718
4625
  anInstance$1(this, IteratorPrototype$1);
@@ -4738,20 +4645,20 @@ var defineIteratorPrototypeAccessor = function (key, value) {
4738
4645
 
4739
4646
  if (!hasOwn$2(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR$3);
4740
4647
 
4741
- if (FORCED$4 || !hasOwn$2(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
4648
+ if (FORCED$7 || !hasOwn$2(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
4742
4649
  defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
4743
4650
  }
4744
4651
 
4745
4652
  IteratorConstructor.prototype = IteratorPrototype$1;
4746
4653
 
4747
4654
  // `Iterator` constructor
4748
- // https://github.com/tc39/proposal-iterator-helpers
4749
- $$i({ global: true, constructor: true, forced: FORCED$4 }, {
4655
+ // https://tc39.es/ecma262/#sec-iterator
4656
+ $$l({ global: true, constructor: true, forced: FORCED$7 }, {
4750
4657
  Iterator: IteratorConstructor
4751
4658
  });
4752
4659
 
4753
4660
  // `GetIteratorDirect(obj)` abstract operation
4754
- // https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
4661
+ // https://tc39.es/ecma262/#sec-getiteratordirect
4755
4662
  var getIteratorDirect$6 = function (obj) {
4756
4663
  return {
4757
4664
  iterator: obj,
@@ -4767,11 +4674,11 @@ var defineBuiltIns$1 = function (target, src, options) {
4767
4674
  return target;
4768
4675
  };
4769
4676
 
4770
- var call$9 = functionCall;
4677
+ var call$c = functionCall;
4771
4678
  var anObject$b = anObject$j;
4772
4679
  var getMethod$2 = getMethod$4;
4773
4680
 
4774
- var iteratorClose$3 = function (iterator, kind, value) {
4681
+ var iteratorClose$a = function (iterator, kind, value) {
4775
4682
  var innerResult, innerError;
4776
4683
  anObject$b(iterator);
4777
4684
  try {
@@ -4780,7 +4687,7 @@ var iteratorClose$3 = function (iterator, kind, value) {
4780
4687
  if (kind === 'throw') throw value;
4781
4688
  return value;
4782
4689
  }
4783
- innerResult = call$9(innerResult, iterator);
4690
+ innerResult = call$c(innerResult, iterator);
4784
4691
  } catch (error) {
4785
4692
  innerError = true;
4786
4693
  innerResult = error;
@@ -4791,7 +4698,23 @@ var iteratorClose$3 = function (iterator, kind, value) {
4791
4698
  return value;
4792
4699
  };
4793
4700
 
4794
- var call$8 = functionCall;
4701
+ var iteratorClose$9 = iteratorClose$a;
4702
+
4703
+ var iteratorCloseAll$1 = function (iters, kind, value) {
4704
+ for (var i = iters.length - 1; i >= 0; i--) {
4705
+ if (iters[i] === undefined) continue;
4706
+ try {
4707
+ value = iteratorClose$9(iters[i].iterator, kind, value);
4708
+ } catch (error) {
4709
+ kind = 'throw';
4710
+ value = error;
4711
+ }
4712
+ }
4713
+ if (kind === 'throw') throw value;
4714
+ return value;
4715
+ };
4716
+
4717
+ var call$b = functionCall;
4795
4718
  var create = objectCreate;
4796
4719
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
4797
4720
  var defineBuiltIns = defineBuiltIns$1;
@@ -4800,11 +4723,14 @@ var InternalStateModule$1 = internalState;
4800
4723
  var getMethod$1 = getMethod$4;
4801
4724
  var IteratorPrototype = iteratorsCore.IteratorPrototype;
4802
4725
  var createIterResultObject = createIterResultObject$2;
4803
- var iteratorClose$2 = iteratorClose$3;
4726
+ var iteratorClose$8 = iteratorClose$a;
4727
+ var iteratorCloseAll = iteratorCloseAll$1;
4804
4728
 
4805
4729
  var TO_STRING_TAG = wellKnownSymbol$8('toStringTag');
4806
4730
  var ITERATOR_HELPER = 'IteratorHelper';
4807
4731
  var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
4732
+ var NORMAL = 'normal';
4733
+ var THROW = 'throw';
4808
4734
  var setInternalState$1 = InternalStateModule$1.set;
4809
4735
 
4810
4736
  var createIteratorProxyPrototype = function (IS_ITERATOR) {
@@ -4814,12 +4740,13 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
4814
4740
  next: function next() {
4815
4741
  var state = getInternalState(this);
4816
4742
  // for simplification:
4817
- // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
4743
+ // for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
4818
4744
  // for `%IteratorHelperPrototype%.next` - just a value
4819
4745
  if (IS_ITERATOR) return state.nextHandler();
4746
+ if (state.done) return createIterResultObject(undefined, true);
4820
4747
  try {
4821
- var result = state.done ? undefined : state.nextHandler();
4822
- return createIterResultObject(result, state.done);
4748
+ var result = state.nextHandler();
4749
+ return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
4823
4750
  } catch (error) {
4824
4751
  state.done = true;
4825
4752
  throw error;
@@ -4828,17 +4755,25 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
4828
4755
  'return': function () {
4829
4756
  var state = getInternalState(this);
4830
4757
  var iterator = state.iterator;
4758
+ var done = state.done;
4831
4759
  state.done = true;
4832
4760
  if (IS_ITERATOR) {
4833
4761
  var returnMethod = getMethod$1(iterator, 'return');
4834
- return returnMethod ? call$8(returnMethod, iterator) : createIterResultObject(undefined, true);
4762
+ return returnMethod ? call$b(returnMethod, iterator) : createIterResultObject(undefined, true);
4835
4763
  }
4764
+ if (done) return createIterResultObject(undefined, true);
4836
4765
  if (state.inner) try {
4837
- iteratorClose$2(state.inner.iterator, 'normal');
4766
+ iteratorClose$8(state.inner.iterator, NORMAL);
4767
+ } catch (error) {
4768
+ return iteratorClose$8(iterator, THROW, error);
4769
+ }
4770
+ if (state.openIters) try {
4771
+ iteratorCloseAll(state.openIters, NORMAL);
4838
4772
  } catch (error) {
4839
- return iteratorClose$2(iterator, 'throw', error);
4773
+ if (iterator) return iteratorClose$8(iterator, THROW, error);
4774
+ throw error;
4840
4775
  }
4841
- iteratorClose$2(iterator, 'normal');
4776
+ if (iterator) iteratorClose$8(iterator, NORMAL);
4842
4777
  return createIterResultObject(undefined, true);
4843
4778
  }
4844
4779
  });
@@ -4849,13 +4784,14 @@ var IteratorHelperPrototype = createIteratorProxyPrototype(false);
4849
4784
 
4850
4785
  createNonEnumerableProperty$3(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
4851
4786
 
4852
- var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
4787
+ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
4853
4788
  var IteratorProxy = function Iterator(record, state) {
4854
4789
  if (state) {
4855
4790
  state.iterator = record.iterator;
4856
4791
  state.next = record.next;
4857
4792
  } else state = record;
4858
4793
  state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
4794
+ state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
4859
4795
  state.nextHandler = nextHandler;
4860
4796
  state.counter = 0;
4861
4797
  state.done = false;
@@ -4868,49 +4804,248 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
4868
4804
  };
4869
4805
 
4870
4806
  var anObject$a = anObject$j;
4871
- var iteratorClose$1 = iteratorClose$3;
4807
+ var iteratorClose$7 = iteratorClose$a;
4872
4808
 
4873
4809
  // call something on iterator step with safe closing on error
4874
4810
  var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
4875
4811
  try {
4876
4812
  return ENTRIES ? fn(anObject$a(value)[0], value[1]) : fn(value);
4877
4813
  } catch (error) {
4878
- iteratorClose$1(iterator, 'throw', error);
4814
+ iteratorClose$7(iterator, 'throw', error);
4879
4815
  }
4880
4816
  };
4881
4817
 
4882
- var call$7 = functionCall;
4883
- var aCallable$d = aCallable$g;
4818
+ // Should throw an error on invalid iterator
4819
+ // https://issues.chromium.org/issues/336839115
4820
+ var iteratorHelperThrowsOnInvalidIterator$2 = function (methodName, argument) {
4821
+ // eslint-disable-next-line es/no-iterator -- required for testing
4822
+ var method = typeof Iterator == 'function' && Iterator.prototype[methodName];
4823
+ if (method) try {
4824
+ method.call({ next: null }, argument).next();
4825
+ } catch (error) {
4826
+ return true;
4827
+ }
4828
+ };
4829
+
4830
+ var globalThis$a = globalThis_1;
4831
+
4832
+ // https://github.com/tc39/ecma262/pull/3467
4833
+ var iteratorHelperWithoutClosingOnEarlyError$6 = function (METHOD_NAME, ExpectedError) {
4834
+ var Iterator = globalThis$a.Iterator;
4835
+ var IteratorPrototype = Iterator && Iterator.prototype;
4836
+ var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
4837
+
4838
+ var CLOSED = false;
4839
+
4840
+ if (method) try {
4841
+ method.call({
4842
+ next: function () { return { done: true }; },
4843
+ 'return': function () { CLOSED = true; }
4844
+ }, -1);
4845
+ } catch (error) {
4846
+ // https://bugs.webkit.org/show_bug.cgi?id=291195
4847
+ if (!(error instanceof ExpectedError)) CLOSED = false;
4848
+ }
4849
+
4850
+ if (!CLOSED) return method;
4851
+ };
4852
+
4853
+ var $$k = _export;
4854
+ var call$a = functionCall;
4855
+ var aCallable$e = aCallable$h;
4884
4856
  var anObject$9 = anObject$j;
4885
4857
  var getIteratorDirect$5 = getIteratorDirect$6;
4886
4858
  var createIteratorProxy$1 = iteratorCreateProxy;
4887
4859
  var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
4860
+ var iteratorClose$6 = iteratorClose$a;
4861
+ var iteratorHelperThrowsOnInvalidIterator$1 = iteratorHelperThrowsOnInvalidIterator$2;
4862
+ var iteratorHelperWithoutClosingOnEarlyError$5 = iteratorHelperWithoutClosingOnEarlyError$6;
4863
+
4864
+ var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !iteratorHelperThrowsOnInvalidIterator$1('map', function () { /* empty */ });
4865
+ var mapWithoutClosingOnEarlyError = !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
4866
+ && iteratorHelperWithoutClosingOnEarlyError$5('map', TypeError);
4867
+
4868
+ var FORCED$6 = MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
4888
4869
 
4889
4870
  var IteratorProxy$1 = createIteratorProxy$1(function () {
4890
4871
  var iterator = this.iterator;
4891
- var result = anObject$9(call$7(this.next, iterator));
4872
+ var result = anObject$9(call$a(this.next, iterator));
4892
4873
  var done = this.done = !!result.done;
4893
4874
  if (!done) return callWithSafeIterationClosing$1(iterator, this.mapper, [result.value, this.counter++], true);
4894
4875
  });
4895
4876
 
4896
4877
  // `Iterator.prototype.map` method
4897
- // https://github.com/tc39/proposal-iterator-helpers
4898
- var iteratorMap = function map(mapper) {
4899
- anObject$9(this);
4900
- aCallable$d(mapper);
4901
- return new IteratorProxy$1(getIteratorDirect$5(this), {
4902
- mapper: mapper
4903
- });
4878
+ // https://tc39.es/ecma262/#sec-iterator.prototype.map
4879
+ $$k({ target: 'Iterator', proto: true, real: true, forced: FORCED$6 }, {
4880
+ map: function map(mapper) {
4881
+ anObject$9(this);
4882
+ try {
4883
+ aCallable$e(mapper);
4884
+ } catch (error) {
4885
+ iteratorClose$6(this, 'throw', error);
4886
+ }
4887
+
4888
+ if (mapWithoutClosingOnEarlyError) return call$a(mapWithoutClosingOnEarlyError, this, mapper);
4889
+
4890
+ return new IteratorProxy$1(getIteratorDirect$5(this), {
4891
+ mapper: mapper
4892
+ });
4893
+ }
4894
+ });
4895
+
4896
+ var uncurryThis$9 = functionUncurryThis;
4897
+
4898
+ // `thisNumberValue` abstract operation
4899
+ // https://tc39.es/ecma262/#sec-thisnumbervalue
4900
+ var thisNumberValue$1 = uncurryThis$9(1.1.valueOf);
4901
+
4902
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
4903
+ var toString$3 = toString$5;
4904
+ var requireObjectCoercible$1 = requireObjectCoercible$5;
4905
+
4906
+ var $RangeError$1 = RangeError;
4907
+ var floor$2 = Math.floor;
4908
+
4909
+ // `String.prototype.repeat` method implementation
4910
+ // https://tc39.es/ecma262/#sec-string.prototype.repeat
4911
+ var stringRepeat = function repeat(count) {
4912
+ var str = toString$3(requireObjectCoercible$1(this));
4913
+ var result = '';
4914
+ var n = toIntegerOrInfinity$1(count);
4915
+ if (n < 0 || n === Infinity) throw new $RangeError$1('Wrong number of repetitions');
4916
+ for (;n > 0; (n = floor$2(n / 2)) && (str += str)) if (n % 2) result += str;
4917
+ return result;
4904
4918
  };
4905
4919
 
4906
- var $$h = _export;
4907
- var map = iteratorMap;
4908
- var IS_PURE$1 = isPure;
4920
+ var $$j = _export;
4921
+ var uncurryThis$8 = functionUncurryThis;
4922
+ var toIntegerOrInfinity = toIntegerOrInfinity$4;
4923
+ var thisNumberValue = thisNumberValue$1;
4924
+ var $repeat = stringRepeat;
4925
+ var fails$8 = fails$n;
4926
+
4927
+ var $RangeError = RangeError;
4928
+ var $String = String;
4929
+ var floor$1 = Math.floor;
4930
+ var repeat = uncurryThis$8($repeat);
4931
+ var stringSlice = uncurryThis$8(''.slice);
4932
+ var nativeToFixed = uncurryThis$8(1.1.toFixed);
4933
+
4934
+ var pow = function (x, n, acc) {
4935
+ return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
4936
+ };
4937
+
4938
+ var log = function (x) {
4939
+ var n = 0;
4940
+ var x2 = x;
4941
+ while (x2 >= 4096) {
4942
+ n += 12;
4943
+ x2 /= 4096;
4944
+ }
4945
+ while (x2 >= 2) {
4946
+ n += 1;
4947
+ x2 /= 2;
4948
+ } return n;
4949
+ };
4950
+
4951
+ var multiply = function (data, n, c) {
4952
+ var index = -1;
4953
+ var c2 = c;
4954
+ while (++index < 6) {
4955
+ c2 += n * data[index];
4956
+ data[index] = c2 % 1e7;
4957
+ c2 = floor$1(c2 / 1e7);
4958
+ }
4959
+ };
4960
+
4961
+ var divide = function (data, n) {
4962
+ var index = 6;
4963
+ var c = 0;
4964
+ while (--index >= 0) {
4965
+ c += data[index];
4966
+ data[index] = floor$1(c / n);
4967
+ c = (c % n) * 1e7;
4968
+ }
4969
+ };
4970
+
4971
+ var dataToString = function (data) {
4972
+ var index = 6;
4973
+ var s = '';
4974
+ while (--index >= 0) {
4975
+ if (s !== '' || index === 0 || data[index] !== 0) {
4976
+ var t = $String(data[index]);
4977
+ s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
4978
+ }
4979
+ } return s;
4980
+ };
4981
+
4982
+ var FORCED$5 = fails$8(function () {
4983
+ return nativeToFixed(0.00008, 3) !== '0.000' ||
4984
+ nativeToFixed(0.9, 0) !== '1' ||
4985
+ nativeToFixed(1.255, 2) !== '1.25' ||
4986
+ nativeToFixed(1000000000000000128.0, 0) !== '1000000000000000128';
4987
+ }) || !fails$8(function () {
4988
+ // V8 ~ Android 4.3-
4989
+ nativeToFixed({});
4990
+ });
4991
+
4992
+ // `Number.prototype.toFixed` method
4993
+ // https://tc39.es/ecma262/#sec-number.prototype.tofixed
4994
+ $$j({ target: 'Number', proto: true, forced: FORCED$5 }, {
4995
+ toFixed: function toFixed(fractionDigits) {
4996
+ var number = thisNumberValue(this);
4997
+ var fractDigits = toIntegerOrInfinity(fractionDigits);
4998
+ var data = [0, 0, 0, 0, 0, 0];
4999
+ var sign = '';
5000
+ var result = '0';
5001
+ var e, z, j, k;
4909
5002
 
4910
- // `Iterator.prototype.map` method
4911
- // https://github.com/tc39/proposal-iterator-helpers
4912
- $$h({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
4913
- map: map
5003
+ // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
5004
+ if (fractDigits < 0 || fractDigits > 20) throw new $RangeError('Incorrect fraction digits');
5005
+ // eslint-disable-next-line no-self-compare -- NaN check
5006
+ if (number !== number) return 'NaN';
5007
+ if (number <= -1e21 || number >= 1e21) return $String(number);
5008
+ if (number < 0) {
5009
+ sign = '-';
5010
+ number = -number;
5011
+ }
5012
+ if (number > 1e-21) {
5013
+ e = log(number * pow(2, 69, 1)) - 69;
5014
+ z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);
5015
+ z *= 0x10000000000000;
5016
+ e = 52 - e;
5017
+ if (e > 0) {
5018
+ multiply(data, 0, z);
5019
+ j = fractDigits;
5020
+ while (j >= 7) {
5021
+ multiply(data, 1e7, 0);
5022
+ j -= 7;
5023
+ }
5024
+ multiply(data, pow(10, j, 1), 0);
5025
+ j = e - 1;
5026
+ while (j >= 23) {
5027
+ divide(data, 1 << 23);
5028
+ j -= 23;
5029
+ }
5030
+ divide(data, 1 << j);
5031
+ multiply(data, 1, 1);
5032
+ divide(data, 2);
5033
+ result = dataToString(data);
5034
+ } else {
5035
+ multiply(data, 0, z);
5036
+ multiply(data, 1 << -e, 0);
5037
+ result = dataToString(data) + repeat('0', fractDigits);
5038
+ }
5039
+ }
5040
+ if (fractDigits > 0) {
5041
+ k = result.length;
5042
+ result = sign + (k <= fractDigits
5043
+ ? '0.' + repeat('0', fractDigits - k) + result
5044
+ : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits));
5045
+ } else {
5046
+ result = sign + result;
5047
+ } return result;
5048
+ }
4914
5049
  });
4915
5050
 
4916
5051
  const VentionSteps = props => {
@@ -5957,12 +6092,12 @@ const tileColorMap = {
5957
6092
  var NATIVE_BIND$1 = functionBindNative;
5958
6093
 
5959
6094
  var FunctionPrototype = Function.prototype;
5960
- var apply$2 = FunctionPrototype.apply;
5961
- var call$6 = FunctionPrototype.call;
6095
+ var apply$3 = FunctionPrototype.apply;
6096
+ var call$9 = FunctionPrototype.call;
5962
6097
 
5963
- // eslint-disable-next-line es/no-reflect -- safe
5964
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$6.bind(apply$2) : function () {
5965
- return call$6.apply(apply$2, arguments);
6098
+ // eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
6099
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$9.bind(apply$3) : function () {
6100
+ return call$9.apply(apply$3, arguments);
5966
6101
  });
5967
6102
 
5968
6103
  var defineProperty = objectDefineProperty.f;
@@ -6004,20 +6139,20 @@ var isObject$3 = isObject$d;
6004
6139
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$8;
6005
6140
 
6006
6141
  // `InstallErrorCause` abstract operation
6007
- // https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
6142
+ // https://tc39.es/ecma262/#sec-installerrorcause
6008
6143
  var installErrorCause$1 = function (O, options) {
6009
6144
  if (isObject$3(options) && 'cause' in options) {
6010
6145
  createNonEnumerableProperty$2(O, 'cause', options.cause);
6011
6146
  }
6012
6147
  };
6013
6148
 
6014
- var uncurryThis$6 = functionUncurryThis;
6149
+ var uncurryThis$7 = functionUncurryThis;
6015
6150
 
6016
6151
  var $Error = Error;
6017
- var replace = uncurryThis$6(''.replace);
6152
+ var replace = uncurryThis$7(''.replace);
6018
6153
 
6019
6154
  var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
6020
- // eslint-disable-next-line redos/no-vulnerable -- safe
6155
+ // eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
6021
6156
  var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
6022
6157
  var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
6023
6158
 
@@ -6027,10 +6162,10 @@ var errorStackClear = function (stack, dropEntries) {
6027
6162
  } return stack;
6028
6163
  };
6029
6164
 
6030
- var fails$6 = fails$l;
6165
+ var fails$7 = fails$n;
6031
6166
  var createPropertyDescriptor = createPropertyDescriptor$5;
6032
6167
 
6033
- var errorStackInstallable = !fails$6(function () {
6168
+ var errorStackInstallable = !fails$7(function () {
6034
6169
  var error = new Error('a');
6035
6170
  if (!('stack' in error)) return true;
6036
6171
  // eslint-disable-next-line es/no-object-defineproperty -- safe
@@ -6043,6 +6178,7 @@ var clearErrorStack = errorStackClear;
6043
6178
  var ERROR_STACK_INSTALLABLE = errorStackInstallable;
6044
6179
 
6045
6180
  // non-standard V8
6181
+ // eslint-disable-next-line es/no-nonstandard-error-properties -- safe
6046
6182
  var captureStackTrace = Error.captureStackTrace;
6047
6183
 
6048
6184
  var errorStackInstall = function (error, C, stack, dropEntries) {
@@ -6117,82 +6253,84 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
6117
6253
  };
6118
6254
 
6119
6255
  /* eslint-disable no-unused-vars -- required for functions `.length` */
6120
- var $$g = _export;
6121
- var globalThis$8 = globalThis_1;
6122
- var apply$1 = functionApply;
6256
+ var $$i = _export;
6257
+ var globalThis$9 = globalThis_1;
6258
+ var apply$2 = functionApply;
6123
6259
  var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
6124
6260
 
6125
6261
  var WEB_ASSEMBLY = 'WebAssembly';
6126
- var WebAssembly = globalThis$8[WEB_ASSEMBLY];
6262
+ var WebAssembly = globalThis$9[WEB_ASSEMBLY];
6127
6263
 
6128
6264
  // eslint-disable-next-line es/no-error-cause -- feature detection
6129
- var FORCED$3 = new Error('e', { cause: 7 }).cause !== 7;
6265
+ var FORCED$4 = new Error('e', { cause: 7 }).cause !== 7;
6130
6266
 
6131
6267
  var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
6132
6268
  var O = {};
6133
- O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$3);
6134
- $$g({ global: true, constructor: true, arity: 1, forced: FORCED$3 }, O);
6269
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
6270
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$4);
6271
+ $$i({ global: true, constructor: true, arity: 1, forced: FORCED$4 }, O);
6135
6272
  };
6136
6273
 
6137
6274
  var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
6138
6275
  if (WebAssembly && WebAssembly[ERROR_NAME]) {
6139
6276
  var O = {};
6140
- O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$3);
6141
- $$g({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$3 }, O);
6277
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
6278
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$4);
6279
+ $$i({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$4 }, O);
6142
6280
  }
6143
6281
  };
6144
6282
 
6145
6283
  // https://tc39.es/ecma262/#sec-nativeerror
6146
6284
  exportGlobalErrorCauseWrapper('Error', function (init) {
6147
- return function Error(message) { return apply$1(init, this, arguments); };
6285
+ return function Error(message) { return apply$2(init, this, arguments); };
6148
6286
  });
6149
6287
  exportGlobalErrorCauseWrapper('EvalError', function (init) {
6150
- return function EvalError(message) { return apply$1(init, this, arguments); };
6288
+ return function EvalError(message) { return apply$2(init, this, arguments); };
6151
6289
  });
6152
6290
  exportGlobalErrorCauseWrapper('RangeError', function (init) {
6153
- return function RangeError(message) { return apply$1(init, this, arguments); };
6291
+ return function RangeError(message) { return apply$2(init, this, arguments); };
6154
6292
  });
6155
6293
  exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
6156
- return function ReferenceError(message) { return apply$1(init, this, arguments); };
6294
+ return function ReferenceError(message) { return apply$2(init, this, arguments); };
6157
6295
  });
6158
6296
  exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
6159
- return function SyntaxError(message) { return apply$1(init, this, arguments); };
6297
+ return function SyntaxError(message) { return apply$2(init, this, arguments); };
6160
6298
  });
6161
6299
  exportGlobalErrorCauseWrapper('TypeError', function (init) {
6162
- return function TypeError(message) { return apply$1(init, this, arguments); };
6300
+ return function TypeError(message) { return apply$2(init, this, arguments); };
6163
6301
  });
6164
6302
  exportGlobalErrorCauseWrapper('URIError', function (init) {
6165
- return function URIError(message) { return apply$1(init, this, arguments); };
6303
+ return function URIError(message) { return apply$2(init, this, arguments); };
6166
6304
  });
6167
6305
  exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
6168
- return function CompileError(message) { return apply$1(init, this, arguments); };
6306
+ return function CompileError(message) { return apply$2(init, this, arguments); };
6169
6307
  });
6170
6308
  exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
6171
- return function LinkError(message) { return apply$1(init, this, arguments); };
6309
+ return function LinkError(message) { return apply$2(init, this, arguments); };
6172
6310
  });
6173
6311
  exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
6174
- return function RuntimeError(message) { return apply$1(init, this, arguments); };
6312
+ return function RuntimeError(message) { return apply$2(init, this, arguments); };
6175
6313
  });
6176
6314
 
6177
6315
  var classofRaw = classofRaw$2;
6178
- var uncurryThis$5 = functionUncurryThis;
6316
+ var uncurryThis$6 = functionUncurryThis;
6179
6317
 
6180
6318
  var functionUncurryThisClause = function (fn) {
6181
6319
  // Nashorn bug:
6182
6320
  // https://github.com/zloirock/core-js/issues/1128
6183
6321
  // https://github.com/zloirock/core-js/issues/1130
6184
- if (classofRaw(fn) === 'Function') return uncurryThis$5(fn);
6322
+ if (classofRaw(fn) === 'Function') return uncurryThis$6(fn);
6185
6323
  };
6186
6324
 
6187
- var uncurryThis$4 = functionUncurryThisClause;
6188
- var aCallable$c = aCallable$g;
6325
+ var uncurryThis$5 = functionUncurryThisClause;
6326
+ var aCallable$d = aCallable$h;
6189
6327
  var NATIVE_BIND = functionBindNative;
6190
6328
 
6191
- var bind$4 = uncurryThis$4(uncurryThis$4.bind);
6329
+ var bind$4 = uncurryThis$5(uncurryThis$5.bind);
6192
6330
 
6193
6331
  // optional / simple context binding
6194
6332
  var functionBindContext = function (fn, that) {
6195
- aCallable$c(fn);
6333
+ aCallable$d(fn);
6196
6334
  return that === undefined ? fn : NATIVE_BIND ? bind$4(fn, that) : function (/* ...args */) {
6197
6335
  return fn.apply(that, arguments);
6198
6336
  };
@@ -6223,8 +6361,8 @@ var getIteratorMethod$2 = function (it) {
6223
6361
  || Iterators[classof$4(it)];
6224
6362
  };
6225
6363
 
6226
- var call$5 = functionCall;
6227
- var aCallable$b = aCallable$g;
6364
+ var call$8 = functionCall;
6365
+ var aCallable$c = aCallable$h;
6228
6366
  var anObject$8 = anObject$j;
6229
6367
  var tryToString$3 = tryToString$5;
6230
6368
  var getIteratorMethod$1 = getIteratorMethod$2;
@@ -6233,12 +6371,12 @@ var $TypeError$a = TypeError;
6233
6371
 
6234
6372
  var getIterator$1 = function (argument, usingIterator) {
6235
6373
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
6236
- if (aCallable$b(iteratorMethod)) return anObject$8(call$5(iteratorMethod, argument));
6374
+ if (aCallable$c(iteratorMethod)) return anObject$8(call$8(iteratorMethod, argument));
6237
6375
  throw new $TypeError$a(tryToString$3(argument) + ' is not iterable');
6238
6376
  };
6239
6377
 
6240
6378
  var bind$3 = functionBindContext;
6241
- var call$4 = functionCall;
6379
+ var call$7 = functionCall;
6242
6380
  var anObject$7 = anObject$j;
6243
6381
  var tryToString$2 = tryToString$5;
6244
6382
  var isArrayIteratorMethod = isArrayIteratorMethod$1;
@@ -6246,7 +6384,7 @@ var lengthOfArrayLike$3 = lengthOfArrayLike$5;
6246
6384
  var isPrototypeOf = objectIsPrototypeOf;
6247
6385
  var getIterator = getIterator$1;
6248
6386
  var getIteratorMethod = getIteratorMethod$2;
6249
- var iteratorClose = iteratorClose$3;
6387
+ var iteratorClose$5 = iteratorClose$a;
6250
6388
 
6251
6389
  var $TypeError$9 = TypeError;
6252
6390
 
@@ -6267,7 +6405,9 @@ var iterate$6 = function (iterable, unboundFunction, options) {
6267
6405
  var iterator, iterFn, index, length, result, next, step;
6268
6406
 
6269
6407
  var stop = function (condition) {
6270
- if (iterator) iteratorClose(iterator, 'normal', condition);
6408
+ var $iterator = iterator;
6409
+ iterator = undefined;
6410
+ if ($iterator) iteratorClose$5($iterator, 'normal');
6271
6411
  return new Result(true, condition);
6272
6412
  };
6273
6413
 
@@ -6296,28 +6436,43 @@ var iterate$6 = function (iterable, unboundFunction, options) {
6296
6436
  }
6297
6437
 
6298
6438
  next = IS_RECORD ? iterable.next : iterator.next;
6299
- while (!(step = call$4(next, iterator)).done) {
6439
+ while (!(step = call$7(next, iterator)).done) {
6440
+ // `IteratorValue` errors should propagate without closing the iterator
6441
+ var value = step.value;
6300
6442
  try {
6301
- result = callFn(step.value);
6443
+ result = callFn(value);
6302
6444
  } catch (error) {
6303
- iteratorClose(iterator, 'throw', error);
6445
+ if (iterator) iteratorClose$5(iterator, 'throw', error);
6446
+ else throw error;
6304
6447
  }
6305
6448
  if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
6306
6449
  } return new Result(false);
6307
6450
  };
6308
6451
 
6309
- var $$f = _export;
6452
+ var $$h = _export;
6453
+ var call$6 = functionCall;
6310
6454
  var iterate$5 = iterate$6;
6311
- var aCallable$a = aCallable$g;
6455
+ var aCallable$b = aCallable$h;
6312
6456
  var anObject$6 = anObject$j;
6313
6457
  var getIteratorDirect$4 = getIteratorDirect$6;
6458
+ var iteratorClose$4 = iteratorClose$a;
6459
+ var iteratorHelperWithoutClosingOnEarlyError$4 = iteratorHelperWithoutClosingOnEarlyError$6;
6460
+
6461
+ var everyWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$4('every', TypeError);
6314
6462
 
6315
6463
  // `Iterator.prototype.every` method
6316
- // https://github.com/tc39/proposal-iterator-helpers
6317
- $$f({ target: 'Iterator', proto: true, real: true }, {
6464
+ // https://tc39.es/ecma262/#sec-iterator.prototype.every
6465
+ $$h({ target: 'Iterator', proto: true, real: true, forced: everyWithoutClosingOnEarlyError }, {
6318
6466
  every: function every(predicate) {
6319
6467
  anObject$6(this);
6320
- aCallable$a(predicate);
6468
+ try {
6469
+ aCallable$b(predicate);
6470
+ } catch (error) {
6471
+ iteratorClose$4(this, 'throw', error);
6472
+ }
6473
+
6474
+ if (everyWithoutClosingOnEarlyError) return call$6(everyWithoutClosingOnEarlyError, this, predicate);
6475
+
6321
6476
  var record = getIteratorDirect$4(this);
6322
6477
  var counter = 0;
6323
6478
  return !iterate$5(record, function (value, stop) {
@@ -6326,8 +6481,61 @@ $$f({ target: 'Iterator', proto: true, real: true }, {
6326
6481
  }
6327
6482
  });
6328
6483
 
6484
+ var uncurryThis$4 = functionUncurryThis;
6485
+
6486
+ // eslint-disable-next-line es/no-map -- safe
6487
+ var MapPrototype = Map.prototype;
6488
+
6489
+ var mapHelpers = {
6490
+ set: uncurryThis$4(MapPrototype.set),
6491
+ get: uncurryThis$4(MapPrototype.get),
6492
+ has: uncurryThis$4(MapPrototype.has),
6493
+ remove: uncurryThis$4(MapPrototype['delete'])};
6494
+
6495
+ var $$g = _export;
6496
+ var MapHelpers$1 = mapHelpers;
6497
+ var IS_PURE$1 = isPure;
6498
+
6499
+ var get$1 = MapHelpers$1.get;
6500
+ var has$1 = MapHelpers$1.has;
6501
+ var set$2 = MapHelpers$1.set;
6502
+
6503
+ // `Map.prototype.getOrInsert` method
6504
+ // https://tc39.es/ecma262/#sec-map.prototype.getorinsert
6505
+ $$g({ target: 'Map', proto: true, real: true, forced: IS_PURE$1 }, {
6506
+ getOrInsert: function getOrInsert(key, value) {
6507
+ if (has$1(this, key)) return get$1(this, key);
6508
+ set$2(this, key, value);
6509
+ return value;
6510
+ }
6511
+ });
6512
+
6513
+ var $$f = _export;
6514
+ var aCallable$a = aCallable$h;
6515
+ var MapHelpers = mapHelpers;
6516
+ var IS_PURE = isPure;
6517
+
6518
+ var get = MapHelpers.get;
6519
+ var has = MapHelpers.has;
6520
+ var set$1 = MapHelpers.set;
6521
+
6522
+ // `Map.prototype.getOrInsertComputed` method
6523
+ // https://tc39.es/ecma262/#sec-map.prototype.getorinsertcomputed
6524
+ $$f({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
6525
+ getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
6526
+ var hasKey = has(this, key);
6527
+ aCallable$a(callbackfn);
6528
+ if (hasKey) return get(this, key);
6529
+ // CanonicalizeKeyedCollectionKey
6530
+ if (key === 0 && 1 / key === -Infinity) key = 0;
6531
+ var value = callbackfn(key);
6532
+ set$1(this, key, value);
6533
+ return value;
6534
+ }
6535
+ });
6536
+
6329
6537
  /* global Bun, Deno -- detection */
6330
- var globalThis$7 = globalThis_1;
6538
+ var globalThis$8 = globalThis_1;
6331
6539
  var userAgent$5 = environmentUserAgent;
6332
6540
  var classof$3 = classofRaw$2;
6333
6541
 
@@ -6340,10 +6548,10 @@ var environment = (function () {
6340
6548
  if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';
6341
6549
  if (userAgentStartsWith('Deno/')) return 'DENO';
6342
6550
  if (userAgentStartsWith('Node.js/')) return 'NODE';
6343
- if (globalThis$7.Bun && typeof Bun.version == 'string') return 'BUN';
6344
- if (globalThis$7.Deno && typeof Deno.version == 'object') return 'DENO';
6345
- if (classof$3(globalThis$7.process) === 'process') return 'NODE';
6346
- if (globalThis$7.window && globalThis$7.document) return 'BROWSER';
6551
+ if (globalThis$8.Bun && typeof Bun.version == 'string') return 'BUN';
6552
+ if (globalThis$8.Deno && typeof Deno.version == 'object') return 'DENO';
6553
+ if (classof$3(globalThis$8.process) === 'process') return 'NODE';
6554
+ if (globalThis$8.window && globalThis$8.document) return 'BROWSER';
6347
6555
  return 'REST';
6348
6556
  })();
6349
6557
 
@@ -6351,6 +6559,10 @@ var ENVIRONMENT$1 = environment;
6351
6559
 
6352
6560
  var environmentIsNode = ENVIRONMENT$1 === 'NODE';
6353
6561
 
6562
+ var globalThis$7 = globalThis_1;
6563
+
6564
+ var path$1 = globalThis$7;
6565
+
6354
6566
  var getBuiltIn$3 = getBuiltIn$8;
6355
6567
  var defineBuiltInAccessor = defineBuiltInAccessor$3;
6356
6568
  var wellKnownSymbol$5 = wellKnownSymbol$i;
@@ -6370,7 +6582,7 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
6370
6582
  };
6371
6583
 
6372
6584
  var uncurryThis$3 = functionUncurryThis;
6373
- var fails$5 = fails$l;
6585
+ var fails$6 = fails$n;
6374
6586
  var isCallable$4 = isCallable$m;
6375
6587
  var classof$2 = classof$6;
6376
6588
  var getBuiltIn$2 = getBuiltIn$8;
@@ -6413,7 +6625,7 @@ isConstructorLegacy.sham = true;
6413
6625
 
6414
6626
  // `IsConstructor` abstract operation
6415
6627
  // https://tc39.es/ecma262/#sec-isconstructor
6416
- var isConstructor$1 = !construct || fails$5(function () {
6628
+ var isConstructor$1 = !construct || fails$6(function () {
6417
6629
  var called;
6418
6630
  return isConstructorModern(isConstructorModern.call)
6419
6631
  || !isConstructorModern(Object)
@@ -6460,15 +6672,14 @@ var validateArgumentsLength$1 = function (passed, required) {
6460
6672
 
6461
6673
  var userAgent$4 = environmentUserAgent;
6462
6674
 
6463
- // eslint-disable-next-line redos/no-vulnerable -- safe
6464
- var environmentIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$4);
6675
+ var environmentIsIos = /ipad|iphone|ipod/i.test(userAgent$4) && /applewebkit/i.test(userAgent$4);
6465
6676
 
6466
6677
  var globalThis$6 = globalThis_1;
6467
- var apply = functionApply;
6678
+ var apply$1 = functionApply;
6468
6679
  var bind$2 = functionBindContext;
6469
6680
  var isCallable$3 = isCallable$m;
6470
6681
  var hasOwn = hasOwnProperty_1;
6471
- var fails$4 = fails$l;
6682
+ var fails$5 = fails$n;
6472
6683
  var html = html$2;
6473
6684
  var arraySlice$1 = arraySlice$2;
6474
6685
  var createElement = documentCreateElement$2;
@@ -6488,7 +6699,7 @@ var queue$2 = {};
6488
6699
  var ONREADYSTATECHANGE = 'onreadystatechange';
6489
6700
  var $location, defer, channel, port;
6490
6701
 
6491
- fails$4(function () {
6702
+ fails$5(function () {
6492
6703
  // Deno throws a ReferenceError on `location` access without `--location` flag
6493
6704
  $location = globalThis$6.location;
6494
6705
  });
@@ -6523,7 +6734,7 @@ if (!set || !clear) {
6523
6734
  var fn = isCallable$3(handler) ? handler : Function$1(handler);
6524
6735
  var args = arraySlice$1(arguments, 1);
6525
6736
  queue$2[++counter] = function () {
6526
- apply(fn, undefined, args);
6737
+ apply$1(fn, undefined, args);
6527
6738
  };
6528
6739
  defer(counter);
6529
6740
  return counter;
@@ -6555,7 +6766,7 @@ if (!set || !clear) {
6555
6766
  isCallable$3(globalThis$6.postMessage) &&
6556
6767
  !globalThis$6.importScripts &&
6557
6768
  $location && $location.protocol !== 'file:' &&
6558
- !fails$4(globalPostMessageDefer)
6769
+ !fails$5(globalPostMessageDefer)
6559
6770
  ) {
6560
6771
  defer = globalPostMessageDefer;
6561
6772
  globalThis$6.addEventListener('message', eventListener, false);
@@ -6768,7 +6979,7 @@ var promiseConstructorDetection = {
6768
6979
 
6769
6980
  var newPromiseCapability$2 = {};
6770
6981
 
6771
- var aCallable$9 = aCallable$g;
6982
+ var aCallable$9 = aCallable$h;
6772
6983
 
6773
6984
  var $TypeError$6 = TypeError;
6774
6985
 
@@ -6792,12 +7003,13 @@ newPromiseCapability$2.f = function (C) {
6792
7003
  var $$e = _export;
6793
7004
  var IS_NODE$1 = environmentIsNode;
6794
7005
  var globalThis$1 = globalThis_1;
6795
- var call$3 = functionCall;
7006
+ var path = path$1;
7007
+ var call$5 = functionCall;
6796
7008
  var defineBuiltIn$1 = defineBuiltIn$7;
6797
7009
  var setPrototypeOf = objectSetPrototypeOf;
6798
7010
  var setToStringTag = setToStringTag$4;
6799
7011
  var setSpecies = setSpecies$1;
6800
- var aCallable$8 = aCallable$g;
7012
+ var aCallable$8 = aCallable$h;
6801
7013
  var isCallable$1 = isCallable$m;
6802
7014
  var isObject$2 = isObject$d;
6803
7015
  var anInstance = anInstance$2;
@@ -6870,7 +7082,7 @@ var callReaction = function (reaction, state) {
6870
7082
  if (result === reaction.promise) {
6871
7083
  reject(new TypeError$1('Promise-chain cycle'));
6872
7084
  } else if (then = isThenable(result)) {
6873
- call$3(then, result, resolve, reject);
7085
+ call$5(then, result, resolve, reject);
6874
7086
  } else resolve(result);
6875
7087
  } else reject(value);
6876
7088
  } catch (error) {
@@ -6907,7 +7119,7 @@ var dispatchEvent = function (name, promise, reason) {
6907
7119
  };
6908
7120
 
6909
7121
  var onUnhandled = function (state) {
6910
- call$3(task, globalThis$1, function () {
7122
+ call$5(task, globalThis$1, function () {
6911
7123
  var promise = state.facade;
6912
7124
  var value = state.value;
6913
7125
  var IS_UNHANDLED = isUnhandled(state);
@@ -6930,7 +7142,7 @@ var isUnhandled = function (state) {
6930
7142
  };
6931
7143
 
6932
7144
  var onHandleUnhandled = function (state) {
6933
- call$3(task, globalThis$1, function () {
7145
+ call$5(task, globalThis$1, function () {
6934
7146
  var promise = state.facade;
6935
7147
  if (IS_NODE$1) {
6936
7148
  process.emit('rejectionHandled', promise);
@@ -6964,7 +7176,7 @@ var internalResolve = function (state, value, unwrap) {
6964
7176
  microtask(function () {
6965
7177
  var wrapper = { done: false };
6966
7178
  try {
6967
- call$3(then, value,
7179
+ call$5(then, value,
6968
7180
  bind(internalResolve, wrapper, state),
6969
7181
  bind(internalReject, wrapper, state)
6970
7182
  );
@@ -6988,7 +7200,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
6988
7200
  PromiseConstructor = function Promise(executor) {
6989
7201
  anInstance(this, PromisePrototype);
6990
7202
  aCallable$8(executor);
6991
- call$3(Internal, this);
7203
+ call$5(Internal, this);
6992
7204
  var state = getInternalPromiseState(this);
6993
7205
  try {
6994
7206
  executor(bind(internalResolve, state), bind(internalReject, state));
@@ -7051,7 +7263,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
7051
7263
  defineBuiltIn$1(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
7052
7264
  var that = this;
7053
7265
  return new PromiseConstructor(function (resolve, reject) {
7054
- call$3(nativeThen, that, resolve, reject);
7266
+ call$5(nativeThen, that, resolve, reject);
7055
7267
  }).then(onFulfilled, onRejected);
7056
7268
  // https://github.com/zloirock/core-js/issues/640
7057
7269
  }, { unsafe: true });
@@ -7069,10 +7281,14 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
7069
7281
  }
7070
7282
  }
7071
7283
 
7284
+ // `Promise` constructor
7285
+ // https://tc39.es/ecma262/#sec-promise-executor
7072
7286
  $$e({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
7073
7287
  Promise: PromiseConstructor
7074
7288
  });
7075
7289
 
7290
+ PromiseWrapper = path.Promise;
7291
+
7076
7292
  setToStringTag(PromiseConstructor, PROMISE, false);
7077
7293
  setSpecies(PROMISE);
7078
7294
 
@@ -7091,6 +7307,7 @@ try {
7091
7307
  SAFE_CLOSING = true;
7092
7308
  }
7093
7309
  };
7310
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
7094
7311
  iteratorWithReturn[ITERATOR] = function () {
7095
7312
  return this;
7096
7313
  };
@@ -7105,6 +7322,7 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
7105
7322
  var ITERATION_SUPPORT = false;
7106
7323
  try {
7107
7324
  var object = {};
7325
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
7108
7326
  object[ITERATOR] = function () {
7109
7327
  return {
7110
7328
  next: function () {
@@ -7126,8 +7344,8 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
7126
7344
  });
7127
7345
 
7128
7346
  var $$d = _export;
7129
- var call$2 = functionCall;
7130
- var aCallable$7 = aCallable$g;
7347
+ var call$4 = functionCall;
7348
+ var aCallable$7 = aCallable$h;
7131
7349
  var newPromiseCapabilityModule$2 = newPromiseCapability$2;
7132
7350
  var perform$1 = perform$3;
7133
7351
  var iterate$4 = iterate$6;
@@ -7150,7 +7368,7 @@ $$d({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
7150
7368
  var index = counter++;
7151
7369
  var alreadyCalled = false;
7152
7370
  remaining++;
7153
- call$2($promiseResolve, C, promise).then(function (value) {
7371
+ call$4($promiseResolve, C, promise).then(function (value) {
7154
7372
  if (alreadyCalled) return;
7155
7373
  alreadyCalled = true;
7156
7374
  values[index] = value;
@@ -7190,8 +7408,8 @@ if (isCallable(NativePromiseConstructor)) {
7190
7408
  }
7191
7409
 
7192
7410
  var $$b = _export;
7193
- var call$1 = functionCall;
7194
- var aCallable$6 = aCallable$g;
7411
+ var call$3 = functionCall;
7412
+ var aCallable$6 = aCallable$h;
7195
7413
  var newPromiseCapabilityModule$1 = newPromiseCapability$2;
7196
7414
  var perform = perform$3;
7197
7415
  var iterate$3 = iterate$6;
@@ -7207,7 +7425,7 @@ $$b({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
7207
7425
  var result = perform(function () {
7208
7426
  var $promiseResolve = aCallable$6(C.resolve);
7209
7427
  iterate$3(iterable, function (promise) {
7210
- call$1($promiseResolve, C, promise).then(capability.resolve, reject);
7428
+ call$3($promiseResolve, C, promise).then(capability.resolve, reject);
7211
7429
  });
7212
7430
  });
7213
7431
  if (result.error) reject(result.value);
@@ -8452,18 +8670,24 @@ const useStyles$j = tss.withParams().create(({
8452
8670
 
8453
8671
  var $$8 = _export;
8454
8672
  var $includes = arrayIncludes.includes;
8455
- var fails$3 = fails$l;
8673
+ var fails$4 = fails$n;
8456
8674
  var addToUnscopables = addToUnscopables$2;
8457
8675
 
8458
8676
  // FF99+ bug
8459
- var BROKEN_ON_SPARSE = fails$3(function () {
8677
+ var BROKEN_ON_SPARSE = fails$4(function () {
8460
8678
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
8461
8679
  return !Array(1).includes();
8462
8680
  });
8463
8681
 
8682
+ // Safari 26.4- bug
8683
+ var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails$4(function () {
8684
+ // eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
8685
+ return [, 1].includes(undefined, 1);
8686
+ });
8687
+
8464
8688
  // `Array.prototype.includes` method
8465
8689
  // https://tc39.es/ecma262/#sec-array.prototype.includes
8466
- $$8({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
8690
+ $$8({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
8467
8691
  includes: function includes(el /* , fromIndex = 0 */) {
8468
8692
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
8469
8693
  }
@@ -9379,17 +9603,29 @@ VentionMenu.Header = VentionMenuHeader;
9379
9603
  VentionMenu.Divider = VentionMenuDivider;
9380
9604
 
9381
9605
  var $$7 = _export;
9606
+ var call$2 = functionCall;
9382
9607
  var iterate$2 = iterate$6;
9383
- var aCallable$5 = aCallable$g;
9608
+ var aCallable$5 = aCallable$h;
9384
9609
  var anObject$3 = anObject$j;
9385
9610
  var getIteratorDirect$3 = getIteratorDirect$6;
9611
+ var iteratorClose$3 = iteratorClose$a;
9612
+ var iteratorHelperWithoutClosingOnEarlyError$3 = iteratorHelperWithoutClosingOnEarlyError$6;
9613
+
9614
+ var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$3('some', TypeError);
9386
9615
 
9387
9616
  // `Iterator.prototype.some` method
9388
- // https://github.com/tc39/proposal-iterator-helpers
9389
- $$7({ target: 'Iterator', proto: true, real: true }, {
9617
+ // https://tc39.es/ecma262/#sec-iterator.prototype.some
9618
+ $$7({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
9390
9619
  some: function some(predicate) {
9391
9620
  anObject$3(this);
9392
- aCallable$5(predicate);
9621
+ try {
9622
+ aCallable$5(predicate);
9623
+ } catch (error) {
9624
+ iteratorClose$3(this, 'throw', error);
9625
+ }
9626
+
9627
+ if (someWithoutClosingOnEarlyError) return call$2(someWithoutClosingOnEarlyError, this, predicate);
9628
+
9393
9629
  var record = getIteratorDirect$3(this);
9394
9630
  var counter = 0;
9395
9631
  return iterate$2(record, function (value, stop) {
@@ -10458,7 +10694,7 @@ var $TypeError$4 = TypeError;
10458
10694
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
10459
10695
 
10460
10696
  var doesNotExceedSafeInteger$1 = function (it) {
10461
- if (it > MAX_SAFE_INTEGER) throw $TypeError$4('Maximum allowed index exceeded');
10697
+ if (it > MAX_SAFE_INTEGER) throw new $TypeError$4('Maximum allowed index exceeded');
10462
10698
  return it;
10463
10699
  };
10464
10700
 
@@ -10467,9 +10703,9 @@ var toObject$2 = toObject$6;
10467
10703
  var lengthOfArrayLike$2 = lengthOfArrayLike$5;
10468
10704
  var setArrayLength = arraySetLength;
10469
10705
  var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
10470
- var fails$2 = fails$l;
10706
+ var fails$3 = fails$n;
10471
10707
 
10472
- var INCORRECT_TO_LENGTH = fails$2(function () {
10708
+ var INCORRECT_TO_LENGTH = fails$3(function () {
10473
10709
  return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
10474
10710
  });
10475
10711
 
@@ -10484,11 +10720,11 @@ var properErrorOnNonWritableLength = function () {
10484
10720
  }
10485
10721
  };
10486
10722
 
10487
- var FORCED$2 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
10723
+ var FORCED$3 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
10488
10724
 
10489
10725
  // `Array.prototype.push` method
10490
10726
  // https://tc39.es/ecma262/#sec-array.prototype.push
10491
- $$6({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
10727
+ $$6({ target: 'Array', proto: true, arity: 1, forced: FORCED$3 }, {
10492
10728
  // eslint-disable-next-line no-unused-vars -- required for `.length`
10493
10729
  push: function push(item) {
10494
10730
  var O = toObject$2(this);
@@ -10504,7 +10740,7 @@ $$6({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
10504
10740
  }
10505
10741
  });
10506
10742
 
10507
- var aCallable$4 = aCallable$g;
10743
+ var aCallable$4 = aCallable$h;
10508
10744
  var toObject$1 = toObject$6;
10509
10745
  var IndexedObject = indexedObject;
10510
10746
  var lengthOfArrayLike$1 = lengthOfArrayLike$5;
@@ -10546,11 +10782,11 @@ var arrayReduce = {
10546
10782
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
10547
10783
  left: createMethod(false)};
10548
10784
 
10549
- var fails$1 = fails$l;
10785
+ var fails$2 = fails$n;
10550
10786
 
10551
10787
  var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
10552
10788
  var method = [][METHOD_NAME];
10553
- return !!method && fails$1(function () {
10789
+ return !!method && fails$2(function () {
10554
10790
  // eslint-disable-next-line no-useless-call -- required for testing
10555
10791
  method.call(null, argument || function () { return 1; }, 1);
10556
10792
  });
@@ -10565,11 +10801,11 @@ var IS_NODE = environmentIsNode;
10565
10801
  // Chrome 80-82 has a critical bug
10566
10802
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
10567
10803
  var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
10568
- var FORCED$1 = CHROME_BUG || !arrayMethodIsStrict$1('reduce');
10804
+ var FORCED$2 = CHROME_BUG || !arrayMethodIsStrict$1('reduce');
10569
10805
 
10570
10806
  // `Array.prototype.reduce` method
10571
10807
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
10572
- $$5({ target: 'Array', proto: true, forced: FORCED$1 }, {
10808
+ $$5({ target: 'Array', proto: true, forced: FORCED$2 }, {
10573
10809
  reduce: function reduce(callbackfn /* , initialValue */) {
10574
10810
  var length = arguments.length;
10575
10811
  return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
@@ -10644,12 +10880,12 @@ var environmentWebkitVersion = !!webkit && +webkit[1];
10644
10880
 
10645
10881
  var $$4 = _export;
10646
10882
  var uncurryThis$1 = functionUncurryThis;
10647
- var aCallable$3 = aCallable$g;
10883
+ var aCallable$3 = aCallable$h;
10648
10884
  var toObject = toObject$6;
10649
10885
  var lengthOfArrayLike = lengthOfArrayLike$5;
10650
10886
  var deletePropertyOrThrow = deletePropertyOrThrow$1;
10651
10887
  var toString$1 = toString$5;
10652
- var fails = fails$l;
10888
+ var fails$1 = fails$n;
10653
10889
  var internalSort = arraySort;
10654
10890
  var arrayMethodIsStrict = arrayMethodIsStrict$2;
10655
10891
  var FF = environmentFfVersion;
@@ -10662,17 +10898,17 @@ var nativeSort = uncurryThis$1(test.sort);
10662
10898
  var push = uncurryThis$1(test.push);
10663
10899
 
10664
10900
  // IE8-
10665
- var FAILS_ON_UNDEFINED = fails(function () {
10901
+ var FAILS_ON_UNDEFINED = fails$1(function () {
10666
10902
  test.sort(undefined);
10667
10903
  });
10668
10904
  // V8 bug
10669
- var FAILS_ON_NULL = fails(function () {
10905
+ var FAILS_ON_NULL = fails$1(function () {
10670
10906
  test.sort(null);
10671
10907
  });
10672
10908
  // Old WebKit
10673
10909
  var STRICT_METHOD = arrayMethodIsStrict('sort');
10674
10910
 
10675
- var STABLE_SORT = !fails(function () {
10911
+ var STABLE_SORT = !fails$1(function () {
10676
10912
  // feature detection can be too slow, so check engines versions
10677
10913
  if (V8) return V8 < 70;
10678
10914
  if (FF && FF > 3) return;
@@ -10707,20 +10943,22 @@ var STABLE_SORT = !fails(function () {
10707
10943
  return result !== 'DGBEFHACIJK';
10708
10944
  });
10709
10945
 
10710
- var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
10946
+ var FORCED$1 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
10711
10947
 
10712
10948
  var getSortCompare = function (comparefn) {
10713
10949
  return function (x, y) {
10714
10950
  if (y === undefined) return -1;
10715
10951
  if (x === undefined) return 1;
10716
10952
  if (comparefn !== undefined) return +comparefn(x, y) || 0;
10717
- return toString$1(x) > toString$1(y) ? 1 : -1;
10953
+ var xString = toString$1(x);
10954
+ var yString = toString$1(y);
10955
+ return xString === yString ? 0 : xString > yString ? 1 : -1;
10718
10956
  };
10719
10957
  };
10720
10958
 
10721
10959
  // `Array.prototype.sort` method
10722
10960
  // https://tc39.es/ecma262/#sec-array.prototype.sort
10723
- $$4({ target: 'Array', proto: true, forced: FORCED }, {
10961
+ $$4({ target: 'Array', proto: true, forced: FORCED$1 }, {
10724
10962
  sort: function sort(comparefn) {
10725
10963
  if (comparefn !== undefined) aCallable$3(comparefn);
10726
10964
 
@@ -10748,74 +10986,22 @@ $$4({ target: 'Array', proto: true, forced: FORCED }, {
10748
10986
  }
10749
10987
  });
10750
10988
 
10751
- var isObject = isObject$d;
10752
- var classof = classofRaw$2;
10753
- var wellKnownSymbol$1 = wellKnownSymbol$i;
10754
-
10755
- var MATCH$1 = wellKnownSymbol$1('match');
10756
-
10757
- // `IsRegExp` abstract operation
10758
- // https://tc39.es/ecma262/#sec-isregexp
10759
- var isRegexp = function (it) {
10760
- var isRegExp;
10761
- return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
10762
- };
10763
-
10764
- var isRegExp = isRegexp;
10765
-
10766
- var $TypeError$1 = TypeError;
10767
-
10768
- var notARegexp = function (it) {
10769
- if (isRegExp(it)) {
10770
- throw new $TypeError$1("The method doesn't accept regular expressions");
10771
- } return it;
10772
- };
10773
-
10774
- var wellKnownSymbol = wellKnownSymbol$i;
10775
-
10776
- var MATCH = wellKnownSymbol('match');
10777
-
10778
- var correctIsRegexpLogic = function (METHOD_NAME) {
10779
- var regexp = /./;
10780
- try {
10781
- '/./'[METHOD_NAME](regexp);
10782
- } catch (error1) {
10783
- try {
10784
- regexp[MATCH] = false;
10785
- return '/./'[METHOD_NAME](regexp);
10786
- } catch (error2) { /* empty */ }
10787
- } return false;
10788
- };
10789
-
10790
10989
  var $$3 = _export;
10791
- var uncurryThis = functionUncurryThis;
10792
- var notARegExp = notARegexp;
10793
- var requireObjectCoercible = requireObjectCoercible$5;
10794
- var toString = toString$5;
10795
- var correctIsRegExpLogic = correctIsRegexpLogic;
10796
-
10797
- var stringIndexOf = uncurryThis(''.indexOf);
10798
-
10799
- // `String.prototype.includes` method
10800
- // https://tc39.es/ecma262/#sec-string.prototype.includes
10801
- $$3({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
10802
- includes: function includes(searchString /* , position = 0 */) {
10803
- return !!~stringIndexOf(
10804
- toString(requireObjectCoercible(this)),
10805
- toString(notARegExp(searchString)),
10806
- arguments.length > 1 ? arguments[1] : undefined
10807
- );
10808
- }
10809
- });
10810
-
10811
- var $$2 = _export;
10812
- var call = functionCall;
10813
- var aCallable$2 = aCallable$g;
10990
+ var call$1 = functionCall;
10991
+ var aCallable$2 = aCallable$h;
10814
10992
  var anObject$2 = anObject$j;
10815
10993
  var getIteratorDirect$2 = getIteratorDirect$6;
10816
10994
  var createIteratorProxy = iteratorCreateProxy;
10817
10995
  var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
10818
- var IS_PURE = isPure;
10996
+ var iteratorClose$2 = iteratorClose$a;
10997
+ var iteratorHelperThrowsOnInvalidIterator = iteratorHelperThrowsOnInvalidIterator$2;
10998
+ var iteratorHelperWithoutClosingOnEarlyError$2 = iteratorHelperWithoutClosingOnEarlyError$6;
10999
+
11000
+ var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !iteratorHelperThrowsOnInvalidIterator('filter', function () { /* empty */ });
11001
+ var filterWithoutClosingOnEarlyError = !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR
11002
+ && iteratorHelperWithoutClosingOnEarlyError$2('filter', TypeError);
11003
+
11004
+ var FORCED = FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError;
10819
11005
 
10820
11006
  var IteratorProxy = createIteratorProxy(function () {
10821
11007
  var iterator = this.iterator;
@@ -10823,7 +11009,7 @@ var IteratorProxy = createIteratorProxy(function () {
10823
11009
  var next = this.next;
10824
11010
  var result, done, value;
10825
11011
  while (true) {
10826
- result = anObject$2(call(next, iterator));
11012
+ result = anObject$2(call$1(next, iterator));
10827
11013
  done = this.done = !!result.done;
10828
11014
  if (done) return;
10829
11015
  value = result.value;
@@ -10832,29 +11018,48 @@ var IteratorProxy = createIteratorProxy(function () {
10832
11018
  });
10833
11019
 
10834
11020
  // `Iterator.prototype.filter` method
10835
- // https://github.com/tc39/proposal-iterator-helpers
10836
- $$2({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
11021
+ // https://tc39.es/ecma262/#sec-iterator.prototype.filter
11022
+ $$3({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
10837
11023
  filter: function filter(predicate) {
10838
11024
  anObject$2(this);
10839
- aCallable$2(predicate);
11025
+ try {
11026
+ aCallable$2(predicate);
11027
+ } catch (error) {
11028
+ iteratorClose$2(this, 'throw', error);
11029
+ }
11030
+
11031
+ if (filterWithoutClosingOnEarlyError) return call$1(filterWithoutClosingOnEarlyError, this, predicate);
11032
+
10840
11033
  return new IteratorProxy(getIteratorDirect$2(this), {
10841
11034
  predicate: predicate
10842
11035
  });
10843
11036
  }
10844
11037
  });
10845
11038
 
10846
- var $$1 = _export;
11039
+ var $$2 = _export;
11040
+ var call = functionCall;
10847
11041
  var iterate$1 = iterate$6;
10848
- var aCallable$1 = aCallable$g;
11042
+ var aCallable$1 = aCallable$h;
10849
11043
  var anObject$1 = anObject$j;
10850
11044
  var getIteratorDirect$1 = getIteratorDirect$6;
11045
+ var iteratorClose$1 = iteratorClose$a;
11046
+ var iteratorHelperWithoutClosingOnEarlyError$1 = iteratorHelperWithoutClosingOnEarlyError$6;
11047
+
11048
+ var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$1('find', TypeError);
10851
11049
 
10852
11050
  // `Iterator.prototype.find` method
10853
- // https://github.com/tc39/proposal-iterator-helpers
10854
- $$1({ target: 'Iterator', proto: true, real: true }, {
11051
+ // https://tc39.es/ecma262/#sec-iterator.prototype.find
11052
+ $$2({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
10855
11053
  find: function find(predicate) {
10856
11054
  anObject$1(this);
10857
- aCallable$1(predicate);
11055
+ try {
11056
+ aCallable$1(predicate);
11057
+ } catch (error) {
11058
+ iteratorClose$1(this, 'throw', error);
11059
+ }
11060
+
11061
+ if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate);
11062
+
10858
11063
  var record = getIteratorDirect$1(this);
10859
11064
  var counter = 0;
10860
11065
  return iterate$1(record, function (value, stop) {
@@ -10863,23 +11068,43 @@ $$1({ target: 'Iterator', proto: true, real: true }, {
10863
11068
  }
10864
11069
  });
10865
11070
 
10866
- var $ = _export;
11071
+ var $$1 = _export;
10867
11072
  var iterate = iterate$6;
10868
- var aCallable = aCallable$g;
11073
+ var aCallable = aCallable$h;
10869
11074
  var anObject = anObject$j;
10870
11075
  var getIteratorDirect = getIteratorDirect$6;
11076
+ var iteratorClose = iteratorClose$a;
11077
+ var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$6;
11078
+ var apply = functionApply;
11079
+ var fails = fails$n;
10871
11080
 
10872
- var $TypeError = TypeError;
11081
+ var $TypeError$1 = TypeError;
11082
+
11083
+ // https://bugs.webkit.org/show_bug.cgi?id=291651
11084
+ var FAILS_ON_INITIAL_UNDEFINED = fails(function () {
11085
+ // eslint-disable-next-line es/no-iterator-prototype-reduce, es/no-array-prototype-keys, array-callback-return -- required for testing
11086
+ [].keys().reduce(function () { /* empty */ }, undefined);
11087
+ });
11088
+
11089
+ var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHelperWithoutClosingOnEarlyError('reduce', $TypeError$1);
10873
11090
 
10874
11091
  // `Iterator.prototype.reduce` method
10875
- // https://github.com/tc39/proposal-iterator-helpers
10876
- $({ target: 'Iterator', proto: true, real: true }, {
11092
+ // https://tc39.es/ecma262/#sec-iterator.prototype.reduce
11093
+ $$1({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError }, {
10877
11094
  reduce: function reduce(reducer /* , initialValue */) {
10878
11095
  anObject(this);
10879
- aCallable(reducer);
10880
- var record = getIteratorDirect(this);
11096
+ try {
11097
+ aCallable(reducer);
11098
+ } catch (error) {
11099
+ iteratorClose(this, 'throw', error);
11100
+ }
11101
+
10881
11102
  var noInitial = arguments.length < 2;
10882
11103
  var accumulator = noInitial ? undefined : arguments[1];
11104
+ if (reduceWithoutClosingOnEarlyError) {
11105
+ return apply(reduceWithoutClosingOnEarlyError, this, noInitial ? [reducer] : [reducer, accumulator]);
11106
+ }
11107
+ var record = getIteratorDirect(this);
10883
11108
  var counter = 0;
10884
11109
  iterate(record, function (value) {
10885
11110
  if (noInitial) {
@@ -10890,11 +11115,71 @@ $({ target: 'Iterator', proto: true, real: true }, {
10890
11115
  }
10891
11116
  counter++;
10892
11117
  }, { IS_RECORD: true });
10893
- if (noInitial) throw new $TypeError('Reduce of empty iterator with no initial value');
11118
+ if (noInitial) throw new $TypeError$1('Reduce of empty iterator with no initial value');
10894
11119
  return accumulator;
10895
11120
  }
10896
11121
  });
10897
11122
 
11123
+ var isObject = isObject$d;
11124
+ var classof = classofRaw$2;
11125
+ var wellKnownSymbol$1 = wellKnownSymbol$i;
11126
+
11127
+ var MATCH$1 = wellKnownSymbol$1('match');
11128
+
11129
+ // `IsRegExp` abstract operation
11130
+ // https://tc39.es/ecma262/#sec-isregexp
11131
+ var isRegexp = function (it) {
11132
+ var isRegExp;
11133
+ return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
11134
+ };
11135
+
11136
+ var isRegExp = isRegexp;
11137
+
11138
+ var $TypeError = TypeError;
11139
+
11140
+ var notARegexp = function (it) {
11141
+ if (isRegExp(it)) {
11142
+ throw new $TypeError("The method doesn't accept regular expressions");
11143
+ } return it;
11144
+ };
11145
+
11146
+ var wellKnownSymbol = wellKnownSymbol$i;
11147
+
11148
+ var MATCH = wellKnownSymbol('match');
11149
+
11150
+ var correctIsRegexpLogic = function (METHOD_NAME) {
11151
+ var regexp = /./;
11152
+ try {
11153
+ '/./'[METHOD_NAME](regexp);
11154
+ } catch (error1) {
11155
+ try {
11156
+ regexp[MATCH] = false;
11157
+ return '/./'[METHOD_NAME](regexp);
11158
+ } catch (error2) { /* empty */ }
11159
+ } return false;
11160
+ };
11161
+
11162
+ var $ = _export;
11163
+ var uncurryThis = functionUncurryThis;
11164
+ var notARegExp = notARegexp;
11165
+ var requireObjectCoercible = requireObjectCoercible$5;
11166
+ var toString = toString$5;
11167
+ var correctIsRegExpLogic = correctIsRegexpLogic;
11168
+
11169
+ var stringIndexOf = uncurryThis(''.indexOf);
11170
+
11171
+ // `String.prototype.includes` method
11172
+ // https://tc39.es/ecma262/#sec-string.prototype.includes
11173
+ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
11174
+ includes: function includes(searchString /* , position = 0 */) {
11175
+ return !!~stringIndexOf(
11176
+ toString(requireObjectCoercible(this)),
11177
+ toString(notARegExp(searchString)),
11178
+ arguments.length > 1 ? arguments[1] : undefined
11179
+ );
11180
+ }
11181
+ });
11182
+
10898
11183
  /**
10899
11184
  * A custom combobox component with optional grouping, search, and clearable selection.
10900
11185
  *