@beeq/tailwindcss 1.10.0-beta.7 → 1.11.0-beta.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.
- package/index.cjs.js +1028 -487
- package/index.esm.js +1028 -487
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -272,7 +272,7 @@ var globalThis_1 =
|
|
|
272
272
|
|
|
273
273
|
var objectGetOwnPropertyDescriptor = {};
|
|
274
274
|
|
|
275
|
-
var fails$
|
|
275
|
+
var fails$f = function (exec) {
|
|
276
276
|
try {
|
|
277
277
|
return !!exec();
|
|
278
278
|
} catch (error) {
|
|
@@ -280,17 +280,17 @@ var fails$e = function (exec) {
|
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
282
|
|
|
283
|
-
var fails$
|
|
283
|
+
var fails$e = fails$f;
|
|
284
284
|
|
|
285
285
|
// Detect IE8's incomplete defineProperty implementation
|
|
286
|
-
var descriptors = !fails$
|
|
286
|
+
var descriptors = !fails$e(function () {
|
|
287
287
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
288
288
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
289
289
|
});
|
|
290
290
|
|
|
291
|
-
var fails$
|
|
291
|
+
var fails$d = fails$f;
|
|
292
292
|
|
|
293
|
-
var functionBindNative = !fails$
|
|
293
|
+
var functionBindNative = !fails$d(function () {
|
|
294
294
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
295
295
|
var test = (function () { /* empty */ }).bind();
|
|
296
296
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -299,10 +299,10 @@ var functionBindNative = !fails$c(function () {
|
|
|
299
299
|
|
|
300
300
|
var NATIVE_BIND$3 = functionBindNative;
|
|
301
301
|
|
|
302
|
-
var call$
|
|
302
|
+
var call$e = Function.prototype.call;
|
|
303
303
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
304
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
|
305
|
-
return call$
|
|
304
|
+
var functionCall = NATIVE_BIND$3 ? call$e.bind(call$e) : function () {
|
|
305
|
+
return call$e.apply(call$e, arguments);
|
|
306
306
|
};
|
|
307
307
|
|
|
308
308
|
var objectPropertyIsEnumerable = {};
|
|
@@ -321,7 +321,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
321
321
|
return !!descriptor && descriptor.enumerable;
|
|
322
322
|
} : $propertyIsEnumerable;
|
|
323
323
|
|
|
324
|
-
var createPropertyDescriptor$
|
|
324
|
+
var createPropertyDescriptor$5 = function (bitmap, value) {
|
|
325
325
|
return {
|
|
326
326
|
enumerable: !(bitmap & 1),
|
|
327
327
|
configurable: !(bitmap & 2),
|
|
@@ -333,39 +333,39 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
|
333
333
|
var NATIVE_BIND$2 = functionBindNative;
|
|
334
334
|
|
|
335
335
|
var FunctionPrototype$2 = Function.prototype;
|
|
336
|
-
var call$
|
|
336
|
+
var call$d = FunctionPrototype$2.call;
|
|
337
337
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
338
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
|
338
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$d, call$d);
|
|
339
339
|
|
|
340
340
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
341
341
|
return function () {
|
|
342
|
-
return call$
|
|
342
|
+
return call$d.apply(fn, arguments);
|
|
343
343
|
};
|
|
344
344
|
};
|
|
345
345
|
|
|
346
|
-
var uncurryThis$
|
|
346
|
+
var uncurryThis$e = functionUncurryThis;
|
|
347
347
|
|
|
348
|
-
var toString$
|
|
349
|
-
var stringSlice$1 = uncurryThis$
|
|
348
|
+
var toString$3 = uncurryThis$e({}.toString);
|
|
349
|
+
var stringSlice$1 = uncurryThis$e(''.slice);
|
|
350
350
|
|
|
351
351
|
var classofRaw$2 = function (it) {
|
|
352
|
-
return stringSlice$1(toString$
|
|
352
|
+
return stringSlice$1(toString$3(it), 8, -1);
|
|
353
353
|
};
|
|
354
354
|
|
|
355
|
-
var uncurryThis$
|
|
356
|
-
var fails$
|
|
357
|
-
var classof$
|
|
355
|
+
var uncurryThis$d = functionUncurryThis;
|
|
356
|
+
var fails$c = fails$f;
|
|
357
|
+
var classof$3 = classofRaw$2;
|
|
358
358
|
|
|
359
359
|
var $Object$4 = Object;
|
|
360
|
-
var split = uncurryThis$
|
|
360
|
+
var split = uncurryThis$d(''.split);
|
|
361
361
|
|
|
362
362
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
363
|
-
var indexedObject = fails$
|
|
363
|
+
var indexedObject = fails$c(function () {
|
|
364
364
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
365
365
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
366
366
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
367
367
|
}) ? function (it) {
|
|
368
|
-
return classof$
|
|
368
|
+
return classof$3(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
369
369
|
} : $Object$4;
|
|
370
370
|
|
|
371
371
|
// we can't use just `it == null` since of `document.all` special case
|
|
@@ -376,21 +376,21 @@ var isNullOrUndefined$3 = function (it) {
|
|
|
376
376
|
|
|
377
377
|
var isNullOrUndefined$2 = isNullOrUndefined$3;
|
|
378
378
|
|
|
379
|
-
var $TypeError$
|
|
379
|
+
var $TypeError$c = TypeError;
|
|
380
380
|
|
|
381
381
|
// `RequireObjectCoercible` abstract operation
|
|
382
382
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
383
|
-
var requireObjectCoercible$
|
|
384
|
-
if (isNullOrUndefined$2(it)) throw new $TypeError$
|
|
383
|
+
var requireObjectCoercible$3 = function (it) {
|
|
384
|
+
if (isNullOrUndefined$2(it)) throw new $TypeError$c("Can't call method on " + it);
|
|
385
385
|
return it;
|
|
386
386
|
};
|
|
387
387
|
|
|
388
388
|
// toObject with fallback for non-array-like ES3 strings
|
|
389
389
|
var IndexedObject = indexedObject;
|
|
390
|
-
var requireObjectCoercible$
|
|
390
|
+
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
391
391
|
|
|
392
|
-
var toIndexedObject$
|
|
393
|
-
return IndexedObject(requireObjectCoercible$
|
|
392
|
+
var toIndexedObject$5 = function (it) {
|
|
393
|
+
return IndexedObject(requireObjectCoercible$2(it));
|
|
394
394
|
};
|
|
395
395
|
|
|
396
396
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
@@ -399,45 +399,45 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
399
399
|
// `IsCallable` abstract operation
|
|
400
400
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
401
401
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
402
|
-
var isCallable$
|
|
402
|
+
var isCallable$g = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
403
403
|
return typeof argument == 'function' || argument === documentAll;
|
|
404
404
|
} : function (argument) {
|
|
405
405
|
return typeof argument == 'function';
|
|
406
406
|
};
|
|
407
407
|
|
|
408
|
-
var isCallable$
|
|
408
|
+
var isCallable$f = isCallable$g;
|
|
409
409
|
|
|
410
|
-
var isObject$
|
|
411
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
410
|
+
var isObject$a = function (it) {
|
|
411
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it);
|
|
412
412
|
};
|
|
413
413
|
|
|
414
|
-
var globalThis$
|
|
415
|
-
var isCallable$
|
|
414
|
+
var globalThis$f = globalThis_1;
|
|
415
|
+
var isCallable$e = isCallable$g;
|
|
416
416
|
|
|
417
417
|
var aFunction = function (argument) {
|
|
418
|
-
return isCallable$
|
|
418
|
+
return isCallable$e(argument) ? argument : undefined;
|
|
419
419
|
};
|
|
420
420
|
|
|
421
|
-
var getBuiltIn$
|
|
422
|
-
return arguments.length < 2 ? aFunction(globalThis$
|
|
421
|
+
var getBuiltIn$5 = function (namespace, method) {
|
|
422
|
+
return arguments.length < 2 ? aFunction(globalThis$f[namespace]) : globalThis$f[namespace] && globalThis$f[namespace][method];
|
|
423
423
|
};
|
|
424
424
|
|
|
425
|
-
var uncurryThis$
|
|
425
|
+
var uncurryThis$c = functionUncurryThis;
|
|
426
426
|
|
|
427
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
427
|
+
var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
|
|
428
428
|
|
|
429
|
-
var globalThis$
|
|
429
|
+
var globalThis$e = globalThis_1;
|
|
430
430
|
|
|
431
|
-
var navigator = globalThis$
|
|
431
|
+
var navigator = globalThis$e.navigator;
|
|
432
432
|
var userAgent$1 = navigator && navigator.userAgent;
|
|
433
433
|
|
|
434
434
|
var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
|
|
435
435
|
|
|
436
|
-
var globalThis$
|
|
436
|
+
var globalThis$d = globalThis_1;
|
|
437
437
|
var userAgent = environmentUserAgent;
|
|
438
438
|
|
|
439
|
-
var process = globalThis$
|
|
440
|
-
var Deno = globalThis$
|
|
439
|
+
var process = globalThis$d.process;
|
|
440
|
+
var Deno = globalThis$d.Deno;
|
|
441
441
|
var versions = process && process.versions || Deno && Deno.version;
|
|
442
442
|
var v8 = versions && versions.v8;
|
|
443
443
|
var match, version;
|
|
@@ -463,19 +463,19 @@ var environmentV8Version = version;
|
|
|
463
463
|
|
|
464
464
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
465
465
|
var V8_VERSION = environmentV8Version;
|
|
466
|
-
var fails$
|
|
467
|
-
var globalThis$
|
|
466
|
+
var fails$b = fails$f;
|
|
467
|
+
var globalThis$c = globalThis_1;
|
|
468
468
|
|
|
469
|
-
var $String$
|
|
469
|
+
var $String$5 = globalThis$c.String;
|
|
470
470
|
|
|
471
471
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
472
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
472
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(function () {
|
|
473
473
|
var symbol = Symbol('symbol detection');
|
|
474
474
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
475
475
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
476
476
|
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
477
477
|
// of course, fail.
|
|
478
|
-
return !$String$
|
|
478
|
+
return !$String$5(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
479
479
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
480
480
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
481
481
|
});
|
|
@@ -487,9 +487,9 @@ var useSymbolAsUid = NATIVE_SYMBOL$1 &&
|
|
|
487
487
|
!Symbol.sham &&
|
|
488
488
|
typeof Symbol.iterator == 'symbol';
|
|
489
489
|
|
|
490
|
-
var getBuiltIn$
|
|
491
|
-
var isCallable$
|
|
492
|
-
var isPrototypeOf$
|
|
490
|
+
var getBuiltIn$4 = getBuiltIn$5;
|
|
491
|
+
var isCallable$d = isCallable$g;
|
|
492
|
+
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
493
493
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
494
494
|
|
|
495
495
|
var $Object$3 = Object;
|
|
@@ -497,29 +497,29 @@ var $Object$3 = Object;
|
|
|
497
497
|
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
498
498
|
return typeof it == 'symbol';
|
|
499
499
|
} : function (it) {
|
|
500
|
-
var $Symbol = getBuiltIn$
|
|
501
|
-
return isCallable$
|
|
500
|
+
var $Symbol = getBuiltIn$4('Symbol');
|
|
501
|
+
return isCallable$d($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));
|
|
502
502
|
};
|
|
503
503
|
|
|
504
|
-
var $String$
|
|
504
|
+
var $String$4 = String;
|
|
505
505
|
|
|
506
506
|
var tryToString$3 = function (argument) {
|
|
507
507
|
try {
|
|
508
|
-
return $String$
|
|
508
|
+
return $String$4(argument);
|
|
509
509
|
} catch (error) {
|
|
510
510
|
return 'Object';
|
|
511
511
|
}
|
|
512
512
|
};
|
|
513
513
|
|
|
514
|
-
var isCallable$
|
|
514
|
+
var isCallable$c = isCallable$g;
|
|
515
515
|
var tryToString$2 = tryToString$3;
|
|
516
516
|
|
|
517
|
-
var $TypeError$
|
|
517
|
+
var $TypeError$b = TypeError;
|
|
518
518
|
|
|
519
519
|
// `Assert: IsCallable(argument) is true`
|
|
520
520
|
var aCallable$8 = function (argument) {
|
|
521
|
-
if (isCallable$
|
|
522
|
-
throw new $TypeError$
|
|
521
|
+
if (isCallable$c(argument)) return argument;
|
|
522
|
+
throw new $TypeError$b(tryToString$2(argument) + ' is not a function');
|
|
523
523
|
};
|
|
524
524
|
|
|
525
525
|
var aCallable$7 = aCallable$8;
|
|
@@ -532,42 +532,42 @@ var getMethod$4 = function (V, P) {
|
|
|
532
532
|
return isNullOrUndefined$1(func) ? undefined : aCallable$7(func);
|
|
533
533
|
};
|
|
534
534
|
|
|
535
|
-
var call$
|
|
536
|
-
var isCallable$
|
|
537
|
-
var isObject$
|
|
535
|
+
var call$c = functionCall;
|
|
536
|
+
var isCallable$b = isCallable$g;
|
|
537
|
+
var isObject$9 = isObject$a;
|
|
538
538
|
|
|
539
|
-
var $TypeError$
|
|
539
|
+
var $TypeError$a = TypeError;
|
|
540
540
|
|
|
541
541
|
// `OrdinaryToPrimitive` abstract operation
|
|
542
542
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
543
543
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
544
544
|
var fn, val;
|
|
545
|
-
if (pref === 'string' && isCallable$
|
|
546
|
-
if (isCallable$
|
|
547
|
-
if (pref !== 'string' && isCallable$
|
|
548
|
-
throw new $TypeError$
|
|
545
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$9(val = call$c(fn, input))) return val;
|
|
546
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$9(val = call$c(fn, input))) return val;
|
|
547
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$9(val = call$c(fn, input))) return val;
|
|
548
|
+
throw new $TypeError$a("Can't convert object to primitive value");
|
|
549
549
|
};
|
|
550
550
|
|
|
551
551
|
var sharedStore = {exports: {}};
|
|
552
552
|
|
|
553
|
-
var globalThis$
|
|
553
|
+
var globalThis$b = globalThis_1;
|
|
554
554
|
|
|
555
555
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
556
|
-
var defineProperty$
|
|
556
|
+
var defineProperty$6 = Object.defineProperty;
|
|
557
557
|
|
|
558
558
|
var defineGlobalProperty$3 = function (key, value) {
|
|
559
559
|
try {
|
|
560
|
-
defineProperty$
|
|
560
|
+
defineProperty$6(globalThis$b, key, { value: value, configurable: true, writable: true });
|
|
561
561
|
} catch (error) {
|
|
562
|
-
globalThis$
|
|
562
|
+
globalThis$b[key] = value;
|
|
563
563
|
} return value;
|
|
564
564
|
};
|
|
565
565
|
|
|
566
|
-
var globalThis$
|
|
566
|
+
var globalThis$a = globalThis_1;
|
|
567
567
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
568
568
|
|
|
569
569
|
var SHARED = '__core-js_shared__';
|
|
570
|
-
var store$3 = sharedStore.exports = globalThis$
|
|
570
|
+
var store$3 = sharedStore.exports = globalThis$a[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
571
571
|
|
|
572
572
|
(store$3.versions || (store$3.versions = [])).push({
|
|
573
573
|
version: '3.44.0',
|
|
@@ -585,20 +585,20 @@ var shared$3 = function (key, value) {
|
|
|
585
585
|
return store$2[key] || (store$2[key] = value || {});
|
|
586
586
|
};
|
|
587
587
|
|
|
588
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
588
|
+
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
589
589
|
|
|
590
590
|
var $Object$2 = Object;
|
|
591
591
|
|
|
592
592
|
// `ToObject` abstract operation
|
|
593
593
|
// https://tc39.es/ecma262/#sec-toobject
|
|
594
594
|
var toObject$2 = function (argument) {
|
|
595
|
-
return $Object$2(requireObjectCoercible(argument));
|
|
595
|
+
return $Object$2(requireObjectCoercible$1(argument));
|
|
596
596
|
};
|
|
597
597
|
|
|
598
|
-
var uncurryThis$
|
|
598
|
+
var uncurryThis$b = functionUncurryThis;
|
|
599
599
|
var toObject$1 = toObject$2;
|
|
600
600
|
|
|
601
|
-
var hasOwnProperty = uncurryThis$
|
|
601
|
+
var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);
|
|
602
602
|
|
|
603
603
|
// `HasOwnProperty` abstract operation
|
|
604
604
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -607,56 +607,56 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
607
607
|
return hasOwnProperty(toObject$1(it), key);
|
|
608
608
|
};
|
|
609
609
|
|
|
610
|
-
var uncurryThis$
|
|
610
|
+
var uncurryThis$a = functionUncurryThis;
|
|
611
611
|
|
|
612
612
|
var id = 0;
|
|
613
613
|
var postfix = Math.random();
|
|
614
|
-
var toString = uncurryThis$
|
|
614
|
+
var toString$2 = uncurryThis$a(1.1.toString);
|
|
615
615
|
|
|
616
616
|
var uid$2 = function (key) {
|
|
617
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
617
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++id + postfix, 36);
|
|
618
618
|
};
|
|
619
619
|
|
|
620
|
-
var globalThis$
|
|
620
|
+
var globalThis$9 = globalThis_1;
|
|
621
621
|
var shared$2 = shared$3;
|
|
622
|
-
var hasOwn$
|
|
622
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
623
623
|
var uid$1 = uid$2;
|
|
624
624
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
625
625
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
626
626
|
|
|
627
|
-
var Symbol$1 = globalThis$
|
|
627
|
+
var Symbol$1 = globalThis$9.Symbol;
|
|
628
628
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
629
629
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
630
630
|
|
|
631
|
-
var wellKnownSymbol$
|
|
632
|
-
if (!hasOwn$
|
|
633
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
|
631
|
+
var wellKnownSymbol$c = function (name) {
|
|
632
|
+
if (!hasOwn$a(WellKnownSymbolsStore, name)) {
|
|
633
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)
|
|
634
634
|
? Symbol$1[name]
|
|
635
635
|
: createWellKnownSymbol('Symbol.' + name);
|
|
636
636
|
} return WellKnownSymbolsStore[name];
|
|
637
637
|
};
|
|
638
638
|
|
|
639
|
-
var call$
|
|
640
|
-
var isObject$
|
|
639
|
+
var call$b = functionCall;
|
|
640
|
+
var isObject$8 = isObject$a;
|
|
641
641
|
var isSymbol$1 = isSymbol$2;
|
|
642
642
|
var getMethod$3 = getMethod$4;
|
|
643
643
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
644
|
-
var wellKnownSymbol$
|
|
644
|
+
var wellKnownSymbol$b = wellKnownSymbol$c;
|
|
645
645
|
|
|
646
|
-
var $TypeError$
|
|
647
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
646
|
+
var $TypeError$9 = TypeError;
|
|
647
|
+
var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
|
|
648
648
|
|
|
649
649
|
// `ToPrimitive` abstract operation
|
|
650
650
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
651
651
|
var toPrimitive$1 = function (input, pref) {
|
|
652
|
-
if (!isObject$
|
|
652
|
+
if (!isObject$8(input) || isSymbol$1(input)) return input;
|
|
653
653
|
var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
|
|
654
654
|
var result;
|
|
655
655
|
if (exoticToPrim) {
|
|
656
656
|
if (pref === undefined) pref = 'default';
|
|
657
|
-
result = call$
|
|
658
|
-
if (!isObject$
|
|
659
|
-
throw new $TypeError$
|
|
657
|
+
result = call$b(exoticToPrim, input, pref);
|
|
658
|
+
if (!isObject$8(result) || isSymbol$1(result)) return result;
|
|
659
|
+
throw new $TypeError$9("Can't convert object to primitive value");
|
|
660
660
|
}
|
|
661
661
|
if (pref === undefined) pref = 'number';
|
|
662
662
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -672,36 +672,36 @@ var toPropertyKey$2 = function (argument) {
|
|
|
672
672
|
return isSymbol(key) ? key : key + '';
|
|
673
673
|
};
|
|
674
674
|
|
|
675
|
-
var globalThis$
|
|
676
|
-
var isObject$
|
|
675
|
+
var globalThis$8 = globalThis_1;
|
|
676
|
+
var isObject$7 = isObject$a;
|
|
677
677
|
|
|
678
|
-
var document$1 = globalThis$
|
|
678
|
+
var document$1 = globalThis$8.document;
|
|
679
679
|
// typeof document.createElement is 'object' in old IE
|
|
680
|
-
var EXISTS$1 = isObject$
|
|
680
|
+
var EXISTS$1 = isObject$7(document$1) && isObject$7(document$1.createElement);
|
|
681
681
|
|
|
682
|
-
var documentCreateElement$
|
|
682
|
+
var documentCreateElement$2 = function (it) {
|
|
683
683
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
684
684
|
};
|
|
685
685
|
|
|
686
|
-
var DESCRIPTORS$
|
|
687
|
-
var fails$
|
|
688
|
-
var createElement = documentCreateElement$
|
|
686
|
+
var DESCRIPTORS$b = descriptors;
|
|
687
|
+
var fails$a = fails$f;
|
|
688
|
+
var createElement = documentCreateElement$2;
|
|
689
689
|
|
|
690
690
|
// Thanks to IE8 for its funny defineProperty
|
|
691
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
691
|
+
var ie8DomDefine = !DESCRIPTORS$b && !fails$a(function () {
|
|
692
692
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
693
693
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
694
694
|
get: function () { return 7; }
|
|
695
695
|
}).a !== 7;
|
|
696
696
|
});
|
|
697
697
|
|
|
698
|
-
var DESCRIPTORS$
|
|
699
|
-
var call$
|
|
698
|
+
var DESCRIPTORS$a = descriptors;
|
|
699
|
+
var call$a = functionCall;
|
|
700
700
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
701
|
-
var createPropertyDescriptor$
|
|
702
|
-
var toIndexedObject$
|
|
701
|
+
var createPropertyDescriptor$4 = createPropertyDescriptor$5;
|
|
702
|
+
var toIndexedObject$4 = toIndexedObject$5;
|
|
703
703
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
704
|
-
var hasOwn$
|
|
704
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
705
705
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
706
706
|
|
|
707
707
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -709,23 +709,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
709
709
|
|
|
710
710
|
// `Object.getOwnPropertyDescriptor` method
|
|
711
711
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
712
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
713
|
-
O = toIndexedObject$
|
|
712
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
713
|
+
O = toIndexedObject$4(O);
|
|
714
714
|
P = toPropertyKey$1(P);
|
|
715
715
|
if (IE8_DOM_DEFINE$1) try {
|
|
716
716
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
717
717
|
} catch (error) { /* empty */ }
|
|
718
|
-
if (hasOwn$
|
|
718
|
+
if (hasOwn$9(O, P)) return createPropertyDescriptor$4(!call$a(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
719
719
|
};
|
|
720
720
|
|
|
721
721
|
var objectDefineProperty = {};
|
|
722
722
|
|
|
723
|
-
var DESCRIPTORS$
|
|
724
|
-
var fails$
|
|
723
|
+
var DESCRIPTORS$9 = descriptors;
|
|
724
|
+
var fails$9 = fails$f;
|
|
725
725
|
|
|
726
726
|
// V8 ~ Chrome 36-
|
|
727
727
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
728
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
728
|
+
var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$9(function () {
|
|
729
729
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
730
730
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
731
731
|
value: 42,
|
|
@@ -733,24 +733,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$8(function () {
|
|
|
733
733
|
}).prototype !== 42;
|
|
734
734
|
});
|
|
735
735
|
|
|
736
|
-
var isObject$
|
|
736
|
+
var isObject$6 = isObject$a;
|
|
737
737
|
|
|
738
|
-
var $String$
|
|
739
|
-
var $TypeError$
|
|
738
|
+
var $String$3 = String;
|
|
739
|
+
var $TypeError$8 = TypeError;
|
|
740
740
|
|
|
741
741
|
// `Assert: Type(argument) is Object`
|
|
742
742
|
var anObject$d = function (argument) {
|
|
743
|
-
if (isObject$
|
|
744
|
-
throw new $TypeError$
|
|
743
|
+
if (isObject$6(argument)) return argument;
|
|
744
|
+
throw new $TypeError$8($String$3(argument) + ' is not an object');
|
|
745
745
|
};
|
|
746
746
|
|
|
747
|
-
var DESCRIPTORS$
|
|
747
|
+
var DESCRIPTORS$8 = descriptors;
|
|
748
748
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
749
749
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
750
750
|
var anObject$c = anObject$d;
|
|
751
751
|
var toPropertyKey = toPropertyKey$2;
|
|
752
752
|
|
|
753
|
-
var $TypeError$
|
|
753
|
+
var $TypeError$7 = TypeError;
|
|
754
754
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
755
755
|
var $defineProperty = Object.defineProperty;
|
|
756
756
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -761,7 +761,7 @@ var WRITABLE = 'writable';
|
|
|
761
761
|
|
|
762
762
|
// `Object.defineProperty` method
|
|
763
763
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
764
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
764
|
+
objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
765
765
|
anObject$c(O);
|
|
766
766
|
P = toPropertyKey(P);
|
|
767
767
|
anObject$c(Attributes);
|
|
@@ -783,17 +783,17 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
783
783
|
if (IE8_DOM_DEFINE) try {
|
|
784
784
|
return $defineProperty(O, P, Attributes);
|
|
785
785
|
} catch (error) { /* empty */ }
|
|
786
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
786
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$7('Accessors not supported');
|
|
787
787
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
788
788
|
return O;
|
|
789
789
|
};
|
|
790
790
|
|
|
791
|
-
var DESCRIPTORS$
|
|
791
|
+
var DESCRIPTORS$7 = descriptors;
|
|
792
792
|
var definePropertyModule$4 = objectDefineProperty;
|
|
793
|
-
var createPropertyDescriptor$
|
|
793
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
794
794
|
|
|
795
|
-
var createNonEnumerableProperty$
|
|
796
|
-
return definePropertyModule$4.f(object, key, createPropertyDescriptor$
|
|
795
|
+
var createNonEnumerableProperty$8 = DESCRIPTORS$7 ? function (object, key, value) {
|
|
796
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$3(1, value));
|
|
797
797
|
} : function (object, key, value) {
|
|
798
798
|
object[key] = value;
|
|
799
799
|
return object;
|
|
@@ -801,28 +801,31 @@ var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value
|
|
|
801
801
|
|
|
802
802
|
var makeBuiltIn$3 = {exports: {}};
|
|
803
803
|
|
|
804
|
-
var DESCRIPTORS$
|
|
805
|
-
var hasOwn$
|
|
804
|
+
var DESCRIPTORS$6 = descriptors;
|
|
805
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
806
806
|
|
|
807
807
|
var FunctionPrototype$1 = Function.prototype;
|
|
808
808
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
809
|
-
var getDescriptor = DESCRIPTORS$
|
|
809
|
+
var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
|
|
810
810
|
|
|
811
|
-
var EXISTS = hasOwn$
|
|
812
|
-
|
|
811
|
+
var EXISTS = hasOwn$8(FunctionPrototype$1, 'name');
|
|
812
|
+
// additional protection from minified / mangled / dropped function names
|
|
813
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
814
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
813
815
|
|
|
814
816
|
var functionName = {
|
|
817
|
+
PROPER: PROPER,
|
|
815
818
|
CONFIGURABLE: CONFIGURABLE
|
|
816
819
|
};
|
|
817
820
|
|
|
818
|
-
var uncurryThis$
|
|
819
|
-
var isCallable$
|
|
821
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
822
|
+
var isCallable$a = isCallable$g;
|
|
820
823
|
var store$1 = sharedStoreExports;
|
|
821
824
|
|
|
822
|
-
var functionToString = uncurryThis$
|
|
825
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
823
826
|
|
|
824
827
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
825
|
-
if (!isCallable$
|
|
828
|
+
if (!isCallable$a(store$1.inspectSource)) {
|
|
826
829
|
store$1.inspectSource = function (it) {
|
|
827
830
|
return functionToString(it);
|
|
828
831
|
};
|
|
@@ -830,12 +833,12 @@ if (!isCallable$8(store$1.inspectSource)) {
|
|
|
830
833
|
|
|
831
834
|
var inspectSource$1 = store$1.inspectSource;
|
|
832
835
|
|
|
833
|
-
var globalThis$
|
|
834
|
-
var isCallable$
|
|
836
|
+
var globalThis$7 = globalThis_1;
|
|
837
|
+
var isCallable$9 = isCallable$g;
|
|
835
838
|
|
|
836
|
-
var WeakMap$1 = globalThis$
|
|
839
|
+
var WeakMap$1 = globalThis$7.WeakMap;
|
|
837
840
|
|
|
838
|
-
var weakMapBasicDetection = isCallable$
|
|
841
|
+
var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
839
842
|
|
|
840
843
|
var shared$1 = shared$3;
|
|
841
844
|
var uid = uid$2;
|
|
@@ -849,17 +852,17 @@ var sharedKey$3 = function (key) {
|
|
|
849
852
|
var hiddenKeys$4 = {};
|
|
850
853
|
|
|
851
854
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
852
|
-
var globalThis$
|
|
853
|
-
var isObject$
|
|
854
|
-
var createNonEnumerableProperty$
|
|
855
|
-
var hasOwn$
|
|
855
|
+
var globalThis$6 = globalThis_1;
|
|
856
|
+
var isObject$5 = isObject$a;
|
|
857
|
+
var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
|
|
858
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
856
859
|
var shared = sharedStoreExports;
|
|
857
860
|
var sharedKey$2 = sharedKey$3;
|
|
858
861
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
859
862
|
|
|
860
863
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
861
|
-
var TypeError$1 = globalThis$
|
|
862
|
-
var WeakMap = globalThis$
|
|
864
|
+
var TypeError$1 = globalThis$6.TypeError;
|
|
865
|
+
var WeakMap = globalThis$6.WeakMap;
|
|
863
866
|
var set, get, has$6;
|
|
864
867
|
|
|
865
868
|
var enforce = function (it) {
|
|
@@ -869,7 +872,7 @@ var enforce = function (it) {
|
|
|
869
872
|
var getterFor = function (TYPE) {
|
|
870
873
|
return function (it) {
|
|
871
874
|
var state;
|
|
872
|
-
if (!isObject$
|
|
875
|
+
if (!isObject$5(it) || (state = get(it)).type !== TYPE) {
|
|
873
876
|
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
874
877
|
} return state;
|
|
875
878
|
};
|
|
@@ -898,16 +901,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
898
901
|
var STATE = sharedKey$2('state');
|
|
899
902
|
hiddenKeys$3[STATE] = true;
|
|
900
903
|
set = function (it, metadata) {
|
|
901
|
-
if (hasOwn$
|
|
904
|
+
if (hasOwn$7(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
902
905
|
metadata.facade = it;
|
|
903
|
-
createNonEnumerableProperty$
|
|
906
|
+
createNonEnumerableProperty$7(it, STATE, metadata);
|
|
904
907
|
return metadata;
|
|
905
908
|
};
|
|
906
909
|
get = function (it) {
|
|
907
|
-
return hasOwn$
|
|
910
|
+
return hasOwn$7(it, STATE) ? it[STATE] : {};
|
|
908
911
|
};
|
|
909
912
|
has$6 = function (it) {
|
|
910
|
-
return hasOwn$
|
|
913
|
+
return hasOwn$7(it, STATE);
|
|
911
914
|
};
|
|
912
915
|
}
|
|
913
916
|
|
|
@@ -919,51 +922,51 @@ var internalState = {
|
|
|
919
922
|
getterFor: getterFor
|
|
920
923
|
};
|
|
921
924
|
|
|
922
|
-
var uncurryThis$
|
|
923
|
-
var fails$
|
|
924
|
-
var isCallable$
|
|
925
|
-
var hasOwn$
|
|
926
|
-
var DESCRIPTORS$
|
|
927
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
925
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
926
|
+
var fails$8 = fails$f;
|
|
927
|
+
var isCallable$8 = isCallable$g;
|
|
928
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
929
|
+
var DESCRIPTORS$5 = descriptors;
|
|
930
|
+
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
928
931
|
var inspectSource = inspectSource$1;
|
|
929
|
-
var InternalStateModule$
|
|
932
|
+
var InternalStateModule$2 = internalState;
|
|
930
933
|
|
|
931
|
-
var enforceInternalState = InternalStateModule$
|
|
932
|
-
var getInternalState = InternalStateModule$
|
|
933
|
-
var $String = String;
|
|
934
|
+
var enforceInternalState = InternalStateModule$2.enforce;
|
|
935
|
+
var getInternalState$1 = InternalStateModule$2.get;
|
|
936
|
+
var $String$2 = String;
|
|
934
937
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
935
|
-
var defineProperty$
|
|
936
|
-
var stringSlice = uncurryThis$
|
|
937
|
-
var replace = uncurryThis$
|
|
938
|
-
var join = uncurryThis$
|
|
938
|
+
var defineProperty$5 = Object.defineProperty;
|
|
939
|
+
var stringSlice = uncurryThis$8(''.slice);
|
|
940
|
+
var replace$1 = uncurryThis$8(''.replace);
|
|
941
|
+
var join = uncurryThis$8([].join);
|
|
939
942
|
|
|
940
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
941
|
-
return defineProperty$
|
|
943
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$8(function () {
|
|
944
|
+
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
942
945
|
});
|
|
943
946
|
|
|
944
947
|
var TEMPLATE = String(String).split('String');
|
|
945
948
|
|
|
946
949
|
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
947
|
-
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
948
|
-
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
950
|
+
if (stringSlice($String$2(name), 0, 7) === 'Symbol(') {
|
|
951
|
+
name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
949
952
|
}
|
|
950
953
|
if (options && options.getter) name = 'get ' + name;
|
|
951
954
|
if (options && options.setter) name = 'set ' + name;
|
|
952
|
-
if (!hasOwn$
|
|
953
|
-
if (DESCRIPTORS$
|
|
955
|
+
if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
956
|
+
if (DESCRIPTORS$5) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
954
957
|
else value.name = name;
|
|
955
958
|
}
|
|
956
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
957
|
-
defineProperty$
|
|
959
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
|
|
960
|
+
defineProperty$5(value, 'length', { value: options.arity });
|
|
958
961
|
}
|
|
959
962
|
try {
|
|
960
|
-
if (options && hasOwn$
|
|
961
|
-
if (DESCRIPTORS$
|
|
963
|
+
if (options && hasOwn$6(options, 'constructor') && options.constructor) {
|
|
964
|
+
if (DESCRIPTORS$5) defineProperty$5(value, 'prototype', { writable: false });
|
|
962
965
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
963
966
|
} else if (value.prototype) value.prototype = undefined;
|
|
964
967
|
} catch (error) { /* empty */ }
|
|
965
968
|
var state = enforceInternalState(value);
|
|
966
|
-
if (!hasOwn$
|
|
969
|
+
if (!hasOwn$6(state, 'source')) {
|
|
967
970
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
968
971
|
} return value;
|
|
969
972
|
};
|
|
@@ -971,21 +974,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
971
974
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
972
975
|
// eslint-disable-next-line no-extend-native -- required
|
|
973
976
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
974
|
-
return isCallable$
|
|
977
|
+
return isCallable$8(this) && getInternalState$1(this).source || inspectSource(this);
|
|
975
978
|
}, 'toString');
|
|
976
979
|
|
|
977
980
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
978
981
|
|
|
979
|
-
var isCallable$
|
|
982
|
+
var isCallable$7 = isCallable$g;
|
|
980
983
|
var definePropertyModule$3 = objectDefineProperty;
|
|
981
984
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
982
985
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
983
986
|
|
|
984
|
-
var defineBuiltIn$
|
|
987
|
+
var defineBuiltIn$4 = function (O, key, value, options) {
|
|
985
988
|
if (!options) options = {};
|
|
986
989
|
var simple = options.enumerable;
|
|
987
990
|
var name = options.name !== undefined ? options.name : key;
|
|
988
|
-
if (isCallable$
|
|
991
|
+
if (isCallable$7(value)) makeBuiltIn$1(value, name, options);
|
|
989
992
|
if (options.global) {
|
|
990
993
|
if (simple) O[key] = value;
|
|
991
994
|
else defineGlobalProperty$1(key, value);
|
|
@@ -1059,14 +1062,14 @@ var lengthOfArrayLike$2 = function (obj) {
|
|
|
1059
1062
|
return toLength(obj.length);
|
|
1060
1063
|
};
|
|
1061
1064
|
|
|
1062
|
-
var toIndexedObject$
|
|
1065
|
+
var toIndexedObject$3 = toIndexedObject$5;
|
|
1063
1066
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
1064
1067
|
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
|
1065
1068
|
|
|
1066
1069
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
1067
1070
|
var createMethod = function (IS_INCLUDES) {
|
|
1068
1071
|
return function ($this, el, fromIndex) {
|
|
1069
|
-
var O = toIndexedObject$
|
|
1072
|
+
var O = toIndexedObject$3($this);
|
|
1070
1073
|
var length = lengthOfArrayLike$1(O);
|
|
1071
1074
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
1072
1075
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
@@ -1090,22 +1093,22 @@ var arrayIncludes = {
|
|
|
1090
1093
|
indexOf: createMethod(false)
|
|
1091
1094
|
};
|
|
1092
1095
|
|
|
1093
|
-
var uncurryThis$
|
|
1094
|
-
var hasOwn$
|
|
1095
|
-
var toIndexedObject$
|
|
1096
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
1097
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
1098
|
+
var toIndexedObject$2 = toIndexedObject$5;
|
|
1096
1099
|
var indexOf = arrayIncludes.indexOf;
|
|
1097
1100
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
1098
1101
|
|
|
1099
|
-
var push = uncurryThis$
|
|
1102
|
+
var push = uncurryThis$7([].push);
|
|
1100
1103
|
|
|
1101
1104
|
var objectKeysInternal = function (object, names) {
|
|
1102
|
-
var O = toIndexedObject$
|
|
1105
|
+
var O = toIndexedObject$2(object);
|
|
1103
1106
|
var i = 0;
|
|
1104
1107
|
var result = [];
|
|
1105
1108
|
var key;
|
|
1106
|
-
for (key in O) !hasOwn$
|
|
1109
|
+
for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push(result, key);
|
|
1107
1110
|
// Don't enum bug & hidden keys
|
|
1108
|
-
while (names.length > i) if (hasOwn$
|
|
1111
|
+
while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
|
|
1109
1112
|
~indexOf(result, key) || push(result, key);
|
|
1110
1113
|
}
|
|
1111
1114
|
return result;
|
|
@@ -1139,40 +1142,40 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1139
1142
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
1140
1143
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1141
1144
|
|
|
1142
|
-
var getBuiltIn$
|
|
1143
|
-
var uncurryThis$
|
|
1145
|
+
var getBuiltIn$3 = getBuiltIn$5;
|
|
1146
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
1144
1147
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1145
1148
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1146
1149
|
var anObject$b = anObject$d;
|
|
1147
1150
|
|
|
1148
|
-
var concat = uncurryThis$
|
|
1151
|
+
var concat = uncurryThis$6([].concat);
|
|
1149
1152
|
|
|
1150
1153
|
// all object keys, includes non-enumerable and symbols
|
|
1151
|
-
var ownKeys$1 = getBuiltIn$
|
|
1154
|
+
var ownKeys$1 = getBuiltIn$3('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1152
1155
|
var keys = getOwnPropertyNamesModule.f(anObject$b(it));
|
|
1153
1156
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1154
1157
|
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
1155
1158
|
};
|
|
1156
1159
|
|
|
1157
|
-
var hasOwn$
|
|
1160
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
1158
1161
|
var ownKeys = ownKeys$1;
|
|
1159
1162
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1160
1163
|
var definePropertyModule$2 = objectDefineProperty;
|
|
1161
1164
|
|
|
1162
|
-
var copyConstructorProperties$
|
|
1165
|
+
var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
1163
1166
|
var keys = ownKeys(source);
|
|
1164
1167
|
var defineProperty = definePropertyModule$2.f;
|
|
1165
1168
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1166
1169
|
for (var i = 0; i < keys.length; i++) {
|
|
1167
1170
|
var key = keys[i];
|
|
1168
|
-
if (!hasOwn$
|
|
1171
|
+
if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
|
|
1169
1172
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1170
1173
|
}
|
|
1171
1174
|
}
|
|
1172
1175
|
};
|
|
1173
1176
|
|
|
1174
|
-
var fails$
|
|
1175
|
-
var isCallable$
|
|
1177
|
+
var fails$7 = fails$f;
|
|
1178
|
+
var isCallable$6 = isCallable$g;
|
|
1176
1179
|
|
|
1177
1180
|
var replacement = /#|\.prototype\./;
|
|
1178
1181
|
|
|
@@ -1180,7 +1183,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
1180
1183
|
var value = data[normalize(feature)];
|
|
1181
1184
|
return value === POLYFILL ? true
|
|
1182
1185
|
: value === NATIVE ? false
|
|
1183
|
-
: isCallable$
|
|
1186
|
+
: isCallable$6(detection) ? fails$7(detection)
|
|
1184
1187
|
: !!detection;
|
|
1185
1188
|
};
|
|
1186
1189
|
|
|
@@ -1194,12 +1197,12 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
1194
1197
|
|
|
1195
1198
|
var isForced_1 = isForced$1;
|
|
1196
1199
|
|
|
1197
|
-
var globalThis$
|
|
1200
|
+
var globalThis$5 = globalThis_1;
|
|
1198
1201
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1199
|
-
var createNonEnumerableProperty$
|
|
1200
|
-
var defineBuiltIn$
|
|
1202
|
+
var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
|
|
1203
|
+
var defineBuiltIn$3 = defineBuiltIn$4;
|
|
1201
1204
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
1202
|
-
var copyConstructorProperties = copyConstructorProperties$
|
|
1205
|
+
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
1203
1206
|
var isForced = isForced_1;
|
|
1204
1207
|
|
|
1205
1208
|
/*
|
|
@@ -1223,11 +1226,11 @@ var _export = function (options, source) {
|
|
|
1223
1226
|
var STATIC = options.stat;
|
|
1224
1227
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1225
1228
|
if (GLOBAL) {
|
|
1226
|
-
target = globalThis$
|
|
1229
|
+
target = globalThis$5;
|
|
1227
1230
|
} else if (STATIC) {
|
|
1228
|
-
target = globalThis$
|
|
1231
|
+
target = globalThis$5[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1229
1232
|
} else {
|
|
1230
|
-
target = globalThis$
|
|
1233
|
+
target = globalThis$5[TARGET] && globalThis$5[TARGET].prototype;
|
|
1231
1234
|
}
|
|
1232
1235
|
if (target) for (key in source) {
|
|
1233
1236
|
sourceProperty = source[key];
|
|
@@ -1239,16 +1242,340 @@ var _export = function (options, source) {
|
|
|
1239
1242
|
// contained in target
|
|
1240
1243
|
if (!FORCED && targetProperty !== undefined) {
|
|
1241
1244
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1242
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1245
|
+
copyConstructorProperties$1(sourceProperty, targetProperty);
|
|
1243
1246
|
}
|
|
1244
1247
|
// add a flag to not completely full polyfills
|
|
1245
1248
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1246
|
-
createNonEnumerableProperty$
|
|
1249
|
+
createNonEnumerableProperty$6(sourceProperty, 'sham', true);
|
|
1247
1250
|
}
|
|
1248
|
-
defineBuiltIn$
|
|
1251
|
+
defineBuiltIn$3(target, key, sourceProperty, options);
|
|
1249
1252
|
}
|
|
1250
1253
|
};
|
|
1251
1254
|
|
|
1255
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
1256
|
+
|
|
1257
|
+
var FunctionPrototype = Function.prototype;
|
|
1258
|
+
var apply$2 = FunctionPrototype.apply;
|
|
1259
|
+
var call$9 = FunctionPrototype.call;
|
|
1260
|
+
|
|
1261
|
+
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
1262
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$9.bind(apply$2) : function () {
|
|
1263
|
+
return call$9.apply(apply$2, arguments);
|
|
1264
|
+
});
|
|
1265
|
+
|
|
1266
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1267
|
+
var aCallable$6 = aCallable$8;
|
|
1268
|
+
|
|
1269
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1270
|
+
try {
|
|
1271
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1272
|
+
return uncurryThis$5(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1273
|
+
} catch (error) { /* empty */ }
|
|
1274
|
+
};
|
|
1275
|
+
|
|
1276
|
+
var isObject$4 = isObject$a;
|
|
1277
|
+
|
|
1278
|
+
var isPossiblePrototype$1 = function (argument) {
|
|
1279
|
+
return isObject$4(argument) || argument === null;
|
|
1280
|
+
};
|
|
1281
|
+
|
|
1282
|
+
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1283
|
+
|
|
1284
|
+
var $String$1 = String;
|
|
1285
|
+
var $TypeError$6 = TypeError;
|
|
1286
|
+
|
|
1287
|
+
var aPossiblePrototype$1 = function (argument) {
|
|
1288
|
+
if (isPossiblePrototype(argument)) return argument;
|
|
1289
|
+
throw new $TypeError$6("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1290
|
+
};
|
|
1291
|
+
|
|
1292
|
+
/* eslint-disable no-proto -- safe */
|
|
1293
|
+
var uncurryThisAccessor$1 = functionUncurryThisAccessor;
|
|
1294
|
+
var isObject$3 = isObject$a;
|
|
1295
|
+
var requireObjectCoercible = requireObjectCoercible$3;
|
|
1296
|
+
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1297
|
+
|
|
1298
|
+
// `Object.setPrototypeOf` method
|
|
1299
|
+
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
1300
|
+
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1301
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
1302
|
+
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
1303
|
+
var CORRECT_SETTER = false;
|
|
1304
|
+
var test = {};
|
|
1305
|
+
var setter;
|
|
1306
|
+
try {
|
|
1307
|
+
setter = uncurryThisAccessor$1(Object.prototype, '__proto__', 'set');
|
|
1308
|
+
setter(test, []);
|
|
1309
|
+
CORRECT_SETTER = test instanceof Array;
|
|
1310
|
+
} catch (error) { /* empty */ }
|
|
1311
|
+
return function setPrototypeOf(O, proto) {
|
|
1312
|
+
requireObjectCoercible(O);
|
|
1313
|
+
aPossiblePrototype(proto);
|
|
1314
|
+
if (!isObject$3(O)) return O;
|
|
1315
|
+
if (CORRECT_SETTER) setter(O, proto);
|
|
1316
|
+
else O.__proto__ = proto;
|
|
1317
|
+
return O;
|
|
1318
|
+
};
|
|
1319
|
+
}() : undefined);
|
|
1320
|
+
|
|
1321
|
+
var defineProperty$4 = objectDefineProperty.f;
|
|
1322
|
+
|
|
1323
|
+
var proxyAccessor$1 = function (Target, Source, key) {
|
|
1324
|
+
key in Target || defineProperty$4(Target, key, {
|
|
1325
|
+
configurable: true,
|
|
1326
|
+
get: function () { return Source[key]; },
|
|
1327
|
+
set: function (it) { Source[key] = it; }
|
|
1328
|
+
});
|
|
1329
|
+
};
|
|
1330
|
+
|
|
1331
|
+
var isCallable$5 = isCallable$g;
|
|
1332
|
+
var isObject$2 = isObject$a;
|
|
1333
|
+
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
1334
|
+
|
|
1335
|
+
// makes subclassing work correct for wrapped built-ins
|
|
1336
|
+
var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
1337
|
+
var NewTarget, NewTargetPrototype;
|
|
1338
|
+
if (
|
|
1339
|
+
// it can work only with native `setPrototypeOf`
|
|
1340
|
+
setPrototypeOf$2 &&
|
|
1341
|
+
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
1342
|
+
isCallable$5(NewTarget = dummy.constructor) &&
|
|
1343
|
+
NewTarget !== Wrapper &&
|
|
1344
|
+
isObject$2(NewTargetPrototype = NewTarget.prototype) &&
|
|
1345
|
+
NewTargetPrototype !== Wrapper.prototype
|
|
1346
|
+
) setPrototypeOf$2($this, NewTargetPrototype);
|
|
1347
|
+
return $this;
|
|
1348
|
+
};
|
|
1349
|
+
|
|
1350
|
+
var wellKnownSymbol$a = wellKnownSymbol$c;
|
|
1351
|
+
|
|
1352
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$a('toStringTag');
|
|
1353
|
+
var test = {};
|
|
1354
|
+
|
|
1355
|
+
test[TO_STRING_TAG$4] = 'z';
|
|
1356
|
+
|
|
1357
|
+
var toStringTagSupport = String(test) === '[object z]';
|
|
1358
|
+
|
|
1359
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1360
|
+
var isCallable$4 = isCallable$g;
|
|
1361
|
+
var classofRaw$1 = classofRaw$2;
|
|
1362
|
+
var wellKnownSymbol$9 = wellKnownSymbol$c;
|
|
1363
|
+
|
|
1364
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$9('toStringTag');
|
|
1365
|
+
var $Object$1 = Object;
|
|
1366
|
+
|
|
1367
|
+
// ES3 wrong here
|
|
1368
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
|
|
1369
|
+
|
|
1370
|
+
// fallback for IE11 Script Access Denied error
|
|
1371
|
+
var tryGet = function (it, key) {
|
|
1372
|
+
try {
|
|
1373
|
+
return it[key];
|
|
1374
|
+
} catch (error) { /* empty */ }
|
|
1375
|
+
};
|
|
1376
|
+
|
|
1377
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
1378
|
+
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
1379
|
+
var O, tag, result;
|
|
1380
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1381
|
+
// @@toStringTag case
|
|
1382
|
+
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$3)) == 'string' ? tag
|
|
1383
|
+
// builtinTag case
|
|
1384
|
+
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1385
|
+
// ES3 arguments fallback
|
|
1386
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$4(O.callee) ? 'Arguments' : result;
|
|
1387
|
+
};
|
|
1388
|
+
|
|
1389
|
+
var classof$1 = classof$2;
|
|
1390
|
+
|
|
1391
|
+
var $String = String;
|
|
1392
|
+
|
|
1393
|
+
var toString$1 = function (argument) {
|
|
1394
|
+
if (classof$1(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
1395
|
+
return $String(argument);
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
var toString = toString$1;
|
|
1399
|
+
|
|
1400
|
+
var normalizeStringArgument$1 = function (argument, $default) {
|
|
1401
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
|
|
1402
|
+
};
|
|
1403
|
+
|
|
1404
|
+
var isObject$1 = isObject$a;
|
|
1405
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
|
|
1406
|
+
|
|
1407
|
+
// `InstallErrorCause` abstract operation
|
|
1408
|
+
// https://tc39.es/ecma262/#sec-installerrorcause
|
|
1409
|
+
var installErrorCause$1 = function (O, options) {
|
|
1410
|
+
if (isObject$1(options) && 'cause' in options) {
|
|
1411
|
+
createNonEnumerableProperty$5(O, 'cause', options.cause);
|
|
1412
|
+
}
|
|
1413
|
+
};
|
|
1414
|
+
|
|
1415
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1416
|
+
|
|
1417
|
+
var $Error = Error;
|
|
1418
|
+
var replace = uncurryThis$4(''.replace);
|
|
1419
|
+
|
|
1420
|
+
var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
|
|
1421
|
+
// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
|
|
1422
|
+
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
1423
|
+
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
|
1424
|
+
|
|
1425
|
+
var errorStackClear = function (stack, dropEntries) {
|
|
1426
|
+
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
|
|
1427
|
+
while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
|
|
1428
|
+
} return stack;
|
|
1429
|
+
};
|
|
1430
|
+
|
|
1431
|
+
var fails$6 = fails$f;
|
|
1432
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$5;
|
|
1433
|
+
|
|
1434
|
+
var errorStackInstallable = !fails$6(function () {
|
|
1435
|
+
var error = new Error('a');
|
|
1436
|
+
if (!('stack' in error)) return true;
|
|
1437
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1438
|
+
Object.defineProperty(error, 'stack', createPropertyDescriptor$2(1, 7));
|
|
1439
|
+
return error.stack !== 7;
|
|
1440
|
+
});
|
|
1441
|
+
|
|
1442
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
|
|
1443
|
+
var clearErrorStack = errorStackClear;
|
|
1444
|
+
var ERROR_STACK_INSTALLABLE = errorStackInstallable;
|
|
1445
|
+
|
|
1446
|
+
// non-standard V8
|
|
1447
|
+
// eslint-disable-next-line es/no-nonstandard-error-properties -- safe
|
|
1448
|
+
var captureStackTrace = Error.captureStackTrace;
|
|
1449
|
+
|
|
1450
|
+
var errorStackInstall = function (error, C, stack, dropEntries) {
|
|
1451
|
+
if (ERROR_STACK_INSTALLABLE) {
|
|
1452
|
+
if (captureStackTrace) captureStackTrace(error, C);
|
|
1453
|
+
else createNonEnumerableProperty$4(error, 'stack', clearErrorStack(stack, dropEntries));
|
|
1454
|
+
}
|
|
1455
|
+
};
|
|
1456
|
+
|
|
1457
|
+
var getBuiltIn$2 = getBuiltIn$5;
|
|
1458
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1459
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
|
|
1460
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
1461
|
+
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
1462
|
+
var copyConstructorProperties = copyConstructorProperties$2;
|
|
1463
|
+
var proxyAccessor = proxyAccessor$1;
|
|
1464
|
+
var inheritIfRequired = inheritIfRequired$1;
|
|
1465
|
+
var normalizeStringArgument = normalizeStringArgument$1;
|
|
1466
|
+
var installErrorCause = installErrorCause$1;
|
|
1467
|
+
var installErrorStack = errorStackInstall;
|
|
1468
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1469
|
+
|
|
1470
|
+
var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
1471
|
+
var STACK_TRACE_LIMIT = 'stackTraceLimit';
|
|
1472
|
+
var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
|
|
1473
|
+
var path = FULL_NAME.split('.');
|
|
1474
|
+
var ERROR_NAME = path[path.length - 1];
|
|
1475
|
+
var OriginalError = getBuiltIn$2.apply(null, path);
|
|
1476
|
+
|
|
1477
|
+
if (!OriginalError) return;
|
|
1478
|
+
|
|
1479
|
+
var OriginalErrorPrototype = OriginalError.prototype;
|
|
1480
|
+
|
|
1481
|
+
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
|
|
1482
|
+
if (hasOwn$3(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
|
|
1483
|
+
|
|
1484
|
+
if (!FORCED) return OriginalError;
|
|
1485
|
+
|
|
1486
|
+
var BaseError = getBuiltIn$2('Error');
|
|
1487
|
+
|
|
1488
|
+
var WrappedError = wrapper(function (a, b) {
|
|
1489
|
+
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
1490
|
+
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
1491
|
+
if (message !== undefined) createNonEnumerableProperty$3(result, 'message', message);
|
|
1492
|
+
installErrorStack(result, WrappedError, result.stack, 2);
|
|
1493
|
+
if (this && isPrototypeOf$2(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
|
|
1494
|
+
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
1495
|
+
return result;
|
|
1496
|
+
});
|
|
1497
|
+
|
|
1498
|
+
WrappedError.prototype = OriginalErrorPrototype;
|
|
1499
|
+
|
|
1500
|
+
if (ERROR_NAME !== 'Error') {
|
|
1501
|
+
if (setPrototypeOf$1) setPrototypeOf$1(WrappedError, BaseError);
|
|
1502
|
+
else copyConstructorProperties(WrappedError, BaseError, { name: true });
|
|
1503
|
+
} else if (DESCRIPTORS$4 && STACK_TRACE_LIMIT in OriginalError) {
|
|
1504
|
+
proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
|
|
1505
|
+
proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
copyConstructorProperties(WrappedError, OriginalError);
|
|
1509
|
+
|
|
1510
|
+
try {
|
|
1511
|
+
// Safari 13- bug: WebAssembly errors does not have a proper `.name`
|
|
1512
|
+
if (OriginalErrorPrototype.name !== ERROR_NAME) {
|
|
1513
|
+
createNonEnumerableProperty$3(OriginalErrorPrototype, 'name', ERROR_NAME);
|
|
1514
|
+
}
|
|
1515
|
+
OriginalErrorPrototype.constructor = WrappedError;
|
|
1516
|
+
} catch (error) { /* empty */ }
|
|
1517
|
+
|
|
1518
|
+
return WrappedError;
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1521
|
+
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
1522
|
+
var $$d = _export;
|
|
1523
|
+
var globalThis$4 = globalThis_1;
|
|
1524
|
+
var apply$1 = functionApply;
|
|
1525
|
+
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
1526
|
+
|
|
1527
|
+
var WEB_ASSEMBLY = 'WebAssembly';
|
|
1528
|
+
var WebAssembly = globalThis$4[WEB_ASSEMBLY];
|
|
1529
|
+
|
|
1530
|
+
// eslint-disable-next-line es/no-error-cause -- feature detection
|
|
1531
|
+
var FORCED$5 = new Error('e', { cause: 7 }).cause !== 7;
|
|
1532
|
+
|
|
1533
|
+
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1534
|
+
var O = {};
|
|
1535
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$5);
|
|
1536
|
+
$$d({ global: true, constructor: true, arity: 1, forced: FORCED$5 }, O);
|
|
1537
|
+
};
|
|
1538
|
+
|
|
1539
|
+
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1540
|
+
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
1541
|
+
var O = {};
|
|
1542
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$5);
|
|
1543
|
+
$$d({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$5 }, O);
|
|
1544
|
+
}
|
|
1545
|
+
};
|
|
1546
|
+
|
|
1547
|
+
// https://tc39.es/ecma262/#sec-nativeerror
|
|
1548
|
+
exportGlobalErrorCauseWrapper('Error', function (init) {
|
|
1549
|
+
return function Error(message) { return apply$1(init, this, arguments); };
|
|
1550
|
+
});
|
|
1551
|
+
exportGlobalErrorCauseWrapper('EvalError', function (init) {
|
|
1552
|
+
return function EvalError(message) { return apply$1(init, this, arguments); };
|
|
1553
|
+
});
|
|
1554
|
+
exportGlobalErrorCauseWrapper('RangeError', function (init) {
|
|
1555
|
+
return function RangeError(message) { return apply$1(init, this, arguments); };
|
|
1556
|
+
});
|
|
1557
|
+
exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
|
|
1558
|
+
return function ReferenceError(message) { return apply$1(init, this, arguments); };
|
|
1559
|
+
});
|
|
1560
|
+
exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
|
|
1561
|
+
return function SyntaxError(message) { return apply$1(init, this, arguments); };
|
|
1562
|
+
});
|
|
1563
|
+
exportGlobalErrorCauseWrapper('TypeError', function (init) {
|
|
1564
|
+
return function TypeError(message) { return apply$1(init, this, arguments); };
|
|
1565
|
+
});
|
|
1566
|
+
exportGlobalErrorCauseWrapper('URIError', function (init) {
|
|
1567
|
+
return function URIError(message) { return apply$1(init, this, arguments); };
|
|
1568
|
+
});
|
|
1569
|
+
exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
|
|
1570
|
+
return function CompileError(message) { return apply$1(init, this, arguments); };
|
|
1571
|
+
});
|
|
1572
|
+
exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
|
|
1573
|
+
return function LinkError(message) { return apply$1(init, this, arguments); };
|
|
1574
|
+
});
|
|
1575
|
+
exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
1576
|
+
return function RuntimeError(message) { return apply$1(init, this, arguments); };
|
|
1577
|
+
});
|
|
1578
|
+
|
|
1252
1579
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
1253
1580
|
|
|
1254
1581
|
var $TypeError$5 = TypeError;
|
|
@@ -1258,7 +1585,7 @@ var anInstance$1 = function (it, Prototype) {
|
|
|
1258
1585
|
throw new $TypeError$5('Incorrect invocation');
|
|
1259
1586
|
};
|
|
1260
1587
|
|
|
1261
|
-
var fails$5 = fails$
|
|
1588
|
+
var fails$5 = fails$f;
|
|
1262
1589
|
|
|
1263
1590
|
var correctPrototypeGetter = !fails$5(function () {
|
|
1264
1591
|
function F() { /* empty */ }
|
|
@@ -1267,43 +1594,43 @@ var correctPrototypeGetter = !fails$5(function () {
|
|
|
1267
1594
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1268
1595
|
});
|
|
1269
1596
|
|
|
1270
|
-
var hasOwn$
|
|
1271
|
-
var isCallable$3 = isCallable$
|
|
1597
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
1598
|
+
var isCallable$3 = isCallable$g;
|
|
1272
1599
|
var toObject = toObject$2;
|
|
1273
1600
|
var sharedKey$1 = sharedKey$3;
|
|
1274
1601
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1275
1602
|
|
|
1276
1603
|
var IE_PROTO$1 = sharedKey$1('IE_PROTO');
|
|
1277
|
-
var $Object
|
|
1278
|
-
var ObjectPrototype = $Object
|
|
1604
|
+
var $Object = Object;
|
|
1605
|
+
var ObjectPrototype = $Object.prototype;
|
|
1279
1606
|
|
|
1280
1607
|
// `Object.getPrototypeOf` method
|
|
1281
1608
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1282
1609
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1283
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object
|
|
1610
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
1284
1611
|
var object = toObject(O);
|
|
1285
|
-
if (hasOwn$
|
|
1612
|
+
if (hasOwn$2(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
1286
1613
|
var constructor = object.constructor;
|
|
1287
1614
|
if (isCallable$3(constructor) && object instanceof constructor) {
|
|
1288
1615
|
return constructor.prototype;
|
|
1289
|
-
} return object instanceof $Object
|
|
1616
|
+
} return object instanceof $Object ? ObjectPrototype : null;
|
|
1290
1617
|
};
|
|
1291
1618
|
|
|
1292
1619
|
var makeBuiltIn = makeBuiltInExports;
|
|
1293
|
-
var defineProperty = objectDefineProperty;
|
|
1620
|
+
var defineProperty$3 = objectDefineProperty;
|
|
1294
1621
|
|
|
1295
1622
|
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
1296
1623
|
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
1297
1624
|
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
1298
|
-
return defineProperty.f(target, name, descriptor);
|
|
1625
|
+
return defineProperty$3.f(target, name, descriptor);
|
|
1299
1626
|
};
|
|
1300
1627
|
|
|
1301
|
-
var DESCRIPTORS$
|
|
1628
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1302
1629
|
var definePropertyModule$1 = objectDefineProperty;
|
|
1303
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
1630
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
1304
1631
|
|
|
1305
|
-
var createProperty$
|
|
1306
|
-
if (DESCRIPTORS$
|
|
1632
|
+
var createProperty$2 = function (object, key, value) {
|
|
1633
|
+
if (DESCRIPTORS$3) definePropertyModule$1.f(object, key, createPropertyDescriptor$1(0, value));
|
|
1307
1634
|
else object[key] = value;
|
|
1308
1635
|
};
|
|
1309
1636
|
|
|
@@ -1319,19 +1646,19 @@ var objectKeys$1 = Object.keys || function keys(O) {
|
|
|
1319
1646
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1320
1647
|
};
|
|
1321
1648
|
|
|
1322
|
-
var DESCRIPTORS$
|
|
1649
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1323
1650
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1324
1651
|
var definePropertyModule = objectDefineProperty;
|
|
1325
1652
|
var anObject$a = anObject$d;
|
|
1326
|
-
var toIndexedObject = toIndexedObject$
|
|
1653
|
+
var toIndexedObject$1 = toIndexedObject$5;
|
|
1327
1654
|
var objectKeys = objectKeys$1;
|
|
1328
1655
|
|
|
1329
1656
|
// `Object.defineProperties` method
|
|
1330
1657
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1331
1658
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1332
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1659
|
+
objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1333
1660
|
anObject$a(O);
|
|
1334
|
-
var props = toIndexedObject(Properties);
|
|
1661
|
+
var props = toIndexedObject$1(Properties);
|
|
1335
1662
|
var keys = objectKeys(Properties);
|
|
1336
1663
|
var length = keys.length;
|
|
1337
1664
|
var index = 0;
|
|
@@ -1340,7 +1667,7 @@ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
1340
1667
|
return O;
|
|
1341
1668
|
};
|
|
1342
1669
|
|
|
1343
|
-
var getBuiltIn$1 = getBuiltIn$
|
|
1670
|
+
var getBuiltIn$1 = getBuiltIn$5;
|
|
1344
1671
|
|
|
1345
1672
|
var html$1 = getBuiltIn$1('document', 'documentElement');
|
|
1346
1673
|
|
|
@@ -1350,7 +1677,7 @@ var definePropertiesModule = objectDefineProperties;
|
|
|
1350
1677
|
var enumBugKeys = enumBugKeys$3;
|
|
1351
1678
|
var hiddenKeys = hiddenKeys$4;
|
|
1352
1679
|
var html = html$1;
|
|
1353
|
-
var documentCreateElement = documentCreateElement$
|
|
1680
|
+
var documentCreateElement$1 = documentCreateElement$2;
|
|
1354
1681
|
var sharedKey = sharedKey$3;
|
|
1355
1682
|
|
|
1356
1683
|
var GT = '>';
|
|
@@ -1378,7 +1705,7 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
|
1378
1705
|
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
1379
1706
|
var NullProtoObjectViaIFrame = function () {
|
|
1380
1707
|
// Thrash, waste and sodomy: IE GC bug
|
|
1381
|
-
var iframe = documentCreateElement('iframe');
|
|
1708
|
+
var iframe = documentCreateElement$1('iframe');
|
|
1382
1709
|
var JS = 'java' + SCRIPT + ':';
|
|
1383
1710
|
var iframeDocument;
|
|
1384
1711
|
iframe.style.display = 'none';
|
|
@@ -1429,204 +1756,168 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1429
1756
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1430
1757
|
};
|
|
1431
1758
|
|
|
1432
|
-
var fails$4 = fails$
|
|
1433
|
-
var isCallable$2 = isCallable$
|
|
1434
|
-
var isObject = isObject$
|
|
1435
|
-
var getPrototypeOf$
|
|
1436
|
-
var defineBuiltIn$
|
|
1437
|
-
var wellKnownSymbol$
|
|
1759
|
+
var fails$4 = fails$f;
|
|
1760
|
+
var isCallable$2 = isCallable$g;
|
|
1761
|
+
var isObject = isObject$a;
|
|
1762
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
1763
|
+
var defineBuiltIn$2 = defineBuiltIn$4;
|
|
1764
|
+
var wellKnownSymbol$8 = wellKnownSymbol$c;
|
|
1438
1765
|
|
|
1439
|
-
var ITERATOR$
|
|
1766
|
+
var ITERATOR$5 = wellKnownSymbol$8('iterator');
|
|
1767
|
+
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1440
1768
|
|
|
1441
1769
|
// `%IteratorPrototype%` object
|
|
1442
1770
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1443
|
-
var IteratorPrototype$
|
|
1771
|
+
var IteratorPrototype$4, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1444
1772
|
|
|
1445
1773
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1446
1774
|
if ([].keys) {
|
|
1447
1775
|
arrayIterator = [].keys();
|
|
1448
1776
|
// Safari 8 has buggy iterators w/o `next`
|
|
1449
|
-
if (!('next' in arrayIterator)) ;
|
|
1777
|
+
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
1450
1778
|
else {
|
|
1451
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
1452
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
1779
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
1780
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$4 = PrototypeOfArrayIteratorPrototype;
|
|
1453
1781
|
}
|
|
1454
1782
|
}
|
|
1455
1783
|
|
|
1456
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$
|
|
1784
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$4) || fails$4(function () {
|
|
1457
1785
|
var test = {};
|
|
1458
1786
|
// FF44- legacy iterators case
|
|
1459
|
-
return IteratorPrototype$
|
|
1787
|
+
return IteratorPrototype$4[ITERATOR$5].call(test) !== test;
|
|
1460
1788
|
});
|
|
1461
1789
|
|
|
1462
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
1790
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
|
|
1463
1791
|
|
|
1464
1792
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1465
1793
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1466
|
-
if (!isCallable$2(IteratorPrototype$
|
|
1467
|
-
defineBuiltIn$
|
|
1794
|
+
if (!isCallable$2(IteratorPrototype$4[ITERATOR$5])) {
|
|
1795
|
+
defineBuiltIn$2(IteratorPrototype$4, ITERATOR$5, function () {
|
|
1468
1796
|
return this;
|
|
1469
1797
|
});
|
|
1470
1798
|
}
|
|
1471
1799
|
|
|
1472
1800
|
var iteratorsCore = {
|
|
1473
|
-
IteratorPrototype: IteratorPrototype$
|
|
1801
|
+
IteratorPrototype: IteratorPrototype$4,
|
|
1802
|
+
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1803
|
+
};
|
|
1474
1804
|
|
|
1475
|
-
var $$
|
|
1476
|
-
var globalThis$
|
|
1805
|
+
var $$c = _export;
|
|
1806
|
+
var globalThis$3 = globalThis_1;
|
|
1477
1807
|
var anInstance = anInstance$1;
|
|
1478
1808
|
var anObject$8 = anObject$d;
|
|
1479
|
-
var isCallable$1 = isCallable$
|
|
1480
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
1809
|
+
var isCallable$1 = isCallable$g;
|
|
1810
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1481
1811
|
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
1482
|
-
var createProperty = createProperty$
|
|
1483
|
-
var fails$3 = fails$
|
|
1484
|
-
var hasOwn = hasOwnProperty_1;
|
|
1485
|
-
var wellKnownSymbol$
|
|
1486
|
-
var IteratorPrototype$
|
|
1487
|
-
var DESCRIPTORS = descriptors;
|
|
1812
|
+
var createProperty$1 = createProperty$2;
|
|
1813
|
+
var fails$3 = fails$f;
|
|
1814
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
1815
|
+
var wellKnownSymbol$7 = wellKnownSymbol$c;
|
|
1816
|
+
var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
|
|
1817
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1488
1818
|
|
|
1489
1819
|
var CONSTRUCTOR = 'constructor';
|
|
1490
|
-
var ITERATOR$
|
|
1491
|
-
var TO_STRING_TAG$
|
|
1820
|
+
var ITERATOR$4 = 'Iterator';
|
|
1821
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$7('toStringTag');
|
|
1492
1822
|
|
|
1493
1823
|
var $TypeError$4 = TypeError;
|
|
1494
|
-
var NativeIterator = globalThis$
|
|
1824
|
+
var NativeIterator = globalThis$3[ITERATOR$4];
|
|
1495
1825
|
|
|
1496
1826
|
// FF56- have non-standard global helper `Iterator`
|
|
1497
1827
|
var FORCED$4 = !isCallable$1(NativeIterator)
|
|
1498
|
-
|| NativeIterator.prototype !== IteratorPrototype$
|
|
1828
|
+
|| NativeIterator.prototype !== IteratorPrototype$3
|
|
1499
1829
|
// FF44- non-standard `Iterator` passes previous tests
|
|
1500
1830
|
|| !fails$3(function () { NativeIterator({}); });
|
|
1501
1831
|
|
|
1502
1832
|
var IteratorConstructor = function Iterator() {
|
|
1503
|
-
anInstance(this, IteratorPrototype$
|
|
1504
|
-
if (getPrototypeOf(this) === IteratorPrototype$
|
|
1833
|
+
anInstance(this, IteratorPrototype$3);
|
|
1834
|
+
if (getPrototypeOf$1(this) === IteratorPrototype$3) throw new $TypeError$4('Abstract class Iterator not directly constructable');
|
|
1505
1835
|
};
|
|
1506
1836
|
|
|
1507
1837
|
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
1508
|
-
if (DESCRIPTORS) {
|
|
1509
|
-
defineBuiltInAccessor(IteratorPrototype$
|
|
1838
|
+
if (DESCRIPTORS$1) {
|
|
1839
|
+
defineBuiltInAccessor(IteratorPrototype$3, key, {
|
|
1510
1840
|
configurable: true,
|
|
1511
1841
|
get: function () {
|
|
1512
1842
|
return value;
|
|
1513
1843
|
},
|
|
1514
1844
|
set: function (replacement) {
|
|
1515
1845
|
anObject$8(this);
|
|
1516
|
-
if (this === IteratorPrototype$
|
|
1517
|
-
if (hasOwn(this, key)) this[key] = replacement;
|
|
1518
|
-
else createProperty(this, key, replacement);
|
|
1846
|
+
if (this === IteratorPrototype$3) throw new $TypeError$4("You can't redefine this property");
|
|
1847
|
+
if (hasOwn$1(this, key)) this[key] = replacement;
|
|
1848
|
+
else createProperty$1(this, key, replacement);
|
|
1519
1849
|
}
|
|
1520
1850
|
});
|
|
1521
|
-
} else IteratorPrototype$
|
|
1851
|
+
} else IteratorPrototype$3[key] = value;
|
|
1522
1852
|
};
|
|
1523
1853
|
|
|
1524
|
-
if (!hasOwn(IteratorPrototype$
|
|
1854
|
+
if (!hasOwn$1(IteratorPrototype$3, TO_STRING_TAG$2)) defineIteratorPrototypeAccessor(TO_STRING_TAG$2, ITERATOR$4);
|
|
1525
1855
|
|
|
1526
|
-
if (FORCED$4 || !hasOwn(IteratorPrototype$
|
|
1856
|
+
if (FORCED$4 || !hasOwn$1(IteratorPrototype$3, CONSTRUCTOR) || IteratorPrototype$3[CONSTRUCTOR] === Object) {
|
|
1527
1857
|
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
1528
1858
|
}
|
|
1529
1859
|
|
|
1530
|
-
IteratorConstructor.prototype = IteratorPrototype$
|
|
1860
|
+
IteratorConstructor.prototype = IteratorPrototype$3;
|
|
1531
1861
|
|
|
1532
1862
|
// `Iterator` constructor
|
|
1533
1863
|
// https://tc39.es/ecma262/#sec-iterator
|
|
1534
|
-
$$
|
|
1864
|
+
$$c({ global: true, constructor: true, forced: FORCED$4 }, {
|
|
1535
1865
|
Iterator: IteratorConstructor
|
|
1536
1866
|
});
|
|
1537
1867
|
|
|
1538
|
-
var classofRaw
|
|
1539
|
-
var uncurryThis$
|
|
1868
|
+
var classofRaw = classofRaw$2;
|
|
1869
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
1540
1870
|
|
|
1541
1871
|
var functionUncurryThisClause = function (fn) {
|
|
1542
1872
|
// Nashorn bug:
|
|
1543
1873
|
// https://github.com/zloirock/core-js/issues/1128
|
|
1544
1874
|
// https://github.com/zloirock/core-js/issues/1130
|
|
1545
|
-
if (classofRaw
|
|
1875
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$3(fn);
|
|
1546
1876
|
};
|
|
1547
1877
|
|
|
1548
|
-
var uncurryThis$
|
|
1549
|
-
var aCallable$
|
|
1550
|
-
var NATIVE_BIND
|
|
1878
|
+
var uncurryThis$2 = functionUncurryThisClause;
|
|
1879
|
+
var aCallable$5 = aCallable$8;
|
|
1880
|
+
var NATIVE_BIND = functionBindNative;
|
|
1551
1881
|
|
|
1552
|
-
var bind$1 = uncurryThis$
|
|
1882
|
+
var bind$1 = uncurryThis$2(uncurryThis$2.bind);
|
|
1553
1883
|
|
|
1554
1884
|
// optional / simple context binding
|
|
1555
1885
|
var functionBindContext = function (fn, that) {
|
|
1556
|
-
aCallable$
|
|
1557
|
-
return that === undefined ? fn : NATIVE_BIND
|
|
1886
|
+
aCallable$5(fn);
|
|
1887
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
1558
1888
|
return fn.apply(that, arguments);
|
|
1559
1889
|
};
|
|
1560
1890
|
};
|
|
1561
1891
|
|
|
1562
1892
|
var iterators = {};
|
|
1563
1893
|
|
|
1564
|
-
var wellKnownSymbol$
|
|
1565
|
-
var Iterators$
|
|
1894
|
+
var wellKnownSymbol$6 = wellKnownSymbol$c;
|
|
1895
|
+
var Iterators$4 = iterators;
|
|
1566
1896
|
|
|
1567
|
-
var ITERATOR$
|
|
1568
|
-
var ArrayPrototype = Array.prototype;
|
|
1897
|
+
var ITERATOR$3 = wellKnownSymbol$6('iterator');
|
|
1898
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
1569
1899
|
|
|
1570
1900
|
// check on default Array iterator
|
|
1571
1901
|
var isArrayIteratorMethod$1 = function (it) {
|
|
1572
|
-
return it !== undefined && (Iterators$
|
|
1902
|
+
return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$3] === it);
|
|
1573
1903
|
};
|
|
1574
1904
|
|
|
1575
|
-
var
|
|
1576
|
-
|
|
1577
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$3('toStringTag');
|
|
1578
|
-
var test = {};
|
|
1579
|
-
|
|
1580
|
-
test[TO_STRING_TAG$2] = 'z';
|
|
1581
|
-
|
|
1582
|
-
var toStringTagSupport = String(test) === '[object z]';
|
|
1583
|
-
|
|
1584
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1585
|
-
var isCallable = isCallable$e;
|
|
1586
|
-
var classofRaw = classofRaw$2;
|
|
1587
|
-
var wellKnownSymbol$2 = wellKnownSymbol$8;
|
|
1588
|
-
|
|
1589
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
|
|
1590
|
-
var $Object = Object;
|
|
1591
|
-
|
|
1592
|
-
// ES3 wrong here
|
|
1593
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
1594
|
-
|
|
1595
|
-
// fallback for IE11 Script Access Denied error
|
|
1596
|
-
var tryGet = function (it, key) {
|
|
1597
|
-
try {
|
|
1598
|
-
return it[key];
|
|
1599
|
-
} catch (error) { /* empty */ }
|
|
1600
|
-
};
|
|
1601
|
-
|
|
1602
|
-
// getting tag from ES6+ `Object.prototype.toString`
|
|
1603
|
-
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
1604
|
-
var O, tag, result;
|
|
1605
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1606
|
-
// @@toStringTag case
|
|
1607
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$1)) == 'string' ? tag
|
|
1608
|
-
// builtinTag case
|
|
1609
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1610
|
-
// ES3 arguments fallback
|
|
1611
|
-
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
1612
|
-
};
|
|
1613
|
-
|
|
1614
|
-
var classof = classof$1;
|
|
1905
|
+
var classof = classof$2;
|
|
1615
1906
|
var getMethod$2 = getMethod$4;
|
|
1616
1907
|
var isNullOrUndefined = isNullOrUndefined$3;
|
|
1617
|
-
var Iterators = iterators;
|
|
1618
|
-
var wellKnownSymbol$
|
|
1908
|
+
var Iterators$3 = iterators;
|
|
1909
|
+
var wellKnownSymbol$5 = wellKnownSymbol$c;
|
|
1619
1910
|
|
|
1620
|
-
var ITERATOR = wellKnownSymbol$
|
|
1911
|
+
var ITERATOR$2 = wellKnownSymbol$5('iterator');
|
|
1621
1912
|
|
|
1622
1913
|
var getIteratorMethod$2 = function (it) {
|
|
1623
|
-
if (!isNullOrUndefined(it)) return getMethod$2(it, ITERATOR)
|
|
1914
|
+
if (!isNullOrUndefined(it)) return getMethod$2(it, ITERATOR$2)
|
|
1624
1915
|
|| getMethod$2(it, '@@iterator')
|
|
1625
|
-
|| Iterators[classof(it)];
|
|
1916
|
+
|| Iterators$3[classof(it)];
|
|
1626
1917
|
};
|
|
1627
1918
|
|
|
1628
1919
|
var call$8 = functionCall;
|
|
1629
|
-
var aCallable$
|
|
1920
|
+
var aCallable$4 = aCallable$8;
|
|
1630
1921
|
var anObject$7 = anObject$d;
|
|
1631
1922
|
var tryToString$1 = tryToString$3;
|
|
1632
1923
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
@@ -1635,7 +1926,7 @@ var $TypeError$3 = TypeError;
|
|
|
1635
1926
|
|
|
1636
1927
|
var getIterator$1 = function (argument, usingIterator) {
|
|
1637
1928
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
1638
|
-
if (aCallable$
|
|
1929
|
+
if (aCallable$4(iteratorMethod)) return anObject$7(call$8(iteratorMethod, argument));
|
|
1639
1930
|
throw new $TypeError$3(tryToString$1(argument) + ' is not iterable');
|
|
1640
1931
|
};
|
|
1641
1932
|
|
|
@@ -1683,7 +1974,7 @@ var Result = function (stopped, result) {
|
|
|
1683
1974
|
|
|
1684
1975
|
var ResultPrototype = Result.prototype;
|
|
1685
1976
|
|
|
1686
|
-
var iterate$
|
|
1977
|
+
var iterate$5 = function (iterable, unboundFunction, options) {
|
|
1687
1978
|
var that = options && options.that;
|
|
1688
1979
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
1689
1980
|
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
@@ -1742,11 +2033,11 @@ var getIteratorDirect$4 = function (obj) {
|
|
|
1742
2033
|
};
|
|
1743
2034
|
};
|
|
1744
2035
|
|
|
1745
|
-
var globalThis$
|
|
2036
|
+
var globalThis$2 = globalThis_1;
|
|
1746
2037
|
|
|
1747
2038
|
// https://github.com/tc39/ecma262/pull/3467
|
|
1748
2039
|
var iteratorHelperWithoutClosingOnEarlyError$3 = function (METHOD_NAME, ExpectedError) {
|
|
1749
|
-
var Iterator = globalThis$
|
|
2040
|
+
var Iterator = globalThis$2.Iterator;
|
|
1750
2041
|
var IteratorPrototype = Iterator && Iterator.prototype;
|
|
1751
2042
|
var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
|
|
1752
2043
|
|
|
@@ -1765,10 +2056,10 @@ var iteratorHelperWithoutClosingOnEarlyError$3 = function (METHOD_NAME, Expected
|
|
|
1765
2056
|
if (!CLOSED) return method;
|
|
1766
2057
|
};
|
|
1767
2058
|
|
|
1768
|
-
var $$
|
|
2059
|
+
var $$b = _export;
|
|
1769
2060
|
var call$5 = functionCall;
|
|
1770
|
-
var iterate$
|
|
1771
|
-
var aCallable$
|
|
2061
|
+
var iterate$4 = iterate$5;
|
|
2062
|
+
var aCallable$3 = aCallable$8;
|
|
1772
2063
|
var anObject$4 = anObject$d;
|
|
1773
2064
|
var getIteratorDirect$3 = getIteratorDirect$4;
|
|
1774
2065
|
var iteratorClose$7 = iteratorClose$9;
|
|
@@ -1778,11 +2069,11 @@ var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError
|
|
|
1778
2069
|
|
|
1779
2070
|
// `Iterator.prototype.forEach` method
|
|
1780
2071
|
// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
|
|
1781
|
-
$$
|
|
2072
|
+
$$b({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
|
|
1782
2073
|
forEach: function forEach(fn) {
|
|
1783
2074
|
anObject$4(this);
|
|
1784
2075
|
try {
|
|
1785
|
-
aCallable$
|
|
2076
|
+
aCallable$3(fn);
|
|
1786
2077
|
} catch (error) {
|
|
1787
2078
|
iteratorClose$7(this, 'throw', error);
|
|
1788
2079
|
}
|
|
@@ -1791,22 +2082,22 @@ $$9({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosing
|
|
|
1791
2082
|
|
|
1792
2083
|
var record = getIteratorDirect$3(this);
|
|
1793
2084
|
var counter = 0;
|
|
1794
|
-
iterate$
|
|
2085
|
+
iterate$4(record, function (value) {
|
|
1795
2086
|
fn(value, counter++);
|
|
1796
2087
|
}, { IS_RECORD: true });
|
|
1797
2088
|
}
|
|
1798
2089
|
});
|
|
1799
2090
|
|
|
1800
|
-
var defineBuiltIn = defineBuiltIn$
|
|
2091
|
+
var defineBuiltIn$1 = defineBuiltIn$4;
|
|
1801
2092
|
|
|
1802
2093
|
var defineBuiltIns$1 = function (target, src, options) {
|
|
1803
|
-
for (var key in src) defineBuiltIn(target, key, src[key], options);
|
|
2094
|
+
for (var key in src) defineBuiltIn$1(target, key, src[key], options);
|
|
1804
2095
|
return target;
|
|
1805
2096
|
};
|
|
1806
2097
|
|
|
1807
2098
|
// `CreateIterResultObject` abstract operation
|
|
1808
2099
|
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1809
|
-
var createIterResultObject$
|
|
2100
|
+
var createIterResultObject$2 = function (value, done) {
|
|
1810
2101
|
return { value: value, done: done };
|
|
1811
2102
|
};
|
|
1812
2103
|
|
|
@@ -1827,38 +2118,38 @@ var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
|
1827
2118
|
};
|
|
1828
2119
|
|
|
1829
2120
|
var call$4 = functionCall;
|
|
1830
|
-
var create = objectCreate;
|
|
1831
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
2121
|
+
var create$2 = objectCreate;
|
|
2122
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$8;
|
|
1832
2123
|
var defineBuiltIns = defineBuiltIns$1;
|
|
1833
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
1834
|
-
var InternalStateModule = internalState;
|
|
2124
|
+
var wellKnownSymbol$4 = wellKnownSymbol$c;
|
|
2125
|
+
var InternalStateModule$1 = internalState;
|
|
1835
2126
|
var getMethod = getMethod$4;
|
|
1836
|
-
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
1837
|
-
var createIterResultObject = createIterResultObject$
|
|
2127
|
+
var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
|
|
2128
|
+
var createIterResultObject$1 = createIterResultObject$2;
|
|
1838
2129
|
var iteratorClose$5 = iteratorClose$9;
|
|
1839
2130
|
var iteratorCloseAll = iteratorCloseAll$1;
|
|
1840
2131
|
|
|
1841
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
2132
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
|
|
1842
2133
|
var ITERATOR_HELPER = 'IteratorHelper';
|
|
1843
2134
|
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
1844
2135
|
var NORMAL = 'normal';
|
|
1845
2136
|
var THROW = 'throw';
|
|
1846
|
-
var setInternalState = InternalStateModule.set;
|
|
2137
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
1847
2138
|
|
|
1848
2139
|
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
1849
|
-
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
2140
|
+
var getInternalState = InternalStateModule$1.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
1850
2141
|
|
|
1851
|
-
return defineBuiltIns(create(IteratorPrototype), {
|
|
2142
|
+
return defineBuiltIns(create$2(IteratorPrototype$2), {
|
|
1852
2143
|
next: function next() {
|
|
1853
2144
|
var state = getInternalState(this);
|
|
1854
2145
|
// for simplification:
|
|
1855
2146
|
// for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
|
|
1856
2147
|
// for `%IteratorHelperPrototype%.next` - just a value
|
|
1857
2148
|
if (IS_ITERATOR) return state.nextHandler();
|
|
1858
|
-
if (state.done) return createIterResultObject(undefined, true);
|
|
2149
|
+
if (state.done) return createIterResultObject$1(undefined, true);
|
|
1859
2150
|
try {
|
|
1860
2151
|
var result = state.nextHandler();
|
|
1861
|
-
return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
|
|
2152
|
+
return state.returnHandlerResult ? result : createIterResultObject$1(result, state.done);
|
|
1862
2153
|
} catch (error) {
|
|
1863
2154
|
state.done = true;
|
|
1864
2155
|
throw error;
|
|
@@ -1870,7 +2161,7 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
1870
2161
|
state.done = true;
|
|
1871
2162
|
if (IS_ITERATOR) {
|
|
1872
2163
|
var returnMethod = getMethod(iterator, 'return');
|
|
1873
|
-
return returnMethod ? call$4(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
2164
|
+
return returnMethod ? call$4(returnMethod, iterator) : createIterResultObject$1(undefined, true);
|
|
1874
2165
|
}
|
|
1875
2166
|
if (state.inner) try {
|
|
1876
2167
|
iteratorClose$5(state.inner.iterator, NORMAL);
|
|
@@ -1883,7 +2174,7 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
1883
2174
|
return iteratorClose$5(iterator, THROW, error);
|
|
1884
2175
|
}
|
|
1885
2176
|
if (iterator) iteratorClose$5(iterator, NORMAL);
|
|
1886
|
-
return createIterResultObject(undefined, true);
|
|
2177
|
+
return createIterResultObject$1(undefined, true);
|
|
1887
2178
|
}
|
|
1888
2179
|
});
|
|
1889
2180
|
};
|
|
@@ -1891,7 +2182,7 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
1891
2182
|
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
|
1892
2183
|
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
|
1893
2184
|
|
|
1894
|
-
createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
|
2185
|
+
createNonEnumerableProperty$2(IteratorHelperPrototype, TO_STRING_TAG$1, 'Iterator Helper');
|
|
1895
2186
|
|
|
1896
2187
|
var iteratorCreateProxy = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
|
|
1897
2188
|
var IteratorProxy = function Iterator(record, state) {
|
|
@@ -1904,7 +2195,7 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RES
|
|
|
1904
2195
|
state.nextHandler = nextHandler;
|
|
1905
2196
|
state.counter = 0;
|
|
1906
2197
|
state.done = false;
|
|
1907
|
-
setInternalState(this, state);
|
|
2198
|
+
setInternalState$1(this, state);
|
|
1908
2199
|
};
|
|
1909
2200
|
|
|
1910
2201
|
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
|
|
@@ -1936,9 +2227,9 @@ var iteratorHelperThrowsOnInvalidIterator$1 = function (methodName, argument) {
|
|
|
1936
2227
|
}
|
|
1937
2228
|
};
|
|
1938
2229
|
|
|
1939
|
-
var $$
|
|
2230
|
+
var $$a = _export;
|
|
1940
2231
|
var call$3 = functionCall;
|
|
1941
|
-
var aCallable$
|
|
2232
|
+
var aCallable$2 = aCallable$8;
|
|
1942
2233
|
var anObject$2 = anObject$d;
|
|
1943
2234
|
var getIteratorDirect$2 = getIteratorDirect$4;
|
|
1944
2235
|
var createIteratorProxy = iteratorCreateProxy;
|
|
@@ -1962,11 +2253,11 @@ var IteratorProxy = createIteratorProxy(function () {
|
|
|
1962
2253
|
|
|
1963
2254
|
// `Iterator.prototype.map` method
|
|
1964
2255
|
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
1965
|
-
$$
|
|
2256
|
+
$$a({ target: 'Iterator', proto: true, real: true, forced: FORCED$3 }, {
|
|
1966
2257
|
map: function map(mapper) {
|
|
1967
2258
|
anObject$2(this);
|
|
1968
2259
|
try {
|
|
1969
|
-
aCallable$
|
|
2260
|
+
aCallable$2(mapper);
|
|
1970
2261
|
} catch (error) {
|
|
1971
2262
|
iteratorClose$3(this, 'throw', error);
|
|
1972
2263
|
}
|
|
@@ -1979,26 +2270,15 @@ $$8({ target: 'Iterator', proto: true, real: true, forced: FORCED$3 }, {
|
|
|
1979
2270
|
}
|
|
1980
2271
|
});
|
|
1981
2272
|
|
|
1982
|
-
var
|
|
1983
|
-
|
|
1984
|
-
var
|
|
1985
|
-
var apply$1 = FunctionPrototype.apply;
|
|
1986
|
-
var call$2 = FunctionPrototype.call;
|
|
1987
|
-
|
|
1988
|
-
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
1989
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$2.bind(apply$1) : function () {
|
|
1990
|
-
return call$2.apply(apply$1, arguments);
|
|
1991
|
-
});
|
|
1992
|
-
|
|
1993
|
-
var $$7 = _export;
|
|
1994
|
-
var iterate$2 = iterate$4;
|
|
1995
|
-
var aCallable$2 = aCallable$8;
|
|
2273
|
+
var $$9 = _export;
|
|
2274
|
+
var iterate$3 = iterate$5;
|
|
2275
|
+
var aCallable$1 = aCallable$8;
|
|
1996
2276
|
var anObject$1 = anObject$d;
|
|
1997
2277
|
var getIteratorDirect$1 = getIteratorDirect$4;
|
|
1998
2278
|
var iteratorClose$2 = iteratorClose$9;
|
|
1999
2279
|
var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$3;
|
|
2000
2280
|
var apply = functionApply;
|
|
2001
|
-
var fails$2 = fails$
|
|
2281
|
+
var fails$2 = fails$f;
|
|
2002
2282
|
|
|
2003
2283
|
var $TypeError$1 = TypeError;
|
|
2004
2284
|
|
|
@@ -2012,11 +2292,11 @@ var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHe
|
|
|
2012
2292
|
|
|
2013
2293
|
// `Iterator.prototype.reduce` method
|
|
2014
2294
|
// https://tc39.es/ecma262/#sec-iterator.prototype.reduce
|
|
2015
|
-
$$
|
|
2295
|
+
$$9({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError }, {
|
|
2016
2296
|
reduce: function reduce(reducer /* , initialValue */) {
|
|
2017
2297
|
anObject$1(this);
|
|
2018
2298
|
try {
|
|
2019
|
-
aCallable$
|
|
2299
|
+
aCallable$1(reducer);
|
|
2020
2300
|
} catch (error) {
|
|
2021
2301
|
iteratorClose$2(this, 'throw', error);
|
|
2022
2302
|
}
|
|
@@ -2028,7 +2308,7 @@ $$7({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
2028
2308
|
}
|
|
2029
2309
|
var record = getIteratorDirect$1(this);
|
|
2030
2310
|
var counter = 0;
|
|
2031
|
-
iterate$
|
|
2311
|
+
iterate$3(record, function (value) {
|
|
2032
2312
|
if (noInitial) {
|
|
2033
2313
|
noInitial = false;
|
|
2034
2314
|
accumulator = value;
|
|
@@ -2042,7 +2322,23 @@ $$7({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
2042
2322
|
}
|
|
2043
2323
|
});
|
|
2044
2324
|
|
|
2045
|
-
var
|
|
2325
|
+
var $$8 = _export;
|
|
2326
|
+
var iterate$2 = iterate$5;
|
|
2327
|
+
var createProperty = createProperty$2;
|
|
2328
|
+
|
|
2329
|
+
// `Object.fromEntries` method
|
|
2330
|
+
// https://tc39.es/ecma262/#sec-object.fromentries
|
|
2331
|
+
$$8({ target: 'Object', stat: true }, {
|
|
2332
|
+
fromEntries: function fromEntries(iterable) {
|
|
2333
|
+
var obj = {};
|
|
2334
|
+
iterate$2(iterable, function (k, v) {
|
|
2335
|
+
createProperty(obj, k, v);
|
|
2336
|
+
}, { AS_ENTRIES: true });
|
|
2337
|
+
return obj;
|
|
2338
|
+
}
|
|
2339
|
+
});
|
|
2340
|
+
|
|
2341
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
2046
2342
|
|
|
2047
2343
|
// eslint-disable-next-line es/no-set -- safe
|
|
2048
2344
|
var SetPrototype$1 = Set.prototype;
|
|
@@ -2050,9 +2346,9 @@ var SetPrototype$1 = Set.prototype;
|
|
|
2050
2346
|
var setHelpers = {
|
|
2051
2347
|
// eslint-disable-next-line es/no-set -- safe
|
|
2052
2348
|
Set: Set,
|
|
2053
|
-
add: uncurryThis$
|
|
2054
|
-
has: uncurryThis$
|
|
2055
|
-
remove: uncurryThis$
|
|
2349
|
+
add: uncurryThis$1(SetPrototype$1.add),
|
|
2350
|
+
has: uncurryThis$1(SetPrototype$1.has),
|
|
2351
|
+
remove: uncurryThis$1(SetPrototype$1['delete']),
|
|
2056
2352
|
proto: SetPrototype$1
|
|
2057
2353
|
};
|
|
2058
2354
|
|
|
@@ -2064,26 +2360,26 @@ var aSet$7 = function (it) {
|
|
|
2064
2360
|
return it;
|
|
2065
2361
|
};
|
|
2066
2362
|
|
|
2067
|
-
var call$
|
|
2363
|
+
var call$2 = functionCall;
|
|
2068
2364
|
|
|
2069
2365
|
var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
|
|
2070
2366
|
var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
|
|
2071
2367
|
var next = record.next;
|
|
2072
2368
|
var step, result;
|
|
2073
|
-
while (!(step = call$
|
|
2369
|
+
while (!(step = call$2(next, iterator)).done) {
|
|
2074
2370
|
result = fn(step.value);
|
|
2075
2371
|
if (result !== undefined) return result;
|
|
2076
2372
|
}
|
|
2077
2373
|
};
|
|
2078
2374
|
|
|
2079
|
-
var uncurryThis
|
|
2375
|
+
var uncurryThis = functionUncurryThis;
|
|
2080
2376
|
var iterateSimple$6 = iterateSimple$7;
|
|
2081
2377
|
var SetHelpers$5 = setHelpers;
|
|
2082
2378
|
|
|
2083
2379
|
var Set$3 = SetHelpers$5.Set;
|
|
2084
2380
|
var SetPrototype = SetHelpers$5.proto;
|
|
2085
|
-
var forEach = uncurryThis
|
|
2086
|
-
var keys = uncurryThis
|
|
2381
|
+
var forEach = uncurryThis(SetPrototype.forEach);
|
|
2382
|
+
var keys = uncurryThis(SetPrototype.keys);
|
|
2087
2383
|
var next = keys(new Set$3()).next;
|
|
2088
2384
|
|
|
2089
2385
|
var setIterate = function (set, fn, interruptible) {
|
|
@@ -2104,16 +2400,6 @@ var setClone = function (set) {
|
|
|
2104
2400
|
return result;
|
|
2105
2401
|
};
|
|
2106
2402
|
|
|
2107
|
-
var uncurryThis = functionUncurryThis;
|
|
2108
|
-
var aCallable$1 = aCallable$8;
|
|
2109
|
-
|
|
2110
|
-
var functionUncurryThisAccessor = function (object, key, method) {
|
|
2111
|
-
try {
|
|
2112
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2113
|
-
return uncurryThis(aCallable$1(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
2114
|
-
} catch (error) { /* empty */ }
|
|
2115
|
-
};
|
|
2116
|
-
|
|
2117
2403
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
2118
2404
|
var SetHelpers$3 = setHelpers;
|
|
2119
2405
|
|
|
@@ -2123,7 +2409,7 @@ var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function
|
|
|
2123
2409
|
|
|
2124
2410
|
var aCallable = aCallable$8;
|
|
2125
2411
|
var anObject = anObject$d;
|
|
2126
|
-
var call = functionCall;
|
|
2412
|
+
var call$1 = functionCall;
|
|
2127
2413
|
var toIntegerOrInfinity = toIntegerOrInfinity$3;
|
|
2128
2414
|
var getIteratorDirect = getIteratorDirect$4;
|
|
2129
2415
|
|
|
@@ -2141,10 +2427,10 @@ var SetRecord = function (set, intSize) {
|
|
|
2141
2427
|
|
|
2142
2428
|
SetRecord.prototype = {
|
|
2143
2429
|
getIterator: function () {
|
|
2144
|
-
return getIteratorDirect(anObject(call(this.keys, this.set)));
|
|
2430
|
+
return getIteratorDirect(anObject(call$1(this.keys, this.set)));
|
|
2145
2431
|
},
|
|
2146
2432
|
includes: function (it) {
|
|
2147
|
-
return call(this.has, this.set, it);
|
|
2433
|
+
return call$1(this.has, this.set, it);
|
|
2148
2434
|
}
|
|
2149
2435
|
};
|
|
2150
2436
|
|
|
@@ -2187,7 +2473,7 @@ var setDifference = function difference(other) {
|
|
|
2187
2473
|
return result;
|
|
2188
2474
|
};
|
|
2189
2475
|
|
|
2190
|
-
var getBuiltIn = getBuiltIn$
|
|
2476
|
+
var getBuiltIn = getBuiltIn$5;
|
|
2191
2477
|
|
|
2192
2478
|
var createSetLike = function (size) {
|
|
2193
2479
|
return {
|
|
@@ -2247,9 +2533,9 @@ var setMethodAcceptSetLike$7 = function (name, callback) {
|
|
|
2247
2533
|
}
|
|
2248
2534
|
};
|
|
2249
2535
|
|
|
2250
|
-
var $$
|
|
2536
|
+
var $$7 = _export;
|
|
2251
2537
|
var difference = setDifference;
|
|
2252
|
-
var fails$1 = fails$
|
|
2538
|
+
var fails$1 = fails$f;
|
|
2253
2539
|
var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
|
|
2254
2540
|
|
|
2255
2541
|
var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike$6('difference', function (result) {
|
|
@@ -2280,7 +2566,7 @@ var FORCED$2 = SET_LIKE_INCORRECT_BEHAVIOR || fails$1(function () {
|
|
|
2280
2566
|
|
|
2281
2567
|
// `Set.prototype.difference` method
|
|
2282
2568
|
// https://tc39.es/ecma262/#sec-set.prototype.difference
|
|
2283
|
-
$$
|
|
2569
|
+
$$7({ target: 'Set', proto: true, real: true, forced: FORCED$2 }, {
|
|
2284
2570
|
difference: difference
|
|
2285
2571
|
});
|
|
2286
2572
|
|
|
@@ -2315,8 +2601,8 @@ var setIntersection = function intersection(other) {
|
|
|
2315
2601
|
return result;
|
|
2316
2602
|
};
|
|
2317
2603
|
|
|
2318
|
-
var $$
|
|
2319
|
-
var fails = fails$
|
|
2604
|
+
var $$6 = _export;
|
|
2605
|
+
var fails = fails$f;
|
|
2320
2606
|
var intersection = setIntersection;
|
|
2321
2607
|
var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
|
|
2322
2608
|
|
|
@@ -2329,7 +2615,7 @@ var INCORRECT$3 = !setMethodAcceptSetLike$5('intersection', function (result) {
|
|
|
2329
2615
|
|
|
2330
2616
|
// `Set.prototype.intersection` method
|
|
2331
2617
|
// https://tc39.es/ecma262/#sec-set.prototype.intersection
|
|
2332
|
-
$$
|
|
2618
|
+
$$6({ target: 'Set', proto: true, real: true, forced: INCORRECT$3 }, {
|
|
2333
2619
|
intersection: intersection
|
|
2334
2620
|
});
|
|
2335
2621
|
|
|
@@ -2355,7 +2641,7 @@ var setIsDisjointFrom = function isDisjointFrom(other) {
|
|
|
2355
2641
|
}) !== false;
|
|
2356
2642
|
};
|
|
2357
2643
|
|
|
2358
|
-
var $$
|
|
2644
|
+
var $$5 = _export;
|
|
2359
2645
|
var isDisjointFrom = setIsDisjointFrom;
|
|
2360
2646
|
var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
|
|
2361
2647
|
|
|
@@ -2365,7 +2651,7 @@ var INCORRECT$2 = !setMethodAcceptSetLike$4('isDisjointFrom', function (result)
|
|
|
2365
2651
|
|
|
2366
2652
|
// `Set.prototype.isDisjointFrom` method
|
|
2367
2653
|
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
|
|
2368
|
-
$$
|
|
2654
|
+
$$5({ target: 'Set', proto: true, real: true, forced: INCORRECT$2 }, {
|
|
2369
2655
|
isDisjointFrom: isDisjointFrom
|
|
2370
2656
|
});
|
|
2371
2657
|
|
|
@@ -2385,7 +2671,7 @@ var setIsSubsetOf = function isSubsetOf(other) {
|
|
|
2385
2671
|
}, true) !== false;
|
|
2386
2672
|
};
|
|
2387
2673
|
|
|
2388
|
-
var $$
|
|
2674
|
+
var $$4 = _export;
|
|
2389
2675
|
var isSubsetOf = setIsSubsetOf;
|
|
2390
2676
|
var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
|
|
2391
2677
|
|
|
@@ -2395,7 +2681,7 @@ var INCORRECT$1 = !setMethodAcceptSetLike$3('isSubsetOf', function (result) {
|
|
|
2395
2681
|
|
|
2396
2682
|
// `Set.prototype.isSubsetOf` method
|
|
2397
2683
|
// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
|
|
2398
|
-
$$
|
|
2684
|
+
$$4({ target: 'Set', proto: true, real: true, forced: INCORRECT$1 }, {
|
|
2399
2685
|
isSubsetOf: isSubsetOf
|
|
2400
2686
|
});
|
|
2401
2687
|
|
|
@@ -2418,7 +2704,7 @@ var setIsSupersetOf = function isSupersetOf(other) {
|
|
|
2418
2704
|
}) !== false;
|
|
2419
2705
|
};
|
|
2420
2706
|
|
|
2421
|
-
var $$
|
|
2707
|
+
var $$3 = _export;
|
|
2422
2708
|
var isSupersetOf = setIsSupersetOf;
|
|
2423
2709
|
var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
|
|
2424
2710
|
|
|
@@ -2428,7 +2714,7 @@ var INCORRECT = !setMethodAcceptSetLike$2('isSupersetOf', function (result) {
|
|
|
2428
2714
|
|
|
2429
2715
|
// `Set.prototype.isSupersetOf` method
|
|
2430
2716
|
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
|
|
2431
|
-
$$
|
|
2717
|
+
$$3({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
2432
2718
|
isSupersetOf: isSupersetOf
|
|
2433
2719
|
});
|
|
2434
2720
|
|
|
@@ -2485,7 +2771,7 @@ var setMethodGetKeysBeforeCloningDetection = function (METHOD_NAME) {
|
|
|
2485
2771
|
}
|
|
2486
2772
|
};
|
|
2487
2773
|
|
|
2488
|
-
var $$
|
|
2774
|
+
var $$2 = _export;
|
|
2489
2775
|
var symmetricDifference = setSymmetricDifference;
|
|
2490
2776
|
var setMethodGetKeysBeforeCloning$1 = setMethodGetKeysBeforeCloningDetection;
|
|
2491
2777
|
var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
|
|
@@ -2494,7 +2780,7 @@ var FORCED$1 = !setMethodAcceptSetLike$1('symmetricDifference') || !setMethodGet
|
|
|
2494
2780
|
|
|
2495
2781
|
// `Set.prototype.symmetricDifference` method
|
|
2496
2782
|
// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
|
|
2497
|
-
$$
|
|
2783
|
+
$$2({ target: 'Set', proto: true, real: true, forced: FORCED$1 }, {
|
|
2498
2784
|
symmetricDifference: symmetricDifference
|
|
2499
2785
|
});
|
|
2500
2786
|
|
|
@@ -2516,7 +2802,7 @@ var setUnion = function union(other) {
|
|
|
2516
2802
|
return result;
|
|
2517
2803
|
};
|
|
2518
2804
|
|
|
2519
|
-
var
|
|
2805
|
+
var $$1 = _export;
|
|
2520
2806
|
var union = setUnion;
|
|
2521
2807
|
var setMethodGetKeysBeforeCloning = setMethodGetKeysBeforeCloningDetection;
|
|
2522
2808
|
var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
|
|
@@ -2525,10 +2811,302 @@ var FORCED = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning(
|
|
|
2525
2811
|
|
|
2526
2812
|
// `Set.prototype.union` method
|
|
2527
2813
|
// https://tc39.es/ecma262/#sec-set.prototype.union
|
|
2528
|
-
|
|
2814
|
+
$$1({ target: 'Set', proto: true, real: true, forced: FORCED }, {
|
|
2529
2815
|
union: union
|
|
2530
2816
|
});
|
|
2531
2817
|
|
|
2818
|
+
// iterable DOM collections
|
|
2819
|
+
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
2820
|
+
var domIterables = {
|
|
2821
|
+
CSSRuleList: 0,
|
|
2822
|
+
CSSStyleDeclaration: 0,
|
|
2823
|
+
CSSValueList: 0,
|
|
2824
|
+
ClientRectList: 0,
|
|
2825
|
+
DOMRectList: 0,
|
|
2826
|
+
DOMStringList: 0,
|
|
2827
|
+
DOMTokenList: 1,
|
|
2828
|
+
DataTransferItemList: 0,
|
|
2829
|
+
FileList: 0,
|
|
2830
|
+
HTMLAllCollection: 0,
|
|
2831
|
+
HTMLCollection: 0,
|
|
2832
|
+
HTMLFormElement: 0,
|
|
2833
|
+
HTMLSelectElement: 0,
|
|
2834
|
+
MediaList: 0,
|
|
2835
|
+
MimeTypeArray: 0,
|
|
2836
|
+
NamedNodeMap: 0,
|
|
2837
|
+
NodeList: 1,
|
|
2838
|
+
PaintRequestList: 0,
|
|
2839
|
+
Plugin: 0,
|
|
2840
|
+
PluginArray: 0,
|
|
2841
|
+
SVGLengthList: 0,
|
|
2842
|
+
SVGNumberList: 0,
|
|
2843
|
+
SVGPathSegList: 0,
|
|
2844
|
+
SVGPointList: 0,
|
|
2845
|
+
SVGStringList: 0,
|
|
2846
|
+
SVGTransformList: 0,
|
|
2847
|
+
SourceBufferList: 0,
|
|
2848
|
+
StyleSheetList: 0,
|
|
2849
|
+
TextTrackCueList: 0,
|
|
2850
|
+
TextTrackList: 0,
|
|
2851
|
+
TouchList: 0
|
|
2852
|
+
};
|
|
2853
|
+
|
|
2854
|
+
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
|
2855
|
+
var documentCreateElement = documentCreateElement$2;
|
|
2856
|
+
|
|
2857
|
+
var classList = documentCreateElement('span').classList;
|
|
2858
|
+
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
|
2859
|
+
|
|
2860
|
+
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
2861
|
+
|
|
2862
|
+
var wellKnownSymbol$3 = wellKnownSymbol$c;
|
|
2863
|
+
var create$1 = objectCreate;
|
|
2864
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
2865
|
+
|
|
2866
|
+
var UNSCOPABLES = wellKnownSymbol$3('unscopables');
|
|
2867
|
+
var ArrayPrototype = Array.prototype;
|
|
2868
|
+
|
|
2869
|
+
// Array.prototype[@@unscopables]
|
|
2870
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2871
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
2872
|
+
defineProperty$2(ArrayPrototype, UNSCOPABLES, {
|
|
2873
|
+
configurable: true,
|
|
2874
|
+
value: create$1(null)
|
|
2875
|
+
});
|
|
2876
|
+
}
|
|
2877
|
+
|
|
2878
|
+
// add a key to Array.prototype[@@unscopables]
|
|
2879
|
+
var addToUnscopables$1 = function (key) {
|
|
2880
|
+
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
2881
|
+
};
|
|
2882
|
+
|
|
2883
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
2884
|
+
var hasOwn = hasOwnProperty_1;
|
|
2885
|
+
var wellKnownSymbol$2 = wellKnownSymbol$c;
|
|
2886
|
+
|
|
2887
|
+
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
2888
|
+
|
|
2889
|
+
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
2890
|
+
if (target && !STATIC) target = target.prototype;
|
|
2891
|
+
if (target && !hasOwn(target, TO_STRING_TAG)) {
|
|
2892
|
+
defineProperty$1(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
2893
|
+
}
|
|
2894
|
+
};
|
|
2895
|
+
|
|
2896
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
2897
|
+
var create = objectCreate;
|
|
2898
|
+
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
2899
|
+
var setToStringTag$2 = setToStringTag$3;
|
|
2900
|
+
var Iterators$2 = iterators;
|
|
2901
|
+
|
|
2902
|
+
var returnThis$1 = function () { return this; };
|
|
2903
|
+
|
|
2904
|
+
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
2905
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2906
|
+
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
2907
|
+
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
2908
|
+
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
2909
|
+
return IteratorConstructor;
|
|
2910
|
+
};
|
|
2911
|
+
|
|
2912
|
+
var $ = _export;
|
|
2913
|
+
var call = functionCall;
|
|
2914
|
+
var FunctionName = functionName;
|
|
2915
|
+
var isCallable = isCallable$g;
|
|
2916
|
+
var createIteratorConstructor = iteratorCreateConstructor;
|
|
2917
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
2918
|
+
var setPrototypeOf = objectSetPrototypeOf;
|
|
2919
|
+
var setToStringTag$1 = setToStringTag$3;
|
|
2920
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
|
|
2921
|
+
var defineBuiltIn = defineBuiltIn$4;
|
|
2922
|
+
var wellKnownSymbol$1 = wellKnownSymbol$c;
|
|
2923
|
+
var Iterators$1 = iterators;
|
|
2924
|
+
var IteratorsCore = iteratorsCore;
|
|
2925
|
+
|
|
2926
|
+
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
2927
|
+
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
2928
|
+
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
2929
|
+
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
2930
|
+
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
|
2931
|
+
var KEYS = 'keys';
|
|
2932
|
+
var VALUES = 'values';
|
|
2933
|
+
var ENTRIES = 'entries';
|
|
2934
|
+
|
|
2935
|
+
var returnThis = function () { return this; };
|
|
2936
|
+
|
|
2937
|
+
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
2938
|
+
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
2939
|
+
|
|
2940
|
+
var getIterationMethod = function (KIND) {
|
|
2941
|
+
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
2942
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
2943
|
+
|
|
2944
|
+
switch (KIND) {
|
|
2945
|
+
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
2946
|
+
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
2947
|
+
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2950
|
+
return function () { return new IteratorConstructor(this); };
|
|
2951
|
+
};
|
|
2952
|
+
|
|
2953
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2954
|
+
var INCORRECT_VALUES_NAME = false;
|
|
2955
|
+
var IterablePrototype = Iterable.prototype;
|
|
2956
|
+
var nativeIterator = IterablePrototype[ITERATOR$1]
|
|
2957
|
+
|| IterablePrototype['@@iterator']
|
|
2958
|
+
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
2959
|
+
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
2960
|
+
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
2961
|
+
var CurrentIteratorPrototype, methods, KEY;
|
|
2962
|
+
|
|
2963
|
+
// fix native
|
|
2964
|
+
if (anyNativeIterator) {
|
|
2965
|
+
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
2966
|
+
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
2967
|
+
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
2968
|
+
if (setPrototypeOf) {
|
|
2969
|
+
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
2970
|
+
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
|
|
2971
|
+
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
|
|
2972
|
+
}
|
|
2973
|
+
}
|
|
2974
|
+
// Set @@toStringTag to native iterators
|
|
2975
|
+
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
2976
|
+
}
|
|
2977
|
+
}
|
|
2978
|
+
|
|
2979
|
+
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
2980
|
+
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
2981
|
+
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
2982
|
+
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
2983
|
+
} else {
|
|
2984
|
+
INCORRECT_VALUES_NAME = true;
|
|
2985
|
+
defaultIterator = function values() { return call(nativeIterator, this); };
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2988
|
+
|
|
2989
|
+
// export additional methods
|
|
2990
|
+
if (DEFAULT) {
|
|
2991
|
+
methods = {
|
|
2992
|
+
values: getIterationMethod(VALUES),
|
|
2993
|
+
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
2994
|
+
entries: getIterationMethod(ENTRIES)
|
|
2995
|
+
};
|
|
2996
|
+
if (FORCED) for (KEY in methods) {
|
|
2997
|
+
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
2998
|
+
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
2999
|
+
}
|
|
3000
|
+
} else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
3001
|
+
}
|
|
3002
|
+
|
|
3003
|
+
// define iterator
|
|
3004
|
+
if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
|
|
3005
|
+
defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
|
|
3006
|
+
}
|
|
3007
|
+
Iterators$1[NAME] = defaultIterator;
|
|
3008
|
+
|
|
3009
|
+
return methods;
|
|
3010
|
+
};
|
|
3011
|
+
|
|
3012
|
+
var toIndexedObject = toIndexedObject$5;
|
|
3013
|
+
var addToUnscopables = addToUnscopables$1;
|
|
3014
|
+
var Iterators = iterators;
|
|
3015
|
+
var InternalStateModule = internalState;
|
|
3016
|
+
var defineProperty = objectDefineProperty.f;
|
|
3017
|
+
var defineIterator = iteratorDefine;
|
|
3018
|
+
var createIterResultObject = createIterResultObject$2;
|
|
3019
|
+
var DESCRIPTORS = descriptors;
|
|
3020
|
+
|
|
3021
|
+
var ARRAY_ITERATOR = 'Array Iterator';
|
|
3022
|
+
var setInternalState = InternalStateModule.set;
|
|
3023
|
+
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
3024
|
+
|
|
3025
|
+
// `Array.prototype.entries` method
|
|
3026
|
+
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
3027
|
+
// `Array.prototype.keys` method
|
|
3028
|
+
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
|
3029
|
+
// `Array.prototype.values` method
|
|
3030
|
+
// https://tc39.es/ecma262/#sec-array.prototype.values
|
|
3031
|
+
// `Array.prototype[@@iterator]` method
|
|
3032
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
|
3033
|
+
// `CreateArrayIterator` internal method
|
|
3034
|
+
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
3035
|
+
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
3036
|
+
setInternalState(this, {
|
|
3037
|
+
type: ARRAY_ITERATOR,
|
|
3038
|
+
target: toIndexedObject(iterated), // target
|
|
3039
|
+
index: 0, // next index
|
|
3040
|
+
kind: kind // kind
|
|
3041
|
+
});
|
|
3042
|
+
// `%ArrayIteratorPrototype%.next` method
|
|
3043
|
+
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
|
3044
|
+
}, function () {
|
|
3045
|
+
var state = getInternalState(this);
|
|
3046
|
+
var target = state.target;
|
|
3047
|
+
var index = state.index++;
|
|
3048
|
+
if (!target || index >= target.length) {
|
|
3049
|
+
state.target = null;
|
|
3050
|
+
return createIterResultObject(undefined, true);
|
|
3051
|
+
}
|
|
3052
|
+
switch (state.kind) {
|
|
3053
|
+
case 'keys': return createIterResultObject(index, false);
|
|
3054
|
+
case 'values': return createIterResultObject(target[index], false);
|
|
3055
|
+
} return createIterResultObject([index, target[index]], false);
|
|
3056
|
+
}, 'values');
|
|
3057
|
+
|
|
3058
|
+
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
3059
|
+
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
3060
|
+
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
3061
|
+
var values = Iterators.Arguments = Iterators.Array;
|
|
3062
|
+
|
|
3063
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3064
|
+
addToUnscopables('keys');
|
|
3065
|
+
addToUnscopables('values');
|
|
3066
|
+
addToUnscopables('entries');
|
|
3067
|
+
|
|
3068
|
+
// V8 ~ Chrome 45- bug
|
|
3069
|
+
if (DESCRIPTORS && values.name !== 'values') try {
|
|
3070
|
+
defineProperty(values, 'name', { value: 'values' });
|
|
3071
|
+
} catch (error) { /* empty */ }
|
|
3072
|
+
|
|
3073
|
+
var globalThis$1 = globalThis_1;
|
|
3074
|
+
var DOMIterables = domIterables;
|
|
3075
|
+
var DOMTokenListPrototype = domTokenListPrototype;
|
|
3076
|
+
var ArrayIteratorMethods = es_array_iterator;
|
|
3077
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$8;
|
|
3078
|
+
var setToStringTag = setToStringTag$3;
|
|
3079
|
+
var wellKnownSymbol = wellKnownSymbol$c;
|
|
3080
|
+
|
|
3081
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
3082
|
+
var ArrayValues = ArrayIteratorMethods.values;
|
|
3083
|
+
|
|
3084
|
+
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
3085
|
+
if (CollectionPrototype) {
|
|
3086
|
+
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
3087
|
+
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
|
3088
|
+
createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
|
|
3089
|
+
} catch (error) {
|
|
3090
|
+
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
3091
|
+
}
|
|
3092
|
+
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
3093
|
+
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
3094
|
+
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
3095
|
+
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
3096
|
+
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
3097
|
+
} catch (error) {
|
|
3098
|
+
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
3099
|
+
}
|
|
3100
|
+
}
|
|
3101
|
+
}
|
|
3102
|
+
};
|
|
3103
|
+
|
|
3104
|
+
for (var COLLECTION_NAME in DOMIterables) {
|
|
3105
|
+
handlePrototype(globalThis$1[COLLECTION_NAME] && globalThis$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
3106
|
+
}
|
|
3107
|
+
|
|
3108
|
+
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
3109
|
+
|
|
2532
3110
|
const cache = new Map();
|
|
2533
3111
|
const processVariables = (theme, prefix, cacheKey) => {
|
|
2534
3112
|
if (cache.has(cacheKey)) return cache.get(cacheKey);
|
|
@@ -2546,17 +3124,11 @@ const resolveInheritance = themes => {
|
|
|
2546
3124
|
if (resolved.has(name)) return resolved.get(name);
|
|
2547
3125
|
const theme = themeMap.get(name);
|
|
2548
3126
|
if (!theme) throw new Error(`Theme "${name}" not found`);
|
|
2549
|
-
const merged = theme.extends ? {
|
|
2550
|
-
...resolve(theme.extends),
|
|
2551
|
-
...theme.theme
|
|
2552
|
-
} : {
|
|
2553
|
-
...theme.theme
|
|
2554
|
-
};
|
|
3127
|
+
const merged = theme.extends ? Object.assign({}, resolve(theme.extends), theme.theme) : Object.assign({}, theme.theme);
|
|
2555
3128
|
resolved.set(name, merged);
|
|
2556
3129
|
return merged;
|
|
2557
3130
|
};
|
|
2558
|
-
return themes.map(t => ({
|
|
2559
|
-
...t,
|
|
3131
|
+
return themes.map(t => Object.assign({}, t, {
|
|
2560
3132
|
theme: resolve(t.name)
|
|
2561
3133
|
}));
|
|
2562
3134
|
};
|
|
@@ -2568,7 +3140,7 @@ function createThemeSwapper({
|
|
|
2568
3140
|
return ({
|
|
2569
3141
|
addBase
|
|
2570
3142
|
}) => {
|
|
2571
|
-
if (!themes
|
|
3143
|
+
if (!(themes != null && themes.length)) throw new Error('At least one theme required');
|
|
2572
3144
|
const names = new Set();
|
|
2573
3145
|
themes.forEach(({
|
|
2574
3146
|
name,
|
|
@@ -2576,7 +3148,7 @@ function createThemeSwapper({
|
|
|
2576
3148
|
}, i) => {
|
|
2577
3149
|
if (!name) throw new Error(`Theme at index ${i} missing name`);
|
|
2578
3150
|
if (names.has(name)) throw new Error(`Duplicate theme: "${name}"`);
|
|
2579
|
-
if (!selectors
|
|
3151
|
+
if (!(selectors != null && selectors.length)) throw new Error(`Theme "${name}" needs selectors`);
|
|
2580
3152
|
names.add(name);
|
|
2581
3153
|
});
|
|
2582
3154
|
if (debug) {
|
|
@@ -3607,22 +4179,16 @@ const TYPOGRAPHY_DEFAULT = {
|
|
|
3607
4179
|
const inherit = 'inherit';
|
|
3608
4180
|
var index = {
|
|
3609
4181
|
theme: {
|
|
3610
|
-
colors: {
|
|
4182
|
+
colors: Object.assign({
|
|
3611
4183
|
inherit,
|
|
3612
4184
|
current: 'currentColor',
|
|
3613
|
-
transparent: 'transparent'
|
|
3614
|
-
|
|
4185
|
+
transparent: 'transparent'
|
|
4186
|
+
}, PRIMITIVE_COLORS, {
|
|
3615
4187
|
focus: DECLARATIVE_COLORS.focus,
|
|
3616
|
-
data: {
|
|
3617
|
-
|
|
3618
|
-
},
|
|
3619
|
-
|
|
3620
|
-
...DECLARATIVE_COLORS.icon
|
|
3621
|
-
},
|
|
3622
|
-
ui: {
|
|
3623
|
-
...DECLARATIVE_COLORS.ui
|
|
3624
|
-
}
|
|
3625
|
-
},
|
|
4188
|
+
data: Object.assign({}, DECLARATIVE_COLORS.data),
|
|
4189
|
+
icon: Object.assign({}, DECLARATIVE_COLORS.icon),
|
|
4190
|
+
ui: Object.assign({}, DECLARATIVE_COLORS.ui)
|
|
4191
|
+
}),
|
|
3626
4192
|
borderRadius: {
|
|
3627
4193
|
none: 'var(--bq-radius--none)',
|
|
3628
4194
|
xs2: 'var(--bq-radius--xs2)',
|
|
@@ -3684,21 +4250,11 @@ var index = {
|
|
|
3684
4250
|
l: 'var(--bq-stroke-l)'
|
|
3685
4251
|
},
|
|
3686
4252
|
extend: {
|
|
3687
|
-
backgroundColor: {
|
|
3688
|
-
|
|
3689
|
-
},
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
},
|
|
3693
|
-
stroke: {
|
|
3694
|
-
...DECLARATIVE_COLORS.stroke
|
|
3695
|
-
},
|
|
3696
|
-
textColor: {
|
|
3697
|
-
...DECLARATIVE_COLORS.text
|
|
3698
|
-
},
|
|
3699
|
-
fill: {
|
|
3700
|
-
...DECLARATIVE_COLORS.icon
|
|
3701
|
-
},
|
|
4253
|
+
backgroundColor: Object.assign({}, DECLARATIVE_COLORS.bg),
|
|
4254
|
+
borderColor: Object.assign({}, DECLARATIVE_COLORS.stroke),
|
|
4255
|
+
stroke: Object.assign({}, DECLARATIVE_COLORS.stroke),
|
|
4256
|
+
textColor: Object.assign({}, DECLARATIVE_COLORS.text),
|
|
4257
|
+
fill: Object.assign({}, DECLARATIVE_COLORS.icon),
|
|
3702
4258
|
content: {
|
|
3703
4259
|
empty: "''"
|
|
3704
4260
|
},
|
|
@@ -3729,12 +4285,9 @@ var index = {
|
|
|
3729
4285
|
addComponents,
|
|
3730
4286
|
theme
|
|
3731
4287
|
}) {
|
|
3732
|
-
addBase({
|
|
3733
|
-
':root, ::backdrop': {
|
|
3734
|
-
|
|
3735
|
-
},
|
|
3736
|
-
...reset
|
|
3737
|
-
});
|
|
4288
|
+
addBase(Object.assign({
|
|
4289
|
+
':root, ::backdrop': Object.assign({}, CSS_COLORS)
|
|
4290
|
+
}, reset));
|
|
3738
4291
|
addComponents({
|
|
3739
4292
|
'.focus': {
|
|
3740
4293
|
outline: `var(--bq-ring-width, 2px) solid var(--bq-ring-color-focus, ${String(theme('colors.focus'))})`,
|
|
@@ -3745,42 +4298,30 @@ var index = {
|
|
|
3745
4298
|
themes: [{
|
|
3746
4299
|
name: 'base',
|
|
3747
4300
|
selectors: [':root'],
|
|
3748
|
-
theme: {
|
|
3749
|
-
...DefaultRootTheme
|
|
3750
|
-
}
|
|
4301
|
+
theme: Object.assign({}, DefaultRootTheme)
|
|
3751
4302
|
}, {
|
|
3752
4303
|
name: 'light',
|
|
3753
4304
|
selectors: [':root:not([bq-theme]):not([bq-mode])', ':root[bq-theme="beeq"]:not([bq-mode])', '.beeq:not([bq-mode])', '[bq-mode="light"]', '.light'],
|
|
3754
|
-
theme: {
|
|
3755
|
-
...DefaultLightTheme
|
|
3756
|
-
},
|
|
4305
|
+
theme: Object.assign({}, DefaultLightTheme),
|
|
3757
4306
|
mode: true
|
|
3758
4307
|
}, {
|
|
3759
4308
|
name: 'dark',
|
|
3760
4309
|
selectors: ['[bq-mode="dark"]', '.dark'],
|
|
3761
|
-
theme: {
|
|
3762
|
-
...DefaultDarkTheme
|
|
3763
|
-
},
|
|
4310
|
+
theme: Object.assign({}, DefaultDarkTheme),
|
|
3764
4311
|
mode: true
|
|
3765
4312
|
}, {
|
|
3766
4313
|
name: 'endava',
|
|
3767
4314
|
selectors: ['[bq-theme="endava"]', '.endava'],
|
|
3768
|
-
theme: {
|
|
3769
|
-
...EndavaRootTheme
|
|
3770
|
-
}
|
|
4315
|
+
theme: Object.assign({}, EndavaRootTheme)
|
|
3771
4316
|
}, {
|
|
3772
4317
|
name: 'endava-light',
|
|
3773
4318
|
selectors: ['[bq-theme="endava"]:not([bq-mode])', '.endava:not([bq-mode])', '[bq-theme="endava"][bq-mode="light"]', '.endava.light'],
|
|
3774
|
-
theme: {
|
|
3775
|
-
...EndavaLightTheme
|
|
3776
|
-
},
|
|
4319
|
+
theme: Object.assign({}, EndavaLightTheme),
|
|
3777
4320
|
mode: true
|
|
3778
4321
|
}, {
|
|
3779
4322
|
name: 'endava-dark',
|
|
3780
4323
|
selectors: ['[bq-theme="endava"][bq-mode="dark"]', '.endava.dark'],
|
|
3781
|
-
theme: {
|
|
3782
|
-
...EndavaDarkTheme
|
|
3783
|
-
},
|
|
4324
|
+
theme: Object.assign({}, EndavaDarkTheme),
|
|
3784
4325
|
mode: true
|
|
3785
4326
|
}]
|
|
3786
4327
|
})]
|