vis-util 6.0.0 → 6.0.1

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 (55) hide show
  1. package/declarations/css-shim.d.ts +2 -0
  2. package/declarations/css-shim.d.ts.map +1 -0
  3. package/declarations/shared/configurator-types.d.ts.map +1 -1
  4. package/declarations/shared/index.d.ts.map +1 -1
  5. package/declarations/util.d.ts +3 -3
  6. package/declarations/util.d.ts.map +1 -1
  7. package/esnext/esm/vis-util.js +7 -6
  8. package/esnext/esm/vis-util.js.map +1 -1
  9. package/esnext/esm/vis-util.min.js +3 -3
  10. package/esnext/esm/vis-util.min.js.map +1 -1
  11. package/esnext/esm/vis-util.min.mjs +3 -3
  12. package/esnext/esm/vis-util.min.mjs.map +1 -1
  13. package/esnext/esm/vis-util.mjs +7 -6
  14. package/esnext/esm/vis-util.mjs.map +1 -1
  15. package/esnext/umd/vis-util.cjs +7 -6
  16. package/esnext/umd/vis-util.cjs.map +1 -1
  17. package/esnext/umd/vis-util.js +7 -6
  18. package/esnext/umd/vis-util.js.map +1 -1
  19. package/esnext/umd/vis-util.min.cjs +3 -3
  20. package/esnext/umd/vis-util.min.cjs.map +1 -1
  21. package/esnext/umd/vis-util.min.js +3 -3
  22. package/esnext/umd/vis-util.min.js.map +1 -1
  23. package/package.json +100 -99
  24. package/peer/esm/vis-util.js +1587 -460
  25. package/peer/esm/vis-util.js.map +1 -1
  26. package/peer/esm/vis-util.min.js +4 -4
  27. package/peer/esm/vis-util.min.js.map +1 -1
  28. package/peer/esm/vis-util.min.mjs +4 -4
  29. package/peer/esm/vis-util.min.mjs.map +1 -1
  30. package/peer/esm/vis-util.mjs +1587 -460
  31. package/peer/esm/vis-util.mjs.map +1 -1
  32. package/peer/umd/vis-util.cjs +1587 -460
  33. package/peer/umd/vis-util.cjs.map +1 -1
  34. package/peer/umd/vis-util.js +1587 -460
  35. package/peer/umd/vis-util.js.map +1 -1
  36. package/peer/umd/vis-util.min.cjs +4 -4
  37. package/peer/umd/vis-util.min.cjs.map +1 -1
  38. package/peer/umd/vis-util.min.js +4 -4
  39. package/peer/umd/vis-util.min.js.map +1 -1
  40. package/standalone/esm/vis-util.js +1587 -460
  41. package/standalone/esm/vis-util.js.map +1 -1
  42. package/standalone/esm/vis-util.min.js +4 -4
  43. package/standalone/esm/vis-util.min.js.map +1 -1
  44. package/standalone/esm/vis-util.min.mjs +4 -4
  45. package/standalone/esm/vis-util.min.mjs.map +1 -1
  46. package/standalone/esm/vis-util.mjs +1587 -460
  47. package/standalone/esm/vis-util.mjs.map +1 -1
  48. package/standalone/umd/vis-util.cjs +1587 -460
  49. package/standalone/umd/vis-util.cjs.map +1 -1
  50. package/standalone/umd/vis-util.js +1587 -460
  51. package/standalone/umd/vis-util.js.map +1 -1
  52. package/standalone/umd/vis-util.min.cjs +4 -4
  53. package/standalone/umd/vis-util.min.cjs.map +1 -1
  54. package/standalone/umd/vis-util.min.js +4 -4
  55. package/standalone/umd/vis-util.min.js.map +1 -1
@@ -4,8 +4,8 @@
4
4
  *
5
5
  * utilitie collection for visjs
6
6
  *
7
- * @version 6.0.0
8
- * @date 2025-07-12T18:02:43.836Z
7
+ * @version 6.0.1
8
+ * @date 2026-08-03T17:52:53.613Z
9
9
  *
10
10
  * @copyright (c) 2011-2017 Almende B.V, http://almende.com
11
11
  * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
@@ -87,7 +87,7 @@
87
87
 
88
88
  functionBindNative = !fails(function () {
89
89
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
90
- var test = (function () { /* empty */ }).bind();
90
+ var test = function () { /* empty */ }.bind();
91
91
  // eslint-disable-next-line no-prototype-builtins -- safe
92
92
  return typeof test != 'function' || test.hasOwnProperty('prototype');
93
93
  });
@@ -633,10 +633,10 @@
633
633
  var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
634
634
 
635
635
  (store.versions || (store.versions = [])).push({
636
- version: '3.44.0',
636
+ version: '3.49.0',
637
637
  mode: IS_PURE ? 'pure' : 'global',
638
- copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
639
- license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
638
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
639
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
640
640
  source: 'https://github.com/zloirock/core-js'
641
641
  });
642
642
  return sharedStore.exports;
@@ -1135,21 +1135,21 @@
1135
1135
  return _export;
1136
1136
  }
1137
1137
 
1138
- var isArray$3;
1139
- var hasRequiredIsArray$3;
1138
+ var isArray$6;
1139
+ var hasRequiredIsArray$6;
1140
1140
 
1141
- function requireIsArray$3 () {
1142
- if (hasRequiredIsArray$3) return isArray$3;
1143
- hasRequiredIsArray$3 = 1;
1141
+ function requireIsArray$6 () {
1142
+ if (hasRequiredIsArray$6) return isArray$6;
1143
+ hasRequiredIsArray$6 = 1;
1144
1144
  var classof = /*@__PURE__*/ requireClassofRaw();
1145
1145
 
1146
1146
  // `IsArray` abstract operation
1147
1147
  // https://tc39.es/ecma262/#sec-isarray
1148
1148
  // eslint-disable-next-line es/no-array-isarray -- safe
1149
- isArray$3 = Array.isArray || function isArray(argument) {
1149
+ isArray$6 = Array.isArray || function isArray(argument) {
1150
1150
  return classof(argument) === 'Array';
1151
1151
  };
1152
- return isArray$3;
1152
+ return isArray$6;
1153
1153
  }
1154
1154
 
1155
1155
  var mathTrunc;
@@ -1234,7 +1234,7 @@
1234
1234
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
1235
1235
 
1236
1236
  doesNotExceedSafeInteger = function (it) {
1237
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
1237
+ if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
1238
1238
  return it;
1239
1239
  };
1240
1240
  return doesNotExceedSafeInteger;
@@ -1257,6 +1257,41 @@
1257
1257
  return createProperty;
1258
1258
  }
1259
1259
 
1260
+ var arraySetLength;
1261
+ var hasRequiredArraySetLength;
1262
+
1263
+ function requireArraySetLength () {
1264
+ if (hasRequiredArraySetLength) return arraySetLength;
1265
+ hasRequiredArraySetLength = 1;
1266
+ var DESCRIPTORS = /*@__PURE__*/ requireDescriptors();
1267
+ var isArray = /*@__PURE__*/ requireIsArray$6();
1268
+
1269
+ var $TypeError = TypeError;
1270
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1271
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1272
+
1273
+ // Safari < 13 does not throw an error in this case
1274
+ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
1275
+ // makes no sense without proper strict mode support
1276
+ if (this !== undefined) return true;
1277
+ try {
1278
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
1279
+ Object.defineProperty([], 'length', { writable: false }).length = 1;
1280
+ } catch (error) {
1281
+ return error instanceof TypeError;
1282
+ }
1283
+ }();
1284
+
1285
+ arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
1286
+ if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
1287
+ throw new $TypeError('Cannot set read only .length');
1288
+ } return O.length = length;
1289
+ } : function (O, length) {
1290
+ return O.length = length;
1291
+ };
1292
+ return arraySetLength;
1293
+ }
1294
+
1260
1295
  var toStringTagSupport;
1261
1296
  var hasRequiredToStringTagSupport;
1262
1297
 
@@ -1267,7 +1302,7 @@
1267
1302
 
1268
1303
  var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1269
1304
  var test = {};
1270
-
1305
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
1271
1306
  test[TO_STRING_TAG] = 'z';
1272
1307
 
1273
1308
  toStringTagSupport = String(test) === '[object z]';
@@ -1401,7 +1436,7 @@
1401
1436
  function requireArraySpeciesConstructor () {
1402
1437
  if (hasRequiredArraySpeciesConstructor) return arraySpeciesConstructor;
1403
1438
  hasRequiredArraySpeciesConstructor = 1;
1404
- var isArray = /*@__PURE__*/ requireIsArray$3();
1439
+ var isArray = /*@__PURE__*/ requireIsArray$6();
1405
1440
  var isConstructor = /*@__PURE__*/ requireIsConstructor();
1406
1441
  var isObject = /*@__PURE__*/ requireIsObject();
1407
1442
  var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
@@ -1477,12 +1512,13 @@
1477
1512
  hasRequiredEs_array_concat = 1;
1478
1513
  var $ = /*@__PURE__*/ require_export();
1479
1514
  var fails = /*@__PURE__*/ requireFails();
1480
- var isArray = /*@__PURE__*/ requireIsArray$3();
1515
+ var isArray = /*@__PURE__*/ requireIsArray$6();
1481
1516
  var isObject = /*@__PURE__*/ requireIsObject();
1482
1517
  var toObject = /*@__PURE__*/ requireToObject();
1483
1518
  var lengthOfArrayLike = /*@__PURE__*/ requireLengthOfArrayLike();
1484
1519
  var doesNotExceedSafeInteger = /*@__PURE__*/ requireDoesNotExceedSafeInteger();
1485
1520
  var createProperty = /*@__PURE__*/ requireCreateProperty();
1521
+ var setArrayLength = /*@__PURE__*/ requireArraySetLength();
1486
1522
  var arraySpeciesCreate = /*@__PURE__*/ requireArraySpeciesCreate();
1487
1523
  var arrayMethodHasSpeciesSupport = /*@__PURE__*/ requireArrayMethodHasSpeciesSupport();
1488
1524
  var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
@@ -1528,7 +1564,7 @@
1528
1564
  createProperty(A, n++, E);
1529
1565
  }
1530
1566
  }
1531
- A.length = n;
1567
+ setArrayLength(A, n);
1532
1568
  return A;
1533
1569
  }
1534
1570
  });
@@ -2164,13 +2200,11 @@
2164
2200
  if (hasRequiredArrayIteration) return arrayIteration;
2165
2201
  hasRequiredArrayIteration = 1;
2166
2202
  var bind = /*@__PURE__*/ requireFunctionBindContext();
2167
- var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
2168
2203
  var IndexedObject = /*@__PURE__*/ requireIndexedObject();
2169
2204
  var toObject = /*@__PURE__*/ requireToObject();
2170
2205
  var lengthOfArrayLike = /*@__PURE__*/ requireLengthOfArrayLike();
2171
2206
  var arraySpeciesCreate = /*@__PURE__*/ requireArraySpeciesCreate();
2172
-
2173
- var push = uncurryThis([].push);
2207
+ var createProperty = /*@__PURE__*/ requireCreateProperty();
2174
2208
 
2175
2209
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
2176
2210
  var createMethod = function (TYPE) {
@@ -2181,28 +2215,28 @@
2181
2215
  var IS_FIND_INDEX = TYPE === 6;
2182
2216
  var IS_FILTER_REJECT = TYPE === 7;
2183
2217
  var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
2184
- return function ($this, callbackfn, that, specificCreate) {
2218
+ return function ($this, callbackfn, that) {
2185
2219
  var O = toObject($this);
2186
2220
  var self = IndexedObject(O);
2187
2221
  var length = lengthOfArrayLike(self);
2188
2222
  var boundFunction = bind(callbackfn, that);
2189
2223
  var index = 0;
2190
- var create = specificCreate || arraySpeciesCreate;
2191
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
2224
+ var resIndex = 0;
2225
+ var target = IS_MAP ? arraySpeciesCreate($this, length) : IS_FILTER || IS_FILTER_REJECT ? arraySpeciesCreate($this, 0) : undefined;
2192
2226
  var value, result;
2193
2227
  for (;length > index; index++) if (NO_HOLES || index in self) {
2194
2228
  value = self[index];
2195
2229
  result = boundFunction(value, index, O);
2196
2230
  if (TYPE) {
2197
- if (IS_MAP) target[index] = result; // map
2231
+ if (IS_MAP) createProperty(target, index, result); // map
2198
2232
  else if (result) switch (TYPE) {
2199
- case 3: return true; // some
2200
- case 5: return value; // find
2201
- case 6: return index; // findIndex
2202
- case 2: push(target, value); // filter
2233
+ case 3: return true; // some
2234
+ case 5: return value; // find
2235
+ case 6: return index; // findIndex
2236
+ case 2: createProperty(target, resIndex++, value); // filter
2203
2237
  } else switch (TYPE) {
2204
- case 4: return false; // every
2205
- case 7: push(target, value); // filterReject
2238
+ case 4: return false; // every
2239
+ case 7: createProperty(target, resIndex++, value); // filterReject
2206
2240
  }
2207
2241
  }
2208
2242
  }
@@ -2315,7 +2349,7 @@
2315
2349
  nativeDefineProperty(O, P, Attributes);
2316
2350
  if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
2317
2351
  nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);
2318
- }
2352
+ } return O;
2319
2353
  };
2320
2354
 
2321
2355
  var setSymbolDescriptor = DESCRIPTORS && fails(function () {
@@ -2341,7 +2375,8 @@
2341
2375
  var key = toPropertyKey(P);
2342
2376
  anObject(Attributes);
2343
2377
  if (hasOwn(AllSymbols, key)) {
2344
- if (!Attributes.enumerable) {
2378
+ // first definition - default non-enumerable; redefinition - preserve existing state
2379
+ if (!('enumerable' in Attributes) ? !hasOwn(O, key) || (hasOwn(O, HIDDEN) && O[HIDDEN][key]) : !Attributes.enumerable) {
2345
2380
  if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, nativeObjectCreate(null)));
2346
2381
  O[HIDDEN][key] = true;
2347
2382
  } else {
@@ -2583,42 +2618,104 @@
2583
2618
 
2584
2619
  var es_json_stringify = {};
2585
2620
 
2586
- var getJsonReplacerFunction;
2587
- var hasRequiredGetJsonReplacerFunction;
2621
+ var isRawJson;
2622
+ var hasRequiredIsRawJson;
2623
+
2624
+ function requireIsRawJson () {
2625
+ if (hasRequiredIsRawJson) return isRawJson;
2626
+ hasRequiredIsRawJson = 1;
2627
+ var isObject = /*@__PURE__*/ requireIsObject();
2628
+ var getInternalState = /*@__PURE__*/ requireInternalState().get;
2629
+
2630
+ isRawJson = function isRawJSON(O) {
2631
+ if (!isObject(O)) return false;
2632
+ var state = getInternalState(O);
2633
+ return !!state && state.type === 'RawJSON';
2634
+ };
2635
+ return isRawJson;
2636
+ }
2637
+
2638
+ var parseJsonString;
2639
+ var hasRequiredParseJsonString;
2588
2640
 
2589
- function requireGetJsonReplacerFunction () {
2590
- if (hasRequiredGetJsonReplacerFunction) return getJsonReplacerFunction;
2591
- hasRequiredGetJsonReplacerFunction = 1;
2641
+ function requireParseJsonString () {
2642
+ if (hasRequiredParseJsonString) return parseJsonString;
2643
+ hasRequiredParseJsonString = 1;
2592
2644
  var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
2593
- var isArray = /*@__PURE__*/ requireIsArray$3();
2594
- var isCallable = /*@__PURE__*/ requireIsCallable();
2595
- var classof = /*@__PURE__*/ requireClassofRaw();
2596
- var toString = /*@__PURE__*/ requireToString();
2645
+ var hasOwn = /*@__PURE__*/ requireHasOwnProperty();
2597
2646
 
2598
- var push = uncurryThis([].push);
2647
+ var $SyntaxError = SyntaxError;
2648
+ var $parseInt = parseInt;
2649
+ var fromCharCode = String.fromCharCode;
2650
+ var at = uncurryThis(''.charAt);
2651
+ var slice = uncurryThis(''.slice);
2652
+ var exec = uncurryThis(/./.exec);
2599
2653
 
2600
- getJsonReplacerFunction = function (replacer) {
2601
- if (isCallable(replacer)) return replacer;
2602
- if (!isArray(replacer)) return;
2603
- var rawLength = replacer.length;
2604
- var keys = [];
2605
- for (var i = 0; i < rawLength; i++) {
2606
- var element = replacer[i];
2607
- if (typeof element == 'string') push(keys, element);
2608
- else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
2609
- }
2610
- var keysLength = keys.length;
2611
- var root = true;
2612
- return function (key, value) {
2613
- if (root) {
2614
- root = false;
2615
- return value;
2654
+ var codePoints = {
2655
+ '\\"': '"',
2656
+ '\\\\': '\\',
2657
+ '\\/': '/',
2658
+ '\\b': '\b',
2659
+ '\\f': '\f',
2660
+ '\\n': '\n',
2661
+ '\\r': '\r',
2662
+ '\\t': '\t'
2663
+ };
2664
+
2665
+ var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i;
2666
+ // eslint-disable-next-line regexp/no-control-character -- safe
2667
+ var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/;
2668
+
2669
+ parseJsonString = function (source, i) {
2670
+ var unterminated = true;
2671
+ var value = '';
2672
+ while (i < source.length) {
2673
+ var chr = at(source, i);
2674
+ if (chr === '\\') {
2675
+ var twoChars = slice(source, i, i + 2);
2676
+ if (hasOwn(codePoints, twoChars)) {
2677
+ value += codePoints[twoChars];
2678
+ i += 2;
2679
+ } else if (twoChars === '\\u') {
2680
+ i += 2;
2681
+ var fourHexDigits = slice(source, i, i + 4);
2682
+ if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError('Bad Unicode escape at: ' + i);
2683
+ value += fromCharCode($parseInt(fourHexDigits, 16));
2684
+ i += 4;
2685
+ } else throw new $SyntaxError('Unknown escape sequence: "' + twoChars + '"');
2686
+ } else if (chr === '"') {
2687
+ unterminated = false;
2688
+ i++;
2689
+ break;
2690
+ } else {
2691
+ if (exec(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError('Bad control character in string literal at: ' + i);
2692
+ value += chr;
2693
+ i++;
2616
2694
  }
2617
- if (isArray(this)) return value;
2618
- for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
2619
- };
2695
+ }
2696
+ if (unterminated) throw new $SyntaxError('Unterminated string at: ' + i);
2697
+ return { value: value, end: i };
2620
2698
  };
2621
- return getJsonReplacerFunction;
2699
+ return parseJsonString;
2700
+ }
2701
+
2702
+ var nativeRawJson;
2703
+ var hasRequiredNativeRawJson;
2704
+
2705
+ function requireNativeRawJson () {
2706
+ if (hasRequiredNativeRawJson) return nativeRawJson;
2707
+ hasRequiredNativeRawJson = 1;
2708
+ /* eslint-disable es/no-json -- safe */
2709
+ var fails = /*@__PURE__*/ requireFails();
2710
+
2711
+ nativeRawJson = !fails(function () {
2712
+ var unsafeInt = '9007199254740993';
2713
+ // eslint-disable-next-line es/no-json-rawjson -- feature detection
2714
+ var raw = JSON.rawJSON(unsafeInt);
2715
+ // eslint-disable-next-line es/no-json-israwjson -- feature detection
2716
+ return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt;
2717
+ });
2718
+ return nativeRawJson;
2622
2719
  }
2623
2720
 
2624
2721
  var hasRequiredEs_json_stringify;
@@ -2632,11 +2729,17 @@
2632
2729
  var call = /*@__PURE__*/ requireFunctionCall();
2633
2730
  var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
2634
2731
  var fails = /*@__PURE__*/ requireFails();
2732
+ var isArray = /*@__PURE__*/ requireIsArray$6();
2635
2733
  var isCallable = /*@__PURE__*/ requireIsCallable();
2734
+ var isRawJSON = /*@__PURE__*/ requireIsRawJson();
2636
2735
  var isSymbol = /*@__PURE__*/ requireIsSymbol();
2736
+ var classof = /*@__PURE__*/ requireClassofRaw();
2737
+ var toString = /*@__PURE__*/ requireToString();
2637
2738
  var arraySlice = /*@__PURE__*/ requireArraySlice();
2638
- var getReplacerFunction = /*@__PURE__*/ requireGetJsonReplacerFunction();
2739
+ var parseJSONString = /*@__PURE__*/ requireParseJsonString();
2740
+ var uid = /*@__PURE__*/ requireUid();
2639
2741
  var NATIVE_SYMBOL = /*@__PURE__*/ requireSymbolConstructorDetection();
2742
+ var NATIVE_RAW_JSON = /*@__PURE__*/ requireNativeRawJson();
2640
2743
 
2641
2744
  var $String = String;
2642
2745
  var $stringify = getBuiltIn('JSON', 'stringify');
@@ -2644,11 +2747,16 @@
2644
2747
  var charAt = uncurryThis(''.charAt);
2645
2748
  var charCodeAt = uncurryThis(''.charCodeAt);
2646
2749
  var replace = uncurryThis(''.replace);
2750
+ var slice = uncurryThis(''.slice);
2751
+ var push = uncurryThis([].push);
2647
2752
  var numberToString = uncurryThis(1.1.toString);
2648
2753
 
2649
- var tester = /[\uD800-\uDFFF]/g;
2650
- var low = /^[\uD800-\uDBFF]$/;
2651
- var hi = /^[\uDC00-\uDFFF]$/;
2754
+ var surrogates = /[\uD800-\uDFFF]/g;
2755
+ var leadingSurrogates = /^[\uD800-\uDBFF]$/;
2756
+ var trailingSurrogates = /^[\uDC00-\uDFFF]$/;
2757
+
2758
+ var MARK = uid();
2759
+ var MARK_LENGTH = MARK.length;
2652
2760
 
2653
2761
  var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
2654
2762
  var symbol = getBuiltIn('Symbol')('stringify detection');
@@ -2666,7 +2774,7 @@
2666
2774
  || $stringify('\uDEAD') !== '"\\udead"';
2667
2775
  });
2668
2776
 
2669
- var stringifyWithSymbolsFix = function (it, replacer) {
2777
+ var stringifyWithProperSymbolsConversion = WRONG_SYMBOLS_CONVERSION ? function (it, replacer) {
2670
2778
  var args = arraySlice(arguments);
2671
2779
  var $replacer = getReplacerFunction(replacer);
2672
2780
  if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
@@ -2676,28 +2784,79 @@
2676
2784
  if (!isSymbol(value)) return value;
2677
2785
  };
2678
2786
  return apply($stringify, null, args);
2679
- };
2787
+ } : $stringify;
2680
2788
 
2681
- var fixIllFormed = function (match, offset, string) {
2789
+ var fixIllFormedJSON = function (match, offset, string) {
2682
2790
  var prev = charAt(string, offset - 1);
2683
2791
  var next = charAt(string, offset + 1);
2684
- if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {
2792
+ if (
2793
+ (exec(leadingSurrogates, match) && !exec(trailingSurrogates, next)) ||
2794
+ (exec(trailingSurrogates, match) && !exec(leadingSurrogates, prev))
2795
+ ) {
2685
2796
  return '\\u' + numberToString(charCodeAt(match, 0), 16);
2686
2797
  } return match;
2687
2798
  };
2688
2799
 
2689
- if ($stringify) {
2690
- // `JSON.stringify` method
2691
- // https://tc39.es/ecma262/#sec-json.stringify
2692
- $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
2693
- // eslint-disable-next-line no-unused-vars -- required for `.length`
2694
- stringify: function stringify(it, replacer, space) {
2695
- var args = arraySlice(arguments);
2696
- var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
2697
- return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;
2800
+ var getReplacerFunction = function (replacer) {
2801
+ if (isCallable(replacer)) return replacer;
2802
+ if (!isArray(replacer)) return;
2803
+ var rawLength = replacer.length;
2804
+ var keys = [];
2805
+ for (var i = 0; i < rawLength; i++) {
2806
+ var element = replacer[i];
2807
+ if (typeof element == 'string') push(keys, element);
2808
+ else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
2809
+ }
2810
+ var keysLength = keys.length;
2811
+ var root = true;
2812
+ return function (key, value) {
2813
+ if (root) {
2814
+ root = false;
2815
+ return value;
2816
+ }
2817
+ if (isArray(this)) return value;
2818
+ for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
2819
+ };
2820
+ };
2821
+
2822
+ // `JSON.stringify` method
2823
+ // https://tc39.es/ecma262/#sec-json.stringify
2824
+ // https://github.com/tc39/proposal-json-parse-with-source
2825
+ if ($stringify) $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE || !NATIVE_RAW_JSON }, {
2826
+ stringify: function stringify(text, replacer, space) {
2827
+ var replacerFunction = getReplacerFunction(replacer);
2828
+ var rawStrings = [];
2829
+
2830
+ var json = stringifyWithProperSymbolsConversion(text, function (key, value) {
2831
+ // some old implementations (like WebKit) could pass numbers as keys
2832
+ var v = isCallable(replacerFunction) ? call(replacerFunction, this, $String(key), value) : value;
2833
+ return !NATIVE_RAW_JSON && isRawJSON(v) ? MARK + (push(rawStrings, v.rawJSON) - 1) : v;
2834
+ }, space);
2835
+
2836
+ if (typeof json != 'string') return json;
2837
+
2838
+ if (ILL_FORMED_UNICODE) json = replace(json, surrogates, fixIllFormedJSON);
2839
+
2840
+ if (NATIVE_RAW_JSON) return json;
2841
+
2842
+ var result = '';
2843
+ var length = json.length;
2844
+
2845
+ for (var i = 0; i < length; i++) {
2846
+ var chr = charAt(json, i);
2847
+ if (chr === '"') {
2848
+ var end = parseJSONString(json, ++i).end - 1;
2849
+ var string = slice(json, i, end);
2850
+ result += slice(string, 0, MARK_LENGTH) === MARK
2851
+ ? rawStrings[slice(string, MARK_LENGTH)]
2852
+ : '"' + string + '"';
2853
+ i = end;
2854
+ } else result += chr;
2698
2855
  }
2699
- });
2700
- }
2856
+
2857
+ return result;
2858
+ }
2859
+ });
2701
2860
  return es_json_stringify;
2702
2861
  }
2703
2862
 
@@ -2995,12 +3154,12 @@
2995
3154
  return es_json_toStringTag;
2996
3155
  }
2997
3156
 
2998
- var symbol$2;
2999
- var hasRequiredSymbol$2;
3157
+ var symbol$5;
3158
+ var hasRequiredSymbol$5;
3000
3159
 
3001
- function requireSymbol$2 () {
3002
- if (hasRequiredSymbol$2) return symbol$2;
3003
- hasRequiredSymbol$2 = 1;
3160
+ function requireSymbol$5 () {
3161
+ if (hasRequiredSymbol$5) return symbol$5;
3162
+ hasRequiredSymbol$5 = 1;
3004
3163
  requireEs_array_concat();
3005
3164
  requireEs_symbol();
3006
3165
  requireEs_symbol_asyncDispose();
@@ -3021,8 +3180,8 @@
3021
3180
  requireEs_json_toStringTag();
3022
3181
  var path = /*@__PURE__*/ requirePath();
3023
3182
 
3024
- symbol$2 = path.Symbol;
3025
- return symbol$2;
3183
+ symbol$5 = path.Symbol;
3184
+ return symbol$5;
3026
3185
  }
3027
3186
 
3028
3187
  var web_domCollections_iterator = {};
@@ -3062,7 +3221,7 @@
3062
3221
 
3063
3222
  var EXISTS = hasOwn(FunctionPrototype, 'name');
3064
3223
  // additional protection from minified / mangled / dropped function names
3065
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
3224
+ var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
3066
3225
  var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
3067
3226
 
3068
3227
  functionName = {
@@ -3544,31 +3703,31 @@
3544
3703
  return web_domCollections_iterator;
3545
3704
  }
3546
3705
 
3547
- var symbol$1;
3548
- var hasRequiredSymbol$1;
3706
+ var symbol$4;
3707
+ var hasRequiredSymbol$4;
3549
3708
 
3550
- function requireSymbol$1 () {
3551
- if (hasRequiredSymbol$1) return symbol$1;
3552
- hasRequiredSymbol$1 = 1;
3553
- var parent = /*@__PURE__*/ requireSymbol$2();
3709
+ function requireSymbol$4 () {
3710
+ if (hasRequiredSymbol$4) return symbol$4;
3711
+ hasRequiredSymbol$4 = 1;
3712
+ var parent = /*@__PURE__*/ requireSymbol$5();
3554
3713
  requireWeb_domCollections_iterator();
3555
3714
 
3556
- symbol$1 = parent;
3557
- return symbol$1;
3715
+ symbol$4 = parent;
3716
+ return symbol$4;
3558
3717
  }
3559
3718
 
3560
- var symbol;
3561
- var hasRequiredSymbol;
3719
+ var symbol$3;
3720
+ var hasRequiredSymbol$3;
3562
3721
 
3563
- function requireSymbol () {
3564
- if (hasRequiredSymbol) return symbol;
3565
- hasRequiredSymbol = 1;
3566
- symbol = /*@__PURE__*/ requireSymbol$1();
3567
- return symbol;
3722
+ function requireSymbol$3 () {
3723
+ if (hasRequiredSymbol$3) return symbol$3;
3724
+ hasRequiredSymbol$3 = 1;
3725
+ symbol$3 = /*@__PURE__*/ requireSymbol$4();
3726
+ return symbol$3;
3568
3727
  }
3569
3728
 
3570
- var symbolExports = requireSymbol();
3571
- var _Symbol = /*@__PURE__*/getDefaultExportFromCjs(symbolExports);
3729
+ var symbolExports$1 = requireSymbol$3();
3730
+ var _Symbol$1 = /*@__PURE__*/getDefaultExportFromCjs(symbolExports$1);
3572
3731
 
3573
3732
  var es_array_slice = {};
3574
3733
 
@@ -3578,13 +3737,14 @@
3578
3737
  if (hasRequiredEs_array_slice) return es_array_slice;
3579
3738
  hasRequiredEs_array_slice = 1;
3580
3739
  var $ = /*@__PURE__*/ require_export();
3581
- var isArray = /*@__PURE__*/ requireIsArray$3();
3740
+ var isArray = /*@__PURE__*/ requireIsArray$6();
3582
3741
  var isConstructor = /*@__PURE__*/ requireIsConstructor();
3583
3742
  var isObject = /*@__PURE__*/ requireIsObject();
3584
3743
  var toAbsoluteIndex = /*@__PURE__*/ requireToAbsoluteIndex();
3585
3744
  var lengthOfArrayLike = /*@__PURE__*/ requireLengthOfArrayLike();
3586
3745
  var toIndexedObject = /*@__PURE__*/ requireToIndexedObject();
3587
3746
  var createProperty = /*@__PURE__*/ requireCreateProperty();
3747
+ var setArrayLength = /*@__PURE__*/ requireArraySetLength();
3588
3748
  var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
3589
3749
  var arrayMethodHasSpeciesSupport = /*@__PURE__*/ requireArrayMethodHasSpeciesSupport();
3590
3750
  var nativeSlice = /*@__PURE__*/ requireArraySlice();
@@ -3621,7 +3781,7 @@
3621
3781
  }
3622
3782
  result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));
3623
3783
  for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
3624
- result.length = n;
3784
+ setArrayLength(result, n);
3625
3785
  return result;
3626
3786
  }
3627
3787
  });
@@ -3648,61 +3808,61 @@
3648
3808
  return getBuiltInPrototypeMethod;
3649
3809
  }
3650
3810
 
3651
- var slice$3;
3652
- var hasRequiredSlice$3;
3811
+ var slice$6;
3812
+ var hasRequiredSlice$6;
3653
3813
 
3654
- function requireSlice$3 () {
3655
- if (hasRequiredSlice$3) return slice$3;
3656
- hasRequiredSlice$3 = 1;
3814
+ function requireSlice$6 () {
3815
+ if (hasRequiredSlice$6) return slice$6;
3816
+ hasRequiredSlice$6 = 1;
3657
3817
  requireEs_array_slice();
3658
3818
  var getBuiltInPrototypeMethod = /*@__PURE__*/ requireGetBuiltInPrototypeMethod();
3659
3819
 
3660
- slice$3 = getBuiltInPrototypeMethod('Array', 'slice');
3661
- return slice$3;
3820
+ slice$6 = getBuiltInPrototypeMethod('Array', 'slice');
3821
+ return slice$6;
3662
3822
  }
3663
3823
 
3664
- var slice$2;
3665
- var hasRequiredSlice$2;
3824
+ var slice$5;
3825
+ var hasRequiredSlice$5;
3666
3826
 
3667
- function requireSlice$2 () {
3668
- if (hasRequiredSlice$2) return slice$2;
3669
- hasRequiredSlice$2 = 1;
3827
+ function requireSlice$5 () {
3828
+ if (hasRequiredSlice$5) return slice$5;
3829
+ hasRequiredSlice$5 = 1;
3670
3830
  var isPrototypeOf = /*@__PURE__*/ requireObjectIsPrototypeOf();
3671
- var method = /*@__PURE__*/ requireSlice$3();
3831
+ var method = /*@__PURE__*/ requireSlice$6();
3672
3832
 
3673
3833
  var ArrayPrototype = Array.prototype;
3674
3834
 
3675
- slice$2 = function (it) {
3835
+ slice$5 = function (it) {
3676
3836
  var own = it.slice;
3677
3837
  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.slice) ? method : own;
3678
3838
  };
3679
- return slice$2;
3839
+ return slice$5;
3680
3840
  }
3681
3841
 
3682
- var slice$1;
3683
- var hasRequiredSlice$1;
3842
+ var slice$4;
3843
+ var hasRequiredSlice$4;
3684
3844
 
3685
- function requireSlice$1 () {
3686
- if (hasRequiredSlice$1) return slice$1;
3687
- hasRequiredSlice$1 = 1;
3688
- var parent = /*@__PURE__*/ requireSlice$2();
3845
+ function requireSlice$4 () {
3846
+ if (hasRequiredSlice$4) return slice$4;
3847
+ hasRequiredSlice$4 = 1;
3848
+ var parent = /*@__PURE__*/ requireSlice$5();
3689
3849
 
3690
- slice$1 = parent;
3691
- return slice$1;
3850
+ slice$4 = parent;
3851
+ return slice$4;
3692
3852
  }
3693
3853
 
3694
- var slice;
3695
- var hasRequiredSlice;
3854
+ var slice$3;
3855
+ var hasRequiredSlice$3;
3696
3856
 
3697
- function requireSlice () {
3698
- if (hasRequiredSlice) return slice;
3699
- hasRequiredSlice = 1;
3700
- slice = /*@__PURE__*/ requireSlice$1();
3701
- return slice;
3857
+ function requireSlice$3 () {
3858
+ if (hasRequiredSlice$3) return slice$3;
3859
+ hasRequiredSlice$3 = 1;
3860
+ slice$3 = /*@__PURE__*/ requireSlice$4();
3861
+ return slice$3;
3702
3862
  }
3703
3863
 
3704
- var sliceExports = requireSlice();
3705
- var _sliceInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(sliceExports);
3864
+ var sliceExports$1 = requireSlice$3();
3865
+ var _sliceInstanceProperty$1 = /*@__PURE__*/getDefaultExportFromCjs(sliceExports$1);
3706
3866
 
3707
3867
  var es_reflect_ownKeys = {};
3708
3868
 
@@ -3791,7 +3951,7 @@
3791
3951
  if (hasRequiredEs_array_isArray) return es_array_isArray;
3792
3952
  hasRequiredEs_array_isArray = 1;
3793
3953
  var $ = /*@__PURE__*/ require_export();
3794
- var isArray = /*@__PURE__*/ requireIsArray$3();
3954
+ var isArray = /*@__PURE__*/ requireIsArray$6();
3795
3955
 
3796
3956
  // `Array.isArray` method
3797
3957
  // https://tc39.es/ecma262/#sec-array.isarray
@@ -3801,43 +3961,43 @@
3801
3961
  return es_array_isArray;
3802
3962
  }
3803
3963
 
3804
- var isArray$2;
3805
- var hasRequiredIsArray$2;
3964
+ var isArray$5;
3965
+ var hasRequiredIsArray$5;
3806
3966
 
3807
- function requireIsArray$2 () {
3808
- if (hasRequiredIsArray$2) return isArray$2;
3809
- hasRequiredIsArray$2 = 1;
3967
+ function requireIsArray$5 () {
3968
+ if (hasRequiredIsArray$5) return isArray$5;
3969
+ hasRequiredIsArray$5 = 1;
3810
3970
  requireEs_array_isArray();
3811
3971
  var path = /*@__PURE__*/ requirePath();
3812
3972
 
3813
- isArray$2 = path.Array.isArray;
3814
- return isArray$2;
3973
+ isArray$5 = path.Array.isArray;
3974
+ return isArray$5;
3815
3975
  }
3816
3976
 
3817
- var isArray$1;
3818
- var hasRequiredIsArray$1;
3977
+ var isArray$4;
3978
+ var hasRequiredIsArray$4;
3819
3979
 
3820
- function requireIsArray$1 () {
3821
- if (hasRequiredIsArray$1) return isArray$1;
3822
- hasRequiredIsArray$1 = 1;
3823
- var parent = /*@__PURE__*/ requireIsArray$2();
3980
+ function requireIsArray$4 () {
3981
+ if (hasRequiredIsArray$4) return isArray$4;
3982
+ hasRequiredIsArray$4 = 1;
3983
+ var parent = /*@__PURE__*/ requireIsArray$5();
3824
3984
 
3825
- isArray$1 = parent;
3826
- return isArray$1;
3985
+ isArray$4 = parent;
3986
+ return isArray$4;
3827
3987
  }
3828
3988
 
3829
- var isArray;
3830
- var hasRequiredIsArray;
3989
+ var isArray$3;
3990
+ var hasRequiredIsArray$3;
3831
3991
 
3832
- function requireIsArray () {
3833
- if (hasRequiredIsArray) return isArray;
3834
- hasRequiredIsArray = 1;
3835
- isArray = /*@__PURE__*/ requireIsArray$1();
3836
- return isArray;
3992
+ function requireIsArray$3 () {
3993
+ if (hasRequiredIsArray$3) return isArray$3;
3994
+ hasRequiredIsArray$3 = 1;
3995
+ isArray$3 = /*@__PURE__*/ requireIsArray$4();
3996
+ return isArray$3;
3837
3997
  }
3838
3998
 
3839
- var isArrayExports = requireIsArray();
3840
- var _Array$isArray = /*@__PURE__*/getDefaultExportFromCjs(isArrayExports);
3999
+ var isArrayExports$1 = requireIsArray$3();
4000
+ var _Array$isArray$1 = /*@__PURE__*/getDefaultExportFromCjs(isArrayExports$1);
3841
4001
 
3842
4002
  var es_array_map = {};
3843
4003
 
@@ -3885,190 +4045,1260 @@
3885
4045
  var isPrototypeOf = /*@__PURE__*/ requireObjectIsPrototypeOf();
3886
4046
  var method = /*@__PURE__*/ requireMap$3();
3887
4047
 
3888
- var ArrayPrototype = Array.prototype;
4048
+ var ArrayPrototype = Array.prototype;
4049
+
4050
+ map$2 = function (it) {
4051
+ var own = it.map;
4052
+ return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.map) ? method : own;
4053
+ };
4054
+ return map$2;
4055
+ }
4056
+
4057
+ var map$1;
4058
+ var hasRequiredMap$1;
4059
+
4060
+ function requireMap$1 () {
4061
+ if (hasRequiredMap$1) return map$1;
4062
+ hasRequiredMap$1 = 1;
4063
+ var parent = /*@__PURE__*/ requireMap$2();
4064
+
4065
+ map$1 = parent;
4066
+ return map$1;
4067
+ }
4068
+
4069
+ var map;
4070
+ var hasRequiredMap;
4071
+
4072
+ function requireMap () {
4073
+ if (hasRequiredMap) return map;
4074
+ hasRequiredMap = 1;
4075
+ map = /*@__PURE__*/ requireMap$1();
4076
+ return map;
4077
+ }
4078
+
4079
+ var mapExports = requireMap();
4080
+ var _mapInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(mapExports);
4081
+
4082
+ var es_object_keys = {};
4083
+
4084
+ var hasRequiredEs_object_keys;
4085
+
4086
+ function requireEs_object_keys () {
4087
+ if (hasRequiredEs_object_keys) return es_object_keys;
4088
+ hasRequiredEs_object_keys = 1;
4089
+ var $ = /*@__PURE__*/ require_export();
4090
+ var toObject = /*@__PURE__*/ requireToObject();
4091
+ var nativeKeys = /*@__PURE__*/ requireObjectKeys();
4092
+ var fails = /*@__PURE__*/ requireFails();
4093
+
4094
+ var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
4095
+
4096
+ // `Object.keys` method
4097
+ // https://tc39.es/ecma262/#sec-object.keys
4098
+ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
4099
+ keys: function keys(it) {
4100
+ return nativeKeys(toObject(it));
4101
+ }
4102
+ });
4103
+ return es_object_keys;
4104
+ }
4105
+
4106
+ var keys$2;
4107
+ var hasRequiredKeys$2;
4108
+
4109
+ function requireKeys$2 () {
4110
+ if (hasRequiredKeys$2) return keys$2;
4111
+ hasRequiredKeys$2 = 1;
4112
+ requireEs_object_keys();
4113
+ var path = /*@__PURE__*/ requirePath();
4114
+
4115
+ keys$2 = path.Object.keys;
4116
+ return keys$2;
4117
+ }
4118
+
4119
+ var keys$1;
4120
+ var hasRequiredKeys$1;
4121
+
4122
+ function requireKeys$1 () {
4123
+ if (hasRequiredKeys$1) return keys$1;
4124
+ hasRequiredKeys$1 = 1;
4125
+ var parent = /*@__PURE__*/ requireKeys$2();
4126
+
4127
+ keys$1 = parent;
4128
+ return keys$1;
4129
+ }
4130
+
4131
+ var keys;
4132
+ var hasRequiredKeys;
4133
+
4134
+ function requireKeys () {
4135
+ if (hasRequiredKeys) return keys;
4136
+ hasRequiredKeys = 1;
4137
+ keys = /*@__PURE__*/ requireKeys$1();
4138
+ return keys;
4139
+ }
4140
+
4141
+ var keysExports = requireKeys();
4142
+ var _Object$keys = /*@__PURE__*/getDefaultExportFromCjs(keysExports);
4143
+
4144
+ /**
4145
+ * Use this symbol to delete properies in deepObjectAssign.
4146
+ */
4147
+ const DELETE = _Symbol$1("DELETE");
4148
+ /**
4149
+ * Pure version of deepObjectAssign, it doesn't modify any of it's arguments.
4150
+ * @param base - The base object that fullfils the whole interface T.
4151
+ * @param updates - Updates that may change or delete props.
4152
+ * @returns A brand new instance with all the supplied objects deeply merged.
4153
+ */
4154
+ function pureDeepObjectAssign(base) {
4155
+ for (var _len = arguments.length, updates = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
4156
+ updates[_key - 1] = arguments[_key];
4157
+ }
4158
+ return deepObjectAssign({}, base, ...updates);
4159
+ }
4160
+ /**
4161
+ * Deep version of object assign with additional deleting by the DELETE symbol.
4162
+ * @param values - Objects to be deeply merged.
4163
+ * @returns The first object from values.
4164
+ */
4165
+ function deepObjectAssign() {
4166
+ const merged = deepObjectAssignNonentry(...arguments);
4167
+ stripDelete(merged);
4168
+ return merged;
4169
+ }
4170
+ /**
4171
+ * Deep version of object assign with additional deleting by the DELETE symbol.
4172
+ * @remarks
4173
+ * This doesn't strip the DELETE symbols so they may end up in the final object.
4174
+ * @param values - Objects to be deeply merged.
4175
+ * @returns The first object from values.
4176
+ */
4177
+ function deepObjectAssignNonentry() {
4178
+ for (var _len2 = arguments.length, values = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
4179
+ values[_key2] = arguments[_key2];
4180
+ }
4181
+ if (values.length < 2) {
4182
+ return values[0];
4183
+ } else if (values.length > 2) {
4184
+ return deepObjectAssignNonentry(deepObjectAssign(values[0], values[1]), ..._sliceInstanceProperty$1(values).call(values, 2));
4185
+ }
4186
+ const a = values[0];
4187
+ const b = values[1];
4188
+ if (a instanceof Date && b instanceof Date) {
4189
+ a.setTime(b.getTime());
4190
+ return a;
4191
+ }
4192
+ for (const prop of _Reflect$ownKeys(b)) {
4193
+ if (!Object.prototype.propertyIsEnumerable.call(b, prop)) ; else if (b[prop] === DELETE) {
4194
+ delete a[prop];
4195
+ } else if (a[prop] !== null && b[prop] !== null && typeof a[prop] === "object" && typeof b[prop] === "object" && !_Array$isArray$1(a[prop]) && !_Array$isArray$1(b[prop])) {
4196
+ a[prop] = deepObjectAssignNonentry(a[prop], b[prop]);
4197
+ } else {
4198
+ a[prop] = clone(b[prop]);
4199
+ }
4200
+ }
4201
+ return a;
4202
+ }
4203
+ /**
4204
+ * Deep clone given object or array. In case of primitive simply return.
4205
+ * @param a - Anything.
4206
+ * @returns Deep cloned object/array or unchanged a.
4207
+ */
4208
+ function clone(a) {
4209
+ if (_Array$isArray$1(a)) {
4210
+ return _mapInstanceProperty(a).call(a, value => clone(value));
4211
+ } else if (typeof a === "object" && a !== null) {
4212
+ if (a instanceof Date) {
4213
+ return new Date(a.getTime());
4214
+ }
4215
+ return deepObjectAssignNonentry({}, a);
4216
+ } else {
4217
+ return a;
4218
+ }
4219
+ }
4220
+ /**
4221
+ * Strip DELETE from given object.
4222
+ * @param a - Object which may contain DELETE but won't after this is executed.
4223
+ */
4224
+ function stripDelete(a) {
4225
+ for (const prop of _Object$keys(a)) {
4226
+ if (a[prop] === DELETE) {
4227
+ delete a[prop];
4228
+ } else if (typeof a[prop] === "object" && a[prop] !== null) {
4229
+ stripDelete(a[prop]);
4230
+ }
4231
+ }
4232
+ }
4233
+
4234
+ var isArray$2;
4235
+ var hasRequiredIsArray$2;
4236
+
4237
+ function requireIsArray$2 () {
4238
+ if (hasRequiredIsArray$2) return isArray$2;
4239
+ hasRequiredIsArray$2 = 1;
4240
+ var parent = /*@__PURE__*/ requireIsArray$4();
4241
+
4242
+ isArray$2 = parent;
4243
+ return isArray$2;
4244
+ }
4245
+
4246
+ var isArray$1;
4247
+ var hasRequiredIsArray$1;
4248
+
4249
+ function requireIsArray$1 () {
4250
+ if (hasRequiredIsArray$1) return isArray$1;
4251
+ hasRequiredIsArray$1 = 1;
4252
+ var parent = /*@__PURE__*/ requireIsArray$2();
4253
+
4254
+ isArray$1 = parent;
4255
+ return isArray$1;
4256
+ }
4257
+
4258
+ var isArray;
4259
+ var hasRequiredIsArray;
4260
+
4261
+ function requireIsArray () {
4262
+ if (hasRequiredIsArray) return isArray;
4263
+ hasRequiredIsArray = 1;
4264
+ isArray = /*@__PURE__*/ requireIsArray$1();
4265
+ return isArray;
4266
+ }
4267
+
4268
+ var isArrayExports = /*@__PURE__*/ requireIsArray();
4269
+ var _Array$isArray = /*@__PURE__*/getDefaultExportFromCjs(isArrayExports);
4270
+
4271
+ function _arrayWithHoles(r) {
4272
+ if (_Array$isArray(r)) return r;
4273
+ }
4274
+
4275
+ var esnext_function_metadata = {};
4276
+
4277
+ var hasRequiredEsnext_function_metadata;
4278
+
4279
+ function requireEsnext_function_metadata () {
4280
+ if (hasRequiredEsnext_function_metadata) return esnext_function_metadata;
4281
+ hasRequiredEsnext_function_metadata = 1;
4282
+ var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
4283
+ var defineProperty = /*@__PURE__*/ requireObjectDefineProperty().f;
4284
+
4285
+ var METADATA = wellKnownSymbol('metadata');
4286
+ var FunctionPrototype = Function.prototype;
4287
+
4288
+ // Function.prototype[@@metadata]
4289
+ // https://github.com/tc39/proposal-decorator-metadata
4290
+ if (FunctionPrototype[METADATA] === undefined) {
4291
+ defineProperty(FunctionPrototype, METADATA, {
4292
+ value: null
4293
+ });
4294
+ }
4295
+ return esnext_function_metadata;
4296
+ }
4297
+
4298
+ var esnext_symbol_asyncDispose = {};
4299
+
4300
+ var hasRequiredEsnext_symbol_asyncDispose;
4301
+
4302
+ function requireEsnext_symbol_asyncDispose () {
4303
+ if (hasRequiredEsnext_symbol_asyncDispose) return esnext_symbol_asyncDispose;
4304
+ hasRequiredEsnext_symbol_asyncDispose = 1;
4305
+ // TODO: Remove from `core-js@4`
4306
+ requireEs_symbol_asyncDispose();
4307
+ return esnext_symbol_asyncDispose;
4308
+ }
4309
+
4310
+ var esnext_symbol_dispose = {};
4311
+
4312
+ var hasRequiredEsnext_symbol_dispose;
4313
+
4314
+ function requireEsnext_symbol_dispose () {
4315
+ if (hasRequiredEsnext_symbol_dispose) return esnext_symbol_dispose;
4316
+ hasRequiredEsnext_symbol_dispose = 1;
4317
+ // TODO: Remove from `core-js@4`
4318
+ requireEs_symbol_dispose();
4319
+ return esnext_symbol_dispose;
4320
+ }
4321
+
4322
+ var esnext_symbol_metadata = {};
4323
+
4324
+ var hasRequiredEsnext_symbol_metadata;
4325
+
4326
+ function requireEsnext_symbol_metadata () {
4327
+ if (hasRequiredEsnext_symbol_metadata) return esnext_symbol_metadata;
4328
+ hasRequiredEsnext_symbol_metadata = 1;
4329
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4330
+
4331
+ // `Symbol.metadata` well-known symbol
4332
+ // https://github.com/tc39/proposal-decorators
4333
+ defineWellKnownSymbol('metadata');
4334
+ return esnext_symbol_metadata;
4335
+ }
4336
+
4337
+ var symbol$2;
4338
+ var hasRequiredSymbol$2;
4339
+
4340
+ function requireSymbol$2 () {
4341
+ if (hasRequiredSymbol$2) return symbol$2;
4342
+ hasRequiredSymbol$2 = 1;
4343
+ var parent = /*@__PURE__*/ requireSymbol$4();
4344
+
4345
+ requireEsnext_function_metadata();
4346
+ requireEsnext_symbol_asyncDispose();
4347
+ requireEsnext_symbol_dispose();
4348
+ requireEsnext_symbol_metadata();
4349
+
4350
+ symbol$2 = parent;
4351
+ return symbol$2;
4352
+ }
4353
+
4354
+ var esnext_symbol_isRegisteredSymbol = {};
4355
+
4356
+ var symbolIsRegistered;
4357
+ var hasRequiredSymbolIsRegistered;
4358
+
4359
+ function requireSymbolIsRegistered () {
4360
+ if (hasRequiredSymbolIsRegistered) return symbolIsRegistered;
4361
+ hasRequiredSymbolIsRegistered = 1;
4362
+ var getBuiltIn = /*@__PURE__*/ requireGetBuiltIn();
4363
+ var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
4364
+
4365
+ var Symbol = getBuiltIn('Symbol');
4366
+ var keyFor = Symbol.keyFor;
4367
+ var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf);
4368
+
4369
+ // `Symbol.isRegisteredSymbol` method
4370
+ // https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol
4371
+ symbolIsRegistered = Symbol.isRegisteredSymbol || function isRegisteredSymbol(value) {
4372
+ try {
4373
+ return keyFor(thisSymbolValue(value)) !== undefined;
4374
+ } catch (error) {
4375
+ return false;
4376
+ }
4377
+ };
4378
+ return symbolIsRegistered;
4379
+ }
4380
+
4381
+ var hasRequiredEsnext_symbol_isRegisteredSymbol;
4382
+
4383
+ function requireEsnext_symbol_isRegisteredSymbol () {
4384
+ if (hasRequiredEsnext_symbol_isRegisteredSymbol) return esnext_symbol_isRegisteredSymbol;
4385
+ hasRequiredEsnext_symbol_isRegisteredSymbol = 1;
4386
+ var $ = /*@__PURE__*/ require_export();
4387
+ var isRegisteredSymbol = /*@__PURE__*/ requireSymbolIsRegistered();
4388
+
4389
+ // `Symbol.isRegisteredSymbol` method
4390
+ // https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol
4391
+ $({ target: 'Symbol', stat: true }, {
4392
+ isRegisteredSymbol: isRegisteredSymbol
4393
+ });
4394
+ return esnext_symbol_isRegisteredSymbol;
4395
+ }
4396
+
4397
+ var esnext_symbol_isWellKnownSymbol = {};
4398
+
4399
+ var symbolIsWellKnown;
4400
+ var hasRequiredSymbolIsWellKnown;
4401
+
4402
+ function requireSymbolIsWellKnown () {
4403
+ if (hasRequiredSymbolIsWellKnown) return symbolIsWellKnown;
4404
+ hasRequiredSymbolIsWellKnown = 1;
4405
+ var shared = /*@__PURE__*/ requireShared();
4406
+ var getBuiltIn = /*@__PURE__*/ requireGetBuiltIn();
4407
+ var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
4408
+ var isSymbol = /*@__PURE__*/ requireIsSymbol();
4409
+ var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
4410
+
4411
+ var Symbol = getBuiltIn('Symbol');
4412
+ var $isWellKnownSymbol = Symbol.isWellKnownSymbol;
4413
+ var getOwnPropertyNames = getBuiltIn('Object', 'getOwnPropertyNames');
4414
+ var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf);
4415
+ var WellKnownSymbolsStore = shared('wks');
4416
+
4417
+ for (var i = 0, symbolKeys = getOwnPropertyNames(Symbol), symbolKeysLength = symbolKeys.length; i < symbolKeysLength; i++) {
4418
+ // some old engines throws on access to some keys like `arguments` or `caller`
4419
+ try {
4420
+ var symbolKey = symbolKeys[i];
4421
+ if (isSymbol(Symbol[symbolKey])) wellKnownSymbol(symbolKey);
4422
+ } catch (error) { /* empty */ }
4423
+ }
4424
+
4425
+ // `Symbol.isWellKnownSymbol` method
4426
+ // https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol
4427
+ // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected
4428
+ symbolIsWellKnown = function isWellKnownSymbol(value) {
4429
+ if ($isWellKnownSymbol && $isWellKnownSymbol(value)) return true;
4430
+ try {
4431
+ var symbol = thisSymbolValue(value);
4432
+ for (var j = 0, keys = getOwnPropertyNames(WellKnownSymbolsStore), keysLength = keys.length; j < keysLength; j++) {
4433
+ // eslint-disable-next-line eqeqeq -- polyfilled symbols case
4434
+ if (WellKnownSymbolsStore[keys[j]] == symbol) return true;
4435
+ }
4436
+ } catch (error) { /* empty */ }
4437
+ return false;
4438
+ };
4439
+ return symbolIsWellKnown;
4440
+ }
4441
+
4442
+ var hasRequiredEsnext_symbol_isWellKnownSymbol;
4443
+
4444
+ function requireEsnext_symbol_isWellKnownSymbol () {
4445
+ if (hasRequiredEsnext_symbol_isWellKnownSymbol) return esnext_symbol_isWellKnownSymbol;
4446
+ hasRequiredEsnext_symbol_isWellKnownSymbol = 1;
4447
+ var $ = /*@__PURE__*/ require_export();
4448
+ var isWellKnownSymbol = /*@__PURE__*/ requireSymbolIsWellKnown();
4449
+
4450
+ // `Symbol.isWellKnownSymbol` method
4451
+ // https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol
4452
+ // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected
4453
+ $({ target: 'Symbol', stat: true, forced: true }, {
4454
+ isWellKnownSymbol: isWellKnownSymbol
4455
+ });
4456
+ return esnext_symbol_isWellKnownSymbol;
4457
+ }
4458
+
4459
+ var esnext_symbol_customMatcher = {};
4460
+
4461
+ var hasRequiredEsnext_symbol_customMatcher;
4462
+
4463
+ function requireEsnext_symbol_customMatcher () {
4464
+ if (hasRequiredEsnext_symbol_customMatcher) return esnext_symbol_customMatcher;
4465
+ hasRequiredEsnext_symbol_customMatcher = 1;
4466
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4467
+
4468
+ // `Symbol.customMatcher` well-known symbol
4469
+ // https://github.com/tc39/proposal-pattern-matching
4470
+ defineWellKnownSymbol('customMatcher');
4471
+ return esnext_symbol_customMatcher;
4472
+ }
4473
+
4474
+ var esnext_symbol_observable = {};
4475
+
4476
+ var hasRequiredEsnext_symbol_observable;
4477
+
4478
+ function requireEsnext_symbol_observable () {
4479
+ if (hasRequiredEsnext_symbol_observable) return esnext_symbol_observable;
4480
+ hasRequiredEsnext_symbol_observable = 1;
4481
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4482
+
4483
+ // `Symbol.observable` well-known symbol
4484
+ // https://github.com/tc39/proposal-observable
4485
+ defineWellKnownSymbol('observable');
4486
+ return esnext_symbol_observable;
4487
+ }
4488
+
4489
+ var esnext_symbol_isRegistered = {};
4490
+
4491
+ var hasRequiredEsnext_symbol_isRegistered;
4492
+
4493
+ function requireEsnext_symbol_isRegistered () {
4494
+ if (hasRequiredEsnext_symbol_isRegistered) return esnext_symbol_isRegistered;
4495
+ hasRequiredEsnext_symbol_isRegistered = 1;
4496
+ var $ = /*@__PURE__*/ require_export();
4497
+ var isRegisteredSymbol = /*@__PURE__*/ requireSymbolIsRegistered();
4498
+
4499
+ // `Symbol.isRegistered` method
4500
+ // obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol
4501
+ $({ target: 'Symbol', stat: true, name: 'isRegisteredSymbol' }, {
4502
+ isRegistered: isRegisteredSymbol
4503
+ });
4504
+ return esnext_symbol_isRegistered;
4505
+ }
4506
+
4507
+ var esnext_symbol_isWellKnown = {};
4508
+
4509
+ var hasRequiredEsnext_symbol_isWellKnown;
4510
+
4511
+ function requireEsnext_symbol_isWellKnown () {
4512
+ if (hasRequiredEsnext_symbol_isWellKnown) return esnext_symbol_isWellKnown;
4513
+ hasRequiredEsnext_symbol_isWellKnown = 1;
4514
+ var $ = /*@__PURE__*/ require_export();
4515
+ var isWellKnownSymbol = /*@__PURE__*/ requireSymbolIsWellKnown();
4516
+
4517
+ // `Symbol.isWellKnown` method
4518
+ // obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol
4519
+ // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected
4520
+ $({ target: 'Symbol', stat: true, name: 'isWellKnownSymbol', forced: true }, {
4521
+ isWellKnown: isWellKnownSymbol
4522
+ });
4523
+ return esnext_symbol_isWellKnown;
4524
+ }
4525
+
4526
+ var esnext_symbol_matcher = {};
4527
+
4528
+ var hasRequiredEsnext_symbol_matcher;
4529
+
4530
+ function requireEsnext_symbol_matcher () {
4531
+ if (hasRequiredEsnext_symbol_matcher) return esnext_symbol_matcher;
4532
+ hasRequiredEsnext_symbol_matcher = 1;
4533
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4534
+
4535
+ // `Symbol.matcher` well-known symbol
4536
+ // https://github.com/tc39/proposal-pattern-matching
4537
+ defineWellKnownSymbol('matcher');
4538
+ return esnext_symbol_matcher;
4539
+ }
4540
+
4541
+ var esnext_symbol_metadataKey = {};
4542
+
4543
+ var hasRequiredEsnext_symbol_metadataKey;
4544
+
4545
+ function requireEsnext_symbol_metadataKey () {
4546
+ if (hasRequiredEsnext_symbol_metadataKey) return esnext_symbol_metadataKey;
4547
+ hasRequiredEsnext_symbol_metadataKey = 1;
4548
+ // TODO: Remove from `core-js@4`
4549
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4550
+
4551
+ // `Symbol.metadataKey` well-known symbol
4552
+ // https://github.com/tc39/proposal-decorator-metadata
4553
+ defineWellKnownSymbol('metadataKey');
4554
+ return esnext_symbol_metadataKey;
4555
+ }
4556
+
4557
+ var esnext_symbol_patternMatch = {};
4558
+
4559
+ var hasRequiredEsnext_symbol_patternMatch;
4560
+
4561
+ function requireEsnext_symbol_patternMatch () {
4562
+ if (hasRequiredEsnext_symbol_patternMatch) return esnext_symbol_patternMatch;
4563
+ hasRequiredEsnext_symbol_patternMatch = 1;
4564
+ // TODO: remove from `core-js@4`
4565
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4566
+
4567
+ // `Symbol.patternMatch` well-known symbol
4568
+ // https://github.com/tc39/proposal-pattern-matching
4569
+ defineWellKnownSymbol('patternMatch');
4570
+ return esnext_symbol_patternMatch;
4571
+ }
4572
+
4573
+ var esnext_symbol_replaceAll = {};
4574
+
4575
+ var hasRequiredEsnext_symbol_replaceAll;
4576
+
4577
+ function requireEsnext_symbol_replaceAll () {
4578
+ if (hasRequiredEsnext_symbol_replaceAll) return esnext_symbol_replaceAll;
4579
+ hasRequiredEsnext_symbol_replaceAll = 1;
4580
+ // TODO: remove from `core-js@4`
4581
+ var defineWellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbolDefine();
4582
+
4583
+ defineWellKnownSymbol('replaceAll');
4584
+ return esnext_symbol_replaceAll;
4585
+ }
4586
+
4587
+ var symbol$1;
4588
+ var hasRequiredSymbol$1;
4589
+
4590
+ function requireSymbol$1 () {
4591
+ if (hasRequiredSymbol$1) return symbol$1;
4592
+ hasRequiredSymbol$1 = 1;
4593
+ var parent = /*@__PURE__*/ requireSymbol$2();
4594
+ requireEsnext_symbol_isRegisteredSymbol();
4595
+ requireEsnext_symbol_isWellKnownSymbol();
4596
+ requireEsnext_symbol_customMatcher();
4597
+ requireEsnext_symbol_observable();
4598
+ // TODO: Remove from `core-js@4`
4599
+ requireEsnext_symbol_isRegistered();
4600
+ requireEsnext_symbol_isWellKnown();
4601
+ requireEsnext_symbol_matcher();
4602
+ requireEsnext_symbol_metadataKey();
4603
+ requireEsnext_symbol_patternMatch();
4604
+ requireEsnext_symbol_replaceAll();
4605
+
4606
+ symbol$1 = parent;
4607
+ return symbol$1;
4608
+ }
4609
+
4610
+ var symbol;
4611
+ var hasRequiredSymbol;
4612
+
4613
+ function requireSymbol () {
4614
+ if (hasRequiredSymbol) return symbol;
4615
+ hasRequiredSymbol = 1;
4616
+ symbol = /*@__PURE__*/ requireSymbol$1();
4617
+ return symbol;
4618
+ }
4619
+
4620
+ var symbolExports = /*@__PURE__*/ requireSymbol();
4621
+ var _Symbol = /*@__PURE__*/getDefaultExportFromCjs(symbolExports);
4622
+
4623
+ var es_string_iterator = {};
4624
+
4625
+ var stringMultibyte;
4626
+ var hasRequiredStringMultibyte;
4627
+
4628
+ function requireStringMultibyte () {
4629
+ if (hasRequiredStringMultibyte) return stringMultibyte;
4630
+ hasRequiredStringMultibyte = 1;
4631
+ var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
4632
+ var toIntegerOrInfinity = /*@__PURE__*/ requireToIntegerOrInfinity();
4633
+ var toString = /*@__PURE__*/ requireToString();
4634
+ var requireObjectCoercible = /*@__PURE__*/ requireRequireObjectCoercible();
4635
+
4636
+ var charAt = uncurryThis(''.charAt);
4637
+ var charCodeAt = uncurryThis(''.charCodeAt);
4638
+ var stringSlice = uncurryThis(''.slice);
4639
+
4640
+ var createMethod = function (CONVERT_TO_STRING) {
4641
+ return function ($this, pos) {
4642
+ var S = toString(requireObjectCoercible($this));
4643
+ var position = toIntegerOrInfinity(pos);
4644
+ var size = S.length;
4645
+ var first, second;
4646
+ if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
4647
+ first = charCodeAt(S, position);
4648
+ return first < 0xD800 || first > 0xDBFF || position + 1 === size
4649
+ || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
4650
+ ? CONVERT_TO_STRING
4651
+ ? charAt(S, position)
4652
+ : first
4653
+ : CONVERT_TO_STRING
4654
+ ? stringSlice(S, position, position + 2)
4655
+ : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
4656
+ };
4657
+ };
4658
+
4659
+ stringMultibyte = {
4660
+ // `String.prototype.codePointAt` method
4661
+ // https://tc39.es/ecma262/#sec-string.prototype.codepointat
4662
+ codeAt: createMethod(false),
4663
+ // `String.prototype.at` method
4664
+ // https://github.com/mathiasbynens/String.prototype.at
4665
+ charAt: createMethod(true)
4666
+ };
4667
+ return stringMultibyte;
4668
+ }
4669
+
4670
+ var hasRequiredEs_string_iterator;
4671
+
4672
+ function requireEs_string_iterator () {
4673
+ if (hasRequiredEs_string_iterator) return es_string_iterator;
4674
+ hasRequiredEs_string_iterator = 1;
4675
+ var charAt = /*@__PURE__*/ requireStringMultibyte().charAt;
4676
+ var toString = /*@__PURE__*/ requireToString();
4677
+ var InternalStateModule = /*@__PURE__*/ requireInternalState();
4678
+ var defineIterator = /*@__PURE__*/ requireIteratorDefine();
4679
+ var createIterResultObject = /*@__PURE__*/ requireCreateIterResultObject();
4680
+
4681
+ var STRING_ITERATOR = 'String Iterator';
4682
+ var setInternalState = InternalStateModule.set;
4683
+ var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
4684
+
4685
+ // `String.prototype[@@iterator]` method
4686
+ // https://tc39.es/ecma262/#sec-string.prototype-@@iterator
4687
+ defineIterator(String, 'String', function (iterated) {
4688
+ setInternalState(this, {
4689
+ type: STRING_ITERATOR,
4690
+ string: toString(iterated),
4691
+ index: 0
4692
+ });
4693
+ // `%StringIteratorPrototype%.next` method
4694
+ // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
4695
+ }, function next() {
4696
+ var state = getInternalState(this);
4697
+ var string = state.string;
4698
+ var index = state.index;
4699
+ var point;
4700
+ if (index >= string.length) return createIterResultObject(undefined, true);
4701
+ point = charAt(string, index);
4702
+ state.index += point.length;
4703
+ return createIterResultObject(point, false);
4704
+ });
4705
+ return es_string_iterator;
4706
+ }
4707
+
4708
+ var getIteratorMethod$4;
4709
+ var hasRequiredGetIteratorMethod$5;
4710
+
4711
+ function requireGetIteratorMethod$5 () {
4712
+ if (hasRequiredGetIteratorMethod$5) return getIteratorMethod$4;
4713
+ hasRequiredGetIteratorMethod$5 = 1;
4714
+ var classof = /*@__PURE__*/ requireClassof();
4715
+ var getMethod = /*@__PURE__*/ requireGetMethod();
4716
+ var isNullOrUndefined = /*@__PURE__*/ requireIsNullOrUndefined();
4717
+ var Iterators = /*@__PURE__*/ requireIterators();
4718
+ var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
4719
+
4720
+ var ITERATOR = wellKnownSymbol('iterator');
4721
+
4722
+ getIteratorMethod$4 = function (it) {
4723
+ if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
4724
+ || getMethod(it, '@@iterator')
4725
+ || Iterators[classof(it)];
4726
+ };
4727
+ return getIteratorMethod$4;
4728
+ }
4729
+
4730
+ var getIteratorMethod_1;
4731
+ var hasRequiredGetIteratorMethod$4;
4732
+
4733
+ function requireGetIteratorMethod$4 () {
4734
+ if (hasRequiredGetIteratorMethod$4) return getIteratorMethod_1;
4735
+ hasRequiredGetIteratorMethod$4 = 1;
4736
+ requireEs_array_iterator();
4737
+ requireEs_string_iterator();
4738
+ var getIteratorMethod = /*@__PURE__*/ requireGetIteratorMethod$5();
4739
+
4740
+ getIteratorMethod_1 = getIteratorMethod;
4741
+ return getIteratorMethod_1;
4742
+ }
4743
+
4744
+ var getIteratorMethod$3;
4745
+ var hasRequiredGetIteratorMethod$3;
4746
+
4747
+ function requireGetIteratorMethod$3 () {
4748
+ if (hasRequiredGetIteratorMethod$3) return getIteratorMethod$3;
4749
+ hasRequiredGetIteratorMethod$3 = 1;
4750
+ var parent = /*@__PURE__*/ requireGetIteratorMethod$4();
4751
+ requireWeb_domCollections_iterator();
4752
+
4753
+ getIteratorMethod$3 = parent;
4754
+ return getIteratorMethod$3;
4755
+ }
4756
+
4757
+ var getIteratorMethod$2;
4758
+ var hasRequiredGetIteratorMethod$2;
4759
+
4760
+ function requireGetIteratorMethod$2 () {
4761
+ if (hasRequiredGetIteratorMethod$2) return getIteratorMethod$2;
4762
+ hasRequiredGetIteratorMethod$2 = 1;
4763
+ var parent = /*@__PURE__*/ requireGetIteratorMethod$3();
4764
+
4765
+ getIteratorMethod$2 = parent;
4766
+ return getIteratorMethod$2;
4767
+ }
4768
+
4769
+ var getIteratorMethod$1;
4770
+ var hasRequiredGetIteratorMethod$1;
4771
+
4772
+ function requireGetIteratorMethod$1 () {
4773
+ if (hasRequiredGetIteratorMethod$1) return getIteratorMethod$1;
4774
+ hasRequiredGetIteratorMethod$1 = 1;
4775
+ var parent = /*@__PURE__*/ requireGetIteratorMethod$2();
4776
+
4777
+ getIteratorMethod$1 = parent;
4778
+ return getIteratorMethod$1;
4779
+ }
4780
+
4781
+ var getIteratorMethod;
4782
+ var hasRequiredGetIteratorMethod;
4783
+
4784
+ function requireGetIteratorMethod () {
4785
+ if (hasRequiredGetIteratorMethod) return getIteratorMethod;
4786
+ hasRequiredGetIteratorMethod = 1;
4787
+ getIteratorMethod = /*@__PURE__*/ requireGetIteratorMethod$1();
4788
+ return getIteratorMethod;
4789
+ }
4790
+
4791
+ var getIteratorMethodExports = /*@__PURE__*/ requireGetIteratorMethod();
4792
+ var _getIteratorMethod = /*@__PURE__*/getDefaultExportFromCjs(getIteratorMethodExports);
4793
+
4794
+ var es_array_push = {};
4795
+
4796
+ var hasRequiredEs_array_push;
4797
+
4798
+ function requireEs_array_push () {
4799
+ if (hasRequiredEs_array_push) return es_array_push;
4800
+ hasRequiredEs_array_push = 1;
4801
+ var $ = /*@__PURE__*/ require_export();
4802
+ var toObject = /*@__PURE__*/ requireToObject();
4803
+ var lengthOfArrayLike = /*@__PURE__*/ requireLengthOfArrayLike();
4804
+ var setArrayLength = /*@__PURE__*/ requireArraySetLength();
4805
+ var doesNotExceedSafeInteger = /*@__PURE__*/ requireDoesNotExceedSafeInteger();
4806
+ var fails = /*@__PURE__*/ requireFails();
4807
+
4808
+ var INCORRECT_TO_LENGTH = fails(function () {
4809
+ return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
4810
+ });
4811
+
4812
+ // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
4813
+ // https://bugs.chromium.org/p/v8/issues/detail?id=12681
4814
+ var properErrorOnNonWritableLength = function () {
4815
+ try {
4816
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
4817
+ Object.defineProperty([], 'length', { writable: false }).push();
4818
+ } catch (error) {
4819
+ return error instanceof TypeError;
4820
+ }
4821
+ };
4822
+
4823
+ var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
4824
+
4825
+ // `Array.prototype.push` method
4826
+ // https://tc39.es/ecma262/#sec-array.prototype.push
4827
+ $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
4828
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
4829
+ push: function push(item) {
4830
+ var O = toObject(this);
4831
+ var len = lengthOfArrayLike(O);
4832
+ var argCount = arguments.length;
4833
+ doesNotExceedSafeInteger(len + argCount);
4834
+ for (var i = 0; i < argCount; i++) {
4835
+ O[len] = arguments[i];
4836
+ len++;
4837
+ }
4838
+ setArrayLength(O, len);
4839
+ return len;
4840
+ }
4841
+ });
4842
+ return es_array_push;
4843
+ }
4844
+
4845
+ var push$5;
4846
+ var hasRequiredPush$5;
4847
+
4848
+ function requirePush$5 () {
4849
+ if (hasRequiredPush$5) return push$5;
4850
+ hasRequiredPush$5 = 1;
4851
+ requireEs_array_push();
4852
+ var getBuiltInPrototypeMethod = /*@__PURE__*/ requireGetBuiltInPrototypeMethod();
4853
+
4854
+ push$5 = getBuiltInPrototypeMethod('Array', 'push');
4855
+ return push$5;
4856
+ }
4857
+
4858
+ var push$4;
4859
+ var hasRequiredPush$4;
4860
+
4861
+ function requirePush$4 () {
4862
+ if (hasRequiredPush$4) return push$4;
4863
+ hasRequiredPush$4 = 1;
4864
+ var isPrototypeOf = /*@__PURE__*/ requireObjectIsPrototypeOf();
4865
+ var method = /*@__PURE__*/ requirePush$5();
4866
+
4867
+ var ArrayPrototype = Array.prototype;
4868
+
4869
+ push$4 = function (it) {
4870
+ var own = it.push;
4871
+ return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.push) ? method : own;
4872
+ };
4873
+ return push$4;
4874
+ }
4875
+
4876
+ var push$3;
4877
+ var hasRequiredPush$3;
4878
+
4879
+ function requirePush$3 () {
4880
+ if (hasRequiredPush$3) return push$3;
4881
+ hasRequiredPush$3 = 1;
4882
+ var parent = /*@__PURE__*/ requirePush$4();
4883
+
4884
+ push$3 = parent;
4885
+ return push$3;
4886
+ }
4887
+
4888
+ var push$2;
4889
+ var hasRequiredPush$2;
4890
+
4891
+ function requirePush$2 () {
4892
+ if (hasRequiredPush$2) return push$2;
4893
+ hasRequiredPush$2 = 1;
4894
+ var parent = /*@__PURE__*/ requirePush$3();
4895
+
4896
+ push$2 = parent;
4897
+ return push$2;
4898
+ }
4899
+
4900
+ var push$1;
4901
+ var hasRequiredPush$1;
4902
+
4903
+ function requirePush$1 () {
4904
+ if (hasRequiredPush$1) return push$1;
4905
+ hasRequiredPush$1 = 1;
4906
+ var parent = /*@__PURE__*/ requirePush$2();
4907
+
4908
+ push$1 = parent;
4909
+ return push$1;
4910
+ }
4911
+
4912
+ var push;
4913
+ var hasRequiredPush;
4914
+
4915
+ function requirePush () {
4916
+ if (hasRequiredPush) return push;
4917
+ hasRequiredPush = 1;
4918
+ push = /*@__PURE__*/ requirePush$1();
4919
+ return push;
4920
+ }
4921
+
4922
+ var pushExports = /*@__PURE__*/ requirePush();
4923
+ var _pushInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(pushExports);
4924
+
4925
+ function _iterableToArrayLimit(r, l) {
4926
+ var t = null == r ? null : "undefined" != typeof _Symbol && _getIteratorMethod(r) || r["@@iterator"];
4927
+ if (null != t) {
4928
+ var e,
4929
+ n,
4930
+ i,
4931
+ u,
4932
+ a = [],
4933
+ f = true,
4934
+ o = false;
4935
+ try {
4936
+ if (i = (t = t.call(r)).next, 0 === l) {
4937
+ if (Object(t) !== t) return;
4938
+ f = !1;
4939
+ } else for (; !(f = (e = i.call(t)).done) && (_pushInstanceProperty(a).call(a, e.value), a.length !== l); f = !0);
4940
+ } catch (r) {
4941
+ o = true, n = r;
4942
+ } finally {
4943
+ try {
4944
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
4945
+ } finally {
4946
+ if (o) throw n;
4947
+ }
4948
+ }
4949
+ return a;
4950
+ }
4951
+ }
4952
+
4953
+ var slice$2;
4954
+ var hasRequiredSlice$2;
4955
+
4956
+ function requireSlice$2 () {
4957
+ if (hasRequiredSlice$2) return slice$2;
4958
+ hasRequiredSlice$2 = 1;
4959
+ var parent = /*@__PURE__*/ requireSlice$4();
4960
+
4961
+ slice$2 = parent;
4962
+ return slice$2;
4963
+ }
4964
+
4965
+ var slice$1;
4966
+ var hasRequiredSlice$1;
4967
+
4968
+ function requireSlice$1 () {
4969
+ if (hasRequiredSlice$1) return slice$1;
4970
+ hasRequiredSlice$1 = 1;
4971
+ var parent = /*@__PURE__*/ requireSlice$2();
4972
+
4973
+ slice$1 = parent;
4974
+ return slice$1;
4975
+ }
4976
+
4977
+ var slice;
4978
+ var hasRequiredSlice;
4979
+
4980
+ function requireSlice () {
4981
+ if (hasRequiredSlice) return slice;
4982
+ hasRequiredSlice = 1;
4983
+ slice = /*@__PURE__*/ requireSlice$1();
4984
+ return slice;
4985
+ }
4986
+
4987
+ var sliceExports = /*@__PURE__*/ requireSlice();
4988
+ var _sliceInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(sliceExports);
4989
+
4990
+ var es_array_from = {};
4991
+
4992
+ var iteratorClose;
4993
+ var hasRequiredIteratorClose;
4994
+
4995
+ function requireIteratorClose () {
4996
+ if (hasRequiredIteratorClose) return iteratorClose;
4997
+ hasRequiredIteratorClose = 1;
4998
+ var call = /*@__PURE__*/ requireFunctionCall();
4999
+ var anObject = /*@__PURE__*/ requireAnObject();
5000
+ var getMethod = /*@__PURE__*/ requireGetMethod();
5001
+
5002
+ iteratorClose = function (iterator, kind, value) {
5003
+ var innerResult, innerError;
5004
+ anObject(iterator);
5005
+ try {
5006
+ innerResult = getMethod(iterator, 'return');
5007
+ if (!innerResult) {
5008
+ if (kind === 'throw') throw value;
5009
+ return value;
5010
+ }
5011
+ innerResult = call(innerResult, iterator);
5012
+ } catch (error) {
5013
+ innerError = true;
5014
+ innerResult = error;
5015
+ }
5016
+ if (kind === 'throw') throw value;
5017
+ if (innerError) throw innerResult;
5018
+ anObject(innerResult);
5019
+ return value;
5020
+ };
5021
+ return iteratorClose;
5022
+ }
5023
+
5024
+ var callWithSafeIterationClosing;
5025
+ var hasRequiredCallWithSafeIterationClosing;
5026
+
5027
+ function requireCallWithSafeIterationClosing () {
5028
+ if (hasRequiredCallWithSafeIterationClosing) return callWithSafeIterationClosing;
5029
+ hasRequiredCallWithSafeIterationClosing = 1;
5030
+ var anObject = /*@__PURE__*/ requireAnObject();
5031
+ var iteratorClose = /*@__PURE__*/ requireIteratorClose();
5032
+
5033
+ // call something on iterator step with safe closing on error
5034
+ callWithSafeIterationClosing = function (iterator, fn, value, ENTRIES) {
5035
+ try {
5036
+ return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
5037
+ } catch (error) {
5038
+ iteratorClose(iterator, 'throw', error);
5039
+ }
5040
+ };
5041
+ return callWithSafeIterationClosing;
5042
+ }
5043
+
5044
+ var isArrayIteratorMethod;
5045
+ var hasRequiredIsArrayIteratorMethod;
5046
+
5047
+ function requireIsArrayIteratorMethod () {
5048
+ if (hasRequiredIsArrayIteratorMethod) return isArrayIteratorMethod;
5049
+ hasRequiredIsArrayIteratorMethod = 1;
5050
+ var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
5051
+ var Iterators = /*@__PURE__*/ requireIterators();
5052
+
5053
+ var ITERATOR = wellKnownSymbol('iterator');
5054
+ var ArrayPrototype = Array.prototype;
5055
+
5056
+ // check on default Array iterator
5057
+ isArrayIteratorMethod = function (it) {
5058
+ return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
5059
+ };
5060
+ return isArrayIteratorMethod;
5061
+ }
5062
+
5063
+ var getIterator;
5064
+ var hasRequiredGetIterator;
5065
+
5066
+ function requireGetIterator () {
5067
+ if (hasRequiredGetIterator) return getIterator;
5068
+ hasRequiredGetIterator = 1;
5069
+ var call = /*@__PURE__*/ requireFunctionCall();
5070
+ var aCallable = /*@__PURE__*/ requireACallable();
5071
+ var anObject = /*@__PURE__*/ requireAnObject();
5072
+ var tryToString = /*@__PURE__*/ requireTryToString();
5073
+ var getIteratorMethod = /*@__PURE__*/ requireGetIteratorMethod$5();
5074
+
5075
+ var $TypeError = TypeError;
3889
5076
 
3890
- map$2 = function (it) {
3891
- var own = it.map;
3892
- return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.map) ? method : own;
5077
+ getIterator = function (argument, usingIterator) {
5078
+ var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
5079
+ if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
5080
+ throw new $TypeError(tryToString(argument) + ' is not iterable');
3893
5081
  };
3894
- return map$2;
5082
+ return getIterator;
3895
5083
  }
3896
5084
 
3897
- var map$1;
3898
- var hasRequiredMap$1;
5085
+ var arrayFrom;
5086
+ var hasRequiredArrayFrom;
3899
5087
 
3900
- function requireMap$1 () {
3901
- if (hasRequiredMap$1) return map$1;
3902
- hasRequiredMap$1 = 1;
3903
- var parent = /*@__PURE__*/ requireMap$2();
5088
+ function requireArrayFrom () {
5089
+ if (hasRequiredArrayFrom) return arrayFrom;
5090
+ hasRequiredArrayFrom = 1;
5091
+ var bind = /*@__PURE__*/ requireFunctionBindContext();
5092
+ var call = /*@__PURE__*/ requireFunctionCall();
5093
+ var toObject = /*@__PURE__*/ requireToObject();
5094
+ var callWithSafeIterationClosing = /*@__PURE__*/ requireCallWithSafeIterationClosing();
5095
+ var isArrayIteratorMethod = /*@__PURE__*/ requireIsArrayIteratorMethod();
5096
+ var isConstructor = /*@__PURE__*/ requireIsConstructor();
5097
+ var lengthOfArrayLike = /*@__PURE__*/ requireLengthOfArrayLike();
5098
+ var createProperty = /*@__PURE__*/ requireCreateProperty();
5099
+ var setArrayLength = /*@__PURE__*/ requireArraySetLength();
5100
+ var getIterator = /*@__PURE__*/ requireGetIterator();
5101
+ var getIteratorMethod = /*@__PURE__*/ requireGetIteratorMethod$5();
5102
+ var iteratorClose = /*@__PURE__*/ requireIteratorClose();
3904
5103
 
3905
- map$1 = parent;
3906
- return map$1;
5104
+ var $Array = Array;
5105
+
5106
+ // `Array.from` method implementation
5107
+ // https://tc39.es/ecma262/#sec-array.from
5108
+ arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
5109
+ var IS_CONSTRUCTOR = isConstructor(this);
5110
+ var argumentsLength = arguments.length;
5111
+ var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
5112
+ var mapping = mapfn !== undefined;
5113
+ if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
5114
+ var O = toObject(arrayLike);
5115
+ var iteratorMethod = getIteratorMethod(O);
5116
+ var index = 0;
5117
+ var length, result, step, iterator, next, value;
5118
+ // if the target is not iterable or it's an array with the default iterator - use a simple case
5119
+ if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
5120
+ result = IS_CONSTRUCTOR ? new this() : [];
5121
+ iterator = getIterator(O, iteratorMethod);
5122
+ next = iterator.next;
5123
+ for (;!(step = call(next, iterator)).done; index++) {
5124
+ value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
5125
+ try {
5126
+ createProperty(result, index, value);
5127
+ } catch (error) {
5128
+ iteratorClose(iterator, 'throw', error);
5129
+ }
5130
+ }
5131
+ } else {
5132
+ length = lengthOfArrayLike(O);
5133
+ result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
5134
+ for (;length > index; index++) {
5135
+ value = mapping ? mapfn(O[index], index) : O[index];
5136
+ createProperty(result, index, value);
5137
+ }
5138
+ }
5139
+ setArrayLength(result, index);
5140
+ return result;
5141
+ };
5142
+ return arrayFrom;
3907
5143
  }
3908
5144
 
3909
- var map;
3910
- var hasRequiredMap;
5145
+ var checkCorrectnessOfIteration;
5146
+ var hasRequiredCheckCorrectnessOfIteration;
3911
5147
 
3912
- function requireMap () {
3913
- if (hasRequiredMap) return map;
3914
- hasRequiredMap = 1;
3915
- map = /*@__PURE__*/ requireMap$1();
3916
- return map;
3917
- }
5148
+ function requireCheckCorrectnessOfIteration () {
5149
+ if (hasRequiredCheckCorrectnessOfIteration) return checkCorrectnessOfIteration;
5150
+ hasRequiredCheckCorrectnessOfIteration = 1;
5151
+ var wellKnownSymbol = /*@__PURE__*/ requireWellKnownSymbol();
3918
5152
 
3919
- var mapExports = requireMap();
3920
- var _mapInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(mapExports);
5153
+ var ITERATOR = wellKnownSymbol('iterator');
5154
+ var SAFE_CLOSING = false;
5155
+
5156
+ try {
5157
+ var called = 0;
5158
+ var iteratorWithReturn = {
5159
+ next: function () {
5160
+ return { done: !!called++ };
5161
+ },
5162
+ 'return': function () {
5163
+ SAFE_CLOSING = true;
5164
+ }
5165
+ };
5166
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
5167
+ iteratorWithReturn[ITERATOR] = function () {
5168
+ return this;
5169
+ };
5170
+ // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
5171
+ Array.from(iteratorWithReturn, function () { throw 2; });
5172
+ } catch (error) { /* empty */ }
3921
5173
 
3922
- var es_object_keys = {};
5174
+ checkCorrectnessOfIteration = function (exec, SKIP_CLOSING) {
5175
+ try {
5176
+ if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
5177
+ } catch (error) { return false; } // workaround of old WebKit + `eval` bug
5178
+ var ITERATION_SUPPORT = false;
5179
+ try {
5180
+ var object = {};
5181
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
5182
+ object[ITERATOR] = function () {
5183
+ return {
5184
+ next: function () {
5185
+ return { done: ITERATION_SUPPORT = true };
5186
+ }
5187
+ };
5188
+ };
5189
+ exec(object);
5190
+ } catch (error) { /* empty */ }
5191
+ return ITERATION_SUPPORT;
5192
+ };
5193
+ return checkCorrectnessOfIteration;
5194
+ }
3923
5195
 
3924
- var hasRequiredEs_object_keys;
5196
+ var hasRequiredEs_array_from;
3925
5197
 
3926
- function requireEs_object_keys () {
3927
- if (hasRequiredEs_object_keys) return es_object_keys;
3928
- hasRequiredEs_object_keys = 1;
5198
+ function requireEs_array_from () {
5199
+ if (hasRequiredEs_array_from) return es_array_from;
5200
+ hasRequiredEs_array_from = 1;
3929
5201
  var $ = /*@__PURE__*/ require_export();
3930
- var toObject = /*@__PURE__*/ requireToObject();
3931
- var nativeKeys = /*@__PURE__*/ requireObjectKeys();
3932
- var fails = /*@__PURE__*/ requireFails();
5202
+ var from = /*@__PURE__*/ requireArrayFrom();
5203
+ var checkCorrectnessOfIteration = /*@__PURE__*/ requireCheckCorrectnessOfIteration();
3933
5204
 
3934
- var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
5205
+ var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
5206
+ // eslint-disable-next-line es/no-array-from -- required for testing
5207
+ Array.from(iterable);
5208
+ });
3935
5209
 
3936
- // `Object.keys` method
3937
- // https://tc39.es/ecma262/#sec-object.keys
3938
- $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
3939
- keys: function keys(it) {
3940
- return nativeKeys(toObject(it));
3941
- }
5210
+ // `Array.from` method
5211
+ // https://tc39.es/ecma262/#sec-array.from
5212
+ $({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
5213
+ from: from
3942
5214
  });
3943
- return es_object_keys;
5215
+ return es_array_from;
3944
5216
  }
3945
5217
 
3946
- var keys$2;
3947
- var hasRequiredKeys$2;
5218
+ var from$4;
5219
+ var hasRequiredFrom$4;
3948
5220
 
3949
- function requireKeys$2 () {
3950
- if (hasRequiredKeys$2) return keys$2;
3951
- hasRequiredKeys$2 = 1;
3952
- requireEs_object_keys();
5221
+ function requireFrom$4 () {
5222
+ if (hasRequiredFrom$4) return from$4;
5223
+ hasRequiredFrom$4 = 1;
5224
+ requireEs_string_iterator();
5225
+ requireEs_array_from();
3953
5226
  var path = /*@__PURE__*/ requirePath();
3954
5227
 
3955
- keys$2 = path.Object.keys;
3956
- return keys$2;
5228
+ from$4 = path.Array.from;
5229
+ return from$4;
3957
5230
  }
3958
5231
 
3959
- var keys$1;
3960
- var hasRequiredKeys$1;
5232
+ var from$3;
5233
+ var hasRequiredFrom$3;
3961
5234
 
3962
- function requireKeys$1 () {
3963
- if (hasRequiredKeys$1) return keys$1;
3964
- hasRequiredKeys$1 = 1;
3965
- var parent = /*@__PURE__*/ requireKeys$2();
5235
+ function requireFrom$3 () {
5236
+ if (hasRequiredFrom$3) return from$3;
5237
+ hasRequiredFrom$3 = 1;
5238
+ var parent = /*@__PURE__*/ requireFrom$4();
3966
5239
 
3967
- keys$1 = parent;
3968
- return keys$1;
5240
+ from$3 = parent;
5241
+ return from$3;
3969
5242
  }
3970
5243
 
3971
- var keys;
3972
- var hasRequiredKeys;
5244
+ var from$2;
5245
+ var hasRequiredFrom$2;
3973
5246
 
3974
- function requireKeys () {
3975
- if (hasRequiredKeys) return keys;
3976
- hasRequiredKeys = 1;
3977
- keys = /*@__PURE__*/ requireKeys$1();
3978
- return keys;
5247
+ function requireFrom$2 () {
5248
+ if (hasRequiredFrom$2) return from$2;
5249
+ hasRequiredFrom$2 = 1;
5250
+ var parent = /*@__PURE__*/ requireFrom$3();
5251
+
5252
+ from$2 = parent;
5253
+ return from$2;
3979
5254
  }
3980
5255
 
3981
- var keysExports = requireKeys();
3982
- var _Object$keys = /*@__PURE__*/getDefaultExportFromCjs(keysExports);
5256
+ var from$1;
5257
+ var hasRequiredFrom$1;
3983
5258
 
3984
- /**
3985
- * Use this symbol to delete properies in deepObjectAssign.
3986
- */
3987
- const DELETE = _Symbol("DELETE");
3988
- /**
3989
- * Pure version of deepObjectAssign, it doesn't modify any of it's arguments.
3990
- * @param base - The base object that fullfils the whole interface T.
3991
- * @param updates - Updates that may change or delete props.
3992
- * @returns A brand new instance with all the supplied objects deeply merged.
3993
- */
3994
- function pureDeepObjectAssign(base) {
3995
- for (var _len = arguments.length, updates = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
3996
- updates[_key - 1] = arguments[_key];
3997
- }
3998
- return deepObjectAssign({}, base, ...updates);
5259
+ function requireFrom$1 () {
5260
+ if (hasRequiredFrom$1) return from$1;
5261
+ hasRequiredFrom$1 = 1;
5262
+ var parent = /*@__PURE__*/ requireFrom$2();
5263
+
5264
+ from$1 = parent;
5265
+ return from$1;
3999
5266
  }
4000
- /**
4001
- * Deep version of object assign with additional deleting by the DELETE symbol.
4002
- * @param values - Objects to be deeply merged.
4003
- * @returns The first object from values.
4004
- */
4005
- function deepObjectAssign() {
4006
- const merged = deepObjectAssignNonentry(...arguments);
4007
- stripDelete(merged);
4008
- return merged;
5267
+
5268
+ var from;
5269
+ var hasRequiredFrom;
5270
+
5271
+ function requireFrom () {
5272
+ if (hasRequiredFrom) return from;
5273
+ hasRequiredFrom = 1;
5274
+ from = /*@__PURE__*/ requireFrom$1();
5275
+ return from;
4009
5276
  }
4010
- /**
4011
- * Deep version of object assign with additional deleting by the DELETE symbol.
4012
- * @remarks
4013
- * This doesn't strip the DELETE symbols so they may end up in the final object.
4014
- * @param values - Objects to be deeply merged.
4015
- * @returns The first object from values.
4016
- */
4017
- function deepObjectAssignNonentry() {
4018
- for (var _len2 = arguments.length, values = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
4019
- values[_key2] = arguments[_key2];
4020
- }
4021
- if (values.length < 2) {
4022
- return values[0];
4023
- } else if (values.length > 2) {
4024
- return deepObjectAssignNonentry(deepObjectAssign(values[0], values[1]), ..._sliceInstanceProperty(values).call(values, 2));
4025
- }
4026
- const a = values[0];
4027
- const b = values[1];
4028
- if (a instanceof Date && b instanceof Date) {
4029
- a.setTime(b.getTime());
4030
- return a;
4031
- }
4032
- for (const prop of _Reflect$ownKeys(b)) {
4033
- if (!Object.prototype.propertyIsEnumerable.call(b, prop)) ; else if (b[prop] === DELETE) {
4034
- delete a[prop];
4035
- } else if (a[prop] !== null && b[prop] !== null && typeof a[prop] === "object" && typeof b[prop] === "object" && !_Array$isArray(a[prop]) && !_Array$isArray(b[prop])) {
4036
- a[prop] = deepObjectAssignNonentry(a[prop], b[prop]);
4037
- } else {
4038
- a[prop] = clone(b[prop]);
4039
- }
4040
- }
4041
- return a;
5277
+
5278
+ var fromExports = /*@__PURE__*/ requireFrom();
5279
+ var _Array$from = /*@__PURE__*/getDefaultExportFromCjs(fromExports);
5280
+
5281
+ function _arrayLikeToArray(r, a) {
5282
+ (null == a || a > r.length) && (a = r.length);
5283
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
5284
+ return n;
4042
5285
  }
4043
- /**
4044
- * Deep clone given object or array. In case of primitive simply return.
4045
- * @param a - Anything.
4046
- * @returns Deep cloned object/array or unchanged a.
4047
- */
4048
- function clone(a) {
4049
- if (_Array$isArray(a)) {
4050
- return _mapInstanceProperty(a).call(a, value => clone(value));
4051
- } else if (typeof a === "object" && a !== null) {
4052
- if (a instanceof Date) {
4053
- return new Date(a.getTime());
4054
- }
4055
- return deepObjectAssignNonentry({}, a);
4056
- } else {
4057
- return a;
5286
+
5287
+ function _unsupportedIterableToArray(r, a) {
5288
+ if (r) {
5289
+ var _context;
5290
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
5291
+ var t = _sliceInstanceProperty(_context = {}.toString.call(r)).call(_context, 8, -1);
5292
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? _Array$from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
4058
5293
  }
4059
5294
  }
4060
- /**
4061
- * Strip DELETE from given object.
4062
- * @param a - Object which may contain DELETE but won't after this is executed.
4063
- */
4064
- function stripDelete(a) {
4065
- for (const prop of _Object$keys(a)) {
4066
- if (a[prop] === DELETE) {
4067
- delete a[prop];
4068
- } else if (typeof a[prop] === "object" && a[prop] !== null) {
4069
- stripDelete(a[prop]);
4070
- }
4071
- }
5295
+
5296
+ function _nonIterableRest() {
5297
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5298
+ }
5299
+
5300
+ function _slicedToArray(r, e) {
5301
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
4072
5302
  }
4073
5303
 
4074
5304
  var es_date_now = {};
@@ -4158,7 +5388,11 @@
4158
5388
  * @returns A ready to use seeded generator.
4159
5389
  */
4160
5390
  function AleaImplementation(seed) {
4161
- let [s0, s1, s2] = mashSeed(seed);
5391
+ let _mashSeed = mashSeed(seed),
5392
+ _mashSeed2 = _slicedToArray(_mashSeed, 3),
5393
+ s0 = _mashSeed2[0],
5394
+ s1 = _mashSeed2[1],
5395
+ s2 = _mashSeed2[2];
4162
5396
  let c = 1;
4163
5397
  const random = () => {
4164
5398
  const t = 2091639 * s0 + c * 2.3283064365386963e-10; // 2^-32
@@ -4464,127 +5698,8 @@
4464
5698
  var forEachExports = requireForEach();
4465
5699
  var _forEachInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(forEachExports);
4466
5700
 
4467
- var es_array_reverse = {};
4468
-
4469
- var hasRequiredEs_array_reverse;
4470
-
4471
- function requireEs_array_reverse () {
4472
- if (hasRequiredEs_array_reverse) return es_array_reverse;
4473
- hasRequiredEs_array_reverse = 1;
4474
- var $ = /*@__PURE__*/ require_export();
4475
- var uncurryThis = /*@__PURE__*/ requireFunctionUncurryThis();
4476
- var isArray = /*@__PURE__*/ requireIsArray$3();
4477
-
4478
- var nativeReverse = uncurryThis([].reverse);
4479
- var test = [1, 2];
4480
-
4481
- // `Array.prototype.reverse` method
4482
- // https://tc39.es/ecma262/#sec-array.prototype.reverse
4483
- // fix for Safari 12.0 bug
4484
- // https://bugs.webkit.org/show_bug.cgi?id=188794
4485
- $({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {
4486
- reverse: function reverse() {
4487
- // eslint-disable-next-line no-self-assign -- dirty hack
4488
- if (isArray(this)) this.length = this.length;
4489
- return nativeReverse(this);
4490
- }
4491
- });
4492
- return es_array_reverse;
4493
- }
4494
-
4495
- var reverse$3;
4496
- var hasRequiredReverse$3;
4497
-
4498
- function requireReverse$3 () {
4499
- if (hasRequiredReverse$3) return reverse$3;
4500
- hasRequiredReverse$3 = 1;
4501
- requireEs_array_reverse();
4502
- var getBuiltInPrototypeMethod = /*@__PURE__*/ requireGetBuiltInPrototypeMethod();
4503
-
4504
- reverse$3 = getBuiltInPrototypeMethod('Array', 'reverse');
4505
- return reverse$3;
4506
- }
4507
-
4508
- var reverse$2;
4509
- var hasRequiredReverse$2;
4510
-
4511
- function requireReverse$2 () {
4512
- if (hasRequiredReverse$2) return reverse$2;
4513
- hasRequiredReverse$2 = 1;
4514
- var isPrototypeOf = /*@__PURE__*/ requireObjectIsPrototypeOf();
4515
- var method = /*@__PURE__*/ requireReverse$3();
4516
-
4517
- var ArrayPrototype = Array.prototype;
4518
-
4519
- reverse$2 = function (it) {
4520
- var own = it.reverse;
4521
- return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.reverse) ? method : own;
4522
- };
4523
- return reverse$2;
4524
- }
4525
-
4526
- var reverse$1;
4527
- var hasRequiredReverse$1;
4528
-
4529
- function requireReverse$1 () {
4530
- if (hasRequiredReverse$1) return reverse$1;
4531
- hasRequiredReverse$1 = 1;
4532
- var parent = /*@__PURE__*/ requireReverse$2();
4533
-
4534
- reverse$1 = parent;
4535
- return reverse$1;
4536
- }
4537
-
4538
- var reverse;
4539
- var hasRequiredReverse;
4540
-
4541
- function requireReverse () {
4542
- if (hasRequiredReverse) return reverse;
4543
- hasRequiredReverse = 1;
4544
- reverse = /*@__PURE__*/ requireReverse$1();
4545
- return reverse;
4546
- }
4547
-
4548
- var reverseExports = requireReverse();
4549
- var _reverseInstanceProperty = /*@__PURE__*/getDefaultExportFromCjs(reverseExports);
4550
-
4551
5701
  var es_array_splice = {};
4552
5702
 
4553
- var arraySetLength;
4554
- var hasRequiredArraySetLength;
4555
-
4556
- function requireArraySetLength () {
4557
- if (hasRequiredArraySetLength) return arraySetLength;
4558
- hasRequiredArraySetLength = 1;
4559
- var DESCRIPTORS = /*@__PURE__*/ requireDescriptors();
4560
- var isArray = /*@__PURE__*/ requireIsArray$3();
4561
-
4562
- var $TypeError = TypeError;
4563
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
4564
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
4565
-
4566
- // Safari < 13 does not throw an error in this case
4567
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
4568
- // makes no sense without proper strict mode support
4569
- if (this !== undefined) return true;
4570
- try {
4571
- // eslint-disable-next-line es/no-object-defineproperty -- safe
4572
- Object.defineProperty([], 'length', { writable: false }).length = 1;
4573
- } catch (error) {
4574
- return error instanceof TypeError;
4575
- }
4576
- }();
4577
-
4578
- arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
4579
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
4580
- throw new $TypeError('Cannot set read only .length');
4581
- } return O.length = length;
4582
- } : function (O, length) {
4583
- return O.length = length;
4584
- };
4585
- return arraySetLength;
4586
- }
4587
-
4588
5703
  var deletePropertyOrThrow;
4589
5704
  var hasRequiredDeletePropertyOrThrow;
4590
5705
 
@@ -4648,7 +5763,7 @@
4648
5763
  from = actualStart + k;
4649
5764
  if (from in O) createProperty(A, k, O[from]);
4650
5765
  }
4651
- A.length = actualDeleteCount;
5766
+ setArrayLength(A, actualDeleteCount);
4652
5767
  if (insertCount < actualDeleteCount) {
4653
5768
  for (k = actualStart; k < len - actualDeleteCount; k++) {
4654
5769
  from = k + actualDeleteCount;
@@ -7937,8 +9052,8 @@
7937
9052
  */
7938
9053
  Activator$1.prototype.destroy = function () {
7939
9054
  this.deactivate();
7940
- for (const callback of _reverseInstanceProperty(_context2 = _spliceInstanceProperty(_context3 = this._cleanupQueue).call(_context3, 0)).call(_context2)) {
7941
- var _context2, _context3;
9055
+ for (const callback of _spliceInstanceProperty(_context2 = this._cleanupQueue).call(_context2, 0).toReversed()) {
9056
+ var _context2;
7942
9057
  callback();
7943
9058
  }
7944
9059
  };
@@ -8020,6 +9135,7 @@
8020
9135
  var requireObjectCoercible = /*@__PURE__*/ requireRequireObjectCoercible();
8021
9136
 
8022
9137
  var $RangeError = RangeError;
9138
+ var floor = Math.floor;
8023
9139
 
8024
9140
  // `String.prototype.repeat` method implementation
8025
9141
  // https://tc39.es/ecma262/#sec-string.prototype.repeat
@@ -8028,7 +9144,7 @@
8028
9144
  var result = '';
8029
9145
  var n = toIntegerOrInfinity(count);
8030
9146
  if (n < 0 || n === Infinity) throw new $RangeError('Wrong number of repetitions');
8031
- for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
9147
+ for (;n > 0; (n = floor(n / 2)) && (str += str)) if (n % 2) result += str;
8032
9148
  return result;
8033
9149
  };
8034
9150
  return stringRepeat;
@@ -8056,9 +9172,10 @@
8056
9172
  var S = toString(requireObjectCoercible($this));
8057
9173
  var intMaxLength = toLength(maxLength);
8058
9174
  var stringLength = S.length;
9175
+ if (intMaxLength <= stringLength) return S;
8059
9176
  var fillStr = fillString === undefined ? ' ' : toString(fillString);
8060
9177
  var fillLen, stringFiller;
8061
- if (intMaxLength <= stringLength || fillStr === '') return S;
9178
+ if (fillStr === '') return S;
8062
9179
  fillLen = intMaxLength - stringLength;
8063
9180
  stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));
8064
9181
  if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);
@@ -8612,9 +9729,15 @@
8612
9729
  return !Array(1).includes();
8613
9730
  });
8614
9731
 
9732
+ // Safari 26.4- bug
9733
+ var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails(function () {
9734
+ // eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
9735
+ return [, 1].includes(undefined, 1);
9736
+ });
9737
+
8615
9738
  // `Array.prototype.includes` method
8616
9739
  // https://tc39.es/ecma262/#sec-array.prototype.includes
8617
- $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
9740
+ $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
8618
9741
  includes: function includes(el /* , fromIndex = 0 */) {
8619
9742
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
8620
9743
  }
@@ -9587,7 +10710,7 @@
9587
10710
  * @returns Argument a.
9588
10711
  */
9589
10712
  function selectiveExtend(props, a) {
9590
- if (!_Array$isArray(props)) {
10713
+ if (!_Array$isArray$1(props)) {
9591
10714
  throw new Error("Array with property names expected as first argument");
9592
10715
  }
9593
10716
  for (var _len = arguments.length, others = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
@@ -9619,7 +10742,7 @@
9619
10742
  function selectiveDeepExtend(props, a, b) {
9620
10743
  let allowDeletion = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
9621
10744
  // TODO: add support for Arrays to deepExtend
9622
- if (_Array$isArray(b)) {
10745
+ if (_Array$isArray$1(b)) {
9623
10746
  throw new TypeError("Arrays are not supported by deepExtend");
9624
10747
  }
9625
10748
  for (let p = 0; p < props.length; p++) {
@@ -9634,7 +10757,7 @@
9634
10757
  } else {
9635
10758
  copyOrDelete(a, b, prop, allowDeletion);
9636
10759
  }
9637
- } else if (_Array$isArray(b[prop])) {
10760
+ } else if (_Array$isArray$1(b[prop])) {
9638
10761
  throw new TypeError("Arrays are not supported by deepExtend");
9639
10762
  } else {
9640
10763
  copyOrDelete(a, b, prop, allowDeletion);
@@ -9661,7 +10784,7 @@
9661
10784
  let allowDeletion = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
9662
10785
  // TODO: add support for Arrays to deepExtend
9663
10786
  // NOTE: array properties have an else-below; apparently, there is a problem here.
9664
- if (_Array$isArray(b)) {
10787
+ if (_Array$isArray$1(b)) {
9665
10788
  throw new TypeError("Arrays are not supported by deepExtend");
9666
10789
  }
9667
10790
  for (const prop in b) {
@@ -9680,7 +10803,7 @@
9680
10803
  } else {
9681
10804
  copyOrDelete(a, b, prop, allowDeletion);
9682
10805
  }
9683
- } else if (_Array$isArray(b[prop])) {
10806
+ } else if (_Array$isArray$1(b[prop])) {
9684
10807
  a[prop] = [];
9685
10808
  for (let i = 0; i < b[prop].length; i++) {
9686
10809
  a[prop].push(b[prop][i]);
@@ -9714,9 +10837,9 @@
9714
10837
  } else {
9715
10838
  copyOrDelete(a, b, prop, allowDeletion);
9716
10839
  }
9717
- } else if (_Array$isArray(b[prop])) {
10840
+ } else if (_Array$isArray$1(b[prop])) {
9718
10841
  var _context;
9719
- a[prop] = _sliceInstanceProperty(_context = b[prop]).call(_context);
10842
+ a[prop] = _sliceInstanceProperty$1(_context = b[prop]).call(_context);
9720
10843
  } else {
9721
10844
  copyOrDelete(a, b, prop, allowDeletion);
9722
10845
  }
@@ -9761,7 +10884,7 @@
9761
10884
  if (object instanceof String) {
9762
10885
  return "String";
9763
10886
  }
9764
- if (_Array$isArray(object)) {
10887
+ if (_Array$isArray$1(object)) {
9765
10888
  return "Array";
9766
10889
  }
9767
10890
  if (object instanceof Date) {
@@ -9798,7 +10921,7 @@
9798
10921
  * @returns Shallow copy of arr.
9799
10922
  */
9800
10923
  function copyArray(arr) {
9801
- return _sliceInstanceProperty(arr).call(arr);
10924
+ return _sliceInstanceProperty$1(arr).call(arr);
9802
10925
  }
9803
10926
  /**
9804
10927
  * Retrieve the absolute left value of a DOM element.
@@ -9858,7 +10981,7 @@
9858
10981
  * @param callback - Array.forEach-like callback.
9859
10982
  */
9860
10983
  function forEach(object, callback) {
9861
- if (_Array$isArray(object)) {
10984
+ if (_Array$isArray$1(object)) {
9862
10985
  // array
9863
10986
  const len = object.length;
9864
10987
  for (let i = 0; i < len; i++) {
@@ -10109,7 +11232,7 @@
10109
11232
  */
10110
11233
  function RGBToHex(red, green, blue) {
10111
11234
  var _context2;
10112
- return "#" + _sliceInstanceProperty(_context2 = ((1 << 24) + (red << 16) + (green << 8) + blue).toString(16)).call(_context2, 1);
11235
+ return "#" + _sliceInstanceProperty$1(_context2 = ((1 << 24) + (red << 16) + (green << 8) + blue).toString(16)).call(_context2, 1);
10113
11236
  }
10114
11237
  /**
10115
11238
  * Parse a color property into an object with border, background, and highlight colors.
@@ -10267,7 +11390,10 @@
10267
11390
  */
10268
11391
  function addCssText(element, cssText) {
10269
11392
  const cssStyle = splitCSSText(cssText);
10270
- for (const [key, value] of _Object$entries(cssStyle)) {
11393
+ for (const _ref of _Object$entries(cssStyle)) {
11394
+ var _ref2 = _slicedToArray(_ref, 2);
11395
+ const key = _ref2[0];
11396
+ const value = _ref2[1];
10271
11397
  element.style.setProperty(key, value);
10272
11398
  }
10273
11399
  }
@@ -10793,7 +11919,7 @@
10793
11919
  */
10794
11920
  function topMost(pile, accessors) {
10795
11921
  let candidate;
10796
- if (!_Array$isArray(accessors)) {
11922
+ if (!_Array$isArray$1(accessors)) {
10797
11923
  accessors = [accessors];
10798
11924
  }
10799
11925
  for (const member of pile) {
@@ -11320,7 +12446,7 @@
11320
12446
  this.opacityRange.type = "range"; // Not supported on IE9
11321
12447
  this.opacityRange.min = "0";
11322
12448
  this.opacityRange.max = "100";
11323
- } catch (err) {
12449
+ } catch (_unused) {
11324
12450
  // TODO: Add some error handling.
11325
12451
  }
11326
12452
  this.opacityRange.value = "100";
@@ -11330,7 +12456,7 @@
11330
12456
  this.brightnessRange.type = "range"; // Not supported on IE9
11331
12457
  this.brightnessRange.min = "0";
11332
12458
  this.brightnessRange.max = "100";
11333
- } catch (err) {
12459
+ } catch (_unused2) {
11334
12460
  // TODO: Add some error handling.
11335
12461
  }
11336
12462
  this.brightnessRange.value = "100";
@@ -11519,7 +12645,7 @@
11519
12645
  return document.createTextNode(rest[0]);
11520
12646
  } else {
11521
12647
  const element = document.createElement(rest[0]);
11522
- element.appendChild(wrapInTag(..._sliceInstanceProperty(rest).call(rest, 1)));
12648
+ element.appendChild(wrapInTag(..._sliceInstanceProperty$1(rest).call(rest, 1)));
11523
12649
  return element;
11524
12650
  }
11525
12651
  }
@@ -11582,7 +12708,7 @@
11582
12708
  let enabled = true;
11583
12709
  if (typeof options === "string") {
11584
12710
  this.options.filter = options;
11585
- } else if (_Array$isArray(options)) {
12711
+ } else if (_Array$isArray$1(options)) {
11586
12712
  this.options.filter = options.join();
11587
12713
  } else if (typeof options === "object") {
11588
12714
  if (options == null) {
@@ -11829,7 +12955,7 @@
11829
12955
  range.type = "range"; // not supported on IE9
11830
12956
  range.min = min;
11831
12957
  range.max = max;
11832
- } catch (err) {
12958
+ } catch (_unused) {
11833
12959
  // TODO: Add some error handling.
11834
12960
  }
11835
12961
  range.step = step;
@@ -12099,7 +13225,7 @@
12099
13225
 
12100
13226
  // if needed we must go deeper into the object.
12101
13227
  if (show === false) {
12102
- if (!_Array$isArray(item) && typeof item !== "string" && typeof item !== "boolean" && item instanceof Object) {
13228
+ if (!_Array$isArray$1(item) && typeof item !== "string" && typeof item !== "boolean" && item instanceof Object) {
12103
13229
  this.allowCreation = false;
12104
13230
  show = this._handleObject(item, newPath, true);
12105
13231
  this.allowCreation = checkOnly === false;
@@ -12109,7 +13235,7 @@
12109
13235
  if (show !== false) {
12110
13236
  visibleInSet = true;
12111
13237
  const value = this._getValue(newPath);
12112
- if (_Array$isArray(item)) {
13238
+ if (_Array$isArray$1(item)) {
12113
13239
  this._handleArray(item, value, newPath);
12114
13240
  } else if (typeof item === "string") {
12115
13241
  this._makeTextInput(item, value, newPath);
@@ -12503,7 +13629,7 @@
12503
13629
  if (object instanceof String) {
12504
13630
  return "string";
12505
13631
  }
12506
- if (_Array$isArray(object)) {
13632
+ if (_Array$isArray$1(object)) {
12507
13633
  return "array";
12508
13634
  }
12509
13635
  if (object instanceof Date) {
@@ -12569,6 +13695,7 @@
12569
13695
  let closestMatchPath = [];
12570
13696
  const lowerCaseOption = option.toLowerCase();
12571
13697
  let indexMatch = undefined;
13698
+ // oxlint-disable-next-line guard-for-in -- Options use prototype inheritance to override defaults, parent options, etc.
12572
13699
  for (const op in options) {
12573
13700
  let distance;
12574
13701
  if (options[op].__type__ !== undefined && recursive === true) {