@sinco/react 1.0.15-rc.1 → 1.0.15-rc.3
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +897 -827
- package/package.json +1 -1
package/index.js
CHANGED
@@ -26,7 +26,7 @@ var check = function (it) {
|
|
26
26
|
};
|
27
27
|
|
28
28
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
29
|
-
var global$
|
29
|
+
var global$j =
|
30
30
|
// eslint-disable-next-line es/no-global-this -- safe
|
31
31
|
check(typeof globalThis == 'object' && globalThis) ||
|
32
32
|
check(typeof window == 'object' && window) ||
|
@@ -38,7 +38,7 @@ var global$k =
|
|
38
38
|
|
39
39
|
var objectGetOwnPropertyDescriptor = {};
|
40
40
|
|
41
|
-
var fails$
|
41
|
+
var fails$f = function (exec) {
|
42
42
|
try {
|
43
43
|
return !!exec();
|
44
44
|
} catch (error) {
|
@@ -46,17 +46,17 @@ var fails$h = function (exec) {
|
|
46
46
|
}
|
47
47
|
};
|
48
48
|
|
49
|
-
var fails$
|
49
|
+
var fails$e = fails$f;
|
50
50
|
|
51
51
|
// Detect IE8's incomplete defineProperty implementation
|
52
|
-
var descriptors = !fails$
|
52
|
+
var descriptors = !fails$e(function () {
|
53
53
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
54
54
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
55
55
|
});
|
56
56
|
|
57
|
-
var fails$
|
57
|
+
var fails$d = fails$f;
|
58
58
|
|
59
|
-
var functionBindNative = !fails$
|
59
|
+
var functionBindNative = !fails$d(function () {
|
60
60
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
61
61
|
var test = (function () { /* empty */ }).bind();
|
62
62
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
@@ -65,10 +65,10 @@ var functionBindNative = !fails$f(function () {
|
|
65
65
|
|
66
66
|
var NATIVE_BIND$3 = functionBindNative;
|
67
67
|
|
68
|
-
var call$
|
68
|
+
var call$g = Function.prototype.call;
|
69
69
|
|
70
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
71
|
-
return call$
|
70
|
+
var functionCall = NATIVE_BIND$3 ? call$g.bind(call$g) : function () {
|
71
|
+
return call$g.apply(call$g, arguments);
|
72
72
|
};
|
73
73
|
|
74
74
|
var objectPropertyIsEnumerable = {};
|
@@ -87,7 +87,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
87
87
|
return !!descriptor && descriptor.enumerable;
|
88
88
|
} : $propertyIsEnumerable;
|
89
89
|
|
90
|
-
var createPropertyDescriptor$
|
90
|
+
var createPropertyDescriptor$2 = function (bitmap, value) {
|
91
91
|
return {
|
92
92
|
enumerable: !(bitmap & 1),
|
93
93
|
configurable: !(bitmap & 2),
|
@@ -99,12 +99,12 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
99
99
|
var NATIVE_BIND$2 = functionBindNative;
|
100
100
|
|
101
101
|
var FunctionPrototype$2 = Function.prototype;
|
102
|
-
var call$
|
103
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
102
|
+
var call$f = FunctionPrototype$2.call;
|
103
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$f, call$f);
|
104
104
|
|
105
105
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
106
106
|
return function () {
|
107
|
-
return call$
|
107
|
+
return call$f.apply(fn, arguments);
|
108
108
|
};
|
109
109
|
};
|
110
110
|
|
@@ -118,20 +118,20 @@ var classofRaw$2 = function (it) {
|
|
118
118
|
};
|
119
119
|
|
120
120
|
var uncurryThis$f = functionUncurryThis;
|
121
|
-
var fails$
|
121
|
+
var fails$c = fails$f;
|
122
122
|
var classof$6 = classofRaw$2;
|
123
123
|
|
124
|
-
var $Object$
|
124
|
+
var $Object$3 = Object;
|
125
125
|
var split = uncurryThis$f(''.split);
|
126
126
|
|
127
127
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
128
|
-
var indexedObject = fails$
|
128
|
+
var indexedObject = fails$c(function () {
|
129
129
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
130
130
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
131
|
-
return !$Object$
|
131
|
+
return !$Object$3('z').propertyIsEnumerable(0);
|
132
132
|
}) ? function (it) {
|
133
|
-
return classof$6(it) == 'String' ? split(it, '') : $Object$
|
134
|
-
} : $Object$
|
133
|
+
return classof$6(it) == 'String' ? split(it, '') : $Object$3(it);
|
134
|
+
} : $Object$3;
|
135
135
|
|
136
136
|
// we can't use just `it == null` since of `document.all` special case
|
137
137
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
@@ -154,7 +154,7 @@ var requireObjectCoercible$3 = function (it) {
|
|
154
154
|
var IndexedObject$1 = indexedObject;
|
155
155
|
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
156
156
|
|
157
|
-
var toIndexedObject$
|
157
|
+
var toIndexedObject$4 = function (it) {
|
158
158
|
return IndexedObject$1(requireObjectCoercible$2(it));
|
159
159
|
};
|
160
160
|
|
@@ -175,32 +175,32 @@ var documentAll$1 = $documentAll$1.all;
|
|
175
175
|
|
176
176
|
// `IsCallable` abstract operation
|
177
177
|
// https://tc39.es/ecma262/#sec-iscallable
|
178
|
-
var isCallable$
|
178
|
+
var isCallable$i = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
179
179
|
return typeof argument == 'function' || argument === documentAll$1;
|
180
180
|
} : function (argument) {
|
181
181
|
return typeof argument == 'function';
|
182
182
|
};
|
183
183
|
|
184
|
-
var isCallable$
|
184
|
+
var isCallable$h = isCallable$i;
|
185
185
|
var $documentAll = documentAll_1;
|
186
186
|
|
187
187
|
var documentAll = $documentAll.all;
|
188
188
|
|
189
|
-
var isObject$
|
190
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
189
|
+
var isObject$7 = $documentAll.IS_HTMLDDA ? function (it) {
|
190
|
+
return typeof it == 'object' ? it !== null : isCallable$h(it) || it === documentAll;
|
191
191
|
} : function (it) {
|
192
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
192
|
+
return typeof it == 'object' ? it !== null : isCallable$h(it);
|
193
193
|
};
|
194
194
|
|
195
|
-
var global$
|
196
|
-
var isCallable$
|
195
|
+
var global$i = global$j;
|
196
|
+
var isCallable$g = isCallable$i;
|
197
197
|
|
198
198
|
var aFunction = function (argument) {
|
199
|
-
return isCallable$
|
199
|
+
return isCallable$g(argument) ? argument : undefined;
|
200
200
|
};
|
201
201
|
|
202
202
|
var getBuiltIn$7 = function (namespace, method) {
|
203
|
-
return arguments.length < 2 ? aFunction(global$
|
203
|
+
return arguments.length < 2 ? aFunction(global$i[namespace]) : global$i[namespace] && global$i[namespace][method];
|
204
204
|
};
|
205
205
|
|
206
206
|
var uncurryThis$e = functionUncurryThis;
|
@@ -209,11 +209,11 @@ var objectIsPrototypeOf = uncurryThis$e({}.isPrototypeOf);
|
|
209
209
|
|
210
210
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
211
211
|
|
212
|
-
var global$
|
212
|
+
var global$h = global$j;
|
213
213
|
var userAgent$3 = engineUserAgent;
|
214
214
|
|
215
|
-
var process$4 = global$
|
216
|
-
var Deno$1 = global$
|
215
|
+
var process$4 = global$h.process;
|
216
|
+
var Deno$1 = global$h.Deno;
|
217
217
|
var versions = process$4 && process$4.versions || Deno$1 && Deno$1.version;
|
218
218
|
var v8 = versions && versions.v8;
|
219
219
|
var match$1, version;
|
@@ -240,13 +240,13 @@ var engineV8Version = version;
|
|
240
240
|
/* eslint-disable es/no-symbol -- required for testing */
|
241
241
|
|
242
242
|
var V8_VERSION$1 = engineV8Version;
|
243
|
-
var fails$
|
244
|
-
var global$
|
243
|
+
var fails$b = fails$f;
|
244
|
+
var global$g = global$j;
|
245
245
|
|
246
|
-
var $String$5 = global$
|
246
|
+
var $String$5 = global$g.String;
|
247
247
|
|
248
248
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
249
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
249
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(function () {
|
250
250
|
var symbol = Symbol();
|
251
251
|
// Chrome 38 Symbol has incorrect toString conversion
|
252
252
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
@@ -266,17 +266,17 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
266
266
|
&& typeof Symbol.iterator == 'symbol';
|
267
267
|
|
268
268
|
var getBuiltIn$6 = getBuiltIn$7;
|
269
|
-
var isCallable$
|
269
|
+
var isCallable$f = isCallable$i;
|
270
270
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
271
271
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
272
272
|
|
273
|
-
var $Object$
|
273
|
+
var $Object$2 = Object;
|
274
274
|
|
275
275
|
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
276
276
|
return typeof it == 'symbol';
|
277
277
|
} : function (it) {
|
278
278
|
var $Symbol = getBuiltIn$6('Symbol');
|
279
|
-
return isCallable$
|
279
|
+
return isCallable$f($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$2(it));
|
280
280
|
};
|
281
281
|
|
282
282
|
var $String$4 = String;
|
@@ -289,14 +289,14 @@ var tryToString$4 = function (argument) {
|
|
289
289
|
}
|
290
290
|
};
|
291
291
|
|
292
|
-
var isCallable$
|
292
|
+
var isCallable$e = isCallable$i;
|
293
293
|
var tryToString$3 = tryToString$4;
|
294
294
|
|
295
295
|
var $TypeError$c = TypeError;
|
296
296
|
|
297
297
|
// `Assert: IsCallable(argument) is true`
|
298
298
|
var aCallable$8 = function (argument) {
|
299
|
-
if (isCallable$
|
299
|
+
if (isCallable$e(argument)) return argument;
|
300
300
|
throw $TypeError$c(tryToString$3(argument) + ' is not a function');
|
301
301
|
};
|
302
302
|
|
@@ -310,9 +310,9 @@ var getMethod$4 = function (V, P) {
|
|
310
310
|
return isNullOrUndefined$3(func) ? undefined : aCallable$7(func);
|
311
311
|
};
|
312
312
|
|
313
|
-
var call$
|
314
|
-
var isCallable$
|
315
|
-
var isObject$
|
313
|
+
var call$e = functionCall;
|
314
|
+
var isCallable$d = isCallable$i;
|
315
|
+
var isObject$6 = isObject$7;
|
316
316
|
|
317
317
|
var $TypeError$b = TypeError;
|
318
318
|
|
@@ -320,32 +320,32 @@ var $TypeError$b = TypeError;
|
|
320
320
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
321
321
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
322
322
|
var fn, val;
|
323
|
-
if (pref === 'string' && isCallable$
|
324
|
-
if (isCallable$
|
325
|
-
if (pref !== 'string' && isCallable$
|
323
|
+
if (pref === 'string' && isCallable$d(fn = input.toString) && !isObject$6(val = call$e(fn, input))) return val;
|
324
|
+
if (isCallable$d(fn = input.valueOf) && !isObject$6(val = call$e(fn, input))) return val;
|
325
|
+
if (pref !== 'string' && isCallable$d(fn = input.toString) && !isObject$6(val = call$e(fn, input))) return val;
|
326
326
|
throw $TypeError$b("Can't convert object to primitive value");
|
327
327
|
};
|
328
328
|
|
329
329
|
var shared$4 = {exports: {}};
|
330
330
|
|
331
|
-
var global$
|
331
|
+
var global$f = global$j;
|
332
332
|
|
333
333
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
334
|
-
var defineProperty$
|
334
|
+
var defineProperty$4 = Object.defineProperty;
|
335
335
|
|
336
336
|
var defineGlobalProperty$3 = function (key, value) {
|
337
337
|
try {
|
338
|
-
defineProperty$
|
338
|
+
defineProperty$4(global$f, key, { value: value, configurable: true, writable: true });
|
339
339
|
} catch (error) {
|
340
|
-
global$
|
340
|
+
global$f[key] = value;
|
341
341
|
} return value;
|
342
342
|
};
|
343
343
|
|
344
|
-
var global$
|
344
|
+
var global$e = global$j;
|
345
345
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
346
346
|
|
347
347
|
var SHARED = '__core-js_shared__';
|
348
|
-
var store$3 = global$
|
348
|
+
var store$3 = global$e[SHARED] || defineGlobalProperty$2(SHARED, {});
|
349
349
|
|
350
350
|
var sharedStore = store$3;
|
351
351
|
|
@@ -363,16 +363,16 @@ var store$2 = sharedStore;
|
|
363
363
|
|
364
364
|
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
365
365
|
|
366
|
-
var $Object$
|
366
|
+
var $Object$1 = Object;
|
367
367
|
|
368
368
|
// `ToObject` abstract operation
|
369
369
|
// https://tc39.es/ecma262/#sec-toobject
|
370
|
-
var toObject$
|
371
|
-
return $Object$
|
370
|
+
var toObject$3 = function (argument) {
|
371
|
+
return $Object$1(requireObjectCoercible$1(argument));
|
372
372
|
};
|
373
373
|
|
374
374
|
var uncurryThis$d = functionUncurryThis;
|
375
|
-
var toObject$
|
375
|
+
var toObject$2 = toObject$3;
|
376
376
|
|
377
377
|
var hasOwnProperty$2 = uncurryThis$d({}.hasOwnProperty);
|
378
378
|
|
@@ -380,7 +380,7 @@ var hasOwnProperty$2 = uncurryThis$d({}.hasOwnProperty);
|
|
380
380
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
381
381
|
// eslint-disable-next-line es/no-object-hasown -- safe
|
382
382
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
383
|
-
return hasOwnProperty$2(toObject$
|
383
|
+
return hasOwnProperty$2(toObject$2(it), key);
|
384
384
|
};
|
385
385
|
|
386
386
|
var uncurryThis$c = functionUncurryThis;
|
@@ -393,45 +393,45 @@ var uid$2 = function (key) {
|
|
393
393
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
394
394
|
};
|
395
395
|
|
396
|
-
var global$
|
396
|
+
var global$d = global$j;
|
397
397
|
var shared$3 = shared$4.exports;
|
398
|
-
var hasOwn$
|
398
|
+
var hasOwn$8 = hasOwnProperty_1;
|
399
399
|
var uid$1 = uid$2;
|
400
400
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
401
401
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
402
402
|
|
403
|
-
var Symbol$1 = global$
|
403
|
+
var Symbol$1 = global$d.Symbol;
|
404
404
|
var WellKnownSymbolsStore = shared$3('wks');
|
405
405
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
406
406
|
|
407
|
-
var wellKnownSymbol$
|
408
|
-
if (!hasOwn$
|
409
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
407
|
+
var wellKnownSymbol$b = function (name) {
|
408
|
+
if (!hasOwn$8(WellKnownSymbolsStore, name)) {
|
409
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)
|
410
410
|
? Symbol$1[name]
|
411
411
|
: createWellKnownSymbol('Symbol.' + name);
|
412
412
|
} return WellKnownSymbolsStore[name];
|
413
413
|
};
|
414
414
|
|
415
|
-
var call$
|
416
|
-
var isObject$
|
415
|
+
var call$d = functionCall;
|
416
|
+
var isObject$5 = isObject$7;
|
417
417
|
var isSymbol$1 = isSymbol$2;
|
418
418
|
var getMethod$3 = getMethod$4;
|
419
419
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
420
|
-
var wellKnownSymbol$
|
420
|
+
var wellKnownSymbol$a = wellKnownSymbol$b;
|
421
421
|
|
422
422
|
var $TypeError$a = TypeError;
|
423
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
423
|
+
var TO_PRIMITIVE = wellKnownSymbol$a('toPrimitive');
|
424
424
|
|
425
425
|
// `ToPrimitive` abstract operation
|
426
426
|
// https://tc39.es/ecma262/#sec-toprimitive
|
427
427
|
var toPrimitive$1 = function (input, pref) {
|
428
|
-
if (!isObject$
|
428
|
+
if (!isObject$5(input) || isSymbol$1(input)) return input;
|
429
429
|
var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
|
430
430
|
var result;
|
431
431
|
if (exoticToPrim) {
|
432
432
|
if (pref === undefined) pref = 'default';
|
433
|
-
result = call$
|
434
|
-
if (!isObject$
|
433
|
+
result = call$d(exoticToPrim, input, pref);
|
434
|
+
if (!isObject$5(result) || isSymbol$1(result)) return result;
|
435
435
|
throw $TypeError$a("Can't convert object to primitive value");
|
436
436
|
}
|
437
437
|
if (pref === undefined) pref = 'number';
|
@@ -448,36 +448,36 @@ var toPropertyKey$2 = function (argument) {
|
|
448
448
|
return isSymbol(key) ? key : key + '';
|
449
449
|
};
|
450
450
|
|
451
|
-
var global$
|
452
|
-
var isObject$
|
451
|
+
var global$c = global$j;
|
452
|
+
var isObject$4 = isObject$7;
|
453
453
|
|
454
|
-
var document$3 = global$
|
454
|
+
var document$3 = global$c.document;
|
455
455
|
// typeof document.createElement is 'object' in old IE
|
456
|
-
var EXISTS$1 = isObject$
|
456
|
+
var EXISTS$1 = isObject$4(document$3) && isObject$4(document$3.createElement);
|
457
457
|
|
458
|
-
var documentCreateElement$
|
458
|
+
var documentCreateElement$1 = function (it) {
|
459
459
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
460
460
|
};
|
461
461
|
|
462
|
-
var DESCRIPTORS$
|
463
|
-
var fails$
|
464
|
-
var createElement$1 = documentCreateElement$
|
462
|
+
var DESCRIPTORS$9 = descriptors;
|
463
|
+
var fails$a = fails$f;
|
464
|
+
var createElement$1 = documentCreateElement$1;
|
465
465
|
|
466
466
|
// Thanks to IE8 for its funny defineProperty
|
467
|
-
var ie8DomDefine = !DESCRIPTORS$
|
467
|
+
var ie8DomDefine = !DESCRIPTORS$9 && !fails$a(function () {
|
468
468
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
469
469
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
470
470
|
get: function () { return 7; }
|
471
471
|
}).a != 7;
|
472
472
|
});
|
473
473
|
|
474
|
-
var DESCRIPTORS$
|
475
|
-
var call$
|
474
|
+
var DESCRIPTORS$8 = descriptors;
|
475
|
+
var call$c = functionCall;
|
476
476
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
477
|
-
var createPropertyDescriptor$
|
478
|
-
var toIndexedObject$
|
477
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
478
|
+
var toIndexedObject$3 = toIndexedObject$4;
|
479
479
|
var toPropertyKey$1 = toPropertyKey$2;
|
480
|
-
var hasOwn$
|
480
|
+
var hasOwn$7 = hasOwnProperty_1;
|
481
481
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
482
482
|
|
483
483
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
@@ -485,23 +485,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
485
485
|
|
486
486
|
// `Object.getOwnPropertyDescriptor` method
|
487
487
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
488
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
489
|
-
O = toIndexedObject$
|
488
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
489
|
+
O = toIndexedObject$3(O);
|
490
490
|
P = toPropertyKey$1(P);
|
491
491
|
if (IE8_DOM_DEFINE$1) try {
|
492
492
|
return $getOwnPropertyDescriptor$1(O, P);
|
493
493
|
} catch (error) { /* empty */ }
|
494
|
-
if (hasOwn$
|
494
|
+
if (hasOwn$7(O, P)) return createPropertyDescriptor$1(!call$c(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
495
495
|
};
|
496
496
|
|
497
497
|
var objectDefineProperty = {};
|
498
498
|
|
499
|
-
var DESCRIPTORS$
|
500
|
-
var fails$
|
499
|
+
var DESCRIPTORS$7 = descriptors;
|
500
|
+
var fails$9 = fails$f;
|
501
501
|
|
502
502
|
// V8 ~ Chrome 36-
|
503
503
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
504
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
504
|
+
var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$9(function () {
|
505
505
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
506
506
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
507
507
|
value: 42,
|
@@ -509,18 +509,18 @@ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$b(function () {
|
|
509
509
|
}).prototype != 42;
|
510
510
|
});
|
511
511
|
|
512
|
-
var isObject$
|
512
|
+
var isObject$3 = isObject$7;
|
513
513
|
|
514
514
|
var $String$3 = String;
|
515
515
|
var $TypeError$9 = TypeError;
|
516
516
|
|
517
517
|
// `Assert: Type(argument) is Object`
|
518
518
|
var anObject$d = function (argument) {
|
519
|
-
if (isObject$
|
519
|
+
if (isObject$3(argument)) return argument;
|
520
520
|
throw $TypeError$9($String$3(argument) + ' is not an object');
|
521
521
|
};
|
522
522
|
|
523
|
-
var DESCRIPTORS$
|
523
|
+
var DESCRIPTORS$6 = descriptors;
|
524
524
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
525
525
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
526
526
|
var anObject$c = anObject$d;
|
@@ -537,7 +537,7 @@ var WRITABLE = 'writable';
|
|
537
537
|
|
538
538
|
// `Object.defineProperty` method
|
539
539
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
540
|
-
objectDefineProperty.f = DESCRIPTORS$
|
540
|
+
objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
541
541
|
anObject$c(O);
|
542
542
|
P = toPropertyKey(P);
|
543
543
|
anObject$c(Attributes);
|
@@ -564,12 +564,12 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
564
564
|
return O;
|
565
565
|
};
|
566
566
|
|
567
|
-
var DESCRIPTORS$
|
567
|
+
var DESCRIPTORS$5 = descriptors;
|
568
568
|
var definePropertyModule$3 = objectDefineProperty;
|
569
|
-
var createPropertyDescriptor
|
569
|
+
var createPropertyDescriptor = createPropertyDescriptor$2;
|
570
570
|
|
571
|
-
var createNonEnumerableProperty$
|
572
|
-
return definePropertyModule$3.f(object, key, createPropertyDescriptor
|
571
|
+
var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value) {
|
572
|
+
return definePropertyModule$3.f(object, key, createPropertyDescriptor(1, value));
|
573
573
|
} : function (object, key, value) {
|
574
574
|
object[key] = value;
|
575
575
|
return object;
|
@@ -577,17 +577,17 @@ var createNonEnumerableProperty$5 = DESCRIPTORS$6 ? function (object, key, value
|
|
577
577
|
|
578
578
|
var makeBuiltIn$3 = {exports: {}};
|
579
579
|
|
580
|
-
var DESCRIPTORS$
|
581
|
-
var hasOwn$
|
580
|
+
var DESCRIPTORS$4 = descriptors;
|
581
|
+
var hasOwn$6 = hasOwnProperty_1;
|
582
582
|
|
583
583
|
var FunctionPrototype$1 = Function.prototype;
|
584
584
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
585
|
-
var getDescriptor = DESCRIPTORS$
|
585
|
+
var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
|
586
586
|
|
587
|
-
var EXISTS = hasOwn$
|
587
|
+
var EXISTS = hasOwn$6(FunctionPrototype$1, 'name');
|
588
588
|
// additional protection from minified / mangled / dropped function names
|
589
589
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
590
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
590
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
591
591
|
|
592
592
|
var functionName = {
|
593
593
|
EXISTS: EXISTS,
|
@@ -596,13 +596,13 @@ var functionName = {
|
|
596
596
|
};
|
597
597
|
|
598
598
|
var uncurryThis$b = functionUncurryThis;
|
599
|
-
var isCallable$
|
599
|
+
var isCallable$c = isCallable$i;
|
600
600
|
var store$1 = sharedStore;
|
601
601
|
|
602
602
|
var functionToString = uncurryThis$b(Function.toString);
|
603
603
|
|
604
604
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
605
|
-
if (!isCallable$
|
605
|
+
if (!isCallable$c(store$1.inspectSource)) {
|
606
606
|
store$1.inspectSource = function (it) {
|
607
607
|
return functionToString(it);
|
608
608
|
};
|
@@ -610,36 +610,36 @@ if (!isCallable$f(store$1.inspectSource)) {
|
|
610
610
|
|
611
611
|
var inspectSource$3 = store$1.inspectSource;
|
612
612
|
|
613
|
-
var global$
|
614
|
-
var isCallable$
|
613
|
+
var global$b = global$j;
|
614
|
+
var isCallable$b = isCallable$i;
|
615
615
|
|
616
|
-
var WeakMap$2 = global$
|
616
|
+
var WeakMap$2 = global$b.WeakMap;
|
617
617
|
|
618
|
-
var weakMapBasicDetection = isCallable$
|
618
|
+
var weakMapBasicDetection = isCallable$b(WeakMap$2) && /native code/.test(String(WeakMap$2));
|
619
619
|
|
620
620
|
var shared$2 = shared$4.exports;
|
621
621
|
var uid = uid$2;
|
622
622
|
|
623
623
|
var keys = shared$2('keys');
|
624
624
|
|
625
|
-
var sharedKey$
|
625
|
+
var sharedKey$2 = function (key) {
|
626
626
|
return keys[key] || (keys[key] = uid(key));
|
627
627
|
};
|
628
628
|
|
629
629
|
var hiddenKeys$4 = {};
|
630
630
|
|
631
631
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
632
|
-
var global$
|
633
|
-
var isObject$
|
634
|
-
var createNonEnumerableProperty$
|
635
|
-
var hasOwn$
|
632
|
+
var global$a = global$j;
|
633
|
+
var isObject$2 = isObject$7;
|
634
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
635
|
+
var hasOwn$5 = hasOwnProperty_1;
|
636
636
|
var shared$1 = sharedStore;
|
637
|
-
var sharedKey$
|
637
|
+
var sharedKey$1 = sharedKey$2;
|
638
638
|
var hiddenKeys$3 = hiddenKeys$4;
|
639
639
|
|
640
640
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
641
|
-
var TypeError$2 = global$
|
642
|
-
var WeakMap$1 = global$
|
641
|
+
var TypeError$2 = global$a.TypeError;
|
642
|
+
var WeakMap$1 = global$a.WeakMap;
|
643
643
|
var set$1, get, has$3;
|
644
644
|
|
645
645
|
var enforce = function (it) {
|
@@ -649,7 +649,7 @@ var enforce = function (it) {
|
|
649
649
|
var getterFor = function (TYPE) {
|
650
650
|
return function (it) {
|
651
651
|
var state;
|
652
|
-
if (!isObject$
|
652
|
+
if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
|
653
653
|
throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
654
654
|
} return state;
|
655
655
|
};
|
@@ -675,19 +675,19 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
675
675
|
return store.has(it);
|
676
676
|
};
|
677
677
|
} else {
|
678
|
-
var STATE = sharedKey$
|
678
|
+
var STATE = sharedKey$1('state');
|
679
679
|
hiddenKeys$3[STATE] = true;
|
680
680
|
set$1 = function (it, metadata) {
|
681
|
-
if (hasOwn$
|
681
|
+
if (hasOwn$5(it, STATE)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
682
682
|
metadata.facade = it;
|
683
|
-
createNonEnumerableProperty$
|
683
|
+
createNonEnumerableProperty$2(it, STATE, metadata);
|
684
684
|
return metadata;
|
685
685
|
};
|
686
686
|
get = function (it) {
|
687
|
-
return hasOwn$
|
687
|
+
return hasOwn$5(it, STATE) ? it[STATE] : {};
|
688
688
|
};
|
689
689
|
has$3 = function (it) {
|
690
|
-
return hasOwn$
|
690
|
+
return hasOwn$5(it, STATE);
|
691
691
|
};
|
692
692
|
}
|
693
693
|
|
@@ -700,25 +700,25 @@ var internalState = {
|
|
700
700
|
};
|
701
701
|
|
702
702
|
var uncurryThis$a = functionUncurryThis;
|
703
|
-
var fails$
|
704
|
-
var isCallable$
|
705
|
-
var hasOwn$
|
706
|
-
var DESCRIPTORS$
|
707
|
-
var CONFIGURABLE_FUNCTION_NAME
|
703
|
+
var fails$8 = fails$f;
|
704
|
+
var isCallable$a = isCallable$i;
|
705
|
+
var hasOwn$4 = hasOwnProperty_1;
|
706
|
+
var DESCRIPTORS$3 = descriptors;
|
707
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
708
708
|
var inspectSource$2 = inspectSource$3;
|
709
|
-
var InternalStateModule$
|
709
|
+
var InternalStateModule$1 = internalState;
|
710
710
|
|
711
|
-
var enforceInternalState = InternalStateModule$
|
712
|
-
var getInternalState$
|
711
|
+
var enforceInternalState = InternalStateModule$1.enforce;
|
712
|
+
var getInternalState$1 = InternalStateModule$1.get;
|
713
713
|
var $String$2 = String;
|
714
714
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
715
|
-
var defineProperty$
|
715
|
+
var defineProperty$3 = Object.defineProperty;
|
716
716
|
var stringSlice$1 = uncurryThis$a(''.slice);
|
717
717
|
var replace$2 = uncurryThis$a(''.replace);
|
718
718
|
var join = uncurryThis$a([].join);
|
719
719
|
|
720
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
721
|
-
return defineProperty$
|
720
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$8(function () {
|
721
|
+
return defineProperty$3(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$2 = makeBuiltIn$3.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$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
733
|
+
if (DESCRIPTORS$3) defineProperty$3(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$4(options, 'arity') && value.length !== options.arity) {
|
737
|
+
defineProperty$3(value, 'length', { value: options.arity });
|
738
738
|
}
|
739
739
|
try {
|
740
|
-
if (options && hasOwn$
|
741
|
-
if (DESCRIPTORS$
|
740
|
+
if (options && hasOwn$4(options, 'constructor') && options.constructor) {
|
741
|
+
if (DESCRIPTORS$3) defineProperty$3(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$4(state, 'source')) {
|
747
747
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
748
748
|
} return value;
|
749
749
|
};
|
@@ -751,19 +751,19 @@ var makeBuiltIn$2 = makeBuiltIn$3.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$2(function toString() {
|
754
|
-
return isCallable$
|
754
|
+
return isCallable$a(this) && getInternalState$1(this).source || inspectSource$2(this);
|
755
755
|
}, 'toString');
|
756
756
|
|
757
|
-
var isCallable$
|
757
|
+
var isCallable$9 = isCallable$i;
|
758
758
|
var definePropertyModule$2 = objectDefineProperty;
|
759
759
|
var makeBuiltIn$1 = makeBuiltIn$3.exports;
|
760
760
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
761
761
|
|
762
|
-
var defineBuiltIn$
|
762
|
+
var defineBuiltIn$4 = 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$9(value)) makeBuiltIn$1(value, name, options);
|
767
767
|
if (options.global) {
|
768
768
|
if (simple) O[key] = value;
|
769
769
|
else defineGlobalProperty$1(key, value);
|
@@ -836,14 +836,14 @@ var lengthOfArrayLike$2 = function (obj) {
|
|
836
836
|
return toLength(obj.length);
|
837
837
|
};
|
838
838
|
|
839
|
-
var toIndexedObject$
|
839
|
+
var toIndexedObject$2 = toIndexedObject$4;
|
840
840
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
841
841
|
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
842
842
|
|
843
843
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
844
844
|
var createMethod = function (IS_INCLUDES) {
|
845
845
|
return function ($this, el, fromIndex) {
|
846
|
-
var O = toIndexedObject$
|
846
|
+
var O = toIndexedObject$2($this);
|
847
847
|
var length = lengthOfArrayLike$1(O);
|
848
848
|
var index = toAbsoluteIndex(fromIndex, length);
|
849
849
|
var value;
|
@@ -870,21 +870,21 @@ var arrayIncludes = {
|
|
870
870
|
};
|
871
871
|
|
872
872
|
var uncurryThis$9 = functionUncurryThis;
|
873
|
-
var hasOwn$
|
874
|
-
var toIndexedObject$
|
873
|
+
var hasOwn$3 = hasOwnProperty_1;
|
874
|
+
var toIndexedObject$1 = toIndexedObject$4;
|
875
875
|
var indexOf$1 = arrayIncludes.indexOf;
|
876
876
|
var hiddenKeys$2 = hiddenKeys$4;
|
877
877
|
|
878
878
|
var push = uncurryThis$9([].push);
|
879
879
|
|
880
880
|
var objectKeysInternal = function (object, names) {
|
881
|
-
var O = toIndexedObject$
|
881
|
+
var O = toIndexedObject$1(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$3(hiddenKeys$2, key) && hasOwn$3(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$3(O, key = names[i++])) {
|
888
888
|
~indexOf$1(result, key) || push(result, key);
|
889
889
|
}
|
890
890
|
return result;
|
@@ -933,7 +933,7 @@ var ownKeys$1 = getBuiltIn$5('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$2 = hasOwnProperty_1;
|
937
937
|
var ownKeys = ownKeys$1;
|
938
938
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
939
939
|
var definePropertyModule$1 = objectDefineProperty;
|
@@ -944,14 +944,14 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
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$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
|
948
948
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
949
949
|
}
|
950
950
|
}
|
951
951
|
};
|
952
952
|
|
953
|
-
var fails$
|
954
|
-
var isCallable$
|
953
|
+
var fails$7 = fails$f;
|
954
|
+
var isCallable$8 = isCallable$i;
|
955
955
|
|
956
956
|
var replacement = /#|\.prototype\./;
|
957
957
|
|
@@ -959,7 +959,7 @@ var isForced$2 = 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$8(detection) ? fails$7(detection)
|
963
963
|
: !!detection;
|
964
964
|
};
|
965
965
|
|
@@ -973,10 +973,10 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
973
973
|
|
974
974
|
var isForced_1 = isForced$2;
|
975
975
|
|
976
|
-
var global$
|
976
|
+
var global$9 = global$j;
|
977
977
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
978
|
-
var createNonEnumerableProperty$
|
979
|
-
var defineBuiltIn$
|
978
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
979
|
+
var defineBuiltIn$3 = defineBuiltIn$4;
|
980
980
|
var defineGlobalProperty = defineGlobalProperty$3;
|
981
981
|
var copyConstructorProperties = copyConstructorProperties$1;
|
982
982
|
var isForced$1 = isForced_1;
|
@@ -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$9;
|
1006
1006
|
} else if (STATIC) {
|
1007
|
-
target = global$
|
1007
|
+
target = global$9[TARGET] || defineGlobalProperty(TARGET, {});
|
1008
1008
|
} else {
|
1009
|
-
target = (global$
|
1009
|
+
target = (global$9[TARGET] || {}).prototype;
|
1010
1010
|
}
|
1011
1011
|
if (target) for (key in source) {
|
1012
1012
|
sourceProperty = source[key];
|
@@ -1022,9 +1022,9 @@ var _export = function (options, source) {
|
|
1022
1022
|
}
|
1023
1023
|
// add a flag to not completely full polyfills
|
1024
1024
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
1025
|
-
createNonEnumerableProperty$
|
1025
|
+
createNonEnumerableProperty$1(sourceProperty, 'sham', true);
|
1026
1026
|
}
|
1027
|
-
defineBuiltIn$
|
1027
|
+
defineBuiltIn$3(target, key, sourceProperty, options);
|
1028
1028
|
}
|
1029
1029
|
};
|
1030
1030
|
|
@@ -1038,30 +1038,30 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
1038
1038
|
return internalObjectKeys(O, enumBugKeys$1);
|
1039
1039
|
};
|
1040
1040
|
|
1041
|
-
var DESCRIPTORS$
|
1041
|
+
var DESCRIPTORS$2 = descriptors;
|
1042
1042
|
var uncurryThis$7 = functionUncurryThis;
|
1043
|
-
var call$
|
1044
|
-
var fails$
|
1043
|
+
var call$b = functionCall;
|
1044
|
+
var fails$6 = fails$f;
|
1045
1045
|
var objectKeys$1 = objectKeys$2;
|
1046
1046
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
1047
1047
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
1048
|
-
var toObject$
|
1048
|
+
var toObject$1 = toObject$3;
|
1049
1049
|
var IndexedObject = indexedObject;
|
1050
1050
|
|
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$
|
1054
|
+
var defineProperty$2 = Object.defineProperty;
|
1055
1055
|
var concat = uncurryThis$7([].concat);
|
1056
1056
|
|
1057
1057
|
// `Object.assign` method
|
1058
1058
|
// https://tc39.es/ecma262/#sec-object.assign
|
1059
|
-
var objectAssign$1 = !$assign || fails$
|
1059
|
+
var objectAssign$1 = !$assign || fails$6(function () {
|
1060
1060
|
// should have correct order of operations (Edge bug)
|
1061
|
-
if (DESCRIPTORS$
|
1061
|
+
if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
|
1062
1062
|
enumerable: true,
|
1063
1063
|
get: function () {
|
1064
|
-
defineProperty$
|
1064
|
+
defineProperty$2(this, 'b', {
|
1065
1065
|
value: 3,
|
1066
1066
|
enumerable: false
|
1067
1067
|
});
|
@@ -1077,7 +1077,7 @@ var objectAssign$1 = !$assign || fails$8(function () {
|
|
1077
1077
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
1078
1078
|
return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
|
1079
1079
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
1080
|
-
var T = toObject$
|
1080
|
+
var T = toObject$1(target);
|
1081
1081
|
var argumentsLength = arguments.length;
|
1082
1082
|
var index = 1;
|
1083
1083
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
@@ -1090,18 +1090,18 @@ var objectAssign$1 = !$assign || fails$8(function () {
|
|
1090
1090
|
var key;
|
1091
1091
|
while (length > j) {
|
1092
1092
|
key = keys[j++];
|
1093
|
-
if (!DESCRIPTORS$
|
1093
|
+
if (!DESCRIPTORS$2 || call$b(propertyIsEnumerable, S, key)) T[key] = S[key];
|
1094
1094
|
}
|
1095
1095
|
} return T;
|
1096
1096
|
} : $assign;
|
1097
1097
|
|
1098
|
-
var $$
|
1098
|
+
var $$7 = _export;
|
1099
1099
|
var assign$2 = objectAssign$1;
|
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
|
+
$$7({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$2 }, {
|
1105
1105
|
assign: assign$2
|
1106
1106
|
});
|
1107
1107
|
|
@@ -1383,7 +1383,7 @@ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
1383
1383
|
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
1384
1384
|
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
1385
1385
|
|
1386
|
-
function toObject
|
1386
|
+
function toObject(val) {
|
1387
1387
|
if (val === null || val === undefined) {
|
1388
1388
|
throw new TypeError('Object.assign cannot be called with null or undefined');
|
1389
1389
|
}
|
@@ -1437,7 +1437,7 @@ function shouldUseNative() {
|
|
1437
1437
|
|
1438
1438
|
var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
1439
1439
|
var from;
|
1440
|
-
var to = toObject
|
1440
|
+
var to = toObject(target);
|
1441
1441
|
var symbols;
|
1442
1442
|
|
1443
1443
|
for (var s = 1; s < arguments.length; s++) {
|
@@ -6300,7 +6300,7 @@ function merge(acc, item) {
|
|
6300
6300
|
|
6301
6301
|
// The breakpoint **start** at this value.
|
6302
6302
|
// For instance with the first breakpoint xs: [xs, sm[.
|
6303
|
-
const values$
|
6303
|
+
const values$1 = {
|
6304
6304
|
xs: 0,
|
6305
6305
|
// phone
|
6306
6306
|
sm: 600,
|
@@ -6316,7 +6316,7 @@ const defaultBreakpoints = {
|
|
6316
6316
|
// Sorted ASC by size. That's important.
|
6317
6317
|
// It can't be configured as it's used statically for propTypes.
|
6318
6318
|
keys: ['xs', 'sm', 'md', 'lg', 'xl'],
|
6319
|
-
up: key => `@media (min-width:${values$
|
6319
|
+
up: key => `@media (min-width:${values$1[key]}px)`
|
6320
6320
|
};
|
6321
6321
|
function handleBreakpoints(props, propValue, styleFromPropValue) {
|
6322
6322
|
const theme = props.theme || {};
|
@@ -6331,7 +6331,7 @@ function handleBreakpoints(props, propValue, styleFromPropValue) {
|
|
6331
6331
|
const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
|
6332
6332
|
return Object.keys(propValue).reduce((acc, breakpoint) => {
|
6333
6333
|
// key is breakpoint
|
6334
|
-
if (Object.keys(themeBreakpoints.values || values$
|
6334
|
+
if (Object.keys(themeBreakpoints.values || values$1).indexOf(breakpoint) !== -1) {
|
6335
6335
|
const mediaKey = themeBreakpoints.up(breakpoint);
|
6336
6336
|
acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
|
6337
6337
|
} else {
|
@@ -6883,7 +6883,7 @@ const maxWidth = props => {
|
|
6883
6883
|
if (props.maxWidth !== undefined && props.maxWidth !== null) {
|
6884
6884
|
const styleFromPropValue = propValue => {
|
6885
6885
|
var _props$theme, _props$theme2;
|
6886
|
-
const breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ? void 0 : _props$theme[propValue]) || values$
|
6886
|
+
const breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ? void 0 : _props$theme[propValue]) || values$1[propValue];
|
6887
6887
|
if (!breakpoint) {
|
6888
6888
|
return {
|
6889
6889
|
maxWidth: sizingTransform(propValue)
|
@@ -9372,7 +9372,7 @@ var WarningRounded = createSvgIcon$1( /*#__PURE__*/jsx("path", {
|
|
9372
9372
|
d: "M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12 14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z"
|
9373
9373
|
}), 'WarningRounded');
|
9374
9374
|
|
9375
|
-
|
9375
|
+
var components = {
|
9376
9376
|
MuiDataGrid: {
|
9377
9377
|
defaultProps: {
|
9378
9378
|
columnHeaderHeight: 35,
|
@@ -9882,7 +9882,7 @@ const components = {
|
|
9882
9882
|
}
|
9883
9883
|
};
|
9884
9884
|
|
9885
|
-
|
9885
|
+
var palette = {
|
9886
9886
|
primary: {
|
9887
9887
|
50: "#E4ECF4",
|
9888
9888
|
100: "#BCD0E3",
|
@@ -10015,7 +10015,7 @@ const palette = {
|
|
10015
10015
|
focus: "rgba(16, 24, 64, 0.12)"
|
10016
10016
|
},
|
10017
10017
|
background: {
|
10018
|
-
default: '#f5f5f5',
|
10018
|
+
"default": '#f5f5f5',
|
10019
10019
|
paper: "#fff"
|
10020
10020
|
},
|
10021
10021
|
common: {
|
@@ -10025,7 +10025,416 @@ const palette = {
|
|
10025
10025
|
divider: "rgba(16,24,64,0.12)"
|
10026
10026
|
};
|
10027
10027
|
|
10028
|
-
|
10028
|
+
function _iterableToArrayLimit(r, l) {
|
10029
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
10030
|
+
if (null != t) {
|
10031
|
+
var e,
|
10032
|
+
n,
|
10033
|
+
i,
|
10034
|
+
u,
|
10035
|
+
a = [],
|
10036
|
+
f = !0,
|
10037
|
+
o = !1;
|
10038
|
+
try {
|
10039
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
10040
|
+
if (Object(t) !== t) return;
|
10041
|
+
f = !1;
|
10042
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
10043
|
+
} catch (r) {
|
10044
|
+
o = !0, n = r;
|
10045
|
+
} finally {
|
10046
|
+
try {
|
10047
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
10048
|
+
} finally {
|
10049
|
+
if (o) throw n;
|
10050
|
+
}
|
10051
|
+
}
|
10052
|
+
return a;
|
10053
|
+
}
|
10054
|
+
}
|
10055
|
+
function _regeneratorRuntime() {
|
10056
|
+
_regeneratorRuntime = function () {
|
10057
|
+
return e;
|
10058
|
+
};
|
10059
|
+
var t,
|
10060
|
+
e = {},
|
10061
|
+
r = Object.prototype,
|
10062
|
+
n = r.hasOwnProperty,
|
10063
|
+
o = Object.defineProperty || function (t, e, r) {
|
10064
|
+
t[e] = r.value;
|
10065
|
+
},
|
10066
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
10067
|
+
a = i.iterator || "@@iterator",
|
10068
|
+
c = i.asyncIterator || "@@asyncIterator",
|
10069
|
+
u = i.toStringTag || "@@toStringTag";
|
10070
|
+
function define(t, e, r) {
|
10071
|
+
return Object.defineProperty(t, e, {
|
10072
|
+
value: r,
|
10073
|
+
enumerable: !0,
|
10074
|
+
configurable: !0,
|
10075
|
+
writable: !0
|
10076
|
+
}), t[e];
|
10077
|
+
}
|
10078
|
+
try {
|
10079
|
+
define({}, "");
|
10080
|
+
} catch (t) {
|
10081
|
+
define = function (t, e, r) {
|
10082
|
+
return t[e] = r;
|
10083
|
+
};
|
10084
|
+
}
|
10085
|
+
function wrap(t, e, r, n) {
|
10086
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
10087
|
+
a = Object.create(i.prototype),
|
10088
|
+
c = new Context(n || []);
|
10089
|
+
return o(a, "_invoke", {
|
10090
|
+
value: makeInvokeMethod(t, r, c)
|
10091
|
+
}), a;
|
10092
|
+
}
|
10093
|
+
function tryCatch(t, e, r) {
|
10094
|
+
try {
|
10095
|
+
return {
|
10096
|
+
type: "normal",
|
10097
|
+
arg: t.call(e, r)
|
10098
|
+
};
|
10099
|
+
} catch (t) {
|
10100
|
+
return {
|
10101
|
+
type: "throw",
|
10102
|
+
arg: t
|
10103
|
+
};
|
10104
|
+
}
|
10105
|
+
}
|
10106
|
+
e.wrap = wrap;
|
10107
|
+
var h = "suspendedStart",
|
10108
|
+
l = "suspendedYield",
|
10109
|
+
f = "executing",
|
10110
|
+
s = "completed",
|
10111
|
+
y = {};
|
10112
|
+
function Generator() {}
|
10113
|
+
function GeneratorFunction() {}
|
10114
|
+
function GeneratorFunctionPrototype() {}
|
10115
|
+
var p = {};
|
10116
|
+
define(p, a, function () {
|
10117
|
+
return this;
|
10118
|
+
});
|
10119
|
+
var d = Object.getPrototypeOf,
|
10120
|
+
v = d && d(d(values([])));
|
10121
|
+
v && v !== r && n.call(v, a) && (p = v);
|
10122
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
10123
|
+
function defineIteratorMethods(t) {
|
10124
|
+
["next", "throw", "return"].forEach(function (e) {
|
10125
|
+
define(t, e, function (t) {
|
10126
|
+
return this._invoke(e, t);
|
10127
|
+
});
|
10128
|
+
});
|
10129
|
+
}
|
10130
|
+
function AsyncIterator(t, e) {
|
10131
|
+
function invoke(r, o, i, a) {
|
10132
|
+
var c = tryCatch(t[r], t, o);
|
10133
|
+
if ("throw" !== c.type) {
|
10134
|
+
var u = c.arg,
|
10135
|
+
h = u.value;
|
10136
|
+
return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
10137
|
+
invoke("next", t, i, a);
|
10138
|
+
}, function (t) {
|
10139
|
+
invoke("throw", t, i, a);
|
10140
|
+
}) : e.resolve(h).then(function (t) {
|
10141
|
+
u.value = t, i(u);
|
10142
|
+
}, function (t) {
|
10143
|
+
return invoke("throw", t, i, a);
|
10144
|
+
});
|
10145
|
+
}
|
10146
|
+
a(c.arg);
|
10147
|
+
}
|
10148
|
+
var r;
|
10149
|
+
o(this, "_invoke", {
|
10150
|
+
value: function (t, n) {
|
10151
|
+
function callInvokeWithMethodAndArg() {
|
10152
|
+
return new e(function (e, r) {
|
10153
|
+
invoke(t, n, e, r);
|
10154
|
+
});
|
10155
|
+
}
|
10156
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
10157
|
+
}
|
10158
|
+
});
|
10159
|
+
}
|
10160
|
+
function makeInvokeMethod(e, r, n) {
|
10161
|
+
var o = h;
|
10162
|
+
return function (i, a) {
|
10163
|
+
if (o === f) throw new Error("Generator is already running");
|
10164
|
+
if (o === s) {
|
10165
|
+
if ("throw" === i) throw a;
|
10166
|
+
return {
|
10167
|
+
value: t,
|
10168
|
+
done: !0
|
10169
|
+
};
|
10170
|
+
}
|
10171
|
+
for (n.method = i, n.arg = a;;) {
|
10172
|
+
var c = n.delegate;
|
10173
|
+
if (c) {
|
10174
|
+
var u = maybeInvokeDelegate(c, n);
|
10175
|
+
if (u) {
|
10176
|
+
if (u === y) continue;
|
10177
|
+
return u;
|
10178
|
+
}
|
10179
|
+
}
|
10180
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
10181
|
+
if (o === h) throw o = s, n.arg;
|
10182
|
+
n.dispatchException(n.arg);
|
10183
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
10184
|
+
o = f;
|
10185
|
+
var p = tryCatch(e, r, n);
|
10186
|
+
if ("normal" === p.type) {
|
10187
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
10188
|
+
return {
|
10189
|
+
value: p.arg,
|
10190
|
+
done: n.done
|
10191
|
+
};
|
10192
|
+
}
|
10193
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
10194
|
+
}
|
10195
|
+
};
|
10196
|
+
}
|
10197
|
+
function maybeInvokeDelegate(e, r) {
|
10198
|
+
var n = r.method,
|
10199
|
+
o = e.iterator[n];
|
10200
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
10201
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
10202
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
10203
|
+
var a = i.arg;
|
10204
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
10205
|
+
}
|
10206
|
+
function pushTryEntry(t) {
|
10207
|
+
var e = {
|
10208
|
+
tryLoc: t[0]
|
10209
|
+
};
|
10210
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
10211
|
+
}
|
10212
|
+
function resetTryEntry(t) {
|
10213
|
+
var e = t.completion || {};
|
10214
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
10215
|
+
}
|
10216
|
+
function Context(t) {
|
10217
|
+
this.tryEntries = [{
|
10218
|
+
tryLoc: "root"
|
10219
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
10220
|
+
}
|
10221
|
+
function values(e) {
|
10222
|
+
if (e || "" === e) {
|
10223
|
+
var r = e[a];
|
10224
|
+
if (r) return r.call(e);
|
10225
|
+
if ("function" == typeof e.next) return e;
|
10226
|
+
if (!isNaN(e.length)) {
|
10227
|
+
var o = -1,
|
10228
|
+
i = function next() {
|
10229
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
10230
|
+
return next.value = t, next.done = !0, next;
|
10231
|
+
};
|
10232
|
+
return i.next = i;
|
10233
|
+
}
|
10234
|
+
}
|
10235
|
+
throw new TypeError(typeof e + " is not iterable");
|
10236
|
+
}
|
10237
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
10238
|
+
value: GeneratorFunctionPrototype,
|
10239
|
+
configurable: !0
|
10240
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
10241
|
+
value: GeneratorFunction,
|
10242
|
+
configurable: !0
|
10243
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
10244
|
+
var e = "function" == typeof t && t.constructor;
|
10245
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
10246
|
+
}, e.mark = function (t) {
|
10247
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
10248
|
+
}, e.awrap = function (t) {
|
10249
|
+
return {
|
10250
|
+
__await: t
|
10251
|
+
};
|
10252
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
10253
|
+
return this;
|
10254
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
10255
|
+
void 0 === i && (i = Promise);
|
10256
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
10257
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
10258
|
+
return t.done ? t.value : a.next();
|
10259
|
+
});
|
10260
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
10261
|
+
return this;
|
10262
|
+
}), define(g, "toString", function () {
|
10263
|
+
return "[object Generator]";
|
10264
|
+
}), e.keys = function (t) {
|
10265
|
+
var e = Object(t),
|
10266
|
+
r = [];
|
10267
|
+
for (var n in e) r.push(n);
|
10268
|
+
return r.reverse(), function next() {
|
10269
|
+
for (; r.length;) {
|
10270
|
+
var t = r.pop();
|
10271
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
10272
|
+
}
|
10273
|
+
return next.done = !0, next;
|
10274
|
+
};
|
10275
|
+
}, e.values = values, Context.prototype = {
|
10276
|
+
constructor: Context,
|
10277
|
+
reset: function (e) {
|
10278
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
10279
|
+
},
|
10280
|
+
stop: function () {
|
10281
|
+
this.done = !0;
|
10282
|
+
var t = this.tryEntries[0].completion;
|
10283
|
+
if ("throw" === t.type) throw t.arg;
|
10284
|
+
return this.rval;
|
10285
|
+
},
|
10286
|
+
dispatchException: function (e) {
|
10287
|
+
if (this.done) throw e;
|
10288
|
+
var r = this;
|
10289
|
+
function handle(n, o) {
|
10290
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
10291
|
+
}
|
10292
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
10293
|
+
var i = this.tryEntries[o],
|
10294
|
+
a = i.completion;
|
10295
|
+
if ("root" === i.tryLoc) return handle("end");
|
10296
|
+
if (i.tryLoc <= this.prev) {
|
10297
|
+
var c = n.call(i, "catchLoc"),
|
10298
|
+
u = n.call(i, "finallyLoc");
|
10299
|
+
if (c && u) {
|
10300
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
10301
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
10302
|
+
} else if (c) {
|
10303
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
10304
|
+
} else {
|
10305
|
+
if (!u) throw new Error("try statement without catch or finally");
|
10306
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
10307
|
+
}
|
10308
|
+
}
|
10309
|
+
}
|
10310
|
+
},
|
10311
|
+
abrupt: function (t, e) {
|
10312
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
10313
|
+
var o = this.tryEntries[r];
|
10314
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
10315
|
+
var i = o;
|
10316
|
+
break;
|
10317
|
+
}
|
10318
|
+
}
|
10319
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
10320
|
+
var a = i ? i.completion : {};
|
10321
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
10322
|
+
},
|
10323
|
+
complete: function (t, e) {
|
10324
|
+
if ("throw" === t.type) throw t.arg;
|
10325
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
10326
|
+
},
|
10327
|
+
finish: function (t) {
|
10328
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
10329
|
+
var r = this.tryEntries[e];
|
10330
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
10331
|
+
}
|
10332
|
+
},
|
10333
|
+
catch: function (t) {
|
10334
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
10335
|
+
var r = this.tryEntries[e];
|
10336
|
+
if (r.tryLoc === t) {
|
10337
|
+
var n = r.completion;
|
10338
|
+
if ("throw" === n.type) {
|
10339
|
+
var o = n.arg;
|
10340
|
+
resetTryEntry(r);
|
10341
|
+
}
|
10342
|
+
return o;
|
10343
|
+
}
|
10344
|
+
}
|
10345
|
+
throw new Error("illegal catch attempt");
|
10346
|
+
},
|
10347
|
+
delegateYield: function (e, r, n) {
|
10348
|
+
return this.delegate = {
|
10349
|
+
iterator: values(e),
|
10350
|
+
resultName: r,
|
10351
|
+
nextLoc: n
|
10352
|
+
}, "next" === this.method && (this.arg = t), y;
|
10353
|
+
}
|
10354
|
+
}, e;
|
10355
|
+
}
|
10356
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
10357
|
+
try {
|
10358
|
+
var info = gen[key](arg);
|
10359
|
+
var value = info.value;
|
10360
|
+
} catch (error) {
|
10361
|
+
reject(error);
|
10362
|
+
return;
|
10363
|
+
}
|
10364
|
+
if (info.done) {
|
10365
|
+
resolve(value);
|
10366
|
+
} else {
|
10367
|
+
Promise.resolve(value).then(_next, _throw);
|
10368
|
+
}
|
10369
|
+
}
|
10370
|
+
function _asyncToGenerator(fn) {
|
10371
|
+
return function () {
|
10372
|
+
var self = this,
|
10373
|
+
args = arguments;
|
10374
|
+
return new Promise(function (resolve, reject) {
|
10375
|
+
var gen = fn.apply(self, args);
|
10376
|
+
function _next(value) {
|
10377
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
10378
|
+
}
|
10379
|
+
function _throw(err) {
|
10380
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
10381
|
+
}
|
10382
|
+
_next(undefined);
|
10383
|
+
});
|
10384
|
+
};
|
10385
|
+
}
|
10386
|
+
function _defineProperty(obj, key, value) {
|
10387
|
+
key = _toPropertyKey(key);
|
10388
|
+
if (key in obj) {
|
10389
|
+
Object.defineProperty(obj, key, {
|
10390
|
+
value: value,
|
10391
|
+
enumerable: true,
|
10392
|
+
configurable: true,
|
10393
|
+
writable: true
|
10394
|
+
});
|
10395
|
+
} else {
|
10396
|
+
obj[key] = value;
|
10397
|
+
}
|
10398
|
+
return obj;
|
10399
|
+
}
|
10400
|
+
function _slicedToArray(arr, i) {
|
10401
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
10402
|
+
}
|
10403
|
+
function _arrayWithHoles(arr) {
|
10404
|
+
if (Array.isArray(arr)) return arr;
|
10405
|
+
}
|
10406
|
+
function _unsupportedIterableToArray(o, minLen) {
|
10407
|
+
if (!o) return;
|
10408
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
10409
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
10410
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
10411
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
10412
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
10413
|
+
}
|
10414
|
+
function _arrayLikeToArray(arr, len) {
|
10415
|
+
if (len == null || len > arr.length) len = arr.length;
|
10416
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
10417
|
+
return arr2;
|
10418
|
+
}
|
10419
|
+
function _nonIterableRest() {
|
10420
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
10421
|
+
}
|
10422
|
+
function _toPrimitive(input, hint) {
|
10423
|
+
if (typeof input !== "object" || input === null) return input;
|
10424
|
+
var prim = input[Symbol.toPrimitive];
|
10425
|
+
if (prim !== undefined) {
|
10426
|
+
var res = prim.call(input, hint || "default");
|
10427
|
+
if (typeof res !== "object") return res;
|
10428
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
10429
|
+
}
|
10430
|
+
return (hint === "string" ? String : Number)(input);
|
10431
|
+
}
|
10432
|
+
function _toPropertyKey(arg) {
|
10433
|
+
var key = _toPrimitive(arg, "string");
|
10434
|
+
return typeof key === "symbol" ? key : String(key);
|
10435
|
+
}
|
10436
|
+
|
10437
|
+
var breakpoints = createBreakpoints({
|
10029
10438
|
values: {
|
10030
10439
|
xs: 0,
|
10031
10440
|
sm: 600,
|
@@ -10035,16 +10444,15 @@ const breakpoints = createBreakpoints({
|
|
10035
10444
|
}
|
10036
10445
|
});
|
10037
10446
|
|
10038
|
-
|
10039
|
-
toolbar: {
|
10040
|
-
minHeight: 48
|
10041
|
-
|
10042
|
-
|
10043
|
-
|
10044
|
-
}
|
10447
|
+
var mixins = {
|
10448
|
+
toolbar: _defineProperty({
|
10449
|
+
minHeight: 48
|
10450
|
+
}, breakpoints.down('md'), {
|
10451
|
+
minHeight: 52
|
10452
|
+
})
|
10045
10453
|
};
|
10046
10454
|
|
10047
|
-
|
10455
|
+
var typography = {
|
10048
10456
|
fontSize: 13,
|
10049
10457
|
body1: {
|
10050
10458
|
fontFamily: 'Roboto',
|
@@ -10066,16 +10474,15 @@ const typography = {
|
|
10066
10474
|
fontSize: 14
|
10067
10475
|
}
|
10068
10476
|
},
|
10069
|
-
body3: {
|
10477
|
+
body3: _defineProperty({
|
10070
10478
|
fontFamily: 'Roboto',
|
10071
10479
|
fontWeight: 310,
|
10072
10480
|
fontSize: 12,
|
10073
10481
|
letterSpacing: 0.17,
|
10074
|
-
lineHeight: 1.2
|
10075
|
-
|
10076
|
-
|
10077
|
-
|
10078
|
-
},
|
10482
|
+
lineHeight: 1.2
|
10483
|
+
}, breakpoints.down('md'), {
|
10484
|
+
fontSize: 11
|
10485
|
+
}),
|
10079
10486
|
subtitle1: {
|
10080
10487
|
fontFamily: 'Roboto',
|
10081
10488
|
fontSize: 14,
|
@@ -10170,36 +10577,36 @@ const typography = {
|
|
10170
10577
|
}
|
10171
10578
|
};
|
10172
10579
|
|
10173
|
-
|
10580
|
+
var shadows = ["none", "0px 1px 3px rgba(24, 39, 75, 0.12), 0px 1px 1px -1px rgba(24, 39, 75, 0.14), 0px 2px 1px -2px rgba(24, 39, 75, 0.2)", "0px 1px 5px rgba(24, 39, 75, 0.12), 0px 2px 2px rgba(24, 39, 75, 0.14), 0px 3px 1px -2px rgba(24, 39, 75, 0.2)", "0px 1px 8px rgba(24, 39, 75, 0.12), 0px 3px 4px rgba(24, 39, 75, 0.14), 0px 3px 3px -2px rgba(24, 39, 75, 0.2)", "0px 2px 4px -1px rgba(24, 39, 75, 0.2), 0px 4px 5px rgba(24, 39, 75, 0.14), 0px 1px 10px rgba(24, 39, 75, 0.12)", "0px 3px 5px -1px rgba(24, 39, 75, 0.2), 0px 5px 8px rgba(24, 39, 75, 0.14), 0px 1px 14px rgba(24, 39, 75, 0.12)", "0px 3px 5px -1px rgba(24, 39, 75, 0.2), 0px 6px 10px rgba(24, 39, 75, 0.14), 0px 1px 18px rgba(24, 39, 75, 0.12)", "0px 4px 5px -2px rgba(24, 39, 75, 0.2), 0px 7px 10px 1px rgba(24, 39, 75, 0.14), 0px 2px 16px 1px rgba(24, 39, 75, 0.12)", "0px 5px 5px -3px rgba(24, 39, 75, 0.2), 0px 8px 10px 1px rgba(24, 39, 75, 0.14), 0px 3px 14px 2px rgba(24, 39, 75, 0.12)", "0px 5px 6px -3px rgba(24, 39, 75, 0.2), 0px 9px 12px 1px rgba(24, 39, 75, 0.14), 0px 3px 16px 2px rgba(24, 39, 75, 0.12)", "0px 6px 6px -3px rgba(24, 39, 75, 0.2), 0px 10px 14px 1px rgba(24, 39, 75, 0.14), 0px 4px 18px 3px rgba(24, 39, 75, 0.12)", "0px 6px 7px -4px rgba(24, 39, 75, 0.2), 0px 11px 15px 1px rgba(24, 39, 75, 0.14), 0px 4px 20px 3px rgba(24, 39, 75, 0.12)", "0px 7px 8px -4px rgba(24, 39, 75, 0.2), 0px 12px 17px 2px rgba(24, 39, 75, 0.14), 0px 5px 22px 4px rgba(24, 39, 75, 0.12)", "0px 7px 8px -4px rgba(24, 39, 75, 0.2), 0px 13px 19px 2px rgba(24, 39, 75, 0.14), 0px 5px 24px 4px rgba(24, 39, 75, 0.12)", "0px 7px 9px -4px rgba(24, 39, 75, 0.2), 0px 14px 21px 2px rgba(24, 39, 75, 0.14), 0px 5px 26px 4px rgba(24, 39, 75, 0.12)", "0px 8px 9px -5px rgba(24, 39, 75, 0.2), 0px 15px 22px 2px rgba(24, 39, 75, 0.14), 0px 6px 28px 5px rgba(24, 39, 75, 0.12)", "0px 8px 10px -5px rgba(24, 39, 75, 0.2), 0px 16px 24px 2px rgba(24, 39, 75, 0.14), 0px 6px 30px 5px rgba(24, 39, 75, 0.12)", "0px 8px 11px -5px rgba(24, 39, 75, 0.2), 0px 17px 26px 2px rgba(24, 39, 75, 0.14), 0px 6px 32px 5px rgba(24, 39, 75, 0.12)", "0px 9px 11px -5px rgba(24, 39, 75, 0.2), 0px 18px 28px 2px rgba(24, 39, 75, 0.14), 0px 7px 34px 6px rgba(24, 39, 75, 0.12)", "0px 9px 12px -6px rgba(24, 39, 75, 0.2), 0px 19px 29px 2px rgba(24, 39, 75, 0.14), 0px 7px 36px 6px rgba(24, 39, 75, 0.12)", "0px 10px 13px -6px rgba(24, 39, 75, 0.2), 0px 20px 31px 3px rgba(24, 39, 75, 0.14), 0px 8px 38px 7px rgba(24, 39, 75, 0.12)", "0px 10px 13px -6px rgba(24, 39, 75, 0.2), 0px 21px 33px 3px rgba(24, 39, 75, 0.14), 0px 8px 40px 7px rgba(24, 39, 75, 0.12)", "0px 10px 14px -6px rgba(24, 39, 75, 0.2), 0px 22px 35px 3px rgba(24, 39, 75, 0.14), 0px 8px 42px 7px rgba(24, 39, 75, 0.12)", "0px 11px 14px -7px rgba(24, 39, 75, 0.2), 0px 23px 36px 3px rgba(24, 39, 75, 0.14), 0px 9px 44px 8px rgba(24, 39, 75, 0.12)", "0px 11px 15px -7px rgba(24, 39, 75, 0.2), 0px 24px 38px 3px rgba(24, 39, 75, 0.14), 0px 9px 46px 8px rgba(24, 39, 75, 0.12)"];
|
10174
10581
|
|
10175
|
-
|
10176
|
-
components,
|
10177
|
-
typography,
|
10178
|
-
palette,
|
10582
|
+
var themeOptions = {
|
10583
|
+
components: components,
|
10584
|
+
typography: typography,
|
10585
|
+
palette: palette,
|
10179
10586
|
spacing: 8,
|
10180
|
-
mixins,
|
10181
|
-
breakpoints,
|
10182
|
-
shadows
|
10587
|
+
mixins: mixins,
|
10588
|
+
breakpoints: breakpoints,
|
10589
|
+
shadows: shadows
|
10183
10590
|
};
|
10184
10591
|
|
10185
|
-
|
10592
|
+
var SincoTheme = createTheme(Object.assign({}, themeOptions));
|
10186
10593
|
|
10187
|
-
var wellKnownSymbol$
|
10594
|
+
var wellKnownSymbol$9 = wellKnownSymbol$b;
|
10188
10595
|
|
10189
|
-
var TO_STRING_TAG$
|
10596
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$9('toStringTag');
|
10190
10597
|
var test = {};
|
10191
10598
|
|
10192
|
-
test[TO_STRING_TAG$
|
10599
|
+
test[TO_STRING_TAG$2] = 'z';
|
10193
10600
|
|
10194
10601
|
var toStringTagSupport = String(test) === '[object z]';
|
10195
10602
|
|
10196
10603
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
10197
|
-
var isCallable$
|
10604
|
+
var isCallable$7 = isCallable$i;
|
10198
10605
|
var classofRaw$1 = classofRaw$2;
|
10199
|
-
var wellKnownSymbol$
|
10606
|
+
var wellKnownSymbol$8 = wellKnownSymbol$b;
|
10200
10607
|
|
10201
|
-
var TO_STRING_TAG$
|
10202
|
-
var $Object
|
10608
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$8('toStringTag');
|
10609
|
+
var $Object = Object;
|
10203
10610
|
|
10204
10611
|
// ES3 wrong here
|
10205
10612
|
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';
|
@@ -10216,11 +10623,11 @@ var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
10216
10623
|
var O, tag, result;
|
10217
10624
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
10218
10625
|
// @@toStringTag case
|
10219
|
-
: typeof (tag = tryGet(O = $Object
|
10626
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$1)) == 'string' ? tag
|
10220
10627
|
// builtinTag case
|
10221
10628
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
10222
10629
|
// ES3 arguments fallback
|
10223
|
-
: (result = classofRaw$1(O)) == 'Object' && isCallable$
|
10630
|
+
: (result = classofRaw$1(O)) == 'Object' && isCallable$7(O.callee) ? 'Arguments' : result;
|
10224
10631
|
};
|
10225
10632
|
|
10226
10633
|
var classof$4 = classof$5;
|
@@ -10250,13 +10657,13 @@ var regexpFlags$1 = function () {
|
|
10250
10657
|
return result;
|
10251
10658
|
};
|
10252
10659
|
|
10253
|
-
var fails$
|
10254
|
-
var global$
|
10660
|
+
var fails$5 = fails$f;
|
10661
|
+
var global$8 = global$j;
|
10255
10662
|
|
10256
10663
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
10257
|
-
var $RegExp$2 = global$
|
10664
|
+
var $RegExp$2 = global$8.RegExp;
|
10258
10665
|
|
10259
|
-
var UNSUPPORTED_Y$1 = fails$
|
10666
|
+
var UNSUPPORTED_Y$1 = fails$5(function () {
|
10260
10667
|
var re = $RegExp$2('a', 'y');
|
10261
10668
|
re.lastIndex = 2;
|
10262
10669
|
return re.exec('abcd') != null;
|
@@ -10264,11 +10671,11 @@ var UNSUPPORTED_Y$1 = fails$7(function () {
|
|
10264
10671
|
|
10265
10672
|
// UC Browser bug
|
10266
10673
|
// https://github.com/zloirock/core-js/issues/1008
|
10267
|
-
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$
|
10674
|
+
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$5(function () {
|
10268
10675
|
return !$RegExp$2('a', 'y').sticky;
|
10269
10676
|
});
|
10270
10677
|
|
10271
|
-
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$
|
10678
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$5(function () {
|
10272
10679
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
10273
10680
|
var re = $RegExp$2('^r', 'gy');
|
10274
10681
|
re.lastIndex = 2;
|
@@ -10283,19 +10690,19 @@ var regexpStickyHelpers = {
|
|
10283
10690
|
|
10284
10691
|
var objectDefineProperties = {};
|
10285
10692
|
|
10286
|
-
var DESCRIPTORS$
|
10693
|
+
var DESCRIPTORS$1 = descriptors;
|
10287
10694
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
10288
10695
|
var definePropertyModule = objectDefineProperty;
|
10289
10696
|
var anObject$9 = anObject$d;
|
10290
|
-
var toIndexedObject
|
10697
|
+
var toIndexedObject = toIndexedObject$4;
|
10291
10698
|
var objectKeys = objectKeys$2;
|
10292
10699
|
|
10293
10700
|
// `Object.defineProperties` method
|
10294
10701
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
10295
10702
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
10296
|
-
objectDefineProperties.f = DESCRIPTORS$
|
10703
|
+
objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
10297
10704
|
anObject$9(O);
|
10298
|
-
var props = toIndexedObject
|
10705
|
+
var props = toIndexedObject(Properties);
|
10299
10706
|
var keys = objectKeys(Properties);
|
10300
10707
|
var length = keys.length;
|
10301
10708
|
var index = 0;
|
@@ -10315,14 +10722,14 @@ var definePropertiesModule = objectDefineProperties;
|
|
10315
10722
|
var enumBugKeys = enumBugKeys$3;
|
10316
10723
|
var hiddenKeys = hiddenKeys$4;
|
10317
10724
|
var html$1 = html$2;
|
10318
|
-
var documentCreateElement
|
10319
|
-
var sharedKey
|
10725
|
+
var documentCreateElement = documentCreateElement$1;
|
10726
|
+
var sharedKey = sharedKey$2;
|
10320
10727
|
|
10321
10728
|
var GT = '>';
|
10322
10729
|
var LT = '<';
|
10323
10730
|
var PROTOTYPE = 'prototype';
|
10324
10731
|
var SCRIPT = 'script';
|
10325
|
-
var IE_PROTO
|
10732
|
+
var IE_PROTO = sharedKey('IE_PROTO');
|
10326
10733
|
|
10327
10734
|
var EmptyConstructor = function () { /* empty */ };
|
10328
10735
|
|
@@ -10342,7 +10749,7 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
10342
10749
|
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
10343
10750
|
var NullProtoObjectViaIFrame = function () {
|
10344
10751
|
// Thrash, waste and sodomy: IE GC bug
|
10345
|
-
var iframe = documentCreateElement
|
10752
|
+
var iframe = documentCreateElement('iframe');
|
10346
10753
|
var JS = 'java' + SCRIPT + ':';
|
10347
10754
|
var iframeDocument;
|
10348
10755
|
iframe.style.display = 'none';
|
@@ -10376,7 +10783,7 @@ var NullProtoObject = function () {
|
|
10376
10783
|
return NullProtoObject();
|
10377
10784
|
};
|
10378
10785
|
|
10379
|
-
hiddenKeys[IE_PROTO
|
10786
|
+
hiddenKeys[IE_PROTO] = true;
|
10380
10787
|
|
10381
10788
|
// `Object.create` method
|
10382
10789
|
// https://tc39.es/ecma262/#sec-object.create
|
@@ -10388,29 +10795,29 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
10388
10795
|
result = new EmptyConstructor();
|
10389
10796
|
EmptyConstructor[PROTOTYPE] = null;
|
10390
10797
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
10391
|
-
result[IE_PROTO
|
10798
|
+
result[IE_PROTO] = O;
|
10392
10799
|
} else result = NullProtoObject();
|
10393
10800
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
10394
10801
|
};
|
10395
10802
|
|
10396
|
-
var fails$
|
10397
|
-
var global$
|
10803
|
+
var fails$4 = fails$f;
|
10804
|
+
var global$7 = global$j;
|
10398
10805
|
|
10399
10806
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
10400
|
-
var $RegExp$1 = global$
|
10807
|
+
var $RegExp$1 = global$7.RegExp;
|
10401
10808
|
|
10402
|
-
var regexpUnsupportedDotAll = fails$
|
10809
|
+
var regexpUnsupportedDotAll = fails$4(function () {
|
10403
10810
|
var re = $RegExp$1('.', 's');
|
10404
10811
|
return !(re.dotAll && re.exec('\n') && re.flags === 's');
|
10405
10812
|
});
|
10406
10813
|
|
10407
|
-
var fails$
|
10408
|
-
var global$
|
10814
|
+
var fails$3 = fails$f;
|
10815
|
+
var global$6 = global$j;
|
10409
10816
|
|
10410
10817
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
10411
|
-
var $RegExp = global$
|
10818
|
+
var $RegExp = global$6.RegExp;
|
10412
10819
|
|
10413
|
-
var regexpUnsupportedNcg = fails$
|
10820
|
+
var regexpUnsupportedNcg = fails$3(function () {
|
10414
10821
|
var re = $RegExp('(?<a>b)', 'g');
|
10415
10822
|
return re.exec('b').groups.a !== 'b' ||
|
10416
10823
|
'b'.replace(re, '$<a>c') !== 'bc';
|
@@ -10418,14 +10825,14 @@ var regexpUnsupportedNcg = fails$5(function () {
|
|
10418
10825
|
|
10419
10826
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
10420
10827
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
10421
|
-
var call$
|
10828
|
+
var call$a = functionCall;
|
10422
10829
|
var uncurryThis$6 = functionUncurryThis;
|
10423
10830
|
var toString$1 = toString$2;
|
10424
10831
|
var regexpFlags = regexpFlags$1;
|
10425
10832
|
var stickyHelpers = regexpStickyHelpers;
|
10426
10833
|
var shared = shared$4.exports;
|
10427
|
-
var create
|
10428
|
-
var getInternalState
|
10834
|
+
var create = objectCreate;
|
10835
|
+
var getInternalState = internalState.get;
|
10429
10836
|
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
10430
10837
|
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
10431
10838
|
|
@@ -10440,8 +10847,8 @@ var stringSlice = uncurryThis$6(''.slice);
|
|
10440
10847
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
10441
10848
|
var re1 = /a/;
|
10442
10849
|
var re2 = /b*/g;
|
10443
|
-
call$
|
10444
|
-
call$
|
10850
|
+
call$a(nativeExec, re1, 'a');
|
10851
|
+
call$a(nativeExec, re2, 'a');
|
10445
10852
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
10446
10853
|
})();
|
10447
10854
|
|
@@ -10455,21 +10862,21 @@ var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPP
|
|
10455
10862
|
if (PATCH) {
|
10456
10863
|
patchedExec = function exec(string) {
|
10457
10864
|
var re = this;
|
10458
|
-
var state = getInternalState
|
10865
|
+
var state = getInternalState(re);
|
10459
10866
|
var str = toString$1(string);
|
10460
10867
|
var raw = state.raw;
|
10461
10868
|
var result, reCopy, lastIndex, match, i, object, group;
|
10462
10869
|
|
10463
10870
|
if (raw) {
|
10464
10871
|
raw.lastIndex = re.lastIndex;
|
10465
|
-
result = call$
|
10872
|
+
result = call$a(patchedExec, raw, str);
|
10466
10873
|
re.lastIndex = raw.lastIndex;
|
10467
10874
|
return result;
|
10468
10875
|
}
|
10469
10876
|
|
10470
10877
|
var groups = state.groups;
|
10471
10878
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
10472
|
-
var flags = call$
|
10879
|
+
var flags = call$a(regexpFlags, re);
|
10473
10880
|
var source = re.source;
|
10474
10881
|
var charsAdded = 0;
|
10475
10882
|
var strCopy = str;
|
@@ -10497,7 +10904,7 @@ if (PATCH) {
|
|
10497
10904
|
}
|
10498
10905
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
10499
10906
|
|
10500
|
-
match = call$
|
10907
|
+
match = call$a(nativeExec, sticky ? reCopy : re, strCopy);
|
10501
10908
|
|
10502
10909
|
if (sticky) {
|
10503
10910
|
if (match) {
|
@@ -10512,7 +10919,7 @@ if (PATCH) {
|
|
10512
10919
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
10513
10920
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
10514
10921
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
10515
|
-
call$
|
10922
|
+
call$a(nativeReplace, match[0], reCopy, function () {
|
10516
10923
|
for (i = 1; i < arguments.length - 2; i++) {
|
10517
10924
|
if (arguments[i] === undefined) match[i] = undefined;
|
10518
10925
|
}
|
@@ -10520,7 +10927,7 @@ if (PATCH) {
|
|
10520
10927
|
}
|
10521
10928
|
|
10522
10929
|
if (match && groups) {
|
10523
|
-
match.groups = object = create
|
10930
|
+
match.groups = object = create(null);
|
10524
10931
|
for (i = 0; i < groups.length; i++) {
|
10525
10932
|
group = groups[i];
|
10526
10933
|
object[group[0]] = match[group[1]];
|
@@ -10533,12 +10940,12 @@ if (PATCH) {
|
|
10533
10940
|
|
10534
10941
|
var regexpExec$2 = patchedExec;
|
10535
10942
|
|
10536
|
-
var $$
|
10943
|
+
var $$6 = _export;
|
10537
10944
|
var exec$1 = regexpExec$2;
|
10538
10945
|
|
10539
10946
|
// `RegExp.prototype.exec` method
|
10540
10947
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
10541
|
-
$$
|
10948
|
+
$$6({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
|
10542
10949
|
exec: exec$1
|
10543
10950
|
});
|
10544
10951
|
|
@@ -10555,26 +10962,26 @@ var functionUncurryThisClause = function (fn) {
|
|
10555
10962
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
10556
10963
|
|
10557
10964
|
var uncurryThis$4 = functionUncurryThisClause;
|
10558
|
-
var defineBuiltIn$
|
10965
|
+
var defineBuiltIn$2 = defineBuiltIn$4;
|
10559
10966
|
var regexpExec$1 = regexpExec$2;
|
10560
|
-
var fails$
|
10561
|
-
var wellKnownSymbol$
|
10562
|
-
var createNonEnumerableProperty
|
10967
|
+
var fails$2 = fails$f;
|
10968
|
+
var wellKnownSymbol$7 = wellKnownSymbol$b;
|
10969
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
10563
10970
|
|
10564
|
-
var SPECIES$3 = wellKnownSymbol$
|
10971
|
+
var SPECIES$3 = wellKnownSymbol$7('species');
|
10565
10972
|
var RegExpPrototype = RegExp.prototype;
|
10566
10973
|
|
10567
10974
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
10568
|
-
var SYMBOL = wellKnownSymbol$
|
10975
|
+
var SYMBOL = wellKnownSymbol$7(KEY);
|
10569
10976
|
|
10570
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
10977
|
+
var DELEGATES_TO_SYMBOL = !fails$2(function () {
|
10571
10978
|
// String methods call symbol-named RegEp methods
|
10572
10979
|
var O = {};
|
10573
10980
|
O[SYMBOL] = function () { return 7; };
|
10574
10981
|
return ''[KEY](O) != 7;
|
10575
10982
|
});
|
10576
10983
|
|
10577
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
10984
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$2(function () {
|
10578
10985
|
// Symbol-named RegExp methods call .exec
|
10579
10986
|
var execCalled = false;
|
10580
10987
|
var re = /a/;
|
@@ -10619,11 +11026,11 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
10619
11026
|
return { done: false };
|
10620
11027
|
});
|
10621
11028
|
|
10622
|
-
defineBuiltIn$
|
10623
|
-
defineBuiltIn$
|
11029
|
+
defineBuiltIn$2(String.prototype, KEY, methods[0]);
|
11030
|
+
defineBuiltIn$2(RegExpPrototype, SYMBOL, methods[1]);
|
10624
11031
|
}
|
10625
11032
|
|
10626
|
-
if (SHAM) createNonEnumerableProperty
|
11033
|
+
if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
|
10627
11034
|
};
|
10628
11035
|
|
10629
11036
|
// `SameValue` abstract operation
|
@@ -10634,9 +11041,9 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
10634
11041
|
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
10635
11042
|
};
|
10636
11043
|
|
10637
|
-
var call$
|
11044
|
+
var call$9 = functionCall;
|
10638
11045
|
var anObject$7 = anObject$d;
|
10639
|
-
var isCallable$
|
11046
|
+
var isCallable$6 = isCallable$i;
|
10640
11047
|
var classof$3 = classofRaw$2;
|
10641
11048
|
var regexpExec = regexpExec$2;
|
10642
11049
|
|
@@ -10646,16 +11053,16 @@ var $TypeError$7 = TypeError;
|
|
10646
11053
|
// https://tc39.es/ecma262/#sec-regexpexec
|
10647
11054
|
var regexpExecAbstract = function (R, S) {
|
10648
11055
|
var exec = R.exec;
|
10649
|
-
if (isCallable$
|
10650
|
-
var result = call$
|
11056
|
+
if (isCallable$6(exec)) {
|
11057
|
+
var result = call$9(exec, R, S);
|
10651
11058
|
if (result !== null) anObject$7(result);
|
10652
11059
|
return result;
|
10653
11060
|
}
|
10654
|
-
if (classof$3(R) === 'RegExp') return call$
|
11061
|
+
if (classof$3(R) === 'RegExp') return call$9(regexpExec, R, S);
|
10655
11062
|
throw $TypeError$7('RegExp#exec called on incompatible receiver');
|
10656
11063
|
};
|
10657
11064
|
|
10658
|
-
var call$
|
11065
|
+
var call$8 = functionCall;
|
10659
11066
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
10660
11067
|
var anObject$6 = anObject$d;
|
10661
11068
|
var isNullOrUndefined$2 = isNullOrUndefined$5;
|
@@ -10673,7 +11080,7 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
|
|
10673
11080
|
function search(regexp) {
|
10674
11081
|
var O = requireObjectCoercible(this);
|
10675
11082
|
var searcher = isNullOrUndefined$2(regexp) ? undefined : getMethod$2(regexp, SEARCH);
|
10676
|
-
return searcher ? call$
|
11083
|
+
return searcher ? call$8(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
|
10677
11084
|
},
|
10678
11085
|
// `RegExp.prototype[@@search]` method
|
10679
11086
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
@@ -11499,7 +11906,7 @@ function getNextChildMapping(nextProps, prevChildMapping, onExited) {
|
|
11499
11906
|
return children;
|
11500
11907
|
}
|
11501
11908
|
|
11502
|
-
var values
|
11909
|
+
var values = Object.values || function (obj) {
|
11503
11910
|
return Object.keys(obj).map(function (k) {
|
11504
11911
|
return obj[k];
|
11505
11912
|
});
|
@@ -11600,7 +12007,7 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
|
|
11600
12007
|
props = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
|
11601
12008
|
|
11602
12009
|
var contextValue = this.state.contextValue;
|
11603
|
-
var children = values
|
12010
|
+
var children = values(this.state.children).map(childFactory);
|
11604
12011
|
delete props.appear;
|
11605
12012
|
delete props.enter;
|
11606
12013
|
delete props.exit;
|
@@ -15968,12 +16375,12 @@ var EmptyStateImageUrls;
|
|
15968
16375
|
EmptyStateImageUrls["noResult"] = "noResult";
|
15969
16376
|
EmptyStateImageUrls["create"] = "create";
|
15970
16377
|
})(EmptyStateImageUrls || (EmptyStateImageUrls = {}));
|
15971
|
-
|
15972
|
-
state
|
15973
|
-
|
15974
|
-
|
15975
|
-
|
15976
|
-
|
16378
|
+
var EmptyStateComponent = function EmptyStateComponent(_ref) {
|
16379
|
+
var _ref$state = _ref.state,
|
16380
|
+
state = _ref$state === void 0 ? 'create' : _ref$state,
|
16381
|
+
title = _ref.title,
|
16382
|
+
content = _ref.content,
|
16383
|
+
actions = _ref.actions;
|
15977
16384
|
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
15978
16385
|
theme: SincoTheme
|
15979
16386
|
}, /*#__PURE__*/React__default.createElement(Card$1, {
|
@@ -15992,7 +16399,7 @@ const EmptyStateComponent = ({
|
|
15992
16399
|
height: 187
|
15993
16400
|
}
|
15994
16401
|
}, /*#__PURE__*/React__default.createElement("use", {
|
15995
|
-
xlinkHref:
|
16402
|
+
xlinkHref: "".concat(sincoIconos, "#").concat(EmptyStateImageUrls[state])
|
15996
16403
|
})), /*#__PURE__*/React__default.createElement(Stack$1, {
|
15997
16404
|
direction: "column",
|
15998
16405
|
spacing: 2
|
@@ -16003,437 +16410,13 @@ const EmptyStateComponent = ({
|
|
16003
16410
|
variant: "body1",
|
16004
16411
|
textAlign: "center",
|
16005
16412
|
color: "text.secondary"
|
16006
|
-
}, content),
|
16413
|
+
}, content), state === 'create' && actions && /*#__PURE__*/React__default.createElement(Stack$1, {
|
16007
16414
|
direction: "row",
|
16008
16415
|
spacing: 2,
|
16009
16416
|
justifyContent: "center"
|
16010
16417
|
}, actions)))));
|
16011
16418
|
};
|
16012
16419
|
|
16013
|
-
var wellKnownSymbol$a = wellKnownSymbol$f;
|
16014
|
-
var create$1 = objectCreate;
|
16015
|
-
var defineProperty$3 = objectDefineProperty.f;
|
16016
|
-
|
16017
|
-
var UNSCOPABLES = wellKnownSymbol$a('unscopables');
|
16018
|
-
var ArrayPrototype$1 = Array.prototype;
|
16019
|
-
|
16020
|
-
// Array.prototype[@@unscopables]
|
16021
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
16022
|
-
if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
|
16023
|
-
defineProperty$3(ArrayPrototype$1, UNSCOPABLES, {
|
16024
|
-
configurable: true,
|
16025
|
-
value: create$1(null)
|
16026
|
-
});
|
16027
|
-
}
|
16028
|
-
|
16029
|
-
// add a key to Array.prototype[@@unscopables]
|
16030
|
-
var addToUnscopables$1 = function (key) {
|
16031
|
-
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
16032
|
-
};
|
16033
|
-
|
16034
|
-
var iterators = {};
|
16035
|
-
|
16036
|
-
var fails$3 = fails$h;
|
16037
|
-
|
16038
|
-
var correctPrototypeGetter = !fails$3(function () {
|
16039
|
-
function F() { /* empty */ }
|
16040
|
-
F.prototype.constructor = null;
|
16041
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
16042
|
-
return Object.getPrototypeOf(new F()) !== F.prototype;
|
16043
|
-
});
|
16044
|
-
|
16045
|
-
var hasOwn$2 = hasOwnProperty_1;
|
16046
|
-
var isCallable$8 = isCallable$l;
|
16047
|
-
var toObject = toObject$4;
|
16048
|
-
var sharedKey = sharedKey$3;
|
16049
|
-
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
16050
|
-
|
16051
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
16052
|
-
var $Object = Object;
|
16053
|
-
var ObjectPrototype = $Object.prototype;
|
16054
|
-
|
16055
|
-
// `Object.getPrototypeOf` method
|
16056
|
-
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
16057
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
16058
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
16059
|
-
var object = toObject(O);
|
16060
|
-
if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
|
16061
|
-
var constructor = object.constructor;
|
16062
|
-
if (isCallable$8(constructor) && object instanceof constructor) {
|
16063
|
-
return constructor.prototype;
|
16064
|
-
} return object instanceof $Object ? ObjectPrototype : null;
|
16065
|
-
};
|
16066
|
-
|
16067
|
-
var fails$2 = fails$h;
|
16068
|
-
var isCallable$7 = isCallable$l;
|
16069
|
-
var isObject$2 = isObject$8;
|
16070
|
-
var getPrototypeOf$1 = objectGetPrototypeOf;
|
16071
|
-
var defineBuiltIn$3 = defineBuiltIn$6;
|
16072
|
-
var wellKnownSymbol$9 = wellKnownSymbol$f;
|
16073
|
-
|
16074
|
-
var ITERATOR$5 = wellKnownSymbol$9('iterator');
|
16075
|
-
var BUGGY_SAFARI_ITERATORS$1 = false;
|
16076
|
-
|
16077
|
-
// `%IteratorPrototype%` object
|
16078
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
16079
|
-
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
16080
|
-
|
16081
|
-
/* eslint-disable es/no-array-prototype-keys -- safe */
|
16082
|
-
if ([].keys) {
|
16083
|
-
arrayIterator = [].keys();
|
16084
|
-
// Safari 8 has buggy iterators w/o `next`
|
16085
|
-
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
16086
|
-
else {
|
16087
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
|
16088
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
|
16089
|
-
}
|
16090
|
-
}
|
16091
|
-
|
16092
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$2(function () {
|
16093
|
-
var test = {};
|
16094
|
-
// FF44- legacy iterators case
|
16095
|
-
return IteratorPrototype$2[ITERATOR$5].call(test) !== test;
|
16096
|
-
});
|
16097
|
-
|
16098
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
16099
|
-
|
16100
|
-
// `%IteratorPrototype%[@@iterator]()` method
|
16101
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
16102
|
-
if (!isCallable$7(IteratorPrototype$2[ITERATOR$5])) {
|
16103
|
-
defineBuiltIn$3(IteratorPrototype$2, ITERATOR$5, function () {
|
16104
|
-
return this;
|
16105
|
-
});
|
16106
|
-
}
|
16107
|
-
|
16108
|
-
var iteratorsCore = {
|
16109
|
-
IteratorPrototype: IteratorPrototype$2,
|
16110
|
-
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
16111
|
-
};
|
16112
|
-
|
16113
|
-
var defineProperty$2 = objectDefineProperty.f;
|
16114
|
-
var hasOwn$1 = hasOwnProperty_1;
|
16115
|
-
var wellKnownSymbol$8 = wellKnownSymbol$f;
|
16116
|
-
|
16117
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$8('toStringTag');
|
16118
|
-
|
16119
|
-
var setToStringTag$3 = function (target, TAG, STATIC) {
|
16120
|
-
if (target && !STATIC) target = target.prototype;
|
16121
|
-
if (target && !hasOwn$1(target, TO_STRING_TAG$1)) {
|
16122
|
-
defineProperty$2(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
|
16123
|
-
}
|
16124
|
-
};
|
16125
|
-
|
16126
|
-
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
16127
|
-
var create = objectCreate;
|
16128
|
-
var createPropertyDescriptor = createPropertyDescriptor$3;
|
16129
|
-
var setToStringTag$2 = setToStringTag$3;
|
16130
|
-
var Iterators$4 = iterators;
|
16131
|
-
|
16132
|
-
var returnThis$1 = function () { return this; };
|
16133
|
-
|
16134
|
-
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
16135
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
16136
|
-
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
16137
|
-
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
16138
|
-
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
16139
|
-
return IteratorConstructor;
|
16140
|
-
};
|
16141
|
-
|
16142
|
-
var uncurryThis$3 = functionUncurryThis;
|
16143
|
-
var aCallable$6 = aCallable$8;
|
16144
|
-
|
16145
|
-
var functionUncurryThisAccessor = function (object, key, method) {
|
16146
|
-
try {
|
16147
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
16148
|
-
return uncurryThis$3(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
|
16149
|
-
} catch (error) { /* empty */ }
|
16150
|
-
};
|
16151
|
-
|
16152
|
-
var isCallable$6 = isCallable$l;
|
16153
|
-
|
16154
|
-
var $String = String;
|
16155
|
-
var $TypeError$6 = TypeError;
|
16156
|
-
|
16157
|
-
var aPossiblePrototype$1 = function (argument) {
|
16158
|
-
if (typeof argument == 'object' || isCallable$6(argument)) return argument;
|
16159
|
-
throw $TypeError$6("Can't set " + $String(argument) + ' as a prototype');
|
16160
|
-
};
|
16161
|
-
|
16162
|
-
/* eslint-disable no-proto -- safe */
|
16163
|
-
|
16164
|
-
var uncurryThisAccessor = functionUncurryThisAccessor;
|
16165
|
-
var anObject$5 = anObject$d;
|
16166
|
-
var aPossiblePrototype = aPossiblePrototype$1;
|
16167
|
-
|
16168
|
-
// `Object.setPrototypeOf` method
|
16169
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
16170
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
16171
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
16172
|
-
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
16173
|
-
var CORRECT_SETTER = false;
|
16174
|
-
var test = {};
|
16175
|
-
var setter;
|
16176
|
-
try {
|
16177
|
-
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
16178
|
-
setter(test, []);
|
16179
|
-
CORRECT_SETTER = test instanceof Array;
|
16180
|
-
} catch (error) { /* empty */ }
|
16181
|
-
return function setPrototypeOf(O, proto) {
|
16182
|
-
anObject$5(O);
|
16183
|
-
aPossiblePrototype(proto);
|
16184
|
-
if (CORRECT_SETTER) setter(O, proto);
|
16185
|
-
else O.__proto__ = proto;
|
16186
|
-
return O;
|
16187
|
-
};
|
16188
|
-
}() : undefined);
|
16189
|
-
|
16190
|
-
var $$6 = _export;
|
16191
|
-
var call$8 = functionCall;
|
16192
|
-
var FunctionName = functionName;
|
16193
|
-
var isCallable$5 = isCallable$l;
|
16194
|
-
var createIteratorConstructor = iteratorCreateConstructor;
|
16195
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
16196
|
-
var setPrototypeOf$1 = objectSetPrototypeOf;
|
16197
|
-
var setToStringTag$1 = setToStringTag$3;
|
16198
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
|
16199
|
-
var defineBuiltIn$2 = defineBuiltIn$6;
|
16200
|
-
var wellKnownSymbol$7 = wellKnownSymbol$f;
|
16201
|
-
var Iterators$3 = iterators;
|
16202
|
-
var IteratorsCore = iteratorsCore;
|
16203
|
-
|
16204
|
-
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
16205
|
-
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
16206
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
16207
|
-
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
16208
|
-
var ITERATOR$4 = wellKnownSymbol$7('iterator');
|
16209
|
-
var KEYS = 'keys';
|
16210
|
-
var VALUES = 'values';
|
16211
|
-
var ENTRIES = 'entries';
|
16212
|
-
|
16213
|
-
var returnThis = function () { return this; };
|
16214
|
-
|
16215
|
-
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
16216
|
-
createIteratorConstructor(IteratorConstructor, NAME, next);
|
16217
|
-
|
16218
|
-
var getIterationMethod = function (KIND) {
|
16219
|
-
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
16220
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
|
16221
|
-
switch (KIND) {
|
16222
|
-
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
16223
|
-
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
16224
|
-
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
16225
|
-
} return function () { return new IteratorConstructor(this); };
|
16226
|
-
};
|
16227
|
-
|
16228
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
16229
|
-
var INCORRECT_VALUES_NAME = false;
|
16230
|
-
var IterablePrototype = Iterable.prototype;
|
16231
|
-
var nativeIterator = IterablePrototype[ITERATOR$4]
|
16232
|
-
|| IterablePrototype['@@iterator']
|
16233
|
-
|| DEFAULT && IterablePrototype[DEFAULT];
|
16234
|
-
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
16235
|
-
var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
16236
|
-
var CurrentIteratorPrototype, methods, KEY;
|
16237
|
-
|
16238
|
-
// fix native
|
16239
|
-
if (anyNativeIterator) {
|
16240
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
16241
|
-
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
16242
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
16243
|
-
if (setPrototypeOf$1) {
|
16244
|
-
setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype);
|
16245
|
-
} else if (!isCallable$5(CurrentIteratorPrototype[ITERATOR$4])) {
|
16246
|
-
defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$4, returnThis);
|
16247
|
-
}
|
16248
|
-
}
|
16249
|
-
// Set @@toStringTag to native iterators
|
16250
|
-
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
16251
|
-
}
|
16252
|
-
}
|
16253
|
-
|
16254
|
-
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
16255
|
-
if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
16256
|
-
if (CONFIGURABLE_FUNCTION_NAME) {
|
16257
|
-
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
16258
|
-
} else {
|
16259
|
-
INCORRECT_VALUES_NAME = true;
|
16260
|
-
defaultIterator = function values() { return call$8(nativeIterator, this); };
|
16261
|
-
}
|
16262
|
-
}
|
16263
|
-
|
16264
|
-
// export additional methods
|
16265
|
-
if (DEFAULT) {
|
16266
|
-
methods = {
|
16267
|
-
values: getIterationMethod(VALUES),
|
16268
|
-
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
16269
|
-
entries: getIterationMethod(ENTRIES)
|
16270
|
-
};
|
16271
|
-
if (FORCED) for (KEY in methods) {
|
16272
|
-
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
16273
|
-
defineBuiltIn$2(IterablePrototype, KEY, methods[KEY]);
|
16274
|
-
}
|
16275
|
-
} else $$6({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
16276
|
-
}
|
16277
|
-
|
16278
|
-
// define iterator
|
16279
|
-
if (IterablePrototype[ITERATOR$4] !== defaultIterator) {
|
16280
|
-
defineBuiltIn$2(IterablePrototype, ITERATOR$4, defaultIterator, { name: DEFAULT });
|
16281
|
-
}
|
16282
|
-
Iterators$3[NAME] = defaultIterator;
|
16283
|
-
|
16284
|
-
return methods;
|
16285
|
-
};
|
16286
|
-
|
16287
|
-
// `CreateIterResultObject` abstract operation
|
16288
|
-
// https://tc39.es/ecma262/#sec-createiterresultobject
|
16289
|
-
var createIterResultObject$1 = function (value, done) {
|
16290
|
-
return { value: value, done: done };
|
16291
|
-
};
|
16292
|
-
|
16293
|
-
var toIndexedObject = toIndexedObject$5;
|
16294
|
-
var addToUnscopables = addToUnscopables$1;
|
16295
|
-
var Iterators$2 = iterators;
|
16296
|
-
var InternalStateModule$1 = internalState;
|
16297
|
-
var defineProperty$1 = objectDefineProperty.f;
|
16298
|
-
var defineIterator = iteratorDefine;
|
16299
|
-
var createIterResultObject = createIterResultObject$1;
|
16300
|
-
var DESCRIPTORS$1 = descriptors;
|
16301
|
-
|
16302
|
-
var ARRAY_ITERATOR = 'Array Iterator';
|
16303
|
-
var setInternalState$1 = InternalStateModule$1.set;
|
16304
|
-
var getInternalState = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
16305
|
-
|
16306
|
-
// `Array.prototype.entries` method
|
16307
|
-
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
16308
|
-
// `Array.prototype.keys` method
|
16309
|
-
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
16310
|
-
// `Array.prototype.values` method
|
16311
|
-
// https://tc39.es/ecma262/#sec-array.prototype.values
|
16312
|
-
// `Array.prototype[@@iterator]` method
|
16313
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
16314
|
-
// `CreateArrayIterator` internal method
|
16315
|
-
// https://tc39.es/ecma262/#sec-createarrayiterator
|
16316
|
-
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
16317
|
-
setInternalState$1(this, {
|
16318
|
-
type: ARRAY_ITERATOR,
|
16319
|
-
target: toIndexedObject(iterated), // target
|
16320
|
-
index: 0, // next index
|
16321
|
-
kind: kind // kind
|
16322
|
-
});
|
16323
|
-
// `%ArrayIteratorPrototype%.next` method
|
16324
|
-
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
16325
|
-
}, function () {
|
16326
|
-
var state = getInternalState(this);
|
16327
|
-
var target = state.target;
|
16328
|
-
var kind = state.kind;
|
16329
|
-
var index = state.index++;
|
16330
|
-
if (!target || index >= target.length) {
|
16331
|
-
state.target = undefined;
|
16332
|
-
return createIterResultObject(undefined, true);
|
16333
|
-
}
|
16334
|
-
if (kind == 'keys') return createIterResultObject(index, false);
|
16335
|
-
if (kind == 'values') return createIterResultObject(target[index], false);
|
16336
|
-
return createIterResultObject([index, target[index]], false);
|
16337
|
-
}, 'values');
|
16338
|
-
|
16339
|
-
// argumentsList[@@iterator] is %ArrayProto_values%
|
16340
|
-
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
16341
|
-
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
16342
|
-
var values = Iterators$2.Arguments = Iterators$2.Array;
|
16343
|
-
|
16344
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
16345
|
-
addToUnscopables('keys');
|
16346
|
-
addToUnscopables('values');
|
16347
|
-
addToUnscopables('entries');
|
16348
|
-
|
16349
|
-
// V8 ~ Chrome 45- bug
|
16350
|
-
if (DESCRIPTORS$1 && values.name !== 'values') try {
|
16351
|
-
defineProperty$1(values, 'name', { value: 'values' });
|
16352
|
-
} catch (error) { /* empty */ }
|
16353
|
-
|
16354
|
-
// iterable DOM collections
|
16355
|
-
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
16356
|
-
var domIterables = {
|
16357
|
-
CSSRuleList: 0,
|
16358
|
-
CSSStyleDeclaration: 0,
|
16359
|
-
CSSValueList: 0,
|
16360
|
-
ClientRectList: 0,
|
16361
|
-
DOMRectList: 0,
|
16362
|
-
DOMStringList: 0,
|
16363
|
-
DOMTokenList: 1,
|
16364
|
-
DataTransferItemList: 0,
|
16365
|
-
FileList: 0,
|
16366
|
-
HTMLAllCollection: 0,
|
16367
|
-
HTMLCollection: 0,
|
16368
|
-
HTMLFormElement: 0,
|
16369
|
-
HTMLSelectElement: 0,
|
16370
|
-
MediaList: 0,
|
16371
|
-
MimeTypeArray: 0,
|
16372
|
-
NamedNodeMap: 0,
|
16373
|
-
NodeList: 1,
|
16374
|
-
PaintRequestList: 0,
|
16375
|
-
Plugin: 0,
|
16376
|
-
PluginArray: 0,
|
16377
|
-
SVGLengthList: 0,
|
16378
|
-
SVGNumberList: 0,
|
16379
|
-
SVGPathSegList: 0,
|
16380
|
-
SVGPointList: 0,
|
16381
|
-
SVGStringList: 0,
|
16382
|
-
SVGTransformList: 0,
|
16383
|
-
SourceBufferList: 0,
|
16384
|
-
StyleSheetList: 0,
|
16385
|
-
TextTrackCueList: 0,
|
16386
|
-
TextTrackList: 0,
|
16387
|
-
TouchList: 0
|
16388
|
-
};
|
16389
|
-
|
16390
|
-
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
16391
|
-
var documentCreateElement = documentCreateElement$2;
|
16392
|
-
|
16393
|
-
var classList = documentCreateElement('span').classList;
|
16394
|
-
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
16395
|
-
|
16396
|
-
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
16397
|
-
|
16398
|
-
var global$6 = global$k;
|
16399
|
-
var DOMIterables = domIterables;
|
16400
|
-
var DOMTokenListPrototype = domTokenListPrototype;
|
16401
|
-
var ArrayIteratorMethods = es_array_iterator;
|
16402
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$5;
|
16403
|
-
var wellKnownSymbol$6 = wellKnownSymbol$f;
|
16404
|
-
|
16405
|
-
var ITERATOR$3 = wellKnownSymbol$6('iterator');
|
16406
|
-
var TO_STRING_TAG = wellKnownSymbol$6('toStringTag');
|
16407
|
-
var ArrayValues = ArrayIteratorMethods.values;
|
16408
|
-
|
16409
|
-
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
16410
|
-
if (CollectionPrototype) {
|
16411
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
16412
|
-
if (CollectionPrototype[ITERATOR$3] !== ArrayValues) try {
|
16413
|
-
createNonEnumerableProperty(CollectionPrototype, ITERATOR$3, ArrayValues);
|
16414
|
-
} catch (error) {
|
16415
|
-
CollectionPrototype[ITERATOR$3] = ArrayValues;
|
16416
|
-
}
|
16417
|
-
if (!CollectionPrototype[TO_STRING_TAG]) {
|
16418
|
-
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
|
16419
|
-
}
|
16420
|
-
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
16421
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
16422
|
-
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
16423
|
-
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
16424
|
-
} catch (error) {
|
16425
|
-
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
16426
|
-
}
|
16427
|
-
}
|
16428
|
-
}
|
16429
|
-
};
|
16430
|
-
|
16431
|
-
for (var COLLECTION_NAME in DOMIterables) {
|
16432
|
-
handlePrototype(global$6[COLLECTION_NAME] && global$6[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
16433
|
-
}
|
16434
|
-
|
16435
|
-
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
16436
|
-
|
16437
16420
|
var Close = {};
|
16438
16421
|
|
16439
16422
|
var interopRequireDefault = {exports: {}};
|
@@ -16478,7 +16461,7 @@ var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("p
|
|
16478
16461
|
}), 'Close');
|
16479
16462
|
default_1 = Close.default = _default;
|
16480
16463
|
|
16481
|
-
|
16464
|
+
var DrawerContainer = {
|
16482
16465
|
display: 'flex',
|
16483
16466
|
flexDirection: 'column',
|
16484
16467
|
alignContent: 'flex-start',
|
@@ -16486,7 +16469,7 @@ const DrawerContainer = {
|
|
16486
16469
|
height: '100%',
|
16487
16470
|
overflow: 'hidden'
|
16488
16471
|
};
|
16489
|
-
|
16472
|
+
var DrawerHeader = {
|
16490
16473
|
display: 'flex',
|
16491
16474
|
alignContent: 'center',
|
16492
16475
|
justifyContent: 'space-between',
|
@@ -16494,7 +16477,7 @@ const DrawerHeader = {
|
|
16494
16477
|
py: '12px',
|
16495
16478
|
px: '8px'
|
16496
16479
|
};
|
16497
|
-
|
16480
|
+
var DrawerContent = {
|
16498
16481
|
display: 'flex',
|
16499
16482
|
overflow: 'auto',
|
16500
16483
|
alignItems: 'flex-start',
|
@@ -16503,7 +16486,7 @@ const DrawerContent = {
|
|
16503
16486
|
py: '12px',
|
16504
16487
|
px: '8px'
|
16505
16488
|
};
|
16506
|
-
|
16489
|
+
var DrawerActions = {
|
16507
16490
|
display: 'flex',
|
16508
16491
|
alignContent: 'center',
|
16509
16492
|
justifyContent: 'flex-end',
|
@@ -16514,18 +16497,20 @@ const DrawerActions = {
|
|
16514
16497
|
py: '12px',
|
16515
16498
|
px: '8px'
|
16516
16499
|
};
|
16517
|
-
|
16518
|
-
title,
|
16519
|
-
|
16520
|
-
|
16521
|
-
|
16522
|
-
|
16523
|
-
|
16524
|
-
|
16525
|
-
|
16526
|
-
|
16527
|
-
|
16528
|
-
|
16500
|
+
var DrawerComponent = function DrawerComponent(_ref) {
|
16501
|
+
var title = _ref.title,
|
16502
|
+
children = _ref.children,
|
16503
|
+
renderActions = _ref.renderActions,
|
16504
|
+
showActions = _ref.showActions,
|
16505
|
+
position = _ref.position,
|
16506
|
+
width = _ref.width,
|
16507
|
+
open = _ref.open,
|
16508
|
+
onClose = _ref.onClose;
|
16509
|
+
var _useState = useState(showActions),
|
16510
|
+
_useState2 = _slicedToArray(_useState, 2),
|
16511
|
+
stateActions = _useState2[0],
|
16512
|
+
setActionsState = _useState2[1];
|
16513
|
+
var handleDrawerActions = function handleDrawerActions() {
|
16529
16514
|
setActionsState(true);
|
16530
16515
|
};
|
16531
16516
|
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
@@ -16554,11 +16539,10 @@ const DrawerComponent = ({
|
|
16554
16539
|
}, renderActions))));
|
16555
16540
|
};
|
16556
16541
|
|
16557
|
-
|
16558
|
-
renderLeftContent,
|
16559
|
-
|
16560
|
-
|
16561
|
-
}) => {
|
16542
|
+
var FooterActionComponent = function FooterActionComponent(_ref) {
|
16543
|
+
var renderLeftContent = _ref.renderLeftContent,
|
16544
|
+
renderRightContent = _ref.renderRightContent,
|
16545
|
+
labelChangeCounter = _ref.labelChangeCounter;
|
16562
16546
|
return /*#__PURE__*/React__default.createElement(AppBar$1, {
|
16563
16547
|
position: "fixed",
|
16564
16548
|
color: "inherit",
|
@@ -16575,31 +16559,33 @@ const FooterActionComponent = ({
|
|
16575
16559
|
}), /*#__PURE__*/React__default.createElement(Box$2, null, labelChangeCounter), renderRightContent));
|
16576
16560
|
};
|
16577
16561
|
|
16578
|
-
function PageHeaderWraps({
|
16579
|
-
item,
|
16580
|
-
|
16581
|
-
|
16582
|
-
}) {
|
16562
|
+
function PageHeaderWraps(_ref) {
|
16563
|
+
var item = _ref.item,
|
16564
|
+
Color = _ref.Color,
|
16565
|
+
variant = _ref.variant;
|
16583
16566
|
return /*#__PURE__*/React__default.createElement(Typography$1, {
|
16584
16567
|
variant: variant,
|
16585
16568
|
color: Color
|
16586
16569
|
}, item);
|
16587
16570
|
}
|
16588
|
-
|
16589
|
-
title,
|
16590
|
-
|
16591
|
-
|
16592
|
-
|
16593
|
-
|
16594
|
-
}) => {
|
16571
|
+
var PageHeaderComponent = function PageHeaderComponent(_ref2) {
|
16572
|
+
var title = _ref2.title,
|
16573
|
+
subtitle = _ref2.subtitle,
|
16574
|
+
actions = _ref2.actions,
|
16575
|
+
buttonBack = _ref2.buttonBack,
|
16576
|
+
fixed = _ref2.fixed;
|
16595
16577
|
return /*#__PURE__*/React__default.createElement(Stack$1, {
|
16596
16578
|
position: fixed === true ? "fixed" : "relative",
|
16597
16579
|
sx: {
|
16598
16580
|
width: fixed === true ? "-webkit-fill-available" : "inherit",
|
16599
|
-
backgroundColor: theme
|
16581
|
+
backgroundColor: function backgroundColor(theme) {
|
16582
|
+
return theme.palette.background.paper;
|
16583
|
+
},
|
16600
16584
|
px: 3,
|
16601
16585
|
py: 1,
|
16602
|
-
boxShadow: theme
|
16586
|
+
boxShadow: function boxShadow(theme) {
|
16587
|
+
return theme.shadows[1];
|
16588
|
+
},
|
16603
16589
|
zIndex: 100
|
16604
16590
|
}
|
16605
16591
|
}, /*#__PURE__*/React__default.createElement(Stack$1, {
|
@@ -16634,6 +16620,67 @@ var classof$2 = classofRaw$2;
|
|
16634
16620
|
|
16635
16621
|
var engineIsNode = typeof process != 'undefined' && classof$2(process) == 'process';
|
16636
16622
|
|
16623
|
+
var uncurryThis$3 = functionUncurryThis;
|
16624
|
+
var aCallable$6 = aCallable$8;
|
16625
|
+
|
16626
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
16627
|
+
try {
|
16628
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
16629
|
+
return uncurryThis$3(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
|
16630
|
+
} catch (error) { /* empty */ }
|
16631
|
+
};
|
16632
|
+
|
16633
|
+
var isCallable$5 = isCallable$i;
|
16634
|
+
|
16635
|
+
var $String = String;
|
16636
|
+
var $TypeError$6 = TypeError;
|
16637
|
+
|
16638
|
+
var aPossiblePrototype$1 = function (argument) {
|
16639
|
+
if (typeof argument == 'object' || isCallable$5(argument)) return argument;
|
16640
|
+
throw $TypeError$6("Can't set " + $String(argument) + ' as a prototype');
|
16641
|
+
};
|
16642
|
+
|
16643
|
+
/* eslint-disable no-proto -- safe */
|
16644
|
+
|
16645
|
+
var uncurryThisAccessor = functionUncurryThisAccessor;
|
16646
|
+
var anObject$5 = anObject$d;
|
16647
|
+
var aPossiblePrototype = aPossiblePrototype$1;
|
16648
|
+
|
16649
|
+
// `Object.setPrototypeOf` method
|
16650
|
+
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
16651
|
+
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
16652
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
16653
|
+
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
16654
|
+
var CORRECT_SETTER = false;
|
16655
|
+
var test = {};
|
16656
|
+
var setter;
|
16657
|
+
try {
|
16658
|
+
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
16659
|
+
setter(test, []);
|
16660
|
+
CORRECT_SETTER = test instanceof Array;
|
16661
|
+
} catch (error) { /* empty */ }
|
16662
|
+
return function setPrototypeOf(O, proto) {
|
16663
|
+
anObject$5(O);
|
16664
|
+
aPossiblePrototype(proto);
|
16665
|
+
if (CORRECT_SETTER) setter(O, proto);
|
16666
|
+
else O.__proto__ = proto;
|
16667
|
+
return O;
|
16668
|
+
};
|
16669
|
+
}() : undefined);
|
16670
|
+
|
16671
|
+
var defineProperty$1 = objectDefineProperty.f;
|
16672
|
+
var hasOwn$1 = hasOwnProperty_1;
|
16673
|
+
var wellKnownSymbol$6 = wellKnownSymbol$b;
|
16674
|
+
|
16675
|
+
var TO_STRING_TAG = wellKnownSymbol$6('toStringTag');
|
16676
|
+
|
16677
|
+
var setToStringTag$1 = function (target, TAG, STATIC) {
|
16678
|
+
if (target && !STATIC) target = target.prototype;
|
16679
|
+
if (target && !hasOwn$1(target, TO_STRING_TAG)) {
|
16680
|
+
defineProperty$1(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
16681
|
+
}
|
16682
|
+
};
|
16683
|
+
|
16637
16684
|
var makeBuiltIn = makeBuiltIn$3.exports;
|
16638
16685
|
var defineProperty = objectDefineProperty;
|
16639
16686
|
|
@@ -16645,7 +16692,7 @@ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
16645
16692
|
|
16646
16693
|
var getBuiltIn$3 = getBuiltIn$7;
|
16647
16694
|
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
16648
|
-
var wellKnownSymbol$5 = wellKnownSymbol$
|
16695
|
+
var wellKnownSymbol$5 = wellKnownSymbol$b;
|
16649
16696
|
var DESCRIPTORS = descriptors;
|
16650
16697
|
|
16651
16698
|
var SPECIES$2 = wellKnownSymbol$5('species');
|
@@ -16671,8 +16718,8 @@ var anInstance$1 = function (it, Prototype) {
|
|
16671
16718
|
};
|
16672
16719
|
|
16673
16720
|
var uncurryThis$2 = functionUncurryThis;
|
16674
|
-
var fails$1 = fails$
|
16675
|
-
var isCallable$4 = isCallable$
|
16721
|
+
var fails$1 = fails$f;
|
16722
|
+
var isCallable$4 = isCallable$i;
|
16676
16723
|
var classof$1 = classof$5;
|
16677
16724
|
var getBuiltIn$2 = getBuiltIn$7;
|
16678
16725
|
var inspectSource$1 = inspectSource$3;
|
@@ -16737,7 +16784,7 @@ var aConstructor$1 = function (argument) {
|
|
16737
16784
|
var anObject$4 = anObject$d;
|
16738
16785
|
var aConstructor = aConstructor$1;
|
16739
16786
|
var isNullOrUndefined$1 = isNullOrUndefined$5;
|
16740
|
-
var wellKnownSymbol$4 = wellKnownSymbol$
|
16787
|
+
var wellKnownSymbol$4 = wellKnownSymbol$b;
|
16741
16788
|
|
16742
16789
|
var SPECIES$1 = wellKnownSymbol$4('species');
|
16743
16790
|
|
@@ -16790,15 +16837,15 @@ var userAgent$2 = engineUserAgent;
|
|
16790
16837
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
16791
16838
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
16792
16839
|
|
16793
|
-
var global$5 = global$
|
16840
|
+
var global$5 = global$j;
|
16794
16841
|
var apply = functionApply;
|
16795
16842
|
var bind$3 = functionBindContext;
|
16796
|
-
var isCallable$3 = isCallable$
|
16843
|
+
var isCallable$3 = isCallable$i;
|
16797
16844
|
var hasOwn = hasOwnProperty_1;
|
16798
|
-
var fails = fails$
|
16845
|
+
var fails = fails$f;
|
16799
16846
|
var html = html$2;
|
16800
16847
|
var arraySlice = arraySlice$1;
|
16801
|
-
var createElement = documentCreateElement$
|
16848
|
+
var createElement = documentCreateElement$1;
|
16802
16849
|
var validateArgumentsLength = validateArgumentsLength$1;
|
16803
16850
|
var IS_IOS$1 = engineIsIos;
|
16804
16851
|
var IS_NODE$3 = engineIsNode;
|
@@ -16940,7 +16987,7 @@ var userAgent = engineUserAgent;
|
|
16940
16987
|
|
16941
16988
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
16942
16989
|
|
16943
|
-
var global$4 = global$
|
16990
|
+
var global$4 = global$j;
|
16944
16991
|
var bind$2 = functionBindContext;
|
16945
16992
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
16946
16993
|
var macrotask = task$1.set;
|
@@ -17036,7 +17083,7 @@ var perform$3 = function (exec) {
|
|
17036
17083
|
}
|
17037
17084
|
};
|
17038
17085
|
|
17039
|
-
var global$3 = global$
|
17086
|
+
var global$3 = global$j;
|
17040
17087
|
|
17041
17088
|
var promiseNativeConstructor = global$3.Promise;
|
17042
17089
|
|
@@ -17051,12 +17098,12 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
17051
17098
|
&& typeof window == 'object'
|
17052
17099
|
&& typeof document == 'object';
|
17053
17100
|
|
17054
|
-
var global$2 = global$
|
17101
|
+
var global$2 = global$j;
|
17055
17102
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
17056
|
-
var isCallable$2 = isCallable$
|
17103
|
+
var isCallable$2 = isCallable$i;
|
17057
17104
|
var isForced = isForced_1;
|
17058
17105
|
var inspectSource = inspectSource$3;
|
17059
|
-
var wellKnownSymbol$3 = wellKnownSymbol$
|
17106
|
+
var wellKnownSymbol$3 = wellKnownSymbol$b;
|
17060
17107
|
var IS_BROWSER = engineIsBrowser;
|
17061
17108
|
var IS_DENO = engineIsDeno;
|
17062
17109
|
var V8_VERSION = engineV8Version;
|
@@ -17121,15 +17168,15 @@ newPromiseCapability$2.f = function (C) {
|
|
17121
17168
|
|
17122
17169
|
var $$5 = _export;
|
17123
17170
|
var IS_NODE = engineIsNode;
|
17124
|
-
var global$1 = global$
|
17171
|
+
var global$1 = global$j;
|
17125
17172
|
var call$6 = functionCall;
|
17126
|
-
var defineBuiltIn$1 = defineBuiltIn$
|
17173
|
+
var defineBuiltIn$1 = defineBuiltIn$4;
|
17127
17174
|
var setPrototypeOf = objectSetPrototypeOf;
|
17128
|
-
var setToStringTag = setToStringTag$
|
17175
|
+
var setToStringTag = setToStringTag$1;
|
17129
17176
|
var setSpecies = setSpecies$1;
|
17130
17177
|
var aCallable$3 = aCallable$8;
|
17131
|
-
var isCallable$1 = isCallable$
|
17132
|
-
var isObject$1 = isObject$
|
17178
|
+
var isCallable$1 = isCallable$i;
|
17179
|
+
var isObject$1 = isObject$7;
|
17133
17180
|
var anInstance = anInstance$1;
|
17134
17181
|
var speciesConstructor = speciesConstructor$1;
|
17135
17182
|
var task = task$1.set;
|
@@ -17406,7 +17453,9 @@ $$5({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTR
|
|
17406
17453
|
setToStringTag(PromiseConstructor, PROMISE, false);
|
17407
17454
|
setSpecies(PROMISE);
|
17408
17455
|
|
17409
|
-
var
|
17456
|
+
var iterators = {};
|
17457
|
+
|
17458
|
+
var wellKnownSymbol$2 = wellKnownSymbol$b;
|
17410
17459
|
var Iterators$1 = iterators;
|
17411
17460
|
|
17412
17461
|
var ITERATOR$2 = wellKnownSymbol$2('iterator');
|
@@ -17421,7 +17470,7 @@ var classof = classof$5;
|
|
17421
17470
|
var getMethod$1 = getMethod$4;
|
17422
17471
|
var isNullOrUndefined = isNullOrUndefined$5;
|
17423
17472
|
var Iterators = iterators;
|
17424
|
-
var wellKnownSymbol$1 = wellKnownSymbol$
|
17473
|
+
var wellKnownSymbol$1 = wellKnownSymbol$b;
|
17425
17474
|
|
17426
17475
|
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
17427
17476
|
|
@@ -17538,7 +17587,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
17538
17587
|
} return new Result(false);
|
17539
17588
|
};
|
17540
17589
|
|
17541
|
-
var wellKnownSymbol = wellKnownSymbol$
|
17590
|
+
var wellKnownSymbol = wellKnownSymbol$b;
|
17542
17591
|
|
17543
17592
|
var ITERATOR = wellKnownSymbol('iterator');
|
17544
17593
|
var SAFE_CLOSING = false;
|
@@ -17628,8 +17677,8 @@ var $$3 = _export;
|
|
17628
17677
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
17629
17678
|
var NativePromiseConstructor = promiseNativeConstructor;
|
17630
17679
|
var getBuiltIn$1 = getBuiltIn$7;
|
17631
|
-
var isCallable = isCallable$
|
17632
|
-
var defineBuiltIn = defineBuiltIn$
|
17680
|
+
var isCallable = isCallable$i;
|
17681
|
+
var defineBuiltIn = defineBuiltIn$4;
|
17633
17682
|
|
17634
17683
|
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
17635
17684
|
|
@@ -17691,7 +17740,7 @@ $$1({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
17691
17740
|
});
|
17692
17741
|
|
17693
17742
|
var anObject = anObject$d;
|
17694
|
-
var isObject = isObject$
|
17743
|
+
var isObject = isObject$7;
|
17695
17744
|
var newPromiseCapability = newPromiseCapability$2;
|
17696
17745
|
|
17697
17746
|
var promiseResolve$1 = function (C, x) {
|
@@ -22011,66 +22060,87 @@ function customColor(source, color) {
|
|
22011
22060
|
};
|
22012
22061
|
}
|
22013
22062
|
|
22014
|
-
|
22015
|
-
|
22016
|
-
|
22017
|
-
|
22018
|
-
|
22019
|
-
|
22020
|
-
|
22021
|
-
|
22022
|
-
|
22023
|
-
|
22024
|
-
|
22025
|
-
|
22026
|
-
|
22027
|
-
|
22028
|
-
|
22029
|
-
|
22030
|
-
|
22031
|
-
|
22032
|
-
|
22033
|
-
|
22034
|
-
|
22035
|
-
|
22036
|
-
|
22037
|
-
|
22038
|
-
|
22039
|
-
|
22040
|
-
|
22041
|
-
|
22042
|
-
|
22043
|
-
|
22044
|
-
|
22045
|
-
|
22046
|
-
|
22047
|
-
|
22048
|
-
|
22049
|
-
|
22050
|
-
|
22051
|
-
|
22052
|
-
|
22053
|
-
|
22054
|
-
|
22055
|
-
|
22056
|
-
|
22057
|
-
|
22058
|
-
|
22059
|
-
|
22063
|
+
var DynamicColor = /*#__PURE__*/function () {
|
22064
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(src) {
|
22065
|
+
var imageElement, dynamicPalette, extractHctInstance, _dynamicPalette$palet, primary, secondary, _dynamicPalette$schem, dark, light, primaryMain, secondaryMain, primaryLight, primaryDark, secondaryLight, secondaryDark, primaryColor, secondaryColor, backgroundColor;
|
22066
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
22067
|
+
while (1) switch (_context.prev = _context.next) {
|
22068
|
+
case 0:
|
22069
|
+
imageElement = document.createElement("img");
|
22070
|
+
imageElement.src = src;
|
22071
|
+
_context.next = 4;
|
22072
|
+
return themeFromImage(imageElement);
|
22073
|
+
case 4:
|
22074
|
+
dynamicPalette = _context.sent;
|
22075
|
+
extractHctInstance = function extractHctInstance(color) {
|
22076
|
+
var _color$keyColor = color.keyColor,
|
22077
|
+
hue = _color$keyColor.hue,
|
22078
|
+
chroma = _color$keyColor.chroma,
|
22079
|
+
tone = _color$keyColor.tone;
|
22080
|
+
return hexFromArgb(Hct.from(hue, chroma, tone).toInt());
|
22081
|
+
};
|
22082
|
+
_dynamicPalette$palet = dynamicPalette.palettes, primary = _dynamicPalette$palet.primary, secondary = _dynamicPalette$palet.secondary;
|
22083
|
+
_dynamicPalette$schem = dynamicPalette.schemes, dark = _dynamicPalette$schem.dark, light = _dynamicPalette$schem.light;
|
22084
|
+
primaryMain = extractHctInstance(primary);
|
22085
|
+
secondaryMain = extractHctInstance(secondary);
|
22086
|
+
primaryLight = hexFromArgb(dark.primary);
|
22087
|
+
primaryDark = hexFromArgb(light.primary);
|
22088
|
+
secondaryLight = hexFromArgb(dark.secondary);
|
22089
|
+
secondaryDark = hexFromArgb(light.secondary);
|
22090
|
+
primaryColor = {
|
22091
|
+
main: primaryMain,
|
22092
|
+
light: primaryLight,
|
22093
|
+
dark: primaryDark,
|
22094
|
+
contrastText: "#ffffff"
|
22095
|
+
};
|
22096
|
+
secondaryColor = {
|
22097
|
+
main: secondaryMain,
|
22098
|
+
light: secondaryLight,
|
22099
|
+
dark: secondaryDark,
|
22100
|
+
contrastText: "#ffffff"
|
22101
|
+
};
|
22102
|
+
backgroundColor = {
|
22103
|
+
"default": alpha(primaryMain, 0.1),
|
22104
|
+
paper: "#fff"
|
22105
|
+
};
|
22106
|
+
return _context.abrupt("return", {
|
22107
|
+
primaryColor: primaryColor,
|
22108
|
+
secondaryColor: secondaryColor,
|
22109
|
+
backgroundColor: backgroundColor
|
22110
|
+
});
|
22111
|
+
case 18:
|
22112
|
+
case "end":
|
22113
|
+
return _context.stop();
|
22114
|
+
}
|
22115
|
+
}, _callee);
|
22116
|
+
}));
|
22117
|
+
return function DynamicColor(_x) {
|
22118
|
+
return _ref.apply(this, arguments);
|
22060
22119
|
};
|
22061
|
-
};
|
22120
|
+
}();
|
22062
22121
|
|
22063
|
-
|
22064
|
-
|
22065
|
-
|
22066
|
-
|
22067
|
-
|
22068
|
-
|
22069
|
-
|
22070
|
-
|
22071
|
-
|
22072
|
-
|
22073
|
-
|
22122
|
+
var useDynamicColor = function useDynamicColor(url) {
|
22123
|
+
var _useState = useState(SincoTheme.palette.primary),
|
22124
|
+
_useState2 = _slicedToArray(_useState, 2),
|
22125
|
+
primary = _useState2[0],
|
22126
|
+
setPrimary = _useState2[1];
|
22127
|
+
var _useState3 = useState(SincoTheme.palette.secondary),
|
22128
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
22129
|
+
secondary = _useState4[0],
|
22130
|
+
setSecondary = _useState4[1];
|
22131
|
+
var _useState5 = useState(SincoTheme.palette.background),
|
22132
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
22133
|
+
background = _useState6[0],
|
22134
|
+
setBackground = _useState6[1];
|
22135
|
+
var _useState7 = useState(false),
|
22136
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
22137
|
+
loading = _useState8[0],
|
22138
|
+
setLoading = _useState8[1];
|
22139
|
+
useEffect(function () {
|
22140
|
+
DynamicColor(url).then(function (_ref) {
|
22141
|
+
var primaryColor = _ref.primaryColor,
|
22142
|
+
secondaryColor = _ref.secondaryColor,
|
22143
|
+
backgroundColor = _ref.backgroundColor;
|
22074
22144
|
setPrimary(primaryColor);
|
22075
22145
|
setSecondary(secondaryColor);
|
22076
22146
|
setBackground(backgroundColor);
|
@@ -22081,7 +22151,7 @@ const useDynamicColor = url => {
|
|
22081
22151
|
SincoTheme.palette.secondary = secondary;
|
22082
22152
|
SincoTheme.palette.background = background;
|
22083
22153
|
return {
|
22084
|
-
loading
|
22154
|
+
loading: loading
|
22085
22155
|
};
|
22086
22156
|
};
|
22087
22157
|
|