@bcrumbs.net/bc-api 0.0.41 → 0.0.42
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 +518 -428
- package/index.esm.js +518 -428
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -24,7 +24,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
24
24
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
25
25
|
PERFORMANCE OF THIS SOFTWARE.
|
|
26
26
|
***************************************************************************** */
|
|
27
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
27
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var __assign = function() {
|
|
@@ -207,7 +207,7 @@ var check = function (it) {
|
|
|
207
207
|
};
|
|
208
208
|
|
|
209
209
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
210
|
-
var global$
|
|
210
|
+
var global$m =
|
|
211
211
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
212
212
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
213
213
|
check(typeof window == 'object' && window) ||
|
|
@@ -220,7 +220,7 @@ var global$l =
|
|
|
220
220
|
|
|
221
221
|
var objectGetOwnPropertyDescriptor = {};
|
|
222
222
|
|
|
223
|
-
var fails$
|
|
223
|
+
var fails$j = function (exec) {
|
|
224
224
|
try {
|
|
225
225
|
return !!exec();
|
|
226
226
|
} catch (error) {
|
|
@@ -228,17 +228,17 @@ var fails$i = function (exec) {
|
|
|
228
228
|
}
|
|
229
229
|
};
|
|
230
230
|
|
|
231
|
-
var fails$
|
|
231
|
+
var fails$i = fails$j;
|
|
232
232
|
|
|
233
233
|
// Detect IE8's incomplete defineProperty implementation
|
|
234
|
-
var descriptors = !fails$
|
|
234
|
+
var descriptors = !fails$i(function () {
|
|
235
235
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
236
236
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
237
237
|
});
|
|
238
238
|
|
|
239
|
-
var fails$
|
|
239
|
+
var fails$h = fails$j;
|
|
240
240
|
|
|
241
|
-
var functionBindNative = !fails$
|
|
241
|
+
var functionBindNative = !fails$h(function () {
|
|
242
242
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
243
243
|
var test = (function () { /* empty */ }).bind();
|
|
244
244
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -269,7 +269,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
269
269
|
return !!descriptor && descriptor.enumerable;
|
|
270
270
|
} : $propertyIsEnumerable;
|
|
271
271
|
|
|
272
|
-
var createPropertyDescriptor$
|
|
272
|
+
var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
273
273
|
return {
|
|
274
274
|
enumerable: !(bitmap & 1),
|
|
275
275
|
configurable: !(bitmap & 2),
|
|
@@ -300,14 +300,14 @@ var classofRaw$2 = function (it) {
|
|
|
300
300
|
};
|
|
301
301
|
|
|
302
302
|
var uncurryThis$h = functionUncurryThis;
|
|
303
|
-
var fails$
|
|
303
|
+
var fails$g = fails$j;
|
|
304
304
|
var classof$6 = classofRaw$2;
|
|
305
305
|
|
|
306
306
|
var $Object$4 = Object;
|
|
307
307
|
var split = uncurryThis$h(''.split);
|
|
308
308
|
|
|
309
309
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
310
|
-
var indexedObject = fails$
|
|
310
|
+
var indexedObject = fails$g(function () {
|
|
311
311
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
312
312
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
313
313
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
@@ -323,12 +323,12 @@ var isNullOrUndefined$6 = function (it) {
|
|
|
323
323
|
|
|
324
324
|
var isNullOrUndefined$5 = isNullOrUndefined$6;
|
|
325
325
|
|
|
326
|
-
var $TypeError$
|
|
326
|
+
var $TypeError$e = TypeError;
|
|
327
327
|
|
|
328
328
|
// `RequireObjectCoercible` abstract operation
|
|
329
329
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
330
330
|
var requireObjectCoercible$6 = function (it) {
|
|
331
|
-
if (isNullOrUndefined$5(it)) throw new $TypeError$
|
|
331
|
+
if (isNullOrUndefined$5(it)) throw new $TypeError$e("Can't call method on " + it);
|
|
332
332
|
return it;
|
|
333
333
|
};
|
|
334
334
|
|
|
@@ -346,27 +346,27 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
346
346
|
// `IsCallable` abstract operation
|
|
347
347
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
348
348
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
349
|
-
var isCallable$
|
|
349
|
+
var isCallable$m = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
350
350
|
return typeof argument == 'function' || argument === documentAll;
|
|
351
351
|
} : function (argument) {
|
|
352
352
|
return typeof argument == 'function';
|
|
353
353
|
};
|
|
354
354
|
|
|
355
|
-
var isCallable$
|
|
355
|
+
var isCallable$l = isCallable$m;
|
|
356
356
|
|
|
357
357
|
var isObject$a = function (it) {
|
|
358
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
358
|
+
return typeof it == 'object' ? it !== null : isCallable$l(it);
|
|
359
359
|
};
|
|
360
360
|
|
|
361
|
-
var global$
|
|
362
|
-
var isCallable$
|
|
361
|
+
var global$l = global$m;
|
|
362
|
+
var isCallable$k = isCallable$m;
|
|
363
363
|
|
|
364
364
|
var aFunction = function (argument) {
|
|
365
|
-
return isCallable$
|
|
365
|
+
return isCallable$k(argument) ? argument : undefined;
|
|
366
366
|
};
|
|
367
367
|
|
|
368
368
|
var getBuiltIn$7 = function (namespace, method) {
|
|
369
|
-
return arguments.length < 2 ? aFunction(global$
|
|
369
|
+
return arguments.length < 2 ? aFunction(global$l[namespace]) : global$l[namespace] && global$l[namespace][method];
|
|
370
370
|
};
|
|
371
371
|
|
|
372
372
|
var uncurryThis$g = functionUncurryThis;
|
|
@@ -375,11 +375,11 @@ var objectIsPrototypeOf = uncurryThis$g({}.isPrototypeOf);
|
|
|
375
375
|
|
|
376
376
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
377
377
|
|
|
378
|
-
var global$
|
|
378
|
+
var global$k = global$m;
|
|
379
379
|
var userAgent$3 = engineUserAgent;
|
|
380
380
|
|
|
381
|
-
var process$4 = global$
|
|
382
|
-
var Deno$1 = global$
|
|
381
|
+
var process$4 = global$k.process;
|
|
382
|
+
var Deno$1 = global$k.Deno;
|
|
383
383
|
var versions = process$4 && process$4.versions || Deno$1 && Deno$1.version;
|
|
384
384
|
var v8 = versions && versions.v8;
|
|
385
385
|
var match, version;
|
|
@@ -405,13 +405,13 @@ var engineV8Version = version;
|
|
|
405
405
|
|
|
406
406
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
407
407
|
var V8_VERSION$1 = engineV8Version;
|
|
408
|
-
var fails$
|
|
409
|
-
var global$
|
|
408
|
+
var fails$f = fails$j;
|
|
409
|
+
var global$j = global$m;
|
|
410
410
|
|
|
411
|
-
var $String$5 = global$
|
|
411
|
+
var $String$5 = global$j.String;
|
|
412
412
|
|
|
413
413
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
414
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
414
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$f(function () {
|
|
415
415
|
var symbol = Symbol('symbol detection');
|
|
416
416
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
417
417
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -430,7 +430,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
430
430
|
&& typeof Symbol.iterator == 'symbol';
|
|
431
431
|
|
|
432
432
|
var getBuiltIn$6 = getBuiltIn$7;
|
|
433
|
-
var isCallable$
|
|
433
|
+
var isCallable$j = isCallable$m;
|
|
434
434
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
435
435
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
436
436
|
|
|
@@ -440,7 +440,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
440
440
|
return typeof it == 'symbol';
|
|
441
441
|
} : function (it) {
|
|
442
442
|
var $Symbol = getBuiltIn$6('Symbol');
|
|
443
|
-
return isCallable$
|
|
443
|
+
return isCallable$j($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
|
|
444
444
|
};
|
|
445
445
|
|
|
446
446
|
var $String$4 = String;
|
|
@@ -453,59 +453,59 @@ var tryToString$4 = function (argument) {
|
|
|
453
453
|
}
|
|
454
454
|
};
|
|
455
455
|
|
|
456
|
-
var isCallable$
|
|
456
|
+
var isCallable$i = isCallable$m;
|
|
457
457
|
var tryToString$3 = tryToString$4;
|
|
458
458
|
|
|
459
|
-
var $TypeError$
|
|
459
|
+
var $TypeError$d = TypeError;
|
|
460
460
|
|
|
461
461
|
// `Assert: IsCallable(argument) is true`
|
|
462
|
-
var aCallable$
|
|
463
|
-
if (isCallable$
|
|
464
|
-
throw new $TypeError$
|
|
462
|
+
var aCallable$9 = function (argument) {
|
|
463
|
+
if (isCallable$i(argument)) return argument;
|
|
464
|
+
throw new $TypeError$d(tryToString$3(argument) + ' is not a function');
|
|
465
465
|
};
|
|
466
466
|
|
|
467
|
-
var aCallable$
|
|
467
|
+
var aCallable$8 = aCallable$9;
|
|
468
468
|
var isNullOrUndefined$4 = isNullOrUndefined$6;
|
|
469
469
|
|
|
470
470
|
// `GetMethod` abstract operation
|
|
471
471
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
472
472
|
var getMethod$5 = function (V, P) {
|
|
473
473
|
var func = V[P];
|
|
474
|
-
return isNullOrUndefined$4(func) ? undefined : aCallable$
|
|
474
|
+
return isNullOrUndefined$4(func) ? undefined : aCallable$8(func);
|
|
475
475
|
};
|
|
476
476
|
|
|
477
477
|
var call$g = functionCall;
|
|
478
|
-
var isCallable$
|
|
478
|
+
var isCallable$h = isCallable$m;
|
|
479
479
|
var isObject$9 = isObject$a;
|
|
480
480
|
|
|
481
|
-
var $TypeError$
|
|
481
|
+
var $TypeError$c = TypeError;
|
|
482
482
|
|
|
483
483
|
// `OrdinaryToPrimitive` abstract operation
|
|
484
484
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
485
485
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
486
486
|
var fn, val;
|
|
487
|
-
if (pref === 'string' && isCallable$
|
|
488
|
-
if (isCallable$
|
|
489
|
-
if (pref !== 'string' && isCallable$
|
|
490
|
-
throw new $TypeError$
|
|
487
|
+
if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$9(val = call$g(fn, input))) return val;
|
|
488
|
+
if (isCallable$h(fn = input.valueOf) && !isObject$9(val = call$g(fn, input))) return val;
|
|
489
|
+
if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$9(val = call$g(fn, input))) return val;
|
|
490
|
+
throw new $TypeError$c("Can't convert object to primitive value");
|
|
491
491
|
};
|
|
492
492
|
|
|
493
493
|
var sharedStore = {exports: {}};
|
|
494
494
|
|
|
495
|
-
var global$
|
|
495
|
+
var global$i = global$m;
|
|
496
496
|
|
|
497
497
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
498
498
|
var defineProperty$6 = Object.defineProperty;
|
|
499
499
|
|
|
500
500
|
var defineGlobalProperty$3 = function (key, value) {
|
|
501
501
|
try {
|
|
502
|
-
defineProperty$6(global$
|
|
502
|
+
defineProperty$6(global$i, key, { value: value, configurable: true, writable: true });
|
|
503
503
|
} catch (error) {
|
|
504
|
-
global$
|
|
504
|
+
global$i[key] = value;
|
|
505
505
|
} return value;
|
|
506
506
|
};
|
|
507
507
|
|
|
508
|
-
var globalThis$1 = global$
|
|
508
|
+
var globalThis$1 = global$m;
|
|
509
509
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
510
510
|
|
|
511
511
|
var SHARED = '__core-js_shared__';
|
|
@@ -559,20 +559,20 @@ var uid$2 = function (key) {
|
|
|
559
559
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
|
|
560
560
|
};
|
|
561
561
|
|
|
562
|
-
var global$
|
|
562
|
+
var global$h = global$m;
|
|
563
563
|
var shared$3 = shared$4;
|
|
564
|
-
var hasOwn$
|
|
564
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
565
565
|
var uid$1 = uid$2;
|
|
566
566
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
567
567
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
568
568
|
|
|
569
|
-
var Symbol$1 = global$
|
|
569
|
+
var Symbol$1 = global$h.Symbol;
|
|
570
570
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
571
571
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
572
572
|
|
|
573
|
-
var wellKnownSymbol$
|
|
574
|
-
if (!hasOwn$
|
|
575
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
|
573
|
+
var wellKnownSymbol$h = function (name) {
|
|
574
|
+
if (!hasOwn$a(WellKnownSymbolsStore, name)) {
|
|
575
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)
|
|
576
576
|
? Symbol$1[name]
|
|
577
577
|
: createWellKnownSymbol('Symbol.' + name);
|
|
578
578
|
} return WellKnownSymbolsStore[name];
|
|
@@ -583,10 +583,10 @@ var isObject$8 = isObject$a;
|
|
|
583
583
|
var isSymbol$1 = isSymbol$2;
|
|
584
584
|
var getMethod$4 = getMethod$5;
|
|
585
585
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
586
|
-
var wellKnownSymbol$
|
|
586
|
+
var wellKnownSymbol$g = wellKnownSymbol$h;
|
|
587
587
|
|
|
588
|
-
var $TypeError$
|
|
589
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
588
|
+
var $TypeError$b = TypeError;
|
|
589
|
+
var TO_PRIMITIVE = wellKnownSymbol$g('toPrimitive');
|
|
590
590
|
|
|
591
591
|
// `ToPrimitive` abstract operation
|
|
592
592
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
@@ -598,7 +598,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
598
598
|
if (pref === undefined) pref = 'default';
|
|
599
599
|
result = call$f(exoticToPrim, input, pref);
|
|
600
600
|
if (!isObject$8(result) || isSymbol$1(result)) return result;
|
|
601
|
-
throw new $TypeError$
|
|
601
|
+
throw new $TypeError$b("Can't convert object to primitive value");
|
|
602
602
|
}
|
|
603
603
|
if (pref === undefined) pref = 'number';
|
|
604
604
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -614,10 +614,10 @@ var toPropertyKey$2 = function (argument) {
|
|
|
614
614
|
return isSymbol(key) ? key : key + '';
|
|
615
615
|
};
|
|
616
616
|
|
|
617
|
-
var global$
|
|
617
|
+
var global$g = global$m;
|
|
618
618
|
var isObject$7 = isObject$a;
|
|
619
619
|
|
|
620
|
-
var document$3 = global$
|
|
620
|
+
var document$3 = global$g.document;
|
|
621
621
|
// typeof document.createElement is 'object' in old IE
|
|
622
622
|
var EXISTS$1 = isObject$7(document$3) && isObject$7(document$3.createElement);
|
|
623
623
|
|
|
@@ -625,25 +625,25 @@ var documentCreateElement$2 = function (it) {
|
|
|
625
625
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
626
626
|
};
|
|
627
627
|
|
|
628
|
-
var DESCRIPTORS$
|
|
629
|
-
var fails$
|
|
628
|
+
var DESCRIPTORS$d = descriptors;
|
|
629
|
+
var fails$e = fails$j;
|
|
630
630
|
var createElement$1 = documentCreateElement$2;
|
|
631
631
|
|
|
632
632
|
// Thanks to IE8 for its funny defineProperty
|
|
633
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
633
|
+
var ie8DomDefine = !DESCRIPTORS$d && !fails$e(function () {
|
|
634
634
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
635
635
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
636
636
|
get: function () { return 7; }
|
|
637
637
|
}).a !== 7;
|
|
638
638
|
});
|
|
639
639
|
|
|
640
|
-
var DESCRIPTORS$
|
|
640
|
+
var DESCRIPTORS$c = descriptors;
|
|
641
641
|
var call$e = functionCall;
|
|
642
642
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
643
|
-
var createPropertyDescriptor$
|
|
643
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
644
644
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
645
645
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
646
|
-
var hasOwn$
|
|
646
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
647
647
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
648
648
|
|
|
649
649
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -651,23 +651,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
651
651
|
|
|
652
652
|
// `Object.getOwnPropertyDescriptor` method
|
|
653
653
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
654
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
654
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$c ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
655
655
|
O = toIndexedObject$4(O);
|
|
656
656
|
P = toPropertyKey$1(P);
|
|
657
657
|
if (IE8_DOM_DEFINE$1) try {
|
|
658
658
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
659
659
|
} catch (error) { /* empty */ }
|
|
660
|
-
if (hasOwn$
|
|
660
|
+
if (hasOwn$9(O, P)) return createPropertyDescriptor$3(!call$e(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
661
661
|
};
|
|
662
662
|
|
|
663
663
|
var objectDefineProperty = {};
|
|
664
664
|
|
|
665
|
-
var DESCRIPTORS$
|
|
666
|
-
var fails$
|
|
665
|
+
var DESCRIPTORS$b = descriptors;
|
|
666
|
+
var fails$d = fails$j;
|
|
667
667
|
|
|
668
668
|
// V8 ~ Chrome 36-
|
|
669
669
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
670
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
670
|
+
var v8PrototypeDefineBug = DESCRIPTORS$b && fails$d(function () {
|
|
671
671
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
672
672
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
673
673
|
value: 42,
|
|
@@ -678,21 +678,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$c(function () {
|
|
|
678
678
|
var isObject$6 = isObject$a;
|
|
679
679
|
|
|
680
680
|
var $String$3 = String;
|
|
681
|
-
var $TypeError$
|
|
681
|
+
var $TypeError$a = TypeError;
|
|
682
682
|
|
|
683
683
|
// `Assert: Type(argument) is Object`
|
|
684
|
-
var anObject$
|
|
684
|
+
var anObject$f = function (argument) {
|
|
685
685
|
if (isObject$6(argument)) return argument;
|
|
686
|
-
throw new $TypeError$
|
|
686
|
+
throw new $TypeError$a($String$3(argument) + ' is not an object');
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
var DESCRIPTORS$
|
|
689
|
+
var DESCRIPTORS$a = descriptors;
|
|
690
690
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
691
691
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
692
|
-
var anObject$
|
|
692
|
+
var anObject$e = anObject$f;
|
|
693
693
|
var toPropertyKey = toPropertyKey$2;
|
|
694
694
|
|
|
695
|
-
var $TypeError$
|
|
695
|
+
var $TypeError$9 = TypeError;
|
|
696
696
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
697
697
|
var $defineProperty = Object.defineProperty;
|
|
698
698
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -703,10 +703,10 @@ var WRITABLE = 'writable';
|
|
|
703
703
|
|
|
704
704
|
// `Object.defineProperty` method
|
|
705
705
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
706
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
707
|
-
anObject$
|
|
706
|
+
objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
707
|
+
anObject$e(O);
|
|
708
708
|
P = toPropertyKey(P);
|
|
709
|
-
anObject$
|
|
709
|
+
anObject$e(Attributes);
|
|
710
710
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
711
711
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
712
712
|
if (current && current[WRITABLE]) {
|
|
@@ -719,23 +719,23 @@ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
719
719
|
}
|
|
720
720
|
} return $defineProperty(O, P, Attributes);
|
|
721
721
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
722
|
-
anObject$
|
|
722
|
+
anObject$e(O);
|
|
723
723
|
P = toPropertyKey(P);
|
|
724
|
-
anObject$
|
|
724
|
+
anObject$e(Attributes);
|
|
725
725
|
if (IE8_DOM_DEFINE) try {
|
|
726
726
|
return $defineProperty(O, P, Attributes);
|
|
727
727
|
} catch (error) { /* empty */ }
|
|
728
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
728
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$9('Accessors not supported');
|
|
729
729
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
730
730
|
return O;
|
|
731
731
|
};
|
|
732
732
|
|
|
733
|
-
var DESCRIPTORS$
|
|
734
|
-
var definePropertyModule$
|
|
735
|
-
var createPropertyDescriptor$
|
|
733
|
+
var DESCRIPTORS$9 = descriptors;
|
|
734
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
735
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
|
|
736
736
|
|
|
737
|
-
var createNonEnumerableProperty$5 = DESCRIPTORS$
|
|
738
|
-
return definePropertyModule$
|
|
737
|
+
var createNonEnumerableProperty$5 = DESCRIPTORS$9 ? function (object, key, value) {
|
|
738
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value));
|
|
739
739
|
} : function (object, key, value) {
|
|
740
740
|
object[key] = value;
|
|
741
741
|
return object;
|
|
@@ -743,32 +743,31 @@ var createNonEnumerableProperty$5 = DESCRIPTORS$7 ? function (object, key, value
|
|
|
743
743
|
|
|
744
744
|
var makeBuiltIn$3 = {exports: {}};
|
|
745
745
|
|
|
746
|
-
var DESCRIPTORS$
|
|
747
|
-
var hasOwn$
|
|
746
|
+
var DESCRIPTORS$8 = descriptors;
|
|
747
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
748
748
|
|
|
749
749
|
var FunctionPrototype$1 = Function.prototype;
|
|
750
750
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
751
|
-
var getDescriptor = DESCRIPTORS$
|
|
751
|
+
var getDescriptor = DESCRIPTORS$8 && Object.getOwnPropertyDescriptor;
|
|
752
752
|
|
|
753
|
-
var EXISTS = hasOwn$
|
|
753
|
+
var EXISTS = hasOwn$8(FunctionPrototype$1, 'name');
|
|
754
754
|
// additional protection from minified / mangled / dropped function names
|
|
755
755
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
756
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
756
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$8 || (DESCRIPTORS$8 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
757
757
|
|
|
758
758
|
var functionName = {
|
|
759
|
-
EXISTS: EXISTS,
|
|
760
759
|
PROPER: PROPER,
|
|
761
760
|
CONFIGURABLE: CONFIGURABLE
|
|
762
761
|
};
|
|
763
762
|
|
|
764
763
|
var uncurryThis$d = functionUncurryThis;
|
|
765
|
-
var isCallable$
|
|
764
|
+
var isCallable$g = isCallable$m;
|
|
766
765
|
var store$1 = sharedStoreExports;
|
|
767
766
|
|
|
768
767
|
var functionToString = uncurryThis$d(Function.toString);
|
|
769
768
|
|
|
770
769
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
771
|
-
if (!isCallable$
|
|
770
|
+
if (!isCallable$g(store$1.inspectSource)) {
|
|
772
771
|
store$1.inspectSource = function (it) {
|
|
773
772
|
return functionToString(it);
|
|
774
773
|
};
|
|
@@ -776,12 +775,12 @@ if (!isCallable$f(store$1.inspectSource)) {
|
|
|
776
775
|
|
|
777
776
|
var inspectSource$3 = store$1.inspectSource;
|
|
778
777
|
|
|
779
|
-
var global$
|
|
780
|
-
var isCallable$
|
|
778
|
+
var global$f = global$m;
|
|
779
|
+
var isCallable$f = isCallable$m;
|
|
781
780
|
|
|
782
|
-
var WeakMap$1 = global$
|
|
781
|
+
var WeakMap$1 = global$f.WeakMap;
|
|
783
782
|
|
|
784
|
-
var weakMapBasicDetection = isCallable$
|
|
783
|
+
var weakMapBasicDetection = isCallable$f(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
785
784
|
|
|
786
785
|
var shared$2 = shared$4;
|
|
787
786
|
var uid = uid$2;
|
|
@@ -795,17 +794,17 @@ var sharedKey$3 = function (key) {
|
|
|
795
794
|
var hiddenKeys$4 = {};
|
|
796
795
|
|
|
797
796
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
798
|
-
var global$
|
|
797
|
+
var global$e = global$m;
|
|
799
798
|
var isObject$5 = isObject$a;
|
|
800
799
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
|
801
|
-
var hasOwn$
|
|
800
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
802
801
|
var shared$1 = sharedStoreExports;
|
|
803
802
|
var sharedKey$2 = sharedKey$3;
|
|
804
803
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
805
804
|
|
|
806
805
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
807
|
-
var TypeError$2 = global$
|
|
808
|
-
var WeakMap = global$
|
|
806
|
+
var TypeError$2 = global$e.TypeError;
|
|
807
|
+
var WeakMap = global$e.WeakMap;
|
|
809
808
|
var set$1, get, has;
|
|
810
809
|
|
|
811
810
|
var enforce = function (it) {
|
|
@@ -844,16 +843,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
844
843
|
var STATE = sharedKey$2('state');
|
|
845
844
|
hiddenKeys$3[STATE] = true;
|
|
846
845
|
set$1 = function (it, metadata) {
|
|
847
|
-
if (hasOwn$
|
|
846
|
+
if (hasOwn$7(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
848
847
|
metadata.facade = it;
|
|
849
848
|
createNonEnumerableProperty$4(it, STATE, metadata);
|
|
850
849
|
return metadata;
|
|
851
850
|
};
|
|
852
851
|
get = function (it) {
|
|
853
|
-
return hasOwn$
|
|
852
|
+
return hasOwn$7(it, STATE) ? it[STATE] : {};
|
|
854
853
|
};
|
|
855
854
|
has = function (it) {
|
|
856
|
-
return hasOwn$
|
|
855
|
+
return hasOwn$7(it, STATE);
|
|
857
856
|
};
|
|
858
857
|
}
|
|
859
858
|
|
|
@@ -866,10 +865,10 @@ var internalState = {
|
|
|
866
865
|
};
|
|
867
866
|
|
|
868
867
|
var uncurryThis$c = functionUncurryThis;
|
|
869
|
-
var fails$
|
|
870
|
-
var isCallable$
|
|
871
|
-
var hasOwn$
|
|
872
|
-
var DESCRIPTORS$
|
|
868
|
+
var fails$c = fails$j;
|
|
869
|
+
var isCallable$e = isCallable$m;
|
|
870
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
871
|
+
var DESCRIPTORS$7 = descriptors;
|
|
873
872
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
874
873
|
var inspectSource$2 = inspectSource$3;
|
|
875
874
|
var InternalStateModule$2 = internalState;
|
|
@@ -883,7 +882,7 @@ var stringSlice$4 = uncurryThis$c(''.slice);
|
|
|
883
882
|
var replace$2 = uncurryThis$c(''.replace);
|
|
884
883
|
var join = uncurryThis$c([].join);
|
|
885
884
|
|
|
886
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
885
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$7 && !fails$c(function () {
|
|
887
886
|
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
888
887
|
});
|
|
889
888
|
|
|
@@ -895,21 +894,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
895
894
|
}
|
|
896
895
|
if (options && options.getter) name = 'get ' + name;
|
|
897
896
|
if (options && options.setter) name = 'set ' + name;
|
|
898
|
-
if (!hasOwn$
|
|
899
|
-
if (DESCRIPTORS$
|
|
897
|
+
if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
898
|
+
if (DESCRIPTORS$7) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
900
899
|
else value.name = name;
|
|
901
900
|
}
|
|
902
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
901
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
|
|
903
902
|
defineProperty$5(value, 'length', { value: options.arity });
|
|
904
903
|
}
|
|
905
904
|
try {
|
|
906
|
-
if (options && hasOwn$
|
|
907
|
-
if (DESCRIPTORS$
|
|
905
|
+
if (options && hasOwn$6(options, 'constructor') && options.constructor) {
|
|
906
|
+
if (DESCRIPTORS$7) defineProperty$5(value, 'prototype', { writable: false });
|
|
908
907
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
909
908
|
} else if (value.prototype) value.prototype = undefined;
|
|
910
909
|
} catch (error) { /* empty */ }
|
|
911
910
|
var state = enforceInternalState(value);
|
|
912
|
-
if (!hasOwn$
|
|
911
|
+
if (!hasOwn$6(state, 'source')) {
|
|
913
912
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
914
913
|
} return value;
|
|
915
914
|
};
|
|
@@ -917,13 +916,13 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
917
916
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
918
917
|
// eslint-disable-next-line no-extend-native -- required
|
|
919
918
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
920
|
-
return isCallable$
|
|
919
|
+
return isCallable$e(this) && getInternalState$2(this).source || inspectSource$2(this);
|
|
921
920
|
}, 'toString');
|
|
922
921
|
|
|
923
922
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
924
923
|
|
|
925
|
-
var isCallable$
|
|
926
|
-
var definePropertyModule$
|
|
924
|
+
var isCallable$d = isCallable$m;
|
|
925
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
927
926
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
928
927
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
929
928
|
|
|
@@ -931,7 +930,7 @@ var defineBuiltIn$6 = function (O, key, value, options) {
|
|
|
931
930
|
if (!options) options = {};
|
|
932
931
|
var simple = options.enumerable;
|
|
933
932
|
var name = options.name !== undefined ? options.name : key;
|
|
934
|
-
if (isCallable$
|
|
933
|
+
if (isCallable$d(value)) makeBuiltIn$1(value, name, options);
|
|
935
934
|
if (options.global) {
|
|
936
935
|
if (simple) O[key] = value;
|
|
937
936
|
else defineGlobalProperty$1(key, value);
|
|
@@ -941,7 +940,7 @@ var defineBuiltIn$6 = function (O, key, value, options) {
|
|
|
941
940
|
else if (O[key]) simple = true;
|
|
942
941
|
} catch (error) { /* empty */ }
|
|
943
942
|
if (simple) O[key] = value;
|
|
944
|
-
else definePropertyModule$
|
|
943
|
+
else definePropertyModule$3.f(O, key, {
|
|
945
944
|
value: value,
|
|
946
945
|
enumerable: false,
|
|
947
946
|
configurable: !options.nonConfigurable,
|
|
@@ -1031,16 +1030,13 @@ var createMethod$1 = function (IS_INCLUDES) {
|
|
|
1031
1030
|
};
|
|
1032
1031
|
|
|
1033
1032
|
var arrayIncludes = {
|
|
1034
|
-
// `Array.prototype.includes` method
|
|
1035
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
1036
|
-
includes: createMethod$1(true),
|
|
1037
1033
|
// `Array.prototype.indexOf` method
|
|
1038
1034
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
1039
1035
|
indexOf: createMethod$1(false)
|
|
1040
1036
|
};
|
|
1041
1037
|
|
|
1042
1038
|
var uncurryThis$b = functionUncurryThis;
|
|
1043
|
-
var hasOwn$
|
|
1039
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
1044
1040
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
1045
1041
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
1046
1042
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -1052,9 +1048,9 @@ var objectKeysInternal = function (object, names) {
|
|
|
1052
1048
|
var i = 0;
|
|
1053
1049
|
var result = [];
|
|
1054
1050
|
var key;
|
|
1055
|
-
for (key in O) !hasOwn$
|
|
1051
|
+
for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push$1(result, key);
|
|
1056
1052
|
// Don't enum bug & hidden keys
|
|
1057
|
-
while (names.length > i) if (hasOwn$
|
|
1053
|
+
while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
|
|
1058
1054
|
~indexOf$1(result, key) || push$1(result, key);
|
|
1059
1055
|
}
|
|
1060
1056
|
return result;
|
|
@@ -1092,36 +1088,36 @@ var getBuiltIn$5 = getBuiltIn$7;
|
|
|
1092
1088
|
var uncurryThis$a = functionUncurryThis;
|
|
1093
1089
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1094
1090
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1095
|
-
var anObject$
|
|
1091
|
+
var anObject$d = anObject$f;
|
|
1096
1092
|
|
|
1097
1093
|
var concat$2 = uncurryThis$a([].concat);
|
|
1098
1094
|
|
|
1099
1095
|
// all object keys, includes non-enumerable and symbols
|
|
1100
1096
|
var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1101
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
1097
|
+
var keys = getOwnPropertyNamesModule.f(anObject$d(it));
|
|
1102
1098
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1103
1099
|
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
1104
1100
|
};
|
|
1105
1101
|
|
|
1106
|
-
var hasOwn$
|
|
1102
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
1107
1103
|
var ownKeys = ownKeys$1;
|
|
1108
1104
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1109
|
-
var definePropertyModule$
|
|
1105
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
1110
1106
|
|
|
1111
1107
|
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
1112
1108
|
var keys = ownKeys(source);
|
|
1113
|
-
var defineProperty = definePropertyModule$
|
|
1109
|
+
var defineProperty = definePropertyModule$2.f;
|
|
1114
1110
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1115
1111
|
for (var i = 0; i < keys.length; i++) {
|
|
1116
1112
|
var key = keys[i];
|
|
1117
|
-
if (!hasOwn$
|
|
1113
|
+
if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
|
|
1118
1114
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1119
1115
|
}
|
|
1120
1116
|
}
|
|
1121
1117
|
};
|
|
1122
1118
|
|
|
1123
|
-
var fails$
|
|
1124
|
-
var isCallable$
|
|
1119
|
+
var fails$b = fails$j;
|
|
1120
|
+
var isCallable$c = isCallable$m;
|
|
1125
1121
|
|
|
1126
1122
|
var replacement = /#|\.prototype\./;
|
|
1127
1123
|
|
|
@@ -1129,7 +1125,7 @@ var isForced$2 = function (feature, detection) {
|
|
|
1129
1125
|
var value = data[normalize$1(feature)];
|
|
1130
1126
|
return value === POLYFILL ? true
|
|
1131
1127
|
: value === NATIVE ? false
|
|
1132
|
-
: isCallable$
|
|
1128
|
+
: isCallable$c(detection) ? fails$b(detection)
|
|
1133
1129
|
: !!detection;
|
|
1134
1130
|
};
|
|
1135
1131
|
|
|
@@ -1143,7 +1139,7 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
|
1143
1139
|
|
|
1144
1140
|
var isForced_1 = isForced$2;
|
|
1145
1141
|
|
|
1146
|
-
var global$
|
|
1142
|
+
var global$d = global$m;
|
|
1147
1143
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
1148
1144
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
|
|
1149
1145
|
var defineBuiltIn$5 = defineBuiltIn$6;
|
|
@@ -1172,11 +1168,11 @@ var _export = function (options, source) {
|
|
|
1172
1168
|
var STATIC = options.stat;
|
|
1173
1169
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1174
1170
|
if (GLOBAL) {
|
|
1175
|
-
target = global$
|
|
1171
|
+
target = global$d;
|
|
1176
1172
|
} else if (STATIC) {
|
|
1177
|
-
target = global$
|
|
1173
|
+
target = global$d[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1178
1174
|
} else {
|
|
1179
|
-
target = global$
|
|
1175
|
+
target = global$d[TARGET] && global$d[TARGET].prototype;
|
|
1180
1176
|
}
|
|
1181
1177
|
if (target) for (key in source) {
|
|
1182
1178
|
sourceProperty = source[key];
|
|
@@ -1208,10 +1204,10 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1208
1204
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1209
1205
|
};
|
|
1210
1206
|
|
|
1211
|
-
var DESCRIPTORS$
|
|
1207
|
+
var DESCRIPTORS$6 = descriptors;
|
|
1212
1208
|
var uncurryThis$9 = functionUncurryThis;
|
|
1213
1209
|
var call$d = functionCall;
|
|
1214
|
-
var fails$
|
|
1210
|
+
var fails$a = fails$j;
|
|
1215
1211
|
var objectKeys$1 = objectKeys$2;
|
|
1216
1212
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1217
1213
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -1226,9 +1222,9 @@ var concat$1 = uncurryThis$9([].concat);
|
|
|
1226
1222
|
|
|
1227
1223
|
// `Object.assign` method
|
|
1228
1224
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1229
|
-
var objectAssign = !$assign || fails$
|
|
1225
|
+
var objectAssign = !$assign || fails$a(function () {
|
|
1230
1226
|
// should have correct order of operations (Edge bug)
|
|
1231
|
-
if (DESCRIPTORS$
|
|
1227
|
+
if (DESCRIPTORS$6 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
|
|
1232
1228
|
enumerable: true,
|
|
1233
1229
|
get: function () {
|
|
1234
1230
|
defineProperty$4(this, 'b', {
|
|
@@ -1260,36 +1256,36 @@ var objectAssign = !$assign || fails$9(function () {
|
|
|
1260
1256
|
var key;
|
|
1261
1257
|
while (length > j) {
|
|
1262
1258
|
key = keys[j++];
|
|
1263
|
-
if (!DESCRIPTORS$
|
|
1259
|
+
if (!DESCRIPTORS$6 || call$d(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1264
1260
|
}
|
|
1265
1261
|
} return T;
|
|
1266
1262
|
} : $assign;
|
|
1267
1263
|
|
|
1268
|
-
var $$
|
|
1264
|
+
var $$a = _export;
|
|
1269
1265
|
var assign = objectAssign;
|
|
1270
1266
|
|
|
1271
1267
|
// `Object.assign` method
|
|
1272
1268
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1273
1269
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1274
|
-
$$
|
|
1270
|
+
$$a({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1275
1271
|
assign: assign
|
|
1276
1272
|
});
|
|
1277
1273
|
|
|
1278
|
-
var wellKnownSymbol$
|
|
1274
|
+
var wellKnownSymbol$f = wellKnownSymbol$h;
|
|
1279
1275
|
|
|
1280
|
-
var TO_STRING_TAG$
|
|
1276
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$f('toStringTag');
|
|
1281
1277
|
var test = {};
|
|
1282
1278
|
|
|
1283
|
-
test[TO_STRING_TAG$
|
|
1279
|
+
test[TO_STRING_TAG$3] = 'z';
|
|
1284
1280
|
|
|
1285
1281
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1286
1282
|
|
|
1287
1283
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1288
|
-
var isCallable$
|
|
1284
|
+
var isCallable$b = isCallable$m;
|
|
1289
1285
|
var classofRaw$1 = classofRaw$2;
|
|
1290
|
-
var wellKnownSymbol$
|
|
1286
|
+
var wellKnownSymbol$e = wellKnownSymbol$h;
|
|
1291
1287
|
|
|
1292
|
-
var TO_STRING_TAG$
|
|
1288
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$e('toStringTag');
|
|
1293
1289
|
var $Object$1 = Object;
|
|
1294
1290
|
|
|
1295
1291
|
// ES3 wrong here
|
|
@@ -1307,11 +1303,11 @@ var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
1307
1303
|
var O, tag, result;
|
|
1308
1304
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1309
1305
|
// @@toStringTag case
|
|
1310
|
-
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$
|
|
1306
|
+
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$2)) == 'string' ? tag
|
|
1311
1307
|
// builtinTag case
|
|
1312
1308
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1313
1309
|
// ES3 arguments fallback
|
|
1314
|
-
: (result = classofRaw$1(O)) === 'Object' && isCallable$
|
|
1310
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$b(O.callee) ? 'Arguments' : result;
|
|
1315
1311
|
};
|
|
1316
1312
|
|
|
1317
1313
|
var classof$4 = classof$5;
|
|
@@ -1323,12 +1319,12 @@ var toString$4 = function (argument) {
|
|
|
1323
1319
|
return $String$1(argument);
|
|
1324
1320
|
};
|
|
1325
1321
|
|
|
1326
|
-
var anObject$
|
|
1322
|
+
var anObject$c = anObject$f;
|
|
1327
1323
|
|
|
1328
1324
|
// `RegExp.prototype.flags` getter implementation
|
|
1329
1325
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
1330
1326
|
var regexpFlags$1 = function () {
|
|
1331
|
-
var that = anObject$
|
|
1327
|
+
var that = anObject$c(this);
|
|
1332
1328
|
var result = '';
|
|
1333
1329
|
if (that.hasIndices) result += 'd';
|
|
1334
1330
|
if (that.global) result += 'g';
|
|
@@ -1341,13 +1337,13 @@ var regexpFlags$1 = function () {
|
|
|
1341
1337
|
return result;
|
|
1342
1338
|
};
|
|
1343
1339
|
|
|
1344
|
-
var fails$
|
|
1345
|
-
var global$
|
|
1340
|
+
var fails$9 = fails$j;
|
|
1341
|
+
var global$c = global$m;
|
|
1346
1342
|
|
|
1347
1343
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
1348
|
-
var $RegExp$2 = global$
|
|
1344
|
+
var $RegExp$2 = global$c.RegExp;
|
|
1349
1345
|
|
|
1350
|
-
var UNSUPPORTED_Y$1 = fails$
|
|
1346
|
+
var UNSUPPORTED_Y$1 = fails$9(function () {
|
|
1351
1347
|
var re = $RegExp$2('a', 'y');
|
|
1352
1348
|
re.lastIndex = 2;
|
|
1353
1349
|
return re.exec('abcd') !== null;
|
|
@@ -1355,11 +1351,11 @@ var UNSUPPORTED_Y$1 = fails$8(function () {
|
|
|
1355
1351
|
|
|
1356
1352
|
// UC Browser bug
|
|
1357
1353
|
// https://github.com/zloirock/core-js/issues/1008
|
|
1358
|
-
|
|
1354
|
+
UNSUPPORTED_Y$1 || fails$9(function () {
|
|
1359
1355
|
return !$RegExp$2('a', 'y').sticky;
|
|
1360
1356
|
});
|
|
1361
1357
|
|
|
1362
|
-
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$
|
|
1358
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$9(function () {
|
|
1363
1359
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
1364
1360
|
var re = $RegExp$2('^r', 'gy');
|
|
1365
1361
|
re.lastIndex = 2;
|
|
@@ -1367,31 +1363,28 @@ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$8(function () {
|
|
|
1367
1363
|
});
|
|
1368
1364
|
|
|
1369
1365
|
var regexpStickyHelpers = {
|
|
1370
|
-
BROKEN_CARET: BROKEN_CARET
|
|
1371
|
-
MISSED_STICKY: MISSED_STICKY,
|
|
1372
|
-
UNSUPPORTED_Y: UNSUPPORTED_Y$1
|
|
1373
|
-
};
|
|
1366
|
+
BROKEN_CARET: BROKEN_CARET};
|
|
1374
1367
|
|
|
1375
1368
|
var objectDefineProperties = {};
|
|
1376
1369
|
|
|
1377
|
-
var DESCRIPTORS$
|
|
1370
|
+
var DESCRIPTORS$5 = descriptors;
|
|
1378
1371
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1379
|
-
var definePropertyModule = objectDefineProperty;
|
|
1380
|
-
var anObject$
|
|
1372
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
1373
|
+
var anObject$b = anObject$f;
|
|
1381
1374
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1382
1375
|
var objectKeys = objectKeys$2;
|
|
1383
1376
|
|
|
1384
1377
|
// `Object.defineProperties` method
|
|
1385
1378
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1386
1379
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1387
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1388
|
-
anObject$
|
|
1380
|
+
objectDefineProperties.f = DESCRIPTORS$5 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1381
|
+
anObject$b(O);
|
|
1389
1382
|
var props = toIndexedObject$1(Properties);
|
|
1390
1383
|
var keys = objectKeys(Properties);
|
|
1391
1384
|
var length = keys.length;
|
|
1392
1385
|
var index = 0;
|
|
1393
1386
|
var key;
|
|
1394
|
-
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
1387
|
+
while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
|
|
1395
1388
|
return O;
|
|
1396
1389
|
};
|
|
1397
1390
|
|
|
@@ -1400,7 +1393,7 @@ var getBuiltIn$4 = getBuiltIn$7;
|
|
|
1400
1393
|
var html$2 = getBuiltIn$4('document', 'documentElement');
|
|
1401
1394
|
|
|
1402
1395
|
/* global ActiveXObject -- old IE, WSH */
|
|
1403
|
-
var anObject$
|
|
1396
|
+
var anObject$a = anObject$f;
|
|
1404
1397
|
var definePropertiesModule = objectDefineProperties;
|
|
1405
1398
|
var enumBugKeys = enumBugKeys$3;
|
|
1406
1399
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -1474,7 +1467,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
1474
1467
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
1475
1468
|
var result;
|
|
1476
1469
|
if (O !== null) {
|
|
1477
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
1470
|
+
EmptyConstructor[PROTOTYPE] = anObject$a(O);
|
|
1478
1471
|
result = new EmptyConstructor();
|
|
1479
1472
|
EmptyConstructor[PROTOTYPE] = null;
|
|
1480
1473
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -1483,24 +1476,24 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1483
1476
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1484
1477
|
};
|
|
1485
1478
|
|
|
1486
|
-
var fails$
|
|
1487
|
-
var global$
|
|
1479
|
+
var fails$8 = fails$j;
|
|
1480
|
+
var global$b = global$m;
|
|
1488
1481
|
|
|
1489
1482
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
1490
|
-
var $RegExp$1 = global$
|
|
1483
|
+
var $RegExp$1 = global$b.RegExp;
|
|
1491
1484
|
|
|
1492
|
-
var regexpUnsupportedDotAll = fails$
|
|
1485
|
+
var regexpUnsupportedDotAll = fails$8(function () {
|
|
1493
1486
|
var re = $RegExp$1('.', 's');
|
|
1494
1487
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
1495
1488
|
});
|
|
1496
1489
|
|
|
1497
|
-
var fails$
|
|
1498
|
-
var global$
|
|
1490
|
+
var fails$7 = fails$j;
|
|
1491
|
+
var global$a = global$m;
|
|
1499
1492
|
|
|
1500
1493
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
1501
|
-
var $RegExp = global$
|
|
1494
|
+
var $RegExp = global$a.RegExp;
|
|
1502
1495
|
|
|
1503
|
-
var regexpUnsupportedNcg = fails$
|
|
1496
|
+
var regexpUnsupportedNcg = fails$7(function () {
|
|
1504
1497
|
var re = $RegExp('(?<a>b)', 'g');
|
|
1505
1498
|
return re.exec('b').groups.a !== 'b' ||
|
|
1506
1499
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -1623,12 +1616,12 @@ if (PATCH) {
|
|
|
1623
1616
|
|
|
1624
1617
|
var regexpExec$2 = patchedExec;
|
|
1625
1618
|
|
|
1626
|
-
var $$
|
|
1619
|
+
var $$9 = _export;
|
|
1627
1620
|
var exec$1 = regexpExec$2;
|
|
1628
1621
|
|
|
1629
1622
|
// `RegExp.prototype.exec` method
|
|
1630
1623
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
1631
|
-
$$
|
|
1624
|
+
$$9({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
|
|
1632
1625
|
exec: exec$1
|
|
1633
1626
|
});
|
|
1634
1627
|
|
|
@@ -1648,24 +1641,24 @@ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$
|
|
|
1648
1641
|
var call$a = functionCall;
|
|
1649
1642
|
var defineBuiltIn$4 = defineBuiltIn$6;
|
|
1650
1643
|
var regexpExec$1 = regexpExec$2;
|
|
1651
|
-
var fails$
|
|
1652
|
-
var wellKnownSymbol$
|
|
1644
|
+
var fails$6 = fails$j;
|
|
1645
|
+
var wellKnownSymbol$d = wellKnownSymbol$h;
|
|
1653
1646
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
|
|
1654
1647
|
|
|
1655
|
-
var SPECIES$3 = wellKnownSymbol$
|
|
1648
|
+
var SPECIES$3 = wellKnownSymbol$d('species');
|
|
1656
1649
|
var RegExpPrototype = RegExp.prototype;
|
|
1657
1650
|
|
|
1658
1651
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
1659
|
-
var SYMBOL = wellKnownSymbol$
|
|
1652
|
+
var SYMBOL = wellKnownSymbol$d(KEY);
|
|
1660
1653
|
|
|
1661
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
1654
|
+
var DELEGATES_TO_SYMBOL = !fails$6(function () {
|
|
1662
1655
|
// String methods call symbol-named RegExp methods
|
|
1663
1656
|
var O = {};
|
|
1664
1657
|
O[SYMBOL] = function () { return 7; };
|
|
1665
1658
|
return ''[KEY](O) !== 7;
|
|
1666
1659
|
});
|
|
1667
1660
|
|
|
1668
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
1661
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$6(function () {
|
|
1669
1662
|
// Symbol-named RegExp methods call .exec
|
|
1670
1663
|
var execCalled = false;
|
|
1671
1664
|
var re = /a/;
|
|
@@ -1748,9 +1741,6 @@ var createMethod = function (CONVERT_TO_STRING) {
|
|
|
1748
1741
|
};
|
|
1749
1742
|
|
|
1750
1743
|
var stringMultibyte = {
|
|
1751
|
-
// `String.prototype.codePointAt` method
|
|
1752
|
-
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
1753
|
-
codeAt: createMethod(false),
|
|
1754
1744
|
// `String.prototype.at` method
|
|
1755
1745
|
// https://github.com/mathiasbynens/String.prototype.at
|
|
1756
1746
|
charAt: createMethod(true)
|
|
@@ -1811,33 +1801,33 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
1811
1801
|
};
|
|
1812
1802
|
|
|
1813
1803
|
var call$9 = functionCall;
|
|
1814
|
-
var anObject$
|
|
1815
|
-
var isCallable$
|
|
1804
|
+
var anObject$9 = anObject$f;
|
|
1805
|
+
var isCallable$a = isCallable$m;
|
|
1816
1806
|
var classof$3 = classofRaw$2;
|
|
1817
1807
|
var regexpExec = regexpExec$2;
|
|
1818
1808
|
|
|
1819
|
-
var $TypeError$
|
|
1809
|
+
var $TypeError$8 = TypeError;
|
|
1820
1810
|
|
|
1821
1811
|
// `RegExpExec` abstract operation
|
|
1822
1812
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
1823
1813
|
var regexpExecAbstract = function (R, S) {
|
|
1824
1814
|
var exec = R.exec;
|
|
1825
|
-
if (isCallable$
|
|
1815
|
+
if (isCallable$a(exec)) {
|
|
1826
1816
|
var result = call$9(exec, R, S);
|
|
1827
|
-
if (result !== null) anObject$
|
|
1817
|
+
if (result !== null) anObject$9(result);
|
|
1828
1818
|
return result;
|
|
1829
1819
|
}
|
|
1830
1820
|
if (classof$3(R) === 'RegExp') return call$9(regexpExec, R, S);
|
|
1831
|
-
throw new $TypeError$
|
|
1821
|
+
throw new $TypeError$8('RegExp#exec called on incompatible receiver');
|
|
1832
1822
|
};
|
|
1833
1823
|
|
|
1834
1824
|
var apply$1 = functionApply;
|
|
1835
1825
|
var call$8 = functionCall;
|
|
1836
1826
|
var uncurryThis$5 = functionUncurryThis;
|
|
1837
1827
|
var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
|
|
1838
|
-
var fails$
|
|
1839
|
-
var anObject$
|
|
1840
|
-
var isCallable$
|
|
1828
|
+
var fails$5 = fails$j;
|
|
1829
|
+
var anObject$8 = anObject$f;
|
|
1830
|
+
var isCallable$9 = isCallable$m;
|
|
1841
1831
|
var isNullOrUndefined$3 = isNullOrUndefined$6;
|
|
1842
1832
|
var toIntegerOrInfinity = toIntegerOrInfinity$4;
|
|
1843
1833
|
var toLength = toLength$2;
|
|
@@ -1847,9 +1837,9 @@ var advanceStringIndex = advanceStringIndex$1;
|
|
|
1847
1837
|
var getMethod$3 = getMethod$5;
|
|
1848
1838
|
var getSubstitution = getSubstitution$1;
|
|
1849
1839
|
var regExpExec$1 = regexpExecAbstract;
|
|
1850
|
-
var wellKnownSymbol$
|
|
1840
|
+
var wellKnownSymbol$c = wellKnownSymbol$h;
|
|
1851
1841
|
|
|
1852
|
-
var REPLACE = wellKnownSymbol$
|
|
1842
|
+
var REPLACE = wellKnownSymbol$c('replace');
|
|
1853
1843
|
var max = Math.max;
|
|
1854
1844
|
var min = Math.min;
|
|
1855
1845
|
var concat = uncurryThis$5([].concat);
|
|
@@ -1876,7 +1866,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
|
1876
1866
|
return false;
|
|
1877
1867
|
})();
|
|
1878
1868
|
|
|
1879
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$
|
|
1869
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$5(function () {
|
|
1880
1870
|
var re = /./;
|
|
1881
1871
|
re.exec = function () {
|
|
1882
1872
|
var result = [];
|
|
@@ -1904,7 +1894,7 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
1904
1894
|
// `RegExp.prototype[@@replace]` method
|
|
1905
1895
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
1906
1896
|
function (string, replaceValue) {
|
|
1907
|
-
var rx = anObject$
|
|
1897
|
+
var rx = anObject$8(this);
|
|
1908
1898
|
var S = toString$1(string);
|
|
1909
1899
|
|
|
1910
1900
|
if (
|
|
@@ -1916,7 +1906,7 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
1916
1906
|
if (res.done) return res.value;
|
|
1917
1907
|
}
|
|
1918
1908
|
|
|
1919
|
-
var functionalReplace = isCallable$
|
|
1909
|
+
var functionalReplace = isCallable$9(replaceValue);
|
|
1920
1910
|
if (!functionalReplace) replaceValue = toString$1(replaceValue);
|
|
1921
1911
|
|
|
1922
1912
|
var global = rx.global;
|
|
@@ -1983,7 +1973,7 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
1983
1973
|
|
|
1984
1974
|
var call$7 = functionCall;
|
|
1985
1975
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
1986
|
-
var anObject$
|
|
1976
|
+
var anObject$7 = anObject$f;
|
|
1987
1977
|
var isNullOrUndefined$2 = isNullOrUndefined$6;
|
|
1988
1978
|
var requireObjectCoercible$1 = requireObjectCoercible$6;
|
|
1989
1979
|
var sameValue = sameValue$1;
|
|
@@ -2004,7 +1994,7 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
|
|
|
2004
1994
|
// `RegExp.prototype[@@search]` method
|
|
2005
1995
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
|
2006
1996
|
function (string) {
|
|
2007
|
-
var rx = anObject$
|
|
1997
|
+
var rx = anObject$7(this);
|
|
2008
1998
|
var S = toString(string);
|
|
2009
1999
|
var res = maybeCallNative(nativeSearch, rx, S);
|
|
2010
2000
|
|
|
@@ -2124,11 +2114,11 @@ const appConfig = {
|
|
|
2124
2114
|
}
|
|
2125
2115
|
};
|
|
2126
2116
|
|
|
2127
|
-
var wellKnownSymbol$
|
|
2117
|
+
var wellKnownSymbol$b = wellKnownSymbol$h;
|
|
2128
2118
|
var create$1 = objectCreate;
|
|
2129
2119
|
var defineProperty$3 = objectDefineProperty.f;
|
|
2130
2120
|
|
|
2131
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
2121
|
+
var UNSCOPABLES = wellKnownSymbol$b('unscopables');
|
|
2132
2122
|
var ArrayPrototype$1 = Array.prototype;
|
|
2133
2123
|
|
|
2134
2124
|
// Array.prototype[@@unscopables]
|
|
@@ -2147,17 +2137,17 @@ var addToUnscopables$1 = function (key) {
|
|
|
2147
2137
|
|
|
2148
2138
|
var iterators = {};
|
|
2149
2139
|
|
|
2150
|
-
var fails$
|
|
2140
|
+
var fails$4 = fails$j;
|
|
2151
2141
|
|
|
2152
|
-
var correctPrototypeGetter = !fails$
|
|
2142
|
+
var correctPrototypeGetter = !fails$4(function () {
|
|
2153
2143
|
function F() { /* empty */ }
|
|
2154
2144
|
F.prototype.constructor = null;
|
|
2155
2145
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
2156
2146
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
2157
2147
|
});
|
|
2158
2148
|
|
|
2159
|
-
var hasOwn$
|
|
2160
|
-
var isCallable$
|
|
2149
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
2150
|
+
var isCallable$8 = isCallable$m;
|
|
2161
2151
|
var toObject = toObject$4;
|
|
2162
2152
|
var sharedKey = sharedKey$3;
|
|
2163
2153
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -2171,26 +2161,26 @@ var ObjectPrototype = $Object.prototype;
|
|
|
2171
2161
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
2172
2162
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
2173
2163
|
var object = toObject(O);
|
|
2174
|
-
if (hasOwn$
|
|
2164
|
+
if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
|
|
2175
2165
|
var constructor = object.constructor;
|
|
2176
|
-
if (isCallable$
|
|
2166
|
+
if (isCallable$8(constructor) && object instanceof constructor) {
|
|
2177
2167
|
return constructor.prototype;
|
|
2178
2168
|
} return object instanceof $Object ? ObjectPrototype : null;
|
|
2179
2169
|
};
|
|
2180
2170
|
|
|
2181
|
-
var fails$
|
|
2182
|
-
var isCallable$
|
|
2171
|
+
var fails$3 = fails$j;
|
|
2172
|
+
var isCallable$7 = isCallable$m;
|
|
2183
2173
|
var isObject$4 = isObject$a;
|
|
2184
|
-
var getPrototypeOf$
|
|
2174
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
2185
2175
|
var defineBuiltIn$3 = defineBuiltIn$6;
|
|
2186
|
-
var wellKnownSymbol$
|
|
2176
|
+
var wellKnownSymbol$a = wellKnownSymbol$h;
|
|
2187
2177
|
|
|
2188
|
-
var ITERATOR$
|
|
2178
|
+
var ITERATOR$6 = wellKnownSymbol$a('iterator');
|
|
2189
2179
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
2190
2180
|
|
|
2191
2181
|
// `%IteratorPrototype%` object
|
|
2192
2182
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
2193
|
-
var IteratorPrototype$
|
|
2183
|
+
var IteratorPrototype$3, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
2194
2184
|
|
|
2195
2185
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
2196
2186
|
if ([].keys) {
|
|
@@ -2198,48 +2188,48 @@ if ([].keys) {
|
|
|
2198
2188
|
// Safari 8 has buggy iterators w/o `next`
|
|
2199
2189
|
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
2200
2190
|
else {
|
|
2201
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
2202
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
2191
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
2192
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$3 = PrototypeOfArrayIteratorPrototype;
|
|
2203
2193
|
}
|
|
2204
2194
|
}
|
|
2205
2195
|
|
|
2206
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$
|
|
2196
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$3) || fails$3(function () {
|
|
2207
2197
|
var test = {};
|
|
2208
2198
|
// FF44- legacy iterators case
|
|
2209
|
-
return IteratorPrototype$
|
|
2199
|
+
return IteratorPrototype$3[ITERATOR$6].call(test) !== test;
|
|
2210
2200
|
});
|
|
2211
2201
|
|
|
2212
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
2202
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$3 = {};
|
|
2213
2203
|
|
|
2214
2204
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
2215
2205
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
2216
|
-
if (!isCallable$
|
|
2217
|
-
defineBuiltIn$3(IteratorPrototype$
|
|
2206
|
+
if (!isCallable$7(IteratorPrototype$3[ITERATOR$6])) {
|
|
2207
|
+
defineBuiltIn$3(IteratorPrototype$3, ITERATOR$6, function () {
|
|
2218
2208
|
return this;
|
|
2219
2209
|
});
|
|
2220
2210
|
}
|
|
2221
2211
|
|
|
2222
2212
|
var iteratorsCore = {
|
|
2223
|
-
IteratorPrototype: IteratorPrototype$
|
|
2213
|
+
IteratorPrototype: IteratorPrototype$3,
|
|
2224
2214
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
2225
2215
|
};
|
|
2226
2216
|
|
|
2227
2217
|
var defineProperty$2 = objectDefineProperty.f;
|
|
2228
|
-
var hasOwn$
|
|
2229
|
-
var wellKnownSymbol$
|
|
2218
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
2219
|
+
var wellKnownSymbol$9 = wellKnownSymbol$h;
|
|
2230
2220
|
|
|
2231
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
2221
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$9('toStringTag');
|
|
2232
2222
|
|
|
2233
2223
|
var setToStringTag$4 = function (target, TAG, STATIC) {
|
|
2234
2224
|
if (target && !STATIC) target = target.prototype;
|
|
2235
|
-
if (target && !hasOwn$
|
|
2236
|
-
defineProperty$2(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
2225
|
+
if (target && !hasOwn$2(target, TO_STRING_TAG$1)) {
|
|
2226
|
+
defineProperty$2(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
|
|
2237
2227
|
}
|
|
2238
2228
|
};
|
|
2239
2229
|
|
|
2240
|
-
var IteratorPrototype$
|
|
2230
|
+
var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
|
|
2241
2231
|
var create = objectCreate;
|
|
2242
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
2232
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$4;
|
|
2243
2233
|
var setToStringTag$3 = setToStringTag$4;
|
|
2244
2234
|
var Iterators$4 = iterators;
|
|
2245
2235
|
|
|
@@ -2247,19 +2237,19 @@ var returnThis$1 = function () { return this; };
|
|
|
2247
2237
|
|
|
2248
2238
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
2249
2239
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2250
|
-
IteratorConstructor.prototype = create(IteratorPrototype$
|
|
2240
|
+
IteratorConstructor.prototype = create(IteratorPrototype$2, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
|
|
2251
2241
|
setToStringTag$3(IteratorConstructor, TO_STRING_TAG, false);
|
|
2252
2242
|
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
2253
2243
|
return IteratorConstructor;
|
|
2254
2244
|
};
|
|
2255
2245
|
|
|
2256
2246
|
var uncurryThis$4 = functionUncurryThis;
|
|
2257
|
-
var aCallable$
|
|
2247
|
+
var aCallable$7 = aCallable$9;
|
|
2258
2248
|
|
|
2259
2249
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
2260
2250
|
try {
|
|
2261
2251
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2262
|
-
return uncurryThis$4(aCallable$
|
|
2252
|
+
return uncurryThis$4(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
2263
2253
|
} catch (error) { /* empty */ }
|
|
2264
2254
|
};
|
|
2265
2255
|
|
|
@@ -2272,11 +2262,11 @@ var isPossiblePrototype$1 = function (argument) {
|
|
|
2272
2262
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
2273
2263
|
|
|
2274
2264
|
var $String = String;
|
|
2275
|
-
var $TypeError$
|
|
2265
|
+
var $TypeError$7 = TypeError;
|
|
2276
2266
|
|
|
2277
2267
|
var aPossiblePrototype$1 = function (argument) {
|
|
2278
2268
|
if (isPossiblePrototype(argument)) return argument;
|
|
2279
|
-
throw new $TypeError$
|
|
2269
|
+
throw new $TypeError$7("Can't set " + $String(argument) + ' as a prototype');
|
|
2280
2270
|
};
|
|
2281
2271
|
|
|
2282
2272
|
/* eslint-disable no-proto -- safe */
|
|
@@ -2308,25 +2298,25 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
2308
2298
|
};
|
|
2309
2299
|
}() : undefined);
|
|
2310
2300
|
|
|
2311
|
-
var $$
|
|
2301
|
+
var $$8 = _export;
|
|
2312
2302
|
var call$6 = functionCall;
|
|
2313
2303
|
var FunctionName = functionName;
|
|
2314
|
-
var isCallable$
|
|
2304
|
+
var isCallable$6 = isCallable$m;
|
|
2315
2305
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
2316
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
2306
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
2317
2307
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
2318
2308
|
var setToStringTag$2 = setToStringTag$4;
|
|
2319
2309
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
|
|
2320
2310
|
var defineBuiltIn$2 = defineBuiltIn$6;
|
|
2321
|
-
var wellKnownSymbol$
|
|
2311
|
+
var wellKnownSymbol$8 = wellKnownSymbol$h;
|
|
2322
2312
|
var Iterators$3 = iterators;
|
|
2323
2313
|
var IteratorsCore = iteratorsCore;
|
|
2324
2314
|
|
|
2325
2315
|
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
2326
2316
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
2327
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
2317
|
+
var IteratorPrototype$1 = IteratorsCore.IteratorPrototype;
|
|
2328
2318
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
2329
|
-
var ITERATOR$
|
|
2319
|
+
var ITERATOR$5 = wellKnownSymbol$8('iterator');
|
|
2330
2320
|
var KEYS = 'keys';
|
|
2331
2321
|
var VALUES = 'values';
|
|
2332
2322
|
var ENTRIES = 'entries';
|
|
@@ -2352,7 +2342,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2352
2342
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2353
2343
|
var INCORRECT_VALUES_NAME = false;
|
|
2354
2344
|
var IterablePrototype = Iterable.prototype;
|
|
2355
|
-
var nativeIterator = IterablePrototype[ITERATOR$
|
|
2345
|
+
var nativeIterator = IterablePrototype[ITERATOR$5]
|
|
2356
2346
|
|| IterablePrototype['@@iterator']
|
|
2357
2347
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
2358
2348
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
@@ -2361,13 +2351,13 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2361
2351
|
|
|
2362
2352
|
// fix native
|
|
2363
2353
|
if (anyNativeIterator) {
|
|
2364
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
2354
|
+
CurrentIteratorPrototype = getPrototypeOf$1(anyNativeIterator.call(new Iterable()));
|
|
2365
2355
|
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
2366
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
2356
|
+
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$1) {
|
|
2367
2357
|
if (setPrototypeOf$1) {
|
|
2368
|
-
setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype);
|
|
2369
|
-
} else if (!isCallable$
|
|
2370
|
-
defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$
|
|
2358
|
+
setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype$1);
|
|
2359
|
+
} else if (!isCallable$6(CurrentIteratorPrototype[ITERATOR$5])) {
|
|
2360
|
+
defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$5, returnThis);
|
|
2371
2361
|
}
|
|
2372
2362
|
}
|
|
2373
2363
|
// Set @@toStringTag to native iterators
|
|
@@ -2396,12 +2386,12 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2396
2386
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
2397
2387
|
defineBuiltIn$2(IterablePrototype, KEY, methods[KEY]);
|
|
2398
2388
|
}
|
|
2399
|
-
} else $$
|
|
2389
|
+
} else $$8({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
2400
2390
|
}
|
|
2401
2391
|
|
|
2402
2392
|
// define iterator
|
|
2403
|
-
if (IterablePrototype[ITERATOR$
|
|
2404
|
-
defineBuiltIn$2(IterablePrototype, ITERATOR$
|
|
2393
|
+
if (IterablePrototype[ITERATOR$5] !== defaultIterator) {
|
|
2394
|
+
defineBuiltIn$2(IterablePrototype, ITERATOR$5, defaultIterator, { name: DEFAULT });
|
|
2405
2395
|
}
|
|
2406
2396
|
Iterators$3[NAME] = defaultIterator;
|
|
2407
2397
|
|
|
@@ -2421,7 +2411,7 @@ var InternalStateModule$1 = internalState;
|
|
|
2421
2411
|
var defineProperty$1 = objectDefineProperty.f;
|
|
2422
2412
|
var defineIterator = iteratorDefine;
|
|
2423
2413
|
var createIterResultObject = createIterResultObject$1;
|
|
2424
|
-
var DESCRIPTORS$
|
|
2414
|
+
var DESCRIPTORS$4 = descriptors;
|
|
2425
2415
|
|
|
2426
2416
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
2427
2417
|
var setInternalState$1 = InternalStateModule$1.set;
|
|
@@ -2471,36 +2461,36 @@ addToUnscopables('values');
|
|
|
2471
2461
|
addToUnscopables('entries');
|
|
2472
2462
|
|
|
2473
2463
|
// V8 ~ Chrome 45- bug
|
|
2474
|
-
if (DESCRIPTORS$
|
|
2464
|
+
if (DESCRIPTORS$4 && values.name !== 'values') try {
|
|
2475
2465
|
defineProperty$1(values, 'name', { value: 'values' });
|
|
2476
2466
|
} catch (error) { /* empty */ }
|
|
2477
2467
|
|
|
2478
|
-
var global$
|
|
2468
|
+
var global$9 = global$m;
|
|
2479
2469
|
var classof$2 = classofRaw$2;
|
|
2480
2470
|
|
|
2481
|
-
var engineIsNode = classof$2(global$
|
|
2471
|
+
var engineIsNode = classof$2(global$9.process) === 'process';
|
|
2482
2472
|
|
|
2483
2473
|
var makeBuiltIn = makeBuiltInExports;
|
|
2484
2474
|
var defineProperty = objectDefineProperty;
|
|
2485
2475
|
|
|
2486
|
-
var defineBuiltInAccessor$
|
|
2476
|
+
var defineBuiltInAccessor$2 = function (target, name, descriptor) {
|
|
2487
2477
|
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
2488
2478
|
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
2489
2479
|
return defineProperty.f(target, name, descriptor);
|
|
2490
2480
|
};
|
|
2491
2481
|
|
|
2492
2482
|
var getBuiltIn$3 = getBuiltIn$7;
|
|
2493
|
-
var defineBuiltInAccessor = defineBuiltInAccessor$
|
|
2494
|
-
var wellKnownSymbol$
|
|
2495
|
-
var DESCRIPTORS$
|
|
2483
|
+
var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
|
|
2484
|
+
var wellKnownSymbol$7 = wellKnownSymbol$h;
|
|
2485
|
+
var DESCRIPTORS$3 = descriptors;
|
|
2496
2486
|
|
|
2497
|
-
var SPECIES$2 = wellKnownSymbol$
|
|
2487
|
+
var SPECIES$2 = wellKnownSymbol$7('species');
|
|
2498
2488
|
|
|
2499
2489
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
2500
2490
|
var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
|
|
2501
2491
|
|
|
2502
|
-
if (DESCRIPTORS$
|
|
2503
|
-
defineBuiltInAccessor(Constructor, SPECIES$2, {
|
|
2492
|
+
if (DESCRIPTORS$3 && Constructor && !Constructor[SPECIES$2]) {
|
|
2493
|
+
defineBuiltInAccessor$1(Constructor, SPECIES$2, {
|
|
2504
2494
|
configurable: true,
|
|
2505
2495
|
get: function () { return this; }
|
|
2506
2496
|
});
|
|
@@ -2509,16 +2499,16 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
2509
2499
|
|
|
2510
2500
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
2511
2501
|
|
|
2512
|
-
var $TypeError$
|
|
2502
|
+
var $TypeError$6 = TypeError;
|
|
2513
2503
|
|
|
2514
|
-
var anInstance$
|
|
2504
|
+
var anInstance$2 = function (it, Prototype) {
|
|
2515
2505
|
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
2516
|
-
throw new $TypeError$
|
|
2506
|
+
throw new $TypeError$6('Incorrect invocation');
|
|
2517
2507
|
};
|
|
2518
2508
|
|
|
2519
2509
|
var uncurryThis$3 = functionUncurryThis;
|
|
2520
|
-
var fails$
|
|
2521
|
-
var isCallable$
|
|
2510
|
+
var fails$2 = fails$j;
|
|
2511
|
+
var isCallable$5 = isCallable$m;
|
|
2522
2512
|
var classof$1 = classof$5;
|
|
2523
2513
|
var getBuiltIn$2 = getBuiltIn$7;
|
|
2524
2514
|
var inspectSource$1 = inspectSource$3;
|
|
@@ -2530,7 +2520,7 @@ var exec = uncurryThis$3(constructorRegExp.exec);
|
|
|
2530
2520
|
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
2531
2521
|
|
|
2532
2522
|
var isConstructorModern = function isConstructor(argument) {
|
|
2533
|
-
if (!isCallable$
|
|
2523
|
+
if (!isCallable$5(argument)) return false;
|
|
2534
2524
|
try {
|
|
2535
2525
|
construct(noop, [], argument);
|
|
2536
2526
|
return true;
|
|
@@ -2540,7 +2530,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
2540
2530
|
};
|
|
2541
2531
|
|
|
2542
2532
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
2543
|
-
if (!isCallable$
|
|
2533
|
+
if (!isCallable$5(argument)) return false;
|
|
2544
2534
|
switch (classof$1(argument)) {
|
|
2545
2535
|
case 'AsyncFunction':
|
|
2546
2536
|
case 'GeneratorFunction':
|
|
@@ -2560,7 +2550,7 @@ isConstructorLegacy.sham = true;
|
|
|
2560
2550
|
|
|
2561
2551
|
// `IsConstructor` abstract operation
|
|
2562
2552
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
2563
|
-
var isConstructor$1 = !construct || fails$
|
|
2553
|
+
var isConstructor$1 = !construct || fails$2(function () {
|
|
2564
2554
|
var called;
|
|
2565
2555
|
return isConstructorModern(isConstructorModern.call)
|
|
2566
2556
|
|| !isConstructorModern(Object)
|
|
@@ -2571,27 +2561,27 @@ var isConstructor$1 = !construct || fails$1(function () {
|
|
|
2571
2561
|
var isConstructor = isConstructor$1;
|
|
2572
2562
|
var tryToString$2 = tryToString$4;
|
|
2573
2563
|
|
|
2574
|
-
var $TypeError$
|
|
2564
|
+
var $TypeError$5 = TypeError;
|
|
2575
2565
|
|
|
2576
2566
|
// `Assert: IsConstructor(argument) is true`
|
|
2577
2567
|
var aConstructor$1 = function (argument) {
|
|
2578
2568
|
if (isConstructor(argument)) return argument;
|
|
2579
|
-
throw new $TypeError$
|
|
2569
|
+
throw new $TypeError$5(tryToString$2(argument) + ' is not a constructor');
|
|
2580
2570
|
};
|
|
2581
2571
|
|
|
2582
|
-
var anObject$
|
|
2572
|
+
var anObject$6 = anObject$f;
|
|
2583
2573
|
var aConstructor = aConstructor$1;
|
|
2584
2574
|
var isNullOrUndefined$1 = isNullOrUndefined$6;
|
|
2585
|
-
var wellKnownSymbol$
|
|
2575
|
+
var wellKnownSymbol$6 = wellKnownSymbol$h;
|
|
2586
2576
|
|
|
2587
|
-
var SPECIES$1 = wellKnownSymbol$
|
|
2577
|
+
var SPECIES$1 = wellKnownSymbol$6('species');
|
|
2588
2578
|
|
|
2589
2579
|
// `SpeciesConstructor` abstract operation
|
|
2590
2580
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
2591
2581
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
2592
|
-
var C = anObject$
|
|
2582
|
+
var C = anObject$6(O).constructor;
|
|
2593
2583
|
var S;
|
|
2594
|
-
return C === undefined || isNullOrUndefined$1(S = anObject$
|
|
2584
|
+
return C === undefined || isNullOrUndefined$1(S = anObject$6(C)[SPECIES$1]) ? defaultConstructor : aConstructor(S);
|
|
2595
2585
|
};
|
|
2596
2586
|
|
|
2597
2587
|
var classofRaw = classofRaw$2;
|
|
@@ -2605,14 +2595,14 @@ var functionUncurryThisClause = function (fn) {
|
|
|
2605
2595
|
};
|
|
2606
2596
|
|
|
2607
2597
|
var uncurryThis$1 = functionUncurryThisClause;
|
|
2608
|
-
var aCallable$
|
|
2598
|
+
var aCallable$6 = aCallable$9;
|
|
2609
2599
|
var NATIVE_BIND = functionBindNative;
|
|
2610
2600
|
|
|
2611
2601
|
var bind$4 = uncurryThis$1(uncurryThis$1.bind);
|
|
2612
2602
|
|
|
2613
2603
|
// optional / simple context binding
|
|
2614
2604
|
var functionBindContext = function (fn, that) {
|
|
2615
|
-
aCallable$
|
|
2605
|
+
aCallable$6(fn);
|
|
2616
2606
|
return that === undefined ? fn : NATIVE_BIND ? bind$4(fn, that) : function (/* ...args */) {
|
|
2617
2607
|
return fn.apply(that, arguments);
|
|
2618
2608
|
};
|
|
@@ -2622,10 +2612,10 @@ var uncurryThis = functionUncurryThis;
|
|
|
2622
2612
|
|
|
2623
2613
|
var arraySlice$1 = uncurryThis([].slice);
|
|
2624
2614
|
|
|
2625
|
-
var $TypeError$
|
|
2615
|
+
var $TypeError$4 = TypeError;
|
|
2626
2616
|
|
|
2627
2617
|
var validateArgumentsLength$1 = function (passed, required) {
|
|
2628
|
-
if (passed < required) throw new $TypeError$
|
|
2618
|
+
if (passed < required) throw new $TypeError$4('Not enough arguments');
|
|
2629
2619
|
return passed;
|
|
2630
2620
|
};
|
|
2631
2621
|
|
|
@@ -2634,12 +2624,12 @@ var userAgent$2 = engineUserAgent;
|
|
|
2634
2624
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
2635
2625
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
2636
2626
|
|
|
2637
|
-
var global$
|
|
2627
|
+
var global$8 = global$m;
|
|
2638
2628
|
var apply = functionApply;
|
|
2639
2629
|
var bind$3 = functionBindContext;
|
|
2640
|
-
var isCallable$
|
|
2641
|
-
var hasOwn = hasOwnProperty_1;
|
|
2642
|
-
var fails = fails$
|
|
2630
|
+
var isCallable$4 = isCallable$m;
|
|
2631
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
2632
|
+
var fails$1 = fails$j;
|
|
2643
2633
|
var html = html$2;
|
|
2644
2634
|
var arraySlice = arraySlice$1;
|
|
2645
2635
|
var createElement = documentCreateElement$2;
|
|
@@ -2647,25 +2637,25 @@ var validateArgumentsLength = validateArgumentsLength$1;
|
|
|
2647
2637
|
var IS_IOS$1 = engineIsIos;
|
|
2648
2638
|
var IS_NODE$3 = engineIsNode;
|
|
2649
2639
|
|
|
2650
|
-
var set = global$
|
|
2651
|
-
var clear = global$
|
|
2652
|
-
var process$3 = global$
|
|
2653
|
-
var Dispatch = global$
|
|
2654
|
-
var Function$1 = global$
|
|
2655
|
-
var MessageChannel = global$
|
|
2656
|
-
var String$1 = global$
|
|
2640
|
+
var set = global$8.setImmediate;
|
|
2641
|
+
var clear = global$8.clearImmediate;
|
|
2642
|
+
var process$3 = global$8.process;
|
|
2643
|
+
var Dispatch = global$8.Dispatch;
|
|
2644
|
+
var Function$1 = global$8.Function;
|
|
2645
|
+
var MessageChannel = global$8.MessageChannel;
|
|
2646
|
+
var String$1 = global$8.String;
|
|
2657
2647
|
var counter = 0;
|
|
2658
2648
|
var queue$2 = {};
|
|
2659
2649
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
2660
2650
|
var $location, defer, channel, port;
|
|
2661
2651
|
|
|
2662
|
-
fails(function () {
|
|
2652
|
+
fails$1(function () {
|
|
2663
2653
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
2664
|
-
$location = global$
|
|
2654
|
+
$location = global$8.location;
|
|
2665
2655
|
});
|
|
2666
2656
|
|
|
2667
2657
|
var run = function (id) {
|
|
2668
|
-
if (hasOwn(queue$2, id)) {
|
|
2658
|
+
if (hasOwn$1(queue$2, id)) {
|
|
2669
2659
|
var fn = queue$2[id];
|
|
2670
2660
|
delete queue$2[id];
|
|
2671
2661
|
fn();
|
|
@@ -2684,14 +2674,14 @@ var eventListener = function (event) {
|
|
|
2684
2674
|
|
|
2685
2675
|
var globalPostMessageDefer = function (id) {
|
|
2686
2676
|
// old engines have not location.origin
|
|
2687
|
-
global$
|
|
2677
|
+
global$8.postMessage(String$1(id), $location.protocol + '//' + $location.host);
|
|
2688
2678
|
};
|
|
2689
2679
|
|
|
2690
2680
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
2691
2681
|
if (!set || !clear) {
|
|
2692
2682
|
set = function setImmediate(handler) {
|
|
2693
2683
|
validateArgumentsLength(arguments.length, 1);
|
|
2694
|
-
var fn = isCallable$
|
|
2684
|
+
var fn = isCallable$4(handler) ? handler : Function$1(handler);
|
|
2695
2685
|
var args = arraySlice(arguments, 1);
|
|
2696
2686
|
queue$2[++counter] = function () {
|
|
2697
2687
|
apply(fn, undefined, args);
|
|
@@ -2722,14 +2712,14 @@ if (!set || !clear) {
|
|
|
2722
2712
|
// Browsers with postMessage, skip WebWorkers
|
|
2723
2713
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
2724
2714
|
} else if (
|
|
2725
|
-
global$
|
|
2726
|
-
isCallable$
|
|
2727
|
-
!global$
|
|
2715
|
+
global$8.addEventListener &&
|
|
2716
|
+
isCallable$4(global$8.postMessage) &&
|
|
2717
|
+
!global$8.importScripts &&
|
|
2728
2718
|
$location && $location.protocol !== 'file:' &&
|
|
2729
|
-
!fails(globalPostMessageDefer)
|
|
2719
|
+
!fails$1(globalPostMessageDefer)
|
|
2730
2720
|
) {
|
|
2731
2721
|
defer = globalPostMessageDefer;
|
|
2732
|
-
global$
|
|
2722
|
+
global$8.addEventListener('message', eventListener, false);
|
|
2733
2723
|
// IE8-
|
|
2734
2724
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
2735
2725
|
defer = function (id) {
|
|
@@ -2747,20 +2737,18 @@ if (!set || !clear) {
|
|
|
2747
2737
|
}
|
|
2748
2738
|
|
|
2749
2739
|
var task$1 = {
|
|
2750
|
-
set: set
|
|
2751
|
-
clear: clear
|
|
2752
|
-
};
|
|
2740
|
+
set: set};
|
|
2753
2741
|
|
|
2754
|
-
var global$
|
|
2755
|
-
var DESCRIPTORS = descriptors;
|
|
2742
|
+
var global$7 = global$m;
|
|
2743
|
+
var DESCRIPTORS$2 = descriptors;
|
|
2756
2744
|
|
|
2757
2745
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2758
2746
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
2759
2747
|
|
|
2760
2748
|
// Avoid NodeJS experimental warning
|
|
2761
2749
|
var safeGetBuiltIn$1 = function (name) {
|
|
2762
|
-
if (!DESCRIPTORS) return global$
|
|
2763
|
-
var descriptor = getOwnPropertyDescriptor(global$
|
|
2750
|
+
if (!DESCRIPTORS$2) return global$7[name];
|
|
2751
|
+
var descriptor = getOwnPropertyDescriptor(global$7, name);
|
|
2764
2752
|
return descriptor && descriptor.value;
|
|
2765
2753
|
};
|
|
2766
2754
|
|
|
@@ -2797,7 +2785,7 @@ var userAgent = engineUserAgent;
|
|
|
2797
2785
|
|
|
2798
2786
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
2799
2787
|
|
|
2800
|
-
var global$
|
|
2788
|
+
var global$6 = global$m;
|
|
2801
2789
|
var safeGetBuiltIn = safeGetBuiltIn$1;
|
|
2802
2790
|
var bind$2 = functionBindContext;
|
|
2803
2791
|
var macrotask = task$1.set;
|
|
@@ -2807,10 +2795,10 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
|
2807
2795
|
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
2808
2796
|
var IS_NODE$2 = engineIsNode;
|
|
2809
2797
|
|
|
2810
|
-
var MutationObserver = global$
|
|
2811
|
-
var document$2 = global$
|
|
2812
|
-
var process$2 = global$
|
|
2813
|
-
var Promise$1 = global$
|
|
2798
|
+
var MutationObserver = global$6.MutationObserver || global$6.WebKitMutationObserver;
|
|
2799
|
+
var document$2 = global$6.document;
|
|
2800
|
+
var process$2 = global$6.process;
|
|
2801
|
+
var Promise$1 = global$6.Promise;
|
|
2814
2802
|
var microtask$1 = safeGetBuiltIn('queueMicrotask');
|
|
2815
2803
|
var notify$1, toggle, node, promise, then;
|
|
2816
2804
|
|
|
@@ -2862,7 +2850,7 @@ if (!microtask$1) {
|
|
|
2862
2850
|
// - setTimeout
|
|
2863
2851
|
} else {
|
|
2864
2852
|
// `webpack` dev server bug on IE global methods - use bind(fn, global)
|
|
2865
|
-
macrotask = bind$2(macrotask, global$
|
|
2853
|
+
macrotask = bind$2(macrotask, global$6);
|
|
2866
2854
|
notify$1 = function () {
|
|
2867
2855
|
macrotask(flush);
|
|
2868
2856
|
};
|
|
@@ -2891,9 +2879,9 @@ var perform$3 = function (exec) {
|
|
|
2891
2879
|
}
|
|
2892
2880
|
};
|
|
2893
2881
|
|
|
2894
|
-
var global$
|
|
2882
|
+
var global$5 = global$m;
|
|
2895
2883
|
|
|
2896
|
-
var promiseNativeConstructor = global$
|
|
2884
|
+
var promiseNativeConstructor = global$5.Promise;
|
|
2897
2885
|
|
|
2898
2886
|
/* global Deno -- Deno case */
|
|
2899
2887
|
var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
|
|
@@ -2905,20 +2893,20 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
|
2905
2893
|
&& typeof window == 'object'
|
|
2906
2894
|
&& typeof document == 'object';
|
|
2907
2895
|
|
|
2908
|
-
var global$
|
|
2896
|
+
var global$4 = global$m;
|
|
2909
2897
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
2910
|
-
var isCallable$
|
|
2898
|
+
var isCallable$3 = isCallable$m;
|
|
2911
2899
|
var isForced = isForced_1;
|
|
2912
2900
|
var inspectSource = inspectSource$3;
|
|
2913
|
-
var wellKnownSymbol$
|
|
2901
|
+
var wellKnownSymbol$5 = wellKnownSymbol$h;
|
|
2914
2902
|
var IS_BROWSER = engineIsBrowser;
|
|
2915
2903
|
var IS_DENO = engineIsDeno;
|
|
2916
2904
|
var V8_VERSION = engineV8Version;
|
|
2917
2905
|
|
|
2918
2906
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
2919
|
-
var SPECIES = wellKnownSymbol$
|
|
2907
|
+
var SPECIES = wellKnownSymbol$5('species');
|
|
2920
2908
|
var SUBCLASSING = false;
|
|
2921
|
-
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$
|
|
2909
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$3(global$4.PromiseRejectionEvent);
|
|
2922
2910
|
|
|
2923
2911
|
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
2924
2912
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
@@ -2952,19 +2940,19 @@ var promiseConstructorDetection = {
|
|
|
2952
2940
|
|
|
2953
2941
|
var newPromiseCapability$2 = {};
|
|
2954
2942
|
|
|
2955
|
-
var aCallable$
|
|
2943
|
+
var aCallable$5 = aCallable$9;
|
|
2956
2944
|
|
|
2957
|
-
var $TypeError$
|
|
2945
|
+
var $TypeError$3 = TypeError;
|
|
2958
2946
|
|
|
2959
2947
|
var PromiseCapability = function (C) {
|
|
2960
2948
|
var resolve, reject;
|
|
2961
2949
|
this.promise = new C(function ($$resolve, $$reject) {
|
|
2962
|
-
if (resolve !== undefined || reject !== undefined) throw new $TypeError$
|
|
2950
|
+
if (resolve !== undefined || reject !== undefined) throw new $TypeError$3('Bad Promise constructor');
|
|
2963
2951
|
resolve = $$resolve;
|
|
2964
2952
|
reject = $$reject;
|
|
2965
2953
|
});
|
|
2966
|
-
this.resolve = aCallable$
|
|
2967
|
-
this.reject = aCallable$
|
|
2954
|
+
this.resolve = aCallable$5(resolve);
|
|
2955
|
+
this.reject = aCallable$5(reject);
|
|
2968
2956
|
};
|
|
2969
2957
|
|
|
2970
2958
|
// `NewPromiseCapability` abstract operation
|
|
@@ -2973,18 +2961,18 @@ newPromiseCapability$2.f = function (C) {
|
|
|
2973
2961
|
return new PromiseCapability(C);
|
|
2974
2962
|
};
|
|
2975
2963
|
|
|
2976
|
-
var $$
|
|
2964
|
+
var $$7 = _export;
|
|
2977
2965
|
var IS_NODE = engineIsNode;
|
|
2978
|
-
var global$
|
|
2966
|
+
var global$3 = global$m;
|
|
2979
2967
|
var call$5 = functionCall;
|
|
2980
2968
|
var defineBuiltIn$1 = defineBuiltIn$6;
|
|
2981
2969
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
2982
2970
|
var setToStringTag$1 = setToStringTag$4;
|
|
2983
2971
|
var setSpecies = setSpecies$1;
|
|
2984
|
-
var aCallable$
|
|
2985
|
-
var isCallable$
|
|
2972
|
+
var aCallable$4 = aCallable$9;
|
|
2973
|
+
var isCallable$2 = isCallable$m;
|
|
2986
2974
|
var isObject$1 = isObject$a;
|
|
2987
|
-
var anInstance = anInstance$
|
|
2975
|
+
var anInstance$1 = anInstance$2;
|
|
2988
2976
|
var speciesConstructor = speciesConstructor$1;
|
|
2989
2977
|
var task = task$1.set;
|
|
2990
2978
|
var microtask = microtask_1;
|
|
@@ -3005,13 +2993,13 @@ var setInternalState = InternalStateModule.set;
|
|
|
3005
2993
|
var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
|
|
3006
2994
|
var PromiseConstructor = NativePromiseConstructor$2;
|
|
3007
2995
|
var PromisePrototype = NativePromisePrototype$1;
|
|
3008
|
-
var TypeError$1 = global$
|
|
3009
|
-
var document$1 = global$
|
|
3010
|
-
var process$1 = global$
|
|
2996
|
+
var TypeError$1 = global$3.TypeError;
|
|
2997
|
+
var document$1 = global$3.document;
|
|
2998
|
+
var process$1 = global$3.process;
|
|
3011
2999
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
3012
3000
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
3013
3001
|
|
|
3014
|
-
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$
|
|
3002
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$3.dispatchEvent);
|
|
3015
3003
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
3016
3004
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
3017
3005
|
var PENDING = 0;
|
|
@@ -3025,7 +3013,7 @@ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
|
3025
3013
|
// helpers
|
|
3026
3014
|
var isThenable = function (it) {
|
|
3027
3015
|
var then;
|
|
3028
|
-
return isObject$1(it) && isCallable$
|
|
3016
|
+
return isObject$1(it) && isCallable$2(then = it.then) ? then : false;
|
|
3029
3017
|
};
|
|
3030
3018
|
|
|
3031
3019
|
var callReaction = function (reaction, state) {
|
|
@@ -3084,14 +3072,14 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
3084
3072
|
event.promise = promise;
|
|
3085
3073
|
event.reason = reason;
|
|
3086
3074
|
event.initEvent(name, false, true);
|
|
3087
|
-
global$
|
|
3075
|
+
global$3.dispatchEvent(event);
|
|
3088
3076
|
} else event = { promise: promise, reason: reason };
|
|
3089
|
-
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$
|
|
3077
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$3['on' + name])) handler(event);
|
|
3090
3078
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
3091
3079
|
};
|
|
3092
3080
|
|
|
3093
3081
|
var onUnhandled = function (state) {
|
|
3094
|
-
call$5(task, global$
|
|
3082
|
+
call$5(task, global$3, function () {
|
|
3095
3083
|
var promise = state.facade;
|
|
3096
3084
|
var value = state.value;
|
|
3097
3085
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -3114,7 +3102,7 @@ var isUnhandled = function (state) {
|
|
|
3114
3102
|
};
|
|
3115
3103
|
|
|
3116
3104
|
var onHandleUnhandled = function (state) {
|
|
3117
|
-
call$5(task, global$
|
|
3105
|
+
call$5(task, global$3, function () {
|
|
3118
3106
|
var promise = state.facade;
|
|
3119
3107
|
if (IS_NODE) {
|
|
3120
3108
|
process$1.emit('rejectionHandled', promise);
|
|
@@ -3170,8 +3158,8 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
3170
3158
|
if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
3171
3159
|
// 25.4.3.1 Promise(executor)
|
|
3172
3160
|
PromiseConstructor = function Promise(executor) {
|
|
3173
|
-
anInstance(this, PromisePrototype);
|
|
3174
|
-
aCallable$
|
|
3161
|
+
anInstance$1(this, PromisePrototype);
|
|
3162
|
+
aCallable$4(executor);
|
|
3175
3163
|
call$5(Internal, this);
|
|
3176
3164
|
var state = getInternalPromiseState(this);
|
|
3177
3165
|
try {
|
|
@@ -3203,8 +3191,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
3203
3191
|
var state = getInternalPromiseState(this);
|
|
3204
3192
|
var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
|
|
3205
3193
|
state.parent = true;
|
|
3206
|
-
reaction.ok = isCallable$
|
|
3207
|
-
reaction.fail = isCallable$
|
|
3194
|
+
reaction.ok = isCallable$2(onFulfilled) ? onFulfilled : true;
|
|
3195
|
+
reaction.fail = isCallable$2(onRejected) && onRejected;
|
|
3208
3196
|
reaction.domain = IS_NODE ? process$1.domain : undefined;
|
|
3209
3197
|
if (state.state === PENDING) state.reactions.add(reaction);
|
|
3210
3198
|
else microtask(function () {
|
|
@@ -3227,7 +3215,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
3227
3215
|
: newGenericPromiseCapability(C);
|
|
3228
3216
|
};
|
|
3229
3217
|
|
|
3230
|
-
if (isCallable$
|
|
3218
|
+
if (isCallable$2(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
|
|
3231
3219
|
nativeThen = NativePromisePrototype$1.then;
|
|
3232
3220
|
|
|
3233
3221
|
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
@@ -3253,59 +3241,59 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
3253
3241
|
}
|
|
3254
3242
|
}
|
|
3255
3243
|
|
|
3256
|
-
$$
|
|
3244
|
+
$$7({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
3257
3245
|
Promise: PromiseConstructor
|
|
3258
3246
|
});
|
|
3259
3247
|
|
|
3260
3248
|
setToStringTag$1(PromiseConstructor, PROMISE, false);
|
|
3261
3249
|
setSpecies(PROMISE);
|
|
3262
3250
|
|
|
3263
|
-
var wellKnownSymbol$
|
|
3251
|
+
var wellKnownSymbol$4 = wellKnownSymbol$h;
|
|
3264
3252
|
var Iterators$1 = iterators;
|
|
3265
3253
|
|
|
3266
|
-
var ITERATOR$
|
|
3254
|
+
var ITERATOR$4 = wellKnownSymbol$4('iterator');
|
|
3267
3255
|
var ArrayPrototype = Array.prototype;
|
|
3268
3256
|
|
|
3269
3257
|
// check on default Array iterator
|
|
3270
3258
|
var isArrayIteratorMethod$1 = function (it) {
|
|
3271
|
-
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$
|
|
3259
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$4] === it);
|
|
3272
3260
|
};
|
|
3273
3261
|
|
|
3274
3262
|
var classof = classof$5;
|
|
3275
3263
|
var getMethod$1 = getMethod$5;
|
|
3276
3264
|
var isNullOrUndefined = isNullOrUndefined$6;
|
|
3277
3265
|
var Iterators = iterators;
|
|
3278
|
-
var wellKnownSymbol$
|
|
3266
|
+
var wellKnownSymbol$3 = wellKnownSymbol$h;
|
|
3279
3267
|
|
|
3280
|
-
var ITERATOR$
|
|
3268
|
+
var ITERATOR$3 = wellKnownSymbol$3('iterator');
|
|
3281
3269
|
|
|
3282
3270
|
var getIteratorMethod$2 = function (it) {
|
|
3283
|
-
if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR$
|
|
3271
|
+
if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR$3)
|
|
3284
3272
|
|| getMethod$1(it, '@@iterator')
|
|
3285
3273
|
|| Iterators[classof(it)];
|
|
3286
3274
|
};
|
|
3287
3275
|
|
|
3288
3276
|
var call$4 = functionCall;
|
|
3289
|
-
var aCallable$
|
|
3290
|
-
var anObject$
|
|
3277
|
+
var aCallable$3 = aCallable$9;
|
|
3278
|
+
var anObject$5 = anObject$f;
|
|
3291
3279
|
var tryToString$1 = tryToString$4;
|
|
3292
3280
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
3293
3281
|
|
|
3294
|
-
var $TypeError$
|
|
3282
|
+
var $TypeError$2 = TypeError;
|
|
3295
3283
|
|
|
3296
3284
|
var getIterator$1 = function (argument, usingIterator) {
|
|
3297
3285
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
3298
|
-
if (aCallable$
|
|
3299
|
-
throw new $TypeError$
|
|
3286
|
+
if (aCallable$3(iteratorMethod)) return anObject$5(call$4(iteratorMethod, argument));
|
|
3287
|
+
throw new $TypeError$2(tryToString$1(argument) + ' is not iterable');
|
|
3300
3288
|
};
|
|
3301
3289
|
|
|
3302
3290
|
var call$3 = functionCall;
|
|
3303
|
-
var anObject$
|
|
3291
|
+
var anObject$4 = anObject$f;
|
|
3304
3292
|
var getMethod = getMethod$5;
|
|
3305
3293
|
|
|
3306
3294
|
var iteratorClose$1 = function (iterator, kind, value) {
|
|
3307
3295
|
var innerResult, innerError;
|
|
3308
|
-
anObject$
|
|
3296
|
+
anObject$4(iterator);
|
|
3309
3297
|
try {
|
|
3310
3298
|
innerResult = getMethod(iterator, 'return');
|
|
3311
3299
|
if (!innerResult) {
|
|
@@ -3319,13 +3307,13 @@ var iteratorClose$1 = function (iterator, kind, value) {
|
|
|
3319
3307
|
}
|
|
3320
3308
|
if (kind === 'throw') throw value;
|
|
3321
3309
|
if (innerError) throw innerResult;
|
|
3322
|
-
anObject$
|
|
3310
|
+
anObject$4(innerResult);
|
|
3323
3311
|
return value;
|
|
3324
3312
|
};
|
|
3325
3313
|
|
|
3326
3314
|
var bind = functionBindContext;
|
|
3327
3315
|
var call$2 = functionCall;
|
|
3328
|
-
var anObject$
|
|
3316
|
+
var anObject$3 = anObject$f;
|
|
3329
3317
|
var tryToString = tryToString$4;
|
|
3330
3318
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
3331
3319
|
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
@@ -3334,7 +3322,7 @@ var getIterator = getIterator$1;
|
|
|
3334
3322
|
var getIteratorMethod = getIteratorMethod$2;
|
|
3335
3323
|
var iteratorClose = iteratorClose$1;
|
|
3336
3324
|
|
|
3337
|
-
var $TypeError = TypeError;
|
|
3325
|
+
var $TypeError$1 = TypeError;
|
|
3338
3326
|
|
|
3339
3327
|
var Result = function (stopped, result) {
|
|
3340
3328
|
this.stopped = stopped;
|
|
@@ -3343,7 +3331,7 @@ var Result = function (stopped, result) {
|
|
|
3343
3331
|
|
|
3344
3332
|
var ResultPrototype = Result.prototype;
|
|
3345
3333
|
|
|
3346
|
-
var iterate$
|
|
3334
|
+
var iterate$3 = function (iterable, unboundFunction, options) {
|
|
3347
3335
|
var that = options && options.that;
|
|
3348
3336
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
3349
3337
|
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
@@ -3359,7 +3347,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
3359
3347
|
|
|
3360
3348
|
var callFn = function (value) {
|
|
3361
3349
|
if (AS_ENTRIES) {
|
|
3362
|
-
anObject$
|
|
3350
|
+
anObject$3(value);
|
|
3363
3351
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
3364
3352
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
3365
3353
|
};
|
|
@@ -3370,7 +3358,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
3370
3358
|
iterator = iterable;
|
|
3371
3359
|
} else {
|
|
3372
3360
|
iterFn = getIteratorMethod(iterable);
|
|
3373
|
-
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
|
|
3361
|
+
if (!iterFn) throw new $TypeError$1(tryToString(iterable) + ' is not iterable');
|
|
3374
3362
|
// optimisation for array iterators
|
|
3375
3363
|
if (isArrayIteratorMethod(iterFn)) {
|
|
3376
3364
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
@@ -3392,9 +3380,9 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
3392
3380
|
} return new Result(false);
|
|
3393
3381
|
};
|
|
3394
3382
|
|
|
3395
|
-
var wellKnownSymbol$
|
|
3383
|
+
var wellKnownSymbol$2 = wellKnownSymbol$h;
|
|
3396
3384
|
|
|
3397
|
-
var ITERATOR$
|
|
3385
|
+
var ITERATOR$2 = wellKnownSymbol$2('iterator');
|
|
3398
3386
|
var SAFE_CLOSING = false;
|
|
3399
3387
|
|
|
3400
3388
|
try {
|
|
@@ -3407,7 +3395,7 @@ try {
|
|
|
3407
3395
|
SAFE_CLOSING = true;
|
|
3408
3396
|
}
|
|
3409
3397
|
};
|
|
3410
|
-
iteratorWithReturn[ITERATOR$
|
|
3398
|
+
iteratorWithReturn[ITERATOR$2] = function () {
|
|
3411
3399
|
return this;
|
|
3412
3400
|
};
|
|
3413
3401
|
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
@@ -3421,7 +3409,7 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
|
|
3421
3409
|
var ITERATION_SUPPORT = false;
|
|
3422
3410
|
try {
|
|
3423
3411
|
var object = {};
|
|
3424
|
-
object[ITERATOR$
|
|
3412
|
+
object[ITERATOR$2] = function () {
|
|
3425
3413
|
return {
|
|
3426
3414
|
next: function () {
|
|
3427
3415
|
return { done: ITERATION_SUPPORT = true };
|
|
@@ -3441,28 +3429,28 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
3441
3429
|
NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
|
|
3442
3430
|
});
|
|
3443
3431
|
|
|
3444
|
-
var $$
|
|
3432
|
+
var $$6 = _export;
|
|
3445
3433
|
var call$1 = functionCall;
|
|
3446
|
-
var aCallable$
|
|
3434
|
+
var aCallable$2 = aCallable$9;
|
|
3447
3435
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
3448
3436
|
var perform$1 = perform$3;
|
|
3449
|
-
var iterate$
|
|
3437
|
+
var iterate$2 = iterate$3;
|
|
3450
3438
|
var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
3451
3439
|
|
|
3452
3440
|
// `Promise.all` method
|
|
3453
3441
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
3454
|
-
$$
|
|
3442
|
+
$$6({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
|
|
3455
3443
|
all: function all(iterable) {
|
|
3456
3444
|
var C = this;
|
|
3457
3445
|
var capability = newPromiseCapabilityModule$2.f(C);
|
|
3458
3446
|
var resolve = capability.resolve;
|
|
3459
3447
|
var reject = capability.reject;
|
|
3460
3448
|
var result = perform$1(function () {
|
|
3461
|
-
var $promiseResolve = aCallable$
|
|
3449
|
+
var $promiseResolve = aCallable$2(C.resolve);
|
|
3462
3450
|
var values = [];
|
|
3463
3451
|
var counter = 0;
|
|
3464
3452
|
var remaining = 1;
|
|
3465
|
-
iterate$
|
|
3453
|
+
iterate$2(iterable, function (promise) {
|
|
3466
3454
|
var index = counter++;
|
|
3467
3455
|
var alreadyCalled = false;
|
|
3468
3456
|
remaining++;
|
|
@@ -3480,49 +3468,49 @@ $$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3480
3468
|
}
|
|
3481
3469
|
});
|
|
3482
3470
|
|
|
3483
|
-
var $$
|
|
3471
|
+
var $$5 = _export;
|
|
3484
3472
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3485
3473
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
3486
3474
|
var getBuiltIn$1 = getBuiltIn$7;
|
|
3487
|
-
var isCallable = isCallable$
|
|
3475
|
+
var isCallable$1 = isCallable$m;
|
|
3488
3476
|
var defineBuiltIn = defineBuiltIn$6;
|
|
3489
3477
|
|
|
3490
3478
|
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
3491
3479
|
|
|
3492
3480
|
// `Promise.prototype.catch` method
|
|
3493
3481
|
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
3494
|
-
$$
|
|
3482
|
+
$$5({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
|
|
3495
3483
|
'catch': function (onRejected) {
|
|
3496
3484
|
return this.then(undefined, onRejected);
|
|
3497
3485
|
}
|
|
3498
3486
|
});
|
|
3499
3487
|
|
|
3500
3488
|
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
3501
|
-
if (isCallable(NativePromiseConstructor)) {
|
|
3489
|
+
if (isCallable$1(NativePromiseConstructor)) {
|
|
3502
3490
|
var method = getBuiltIn$1('Promise').prototype['catch'];
|
|
3503
3491
|
if (NativePromisePrototype['catch'] !== method) {
|
|
3504
3492
|
defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
3505
3493
|
}
|
|
3506
3494
|
}
|
|
3507
3495
|
|
|
3508
|
-
var $$
|
|
3496
|
+
var $$4 = _export;
|
|
3509
3497
|
var call = functionCall;
|
|
3510
|
-
var aCallable = aCallable$
|
|
3498
|
+
var aCallable$1 = aCallable$9;
|
|
3511
3499
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
3512
3500
|
var perform = perform$3;
|
|
3513
|
-
var iterate = iterate$
|
|
3501
|
+
var iterate$1 = iterate$3;
|
|
3514
3502
|
var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
3515
3503
|
|
|
3516
3504
|
// `Promise.race` method
|
|
3517
3505
|
// https://tc39.es/ecma262/#sec-promise.race
|
|
3518
|
-
$$
|
|
3506
|
+
$$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
3519
3507
|
race: function race(iterable) {
|
|
3520
3508
|
var C = this;
|
|
3521
3509
|
var capability = newPromiseCapabilityModule$1.f(C);
|
|
3522
3510
|
var reject = capability.reject;
|
|
3523
3511
|
var result = perform(function () {
|
|
3524
|
-
var $promiseResolve = aCallable(C.resolve);
|
|
3525
|
-
iterate(iterable, function (promise) {
|
|
3512
|
+
var $promiseResolve = aCallable$1(C.resolve);
|
|
3513
|
+
iterate$1(iterable, function (promise) {
|
|
3526
3514
|
call($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
3527
3515
|
});
|
|
3528
3516
|
});
|
|
@@ -3531,13 +3519,13 @@ $$2({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3531
3519
|
}
|
|
3532
3520
|
});
|
|
3533
3521
|
|
|
3534
|
-
var $$
|
|
3522
|
+
var $$3 = _export;
|
|
3535
3523
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
3536
3524
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3537
3525
|
|
|
3538
3526
|
// `Promise.reject` method
|
|
3539
3527
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
3540
|
-
$$
|
|
3528
|
+
$$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
3541
3529
|
reject: function reject(r) {
|
|
3542
3530
|
var capability = newPromiseCapabilityModule.f(this);
|
|
3543
3531
|
var capabilityReject = capability.reject;
|
|
@@ -3546,12 +3534,12 @@ $$1({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
3546
3534
|
}
|
|
3547
3535
|
});
|
|
3548
3536
|
|
|
3549
|
-
var anObject = anObject$
|
|
3537
|
+
var anObject$2 = anObject$f;
|
|
3550
3538
|
var isObject = isObject$a;
|
|
3551
3539
|
var newPromiseCapability = newPromiseCapability$2;
|
|
3552
3540
|
|
|
3553
3541
|
var promiseResolve$1 = function (C, x) {
|
|
3554
|
-
anObject(C);
|
|
3542
|
+
anObject$2(C);
|
|
3555
3543
|
if (isObject(x) && x.constructor === C) return x;
|
|
3556
3544
|
var promiseCapability = newPromiseCapability.f(C);
|
|
3557
3545
|
var resolve = promiseCapability.resolve;
|
|
@@ -3559,7 +3547,7 @@ var promiseResolve$1 = function (C, x) {
|
|
|
3559
3547
|
return promiseCapability.promise;
|
|
3560
3548
|
};
|
|
3561
3549
|
|
|
3562
|
-
var
|
|
3550
|
+
var $$2 = _export;
|
|
3563
3551
|
var getBuiltIn = getBuiltIn$7;
|
|
3564
3552
|
var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
|
|
3565
3553
|
var promiseResolve = promiseResolve$1;
|
|
@@ -3568,7 +3556,7 @@ getBuiltIn('Promise');
|
|
|
3568
3556
|
|
|
3569
3557
|
// `Promise.resolve` method
|
|
3570
3558
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
3571
|
-
|
|
3559
|
+
$$2({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
3572
3560
|
resolve: function resolve(x) {
|
|
3573
3561
|
return promiseResolve(this, x);
|
|
3574
3562
|
}
|
|
@@ -3618,24 +3606,24 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
3618
3606
|
|
|
3619
3607
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
3620
3608
|
|
|
3621
|
-
var global$
|
|
3609
|
+
var global$2 = global$m;
|
|
3622
3610
|
var DOMIterables = domIterables;
|
|
3623
3611
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
3624
3612
|
var ArrayIteratorMethods = es_array_iterator;
|
|
3625
3613
|
var createNonEnumerableProperty = createNonEnumerableProperty$5;
|
|
3626
3614
|
var setToStringTag = setToStringTag$4;
|
|
3627
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
3615
|
+
var wellKnownSymbol$1 = wellKnownSymbol$h;
|
|
3628
3616
|
|
|
3629
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
|
3617
|
+
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
|
3630
3618
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
3631
3619
|
|
|
3632
3620
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
3633
3621
|
if (CollectionPrototype) {
|
|
3634
3622
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
3635
|
-
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
|
3636
|
-
createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
|
|
3623
|
+
if (CollectionPrototype[ITERATOR$1] !== ArrayValues) try {
|
|
3624
|
+
createNonEnumerableProperty(CollectionPrototype, ITERATOR$1, ArrayValues);
|
|
3637
3625
|
} catch (error) {
|
|
3638
|
-
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
3626
|
+
CollectionPrototype[ITERATOR$1] = ArrayValues;
|
|
3639
3627
|
}
|
|
3640
3628
|
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
3641
3629
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
@@ -3650,7 +3638,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
3650
3638
|
};
|
|
3651
3639
|
|
|
3652
3640
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
3653
|
-
handlePrototype(global$
|
|
3641
|
+
handlePrototype(global$2[COLLECTION_NAME] && global$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
3654
3642
|
}
|
|
3655
3643
|
|
|
3656
3644
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -3670,18 +3658,18 @@ const defaultErrorHandler = ({
|
|
|
3670
3658
|
return window.location.replace('/error?message=' + networkError.message);
|
|
3671
3659
|
}
|
|
3672
3660
|
}
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
}
|
|
3661
|
+
// TODO: Uncomment this and fix when we have a proper way to handle 403 errors
|
|
3662
|
+
// if (
|
|
3663
|
+
// graphQLErrors &&
|
|
3664
|
+
// graphQLErrors.find((error) => error?.extensions?.['code'] === 'FORBIDDEN')
|
|
3665
|
+
// ) {
|
|
3666
|
+
// const error = graphQLErrors.find(
|
|
3667
|
+
// (error) => error?.extensions?.['code'] === 'FORBIDDEN'
|
|
3668
|
+
// );
|
|
3669
|
+
// if (typeof window !== 'undefined' && window.location.pathname !== '/403') {
|
|
3670
|
+
// return window.location.replace('/403?message=' + error?.message);
|
|
3671
|
+
// }
|
|
3672
|
+
// }
|
|
3685
3673
|
};
|
|
3686
3674
|
// Overridable error handler
|
|
3687
3675
|
let currentErrorHandler = defaultErrorHandler;
|
|
@@ -3974,7 +3962,7 @@ let _$6 = t => t,
|
|
|
3974
3962
|
_t7$2,
|
|
3975
3963
|
_t8$2,
|
|
3976
3964
|
_t9$2,
|
|
3977
|
-
|
|
3965
|
+
_t0$1;
|
|
3978
3966
|
const showcaseContentsQuery = gql(_t$6 || (_t$6 = _$6`
|
|
3979
3967
|
query ($rootId: Int!, $path: String, $deep: Int!) {
|
|
3980
3968
|
contents(rootId: $rootId, deep: $deep, path: $path) {
|
|
@@ -4407,7 +4395,7 @@ const useTemplateSectionsThumbsMap = companyContextId => useQuery(showcaseTempla
|
|
|
4407
4395
|
companyContextId
|
|
4408
4396
|
}
|
|
4409
4397
|
});
|
|
4410
|
-
const showcaseContext = gql(
|
|
4398
|
+
const showcaseContext = gql(_t0$1 || (_t0$1 = _$6`
|
|
4411
4399
|
query ($domain: String!) {
|
|
4412
4400
|
contextId(domain: $domain)
|
|
4413
4401
|
}
|
|
@@ -5292,7 +5280,7 @@ let _$1 = t => t,
|
|
|
5292
5280
|
_t7,
|
|
5293
5281
|
_t8,
|
|
5294
5282
|
_t9,
|
|
5295
|
-
|
|
5283
|
+
_t0;
|
|
5296
5284
|
const showcaseConfigurationQuery = gql(_t$1 || (_t$1 = _$1`
|
|
5297
5285
|
query ($ContextId: Int) {
|
|
5298
5286
|
showcaseConfiguration(Key: "ShowcaseConfig", ContextId: $ContextId)
|
|
@@ -5583,7 +5571,7 @@ const useQueryUsage = AccountId => useQuery(queryUsage, {
|
|
|
5583
5571
|
AccountId
|
|
5584
5572
|
}
|
|
5585
5573
|
});
|
|
5586
|
-
const querySectionThumb = gql(
|
|
5574
|
+
const querySectionThumb = gql(_t0 || (_t0 = _$1`
|
|
5587
5575
|
query ($sectionId: Int!, $templateId: Int!, $templateContextId: Int!) {
|
|
5588
5576
|
querySectionThumb(
|
|
5589
5577
|
sectionId: $sectionId
|
|
@@ -5731,7 +5719,7 @@ const useDeleteFileMutation = () => useMutation(deleteFileMutation, {
|
|
|
5731
5719
|
client: dconfigClient
|
|
5732
5720
|
});
|
|
5733
5721
|
|
|
5734
|
-
function unfetch_module(e,n){return n=n||{},new Promise(function(t,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return {ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var l in s.open(n.method||"get",e
|
|
5722
|
+
function unfetch_module(e,n){return n=n||{},new Promise(function(t,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return {ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var l in s.open(n.method||"get",e,true),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(e,n,t){o.push(n=n.toLowerCase()),u.push([n,t]),i[n]=i[n]?i[n]+","+t:t;}),t(a());},s.onerror=r,s.withCredentials="include"==n.credentials,n.headers)s.setRequestHeader(l,n.headers[l]);s.send(n.body||null);})}
|
|
5735
5723
|
|
|
5736
5724
|
var unfetch_module$1 = /*#__PURE__*/Object.freeze({
|
|
5737
5725
|
__proto__: null,
|
|
@@ -86869,10 +86857,6 @@ function getNodeRequestOptions(request) {
|
|
|
86869
86857
|
agent = agent(parsedURL);
|
|
86870
86858
|
}
|
|
86871
86859
|
|
|
86872
|
-
if (!headers.has('Connection') && !agent) {
|
|
86873
|
-
headers.set('Connection', 'close');
|
|
86874
|
-
}
|
|
86875
|
-
|
|
86876
86860
|
// HTTP-network fetch step 4.2
|
|
86877
86861
|
// chunked encoding is handled by Node.js
|
|
86878
86862
|
|
|
@@ -87246,8 +87230,11 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
|
|
|
87246
87230
|
|
|
87247
87231
|
if (headers['transfer-encoding'] === 'chunked' && !headers['content-length']) {
|
|
87248
87232
|
response.once('close', function (hadError) {
|
|
87233
|
+
// tests for socket presence, as in some situations the
|
|
87234
|
+
// the 'socket' event is not triggered for the request
|
|
87235
|
+
// (happens in deno), avoids `TypeError`
|
|
87249
87236
|
// if a data listener is still present we didn't end cleanly
|
|
87250
|
-
const hasDataListener = socket.listenerCount('data') > 0;
|
|
87237
|
+
const hasDataListener = socket && socket.listenerCount('data') > 0;
|
|
87251
87238
|
|
|
87252
87239
|
if (hasDataListener && !hadError) {
|
|
87253
87240
|
const err = new Error('Premature close');
|
|
@@ -87284,6 +87271,7 @@ fetch$1.Promise = global.Promise;
|
|
|
87284
87271
|
|
|
87285
87272
|
var lib = /*#__PURE__*/Object.freeze({
|
|
87286
87273
|
__proto__: null,
|
|
87274
|
+
AbortError: AbortError,
|
|
87287
87275
|
FetchError: FetchError,
|
|
87288
87276
|
Headers: Headers,
|
|
87289
87277
|
Request: Request,
|
|
@@ -87361,6 +87349,108 @@ const botClient = new ApolloClient({
|
|
|
87361
87349
|
queryDeduplication: true
|
|
87362
87350
|
});
|
|
87363
87351
|
|
|
87352
|
+
var DESCRIPTORS$1 = descriptors;
|
|
87353
|
+
var definePropertyModule = objectDefineProperty;
|
|
87354
|
+
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
87355
|
+
|
|
87356
|
+
var createProperty$1 = function (object, key, value) {
|
|
87357
|
+
if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
87358
|
+
else object[key] = value;
|
|
87359
|
+
};
|
|
87360
|
+
|
|
87361
|
+
var $$1 = _export;
|
|
87362
|
+
var global$1 = global$m;
|
|
87363
|
+
var anInstance = anInstance$2;
|
|
87364
|
+
var anObject$1 = anObject$f;
|
|
87365
|
+
var isCallable = isCallable$m;
|
|
87366
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
87367
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$2;
|
|
87368
|
+
var createProperty = createProperty$1;
|
|
87369
|
+
var fails = fails$j;
|
|
87370
|
+
var hasOwn = hasOwnProperty_1;
|
|
87371
|
+
var wellKnownSymbol = wellKnownSymbol$h;
|
|
87372
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
87373
|
+
var DESCRIPTORS = descriptors;
|
|
87374
|
+
|
|
87375
|
+
var CONSTRUCTOR = 'constructor';
|
|
87376
|
+
var ITERATOR = 'Iterator';
|
|
87377
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
87378
|
+
|
|
87379
|
+
var $TypeError = TypeError;
|
|
87380
|
+
var NativeIterator = global$1[ITERATOR];
|
|
87381
|
+
|
|
87382
|
+
// FF56- have non-standard global helper `Iterator`
|
|
87383
|
+
var FORCED = !isCallable(NativeIterator)
|
|
87384
|
+
|| NativeIterator.prototype !== IteratorPrototype
|
|
87385
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
87386
|
+
|| !fails(function () { NativeIterator({}); });
|
|
87387
|
+
|
|
87388
|
+
var IteratorConstructor = function Iterator() {
|
|
87389
|
+
anInstance(this, IteratorPrototype);
|
|
87390
|
+
if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
|
|
87391
|
+
};
|
|
87392
|
+
|
|
87393
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
87394
|
+
if (DESCRIPTORS) {
|
|
87395
|
+
defineBuiltInAccessor(IteratorPrototype, key, {
|
|
87396
|
+
configurable: true,
|
|
87397
|
+
get: function () {
|
|
87398
|
+
return value;
|
|
87399
|
+
},
|
|
87400
|
+
set: function (replacement) {
|
|
87401
|
+
anObject$1(this);
|
|
87402
|
+
if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
|
|
87403
|
+
if (hasOwn(this, key)) this[key] = replacement;
|
|
87404
|
+
else createProperty(this, key, replacement);
|
|
87405
|
+
}
|
|
87406
|
+
});
|
|
87407
|
+
} else IteratorPrototype[key] = value;
|
|
87408
|
+
};
|
|
87409
|
+
|
|
87410
|
+
if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
|
|
87411
|
+
|
|
87412
|
+
if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
|
|
87413
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
87414
|
+
}
|
|
87415
|
+
|
|
87416
|
+
IteratorConstructor.prototype = IteratorPrototype;
|
|
87417
|
+
|
|
87418
|
+
// `Iterator` constructor
|
|
87419
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
87420
|
+
$$1({ global: true, constructor: true, forced: FORCED }, {
|
|
87421
|
+
Iterator: IteratorConstructor
|
|
87422
|
+
});
|
|
87423
|
+
|
|
87424
|
+
// `GetIteratorDirect(obj)` abstract operation
|
|
87425
|
+
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
|
|
87426
|
+
var getIteratorDirect$1 = function (obj) {
|
|
87427
|
+
return {
|
|
87428
|
+
iterator: obj,
|
|
87429
|
+
next: obj.next,
|
|
87430
|
+
done: false
|
|
87431
|
+
};
|
|
87432
|
+
};
|
|
87433
|
+
|
|
87434
|
+
var $ = _export;
|
|
87435
|
+
var iterate = iterate$3;
|
|
87436
|
+
var aCallable = aCallable$9;
|
|
87437
|
+
var anObject = anObject$f;
|
|
87438
|
+
var getIteratorDirect = getIteratorDirect$1;
|
|
87439
|
+
|
|
87440
|
+
// `Iterator.prototype.forEach` method
|
|
87441
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
87442
|
+
$({ target: 'Iterator', proto: true, real: true }, {
|
|
87443
|
+
forEach: function forEach(fn) {
|
|
87444
|
+
anObject(this);
|
|
87445
|
+
aCallable(fn);
|
|
87446
|
+
var record = getIteratorDirect(this);
|
|
87447
|
+
var counter = 0;
|
|
87448
|
+
iterate(record, function (value) {
|
|
87449
|
+
fn(value, counter++);
|
|
87450
|
+
}, { IS_RECORD: true });
|
|
87451
|
+
}
|
|
87452
|
+
});
|
|
87453
|
+
|
|
87364
87454
|
class ModelUtilities {
|
|
87365
87455
|
static ConvertModelsListToFieldsMap(models) {
|
|
87366
87456
|
const fieldsMap = new Map();
|