@ninetailed/experience.js-react 3.3.0-beta.0 → 3.3.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +300 -195
- package/index.js +300 -195
- package/package.json +3 -3
package/index.cjs
CHANGED
|
@@ -29,7 +29,7 @@ var check = function (it) {
|
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
32
|
-
var global$
|
|
32
|
+
var global$d =
|
|
33
33
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
34
34
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
35
35
|
check(typeof window == 'object' && window) ||
|
|
@@ -111,30 +111,30 @@ var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
|
111
111
|
};
|
|
112
112
|
};
|
|
113
113
|
|
|
114
|
-
var uncurryThis$
|
|
114
|
+
var uncurryThis$a = functionUncurryThis;
|
|
115
115
|
|
|
116
|
-
var toString$
|
|
117
|
-
var stringSlice = uncurryThis$
|
|
116
|
+
var toString$3 = uncurryThis$a({}.toString);
|
|
117
|
+
var stringSlice$1 = uncurryThis$a(''.slice);
|
|
118
118
|
|
|
119
|
-
var classofRaw = function (it) {
|
|
120
|
-
return stringSlice(toString$
|
|
119
|
+
var classofRaw$1 = function (it) {
|
|
120
|
+
return stringSlice$1(toString$3(it), 8, -1);
|
|
121
121
|
};
|
|
122
122
|
|
|
123
|
-
var uncurryThis$
|
|
123
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
124
124
|
var fails$9 = fails$c;
|
|
125
|
-
var classof$
|
|
125
|
+
var classof$3 = classofRaw$1;
|
|
126
126
|
|
|
127
|
-
var $Object$
|
|
128
|
-
var split = uncurryThis$
|
|
127
|
+
var $Object$4 = Object;
|
|
128
|
+
var split = uncurryThis$9(''.split);
|
|
129
129
|
|
|
130
130
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
131
131
|
var indexedObject = fails$9(function () {
|
|
132
132
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
133
133
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
134
|
-
return !$Object$
|
|
134
|
+
return !$Object$4('z').propertyIsEnumerable(0);
|
|
135
135
|
}) ? function (it) {
|
|
136
|
-
return classof$
|
|
137
|
-
} : $Object$
|
|
136
|
+
return classof$3(it) == 'String' ? split(it, '') : $Object$4(it);
|
|
137
|
+
} : $Object$4;
|
|
138
138
|
|
|
139
139
|
// we can't use just `it == null` since of `document.all` special case
|
|
140
140
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
@@ -177,47 +177,47 @@ var documentAll$1 = $documentAll$1.all;
|
|
|
177
177
|
|
|
178
178
|
// `IsCallable` abstract operation
|
|
179
179
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
180
|
-
var isCallable$
|
|
180
|
+
var isCallable$g = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
|
181
181
|
return typeof argument == 'function' || argument === documentAll$1;
|
|
182
182
|
} : function (argument) {
|
|
183
183
|
return typeof argument == 'function';
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
-
var isCallable$
|
|
186
|
+
var isCallable$f = isCallable$g;
|
|
187
187
|
var $documentAll = documentAll_1;
|
|
188
188
|
|
|
189
189
|
var documentAll = $documentAll.all;
|
|
190
190
|
|
|
191
191
|
var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
192
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
192
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it) || it === documentAll;
|
|
193
193
|
} : function (it) {
|
|
194
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
194
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it);
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
var global$
|
|
198
|
-
var isCallable$
|
|
197
|
+
var global$c = global$d;
|
|
198
|
+
var isCallable$e = isCallable$g;
|
|
199
199
|
|
|
200
200
|
var aFunction = function (argument) {
|
|
201
|
-
return isCallable$
|
|
201
|
+
return isCallable$e(argument) ? argument : undefined;
|
|
202
202
|
};
|
|
203
203
|
|
|
204
204
|
var getBuiltIn$4 = function (namespace, method) {
|
|
205
|
-
return arguments.length < 2 ? aFunction(global$
|
|
205
|
+
return arguments.length < 2 ? aFunction(global$c[namespace]) : global$c[namespace] && global$c[namespace][method];
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
var uncurryThis$
|
|
208
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
209
209
|
|
|
210
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
210
|
+
var objectIsPrototypeOf = uncurryThis$8({}.isPrototypeOf);
|
|
211
211
|
|
|
212
212
|
var getBuiltIn$3 = getBuiltIn$4;
|
|
213
213
|
|
|
214
214
|
var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
|
|
215
215
|
|
|
216
|
-
var global$
|
|
216
|
+
var global$b = global$d;
|
|
217
217
|
var userAgent = engineUserAgent;
|
|
218
218
|
|
|
219
|
-
var process = global$
|
|
220
|
-
var Deno = global$
|
|
219
|
+
var process = global$b.process;
|
|
220
|
+
var Deno = global$b.Deno;
|
|
221
221
|
var versions = process && process.versions || Deno && Deno.version;
|
|
222
222
|
var v8 = versions && versions.v8;
|
|
223
223
|
var match, version;
|
|
@@ -258,44 +258,44 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(func
|
|
|
258
258
|
|
|
259
259
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
260
260
|
|
|
261
|
-
var NATIVE_SYMBOL$
|
|
261
|
+
var NATIVE_SYMBOL$2 = symbolConstructorDetection;
|
|
262
262
|
|
|
263
|
-
var useSymbolAsUid = NATIVE_SYMBOL$
|
|
263
|
+
var useSymbolAsUid = NATIVE_SYMBOL$2
|
|
264
264
|
&& !Symbol.sham
|
|
265
265
|
&& typeof Symbol.iterator == 'symbol';
|
|
266
266
|
|
|
267
267
|
var getBuiltIn$2 = getBuiltIn$4;
|
|
268
|
-
var isCallable$
|
|
269
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
268
|
+
var isCallable$d = isCallable$g;
|
|
269
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
270
270
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
271
271
|
|
|
272
|
-
var $Object$
|
|
272
|
+
var $Object$3 = Object;
|
|
273
273
|
|
|
274
274
|
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
275
275
|
return typeof it == 'symbol';
|
|
276
276
|
} : function (it) {
|
|
277
277
|
var $Symbol = getBuiltIn$2('Symbol');
|
|
278
|
-
return isCallable$
|
|
278
|
+
return isCallable$d($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$3(it));
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
-
var $String$
|
|
281
|
+
var $String$3 = String;
|
|
282
282
|
|
|
283
283
|
var tryToString$1 = function (argument) {
|
|
284
284
|
try {
|
|
285
|
-
return $String$
|
|
285
|
+
return $String$3(argument);
|
|
286
286
|
} catch (error) {
|
|
287
287
|
return 'Object';
|
|
288
288
|
}
|
|
289
289
|
};
|
|
290
290
|
|
|
291
|
-
var isCallable$
|
|
291
|
+
var isCallable$c = isCallable$g;
|
|
292
292
|
var tryToString = tryToString$1;
|
|
293
293
|
|
|
294
294
|
var $TypeError$6 = TypeError;
|
|
295
295
|
|
|
296
296
|
// `Assert: IsCallable(argument) is true`
|
|
297
297
|
var aCallable$2 = function (argument) {
|
|
298
|
-
if (isCallable$
|
|
298
|
+
if (isCallable$c(argument)) return argument;
|
|
299
299
|
throw $TypeError$6(tryToString(argument) + ' is not a function');
|
|
300
300
|
};
|
|
301
301
|
|
|
@@ -310,7 +310,7 @@ var getMethod$1 = function (V, P) {
|
|
|
310
310
|
};
|
|
311
311
|
|
|
312
312
|
var call$4 = functionCall;
|
|
313
|
-
var isCallable$
|
|
313
|
+
var isCallable$b = isCallable$g;
|
|
314
314
|
var isObject$5 = isObject$6;
|
|
315
315
|
|
|
316
316
|
var $TypeError$5 = TypeError;
|
|
@@ -319,32 +319,32 @@ var $TypeError$5 = TypeError;
|
|
|
319
319
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
320
320
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
321
321
|
var fn, val;
|
|
322
|
-
if (pref === 'string' && isCallable$
|
|
323
|
-
if (isCallable$
|
|
324
|
-
if (pref !== 'string' && isCallable$
|
|
322
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
|
|
323
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$5(val = call$4(fn, input))) return val;
|
|
324
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
|
|
325
325
|
throw $TypeError$5("Can't convert object to primitive value");
|
|
326
326
|
};
|
|
327
327
|
|
|
328
328
|
var shared$3 = {exports: {}};
|
|
329
329
|
|
|
330
|
-
var global$
|
|
330
|
+
var global$a = global$d;
|
|
331
331
|
|
|
332
332
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
333
|
-
var defineProperty$
|
|
333
|
+
var defineProperty$6 = Object.defineProperty;
|
|
334
334
|
|
|
335
335
|
var defineGlobalProperty$3 = function (key, value) {
|
|
336
336
|
try {
|
|
337
|
-
defineProperty$
|
|
337
|
+
defineProperty$6(global$a, key, { value: value, configurable: true, writable: true });
|
|
338
338
|
} catch (error) {
|
|
339
|
-
global$
|
|
339
|
+
global$a[key] = value;
|
|
340
340
|
} return value;
|
|
341
341
|
};
|
|
342
342
|
|
|
343
|
-
var global$
|
|
343
|
+
var global$9 = global$d;
|
|
344
344
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
345
345
|
|
|
346
346
|
var SHARED = '__core-js_shared__';
|
|
347
|
-
var store$3 = global$
|
|
347
|
+
var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
348
348
|
|
|
349
349
|
var sharedStore = store$3;
|
|
350
350
|
|
|
@@ -362,18 +362,18 @@ var store$2 = sharedStore;
|
|
|
362
362
|
|
|
363
363
|
var requireObjectCoercible = requireObjectCoercible$2;
|
|
364
364
|
|
|
365
|
-
var $Object$
|
|
365
|
+
var $Object$2 = Object;
|
|
366
366
|
|
|
367
367
|
// `ToObject` abstract operation
|
|
368
368
|
// https://tc39.es/ecma262/#sec-toobject
|
|
369
369
|
var toObject$4 = function (argument) {
|
|
370
|
-
return $Object$
|
|
370
|
+
return $Object$2(requireObjectCoercible(argument));
|
|
371
371
|
};
|
|
372
372
|
|
|
373
|
-
var uncurryThis$
|
|
373
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
374
374
|
var toObject$3 = toObject$4;
|
|
375
375
|
|
|
376
|
-
var hasOwnProperty = uncurryThis$
|
|
376
|
+
var hasOwnProperty = uncurryThis$7({}.hasOwnProperty);
|
|
377
377
|
|
|
378
378
|
// `HasOwnProperty` abstract operation
|
|
379
379
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -382,32 +382,32 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
382
382
|
return hasOwnProperty(toObject$3(it), key);
|
|
383
383
|
};
|
|
384
384
|
|
|
385
|
-
var uncurryThis$
|
|
385
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
386
386
|
|
|
387
387
|
var id = 0;
|
|
388
388
|
var postfix = Math.random();
|
|
389
|
-
var toString = uncurryThis$
|
|
389
|
+
var toString$2 = uncurryThis$6(1.0.toString);
|
|
390
390
|
|
|
391
391
|
var uid$2 = function (key) {
|
|
392
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
392
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++id + postfix, 36);
|
|
393
393
|
};
|
|
394
394
|
|
|
395
|
-
var global$
|
|
395
|
+
var global$8 = global$d;
|
|
396
396
|
var shared$2 = shared$3.exports;
|
|
397
|
-
var hasOwn$
|
|
397
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
398
398
|
var uid$1 = uid$2;
|
|
399
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
399
|
+
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
400
400
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
401
401
|
|
|
402
402
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
403
|
-
var Symbol$1 = global$
|
|
403
|
+
var Symbol$1 = global$8.Symbol;
|
|
404
404
|
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
405
405
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
406
406
|
|
|
407
|
-
var wellKnownSymbol$
|
|
408
|
-
if (!hasOwn$
|
|
407
|
+
var wellKnownSymbol$8 = function (name) {
|
|
408
|
+
if (!hasOwn$9(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL$1 || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
409
409
|
var description = 'Symbol.' + name;
|
|
410
|
-
if (NATIVE_SYMBOL && hasOwn$
|
|
410
|
+
if (NATIVE_SYMBOL$1 && hasOwn$9(Symbol$1, name)) {
|
|
411
411
|
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
412
412
|
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
413
413
|
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
@@ -422,10 +422,10 @@ var isObject$4 = isObject$6;
|
|
|
422
422
|
var isSymbol$1 = isSymbol$2;
|
|
423
423
|
var getMethod = getMethod$1;
|
|
424
424
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
425
|
-
var wellKnownSymbol$
|
|
425
|
+
var wellKnownSymbol$7 = wellKnownSymbol$8;
|
|
426
426
|
|
|
427
427
|
var $TypeError$4 = TypeError;
|
|
428
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
428
|
+
var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
|
|
429
429
|
|
|
430
430
|
// `ToPrimitive` abstract operation
|
|
431
431
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
@@ -453,10 +453,10 @@ var toPropertyKey$2 = function (argument) {
|
|
|
453
453
|
return isSymbol(key) ? key : key + '';
|
|
454
454
|
};
|
|
455
455
|
|
|
456
|
-
var global$
|
|
456
|
+
var global$7 = global$d;
|
|
457
457
|
var isObject$3 = isObject$6;
|
|
458
458
|
|
|
459
|
-
var document$1 = global$
|
|
459
|
+
var document$1 = global$7.document;
|
|
460
460
|
// typeof document.createElement is 'object' in old IE
|
|
461
461
|
var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
|
|
462
462
|
|
|
@@ -464,25 +464,25 @@ var documentCreateElement$2 = function (it) {
|
|
|
464
464
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
465
465
|
};
|
|
466
466
|
|
|
467
|
-
var DESCRIPTORS$
|
|
467
|
+
var DESCRIPTORS$a = descriptors;
|
|
468
468
|
var fails$7 = fails$c;
|
|
469
469
|
var createElement = documentCreateElement$2;
|
|
470
470
|
|
|
471
471
|
// Thanks to IE8 for its funny defineProperty
|
|
472
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
472
|
+
var ie8DomDefine = !DESCRIPTORS$a && !fails$7(function () {
|
|
473
473
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
474
474
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
475
475
|
get: function () { return 7; }
|
|
476
476
|
}).a != 7;
|
|
477
477
|
});
|
|
478
478
|
|
|
479
|
-
var DESCRIPTORS$
|
|
479
|
+
var DESCRIPTORS$9 = descriptors;
|
|
480
480
|
var call$2 = functionCall;
|
|
481
481
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
482
482
|
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
483
483
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
484
484
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
485
|
-
var hasOwn$
|
|
485
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
486
486
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
487
487
|
|
|
488
488
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -490,23 +490,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
490
490
|
|
|
491
491
|
// `Object.getOwnPropertyDescriptor` method
|
|
492
492
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
493
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
493
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
494
494
|
O = toIndexedObject$4(O);
|
|
495
495
|
P = toPropertyKey$1(P);
|
|
496
496
|
if (IE8_DOM_DEFINE$1) try {
|
|
497
497
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
498
498
|
} catch (error) { /* empty */ }
|
|
499
|
-
if (hasOwn$
|
|
499
|
+
if (hasOwn$8(O, P)) return createPropertyDescriptor$2(!call$2(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
500
500
|
};
|
|
501
501
|
|
|
502
502
|
var objectDefineProperty = {};
|
|
503
503
|
|
|
504
|
-
var DESCRIPTORS$
|
|
504
|
+
var DESCRIPTORS$8 = descriptors;
|
|
505
505
|
var fails$6 = fails$c;
|
|
506
506
|
|
|
507
507
|
// V8 ~ Chrome 36-
|
|
508
508
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
509
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
509
|
+
var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$6(function () {
|
|
510
510
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
511
511
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
512
512
|
value: 42,
|
|
@@ -516,16 +516,16 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$6(function () {
|
|
|
516
516
|
|
|
517
517
|
var isObject$2 = isObject$6;
|
|
518
518
|
|
|
519
|
-
var $String$
|
|
519
|
+
var $String$2 = String;
|
|
520
520
|
var $TypeError$3 = TypeError;
|
|
521
521
|
|
|
522
522
|
// `Assert: Type(argument) is Object`
|
|
523
523
|
var anObject$5 = function (argument) {
|
|
524
524
|
if (isObject$2(argument)) return argument;
|
|
525
|
-
throw $TypeError$3($String$
|
|
525
|
+
throw $TypeError$3($String$2(argument) + ' is not an object');
|
|
526
526
|
};
|
|
527
527
|
|
|
528
|
-
var DESCRIPTORS$
|
|
528
|
+
var DESCRIPTORS$7 = descriptors;
|
|
529
529
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
530
530
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
531
531
|
var anObject$4 = anObject$5;
|
|
@@ -542,7 +542,7 @@ var WRITABLE = 'writable';
|
|
|
542
542
|
|
|
543
543
|
// `Object.defineProperty` method
|
|
544
544
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
545
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
545
|
+
objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
546
546
|
anObject$4(O);
|
|
547
547
|
P = toPropertyKey(P);
|
|
548
548
|
anObject$4(Attributes);
|
|
@@ -569,11 +569,11 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
569
569
|
return O;
|
|
570
570
|
};
|
|
571
571
|
|
|
572
|
-
var DESCRIPTORS$
|
|
572
|
+
var DESCRIPTORS$6 = descriptors;
|
|
573
573
|
var definePropertyModule$3 = objectDefineProperty;
|
|
574
574
|
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
575
575
|
|
|
576
|
-
var createNonEnumerableProperty$4 = DESCRIPTORS$
|
|
576
|
+
var createNonEnumerableProperty$4 = DESCRIPTORS$6 ? function (object, key, value) {
|
|
577
577
|
return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
|
|
578
578
|
} : function (object, key, value) {
|
|
579
579
|
object[key] = value;
|
|
@@ -582,17 +582,17 @@ var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value
|
|
|
582
582
|
|
|
583
583
|
var makeBuiltIn$2 = {exports: {}};
|
|
584
584
|
|
|
585
|
-
var DESCRIPTORS$
|
|
586
|
-
var hasOwn$
|
|
585
|
+
var DESCRIPTORS$5 = descriptors;
|
|
586
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
587
587
|
|
|
588
588
|
var FunctionPrototype = Function.prototype;
|
|
589
589
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
590
|
-
var getDescriptor = DESCRIPTORS$
|
|
590
|
+
var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
|
|
591
591
|
|
|
592
|
-
var EXISTS = hasOwn$
|
|
592
|
+
var EXISTS = hasOwn$7(FunctionPrototype, 'name');
|
|
593
593
|
// additional protection from minified / mangled / dropped function names
|
|
594
594
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
595
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
595
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
596
596
|
|
|
597
597
|
var functionName = {
|
|
598
598
|
EXISTS: EXISTS,
|
|
@@ -600,14 +600,14 @@ var functionName = {
|
|
|
600
600
|
CONFIGURABLE: CONFIGURABLE
|
|
601
601
|
};
|
|
602
602
|
|
|
603
|
-
var uncurryThis$
|
|
604
|
-
var isCallable$
|
|
603
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
604
|
+
var isCallable$a = isCallable$g;
|
|
605
605
|
var store$1 = sharedStore;
|
|
606
606
|
|
|
607
|
-
var functionToString = uncurryThis$
|
|
607
|
+
var functionToString = uncurryThis$5(Function.toString);
|
|
608
608
|
|
|
609
609
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
610
|
-
if (!isCallable$
|
|
610
|
+
if (!isCallable$a(store$1.inspectSource)) {
|
|
611
611
|
store$1.inspectSource = function (it) {
|
|
612
612
|
return functionToString(it);
|
|
613
613
|
};
|
|
@@ -615,12 +615,12 @@ if (!isCallable$8(store$1.inspectSource)) {
|
|
|
615
615
|
|
|
616
616
|
var inspectSource$1 = store$1.inspectSource;
|
|
617
617
|
|
|
618
|
-
var global$
|
|
619
|
-
var isCallable$
|
|
618
|
+
var global$6 = global$d;
|
|
619
|
+
var isCallable$9 = isCallable$g;
|
|
620
620
|
|
|
621
|
-
var WeakMap$1 = global$
|
|
621
|
+
var WeakMap$1 = global$6.WeakMap;
|
|
622
622
|
|
|
623
|
-
var weakMapBasicDetection = isCallable$
|
|
623
|
+
var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
624
624
|
|
|
625
625
|
var shared$1 = shared$3.exports;
|
|
626
626
|
var uid = uid$2;
|
|
@@ -634,17 +634,17 @@ var sharedKey$3 = function (key) {
|
|
|
634
634
|
var hiddenKeys$4 = {};
|
|
635
635
|
|
|
636
636
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
637
|
-
var global$
|
|
637
|
+
var global$5 = global$d;
|
|
638
638
|
var isObject$1 = isObject$6;
|
|
639
639
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
|
640
|
-
var hasOwn$
|
|
640
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
641
641
|
var shared = sharedStore;
|
|
642
642
|
var sharedKey$2 = sharedKey$3;
|
|
643
643
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
644
644
|
|
|
645
645
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
646
|
-
var TypeError$1 = global$
|
|
647
|
-
var WeakMap = global$
|
|
646
|
+
var TypeError$1 = global$5.TypeError;
|
|
647
|
+
var WeakMap = global$5.WeakMap;
|
|
648
648
|
var set, get, has;
|
|
649
649
|
|
|
650
650
|
var enforce = function (it) {
|
|
@@ -683,16 +683,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
683
683
|
var STATE = sharedKey$2('state');
|
|
684
684
|
hiddenKeys$3[STATE] = true;
|
|
685
685
|
set = function (it, metadata) {
|
|
686
|
-
if (hasOwn$
|
|
686
|
+
if (hasOwn$6(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
687
687
|
metadata.facade = it;
|
|
688
688
|
createNonEnumerableProperty$3(it, STATE, metadata);
|
|
689
689
|
return metadata;
|
|
690
690
|
};
|
|
691
691
|
get = function (it) {
|
|
692
|
-
return hasOwn$
|
|
692
|
+
return hasOwn$6(it, STATE) ? it[STATE] : {};
|
|
693
693
|
};
|
|
694
694
|
has = function (it) {
|
|
695
|
-
return hasOwn$
|
|
695
|
+
return hasOwn$6(it, STATE);
|
|
696
696
|
};
|
|
697
697
|
}
|
|
698
698
|
|
|
@@ -705,9 +705,9 @@ var internalState = {
|
|
|
705
705
|
};
|
|
706
706
|
|
|
707
707
|
var fails$5 = fails$c;
|
|
708
|
-
var isCallable$
|
|
709
|
-
var hasOwn$
|
|
710
|
-
var DESCRIPTORS$
|
|
708
|
+
var isCallable$8 = isCallable$g;
|
|
709
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
710
|
+
var DESCRIPTORS$4 = descriptors;
|
|
711
711
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
712
712
|
var inspectSource = inspectSource$1;
|
|
713
713
|
var InternalStateModule$1 = internalState;
|
|
@@ -715,10 +715,10 @@ var InternalStateModule$1 = internalState;
|
|
|
715
715
|
var enforceInternalState = InternalStateModule$1.enforce;
|
|
716
716
|
var getInternalState$1 = InternalStateModule$1.get;
|
|
717
717
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
718
|
-
var defineProperty$
|
|
718
|
+
var defineProperty$5 = Object.defineProperty;
|
|
719
719
|
|
|
720
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
721
|
-
return defineProperty$
|
|
720
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$5(function () {
|
|
721
|
+
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
722
722
|
});
|
|
723
723
|
|
|
724
724
|
var TEMPLATE = String(String).split('String');
|
|
@@ -729,21 +729,21 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
729
729
|
}
|
|
730
730
|
if (options && options.getter) name = 'get ' + name;
|
|
731
731
|
if (options && options.setter) name = 'set ' + name;
|
|
732
|
-
if (!hasOwn$
|
|
733
|
-
if (DESCRIPTORS$
|
|
732
|
+
if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
733
|
+
if (DESCRIPTORS$4) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
734
734
|
else value.name = name;
|
|
735
735
|
}
|
|
736
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
737
|
-
defineProperty$
|
|
736
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
|
|
737
|
+
defineProperty$5(value, 'length', { value: options.arity });
|
|
738
738
|
}
|
|
739
739
|
try {
|
|
740
|
-
if (options && hasOwn$
|
|
741
|
-
if (DESCRIPTORS$
|
|
740
|
+
if (options && hasOwn$5(options, 'constructor') && options.constructor) {
|
|
741
|
+
if (DESCRIPTORS$4) defineProperty$5(value, 'prototype', { writable: false });
|
|
742
742
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
743
743
|
} else if (value.prototype) value.prototype = undefined;
|
|
744
744
|
} catch (error) { /* empty */ }
|
|
745
745
|
var state = enforceInternalState(value);
|
|
746
|
-
if (!hasOwn$
|
|
746
|
+
if (!hasOwn$5(state, 'source')) {
|
|
747
747
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
748
748
|
} return value;
|
|
749
749
|
};
|
|
@@ -751,10 +751,10 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
751
751
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
752
752
|
// eslint-disable-next-line no-extend-native -- required
|
|
753
753
|
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
754
|
-
return isCallable$
|
|
754
|
+
return isCallable$8(this) && getInternalState$1(this).source || inspectSource(this);
|
|
755
755
|
}, 'toString');
|
|
756
756
|
|
|
757
|
-
var isCallable$
|
|
757
|
+
var isCallable$7 = isCallable$g;
|
|
758
758
|
var definePropertyModule$2 = objectDefineProperty;
|
|
759
759
|
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
760
760
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
@@ -763,7 +763,7 @@ var defineBuiltIn$3 = function (O, key, value, options) {
|
|
|
763
763
|
if (!options) options = {};
|
|
764
764
|
var simple = options.enumerable;
|
|
765
765
|
var name = options.name !== undefined ? options.name : key;
|
|
766
|
-
if (isCallable$
|
|
766
|
+
if (isCallable$7(value)) makeBuiltIn(value, name, options);
|
|
767
767
|
if (options.global) {
|
|
768
768
|
if (simple) O[key] = value;
|
|
769
769
|
else defineGlobalProperty$1(key, value);
|
|
@@ -869,22 +869,22 @@ var arrayIncludes = {
|
|
|
869
869
|
indexOf: createMethod$1(false)
|
|
870
870
|
};
|
|
871
871
|
|
|
872
|
-
var uncurryThis$
|
|
873
|
-
var hasOwn$
|
|
872
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
873
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
874
874
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
875
875
|
var indexOf = arrayIncludes.indexOf;
|
|
876
876
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
877
877
|
|
|
878
|
-
var push = uncurryThis$
|
|
878
|
+
var push = uncurryThis$4([].push);
|
|
879
879
|
|
|
880
880
|
var objectKeysInternal = function (object, names) {
|
|
881
881
|
var O = toIndexedObject$2(object);
|
|
882
882
|
var i = 0;
|
|
883
883
|
var result = [];
|
|
884
884
|
var key;
|
|
885
|
-
for (key in O) !hasOwn$
|
|
885
|
+
for (key in O) !hasOwn$4(hiddenKeys$2, key) && hasOwn$4(O, key) && push(result, key);
|
|
886
886
|
// Don't enum bug & hidden keys
|
|
887
|
-
while (names.length > i) if (hasOwn$
|
|
887
|
+
while (names.length > i) if (hasOwn$4(O, key = names[i++])) {
|
|
888
888
|
~indexOf(result, key) || push(result, key);
|
|
889
889
|
}
|
|
890
890
|
return result;
|
|
@@ -919,12 +919,12 @@ var objectGetOwnPropertySymbols = {};
|
|
|
919
919
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
920
920
|
|
|
921
921
|
var getBuiltIn$1 = getBuiltIn$4;
|
|
922
|
-
var uncurryThis$
|
|
922
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
923
923
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
924
924
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
925
925
|
var anObject$3 = anObject$5;
|
|
926
926
|
|
|
927
|
-
var concat$1 = uncurryThis$
|
|
927
|
+
var concat$1 = uncurryThis$3([].concat);
|
|
928
928
|
|
|
929
929
|
// all object keys, includes non-enumerable and symbols
|
|
930
930
|
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
@@ -933,25 +933,25 @@ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
933
933
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
934
934
|
};
|
|
935
935
|
|
|
936
|
-
var hasOwn$
|
|
936
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
937
937
|
var ownKeys = ownKeys$1;
|
|
938
938
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
939
939
|
var definePropertyModule$1 = objectDefineProperty;
|
|
940
940
|
|
|
941
|
-
var copyConstructorProperties$
|
|
941
|
+
var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
942
942
|
var keys = ownKeys(source);
|
|
943
943
|
var defineProperty = definePropertyModule$1.f;
|
|
944
944
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
945
945
|
for (var i = 0; i < keys.length; i++) {
|
|
946
946
|
var key = keys[i];
|
|
947
|
-
if (!hasOwn$
|
|
947
|
+
if (!hasOwn$3(target, key) && !(exceptions && hasOwn$3(exceptions, key))) {
|
|
948
948
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
949
949
|
}
|
|
950
950
|
}
|
|
951
951
|
};
|
|
952
952
|
|
|
953
953
|
var fails$4 = fails$c;
|
|
954
|
-
var isCallable$
|
|
954
|
+
var isCallable$6 = isCallable$g;
|
|
955
955
|
|
|
956
956
|
var replacement = /#|\.prototype\./;
|
|
957
957
|
|
|
@@ -959,7 +959,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
959
959
|
var value = data[normalize(feature)];
|
|
960
960
|
return value == POLYFILL ? true
|
|
961
961
|
: value == NATIVE ? false
|
|
962
|
-
: isCallable$
|
|
962
|
+
: isCallable$6(detection) ? fails$4(detection)
|
|
963
963
|
: !!detection;
|
|
964
964
|
};
|
|
965
965
|
|
|
@@ -973,12 +973,12 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
973
973
|
|
|
974
974
|
var isForced_1 = isForced$1;
|
|
975
975
|
|
|
976
|
-
var global$
|
|
976
|
+
var global$4 = global$d;
|
|
977
977
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
978
978
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
|
|
979
979
|
var defineBuiltIn$2 = defineBuiltIn$3;
|
|
980
980
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
981
|
-
var copyConstructorProperties = copyConstructorProperties$
|
|
981
|
+
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
982
982
|
var isForced = isForced_1;
|
|
983
983
|
|
|
984
984
|
/*
|
|
@@ -1002,11 +1002,11 @@ var _export = function (options, source) {
|
|
|
1002
1002
|
var STATIC = options.stat;
|
|
1003
1003
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1004
1004
|
if (GLOBAL) {
|
|
1005
|
-
target = global$
|
|
1005
|
+
target = global$4;
|
|
1006
1006
|
} else if (STATIC) {
|
|
1007
|
-
target = global$
|
|
1007
|
+
target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1008
1008
|
} else {
|
|
1009
|
-
target = (global$
|
|
1009
|
+
target = (global$4[TARGET] || {}).prototype;
|
|
1010
1010
|
}
|
|
1011
1011
|
if (target) for (key in source) {
|
|
1012
1012
|
sourceProperty = source[key];
|
|
@@ -1018,7 +1018,7 @@ var _export = function (options, source) {
|
|
|
1018
1018
|
// contained in target
|
|
1019
1019
|
if (!FORCED && targetProperty !== undefined) {
|
|
1020
1020
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1021
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1021
|
+
copyConstructorProperties$1(sourceProperty, targetProperty);
|
|
1022
1022
|
}
|
|
1023
1023
|
// add a flag to not completely full polyfills
|
|
1024
1024
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
@@ -1038,8 +1038,8 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1038
1038
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1039
1039
|
};
|
|
1040
1040
|
|
|
1041
|
-
var DESCRIPTORS$
|
|
1042
|
-
var uncurryThis$
|
|
1041
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1042
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
1043
1043
|
var call$1 = functionCall;
|
|
1044
1044
|
var fails$3 = fails$c;
|
|
1045
1045
|
var objectKeys$1 = objectKeys$2;
|
|
@@ -1051,17 +1051,17 @@ var IndexedObject$1 = indexedObject;
|
|
|
1051
1051
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1052
1052
|
var $assign = Object.assign;
|
|
1053
1053
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1054
|
-
var defineProperty$
|
|
1055
|
-
var concat = uncurryThis$
|
|
1054
|
+
var defineProperty$4 = Object.defineProperty;
|
|
1055
|
+
var concat = uncurryThis$2([].concat);
|
|
1056
1056
|
|
|
1057
1057
|
// `Object.assign` method
|
|
1058
1058
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1059
1059
|
var objectAssign = !$assign || fails$3(function () {
|
|
1060
1060
|
// should have correct order of operations (Edge bug)
|
|
1061
|
-
if (DESCRIPTORS$
|
|
1061
|
+
if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
|
|
1062
1062
|
enumerable: true,
|
|
1063
1063
|
get: function () {
|
|
1064
|
-
defineProperty$
|
|
1064
|
+
defineProperty$4(this, 'b', {
|
|
1065
1065
|
value: 3,
|
|
1066
1066
|
enumerable: false
|
|
1067
1067
|
});
|
|
@@ -1090,18 +1090,18 @@ var objectAssign = !$assign || fails$3(function () {
|
|
|
1090
1090
|
var key;
|
|
1091
1091
|
while (length > j) {
|
|
1092
1092
|
key = keys[j++];
|
|
1093
|
-
if (!DESCRIPTORS$
|
|
1093
|
+
if (!DESCRIPTORS$3 || call$1(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1094
1094
|
}
|
|
1095
1095
|
} return T;
|
|
1096
1096
|
} : $assign;
|
|
1097
1097
|
|
|
1098
|
-
var $$
|
|
1098
|
+
var $$3 = _export;
|
|
1099
1099
|
var assign = objectAssign;
|
|
1100
1100
|
|
|
1101
1101
|
// `Object.assign` method
|
|
1102
1102
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1103
1103
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1104
|
-
$$
|
|
1104
|
+
$$3({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1105
1105
|
assign: assign
|
|
1106
1106
|
});
|
|
1107
1107
|
|
|
@@ -1162,12 +1162,12 @@ var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
|
|
|
1162
1162
|
});
|
|
1163
1163
|
};
|
|
1164
1164
|
|
|
1165
|
-
var classof = classofRaw;
|
|
1166
|
-
var global$
|
|
1165
|
+
var classof$2 = classofRaw$1;
|
|
1166
|
+
var global$3 = global$d;
|
|
1167
1167
|
|
|
1168
|
-
var engineIsNode = classof(global$
|
|
1168
|
+
var engineIsNode = classof$2(global$3.process) == 'process';
|
|
1169
1169
|
|
|
1170
|
-
var $$
|
|
1170
|
+
var $$2 = _export;
|
|
1171
1171
|
var $reduce = arrayReduce.left;
|
|
1172
1172
|
var arrayMethodIsStrict = arrayMethodIsStrict$1;
|
|
1173
1173
|
var CHROME_VERSION = engineV8Version;
|
|
@@ -1180,7 +1180,7 @@ var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
|
1180
1180
|
|
|
1181
1181
|
// `Array.prototype.reduce` method
|
|
1182
1182
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
1183
|
-
$$
|
|
1183
|
+
$$2({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
|
|
1184
1184
|
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
1185
1185
|
var length = arguments.length;
|
|
1186
1186
|
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
@@ -1189,7 +1189,7 @@ $$1({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
|
|
|
1189
1189
|
|
|
1190
1190
|
var objectDefineProperties = {};
|
|
1191
1191
|
|
|
1192
|
-
var DESCRIPTORS$
|
|
1192
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1193
1193
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1194
1194
|
var definePropertyModule = objectDefineProperty;
|
|
1195
1195
|
var anObject$2 = anObject$5;
|
|
@@ -1199,7 +1199,7 @@ var objectKeys = objectKeys$2;
|
|
|
1199
1199
|
// `Object.defineProperties` method
|
|
1200
1200
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1201
1201
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1202
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1202
|
+
objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1203
1203
|
anObject$2(O);
|
|
1204
1204
|
var props = toIndexedObject$1(Properties);
|
|
1205
1205
|
var keys = objectKeys(Properties);
|
|
@@ -1299,17 +1299,17 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1299
1299
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1300
1300
|
};
|
|
1301
1301
|
|
|
1302
|
-
var wellKnownSymbol$
|
|
1302
|
+
var wellKnownSymbol$6 = wellKnownSymbol$8;
|
|
1303
1303
|
var create$1 = objectCreate;
|
|
1304
|
-
var defineProperty$
|
|
1304
|
+
var defineProperty$3 = objectDefineProperty.f;
|
|
1305
1305
|
|
|
1306
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
1306
|
+
var UNSCOPABLES = wellKnownSymbol$6('unscopables');
|
|
1307
1307
|
var ArrayPrototype = Array.prototype;
|
|
1308
1308
|
|
|
1309
1309
|
// Array.prototype[@@unscopables]
|
|
1310
1310
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1311
1311
|
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
1312
|
-
defineProperty$
|
|
1312
|
+
defineProperty$3(ArrayPrototype, UNSCOPABLES, {
|
|
1313
1313
|
configurable: true,
|
|
1314
1314
|
value: create$1(null)
|
|
1315
1315
|
});
|
|
@@ -1331,36 +1331,36 @@ var correctPrototypeGetter = !fails$1(function () {
|
|
|
1331
1331
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1332
1332
|
});
|
|
1333
1333
|
|
|
1334
|
-
var hasOwn$
|
|
1335
|
-
var isCallable$
|
|
1334
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
1335
|
+
var isCallable$5 = isCallable$g;
|
|
1336
1336
|
var toObject = toObject$4;
|
|
1337
1337
|
var sharedKey = sharedKey$3;
|
|
1338
1338
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1339
1339
|
|
|
1340
1340
|
var IE_PROTO = sharedKey('IE_PROTO');
|
|
1341
|
-
var $Object = Object;
|
|
1342
|
-
var ObjectPrototype = $Object.prototype;
|
|
1341
|
+
var $Object$1 = Object;
|
|
1342
|
+
var ObjectPrototype = $Object$1.prototype;
|
|
1343
1343
|
|
|
1344
1344
|
// `Object.getPrototypeOf` method
|
|
1345
1345
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1346
1346
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1347
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
1347
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1348
1348
|
var object = toObject(O);
|
|
1349
|
-
if (hasOwn$
|
|
1349
|
+
if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
|
|
1350
1350
|
var constructor = object.constructor;
|
|
1351
|
-
if (isCallable$
|
|
1351
|
+
if (isCallable$5(constructor) && object instanceof constructor) {
|
|
1352
1352
|
return constructor.prototype;
|
|
1353
|
-
} return object instanceof $Object ? ObjectPrototype : null;
|
|
1353
|
+
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1354
1354
|
};
|
|
1355
1355
|
|
|
1356
1356
|
var fails = fails$c;
|
|
1357
|
-
var isCallable$
|
|
1357
|
+
var isCallable$4 = isCallable$g;
|
|
1358
1358
|
var isObject = isObject$6;
|
|
1359
1359
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1360
1360
|
var defineBuiltIn$1 = defineBuiltIn$3;
|
|
1361
|
-
var wellKnownSymbol$
|
|
1361
|
+
var wellKnownSymbol$5 = wellKnownSymbol$8;
|
|
1362
1362
|
|
|
1363
|
-
var ITERATOR$2 = wellKnownSymbol$
|
|
1363
|
+
var ITERATOR$2 = wellKnownSymbol$5('iterator');
|
|
1364
1364
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1365
1365
|
|
|
1366
1366
|
// `%IteratorPrototype%` object
|
|
@@ -1388,7 +1388,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
|
1388
1388
|
|
|
1389
1389
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1390
1390
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1391
|
-
if (!isCallable$
|
|
1391
|
+
if (!isCallable$4(IteratorPrototype$2[ITERATOR$2])) {
|
|
1392
1392
|
defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () {
|
|
1393
1393
|
return this;
|
|
1394
1394
|
});
|
|
@@ -1399,16 +1399,16 @@ var iteratorsCore = {
|
|
|
1399
1399
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1400
1400
|
};
|
|
1401
1401
|
|
|
1402
|
-
var defineProperty$
|
|
1403
|
-
var hasOwn = hasOwnProperty_1;
|
|
1404
|
-
var wellKnownSymbol$
|
|
1402
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
1403
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
1404
|
+
var wellKnownSymbol$4 = wellKnownSymbol$8;
|
|
1405
1405
|
|
|
1406
|
-
var TO_STRING_TAG$
|
|
1406
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$4('toStringTag');
|
|
1407
1407
|
|
|
1408
1408
|
var setToStringTag$2 = function (target, TAG, STATIC) {
|
|
1409
1409
|
if (target && !STATIC) target = target.prototype;
|
|
1410
|
-
if (target && !hasOwn(target, TO_STRING_TAG$
|
|
1411
|
-
defineProperty$
|
|
1410
|
+
if (target && !hasOwn$1(target, TO_STRING_TAG$3)) {
|
|
1411
|
+
defineProperty$2(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
|
|
1412
1412
|
}
|
|
1413
1413
|
};
|
|
1414
1414
|
|
|
@@ -1428,19 +1428,19 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
|
|
|
1428
1428
|
return IteratorConstructor;
|
|
1429
1429
|
};
|
|
1430
1430
|
|
|
1431
|
-
var isCallable$
|
|
1431
|
+
var isCallable$3 = isCallable$g;
|
|
1432
1432
|
|
|
1433
|
-
var $String = String;
|
|
1433
|
+
var $String$1 = String;
|
|
1434
1434
|
var $TypeError = TypeError;
|
|
1435
1435
|
|
|
1436
1436
|
var aPossiblePrototype$1 = function (argument) {
|
|
1437
|
-
if (typeof argument == 'object' || isCallable$
|
|
1438
|
-
throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
|
1437
|
+
if (typeof argument == 'object' || isCallable$3(argument)) return argument;
|
|
1438
|
+
throw $TypeError("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1439
1439
|
};
|
|
1440
1440
|
|
|
1441
1441
|
/* eslint-disable no-proto -- safe */
|
|
1442
1442
|
|
|
1443
|
-
var uncurryThis = functionUncurryThis;
|
|
1443
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
1444
1444
|
var anObject = anObject$5;
|
|
1445
1445
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1446
1446
|
|
|
@@ -1454,7 +1454,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1454
1454
|
var setter;
|
|
1455
1455
|
try {
|
|
1456
1456
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1457
|
-
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
1457
|
+
setter = uncurryThis$1(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
1458
1458
|
setter(test, []);
|
|
1459
1459
|
CORRECT_SETTER = test instanceof Array;
|
|
1460
1460
|
} catch (error) { /* empty */ }
|
|
@@ -1467,17 +1467,17 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1467
1467
|
};
|
|
1468
1468
|
}() : undefined);
|
|
1469
1469
|
|
|
1470
|
-
var
|
|
1470
|
+
var $$1 = _export;
|
|
1471
1471
|
var call = functionCall;
|
|
1472
1472
|
var FunctionName = functionName;
|
|
1473
|
-
var isCallable = isCallable$
|
|
1473
|
+
var isCallable$2 = isCallable$g;
|
|
1474
1474
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1475
1475
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
1476
1476
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
1477
1477
|
var setToStringTag = setToStringTag$2;
|
|
1478
1478
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
|
|
1479
1479
|
var defineBuiltIn = defineBuiltIn$3;
|
|
1480
|
-
var wellKnownSymbol$
|
|
1480
|
+
var wellKnownSymbol$3 = wellKnownSymbol$8;
|
|
1481
1481
|
var Iterators$1 = iterators;
|
|
1482
1482
|
var IteratorsCore = iteratorsCore;
|
|
1483
1483
|
|
|
@@ -1485,7 +1485,7 @@ var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
|
1485
1485
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1486
1486
|
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
1487
1487
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1488
|
-
var ITERATOR$1 = wellKnownSymbol$
|
|
1488
|
+
var ITERATOR$1 = wellKnownSymbol$3('iterator');
|
|
1489
1489
|
var KEYS = 'keys';
|
|
1490
1490
|
var VALUES = 'values';
|
|
1491
1491
|
var ENTRIES = 'entries';
|
|
@@ -1522,7 +1522,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1522
1522
|
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
1523
1523
|
if (setPrototypeOf) {
|
|
1524
1524
|
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
1525
|
-
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
|
|
1525
|
+
} else if (!isCallable$2(CurrentIteratorPrototype[ITERATOR$1])) {
|
|
1526
1526
|
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
|
|
1527
1527
|
}
|
|
1528
1528
|
}
|
|
@@ -1552,7 +1552,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1552
1552
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1553
1553
|
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
1554
1554
|
}
|
|
1555
|
-
} else
|
|
1555
|
+
} else $$1({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1556
1556
|
}
|
|
1557
1557
|
|
|
1558
1558
|
// define iterator
|
|
@@ -1574,10 +1574,10 @@ var toIndexedObject = toIndexedObject$5;
|
|
|
1574
1574
|
var addToUnscopables = addToUnscopables$1;
|
|
1575
1575
|
var Iterators = iterators;
|
|
1576
1576
|
var InternalStateModule = internalState;
|
|
1577
|
-
var defineProperty = objectDefineProperty.f;
|
|
1577
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
1578
1578
|
var defineIterator = iteratorDefine;
|
|
1579
1579
|
var createIterResultObject = createIterResultObject$1;
|
|
1580
|
-
var DESCRIPTORS = descriptors;
|
|
1580
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1581
1581
|
|
|
1582
1582
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1583
1583
|
var setInternalState = InternalStateModule.set;
|
|
@@ -1627,8 +1627,8 @@ addToUnscopables('values');
|
|
|
1627
1627
|
addToUnscopables('entries');
|
|
1628
1628
|
|
|
1629
1629
|
// V8 ~ Chrome 45- bug
|
|
1630
|
-
if (DESCRIPTORS && values.name !== 'values') try {
|
|
1631
|
-
defineProperty(values, 'name', { value: 'values' });
|
|
1630
|
+
if (DESCRIPTORS$1 && values.name !== 'values') try {
|
|
1631
|
+
defineProperty$1(values, 'name', { value: 'values' });
|
|
1632
1632
|
} catch (error) { /* empty */ }
|
|
1633
1633
|
|
|
1634
1634
|
// iterable DOM collections
|
|
@@ -1675,15 +1675,15 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1675
1675
|
|
|
1676
1676
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1677
1677
|
|
|
1678
|
-
var global$
|
|
1678
|
+
var global$2 = global$d;
|
|
1679
1679
|
var DOMIterables = domIterables;
|
|
1680
1680
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1681
1681
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1682
1682
|
var createNonEnumerableProperty = createNonEnumerableProperty$4;
|
|
1683
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
1683
|
+
var wellKnownSymbol$2 = wellKnownSymbol$8;
|
|
1684
1684
|
|
|
1685
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
|
1686
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
1685
|
+
var ITERATOR = wellKnownSymbol$2('iterator');
|
|
1686
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$2('toStringTag');
|
|
1687
1687
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1688
1688
|
|
|
1689
1689
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
@@ -1694,8 +1694,8 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1694
1694
|
} catch (error) {
|
|
1695
1695
|
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
1696
1696
|
}
|
|
1697
|
-
if (!CollectionPrototype[TO_STRING_TAG]) {
|
|
1698
|
-
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
|
|
1697
|
+
if (!CollectionPrototype[TO_STRING_TAG$2]) {
|
|
1698
|
+
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG$2, COLLECTION_NAME);
|
|
1699
1699
|
}
|
|
1700
1700
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
1701
1701
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
@@ -1709,7 +1709,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1709
1709
|
};
|
|
1710
1710
|
|
|
1711
1711
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1712
|
-
handlePrototype(global$
|
|
1712
|
+
handlePrototype(global$2[COLLECTION_NAME] && global$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1713
1713
|
}
|
|
1714
1714
|
|
|
1715
1715
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -2031,6 +2031,111 @@ const MergeTag = ({
|
|
|
2031
2031
|
});
|
|
2032
2032
|
};
|
|
2033
2033
|
|
|
2034
|
+
var wellKnownSymbol$1 = wellKnownSymbol$8;
|
|
2035
|
+
|
|
2036
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
|
|
2037
|
+
var test = {};
|
|
2038
|
+
|
|
2039
|
+
test[TO_STRING_TAG$1] = 'z';
|
|
2040
|
+
|
|
2041
|
+
var toStringTagSupport = String(test) === '[object z]';
|
|
2042
|
+
|
|
2043
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2044
|
+
var isCallable$1 = isCallable$g;
|
|
2045
|
+
var classofRaw = classofRaw$1;
|
|
2046
|
+
var wellKnownSymbol = wellKnownSymbol$8;
|
|
2047
|
+
|
|
2048
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
2049
|
+
var $Object = Object;
|
|
2050
|
+
|
|
2051
|
+
// ES3 wrong here
|
|
2052
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
2053
|
+
|
|
2054
|
+
// fallback for IE11 Script Access Denied error
|
|
2055
|
+
var tryGet = function (it, key) {
|
|
2056
|
+
try {
|
|
2057
|
+
return it[key];
|
|
2058
|
+
} catch (error) { /* empty */ }
|
|
2059
|
+
};
|
|
2060
|
+
|
|
2061
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
2062
|
+
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
2063
|
+
var O, tag, result;
|
|
2064
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2065
|
+
// @@toStringTag case
|
|
2066
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
2067
|
+
// builtinTag case
|
|
2068
|
+
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
2069
|
+
// ES3 arguments fallback
|
|
2070
|
+
: (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
|
|
2071
|
+
};
|
|
2072
|
+
|
|
2073
|
+
var classof = classof$1;
|
|
2074
|
+
|
|
2075
|
+
var $String = String;
|
|
2076
|
+
|
|
2077
|
+
var toString$1 = function (argument) {
|
|
2078
|
+
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
2079
|
+
return $String(argument);
|
|
2080
|
+
};
|
|
2081
|
+
|
|
2082
|
+
var $ = _export;
|
|
2083
|
+
var DESCRIPTORS = descriptors;
|
|
2084
|
+
var global$1 = global$d;
|
|
2085
|
+
var uncurryThis = functionUncurryThis;
|
|
2086
|
+
var hasOwn = hasOwnProperty_1;
|
|
2087
|
+
var isCallable = isCallable$g;
|
|
2088
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
2089
|
+
var toString = toString$1;
|
|
2090
|
+
var defineProperty = objectDefineProperty.f;
|
|
2091
|
+
var copyConstructorProperties = copyConstructorProperties$2;
|
|
2092
|
+
|
|
2093
|
+
var NativeSymbol = global$1.Symbol;
|
|
2094
|
+
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
2095
|
+
|
|
2096
|
+
if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
2097
|
+
// Safari 12 bug
|
|
2098
|
+
NativeSymbol().description !== undefined
|
|
2099
|
+
)) {
|
|
2100
|
+
var EmptyStringDescriptionStore = {};
|
|
2101
|
+
// wrap Symbol constructor for correct work with undefined description
|
|
2102
|
+
var SymbolWrapper = function Symbol() {
|
|
2103
|
+
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);
|
|
2104
|
+
var result = isPrototypeOf(SymbolPrototype, this)
|
|
2105
|
+
? new NativeSymbol(description)
|
|
2106
|
+
// in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
|
|
2107
|
+
: description === undefined ? NativeSymbol() : NativeSymbol(description);
|
|
2108
|
+
if (description === '') EmptyStringDescriptionStore[result] = true;
|
|
2109
|
+
return result;
|
|
2110
|
+
};
|
|
2111
|
+
|
|
2112
|
+
copyConstructorProperties(SymbolWrapper, NativeSymbol);
|
|
2113
|
+
SymbolWrapper.prototype = SymbolPrototype;
|
|
2114
|
+
SymbolPrototype.constructor = SymbolWrapper;
|
|
2115
|
+
|
|
2116
|
+
var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';
|
|
2117
|
+
var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);
|
|
2118
|
+
var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);
|
|
2119
|
+
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
2120
|
+
var replace = uncurryThis(''.replace);
|
|
2121
|
+
var stringSlice = uncurryThis(''.slice);
|
|
2122
|
+
|
|
2123
|
+
defineProperty(SymbolPrototype, 'description', {
|
|
2124
|
+
configurable: true,
|
|
2125
|
+
get: function description() {
|
|
2126
|
+
var symbol = thisSymbolValue(this);
|
|
2127
|
+
if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';
|
|
2128
|
+
var string = symbolDescriptiveString(symbol);
|
|
2129
|
+
var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');
|
|
2130
|
+
return desc === '' ? undefined : desc;
|
|
2131
|
+
}
|
|
2132
|
+
});
|
|
2133
|
+
|
|
2134
|
+
$({ global: true, constructor: true, forced: true }, {
|
|
2135
|
+
Symbol: SymbolWrapper
|
|
2136
|
+
});
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2034
2139
|
const TrackExperience = ({
|
|
2035
2140
|
children,
|
|
2036
2141
|
experience,
|
|
@@ -2054,8 +2159,8 @@ const TrackExperience = ({
|
|
|
2054
2159
|
experience: {
|
|
2055
2160
|
id: experience.id,
|
|
2056
2161
|
type: experience.type,
|
|
2057
|
-
name: '',
|
|
2058
|
-
description: ''
|
|
2162
|
+
name: experience.name || '',
|
|
2163
|
+
description: experience.description || ''
|
|
2059
2164
|
},
|
|
2060
2165
|
audience: experience.audience,
|
|
2061
2166
|
selectedVariant: variant,
|