@fluxo-dev/shell-workflow 0.0.41 → 0.0.43
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.esm.js +914 -452
- package/package.json +9 -2
package/index.esm.js
CHANGED
|
@@ -12,7 +12,7 @@ function getDefaultExportFromCjs (x) {
|
|
|
12
12
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
var fails$
|
|
15
|
+
var fails$l = function (exec) {
|
|
16
16
|
try {
|
|
17
17
|
return !!exec();
|
|
18
18
|
} catch (error) {
|
|
@@ -20,66 +20,66 @@ var fails$k = function (exec) {
|
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
var fails$
|
|
23
|
+
var fails$k = fails$l;
|
|
24
24
|
|
|
25
|
-
var functionBindNative = !fails$
|
|
25
|
+
var functionBindNative = !fails$k(function () {
|
|
26
26
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
27
27
|
var test = (function () { /* empty */ }).bind();
|
|
28
28
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
29
29
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
30
30
|
});
|
|
31
31
|
|
|
32
|
-
var NATIVE_BIND$
|
|
32
|
+
var NATIVE_BIND$3 = functionBindNative;
|
|
33
33
|
|
|
34
34
|
var FunctionPrototype$2 = Function.prototype;
|
|
35
|
-
var call$
|
|
36
|
-
var uncurryThisWithBind = NATIVE_BIND$
|
|
35
|
+
var call$j = FunctionPrototype$2.call;
|
|
36
|
+
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$j, call$j);
|
|
37
37
|
|
|
38
|
-
var functionUncurryThis = NATIVE_BIND$
|
|
38
|
+
var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
|
|
39
39
|
return function () {
|
|
40
|
-
return call$
|
|
40
|
+
return call$j.apply(fn, arguments);
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
var uncurryThis$
|
|
44
|
+
var uncurryThis$k = functionUncurryThis;
|
|
45
45
|
|
|
46
|
-
var toString$9 = uncurryThis$
|
|
47
|
-
var stringSlice$5 = uncurryThis$
|
|
46
|
+
var toString$9 = uncurryThis$k({}.toString);
|
|
47
|
+
var stringSlice$5 = uncurryThis$k(''.slice);
|
|
48
48
|
|
|
49
|
-
var classofRaw$
|
|
49
|
+
var classofRaw$2 = function (it) {
|
|
50
50
|
return stringSlice$5(toString$9(it), 8, -1);
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
var uncurryThis$
|
|
54
|
-
var fails$
|
|
55
|
-
var classof$
|
|
53
|
+
var uncurryThis$j = functionUncurryThis;
|
|
54
|
+
var fails$j = fails$l;
|
|
55
|
+
var classof$5 = classofRaw$2;
|
|
56
56
|
|
|
57
57
|
var $Object$4 = Object;
|
|
58
|
-
var split = uncurryThis$
|
|
58
|
+
var split = uncurryThis$j(''.split);
|
|
59
59
|
|
|
60
60
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
61
|
-
var indexedObject = fails$
|
|
61
|
+
var indexedObject = fails$j(function () {
|
|
62
62
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
63
63
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
64
64
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
65
65
|
}) ? function (it) {
|
|
66
|
-
return classof$
|
|
66
|
+
return classof$5(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
67
67
|
} : $Object$4;
|
|
68
68
|
|
|
69
69
|
// we can't use just `it == null` since of `document.all` special case
|
|
70
70
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
71
|
-
var isNullOrUndefined$
|
|
71
|
+
var isNullOrUndefined$4 = function (it) {
|
|
72
72
|
return it === null || it === undefined;
|
|
73
73
|
};
|
|
74
74
|
|
|
75
|
-
var isNullOrUndefined$
|
|
75
|
+
var isNullOrUndefined$3 = isNullOrUndefined$4;
|
|
76
76
|
|
|
77
|
-
var $TypeError$
|
|
77
|
+
var $TypeError$d = TypeError;
|
|
78
78
|
|
|
79
79
|
// `RequireObjectCoercible` abstract operation
|
|
80
80
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
81
81
|
var requireObjectCoercible$6 = function (it) {
|
|
82
|
-
if (isNullOrUndefined$
|
|
82
|
+
if (isNullOrUndefined$3(it)) throw new $TypeError$d("Can't call method on " + it);
|
|
83
83
|
return it;
|
|
84
84
|
};
|
|
85
85
|
|
|
@@ -96,7 +96,7 @@ var check = function (it) {
|
|
|
96
96
|
};
|
|
97
97
|
|
|
98
98
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
99
|
-
var global$
|
|
99
|
+
var global$h =
|
|
100
100
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
101
101
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
102
102
|
check(typeof window == 'object' && window) ||
|
|
@@ -109,20 +109,22 @@ var global$g =
|
|
|
109
109
|
|
|
110
110
|
var sharedStore = {exports: {}};
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var isPure = false;
|
|
113
|
+
|
|
114
|
+
var global$g = global$h;
|
|
113
115
|
|
|
114
116
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
115
|
-
var defineProperty$
|
|
117
|
+
var defineProperty$7 = Object.defineProperty;
|
|
116
118
|
|
|
117
119
|
var defineGlobalProperty$3 = function (key, value) {
|
|
118
120
|
try {
|
|
119
|
-
defineProperty$
|
|
121
|
+
defineProperty$7(global$g, key, { value: value, configurable: true, writable: true });
|
|
120
122
|
} catch (error) {
|
|
121
|
-
global$
|
|
123
|
+
global$g[key] = value;
|
|
122
124
|
} return value;
|
|
123
125
|
};
|
|
124
126
|
|
|
125
|
-
var globalThis$1 = global$
|
|
127
|
+
var globalThis$1 = global$h;
|
|
126
128
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
127
129
|
|
|
128
130
|
var SHARED = '__core-js_shared__';
|
|
@@ -154,10 +156,10 @@ var toObject$5 = function (argument) {
|
|
|
154
156
|
return $Object$3(requireObjectCoercible$4(argument));
|
|
155
157
|
};
|
|
156
158
|
|
|
157
|
-
var uncurryThis$
|
|
159
|
+
var uncurryThis$i = functionUncurryThis;
|
|
158
160
|
var toObject$4 = toObject$5;
|
|
159
161
|
|
|
160
|
-
var hasOwnProperty = uncurryThis$
|
|
162
|
+
var hasOwnProperty = uncurryThis$i({}.hasOwnProperty);
|
|
161
163
|
|
|
162
164
|
// `HasOwnProperty` abstract operation
|
|
163
165
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -166,11 +168,11 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
166
168
|
return hasOwnProperty(toObject$4(it), key);
|
|
167
169
|
};
|
|
168
170
|
|
|
169
|
-
var uncurryThis$
|
|
171
|
+
var uncurryThis$h = functionUncurryThis;
|
|
170
172
|
|
|
171
173
|
var id = 0;
|
|
172
174
|
var postfix = Math.random();
|
|
173
|
-
var toString$8 = uncurryThis$
|
|
175
|
+
var toString$8 = uncurryThis$h(1.0.toString);
|
|
174
176
|
|
|
175
177
|
var uid$2 = function (key) {
|
|
176
178
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$8(++id + postfix, 36);
|
|
@@ -178,11 +180,11 @@ var uid$2 = function (key) {
|
|
|
178
180
|
|
|
179
181
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
180
182
|
|
|
181
|
-
var global$
|
|
183
|
+
var global$f = global$h;
|
|
182
184
|
var userAgent = engineUserAgent;
|
|
183
185
|
|
|
184
|
-
var process$1 = global$
|
|
185
|
-
var Deno = global$
|
|
186
|
+
var process$1 = global$f.process;
|
|
187
|
+
var Deno = global$f.Deno;
|
|
186
188
|
var versions = process$1 && process$1.versions || Deno && Deno.version;
|
|
187
189
|
var v8 = versions && versions.v8;
|
|
188
190
|
var match, version;
|
|
@@ -208,13 +210,13 @@ var engineV8Version = version;
|
|
|
208
210
|
|
|
209
211
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
210
212
|
var V8_VERSION = engineV8Version;
|
|
211
|
-
var fails$
|
|
212
|
-
var global$
|
|
213
|
+
var fails$i = fails$l;
|
|
214
|
+
var global$e = global$h;
|
|
213
215
|
|
|
214
|
-
var $String$5 = global$
|
|
216
|
+
var $String$5 = global$e.String;
|
|
215
217
|
|
|
216
218
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
217
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
219
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$i(function () {
|
|
218
220
|
var symbol = Symbol('symbol detection');
|
|
219
221
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
220
222
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -232,20 +234,20 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
232
234
|
&& !Symbol.sham
|
|
233
235
|
&& typeof Symbol.iterator == 'symbol';
|
|
234
236
|
|
|
235
|
-
var global$
|
|
237
|
+
var global$d = global$h;
|
|
236
238
|
var shared$3 = shared$4;
|
|
237
|
-
var hasOwn$
|
|
239
|
+
var hasOwn$b = hasOwnProperty_1;
|
|
238
240
|
var uid$1 = uid$2;
|
|
239
241
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
240
242
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
241
243
|
|
|
242
|
-
var Symbol$2 = global$
|
|
244
|
+
var Symbol$2 = global$d.Symbol;
|
|
243
245
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
244
246
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$2['for'] || Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
|
|
245
247
|
|
|
246
|
-
var wellKnownSymbol$
|
|
247
|
-
if (!hasOwn$
|
|
248
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
|
248
|
+
var wellKnownSymbol$e = function (name) {
|
|
249
|
+
if (!hasOwn$b(WellKnownSymbolsStore, name)) {
|
|
250
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$b(Symbol$2, name)
|
|
249
251
|
? Symbol$2[name]
|
|
250
252
|
: createWellKnownSymbol('Symbol.' + name);
|
|
251
253
|
} return WellKnownSymbolsStore[name];
|
|
@@ -257,45 +259,45 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
257
259
|
// `IsCallable` abstract operation
|
|
258
260
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
259
261
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
260
|
-
var isCallable$
|
|
262
|
+
var isCallable$j = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
261
263
|
return typeof argument == 'function' || argument === documentAll;
|
|
262
264
|
} : function (argument) {
|
|
263
265
|
return typeof argument == 'function';
|
|
264
266
|
};
|
|
265
267
|
|
|
266
|
-
var isCallable$
|
|
268
|
+
var isCallable$i = isCallable$j;
|
|
267
269
|
|
|
268
270
|
var isObject$a = function (it) {
|
|
269
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
271
|
+
return typeof it == 'object' ? it !== null : isCallable$i(it);
|
|
270
272
|
};
|
|
271
273
|
|
|
272
274
|
var isObject$9 = isObject$a;
|
|
273
275
|
|
|
274
276
|
var $String$4 = String;
|
|
275
|
-
var $TypeError$
|
|
277
|
+
var $TypeError$c = TypeError;
|
|
276
278
|
|
|
277
279
|
// `Assert: Type(argument) is Object`
|
|
278
|
-
var anObject$
|
|
280
|
+
var anObject$i = function (argument) {
|
|
279
281
|
if (isObject$9(argument)) return argument;
|
|
280
|
-
throw new $TypeError$
|
|
282
|
+
throw new $TypeError$c($String$4(argument) + ' is not an object');
|
|
281
283
|
};
|
|
282
284
|
|
|
283
285
|
var objectDefineProperties = {};
|
|
284
286
|
|
|
285
|
-
var fails$
|
|
287
|
+
var fails$h = fails$l;
|
|
286
288
|
|
|
287
289
|
// Detect IE8's incomplete defineProperty implementation
|
|
288
|
-
var descriptors = !fails$
|
|
290
|
+
var descriptors = !fails$h(function () {
|
|
289
291
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
290
292
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
291
293
|
});
|
|
292
294
|
|
|
293
|
-
var DESCRIPTORS$
|
|
294
|
-
var fails$
|
|
295
|
+
var DESCRIPTORS$d = descriptors;
|
|
296
|
+
var fails$g = fails$l;
|
|
295
297
|
|
|
296
298
|
// V8 ~ Chrome 36-
|
|
297
299
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
298
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
300
|
+
var v8PrototypeDefineBug = DESCRIPTORS$d && fails$g(function () {
|
|
299
301
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
300
302
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
301
303
|
value: 42,
|
|
@@ -305,10 +307,10 @@ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$f(function () {
|
|
|
305
307
|
|
|
306
308
|
var objectDefineProperty = {};
|
|
307
309
|
|
|
308
|
-
var global$
|
|
310
|
+
var global$c = global$h;
|
|
309
311
|
var isObject$8 = isObject$a;
|
|
310
312
|
|
|
311
|
-
var document$1 = global$
|
|
313
|
+
var document$1 = global$c.document;
|
|
312
314
|
// typeof document.createElement is 'object' in old IE
|
|
313
315
|
var EXISTS$1 = isObject$8(document$1) && isObject$8(document$1.createElement);
|
|
314
316
|
|
|
@@ -316,44 +318,44 @@ var documentCreateElement$2 = function (it) {
|
|
|
316
318
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
317
319
|
};
|
|
318
320
|
|
|
319
|
-
var DESCRIPTORS$
|
|
320
|
-
var fails$
|
|
321
|
+
var DESCRIPTORS$c = descriptors;
|
|
322
|
+
var fails$f = fails$l;
|
|
321
323
|
var createElement = documentCreateElement$2;
|
|
322
324
|
|
|
323
325
|
// Thanks to IE8 for its funny defineProperty
|
|
324
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
326
|
+
var ie8DomDefine = !DESCRIPTORS$c && !fails$f(function () {
|
|
325
327
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
326
328
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
327
329
|
get: function () { return 7; }
|
|
328
330
|
}).a !== 7;
|
|
329
331
|
});
|
|
330
332
|
|
|
331
|
-
var NATIVE_BIND$
|
|
333
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
332
334
|
|
|
333
|
-
var call$
|
|
335
|
+
var call$i = Function.prototype.call;
|
|
334
336
|
|
|
335
|
-
var functionCall = NATIVE_BIND$
|
|
336
|
-
return call$
|
|
337
|
+
var functionCall = NATIVE_BIND$2 ? call$i.bind(call$i) : function () {
|
|
338
|
+
return call$i.apply(call$i, arguments);
|
|
337
339
|
};
|
|
338
340
|
|
|
339
|
-
var global$
|
|
340
|
-
var isCallable$
|
|
341
|
+
var global$b = global$h;
|
|
342
|
+
var isCallable$h = isCallable$j;
|
|
341
343
|
|
|
342
344
|
var aFunction = function (argument) {
|
|
343
|
-
return isCallable$
|
|
345
|
+
return isCallable$h(argument) ? argument : undefined;
|
|
344
346
|
};
|
|
345
347
|
|
|
346
348
|
var getBuiltIn$4 = function (namespace, method) {
|
|
347
|
-
return arguments.length < 2 ? aFunction(global$
|
|
349
|
+
return arguments.length < 2 ? aFunction(global$b[namespace]) : global$b[namespace] && global$b[namespace][method];
|
|
348
350
|
};
|
|
349
351
|
|
|
350
|
-
var uncurryThis$
|
|
352
|
+
var uncurryThis$g = functionUncurryThis;
|
|
351
353
|
|
|
352
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
354
|
+
var objectIsPrototypeOf = uncurryThis$g({}.isPrototypeOf);
|
|
353
355
|
|
|
354
356
|
var getBuiltIn$3 = getBuiltIn$4;
|
|
355
|
-
var isCallable$
|
|
356
|
-
var isPrototypeOf$
|
|
357
|
+
var isCallable$g = isCallable$j;
|
|
358
|
+
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
357
359
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
358
360
|
|
|
359
361
|
var $Object$2 = Object;
|
|
@@ -362,12 +364,12 @@ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
362
364
|
return typeof it == 'symbol';
|
|
363
365
|
} : function (it) {
|
|
364
366
|
var $Symbol = getBuiltIn$3('Symbol');
|
|
365
|
-
return isCallable$
|
|
367
|
+
return isCallable$g($Symbol) && isPrototypeOf$4($Symbol.prototype, $Object$2(it));
|
|
366
368
|
};
|
|
367
369
|
|
|
368
370
|
var $String$3 = String;
|
|
369
371
|
|
|
370
|
-
var tryToString$
|
|
372
|
+
var tryToString$3 = function (argument) {
|
|
371
373
|
try {
|
|
372
374
|
return $String$3(argument);
|
|
373
375
|
} catch (error) {
|
|
@@ -375,64 +377,64 @@ var tryToString$1 = function (argument) {
|
|
|
375
377
|
}
|
|
376
378
|
};
|
|
377
379
|
|
|
378
|
-
var isCallable$
|
|
379
|
-
var tryToString = tryToString$
|
|
380
|
+
var isCallable$f = isCallable$j;
|
|
381
|
+
var tryToString$2 = tryToString$3;
|
|
380
382
|
|
|
381
|
-
var $TypeError$
|
|
383
|
+
var $TypeError$b = TypeError;
|
|
382
384
|
|
|
383
385
|
// `Assert: IsCallable(argument) is true`
|
|
384
|
-
var aCallable$
|
|
385
|
-
if (isCallable$
|
|
386
|
-
throw new $TypeError$
|
|
386
|
+
var aCallable$8 = function (argument) {
|
|
387
|
+
if (isCallable$f(argument)) return argument;
|
|
388
|
+
throw new $TypeError$b(tryToString$2(argument) + ' is not a function');
|
|
387
389
|
};
|
|
388
390
|
|
|
389
|
-
var aCallable$
|
|
390
|
-
var isNullOrUndefined$
|
|
391
|
+
var aCallable$7 = aCallable$8;
|
|
392
|
+
var isNullOrUndefined$2 = isNullOrUndefined$4;
|
|
391
393
|
|
|
392
394
|
// `GetMethod` abstract operation
|
|
393
395
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
394
|
-
var getMethod$
|
|
396
|
+
var getMethod$5 = function (V, P) {
|
|
395
397
|
var func = V[P];
|
|
396
|
-
return isNullOrUndefined$
|
|
398
|
+
return isNullOrUndefined$2(func) ? undefined : aCallable$7(func);
|
|
397
399
|
};
|
|
398
400
|
|
|
399
|
-
var call$
|
|
400
|
-
var isCallable$
|
|
401
|
+
var call$h = functionCall;
|
|
402
|
+
var isCallable$e = isCallable$j;
|
|
401
403
|
var isObject$7 = isObject$a;
|
|
402
404
|
|
|
403
|
-
var $TypeError$
|
|
405
|
+
var $TypeError$a = TypeError;
|
|
404
406
|
|
|
405
407
|
// `OrdinaryToPrimitive` abstract operation
|
|
406
408
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
407
409
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
408
410
|
var fn, val;
|
|
409
|
-
if (pref === 'string' && isCallable$
|
|
410
|
-
if (isCallable$
|
|
411
|
-
if (pref !== 'string' && isCallable$
|
|
412
|
-
throw new $TypeError$
|
|
411
|
+
if (pref === 'string' && isCallable$e(fn = input.toString) && !isObject$7(val = call$h(fn, input))) return val;
|
|
412
|
+
if (isCallable$e(fn = input.valueOf) && !isObject$7(val = call$h(fn, input))) return val;
|
|
413
|
+
if (pref !== 'string' && isCallable$e(fn = input.toString) && !isObject$7(val = call$h(fn, input))) return val;
|
|
414
|
+
throw new $TypeError$a("Can't convert object to primitive value");
|
|
413
415
|
};
|
|
414
416
|
|
|
415
|
-
var call$
|
|
417
|
+
var call$g = functionCall;
|
|
416
418
|
var isObject$6 = isObject$a;
|
|
417
419
|
var isSymbol$1 = isSymbol$2;
|
|
418
|
-
var getMethod$
|
|
420
|
+
var getMethod$4 = getMethod$5;
|
|
419
421
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
420
|
-
var wellKnownSymbol$
|
|
422
|
+
var wellKnownSymbol$d = wellKnownSymbol$e;
|
|
421
423
|
|
|
422
|
-
var $TypeError$
|
|
423
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
424
|
+
var $TypeError$9 = TypeError;
|
|
425
|
+
var TO_PRIMITIVE = wellKnownSymbol$d('toPrimitive');
|
|
424
426
|
|
|
425
427
|
// `ToPrimitive` abstract operation
|
|
426
428
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
427
429
|
var toPrimitive$2 = function (input, pref) {
|
|
428
430
|
if (!isObject$6(input) || isSymbol$1(input)) return input;
|
|
429
|
-
var exoticToPrim = getMethod$
|
|
431
|
+
var exoticToPrim = getMethod$4(input, TO_PRIMITIVE);
|
|
430
432
|
var result;
|
|
431
433
|
if (exoticToPrim) {
|
|
432
434
|
if (pref === undefined) pref = 'default';
|
|
433
|
-
result = call$
|
|
435
|
+
result = call$g(exoticToPrim, input, pref);
|
|
434
436
|
if (!isObject$6(result) || isSymbol$1(result)) return result;
|
|
435
|
-
throw new $TypeError$
|
|
437
|
+
throw new $TypeError$9("Can't convert object to primitive value");
|
|
436
438
|
}
|
|
437
439
|
if (pref === undefined) pref = 'number';
|
|
438
440
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -448,13 +450,13 @@ var toPropertyKey$3 = function (argument) {
|
|
|
448
450
|
return isSymbol(key) ? key : key + '';
|
|
449
451
|
};
|
|
450
452
|
|
|
451
|
-
var DESCRIPTORS$
|
|
453
|
+
var DESCRIPTORS$b = descriptors;
|
|
452
454
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
453
455
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
454
|
-
var anObject$
|
|
456
|
+
var anObject$h = anObject$i;
|
|
455
457
|
var toPropertyKey$2 = toPropertyKey$3;
|
|
456
458
|
|
|
457
|
-
var $TypeError$
|
|
459
|
+
var $TypeError$8 = TypeError;
|
|
458
460
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
459
461
|
var $defineProperty = Object.defineProperty;
|
|
460
462
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -465,10 +467,10 @@ var WRITABLE = 'writable';
|
|
|
465
467
|
|
|
466
468
|
// `Object.defineProperty` method
|
|
467
469
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
468
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
469
|
-
anObject$
|
|
470
|
+
objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
471
|
+
anObject$h(O);
|
|
470
472
|
P = toPropertyKey$2(P);
|
|
471
|
-
anObject$
|
|
473
|
+
anObject$h(Attributes);
|
|
472
474
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
473
475
|
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
474
476
|
if (current && current[WRITABLE]) {
|
|
@@ -481,13 +483,13 @@ objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
481
483
|
}
|
|
482
484
|
} return $defineProperty(O, P, Attributes);
|
|
483
485
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
484
|
-
anObject$
|
|
486
|
+
anObject$h(O);
|
|
485
487
|
P = toPropertyKey$2(P);
|
|
486
|
-
anObject$
|
|
488
|
+
anObject$h(Attributes);
|
|
487
489
|
if (IE8_DOM_DEFINE$1) try {
|
|
488
490
|
return $defineProperty(O, P, Attributes);
|
|
489
491
|
} catch (error) { /* empty */ }
|
|
490
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
492
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$8('Accessors not supported');
|
|
491
493
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
492
494
|
return O;
|
|
493
495
|
};
|
|
@@ -541,19 +543,19 @@ var toLength$1 = toLength$2;
|
|
|
541
543
|
|
|
542
544
|
// `LengthOfArrayLike` abstract operation
|
|
543
545
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
544
|
-
var lengthOfArrayLike$
|
|
546
|
+
var lengthOfArrayLike$3 = function (obj) {
|
|
545
547
|
return toLength$1(obj.length);
|
|
546
548
|
};
|
|
547
549
|
|
|
548
550
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
549
551
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
550
|
-
var lengthOfArrayLike$
|
|
552
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$3;
|
|
551
553
|
|
|
552
554
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
553
555
|
var createMethod$2 = function (IS_INCLUDES) {
|
|
554
556
|
return function ($this, el, fromIndex) {
|
|
555
557
|
var O = toIndexedObject$4($this);
|
|
556
|
-
var length = lengthOfArrayLike$
|
|
558
|
+
var length = lengthOfArrayLike$2(O);
|
|
557
559
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
558
560
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
559
561
|
var value;
|
|
@@ -581,22 +583,22 @@ var arrayIncludes = {
|
|
|
581
583
|
|
|
582
584
|
var hiddenKeys$4 = {};
|
|
583
585
|
|
|
584
|
-
var uncurryThis$
|
|
585
|
-
var hasOwn$
|
|
586
|
+
var uncurryThis$f = functionUncurryThis;
|
|
587
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
586
588
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
587
589
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
588
590
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
589
591
|
|
|
590
|
-
var push$1 = uncurryThis$
|
|
592
|
+
var push$1 = uncurryThis$f([].push);
|
|
591
593
|
|
|
592
594
|
var objectKeysInternal = function (object, names) {
|
|
593
595
|
var O = toIndexedObject$3(object);
|
|
594
596
|
var i = 0;
|
|
595
597
|
var result = [];
|
|
596
598
|
var key;
|
|
597
|
-
for (key in O) !hasOwn$
|
|
599
|
+
for (key in O) !hasOwn$a(hiddenKeys$3, key) && hasOwn$a(O, key) && push$1(result, key);
|
|
598
600
|
// Don't enum bug & hidden keys
|
|
599
|
-
while (names.length > i) if (hasOwn$
|
|
601
|
+
while (names.length > i) if (hasOwn$a(O, key = names[i++])) {
|
|
600
602
|
~indexOf$1(result, key) || push$1(result, key);
|
|
601
603
|
}
|
|
602
604
|
return result;
|
|
@@ -623,24 +625,24 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
623
625
|
return internalObjectKeys$1(O, enumBugKeys$2);
|
|
624
626
|
};
|
|
625
627
|
|
|
626
|
-
var DESCRIPTORS$
|
|
628
|
+
var DESCRIPTORS$a = descriptors;
|
|
627
629
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
628
|
-
var definePropertyModule$
|
|
629
|
-
var anObject$
|
|
630
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
631
|
+
var anObject$g = anObject$i;
|
|
630
632
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
631
633
|
var objectKeys$1 = objectKeys$2;
|
|
632
634
|
|
|
633
635
|
// `Object.defineProperties` method
|
|
634
636
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
635
637
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
636
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
637
|
-
anObject$
|
|
638
|
+
objectDefineProperties.f = DESCRIPTORS$a && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
639
|
+
anObject$g(O);
|
|
638
640
|
var props = toIndexedObject$2(Properties);
|
|
639
641
|
var keys = objectKeys$1(Properties);
|
|
640
642
|
var length = keys.length;
|
|
641
643
|
var index = 0;
|
|
642
644
|
var key;
|
|
643
|
-
while (length > index) definePropertyModule$
|
|
645
|
+
while (length > index) definePropertyModule$4.f(O, key = keys[index++], props[key]);
|
|
644
646
|
return O;
|
|
645
647
|
};
|
|
646
648
|
|
|
@@ -658,7 +660,7 @@ var sharedKey$3 = function (key) {
|
|
|
658
660
|
};
|
|
659
661
|
|
|
660
662
|
/* global ActiveXObject -- old IE, WSH */
|
|
661
|
-
var anObject$
|
|
663
|
+
var anObject$f = anObject$i;
|
|
662
664
|
var definePropertiesModule = objectDefineProperties;
|
|
663
665
|
var enumBugKeys$1 = enumBugKeys$3;
|
|
664
666
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -732,7 +734,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
|
|
|
732
734
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
733
735
|
var result;
|
|
734
736
|
if (O !== null) {
|
|
735
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
737
|
+
EmptyConstructor[PROTOTYPE] = anObject$f(O);
|
|
736
738
|
result = new EmptyConstructor();
|
|
737
739
|
EmptyConstructor[PROTOTYPE] = null;
|
|
738
740
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -741,37 +743,37 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
741
743
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
742
744
|
};
|
|
743
745
|
|
|
744
|
-
var wellKnownSymbol$
|
|
745
|
-
var create$
|
|
746
|
-
var defineProperty$
|
|
746
|
+
var wellKnownSymbol$c = wellKnownSymbol$e;
|
|
747
|
+
var create$3 = objectCreate;
|
|
748
|
+
var defineProperty$6 = objectDefineProperty.f;
|
|
747
749
|
|
|
748
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
749
|
-
var ArrayPrototype = Array.prototype;
|
|
750
|
+
var UNSCOPABLES = wellKnownSymbol$c('unscopables');
|
|
751
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
750
752
|
|
|
751
753
|
// Array.prototype[@@unscopables]
|
|
752
754
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
753
|
-
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
754
|
-
defineProperty$
|
|
755
|
+
if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
|
|
756
|
+
defineProperty$6(ArrayPrototype$1, UNSCOPABLES, {
|
|
755
757
|
configurable: true,
|
|
756
|
-
value: create$
|
|
758
|
+
value: create$3(null)
|
|
757
759
|
});
|
|
758
760
|
}
|
|
759
761
|
|
|
760
762
|
// add a key to Array.prototype[@@unscopables]
|
|
761
763
|
var addToUnscopables$1 = function (key) {
|
|
762
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
764
|
+
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
763
765
|
};
|
|
764
766
|
|
|
765
767
|
var iterators = {};
|
|
766
768
|
|
|
767
|
-
var global$
|
|
768
|
-
var isCallable$
|
|
769
|
+
var global$a = global$h;
|
|
770
|
+
var isCallable$d = isCallable$j;
|
|
769
771
|
|
|
770
|
-
var WeakMap$2 = global$
|
|
772
|
+
var WeakMap$2 = global$a.WeakMap;
|
|
771
773
|
|
|
772
|
-
var weakMapBasicDetection = isCallable$
|
|
774
|
+
var weakMapBasicDetection = isCallable$d(WeakMap$2) && /native code/.test(String(WeakMap$2));
|
|
773
775
|
|
|
774
|
-
var createPropertyDescriptor$
|
|
776
|
+
var createPropertyDescriptor$5 = function (bitmap, value) {
|
|
775
777
|
return {
|
|
776
778
|
enumerable: !(bitmap & 1),
|
|
777
779
|
configurable: !(bitmap & 2),
|
|
@@ -780,29 +782,29 @@ var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
|
780
782
|
};
|
|
781
783
|
};
|
|
782
784
|
|
|
783
|
-
var DESCRIPTORS$
|
|
784
|
-
var definePropertyModule$
|
|
785
|
-
var createPropertyDescriptor$
|
|
785
|
+
var DESCRIPTORS$9 = descriptors;
|
|
786
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
787
|
+
var createPropertyDescriptor$4 = createPropertyDescriptor$5;
|
|
786
788
|
|
|
787
|
-
var createNonEnumerableProperty$
|
|
788
|
-
return definePropertyModule$
|
|
789
|
+
var createNonEnumerableProperty$9 = DESCRIPTORS$9 ? function (object, key, value) {
|
|
790
|
+
return definePropertyModule$3.f(object, key, createPropertyDescriptor$4(1, value));
|
|
789
791
|
} : function (object, key, value) {
|
|
790
792
|
object[key] = value;
|
|
791
793
|
return object;
|
|
792
794
|
};
|
|
793
795
|
|
|
794
796
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
795
|
-
var global$
|
|
797
|
+
var global$9 = global$h;
|
|
796
798
|
var isObject$5 = isObject$a;
|
|
797
|
-
var createNonEnumerableProperty$
|
|
798
|
-
var hasOwn$
|
|
799
|
+
var createNonEnumerableProperty$8 = createNonEnumerableProperty$9;
|
|
800
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
799
801
|
var shared$1 = sharedStoreExports;
|
|
800
802
|
var sharedKey$1 = sharedKey$3;
|
|
801
803
|
var hiddenKeys$1 = hiddenKeys$4;
|
|
802
804
|
|
|
803
805
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
804
|
-
var TypeError$1 = global$
|
|
805
|
-
var WeakMap$1 = global$
|
|
806
|
+
var TypeError$1 = global$9.TypeError;
|
|
807
|
+
var WeakMap$1 = global$9.WeakMap;
|
|
806
808
|
var set, get, has$1;
|
|
807
809
|
|
|
808
810
|
var enforce = function (it) {
|
|
@@ -841,16 +843,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
841
843
|
var STATE = sharedKey$1('state');
|
|
842
844
|
hiddenKeys$1[STATE] = true;
|
|
843
845
|
set = function (it, metadata) {
|
|
844
|
-
if (hasOwn$
|
|
846
|
+
if (hasOwn$9(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
845
847
|
metadata.facade = it;
|
|
846
|
-
createNonEnumerableProperty$
|
|
848
|
+
createNonEnumerableProperty$8(it, STATE, metadata);
|
|
847
849
|
return metadata;
|
|
848
850
|
};
|
|
849
851
|
get = function (it) {
|
|
850
|
-
return hasOwn$
|
|
852
|
+
return hasOwn$9(it, STATE) ? it[STATE] : {};
|
|
851
853
|
};
|
|
852
854
|
has$1 = function (it) {
|
|
853
|
-
return hasOwn$
|
|
855
|
+
return hasOwn$9(it, STATE);
|
|
854
856
|
};
|
|
855
857
|
}
|
|
856
858
|
|
|
@@ -880,13 +882,13 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
880
882
|
return !!descriptor && descriptor.enumerable;
|
|
881
883
|
} : $propertyIsEnumerable;
|
|
882
884
|
|
|
883
|
-
var DESCRIPTORS$
|
|
884
|
-
var call$
|
|
885
|
+
var DESCRIPTORS$8 = descriptors;
|
|
886
|
+
var call$f = functionCall;
|
|
885
887
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
886
|
-
var createPropertyDescriptor$
|
|
888
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
887
889
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
888
890
|
var toPropertyKey$1 = toPropertyKey$3;
|
|
889
|
-
var hasOwn$
|
|
891
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
890
892
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
891
893
|
|
|
892
894
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -894,28 +896,28 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
|
894
896
|
|
|
895
897
|
// `Object.getOwnPropertyDescriptor` method
|
|
896
898
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
897
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
899
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
898
900
|
O = toIndexedObject$1(O);
|
|
899
901
|
P = toPropertyKey$1(P);
|
|
900
902
|
if (IE8_DOM_DEFINE) try {
|
|
901
903
|
return $getOwnPropertyDescriptor(O, P);
|
|
902
904
|
} catch (error) { /* empty */ }
|
|
903
|
-
if (hasOwn$
|
|
905
|
+
if (hasOwn$8(O, P)) return createPropertyDescriptor$3(!call$f(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
904
906
|
};
|
|
905
907
|
|
|
906
|
-
var makeBuiltIn$
|
|
908
|
+
var makeBuiltIn$3 = {exports: {}};
|
|
907
909
|
|
|
908
|
-
var DESCRIPTORS$
|
|
909
|
-
var hasOwn$
|
|
910
|
+
var DESCRIPTORS$7 = descriptors;
|
|
911
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
910
912
|
|
|
911
913
|
var FunctionPrototype$1 = Function.prototype;
|
|
912
914
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
913
|
-
var getDescriptor = DESCRIPTORS$
|
|
915
|
+
var getDescriptor = DESCRIPTORS$7 && Object.getOwnPropertyDescriptor;
|
|
914
916
|
|
|
915
|
-
var EXISTS = hasOwn$
|
|
917
|
+
var EXISTS = hasOwn$7(FunctionPrototype$1, 'name');
|
|
916
918
|
// additional protection from minified / mangled / dropped function names
|
|
917
919
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
918
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
920
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$7 || (DESCRIPTORS$7 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
919
921
|
|
|
920
922
|
var functionName = {
|
|
921
923
|
EXISTS: EXISTS,
|
|
@@ -923,14 +925,14 @@ var functionName = {
|
|
|
923
925
|
CONFIGURABLE: CONFIGURABLE
|
|
924
926
|
};
|
|
925
927
|
|
|
926
|
-
var uncurryThis$
|
|
927
|
-
var isCallable$
|
|
928
|
+
var uncurryThis$e = functionUncurryThis;
|
|
929
|
+
var isCallable$c = isCallable$j;
|
|
928
930
|
var store = sharedStoreExports;
|
|
929
931
|
|
|
930
|
-
var functionToString = uncurryThis$
|
|
932
|
+
var functionToString = uncurryThis$e(Function.toString);
|
|
931
933
|
|
|
932
934
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
933
|
-
if (!isCallable$
|
|
935
|
+
if (!isCallable$c(store.inspectSource)) {
|
|
934
936
|
store.inspectSource = function (it) {
|
|
935
937
|
return functionToString(it);
|
|
936
938
|
};
|
|
@@ -938,73 +940,73 @@ if (!isCallable$b(store.inspectSource)) {
|
|
|
938
940
|
|
|
939
941
|
var inspectSource$1 = store.inspectSource;
|
|
940
942
|
|
|
941
|
-
var uncurryThis$
|
|
942
|
-
var fails$
|
|
943
|
-
var isCallable$
|
|
944
|
-
var hasOwn$
|
|
945
|
-
var DESCRIPTORS$
|
|
943
|
+
var uncurryThis$d = functionUncurryThis;
|
|
944
|
+
var fails$e = fails$l;
|
|
945
|
+
var isCallable$b = isCallable$j;
|
|
946
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
947
|
+
var DESCRIPTORS$6 = descriptors;
|
|
946
948
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
947
949
|
var inspectSource = inspectSource$1;
|
|
948
|
-
var InternalStateModule$
|
|
950
|
+
var InternalStateModule$2 = internalState;
|
|
949
951
|
|
|
950
|
-
var enforceInternalState = InternalStateModule$
|
|
951
|
-
var getInternalState$2 = InternalStateModule$
|
|
952
|
+
var enforceInternalState = InternalStateModule$2.enforce;
|
|
953
|
+
var getInternalState$2 = InternalStateModule$2.get;
|
|
952
954
|
var $String$2 = String;
|
|
953
955
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
954
|
-
var defineProperty$
|
|
955
|
-
var stringSlice$4 = uncurryThis$
|
|
956
|
-
var replace$4 = uncurryThis$
|
|
957
|
-
var join = uncurryThis$
|
|
956
|
+
var defineProperty$5 = Object.defineProperty;
|
|
957
|
+
var stringSlice$4 = uncurryThis$d(''.slice);
|
|
958
|
+
var replace$4 = uncurryThis$d(''.replace);
|
|
959
|
+
var join = uncurryThis$d([].join);
|
|
958
960
|
|
|
959
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
960
|
-
return defineProperty$
|
|
961
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$6 && !fails$e(function () {
|
|
962
|
+
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
961
963
|
});
|
|
962
964
|
|
|
963
965
|
var TEMPLATE = String(String).split('String');
|
|
964
966
|
|
|
965
|
-
var makeBuiltIn$
|
|
967
|
+
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
966
968
|
if (stringSlice$4($String$2(name), 0, 7) === 'Symbol(') {
|
|
967
969
|
name = '[' + replace$4($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
968
970
|
}
|
|
969
971
|
if (options && options.getter) name = 'get ' + name;
|
|
970
972
|
if (options && options.setter) name = 'set ' + name;
|
|
971
|
-
if (!hasOwn$
|
|
972
|
-
if (DESCRIPTORS$
|
|
973
|
+
if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
974
|
+
if (DESCRIPTORS$6) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
973
975
|
else value.name = name;
|
|
974
976
|
}
|
|
975
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
976
|
-
defineProperty$
|
|
977
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
|
|
978
|
+
defineProperty$5(value, 'length', { value: options.arity });
|
|
977
979
|
}
|
|
978
980
|
try {
|
|
979
|
-
if (options && hasOwn$
|
|
980
|
-
if (DESCRIPTORS$
|
|
981
|
+
if (options && hasOwn$6(options, 'constructor') && options.constructor) {
|
|
982
|
+
if (DESCRIPTORS$6) defineProperty$5(value, 'prototype', { writable: false });
|
|
981
983
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
982
984
|
} else if (value.prototype) value.prototype = undefined;
|
|
983
985
|
} catch (error) { /* empty */ }
|
|
984
986
|
var state = enforceInternalState(value);
|
|
985
|
-
if (!hasOwn$
|
|
987
|
+
if (!hasOwn$6(state, 'source')) {
|
|
986
988
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
987
989
|
} return value;
|
|
988
990
|
};
|
|
989
991
|
|
|
990
992
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
991
993
|
// eslint-disable-next-line no-extend-native -- required
|
|
992
|
-
Function.prototype.toString = makeBuiltIn$
|
|
993
|
-
return isCallable$
|
|
994
|
+
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
995
|
+
return isCallable$b(this) && getInternalState$2(this).source || inspectSource(this);
|
|
994
996
|
}, 'toString');
|
|
995
997
|
|
|
996
|
-
var makeBuiltInExports = makeBuiltIn$
|
|
998
|
+
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
997
999
|
|
|
998
|
-
var isCallable$
|
|
999
|
-
var definePropertyModule$
|
|
1000
|
-
var makeBuiltIn = makeBuiltInExports;
|
|
1000
|
+
var isCallable$a = isCallable$j;
|
|
1001
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
1002
|
+
var makeBuiltIn$1 = makeBuiltInExports;
|
|
1001
1003
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
1002
1004
|
|
|
1003
|
-
var defineBuiltIn$
|
|
1005
|
+
var defineBuiltIn$6 = function (O, key, value, options) {
|
|
1004
1006
|
if (!options) options = {};
|
|
1005
1007
|
var simple = options.enumerable;
|
|
1006
1008
|
var name = options.name !== undefined ? options.name : key;
|
|
1007
|
-
if (isCallable$
|
|
1009
|
+
if (isCallable$a(value)) makeBuiltIn$1(value, name, options);
|
|
1008
1010
|
if (options.global) {
|
|
1009
1011
|
if (simple) O[key] = value;
|
|
1010
1012
|
else defineGlobalProperty$1(key, value);
|
|
@@ -1014,7 +1016,7 @@ var defineBuiltIn$5 = function (O, key, value, options) {
|
|
|
1014
1016
|
else if (O[key]) simple = true;
|
|
1015
1017
|
} catch (error) { /* empty */ }
|
|
1016
1018
|
if (simple) O[key] = value;
|
|
1017
|
-
else definePropertyModule$
|
|
1019
|
+
else definePropertyModule$2.f(O, key, {
|
|
1018
1020
|
value: value,
|
|
1019
1021
|
enumerable: false,
|
|
1020
1022
|
configurable: !options.nonConfigurable,
|
|
@@ -1043,39 +1045,39 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1043
1045
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1044
1046
|
|
|
1045
1047
|
var getBuiltIn$1 = getBuiltIn$4;
|
|
1046
|
-
var uncurryThis$
|
|
1048
|
+
var uncurryThis$c = functionUncurryThis;
|
|
1047
1049
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1048
1050
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1049
|
-
var anObject$
|
|
1051
|
+
var anObject$e = anObject$i;
|
|
1050
1052
|
|
|
1051
|
-
var concat$2 = uncurryThis$
|
|
1053
|
+
var concat$2 = uncurryThis$c([].concat);
|
|
1052
1054
|
|
|
1053
1055
|
// all object keys, includes non-enumerable and symbols
|
|
1054
1056
|
var ownKeys$6 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1055
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
1057
|
+
var keys = getOwnPropertyNamesModule.f(anObject$e(it));
|
|
1056
1058
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1057
1059
|
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
1058
1060
|
};
|
|
1059
1061
|
|
|
1060
|
-
var hasOwn$
|
|
1062
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
1061
1063
|
var ownKeys$5 = ownKeys$6;
|
|
1062
1064
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1063
|
-
var definePropertyModule = objectDefineProperty;
|
|
1065
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
1064
1066
|
|
|
1065
1067
|
var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
1066
1068
|
var keys = ownKeys$5(source);
|
|
1067
|
-
var defineProperty = definePropertyModule.f;
|
|
1069
|
+
var defineProperty = definePropertyModule$1.f;
|
|
1068
1070
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1069
1071
|
for (var i = 0; i < keys.length; i++) {
|
|
1070
1072
|
var key = keys[i];
|
|
1071
|
-
if (!hasOwn$
|
|
1073
|
+
if (!hasOwn$5(target, key) && !(exceptions && hasOwn$5(exceptions, key))) {
|
|
1072
1074
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1073
1075
|
}
|
|
1074
1076
|
}
|
|
1075
1077
|
};
|
|
1076
1078
|
|
|
1077
|
-
var fails$
|
|
1078
|
-
var isCallable$
|
|
1079
|
+
var fails$d = fails$l;
|
|
1080
|
+
var isCallable$9 = isCallable$j;
|
|
1079
1081
|
|
|
1080
1082
|
var replacement = /#|\.prototype\./;
|
|
1081
1083
|
|
|
@@ -1083,7 +1085,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
1083
1085
|
var value = data[normalize(feature)];
|
|
1084
1086
|
return value === POLYFILL ? true
|
|
1085
1087
|
: value === NATIVE ? false
|
|
1086
|
-
: isCallable$
|
|
1088
|
+
: isCallable$9(detection) ? fails$d(detection)
|
|
1087
1089
|
: !!detection;
|
|
1088
1090
|
};
|
|
1089
1091
|
|
|
@@ -1097,10 +1099,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
1097
1099
|
|
|
1098
1100
|
var isForced_1 = isForced$1;
|
|
1099
1101
|
|
|
1100
|
-
var global$
|
|
1102
|
+
var global$8 = global$h;
|
|
1101
1103
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
1102
|
-
var createNonEnumerableProperty$
|
|
1103
|
-
var defineBuiltIn$
|
|
1104
|
+
var createNonEnumerableProperty$7 = createNonEnumerableProperty$9;
|
|
1105
|
+
var defineBuiltIn$5 = defineBuiltIn$6;
|
|
1104
1106
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
1105
1107
|
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
1106
1108
|
var isForced = isForced_1;
|
|
@@ -1126,11 +1128,11 @@ var _export = function (options, source) {
|
|
|
1126
1128
|
var STATIC = options.stat;
|
|
1127
1129
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1128
1130
|
if (GLOBAL) {
|
|
1129
|
-
target = global$
|
|
1131
|
+
target = global$8;
|
|
1130
1132
|
} else if (STATIC) {
|
|
1131
|
-
target = global$
|
|
1133
|
+
target = global$8[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1132
1134
|
} else {
|
|
1133
|
-
target = global$
|
|
1135
|
+
target = global$8[TARGET] && global$8[TARGET].prototype;
|
|
1134
1136
|
}
|
|
1135
1137
|
if (target) for (key in source) {
|
|
1136
1138
|
sourceProperty = source[key];
|
|
@@ -1146,23 +1148,23 @@ var _export = function (options, source) {
|
|
|
1146
1148
|
}
|
|
1147
1149
|
// add a flag to not completely full polyfills
|
|
1148
1150
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1149
|
-
createNonEnumerableProperty$
|
|
1151
|
+
createNonEnumerableProperty$7(sourceProperty, 'sham', true);
|
|
1150
1152
|
}
|
|
1151
|
-
defineBuiltIn$
|
|
1153
|
+
defineBuiltIn$5(target, key, sourceProperty, options);
|
|
1152
1154
|
}
|
|
1153
1155
|
};
|
|
1154
1156
|
|
|
1155
|
-
var fails$
|
|
1157
|
+
var fails$c = fails$l;
|
|
1156
1158
|
|
|
1157
|
-
var correctPrototypeGetter = !fails$
|
|
1159
|
+
var correctPrototypeGetter = !fails$c(function () {
|
|
1158
1160
|
function F() { /* empty */ }
|
|
1159
1161
|
F.prototype.constructor = null;
|
|
1160
1162
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1161
1163
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1162
1164
|
});
|
|
1163
1165
|
|
|
1164
|
-
var hasOwn$
|
|
1165
|
-
var isCallable$
|
|
1166
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
1167
|
+
var isCallable$8 = isCallable$j;
|
|
1166
1168
|
var toObject$3 = toObject$5;
|
|
1167
1169
|
var sharedKey = sharedKey$3;
|
|
1168
1170
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1176,26 +1178,26 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1176
1178
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1177
1179
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1178
1180
|
var object = toObject$3(O);
|
|
1179
|
-
if (hasOwn$
|
|
1181
|
+
if (hasOwn$4(object, IE_PROTO)) return object[IE_PROTO];
|
|
1180
1182
|
var constructor = object.constructor;
|
|
1181
|
-
if (isCallable$
|
|
1183
|
+
if (isCallable$8(constructor) && object instanceof constructor) {
|
|
1182
1184
|
return constructor.prototype;
|
|
1183
1185
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1184
1186
|
};
|
|
1185
1187
|
|
|
1186
|
-
var fails$
|
|
1187
|
-
var isCallable$
|
|
1188
|
+
var fails$b = fails$l;
|
|
1189
|
+
var isCallable$7 = isCallable$j;
|
|
1188
1190
|
var isObject$4 = isObject$a;
|
|
1189
|
-
var getPrototypeOf$
|
|
1190
|
-
var defineBuiltIn$
|
|
1191
|
-
var wellKnownSymbol$
|
|
1191
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
1192
|
+
var defineBuiltIn$4 = defineBuiltIn$6;
|
|
1193
|
+
var wellKnownSymbol$b = wellKnownSymbol$e;
|
|
1192
1194
|
|
|
1193
|
-
var ITERATOR$
|
|
1195
|
+
var ITERATOR$6 = wellKnownSymbol$b('iterator');
|
|
1194
1196
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1195
1197
|
|
|
1196
1198
|
// `%IteratorPrototype%` object
|
|
1197
1199
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1198
|
-
var IteratorPrototype$
|
|
1200
|
+
var IteratorPrototype$4, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1199
1201
|
|
|
1200
1202
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1201
1203
|
if ([].keys) {
|
|
@@ -1203,68 +1205,68 @@ if ([].keys) {
|
|
|
1203
1205
|
// Safari 8 has buggy iterators w/o `next`
|
|
1204
1206
|
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
1205
1207
|
else {
|
|
1206
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
1207
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
1208
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
1209
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$4 = PrototypeOfArrayIteratorPrototype;
|
|
1208
1210
|
}
|
|
1209
1211
|
}
|
|
1210
1212
|
|
|
1211
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$
|
|
1213
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$4) || fails$b(function () {
|
|
1212
1214
|
var test = {};
|
|
1213
1215
|
// FF44- legacy iterators case
|
|
1214
|
-
return IteratorPrototype$
|
|
1216
|
+
return IteratorPrototype$4[ITERATOR$6].call(test) !== test;
|
|
1215
1217
|
});
|
|
1216
1218
|
|
|
1217
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
1219
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
|
|
1218
1220
|
|
|
1219
1221
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1220
1222
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1221
|
-
if (!isCallable$
|
|
1222
|
-
defineBuiltIn$
|
|
1223
|
+
if (!isCallable$7(IteratorPrototype$4[ITERATOR$6])) {
|
|
1224
|
+
defineBuiltIn$4(IteratorPrototype$4, ITERATOR$6, function () {
|
|
1223
1225
|
return this;
|
|
1224
1226
|
});
|
|
1225
1227
|
}
|
|
1226
1228
|
|
|
1227
1229
|
var iteratorsCore = {
|
|
1228
|
-
IteratorPrototype: IteratorPrototype$
|
|
1230
|
+
IteratorPrototype: IteratorPrototype$4,
|
|
1229
1231
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1230
1232
|
};
|
|
1231
1233
|
|
|
1232
|
-
var defineProperty$
|
|
1233
|
-
var hasOwn$
|
|
1234
|
-
var wellKnownSymbol$
|
|
1234
|
+
var defineProperty$4 = objectDefineProperty.f;
|
|
1235
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1236
|
+
var wellKnownSymbol$a = wellKnownSymbol$e;
|
|
1235
1237
|
|
|
1236
|
-
var TO_STRING_TAG$
|
|
1238
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$a('toStringTag');
|
|
1237
1239
|
|
|
1238
1240
|
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
1239
1241
|
if (target && !STATIC) target = target.prototype;
|
|
1240
|
-
if (target && !hasOwn$
|
|
1241
|
-
defineProperty$
|
|
1242
|
+
if (target && !hasOwn$3(target, TO_STRING_TAG$4)) {
|
|
1243
|
+
defineProperty$4(target, TO_STRING_TAG$4, { configurable: true, value: TAG });
|
|
1242
1244
|
}
|
|
1243
1245
|
};
|
|
1244
1246
|
|
|
1245
|
-
var IteratorPrototype$
|
|
1246
|
-
var create$
|
|
1247
|
-
var createPropertyDescriptor$
|
|
1247
|
+
var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
|
|
1248
|
+
var create$2 = objectCreate;
|
|
1249
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$5;
|
|
1248
1250
|
var setToStringTag$2 = setToStringTag$3;
|
|
1249
|
-
var Iterators$
|
|
1251
|
+
var Iterators$4 = iterators;
|
|
1250
1252
|
|
|
1251
1253
|
var returnThis$1 = function () { return this; };
|
|
1252
1254
|
|
|
1253
1255
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1254
1256
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1255
|
-
IteratorConstructor.prototype = create$
|
|
1257
|
+
IteratorConstructor.prototype = create$2(IteratorPrototype$3, { next: createPropertyDescriptor$2(+!ENUMERABLE_NEXT, next) });
|
|
1256
1258
|
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
1257
|
-
Iterators$
|
|
1259
|
+
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
1258
1260
|
return IteratorConstructor;
|
|
1259
1261
|
};
|
|
1260
1262
|
|
|
1261
|
-
var uncurryThis$
|
|
1262
|
-
var aCallable = aCallable$
|
|
1263
|
+
var uncurryThis$b = functionUncurryThis;
|
|
1264
|
+
var aCallable$6 = aCallable$8;
|
|
1263
1265
|
|
|
1264
1266
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1265
1267
|
try {
|
|
1266
1268
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1267
|
-
return uncurryThis$
|
|
1269
|
+
return uncurryThis$b(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1268
1270
|
} catch (error) { /* empty */ }
|
|
1269
1271
|
};
|
|
1270
1272
|
|
|
@@ -1277,11 +1279,11 @@ var isPossiblePrototype$1 = function (argument) {
|
|
|
1277
1279
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1278
1280
|
|
|
1279
1281
|
var $String$1 = String;
|
|
1280
|
-
var $TypeError$
|
|
1282
|
+
var $TypeError$7 = TypeError;
|
|
1281
1283
|
|
|
1282
1284
|
var aPossiblePrototype$1 = function (argument) {
|
|
1283
1285
|
if (isPossiblePrototype(argument)) return argument;
|
|
1284
|
-
throw new $TypeError$
|
|
1286
|
+
throw new $TypeError$7("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1285
1287
|
};
|
|
1286
1288
|
|
|
1287
1289
|
/* eslint-disable no-proto -- safe */
|
|
@@ -1313,25 +1315,25 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1313
1315
|
};
|
|
1314
1316
|
}() : undefined);
|
|
1315
1317
|
|
|
1316
|
-
var $$
|
|
1317
|
-
var call$
|
|
1318
|
+
var $$c = _export;
|
|
1319
|
+
var call$e = functionCall;
|
|
1318
1320
|
var FunctionName = functionName;
|
|
1319
|
-
var isCallable$
|
|
1321
|
+
var isCallable$6 = isCallable$j;
|
|
1320
1322
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1321
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
1323
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1322
1324
|
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
1323
1325
|
var setToStringTag$1 = setToStringTag$3;
|
|
1324
|
-
var createNonEnumerableProperty$
|
|
1325
|
-
var defineBuiltIn$
|
|
1326
|
-
var wellKnownSymbol$
|
|
1327
|
-
var Iterators$
|
|
1326
|
+
var createNonEnumerableProperty$6 = createNonEnumerableProperty$9;
|
|
1327
|
+
var defineBuiltIn$3 = defineBuiltIn$6;
|
|
1328
|
+
var wellKnownSymbol$9 = wellKnownSymbol$e;
|
|
1329
|
+
var Iterators$3 = iterators;
|
|
1328
1330
|
var IteratorsCore = iteratorsCore;
|
|
1329
1331
|
|
|
1330
1332
|
var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
|
|
1331
1333
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1332
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
1334
|
+
var IteratorPrototype$2 = IteratorsCore.IteratorPrototype;
|
|
1333
1335
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1334
|
-
var ITERATOR$
|
|
1336
|
+
var ITERATOR$5 = wellKnownSymbol$9('iterator');
|
|
1335
1337
|
var KEYS = 'keys';
|
|
1336
1338
|
var VALUES = 'values';
|
|
1337
1339
|
var ENTRIES = 'entries';
|
|
@@ -1357,7 +1359,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1357
1359
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1358
1360
|
var INCORRECT_VALUES_NAME = false;
|
|
1359
1361
|
var IterablePrototype = Iterable.prototype;
|
|
1360
|
-
var nativeIterator = IterablePrototype[ITERATOR$
|
|
1362
|
+
var nativeIterator = IterablePrototype[ITERATOR$5]
|
|
1361
1363
|
|| IterablePrototype['@@iterator']
|
|
1362
1364
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
1363
1365
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
@@ -1366,13 +1368,13 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1366
1368
|
|
|
1367
1369
|
// fix native
|
|
1368
1370
|
if (anyNativeIterator) {
|
|
1369
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
1371
|
+
CurrentIteratorPrototype = getPrototypeOf$1(anyNativeIterator.call(new Iterable()));
|
|
1370
1372
|
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1371
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
1373
|
+
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$2) {
|
|
1372
1374
|
if (setPrototypeOf$2) {
|
|
1373
|
-
setPrototypeOf$2(CurrentIteratorPrototype, IteratorPrototype);
|
|
1374
|
-
} else if (!isCallable$
|
|
1375
|
-
defineBuiltIn$
|
|
1375
|
+
setPrototypeOf$2(CurrentIteratorPrototype, IteratorPrototype$2);
|
|
1376
|
+
} else if (!isCallable$6(CurrentIteratorPrototype[ITERATOR$5])) {
|
|
1377
|
+
defineBuiltIn$3(CurrentIteratorPrototype, ITERATOR$5, returnThis);
|
|
1376
1378
|
}
|
|
1377
1379
|
}
|
|
1378
1380
|
// Set @@toStringTag to native iterators
|
|
@@ -1383,10 +1385,10 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1383
1385
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
1384
1386
|
if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1385
1387
|
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
1386
|
-
createNonEnumerableProperty$
|
|
1388
|
+
createNonEnumerableProperty$6(IterablePrototype, 'name', VALUES);
|
|
1387
1389
|
} else {
|
|
1388
1390
|
INCORRECT_VALUES_NAME = true;
|
|
1389
|
-
defaultIterator = function values() { return call$
|
|
1391
|
+
defaultIterator = function values() { return call$e(nativeIterator, this); };
|
|
1390
1392
|
}
|
|
1391
1393
|
}
|
|
1392
1394
|
|
|
@@ -1399,38 +1401,38 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1399
1401
|
};
|
|
1400
1402
|
if (FORCED) for (KEY in methods) {
|
|
1401
1403
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1402
|
-
defineBuiltIn$
|
|
1404
|
+
defineBuiltIn$3(IterablePrototype, KEY, methods[KEY]);
|
|
1403
1405
|
}
|
|
1404
|
-
} else $$
|
|
1406
|
+
} else $$c({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1405
1407
|
}
|
|
1406
1408
|
|
|
1407
1409
|
// define iterator
|
|
1408
|
-
if (IterablePrototype[ITERATOR$
|
|
1409
|
-
defineBuiltIn$
|
|
1410
|
+
if (IterablePrototype[ITERATOR$5] !== defaultIterator) {
|
|
1411
|
+
defineBuiltIn$3(IterablePrototype, ITERATOR$5, defaultIterator, { name: DEFAULT });
|
|
1410
1412
|
}
|
|
1411
|
-
Iterators$
|
|
1413
|
+
Iterators$3[NAME] = defaultIterator;
|
|
1412
1414
|
|
|
1413
1415
|
return methods;
|
|
1414
1416
|
};
|
|
1415
1417
|
|
|
1416
1418
|
// `CreateIterResultObject` abstract operation
|
|
1417
1419
|
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1418
|
-
var createIterResultObject$
|
|
1420
|
+
var createIterResultObject$2 = function (value, done) {
|
|
1419
1421
|
return { value: value, done: done };
|
|
1420
1422
|
};
|
|
1421
1423
|
|
|
1422
1424
|
var toIndexedObject = toIndexedObject$5;
|
|
1423
1425
|
var addToUnscopables = addToUnscopables$1;
|
|
1424
|
-
var Iterators = iterators;
|
|
1425
|
-
var InternalStateModule = internalState;
|
|
1426
|
-
var defineProperty$
|
|
1426
|
+
var Iterators$2 = iterators;
|
|
1427
|
+
var InternalStateModule$1 = internalState;
|
|
1428
|
+
var defineProperty$3 = objectDefineProperty.f;
|
|
1427
1429
|
var defineIterator = iteratorDefine;
|
|
1428
|
-
var createIterResultObject = createIterResultObject$
|
|
1429
|
-
var DESCRIPTORS$
|
|
1430
|
+
var createIterResultObject$1 = createIterResultObject$2;
|
|
1431
|
+
var DESCRIPTORS$5 = descriptors;
|
|
1430
1432
|
|
|
1431
1433
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1432
|
-
var setInternalState = InternalStateModule.set;
|
|
1433
|
-
var getInternalState$1 = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
1434
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
1435
|
+
var getInternalState$1 = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
|
1434
1436
|
|
|
1435
1437
|
// `Array.prototype.entries` method
|
|
1436
1438
|
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
@@ -1443,7 +1445,7 @@ var getInternalState$1 = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
|
1443
1445
|
// `CreateArrayIterator` internal method
|
|
1444
1446
|
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
1445
1447
|
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
1446
|
-
setInternalState(this, {
|
|
1448
|
+
setInternalState$1(this, {
|
|
1447
1449
|
type: ARRAY_ITERATOR,
|
|
1448
1450
|
target: toIndexedObject(iterated), // target
|
|
1449
1451
|
index: 0, // next index
|
|
@@ -1457,18 +1459,18 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
1457
1459
|
var index = state.index++;
|
|
1458
1460
|
if (!target || index >= target.length) {
|
|
1459
1461
|
state.target = undefined;
|
|
1460
|
-
return createIterResultObject(undefined, true);
|
|
1462
|
+
return createIterResultObject$1(undefined, true);
|
|
1461
1463
|
}
|
|
1462
1464
|
switch (state.kind) {
|
|
1463
|
-
case 'keys': return createIterResultObject(index, false);
|
|
1464
|
-
case 'values': return createIterResultObject(target[index], false);
|
|
1465
|
-
} return createIterResultObject([index, target[index]], false);
|
|
1465
|
+
case 'keys': return createIterResultObject$1(index, false);
|
|
1466
|
+
case 'values': return createIterResultObject$1(target[index], false);
|
|
1467
|
+
} return createIterResultObject$1([index, target[index]], false);
|
|
1466
1468
|
}, 'values');
|
|
1467
1469
|
|
|
1468
1470
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
1469
1471
|
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
1470
1472
|
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
1471
|
-
var values$1 = Iterators.Arguments = Iterators.Array;
|
|
1473
|
+
var values$1 = Iterators$2.Arguments = Iterators$2.Array;
|
|
1472
1474
|
|
|
1473
1475
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1474
1476
|
addToUnscopables('keys');
|
|
@@ -1476,29 +1478,29 @@ addToUnscopables('values');
|
|
|
1476
1478
|
addToUnscopables('entries');
|
|
1477
1479
|
|
|
1478
1480
|
// V8 ~ Chrome 45- bug
|
|
1479
|
-
if (DESCRIPTORS$
|
|
1480
|
-
defineProperty$
|
|
1481
|
+
if (DESCRIPTORS$5 && values$1.name !== 'values') try {
|
|
1482
|
+
defineProperty$3(values$1, 'name', { value: 'values' });
|
|
1481
1483
|
} catch (error) { /* empty */ }
|
|
1482
1484
|
|
|
1483
|
-
var wellKnownSymbol$
|
|
1485
|
+
var wellKnownSymbol$8 = wellKnownSymbol$e;
|
|
1484
1486
|
|
|
1485
|
-
var TO_STRING_TAG$
|
|
1487
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$8('toStringTag');
|
|
1486
1488
|
var test$1 = {};
|
|
1487
1489
|
|
|
1488
|
-
test$1[TO_STRING_TAG$
|
|
1490
|
+
test$1[TO_STRING_TAG$3] = 'z';
|
|
1489
1491
|
|
|
1490
1492
|
var toStringTagSupport = String(test$1) === '[object z]';
|
|
1491
1493
|
|
|
1492
1494
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1493
|
-
var isCallable$
|
|
1494
|
-
var classofRaw = classofRaw$
|
|
1495
|
-
var wellKnownSymbol$
|
|
1495
|
+
var isCallable$5 = isCallable$j;
|
|
1496
|
+
var classofRaw$1 = classofRaw$2;
|
|
1497
|
+
var wellKnownSymbol$7 = wellKnownSymbol$e;
|
|
1496
1498
|
|
|
1497
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
1499
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$7('toStringTag');
|
|
1498
1500
|
var $Object = Object;
|
|
1499
1501
|
|
|
1500
1502
|
// ES3 wrong here
|
|
1501
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
1503
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
|
|
1502
1504
|
|
|
1503
1505
|
// fallback for IE11 Script Access Denied error
|
|
1504
1506
|
var tryGet = function (it, key) {
|
|
@@ -1508,32 +1510,32 @@ var tryGet = function (it, key) {
|
|
|
1508
1510
|
};
|
|
1509
1511
|
|
|
1510
1512
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1511
|
-
var classof$
|
|
1513
|
+
var classof$4 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
1512
1514
|
var O, tag, result;
|
|
1513
1515
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1514
1516
|
// @@toStringTag case
|
|
1515
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1517
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$2)) == 'string' ? tag
|
|
1516
1518
|
// builtinTag case
|
|
1517
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1519
|
+
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1518
1520
|
// ES3 arguments fallback
|
|
1519
|
-
: (result = classofRaw(O)) === 'Object' && isCallable$
|
|
1521
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$5(O.callee) ? 'Arguments' : result;
|
|
1520
1522
|
};
|
|
1521
1523
|
|
|
1522
|
-
var classof$
|
|
1524
|
+
var classof$3 = classof$4;
|
|
1523
1525
|
|
|
1524
1526
|
var $String = String;
|
|
1525
1527
|
|
|
1526
1528
|
var toString$7 = function (argument) {
|
|
1527
|
-
if (classof$
|
|
1529
|
+
if (classof$3(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
1528
1530
|
return $String(argument);
|
|
1529
1531
|
};
|
|
1530
1532
|
|
|
1531
|
-
var anObject$
|
|
1533
|
+
var anObject$d = anObject$i;
|
|
1532
1534
|
|
|
1533
1535
|
// `RegExp.prototype.flags` getter implementation
|
|
1534
1536
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
1535
1537
|
var regexpFlags$1 = function () {
|
|
1536
|
-
var that = anObject$
|
|
1538
|
+
var that = anObject$d(this);
|
|
1537
1539
|
var result = '';
|
|
1538
1540
|
if (that.hasIndices) result += 'd';
|
|
1539
1541
|
if (that.global) result += 'g';
|
|
@@ -1546,13 +1548,13 @@ var regexpFlags$1 = function () {
|
|
|
1546
1548
|
return result;
|
|
1547
1549
|
};
|
|
1548
1550
|
|
|
1549
|
-
var fails$
|
|
1550
|
-
var global$
|
|
1551
|
+
var fails$a = fails$l;
|
|
1552
|
+
var global$7 = global$h;
|
|
1551
1553
|
|
|
1552
1554
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
1553
|
-
var $RegExp$2 = global$
|
|
1555
|
+
var $RegExp$2 = global$7.RegExp;
|
|
1554
1556
|
|
|
1555
|
-
var UNSUPPORTED_Y$1 = fails$
|
|
1557
|
+
var UNSUPPORTED_Y$1 = fails$a(function () {
|
|
1556
1558
|
var re = $RegExp$2('a', 'y');
|
|
1557
1559
|
re.lastIndex = 2;
|
|
1558
1560
|
return re.exec('abcd') !== null;
|
|
@@ -1560,11 +1562,11 @@ var UNSUPPORTED_Y$1 = fails$9(function () {
|
|
|
1560
1562
|
|
|
1561
1563
|
// UC Browser bug
|
|
1562
1564
|
// https://github.com/zloirock/core-js/issues/1008
|
|
1563
|
-
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$
|
|
1565
|
+
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$a(function () {
|
|
1564
1566
|
return !$RegExp$2('a', 'y').sticky;
|
|
1565
1567
|
});
|
|
1566
1568
|
|
|
1567
|
-
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$
|
|
1569
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$a(function () {
|
|
1568
1570
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
1569
1571
|
var re = $RegExp$2('^r', 'gy');
|
|
1570
1572
|
re.lastIndex = 2;
|
|
@@ -1577,24 +1579,24 @@ var regexpStickyHelpers = {
|
|
|
1577
1579
|
UNSUPPORTED_Y: UNSUPPORTED_Y$1
|
|
1578
1580
|
};
|
|
1579
1581
|
|
|
1580
|
-
var fails$
|
|
1581
|
-
var global$
|
|
1582
|
+
var fails$9 = fails$l;
|
|
1583
|
+
var global$6 = global$h;
|
|
1582
1584
|
|
|
1583
1585
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
1584
|
-
var $RegExp$1 = global$
|
|
1586
|
+
var $RegExp$1 = global$6.RegExp;
|
|
1585
1587
|
|
|
1586
|
-
var regexpUnsupportedDotAll = fails$
|
|
1588
|
+
var regexpUnsupportedDotAll = fails$9(function () {
|
|
1587
1589
|
var re = $RegExp$1('.', 's');
|
|
1588
1590
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
1589
1591
|
});
|
|
1590
1592
|
|
|
1591
|
-
var fails$
|
|
1592
|
-
var global$
|
|
1593
|
+
var fails$8 = fails$l;
|
|
1594
|
+
var global$5 = global$h;
|
|
1593
1595
|
|
|
1594
1596
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
1595
|
-
var $RegExp = global$
|
|
1597
|
+
var $RegExp = global$5.RegExp;
|
|
1596
1598
|
|
|
1597
|
-
var regexpUnsupportedNcg = fails$
|
|
1599
|
+
var regexpUnsupportedNcg = fails$8(function () {
|
|
1598
1600
|
var re = $RegExp('(?<a>b)', 'g');
|
|
1599
1601
|
return re.exec('b').groups.a !== 'b' ||
|
|
1600
1602
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -1602,13 +1604,13 @@ var regexpUnsupportedNcg = fails$7(function () {
|
|
|
1602
1604
|
|
|
1603
1605
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
1604
1606
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
1605
|
-
var call$
|
|
1606
|
-
var uncurryThis$
|
|
1607
|
+
var call$d = functionCall;
|
|
1608
|
+
var uncurryThis$a = functionUncurryThis;
|
|
1607
1609
|
var toString$6 = toString$7;
|
|
1608
1610
|
var regexpFlags = regexpFlags$1;
|
|
1609
1611
|
var stickyHelpers = regexpStickyHelpers;
|
|
1610
1612
|
var shared = shared$4;
|
|
1611
|
-
var create = objectCreate;
|
|
1613
|
+
var create$1 = objectCreate;
|
|
1612
1614
|
var getInternalState = internalState.get;
|
|
1613
1615
|
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
1614
1616
|
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
@@ -1616,16 +1618,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
1616
1618
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
1617
1619
|
var nativeExec = RegExp.prototype.exec;
|
|
1618
1620
|
var patchedExec = nativeExec;
|
|
1619
|
-
var charAt$3 = uncurryThis$
|
|
1620
|
-
var indexOf = uncurryThis$
|
|
1621
|
-
var replace$3 = uncurryThis$
|
|
1622
|
-
var stringSlice$3 = uncurryThis$
|
|
1621
|
+
var charAt$3 = uncurryThis$a(''.charAt);
|
|
1622
|
+
var indexOf = uncurryThis$a(''.indexOf);
|
|
1623
|
+
var replace$3 = uncurryThis$a(''.replace);
|
|
1624
|
+
var stringSlice$3 = uncurryThis$a(''.slice);
|
|
1623
1625
|
|
|
1624
1626
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
1625
1627
|
var re1 = /a/;
|
|
1626
1628
|
var re2 = /b*/g;
|
|
1627
|
-
call$
|
|
1628
|
-
call$
|
|
1629
|
+
call$d(nativeExec, re1, 'a');
|
|
1630
|
+
call$d(nativeExec, re2, 'a');
|
|
1629
1631
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
1630
1632
|
})();
|
|
1631
1633
|
|
|
@@ -1646,14 +1648,14 @@ if (PATCH) {
|
|
|
1646
1648
|
|
|
1647
1649
|
if (raw) {
|
|
1648
1650
|
raw.lastIndex = re.lastIndex;
|
|
1649
|
-
result = call$
|
|
1651
|
+
result = call$d(patchedExec, raw, str);
|
|
1650
1652
|
re.lastIndex = raw.lastIndex;
|
|
1651
1653
|
return result;
|
|
1652
1654
|
}
|
|
1653
1655
|
|
|
1654
1656
|
var groups = state.groups;
|
|
1655
1657
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
1656
|
-
var flags = call$
|
|
1658
|
+
var flags = call$d(regexpFlags, re);
|
|
1657
1659
|
var source = re.source;
|
|
1658
1660
|
var charsAdded = 0;
|
|
1659
1661
|
var strCopy = str;
|
|
@@ -1681,7 +1683,7 @@ if (PATCH) {
|
|
|
1681
1683
|
}
|
|
1682
1684
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
1683
1685
|
|
|
1684
|
-
match = call$
|
|
1686
|
+
match = call$d(nativeExec, sticky ? reCopy : re, strCopy);
|
|
1685
1687
|
|
|
1686
1688
|
if (sticky) {
|
|
1687
1689
|
if (match) {
|
|
@@ -1696,7 +1698,7 @@ if (PATCH) {
|
|
|
1696
1698
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
1697
1699
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
1698
1700
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
1699
|
-
call$
|
|
1701
|
+
call$d(nativeReplace, match[0], reCopy, function () {
|
|
1700
1702
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
1701
1703
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
1702
1704
|
}
|
|
@@ -1704,7 +1706,7 @@ if (PATCH) {
|
|
|
1704
1706
|
}
|
|
1705
1707
|
|
|
1706
1708
|
if (match && groups) {
|
|
1707
|
-
match.groups = object = create(null);
|
|
1709
|
+
match.groups = object = create$1(null);
|
|
1708
1710
|
for (i = 0; i < groups.length; i++) {
|
|
1709
1711
|
group = groups[i];
|
|
1710
1712
|
object[group[0]] = match[group[1]];
|
|
@@ -1717,21 +1719,21 @@ if (PATCH) {
|
|
|
1717
1719
|
|
|
1718
1720
|
var regexpExec$2 = patchedExec;
|
|
1719
1721
|
|
|
1720
|
-
var $$
|
|
1722
|
+
var $$b = _export;
|
|
1721
1723
|
var exec$1 = regexpExec$2;
|
|
1722
1724
|
|
|
1723
1725
|
// `RegExp.prototype.exec` method
|
|
1724
1726
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
1725
|
-
$$
|
|
1727
|
+
$$b({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
|
|
1726
1728
|
exec: exec$1
|
|
1727
1729
|
});
|
|
1728
1730
|
|
|
1729
1731
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
1730
1732
|
|
|
1731
|
-
var $$
|
|
1732
|
-
var call$
|
|
1733
|
-
var isCallable$
|
|
1734
|
-
var anObject$
|
|
1733
|
+
var $$a = _export;
|
|
1734
|
+
var call$c = functionCall;
|
|
1735
|
+
var isCallable$4 = isCallable$j;
|
|
1736
|
+
var anObject$c = anObject$i;
|
|
1735
1737
|
var toString$5 = toString$7;
|
|
1736
1738
|
|
|
1737
1739
|
var DELEGATES_TO_EXEC = function () {
|
|
@@ -1748,15 +1750,15 @@ var nativeTest = /./.test;
|
|
|
1748
1750
|
|
|
1749
1751
|
// `RegExp.prototype.test` method
|
|
1750
1752
|
// https://tc39.es/ecma262/#sec-regexp.prototype.test
|
|
1751
|
-
$$
|
|
1753
|
+
$$a({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
|
|
1752
1754
|
test: function (S) {
|
|
1753
|
-
var R = anObject$
|
|
1755
|
+
var R = anObject$c(this);
|
|
1754
1756
|
var string = toString$5(S);
|
|
1755
1757
|
var exec = R.exec;
|
|
1756
|
-
if (!isCallable$
|
|
1757
|
-
var result = call$
|
|
1758
|
+
if (!isCallable$4(exec)) return call$c(nativeTest, R, string);
|
|
1759
|
+
var result = call$c(exec, R, string);
|
|
1758
1760
|
if (result === null) return false;
|
|
1759
|
-
anObject$
|
|
1761
|
+
anObject$c(result);
|
|
1760
1762
|
return true;
|
|
1761
1763
|
}
|
|
1762
1764
|
});
|
|
@@ -1805,30 +1807,30 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1805
1807
|
|
|
1806
1808
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1807
1809
|
|
|
1808
|
-
var global$
|
|
1810
|
+
var global$4 = global$h;
|
|
1809
1811
|
var DOMIterables = domIterables;
|
|
1810
1812
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1811
1813
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1812
|
-
var createNonEnumerableProperty$
|
|
1814
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$9;
|
|
1813
1815
|
var setToStringTag = setToStringTag$3;
|
|
1814
|
-
var wellKnownSymbol$
|
|
1816
|
+
var wellKnownSymbol$6 = wellKnownSymbol$e;
|
|
1815
1817
|
|
|
1816
|
-
var ITERATOR$
|
|
1818
|
+
var ITERATOR$4 = wellKnownSymbol$6('iterator');
|
|
1817
1819
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1818
1820
|
|
|
1819
1821
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
1820
1822
|
if (CollectionPrototype) {
|
|
1821
1823
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1822
|
-
if (CollectionPrototype[ITERATOR$
|
|
1823
|
-
createNonEnumerableProperty$
|
|
1824
|
+
if (CollectionPrototype[ITERATOR$4] !== ArrayValues) try {
|
|
1825
|
+
createNonEnumerableProperty$5(CollectionPrototype, ITERATOR$4, ArrayValues);
|
|
1824
1826
|
} catch (error) {
|
|
1825
|
-
CollectionPrototype[ITERATOR$
|
|
1827
|
+
CollectionPrototype[ITERATOR$4] = ArrayValues;
|
|
1826
1828
|
}
|
|
1827
1829
|
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
1828
1830
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
1829
1831
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1830
1832
|
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
1831
|
-
createNonEnumerableProperty$
|
|
1833
|
+
createNonEnumerableProperty$5(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
1832
1834
|
} catch (error) {
|
|
1833
1835
|
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
1834
1836
|
}
|
|
@@ -1837,7 +1839,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1837
1839
|
};
|
|
1838
1840
|
|
|
1839
1841
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1840
|
-
handlePrototype(global$
|
|
1842
|
+
handlePrototype(global$4[COLLECTION_NAME] && global$4[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1841
1843
|
}
|
|
1842
1844
|
|
|
1843
1845
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -1846,12 +1848,12 @@ handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
|
1846
1848
|
var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
1847
1849
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
1848
1850
|
|
|
1849
|
-
var uncurryThis$
|
|
1851
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
1850
1852
|
var requireObjectCoercible$2 = requireObjectCoercible$6;
|
|
1851
1853
|
var toString$4 = toString$7;
|
|
1852
1854
|
var whitespaces$1 = whitespaces$2;
|
|
1853
1855
|
|
|
1854
|
-
var replace$2 = uncurryThis$
|
|
1856
|
+
var replace$2 = uncurryThis$9(''.replace);
|
|
1855
1857
|
var ltrim = RegExp('^[' + whitespaces$1 + ']+');
|
|
1856
1858
|
var rtrim = RegExp('(^|[^' + whitespaces$1 + '])[' + whitespaces$1 + ']+$');
|
|
1857
1859
|
|
|
@@ -1877,72 +1879,72 @@ var stringTrim = {
|
|
|
1877
1879
|
trim: createMethod$1(3)
|
|
1878
1880
|
};
|
|
1879
1881
|
|
|
1880
|
-
var global$
|
|
1881
|
-
var fails$
|
|
1882
|
-
var uncurryThis$
|
|
1882
|
+
var global$3 = global$h;
|
|
1883
|
+
var fails$7 = fails$l;
|
|
1884
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
1883
1885
|
var toString$3 = toString$7;
|
|
1884
1886
|
var trim = stringTrim.trim;
|
|
1885
1887
|
var whitespaces = whitespaces$2;
|
|
1886
1888
|
|
|
1887
|
-
var $parseInt$1 = global$
|
|
1888
|
-
var Symbol$1 = global$
|
|
1889
|
-
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
1889
|
+
var $parseInt$1 = global$3.parseInt;
|
|
1890
|
+
var Symbol$1 = global$3.Symbol;
|
|
1891
|
+
var ITERATOR$3 = Symbol$1 && Symbol$1.iterator;
|
|
1890
1892
|
var hex = /^[+-]?0x/i;
|
|
1891
|
-
var exec = uncurryThis$
|
|
1892
|
-
var FORCED$
|
|
1893
|
+
var exec = uncurryThis$8(hex.exec);
|
|
1894
|
+
var FORCED$3 = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces + '0x16') !== 22
|
|
1893
1895
|
// MS Edge 18- broken with boxed symbols
|
|
1894
|
-
|| (ITERATOR && !fails$
|
|
1896
|
+
|| (ITERATOR$3 && !fails$7(function () { $parseInt$1(Object(ITERATOR$3)); }));
|
|
1895
1897
|
|
|
1896
1898
|
// `parseInt` method
|
|
1897
1899
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
1898
|
-
var numberParseInt = FORCED$
|
|
1900
|
+
var numberParseInt = FORCED$3 ? function parseInt(string, radix) {
|
|
1899
1901
|
var S = trim(toString$3(string));
|
|
1900
1902
|
return $parseInt$1(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
|
|
1901
1903
|
} : $parseInt$1;
|
|
1902
1904
|
|
|
1903
|
-
var $$
|
|
1905
|
+
var $$9 = _export;
|
|
1904
1906
|
var $parseInt = numberParseInt;
|
|
1905
1907
|
|
|
1906
1908
|
// `parseInt` method
|
|
1907
1909
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
1908
|
-
$$
|
|
1910
|
+
$$9({ global: true, forced: parseInt !== $parseInt }, {
|
|
1909
1911
|
parseInt: $parseInt
|
|
1910
1912
|
});
|
|
1911
1913
|
|
|
1912
|
-
var NATIVE_BIND = functionBindNative;
|
|
1914
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
1913
1915
|
|
|
1914
1916
|
var FunctionPrototype = Function.prototype;
|
|
1915
1917
|
var apply$2 = FunctionPrototype.apply;
|
|
1916
|
-
var call$
|
|
1918
|
+
var call$b = FunctionPrototype.call;
|
|
1917
1919
|
|
|
1918
1920
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
1919
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$
|
|
1920
|
-
return call$
|
|
1921
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$b.bind(apply$2) : function () {
|
|
1922
|
+
return call$b.apply(apply$2, arguments);
|
|
1921
1923
|
});
|
|
1922
1924
|
|
|
1923
1925
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
1924
1926
|
|
|
1925
|
-
var call$
|
|
1926
|
-
var defineBuiltIn$
|
|
1927
|
+
var call$a = functionCall;
|
|
1928
|
+
var defineBuiltIn$2 = defineBuiltIn$6;
|
|
1927
1929
|
var regexpExec$1 = regexpExec$2;
|
|
1928
|
-
var fails$
|
|
1929
|
-
var wellKnownSymbol$
|
|
1930
|
-
var createNonEnumerableProperty$
|
|
1930
|
+
var fails$6 = fails$l;
|
|
1931
|
+
var wellKnownSymbol$5 = wellKnownSymbol$e;
|
|
1932
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$9;
|
|
1931
1933
|
|
|
1932
|
-
var SPECIES = wellKnownSymbol$
|
|
1934
|
+
var SPECIES = wellKnownSymbol$5('species');
|
|
1933
1935
|
var RegExpPrototype$2 = RegExp.prototype;
|
|
1934
1936
|
|
|
1935
1937
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
1936
|
-
var SYMBOL = wellKnownSymbol$
|
|
1938
|
+
var SYMBOL = wellKnownSymbol$5(KEY);
|
|
1937
1939
|
|
|
1938
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
1940
|
+
var DELEGATES_TO_SYMBOL = !fails$6(function () {
|
|
1939
1941
|
// String methods call symbol-named RegExp methods
|
|
1940
1942
|
var O = {};
|
|
1941
1943
|
O[SYMBOL] = function () { return 7; };
|
|
1942
1944
|
return ''[KEY](O) !== 7;
|
|
1943
1945
|
});
|
|
1944
1946
|
|
|
1945
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
1947
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$6(function () {
|
|
1946
1948
|
// Symbol-named RegExp methods call .exec
|
|
1947
1949
|
var execCalled = false;
|
|
1948
1950
|
var re = /a/;
|
|
@@ -1982,28 +1984,28 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
1982
1984
|
// The native String method already delegates to @@method (this
|
|
1983
1985
|
// polyfilled function), leasing to infinite recursion.
|
|
1984
1986
|
// We avoid it by directly calling the native @@method method.
|
|
1985
|
-
return { done: true, value: call$
|
|
1987
|
+
return { done: true, value: call$a(nativeRegExpMethod, regexp, str, arg2) };
|
|
1986
1988
|
}
|
|
1987
|
-
return { done: true, value: call$
|
|
1989
|
+
return { done: true, value: call$a(nativeMethod, str, regexp, arg2) };
|
|
1988
1990
|
}
|
|
1989
1991
|
return { done: false };
|
|
1990
1992
|
});
|
|
1991
1993
|
|
|
1992
|
-
defineBuiltIn$
|
|
1993
|
-
defineBuiltIn$
|
|
1994
|
+
defineBuiltIn$2(String.prototype, KEY, methods[0]);
|
|
1995
|
+
defineBuiltIn$2(RegExpPrototype$2, SYMBOL, methods[1]);
|
|
1994
1996
|
}
|
|
1995
1997
|
|
|
1996
|
-
if (SHAM) createNonEnumerableProperty$
|
|
1998
|
+
if (SHAM) createNonEnumerableProperty$4(RegExpPrototype$2[SYMBOL], 'sham', true);
|
|
1997
1999
|
};
|
|
1998
2000
|
|
|
1999
|
-
var uncurryThis$
|
|
2001
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
2000
2002
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
|
|
2001
2003
|
var toString$2 = toString$7;
|
|
2002
2004
|
var requireObjectCoercible$1 = requireObjectCoercible$6;
|
|
2003
2005
|
|
|
2004
|
-
var charAt$2 = uncurryThis$
|
|
2005
|
-
var charCodeAt = uncurryThis$
|
|
2006
|
-
var stringSlice$2 = uncurryThis$
|
|
2006
|
+
var charAt$2 = uncurryThis$7(''.charAt);
|
|
2007
|
+
var charCodeAt = uncurryThis$7(''.charCodeAt);
|
|
2008
|
+
var stringSlice$2 = uncurryThis$7(''.slice);
|
|
2007
2009
|
|
|
2008
2010
|
var createMethod = function (CONVERT_TO_STRING) {
|
|
2009
2011
|
return function ($this, pos) {
|
|
@@ -2041,13 +2043,13 @@ var advanceStringIndex$1 = function (S, index, unicode) {
|
|
|
2041
2043
|
return index + (unicode ? charAt$1(S, index).length : 1);
|
|
2042
2044
|
};
|
|
2043
2045
|
|
|
2044
|
-
var uncurryThis$
|
|
2046
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
2045
2047
|
var toObject$2 = toObject$5;
|
|
2046
2048
|
|
|
2047
2049
|
var floor = Math.floor;
|
|
2048
|
-
var charAt = uncurryThis$
|
|
2049
|
-
var replace$1 = uncurryThis$
|
|
2050
|
-
var stringSlice$1 = uncurryThis$
|
|
2050
|
+
var charAt = uncurryThis$6(''.charAt);
|
|
2051
|
+
var replace$1 = uncurryThis$6(''.replace);
|
|
2052
|
+
var stringSlice$1 = uncurryThis$6(''.slice);
|
|
2051
2053
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
2052
2054
|
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
2053
2055
|
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
@@ -2087,52 +2089,52 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
2087
2089
|
});
|
|
2088
2090
|
};
|
|
2089
2091
|
|
|
2090
|
-
var call$
|
|
2091
|
-
var anObject$
|
|
2092
|
-
var isCallable$
|
|
2093
|
-
var classof$
|
|
2092
|
+
var call$9 = functionCall;
|
|
2093
|
+
var anObject$b = anObject$i;
|
|
2094
|
+
var isCallable$3 = isCallable$j;
|
|
2095
|
+
var classof$2 = classofRaw$2;
|
|
2094
2096
|
var regexpExec = regexpExec$2;
|
|
2095
2097
|
|
|
2096
|
-
var $TypeError$
|
|
2098
|
+
var $TypeError$6 = TypeError;
|
|
2097
2099
|
|
|
2098
2100
|
// `RegExpExec` abstract operation
|
|
2099
2101
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
2100
2102
|
var regexpExecAbstract = function (R, S) {
|
|
2101
2103
|
var exec = R.exec;
|
|
2102
|
-
if (isCallable$
|
|
2103
|
-
var result = call$
|
|
2104
|
-
if (result !== null) anObject$
|
|
2104
|
+
if (isCallable$3(exec)) {
|
|
2105
|
+
var result = call$9(exec, R, S);
|
|
2106
|
+
if (result !== null) anObject$b(result);
|
|
2105
2107
|
return result;
|
|
2106
2108
|
}
|
|
2107
|
-
if (classof$
|
|
2108
|
-
throw new $TypeError$
|
|
2109
|
+
if (classof$2(R) === 'RegExp') return call$9(regexpExec, R, S);
|
|
2110
|
+
throw new $TypeError$6('RegExp#exec called on incompatible receiver');
|
|
2109
2111
|
};
|
|
2110
2112
|
|
|
2111
2113
|
var apply$1 = functionApply;
|
|
2112
|
-
var call$
|
|
2113
|
-
var uncurryThis$
|
|
2114
|
+
var call$8 = functionCall;
|
|
2115
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
2114
2116
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
2115
|
-
var fails$
|
|
2116
|
-
var anObject$
|
|
2117
|
-
var isCallable$
|
|
2118
|
-
var isNullOrUndefined = isNullOrUndefined$
|
|
2117
|
+
var fails$5 = fails$l;
|
|
2118
|
+
var anObject$a = anObject$i;
|
|
2119
|
+
var isCallable$2 = isCallable$j;
|
|
2120
|
+
var isNullOrUndefined$1 = isNullOrUndefined$4;
|
|
2119
2121
|
var toIntegerOrInfinity = toIntegerOrInfinity$4;
|
|
2120
2122
|
var toLength = toLength$2;
|
|
2121
2123
|
var toString$1 = toString$7;
|
|
2122
2124
|
var requireObjectCoercible = requireObjectCoercible$6;
|
|
2123
2125
|
var advanceStringIndex = advanceStringIndex$1;
|
|
2124
|
-
var getMethod = getMethod$
|
|
2126
|
+
var getMethod$3 = getMethod$5;
|
|
2125
2127
|
var getSubstitution = getSubstitution$1;
|
|
2126
2128
|
var regExpExec = regexpExecAbstract;
|
|
2127
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
2129
|
+
var wellKnownSymbol$4 = wellKnownSymbol$e;
|
|
2128
2130
|
|
|
2129
|
-
var REPLACE = wellKnownSymbol('replace');
|
|
2131
|
+
var REPLACE = wellKnownSymbol$4('replace');
|
|
2130
2132
|
var max = Math.max;
|
|
2131
2133
|
var min = Math.min;
|
|
2132
|
-
var concat$1 = uncurryThis$
|
|
2133
|
-
var push = uncurryThis$
|
|
2134
|
-
var stringIndexOf = uncurryThis$
|
|
2135
|
-
var stringSlice = uncurryThis$
|
|
2134
|
+
var concat$1 = uncurryThis$5([].concat);
|
|
2135
|
+
var push = uncurryThis$5([].push);
|
|
2136
|
+
var stringIndexOf = uncurryThis$5(''.indexOf);
|
|
2137
|
+
var stringSlice = uncurryThis$5(''.slice);
|
|
2136
2138
|
|
|
2137
2139
|
var maybeToString = function (it) {
|
|
2138
2140
|
return it === undefined ? it : String(it);
|
|
@@ -2153,7 +2155,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
|
2153
2155
|
return false;
|
|
2154
2156
|
})();
|
|
2155
2157
|
|
|
2156
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$
|
|
2158
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$5(function () {
|
|
2157
2159
|
var re = /./;
|
|
2158
2160
|
re.exec = function () {
|
|
2159
2161
|
var result = [];
|
|
@@ -2173,15 +2175,15 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
2173
2175
|
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
2174
2176
|
function replace(searchValue, replaceValue) {
|
|
2175
2177
|
var O = requireObjectCoercible(this);
|
|
2176
|
-
var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);
|
|
2178
|
+
var replacer = isNullOrUndefined$1(searchValue) ? undefined : getMethod$3(searchValue, REPLACE);
|
|
2177
2179
|
return replacer
|
|
2178
|
-
? call$
|
|
2179
|
-
: call$
|
|
2180
|
+
? call$8(replacer, searchValue, O, replaceValue)
|
|
2181
|
+
: call$8(nativeReplace, toString$1(O), searchValue, replaceValue);
|
|
2180
2182
|
},
|
|
2181
2183
|
// `RegExp.prototype[@@replace]` method
|
|
2182
2184
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
2183
2185
|
function (string, replaceValue) {
|
|
2184
|
-
var rx = anObject$
|
|
2186
|
+
var rx = anObject$a(this);
|
|
2185
2187
|
var S = toString$1(string);
|
|
2186
2188
|
|
|
2187
2189
|
if (
|
|
@@ -2193,7 +2195,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
2193
2195
|
if (res.done) return res.value;
|
|
2194
2196
|
}
|
|
2195
2197
|
|
|
2196
|
-
var functionalReplace = isCallable$
|
|
2198
|
+
var functionalReplace = isCallable$2(replaceValue);
|
|
2197
2199
|
if (!functionalReplace) replaceValue = toString$1(replaceValue);
|
|
2198
2200
|
|
|
2199
2201
|
var global = rx.global;
|
|
@@ -2250,6 +2252,294 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
2250
2252
|
];
|
|
2251
2253
|
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
2252
2254
|
|
|
2255
|
+
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
2256
|
+
|
|
2257
|
+
var $TypeError$5 = TypeError;
|
|
2258
|
+
|
|
2259
|
+
var anInstance$1 = function (it, Prototype) {
|
|
2260
|
+
if (isPrototypeOf$3(Prototype, it)) return it;
|
|
2261
|
+
throw new $TypeError$5('Incorrect invocation');
|
|
2262
|
+
};
|
|
2263
|
+
|
|
2264
|
+
var makeBuiltIn = makeBuiltInExports;
|
|
2265
|
+
var defineProperty$2 = objectDefineProperty;
|
|
2266
|
+
|
|
2267
|
+
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
2268
|
+
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
2269
|
+
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
2270
|
+
return defineProperty$2.f(target, name, descriptor);
|
|
2271
|
+
};
|
|
2272
|
+
|
|
2273
|
+
var DESCRIPTORS$4 = descriptors;
|
|
2274
|
+
var definePropertyModule = objectDefineProperty;
|
|
2275
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
2276
|
+
|
|
2277
|
+
var createProperty$1 = function (object, key, value) {
|
|
2278
|
+
if (DESCRIPTORS$4) definePropertyModule.f(object, key, createPropertyDescriptor$1(0, value));
|
|
2279
|
+
else object[key] = value;
|
|
2280
|
+
};
|
|
2281
|
+
|
|
2282
|
+
var $$8 = _export;
|
|
2283
|
+
var global$2 = global$h;
|
|
2284
|
+
var anInstance = anInstance$1;
|
|
2285
|
+
var anObject$9 = anObject$i;
|
|
2286
|
+
var isCallable$1 = isCallable$j;
|
|
2287
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
2288
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
2289
|
+
var createProperty = createProperty$1;
|
|
2290
|
+
var fails$4 = fails$l;
|
|
2291
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
2292
|
+
var wellKnownSymbol$3 = wellKnownSymbol$e;
|
|
2293
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
2294
|
+
var DESCRIPTORS$3 = descriptors;
|
|
2295
|
+
|
|
2296
|
+
var CONSTRUCTOR = 'constructor';
|
|
2297
|
+
var ITERATOR$2 = 'Iterator';
|
|
2298
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$3('toStringTag');
|
|
2299
|
+
|
|
2300
|
+
var $TypeError$4 = TypeError;
|
|
2301
|
+
var NativeIterator = global$2[ITERATOR$2];
|
|
2302
|
+
|
|
2303
|
+
// FF56- have non-standard global helper `Iterator`
|
|
2304
|
+
var FORCED$2 = !isCallable$1(NativeIterator)
|
|
2305
|
+
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
2306
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
2307
|
+
|| !fails$4(function () { NativeIterator({}); });
|
|
2308
|
+
|
|
2309
|
+
var IteratorConstructor = function Iterator() {
|
|
2310
|
+
anInstance(this, IteratorPrototype$1);
|
|
2311
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$4('Abstract class Iterator not directly constructable');
|
|
2312
|
+
};
|
|
2313
|
+
|
|
2314
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
2315
|
+
if (DESCRIPTORS$3) {
|
|
2316
|
+
defineBuiltInAccessor(IteratorPrototype$1, key, {
|
|
2317
|
+
configurable: true,
|
|
2318
|
+
get: function () {
|
|
2319
|
+
return value;
|
|
2320
|
+
},
|
|
2321
|
+
set: function (replacement) {
|
|
2322
|
+
anObject$9(this);
|
|
2323
|
+
if (this === IteratorPrototype$1) throw new $TypeError$4("You can't redefine this property");
|
|
2324
|
+
if (hasOwn$2(this, key)) this[key] = replacement;
|
|
2325
|
+
else createProperty(this, key, replacement);
|
|
2326
|
+
}
|
|
2327
|
+
});
|
|
2328
|
+
} else IteratorPrototype$1[key] = value;
|
|
2329
|
+
};
|
|
2330
|
+
|
|
2331
|
+
if (!hasOwn$2(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR$2);
|
|
2332
|
+
|
|
2333
|
+
if (FORCED$2 || !hasOwn$2(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
2334
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2337
|
+
IteratorConstructor.prototype = IteratorPrototype$1;
|
|
2338
|
+
|
|
2339
|
+
// `Iterator` constructor
|
|
2340
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
2341
|
+
$$8({ global: true, constructor: true, forced: FORCED$2 }, {
|
|
2342
|
+
Iterator: IteratorConstructor
|
|
2343
|
+
});
|
|
2344
|
+
|
|
2345
|
+
// `GetIteratorDirect(obj)` abstract operation
|
|
2346
|
+
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
|
|
2347
|
+
var getIteratorDirect$4 = function (obj) {
|
|
2348
|
+
return {
|
|
2349
|
+
iterator: obj,
|
|
2350
|
+
next: obj.next,
|
|
2351
|
+
done: false
|
|
2352
|
+
};
|
|
2353
|
+
};
|
|
2354
|
+
|
|
2355
|
+
var defineBuiltIn$1 = defineBuiltIn$6;
|
|
2356
|
+
|
|
2357
|
+
var defineBuiltIns$1 = function (target, src, options) {
|
|
2358
|
+
for (var key in src) defineBuiltIn$1(target, key, src[key], options);
|
|
2359
|
+
return target;
|
|
2360
|
+
};
|
|
2361
|
+
|
|
2362
|
+
var call$7 = functionCall;
|
|
2363
|
+
var anObject$8 = anObject$i;
|
|
2364
|
+
var getMethod$2 = getMethod$5;
|
|
2365
|
+
|
|
2366
|
+
var iteratorClose$3 = function (iterator, kind, value) {
|
|
2367
|
+
var innerResult, innerError;
|
|
2368
|
+
anObject$8(iterator);
|
|
2369
|
+
try {
|
|
2370
|
+
innerResult = getMethod$2(iterator, 'return');
|
|
2371
|
+
if (!innerResult) {
|
|
2372
|
+
if (kind === 'throw') throw value;
|
|
2373
|
+
return value;
|
|
2374
|
+
}
|
|
2375
|
+
innerResult = call$7(innerResult, iterator);
|
|
2376
|
+
} catch (error) {
|
|
2377
|
+
innerError = true;
|
|
2378
|
+
innerResult = error;
|
|
2379
|
+
}
|
|
2380
|
+
if (kind === 'throw') throw value;
|
|
2381
|
+
if (innerError) throw innerResult;
|
|
2382
|
+
anObject$8(innerResult);
|
|
2383
|
+
return value;
|
|
2384
|
+
};
|
|
2385
|
+
|
|
2386
|
+
var call$6 = functionCall;
|
|
2387
|
+
var create = objectCreate;
|
|
2388
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$9;
|
|
2389
|
+
var defineBuiltIns = defineBuiltIns$1;
|
|
2390
|
+
var wellKnownSymbol$2 = wellKnownSymbol$e;
|
|
2391
|
+
var InternalStateModule = internalState;
|
|
2392
|
+
var getMethod$1 = getMethod$5;
|
|
2393
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
2394
|
+
var createIterResultObject = createIterResultObject$2;
|
|
2395
|
+
var iteratorClose$2 = iteratorClose$3;
|
|
2396
|
+
|
|
2397
|
+
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
2398
|
+
var ITERATOR_HELPER = 'IteratorHelper';
|
|
2399
|
+
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
2400
|
+
var setInternalState = InternalStateModule.set;
|
|
2401
|
+
|
|
2402
|
+
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
2403
|
+
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
2404
|
+
|
|
2405
|
+
return defineBuiltIns(create(IteratorPrototype), {
|
|
2406
|
+
next: function next() {
|
|
2407
|
+
var state = getInternalState(this);
|
|
2408
|
+
// for simplification:
|
|
2409
|
+
// for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
|
|
2410
|
+
// for `%IteratorHelperPrototype%.next` - just a value
|
|
2411
|
+
if (IS_ITERATOR) return state.nextHandler();
|
|
2412
|
+
try {
|
|
2413
|
+
var result = state.done ? undefined : state.nextHandler();
|
|
2414
|
+
return createIterResultObject(result, state.done);
|
|
2415
|
+
} catch (error) {
|
|
2416
|
+
state.done = true;
|
|
2417
|
+
throw error;
|
|
2418
|
+
}
|
|
2419
|
+
},
|
|
2420
|
+
'return': function () {
|
|
2421
|
+
var state = getInternalState(this);
|
|
2422
|
+
var iterator = state.iterator;
|
|
2423
|
+
state.done = true;
|
|
2424
|
+
if (IS_ITERATOR) {
|
|
2425
|
+
var returnMethod = getMethod$1(iterator, 'return');
|
|
2426
|
+
return returnMethod ? call$6(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
2427
|
+
}
|
|
2428
|
+
if (state.inner) try {
|
|
2429
|
+
iteratorClose$2(state.inner.iterator, 'normal');
|
|
2430
|
+
} catch (error) {
|
|
2431
|
+
return iteratorClose$2(iterator, 'throw', error);
|
|
2432
|
+
}
|
|
2433
|
+
iteratorClose$2(iterator, 'normal');
|
|
2434
|
+
return createIterResultObject(undefined, true);
|
|
2435
|
+
}
|
|
2436
|
+
});
|
|
2437
|
+
};
|
|
2438
|
+
|
|
2439
|
+
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
|
2440
|
+
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
|
2441
|
+
|
|
2442
|
+
createNonEnumerableProperty$3(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
|
2443
|
+
|
|
2444
|
+
var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
2445
|
+
var IteratorProxy = function Iterator(record, state) {
|
|
2446
|
+
if (state) {
|
|
2447
|
+
state.iterator = record.iterator;
|
|
2448
|
+
state.next = record.next;
|
|
2449
|
+
} else state = record;
|
|
2450
|
+
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
|
|
2451
|
+
state.nextHandler = nextHandler;
|
|
2452
|
+
state.counter = 0;
|
|
2453
|
+
state.done = false;
|
|
2454
|
+
setInternalState(this, state);
|
|
2455
|
+
};
|
|
2456
|
+
|
|
2457
|
+
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
|
|
2458
|
+
|
|
2459
|
+
return IteratorProxy;
|
|
2460
|
+
};
|
|
2461
|
+
|
|
2462
|
+
var anObject$7 = anObject$i;
|
|
2463
|
+
var iteratorClose$1 = iteratorClose$3;
|
|
2464
|
+
|
|
2465
|
+
// call something on iterator step with safe closing on error
|
|
2466
|
+
var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
|
|
2467
|
+
try {
|
|
2468
|
+
return ENTRIES ? fn(anObject$7(value)[0], value[1]) : fn(value);
|
|
2469
|
+
} catch (error) {
|
|
2470
|
+
iteratorClose$1(iterator, 'throw', error);
|
|
2471
|
+
}
|
|
2472
|
+
};
|
|
2473
|
+
|
|
2474
|
+
var $$7 = _export;
|
|
2475
|
+
var call$5 = functionCall;
|
|
2476
|
+
var aCallable$5 = aCallable$8;
|
|
2477
|
+
var anObject$6 = anObject$i;
|
|
2478
|
+
var getIteratorDirect$3 = getIteratorDirect$4;
|
|
2479
|
+
var createIteratorProxy$1 = iteratorCreateProxy;
|
|
2480
|
+
var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
|
|
2481
|
+
var IS_PURE$1 = isPure;
|
|
2482
|
+
|
|
2483
|
+
var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
2484
|
+
var iterator = this.iterator;
|
|
2485
|
+
var predicate = this.predicate;
|
|
2486
|
+
var next = this.next;
|
|
2487
|
+
var result, done, value;
|
|
2488
|
+
while (true) {
|
|
2489
|
+
result = anObject$6(call$5(next, iterator));
|
|
2490
|
+
done = this.done = !!result.done;
|
|
2491
|
+
if (done) return;
|
|
2492
|
+
value = result.value;
|
|
2493
|
+
if (callWithSafeIterationClosing$1(iterator, predicate, [value, this.counter++], true)) return value;
|
|
2494
|
+
}
|
|
2495
|
+
});
|
|
2496
|
+
|
|
2497
|
+
// `Iterator.prototype.filter` method
|
|
2498
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
2499
|
+
$$7({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
2500
|
+
filter: function filter(predicate) {
|
|
2501
|
+
anObject$6(this);
|
|
2502
|
+
aCallable$5(predicate);
|
|
2503
|
+
return new IteratorProxy$1(getIteratorDirect$3(this), {
|
|
2504
|
+
predicate: predicate
|
|
2505
|
+
});
|
|
2506
|
+
}
|
|
2507
|
+
});
|
|
2508
|
+
|
|
2509
|
+
var call$4 = functionCall;
|
|
2510
|
+
var aCallable$4 = aCallable$8;
|
|
2511
|
+
var anObject$5 = anObject$i;
|
|
2512
|
+
var getIteratorDirect$2 = getIteratorDirect$4;
|
|
2513
|
+
var createIteratorProxy = iteratorCreateProxy;
|
|
2514
|
+
var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
|
|
2515
|
+
|
|
2516
|
+
var IteratorProxy = createIteratorProxy(function () {
|
|
2517
|
+
var iterator = this.iterator;
|
|
2518
|
+
var result = anObject$5(call$4(this.next, iterator));
|
|
2519
|
+
var done = this.done = !!result.done;
|
|
2520
|
+
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
2521
|
+
});
|
|
2522
|
+
|
|
2523
|
+
// `Iterator.prototype.map` method
|
|
2524
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
2525
|
+
var iteratorMap = function map(mapper) {
|
|
2526
|
+
anObject$5(this);
|
|
2527
|
+
aCallable$4(mapper);
|
|
2528
|
+
return new IteratorProxy(getIteratorDirect$2(this), {
|
|
2529
|
+
mapper: mapper
|
|
2530
|
+
});
|
|
2531
|
+
};
|
|
2532
|
+
|
|
2533
|
+
var $$6 = _export;
|
|
2534
|
+
var map = iteratorMap;
|
|
2535
|
+
var IS_PURE = isPure;
|
|
2536
|
+
|
|
2537
|
+
// `Iterator.prototype.map` method
|
|
2538
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
2539
|
+
$$6({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
2540
|
+
map: map
|
|
2541
|
+
});
|
|
2542
|
+
|
|
2253
2543
|
var propTypes$1 = {exports: {}};
|
|
2254
2544
|
|
|
2255
2545
|
var reactIs = {exports: {}};
|
|
@@ -3664,24 +3954,24 @@ var IconSearch = createReactComponent("search", "IconSearch", [
|
|
|
3664
3954
|
["path", { d: "M21 21l-6 -6", key: "svg-1" }]
|
|
3665
3955
|
]);
|
|
3666
3956
|
|
|
3667
|
-
var call$
|
|
3957
|
+
var call$3 = functionCall;
|
|
3668
3958
|
var hasOwn$1 = hasOwnProperty_1;
|
|
3669
|
-
var isPrototypeOf$
|
|
3959
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
3670
3960
|
var regExpFlags = regexpFlags$1;
|
|
3671
3961
|
|
|
3672
3962
|
var RegExpPrototype$1 = RegExp.prototype;
|
|
3673
3963
|
|
|
3674
3964
|
var regexpGetFlags = function (R) {
|
|
3675
3965
|
var flags = R.flags;
|
|
3676
|
-
return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$1(R, 'flags') && isPrototypeOf$
|
|
3677
|
-
? call$
|
|
3966
|
+
return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$1(R, 'flags') && isPrototypeOf$2(RegExpPrototype$1, R)
|
|
3967
|
+
? call$3(regExpFlags, R) : flags;
|
|
3678
3968
|
};
|
|
3679
3969
|
|
|
3680
3970
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
3681
|
-
var defineBuiltIn = defineBuiltIn$
|
|
3682
|
-
var anObject = anObject$
|
|
3971
|
+
var defineBuiltIn = defineBuiltIn$6;
|
|
3972
|
+
var anObject$4 = anObject$i;
|
|
3683
3973
|
var $toString = toString$7;
|
|
3684
|
-
var fails$3 = fails$
|
|
3974
|
+
var fails$3 = fails$l;
|
|
3685
3975
|
var getRegExpFlags = regexpGetFlags;
|
|
3686
3976
|
|
|
3687
3977
|
var TO_STRING = 'toString';
|
|
@@ -3696,14 +3986,166 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
|
3696
3986
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
3697
3987
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
3698
3988
|
defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
|
|
3699
|
-
var R = anObject(this);
|
|
3989
|
+
var R = anObject$4(this);
|
|
3700
3990
|
var pattern = $toString(R.source);
|
|
3701
3991
|
var flags = $toString(getRegExpFlags(R));
|
|
3702
3992
|
return '/' + pattern + '/' + flags;
|
|
3703
3993
|
}, { unsafe: true });
|
|
3704
3994
|
}
|
|
3705
3995
|
|
|
3706
|
-
var
|
|
3996
|
+
var classofRaw = classofRaw$2;
|
|
3997
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
3998
|
+
|
|
3999
|
+
var functionUncurryThisClause = function (fn) {
|
|
4000
|
+
// Nashorn bug:
|
|
4001
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
4002
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
4003
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$4(fn);
|
|
4004
|
+
};
|
|
4005
|
+
|
|
4006
|
+
var uncurryThis$3 = functionUncurryThisClause;
|
|
4007
|
+
var aCallable$3 = aCallable$8;
|
|
4008
|
+
var NATIVE_BIND = functionBindNative;
|
|
4009
|
+
|
|
4010
|
+
var bind$1 = uncurryThis$3(uncurryThis$3.bind);
|
|
4011
|
+
|
|
4012
|
+
// optional / simple context binding
|
|
4013
|
+
var functionBindContext = function (fn, that) {
|
|
4014
|
+
aCallable$3(fn);
|
|
4015
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
4016
|
+
return fn.apply(that, arguments);
|
|
4017
|
+
};
|
|
4018
|
+
};
|
|
4019
|
+
|
|
4020
|
+
var wellKnownSymbol$1 = wellKnownSymbol$e;
|
|
4021
|
+
var Iterators$1 = iterators;
|
|
4022
|
+
|
|
4023
|
+
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
|
4024
|
+
var ArrayPrototype = Array.prototype;
|
|
4025
|
+
|
|
4026
|
+
// check on default Array iterator
|
|
4027
|
+
var isArrayIteratorMethod$1 = function (it) {
|
|
4028
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
4029
|
+
};
|
|
4030
|
+
|
|
4031
|
+
var classof$1 = classof$4;
|
|
4032
|
+
var getMethod = getMethod$5;
|
|
4033
|
+
var isNullOrUndefined = isNullOrUndefined$4;
|
|
4034
|
+
var Iterators = iterators;
|
|
4035
|
+
var wellKnownSymbol = wellKnownSymbol$e;
|
|
4036
|
+
|
|
4037
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
4038
|
+
|
|
4039
|
+
var getIteratorMethod$2 = function (it) {
|
|
4040
|
+
if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
|
|
4041
|
+
|| getMethod(it, '@@iterator')
|
|
4042
|
+
|| Iterators[classof$1(it)];
|
|
4043
|
+
};
|
|
4044
|
+
|
|
4045
|
+
var call$2 = functionCall;
|
|
4046
|
+
var aCallable$2 = aCallable$8;
|
|
4047
|
+
var anObject$3 = anObject$i;
|
|
4048
|
+
var tryToString$1 = tryToString$3;
|
|
4049
|
+
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
4050
|
+
|
|
4051
|
+
var $TypeError$3 = TypeError;
|
|
4052
|
+
|
|
4053
|
+
var getIterator$1 = function (argument, usingIterator) {
|
|
4054
|
+
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
4055
|
+
if (aCallable$2(iteratorMethod)) return anObject$3(call$2(iteratorMethod, argument));
|
|
4056
|
+
throw new $TypeError$3(tryToString$1(argument) + ' is not iterable');
|
|
4057
|
+
};
|
|
4058
|
+
|
|
4059
|
+
var bind = functionBindContext;
|
|
4060
|
+
var call$1 = functionCall;
|
|
4061
|
+
var anObject$2 = anObject$i;
|
|
4062
|
+
var tryToString = tryToString$3;
|
|
4063
|
+
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
4064
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$3;
|
|
4065
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
4066
|
+
var getIterator = getIterator$1;
|
|
4067
|
+
var getIteratorMethod = getIteratorMethod$2;
|
|
4068
|
+
var iteratorClose = iteratorClose$3;
|
|
4069
|
+
|
|
4070
|
+
var $TypeError$2 = TypeError;
|
|
4071
|
+
|
|
4072
|
+
var Result = function (stopped, result) {
|
|
4073
|
+
this.stopped = stopped;
|
|
4074
|
+
this.result = result;
|
|
4075
|
+
};
|
|
4076
|
+
|
|
4077
|
+
var ResultPrototype = Result.prototype;
|
|
4078
|
+
|
|
4079
|
+
var iterate$2 = function (iterable, unboundFunction, options) {
|
|
4080
|
+
var that = options && options.that;
|
|
4081
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
4082
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
4083
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
4084
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
4085
|
+
var fn = bind(unboundFunction, that);
|
|
4086
|
+
var iterator, iterFn, index, length, result, next, step;
|
|
4087
|
+
|
|
4088
|
+
var stop = function (condition) {
|
|
4089
|
+
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
4090
|
+
return new Result(true, condition);
|
|
4091
|
+
};
|
|
4092
|
+
|
|
4093
|
+
var callFn = function (value) {
|
|
4094
|
+
if (AS_ENTRIES) {
|
|
4095
|
+
anObject$2(value);
|
|
4096
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
4097
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
4098
|
+
};
|
|
4099
|
+
|
|
4100
|
+
if (IS_RECORD) {
|
|
4101
|
+
iterator = iterable.iterator;
|
|
4102
|
+
} else if (IS_ITERATOR) {
|
|
4103
|
+
iterator = iterable;
|
|
4104
|
+
} else {
|
|
4105
|
+
iterFn = getIteratorMethod(iterable);
|
|
4106
|
+
if (!iterFn) throw new $TypeError$2(tryToString(iterable) + ' is not iterable');
|
|
4107
|
+
// optimisation for array iterators
|
|
4108
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
4109
|
+
for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
|
|
4110
|
+
result = callFn(iterable[index]);
|
|
4111
|
+
if (result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
4112
|
+
} return new Result(false);
|
|
4113
|
+
}
|
|
4114
|
+
iterator = getIterator(iterable, iterFn);
|
|
4115
|
+
}
|
|
4116
|
+
|
|
4117
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
4118
|
+
while (!(step = call$1(next, iterator)).done) {
|
|
4119
|
+
try {
|
|
4120
|
+
result = callFn(step.value);
|
|
4121
|
+
} catch (error) {
|
|
4122
|
+
iteratorClose(iterator, 'throw', error);
|
|
4123
|
+
}
|
|
4124
|
+
if (typeof result == 'object' && result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
4125
|
+
} return new Result(false);
|
|
4126
|
+
};
|
|
4127
|
+
|
|
4128
|
+
var $$5 = _export;
|
|
4129
|
+
var iterate$1 = iterate$2;
|
|
4130
|
+
var aCallable$1 = aCallable$8;
|
|
4131
|
+
var anObject$1 = anObject$i;
|
|
4132
|
+
var getIteratorDirect$1 = getIteratorDirect$4;
|
|
4133
|
+
|
|
4134
|
+
// `Iterator.prototype.forEach` method
|
|
4135
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4136
|
+
$$5({ target: 'Iterator', proto: true, real: true }, {
|
|
4137
|
+
forEach: function forEach(fn) {
|
|
4138
|
+
anObject$1(this);
|
|
4139
|
+
aCallable$1(fn);
|
|
4140
|
+
var record = getIteratorDirect$1(this);
|
|
4141
|
+
var counter = 0;
|
|
4142
|
+
iterate$1(record, function (value) {
|
|
4143
|
+
fn(value, counter++);
|
|
4144
|
+
}, { IS_RECORD: true });
|
|
4145
|
+
}
|
|
4146
|
+
});
|
|
4147
|
+
|
|
4148
|
+
var classof = classofRaw$2;
|
|
3707
4149
|
|
|
3708
4150
|
// `IsArray` abstract operation
|
|
3709
4151
|
// https://tc39.es/ecma262/#sec-isarray
|
|
@@ -3747,12 +4189,12 @@ var doesNotExceedSafeInteger$1 = function (it) {
|
|
|
3747
4189
|
return it;
|
|
3748
4190
|
};
|
|
3749
4191
|
|
|
3750
|
-
var $$
|
|
4192
|
+
var $$4 = _export;
|
|
3751
4193
|
var toObject$1 = toObject$5;
|
|
3752
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
4194
|
+
var lengthOfArrayLike = lengthOfArrayLike$3;
|
|
3753
4195
|
var setArrayLength = arraySetLength;
|
|
3754
4196
|
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
3755
|
-
var fails$2 = fails$
|
|
4197
|
+
var fails$2 = fails$l;
|
|
3756
4198
|
|
|
3757
4199
|
var INCORRECT_TO_LENGTH = fails$2(function () {
|
|
3758
4200
|
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
@@ -3773,7 +4215,7 @@ var FORCED$1 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
|
3773
4215
|
|
|
3774
4216
|
// `Array.prototype.push` method
|
|
3775
4217
|
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
3776
|
-
$$
|
|
4218
|
+
$$4({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {
|
|
3777
4219
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
3778
4220
|
push: function push(item) {
|
|
3779
4221
|
var O = toObject$1(this);
|
|
@@ -3792,7 +4234,7 @@ $$3({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {
|
|
|
3792
4234
|
var DESCRIPTORS$1 = descriptors;
|
|
3793
4235
|
var uncurryThis$2 = functionUncurryThis;
|
|
3794
4236
|
var call = functionCall;
|
|
3795
|
-
var fails$1 = fails$
|
|
4237
|
+
var fails$1 = fails$l;
|
|
3796
4238
|
var objectKeys = objectKeys$2;
|
|
3797
4239
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
3798
4240
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -3846,16 +4288,36 @@ var objectAssign = !$assign || fails$1(function () {
|
|
|
3846
4288
|
} return T;
|
|
3847
4289
|
} : $assign;
|
|
3848
4290
|
|
|
3849
|
-
var $$
|
|
4291
|
+
var $$3 = _export;
|
|
3850
4292
|
var assign = objectAssign;
|
|
3851
4293
|
|
|
3852
4294
|
// `Object.assign` method
|
|
3853
4295
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
3854
4296
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
3855
|
-
$$
|
|
4297
|
+
$$3({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
3856
4298
|
assign: assign
|
|
3857
4299
|
});
|
|
3858
4300
|
|
|
4301
|
+
var $$2 = _export;
|
|
4302
|
+
var iterate = iterate$2;
|
|
4303
|
+
var aCallable = aCallable$8;
|
|
4304
|
+
var anObject = anObject$i;
|
|
4305
|
+
var getIteratorDirect = getIteratorDirect$4;
|
|
4306
|
+
|
|
4307
|
+
// `Iterator.prototype.find` method
|
|
4308
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4309
|
+
$$2({ target: 'Iterator', proto: true, real: true }, {
|
|
4310
|
+
find: function find(predicate) {
|
|
4311
|
+
anObject(this);
|
|
4312
|
+
aCallable(predicate);
|
|
4313
|
+
var record = getIteratorDirect(this);
|
|
4314
|
+
var counter = 0;
|
|
4315
|
+
return iterate(record, function (value, stop) {
|
|
4316
|
+
if (predicate(value, counter++)) return stop(value);
|
|
4317
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).result;
|
|
4318
|
+
}
|
|
4319
|
+
});
|
|
4320
|
+
|
|
3859
4321
|
var defineProperty = objectDefineProperty.f;
|
|
3860
4322
|
|
|
3861
4323
|
var proxyAccessor$1 = function (Target, Source, key) {
|
|
@@ -3866,7 +4328,7 @@ var proxyAccessor$1 = function (Target, Source, key) {
|
|
|
3866
4328
|
});
|
|
3867
4329
|
};
|
|
3868
4330
|
|
|
3869
|
-
var isCallable = isCallable$
|
|
4331
|
+
var isCallable = isCallable$j;
|
|
3870
4332
|
var isObject$1 = isObject$a;
|
|
3871
4333
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
3872
4334
|
|
|
@@ -3892,7 +4354,7 @@ var normalizeStringArgument$1 = function (argument, $default) {
|
|
|
3892
4354
|
};
|
|
3893
4355
|
|
|
3894
4356
|
var isObject = isObject$a;
|
|
3895
|
-
var createNonEnumerableProperty$2 = createNonEnumerableProperty$
|
|
4357
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$9;
|
|
3896
4358
|
|
|
3897
4359
|
// `InstallErrorCause` abstract operation
|
|
3898
4360
|
// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
|
|
@@ -3918,8 +4380,8 @@ var errorStackClear = function (stack, dropEntries) {
|
|
|
3918
4380
|
} return stack;
|
|
3919
4381
|
};
|
|
3920
4382
|
|
|
3921
|
-
var fails = fails$
|
|
3922
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
4383
|
+
var fails = fails$l;
|
|
4384
|
+
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
3923
4385
|
|
|
3924
4386
|
var errorStackInstallable = !fails(function () {
|
|
3925
4387
|
var error = new Error('a');
|
|
@@ -3929,7 +4391,7 @@ var errorStackInstallable = !fails(function () {
|
|
|
3929
4391
|
return error.stack !== 7;
|
|
3930
4392
|
});
|
|
3931
4393
|
|
|
3932
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$
|
|
4394
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$9;
|
|
3933
4395
|
var clearErrorStack = errorStackClear;
|
|
3934
4396
|
var ERROR_STACK_INSTALLABLE = errorStackInstallable;
|
|
3935
4397
|
|
|
@@ -3945,7 +4407,7 @@ var errorStackInstall = function (error, C, stack, dropEntries) {
|
|
|
3945
4407
|
|
|
3946
4408
|
var getBuiltIn = getBuiltIn$4;
|
|
3947
4409
|
var hasOwn = hasOwnProperty_1;
|
|
3948
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
4410
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$9;
|
|
3949
4411
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
3950
4412
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
3951
4413
|
var copyConstructorProperties = copyConstructorProperties$2;
|
|
@@ -4009,7 +4471,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
4009
4471
|
|
|
4010
4472
|
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
4011
4473
|
var $$1 = _export;
|
|
4012
|
-
var global$1 = global$
|
|
4474
|
+
var global$1 = global$h;
|
|
4013
4475
|
var apply = functionApply;
|
|
4014
4476
|
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
4015
4477
|
|