@fluxo-dev/shell-reporting 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.esm2.js +714 -461
- package/package.json +9 -2
package/index.esm2.js
CHANGED
|
@@ -19,7 +19,7 @@ var check = function (it) {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22
|
-
var global$
|
|
22
|
+
var global$m =
|
|
23
23
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
24
24
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
25
25
|
check(typeof window == 'object' && window) ||
|
|
@@ -32,7 +32,7 @@ var global$l =
|
|
|
32
32
|
|
|
33
33
|
var objectGetOwnPropertyDescriptor = {};
|
|
34
34
|
|
|
35
|
-
var fails$
|
|
35
|
+
var fails$k = function (exec) {
|
|
36
36
|
try {
|
|
37
37
|
return !!exec();
|
|
38
38
|
} catch (error) {
|
|
@@ -40,17 +40,17 @@ var fails$j = function (exec) {
|
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
var fails$
|
|
43
|
+
var fails$j = fails$k;
|
|
44
44
|
|
|
45
45
|
// Detect IE8's incomplete defineProperty implementation
|
|
46
|
-
var descriptors = !fails$
|
|
46
|
+
var descriptors = !fails$j(function () {
|
|
47
47
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
48
48
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
var fails$
|
|
51
|
+
var fails$i = fails$k;
|
|
52
52
|
|
|
53
|
-
var functionBindNative = !fails$
|
|
53
|
+
var functionBindNative = !fails$i(function () {
|
|
54
54
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
55
55
|
var test = (function () { /* empty */ }).bind();
|
|
56
56
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -59,10 +59,10 @@ var functionBindNative = !fails$h(function () {
|
|
|
59
59
|
|
|
60
60
|
var NATIVE_BIND$3 = functionBindNative;
|
|
61
61
|
|
|
62
|
-
var call$
|
|
62
|
+
var call$k = Function.prototype.call;
|
|
63
63
|
|
|
64
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
|
65
|
-
return call$
|
|
64
|
+
var functionCall = NATIVE_BIND$3 ? call$k.bind(call$k) : function () {
|
|
65
|
+
return call$k.apply(call$k, arguments);
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
var objectPropertyIsEnumerable = {};
|
|
@@ -81,7 +81,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
81
81
|
return !!descriptor && descriptor.enumerable;
|
|
82
82
|
} : $propertyIsEnumerable;
|
|
83
83
|
|
|
84
|
-
var createPropertyDescriptor$
|
|
84
|
+
var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
85
85
|
return {
|
|
86
86
|
enumerable: !(bitmap & 1),
|
|
87
87
|
configurable: !(bitmap & 2),
|
|
@@ -93,12 +93,12 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
|
93
93
|
var NATIVE_BIND$2 = functionBindNative;
|
|
94
94
|
|
|
95
95
|
var FunctionPrototype$2 = Function.prototype;
|
|
96
|
-
var call$
|
|
97
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
|
96
|
+
var call$j = FunctionPrototype$2.call;
|
|
97
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$j, call$j);
|
|
98
98
|
|
|
99
99
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
100
100
|
return function () {
|
|
101
|
-
return call$
|
|
101
|
+
return call$j.apply(fn, arguments);
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
104
|
|
|
@@ -112,14 +112,14 @@ var classofRaw$2 = function (it) {
|
|
|
112
112
|
};
|
|
113
113
|
|
|
114
114
|
var uncurryThis$h = functionUncurryThis;
|
|
115
|
-
var fails$
|
|
115
|
+
var fails$h = fails$k;
|
|
116
116
|
var classof$6 = classofRaw$2;
|
|
117
117
|
|
|
118
118
|
var $Object$4 = Object;
|
|
119
119
|
var split = uncurryThis$h(''.split);
|
|
120
120
|
|
|
121
121
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
122
|
-
var indexedObject = fails$
|
|
122
|
+
var indexedObject = fails$h(function () {
|
|
123
123
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
124
124
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
125
125
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
@@ -135,12 +135,12 @@ var isNullOrUndefined$5 = function (it) {
|
|
|
135
135
|
|
|
136
136
|
var isNullOrUndefined$4 = isNullOrUndefined$5;
|
|
137
137
|
|
|
138
|
-
var $TypeError$
|
|
138
|
+
var $TypeError$e = TypeError;
|
|
139
139
|
|
|
140
140
|
// `RequireObjectCoercible` abstract operation
|
|
141
141
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
142
142
|
var requireObjectCoercible$5 = function (it) {
|
|
143
|
-
if (isNullOrUndefined$4(it)) throw new $TypeError$
|
|
143
|
+
if (isNullOrUndefined$4(it)) throw new $TypeError$e("Can't call method on " + it);
|
|
144
144
|
return it;
|
|
145
145
|
};
|
|
146
146
|
|
|
@@ -158,27 +158,27 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
158
158
|
// `IsCallable` abstract operation
|
|
159
159
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
160
160
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
161
|
-
var isCallable$
|
|
161
|
+
var isCallable$m = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
162
162
|
return typeof argument == 'function' || argument === documentAll;
|
|
163
163
|
} : function (argument) {
|
|
164
164
|
return typeof argument == 'function';
|
|
165
165
|
};
|
|
166
166
|
|
|
167
|
-
var isCallable$
|
|
167
|
+
var isCallable$l = isCallable$m;
|
|
168
168
|
|
|
169
169
|
var isObject$a = function (it) {
|
|
170
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
170
|
+
return typeof it == 'object' ? it !== null : isCallable$l(it);
|
|
171
171
|
};
|
|
172
172
|
|
|
173
|
-
var global$
|
|
174
|
-
var isCallable$
|
|
173
|
+
var global$l = global$m;
|
|
174
|
+
var isCallable$k = isCallable$m;
|
|
175
175
|
|
|
176
176
|
var aFunction = function (argument) {
|
|
177
|
-
return isCallable$
|
|
177
|
+
return isCallable$k(argument) ? argument : undefined;
|
|
178
178
|
};
|
|
179
179
|
|
|
180
180
|
var getBuiltIn$7 = function (namespace, method) {
|
|
181
|
-
return arguments.length < 2 ? aFunction(global$
|
|
181
|
+
return arguments.length < 2 ? aFunction(global$l[namespace]) : global$l[namespace] && global$l[namespace][method];
|
|
182
182
|
};
|
|
183
183
|
|
|
184
184
|
var uncurryThis$g = functionUncurryThis;
|
|
@@ -187,11 +187,11 @@ var objectIsPrototypeOf = uncurryThis$g({}.isPrototypeOf);
|
|
|
187
187
|
|
|
188
188
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
189
189
|
|
|
190
|
-
var global$
|
|
190
|
+
var global$k = global$m;
|
|
191
191
|
var userAgent$3 = engineUserAgent;
|
|
192
192
|
|
|
193
|
-
var process$4 = global$
|
|
194
|
-
var Deno$1 = global$
|
|
193
|
+
var process$4 = global$k.process;
|
|
194
|
+
var Deno$1 = global$k.Deno;
|
|
195
195
|
var versions = process$4 && process$4.versions || Deno$1 && Deno$1.version;
|
|
196
196
|
var v8 = versions && versions.v8;
|
|
197
197
|
var match, version;
|
|
@@ -217,13 +217,13 @@ var engineV8Version = version;
|
|
|
217
217
|
|
|
218
218
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
219
219
|
var V8_VERSION$1 = engineV8Version;
|
|
220
|
-
var fails$
|
|
221
|
-
var global$
|
|
220
|
+
var fails$g = fails$k;
|
|
221
|
+
var global$j = global$m;
|
|
222
222
|
|
|
223
|
-
var $String$5 = global$
|
|
223
|
+
var $String$5 = global$j.String;
|
|
224
224
|
|
|
225
225
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
226
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
226
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$g(function () {
|
|
227
227
|
var symbol = Symbol('symbol detection');
|
|
228
228
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
229
229
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -242,7 +242,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
242
242
|
&& typeof Symbol.iterator == 'symbol';
|
|
243
243
|
|
|
244
244
|
var getBuiltIn$6 = getBuiltIn$7;
|
|
245
|
-
var isCallable$
|
|
245
|
+
var isCallable$j = isCallable$m;
|
|
246
246
|
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
247
247
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
248
248
|
|
|
@@ -252,7 +252,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
252
252
|
return typeof it == 'symbol';
|
|
253
253
|
} : function (it) {
|
|
254
254
|
var $Symbol = getBuiltIn$6('Symbol');
|
|
255
|
-
return isCallable$
|
|
255
|
+
return isCallable$j($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));
|
|
256
256
|
};
|
|
257
257
|
|
|
258
258
|
var $String$4 = String;
|
|
@@ -265,59 +265,61 @@ var tryToString$4 = function (argument) {
|
|
|
265
265
|
}
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
var isCallable$
|
|
268
|
+
var isCallable$i = isCallable$m;
|
|
269
269
|
var tryToString$3 = tryToString$4;
|
|
270
270
|
|
|
271
|
-
var $TypeError$
|
|
271
|
+
var $TypeError$d = TypeError;
|
|
272
272
|
|
|
273
273
|
// `Assert: IsCallable(argument) is true`
|
|
274
|
-
var aCallable$
|
|
275
|
-
if (isCallable$
|
|
276
|
-
throw new $TypeError$
|
|
274
|
+
var aCallable$b = function (argument) {
|
|
275
|
+
if (isCallable$i(argument)) return argument;
|
|
276
|
+
throw new $TypeError$d(tryToString$3(argument) + ' is not a function');
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
var aCallable$
|
|
279
|
+
var aCallable$a = aCallable$b;
|
|
280
280
|
var isNullOrUndefined$3 = isNullOrUndefined$5;
|
|
281
281
|
|
|
282
282
|
// `GetMethod` abstract operation
|
|
283
283
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
284
|
-
var getMethod$
|
|
284
|
+
var getMethod$5 = function (V, P) {
|
|
285
285
|
var func = V[P];
|
|
286
|
-
return isNullOrUndefined$3(func) ? undefined : aCallable$
|
|
286
|
+
return isNullOrUndefined$3(func) ? undefined : aCallable$a(func);
|
|
287
287
|
};
|
|
288
288
|
|
|
289
|
-
var call$
|
|
290
|
-
var isCallable$
|
|
289
|
+
var call$i = functionCall;
|
|
290
|
+
var isCallable$h = isCallable$m;
|
|
291
291
|
var isObject$9 = isObject$a;
|
|
292
292
|
|
|
293
|
-
var $TypeError$
|
|
293
|
+
var $TypeError$c = TypeError;
|
|
294
294
|
|
|
295
295
|
// `OrdinaryToPrimitive` abstract operation
|
|
296
296
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
297
297
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
298
298
|
var fn, val;
|
|
299
|
-
if (pref === 'string' && isCallable$
|
|
300
|
-
if (isCallable$
|
|
301
|
-
if (pref !== 'string' && isCallable$
|
|
302
|
-
throw new $TypeError$
|
|
299
|
+
if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$9(val = call$i(fn, input))) return val;
|
|
300
|
+
if (isCallable$h(fn = input.valueOf) && !isObject$9(val = call$i(fn, input))) return val;
|
|
301
|
+
if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$9(val = call$i(fn, input))) return val;
|
|
302
|
+
throw new $TypeError$c("Can't convert object to primitive value");
|
|
303
303
|
};
|
|
304
304
|
|
|
305
305
|
var sharedStore = {exports: {}};
|
|
306
306
|
|
|
307
|
-
var
|
|
307
|
+
var isPure = false;
|
|
308
|
+
|
|
309
|
+
var global$i = global$m;
|
|
308
310
|
|
|
309
311
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
310
312
|
var defineProperty$6 = Object.defineProperty;
|
|
311
313
|
|
|
312
314
|
var defineGlobalProperty$3 = function (key, value) {
|
|
313
315
|
try {
|
|
314
|
-
defineProperty$6(global$
|
|
316
|
+
defineProperty$6(global$i, key, { value: value, configurable: true, writable: true });
|
|
315
317
|
} catch (error) {
|
|
316
|
-
global$
|
|
318
|
+
global$i[key] = value;
|
|
317
319
|
} return value;
|
|
318
320
|
};
|
|
319
321
|
|
|
320
|
-
var globalThis$1 = global$
|
|
322
|
+
var globalThis$1 = global$m;
|
|
321
323
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
322
324
|
|
|
323
325
|
var SHARED = '__core-js_shared__';
|
|
@@ -371,46 +373,46 @@ var uid$2 = function (key) {
|
|
|
371
373
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
|
|
372
374
|
};
|
|
373
375
|
|
|
374
|
-
var global$
|
|
376
|
+
var global$h = global$m;
|
|
375
377
|
var shared$3 = shared$4;
|
|
376
|
-
var hasOwn$
|
|
378
|
+
var hasOwn$b = hasOwnProperty_1;
|
|
377
379
|
var uid$1 = uid$2;
|
|
378
380
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
379
381
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
380
382
|
|
|
381
|
-
var Symbol$1 = global$
|
|
383
|
+
var Symbol$1 = global$h.Symbol;
|
|
382
384
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
383
385
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
384
386
|
|
|
385
|
-
var wellKnownSymbol$
|
|
386
|
-
if (!hasOwn$
|
|
387
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
|
387
|
+
var wellKnownSymbol$i = function (name) {
|
|
388
|
+
if (!hasOwn$b(WellKnownSymbolsStore, name)) {
|
|
389
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$b(Symbol$1, name)
|
|
388
390
|
? Symbol$1[name]
|
|
389
391
|
: createWellKnownSymbol('Symbol.' + name);
|
|
390
392
|
} return WellKnownSymbolsStore[name];
|
|
391
393
|
};
|
|
392
394
|
|
|
393
|
-
var call$
|
|
395
|
+
var call$h = functionCall;
|
|
394
396
|
var isObject$8 = isObject$a;
|
|
395
397
|
var isSymbol$1 = isSymbol$2;
|
|
396
|
-
var getMethod$
|
|
398
|
+
var getMethod$4 = getMethod$5;
|
|
397
399
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
398
|
-
var wellKnownSymbol$
|
|
400
|
+
var wellKnownSymbol$h = wellKnownSymbol$i;
|
|
399
401
|
|
|
400
|
-
var $TypeError$
|
|
401
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
402
|
+
var $TypeError$b = TypeError;
|
|
403
|
+
var TO_PRIMITIVE = wellKnownSymbol$h('toPrimitive');
|
|
402
404
|
|
|
403
405
|
// `ToPrimitive` abstract operation
|
|
404
406
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
405
407
|
var toPrimitive$1 = function (input, pref) {
|
|
406
408
|
if (!isObject$8(input) || isSymbol$1(input)) return input;
|
|
407
|
-
var exoticToPrim = getMethod$
|
|
409
|
+
var exoticToPrim = getMethod$4(input, TO_PRIMITIVE);
|
|
408
410
|
var result;
|
|
409
411
|
if (exoticToPrim) {
|
|
410
412
|
if (pref === undefined) pref = 'default';
|
|
411
|
-
result = call$
|
|
413
|
+
result = call$h(exoticToPrim, input, pref);
|
|
412
414
|
if (!isObject$8(result) || isSymbol$1(result)) return result;
|
|
413
|
-
throw new $TypeError$
|
|
415
|
+
throw new $TypeError$b("Can't convert object to primitive value");
|
|
414
416
|
}
|
|
415
417
|
if (pref === undefined) pref = 'number';
|
|
416
418
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -426,10 +428,10 @@ var toPropertyKey$2 = function (argument) {
|
|
|
426
428
|
return isSymbol(key) ? key : key + '';
|
|
427
429
|
};
|
|
428
430
|
|
|
429
|
-
var global$
|
|
431
|
+
var global$g = global$m;
|
|
430
432
|
var isObject$7 = isObject$a;
|
|
431
433
|
|
|
432
|
-
var document$3 = global$
|
|
434
|
+
var document$3 = global$g.document;
|
|
433
435
|
// typeof document.createElement is 'object' in old IE
|
|
434
436
|
var EXISTS$1 = isObject$7(document$3) && isObject$7(document$3.createElement);
|
|
435
437
|
|
|
@@ -437,25 +439,25 @@ var documentCreateElement$2 = function (it) {
|
|
|
437
439
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
438
440
|
};
|
|
439
441
|
|
|
440
|
-
var DESCRIPTORS$
|
|
441
|
-
var fails$
|
|
442
|
+
var DESCRIPTORS$d = descriptors;
|
|
443
|
+
var fails$f = fails$k;
|
|
442
444
|
var createElement$1 = documentCreateElement$2;
|
|
443
445
|
|
|
444
446
|
// Thanks to IE8 for its funny defineProperty
|
|
445
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
447
|
+
var ie8DomDefine = !DESCRIPTORS$d && !fails$f(function () {
|
|
446
448
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
447
449
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
448
450
|
get: function () { return 7; }
|
|
449
451
|
}).a !== 7;
|
|
450
452
|
});
|
|
451
453
|
|
|
452
|
-
var DESCRIPTORS$
|
|
453
|
-
var call$
|
|
454
|
+
var DESCRIPTORS$c = descriptors;
|
|
455
|
+
var call$g = functionCall;
|
|
454
456
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
455
|
-
var createPropertyDescriptor$
|
|
457
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
456
458
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
457
459
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
458
|
-
var hasOwn$
|
|
460
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
459
461
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
460
462
|
|
|
461
463
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -463,23 +465,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
463
465
|
|
|
464
466
|
// `Object.getOwnPropertyDescriptor` method
|
|
465
467
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
466
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
468
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$c ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
467
469
|
O = toIndexedObject$4(O);
|
|
468
470
|
P = toPropertyKey$1(P);
|
|
469
471
|
if (IE8_DOM_DEFINE$1) try {
|
|
470
472
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
471
473
|
} catch (error) { /* empty */ }
|
|
472
|
-
if (hasOwn$
|
|
474
|
+
if (hasOwn$a(O, P)) return createPropertyDescriptor$3(!call$g(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
473
475
|
};
|
|
474
476
|
|
|
475
477
|
var objectDefineProperty = {};
|
|
476
478
|
|
|
477
|
-
var DESCRIPTORS$
|
|
478
|
-
var fails$
|
|
479
|
+
var DESCRIPTORS$b = descriptors;
|
|
480
|
+
var fails$e = fails$k;
|
|
479
481
|
|
|
480
482
|
// V8 ~ Chrome 36-
|
|
481
483
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
482
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
484
|
+
var v8PrototypeDefineBug = DESCRIPTORS$b && fails$e(function () {
|
|
483
485
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
484
486
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
485
487
|
value: 42,
|
|
@@ -490,21 +492,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$d(function () {
|
|
|
490
492
|
var isObject$6 = isObject$a;
|
|
491
493
|
|
|
492
494
|
var $String$3 = String;
|
|
493
|
-
var $TypeError$
|
|
495
|
+
var $TypeError$a = TypeError;
|
|
494
496
|
|
|
495
497
|
// `Assert: Type(argument) is Object`
|
|
496
|
-
var anObject$
|
|
498
|
+
var anObject$i = function (argument) {
|
|
497
499
|
if (isObject$6(argument)) return argument;
|
|
498
|
-
throw new $TypeError$
|
|
500
|
+
throw new $TypeError$a($String$3(argument) + ' is not an object');
|
|
499
501
|
};
|
|
500
502
|
|
|
501
|
-
var DESCRIPTORS$
|
|
503
|
+
var DESCRIPTORS$a = descriptors;
|
|
502
504
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
503
505
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
504
|
-
var anObject$
|
|
506
|
+
var anObject$h = anObject$i;
|
|
505
507
|
var toPropertyKey = toPropertyKey$2;
|
|
506
508
|
|
|
507
|
-
var $TypeError$
|
|
509
|
+
var $TypeError$9 = TypeError;
|
|
508
510
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
509
511
|
var $defineProperty = Object.defineProperty;
|
|
510
512
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -515,10 +517,10 @@ var WRITABLE = 'writable';
|
|
|
515
517
|
|
|
516
518
|
// `Object.defineProperty` method
|
|
517
519
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
518
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
519
|
-
anObject$
|
|
520
|
+
objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
521
|
+
anObject$h(O);
|
|
520
522
|
P = toPropertyKey(P);
|
|
521
|
-
anObject$
|
|
523
|
+
anObject$h(Attributes);
|
|
522
524
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
523
525
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
524
526
|
if (current && current[WRITABLE]) {
|
|
@@ -531,23 +533,23 @@ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
531
533
|
}
|
|
532
534
|
} return $defineProperty(O, P, Attributes);
|
|
533
535
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
534
|
-
anObject$
|
|
536
|
+
anObject$h(O);
|
|
535
537
|
P = toPropertyKey(P);
|
|
536
|
-
anObject$
|
|
538
|
+
anObject$h(Attributes);
|
|
537
539
|
if (IE8_DOM_DEFINE) try {
|
|
538
540
|
return $defineProperty(O, P, Attributes);
|
|
539
541
|
} catch (error) { /* empty */ }
|
|
540
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
542
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$9('Accessors not supported');
|
|
541
543
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
542
544
|
return O;
|
|
543
545
|
};
|
|
544
546
|
|
|
545
|
-
var DESCRIPTORS$
|
|
546
|
-
var definePropertyModule$
|
|
547
|
-
var createPropertyDescriptor$
|
|
547
|
+
var DESCRIPTORS$9 = descriptors;
|
|
548
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
549
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
|
|
548
550
|
|
|
549
|
-
var createNonEnumerableProperty$
|
|
550
|
-
return definePropertyModule$
|
|
551
|
+
var createNonEnumerableProperty$6 = DESCRIPTORS$9 ? function (object, key, value) {
|
|
552
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value));
|
|
551
553
|
} : function (object, key, value) {
|
|
552
554
|
object[key] = value;
|
|
553
555
|
return object;
|
|
@@ -555,17 +557,17 @@ var createNonEnumerableProperty$5 = DESCRIPTORS$7 ? function (object, key, value
|
|
|
555
557
|
|
|
556
558
|
var makeBuiltIn$3 = {exports: {}};
|
|
557
559
|
|
|
558
|
-
var DESCRIPTORS$
|
|
559
|
-
var hasOwn$
|
|
560
|
+
var DESCRIPTORS$8 = descriptors;
|
|
561
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
560
562
|
|
|
561
563
|
var FunctionPrototype$1 = Function.prototype;
|
|
562
564
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
563
|
-
var getDescriptor = DESCRIPTORS$
|
|
565
|
+
var getDescriptor = DESCRIPTORS$8 && Object.getOwnPropertyDescriptor;
|
|
564
566
|
|
|
565
|
-
var EXISTS = hasOwn$
|
|
567
|
+
var EXISTS = hasOwn$9(FunctionPrototype$1, 'name');
|
|
566
568
|
// additional protection from minified / mangled / dropped function names
|
|
567
569
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
568
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
570
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$8 || (DESCRIPTORS$8 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
569
571
|
|
|
570
572
|
var functionName = {
|
|
571
573
|
EXISTS: EXISTS,
|
|
@@ -574,13 +576,13 @@ var functionName = {
|
|
|
574
576
|
};
|
|
575
577
|
|
|
576
578
|
var uncurryThis$d = functionUncurryThis;
|
|
577
|
-
var isCallable$
|
|
579
|
+
var isCallable$g = isCallable$m;
|
|
578
580
|
var store$1 = sharedStoreExports;
|
|
579
581
|
|
|
580
582
|
var functionToString = uncurryThis$d(Function.toString);
|
|
581
583
|
|
|
582
584
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
583
|
-
if (!isCallable$
|
|
585
|
+
if (!isCallable$g(store$1.inspectSource)) {
|
|
584
586
|
store$1.inspectSource = function (it) {
|
|
585
587
|
return functionToString(it);
|
|
586
588
|
};
|
|
@@ -588,12 +590,12 @@ if (!isCallable$f(store$1.inspectSource)) {
|
|
|
588
590
|
|
|
589
591
|
var inspectSource$3 = store$1.inspectSource;
|
|
590
592
|
|
|
591
|
-
var global$
|
|
592
|
-
var isCallable$
|
|
593
|
+
var global$f = global$m;
|
|
594
|
+
var isCallable$f = isCallable$m;
|
|
593
595
|
|
|
594
|
-
var WeakMap$1 = global$
|
|
596
|
+
var WeakMap$1 = global$f.WeakMap;
|
|
595
597
|
|
|
596
|
-
var weakMapBasicDetection = isCallable$
|
|
598
|
+
var weakMapBasicDetection = isCallable$f(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
597
599
|
|
|
598
600
|
var shared$2 = shared$4;
|
|
599
601
|
var uid = uid$2;
|
|
@@ -607,17 +609,17 @@ var sharedKey$3 = function (key) {
|
|
|
607
609
|
var hiddenKeys$4 = {};
|
|
608
610
|
|
|
609
611
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
610
|
-
var global$
|
|
612
|
+
var global$e = global$m;
|
|
611
613
|
var isObject$5 = isObject$a;
|
|
612
|
-
var createNonEnumerableProperty$
|
|
613
|
-
var hasOwn$
|
|
614
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
|
|
615
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
614
616
|
var shared$1 = sharedStoreExports;
|
|
615
617
|
var sharedKey$2 = sharedKey$3;
|
|
616
618
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
617
619
|
|
|
618
620
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
619
|
-
var TypeError$2 = global$
|
|
620
|
-
var WeakMap = global$
|
|
621
|
+
var TypeError$2 = global$e.TypeError;
|
|
622
|
+
var WeakMap = global$e.WeakMap;
|
|
621
623
|
var set$1, get, has$1;
|
|
622
624
|
|
|
623
625
|
var enforce = function (it) {
|
|
@@ -656,16 +658,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
656
658
|
var STATE = sharedKey$2('state');
|
|
657
659
|
hiddenKeys$3[STATE] = true;
|
|
658
660
|
set$1 = function (it, metadata) {
|
|
659
|
-
if (hasOwn$
|
|
661
|
+
if (hasOwn$8(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
660
662
|
metadata.facade = it;
|
|
661
|
-
createNonEnumerableProperty$
|
|
663
|
+
createNonEnumerableProperty$5(it, STATE, metadata);
|
|
662
664
|
return metadata;
|
|
663
665
|
};
|
|
664
666
|
get = function (it) {
|
|
665
|
-
return hasOwn$
|
|
667
|
+
return hasOwn$8(it, STATE) ? it[STATE] : {};
|
|
666
668
|
};
|
|
667
669
|
has$1 = function (it) {
|
|
668
|
-
return hasOwn$
|
|
670
|
+
return hasOwn$8(it, STATE);
|
|
669
671
|
};
|
|
670
672
|
}
|
|
671
673
|
|
|
@@ -678,16 +680,16 @@ var internalState = {
|
|
|
678
680
|
};
|
|
679
681
|
|
|
680
682
|
var uncurryThis$c = functionUncurryThis;
|
|
681
|
-
var fails$
|
|
682
|
-
var isCallable$
|
|
683
|
-
var hasOwn$
|
|
684
|
-
var DESCRIPTORS$
|
|
683
|
+
var fails$d = fails$k;
|
|
684
|
+
var isCallable$e = isCallable$m;
|
|
685
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
686
|
+
var DESCRIPTORS$7 = descriptors;
|
|
685
687
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
686
688
|
var inspectSource$2 = inspectSource$3;
|
|
687
|
-
var InternalStateModule$
|
|
689
|
+
var InternalStateModule$3 = internalState;
|
|
688
690
|
|
|
689
|
-
var enforceInternalState = InternalStateModule$
|
|
690
|
-
var getInternalState$2 = InternalStateModule$
|
|
691
|
+
var enforceInternalState = InternalStateModule$3.enforce;
|
|
692
|
+
var getInternalState$2 = InternalStateModule$3.get;
|
|
691
693
|
var $String$2 = String;
|
|
692
694
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
693
695
|
var defineProperty$5 = Object.defineProperty;
|
|
@@ -695,7 +697,7 @@ var stringSlice$4 = uncurryThis$c(''.slice);
|
|
|
695
697
|
var replace$2 = uncurryThis$c(''.replace);
|
|
696
698
|
var join = uncurryThis$c([].join);
|
|
697
699
|
|
|
698
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
700
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$7 && !fails$d(function () {
|
|
699
701
|
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
700
702
|
});
|
|
701
703
|
|
|
@@ -707,21 +709,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
707
709
|
}
|
|
708
710
|
if (options && options.getter) name = 'get ' + name;
|
|
709
711
|
if (options && options.setter) name = 'set ' + name;
|
|
710
|
-
if (!hasOwn$
|
|
711
|
-
if (DESCRIPTORS$
|
|
712
|
+
if (!hasOwn$7(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
713
|
+
if (DESCRIPTORS$7) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
712
714
|
else value.name = name;
|
|
713
715
|
}
|
|
714
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
716
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$7(options, 'arity') && value.length !== options.arity) {
|
|
715
717
|
defineProperty$5(value, 'length', { value: options.arity });
|
|
716
718
|
}
|
|
717
719
|
try {
|
|
718
|
-
if (options && hasOwn$
|
|
719
|
-
if (DESCRIPTORS$
|
|
720
|
+
if (options && hasOwn$7(options, 'constructor') && options.constructor) {
|
|
721
|
+
if (DESCRIPTORS$7) defineProperty$5(value, 'prototype', { writable: false });
|
|
720
722
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
721
723
|
} else if (value.prototype) value.prototype = undefined;
|
|
722
724
|
} catch (error) { /* empty */ }
|
|
723
725
|
var state = enforceInternalState(value);
|
|
724
|
-
if (!hasOwn$
|
|
726
|
+
if (!hasOwn$7(state, 'source')) {
|
|
725
727
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
726
728
|
} return value;
|
|
727
729
|
};
|
|
@@ -729,21 +731,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
729
731
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
730
732
|
// eslint-disable-next-line no-extend-native -- required
|
|
731
733
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
732
|
-
return isCallable$
|
|
734
|
+
return isCallable$e(this) && getInternalState$2(this).source || inspectSource$2(this);
|
|
733
735
|
}, 'toString');
|
|
734
736
|
|
|
735
737
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
736
738
|
|
|
737
|
-
var isCallable$
|
|
738
|
-
var definePropertyModule$
|
|
739
|
+
var isCallable$d = isCallable$m;
|
|
740
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
739
741
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
740
742
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
741
743
|
|
|
742
|
-
var defineBuiltIn$
|
|
744
|
+
var defineBuiltIn$8 = function (O, key, value, options) {
|
|
743
745
|
if (!options) options = {};
|
|
744
746
|
var simple = options.enumerable;
|
|
745
747
|
var name = options.name !== undefined ? options.name : key;
|
|
746
|
-
if (isCallable$
|
|
748
|
+
if (isCallable$d(value)) makeBuiltIn$1(value, name, options);
|
|
747
749
|
if (options.global) {
|
|
748
750
|
if (simple) O[key] = value;
|
|
749
751
|
else defineGlobalProperty$1(key, value);
|
|
@@ -753,7 +755,7 @@ var defineBuiltIn$7 = function (O, key, value, options) {
|
|
|
753
755
|
else if (O[key]) simple = true;
|
|
754
756
|
} catch (error) { /* empty */ }
|
|
755
757
|
if (simple) O[key] = value;
|
|
756
|
-
else definePropertyModule$
|
|
758
|
+
else definePropertyModule$3.f(O, key, {
|
|
757
759
|
value: value,
|
|
758
760
|
enumerable: false,
|
|
759
761
|
configurable: !options.nonConfigurable,
|
|
@@ -852,7 +854,7 @@ var arrayIncludes = {
|
|
|
852
854
|
};
|
|
853
855
|
|
|
854
856
|
var uncurryThis$b = functionUncurryThis;
|
|
855
|
-
var hasOwn$
|
|
857
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
856
858
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
857
859
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
858
860
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -864,9 +866,9 @@ var objectKeysInternal = function (object, names) {
|
|
|
864
866
|
var i = 0;
|
|
865
867
|
var result = [];
|
|
866
868
|
var key;
|
|
867
|
-
for (key in O) !hasOwn$
|
|
869
|
+
for (key in O) !hasOwn$6(hiddenKeys$2, key) && hasOwn$6(O, key) && push$1(result, key);
|
|
868
870
|
// Don't enum bug & hidden keys
|
|
869
|
-
while (names.length > i) if (hasOwn$
|
|
871
|
+
while (names.length > i) if (hasOwn$6(O, key = names[i++])) {
|
|
870
872
|
~indexOf$1(result, key) || push$1(result, key);
|
|
871
873
|
}
|
|
872
874
|
return result;
|
|
@@ -904,36 +906,36 @@ var getBuiltIn$5 = getBuiltIn$7;
|
|
|
904
906
|
var uncurryThis$a = functionUncurryThis;
|
|
905
907
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
906
908
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
907
|
-
var anObject$
|
|
909
|
+
var anObject$g = anObject$i;
|
|
908
910
|
|
|
909
911
|
var concat$2 = uncurryThis$a([].concat);
|
|
910
912
|
|
|
911
913
|
// all object keys, includes non-enumerable and symbols
|
|
912
914
|
var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
913
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
915
|
+
var keys = getOwnPropertyNamesModule.f(anObject$g(it));
|
|
914
916
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
915
917
|
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
916
918
|
};
|
|
917
919
|
|
|
918
|
-
var hasOwn$
|
|
920
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
919
921
|
var ownKeys = ownKeys$1;
|
|
920
922
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
921
|
-
var definePropertyModule$
|
|
923
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
922
924
|
|
|
923
925
|
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
924
926
|
var keys = ownKeys(source);
|
|
925
|
-
var defineProperty = definePropertyModule$
|
|
927
|
+
var defineProperty = definePropertyModule$2.f;
|
|
926
928
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
927
929
|
for (var i = 0; i < keys.length; i++) {
|
|
928
930
|
var key = keys[i];
|
|
929
|
-
if (!hasOwn$
|
|
931
|
+
if (!hasOwn$5(target, key) && !(exceptions && hasOwn$5(exceptions, key))) {
|
|
930
932
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
931
933
|
}
|
|
932
934
|
}
|
|
933
935
|
};
|
|
934
936
|
|
|
935
|
-
var fails$
|
|
936
|
-
var isCallable$
|
|
937
|
+
var fails$c = fails$k;
|
|
938
|
+
var isCallable$c = isCallable$m;
|
|
937
939
|
|
|
938
940
|
var replacement = /#|\.prototype\./;
|
|
939
941
|
|
|
@@ -941,7 +943,7 @@ var isForced$2 = function (feature, detection) {
|
|
|
941
943
|
var value = data[normalize(feature)];
|
|
942
944
|
return value === POLYFILL ? true
|
|
943
945
|
: value === NATIVE ? false
|
|
944
|
-
: isCallable$
|
|
946
|
+
: isCallable$c(detection) ? fails$c(detection)
|
|
945
947
|
: !!detection;
|
|
946
948
|
};
|
|
947
949
|
|
|
@@ -955,10 +957,10 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
|
955
957
|
|
|
956
958
|
var isForced_1 = isForced$2;
|
|
957
959
|
|
|
958
|
-
var global$
|
|
960
|
+
var global$d = global$m;
|
|
959
961
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
960
|
-
var createNonEnumerableProperty$
|
|
961
|
-
var defineBuiltIn$
|
|
962
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
|
|
963
|
+
var defineBuiltIn$7 = defineBuiltIn$8;
|
|
962
964
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
963
965
|
var copyConstructorProperties = copyConstructorProperties$1;
|
|
964
966
|
var isForced$1 = isForced_1;
|
|
@@ -984,11 +986,11 @@ var _export = function (options, source) {
|
|
|
984
986
|
var STATIC = options.stat;
|
|
985
987
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
986
988
|
if (GLOBAL) {
|
|
987
|
-
target = global$
|
|
989
|
+
target = global$d;
|
|
988
990
|
} else if (STATIC) {
|
|
989
|
-
target = global$
|
|
991
|
+
target = global$d[TARGET] || defineGlobalProperty(TARGET, {});
|
|
990
992
|
} else {
|
|
991
|
-
target = global$
|
|
993
|
+
target = global$d[TARGET] && global$d[TARGET].prototype;
|
|
992
994
|
}
|
|
993
995
|
if (target) for (key in source) {
|
|
994
996
|
sourceProperty = source[key];
|
|
@@ -1004,9 +1006,9 @@ var _export = function (options, source) {
|
|
|
1004
1006
|
}
|
|
1005
1007
|
// add a flag to not completely full polyfills
|
|
1006
1008
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1007
|
-
createNonEnumerableProperty$
|
|
1009
|
+
createNonEnumerableProperty$4(sourceProperty, 'sham', true);
|
|
1008
1010
|
}
|
|
1009
|
-
defineBuiltIn$
|
|
1011
|
+
defineBuiltIn$7(target, key, sourceProperty, options);
|
|
1010
1012
|
}
|
|
1011
1013
|
};
|
|
1012
1014
|
|
|
@@ -1020,10 +1022,10 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1020
1022
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1021
1023
|
};
|
|
1022
1024
|
|
|
1023
|
-
var DESCRIPTORS$
|
|
1025
|
+
var DESCRIPTORS$6 = descriptors;
|
|
1024
1026
|
var uncurryThis$9 = functionUncurryThis;
|
|
1025
|
-
var call$
|
|
1026
|
-
var fails$
|
|
1027
|
+
var call$f = functionCall;
|
|
1028
|
+
var fails$b = fails$k;
|
|
1027
1029
|
var objectKeys$1 = objectKeys$2;
|
|
1028
1030
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1029
1031
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -1038,9 +1040,9 @@ var concat$1 = uncurryThis$9([].concat);
|
|
|
1038
1040
|
|
|
1039
1041
|
// `Object.assign` method
|
|
1040
1042
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1041
|
-
var objectAssign$1 = !$assign || fails$
|
|
1043
|
+
var objectAssign$1 = !$assign || fails$b(function () {
|
|
1042
1044
|
// should have correct order of operations (Edge bug)
|
|
1043
|
-
if (DESCRIPTORS$
|
|
1045
|
+
if (DESCRIPTORS$6 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
|
|
1044
1046
|
enumerable: true,
|
|
1045
1047
|
get: function () {
|
|
1046
1048
|
defineProperty$4(this, 'b', {
|
|
@@ -1072,33 +1074,33 @@ var objectAssign$1 = !$assign || fails$a(function () {
|
|
|
1072
1074
|
var key;
|
|
1073
1075
|
while (length > j) {
|
|
1074
1076
|
key = keys[j++];
|
|
1075
|
-
if (!DESCRIPTORS$
|
|
1077
|
+
if (!DESCRIPTORS$6 || call$f(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1076
1078
|
}
|
|
1077
1079
|
} return T;
|
|
1078
1080
|
} : $assign;
|
|
1079
1081
|
|
|
1080
|
-
var $$
|
|
1082
|
+
var $$c = _export;
|
|
1081
1083
|
var assign = objectAssign$1;
|
|
1082
1084
|
|
|
1083
1085
|
// `Object.assign` method
|
|
1084
1086
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1085
1087
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1086
|
-
$$
|
|
1088
|
+
$$c({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1087
1089
|
assign: assign
|
|
1088
1090
|
});
|
|
1089
1091
|
|
|
1090
|
-
var global$
|
|
1092
|
+
var global$c = global$m;
|
|
1091
1093
|
var classof$5 = classofRaw$2;
|
|
1092
1094
|
|
|
1093
|
-
var engineIsNode = classof$5(global$
|
|
1095
|
+
var engineIsNode = classof$5(global$c.process) === 'process';
|
|
1094
1096
|
|
|
1095
1097
|
var uncurryThis$8 = functionUncurryThis;
|
|
1096
|
-
var aCallable$
|
|
1098
|
+
var aCallable$9 = aCallable$b;
|
|
1097
1099
|
|
|
1098
1100
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1099
1101
|
try {
|
|
1100
1102
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1101
|
-
return uncurryThis$8(aCallable$
|
|
1103
|
+
return uncurryThis$8(aCallable$9(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1102
1104
|
} catch (error) { /* empty */ }
|
|
1103
1105
|
};
|
|
1104
1106
|
|
|
@@ -1111,11 +1113,11 @@ var isPossiblePrototype$1 = function (argument) {
|
|
|
1111
1113
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1112
1114
|
|
|
1113
1115
|
var $String$1 = String;
|
|
1114
|
-
var $TypeError$
|
|
1116
|
+
var $TypeError$8 = TypeError;
|
|
1115
1117
|
|
|
1116
1118
|
var aPossiblePrototype$1 = function (argument) {
|
|
1117
1119
|
if (isPossiblePrototype(argument)) return argument;
|
|
1118
|
-
throw new $TypeError$
|
|
1120
|
+
throw new $TypeError$8("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1119
1121
|
};
|
|
1120
1122
|
|
|
1121
1123
|
/* eslint-disable no-proto -- safe */
|
|
@@ -1148,39 +1150,39 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1148
1150
|
}() : undefined);
|
|
1149
1151
|
|
|
1150
1152
|
var defineProperty$3 = objectDefineProperty.f;
|
|
1151
|
-
var hasOwn$
|
|
1152
|
-
var wellKnownSymbol$
|
|
1153
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
1154
|
+
var wellKnownSymbol$g = wellKnownSymbol$i;
|
|
1153
1155
|
|
|
1154
|
-
var TO_STRING_TAG$
|
|
1156
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$g('toStringTag');
|
|
1155
1157
|
|
|
1156
1158
|
var setToStringTag$4 = function (target, TAG, STATIC) {
|
|
1157
1159
|
if (target && !STATIC) target = target.prototype;
|
|
1158
|
-
if (target && !hasOwn$
|
|
1159
|
-
defineProperty$3(target, TO_STRING_TAG$
|
|
1160
|
+
if (target && !hasOwn$4(target, TO_STRING_TAG$4)) {
|
|
1161
|
+
defineProperty$3(target, TO_STRING_TAG$4, { configurable: true, value: TAG });
|
|
1160
1162
|
}
|
|
1161
1163
|
};
|
|
1162
1164
|
|
|
1163
1165
|
var makeBuiltIn = makeBuiltInExports;
|
|
1164
1166
|
var defineProperty$2 = objectDefineProperty;
|
|
1165
1167
|
|
|
1166
|
-
var defineBuiltInAccessor$
|
|
1168
|
+
var defineBuiltInAccessor$2 = function (target, name, descriptor) {
|
|
1167
1169
|
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
1168
1170
|
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
1169
1171
|
return defineProperty$2.f(target, name, descriptor);
|
|
1170
1172
|
};
|
|
1171
1173
|
|
|
1172
1174
|
var getBuiltIn$4 = getBuiltIn$7;
|
|
1173
|
-
var defineBuiltInAccessor = defineBuiltInAccessor$
|
|
1174
|
-
var wellKnownSymbol$
|
|
1175
|
-
var DESCRIPTORS$
|
|
1175
|
+
var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
|
|
1176
|
+
var wellKnownSymbol$f = wellKnownSymbol$i;
|
|
1177
|
+
var DESCRIPTORS$5 = descriptors;
|
|
1176
1178
|
|
|
1177
|
-
var SPECIES$3 = wellKnownSymbol$
|
|
1179
|
+
var SPECIES$3 = wellKnownSymbol$f('species');
|
|
1178
1180
|
|
|
1179
1181
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
1180
1182
|
var Constructor = getBuiltIn$4(CONSTRUCTOR_NAME);
|
|
1181
1183
|
|
|
1182
|
-
if (DESCRIPTORS$
|
|
1183
|
-
defineBuiltInAccessor(Constructor, SPECIES$3, {
|
|
1184
|
+
if (DESCRIPTORS$5 && Constructor && !Constructor[SPECIES$3]) {
|
|
1185
|
+
defineBuiltInAccessor$1(Constructor, SPECIES$3, {
|
|
1184
1186
|
configurable: true,
|
|
1185
1187
|
get: function () { return this; }
|
|
1186
1188
|
});
|
|
@@ -1189,28 +1191,28 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
1189
1191
|
|
|
1190
1192
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
1191
1193
|
|
|
1192
|
-
var $TypeError$
|
|
1194
|
+
var $TypeError$7 = TypeError;
|
|
1193
1195
|
|
|
1194
|
-
var anInstance$
|
|
1196
|
+
var anInstance$2 = function (it, Prototype) {
|
|
1195
1197
|
if (isPrototypeOf$2(Prototype, it)) return it;
|
|
1196
|
-
throw new $TypeError$
|
|
1198
|
+
throw new $TypeError$7('Incorrect invocation');
|
|
1197
1199
|
};
|
|
1198
1200
|
|
|
1199
|
-
var wellKnownSymbol$
|
|
1201
|
+
var wellKnownSymbol$e = wellKnownSymbol$i;
|
|
1200
1202
|
|
|
1201
|
-
var TO_STRING_TAG$
|
|
1203
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$e('toStringTag');
|
|
1202
1204
|
var test = {};
|
|
1203
1205
|
|
|
1204
|
-
test[TO_STRING_TAG$
|
|
1206
|
+
test[TO_STRING_TAG$3] = 'z';
|
|
1205
1207
|
|
|
1206
1208
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1207
1209
|
|
|
1208
1210
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1209
|
-
var isCallable$
|
|
1211
|
+
var isCallable$b = isCallable$m;
|
|
1210
1212
|
var classofRaw$1 = classofRaw$2;
|
|
1211
|
-
var wellKnownSymbol$
|
|
1213
|
+
var wellKnownSymbol$d = wellKnownSymbol$i;
|
|
1212
1214
|
|
|
1213
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
1215
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$d('toStringTag');
|
|
1214
1216
|
var $Object$1 = Object;
|
|
1215
1217
|
|
|
1216
1218
|
// ES3 wrong here
|
|
@@ -1228,16 +1230,16 @@ var classof$4 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
1228
1230
|
var O, tag, result;
|
|
1229
1231
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1230
1232
|
// @@toStringTag case
|
|
1231
|
-
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1233
|
+
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$2)) == 'string' ? tag
|
|
1232
1234
|
// builtinTag case
|
|
1233
1235
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1234
1236
|
// ES3 arguments fallback
|
|
1235
|
-
: (result = classofRaw$1(O)) === 'Object' && isCallable$
|
|
1237
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$b(O.callee) ? 'Arguments' : result;
|
|
1236
1238
|
};
|
|
1237
1239
|
|
|
1238
1240
|
var uncurryThis$7 = functionUncurryThis;
|
|
1239
|
-
var fails$
|
|
1240
|
-
var isCallable$
|
|
1241
|
+
var fails$a = fails$k;
|
|
1242
|
+
var isCallable$a = isCallable$m;
|
|
1241
1243
|
var classof$3 = classof$4;
|
|
1242
1244
|
var getBuiltIn$3 = getBuiltIn$7;
|
|
1243
1245
|
var inspectSource$1 = inspectSource$3;
|
|
@@ -1249,7 +1251,7 @@ var exec$1 = uncurryThis$7(constructorRegExp.exec);
|
|
|
1249
1251
|
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
1250
1252
|
|
|
1251
1253
|
var isConstructorModern = function isConstructor(argument) {
|
|
1252
|
-
if (!isCallable$
|
|
1254
|
+
if (!isCallable$a(argument)) return false;
|
|
1253
1255
|
try {
|
|
1254
1256
|
construct(noop, [], argument);
|
|
1255
1257
|
return true;
|
|
@@ -1259,7 +1261,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
1259
1261
|
};
|
|
1260
1262
|
|
|
1261
1263
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
1262
|
-
if (!isCallable$
|
|
1264
|
+
if (!isCallable$a(argument)) return false;
|
|
1263
1265
|
switch (classof$3(argument)) {
|
|
1264
1266
|
case 'AsyncFunction':
|
|
1265
1267
|
case 'GeneratorFunction':
|
|
@@ -1279,7 +1281,7 @@ isConstructorLegacy.sham = true;
|
|
|
1279
1281
|
|
|
1280
1282
|
// `IsConstructor` abstract operation
|
|
1281
1283
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
1282
|
-
var isConstructor$1 = !construct || fails$
|
|
1284
|
+
var isConstructor$1 = !construct || fails$a(function () {
|
|
1283
1285
|
var called;
|
|
1284
1286
|
return isConstructorModern(isConstructorModern.call)
|
|
1285
1287
|
|| !isConstructorModern(Object)
|
|
@@ -1290,38 +1292,38 @@ var isConstructor$1 = !construct || fails$9(function () {
|
|
|
1290
1292
|
var isConstructor = isConstructor$1;
|
|
1291
1293
|
var tryToString$2 = tryToString$4;
|
|
1292
1294
|
|
|
1293
|
-
var $TypeError$
|
|
1295
|
+
var $TypeError$6 = TypeError;
|
|
1294
1296
|
|
|
1295
1297
|
// `Assert: IsConstructor(argument) is true`
|
|
1296
1298
|
var aConstructor$1 = function (argument) {
|
|
1297
1299
|
if (isConstructor(argument)) return argument;
|
|
1298
|
-
throw new $TypeError$
|
|
1300
|
+
throw new $TypeError$6(tryToString$2(argument) + ' is not a constructor');
|
|
1299
1301
|
};
|
|
1300
1302
|
|
|
1301
|
-
var anObject$
|
|
1303
|
+
var anObject$f = anObject$i;
|
|
1302
1304
|
var aConstructor = aConstructor$1;
|
|
1303
1305
|
var isNullOrUndefined$2 = isNullOrUndefined$5;
|
|
1304
|
-
var wellKnownSymbol$
|
|
1306
|
+
var wellKnownSymbol$c = wellKnownSymbol$i;
|
|
1305
1307
|
|
|
1306
|
-
var SPECIES$2 = wellKnownSymbol$
|
|
1308
|
+
var SPECIES$2 = wellKnownSymbol$c('species');
|
|
1307
1309
|
|
|
1308
1310
|
// `SpeciesConstructor` abstract operation
|
|
1309
1311
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
1310
1312
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
1311
|
-
var C = anObject$
|
|
1313
|
+
var C = anObject$f(O).constructor;
|
|
1312
1314
|
var S;
|
|
1313
|
-
return C === undefined || isNullOrUndefined$2(S = anObject$
|
|
1315
|
+
return C === undefined || isNullOrUndefined$2(S = anObject$f(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
|
|
1314
1316
|
};
|
|
1315
1317
|
|
|
1316
1318
|
var NATIVE_BIND$1 = functionBindNative;
|
|
1317
1319
|
|
|
1318
1320
|
var FunctionPrototype = Function.prototype;
|
|
1319
1321
|
var apply$2 = FunctionPrototype.apply;
|
|
1320
|
-
var call$
|
|
1322
|
+
var call$e = FunctionPrototype.call;
|
|
1321
1323
|
|
|
1322
1324
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
1323
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$
|
|
1324
|
-
return call$
|
|
1325
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$e.bind(apply$2) : function () {
|
|
1326
|
+
return call$e.apply(apply$2, arguments);
|
|
1325
1327
|
});
|
|
1326
1328
|
|
|
1327
1329
|
var classofRaw = classofRaw$2;
|
|
@@ -1335,14 +1337,14 @@ var functionUncurryThisClause = function (fn) {
|
|
|
1335
1337
|
};
|
|
1336
1338
|
|
|
1337
1339
|
var uncurryThis$5 = functionUncurryThisClause;
|
|
1338
|
-
var aCallable$
|
|
1340
|
+
var aCallable$8 = aCallable$b;
|
|
1339
1341
|
var NATIVE_BIND = functionBindNative;
|
|
1340
1342
|
|
|
1341
1343
|
var bind$4 = uncurryThis$5(uncurryThis$5.bind);
|
|
1342
1344
|
|
|
1343
1345
|
// optional / simple context binding
|
|
1344
1346
|
var functionBindContext = function (fn, that) {
|
|
1345
|
-
aCallable$
|
|
1347
|
+
aCallable$8(fn);
|
|
1346
1348
|
return that === undefined ? fn : NATIVE_BIND ? bind$4(fn, that) : function (/* ...args */) {
|
|
1347
1349
|
return fn.apply(that, arguments);
|
|
1348
1350
|
};
|
|
@@ -1356,10 +1358,10 @@ var uncurryThis$4 = functionUncurryThis;
|
|
|
1356
1358
|
|
|
1357
1359
|
var arraySlice$1 = uncurryThis$4([].slice);
|
|
1358
1360
|
|
|
1359
|
-
var $TypeError$
|
|
1361
|
+
var $TypeError$5 = TypeError;
|
|
1360
1362
|
|
|
1361
1363
|
var validateArgumentsLength$1 = function (passed, required) {
|
|
1362
|
-
if (passed < required) throw new $TypeError$
|
|
1364
|
+
if (passed < required) throw new $TypeError$5('Not enough arguments');
|
|
1363
1365
|
return passed;
|
|
1364
1366
|
};
|
|
1365
1367
|
|
|
@@ -1368,12 +1370,12 @@ var userAgent$2 = engineUserAgent;
|
|
|
1368
1370
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
1369
1371
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
1370
1372
|
|
|
1371
|
-
var global$
|
|
1373
|
+
var global$b = global$m;
|
|
1372
1374
|
var apply$1 = functionApply;
|
|
1373
1375
|
var bind$3 = functionBindContext;
|
|
1374
|
-
var isCallable$
|
|
1375
|
-
var hasOwn$
|
|
1376
|
-
var fails$
|
|
1376
|
+
var isCallable$9 = isCallable$m;
|
|
1377
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1378
|
+
var fails$9 = fails$k;
|
|
1377
1379
|
var html$1 = html$2;
|
|
1378
1380
|
var arraySlice = arraySlice$1;
|
|
1379
1381
|
var createElement = documentCreateElement$2;
|
|
@@ -1381,25 +1383,25 @@ var validateArgumentsLength = validateArgumentsLength$1;
|
|
|
1381
1383
|
var IS_IOS$1 = engineIsIos;
|
|
1382
1384
|
var IS_NODE$3 = engineIsNode;
|
|
1383
1385
|
|
|
1384
|
-
var set = global$
|
|
1385
|
-
var clear = global$
|
|
1386
|
-
var process$3 = global$
|
|
1387
|
-
var Dispatch = global$
|
|
1388
|
-
var Function$1 = global$
|
|
1389
|
-
var MessageChannel = global$
|
|
1390
|
-
var String$1 = global$
|
|
1386
|
+
var set = global$b.setImmediate;
|
|
1387
|
+
var clear = global$b.clearImmediate;
|
|
1388
|
+
var process$3 = global$b.process;
|
|
1389
|
+
var Dispatch = global$b.Dispatch;
|
|
1390
|
+
var Function$1 = global$b.Function;
|
|
1391
|
+
var MessageChannel = global$b.MessageChannel;
|
|
1392
|
+
var String$1 = global$b.String;
|
|
1391
1393
|
var counter = 0;
|
|
1392
1394
|
var queue$2 = {};
|
|
1393
1395
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
1394
1396
|
var $location, defer, channel, port;
|
|
1395
1397
|
|
|
1396
|
-
fails$
|
|
1398
|
+
fails$9(function () {
|
|
1397
1399
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
1398
|
-
$location = global$
|
|
1400
|
+
$location = global$b.location;
|
|
1399
1401
|
});
|
|
1400
1402
|
|
|
1401
1403
|
var run = function (id) {
|
|
1402
|
-
if (hasOwn$
|
|
1404
|
+
if (hasOwn$3(queue$2, id)) {
|
|
1403
1405
|
var fn = queue$2[id];
|
|
1404
1406
|
delete queue$2[id];
|
|
1405
1407
|
fn();
|
|
@@ -1418,14 +1420,14 @@ var eventListener = function (event) {
|
|
|
1418
1420
|
|
|
1419
1421
|
var globalPostMessageDefer = function (id) {
|
|
1420
1422
|
// old engines have not location.origin
|
|
1421
|
-
global$
|
|
1423
|
+
global$b.postMessage(String$1(id), $location.protocol + '//' + $location.host);
|
|
1422
1424
|
};
|
|
1423
1425
|
|
|
1424
1426
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
1425
1427
|
if (!set || !clear) {
|
|
1426
1428
|
set = function setImmediate(handler) {
|
|
1427
1429
|
validateArgumentsLength(arguments.length, 1);
|
|
1428
|
-
var fn = isCallable$
|
|
1430
|
+
var fn = isCallable$9(handler) ? handler : Function$1(handler);
|
|
1429
1431
|
var args = arraySlice(arguments, 1);
|
|
1430
1432
|
queue$2[++counter] = function () {
|
|
1431
1433
|
apply$1(fn, undefined, args);
|
|
@@ -1456,14 +1458,14 @@ if (!set || !clear) {
|
|
|
1456
1458
|
// Browsers with postMessage, skip WebWorkers
|
|
1457
1459
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
1458
1460
|
} else if (
|
|
1459
|
-
global$
|
|
1460
|
-
isCallable$
|
|
1461
|
-
!global$
|
|
1461
|
+
global$b.addEventListener &&
|
|
1462
|
+
isCallable$9(global$b.postMessage) &&
|
|
1463
|
+
!global$b.importScripts &&
|
|
1462
1464
|
$location && $location.protocol !== 'file:' &&
|
|
1463
|
-
!fails$
|
|
1465
|
+
!fails$9(globalPostMessageDefer)
|
|
1464
1466
|
) {
|
|
1465
1467
|
defer = globalPostMessageDefer;
|
|
1466
|
-
global$
|
|
1468
|
+
global$b.addEventListener('message', eventListener, false);
|
|
1467
1469
|
// IE8-
|
|
1468
1470
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
1469
1471
|
defer = function (id) {
|
|
@@ -1485,16 +1487,16 @@ var task$1 = {
|
|
|
1485
1487
|
clear: clear
|
|
1486
1488
|
};
|
|
1487
1489
|
|
|
1488
|
-
var global$
|
|
1489
|
-
var DESCRIPTORS$
|
|
1490
|
+
var global$a = global$m;
|
|
1491
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1490
1492
|
|
|
1491
1493
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1492
1494
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
1493
1495
|
|
|
1494
1496
|
// Avoid NodeJS experimental warning
|
|
1495
1497
|
var safeGetBuiltIn$1 = function (name) {
|
|
1496
|
-
if (!DESCRIPTORS$
|
|
1497
|
-
var descriptor = getOwnPropertyDescriptor(global$
|
|
1498
|
+
if (!DESCRIPTORS$4) return global$a[name];
|
|
1499
|
+
var descriptor = getOwnPropertyDescriptor(global$a, name);
|
|
1498
1500
|
return descriptor && descriptor.value;
|
|
1499
1501
|
};
|
|
1500
1502
|
|
|
@@ -1531,7 +1533,7 @@ var userAgent = engineUserAgent;
|
|
|
1531
1533
|
|
|
1532
1534
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
1533
1535
|
|
|
1534
|
-
var global$
|
|
1536
|
+
var global$9 = global$m;
|
|
1535
1537
|
var safeGetBuiltIn = safeGetBuiltIn$1;
|
|
1536
1538
|
var bind$2 = functionBindContext;
|
|
1537
1539
|
var macrotask = task$1.set;
|
|
@@ -1541,10 +1543,10 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
|
1541
1543
|
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
1542
1544
|
var IS_NODE$2 = engineIsNode;
|
|
1543
1545
|
|
|
1544
|
-
var MutationObserver = global$
|
|
1545
|
-
var document$2 = global$
|
|
1546
|
-
var process$2 = global$
|
|
1547
|
-
var Promise$1 = global$
|
|
1546
|
+
var MutationObserver = global$9.MutationObserver || global$9.WebKitMutationObserver;
|
|
1547
|
+
var document$2 = global$9.document;
|
|
1548
|
+
var process$2 = global$9.process;
|
|
1549
|
+
var Promise$1 = global$9.Promise;
|
|
1548
1550
|
var microtask$1 = safeGetBuiltIn('queueMicrotask');
|
|
1549
1551
|
var notify$1, toggle, node, promise, then;
|
|
1550
1552
|
|
|
@@ -1596,7 +1598,7 @@ if (!microtask$1) {
|
|
|
1596
1598
|
// - setTimeout
|
|
1597
1599
|
} else {
|
|
1598
1600
|
// `webpack` dev server bug on IE global methods - use bind(fn, global)
|
|
1599
|
-
macrotask = bind$2(macrotask, global$
|
|
1601
|
+
macrotask = bind$2(macrotask, global$9);
|
|
1600
1602
|
notify$1 = function () {
|
|
1601
1603
|
macrotask(flush);
|
|
1602
1604
|
};
|
|
@@ -1625,9 +1627,9 @@ var perform$3 = function (exec) {
|
|
|
1625
1627
|
}
|
|
1626
1628
|
};
|
|
1627
1629
|
|
|
1628
|
-
var global$
|
|
1630
|
+
var global$8 = global$m;
|
|
1629
1631
|
|
|
1630
|
-
var promiseNativeConstructor = global$
|
|
1632
|
+
var promiseNativeConstructor = global$8.Promise;
|
|
1631
1633
|
|
|
1632
1634
|
/* global Deno -- Deno case */
|
|
1633
1635
|
var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
|
|
@@ -1639,20 +1641,20 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
|
1639
1641
|
&& typeof window == 'object'
|
|
1640
1642
|
&& typeof document == 'object';
|
|
1641
1643
|
|
|
1642
|
-
var global$
|
|
1644
|
+
var global$7 = global$m;
|
|
1643
1645
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
1644
|
-
var isCallable$
|
|
1646
|
+
var isCallable$8 = isCallable$m;
|
|
1645
1647
|
var isForced = isForced_1;
|
|
1646
1648
|
var inspectSource = inspectSource$3;
|
|
1647
|
-
var wellKnownSymbol$
|
|
1649
|
+
var wellKnownSymbol$b = wellKnownSymbol$i;
|
|
1648
1650
|
var IS_BROWSER = engineIsBrowser;
|
|
1649
1651
|
var IS_DENO = engineIsDeno;
|
|
1650
1652
|
var V8_VERSION = engineV8Version;
|
|
1651
1653
|
|
|
1652
1654
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
1653
|
-
var SPECIES$1 = wellKnownSymbol$
|
|
1655
|
+
var SPECIES$1 = wellKnownSymbol$b('species');
|
|
1654
1656
|
var SUBCLASSING = false;
|
|
1655
|
-
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$
|
|
1657
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$8(global$7.PromiseRejectionEvent);
|
|
1656
1658
|
|
|
1657
1659
|
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
1658
1660
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
@@ -1686,19 +1688,19 @@ var promiseConstructorDetection = {
|
|
|
1686
1688
|
|
|
1687
1689
|
var newPromiseCapability$2 = {};
|
|
1688
1690
|
|
|
1689
|
-
var aCallable$
|
|
1691
|
+
var aCallable$7 = aCallable$b;
|
|
1690
1692
|
|
|
1691
|
-
var $TypeError$
|
|
1693
|
+
var $TypeError$4 = TypeError;
|
|
1692
1694
|
|
|
1693
1695
|
var PromiseCapability = function (C) {
|
|
1694
1696
|
var resolve, reject;
|
|
1695
1697
|
this.promise = new C(function ($$resolve, $$reject) {
|
|
1696
|
-
if (resolve !== undefined || reject !== undefined) throw new $TypeError$
|
|
1698
|
+
if (resolve !== undefined || reject !== undefined) throw new $TypeError$4('Bad Promise constructor');
|
|
1697
1699
|
resolve = $$resolve;
|
|
1698
1700
|
reject = $$reject;
|
|
1699
1701
|
});
|
|
1700
|
-
this.resolve = aCallable$
|
|
1701
|
-
this.reject = aCallable$
|
|
1702
|
+
this.resolve = aCallable$7(resolve);
|
|
1703
|
+
this.reject = aCallable$7(reject);
|
|
1702
1704
|
};
|
|
1703
1705
|
|
|
1704
1706
|
// `NewPromiseCapability` abstract operation
|
|
@@ -1707,25 +1709,25 @@ newPromiseCapability$2.f = function (C) {
|
|
|
1707
1709
|
return new PromiseCapability(C);
|
|
1708
1710
|
};
|
|
1709
1711
|
|
|
1710
|
-
var $$
|
|
1712
|
+
var $$b = _export;
|
|
1711
1713
|
var IS_NODE = engineIsNode;
|
|
1712
|
-
var global$
|
|
1713
|
-
var call$
|
|
1714
|
-
var defineBuiltIn$
|
|
1714
|
+
var global$6 = global$m;
|
|
1715
|
+
var call$d = functionCall;
|
|
1716
|
+
var defineBuiltIn$6 = defineBuiltIn$8;
|
|
1715
1717
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
1716
1718
|
var setToStringTag$3 = setToStringTag$4;
|
|
1717
1719
|
var setSpecies = setSpecies$1;
|
|
1718
|
-
var aCallable$
|
|
1719
|
-
var isCallable$
|
|
1720
|
+
var aCallable$6 = aCallable$b;
|
|
1721
|
+
var isCallable$7 = isCallable$m;
|
|
1720
1722
|
var isObject$2 = isObject$a;
|
|
1721
|
-
var anInstance = anInstance$
|
|
1723
|
+
var anInstance$1 = anInstance$2;
|
|
1722
1724
|
var speciesConstructor = speciesConstructor$1;
|
|
1723
1725
|
var task = task$1.set;
|
|
1724
1726
|
var microtask = microtask_1;
|
|
1725
1727
|
var hostReportErrors = hostReportErrors$1;
|
|
1726
1728
|
var perform$2 = perform$3;
|
|
1727
1729
|
var Queue = queue$1;
|
|
1728
|
-
var InternalStateModule$
|
|
1730
|
+
var InternalStateModule$2 = internalState;
|
|
1729
1731
|
var NativePromiseConstructor$2 = promiseNativeConstructor;
|
|
1730
1732
|
var PromiseConstructorDetection = promiseConstructorDetection;
|
|
1731
1733
|
var newPromiseCapabilityModule$3 = newPromiseCapability$2;
|
|
@@ -1734,18 +1736,18 @@ var PROMISE = 'Promise';
|
|
|
1734
1736
|
var FORCED_PROMISE_CONSTRUCTOR$4 = PromiseConstructorDetection.CONSTRUCTOR;
|
|
1735
1737
|
var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
|
|
1736
1738
|
var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
|
|
1737
|
-
var getInternalPromiseState = InternalStateModule$
|
|
1738
|
-
var setInternalState$
|
|
1739
|
+
var getInternalPromiseState = InternalStateModule$2.getterFor(PROMISE);
|
|
1740
|
+
var setInternalState$2 = InternalStateModule$2.set;
|
|
1739
1741
|
var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
|
|
1740
1742
|
var PromiseConstructor = NativePromiseConstructor$2;
|
|
1741
1743
|
var PromisePrototype = NativePromisePrototype$1;
|
|
1742
|
-
var TypeError$1 = global$
|
|
1743
|
-
var document$1 = global$
|
|
1744
|
-
var process$1 = global$
|
|
1744
|
+
var TypeError$1 = global$6.TypeError;
|
|
1745
|
+
var document$1 = global$6.document;
|
|
1746
|
+
var process$1 = global$6.process;
|
|
1745
1747
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
1746
1748
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
1747
1749
|
|
|
1748
|
-
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$
|
|
1750
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$6.dispatchEvent);
|
|
1749
1751
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
1750
1752
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
1751
1753
|
var PENDING = 0;
|
|
@@ -1759,7 +1761,7 @@ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
|
1759
1761
|
// helpers
|
|
1760
1762
|
var isThenable = function (it) {
|
|
1761
1763
|
var then;
|
|
1762
|
-
return isObject$2(it) && isCallable$
|
|
1764
|
+
return isObject$2(it) && isCallable$7(then = it.then) ? then : false;
|
|
1763
1765
|
};
|
|
1764
1766
|
|
|
1765
1767
|
var callReaction = function (reaction, state) {
|
|
@@ -1788,7 +1790,7 @@ var callReaction = function (reaction, state) {
|
|
|
1788
1790
|
if (result === reaction.promise) {
|
|
1789
1791
|
reject(new TypeError$1('Promise-chain cycle'));
|
|
1790
1792
|
} else if (then = isThenable(result)) {
|
|
1791
|
-
call$
|
|
1793
|
+
call$d(then, result, resolve, reject);
|
|
1792
1794
|
} else resolve(result);
|
|
1793
1795
|
} else reject(value);
|
|
1794
1796
|
} catch (error) {
|
|
@@ -1818,14 +1820,14 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
1818
1820
|
event.promise = promise;
|
|
1819
1821
|
event.reason = reason;
|
|
1820
1822
|
event.initEvent(name, false, true);
|
|
1821
|
-
global$
|
|
1823
|
+
global$6.dispatchEvent(event);
|
|
1822
1824
|
} else event = { promise: promise, reason: reason };
|
|
1823
|
-
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$
|
|
1825
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$6['on' + name])) handler(event);
|
|
1824
1826
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
1825
1827
|
};
|
|
1826
1828
|
|
|
1827
1829
|
var onUnhandled = function (state) {
|
|
1828
|
-
call$
|
|
1830
|
+
call$d(task, global$6, function () {
|
|
1829
1831
|
var promise = state.facade;
|
|
1830
1832
|
var value = state.value;
|
|
1831
1833
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -1848,7 +1850,7 @@ var isUnhandled = function (state) {
|
|
|
1848
1850
|
};
|
|
1849
1851
|
|
|
1850
1852
|
var onHandleUnhandled = function (state) {
|
|
1851
|
-
call$
|
|
1853
|
+
call$d(task, global$6, function () {
|
|
1852
1854
|
var promise = state.facade;
|
|
1853
1855
|
if (IS_NODE) {
|
|
1854
1856
|
process$1.emit('rejectionHandled', promise);
|
|
@@ -1882,7 +1884,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
1882
1884
|
microtask(function () {
|
|
1883
1885
|
var wrapper = { done: false };
|
|
1884
1886
|
try {
|
|
1885
|
-
call$
|
|
1887
|
+
call$d(then, value,
|
|
1886
1888
|
bind$1(internalResolve, wrapper, state),
|
|
1887
1889
|
bind$1(internalReject, wrapper, state)
|
|
1888
1890
|
);
|
|
@@ -1904,9 +1906,9 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
1904
1906
|
if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
1905
1907
|
// 25.4.3.1 Promise(executor)
|
|
1906
1908
|
PromiseConstructor = function Promise(executor) {
|
|
1907
|
-
anInstance(this, PromisePrototype);
|
|
1908
|
-
aCallable$
|
|
1909
|
-
call$
|
|
1909
|
+
anInstance$1(this, PromisePrototype);
|
|
1910
|
+
aCallable$6(executor);
|
|
1911
|
+
call$d(Internal, this);
|
|
1910
1912
|
var state = getInternalPromiseState(this);
|
|
1911
1913
|
try {
|
|
1912
1914
|
executor(bind$1(internalResolve, state), bind$1(internalReject, state));
|
|
@@ -1919,7 +1921,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1919
1921
|
|
|
1920
1922
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
1921
1923
|
Internal = function Promise(executor) {
|
|
1922
|
-
setInternalState$
|
|
1924
|
+
setInternalState$2(this, {
|
|
1923
1925
|
type: PROMISE,
|
|
1924
1926
|
done: false,
|
|
1925
1927
|
notified: false,
|
|
@@ -1933,12 +1935,12 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1933
1935
|
|
|
1934
1936
|
// `Promise.prototype.then` method
|
|
1935
1937
|
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
1936
|
-
Internal.prototype = defineBuiltIn$
|
|
1938
|
+
Internal.prototype = defineBuiltIn$6(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
1937
1939
|
var state = getInternalPromiseState(this);
|
|
1938
1940
|
var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
|
|
1939
1941
|
state.parent = true;
|
|
1940
|
-
reaction.ok = isCallable$
|
|
1941
|
-
reaction.fail = isCallable$
|
|
1942
|
+
reaction.ok = isCallable$7(onFulfilled) ? onFulfilled : true;
|
|
1943
|
+
reaction.fail = isCallable$7(onRejected) && onRejected;
|
|
1942
1944
|
reaction.domain = IS_NODE ? process$1.domain : undefined;
|
|
1943
1945
|
if (state.state === PENDING) state.reactions.add(reaction);
|
|
1944
1946
|
else microtask(function () {
|
|
@@ -1961,15 +1963,15 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1961
1963
|
: newGenericPromiseCapability(C);
|
|
1962
1964
|
};
|
|
1963
1965
|
|
|
1964
|
-
if (isCallable$
|
|
1966
|
+
if (isCallable$7(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
|
|
1965
1967
|
nativeThen = NativePromisePrototype$1.then;
|
|
1966
1968
|
|
|
1967
1969
|
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
1968
1970
|
// make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
|
|
1969
|
-
defineBuiltIn$
|
|
1971
|
+
defineBuiltIn$6(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
1970
1972
|
var that = this;
|
|
1971
1973
|
return new PromiseConstructor(function (resolve, reject) {
|
|
1972
|
-
call$
|
|
1974
|
+
call$d(nativeThen, that, resolve, reject);
|
|
1973
1975
|
}).then(onFulfilled, onRejected);
|
|
1974
1976
|
// https://github.com/zloirock/core-js/issues/640
|
|
1975
1977
|
}, { unsafe: true });
|
|
@@ -1987,7 +1989,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1987
1989
|
}
|
|
1988
1990
|
}
|
|
1989
1991
|
|
|
1990
|
-
$$
|
|
1992
|
+
$$b({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
1991
1993
|
Promise: PromiseConstructor
|
|
1992
1994
|
});
|
|
1993
1995
|
|
|
@@ -1996,81 +1998,81 @@ setSpecies(PROMISE);
|
|
|
1996
1998
|
|
|
1997
1999
|
var iterators = {};
|
|
1998
2000
|
|
|
1999
|
-
var wellKnownSymbol$
|
|
2001
|
+
var wellKnownSymbol$a = wellKnownSymbol$i;
|
|
2000
2002
|
var Iterators$4 = iterators;
|
|
2001
2003
|
|
|
2002
|
-
var ITERATOR$
|
|
2004
|
+
var ITERATOR$6 = wellKnownSymbol$a('iterator');
|
|
2003
2005
|
var ArrayPrototype$1 = Array.prototype;
|
|
2004
2006
|
|
|
2005
2007
|
// check on default Array iterator
|
|
2006
2008
|
var isArrayIteratorMethod$1 = function (it) {
|
|
2007
|
-
return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$
|
|
2009
|
+
return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$6] === it);
|
|
2008
2010
|
};
|
|
2009
2011
|
|
|
2010
2012
|
var classof$2 = classof$4;
|
|
2011
|
-
var getMethod$
|
|
2013
|
+
var getMethod$3 = getMethod$5;
|
|
2012
2014
|
var isNullOrUndefined$1 = isNullOrUndefined$5;
|
|
2013
2015
|
var Iterators$3 = iterators;
|
|
2014
|
-
var wellKnownSymbol$
|
|
2016
|
+
var wellKnownSymbol$9 = wellKnownSymbol$i;
|
|
2015
2017
|
|
|
2016
|
-
var ITERATOR$
|
|
2018
|
+
var ITERATOR$5 = wellKnownSymbol$9('iterator');
|
|
2017
2019
|
|
|
2018
2020
|
var getIteratorMethod$2 = function (it) {
|
|
2019
|
-
if (!isNullOrUndefined$1(it)) return getMethod$
|
|
2020
|
-
|| getMethod$
|
|
2021
|
+
if (!isNullOrUndefined$1(it)) return getMethod$3(it, ITERATOR$5)
|
|
2022
|
+
|| getMethod$3(it, '@@iterator')
|
|
2021
2023
|
|| Iterators$3[classof$2(it)];
|
|
2022
2024
|
};
|
|
2023
2025
|
|
|
2024
|
-
var call$
|
|
2025
|
-
var aCallable$
|
|
2026
|
-
var anObject$
|
|
2026
|
+
var call$c = functionCall;
|
|
2027
|
+
var aCallable$5 = aCallable$b;
|
|
2028
|
+
var anObject$e = anObject$i;
|
|
2027
2029
|
var tryToString$1 = tryToString$4;
|
|
2028
2030
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
2029
2031
|
|
|
2030
|
-
var $TypeError$
|
|
2032
|
+
var $TypeError$3 = TypeError;
|
|
2031
2033
|
|
|
2032
2034
|
var getIterator$1 = function (argument, usingIterator) {
|
|
2033
2035
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
2034
|
-
if (aCallable$
|
|
2035
|
-
throw new $TypeError$
|
|
2036
|
+
if (aCallable$5(iteratorMethod)) return anObject$e(call$c(iteratorMethod, argument));
|
|
2037
|
+
throw new $TypeError$3(tryToString$1(argument) + ' is not iterable');
|
|
2036
2038
|
};
|
|
2037
2039
|
|
|
2038
|
-
var call$
|
|
2039
|
-
var anObject$
|
|
2040
|
-
var getMethod$
|
|
2040
|
+
var call$b = functionCall;
|
|
2041
|
+
var anObject$d = anObject$i;
|
|
2042
|
+
var getMethod$2 = getMethod$5;
|
|
2041
2043
|
|
|
2042
|
-
var iteratorClose$
|
|
2044
|
+
var iteratorClose$3 = function (iterator, kind, value) {
|
|
2043
2045
|
var innerResult, innerError;
|
|
2044
|
-
anObject$
|
|
2046
|
+
anObject$d(iterator);
|
|
2045
2047
|
try {
|
|
2046
|
-
innerResult = getMethod$
|
|
2048
|
+
innerResult = getMethod$2(iterator, 'return');
|
|
2047
2049
|
if (!innerResult) {
|
|
2048
2050
|
if (kind === 'throw') throw value;
|
|
2049
2051
|
return value;
|
|
2050
2052
|
}
|
|
2051
|
-
innerResult = call$
|
|
2053
|
+
innerResult = call$b(innerResult, iterator);
|
|
2052
2054
|
} catch (error) {
|
|
2053
2055
|
innerError = true;
|
|
2054
2056
|
innerResult = error;
|
|
2055
2057
|
}
|
|
2056
2058
|
if (kind === 'throw') throw value;
|
|
2057
2059
|
if (innerError) throw innerResult;
|
|
2058
|
-
anObject$
|
|
2060
|
+
anObject$d(innerResult);
|
|
2059
2061
|
return value;
|
|
2060
2062
|
};
|
|
2061
2063
|
|
|
2062
2064
|
var bind = functionBindContext;
|
|
2063
|
-
var call$
|
|
2064
|
-
var anObject$
|
|
2065
|
+
var call$a = functionCall;
|
|
2066
|
+
var anObject$c = anObject$i;
|
|
2065
2067
|
var tryToString = tryToString$4;
|
|
2066
2068
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
2067
2069
|
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
2068
2070
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
2069
2071
|
var getIterator = getIterator$1;
|
|
2070
2072
|
var getIteratorMethod = getIteratorMethod$2;
|
|
2071
|
-
var iteratorClose = iteratorClose$
|
|
2073
|
+
var iteratorClose$2 = iteratorClose$3;
|
|
2072
2074
|
|
|
2073
|
-
var $TypeError$
|
|
2075
|
+
var $TypeError$2 = TypeError;
|
|
2074
2076
|
|
|
2075
2077
|
var Result = function (stopped, result) {
|
|
2076
2078
|
this.stopped = stopped;
|
|
@@ -2079,7 +2081,7 @@ var Result = function (stopped, result) {
|
|
|
2079
2081
|
|
|
2080
2082
|
var ResultPrototype = Result.prototype;
|
|
2081
2083
|
|
|
2082
|
-
var iterate$
|
|
2084
|
+
var iterate$4 = function (iterable, unboundFunction, options) {
|
|
2083
2085
|
var that = options && options.that;
|
|
2084
2086
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
2085
2087
|
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
@@ -2089,13 +2091,13 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2089
2091
|
var iterator, iterFn, index, length, result, next, step;
|
|
2090
2092
|
|
|
2091
2093
|
var stop = function (condition) {
|
|
2092
|
-
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
2094
|
+
if (iterator) iteratorClose$2(iterator, 'normal', condition);
|
|
2093
2095
|
return new Result(true, condition);
|
|
2094
2096
|
};
|
|
2095
2097
|
|
|
2096
2098
|
var callFn = function (value) {
|
|
2097
2099
|
if (AS_ENTRIES) {
|
|
2098
|
-
anObject$
|
|
2100
|
+
anObject$c(value);
|
|
2099
2101
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
2100
2102
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
2101
2103
|
};
|
|
@@ -2106,7 +2108,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2106
2108
|
iterator = iterable;
|
|
2107
2109
|
} else {
|
|
2108
2110
|
iterFn = getIteratorMethod(iterable);
|
|
2109
|
-
if (!iterFn) throw new $TypeError$
|
|
2111
|
+
if (!iterFn) throw new $TypeError$2(tryToString(iterable) + ' is not iterable');
|
|
2110
2112
|
// optimisation for array iterators
|
|
2111
2113
|
if (isArrayIteratorMethod(iterFn)) {
|
|
2112
2114
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
@@ -2118,19 +2120,19 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2118
2120
|
}
|
|
2119
2121
|
|
|
2120
2122
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
2121
|
-
while (!(step = call$
|
|
2123
|
+
while (!(step = call$a(next, iterator)).done) {
|
|
2122
2124
|
try {
|
|
2123
2125
|
result = callFn(step.value);
|
|
2124
2126
|
} catch (error) {
|
|
2125
|
-
iteratorClose(iterator, 'throw', error);
|
|
2127
|
+
iteratorClose$2(iterator, 'throw', error);
|
|
2126
2128
|
}
|
|
2127
2129
|
if (typeof result == 'object' && result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
2128
2130
|
} return new Result(false);
|
|
2129
2131
|
};
|
|
2130
2132
|
|
|
2131
|
-
var wellKnownSymbol$
|
|
2133
|
+
var wellKnownSymbol$8 = wellKnownSymbol$i;
|
|
2132
2134
|
|
|
2133
|
-
var ITERATOR$
|
|
2135
|
+
var ITERATOR$4 = wellKnownSymbol$8('iterator');
|
|
2134
2136
|
var SAFE_CLOSING = false;
|
|
2135
2137
|
|
|
2136
2138
|
try {
|
|
@@ -2143,7 +2145,7 @@ try {
|
|
|
2143
2145
|
SAFE_CLOSING = true;
|
|
2144
2146
|
}
|
|
2145
2147
|
};
|
|
2146
|
-
iteratorWithReturn[ITERATOR$
|
|
2148
|
+
iteratorWithReturn[ITERATOR$4] = function () {
|
|
2147
2149
|
return this;
|
|
2148
2150
|
};
|
|
2149
2151
|
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
@@ -2157,7 +2159,7 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
|
|
2157
2159
|
var ITERATION_SUPPORT = false;
|
|
2158
2160
|
try {
|
|
2159
2161
|
var object = {};
|
|
2160
|
-
object[ITERATOR$
|
|
2162
|
+
object[ITERATOR$4] = function () {
|
|
2161
2163
|
return {
|
|
2162
2164
|
next: function () {
|
|
2163
2165
|
return { done: ITERATION_SUPPORT = true };
|
|
@@ -2177,32 +2179,32 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
2177
2179
|
NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
|
|
2178
2180
|
});
|
|
2179
2181
|
|
|
2180
|
-
var $$
|
|
2181
|
-
var call$
|
|
2182
|
-
var aCallable$
|
|
2182
|
+
var $$a = _export;
|
|
2183
|
+
var call$9 = functionCall;
|
|
2184
|
+
var aCallable$4 = aCallable$b;
|
|
2183
2185
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
2184
2186
|
var perform$1 = perform$3;
|
|
2185
|
-
var iterate$
|
|
2187
|
+
var iterate$3 = iterate$4;
|
|
2186
2188
|
var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
2187
2189
|
|
|
2188
2190
|
// `Promise.all` method
|
|
2189
2191
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
2190
|
-
$$
|
|
2192
|
+
$$a({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
|
|
2191
2193
|
all: function all(iterable) {
|
|
2192
2194
|
var C = this;
|
|
2193
2195
|
var capability = newPromiseCapabilityModule$2.f(C);
|
|
2194
2196
|
var resolve = capability.resolve;
|
|
2195
2197
|
var reject = capability.reject;
|
|
2196
2198
|
var result = perform$1(function () {
|
|
2197
|
-
var $promiseResolve = aCallable$
|
|
2199
|
+
var $promiseResolve = aCallable$4(C.resolve);
|
|
2198
2200
|
var values = [];
|
|
2199
2201
|
var counter = 0;
|
|
2200
2202
|
var remaining = 1;
|
|
2201
|
-
iterate$
|
|
2203
|
+
iterate$3(iterable, function (promise) {
|
|
2202
2204
|
var index = counter++;
|
|
2203
2205
|
var alreadyCalled = false;
|
|
2204
2206
|
remaining++;
|
|
2205
|
-
call$
|
|
2207
|
+
call$9($promiseResolve, C, promise).then(function (value) {
|
|
2206
2208
|
if (alreadyCalled) return;
|
|
2207
2209
|
alreadyCalled = true;
|
|
2208
2210
|
values[index] = value;
|
|
@@ -2216,50 +2218,50 @@ $$6({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2216
2218
|
}
|
|
2217
2219
|
});
|
|
2218
2220
|
|
|
2219
|
-
var $$
|
|
2221
|
+
var $$9 = _export;
|
|
2220
2222
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
2221
2223
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
2222
2224
|
var getBuiltIn$1 = getBuiltIn$7;
|
|
2223
|
-
var isCallable$
|
|
2224
|
-
var defineBuiltIn$
|
|
2225
|
+
var isCallable$6 = isCallable$m;
|
|
2226
|
+
var defineBuiltIn$5 = defineBuiltIn$8;
|
|
2225
2227
|
|
|
2226
2228
|
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
2227
2229
|
|
|
2228
2230
|
// `Promise.prototype.catch` method
|
|
2229
2231
|
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
2230
|
-
$$
|
|
2232
|
+
$$9({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
|
|
2231
2233
|
'catch': function (onRejected) {
|
|
2232
2234
|
return this.then(undefined, onRejected);
|
|
2233
2235
|
}
|
|
2234
2236
|
});
|
|
2235
2237
|
|
|
2236
2238
|
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
2237
|
-
if (isCallable$
|
|
2239
|
+
if (isCallable$6(NativePromiseConstructor)) {
|
|
2238
2240
|
var method = getBuiltIn$1('Promise').prototype['catch'];
|
|
2239
2241
|
if (NativePromisePrototype['catch'] !== method) {
|
|
2240
|
-
defineBuiltIn$
|
|
2242
|
+
defineBuiltIn$5(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
2241
2243
|
}
|
|
2242
2244
|
}
|
|
2243
2245
|
|
|
2244
|
-
var $$
|
|
2245
|
-
var call$
|
|
2246
|
-
var aCallable = aCallable$
|
|
2246
|
+
var $$8 = _export;
|
|
2247
|
+
var call$8 = functionCall;
|
|
2248
|
+
var aCallable$3 = aCallable$b;
|
|
2247
2249
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
2248
2250
|
var perform = perform$3;
|
|
2249
|
-
var iterate = iterate$
|
|
2251
|
+
var iterate$2 = iterate$4;
|
|
2250
2252
|
var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
2251
2253
|
|
|
2252
2254
|
// `Promise.race` method
|
|
2253
2255
|
// https://tc39.es/ecma262/#sec-promise.race
|
|
2254
|
-
$$
|
|
2256
|
+
$$8({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
2255
2257
|
race: function race(iterable) {
|
|
2256
2258
|
var C = this;
|
|
2257
2259
|
var capability = newPromiseCapabilityModule$1.f(C);
|
|
2258
2260
|
var reject = capability.reject;
|
|
2259
2261
|
var result = perform(function () {
|
|
2260
|
-
var $promiseResolve = aCallable(C.resolve);
|
|
2261
|
-
iterate(iterable, function (promise) {
|
|
2262
|
-
call$
|
|
2262
|
+
var $promiseResolve = aCallable$3(C.resolve);
|
|
2263
|
+
iterate$2(iterable, function (promise) {
|
|
2264
|
+
call$8($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
2263
2265
|
});
|
|
2264
2266
|
});
|
|
2265
2267
|
if (result.error) reject(result.value);
|
|
@@ -2267,13 +2269,13 @@ $$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2267
2269
|
}
|
|
2268
2270
|
});
|
|
2269
2271
|
|
|
2270
|
-
var $$
|
|
2272
|
+
var $$7 = _export;
|
|
2271
2273
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
2272
2274
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
2273
2275
|
|
|
2274
2276
|
// `Promise.reject` method
|
|
2275
2277
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
2276
|
-
$$
|
|
2278
|
+
$$7({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
2277
2279
|
reject: function reject(r) {
|
|
2278
2280
|
var capability = newPromiseCapabilityModule.f(this);
|
|
2279
2281
|
var capabilityReject = capability.reject;
|
|
@@ -2282,12 +2284,12 @@ $$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
2282
2284
|
}
|
|
2283
2285
|
});
|
|
2284
2286
|
|
|
2285
|
-
var anObject$
|
|
2287
|
+
var anObject$b = anObject$i;
|
|
2286
2288
|
var isObject$1 = isObject$a;
|
|
2287
2289
|
var newPromiseCapability = newPromiseCapability$2;
|
|
2288
2290
|
|
|
2289
2291
|
var promiseResolve$1 = function (C, x) {
|
|
2290
|
-
anObject$
|
|
2292
|
+
anObject$b(C);
|
|
2291
2293
|
if (isObject$1(x) && x.constructor === C) return x;
|
|
2292
2294
|
var promiseCapability = newPromiseCapability.f(C);
|
|
2293
2295
|
var resolve = promiseCapability.resolve;
|
|
@@ -2295,7 +2297,7 @@ var promiseResolve$1 = function (C, x) {
|
|
|
2295
2297
|
return promiseCapability.promise;
|
|
2296
2298
|
};
|
|
2297
2299
|
|
|
2298
|
-
var $$
|
|
2300
|
+
var $$6 = _export;
|
|
2299
2301
|
var getBuiltIn = getBuiltIn$7;
|
|
2300
2302
|
var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
|
|
2301
2303
|
var promiseResolve = promiseResolve$1;
|
|
@@ -2304,7 +2306,7 @@ getBuiltIn('Promise');
|
|
|
2304
2306
|
|
|
2305
2307
|
// `Promise.resolve` method
|
|
2306
2308
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
2307
|
-
$$
|
|
2309
|
+
$$6({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
2308
2310
|
resolve: function resolve(x) {
|
|
2309
2311
|
return promiseResolve(this, x);
|
|
2310
2312
|
}
|
|
@@ -2360,29 +2362,29 @@ reportsModule.attachNavigation(reportsNavigation);
|
|
|
2360
2362
|
|
|
2361
2363
|
var objectDefineProperties = {};
|
|
2362
2364
|
|
|
2363
|
-
var DESCRIPTORS$
|
|
2365
|
+
var DESCRIPTORS$3 = descriptors;
|
|
2364
2366
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
2365
|
-
var definePropertyModule = objectDefineProperty;
|
|
2366
|
-
var anObject$
|
|
2367
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
2368
|
+
var anObject$a = anObject$i;
|
|
2367
2369
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
2368
2370
|
var objectKeys = objectKeys$2;
|
|
2369
2371
|
|
|
2370
2372
|
// `Object.defineProperties` method
|
|
2371
2373
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
2372
2374
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
2373
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
2374
|
-
anObject$
|
|
2375
|
+
objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
2376
|
+
anObject$a(O);
|
|
2375
2377
|
var props = toIndexedObject$1(Properties);
|
|
2376
2378
|
var keys = objectKeys(Properties);
|
|
2377
2379
|
var length = keys.length;
|
|
2378
2380
|
var index = 0;
|
|
2379
2381
|
var key;
|
|
2380
|
-
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
2382
|
+
while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
|
|
2381
2383
|
return O;
|
|
2382
2384
|
};
|
|
2383
2385
|
|
|
2384
2386
|
/* global ActiveXObject -- old IE, WSH */
|
|
2385
|
-
var anObject$
|
|
2387
|
+
var anObject$9 = anObject$i;
|
|
2386
2388
|
var definePropertiesModule = objectDefineProperties;
|
|
2387
2389
|
var enumBugKeys = enumBugKeys$3;
|
|
2388
2390
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -2456,7 +2458,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
2456
2458
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
2457
2459
|
var result;
|
|
2458
2460
|
if (O !== null) {
|
|
2459
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
2461
|
+
EmptyConstructor[PROTOTYPE] = anObject$9(O);
|
|
2460
2462
|
result = new EmptyConstructor();
|
|
2461
2463
|
EmptyConstructor[PROTOTYPE] = null;
|
|
2462
2464
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -2465,11 +2467,11 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
2465
2467
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
2466
2468
|
};
|
|
2467
2469
|
|
|
2468
|
-
var wellKnownSymbol$
|
|
2469
|
-
var create$
|
|
2470
|
+
var wellKnownSymbol$7 = wellKnownSymbol$i;
|
|
2471
|
+
var create$3 = objectCreate;
|
|
2470
2472
|
var defineProperty$1 = objectDefineProperty.f;
|
|
2471
2473
|
|
|
2472
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
2474
|
+
var UNSCOPABLES = wellKnownSymbol$7('unscopables');
|
|
2473
2475
|
var ArrayPrototype = Array.prototype;
|
|
2474
2476
|
|
|
2475
2477
|
// Array.prototype[@@unscopables]
|
|
@@ -2477,7 +2479,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
2477
2479
|
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
2478
2480
|
defineProperty$1(ArrayPrototype, UNSCOPABLES, {
|
|
2479
2481
|
configurable: true,
|
|
2480
|
-
value: create$
|
|
2482
|
+
value: create$3(null)
|
|
2481
2483
|
});
|
|
2482
2484
|
}
|
|
2483
2485
|
|
|
@@ -2486,17 +2488,17 @@ var addToUnscopables$1 = function (key) {
|
|
|
2486
2488
|
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
2487
2489
|
};
|
|
2488
2490
|
|
|
2489
|
-
var fails$
|
|
2491
|
+
var fails$8 = fails$k;
|
|
2490
2492
|
|
|
2491
|
-
var correctPrototypeGetter = !fails$
|
|
2493
|
+
var correctPrototypeGetter = !fails$8(function () {
|
|
2492
2494
|
function F() { /* empty */ }
|
|
2493
2495
|
F.prototype.constructor = null;
|
|
2494
2496
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
2495
2497
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
2496
2498
|
});
|
|
2497
2499
|
|
|
2498
|
-
var hasOwn$
|
|
2499
|
-
var isCallable$
|
|
2500
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
2501
|
+
var isCallable$5 = isCallable$m;
|
|
2500
2502
|
var toObject$1 = toObject$4;
|
|
2501
2503
|
var sharedKey = sharedKey$3;
|
|
2502
2504
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -2510,26 +2512,26 @@ var ObjectPrototype = $Object.prototype;
|
|
|
2510
2512
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
2511
2513
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
2512
2514
|
var object = toObject$1(O);
|
|
2513
|
-
if (hasOwn$
|
|
2515
|
+
if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
|
|
2514
2516
|
var constructor = object.constructor;
|
|
2515
|
-
if (isCallable$
|
|
2517
|
+
if (isCallable$5(constructor) && object instanceof constructor) {
|
|
2516
2518
|
return constructor.prototype;
|
|
2517
2519
|
} return object instanceof $Object ? ObjectPrototype : null;
|
|
2518
2520
|
};
|
|
2519
2521
|
|
|
2520
|
-
var fails$
|
|
2521
|
-
var isCallable$
|
|
2522
|
+
var fails$7 = fails$k;
|
|
2523
|
+
var isCallable$4 = isCallable$m;
|
|
2522
2524
|
var isObject = isObject$a;
|
|
2523
|
-
var getPrototypeOf$
|
|
2524
|
-
var defineBuiltIn$
|
|
2525
|
-
var wellKnownSymbol$
|
|
2525
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
2526
|
+
var defineBuiltIn$4 = defineBuiltIn$8;
|
|
2527
|
+
var wellKnownSymbol$6 = wellKnownSymbol$i;
|
|
2526
2528
|
|
|
2527
|
-
var ITERATOR$
|
|
2529
|
+
var ITERATOR$3 = wellKnownSymbol$6('iterator');
|
|
2528
2530
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
2529
2531
|
|
|
2530
2532
|
// `%IteratorPrototype%` object
|
|
2531
2533
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
2532
|
-
var IteratorPrototype$
|
|
2534
|
+
var IteratorPrototype$4, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
2533
2535
|
|
|
2534
2536
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
2535
2537
|
if ([].keys) {
|
|
@@ -2537,35 +2539,35 @@ if ([].keys) {
|
|
|
2537
2539
|
// Safari 8 has buggy iterators w/o `next`
|
|
2538
2540
|
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
2539
2541
|
else {
|
|
2540
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
2541
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
2542
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
2543
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$4 = PrototypeOfArrayIteratorPrototype;
|
|
2542
2544
|
}
|
|
2543
2545
|
}
|
|
2544
2546
|
|
|
2545
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$
|
|
2547
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$4) || fails$7(function () {
|
|
2546
2548
|
var test = {};
|
|
2547
2549
|
// FF44- legacy iterators case
|
|
2548
|
-
return IteratorPrototype$
|
|
2550
|
+
return IteratorPrototype$4[ITERATOR$3].call(test) !== test;
|
|
2549
2551
|
});
|
|
2550
2552
|
|
|
2551
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
2553
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
|
|
2552
2554
|
|
|
2553
2555
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
2554
2556
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
2555
|
-
if (!isCallable$
|
|
2556
|
-
defineBuiltIn$
|
|
2557
|
+
if (!isCallable$4(IteratorPrototype$4[ITERATOR$3])) {
|
|
2558
|
+
defineBuiltIn$4(IteratorPrototype$4, ITERATOR$3, function () {
|
|
2557
2559
|
return this;
|
|
2558
2560
|
});
|
|
2559
2561
|
}
|
|
2560
2562
|
|
|
2561
2563
|
var iteratorsCore = {
|
|
2562
|
-
IteratorPrototype: IteratorPrototype$
|
|
2564
|
+
IteratorPrototype: IteratorPrototype$4,
|
|
2563
2565
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
2564
2566
|
};
|
|
2565
2567
|
|
|
2566
|
-
var IteratorPrototype$
|
|
2567
|
-
var create$
|
|
2568
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
2568
|
+
var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
|
|
2569
|
+
var create$2 = objectCreate;
|
|
2570
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$4;
|
|
2569
2571
|
var setToStringTag$2 = setToStringTag$4;
|
|
2570
2572
|
var Iterators$2 = iterators;
|
|
2571
2573
|
|
|
@@ -2573,31 +2575,31 @@ var returnThis$1 = function () { return this; };
|
|
|
2573
2575
|
|
|
2574
2576
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
2575
2577
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2576
|
-
IteratorConstructor.prototype = create$
|
|
2578
|
+
IteratorConstructor.prototype = create$2(IteratorPrototype$3, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
|
|
2577
2579
|
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
2578
2580
|
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
2579
2581
|
return IteratorConstructor;
|
|
2580
2582
|
};
|
|
2581
2583
|
|
|
2582
|
-
var $$
|
|
2583
|
-
var call$
|
|
2584
|
+
var $$5 = _export;
|
|
2585
|
+
var call$7 = functionCall;
|
|
2584
2586
|
var FunctionName = functionName;
|
|
2585
|
-
var isCallable$
|
|
2587
|
+
var isCallable$3 = isCallable$m;
|
|
2586
2588
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
2587
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
2589
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
2588
2590
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
2589
2591
|
var setToStringTag$1 = setToStringTag$4;
|
|
2590
|
-
var createNonEnumerableProperty$
|
|
2591
|
-
var defineBuiltIn$
|
|
2592
|
-
var wellKnownSymbol$
|
|
2592
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
|
|
2593
|
+
var defineBuiltIn$3 = defineBuiltIn$8;
|
|
2594
|
+
var wellKnownSymbol$5 = wellKnownSymbol$i;
|
|
2593
2595
|
var Iterators$1 = iterators;
|
|
2594
2596
|
var IteratorsCore = iteratorsCore;
|
|
2595
2597
|
|
|
2596
2598
|
var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
|
|
2597
2599
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
2598
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
2600
|
+
var IteratorPrototype$2 = IteratorsCore.IteratorPrototype;
|
|
2599
2601
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
2600
|
-
var ITERATOR$
|
|
2602
|
+
var ITERATOR$2 = wellKnownSymbol$5('iterator');
|
|
2601
2603
|
var KEYS = 'keys';
|
|
2602
2604
|
var VALUES = 'values';
|
|
2603
2605
|
var ENTRIES = 'entries';
|
|
@@ -2623,7 +2625,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2623
2625
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2624
2626
|
var INCORRECT_VALUES_NAME = false;
|
|
2625
2627
|
var IterablePrototype = Iterable.prototype;
|
|
2626
|
-
var nativeIterator = IterablePrototype[ITERATOR$
|
|
2628
|
+
var nativeIterator = IterablePrototype[ITERATOR$2]
|
|
2627
2629
|
|| IterablePrototype['@@iterator']
|
|
2628
2630
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
2629
2631
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
@@ -2632,13 +2634,13 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2632
2634
|
|
|
2633
2635
|
// fix native
|
|
2634
2636
|
if (anyNativeIterator) {
|
|
2635
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
2637
|
+
CurrentIteratorPrototype = getPrototypeOf$1(anyNativeIterator.call(new Iterable()));
|
|
2636
2638
|
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
2637
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
2639
|
+
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$2) {
|
|
2638
2640
|
if (setPrototypeOf) {
|
|
2639
|
-
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
2640
|
-
} else if (!isCallable$
|
|
2641
|
-
defineBuiltIn$
|
|
2641
|
+
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype$2);
|
|
2642
|
+
} else if (!isCallable$3(CurrentIteratorPrototype[ITERATOR$2])) {
|
|
2643
|
+
defineBuiltIn$3(CurrentIteratorPrototype, ITERATOR$2, returnThis);
|
|
2642
2644
|
}
|
|
2643
2645
|
}
|
|
2644
2646
|
// Set @@toStringTag to native iterators
|
|
@@ -2649,10 +2651,10 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2649
2651
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
2650
2652
|
if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
2651
2653
|
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
2652
|
-
createNonEnumerableProperty$
|
|
2654
|
+
createNonEnumerableProperty$3(IterablePrototype, 'name', VALUES);
|
|
2653
2655
|
} else {
|
|
2654
2656
|
INCORRECT_VALUES_NAME = true;
|
|
2655
|
-
defaultIterator = function values() { return call$
|
|
2657
|
+
defaultIterator = function values() { return call$7(nativeIterator, this); };
|
|
2656
2658
|
}
|
|
2657
2659
|
}
|
|
2658
2660
|
|
|
@@ -2665,14 +2667,14 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2665
2667
|
};
|
|
2666
2668
|
if (FORCED) for (KEY in methods) {
|
|
2667
2669
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
2668
|
-
defineBuiltIn$
|
|
2670
|
+
defineBuiltIn$3(IterablePrototype, KEY, methods[KEY]);
|
|
2669
2671
|
}
|
|
2670
|
-
} else $$
|
|
2672
|
+
} else $$5({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
2671
2673
|
}
|
|
2672
2674
|
|
|
2673
2675
|
// define iterator
|
|
2674
|
-
if (IterablePrototype[ITERATOR$
|
|
2675
|
-
defineBuiltIn$
|
|
2676
|
+
if (IterablePrototype[ITERATOR$2] !== defaultIterator) {
|
|
2677
|
+
defineBuiltIn$3(IterablePrototype, ITERATOR$2, defaultIterator, { name: DEFAULT });
|
|
2676
2678
|
}
|
|
2677
2679
|
Iterators$1[NAME] = defaultIterator;
|
|
2678
2680
|
|
|
@@ -2681,22 +2683,22 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2681
2683
|
|
|
2682
2684
|
// `CreateIterResultObject` abstract operation
|
|
2683
2685
|
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
2684
|
-
var createIterResultObject$
|
|
2686
|
+
var createIterResultObject$2 = function (value, done) {
|
|
2685
2687
|
return { value: value, done: done };
|
|
2686
2688
|
};
|
|
2687
2689
|
|
|
2688
2690
|
var toIndexedObject = toIndexedObject$5;
|
|
2689
2691
|
var addToUnscopables = addToUnscopables$1;
|
|
2690
2692
|
var Iterators = iterators;
|
|
2691
|
-
var InternalStateModule = internalState;
|
|
2693
|
+
var InternalStateModule$1 = internalState;
|
|
2692
2694
|
var defineProperty = objectDefineProperty.f;
|
|
2693
2695
|
var defineIterator = iteratorDefine;
|
|
2694
|
-
var createIterResultObject = createIterResultObject$
|
|
2695
|
-
var DESCRIPTORS = descriptors;
|
|
2696
|
+
var createIterResultObject$1 = createIterResultObject$2;
|
|
2697
|
+
var DESCRIPTORS$2 = descriptors;
|
|
2696
2698
|
|
|
2697
2699
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
2698
|
-
var setInternalState = InternalStateModule.set;
|
|
2699
|
-
var getInternalState$1 = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
2700
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
2701
|
+
var getInternalState$1 = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
|
2700
2702
|
|
|
2701
2703
|
// `Array.prototype.entries` method
|
|
2702
2704
|
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
@@ -2709,7 +2711,7 @@ var getInternalState$1 = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
|
2709
2711
|
// `CreateArrayIterator` internal method
|
|
2710
2712
|
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
2711
2713
|
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
2712
|
-
setInternalState(this, {
|
|
2714
|
+
setInternalState$1(this, {
|
|
2713
2715
|
type: ARRAY_ITERATOR,
|
|
2714
2716
|
target: toIndexedObject(iterated), // target
|
|
2715
2717
|
index: 0, // next index
|
|
@@ -2723,12 +2725,12 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
2723
2725
|
var index = state.index++;
|
|
2724
2726
|
if (!target || index >= target.length) {
|
|
2725
2727
|
state.target = undefined;
|
|
2726
|
-
return createIterResultObject(undefined, true);
|
|
2728
|
+
return createIterResultObject$1(undefined, true);
|
|
2727
2729
|
}
|
|
2728
2730
|
switch (state.kind) {
|
|
2729
|
-
case 'keys': return createIterResultObject(index, false);
|
|
2730
|
-
case 'values': return createIterResultObject(target[index], false);
|
|
2731
|
-
} return createIterResultObject([index, target[index]], false);
|
|
2731
|
+
case 'keys': return createIterResultObject$1(index, false);
|
|
2732
|
+
case 'values': return createIterResultObject$1(target[index], false);
|
|
2733
|
+
} return createIterResultObject$1([index, target[index]], false);
|
|
2732
2734
|
}, 'values');
|
|
2733
2735
|
|
|
2734
2736
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
@@ -2742,7 +2744,7 @@ addToUnscopables('values');
|
|
|
2742
2744
|
addToUnscopables('entries');
|
|
2743
2745
|
|
|
2744
2746
|
// V8 ~ Chrome 45- bug
|
|
2745
|
-
if (DESCRIPTORS && values.name !== 'values') try {
|
|
2747
|
+
if (DESCRIPTORS$2 && values.name !== 'values') try {
|
|
2746
2748
|
defineProperty(values, 'name', { value: 'values' });
|
|
2747
2749
|
} catch (error) { /* empty */ }
|
|
2748
2750
|
|
|
@@ -2790,30 +2792,30 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
2790
2792
|
|
|
2791
2793
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
2792
2794
|
|
|
2793
|
-
var global$
|
|
2795
|
+
var global$5 = global$m;
|
|
2794
2796
|
var DOMIterables = domIterables;
|
|
2795
2797
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
2796
2798
|
var ArrayIteratorMethods = es_array_iterator;
|
|
2797
|
-
var createNonEnumerableProperty$
|
|
2799
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
|
|
2798
2800
|
var setToStringTag = setToStringTag$4;
|
|
2799
|
-
var wellKnownSymbol$
|
|
2801
|
+
var wellKnownSymbol$4 = wellKnownSymbol$i;
|
|
2800
2802
|
|
|
2801
|
-
var ITERATOR = wellKnownSymbol$
|
|
2803
|
+
var ITERATOR$1 = wellKnownSymbol$4('iterator');
|
|
2802
2804
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
2803
2805
|
|
|
2804
2806
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
2805
2807
|
if (CollectionPrototype) {
|
|
2806
2808
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
2807
|
-
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
|
2808
|
-
createNonEnumerableProperty$
|
|
2809
|
+
if (CollectionPrototype[ITERATOR$1] !== ArrayValues) try {
|
|
2810
|
+
createNonEnumerableProperty$2(CollectionPrototype, ITERATOR$1, ArrayValues);
|
|
2809
2811
|
} catch (error) {
|
|
2810
|
-
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
2812
|
+
CollectionPrototype[ITERATOR$1] = ArrayValues;
|
|
2811
2813
|
}
|
|
2812
2814
|
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
2813
2815
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
2814
2816
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
2815
2817
|
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
2816
|
-
createNonEnumerableProperty$
|
|
2818
|
+
createNonEnumerableProperty$2(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
2817
2819
|
} catch (error) {
|
|
2818
2820
|
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
2819
2821
|
}
|
|
@@ -2822,7 +2824,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
2822
2824
|
};
|
|
2823
2825
|
|
|
2824
2826
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
2825
|
-
handlePrototype(global$
|
|
2827
|
+
handlePrototype(global$5[COLLECTION_NAME] && global$5[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
2826
2828
|
}
|
|
2827
2829
|
|
|
2828
2830
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -4137,12 +4139,12 @@ var toString$3 = function (argument) {
|
|
|
4137
4139
|
return $String(argument);
|
|
4138
4140
|
};
|
|
4139
4141
|
|
|
4140
|
-
var anObject$
|
|
4142
|
+
var anObject$8 = anObject$i;
|
|
4141
4143
|
|
|
4142
4144
|
// `RegExp.prototype.flags` getter implementation
|
|
4143
4145
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
4144
4146
|
var regexpFlags$1 = function () {
|
|
4145
|
-
var that = anObject$
|
|
4147
|
+
var that = anObject$8(this);
|
|
4146
4148
|
var result = '';
|
|
4147
4149
|
if (that.hasIndices) result += 'd';
|
|
4148
4150
|
if (that.global) result += 'g';
|
|
@@ -4155,8 +4157,8 @@ var regexpFlags$1 = function () {
|
|
|
4155
4157
|
return result;
|
|
4156
4158
|
};
|
|
4157
4159
|
|
|
4158
|
-
var call$
|
|
4159
|
-
var hasOwn = hasOwnProperty_1;
|
|
4160
|
+
var call$6 = functionCall;
|
|
4161
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
4160
4162
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
4161
4163
|
var regExpFlags = regexpFlags$1;
|
|
4162
4164
|
|
|
@@ -4164,36 +4166,287 @@ var RegExpPrototype$2 = RegExp.prototype;
|
|
|
4164
4166
|
|
|
4165
4167
|
var regexpGetFlags = function (R) {
|
|
4166
4168
|
var flags = R.flags;
|
|
4167
|
-
return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$2, R)
|
|
4168
|
-
? call$
|
|
4169
|
+
return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn$1(R, 'flags') && isPrototypeOf(RegExpPrototype$2, R)
|
|
4170
|
+
? call$6(regExpFlags, R) : flags;
|
|
4169
4171
|
};
|
|
4170
4172
|
|
|
4171
4173
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
4172
|
-
var defineBuiltIn$
|
|
4173
|
-
var anObject$
|
|
4174
|
+
var defineBuiltIn$2 = defineBuiltIn$8;
|
|
4175
|
+
var anObject$7 = anObject$i;
|
|
4174
4176
|
var $toString = toString$3;
|
|
4175
|
-
var fails$
|
|
4177
|
+
var fails$6 = fails$k;
|
|
4176
4178
|
var getRegExpFlags = regexpGetFlags;
|
|
4177
4179
|
|
|
4178
4180
|
var TO_STRING = 'toString';
|
|
4179
4181
|
var RegExpPrototype$1 = RegExp.prototype;
|
|
4180
4182
|
var nativeToString = RegExpPrototype$1[TO_STRING];
|
|
4181
4183
|
|
|
4182
|
-
var NOT_GENERIC = fails$
|
|
4184
|
+
var NOT_GENERIC = fails$6(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
4183
4185
|
// FF44- RegExp#toString has a wrong name
|
|
4184
4186
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
4185
4187
|
|
|
4186
4188
|
// `RegExp.prototype.toString` method
|
|
4187
4189
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
4188
4190
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
4189
|
-
defineBuiltIn$
|
|
4190
|
-
var R = anObject$
|
|
4191
|
+
defineBuiltIn$2(RegExpPrototype$1, TO_STRING, function toString() {
|
|
4192
|
+
var R = anObject$7(this);
|
|
4191
4193
|
var pattern = $toString(R.source);
|
|
4192
4194
|
var flags = $toString(getRegExpFlags(R));
|
|
4193
4195
|
return '/' + pattern + '/' + flags;
|
|
4194
4196
|
}, { unsafe: true });
|
|
4195
4197
|
}
|
|
4196
4198
|
|
|
4199
|
+
var DESCRIPTORS$1 = descriptors;
|
|
4200
|
+
var definePropertyModule = objectDefineProperty;
|
|
4201
|
+
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
4202
|
+
|
|
4203
|
+
var createProperty$1 = function (object, key, value) {
|
|
4204
|
+
if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
4205
|
+
else object[key] = value;
|
|
4206
|
+
};
|
|
4207
|
+
|
|
4208
|
+
var $$4 = _export;
|
|
4209
|
+
var global$4 = global$m;
|
|
4210
|
+
var anInstance = anInstance$2;
|
|
4211
|
+
var anObject$6 = anObject$i;
|
|
4212
|
+
var isCallable$2 = isCallable$m;
|
|
4213
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
4214
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$2;
|
|
4215
|
+
var createProperty = createProperty$1;
|
|
4216
|
+
var fails$5 = fails$k;
|
|
4217
|
+
var hasOwn = hasOwnProperty_1;
|
|
4218
|
+
var wellKnownSymbol$3 = wellKnownSymbol$i;
|
|
4219
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
4220
|
+
var DESCRIPTORS = descriptors;
|
|
4221
|
+
|
|
4222
|
+
var CONSTRUCTOR = 'constructor';
|
|
4223
|
+
var ITERATOR = 'Iterator';
|
|
4224
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$3('toStringTag');
|
|
4225
|
+
|
|
4226
|
+
var $TypeError$1 = TypeError;
|
|
4227
|
+
var NativeIterator = global$4[ITERATOR];
|
|
4228
|
+
|
|
4229
|
+
// FF56- have non-standard global helper `Iterator`
|
|
4230
|
+
var FORCED = !isCallable$2(NativeIterator)
|
|
4231
|
+
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
4232
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
4233
|
+
|| !fails$5(function () { NativeIterator({}); });
|
|
4234
|
+
|
|
4235
|
+
var IteratorConstructor = function Iterator() {
|
|
4236
|
+
anInstance(this, IteratorPrototype$1);
|
|
4237
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$1('Abstract class Iterator not directly constructable');
|
|
4238
|
+
};
|
|
4239
|
+
|
|
4240
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
4241
|
+
if (DESCRIPTORS) {
|
|
4242
|
+
defineBuiltInAccessor(IteratorPrototype$1, key, {
|
|
4243
|
+
configurable: true,
|
|
4244
|
+
get: function () {
|
|
4245
|
+
return value;
|
|
4246
|
+
},
|
|
4247
|
+
set: function (replacement) {
|
|
4248
|
+
anObject$6(this);
|
|
4249
|
+
if (this === IteratorPrototype$1) throw new $TypeError$1("You can't redefine this property");
|
|
4250
|
+
if (hasOwn(this, key)) this[key] = replacement;
|
|
4251
|
+
else createProperty(this, key, replacement);
|
|
4252
|
+
}
|
|
4253
|
+
});
|
|
4254
|
+
} else IteratorPrototype$1[key] = value;
|
|
4255
|
+
};
|
|
4256
|
+
|
|
4257
|
+
if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR);
|
|
4258
|
+
|
|
4259
|
+
if (FORCED || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
4260
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
4261
|
+
}
|
|
4262
|
+
|
|
4263
|
+
IteratorConstructor.prototype = IteratorPrototype$1;
|
|
4264
|
+
|
|
4265
|
+
// `Iterator` constructor
|
|
4266
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4267
|
+
$$4({ global: true, constructor: true, forced: FORCED }, {
|
|
4268
|
+
Iterator: IteratorConstructor
|
|
4269
|
+
});
|
|
4270
|
+
|
|
4271
|
+
// `GetIteratorDirect(obj)` abstract operation
|
|
4272
|
+
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
|
|
4273
|
+
var getIteratorDirect$3 = function (obj) {
|
|
4274
|
+
return {
|
|
4275
|
+
iterator: obj,
|
|
4276
|
+
next: obj.next,
|
|
4277
|
+
done: false
|
|
4278
|
+
};
|
|
4279
|
+
};
|
|
4280
|
+
|
|
4281
|
+
var $$3 = _export;
|
|
4282
|
+
var iterate$1 = iterate$4;
|
|
4283
|
+
var aCallable$2 = aCallable$b;
|
|
4284
|
+
var anObject$5 = anObject$i;
|
|
4285
|
+
var getIteratorDirect$2 = getIteratorDirect$3;
|
|
4286
|
+
|
|
4287
|
+
// `Iterator.prototype.forEach` method
|
|
4288
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4289
|
+
$$3({ target: 'Iterator', proto: true, real: true }, {
|
|
4290
|
+
forEach: function forEach(fn) {
|
|
4291
|
+
anObject$5(this);
|
|
4292
|
+
aCallable$2(fn);
|
|
4293
|
+
var record = getIteratorDirect$2(this);
|
|
4294
|
+
var counter = 0;
|
|
4295
|
+
iterate$1(record, function (value) {
|
|
4296
|
+
fn(value, counter++);
|
|
4297
|
+
}, { IS_RECORD: true });
|
|
4298
|
+
}
|
|
4299
|
+
});
|
|
4300
|
+
|
|
4301
|
+
var defineBuiltIn$1 = defineBuiltIn$8;
|
|
4302
|
+
|
|
4303
|
+
var defineBuiltIns$1 = function (target, src, options) {
|
|
4304
|
+
for (var key in src) defineBuiltIn$1(target, key, src[key], options);
|
|
4305
|
+
return target;
|
|
4306
|
+
};
|
|
4307
|
+
|
|
4308
|
+
var call$5 = functionCall;
|
|
4309
|
+
var create$1 = objectCreate;
|
|
4310
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
|
|
4311
|
+
var defineBuiltIns = defineBuiltIns$1;
|
|
4312
|
+
var wellKnownSymbol$2 = wellKnownSymbol$i;
|
|
4313
|
+
var InternalStateModule = internalState;
|
|
4314
|
+
var getMethod$1 = getMethod$5;
|
|
4315
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
4316
|
+
var createIterResultObject = createIterResultObject$2;
|
|
4317
|
+
var iteratorClose$1 = iteratorClose$3;
|
|
4318
|
+
|
|
4319
|
+
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
4320
|
+
var ITERATOR_HELPER = 'IteratorHelper';
|
|
4321
|
+
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
4322
|
+
var setInternalState = InternalStateModule.set;
|
|
4323
|
+
|
|
4324
|
+
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
4325
|
+
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
4326
|
+
|
|
4327
|
+
return defineBuiltIns(create$1(IteratorPrototype), {
|
|
4328
|
+
next: function next() {
|
|
4329
|
+
var state = getInternalState(this);
|
|
4330
|
+
// for simplification:
|
|
4331
|
+
// for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
|
|
4332
|
+
// for `%IteratorHelperPrototype%.next` - just a value
|
|
4333
|
+
if (IS_ITERATOR) return state.nextHandler();
|
|
4334
|
+
try {
|
|
4335
|
+
var result = state.done ? undefined : state.nextHandler();
|
|
4336
|
+
return createIterResultObject(result, state.done);
|
|
4337
|
+
} catch (error) {
|
|
4338
|
+
state.done = true;
|
|
4339
|
+
throw error;
|
|
4340
|
+
}
|
|
4341
|
+
},
|
|
4342
|
+
'return': function () {
|
|
4343
|
+
var state = getInternalState(this);
|
|
4344
|
+
var iterator = state.iterator;
|
|
4345
|
+
state.done = true;
|
|
4346
|
+
if (IS_ITERATOR) {
|
|
4347
|
+
var returnMethod = getMethod$1(iterator, 'return');
|
|
4348
|
+
return returnMethod ? call$5(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
4349
|
+
}
|
|
4350
|
+
if (state.inner) try {
|
|
4351
|
+
iteratorClose$1(state.inner.iterator, 'normal');
|
|
4352
|
+
} catch (error) {
|
|
4353
|
+
return iteratorClose$1(iterator, 'throw', error);
|
|
4354
|
+
}
|
|
4355
|
+
iteratorClose$1(iterator, 'normal');
|
|
4356
|
+
return createIterResultObject(undefined, true);
|
|
4357
|
+
}
|
|
4358
|
+
});
|
|
4359
|
+
};
|
|
4360
|
+
|
|
4361
|
+
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
|
4362
|
+
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
|
4363
|
+
|
|
4364
|
+
createNonEnumerableProperty$1(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
|
4365
|
+
|
|
4366
|
+
var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
4367
|
+
var IteratorProxy = function Iterator(record, state) {
|
|
4368
|
+
if (state) {
|
|
4369
|
+
state.iterator = record.iterator;
|
|
4370
|
+
state.next = record.next;
|
|
4371
|
+
} else state = record;
|
|
4372
|
+
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
|
|
4373
|
+
state.nextHandler = nextHandler;
|
|
4374
|
+
state.counter = 0;
|
|
4375
|
+
state.done = false;
|
|
4376
|
+
setInternalState(this, state);
|
|
4377
|
+
};
|
|
4378
|
+
|
|
4379
|
+
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
|
|
4380
|
+
|
|
4381
|
+
return IteratorProxy;
|
|
4382
|
+
};
|
|
4383
|
+
|
|
4384
|
+
var anObject$4 = anObject$i;
|
|
4385
|
+
var iteratorClose = iteratorClose$3;
|
|
4386
|
+
|
|
4387
|
+
// call something on iterator step with safe closing on error
|
|
4388
|
+
var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
4389
|
+
try {
|
|
4390
|
+
return ENTRIES ? fn(anObject$4(value)[0], value[1]) : fn(value);
|
|
4391
|
+
} catch (error) {
|
|
4392
|
+
iteratorClose(iterator, 'throw', error);
|
|
4393
|
+
}
|
|
4394
|
+
};
|
|
4395
|
+
|
|
4396
|
+
var call$4 = functionCall;
|
|
4397
|
+
var aCallable$1 = aCallable$b;
|
|
4398
|
+
var anObject$3 = anObject$i;
|
|
4399
|
+
var getIteratorDirect$1 = getIteratorDirect$3;
|
|
4400
|
+
var createIteratorProxy = iteratorCreateProxy;
|
|
4401
|
+
var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
|
|
4402
|
+
|
|
4403
|
+
var IteratorProxy = createIteratorProxy(function () {
|
|
4404
|
+
var iterator = this.iterator;
|
|
4405
|
+
var result = anObject$3(call$4(this.next, iterator));
|
|
4406
|
+
var done = this.done = !!result.done;
|
|
4407
|
+
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
4408
|
+
});
|
|
4409
|
+
|
|
4410
|
+
// `Iterator.prototype.map` method
|
|
4411
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4412
|
+
var iteratorMap = function map(mapper) {
|
|
4413
|
+
anObject$3(this);
|
|
4414
|
+
aCallable$1(mapper);
|
|
4415
|
+
return new IteratorProxy(getIteratorDirect$1(this), {
|
|
4416
|
+
mapper: mapper
|
|
4417
|
+
});
|
|
4418
|
+
};
|
|
4419
|
+
|
|
4420
|
+
var $$2 = _export;
|
|
4421
|
+
var map = iteratorMap;
|
|
4422
|
+
var IS_PURE = isPure;
|
|
4423
|
+
|
|
4424
|
+
// `Iterator.prototype.map` method
|
|
4425
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4426
|
+
$$2({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
4427
|
+
map: map
|
|
4428
|
+
});
|
|
4429
|
+
|
|
4430
|
+
var $$1 = _export;
|
|
4431
|
+
var iterate = iterate$4;
|
|
4432
|
+
var aCallable = aCallable$b;
|
|
4433
|
+
var anObject$2 = anObject$i;
|
|
4434
|
+
var getIteratorDirect = getIteratorDirect$3;
|
|
4435
|
+
|
|
4436
|
+
// `Iterator.prototype.find` method
|
|
4437
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4438
|
+
$$1({ target: 'Iterator', proto: true, real: true }, {
|
|
4439
|
+
find: function find(predicate) {
|
|
4440
|
+
anObject$2(this);
|
|
4441
|
+
aCallable(predicate);
|
|
4442
|
+
var record = getIteratorDirect(this);
|
|
4443
|
+
var counter = 0;
|
|
4444
|
+
return iterate(record, function (value, stop) {
|
|
4445
|
+
if (predicate(value, counter++)) return stop(value);
|
|
4446
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).result;
|
|
4447
|
+
}
|
|
4448
|
+
});
|
|
4449
|
+
|
|
4197
4450
|
function FiltersPanel(props) {
|
|
4198
4451
|
const [parametersSchema, setParametersSchema] = useState(props.parametersSchema);
|
|
4199
4452
|
const [useParametersSchema] = useState(props.useParametersSchema);
|
|
@@ -4432,8 +4685,8 @@ function ReportChooser(props) {
|
|
|
4432
4685
|
});
|
|
4433
4686
|
}
|
|
4434
4687
|
|
|
4435
|
-
var fails$4 = fails$
|
|
4436
|
-
var global$3 = global$
|
|
4688
|
+
var fails$4 = fails$k;
|
|
4689
|
+
var global$3 = global$m;
|
|
4437
4690
|
|
|
4438
4691
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
4439
4692
|
var $RegExp$2 = global$3.RegExp;
|
|
@@ -4463,8 +4716,8 @@ var regexpStickyHelpers = {
|
|
|
4463
4716
|
UNSUPPORTED_Y: UNSUPPORTED_Y$1
|
|
4464
4717
|
};
|
|
4465
4718
|
|
|
4466
|
-
var fails$3 = fails$
|
|
4467
|
-
var global$2 = global$
|
|
4719
|
+
var fails$3 = fails$k;
|
|
4720
|
+
var global$2 = global$m;
|
|
4468
4721
|
|
|
4469
4722
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
4470
4723
|
var $RegExp$1 = global$2.RegExp;
|
|
@@ -4474,8 +4727,8 @@ var regexpUnsupportedDotAll = fails$3(function () {
|
|
|
4474
4727
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
4475
4728
|
});
|
|
4476
4729
|
|
|
4477
|
-
var fails$2 = fails$
|
|
4478
|
-
var global$1 = global$
|
|
4730
|
+
var fails$2 = fails$k;
|
|
4731
|
+
var global$1 = global$m;
|
|
4479
4732
|
|
|
4480
4733
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
4481
4734
|
var $RegExp = global$1.RegExp;
|
|
@@ -4615,11 +4868,11 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
4615
4868
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
4616
4869
|
|
|
4617
4870
|
var call$2 = functionCall;
|
|
4618
|
-
var defineBuiltIn = defineBuiltIn$
|
|
4871
|
+
var defineBuiltIn = defineBuiltIn$8;
|
|
4619
4872
|
var regexpExec$1 = regexpExec$2;
|
|
4620
|
-
var fails$1 = fails$
|
|
4621
|
-
var wellKnownSymbol$1 = wellKnownSymbol$
|
|
4622
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
4873
|
+
var fails$1 = fails$k;
|
|
4874
|
+
var wellKnownSymbol$1 = wellKnownSymbol$i;
|
|
4875
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$6;
|
|
4623
4876
|
|
|
4624
4877
|
var SPECIES = wellKnownSymbol$1('species');
|
|
4625
4878
|
var RegExpPrototype = RegExp.prototype;
|
|
@@ -4780,8 +5033,8 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
4780
5033
|
};
|
|
4781
5034
|
|
|
4782
5035
|
var call$1 = functionCall;
|
|
4783
|
-
var anObject$1 = anObject$
|
|
4784
|
-
var isCallable$1 = isCallable$
|
|
5036
|
+
var anObject$1 = anObject$i;
|
|
5037
|
+
var isCallable$1 = isCallable$m;
|
|
4785
5038
|
var classof = classofRaw$2;
|
|
4786
5039
|
var regexpExec = regexpExec$2;
|
|
4787
5040
|
|
|
@@ -4804,19 +5057,19 @@ var apply = functionApply;
|
|
|
4804
5057
|
var call = functionCall;
|
|
4805
5058
|
var uncurryThis = functionUncurryThis;
|
|
4806
5059
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
4807
|
-
var fails = fails$
|
|
4808
|
-
var anObject = anObject$
|
|
4809
|
-
var isCallable = isCallable$
|
|
5060
|
+
var fails = fails$k;
|
|
5061
|
+
var anObject = anObject$i;
|
|
5062
|
+
var isCallable = isCallable$m;
|
|
4810
5063
|
var isNullOrUndefined = isNullOrUndefined$5;
|
|
4811
5064
|
var toIntegerOrInfinity = toIntegerOrInfinity$4;
|
|
4812
5065
|
var toLength = toLength$2;
|
|
4813
5066
|
var toString = toString$3;
|
|
4814
5067
|
var requireObjectCoercible = requireObjectCoercible$5;
|
|
4815
5068
|
var advanceStringIndex = advanceStringIndex$1;
|
|
4816
|
-
var getMethod = getMethod$
|
|
5069
|
+
var getMethod = getMethod$5;
|
|
4817
5070
|
var getSubstitution = getSubstitution$1;
|
|
4818
5071
|
var regExpExec = regexpExecAbstract;
|
|
4819
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
5072
|
+
var wellKnownSymbol = wellKnownSymbol$i;
|
|
4820
5073
|
|
|
4821
5074
|
var REPLACE = wellKnownSymbol('replace');
|
|
4822
5075
|
var max = Math.max;
|
|
@@ -5136,4 +5389,4 @@ function ReportButton(props) {
|
|
|
5136
5389
|
});
|
|
5137
5390
|
}
|
|
5138
5391
|
|
|
5139
|
-
export { ReportButton as R, _export as _, promiseResolve$1 as a, ReportChooser as b, createReactComponent as c, defineBuiltIn$
|
|
5392
|
+
export { ReportButton as R, _export as _, promiseResolve$1 as a, ReportChooser as b, createReactComponent as c, defineBuiltIn$8 as d, fails$k as f, getBuiltIn$7 as g, isCallable$m as i, promiseNativeConstructor as p, reportsModule as r, speciesConstructor$1 as s };
|