@edvisor/product-language 0.5.4 → 0.5.5
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.js +498 -603
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var check = function (it) {
|
|
|
11
11
|
|
|
12
12
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
13
13
|
var global$n =
|
|
14
|
-
// eslint-disable-next-line es
|
|
14
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
15
15
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
16
16
|
check(typeof window == 'object' && window) ||
|
|
17
17
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -22,7 +22,7 @@ var global$n =
|
|
|
22
22
|
|
|
23
23
|
var objectGetOwnPropertyDescriptor = {};
|
|
24
24
|
|
|
25
|
-
var fails$
|
|
25
|
+
var fails$o = function (exec) {
|
|
26
26
|
try {
|
|
27
27
|
return !!exec();
|
|
28
28
|
} catch (error) {
|
|
@@ -30,18 +30,18 @@ var fails$p = function (exec) {
|
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
var fails$
|
|
33
|
+
var fails$n = fails$o;
|
|
34
34
|
|
|
35
35
|
// Detect IE8's incomplete defineProperty implementation
|
|
36
|
-
var descriptors = !fails$
|
|
37
|
-
// eslint-disable-next-line es
|
|
36
|
+
var descriptors = !fails$n(function () {
|
|
37
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
38
38
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
var fails$
|
|
41
|
+
var fails$m = fails$o;
|
|
42
42
|
|
|
43
|
-
var functionBindNative = !fails$
|
|
44
|
-
// eslint-disable-next-line es
|
|
43
|
+
var functionBindNative = !fails$m(function () {
|
|
44
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
45
45
|
var test = (function () { /* empty */ }).bind();
|
|
46
46
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
47
47
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -49,16 +49,16 @@ var functionBindNative = !fails$n(function () {
|
|
|
49
49
|
|
|
50
50
|
var NATIVE_BIND$3 = functionBindNative;
|
|
51
51
|
|
|
52
|
-
var call$
|
|
52
|
+
var call$k = Function.prototype.call;
|
|
53
53
|
|
|
54
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
|
55
|
-
return call$
|
|
54
|
+
var functionCall = NATIVE_BIND$3 ? call$k.bind(call$k) : function () {
|
|
55
|
+
return call$k.apply(call$k, arguments);
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
var objectPropertyIsEnumerable = {};
|
|
59
59
|
|
|
60
60
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
61
|
-
// eslint-disable-next-line es
|
|
61
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
62
62
|
var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
|
|
63
63
|
|
|
64
64
|
// Nashorn ~ JDK8 bug
|
|
@@ -83,36 +83,33 @@ var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
|
83
83
|
var NATIVE_BIND$2 = functionBindNative;
|
|
84
84
|
|
|
85
85
|
var FunctionPrototype$2 = Function.prototype;
|
|
86
|
-
var
|
|
87
|
-
var
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
} : function (fn) {
|
|
93
|
-
return fn && function () {
|
|
94
|
-
return call$k.apply(fn, arguments);
|
|
86
|
+
var call$j = FunctionPrototype$2.call;
|
|
87
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$j, call$j);
|
|
88
|
+
|
|
89
|
+
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
90
|
+
return function () {
|
|
91
|
+
return call$j.apply(fn, arguments);
|
|
95
92
|
};
|
|
96
93
|
};
|
|
97
94
|
|
|
98
|
-
var uncurryThis$
|
|
95
|
+
var uncurryThis$n = functionUncurryThis;
|
|
99
96
|
|
|
100
|
-
var toString$
|
|
101
|
-
var stringSlice$
|
|
97
|
+
var toString$c = uncurryThis$n({}.toString);
|
|
98
|
+
var stringSlice$5 = uncurryThis$n(''.slice);
|
|
102
99
|
|
|
103
|
-
var classofRaw$
|
|
104
|
-
return stringSlice$
|
|
100
|
+
var classofRaw$2 = function (it) {
|
|
101
|
+
return stringSlice$5(toString$c(it), 8, -1);
|
|
105
102
|
};
|
|
106
103
|
|
|
107
|
-
var uncurryThis$
|
|
108
|
-
var fails$
|
|
109
|
-
var classof$7 = classofRaw$
|
|
104
|
+
var uncurryThis$m = functionUncurryThis;
|
|
105
|
+
var fails$l = fails$o;
|
|
106
|
+
var classof$7 = classofRaw$2;
|
|
110
107
|
|
|
111
108
|
var $Object$4 = Object;
|
|
112
|
-
var split = uncurryThis$
|
|
109
|
+
var split = uncurryThis$m(''.split);
|
|
113
110
|
|
|
114
111
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
115
|
-
var indexedObject = fails$
|
|
112
|
+
var indexedObject = fails$l(function () {
|
|
116
113
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
117
114
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
118
115
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
@@ -120,32 +117,61 @@ var indexedObject = fails$m(function () {
|
|
|
120
117
|
return classof$7(it) == 'String' ? split(it, '') : $Object$4(it);
|
|
121
118
|
} : $Object$4;
|
|
122
119
|
|
|
123
|
-
|
|
120
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
121
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
122
|
+
var isNullOrUndefined$6 = function (it) {
|
|
123
|
+
return it === null || it === undefined;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
var isNullOrUndefined$5 = isNullOrUndefined$6;
|
|
127
|
+
|
|
128
|
+
var $TypeError$g = TypeError;
|
|
124
129
|
|
|
125
130
|
// `RequireObjectCoercible` abstract operation
|
|
126
131
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
127
|
-
var requireObjectCoercible$
|
|
128
|
-
if (it
|
|
132
|
+
var requireObjectCoercible$9 = function (it) {
|
|
133
|
+
if (isNullOrUndefined$5(it)) throw $TypeError$g("Can't call method on " + it);
|
|
129
134
|
return it;
|
|
130
135
|
};
|
|
131
136
|
|
|
132
137
|
// toObject with fallback for non-array-like ES3 strings
|
|
133
138
|
var IndexedObject$2 = indexedObject;
|
|
134
|
-
var requireObjectCoercible$
|
|
139
|
+
var requireObjectCoercible$8 = requireObjectCoercible$9;
|
|
135
140
|
|
|
136
141
|
var toIndexedObject$5 = function (it) {
|
|
137
|
-
return IndexedObject$2(requireObjectCoercible$
|
|
142
|
+
return IndexedObject$2(requireObjectCoercible$8(it));
|
|
138
143
|
};
|
|
139
144
|
|
|
145
|
+
var documentAll$2 = typeof document == 'object' && document.all;
|
|
146
|
+
|
|
147
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
148
|
+
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
|
|
149
|
+
|
|
150
|
+
var documentAll_1 = {
|
|
151
|
+
all: documentAll$2,
|
|
152
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
var $documentAll$1 = documentAll_1;
|
|
156
|
+
|
|
157
|
+
var documentAll$1 = $documentAll$1.all;
|
|
158
|
+
|
|
140
159
|
// `IsCallable` abstract operation
|
|
141
160
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
142
|
-
var isCallable$m = function (argument) {
|
|
161
|
+
var isCallable$m = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
|
162
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
163
|
+
} : function (argument) {
|
|
143
164
|
return typeof argument == 'function';
|
|
144
165
|
};
|
|
145
166
|
|
|
146
167
|
var isCallable$l = isCallable$m;
|
|
168
|
+
var $documentAll = documentAll_1;
|
|
169
|
+
|
|
170
|
+
var documentAll = $documentAll.all;
|
|
147
171
|
|
|
148
|
-
var isObject$
|
|
172
|
+
var isObject$9 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
173
|
+
return typeof it == 'object' ? it !== null : isCallable$l(it) || it === documentAll;
|
|
174
|
+
} : function (it) {
|
|
149
175
|
return typeof it == 'object' ? it !== null : isCallable$l(it);
|
|
150
176
|
};
|
|
151
177
|
|
|
@@ -160,9 +186,9 @@ var getBuiltIn$8 = function (namespace, method) {
|
|
|
160
186
|
return arguments.length < 2 ? aFunction(global$m[namespace]) : global$m[namespace] && global$m[namespace][method];
|
|
161
187
|
};
|
|
162
188
|
|
|
163
|
-
var uncurryThis$
|
|
189
|
+
var uncurryThis$l = functionUncurryThis;
|
|
164
190
|
|
|
165
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
191
|
+
var objectIsPrototypeOf = uncurryThis$l({}.isPrototypeOf);
|
|
166
192
|
|
|
167
193
|
var getBuiltIn$7 = getBuiltIn$8;
|
|
168
194
|
|
|
@@ -196,13 +222,13 @@ if (!version && userAgent$6) {
|
|
|
196
222
|
|
|
197
223
|
var engineV8Version = version;
|
|
198
224
|
|
|
199
|
-
/* eslint-disable es
|
|
225
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
200
226
|
|
|
201
227
|
var V8_VERSION$1 = engineV8Version;
|
|
202
|
-
var fails$
|
|
228
|
+
var fails$k = fails$o;
|
|
203
229
|
|
|
204
|
-
// eslint-disable-next-line es
|
|
205
|
-
var
|
|
230
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
231
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$k(function () {
|
|
206
232
|
var symbol = Symbol();
|
|
207
233
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
208
234
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -211,9 +237,9 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$l(function () {
|
|
|
211
237
|
!Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
|
|
212
238
|
});
|
|
213
239
|
|
|
214
|
-
/* eslint-disable es
|
|
240
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
215
241
|
|
|
216
|
-
var NATIVE_SYMBOL$1 =
|
|
242
|
+
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
217
243
|
|
|
218
244
|
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
219
245
|
&& !Symbol.sham
|
|
@@ -246,44 +272,45 @@ var tryToString$5 = function (argument) {
|
|
|
246
272
|
var isCallable$i = isCallable$m;
|
|
247
273
|
var tryToString$4 = tryToString$5;
|
|
248
274
|
|
|
249
|
-
var $TypeError$
|
|
275
|
+
var $TypeError$f = TypeError;
|
|
250
276
|
|
|
251
277
|
// `Assert: IsCallable(argument) is true`
|
|
252
278
|
var aCallable$9 = function (argument) {
|
|
253
279
|
if (isCallable$i(argument)) return argument;
|
|
254
|
-
throw $TypeError$
|
|
280
|
+
throw $TypeError$f(tryToString$4(argument) + ' is not a function');
|
|
255
281
|
};
|
|
256
282
|
|
|
257
283
|
var aCallable$8 = aCallable$9;
|
|
284
|
+
var isNullOrUndefined$4 = isNullOrUndefined$6;
|
|
258
285
|
|
|
259
286
|
// `GetMethod` abstract operation
|
|
260
287
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
261
|
-
var getMethod$
|
|
288
|
+
var getMethod$5 = function (V, P) {
|
|
262
289
|
var func = V[P];
|
|
263
|
-
return func
|
|
290
|
+
return isNullOrUndefined$4(func) ? undefined : aCallable$8(func);
|
|
264
291
|
};
|
|
265
292
|
|
|
266
|
-
var call$
|
|
293
|
+
var call$i = functionCall;
|
|
267
294
|
var isCallable$h = isCallable$m;
|
|
268
|
-
var isObject$
|
|
295
|
+
var isObject$8 = isObject$9;
|
|
269
296
|
|
|
270
|
-
var $TypeError$
|
|
297
|
+
var $TypeError$e = TypeError;
|
|
271
298
|
|
|
272
299
|
// `OrdinaryToPrimitive` abstract operation
|
|
273
300
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
274
301
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
275
302
|
var fn, val;
|
|
276
|
-
if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$
|
|
277
|
-
if (isCallable$h(fn = input.valueOf) && !isObject$
|
|
278
|
-
if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$
|
|
279
|
-
throw $TypeError$
|
|
303
|
+
if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$8(val = call$i(fn, input))) return val;
|
|
304
|
+
if (isCallable$h(fn = input.valueOf) && !isObject$8(val = call$i(fn, input))) return val;
|
|
305
|
+
if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$8(val = call$i(fn, input))) return val;
|
|
306
|
+
throw $TypeError$e("Can't convert object to primitive value");
|
|
280
307
|
};
|
|
281
308
|
|
|
282
309
|
var shared$4 = {exports: {}};
|
|
283
310
|
|
|
284
311
|
var global$k = global$n;
|
|
285
312
|
|
|
286
|
-
// eslint-disable-next-line es
|
|
313
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
287
314
|
var defineProperty$5 = Object.defineProperty;
|
|
288
315
|
|
|
289
316
|
var defineGlobalProperty$3 = function (key, value) {
|
|
@@ -307,50 +334,50 @@ var store$2 = sharedStore;
|
|
|
307
334
|
(shared$4.exports = function (key, value) {
|
|
308
335
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
309
336
|
})('versions', []).push({
|
|
310
|
-
version: '3.
|
|
337
|
+
version: '3.26.1',
|
|
311
338
|
mode: 'global',
|
|
312
339
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
313
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
340
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE',
|
|
314
341
|
source: 'https://github.com/zloirock/core-js'
|
|
315
342
|
});
|
|
316
343
|
|
|
317
|
-
var requireObjectCoercible$
|
|
344
|
+
var requireObjectCoercible$7 = requireObjectCoercible$9;
|
|
318
345
|
|
|
319
346
|
var $Object$2 = Object;
|
|
320
347
|
|
|
321
348
|
// `ToObject` abstract operation
|
|
322
349
|
// https://tc39.es/ecma262/#sec-toobject
|
|
323
350
|
var toObject$6 = function (argument) {
|
|
324
|
-
return $Object$2(requireObjectCoercible$
|
|
351
|
+
return $Object$2(requireObjectCoercible$7(argument));
|
|
325
352
|
};
|
|
326
353
|
|
|
327
|
-
var uncurryThis$
|
|
354
|
+
var uncurryThis$k = functionUncurryThis;
|
|
328
355
|
var toObject$5 = toObject$6;
|
|
329
356
|
|
|
330
|
-
var hasOwnProperty = uncurryThis$
|
|
357
|
+
var hasOwnProperty = uncurryThis$k({}.hasOwnProperty);
|
|
331
358
|
|
|
332
359
|
// `HasOwnProperty` abstract operation
|
|
333
360
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
334
|
-
// eslint-disable-next-line es
|
|
361
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
335
362
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
336
363
|
return hasOwnProperty(toObject$5(it), key);
|
|
337
364
|
};
|
|
338
365
|
|
|
339
|
-
var uncurryThis$
|
|
366
|
+
var uncurryThis$j = functionUncurryThis;
|
|
340
367
|
|
|
341
368
|
var id = 0;
|
|
342
369
|
var postfix = Math.random();
|
|
343
|
-
var toString$
|
|
370
|
+
var toString$b = uncurryThis$j(1.0.toString);
|
|
344
371
|
|
|
345
372
|
var uid$2 = function (key) {
|
|
346
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$
|
|
373
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$b(++id + postfix, 36);
|
|
347
374
|
};
|
|
348
375
|
|
|
349
376
|
var global$i = global$n;
|
|
350
377
|
var shared$3 = shared$4.exports;
|
|
351
378
|
var hasOwn$a = hasOwnProperty_1;
|
|
352
379
|
var uid$1 = uid$2;
|
|
353
|
-
var NATIVE_SYMBOL =
|
|
380
|
+
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
354
381
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
355
382
|
|
|
356
383
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
@@ -371,27 +398,27 @@ var wellKnownSymbol$i = function (name) {
|
|
|
371
398
|
} return WellKnownSymbolsStore[name];
|
|
372
399
|
};
|
|
373
400
|
|
|
374
|
-
var call$
|
|
375
|
-
var isObject$
|
|
401
|
+
var call$h = functionCall;
|
|
402
|
+
var isObject$7 = isObject$9;
|
|
376
403
|
var isSymbol$1 = isSymbol$2;
|
|
377
|
-
var getMethod$
|
|
404
|
+
var getMethod$4 = getMethod$5;
|
|
378
405
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
379
406
|
var wellKnownSymbol$h = wellKnownSymbol$i;
|
|
380
407
|
|
|
381
|
-
var $TypeError$
|
|
408
|
+
var $TypeError$d = TypeError;
|
|
382
409
|
var TO_PRIMITIVE = wellKnownSymbol$h('toPrimitive');
|
|
383
410
|
|
|
384
411
|
// `ToPrimitive` abstract operation
|
|
385
412
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
386
413
|
var toPrimitive$1 = function (input, pref) {
|
|
387
|
-
if (!isObject$
|
|
388
|
-
var exoticToPrim = getMethod$
|
|
414
|
+
if (!isObject$7(input) || isSymbol$1(input)) return input;
|
|
415
|
+
var exoticToPrim = getMethod$4(input, TO_PRIMITIVE);
|
|
389
416
|
var result;
|
|
390
417
|
if (exoticToPrim) {
|
|
391
418
|
if (pref === undefined) pref = 'default';
|
|
392
|
-
result = call$
|
|
393
|
-
if (!isObject$
|
|
394
|
-
throw $TypeError$
|
|
419
|
+
result = call$h(exoticToPrim, input, pref);
|
|
420
|
+
if (!isObject$7(result) || isSymbol$1(result)) return result;
|
|
421
|
+
throw $TypeError$d("Can't convert object to primitive value");
|
|
395
422
|
}
|
|
396
423
|
if (pref === undefined) pref = 'number';
|
|
397
424
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -408,30 +435,30 @@ var toPropertyKey$3 = function (argument) {
|
|
|
408
435
|
};
|
|
409
436
|
|
|
410
437
|
var global$h = global$n;
|
|
411
|
-
var isObject$
|
|
438
|
+
var isObject$6 = isObject$9;
|
|
412
439
|
|
|
413
440
|
var document$3 = global$h.document;
|
|
414
441
|
// typeof document.createElement is 'object' in old IE
|
|
415
|
-
var EXISTS$1 = isObject$
|
|
442
|
+
var EXISTS$1 = isObject$6(document$3) && isObject$6(document$3.createElement);
|
|
416
443
|
|
|
417
444
|
var documentCreateElement$2 = function (it) {
|
|
418
445
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
419
446
|
};
|
|
420
447
|
|
|
421
448
|
var DESCRIPTORS$a = descriptors;
|
|
422
|
-
var fails$
|
|
449
|
+
var fails$j = fails$o;
|
|
423
450
|
var createElement$1 = documentCreateElement$2;
|
|
424
451
|
|
|
425
452
|
// Thanks to IE8 for its funny defineProperty
|
|
426
|
-
var ie8DomDefine = !DESCRIPTORS$a && !fails$
|
|
427
|
-
// eslint-disable-next-line es
|
|
453
|
+
var ie8DomDefine = !DESCRIPTORS$a && !fails$j(function () {
|
|
454
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
428
455
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
429
456
|
get: function () { return 7; }
|
|
430
457
|
}).a != 7;
|
|
431
458
|
});
|
|
432
459
|
|
|
433
460
|
var DESCRIPTORS$9 = descriptors;
|
|
434
|
-
var call$
|
|
461
|
+
var call$g = functionCall;
|
|
435
462
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
436
463
|
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
437
464
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
@@ -439,7 +466,7 @@ var toPropertyKey$2 = toPropertyKey$3;
|
|
|
439
466
|
var hasOwn$9 = hasOwnProperty_1;
|
|
440
467
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
441
468
|
|
|
442
|
-
// eslint-disable-next-line es
|
|
469
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
443
470
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
444
471
|
|
|
445
472
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -450,45 +477,45 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 :
|
|
|
450
477
|
if (IE8_DOM_DEFINE$1) try {
|
|
451
478
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
452
479
|
} catch (error) { /* empty */ }
|
|
453
|
-
if (hasOwn$9(O, P)) return createPropertyDescriptor$3(!call$
|
|
480
|
+
if (hasOwn$9(O, P)) return createPropertyDescriptor$3(!call$g(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
454
481
|
};
|
|
455
482
|
|
|
456
483
|
var objectDefineProperty = {};
|
|
457
484
|
|
|
458
485
|
var DESCRIPTORS$8 = descriptors;
|
|
459
|
-
var fails$
|
|
486
|
+
var fails$i = fails$o;
|
|
460
487
|
|
|
461
488
|
// V8 ~ Chrome 36-
|
|
462
489
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
463
|
-
var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$
|
|
464
|
-
// eslint-disable-next-line es
|
|
490
|
+
var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$i(function () {
|
|
491
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
465
492
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
466
493
|
value: 42,
|
|
467
494
|
writable: false
|
|
468
495
|
}).prototype != 42;
|
|
469
496
|
});
|
|
470
497
|
|
|
471
|
-
var isObject$
|
|
498
|
+
var isObject$5 = isObject$9;
|
|
472
499
|
|
|
473
500
|
var $String$2 = String;
|
|
474
|
-
var $TypeError$
|
|
501
|
+
var $TypeError$c = TypeError;
|
|
475
502
|
|
|
476
503
|
// `Assert: Type(argument) is Object`
|
|
477
|
-
var anObject$
|
|
478
|
-
if (isObject$
|
|
479
|
-
throw $TypeError$
|
|
504
|
+
var anObject$f = function (argument) {
|
|
505
|
+
if (isObject$5(argument)) return argument;
|
|
506
|
+
throw $TypeError$c($String$2(argument) + ' is not an object');
|
|
480
507
|
};
|
|
481
508
|
|
|
482
509
|
var DESCRIPTORS$7 = descriptors;
|
|
483
510
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
484
511
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
485
|
-
var anObject$
|
|
512
|
+
var anObject$e = anObject$f;
|
|
486
513
|
var toPropertyKey$1 = toPropertyKey$3;
|
|
487
514
|
|
|
488
|
-
var $TypeError$
|
|
489
|
-
// eslint-disable-next-line es
|
|
515
|
+
var $TypeError$b = TypeError;
|
|
516
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
490
517
|
var $defineProperty = Object.defineProperty;
|
|
491
|
-
// eslint-disable-next-line es
|
|
518
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
492
519
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
493
520
|
var ENUMERABLE = 'enumerable';
|
|
494
521
|
var CONFIGURABLE$1 = 'configurable';
|
|
@@ -497,9 +524,9 @@ var WRITABLE = 'writable';
|
|
|
497
524
|
// `Object.defineProperty` method
|
|
498
525
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
499
526
|
objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
500
|
-
anObject$
|
|
527
|
+
anObject$e(O);
|
|
501
528
|
P = toPropertyKey$1(P);
|
|
502
|
-
anObject$
|
|
529
|
+
anObject$e(Attributes);
|
|
503
530
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
504
531
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
505
532
|
if (current && current[WRITABLE]) {
|
|
@@ -512,13 +539,13 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
512
539
|
}
|
|
513
540
|
} return $defineProperty(O, P, Attributes);
|
|
514
541
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
515
|
-
anObject$
|
|
542
|
+
anObject$e(O);
|
|
516
543
|
P = toPropertyKey$1(P);
|
|
517
|
-
anObject$
|
|
544
|
+
anObject$e(Attributes);
|
|
518
545
|
if (IE8_DOM_DEFINE) try {
|
|
519
546
|
return $defineProperty(O, P, Attributes);
|
|
520
547
|
} catch (error) { /* empty */ }
|
|
521
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$
|
|
548
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$b('Accessors not supported');
|
|
522
549
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
523
550
|
return O;
|
|
524
551
|
};
|
|
@@ -540,7 +567,7 @@ var DESCRIPTORS$5 = descriptors;
|
|
|
540
567
|
var hasOwn$8 = hasOwnProperty_1;
|
|
541
568
|
|
|
542
569
|
var FunctionPrototype$1 = Function.prototype;
|
|
543
|
-
// eslint-disable-next-line es
|
|
570
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
544
571
|
var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
|
|
545
572
|
|
|
546
573
|
var EXISTS = hasOwn$8(FunctionPrototype$1, 'name');
|
|
@@ -554,11 +581,11 @@ var functionName = {
|
|
|
554
581
|
CONFIGURABLE: CONFIGURABLE
|
|
555
582
|
};
|
|
556
583
|
|
|
557
|
-
var uncurryThis$
|
|
584
|
+
var uncurryThis$i = functionUncurryThis;
|
|
558
585
|
var isCallable$g = isCallable$m;
|
|
559
586
|
var store$1 = sharedStore;
|
|
560
587
|
|
|
561
|
-
var functionToString = uncurryThis$
|
|
588
|
+
var functionToString = uncurryThis$i(Function.toString);
|
|
562
589
|
|
|
563
590
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
564
591
|
if (!isCallable$g(store$1.inspectSource)) {
|
|
@@ -567,15 +594,14 @@ if (!isCallable$g(store$1.inspectSource)) {
|
|
|
567
594
|
};
|
|
568
595
|
}
|
|
569
596
|
|
|
570
|
-
var inspectSource$
|
|
597
|
+
var inspectSource$3 = store$1.inspectSource;
|
|
571
598
|
|
|
572
599
|
var global$g = global$n;
|
|
573
600
|
var isCallable$f = isCallable$m;
|
|
574
|
-
var inspectSource$3 = inspectSource$4;
|
|
575
601
|
|
|
576
602
|
var WeakMap$1 = global$g.WeakMap;
|
|
577
603
|
|
|
578
|
-
var
|
|
604
|
+
var weakMapBasicDetection = isCallable$f(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
579
605
|
|
|
580
606
|
var shared$2 = shared$4.exports;
|
|
581
607
|
var uid = uid$2;
|
|
@@ -588,10 +614,9 @@ var sharedKey$3 = function (key) {
|
|
|
588
614
|
|
|
589
615
|
var hiddenKeys$4 = {};
|
|
590
616
|
|
|
591
|
-
var NATIVE_WEAK_MAP =
|
|
617
|
+
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
592
618
|
var global$f = global$n;
|
|
593
|
-
var
|
|
594
|
-
var isObject$3 = isObject$8;
|
|
619
|
+
var isObject$4 = isObject$9;
|
|
595
620
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
|
596
621
|
var hasOwn$7 = hasOwnProperty_1;
|
|
597
622
|
var shared$1 = sharedStore;
|
|
@@ -610,7 +635,7 @@ var enforce = function (it) {
|
|
|
610
635
|
var getterFor = function (TYPE) {
|
|
611
636
|
return function (it) {
|
|
612
637
|
var state;
|
|
613
|
-
if (!isObject$
|
|
638
|
+
if (!isObject$4(it) || (state = get(it)).type !== TYPE) {
|
|
614
639
|
throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
615
640
|
} return state;
|
|
616
641
|
};
|
|
@@ -618,26 +643,28 @@ var getterFor = function (TYPE) {
|
|
|
618
643
|
|
|
619
644
|
if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
620
645
|
var store = shared$1.state || (shared$1.state = new WeakMap());
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
646
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
647
|
+
store.get = store.get;
|
|
648
|
+
store.has = store.has;
|
|
649
|
+
store.set = store.set;
|
|
650
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
624
651
|
set$1 = function (it, metadata) {
|
|
625
|
-
if (
|
|
652
|
+
if (store.has(it)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
626
653
|
metadata.facade = it;
|
|
627
|
-
|
|
654
|
+
store.set(it, metadata);
|
|
628
655
|
return metadata;
|
|
629
656
|
};
|
|
630
657
|
get = function (it) {
|
|
631
|
-
return
|
|
658
|
+
return store.get(it) || {};
|
|
632
659
|
};
|
|
633
660
|
has = function (it) {
|
|
634
|
-
return
|
|
661
|
+
return store.has(it);
|
|
635
662
|
};
|
|
636
663
|
} else {
|
|
637
664
|
var STATE = sharedKey$2('state');
|
|
638
665
|
hiddenKeys$3[STATE] = true;
|
|
639
666
|
set$1 = function (it, metadata) {
|
|
640
|
-
if (hasOwn$7(it, STATE)) throw
|
|
667
|
+
if (hasOwn$7(it, STATE)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
641
668
|
metadata.facade = it;
|
|
642
669
|
createNonEnumerableProperty$4(it, STATE, metadata);
|
|
643
670
|
return metadata;
|
|
@@ -658,20 +685,20 @@ var internalState = {
|
|
|
658
685
|
getterFor: getterFor
|
|
659
686
|
};
|
|
660
687
|
|
|
661
|
-
var fails$
|
|
688
|
+
var fails$h = fails$o;
|
|
662
689
|
var isCallable$e = isCallable$m;
|
|
663
690
|
var hasOwn$6 = hasOwnProperty_1;
|
|
664
691
|
var DESCRIPTORS$4 = descriptors;
|
|
665
692
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
666
|
-
var inspectSource$2 = inspectSource$
|
|
693
|
+
var inspectSource$2 = inspectSource$3;
|
|
667
694
|
var InternalStateModule$2 = internalState;
|
|
668
695
|
|
|
669
696
|
var enforceInternalState = InternalStateModule$2.enforce;
|
|
670
697
|
var getInternalState$2 = InternalStateModule$2.get;
|
|
671
|
-
// eslint-disable-next-line es
|
|
698
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
672
699
|
var defineProperty$4 = Object.defineProperty;
|
|
673
700
|
|
|
674
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$
|
|
701
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$h(function () {
|
|
675
702
|
return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
676
703
|
});
|
|
677
704
|
|
|
@@ -743,7 +770,7 @@ var floor$2 = Math.floor;
|
|
|
743
770
|
|
|
744
771
|
// `Math.trunc` method
|
|
745
772
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
746
|
-
// eslint-disable-next-line es
|
|
773
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
747
774
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
748
775
|
var n = +x;
|
|
749
776
|
return (n > 0 ? floor$2 : ceil$1)(n);
|
|
@@ -762,32 +789,32 @@ var toIntegerOrInfinity$5 = function (argument) {
|
|
|
762
789
|
var toIntegerOrInfinity$4 = toIntegerOrInfinity$5;
|
|
763
790
|
|
|
764
791
|
var max$2 = Math.max;
|
|
765
|
-
var min$
|
|
792
|
+
var min$2 = Math.min;
|
|
766
793
|
|
|
767
794
|
// Helper for a popular repeating case of the spec:
|
|
768
795
|
// Let integer be ? ToInteger(index).
|
|
769
796
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
770
797
|
var toAbsoluteIndex$2 = function (index, length) {
|
|
771
798
|
var integer = toIntegerOrInfinity$4(index);
|
|
772
|
-
return integer < 0 ? max$2(integer + length, 0) : min$
|
|
799
|
+
return integer < 0 ? max$2(integer + length, 0) : min$2(integer, length);
|
|
773
800
|
};
|
|
774
801
|
|
|
775
802
|
var toIntegerOrInfinity$3 = toIntegerOrInfinity$5;
|
|
776
803
|
|
|
777
|
-
var min$
|
|
804
|
+
var min$1 = Math.min;
|
|
778
805
|
|
|
779
806
|
// `ToLength` abstract operation
|
|
780
807
|
// https://tc39.es/ecma262/#sec-tolength
|
|
781
|
-
var toLength$
|
|
782
|
-
return argument > 0 ? min$
|
|
808
|
+
var toLength$3 = function (argument) {
|
|
809
|
+
return argument > 0 ? min$1(toIntegerOrInfinity$3(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
783
810
|
};
|
|
784
811
|
|
|
785
|
-
var toLength$
|
|
812
|
+
var toLength$2 = toLength$3;
|
|
786
813
|
|
|
787
814
|
// `LengthOfArrayLike` abstract operation
|
|
788
815
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
789
816
|
var lengthOfArrayLike$5 = function (obj) {
|
|
790
|
-
return toLength$
|
|
817
|
+
return toLength$2(obj.length);
|
|
791
818
|
};
|
|
792
819
|
|
|
793
820
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
@@ -829,17 +856,17 @@ var toIndexedObject$2 = toIndexedObject$5;
|
|
|
829
856
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
830
857
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
831
858
|
|
|
832
|
-
var push$
|
|
859
|
+
var push$2 = uncurryThis$h([].push);
|
|
833
860
|
|
|
834
861
|
var objectKeysInternal = function (object, names) {
|
|
835
862
|
var O = toIndexedObject$2(object);
|
|
836
863
|
var i = 0;
|
|
837
864
|
var result = [];
|
|
838
865
|
var key;
|
|
839
|
-
for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push$
|
|
866
|
+
for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push$2(result, key);
|
|
840
867
|
// Don't enum bug & hidden keys
|
|
841
868
|
while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
|
|
842
|
-
~indexOf$1(result, key) || push$
|
|
869
|
+
~indexOf$1(result, key) || push$2(result, key);
|
|
843
870
|
}
|
|
844
871
|
return result;
|
|
845
872
|
};
|
|
@@ -862,27 +889,27 @@ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
|
|
|
862
889
|
|
|
863
890
|
// `Object.getOwnPropertyNames` method
|
|
864
891
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
865
|
-
// eslint-disable-next-line es
|
|
892
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
866
893
|
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
867
894
|
return internalObjectKeys$1(O, hiddenKeys$1);
|
|
868
895
|
};
|
|
869
896
|
|
|
870
897
|
var objectGetOwnPropertySymbols = {};
|
|
871
898
|
|
|
872
|
-
// eslint-disable-next-line es
|
|
899
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
873
900
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
874
901
|
|
|
875
902
|
var getBuiltIn$5 = getBuiltIn$8;
|
|
876
903
|
var uncurryThis$g = functionUncurryThis;
|
|
877
904
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
878
905
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
879
|
-
var anObject$
|
|
906
|
+
var anObject$d = anObject$f;
|
|
880
907
|
|
|
881
908
|
var concat$2 = uncurryThis$g([].concat);
|
|
882
909
|
|
|
883
910
|
// all object keys, includes non-enumerable and symbols
|
|
884
911
|
var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
885
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
912
|
+
var keys = getOwnPropertyNamesModule.f(anObject$d(it));
|
|
886
913
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
887
914
|
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
888
915
|
};
|
|
@@ -904,7 +931,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
904
931
|
}
|
|
905
932
|
};
|
|
906
933
|
|
|
907
|
-
var fails$
|
|
934
|
+
var fails$g = fails$o;
|
|
908
935
|
var isCallable$c = isCallable$m;
|
|
909
936
|
|
|
910
937
|
var replacement = /#|\.prototype\./;
|
|
@@ -913,7 +940,7 @@ var isForced$2 = function (feature, detection) {
|
|
|
913
940
|
var value = data[normalize(feature)];
|
|
914
941
|
return value == POLYFILL ? true
|
|
915
942
|
: value == NATIVE ? false
|
|
916
|
-
: isCallable$c(detection) ? fails$
|
|
943
|
+
: isCallable$c(detection) ? fails$g(detection)
|
|
917
944
|
: !!detection;
|
|
918
945
|
};
|
|
919
946
|
|
|
@@ -987,30 +1014,30 @@ var enumBugKeys$1 = enumBugKeys$3;
|
|
|
987
1014
|
|
|
988
1015
|
// `Object.keys` method
|
|
989
1016
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
990
|
-
// eslint-disable-next-line es
|
|
1017
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
991
1018
|
var objectKeys$2 = Object.keys || function keys(O) {
|
|
992
1019
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
993
1020
|
};
|
|
994
1021
|
|
|
995
1022
|
var DESCRIPTORS$3 = descriptors;
|
|
996
1023
|
var uncurryThis$f = functionUncurryThis;
|
|
997
|
-
var call$
|
|
998
|
-
var fails$
|
|
1024
|
+
var call$f = functionCall;
|
|
1025
|
+
var fails$f = fails$o;
|
|
999
1026
|
var objectKeys$1 = objectKeys$2;
|
|
1000
1027
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1001
1028
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1002
1029
|
var toObject$4 = toObject$6;
|
|
1003
1030
|
var IndexedObject$1 = indexedObject;
|
|
1004
1031
|
|
|
1005
|
-
// eslint-disable-next-line es
|
|
1032
|
+
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1006
1033
|
var $assign = Object.assign;
|
|
1007
|
-
// eslint-disable-next-line es
|
|
1034
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1008
1035
|
var defineProperty$3 = Object.defineProperty;
|
|
1009
1036
|
var concat$1 = uncurryThis$f([].concat);
|
|
1010
1037
|
|
|
1011
1038
|
// `Object.assign` method
|
|
1012
1039
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1013
|
-
var objectAssign = !$assign || fails$
|
|
1040
|
+
var objectAssign = !$assign || fails$f(function () {
|
|
1014
1041
|
// should have correct order of operations (Edge bug)
|
|
1015
1042
|
if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
|
|
1016
1043
|
enumerable: true,
|
|
@@ -1024,7 +1051,7 @@ var objectAssign = !$assign || fails$g(function () {
|
|
|
1024
1051
|
// should work with symbols and should have deterministic property order (V8 bug)
|
|
1025
1052
|
var A = {};
|
|
1026
1053
|
var B = {};
|
|
1027
|
-
// eslint-disable-next-line es
|
|
1054
|
+
// eslint-disable-next-line es/no-symbol -- safe
|
|
1028
1055
|
var symbol = Symbol();
|
|
1029
1056
|
var alphabet = 'abcdefghijklmnopqrst';
|
|
1030
1057
|
A[symbol] = 7;
|
|
@@ -1044,7 +1071,7 @@ var objectAssign = !$assign || fails$g(function () {
|
|
|
1044
1071
|
var key;
|
|
1045
1072
|
while (length > j) {
|
|
1046
1073
|
key = keys[j++];
|
|
1047
|
-
if (!DESCRIPTORS$3 || call$
|
|
1074
|
+
if (!DESCRIPTORS$3 || call$f(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1048
1075
|
}
|
|
1049
1076
|
} return T;
|
|
1050
1077
|
} : $assign;
|
|
@@ -1054,7 +1081,7 @@ var assign = objectAssign;
|
|
|
1054
1081
|
|
|
1055
1082
|
// `Object.assign` method
|
|
1056
1083
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1057
|
-
// eslint-disable-next-line es
|
|
1084
|
+
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1058
1085
|
$$g({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1059
1086
|
assign: assign
|
|
1060
1087
|
});
|
|
@@ -1098,7 +1125,7 @@ function safeCallback(f, e) {
|
|
|
1098
1125
|
}
|
|
1099
1126
|
}
|
|
1100
1127
|
|
|
1101
|
-
var classof$6 = classofRaw$
|
|
1128
|
+
var classof$6 = classofRaw$2;
|
|
1102
1129
|
var global$d = global$n;
|
|
1103
1130
|
|
|
1104
1131
|
var engineIsNode = classof$6(global$d.process) == 'process';
|
|
@@ -1106,35 +1133,35 @@ var engineIsNode = classof$6(global$d.process) == 'process';
|
|
|
1106
1133
|
var isCallable$b = isCallable$m;
|
|
1107
1134
|
|
|
1108
1135
|
var $String$1 = String;
|
|
1109
|
-
var $TypeError$
|
|
1136
|
+
var $TypeError$a = TypeError;
|
|
1110
1137
|
|
|
1111
1138
|
var aPossiblePrototype$1 = function (argument) {
|
|
1112
1139
|
if (typeof argument == 'object' || isCallable$b(argument)) return argument;
|
|
1113
|
-
throw $TypeError$
|
|
1140
|
+
throw $TypeError$a("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1114
1141
|
};
|
|
1115
1142
|
|
|
1116
1143
|
/* eslint-disable no-proto -- safe */
|
|
1117
1144
|
|
|
1118
1145
|
var uncurryThis$e = functionUncurryThis;
|
|
1119
|
-
var anObject$
|
|
1146
|
+
var anObject$c = anObject$f;
|
|
1120
1147
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1121
1148
|
|
|
1122
1149
|
// `Object.setPrototypeOf` method
|
|
1123
1150
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
1124
1151
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1125
|
-
// eslint-disable-next-line es
|
|
1152
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
1126
1153
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
1127
1154
|
var CORRECT_SETTER = false;
|
|
1128
1155
|
var test = {};
|
|
1129
1156
|
var setter;
|
|
1130
1157
|
try {
|
|
1131
|
-
// eslint-disable-next-line es
|
|
1158
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1132
1159
|
setter = uncurryThis$e(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
1133
1160
|
setter(test, []);
|
|
1134
1161
|
CORRECT_SETTER = test instanceof Array;
|
|
1135
1162
|
} catch (error) { /* empty */ }
|
|
1136
1163
|
return function setPrototypeOf(O, proto) {
|
|
1137
|
-
anObject$
|
|
1164
|
+
anObject$c(O);
|
|
1138
1165
|
aPossiblePrototype(proto);
|
|
1139
1166
|
if (CORRECT_SETTER) setter(O, proto);
|
|
1140
1167
|
else O.__proto__ = proto;
|
|
@@ -1176,11 +1203,11 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
1176
1203
|
|
|
1177
1204
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
1178
1205
|
|
|
1179
|
-
var $TypeError$
|
|
1206
|
+
var $TypeError$9 = TypeError;
|
|
1180
1207
|
|
|
1181
1208
|
var anInstance$1 = function (it, Prototype) {
|
|
1182
1209
|
if (isPrototypeOf$2(Prototype, it)) return it;
|
|
1183
|
-
throw $TypeError$
|
|
1210
|
+
throw $TypeError$9('Incorrect invocation');
|
|
1184
1211
|
};
|
|
1185
1212
|
|
|
1186
1213
|
var wellKnownSymbol$e = wellKnownSymbol$i;
|
|
@@ -1194,14 +1221,14 @@ var toStringTagSupport = String(test$1) === '[object z]';
|
|
|
1194
1221
|
|
|
1195
1222
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1196
1223
|
var isCallable$a = isCallable$m;
|
|
1197
|
-
var classofRaw = classofRaw$
|
|
1224
|
+
var classofRaw$1 = classofRaw$2;
|
|
1198
1225
|
var wellKnownSymbol$d = wellKnownSymbol$i;
|
|
1199
1226
|
|
|
1200
1227
|
var TO_STRING_TAG$1 = wellKnownSymbol$d('toStringTag');
|
|
1201
1228
|
var $Object$1 = Object;
|
|
1202
1229
|
|
|
1203
1230
|
// ES3 wrong here
|
|
1204
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
1231
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';
|
|
1205
1232
|
|
|
1206
1233
|
// fallback for IE11 Script Access Denied error
|
|
1207
1234
|
var tryGet = function (it, key) {
|
|
@@ -1211,29 +1238,29 @@ var tryGet = function (it, key) {
|
|
|
1211
1238
|
};
|
|
1212
1239
|
|
|
1213
1240
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1214
|
-
var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
1241
|
+
var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
1215
1242
|
var O, tag, result;
|
|
1216
1243
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1217
1244
|
// @@toStringTag case
|
|
1218
1245
|
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$1)) == 'string' ? tag
|
|
1219
1246
|
// builtinTag case
|
|
1220
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1247
|
+
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1221
1248
|
// ES3 arguments fallback
|
|
1222
|
-
: (result = classofRaw(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
|
|
1249
|
+
: (result = classofRaw$1(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
|
|
1223
1250
|
};
|
|
1224
1251
|
|
|
1225
1252
|
var uncurryThis$d = functionUncurryThis;
|
|
1226
|
-
var fails$
|
|
1253
|
+
var fails$e = fails$o;
|
|
1227
1254
|
var isCallable$9 = isCallable$m;
|
|
1228
1255
|
var classof$4 = classof$5;
|
|
1229
1256
|
var getBuiltIn$3 = getBuiltIn$8;
|
|
1230
|
-
var inspectSource$1 = inspectSource$
|
|
1257
|
+
var inspectSource$1 = inspectSource$3;
|
|
1231
1258
|
|
|
1232
1259
|
var noop = function () { /* empty */ };
|
|
1233
1260
|
var empty = [];
|
|
1234
1261
|
var construct = getBuiltIn$3('Reflect', 'construct');
|
|
1235
1262
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
1236
|
-
var exec$
|
|
1263
|
+
var exec$1 = uncurryThis$d(constructorRegExp.exec);
|
|
1237
1264
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
1238
1265
|
|
|
1239
1266
|
var isConstructorModern = function isConstructor(argument) {
|
|
@@ -1257,7 +1284,7 @@ var isConstructorLegacy = function isConstructor(argument) {
|
|
|
1257
1284
|
// we can't check .prototype since constructors produced by .bind haven't it
|
|
1258
1285
|
// `Function#toString` throws on some built-it function in some legacy engines
|
|
1259
1286
|
// (for example, `DOMQuad` and similar in FF41-)
|
|
1260
|
-
return INCORRECT_TO_STRING || !!exec$
|
|
1287
|
+
return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource$1(argument));
|
|
1261
1288
|
} catch (error) {
|
|
1262
1289
|
return true;
|
|
1263
1290
|
}
|
|
@@ -1267,7 +1294,7 @@ isConstructorLegacy.sham = true;
|
|
|
1267
1294
|
|
|
1268
1295
|
// `IsConstructor` abstract operation
|
|
1269
1296
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
1270
|
-
var isConstructor$1 = !construct || fails$
|
|
1297
|
+
var isConstructor$1 = !construct || fails$e(function () {
|
|
1271
1298
|
var called;
|
|
1272
1299
|
return isConstructorModern(isConstructorModern.call)
|
|
1273
1300
|
|| !isConstructorModern(Object)
|
|
@@ -1278,44 +1305,55 @@ var isConstructor$1 = !construct || fails$f(function () {
|
|
|
1278
1305
|
var isConstructor = isConstructor$1;
|
|
1279
1306
|
var tryToString$3 = tryToString$5;
|
|
1280
1307
|
|
|
1281
|
-
var $TypeError$
|
|
1308
|
+
var $TypeError$8 = TypeError;
|
|
1282
1309
|
|
|
1283
1310
|
// `Assert: IsConstructor(argument) is true`
|
|
1284
1311
|
var aConstructor$1 = function (argument) {
|
|
1285
1312
|
if (isConstructor(argument)) return argument;
|
|
1286
|
-
throw $TypeError$
|
|
1313
|
+
throw $TypeError$8(tryToString$3(argument) + ' is not a constructor');
|
|
1287
1314
|
};
|
|
1288
1315
|
|
|
1289
|
-
var anObject$
|
|
1316
|
+
var anObject$b = anObject$f;
|
|
1290
1317
|
var aConstructor = aConstructor$1;
|
|
1318
|
+
var isNullOrUndefined$3 = isNullOrUndefined$6;
|
|
1291
1319
|
var wellKnownSymbol$c = wellKnownSymbol$i;
|
|
1292
1320
|
|
|
1293
1321
|
var SPECIES$2 = wellKnownSymbol$c('species');
|
|
1294
1322
|
|
|
1295
1323
|
// `SpeciesConstructor` abstract operation
|
|
1296
1324
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
1297
|
-
var speciesConstructor$
|
|
1298
|
-
var C = anObject$
|
|
1325
|
+
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
1326
|
+
var C = anObject$b(O).constructor;
|
|
1299
1327
|
var S;
|
|
1300
|
-
return C === undefined || (S = anObject$
|
|
1328
|
+
return C === undefined || isNullOrUndefined$3(S = anObject$b(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
|
|
1301
1329
|
};
|
|
1302
1330
|
|
|
1303
1331
|
var NATIVE_BIND$1 = functionBindNative;
|
|
1304
1332
|
|
|
1305
1333
|
var FunctionPrototype = Function.prototype;
|
|
1306
|
-
var apply$
|
|
1307
|
-
var call$
|
|
1334
|
+
var apply$2 = FunctionPrototype.apply;
|
|
1335
|
+
var call$e = FunctionPrototype.call;
|
|
1308
1336
|
|
|
1309
|
-
// eslint-disable-next-line es
|
|
1310
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$
|
|
1311
|
-
return call$
|
|
1337
|
+
// eslint-disable-next-line es/no-reflect -- safe
|
|
1338
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$e.bind(apply$2) : function () {
|
|
1339
|
+
return call$e.apply(apply$2, arguments);
|
|
1312
1340
|
});
|
|
1313
1341
|
|
|
1342
|
+
var classofRaw = classofRaw$2;
|
|
1314
1343
|
var uncurryThis$c = functionUncurryThis;
|
|
1344
|
+
|
|
1345
|
+
var functionUncurryThisClause = function (fn) {
|
|
1346
|
+
// Nashorn bug:
|
|
1347
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
1348
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
1349
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$c(fn);
|
|
1350
|
+
};
|
|
1351
|
+
|
|
1352
|
+
var uncurryThis$b = functionUncurryThisClause;
|
|
1315
1353
|
var aCallable$7 = aCallable$9;
|
|
1316
1354
|
var NATIVE_BIND = functionBindNative;
|
|
1317
1355
|
|
|
1318
|
-
var bind$4 = uncurryThis$
|
|
1356
|
+
var bind$4 = uncurryThis$b(uncurryThis$b.bind);
|
|
1319
1357
|
|
|
1320
1358
|
// optional / simple context binding
|
|
1321
1359
|
var functionBindContext = function (fn, that) {
|
|
@@ -1329,14 +1367,14 @@ var getBuiltIn$2 = getBuiltIn$8;
|
|
|
1329
1367
|
|
|
1330
1368
|
var html$2 = getBuiltIn$2('document', 'documentElement');
|
|
1331
1369
|
|
|
1332
|
-
var uncurryThis$
|
|
1370
|
+
var uncurryThis$a = functionUncurryThis;
|
|
1333
1371
|
|
|
1334
|
-
var arraySlice$
|
|
1372
|
+
var arraySlice$2 = uncurryThis$a([].slice);
|
|
1335
1373
|
|
|
1336
|
-
var $TypeError$
|
|
1374
|
+
var $TypeError$7 = TypeError;
|
|
1337
1375
|
|
|
1338
1376
|
var validateArgumentsLength$1 = function (passed, required) {
|
|
1339
|
-
if (passed < required) throw $TypeError$
|
|
1377
|
+
if (passed < required) throw $TypeError$7('Not enough arguments');
|
|
1340
1378
|
return passed;
|
|
1341
1379
|
};
|
|
1342
1380
|
|
|
@@ -1345,13 +1383,13 @@ var userAgent$5 = engineUserAgent;
|
|
|
1345
1383
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$5);
|
|
1346
1384
|
|
|
1347
1385
|
var global$c = global$n;
|
|
1348
|
-
var apply$
|
|
1386
|
+
var apply$1 = functionApply;
|
|
1349
1387
|
var bind$3 = functionBindContext;
|
|
1350
1388
|
var isCallable$8 = isCallable$m;
|
|
1351
1389
|
var hasOwn$2 = hasOwnProperty_1;
|
|
1352
|
-
var fails$
|
|
1390
|
+
var fails$d = fails$o;
|
|
1353
1391
|
var html$1 = html$2;
|
|
1354
|
-
var arraySlice$
|
|
1392
|
+
var arraySlice$1 = arraySlice$2;
|
|
1355
1393
|
var createElement = documentCreateElement$2;
|
|
1356
1394
|
var validateArgumentsLength = validateArgumentsLength$1;
|
|
1357
1395
|
var IS_IOS$1 = engineIsIos;
|
|
@@ -1367,11 +1405,11 @@ var String$1 = global$c.String;
|
|
|
1367
1405
|
var counter = 0;
|
|
1368
1406
|
var queue$1 = {};
|
|
1369
1407
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
1370
|
-
var location, defer, channel, port;
|
|
1408
|
+
var $location, defer, channel, port;
|
|
1371
1409
|
|
|
1372
1410
|
try {
|
|
1373
1411
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
1374
|
-
location = global$c.location;
|
|
1412
|
+
$location = global$c.location;
|
|
1375
1413
|
} catch (error) { /* empty */ }
|
|
1376
1414
|
|
|
1377
1415
|
var run = function (id) {
|
|
@@ -1394,7 +1432,7 @@ var listener = function (event) {
|
|
|
1394
1432
|
|
|
1395
1433
|
var post = function (id) {
|
|
1396
1434
|
// old engines have not location.origin
|
|
1397
|
-
global$c.postMessage(String$1(id), location.protocol + '//' + location.host);
|
|
1435
|
+
global$c.postMessage(String$1(id), $location.protocol + '//' + $location.host);
|
|
1398
1436
|
};
|
|
1399
1437
|
|
|
1400
1438
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
@@ -1402,9 +1440,9 @@ if (!set || !clear) {
|
|
|
1402
1440
|
set = function setImmediate(handler) {
|
|
1403
1441
|
validateArgumentsLength(arguments.length, 1);
|
|
1404
1442
|
var fn = isCallable$8(handler) ? handler : Function$1(handler);
|
|
1405
|
-
var args = arraySlice$
|
|
1443
|
+
var args = arraySlice$1(arguments, 1);
|
|
1406
1444
|
queue$1[++counter] = function () {
|
|
1407
|
-
apply$
|
|
1445
|
+
apply$1(fn, undefined, args);
|
|
1408
1446
|
};
|
|
1409
1447
|
defer(counter);
|
|
1410
1448
|
return counter;
|
|
@@ -1435,8 +1473,8 @@ if (!set || !clear) {
|
|
|
1435
1473
|
global$c.addEventListener &&
|
|
1436
1474
|
isCallable$8(global$c.postMessage) &&
|
|
1437
1475
|
!global$c.importScripts &&
|
|
1438
|
-
location && location.protocol !== 'file:' &&
|
|
1439
|
-
!fails$
|
|
1476
|
+
$location && $location.protocol !== 'file:' &&
|
|
1477
|
+
!fails$d(post)
|
|
1440
1478
|
) {
|
|
1441
1479
|
defer = post;
|
|
1442
1480
|
global$c.addEventListener('message', listener, false);
|
|
@@ -1616,7 +1654,7 @@ var global$7 = global$n;
|
|
|
1616
1654
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
1617
1655
|
var isCallable$7 = isCallable$m;
|
|
1618
1656
|
var isForced = isForced_1;
|
|
1619
|
-
var inspectSource = inspectSource$
|
|
1657
|
+
var inspectSource = inspectSource$3;
|
|
1620
1658
|
var wellKnownSymbol$b = wellKnownSymbol$i;
|
|
1621
1659
|
var IS_BROWSER = engineIsBrowser;
|
|
1622
1660
|
var IS_DENO = engineIsDeno;
|
|
@@ -1661,10 +1699,12 @@ var newPromiseCapability$2 = {};
|
|
|
1661
1699
|
|
|
1662
1700
|
var aCallable$6 = aCallable$9;
|
|
1663
1701
|
|
|
1702
|
+
var $TypeError$6 = TypeError;
|
|
1703
|
+
|
|
1664
1704
|
var PromiseCapability = function (C) {
|
|
1665
1705
|
var resolve, reject;
|
|
1666
1706
|
this.promise = new C(function ($$resolve, $$reject) {
|
|
1667
|
-
if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
|
|
1707
|
+
if (resolve !== undefined || reject !== undefined) throw $TypeError$6('Bad Promise constructor');
|
|
1668
1708
|
resolve = $$resolve;
|
|
1669
1709
|
reject = $$reject;
|
|
1670
1710
|
});
|
|
@@ -1681,16 +1721,16 @@ newPromiseCapability$2.f = function (C) {
|
|
|
1681
1721
|
var $$f = _export;
|
|
1682
1722
|
var IS_NODE$1 = engineIsNode;
|
|
1683
1723
|
var global$6 = global$n;
|
|
1684
|
-
var call$
|
|
1724
|
+
var call$d = functionCall;
|
|
1685
1725
|
var defineBuiltIn$5 = defineBuiltIn$7;
|
|
1686
1726
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
1687
1727
|
var setToStringTag$2 = setToStringTag$3;
|
|
1688
1728
|
var setSpecies = setSpecies$1;
|
|
1689
1729
|
var aCallable$5 = aCallable$9;
|
|
1690
1730
|
var isCallable$6 = isCallable$m;
|
|
1691
|
-
var isObject$
|
|
1731
|
+
var isObject$3 = isObject$9;
|
|
1692
1732
|
var anInstance = anInstance$1;
|
|
1693
|
-
var speciesConstructor
|
|
1733
|
+
var speciesConstructor = speciesConstructor$1;
|
|
1694
1734
|
var task = task$1.set;
|
|
1695
1735
|
var microtask = microtask$1;
|
|
1696
1736
|
var hostReportErrors = hostReportErrors$1;
|
|
@@ -1730,7 +1770,7 @@ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
|
1730
1770
|
// helpers
|
|
1731
1771
|
var isThenable = function (it) {
|
|
1732
1772
|
var then;
|
|
1733
|
-
return isObject$
|
|
1773
|
+
return isObject$3(it) && isCallable$6(then = it.then) ? then : false;
|
|
1734
1774
|
};
|
|
1735
1775
|
|
|
1736
1776
|
var callReaction = function (reaction, state) {
|
|
@@ -1759,7 +1799,7 @@ var callReaction = function (reaction, state) {
|
|
|
1759
1799
|
if (result === reaction.promise) {
|
|
1760
1800
|
reject(TypeError$1('Promise-chain cycle'));
|
|
1761
1801
|
} else if (then = isThenable(result)) {
|
|
1762
|
-
call$
|
|
1802
|
+
call$d(then, result, resolve, reject);
|
|
1763
1803
|
} else resolve(result);
|
|
1764
1804
|
} else reject(value);
|
|
1765
1805
|
} catch (error) {
|
|
@@ -1796,7 +1836,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
1796
1836
|
};
|
|
1797
1837
|
|
|
1798
1838
|
var onUnhandled = function (state) {
|
|
1799
|
-
call$
|
|
1839
|
+
call$d(task, global$6, function () {
|
|
1800
1840
|
var promise = state.facade;
|
|
1801
1841
|
var value = state.value;
|
|
1802
1842
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -1819,7 +1859,7 @@ var isUnhandled = function (state) {
|
|
|
1819
1859
|
};
|
|
1820
1860
|
|
|
1821
1861
|
var onHandleUnhandled = function (state) {
|
|
1822
|
-
call$
|
|
1862
|
+
call$d(task, global$6, function () {
|
|
1823
1863
|
var promise = state.facade;
|
|
1824
1864
|
if (IS_NODE$1) {
|
|
1825
1865
|
process.emit('rejectionHandled', promise);
|
|
@@ -1853,7 +1893,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
1853
1893
|
microtask(function () {
|
|
1854
1894
|
var wrapper = { done: false };
|
|
1855
1895
|
try {
|
|
1856
|
-
call$
|
|
1896
|
+
call$d(then, value,
|
|
1857
1897
|
bind$1(internalResolve, wrapper, state),
|
|
1858
1898
|
bind$1(internalReject, wrapper, state)
|
|
1859
1899
|
);
|
|
@@ -1877,7 +1917,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1877
1917
|
PromiseConstructor = function Promise(executor) {
|
|
1878
1918
|
anInstance(this, PromisePrototype);
|
|
1879
1919
|
aCallable$5(executor);
|
|
1880
|
-
call$
|
|
1920
|
+
call$d(Internal, this);
|
|
1881
1921
|
var state = getInternalPromiseState(this);
|
|
1882
1922
|
try {
|
|
1883
1923
|
executor(bind$1(internalResolve, state), bind$1(internalReject, state));
|
|
@@ -1906,7 +1946,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1906
1946
|
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
1907
1947
|
Internal.prototype = defineBuiltIn$5(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
1908
1948
|
var state = getInternalPromiseState(this);
|
|
1909
|
-
var reaction = newPromiseCapability$1(speciesConstructor
|
|
1949
|
+
var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
|
|
1910
1950
|
state.parent = true;
|
|
1911
1951
|
reaction.ok = isCallable$6(onFulfilled) ? onFulfilled : true;
|
|
1912
1952
|
reaction.fail = isCallable$6(onRejected) && onRejected;
|
|
@@ -1940,7 +1980,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1940
1980
|
defineBuiltIn$5(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
1941
1981
|
var that = this;
|
|
1942
1982
|
return new PromiseConstructor(function (resolve, reject) {
|
|
1943
|
-
call$
|
|
1983
|
+
call$d(nativeThen, that, resolve, reject);
|
|
1944
1984
|
}).then(onFulfilled, onRejected);
|
|
1945
1985
|
// https://github.com/zloirock/core-js/issues/640
|
|
1946
1986
|
}, { unsafe: true });
|
|
@@ -1979,21 +2019,22 @@ var isArrayIteratorMethod$1 = function (it) {
|
|
|
1979
2019
|
};
|
|
1980
2020
|
|
|
1981
2021
|
var classof$3 = classof$5;
|
|
1982
|
-
var getMethod$
|
|
2022
|
+
var getMethod$3 = getMethod$5;
|
|
2023
|
+
var isNullOrUndefined$2 = isNullOrUndefined$6;
|
|
1983
2024
|
var Iterators$3 = iterators;
|
|
1984
2025
|
var wellKnownSymbol$9 = wellKnownSymbol$i;
|
|
1985
2026
|
|
|
1986
2027
|
var ITERATOR$5 = wellKnownSymbol$9('iterator');
|
|
1987
2028
|
|
|
1988
2029
|
var getIteratorMethod$2 = function (it) {
|
|
1989
|
-
if (it
|
|
1990
|
-
|| getMethod$
|
|
2030
|
+
if (!isNullOrUndefined$2(it)) return getMethod$3(it, ITERATOR$5)
|
|
2031
|
+
|| getMethod$3(it, '@@iterator')
|
|
1991
2032
|
|| Iterators$3[classof$3(it)];
|
|
1992
2033
|
};
|
|
1993
2034
|
|
|
1994
|
-
var call$
|
|
2035
|
+
var call$c = functionCall;
|
|
1995
2036
|
var aCallable$4 = aCallable$9;
|
|
1996
|
-
var anObject$
|
|
2037
|
+
var anObject$a = anObject$f;
|
|
1997
2038
|
var tryToString$2 = tryToString$5;
|
|
1998
2039
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
1999
2040
|
|
|
@@ -2001,37 +2042,37 @@ var $TypeError$5 = TypeError;
|
|
|
2001
2042
|
|
|
2002
2043
|
var getIterator$1 = function (argument, usingIterator) {
|
|
2003
2044
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
2004
|
-
if (aCallable$4(iteratorMethod)) return anObject$
|
|
2045
|
+
if (aCallable$4(iteratorMethod)) return anObject$a(call$c(iteratorMethod, argument));
|
|
2005
2046
|
throw $TypeError$5(tryToString$2(argument) + ' is not iterable');
|
|
2006
2047
|
};
|
|
2007
2048
|
|
|
2008
|
-
var call$
|
|
2009
|
-
var anObject$
|
|
2010
|
-
var getMethod$
|
|
2049
|
+
var call$b = functionCall;
|
|
2050
|
+
var anObject$9 = anObject$f;
|
|
2051
|
+
var getMethod$2 = getMethod$5;
|
|
2011
2052
|
|
|
2012
2053
|
var iteratorClose$1 = function (iterator, kind, value) {
|
|
2013
2054
|
var innerResult, innerError;
|
|
2014
|
-
anObject$
|
|
2055
|
+
anObject$9(iterator);
|
|
2015
2056
|
try {
|
|
2016
|
-
innerResult = getMethod$
|
|
2057
|
+
innerResult = getMethod$2(iterator, 'return');
|
|
2017
2058
|
if (!innerResult) {
|
|
2018
2059
|
if (kind === 'throw') throw value;
|
|
2019
2060
|
return value;
|
|
2020
2061
|
}
|
|
2021
|
-
innerResult = call$
|
|
2062
|
+
innerResult = call$b(innerResult, iterator);
|
|
2022
2063
|
} catch (error) {
|
|
2023
2064
|
innerError = true;
|
|
2024
2065
|
innerResult = error;
|
|
2025
2066
|
}
|
|
2026
2067
|
if (kind === 'throw') throw value;
|
|
2027
2068
|
if (innerError) throw innerResult;
|
|
2028
|
-
anObject$
|
|
2069
|
+
anObject$9(innerResult);
|
|
2029
2070
|
return value;
|
|
2030
2071
|
};
|
|
2031
2072
|
|
|
2032
2073
|
var bind = functionBindContext;
|
|
2033
|
-
var call$
|
|
2034
|
-
var anObject$
|
|
2074
|
+
var call$a = functionCall;
|
|
2075
|
+
var anObject$8 = anObject$f;
|
|
2035
2076
|
var tryToString$1 = tryToString$5;
|
|
2036
2077
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
2037
2078
|
var lengthOfArrayLike$3 = lengthOfArrayLike$5;
|
|
@@ -2065,7 +2106,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2065
2106
|
|
|
2066
2107
|
var callFn = function (value) {
|
|
2067
2108
|
if (AS_ENTRIES) {
|
|
2068
|
-
anObject$
|
|
2109
|
+
anObject$8(value);
|
|
2069
2110
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
2070
2111
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
2071
2112
|
};
|
|
@@ -2088,7 +2129,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2088
2129
|
}
|
|
2089
2130
|
|
|
2090
2131
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
2091
|
-
while (!(step = call$
|
|
2132
|
+
while (!(step = call$a(next, iterator)).done) {
|
|
2092
2133
|
try {
|
|
2093
2134
|
result = callFn(step.value);
|
|
2094
2135
|
} catch (error) {
|
|
@@ -2116,7 +2157,7 @@ try {
|
|
|
2116
2157
|
iteratorWithReturn[ITERATOR$4] = function () {
|
|
2117
2158
|
return this;
|
|
2118
2159
|
};
|
|
2119
|
-
// eslint-disable-next-line es
|
|
2160
|
+
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
2120
2161
|
Array.from(iteratorWithReturn, function () { throw 2; });
|
|
2121
2162
|
} catch (error) { /* empty */ }
|
|
2122
2163
|
|
|
@@ -2146,7 +2187,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
2146
2187
|
});
|
|
2147
2188
|
|
|
2148
2189
|
var $$e = _export;
|
|
2149
|
-
var call$
|
|
2190
|
+
var call$9 = functionCall;
|
|
2150
2191
|
var aCallable$3 = aCallable$9;
|
|
2151
2192
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
2152
2193
|
var perform$1 = perform$3;
|
|
@@ -2170,7 +2211,7 @@ $$e({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2170
2211
|
var index = counter++;
|
|
2171
2212
|
var alreadyCalled = false;
|
|
2172
2213
|
remaining++;
|
|
2173
|
-
call$
|
|
2214
|
+
call$9($promiseResolve, C, promise).then(function (value) {
|
|
2174
2215
|
if (alreadyCalled) return;
|
|
2175
2216
|
alreadyCalled = true;
|
|
2176
2217
|
values[index] = value;
|
|
@@ -2210,7 +2251,7 @@ if (isCallable$5(NativePromiseConstructor)) {
|
|
|
2210
2251
|
}
|
|
2211
2252
|
|
|
2212
2253
|
var $$c = _export;
|
|
2213
|
-
var call$
|
|
2254
|
+
var call$8 = functionCall;
|
|
2214
2255
|
var aCallable$2 = aCallable$9;
|
|
2215
2256
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
2216
2257
|
var perform = perform$3;
|
|
@@ -2227,7 +2268,7 @@ $$c({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2227
2268
|
var result = perform(function () {
|
|
2228
2269
|
var $promiseResolve = aCallable$2(C.resolve);
|
|
2229
2270
|
iterate(iterable, function (promise) {
|
|
2230
|
-
call$
|
|
2271
|
+
call$8($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
2231
2272
|
});
|
|
2232
2273
|
});
|
|
2233
2274
|
if (result.error) reject(result.value);
|
|
@@ -2236,7 +2277,7 @@ $$c({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2236
2277
|
});
|
|
2237
2278
|
|
|
2238
2279
|
var $$b = _export;
|
|
2239
|
-
var call$
|
|
2280
|
+
var call$7 = functionCall;
|
|
2240
2281
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
2241
2282
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
2242
2283
|
|
|
@@ -2245,18 +2286,18 @@ var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
|
2245
2286
|
$$b({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
2246
2287
|
reject: function reject(r) {
|
|
2247
2288
|
var capability = newPromiseCapabilityModule.f(this);
|
|
2248
|
-
call$
|
|
2289
|
+
call$7(capability.reject, undefined, r);
|
|
2249
2290
|
return capability.promise;
|
|
2250
2291
|
}
|
|
2251
2292
|
});
|
|
2252
2293
|
|
|
2253
|
-
var anObject$
|
|
2254
|
-
var isObject$
|
|
2294
|
+
var anObject$7 = anObject$f;
|
|
2295
|
+
var isObject$2 = isObject$9;
|
|
2255
2296
|
var newPromiseCapability = newPromiseCapability$2;
|
|
2256
2297
|
|
|
2257
2298
|
var promiseResolve$1 = function (C, x) {
|
|
2258
|
-
anObject$
|
|
2259
|
-
if (isObject$
|
|
2299
|
+
anObject$7(C);
|
|
2300
|
+
if (isObject$2(x) && x.constructor === C) return x;
|
|
2260
2301
|
var promiseCapability = newPromiseCapability.f(C);
|
|
2261
2302
|
var resolve = promiseCapability.resolve;
|
|
2262
2303
|
resolve(x);
|
|
@@ -2429,21 +2470,21 @@ var classof$2 = classof$5;
|
|
|
2429
2470
|
|
|
2430
2471
|
var $String = String;
|
|
2431
2472
|
|
|
2432
|
-
var toString$
|
|
2473
|
+
var toString$a = function (argument) {
|
|
2433
2474
|
if (classof$2(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
2434
2475
|
return $String(argument);
|
|
2435
2476
|
};
|
|
2436
2477
|
|
|
2437
2478
|
var toIntegerOrInfinity$2 = toIntegerOrInfinity$5;
|
|
2438
|
-
var toString$
|
|
2439
|
-
var requireObjectCoercible$
|
|
2479
|
+
var toString$9 = toString$a;
|
|
2480
|
+
var requireObjectCoercible$6 = requireObjectCoercible$9;
|
|
2440
2481
|
|
|
2441
2482
|
var $RangeError = RangeError;
|
|
2442
2483
|
|
|
2443
2484
|
// `String.prototype.repeat` method implementation
|
|
2444
2485
|
// https://tc39.es/ecma262/#sec-string.prototype.repeat
|
|
2445
2486
|
var stringRepeat = function repeat(count) {
|
|
2446
|
-
var str = toString$
|
|
2487
|
+
var str = toString$9(requireObjectCoercible$6(this));
|
|
2447
2488
|
var result = '';
|
|
2448
2489
|
var n = toIntegerOrInfinity$2(count);
|
|
2449
2490
|
if (n < 0 || n == Infinity) throw $RangeError('Wrong number of repetitions');
|
|
@@ -2452,28 +2493,28 @@ var stringRepeat = function repeat(count) {
|
|
|
2452
2493
|
};
|
|
2453
2494
|
|
|
2454
2495
|
// https://github.com/tc39/proposal-string-pad-start-end
|
|
2455
|
-
var uncurryThis$
|
|
2456
|
-
var toLength$
|
|
2457
|
-
var toString$
|
|
2496
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
2497
|
+
var toLength$1 = toLength$3;
|
|
2498
|
+
var toString$8 = toString$a;
|
|
2458
2499
|
var $repeat = stringRepeat;
|
|
2459
|
-
var requireObjectCoercible$
|
|
2500
|
+
var requireObjectCoercible$5 = requireObjectCoercible$9;
|
|
2460
2501
|
|
|
2461
|
-
var repeat = uncurryThis$
|
|
2462
|
-
var stringSlice$
|
|
2502
|
+
var repeat = uncurryThis$9($repeat);
|
|
2503
|
+
var stringSlice$4 = uncurryThis$9(''.slice);
|
|
2463
2504
|
var ceil = Math.ceil;
|
|
2464
2505
|
|
|
2465
2506
|
// `String.prototype.{ padStart, padEnd }` methods implementation
|
|
2466
2507
|
var createMethod$3 = function (IS_END) {
|
|
2467
2508
|
return function ($this, maxLength, fillString) {
|
|
2468
|
-
var S = toString$
|
|
2469
|
-
var intMaxLength = toLength$
|
|
2509
|
+
var S = toString$8(requireObjectCoercible$5($this));
|
|
2510
|
+
var intMaxLength = toLength$1(maxLength);
|
|
2470
2511
|
var stringLength = S.length;
|
|
2471
|
-
var fillStr = fillString === undefined ? ' ' : toString$
|
|
2512
|
+
var fillStr = fillString === undefined ? ' ' : toString$8(fillString);
|
|
2472
2513
|
var fillLen, stringFiller;
|
|
2473
2514
|
if (intMaxLength <= stringLength || fillStr == '') return S;
|
|
2474
2515
|
fillLen = intMaxLength - stringLength;
|
|
2475
2516
|
stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));
|
|
2476
|
-
if (stringFiller.length > fillLen) stringFiller = stringSlice$
|
|
2517
|
+
if (stringFiller.length > fillLen) stringFiller = stringSlice$4(stringFiller, 0, fillLen);
|
|
2477
2518
|
return IS_END ? S + stringFiller : stringFiller + S;
|
|
2478
2519
|
};
|
|
2479
2520
|
};
|
|
@@ -2504,12 +2545,12 @@ $$9({ target: 'String', proto: true, forced: WEBKIT_BUG }, {
|
|
|
2504
2545
|
}
|
|
2505
2546
|
});
|
|
2506
2547
|
|
|
2507
|
-
var anObject$
|
|
2548
|
+
var anObject$6 = anObject$f;
|
|
2508
2549
|
|
|
2509
2550
|
// `RegExp.prototype.flags` getter implementation
|
|
2510
2551
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
2511
2552
|
var regexpFlags$1 = function () {
|
|
2512
|
-
var that = anObject$
|
|
2553
|
+
var that = anObject$6(this);
|
|
2513
2554
|
var result = '';
|
|
2514
2555
|
if (that.hasIndices) result += 'd';
|
|
2515
2556
|
if (that.global) result += 'g';
|
|
@@ -2522,7 +2563,7 @@ var regexpFlags$1 = function () {
|
|
|
2522
2563
|
return result;
|
|
2523
2564
|
};
|
|
2524
2565
|
|
|
2525
|
-
var call$
|
|
2566
|
+
var call$6 = functionCall;
|
|
2526
2567
|
var hasOwn$1 = hasOwnProperty_1;
|
|
2527
2568
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
2528
2569
|
var regExpFlags = regexpFlags$1;
|
|
@@ -2532,29 +2573,29 @@ var RegExpPrototype$2 = RegExp.prototype;
|
|
|
2532
2573
|
var regexpGetFlags = function (R) {
|
|
2533
2574
|
var flags = R.flags;
|
|
2534
2575
|
return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn$1(R, 'flags') && isPrototypeOf(RegExpPrototype$2, R)
|
|
2535
|
-
? call$
|
|
2576
|
+
? call$6(regExpFlags, R) : flags;
|
|
2536
2577
|
};
|
|
2537
2578
|
|
|
2538
2579
|
var PROPER_FUNCTION_NAME$2 = functionName.PROPER;
|
|
2539
2580
|
var defineBuiltIn$3 = defineBuiltIn$7;
|
|
2540
|
-
var anObject$
|
|
2541
|
-
var $toString = toString$
|
|
2542
|
-
var fails$
|
|
2581
|
+
var anObject$5 = anObject$f;
|
|
2582
|
+
var $toString = toString$a;
|
|
2583
|
+
var fails$c = fails$o;
|
|
2543
2584
|
var getRegExpFlags = regexpGetFlags;
|
|
2544
2585
|
|
|
2545
2586
|
var TO_STRING = 'toString';
|
|
2546
2587
|
var RegExpPrototype$1 = RegExp.prototype;
|
|
2547
|
-
var
|
|
2588
|
+
var nativeToString = RegExpPrototype$1[TO_STRING];
|
|
2548
2589
|
|
|
2549
|
-
var NOT_GENERIC = fails$
|
|
2590
|
+
var NOT_GENERIC = fails$c(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
|
2550
2591
|
// FF44- RegExp#toString has a wrong name
|
|
2551
|
-
var INCORRECT_NAME = PROPER_FUNCTION_NAME$2 &&
|
|
2592
|
+
var INCORRECT_NAME = PROPER_FUNCTION_NAME$2 && nativeToString.name != TO_STRING;
|
|
2552
2593
|
|
|
2553
2594
|
// `RegExp.prototype.toString` method
|
|
2554
2595
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
2555
2596
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
2556
2597
|
defineBuiltIn$3(RegExp.prototype, TO_STRING, function toString() {
|
|
2557
|
-
var R = anObject$
|
|
2598
|
+
var R = anObject$5(this);
|
|
2558
2599
|
var pattern = $toString(R.source);
|
|
2559
2600
|
var flags = $toString(getRegExpFlags(R));
|
|
2560
2601
|
return '/' + pattern + '/' + flags;
|
|
@@ -2604,11 +2645,11 @@ var arrayReduce = {
|
|
|
2604
2645
|
right: createMethod$2(true)
|
|
2605
2646
|
};
|
|
2606
2647
|
|
|
2607
|
-
var fails$
|
|
2648
|
+
var fails$b = fails$o;
|
|
2608
2649
|
|
|
2609
2650
|
var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
|
|
2610
2651
|
var method = [][METHOD_NAME];
|
|
2611
|
-
return !!method && fails$
|
|
2652
|
+
return !!method && fails$b(function () {
|
|
2612
2653
|
// eslint-disable-next-line no-useless-call -- required for testing
|
|
2613
2654
|
method.call(null, argument || function () { return 1; }, 1);
|
|
2614
2655
|
});
|
|
@@ -2696,13 +2737,13 @@ function getRightmostSetBitNumber(n) {
|
|
|
2696
2737
|
return n & -n;
|
|
2697
2738
|
}
|
|
2698
2739
|
|
|
2699
|
-
var fails$
|
|
2740
|
+
var fails$a = fails$o;
|
|
2700
2741
|
var global$5 = global$n;
|
|
2701
2742
|
|
|
2702
2743
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
2703
2744
|
var $RegExp$2 = global$5.RegExp;
|
|
2704
2745
|
|
|
2705
|
-
var UNSUPPORTED_Y$
|
|
2746
|
+
var UNSUPPORTED_Y$1 = fails$a(function () {
|
|
2706
2747
|
var re = $RegExp$2('a', 'y');
|
|
2707
2748
|
re.lastIndex = 2;
|
|
2708
2749
|
return re.exec('abcd') != null;
|
|
@@ -2710,11 +2751,11 @@ var UNSUPPORTED_Y$2 = fails$b(function () {
|
|
|
2710
2751
|
|
|
2711
2752
|
// UC Browser bug
|
|
2712
2753
|
// https://github.com/zloirock/core-js/issues/1008
|
|
2713
|
-
var MISSED_STICKY = UNSUPPORTED_Y$
|
|
2754
|
+
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$a(function () {
|
|
2714
2755
|
return !$RegExp$2('a', 'y').sticky;
|
|
2715
2756
|
});
|
|
2716
2757
|
|
|
2717
|
-
var BROKEN_CARET = UNSUPPORTED_Y$
|
|
2758
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$a(function () {
|
|
2718
2759
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
2719
2760
|
var re = $RegExp$2('^r', 'gy');
|
|
2720
2761
|
re.lastIndex = 2;
|
|
@@ -2724,7 +2765,7 @@ var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$b(function () {
|
|
|
2724
2765
|
var regexpStickyHelpers = {
|
|
2725
2766
|
BROKEN_CARET: BROKEN_CARET,
|
|
2726
2767
|
MISSED_STICKY: MISSED_STICKY,
|
|
2727
|
-
UNSUPPORTED_Y: UNSUPPORTED_Y$
|
|
2768
|
+
UNSUPPORTED_Y: UNSUPPORTED_Y$1
|
|
2728
2769
|
};
|
|
2729
2770
|
|
|
2730
2771
|
var objectDefineProperties = {};
|
|
@@ -2732,15 +2773,15 @@ var objectDefineProperties = {};
|
|
|
2732
2773
|
var DESCRIPTORS$1 = descriptors;
|
|
2733
2774
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
2734
2775
|
var definePropertyModule$1 = objectDefineProperty;
|
|
2735
|
-
var anObject$
|
|
2776
|
+
var anObject$4 = anObject$f;
|
|
2736
2777
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
2737
2778
|
var objectKeys = objectKeys$2;
|
|
2738
2779
|
|
|
2739
2780
|
// `Object.defineProperties` method
|
|
2740
2781
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
2741
|
-
// eslint-disable-next-line es
|
|
2782
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
2742
2783
|
objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
2743
|
-
anObject$
|
|
2784
|
+
anObject$4(O);
|
|
2744
2785
|
var props = toIndexedObject$1(Properties);
|
|
2745
2786
|
var keys = objectKeys(Properties);
|
|
2746
2787
|
var length = keys.length;
|
|
@@ -2752,7 +2793,7 @@ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
2752
2793
|
|
|
2753
2794
|
/* global ActiveXObject -- old IE, WSH */
|
|
2754
2795
|
|
|
2755
|
-
var anObject$
|
|
2796
|
+
var anObject$3 = anObject$f;
|
|
2756
2797
|
var definePropertiesModule = objectDefineProperties;
|
|
2757
2798
|
var enumBugKeys = enumBugKeys$3;
|
|
2758
2799
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -2822,11 +2863,11 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
2822
2863
|
|
|
2823
2864
|
// `Object.create` method
|
|
2824
2865
|
// https://tc39.es/ecma262/#sec-object.create
|
|
2825
|
-
// eslint-disable-next-line es
|
|
2866
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
2826
2867
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
2827
2868
|
var result;
|
|
2828
2869
|
if (O !== null) {
|
|
2829
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
2870
|
+
EmptyConstructor[PROTOTYPE] = anObject$3(O);
|
|
2830
2871
|
result = new EmptyConstructor();
|
|
2831
2872
|
EmptyConstructor[PROTOTYPE] = null;
|
|
2832
2873
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -2835,24 +2876,24 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
2835
2876
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
2836
2877
|
};
|
|
2837
2878
|
|
|
2838
|
-
var fails$
|
|
2879
|
+
var fails$9 = fails$o;
|
|
2839
2880
|
var global$4 = global$n;
|
|
2840
2881
|
|
|
2841
2882
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
2842
2883
|
var $RegExp$1 = global$4.RegExp;
|
|
2843
2884
|
|
|
2844
|
-
var regexpUnsupportedDotAll = fails$
|
|
2885
|
+
var regexpUnsupportedDotAll = fails$9(function () {
|
|
2845
2886
|
var re = $RegExp$1('.', 's');
|
|
2846
2887
|
return !(re.dotAll && re.exec('\n') && re.flags === 's');
|
|
2847
2888
|
});
|
|
2848
2889
|
|
|
2849
|
-
var fails$
|
|
2890
|
+
var fails$8 = fails$o;
|
|
2850
2891
|
var global$3 = global$n;
|
|
2851
2892
|
|
|
2852
2893
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
2853
2894
|
var $RegExp = global$3.RegExp;
|
|
2854
2895
|
|
|
2855
|
-
var regexpUnsupportedNcg = fails$
|
|
2896
|
+
var regexpUnsupportedNcg = fails$8(function () {
|
|
2856
2897
|
var re = $RegExp('(?<a>b)', 'g');
|
|
2857
2898
|
return re.exec('b').groups.a !== 'b' ||
|
|
2858
2899
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -2860,11 +2901,11 @@ var regexpUnsupportedNcg = fails$9(function () {
|
|
|
2860
2901
|
|
|
2861
2902
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
2862
2903
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
2863
|
-
var call$
|
|
2864
|
-
var uncurryThis$
|
|
2865
|
-
var toString$
|
|
2904
|
+
var call$5 = functionCall;
|
|
2905
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
2906
|
+
var toString$7 = toString$a;
|
|
2866
2907
|
var regexpFlags = regexpFlags$1;
|
|
2867
|
-
var stickyHelpers
|
|
2908
|
+
var stickyHelpers = regexpStickyHelpers;
|
|
2868
2909
|
var shared = shared$4.exports;
|
|
2869
2910
|
var create$2 = objectCreate;
|
|
2870
2911
|
var getInternalState$1 = internalState.get;
|
|
@@ -2874,44 +2915,44 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
2874
2915
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
2875
2916
|
var nativeExec = RegExp.prototype.exec;
|
|
2876
2917
|
var patchedExec = nativeExec;
|
|
2877
|
-
var charAt$4 = uncurryThis$
|
|
2878
|
-
var indexOf = uncurryThis$
|
|
2879
|
-
var replace$2 = uncurryThis$
|
|
2880
|
-
var stringSlice$
|
|
2918
|
+
var charAt$4 = uncurryThis$8(''.charAt);
|
|
2919
|
+
var indexOf = uncurryThis$8(''.indexOf);
|
|
2920
|
+
var replace$2 = uncurryThis$8(''.replace);
|
|
2921
|
+
var stringSlice$3 = uncurryThis$8(''.slice);
|
|
2881
2922
|
|
|
2882
2923
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
2883
2924
|
var re1 = /a/;
|
|
2884
2925
|
var re2 = /b*/g;
|
|
2885
|
-
call$
|
|
2886
|
-
call$
|
|
2926
|
+
call$5(nativeExec, re1, 'a');
|
|
2927
|
+
call$5(nativeExec, re2, 'a');
|
|
2887
2928
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
2888
2929
|
})();
|
|
2889
2930
|
|
|
2890
|
-
var UNSUPPORTED_Y
|
|
2931
|
+
var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
|
|
2891
2932
|
|
|
2892
2933
|
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
|
2893
2934
|
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
|
2894
2935
|
|
|
2895
|
-
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y
|
|
2936
|
+
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
|
|
2896
2937
|
|
|
2897
2938
|
if (PATCH) {
|
|
2898
2939
|
patchedExec = function exec(string) {
|
|
2899
2940
|
var re = this;
|
|
2900
2941
|
var state = getInternalState$1(re);
|
|
2901
|
-
var str = toString$
|
|
2942
|
+
var str = toString$7(string);
|
|
2902
2943
|
var raw = state.raw;
|
|
2903
2944
|
var result, reCopy, lastIndex, match, i, object, group;
|
|
2904
2945
|
|
|
2905
2946
|
if (raw) {
|
|
2906
2947
|
raw.lastIndex = re.lastIndex;
|
|
2907
|
-
result = call$
|
|
2948
|
+
result = call$5(patchedExec, raw, str);
|
|
2908
2949
|
re.lastIndex = raw.lastIndex;
|
|
2909
2950
|
return result;
|
|
2910
2951
|
}
|
|
2911
2952
|
|
|
2912
2953
|
var groups = state.groups;
|
|
2913
|
-
var sticky = UNSUPPORTED_Y
|
|
2914
|
-
var flags = call$
|
|
2954
|
+
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
2955
|
+
var flags = call$5(regexpFlags, re);
|
|
2915
2956
|
var source = re.source;
|
|
2916
2957
|
var charsAdded = 0;
|
|
2917
2958
|
var strCopy = str;
|
|
@@ -2922,7 +2963,7 @@ if (PATCH) {
|
|
|
2922
2963
|
flags += 'g';
|
|
2923
2964
|
}
|
|
2924
2965
|
|
|
2925
|
-
strCopy = stringSlice$
|
|
2966
|
+
strCopy = stringSlice$3(str, re.lastIndex);
|
|
2926
2967
|
// Support anchored sticky behavior.
|
|
2927
2968
|
if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$4(str, re.lastIndex - 1) !== '\n')) {
|
|
2928
2969
|
source = '(?: ' + source + ')';
|
|
@@ -2939,12 +2980,12 @@ if (PATCH) {
|
|
|
2939
2980
|
}
|
|
2940
2981
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
2941
2982
|
|
|
2942
|
-
match = call$
|
|
2983
|
+
match = call$5(nativeExec, sticky ? reCopy : re, strCopy);
|
|
2943
2984
|
|
|
2944
2985
|
if (sticky) {
|
|
2945
2986
|
if (match) {
|
|
2946
|
-
match.input = stringSlice$
|
|
2947
|
-
match[0] = stringSlice$
|
|
2987
|
+
match.input = stringSlice$3(match.input, charsAdded);
|
|
2988
|
+
match[0] = stringSlice$3(match[0], charsAdded);
|
|
2948
2989
|
match.index = re.lastIndex;
|
|
2949
2990
|
re.lastIndex += match[0].length;
|
|
2950
2991
|
} else re.lastIndex = 0;
|
|
@@ -2954,7 +2995,7 @@ if (PATCH) {
|
|
|
2954
2995
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
2955
2996
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
2956
2997
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
2957
|
-
call$
|
|
2998
|
+
call$5(nativeReplace, match[0], reCopy, function () {
|
|
2958
2999
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
2959
3000
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
2960
3001
|
}
|
|
@@ -2973,23 +3014,23 @@ if (PATCH) {
|
|
|
2973
3014
|
};
|
|
2974
3015
|
}
|
|
2975
3016
|
|
|
2976
|
-
var regexpExec$
|
|
3017
|
+
var regexpExec$2 = patchedExec;
|
|
2977
3018
|
|
|
2978
3019
|
var $$7 = _export;
|
|
2979
|
-
var exec
|
|
3020
|
+
var exec = regexpExec$2;
|
|
2980
3021
|
|
|
2981
3022
|
// `RegExp.prototype.exec` method
|
|
2982
3023
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
2983
|
-
$$7({ target: 'RegExp', proto: true, forced: /./.exec !== exec
|
|
2984
|
-
exec: exec
|
|
3024
|
+
$$7({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
3025
|
+
exec: exec
|
|
2985
3026
|
});
|
|
2986
3027
|
|
|
2987
3028
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
2988
3029
|
|
|
2989
|
-
var uncurryThis$
|
|
3030
|
+
var uncurryThis$7 = functionUncurryThisClause;
|
|
2990
3031
|
var defineBuiltIn$2 = defineBuiltIn$7;
|
|
2991
|
-
var regexpExec$
|
|
2992
|
-
var fails$
|
|
3032
|
+
var regexpExec$1 = regexpExec$2;
|
|
3033
|
+
var fails$7 = fails$o;
|
|
2993
3034
|
var wellKnownSymbol$7 = wellKnownSymbol$i;
|
|
2994
3035
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
|
|
2995
3036
|
|
|
@@ -2999,14 +3040,14 @@ var RegExpPrototype = RegExp.prototype;
|
|
|
2999
3040
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
3000
3041
|
var SYMBOL = wellKnownSymbol$7(KEY);
|
|
3001
3042
|
|
|
3002
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
3043
|
+
var DELEGATES_TO_SYMBOL = !fails$7(function () {
|
|
3003
3044
|
// String methods call symbol-named RegEp methods
|
|
3004
3045
|
var O = {};
|
|
3005
3046
|
O[SYMBOL] = function () { return 7; };
|
|
3006
3047
|
return ''[KEY](O) != 7;
|
|
3007
3048
|
});
|
|
3008
3049
|
|
|
3009
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
3050
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$7(function () {
|
|
3010
3051
|
// Symbol-named RegExp methods call .exec
|
|
3011
3052
|
var execCalled = false;
|
|
3012
3053
|
var re = /a/;
|
|
@@ -3035,11 +3076,11 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
3035
3076
|
!DELEGATES_TO_EXEC ||
|
|
3036
3077
|
FORCED
|
|
3037
3078
|
) {
|
|
3038
|
-
var uncurriedNativeRegExpMethod = uncurryThis$
|
|
3079
|
+
var uncurriedNativeRegExpMethod = uncurryThis$7(/./[SYMBOL]);
|
|
3039
3080
|
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
3040
|
-
var uncurriedNativeMethod = uncurryThis$
|
|
3081
|
+
var uncurriedNativeMethod = uncurryThis$7(nativeMethod);
|
|
3041
3082
|
var $exec = regexp.exec;
|
|
3042
|
-
if ($exec === regexpExec$
|
|
3083
|
+
if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
|
|
3043
3084
|
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
3044
3085
|
// The native String method already delegates to @@method (this
|
|
3045
3086
|
// polyfilled function), leasing to infinite recursion.
|
|
@@ -3058,18 +3099,18 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
3058
3099
|
if (SHAM) createNonEnumerableProperty$2(RegExpPrototype[SYMBOL], 'sham', true);
|
|
3059
3100
|
};
|
|
3060
3101
|
|
|
3061
|
-
var uncurryThis$
|
|
3102
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
3062
3103
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$5;
|
|
3063
|
-
var toString$
|
|
3064
|
-
var requireObjectCoercible$
|
|
3104
|
+
var toString$6 = toString$a;
|
|
3105
|
+
var requireObjectCoercible$4 = requireObjectCoercible$9;
|
|
3065
3106
|
|
|
3066
|
-
var charAt$3 = uncurryThis$
|
|
3067
|
-
var charCodeAt = uncurryThis$
|
|
3068
|
-
var stringSlice$
|
|
3107
|
+
var charAt$3 = uncurryThis$6(''.charAt);
|
|
3108
|
+
var charCodeAt = uncurryThis$6(''.charCodeAt);
|
|
3109
|
+
var stringSlice$2 = uncurryThis$6(''.slice);
|
|
3069
3110
|
|
|
3070
3111
|
var createMethod$1 = function (CONVERT_TO_STRING) {
|
|
3071
3112
|
return function ($this, pos) {
|
|
3072
|
-
var S = toString$
|
|
3113
|
+
var S = toString$6(requireObjectCoercible$4($this));
|
|
3073
3114
|
var position = toIntegerOrInfinity$1(pos);
|
|
3074
3115
|
var size = S.length;
|
|
3075
3116
|
var first, second;
|
|
@@ -3081,7 +3122,7 @@ var createMethod$1 = function (CONVERT_TO_STRING) {
|
|
|
3081
3122
|
? charAt$3(S, position)
|
|
3082
3123
|
: first
|
|
3083
3124
|
: CONVERT_TO_STRING
|
|
3084
|
-
? stringSlice$
|
|
3125
|
+
? stringSlice$2(S, position, position + 2)
|
|
3085
3126
|
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
|
|
3086
3127
|
};
|
|
3087
3128
|
};
|
|
@@ -3099,17 +3140,17 @@ var charAt$2 = stringMultibyte.charAt;
|
|
|
3099
3140
|
|
|
3100
3141
|
// `AdvanceStringIndex` abstract operation
|
|
3101
3142
|
// https://tc39.es/ecma262/#sec-advancestringindex
|
|
3102
|
-
var advanceStringIndex$
|
|
3143
|
+
var advanceStringIndex$1 = function (S, index, unicode) {
|
|
3103
3144
|
return index + (unicode ? charAt$2(S, index).length : 1);
|
|
3104
3145
|
};
|
|
3105
3146
|
|
|
3106
|
-
var uncurryThis$
|
|
3147
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
3107
3148
|
var toObject$2 = toObject$6;
|
|
3108
3149
|
|
|
3109
3150
|
var floor$1 = Math.floor;
|
|
3110
|
-
var charAt$1 = uncurryThis$
|
|
3111
|
-
var replace$1 = uncurryThis$
|
|
3112
|
-
var stringSlice$
|
|
3151
|
+
var charAt$1 = uncurryThis$5(''.charAt);
|
|
3152
|
+
var replace$1 = uncurryThis$5(''.replace);
|
|
3153
|
+
var stringSlice$1 = uncurryThis$5(''.slice);
|
|
3113
3154
|
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
3114
3155
|
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
3115
3156
|
|
|
@@ -3128,10 +3169,10 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
3128
3169
|
switch (charAt$1(ch, 0)) {
|
|
3129
3170
|
case '$': return '$';
|
|
3130
3171
|
case '&': return matched;
|
|
3131
|
-
case '`': return stringSlice$
|
|
3132
|
-
case "'": return stringSlice$
|
|
3172
|
+
case '`': return stringSlice$1(str, 0, position);
|
|
3173
|
+
case "'": return stringSlice$1(str, tailPos);
|
|
3133
3174
|
case '<':
|
|
3134
|
-
capture = namedCaptures[stringSlice$
|
|
3175
|
+
capture = namedCaptures[stringSlice$1(ch, 1, -1)];
|
|
3135
3176
|
break;
|
|
3136
3177
|
default: // \d\d?
|
|
3137
3178
|
var n = +ch;
|
|
@@ -3148,11 +3189,11 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
3148
3189
|
});
|
|
3149
3190
|
};
|
|
3150
3191
|
|
|
3151
|
-
var call$
|
|
3152
|
-
var anObject$
|
|
3192
|
+
var call$4 = functionCall;
|
|
3193
|
+
var anObject$2 = anObject$f;
|
|
3153
3194
|
var isCallable$4 = isCallable$m;
|
|
3154
|
-
var classof$1 = classofRaw$
|
|
3155
|
-
var regexpExec
|
|
3195
|
+
var classof$1 = classofRaw$2;
|
|
3196
|
+
var regexpExec = regexpExec$2;
|
|
3156
3197
|
|
|
3157
3198
|
var $TypeError$2 = TypeError;
|
|
3158
3199
|
|
|
@@ -3161,38 +3202,39 @@ var $TypeError$2 = TypeError;
|
|
|
3161
3202
|
var regexpExecAbstract = function (R, S) {
|
|
3162
3203
|
var exec = R.exec;
|
|
3163
3204
|
if (isCallable$4(exec)) {
|
|
3164
|
-
var result = call$
|
|
3165
|
-
if (result !== null) anObject$
|
|
3205
|
+
var result = call$4(exec, R, S);
|
|
3206
|
+
if (result !== null) anObject$2(result);
|
|
3166
3207
|
return result;
|
|
3167
3208
|
}
|
|
3168
|
-
if (classof$1(R) === 'RegExp') return call$
|
|
3209
|
+
if (classof$1(R) === 'RegExp') return call$4(regexpExec, R, S);
|
|
3169
3210
|
throw $TypeError$2('RegExp#exec called on incompatible receiver');
|
|
3170
3211
|
};
|
|
3171
3212
|
|
|
3172
|
-
var apply
|
|
3173
|
-
var call$
|
|
3174
|
-
var uncurryThis$
|
|
3175
|
-
var fixRegExpWellKnownSymbolLogic$
|
|
3176
|
-
var fails$
|
|
3177
|
-
var anObject$
|
|
3213
|
+
var apply = functionApply;
|
|
3214
|
+
var call$3 = functionCall;
|
|
3215
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
3216
|
+
var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
|
|
3217
|
+
var fails$6 = fails$o;
|
|
3218
|
+
var anObject$1 = anObject$f;
|
|
3178
3219
|
var isCallable$3 = isCallable$m;
|
|
3220
|
+
var isNullOrUndefined$1 = isNullOrUndefined$6;
|
|
3179
3221
|
var toIntegerOrInfinity = toIntegerOrInfinity$5;
|
|
3180
|
-
var toLength
|
|
3181
|
-
var toString$
|
|
3182
|
-
var requireObjectCoercible$
|
|
3183
|
-
var advanceStringIndex
|
|
3184
|
-
var getMethod$
|
|
3222
|
+
var toLength = toLength$3;
|
|
3223
|
+
var toString$5 = toString$a;
|
|
3224
|
+
var requireObjectCoercible$3 = requireObjectCoercible$9;
|
|
3225
|
+
var advanceStringIndex = advanceStringIndex$1;
|
|
3226
|
+
var getMethod$1 = getMethod$5;
|
|
3185
3227
|
var getSubstitution = getSubstitution$1;
|
|
3186
3228
|
var regExpExec$1 = regexpExecAbstract;
|
|
3187
3229
|
var wellKnownSymbol$6 = wellKnownSymbol$i;
|
|
3188
3230
|
|
|
3189
3231
|
var REPLACE = wellKnownSymbol$6('replace');
|
|
3190
3232
|
var max$1 = Math.max;
|
|
3191
|
-
var min
|
|
3192
|
-
var concat = uncurryThis$
|
|
3193
|
-
var push$
|
|
3194
|
-
var stringIndexOf$1 = uncurryThis$
|
|
3195
|
-
var stringSlice
|
|
3233
|
+
var min = Math.min;
|
|
3234
|
+
var concat = uncurryThis$4([].concat);
|
|
3235
|
+
var push$1 = uncurryThis$4([].push);
|
|
3236
|
+
var stringIndexOf$1 = uncurryThis$4(''.indexOf);
|
|
3237
|
+
var stringSlice = uncurryThis$4(''.slice);
|
|
3196
3238
|
|
|
3197
3239
|
var maybeToString = function (it) {
|
|
3198
3240
|
return it === undefined ? it : String(it);
|
|
@@ -3213,7 +3255,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
|
3213
3255
|
return false;
|
|
3214
3256
|
})();
|
|
3215
3257
|
|
|
3216
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$
|
|
3258
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$6(function () {
|
|
3217
3259
|
var re = /./;
|
|
3218
3260
|
re.exec = function () {
|
|
3219
3261
|
var result = [];
|
|
@@ -3225,24 +3267,24 @@ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$7(function () {
|
|
|
3225
3267
|
});
|
|
3226
3268
|
|
|
3227
3269
|
// @@replace logic
|
|
3228
|
-
fixRegExpWellKnownSymbolLogic$
|
|
3270
|
+
fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCallNative) {
|
|
3229
3271
|
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
|
3230
3272
|
|
|
3231
3273
|
return [
|
|
3232
3274
|
// `String.prototype.replace` method
|
|
3233
3275
|
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
3234
3276
|
function replace(searchValue, replaceValue) {
|
|
3235
|
-
var O = requireObjectCoercible$
|
|
3236
|
-
var replacer = searchValue
|
|
3277
|
+
var O = requireObjectCoercible$3(this);
|
|
3278
|
+
var replacer = isNullOrUndefined$1(searchValue) ? undefined : getMethod$1(searchValue, REPLACE);
|
|
3237
3279
|
return replacer
|
|
3238
|
-
? call$
|
|
3239
|
-
: call$
|
|
3280
|
+
? call$3(replacer, searchValue, O, replaceValue)
|
|
3281
|
+
: call$3(nativeReplace, toString$5(O), searchValue, replaceValue);
|
|
3240
3282
|
},
|
|
3241
3283
|
// `RegExp.prototype[@@replace]` method
|
|
3242
3284
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
3243
3285
|
function (string, replaceValue) {
|
|
3244
|
-
var rx = anObject$
|
|
3245
|
-
var S = toString$
|
|
3286
|
+
var rx = anObject$1(this);
|
|
3287
|
+
var S = toString$5(string);
|
|
3246
3288
|
|
|
3247
3289
|
if (
|
|
3248
3290
|
typeof replaceValue == 'string' &&
|
|
@@ -3254,7 +3296,7 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall
|
|
|
3254
3296
|
}
|
|
3255
3297
|
|
|
3256
3298
|
var functionalReplace = isCallable$3(replaceValue);
|
|
3257
|
-
if (!functionalReplace) replaceValue = toString$
|
|
3299
|
+
if (!functionalReplace) replaceValue = toString$5(replaceValue);
|
|
3258
3300
|
|
|
3259
3301
|
var global = rx.global;
|
|
3260
3302
|
if (global) {
|
|
@@ -3266,11 +3308,11 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall
|
|
|
3266
3308
|
var result = regExpExec$1(rx, S);
|
|
3267
3309
|
if (result === null) break;
|
|
3268
3310
|
|
|
3269
|
-
push$
|
|
3311
|
+
push$1(results, result);
|
|
3270
3312
|
if (!global) break;
|
|
3271
3313
|
|
|
3272
|
-
var matchStr = toString$
|
|
3273
|
-
if (matchStr === '') rx.lastIndex = advanceStringIndex
|
|
3314
|
+
var matchStr = toString$5(result[0]);
|
|
3315
|
+
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
3274
3316
|
}
|
|
3275
3317
|
|
|
3276
3318
|
var accumulatedResult = '';
|
|
@@ -3278,29 +3320,29 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall
|
|
|
3278
3320
|
for (var i = 0; i < results.length; i++) {
|
|
3279
3321
|
result = results[i];
|
|
3280
3322
|
|
|
3281
|
-
var matched = toString$
|
|
3282
|
-
var position = max$1(min
|
|
3323
|
+
var matched = toString$5(result[0]);
|
|
3324
|
+
var position = max$1(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
3283
3325
|
var captures = [];
|
|
3284
3326
|
// NOTE: This is equivalent to
|
|
3285
3327
|
// captures = result.slice(1).map(maybeToString)
|
|
3286
3328
|
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
3287
3329
|
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
|
3288
3330
|
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
|
3289
|
-
for (var j = 1; j < result.length; j++) push$
|
|
3331
|
+
for (var j = 1; j < result.length; j++) push$1(captures, maybeToString(result[j]));
|
|
3290
3332
|
var namedCaptures = result.groups;
|
|
3291
3333
|
if (functionalReplace) {
|
|
3292
3334
|
var replacerArgs = concat([matched], captures, position, S);
|
|
3293
|
-
if (namedCaptures !== undefined) push$
|
|
3294
|
-
var replacement = toString$
|
|
3335
|
+
if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures);
|
|
3336
|
+
var replacement = toString$5(apply(replaceValue, undefined, replacerArgs));
|
|
3295
3337
|
} else {
|
|
3296
3338
|
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
3297
3339
|
}
|
|
3298
3340
|
if (position >= nextSourcePosition) {
|
|
3299
|
-
accumulatedResult += stringSlice
|
|
3341
|
+
accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
|
|
3300
3342
|
nextSourcePosition = position + matched.length;
|
|
3301
3343
|
}
|
|
3302
3344
|
}
|
|
3303
|
-
return accumulatedResult + stringSlice
|
|
3345
|
+
return accumulatedResult + stringSlice(S, nextSourcePosition);
|
|
3304
3346
|
}
|
|
3305
3347
|
];
|
|
3306
3348
|
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
@@ -6173,12 +6215,12 @@ InputField.Label = LabeledInput;
|
|
|
6173
6215
|
var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
6174
6216
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
6175
6217
|
|
|
6176
|
-
var uncurryThis$
|
|
6177
|
-
var requireObjectCoercible$
|
|
6178
|
-
var toString$
|
|
6218
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
6219
|
+
var requireObjectCoercible$2 = requireObjectCoercible$9;
|
|
6220
|
+
var toString$4 = toString$a;
|
|
6179
6221
|
var whitespaces$2 = whitespaces$3;
|
|
6180
6222
|
|
|
6181
|
-
var replace = uncurryThis$
|
|
6223
|
+
var replace = uncurryThis$3(''.replace);
|
|
6182
6224
|
var whitespace = '[' + whitespaces$2 + ']';
|
|
6183
6225
|
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
6184
6226
|
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
@@ -6186,7 +6228,7 @@ var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
|
6186
6228
|
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
6187
6229
|
var createMethod = function (TYPE) {
|
|
6188
6230
|
return function ($this) {
|
|
6189
|
-
var string = toString$
|
|
6231
|
+
var string = toString$4(requireObjectCoercible$2($this));
|
|
6190
6232
|
if (TYPE & 1) string = replace(string, ltrim, '');
|
|
6191
6233
|
if (TYPE & 2) string = replace(string, rtrim, '');
|
|
6192
6234
|
return string;
|
|
@@ -6206,27 +6248,27 @@ var stringTrim = {
|
|
|
6206
6248
|
};
|
|
6207
6249
|
|
|
6208
6250
|
var global$2 = global$n;
|
|
6209
|
-
var fails$
|
|
6210
|
-
var uncurryThis$
|
|
6211
|
-
var toString$
|
|
6251
|
+
var fails$5 = fails$o;
|
|
6252
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
6253
|
+
var toString$3 = toString$a;
|
|
6212
6254
|
var trim = stringTrim.trim;
|
|
6213
6255
|
var whitespaces$1 = whitespaces$3;
|
|
6214
6256
|
|
|
6215
|
-
var charAt = uncurryThis$
|
|
6216
|
-
var
|
|
6257
|
+
var charAt = uncurryThis$2(''.charAt);
|
|
6258
|
+
var $parseFloat$1 = global$2.parseFloat;
|
|
6217
6259
|
var Symbol$1 = global$2.Symbol;
|
|
6218
6260
|
var ITERATOR$3 = Symbol$1 && Symbol$1.iterator;
|
|
6219
|
-
var FORCED$1 = 1 /
|
|
6261
|
+
var FORCED$1 = 1 / $parseFloat$1(whitespaces$1 + '-0') !== -Infinity
|
|
6220
6262
|
// MS Edge 18- broken with boxed symbols
|
|
6221
|
-
|| (ITERATOR$3 && !fails$
|
|
6263
|
+
|| (ITERATOR$3 && !fails$5(function () { $parseFloat$1(Object(ITERATOR$3)); }));
|
|
6222
6264
|
|
|
6223
6265
|
// `parseFloat` method
|
|
6224
6266
|
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
6225
6267
|
var numberParseFloat = FORCED$1 ? function parseFloat(string) {
|
|
6226
|
-
var trimmedString = trim(toString$
|
|
6227
|
-
var result =
|
|
6268
|
+
var trimmedString = trim(toString$3(string));
|
|
6269
|
+
var result = $parseFloat$1(trimmedString);
|
|
6228
6270
|
return result === 0 && charAt(trimmedString, 0) == '-' ? -0 : result;
|
|
6229
|
-
} :
|
|
6271
|
+
} : $parseFloat$1;
|
|
6230
6272
|
|
|
6231
6273
|
var $$6 = _export;
|
|
6232
6274
|
var $parseFloat = numberParseFloat;
|
|
@@ -6892,12 +6934,12 @@ var addToUnscopables$2 = function (key) {
|
|
|
6892
6934
|
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
6893
6935
|
};
|
|
6894
6936
|
|
|
6895
|
-
var fails$
|
|
6937
|
+
var fails$4 = fails$o;
|
|
6896
6938
|
|
|
6897
|
-
var correctPrototypeGetter = !fails$
|
|
6939
|
+
var correctPrototypeGetter = !fails$4(function () {
|
|
6898
6940
|
function F() { /* empty */ }
|
|
6899
6941
|
F.prototype.constructor = null;
|
|
6900
|
-
// eslint-disable-next-line es
|
|
6942
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
6901
6943
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
6902
6944
|
});
|
|
6903
6945
|
|
|
@@ -6913,7 +6955,7 @@ var ObjectPrototype = $Object.prototype;
|
|
|
6913
6955
|
|
|
6914
6956
|
// `Object.getPrototypeOf` method
|
|
6915
6957
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
6916
|
-
// eslint-disable-next-line es
|
|
6958
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
6917
6959
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
6918
6960
|
var object = toObject$1(O);
|
|
6919
6961
|
if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
|
|
@@ -6923,8 +6965,9 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : f
|
|
|
6923
6965
|
} return object instanceof $Object ? ObjectPrototype : null;
|
|
6924
6966
|
};
|
|
6925
6967
|
|
|
6926
|
-
var fails$
|
|
6968
|
+
var fails$3 = fails$o;
|
|
6927
6969
|
var isCallable$1 = isCallable$m;
|
|
6970
|
+
var isObject$1 = isObject$9;
|
|
6928
6971
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
6929
6972
|
var defineBuiltIn$1 = defineBuiltIn$7;
|
|
6930
6973
|
var wellKnownSymbol$4 = wellKnownSymbol$i;
|
|
@@ -6936,7 +6979,7 @@ var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
|
6936
6979
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
6937
6980
|
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
6938
6981
|
|
|
6939
|
-
/* eslint-disable es
|
|
6982
|
+
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
6940
6983
|
if ([].keys) {
|
|
6941
6984
|
arrayIterator = [].keys();
|
|
6942
6985
|
// Safari 8 has buggy iterators w/o `next`
|
|
@@ -6947,7 +6990,7 @@ if ([].keys) {
|
|
|
6947
6990
|
}
|
|
6948
6991
|
}
|
|
6949
6992
|
|
|
6950
|
-
var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2
|
|
6993
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$1(IteratorPrototype$2) || fails$3(function () {
|
|
6951
6994
|
var test = {};
|
|
6952
6995
|
// FF44- legacy iterators case
|
|
6953
6996
|
return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
|
|
@@ -6976,7 +7019,7 @@ var Iterators$2 = iterators;
|
|
|
6976
7019
|
|
|
6977
7020
|
var returnThis$1 = function () { return this; };
|
|
6978
7021
|
|
|
6979
|
-
var
|
|
7022
|
+
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
6980
7023
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
6981
7024
|
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
|
|
6982
7025
|
setToStringTag$1(IteratorConstructor, TO_STRING_TAG, false);
|
|
@@ -6985,10 +7028,10 @@ var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next, ENU
|
|
|
6985
7028
|
};
|
|
6986
7029
|
|
|
6987
7030
|
var $$5 = _export;
|
|
6988
|
-
var call$
|
|
7031
|
+
var call$2 = functionCall;
|
|
6989
7032
|
var FunctionName = functionName;
|
|
6990
7033
|
var isCallable = isCallable$m;
|
|
6991
|
-
var createIteratorConstructor =
|
|
7034
|
+
var createIteratorConstructor = iteratorCreateConstructor;
|
|
6992
7035
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
6993
7036
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
6994
7037
|
var setToStringTag = setToStringTag$3;
|
|
@@ -7009,7 +7052,7 @@ var ENTRIES = 'entries';
|
|
|
7009
7052
|
|
|
7010
7053
|
var returnThis = function () { return this; };
|
|
7011
7054
|
|
|
7012
|
-
var
|
|
7055
|
+
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
7013
7056
|
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
7014
7057
|
|
|
7015
7058
|
var getIterationMethod = function (KIND) {
|
|
@@ -7054,7 +7097,7 @@ var defineIterator$1 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
7054
7097
|
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
7055
7098
|
} else {
|
|
7056
7099
|
INCORRECT_VALUES_NAME = true;
|
|
7057
|
-
defaultIterator = function values() { return call$
|
|
7100
|
+
defaultIterator = function values() { return call$2(nativeIterator, this); };
|
|
7058
7101
|
}
|
|
7059
7102
|
}
|
|
7060
7103
|
|
|
@@ -7081,12 +7124,19 @@ var defineIterator$1 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
7081
7124
|
return methods;
|
|
7082
7125
|
};
|
|
7083
7126
|
|
|
7127
|
+
// `CreateIterResultObject` abstract operation
|
|
7128
|
+
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
7129
|
+
var createIterResultObject$1 = function (value, done) {
|
|
7130
|
+
return { value: value, done: done };
|
|
7131
|
+
};
|
|
7132
|
+
|
|
7084
7133
|
var toIndexedObject = toIndexedObject$5;
|
|
7085
7134
|
var addToUnscopables$1 = addToUnscopables$2;
|
|
7086
7135
|
var Iterators = iterators;
|
|
7087
7136
|
var InternalStateModule = internalState;
|
|
7088
7137
|
var defineProperty = objectDefineProperty.f;
|
|
7089
|
-
var defineIterator =
|
|
7138
|
+
var defineIterator = iteratorDefine;
|
|
7139
|
+
var createIterResultObject = createIterResultObject$1;
|
|
7090
7140
|
var DESCRIPTORS = descriptors;
|
|
7091
7141
|
|
|
7092
7142
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
@@ -7119,11 +7169,11 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
7119
7169
|
var index = state.index++;
|
|
7120
7170
|
if (!target || index >= target.length) {
|
|
7121
7171
|
state.target = undefined;
|
|
7122
|
-
return
|
|
7172
|
+
return createIterResultObject(undefined, true);
|
|
7123
7173
|
}
|
|
7124
|
-
if (kind == 'keys') return
|
|
7125
|
-
if (kind == 'values') return
|
|
7126
|
-
return
|
|
7174
|
+
if (kind == 'keys') return createIterResultObject(index, false);
|
|
7175
|
+
if (kind == 'values') return createIterResultObject(target[index], false);
|
|
7176
|
+
return createIterResultObject([index, target[index]], false);
|
|
7127
7177
|
}, 'values');
|
|
7128
7178
|
|
|
7129
7179
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
@@ -7226,11 +7276,11 @@ handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
|
7226
7276
|
|
|
7227
7277
|
var $$4 = _export;
|
|
7228
7278
|
var $includes = arrayIncludes.includes;
|
|
7229
|
-
var fails$
|
|
7279
|
+
var fails$2 = fails$o;
|
|
7230
7280
|
var addToUnscopables = addToUnscopables$2;
|
|
7231
7281
|
|
|
7232
7282
|
// FF99+ bug
|
|
7233
|
-
var BROKEN_ON_SPARSE = fails$
|
|
7283
|
+
var BROKEN_ON_SPARSE = fails$2(function () {
|
|
7234
7284
|
return !Array(1).includes();
|
|
7235
7285
|
});
|
|
7236
7286
|
|
|
@@ -7245,8 +7295,8 @@ $$4({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
|
7245
7295
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
7246
7296
|
addToUnscopables('includes');
|
|
7247
7297
|
|
|
7248
|
-
var isObject = isObject$
|
|
7249
|
-
var classof = classofRaw$
|
|
7298
|
+
var isObject = isObject$9;
|
|
7299
|
+
var classof = classofRaw$2;
|
|
7250
7300
|
var wellKnownSymbol$1 = wellKnownSymbol$i;
|
|
7251
7301
|
|
|
7252
7302
|
var MATCH$1 = wellKnownSymbol$1('match');
|
|
@@ -7258,12 +7308,12 @@ var isRegexp = function (it) {
|
|
|
7258
7308
|
return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');
|
|
7259
7309
|
};
|
|
7260
7310
|
|
|
7261
|
-
var isRegExp
|
|
7311
|
+
var isRegExp = isRegexp;
|
|
7262
7312
|
|
|
7263
7313
|
var $TypeError$1 = TypeError;
|
|
7264
7314
|
|
|
7265
7315
|
var notARegexp = function (it) {
|
|
7266
|
-
if (isRegExp
|
|
7316
|
+
if (isRegExp(it)) {
|
|
7267
7317
|
throw $TypeError$1("The method doesn't accept regular expressions");
|
|
7268
7318
|
} return it;
|
|
7269
7319
|
};
|
|
@@ -7285,21 +7335,21 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
|
7285
7335
|
};
|
|
7286
7336
|
|
|
7287
7337
|
var $$3 = _export;
|
|
7288
|
-
var uncurryThis$
|
|
7338
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
7289
7339
|
var notARegExp = notARegexp;
|
|
7290
|
-
var requireObjectCoercible$
|
|
7291
|
-
var toString$
|
|
7340
|
+
var requireObjectCoercible$1 = requireObjectCoercible$9;
|
|
7341
|
+
var toString$2 = toString$a;
|
|
7292
7342
|
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
7293
7343
|
|
|
7294
|
-
var stringIndexOf = uncurryThis$
|
|
7344
|
+
var stringIndexOf = uncurryThis$1(''.indexOf);
|
|
7295
7345
|
|
|
7296
7346
|
// `String.prototype.includes` method
|
|
7297
7347
|
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
7298
7348
|
$$3({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
7299
7349
|
includes: function includes(searchString /* , position = 0 */) {
|
|
7300
7350
|
return !!~stringIndexOf(
|
|
7301
|
-
toString$
|
|
7302
|
-
toString$
|
|
7351
|
+
toString$2(requireObjectCoercible$1(this)),
|
|
7352
|
+
toString$2(notARegExp(searchString)),
|
|
7303
7353
|
arguments.length > 1 ? arguments[1] : undefined
|
|
7304
7354
|
);
|
|
7305
7355
|
}
|
|
@@ -7311,13 +7361,13 @@ const DEFAULT_EMPTY_TEXT = 'No results found';
|
|
|
7311
7361
|
const DEFAULT_PLACEHOLDER = 'Select Something';
|
|
7312
7362
|
|
|
7313
7363
|
var $$2 = _export;
|
|
7314
|
-
var call$
|
|
7364
|
+
var call$1 = functionCall;
|
|
7315
7365
|
|
|
7316
7366
|
// `URL.prototype.toJSON` method
|
|
7317
7367
|
// https://url.spec.whatwg.org/#dom-url-tojson
|
|
7318
7368
|
$$2({ target: 'URL', proto: true, enumerable: true }, {
|
|
7319
7369
|
toJSON: function toJSON() {
|
|
7320
|
-
return call$
|
|
7370
|
+
return call$1(URL.prototype.toString, this);
|
|
7321
7371
|
}
|
|
7322
7372
|
});
|
|
7323
7373
|
|
|
@@ -7356,7 +7406,7 @@ var arraySliceSimple = function (O, start, end) {
|
|
|
7356
7406
|
return result;
|
|
7357
7407
|
};
|
|
7358
7408
|
|
|
7359
|
-
var arraySlice
|
|
7409
|
+
var arraySlice = arraySliceSimple;
|
|
7360
7410
|
|
|
7361
7411
|
var floor = Math.floor;
|
|
7362
7412
|
|
|
@@ -7365,8 +7415,8 @@ var mergeSort = function (array, comparefn) {
|
|
|
7365
7415
|
var middle = floor(length / 2);
|
|
7366
7416
|
return length < 8 ? insertionSort(array, comparefn) : merge(
|
|
7367
7417
|
array,
|
|
7368
|
-
mergeSort(arraySlice
|
|
7369
|
-
mergeSort(arraySlice
|
|
7418
|
+
mergeSort(arraySlice(array, 0, middle), comparefn),
|
|
7419
|
+
mergeSort(arraySlice(array, middle), comparefn),
|
|
7370
7420
|
comparefn
|
|
7371
7421
|
);
|
|
7372
7422
|
};
|
|
@@ -7418,13 +7468,13 @@ var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
|
|
|
7418
7468
|
var engineWebkitVersion = !!webkit && +webkit[1];
|
|
7419
7469
|
|
|
7420
7470
|
var $$1 = _export;
|
|
7421
|
-
var uncurryThis
|
|
7471
|
+
var uncurryThis = functionUncurryThis;
|
|
7422
7472
|
var aCallable = aCallable$9;
|
|
7423
7473
|
var toObject = toObject$6;
|
|
7424
7474
|
var lengthOfArrayLike = lengthOfArrayLike$5;
|
|
7425
7475
|
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
7426
|
-
var toString$
|
|
7427
|
-
var fails$
|
|
7476
|
+
var toString$1 = toString$a;
|
|
7477
|
+
var fails$1 = fails$o;
|
|
7428
7478
|
var internalSort = arraySort;
|
|
7429
7479
|
var arrayMethodIsStrict = arrayMethodIsStrict$2;
|
|
7430
7480
|
var FF = engineFfVersion;
|
|
@@ -7433,21 +7483,21 @@ var V8 = engineV8Version;
|
|
|
7433
7483
|
var WEBKIT = engineWebkitVersion;
|
|
7434
7484
|
|
|
7435
7485
|
var test = [];
|
|
7436
|
-
var
|
|
7437
|
-
var push
|
|
7486
|
+
var nativeSort = uncurryThis(test.sort);
|
|
7487
|
+
var push = uncurryThis(test.push);
|
|
7438
7488
|
|
|
7439
7489
|
// IE8-
|
|
7440
|
-
var FAILS_ON_UNDEFINED = fails$
|
|
7490
|
+
var FAILS_ON_UNDEFINED = fails$1(function () {
|
|
7441
7491
|
test.sort(undefined);
|
|
7442
7492
|
});
|
|
7443
7493
|
// V8 bug
|
|
7444
|
-
var FAILS_ON_NULL = fails$
|
|
7494
|
+
var FAILS_ON_NULL = fails$1(function () {
|
|
7445
7495
|
test.sort(null);
|
|
7446
7496
|
});
|
|
7447
7497
|
// Old WebKit
|
|
7448
7498
|
var STRICT_METHOD = arrayMethodIsStrict('sort');
|
|
7449
7499
|
|
|
7450
|
-
var STABLE_SORT = !fails$
|
|
7500
|
+
var STABLE_SORT = !fails$1(function () {
|
|
7451
7501
|
// feature detection can be too slow, so check engines versions
|
|
7452
7502
|
if (V8) return V8 < 70;
|
|
7453
7503
|
if (FF && FF > 3) return;
|
|
@@ -7489,7 +7539,7 @@ var getSortCompare = function (comparefn) {
|
|
|
7489
7539
|
if (y === undefined) return -1;
|
|
7490
7540
|
if (x === undefined) return 1;
|
|
7491
7541
|
if (comparefn !== undefined) return +comparefn(x, y) || 0;
|
|
7492
|
-
return toString$
|
|
7542
|
+
return toString$1(x) > toString$1(y) ? 1 : -1;
|
|
7493
7543
|
};
|
|
7494
7544
|
};
|
|
7495
7545
|
|
|
@@ -7501,19 +7551,19 @@ $$1({ target: 'Array', proto: true, forced: FORCED }, {
|
|
|
7501
7551
|
|
|
7502
7552
|
var array = toObject(this);
|
|
7503
7553
|
|
|
7504
|
-
if (STABLE_SORT) return comparefn === undefined ?
|
|
7554
|
+
if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);
|
|
7505
7555
|
|
|
7506
7556
|
var items = [];
|
|
7507
7557
|
var arrayLength = lengthOfArrayLike(array);
|
|
7508
7558
|
var itemsLength, index;
|
|
7509
7559
|
|
|
7510
7560
|
for (index = 0; index < arrayLength; index++) {
|
|
7511
|
-
if (index in array) push
|
|
7561
|
+
if (index in array) push(items, array[index]);
|
|
7512
7562
|
}
|
|
7513
7563
|
|
|
7514
7564
|
internalSort(items, getSortCompare(comparefn));
|
|
7515
7565
|
|
|
7516
|
-
itemsLength = items
|
|
7566
|
+
itemsLength = lengthOfArrayLike(items);
|
|
7517
7567
|
index = 0;
|
|
7518
7568
|
|
|
7519
7569
|
while (index < itemsLength) array[index] = items[index++];
|
|
@@ -7667,36 +7717,37 @@ const MenuContainer = props => {
|
|
|
7667
7717
|
|
|
7668
7718
|
// `SameValue` abstract operation
|
|
7669
7719
|
// https://tc39.es/ecma262/#sec-samevalue
|
|
7670
|
-
// eslint-disable-next-line es
|
|
7720
|
+
// eslint-disable-next-line es/no-object-is -- safe
|
|
7671
7721
|
var sameValue$1 = Object.is || function is(x, y) {
|
|
7672
7722
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
7673
7723
|
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
|
7674
7724
|
};
|
|
7675
7725
|
|
|
7676
|
-
var call
|
|
7677
|
-
var fixRegExpWellKnownSymbolLogic
|
|
7678
|
-
var anObject
|
|
7679
|
-
var
|
|
7726
|
+
var call = functionCall;
|
|
7727
|
+
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
7728
|
+
var anObject = anObject$f;
|
|
7729
|
+
var isNullOrUndefined = isNullOrUndefined$6;
|
|
7730
|
+
var requireObjectCoercible = requireObjectCoercible$9;
|
|
7680
7731
|
var sameValue = sameValue$1;
|
|
7681
|
-
var toString
|
|
7682
|
-
var getMethod
|
|
7732
|
+
var toString = toString$a;
|
|
7733
|
+
var getMethod = getMethod$5;
|
|
7683
7734
|
var regExpExec = regexpExecAbstract;
|
|
7684
7735
|
|
|
7685
7736
|
// @@search logic
|
|
7686
|
-
fixRegExpWellKnownSymbolLogic
|
|
7737
|
+
fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
|
|
7687
7738
|
return [
|
|
7688
7739
|
// `String.prototype.search` method
|
|
7689
7740
|
// https://tc39.es/ecma262/#sec-string.prototype.search
|
|
7690
7741
|
function search(regexp) {
|
|
7691
|
-
var O = requireObjectCoercible
|
|
7692
|
-
var searcher = regexp
|
|
7693
|
-
return searcher ? call
|
|
7742
|
+
var O = requireObjectCoercible(this);
|
|
7743
|
+
var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);
|
|
7744
|
+
return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
|
|
7694
7745
|
},
|
|
7695
7746
|
// `RegExp.prototype[@@search]` method
|
|
7696
7747
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
|
7697
7748
|
function (string) {
|
|
7698
|
-
var rx = anObject
|
|
7699
|
-
var S = toString
|
|
7749
|
+
var rx = anObject(this);
|
|
7750
|
+
var S = toString(string);
|
|
7700
7751
|
var res = maybeCallNative(nativeSearch, rx, S);
|
|
7701
7752
|
|
|
7702
7753
|
if (res.done) return res.value;
|
|
@@ -7852,7 +7903,7 @@ const Menu = props => {
|
|
|
7852
7903
|
};
|
|
7853
7904
|
|
|
7854
7905
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
7855
|
-
var fails
|
|
7906
|
+
var fails = fails$o;
|
|
7856
7907
|
var whitespaces = whitespaces$3;
|
|
7857
7908
|
|
|
7858
7909
|
var non = '\u200B\u0085\u180E';
|
|
@@ -7860,7 +7911,7 @@ var non = '\u200B\u0085\u180E';
|
|
|
7860
7911
|
// check that a method works with the correct list
|
|
7861
7912
|
// of whitespaces and has a correct name
|
|
7862
7913
|
var stringTrimForced = function (METHOD_NAME) {
|
|
7863
|
-
return fails
|
|
7914
|
+
return fails(function () {
|
|
7864
7915
|
return !!whitespaces[METHOD_NAME]()
|
|
7865
7916
|
|| non[METHOD_NAME]() !== non
|
|
7866
7917
|
|| (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
|
|
@@ -9194,162 +9245,6 @@ const MenuList = props => {
|
|
|
9194
9245
|
}));
|
|
9195
9246
|
};
|
|
9196
9247
|
|
|
9197
|
-
var apply = functionApply;
|
|
9198
|
-
var call = functionCall;
|
|
9199
|
-
var uncurryThis = functionUncurryThis;
|
|
9200
|
-
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
9201
|
-
var isRegExp = isRegexp;
|
|
9202
|
-
var anObject = anObject$g;
|
|
9203
|
-
var requireObjectCoercible = requireObjectCoercible$a;
|
|
9204
|
-
var speciesConstructor = speciesConstructor$2;
|
|
9205
|
-
var advanceStringIndex = advanceStringIndex$2;
|
|
9206
|
-
var toLength = toLength$4;
|
|
9207
|
-
var toString = toString$b;
|
|
9208
|
-
var getMethod = getMethod$6;
|
|
9209
|
-
var arraySlice = arraySliceSimple;
|
|
9210
|
-
var callRegExpExec = regexpExecAbstract;
|
|
9211
|
-
var regexpExec = regexpExec$3;
|
|
9212
|
-
var stickyHelpers = regexpStickyHelpers;
|
|
9213
|
-
var fails = fails$p;
|
|
9214
|
-
|
|
9215
|
-
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
|
|
9216
|
-
var MAX_UINT32 = 0xFFFFFFFF;
|
|
9217
|
-
var min = Math.min;
|
|
9218
|
-
var $push = [].push;
|
|
9219
|
-
var exec = uncurryThis(/./.exec);
|
|
9220
|
-
var push = uncurryThis($push);
|
|
9221
|
-
var stringSlice = uncurryThis(''.slice);
|
|
9222
|
-
|
|
9223
|
-
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
|
|
9224
|
-
// Weex JS has frozen built-in prototypes, so use try / catch wrapper
|
|
9225
|
-
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
|
|
9226
|
-
// eslint-disable-next-line regexp/no-empty-group -- required for testing
|
|
9227
|
-
var re = /(?:)/;
|
|
9228
|
-
var originalExec = re.exec;
|
|
9229
|
-
re.exec = function () { return originalExec.apply(this, arguments); };
|
|
9230
|
-
var result = 'ab'.split(re);
|
|
9231
|
-
return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
|
|
9232
|
-
});
|
|
9233
|
-
|
|
9234
|
-
// @@split logic
|
|
9235
|
-
fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
|
|
9236
|
-
var internalSplit;
|
|
9237
|
-
if (
|
|
9238
|
-
'abbc'.split(/(b)*/)[1] == 'c' ||
|
|
9239
|
-
// eslint-disable-next-line regexp/no-empty-group -- required for testing
|
|
9240
|
-
'test'.split(/(?:)/, -1).length != 4 ||
|
|
9241
|
-
'ab'.split(/(?:ab)*/).length != 2 ||
|
|
9242
|
-
'.'.split(/(.?)(.?)/).length != 4 ||
|
|
9243
|
-
// eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
|
|
9244
|
-
'.'.split(/()()/).length > 1 ||
|
|
9245
|
-
''.split(/.?/).length
|
|
9246
|
-
) {
|
|
9247
|
-
// based on es5-shim implementation, need to rework it
|
|
9248
|
-
internalSplit = function (separator, limit) {
|
|
9249
|
-
var string = toString(requireObjectCoercible(this));
|
|
9250
|
-
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
|
9251
|
-
if (lim === 0) return [];
|
|
9252
|
-
if (separator === undefined) return [string];
|
|
9253
|
-
// If `separator` is not a regex, use native split
|
|
9254
|
-
if (!isRegExp(separator)) {
|
|
9255
|
-
return call(nativeSplit, string, separator, lim);
|
|
9256
|
-
}
|
|
9257
|
-
var output = [];
|
|
9258
|
-
var flags = (separator.ignoreCase ? 'i' : '') +
|
|
9259
|
-
(separator.multiline ? 'm' : '') +
|
|
9260
|
-
(separator.unicode ? 'u' : '') +
|
|
9261
|
-
(separator.sticky ? 'y' : '');
|
|
9262
|
-
var lastLastIndex = 0;
|
|
9263
|
-
// Make `global` and avoid `lastIndex` issues by working with a copy
|
|
9264
|
-
var separatorCopy = new RegExp(separator.source, flags + 'g');
|
|
9265
|
-
var match, lastIndex, lastLength;
|
|
9266
|
-
while (match = call(regexpExec, separatorCopy, string)) {
|
|
9267
|
-
lastIndex = separatorCopy.lastIndex;
|
|
9268
|
-
if (lastIndex > lastLastIndex) {
|
|
9269
|
-
push(output, stringSlice(string, lastLastIndex, match.index));
|
|
9270
|
-
if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1));
|
|
9271
|
-
lastLength = match[0].length;
|
|
9272
|
-
lastLastIndex = lastIndex;
|
|
9273
|
-
if (output.length >= lim) break;
|
|
9274
|
-
}
|
|
9275
|
-
if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
|
|
9276
|
-
}
|
|
9277
|
-
if (lastLastIndex === string.length) {
|
|
9278
|
-
if (lastLength || !exec(separatorCopy, '')) push(output, '');
|
|
9279
|
-
} else push(output, stringSlice(string, lastLastIndex));
|
|
9280
|
-
return output.length > lim ? arraySlice(output, 0, lim) : output;
|
|
9281
|
-
};
|
|
9282
|
-
// Chakra, V8
|
|
9283
|
-
} else if ('0'.split(undefined, 0).length) {
|
|
9284
|
-
internalSplit = function (separator, limit) {
|
|
9285
|
-
return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);
|
|
9286
|
-
};
|
|
9287
|
-
} else internalSplit = nativeSplit;
|
|
9288
|
-
|
|
9289
|
-
return [
|
|
9290
|
-
// `String.prototype.split` method
|
|
9291
|
-
// https://tc39.es/ecma262/#sec-string.prototype.split
|
|
9292
|
-
function split(separator, limit) {
|
|
9293
|
-
var O = requireObjectCoercible(this);
|
|
9294
|
-
var splitter = separator == undefined ? undefined : getMethod(separator, SPLIT);
|
|
9295
|
-
return splitter
|
|
9296
|
-
? call(splitter, separator, O, limit)
|
|
9297
|
-
: call(internalSplit, toString(O), separator, limit);
|
|
9298
|
-
},
|
|
9299
|
-
// `RegExp.prototype[@@split]` method
|
|
9300
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype-@@split
|
|
9301
|
-
//
|
|
9302
|
-
// NOTE: This cannot be properly polyfilled in engines that don't support
|
|
9303
|
-
// the 'y' flag.
|
|
9304
|
-
function (string, limit) {
|
|
9305
|
-
var rx = anObject(this);
|
|
9306
|
-
var S = toString(string);
|
|
9307
|
-
var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
|
|
9308
|
-
|
|
9309
|
-
if (res.done) return res.value;
|
|
9310
|
-
|
|
9311
|
-
var C = speciesConstructor(rx, RegExp);
|
|
9312
|
-
|
|
9313
|
-
var unicodeMatching = rx.unicode;
|
|
9314
|
-
var flags = (rx.ignoreCase ? 'i' : '') +
|
|
9315
|
-
(rx.multiline ? 'm' : '') +
|
|
9316
|
-
(rx.unicode ? 'u' : '') +
|
|
9317
|
-
(UNSUPPORTED_Y ? 'g' : 'y');
|
|
9318
|
-
|
|
9319
|
-
// ^(? + rx + ) is needed, in combination with some S slicing, to
|
|
9320
|
-
// simulate the 'y' flag.
|
|
9321
|
-
var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);
|
|
9322
|
-
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
|
9323
|
-
if (lim === 0) return [];
|
|
9324
|
-
if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
|
|
9325
|
-
var p = 0;
|
|
9326
|
-
var q = 0;
|
|
9327
|
-
var A = [];
|
|
9328
|
-
while (q < S.length) {
|
|
9329
|
-
splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;
|
|
9330
|
-
var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);
|
|
9331
|
-
var e;
|
|
9332
|
-
if (
|
|
9333
|
-
z === null ||
|
|
9334
|
-
(e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p
|
|
9335
|
-
) {
|
|
9336
|
-
q = advanceStringIndex(S, q, unicodeMatching);
|
|
9337
|
-
} else {
|
|
9338
|
-
push(A, stringSlice(S, p, q));
|
|
9339
|
-
if (A.length === lim) return A;
|
|
9340
|
-
for (var i = 1; i <= z.length - 1; i++) {
|
|
9341
|
-
push(A, z[i]);
|
|
9342
|
-
if (A.length === lim) return A;
|
|
9343
|
-
}
|
|
9344
|
-
q = p = e;
|
|
9345
|
-
}
|
|
9346
|
-
}
|
|
9347
|
-
push(A, stringSlice(S, p));
|
|
9348
|
-
return A;
|
|
9349
|
-
}
|
|
9350
|
-
];
|
|
9351
|
-
}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
|
|
9352
|
-
|
|
9353
9248
|
var CheckboxState;
|
|
9354
9249
|
|
|
9355
9250
|
(function (CheckboxState) {
|
|
@@ -9371,7 +9266,7 @@ const ItemWrapper = /*#__PURE__*/styled(Flex).withConfig({
|
|
|
9371
9266
|
const ClickableLabel = /*#__PURE__*/styled(Label).withConfig({
|
|
9372
9267
|
displayName: "tree-node__ClickableLabel",
|
|
9373
9268
|
componentId: "sc-1wjf7p9-2"
|
|
9374
|
-
})(["cursor:pointer;&:hover{background:", ";}&:focus{outline:0;background:", ";}"], Surface.Default.Default, Surface.Default.Default);
|
|
9269
|
+
})(["flex:1;cursor:pointer;&:hover{background:", ";}&:focus{outline:0;background:", ";}"], Surface.Default.Default, Surface.Default.Default);
|
|
9375
9270
|
const CollapseButton = /*#__PURE__*/styled(Button).withConfig({
|
|
9376
9271
|
displayName: "tree-node__CollapseButton",
|
|
9377
9272
|
componentId: "sc-1wjf7p9-3"
|