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