@sinco/react 1.0.15-rc.57 → 1.0.15-rc.58
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +98 -97
- package/package.json +1 -1
package/index.js
CHANGED
@@ -6,11 +6,11 @@ import { Stack, Typography, Drawer, IconButton, AppBar, Toolbar, Box as Box$1, a
|
|
6
6
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
7
7
|
|
8
8
|
var check = function (it) {
|
9
|
-
return it && it.Math
|
9
|
+
return it && it.Math === Math && it;
|
10
10
|
};
|
11
11
|
|
12
12
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
13
|
-
var global$
|
13
|
+
var global$i =
|
14
14
|
// eslint-disable-next-line es/no-global-this -- safe
|
15
15
|
check(typeof globalThis == 'object' && globalThis) ||
|
16
16
|
check(typeof window == 'object' && window) ||
|
@@ -35,7 +35,7 @@ var fails$c = fails$d;
|
|
35
35
|
// Detect IE8's incomplete defineProperty implementation
|
36
36
|
var descriptors = !fails$c(function () {
|
37
37
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
38
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
38
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
39
39
|
});
|
40
40
|
|
41
41
|
var fails$b = fails$d;
|
@@ -114,7 +114,7 @@ var indexedObject = fails$a(function () {
|
|
114
114
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
115
115
|
return !$Object$4('z').propertyIsEnumerable(0);
|
116
116
|
}) ? function (it) {
|
117
|
-
return classof$4(it)
|
117
|
+
return classof$4(it) === 'String' ? split(it, '') : $Object$4(it);
|
118
118
|
} : $Object$4;
|
119
119
|
|
120
120
|
// we can't use just `it == null` since of `document.all` special case
|
@@ -130,7 +130,7 @@ var $TypeError$c = TypeError;
|
|
130
130
|
// `RequireObjectCoercible` abstract operation
|
131
131
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
132
132
|
var requireObjectCoercible$2 = function (it) {
|
133
|
-
if (isNullOrUndefined$3(it)) throw $TypeError$c("Can't call method on " + it);
|
133
|
+
if (isNullOrUndefined$3(it)) throw new $TypeError$c("Can't call method on " + it);
|
134
134
|
return it;
|
135
135
|
};
|
136
136
|
|
@@ -176,7 +176,7 @@ var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
176
176
|
return typeof it == 'object' ? it !== null : isCallable$j(it);
|
177
177
|
};
|
178
178
|
|
179
|
-
var global$
|
179
|
+
var global$h = global$i;
|
180
180
|
var isCallable$i = isCallable$k;
|
181
181
|
|
182
182
|
var aFunction = function (argument) {
|
@@ -184,7 +184,7 @@ var aFunction = function (argument) {
|
|
184
184
|
};
|
185
185
|
|
186
186
|
var getBuiltIn$7 = function (namespace, method) {
|
187
|
-
return arguments.length < 2 ? aFunction(global$
|
187
|
+
return arguments.length < 2 ? aFunction(global$h[namespace]) : global$h[namespace] && global$h[namespace][method];
|
188
188
|
};
|
189
189
|
|
190
190
|
var uncurryThis$c = functionUncurryThis;
|
@@ -193,12 +193,12 @@ var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
|
|
193
193
|
|
194
194
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
195
195
|
|
196
|
-
var global$
|
196
|
+
var global$g = global$i;
|
197
197
|
var userAgent$3 = engineUserAgent;
|
198
198
|
|
199
|
-
var process$
|
200
|
-
var Deno$1 = global$
|
201
|
-
var versions = process$
|
199
|
+
var process$3 = global$g.process;
|
200
|
+
var Deno$1 = global$g.Deno;
|
201
|
+
var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
|
202
202
|
var v8 = versions && versions.v8;
|
203
203
|
var match, version;
|
204
204
|
|
@@ -222,16 +222,15 @@ if (!version && userAgent$3) {
|
|
222
222
|
var engineV8Version = version;
|
223
223
|
|
224
224
|
/* eslint-disable es/no-symbol -- required for testing */
|
225
|
-
|
226
225
|
var V8_VERSION$1 = engineV8Version;
|
227
226
|
var fails$9 = fails$d;
|
228
|
-
var global$
|
227
|
+
var global$f = global$i;
|
229
228
|
|
230
|
-
var $String$4 = global$
|
229
|
+
var $String$4 = global$f.String;
|
231
230
|
|
232
231
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
233
232
|
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$9(function () {
|
234
|
-
var symbol = Symbol();
|
233
|
+
var symbol = Symbol('symbol detection');
|
235
234
|
// Chrome 38 Symbol has incorrect toString conversion
|
236
235
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
237
236
|
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
@@ -242,7 +241,6 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$9(func
|
|
242
241
|
});
|
243
242
|
|
244
243
|
/* eslint-disable es/no-symbol -- required for testing */
|
245
|
-
|
246
244
|
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
247
245
|
|
248
246
|
var useSymbolAsUid = NATIVE_SYMBOL$1
|
@@ -281,7 +279,7 @@ var $TypeError$b = TypeError;
|
|
281
279
|
// `Assert: IsCallable(argument) is true`
|
282
280
|
var aCallable$8 = function (argument) {
|
283
281
|
if (isCallable$g(argument)) return argument;
|
284
|
-
throw $TypeError$b(tryToString$3(argument) + ' is not a function');
|
282
|
+
throw new $TypeError$b(tryToString$3(argument) + ' is not a function');
|
285
283
|
};
|
286
284
|
|
287
285
|
var aCallable$7 = aCallable$8;
|
@@ -307,29 +305,29 @@ var ordinaryToPrimitive$1 = function (input, pref) {
|
|
307
305
|
if (pref === 'string' && isCallable$f(fn = input.toString) && !isObject$7(val = call$c(fn, input))) return val;
|
308
306
|
if (isCallable$f(fn = input.valueOf) && !isObject$7(val = call$c(fn, input))) return val;
|
309
307
|
if (pref !== 'string' && isCallable$f(fn = input.toString) && !isObject$7(val = call$c(fn, input))) return val;
|
310
|
-
throw $TypeError$a("Can't convert object to primitive value");
|
308
|
+
throw new $TypeError$a("Can't convert object to primitive value");
|
311
309
|
};
|
312
310
|
|
313
311
|
var shared$3 = {exports: {}};
|
314
312
|
|
315
|
-
var global$
|
313
|
+
var global$e = global$i;
|
316
314
|
|
317
315
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
318
316
|
var defineProperty$6 = Object.defineProperty;
|
319
317
|
|
320
318
|
var defineGlobalProperty$3 = function (key, value) {
|
321
319
|
try {
|
322
|
-
defineProperty$6(global$
|
320
|
+
defineProperty$6(global$e, key, { value: value, configurable: true, writable: true });
|
323
321
|
} catch (error) {
|
324
|
-
global$
|
322
|
+
global$e[key] = value;
|
325
323
|
} return value;
|
326
324
|
};
|
327
325
|
|
328
|
-
var global$
|
326
|
+
var global$d = global$i;
|
329
327
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
330
328
|
|
331
329
|
var SHARED = '__core-js_shared__';
|
332
|
-
var store$3 = global$
|
330
|
+
var store$3 = global$d[SHARED] || defineGlobalProperty$2(SHARED, {});
|
333
331
|
|
334
332
|
var sharedStore = store$3;
|
335
333
|
|
@@ -338,10 +336,10 @@ var store$2 = sharedStore;
|
|
338
336
|
(shared$3.exports = function (key, value) {
|
339
337
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
340
338
|
})('versions', []).push({
|
341
|
-
version: '3.
|
339
|
+
version: '3.33.1',
|
342
340
|
mode: 'global',
|
343
341
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
344
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
342
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.33.1/LICENSE',
|
345
343
|
source: 'https://github.com/zloirock/core-js'
|
346
344
|
});
|
347
345
|
|
@@ -377,14 +375,14 @@ var uid$2 = function (key) {
|
|
377
375
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
378
376
|
};
|
379
377
|
|
380
|
-
var global$
|
378
|
+
var global$c = global$i;
|
381
379
|
var shared$2 = shared$3.exports;
|
382
380
|
var hasOwn$9 = hasOwnProperty_1;
|
383
381
|
var uid$1 = uid$2;
|
384
382
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
385
383
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
386
384
|
|
387
|
-
var Symbol$1 = global$
|
385
|
+
var Symbol$1 = global$c.Symbol;
|
388
386
|
var WellKnownSymbolsStore = shared$2('wks');
|
389
387
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
390
388
|
|
@@ -416,7 +414,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
416
414
|
if (pref === undefined) pref = 'default';
|
417
415
|
result = call$b(exoticToPrim, input, pref);
|
418
416
|
if (!isObject$6(result) || isSymbol$1(result)) return result;
|
419
|
-
throw $TypeError$9("Can't convert object to primitive value");
|
417
|
+
throw new $TypeError$9("Can't convert object to primitive value");
|
420
418
|
}
|
421
419
|
if (pref === undefined) pref = 'number';
|
422
420
|
return ordinaryToPrimitive(input, pref);
|
@@ -432,10 +430,10 @@ var toPropertyKey$2 = function (argument) {
|
|
432
430
|
return isSymbol(key) ? key : key + '';
|
433
431
|
};
|
434
432
|
|
435
|
-
var global$
|
433
|
+
var global$b = global$i;
|
436
434
|
var isObject$5 = isObject$8;
|
437
435
|
|
438
|
-
var document$3 = global$
|
436
|
+
var document$3 = global$b.document;
|
439
437
|
// typeof document.createElement is 'object' in old IE
|
440
438
|
var EXISTS$1 = isObject$5(document$3) && isObject$5(document$3.createElement);
|
441
439
|
|
@@ -452,7 +450,7 @@ var ie8DomDefine = !DESCRIPTORS$a && !fails$8(function () {
|
|
452
450
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
453
451
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
454
452
|
get: function () { return 7; }
|
455
|
-
}).a
|
453
|
+
}).a !== 7;
|
456
454
|
});
|
457
455
|
|
458
456
|
var DESCRIPTORS$9 = descriptors;
|
@@ -490,7 +488,7 @@ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$7(function () {
|
|
490
488
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
491
489
|
value: 42,
|
492
490
|
writable: false
|
493
|
-
}).prototype
|
491
|
+
}).prototype !== 42;
|
494
492
|
});
|
495
493
|
|
496
494
|
var isObject$4 = isObject$8;
|
@@ -501,7 +499,7 @@ var $TypeError$8 = TypeError;
|
|
501
499
|
// `Assert: Type(argument) is Object`
|
502
500
|
var anObject$a = function (argument) {
|
503
501
|
if (isObject$4(argument)) return argument;
|
504
|
-
throw $TypeError$8($String$2(argument) + ' is not an object');
|
502
|
+
throw new $TypeError$8($String$2(argument) + ' is not an object');
|
505
503
|
};
|
506
504
|
|
507
505
|
var DESCRIPTORS$7 = descriptors;
|
@@ -543,7 +541,7 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
543
541
|
if (IE8_DOM_DEFINE) try {
|
544
542
|
return $defineProperty(O, P, Attributes);
|
545
543
|
} catch (error) { /* empty */ }
|
546
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$7('Accessors not supported');
|
544
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$7('Accessors not supported');
|
547
545
|
if ('value' in Attributes) O[P] = Attributes.value;
|
548
546
|
return O;
|
549
547
|
};
|
@@ -594,10 +592,10 @@ if (!isCallable$e(store$1.inspectSource)) {
|
|
594
592
|
|
595
593
|
var inspectSource$3 = store$1.inspectSource;
|
596
594
|
|
597
|
-
var global$
|
595
|
+
var global$a = global$i;
|
598
596
|
var isCallable$d = isCallable$k;
|
599
597
|
|
600
|
-
var WeakMap$1 = global$
|
598
|
+
var WeakMap$1 = global$a.WeakMap;
|
601
599
|
|
602
600
|
var weakMapBasicDetection = isCallable$d(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
603
601
|
|
@@ -613,7 +611,7 @@ var sharedKey$3 = function (key) {
|
|
613
611
|
var hiddenKeys$4 = {};
|
614
612
|
|
615
613
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
616
|
-
var global$
|
614
|
+
var global$9 = global$i;
|
617
615
|
var isObject$3 = isObject$8;
|
618
616
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
619
617
|
var hasOwn$6 = hasOwnProperty_1;
|
@@ -622,8 +620,8 @@ var sharedKey$2 = sharedKey$3;
|
|
622
620
|
var hiddenKeys$3 = hiddenKeys$4;
|
623
621
|
|
624
622
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
625
|
-
var TypeError$2 = global$
|
626
|
-
var WeakMap = global$
|
623
|
+
var TypeError$2 = global$9.TypeError;
|
624
|
+
var WeakMap = global$9.WeakMap;
|
627
625
|
var set$1, get, has;
|
628
626
|
|
629
627
|
var enforce = function (it) {
|
@@ -634,7 +632,7 @@ var getterFor = function (TYPE) {
|
|
634
632
|
return function (it) {
|
635
633
|
var state;
|
636
634
|
if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
|
637
|
-
throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
635
|
+
throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
638
636
|
} return state;
|
639
637
|
};
|
640
638
|
};
|
@@ -647,7 +645,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
647
645
|
store.set = store.set;
|
648
646
|
/* eslint-enable no-self-assign -- prototype methods protection */
|
649
647
|
set$1 = function (it, metadata) {
|
650
|
-
if (store.has(it)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
648
|
+
if (store.has(it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
651
649
|
metadata.facade = it;
|
652
650
|
store.set(it, metadata);
|
653
651
|
return metadata;
|
@@ -662,7 +660,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
662
660
|
var STATE = sharedKey$2('state');
|
663
661
|
hiddenKeys$3[STATE] = true;
|
664
662
|
set$1 = function (it, metadata) {
|
665
|
-
if (hasOwn$6(it, STATE)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
663
|
+
if (hasOwn$6(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
666
664
|
metadata.facade = it;
|
667
665
|
createNonEnumerableProperty$3(it, STATE, metadata);
|
668
666
|
return metadata;
|
@@ -833,10 +831,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
833
831
|
var value;
|
834
832
|
// Array#includes uses SameValueZero equality algorithm
|
835
833
|
// eslint-disable-next-line no-self-compare -- NaN check
|
836
|
-
if (IS_INCLUDES && el
|
834
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
837
835
|
value = O[index++];
|
838
836
|
// eslint-disable-next-line no-self-compare -- NaN check
|
839
|
-
if (value
|
837
|
+
if (value !== value) return true;
|
840
838
|
// Array#indexOf ignores holes, Array#includes - not
|
841
839
|
} else for (;length > index; index++) {
|
842
840
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
@@ -941,8 +939,8 @@ var replacement = /#|\.prototype\./;
|
|
941
939
|
|
942
940
|
var isForced$2 = function (feature, detection) {
|
943
941
|
var value = data[normalize(feature)];
|
944
|
-
return value
|
945
|
-
: value
|
942
|
+
return value === POLYFILL ? true
|
943
|
+
: value === NATIVE ? false
|
946
944
|
: isCallable$a(detection) ? fails$5(detection)
|
947
945
|
: !!detection;
|
948
946
|
};
|
@@ -957,7 +955,7 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
957
955
|
|
958
956
|
var isForced_1 = isForced$2;
|
959
957
|
|
960
|
-
var global$
|
958
|
+
var global$8 = global$i;
|
961
959
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
962
960
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
|
963
961
|
var defineBuiltIn$4 = defineBuiltIn$5;
|
@@ -986,11 +984,11 @@ var _export = function (options, source) {
|
|
986
984
|
var STATIC = options.stat;
|
987
985
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
988
986
|
if (GLOBAL) {
|
989
|
-
target = global$
|
987
|
+
target = global$8;
|
990
988
|
} else if (STATIC) {
|
991
|
-
target = global$
|
989
|
+
target = global$8[TARGET] || defineGlobalProperty(TARGET, {});
|
992
990
|
} else {
|
993
|
-
target = (global$
|
991
|
+
target = (global$8[TARGET] || {}).prototype;
|
994
992
|
}
|
995
993
|
if (target) for (key in source) {
|
996
994
|
sourceProperty = source[key];
|
@@ -1055,11 +1053,11 @@ var objectAssign = !$assign || fails$4(function () {
|
|
1055
1053
|
var A = {};
|
1056
1054
|
var B = {};
|
1057
1055
|
// eslint-disable-next-line es/no-symbol -- safe
|
1058
|
-
var symbol = Symbol();
|
1056
|
+
var symbol = Symbol('assign detection');
|
1059
1057
|
var alphabet = 'abcdefghijklmnopqrst';
|
1060
1058
|
A[symbol] = 7;
|
1061
1059
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
1062
|
-
return $assign({}, A)[symbol]
|
1060
|
+
return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet;
|
1063
1061
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
1064
1062
|
var T = toObject$1(target);
|
1065
1063
|
var argumentsLength = arguments.length;
|
@@ -2147,7 +2145,6 @@ var getBuiltIn$4 = getBuiltIn$7;
|
|
2147
2145
|
var html$2 = getBuiltIn$4('document', 'documentElement');
|
2148
2146
|
|
2149
2147
|
/* global ActiveXObject -- old IE, WSH */
|
2150
|
-
|
2151
2148
|
var anObject$6 = anObject$a;
|
2152
2149
|
var definePropertiesModule = objectDefineProperties;
|
2153
2150
|
var enumBugKeys = enumBugKeys$3;
|
@@ -2240,7 +2237,7 @@ var ArrayPrototype$1 = Array.prototype;
|
|
2240
2237
|
|
2241
2238
|
// Array.prototype[@@unscopables]
|
2242
2239
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
2243
|
-
if (ArrayPrototype$1[UNSCOPABLES]
|
2240
|
+
if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
|
2244
2241
|
defineProperty$3(ArrayPrototype$1, UNSCOPABLES, {
|
2245
2242
|
configurable: true,
|
2246
2243
|
value: create$1(null)
|
@@ -2377,11 +2374,10 @@ var $TypeError$6 = TypeError;
|
|
2377
2374
|
|
2378
2375
|
var aPossiblePrototype$1 = function (argument) {
|
2379
2376
|
if (typeof argument == 'object' || isCallable$7(argument)) return argument;
|
2380
|
-
throw $TypeError$6("Can't set " + $String(argument) + ' as a prototype');
|
2377
|
+
throw new $TypeError$6("Can't set " + $String(argument) + ' as a prototype');
|
2381
2378
|
};
|
2382
2379
|
|
2383
2380
|
/* eslint-disable no-proto -- safe */
|
2384
|
-
|
2385
2381
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
2386
2382
|
var anObject$5 = anObject$a;
|
2387
2383
|
var aPossiblePrototype = aPossiblePrototype$1;
|
@@ -2438,12 +2434,15 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
2438
2434
|
|
2439
2435
|
var getIterationMethod = function (KIND) {
|
2440
2436
|
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
2441
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
|
2437
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
|
2438
|
+
|
2442
2439
|
switch (KIND) {
|
2443
2440
|
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
2444
2441
|
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
2445
2442
|
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
2446
|
-
}
|
2443
|
+
}
|
2444
|
+
|
2445
|
+
return function () { return new IteratorConstructor(this); };
|
2447
2446
|
};
|
2448
2447
|
|
2449
2448
|
var TO_STRING_TAG = NAME + ' Iterator';
|
@@ -2453,7 +2452,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
2453
2452
|
|| IterablePrototype['@@iterator']
|
2454
2453
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
2455
2454
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
2456
|
-
var anyNativeIterator = NAME
|
2455
|
+
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
2457
2456
|
var CurrentIteratorPrototype, methods, KEY;
|
2458
2457
|
|
2459
2458
|
// fix native
|
@@ -2473,7 +2472,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
2473
2472
|
}
|
2474
2473
|
|
2475
2474
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
2476
|
-
if (PROPER_FUNCTION_NAME && DEFAULT
|
2475
|
+
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
2477
2476
|
if (CONFIGURABLE_FUNCTION_NAME) {
|
2478
2477
|
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
2479
2478
|
} else {
|
@@ -2546,15 +2545,15 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
2546
2545
|
}, function () {
|
2547
2546
|
var state = getInternalState(this);
|
2548
2547
|
var target = state.target;
|
2549
|
-
var kind = state.kind;
|
2550
2548
|
var index = state.index++;
|
2551
2549
|
if (!target || index >= target.length) {
|
2552
2550
|
state.target = undefined;
|
2553
2551
|
return createIterResultObject(undefined, true);
|
2554
2552
|
}
|
2555
|
-
|
2556
|
-
|
2557
|
-
|
2553
|
+
switch (state.kind) {
|
2554
|
+
case 'keys': return createIterResultObject(index, false);
|
2555
|
+
case 'values': return createIterResultObject(target[index], false);
|
2556
|
+
} return createIterResultObject([index, target[index]], false);
|
2558
2557
|
}, 'values');
|
2559
2558
|
|
2560
2559
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
@@ -2616,7 +2615,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
2616
2615
|
|
2617
2616
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
2618
2617
|
|
2619
|
-
var global$
|
2618
|
+
var global$7 = global$i;
|
2620
2619
|
var DOMIterables = domIterables;
|
2621
2620
|
var DOMTokenListPrototype = domTokenListPrototype;
|
2622
2621
|
var ArrayIteratorMethods = es_array_iterator;
|
@@ -2650,7 +2649,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
2650
2649
|
};
|
2651
2650
|
|
2652
2651
|
for (var COLLECTION_NAME in DOMIterables) {
|
2653
|
-
handlePrototype(global$
|
2652
|
+
handlePrototype(global$7[COLLECTION_NAME] && global$7[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
2654
2653
|
}
|
2655
2654
|
|
2656
2655
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
@@ -2788,9 +2787,10 @@ const PageHeaderComponent = ({
|
|
2788
2787
|
}, actions)));
|
2789
2788
|
};
|
2790
2789
|
|
2790
|
+
var global$6 = global$i;
|
2791
2791
|
var classof$3 = classofRaw$2;
|
2792
2792
|
|
2793
|
-
var engineIsNode =
|
2793
|
+
var engineIsNode = classof$3(global$6.process) === 'process';
|
2794
2794
|
|
2795
2795
|
var makeBuiltIn = makeBuiltIn$3.exports;
|
2796
2796
|
var defineProperty = objectDefineProperty;
|
@@ -2825,7 +2825,7 @@ var $TypeError$5 = TypeError;
|
|
2825
2825
|
|
2826
2826
|
var anInstance$1 = function (it, Prototype) {
|
2827
2827
|
if (isPrototypeOf$1(Prototype, it)) return it;
|
2828
|
-
throw $TypeError$5('Incorrect invocation');
|
2828
|
+
throw new $TypeError$5('Incorrect invocation');
|
2829
2829
|
};
|
2830
2830
|
|
2831
2831
|
var wellKnownSymbol$6 = wellKnownSymbol$e;
|
@@ -2846,7 +2846,7 @@ var TO_STRING_TAG = wellKnownSymbol$5('toStringTag');
|
|
2846
2846
|
var $Object = Object;
|
2847
2847
|
|
2848
2848
|
// ES3 wrong here
|
2849
|
-
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }())
|
2849
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
|
2850
2850
|
|
2851
2851
|
// fallback for IE11 Script Access Denied error
|
2852
2852
|
var tryGet = function (it, key) {
|
@@ -2864,7 +2864,7 @@ var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
2864
2864
|
// builtinTag case
|
2865
2865
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
2866
2866
|
// ES3 arguments fallback
|
2867
|
-
: (result = classofRaw$1(O))
|
2867
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$5(O.callee) ? 'Arguments' : result;
|
2868
2868
|
};
|
2869
2869
|
|
2870
2870
|
var uncurryThis$3 = functionUncurryThis;
|
@@ -2879,7 +2879,7 @@ var empty = [];
|
|
2879
2879
|
var construct = getBuiltIn$2('Reflect', 'construct');
|
2880
2880
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
2881
2881
|
var exec = uncurryThis$3(constructorRegExp.exec);
|
2882
|
-
var INCORRECT_TO_STRING = !constructorRegExp.
|
2882
|
+
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
2883
2883
|
|
2884
2884
|
var isConstructorModern = function isConstructor(argument) {
|
2885
2885
|
if (!isCallable$4(argument)) return false;
|
@@ -2928,7 +2928,7 @@ var $TypeError$4 = TypeError;
|
|
2928
2928
|
// `Assert: IsConstructor(argument) is true`
|
2929
2929
|
var aConstructor$1 = function (argument) {
|
2930
2930
|
if (isConstructor(argument)) return argument;
|
2931
|
-
throw $TypeError$4(tryToString$2(argument) + ' is not a constructor');
|
2931
|
+
throw new $TypeError$4(tryToString$2(argument) + ' is not a constructor');
|
2932
2932
|
};
|
2933
2933
|
|
2934
2934
|
var anObject$4 = anObject$a;
|
@@ -2988,7 +2988,7 @@ var arraySlice$1 = uncurryThis([].slice);
|
|
2988
2988
|
var $TypeError$3 = TypeError;
|
2989
2989
|
|
2990
2990
|
var validateArgumentsLength$1 = function (passed, required) {
|
2991
|
-
if (passed < required) throw $TypeError$3('Not enough arguments');
|
2991
|
+
if (passed < required) throw new $TypeError$3('Not enough arguments');
|
2992
2992
|
return passed;
|
2993
2993
|
};
|
2994
2994
|
|
@@ -2997,7 +2997,7 @@ var userAgent$2 = engineUserAgent;
|
|
2997
2997
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
2998
2998
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
2999
2999
|
|
3000
|
-
var global$5 = global$
|
3000
|
+
var global$5 = global$i;
|
3001
3001
|
var apply = functionApply;
|
3002
3002
|
var bind$3 = functionBindContext;
|
3003
3003
|
var isCallable$3 = isCallable$k;
|
@@ -3012,7 +3012,7 @@ var IS_NODE$3 = engineIsNode;
|
|
3012
3012
|
|
3013
3013
|
var set = global$5.setImmediate;
|
3014
3014
|
var clear = global$5.clearImmediate;
|
3015
|
-
var process$
|
3015
|
+
var process$2 = global$5.process;
|
3016
3016
|
var Dispatch = global$5.Dispatch;
|
3017
3017
|
var Function$1 = global$5.Function;
|
3018
3018
|
var MessageChannel = global$5.MessageChannel;
|
@@ -3068,7 +3068,7 @@ if (!set || !clear) {
|
|
3068
3068
|
// Node.js 0.8-
|
3069
3069
|
if (IS_NODE$3) {
|
3070
3070
|
defer = function (id) {
|
3071
|
-
process$
|
3071
|
+
process$2.nextTick(runner(id));
|
3072
3072
|
};
|
3073
3073
|
// Sphere (JS game engine) Dispatch API
|
3074
3074
|
} else if (Dispatch && Dispatch.now) {
|
@@ -3147,7 +3147,7 @@ var userAgent = engineUserAgent;
|
|
3147
3147
|
|
3148
3148
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
3149
3149
|
|
3150
|
-
var global$4 = global$
|
3150
|
+
var global$4 = global$i;
|
3151
3151
|
var bind$2 = functionBindContext;
|
3152
3152
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
3153
3153
|
var macrotask = task$1.set;
|
@@ -3159,7 +3159,7 @@ var IS_NODE$2 = engineIsNode;
|
|
3159
3159
|
|
3160
3160
|
var MutationObserver = global$4.MutationObserver || global$4.WebKitMutationObserver;
|
3161
3161
|
var document$2 = global$4.document;
|
3162
|
-
var process$
|
3162
|
+
var process$1 = global$4.process;
|
3163
3163
|
var Promise$1 = global$4.Promise;
|
3164
3164
|
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
3165
3165
|
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$4, 'queueMicrotask');
|
@@ -3172,7 +3172,7 @@ if (!microtask$1) {
|
|
3172
3172
|
|
3173
3173
|
var flush = function () {
|
3174
3174
|
var parent, fn;
|
3175
|
-
if (IS_NODE$2 && (parent = process$
|
3175
|
+
if (IS_NODE$2 && (parent = process$1.domain)) parent.exit();
|
3176
3176
|
while (fn = queue.get()) try {
|
3177
3177
|
fn();
|
3178
3178
|
} catch (error) {
|
@@ -3204,7 +3204,7 @@ if (!microtask$1) {
|
|
3204
3204
|
// Node.js without promises
|
3205
3205
|
} else if (IS_NODE$2) {
|
3206
3206
|
notify$1 = function () {
|
3207
|
-
process$
|
3207
|
+
process$1.nextTick(flush);
|
3208
3208
|
};
|
3209
3209
|
// for other environments - macrotask based on:
|
3210
3210
|
// - setImmediate
|
@@ -3231,7 +3231,7 @@ var microtask_1 = microtask$1;
|
|
3231
3231
|
var hostReportErrors$1 = function (a, b) {
|
3232
3232
|
try {
|
3233
3233
|
// eslint-disable-next-line no-console -- safe
|
3234
|
-
arguments.length
|
3234
|
+
arguments.length === 1 ? console.error(a) : console.error(a, b);
|
3235
3235
|
} catch (error) { /* empty */ }
|
3236
3236
|
};
|
3237
3237
|
|
@@ -3243,12 +3243,11 @@ var perform$3 = function (exec) {
|
|
3243
3243
|
}
|
3244
3244
|
};
|
3245
3245
|
|
3246
|
-
var global$3 = global$
|
3246
|
+
var global$3 = global$i;
|
3247
3247
|
|
3248
3248
|
var promiseNativeConstructor = global$3.Promise;
|
3249
3249
|
|
3250
3250
|
/* global Deno -- Deno case */
|
3251
|
-
|
3252
3251
|
var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
|
3253
3252
|
|
3254
3253
|
var IS_DENO$1 = engineIsDeno;
|
@@ -3258,7 +3257,7 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
3258
3257
|
&& typeof window == 'object'
|
3259
3258
|
&& typeof document == 'object';
|
3260
3259
|
|
3261
|
-
var global$2 = global$
|
3260
|
+
var global$2 = global$i;
|
3262
3261
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
3263
3262
|
var isCallable$2 = isCallable$k;
|
3264
3263
|
var isForced = isForced_1;
|
@@ -3312,7 +3311,7 @@ var $TypeError$2 = TypeError;
|
|
3312
3311
|
var PromiseCapability = function (C) {
|
3313
3312
|
var resolve, reject;
|
3314
3313
|
this.promise = new C(function ($$resolve, $$reject) {
|
3315
|
-
if (resolve !== undefined || reject !== undefined) throw $TypeError$2('Bad Promise constructor');
|
3314
|
+
if (resolve !== undefined || reject !== undefined) throw new $TypeError$2('Bad Promise constructor');
|
3316
3315
|
resolve = $$resolve;
|
3317
3316
|
reject = $$reject;
|
3318
3317
|
});
|
@@ -3328,7 +3327,7 @@ newPromiseCapability$2.f = function (C) {
|
|
3328
3327
|
|
3329
3328
|
var $$5 = _export;
|
3330
3329
|
var IS_NODE = engineIsNode;
|
3331
|
-
var global$1 = global$
|
3330
|
+
var global$1 = global$i;
|
3332
3331
|
var call$6 = functionCall;
|
3333
3332
|
var defineBuiltIn$1 = defineBuiltIn$5;
|
3334
3333
|
var setPrototypeOf = objectSetPrototypeOf;
|
@@ -3360,7 +3359,7 @@ var PromiseConstructor = NativePromiseConstructor$2;
|
|
3360
3359
|
var PromisePrototype = NativePromisePrototype$1;
|
3361
3360
|
var TypeError$1 = global$1.TypeError;
|
3362
3361
|
var document$1 = global$1.document;
|
3363
|
-
var process
|
3362
|
+
var process = global$1.process;
|
3364
3363
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
3365
3364
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
3366
3365
|
|
@@ -3383,7 +3382,7 @@ var isThenable = function (it) {
|
|
3383
3382
|
|
3384
3383
|
var callReaction = function (reaction, state) {
|
3385
3384
|
var value = state.value;
|
3386
|
-
var ok = state.state
|
3385
|
+
var ok = state.state === FULFILLED;
|
3387
3386
|
var handler = ok ? reaction.ok : reaction.fail;
|
3388
3387
|
var resolve = reaction.resolve;
|
3389
3388
|
var reject = reaction.reject;
|
@@ -3405,7 +3404,7 @@ var callReaction = function (reaction, state) {
|
|
3405
3404
|
}
|
3406
3405
|
}
|
3407
3406
|
if (result === reaction.promise) {
|
3408
|
-
reject(TypeError$1('Promise-chain cycle'));
|
3407
|
+
reject(new TypeError$1('Promise-chain cycle'));
|
3409
3408
|
} else if (then = isThenable(result)) {
|
3410
3409
|
call$6(then, result, resolve, reject);
|
3411
3410
|
} else resolve(result);
|
@@ -3452,7 +3451,7 @@ var onUnhandled = function (state) {
|
|
3452
3451
|
if (IS_UNHANDLED) {
|
3453
3452
|
result = perform$2(function () {
|
3454
3453
|
if (IS_NODE) {
|
3455
|
-
process
|
3454
|
+
process.emit('unhandledRejection', value, promise);
|
3456
3455
|
} else dispatchEvent(UNHANDLED_REJECTION, promise, value);
|
3457
3456
|
});
|
3458
3457
|
// Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
|
@@ -3470,7 +3469,7 @@ var onHandleUnhandled = function (state) {
|
|
3470
3469
|
call$6(task, global$1, function () {
|
3471
3470
|
var promise = state.facade;
|
3472
3471
|
if (IS_NODE) {
|
3473
|
-
process
|
3472
|
+
process.emit('rejectionHandled', promise);
|
3474
3473
|
} else dispatchEvent(REJECTION_HANDLED, promise, state.value);
|
3475
3474
|
});
|
3476
3475
|
};
|
@@ -3495,7 +3494,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
3495
3494
|
state.done = true;
|
3496
3495
|
if (unwrap) state = unwrap;
|
3497
3496
|
try {
|
3498
|
-
if (state.facade === value) throw TypeError$1("Promise can't be resolved itself");
|
3497
|
+
if (state.facade === value) throw new TypeError$1("Promise can't be resolved itself");
|
3499
3498
|
var then = isThenable(value);
|
3500
3499
|
if (then) {
|
3501
3500
|
microtask(function () {
|
@@ -3558,8 +3557,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
3558
3557
|
state.parent = true;
|
3559
3558
|
reaction.ok = isCallable$1(onFulfilled) ? onFulfilled : true;
|
3560
3559
|
reaction.fail = isCallable$1(onRejected) && onRejected;
|
3561
|
-
reaction.domain = IS_NODE ? process
|
3562
|
-
if (state.state
|
3560
|
+
reaction.domain = IS_NODE ? process.domain : undefined;
|
3561
|
+
if (state.state === PENDING) state.reactions.add(reaction);
|
3563
3562
|
else microtask(function () {
|
3564
3563
|
callReaction(reaction, state);
|
3565
3564
|
});
|
@@ -3649,7 +3648,7 @@ var $TypeError$1 = TypeError;
|
|
3649
3648
|
var getIterator$1 = function (argument, usingIterator) {
|
3650
3649
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
3651
3650
|
if (aCallable$2(iteratorMethod)) return anObject$3(call$5(iteratorMethod, argument));
|
3652
|
-
throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
|
3651
|
+
throw new $TypeError$1(tryToString$1(argument) + ' is not iterable');
|
3653
3652
|
};
|
3654
3653
|
|
3655
3654
|
var call$4 = functionCall;
|
@@ -3723,7 +3722,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
3723
3722
|
iterator = iterable;
|
3724
3723
|
} else {
|
3725
3724
|
iterFn = getIteratorMethod(iterable);
|
3726
|
-
if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
|
3725
|
+
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
|
3727
3726
|
// optimisation for array iterators
|
3728
3727
|
if (isArrayIteratorMethod(iterFn)) {
|
3729
3728
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
@@ -3768,7 +3767,9 @@ try {
|
|
3768
3767
|
} catch (error) { /* empty */ }
|
3769
3768
|
|
3770
3769
|
var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
3771
|
-
|
3770
|
+
try {
|
3771
|
+
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
|
3772
|
+
} catch (error) { return false; } // workaround of old WebKit + `eval` bug
|
3772
3773
|
var ITERATION_SUPPORT = false;
|
3773
3774
|
try {
|
3774
3775
|
var object = {};
|