@dereekb/util 12.6.20 → 12.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -212,7 +212,7 @@ var global$b =
212
212
 
213
213
  var objectGetOwnPropertyDescriptor = {};
214
214
 
215
- var fails$d = function (exec) {
215
+ var fails$c = function (exec) {
216
216
  try {
217
217
  return !!exec();
218
218
  } catch (error) {
@@ -220,17 +220,17 @@ var fails$d = function (exec) {
220
220
  }
221
221
  };
222
222
 
223
- var fails$c = fails$d;
223
+ var fails$b = fails$c;
224
224
 
225
225
  // Detect IE8's incomplete defineProperty implementation
226
- var descriptors = !fails$c(function () {
226
+ var descriptors = !fails$b(function () {
227
227
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
228
228
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
229
229
  });
230
230
 
231
- var fails$b = fails$d;
231
+ var fails$a = fails$c;
232
232
 
233
- var functionBindNative = !fails$b(function () {
233
+ var functionBindNative = !fails$a(function () {
234
234
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
235
235
  var test = (function () { /* empty */ }).bind();
236
236
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -249,15 +249,15 @@ var objectPropertyIsEnumerable = {};
249
249
 
250
250
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
251
251
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
252
- var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
252
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
253
253
 
254
254
  // Nashorn ~ JDK8 bug
255
- var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
255
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
256
256
 
257
257
  // `Object.prototype.propertyIsEnumerable` method implementation
258
258
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
259
259
  objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
260
- var descriptor = getOwnPropertyDescriptor$2(this, V);
260
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
261
261
  return !!descriptor && descriptor.enumerable;
262
262
  } : $propertyIsEnumerable;
263
263
 
@@ -292,19 +292,19 @@ var classofRaw$2 = function (it) {
292
292
  };
293
293
 
294
294
  var uncurryThis$f = functionUncurryThis;
295
- var fails$a = fails$d;
296
- var classof$4 = classofRaw$2;
295
+ var fails$9 = fails$c;
296
+ var classof$3 = classofRaw$2;
297
297
 
298
298
  var $Object$4 = Object;
299
299
  var split = uncurryThis$f(''.split);
300
300
 
301
301
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
302
- var indexedObject = fails$a(function () {
302
+ var indexedObject = fails$9(function () {
303
303
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
304
304
  // eslint-disable-next-line no-prototype-builtins -- safe
305
305
  return !$Object$4('z').propertyIsEnumerable(0);
306
306
  }) ? function (it) {
307
- return classof$4(it) === 'String' ? split(it, '') : $Object$4(it);
307
+ return classof$3(it) === 'String' ? split(it, '') : $Object$4(it);
308
308
  } : $Object$4;
309
309
 
310
310
  // we can't use just `it == null` since of `document.all` special case
@@ -315,12 +315,12 @@ var isNullOrUndefined$3 = function (it) {
315
315
 
316
316
  var isNullOrUndefined$2 = isNullOrUndefined$3;
317
317
 
318
- var $TypeError$d = TypeError;
318
+ var $TypeError$b = TypeError;
319
319
 
320
320
  // `RequireObjectCoercible` abstract operation
321
321
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
322
322
  var requireObjectCoercible$2 = function (it) {
323
- if (isNullOrUndefined$2(it)) throw new $TypeError$d("Can't call method on " + it);
323
+ if (isNullOrUndefined$2(it)) throw new $TypeError$b("Can't call method on " + it);
324
324
  return it;
325
325
  };
326
326
 
@@ -397,13 +397,13 @@ var engineV8Version = version;
397
397
 
398
398
  /* eslint-disable es/no-symbol -- required for testing */
399
399
  var V8_VERSION = engineV8Version;
400
- var fails$9 = fails$d;
400
+ var fails$8 = fails$c;
401
401
  var global$8 = global$b;
402
402
 
403
403
  var $String$4 = global$8.String;
404
404
 
405
405
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
406
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$9(function () {
406
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () {
407
407
  var symbol = Symbol('symbol detection');
408
408
  // Chrome 38 Symbol has incorrect toString conversion
409
409
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -448,12 +448,12 @@ var tryToString$3 = function (argument) {
448
448
  var isCallable$a = isCallable$e;
449
449
  var tryToString$2 = tryToString$3;
450
450
 
451
- var $TypeError$c = TypeError;
451
+ var $TypeError$a = TypeError;
452
452
 
453
453
  // `Assert: IsCallable(argument) is true`
454
454
  var aCallable$7 = function (argument) {
455
455
  if (isCallable$a(argument)) return argument;
456
- throw new $TypeError$c(tryToString$2(argument) + ' is not a function');
456
+ throw new $TypeError$a(tryToString$2(argument) + ' is not a function');
457
457
  };
458
458
 
459
459
  var aCallable$6 = aCallable$7;
@@ -470,7 +470,7 @@ var call$9 = functionCall;
470
470
  var isCallable$9 = isCallable$e;
471
471
  var isObject$5 = isObject$6;
472
472
 
473
- var $TypeError$b = TypeError;
473
+ var $TypeError$9 = TypeError;
474
474
 
475
475
  // `OrdinaryToPrimitive` abstract operation
476
476
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
@@ -479,7 +479,7 @@ var ordinaryToPrimitive$1 = function (input, pref) {
479
479
  if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$9(fn, input))) return val;
480
480
  if (isCallable$9(fn = input.valueOf) && !isObject$5(val = call$9(fn, input))) return val;
481
481
  if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$9(fn, input))) return val;
482
- throw new $TypeError$b("Can't convert object to primitive value");
482
+ throw new $TypeError$9("Can't convert object to primitive value");
483
483
  };
484
484
 
485
485
  var sharedStore = {exports: {}};
@@ -527,12 +527,12 @@ var $Object$2 = Object;
527
527
 
528
528
  // `ToObject` abstract operation
529
529
  // https://tc39.es/ecma262/#sec-toobject
530
- var toObject$3 = function (argument) {
530
+ var toObject$2 = function (argument) {
531
531
  return $Object$2(requireObjectCoercible(argument));
532
532
  };
533
533
 
534
534
  var uncurryThis$d = functionUncurryThis;
535
- var toObject$2 = toObject$3;
535
+ var toObject$1 = toObject$2;
536
536
 
537
537
  var hasOwnProperty = uncurryThis$d({}.hasOwnProperty);
538
538
 
@@ -540,7 +540,7 @@ var hasOwnProperty = uncurryThis$d({}.hasOwnProperty);
540
540
  // https://tc39.es/ecma262/#sec-hasownproperty
541
541
  // eslint-disable-next-line es/no-object-hasown -- safe
542
542
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
543
- return hasOwnProperty(toObject$2(it), key);
543
+ return hasOwnProperty(toObject$1(it), key);
544
544
  };
545
545
 
546
546
  var uncurryThis$c = functionUncurryThis;
@@ -579,7 +579,7 @@ var getMethod$3 = getMethod$4;
579
579
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
580
580
  var wellKnownSymbol$7 = wellKnownSymbol$8;
581
581
 
582
- var $TypeError$a = TypeError;
582
+ var $TypeError$8 = TypeError;
583
583
  var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
584
584
 
585
585
  // `ToPrimitive` abstract operation
@@ -592,7 +592,7 @@ var toPrimitive$1 = function (input, pref) {
592
592
  if (pref === undefined) pref = 'default';
593
593
  result = call$8(exoticToPrim, input, pref);
594
594
  if (!isObject$4(result) || isSymbol$1(result)) return result;
595
- throw new $TypeError$a("Can't convert object to primitive value");
595
+ throw new $TypeError$8("Can't convert object to primitive value");
596
596
  }
597
597
  if (pref === undefined) pref = 'number';
598
598
  return ordinaryToPrimitive(input, pref);
@@ -619,19 +619,19 @@ var documentCreateElement$1 = function (it) {
619
619
  return EXISTS$1 ? document$1.createElement(it) : {};
620
620
  };
621
621
 
622
- var DESCRIPTORS$b = descriptors;
623
- var fails$8 = fails$d;
622
+ var DESCRIPTORS$a = descriptors;
623
+ var fails$7 = fails$c;
624
624
  var createElement = documentCreateElement$1;
625
625
 
626
626
  // Thanks to IE8 for its funny defineProperty
627
- var ie8DomDefine = !DESCRIPTORS$b && !fails$8(function () {
627
+ var ie8DomDefine = !DESCRIPTORS$a && !fails$7(function () {
628
628
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
629
629
  return Object.defineProperty(createElement('div'), 'a', {
630
630
  get: function () { return 7; }
631
631
  }).a !== 7;
632
632
  });
633
633
 
634
- var DESCRIPTORS$a = descriptors;
634
+ var DESCRIPTORS$9 = descriptors;
635
635
  var call$7 = functionCall;
636
636
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
637
637
  var createPropertyDescriptor$2 = createPropertyDescriptor$3;
@@ -645,7 +645,7 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
645
645
 
646
646
  // `Object.getOwnPropertyDescriptor` method
647
647
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
648
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
648
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
649
649
  O = toIndexedObject$3(O);
650
650
  P = toPropertyKey$1(P);
651
651
  if (IE8_DOM_DEFINE$1) try {
@@ -656,12 +656,12 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 :
656
656
 
657
657
  var objectDefineProperty = {};
658
658
 
659
- var DESCRIPTORS$9 = descriptors;
660
- var fails$7 = fails$d;
659
+ var DESCRIPTORS$8 = descriptors;
660
+ var fails$6 = fails$c;
661
661
 
662
662
  // V8 ~ Chrome 36-
663
663
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
664
- var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$7(function () {
664
+ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$6(function () {
665
665
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
666
666
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
667
667
  value: 42,
@@ -672,21 +672,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$7(function () {
672
672
  var isObject$2 = isObject$6;
673
673
 
674
674
  var $String$2 = String;
675
- var $TypeError$9 = TypeError;
675
+ var $TypeError$7 = TypeError;
676
676
 
677
677
  // `Assert: Type(argument) is Object`
678
678
  var anObject$c = function (argument) {
679
679
  if (isObject$2(argument)) return argument;
680
- throw new $TypeError$9($String$2(argument) + ' is not an object');
680
+ throw new $TypeError$7($String$2(argument) + ' is not an object');
681
681
  };
682
682
 
683
- var DESCRIPTORS$8 = descriptors;
683
+ var DESCRIPTORS$7 = descriptors;
684
684
  var IE8_DOM_DEFINE = ie8DomDefine;
685
685
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
686
686
  var anObject$b = anObject$c;
687
687
  var toPropertyKey = toPropertyKey$2;
688
688
 
689
- var $TypeError$8 = TypeError;
689
+ var $TypeError$6 = TypeError;
690
690
  // eslint-disable-next-line es/no-object-defineproperty -- safe
691
691
  var $defineProperty = Object.defineProperty;
692
692
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -697,7 +697,7 @@ var WRITABLE = 'writable';
697
697
 
698
698
  // `Object.defineProperty` method
699
699
  // https://tc39.es/ecma262/#sec-object.defineproperty
700
- objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
700
+ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
701
701
  anObject$b(O);
702
702
  P = toPropertyKey(P);
703
703
  anObject$b(Attributes);
@@ -719,16 +719,16 @@ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
719
719
  if (IE8_DOM_DEFINE) try {
720
720
  return $defineProperty(O, P, Attributes);
721
721
  } catch (error) { /* empty */ }
722
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$8('Accessors not supported');
722
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$6('Accessors not supported');
723
723
  if ('value' in Attributes) O[P] = Attributes.value;
724
724
  return O;
725
725
  };
726
726
 
727
- var DESCRIPTORS$7 = descriptors;
727
+ var DESCRIPTORS$6 = descriptors;
728
728
  var definePropertyModule$4 = objectDefineProperty;
729
729
  var createPropertyDescriptor$1 = createPropertyDescriptor$3;
730
730
 
731
- var createNonEnumerableProperty$3 = DESCRIPTORS$7 ? function (object, key, value) {
731
+ var createNonEnumerableProperty$3 = DESCRIPTORS$6 ? function (object, key, value) {
732
732
  return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
733
733
  } : function (object, key, value) {
734
734
  object[key] = value;
@@ -737,17 +737,17 @@ var createNonEnumerableProperty$3 = DESCRIPTORS$7 ? function (object, key, value
737
737
 
738
738
  var makeBuiltIn$3 = {exports: {}};
739
739
 
740
- var DESCRIPTORS$6 = descriptors;
740
+ var DESCRIPTORS$5 = descriptors;
741
741
  var hasOwn$6 = hasOwnProperty_1;
742
742
 
743
743
  var FunctionPrototype = Function.prototype;
744
744
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
745
- var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
745
+ var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
746
746
 
747
747
  var EXISTS = hasOwn$6(FunctionPrototype, 'name');
748
748
  // additional protection from minified / mangled / dropped function names
749
749
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
750
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype, 'name').configurable));
750
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype, 'name').configurable));
751
751
 
752
752
  var functionName = {
753
753
  EXISTS: EXISTS,
@@ -860,10 +860,10 @@ var internalState = {
860
860
  };
861
861
 
862
862
  var uncurryThis$a = functionUncurryThis;
863
- var fails$6 = fails$d;
863
+ var fails$5 = fails$c;
864
864
  var isCallable$6 = isCallable$e;
865
865
  var hasOwn$4 = hasOwnProperty_1;
866
- var DESCRIPTORS$5 = descriptors;
866
+ var DESCRIPTORS$4 = descriptors;
867
867
  var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
868
868
  var inspectSource = inspectSource$1;
869
869
  var InternalStateModule$1 = internalState;
@@ -877,7 +877,7 @@ var stringSlice = uncurryThis$a(''.slice);
877
877
  var replace = uncurryThis$a(''.replace);
878
878
  var join = uncurryThis$a([].join);
879
879
 
880
- var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$6(function () {
880
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$5(function () {
881
881
  return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
882
882
  });
883
883
 
@@ -890,7 +890,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
890
890
  if (options && options.getter) name = 'get ' + name;
891
891
  if (options && options.setter) name = 'set ' + name;
892
892
  if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
893
- if (DESCRIPTORS$5) defineProperty$1(value, 'name', { value: name, configurable: true });
893
+ if (DESCRIPTORS$4) defineProperty$1(value, 'name', { value: name, configurable: true });
894
894
  else value.name = name;
895
895
  }
896
896
  if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
@@ -898,7 +898,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
898
898
  }
899
899
  try {
900
900
  if (options && hasOwn$4(options, 'constructor') && options.constructor) {
901
- if (DESCRIPTORS$5) defineProperty$1(value, 'prototype', { writable: false });
901
+ if (DESCRIPTORS$4) defineProperty$1(value, 'prototype', { writable: false });
902
902
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
903
903
  } else if (value.prototype) value.prototype = undefined;
904
904
  } catch (error) { /* empty */ }
@@ -995,19 +995,19 @@ var toLength = toLength$1;
995
995
 
996
996
  // `LengthOfArrayLike` abstract operation
997
997
  // https://tc39.es/ecma262/#sec-lengthofarraylike
998
- var lengthOfArrayLike$3 = function (obj) {
998
+ var lengthOfArrayLike$2 = function (obj) {
999
999
  return toLength(obj.length);
1000
1000
  };
1001
1001
 
1002
1002
  var toIndexedObject$2 = toIndexedObject$4;
1003
1003
  var toAbsoluteIndex = toAbsoluteIndex$1;
1004
- var lengthOfArrayLike$2 = lengthOfArrayLike$3;
1004
+ var lengthOfArrayLike$1 = lengthOfArrayLike$2;
1005
1005
 
1006
1006
  // `Array.prototype.{ indexOf, includes }` methods implementation
1007
1007
  var createMethod = function (IS_INCLUDES) {
1008
1008
  return function ($this, el, fromIndex) {
1009
1009
  var O = toIndexedObject$2($this);
1010
- var length = lengthOfArrayLike$2(O);
1010
+ var length = lengthOfArrayLike$1(O);
1011
1011
  if (length === 0) return !IS_INCLUDES && -1;
1012
1012
  var index = toAbsoluteIndex(fromIndex, length);
1013
1013
  var value;
@@ -1114,7 +1114,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
1114
1114
  }
1115
1115
  };
1116
1116
 
1117
- var fails$5 = fails$d;
1117
+ var fails$4 = fails$c;
1118
1118
  var isCallable$4 = isCallable$e;
1119
1119
 
1120
1120
  var replacement = /#|\.prototype\./;
@@ -1123,7 +1123,7 @@ var isForced$1 = function (feature, detection) {
1123
1123
  var value = data[normalize(feature)];
1124
1124
  return value === POLYFILL ? true
1125
1125
  : value === NATIVE ? false
1126
- : isCallable$4(detection) ? fails$5(detection)
1126
+ : isCallable$4(detection) ? fails$4(detection)
1127
1127
  : !!detection;
1128
1128
  };
1129
1129
 
@@ -1138,7 +1138,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
1138
1138
  var isForced_1 = isForced$1;
1139
1139
 
1140
1140
  var global$2 = global$b;
1141
- var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
1141
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1142
1142
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
1143
1143
  var defineBuiltIn$4 = defineBuiltIn$5;
1144
1144
  var defineGlobalProperty = defineGlobalProperty$3;
@@ -1175,7 +1175,7 @@ var _export = function (options, source) {
1175
1175
  if (target) for (key in source) {
1176
1176
  sourceProperty = source[key];
1177
1177
  if (options.dontCallGetSet) {
1178
- descriptor = getOwnPropertyDescriptor$1(target, key);
1178
+ descriptor = getOwnPropertyDescriptor(target, key);
1179
1179
  targetProperty = descriptor && descriptor.value;
1180
1180
  } else targetProperty = target[key];
1181
1181
  FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
@@ -1192,92 +1192,6 @@ var _export = function (options, source) {
1192
1192
  }
1193
1193
  };
1194
1194
 
1195
- var classof$3 = classofRaw$2;
1196
-
1197
- // `IsArray` abstract operation
1198
- // https://tc39.es/ecma262/#sec-isarray
1199
- // eslint-disable-next-line es/no-array-isarray -- safe
1200
- var isArray$1 = Array.isArray || function isArray(argument) {
1201
- return classof$3(argument) === 'Array';
1202
- };
1203
-
1204
- var DESCRIPTORS$4 = descriptors;
1205
- var isArray = isArray$1;
1206
-
1207
- var $TypeError$7 = TypeError;
1208
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1209
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1210
-
1211
- // Safari < 13 does not throw an error in this case
1212
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$4 && !function () {
1213
- // makes no sense without proper strict mode support
1214
- if (this !== undefined) return true;
1215
- try {
1216
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1217
- Object.defineProperty([], 'length', { writable: false }).length = 1;
1218
- } catch (error) {
1219
- return error instanceof TypeError;
1220
- }
1221
- }();
1222
-
1223
- var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
1224
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
1225
- throw new $TypeError$7('Cannot set read only .length');
1226
- } return O.length = length;
1227
- } : function (O, length) {
1228
- return O.length = length;
1229
- };
1230
-
1231
- var $TypeError$6 = TypeError;
1232
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
1233
-
1234
- var doesNotExceedSafeInteger$1 = function (it) {
1235
- if (it > MAX_SAFE_INTEGER) throw $TypeError$6('Maximum allowed index exceeded');
1236
- return it;
1237
- };
1238
-
1239
- var $$a = _export;
1240
- var toObject$1 = toObject$3;
1241
- var lengthOfArrayLike$1 = lengthOfArrayLike$3;
1242
- var setArrayLength = arraySetLength;
1243
- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
1244
- var fails$4 = fails$d;
1245
-
1246
- var INCORRECT_TO_LENGTH = fails$4(function () {
1247
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
1248
- });
1249
-
1250
- // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
1251
- // https://bugs.chromium.org/p/v8/issues/detail?id=12681
1252
- var properErrorOnNonWritableLength = function () {
1253
- try {
1254
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1255
- Object.defineProperty([], 'length', { writable: false }).push();
1256
- } catch (error) {
1257
- return error instanceof TypeError;
1258
- }
1259
- };
1260
-
1261
- var FORCED$1 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
1262
-
1263
- // `Array.prototype.push` method
1264
- // https://tc39.es/ecma262/#sec-array.prototype.push
1265
- $$a({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {
1266
- // eslint-disable-next-line no-unused-vars -- required for `.length`
1267
- push: function push(item) {
1268
- var O = toObject$1(this);
1269
- var len = lengthOfArrayLike$1(O);
1270
- var argCount = arguments.length;
1271
- doesNotExceedSafeInteger(len + argCount);
1272
- for (var i = 0; i < argCount; i++) {
1273
- O[len] = arguments[i];
1274
- len++;
1275
- }
1276
- setArrayLength(O, len);
1277
- return len;
1278
- }
1279
- });
1280
-
1281
1195
  var isPrototypeOf$1 = objectIsPrototypeOf;
1282
1196
 
1283
1197
  var $TypeError$5 = TypeError;
@@ -1287,7 +1201,7 @@ var anInstance$1 = function (it, Prototype) {
1287
1201
  throw new $TypeError$5('Incorrect invocation');
1288
1202
  };
1289
1203
 
1290
- var fails$3 = fails$d;
1204
+ var fails$3 = fails$c;
1291
1205
 
1292
1206
  var correctPrototypeGetter = !fails$3(function () {
1293
1207
  function F() { /* empty */ }
@@ -1298,7 +1212,7 @@ var correctPrototypeGetter = !fails$3(function () {
1298
1212
 
1299
1213
  var hasOwn$1 = hasOwnProperty_1;
1300
1214
  var isCallable$3 = isCallable$e;
1301
- var toObject = toObject$3;
1215
+ var toObject = toObject$2;
1302
1216
  var sharedKey$1 = sharedKey$3;
1303
1217
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1304
1218
 
@@ -1457,7 +1371,7 @@ var objectCreate = Object.create || function create(O, Properties) {
1457
1371
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1458
1372
  };
1459
1373
 
1460
- var fails$2 = fails$d;
1374
+ var fails$2 = fails$c;
1461
1375
  var isCallable$2 = isCallable$e;
1462
1376
  var isObject = isObject$6;
1463
1377
  var getPrototypeOf$1 = objectGetPrototypeOf;
@@ -1511,7 +1425,7 @@ var isCallable$1 = isCallable$e;
1511
1425
  var getPrototypeOf = objectGetPrototypeOf;
1512
1426
  var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
1513
1427
  var createProperty = createProperty$1;
1514
- var fails$1 = fails$d;
1428
+ var fails$1 = fails$c;
1515
1429
  var hasOwn = hasOwnProperty_1;
1516
1430
  var wellKnownSymbol$5 = wellKnownSymbol$8;
1517
1431
  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
@@ -1699,7 +1613,7 @@ var call$4 = functionCall;
1699
1613
  var anObject$4 = anObject$c;
1700
1614
  var tryToString = tryToString$3;
1701
1615
  var isArrayIteratorMethod = isArrayIteratorMethod$1;
1702
- var lengthOfArrayLike = lengthOfArrayLike$3;
1616
+ var lengthOfArrayLike = lengthOfArrayLike$2;
1703
1617
  var isPrototypeOf = objectIsPrototypeOf;
1704
1618
  var getIterator = getIterator$1;
1705
1619
  var getIteratorMethod = getIteratorMethod$2;
@@ -2015,7 +1929,7 @@ var setIntersection = function intersection(other) {
2015
1929
  };
2016
1930
 
2017
1931
  var $$6 = _export;
2018
- var fails = fails$d;
1932
+ var fails = fails$c;
2019
1933
  var intersection = setIntersection;
2020
1934
  var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
2021
1935