@sinco/react 1.0.15-rc.0 → 1.0.15-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +902 -829
- 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)
|
|
@@ -8887,8 +8887,8 @@ function createShadow(...px) {
|
|
|
8887
8887
|
}
|
|
8888
8888
|
|
|
8889
8889
|
// Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss
|
|
8890
|
-
const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
|
|
8891
|
-
var shadows$
|
|
8890
|
+
const shadows$1 = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
|
|
8891
|
+
var shadows$2 = shadows$1;
|
|
8892
8892
|
|
|
8893
8893
|
const _excluded$i = ["duration", "easing", "delay"];
|
|
8894
8894
|
// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
|
|
@@ -9010,7 +9010,7 @@ Please use another name.` : formatMuiErrorMessage(18));
|
|
|
9010
9010
|
mixins: createMixins(systemTheme.breakpoints, mixinsInput),
|
|
9011
9011
|
palette,
|
|
9012
9012
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
9013
|
-
shadows: shadows$
|
|
9013
|
+
shadows: shadows$2.slice(),
|
|
9014
9014
|
typography: createTypography(palette, typographyInput),
|
|
9015
9015
|
transitions: createTransitions(transitionsInput),
|
|
9016
9016
|
zIndex: _extends({}, zIndex$1)
|
|
@@ -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,33 +10577,36 @@ const typography = {
|
|
|
10170
10577
|
}
|
|
10171
10578
|
};
|
|
10172
10579
|
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10176
|
-
|
|
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)"];
|
|
10581
|
+
|
|
10582
|
+
var themeOptions = {
|
|
10583
|
+
components: components,
|
|
10584
|
+
typography: typography,
|
|
10585
|
+
palette: palette,
|
|
10177
10586
|
spacing: 8,
|
|
10178
|
-
mixins,
|
|
10179
|
-
breakpoints
|
|
10587
|
+
mixins: mixins,
|
|
10588
|
+
breakpoints: breakpoints,
|
|
10589
|
+
shadows: shadows
|
|
10180
10590
|
};
|
|
10181
10591
|
|
|
10182
|
-
|
|
10592
|
+
var SincoTheme = createTheme(Object.assign({}, themeOptions));
|
|
10183
10593
|
|
|
10184
|
-
var wellKnownSymbol$
|
|
10594
|
+
var wellKnownSymbol$9 = wellKnownSymbol$b;
|
|
10185
10595
|
|
|
10186
|
-
var TO_STRING_TAG$
|
|
10596
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$9('toStringTag');
|
|
10187
10597
|
var test = {};
|
|
10188
10598
|
|
|
10189
|
-
test[TO_STRING_TAG$
|
|
10599
|
+
test[TO_STRING_TAG$2] = 'z';
|
|
10190
10600
|
|
|
10191
10601
|
var toStringTagSupport = String(test) === '[object z]';
|
|
10192
10602
|
|
|
10193
10603
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
10194
|
-
var isCallable$
|
|
10604
|
+
var isCallable$7 = isCallable$i;
|
|
10195
10605
|
var classofRaw$1 = classofRaw$2;
|
|
10196
|
-
var wellKnownSymbol$
|
|
10606
|
+
var wellKnownSymbol$8 = wellKnownSymbol$b;
|
|
10197
10607
|
|
|
10198
|
-
var TO_STRING_TAG$
|
|
10199
|
-
var $Object
|
|
10608
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$8('toStringTag');
|
|
10609
|
+
var $Object = Object;
|
|
10200
10610
|
|
|
10201
10611
|
// ES3 wrong here
|
|
10202
10612
|
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';
|
|
@@ -10213,11 +10623,11 @@ var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
10213
10623
|
var O, tag, result;
|
|
10214
10624
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
10215
10625
|
// @@toStringTag case
|
|
10216
|
-
: typeof (tag = tryGet(O = $Object
|
|
10626
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$1)) == 'string' ? tag
|
|
10217
10627
|
// builtinTag case
|
|
10218
10628
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
10219
10629
|
// ES3 arguments fallback
|
|
10220
|
-
: (result = classofRaw$1(O)) == 'Object' && isCallable$
|
|
10630
|
+
: (result = classofRaw$1(O)) == 'Object' && isCallable$7(O.callee) ? 'Arguments' : result;
|
|
10221
10631
|
};
|
|
10222
10632
|
|
|
10223
10633
|
var classof$4 = classof$5;
|
|
@@ -10247,13 +10657,13 @@ var regexpFlags$1 = function () {
|
|
|
10247
10657
|
return result;
|
|
10248
10658
|
};
|
|
10249
10659
|
|
|
10250
|
-
var fails$
|
|
10251
|
-
var global$
|
|
10660
|
+
var fails$5 = fails$f;
|
|
10661
|
+
var global$8 = global$j;
|
|
10252
10662
|
|
|
10253
10663
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
10254
|
-
var $RegExp$2 = global$
|
|
10664
|
+
var $RegExp$2 = global$8.RegExp;
|
|
10255
10665
|
|
|
10256
|
-
var UNSUPPORTED_Y$1 = fails$
|
|
10666
|
+
var UNSUPPORTED_Y$1 = fails$5(function () {
|
|
10257
10667
|
var re = $RegExp$2('a', 'y');
|
|
10258
10668
|
re.lastIndex = 2;
|
|
10259
10669
|
return re.exec('abcd') != null;
|
|
@@ -10261,11 +10671,11 @@ var UNSUPPORTED_Y$1 = fails$7(function () {
|
|
|
10261
10671
|
|
|
10262
10672
|
// UC Browser bug
|
|
10263
10673
|
// https://github.com/zloirock/core-js/issues/1008
|
|
10264
|
-
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$
|
|
10674
|
+
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$5(function () {
|
|
10265
10675
|
return !$RegExp$2('a', 'y').sticky;
|
|
10266
10676
|
});
|
|
10267
10677
|
|
|
10268
|
-
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$
|
|
10678
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$5(function () {
|
|
10269
10679
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
10270
10680
|
var re = $RegExp$2('^r', 'gy');
|
|
10271
10681
|
re.lastIndex = 2;
|
|
@@ -10280,19 +10690,19 @@ var regexpStickyHelpers = {
|
|
|
10280
10690
|
|
|
10281
10691
|
var objectDefineProperties = {};
|
|
10282
10692
|
|
|
10283
|
-
var DESCRIPTORS$
|
|
10693
|
+
var DESCRIPTORS$1 = descriptors;
|
|
10284
10694
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
10285
10695
|
var definePropertyModule = objectDefineProperty;
|
|
10286
10696
|
var anObject$9 = anObject$d;
|
|
10287
|
-
var toIndexedObject
|
|
10697
|
+
var toIndexedObject = toIndexedObject$4;
|
|
10288
10698
|
var objectKeys = objectKeys$2;
|
|
10289
10699
|
|
|
10290
10700
|
// `Object.defineProperties` method
|
|
10291
10701
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
10292
10702
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
10293
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
10703
|
+
objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
10294
10704
|
anObject$9(O);
|
|
10295
|
-
var props = toIndexedObject
|
|
10705
|
+
var props = toIndexedObject(Properties);
|
|
10296
10706
|
var keys = objectKeys(Properties);
|
|
10297
10707
|
var length = keys.length;
|
|
10298
10708
|
var index = 0;
|
|
@@ -10312,14 +10722,14 @@ var definePropertiesModule = objectDefineProperties;
|
|
|
10312
10722
|
var enumBugKeys = enumBugKeys$3;
|
|
10313
10723
|
var hiddenKeys = hiddenKeys$4;
|
|
10314
10724
|
var html$1 = html$2;
|
|
10315
|
-
var documentCreateElement
|
|
10316
|
-
var sharedKey
|
|
10725
|
+
var documentCreateElement = documentCreateElement$1;
|
|
10726
|
+
var sharedKey = sharedKey$2;
|
|
10317
10727
|
|
|
10318
10728
|
var GT = '>';
|
|
10319
10729
|
var LT = '<';
|
|
10320
10730
|
var PROTOTYPE = 'prototype';
|
|
10321
10731
|
var SCRIPT = 'script';
|
|
10322
|
-
var IE_PROTO
|
|
10732
|
+
var IE_PROTO = sharedKey('IE_PROTO');
|
|
10323
10733
|
|
|
10324
10734
|
var EmptyConstructor = function () { /* empty */ };
|
|
10325
10735
|
|
|
@@ -10339,7 +10749,7 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
|
10339
10749
|
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
10340
10750
|
var NullProtoObjectViaIFrame = function () {
|
|
10341
10751
|
// Thrash, waste and sodomy: IE GC bug
|
|
10342
|
-
var iframe = documentCreateElement
|
|
10752
|
+
var iframe = documentCreateElement('iframe');
|
|
10343
10753
|
var JS = 'java' + SCRIPT + ':';
|
|
10344
10754
|
var iframeDocument;
|
|
10345
10755
|
iframe.style.display = 'none';
|
|
@@ -10373,7 +10783,7 @@ var NullProtoObject = function () {
|
|
|
10373
10783
|
return NullProtoObject();
|
|
10374
10784
|
};
|
|
10375
10785
|
|
|
10376
|
-
hiddenKeys[IE_PROTO
|
|
10786
|
+
hiddenKeys[IE_PROTO] = true;
|
|
10377
10787
|
|
|
10378
10788
|
// `Object.create` method
|
|
10379
10789
|
// https://tc39.es/ecma262/#sec-object.create
|
|
@@ -10385,29 +10795,29 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
10385
10795
|
result = new EmptyConstructor();
|
|
10386
10796
|
EmptyConstructor[PROTOTYPE] = null;
|
|
10387
10797
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
10388
|
-
result[IE_PROTO
|
|
10798
|
+
result[IE_PROTO] = O;
|
|
10389
10799
|
} else result = NullProtoObject();
|
|
10390
10800
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
10391
10801
|
};
|
|
10392
10802
|
|
|
10393
|
-
var fails$
|
|
10394
|
-
var global$
|
|
10803
|
+
var fails$4 = fails$f;
|
|
10804
|
+
var global$7 = global$j;
|
|
10395
10805
|
|
|
10396
10806
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
10397
|
-
var $RegExp$1 = global$
|
|
10807
|
+
var $RegExp$1 = global$7.RegExp;
|
|
10398
10808
|
|
|
10399
|
-
var regexpUnsupportedDotAll = fails$
|
|
10809
|
+
var regexpUnsupportedDotAll = fails$4(function () {
|
|
10400
10810
|
var re = $RegExp$1('.', 's');
|
|
10401
10811
|
return !(re.dotAll && re.exec('\n') && re.flags === 's');
|
|
10402
10812
|
});
|
|
10403
10813
|
|
|
10404
|
-
var fails$
|
|
10405
|
-
var global$
|
|
10814
|
+
var fails$3 = fails$f;
|
|
10815
|
+
var global$6 = global$j;
|
|
10406
10816
|
|
|
10407
10817
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
10408
|
-
var $RegExp = global$
|
|
10818
|
+
var $RegExp = global$6.RegExp;
|
|
10409
10819
|
|
|
10410
|
-
var regexpUnsupportedNcg = fails$
|
|
10820
|
+
var regexpUnsupportedNcg = fails$3(function () {
|
|
10411
10821
|
var re = $RegExp('(?<a>b)', 'g');
|
|
10412
10822
|
return re.exec('b').groups.a !== 'b' ||
|
|
10413
10823
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -10415,14 +10825,14 @@ var regexpUnsupportedNcg = fails$5(function () {
|
|
|
10415
10825
|
|
|
10416
10826
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
10417
10827
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
10418
|
-
var call$
|
|
10828
|
+
var call$a = functionCall;
|
|
10419
10829
|
var uncurryThis$6 = functionUncurryThis;
|
|
10420
10830
|
var toString$1 = toString$2;
|
|
10421
10831
|
var regexpFlags = regexpFlags$1;
|
|
10422
10832
|
var stickyHelpers = regexpStickyHelpers;
|
|
10423
10833
|
var shared = shared$4.exports;
|
|
10424
|
-
var create
|
|
10425
|
-
var getInternalState
|
|
10834
|
+
var create = objectCreate;
|
|
10835
|
+
var getInternalState = internalState.get;
|
|
10426
10836
|
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
10427
10837
|
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
10428
10838
|
|
|
@@ -10437,8 +10847,8 @@ var stringSlice = uncurryThis$6(''.slice);
|
|
|
10437
10847
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
10438
10848
|
var re1 = /a/;
|
|
10439
10849
|
var re2 = /b*/g;
|
|
10440
|
-
call$
|
|
10441
|
-
call$
|
|
10850
|
+
call$a(nativeExec, re1, 'a');
|
|
10851
|
+
call$a(nativeExec, re2, 'a');
|
|
10442
10852
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
10443
10853
|
})();
|
|
10444
10854
|
|
|
@@ -10452,21 +10862,21 @@ var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPP
|
|
|
10452
10862
|
if (PATCH) {
|
|
10453
10863
|
patchedExec = function exec(string) {
|
|
10454
10864
|
var re = this;
|
|
10455
|
-
var state = getInternalState
|
|
10865
|
+
var state = getInternalState(re);
|
|
10456
10866
|
var str = toString$1(string);
|
|
10457
10867
|
var raw = state.raw;
|
|
10458
10868
|
var result, reCopy, lastIndex, match, i, object, group;
|
|
10459
10869
|
|
|
10460
10870
|
if (raw) {
|
|
10461
10871
|
raw.lastIndex = re.lastIndex;
|
|
10462
|
-
result = call$
|
|
10872
|
+
result = call$a(patchedExec, raw, str);
|
|
10463
10873
|
re.lastIndex = raw.lastIndex;
|
|
10464
10874
|
return result;
|
|
10465
10875
|
}
|
|
10466
10876
|
|
|
10467
10877
|
var groups = state.groups;
|
|
10468
10878
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
10469
|
-
var flags = call$
|
|
10879
|
+
var flags = call$a(regexpFlags, re);
|
|
10470
10880
|
var source = re.source;
|
|
10471
10881
|
var charsAdded = 0;
|
|
10472
10882
|
var strCopy = str;
|
|
@@ -10494,7 +10904,7 @@ if (PATCH) {
|
|
|
10494
10904
|
}
|
|
10495
10905
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
10496
10906
|
|
|
10497
|
-
match = call$
|
|
10907
|
+
match = call$a(nativeExec, sticky ? reCopy : re, strCopy);
|
|
10498
10908
|
|
|
10499
10909
|
if (sticky) {
|
|
10500
10910
|
if (match) {
|
|
@@ -10509,7 +10919,7 @@ if (PATCH) {
|
|
|
10509
10919
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
10510
10920
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
10511
10921
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
10512
|
-
call$
|
|
10922
|
+
call$a(nativeReplace, match[0], reCopy, function () {
|
|
10513
10923
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
10514
10924
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
10515
10925
|
}
|
|
@@ -10517,7 +10927,7 @@ if (PATCH) {
|
|
|
10517
10927
|
}
|
|
10518
10928
|
|
|
10519
10929
|
if (match && groups) {
|
|
10520
|
-
match.groups = object = create
|
|
10930
|
+
match.groups = object = create(null);
|
|
10521
10931
|
for (i = 0; i < groups.length; i++) {
|
|
10522
10932
|
group = groups[i];
|
|
10523
10933
|
object[group[0]] = match[group[1]];
|
|
@@ -10530,12 +10940,12 @@ if (PATCH) {
|
|
|
10530
10940
|
|
|
10531
10941
|
var regexpExec$2 = patchedExec;
|
|
10532
10942
|
|
|
10533
|
-
var $$
|
|
10943
|
+
var $$6 = _export;
|
|
10534
10944
|
var exec$1 = regexpExec$2;
|
|
10535
10945
|
|
|
10536
10946
|
// `RegExp.prototype.exec` method
|
|
10537
10947
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
10538
|
-
$$
|
|
10948
|
+
$$6({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
|
|
10539
10949
|
exec: exec$1
|
|
10540
10950
|
});
|
|
10541
10951
|
|
|
@@ -10552,26 +10962,26 @@ var functionUncurryThisClause = function (fn) {
|
|
|
10552
10962
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
10553
10963
|
|
|
10554
10964
|
var uncurryThis$4 = functionUncurryThisClause;
|
|
10555
|
-
var defineBuiltIn$
|
|
10965
|
+
var defineBuiltIn$2 = defineBuiltIn$4;
|
|
10556
10966
|
var regexpExec$1 = regexpExec$2;
|
|
10557
|
-
var fails$
|
|
10558
|
-
var wellKnownSymbol$
|
|
10559
|
-
var createNonEnumerableProperty
|
|
10967
|
+
var fails$2 = fails$f;
|
|
10968
|
+
var wellKnownSymbol$7 = wellKnownSymbol$b;
|
|
10969
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
|
10560
10970
|
|
|
10561
|
-
var SPECIES$3 = wellKnownSymbol$
|
|
10971
|
+
var SPECIES$3 = wellKnownSymbol$7('species');
|
|
10562
10972
|
var RegExpPrototype = RegExp.prototype;
|
|
10563
10973
|
|
|
10564
10974
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
10565
|
-
var SYMBOL = wellKnownSymbol$
|
|
10975
|
+
var SYMBOL = wellKnownSymbol$7(KEY);
|
|
10566
10976
|
|
|
10567
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
10977
|
+
var DELEGATES_TO_SYMBOL = !fails$2(function () {
|
|
10568
10978
|
// String methods call symbol-named RegEp methods
|
|
10569
10979
|
var O = {};
|
|
10570
10980
|
O[SYMBOL] = function () { return 7; };
|
|
10571
10981
|
return ''[KEY](O) != 7;
|
|
10572
10982
|
});
|
|
10573
10983
|
|
|
10574
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
10984
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$2(function () {
|
|
10575
10985
|
// Symbol-named RegExp methods call .exec
|
|
10576
10986
|
var execCalled = false;
|
|
10577
10987
|
var re = /a/;
|
|
@@ -10616,11 +11026,11 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
10616
11026
|
return { done: false };
|
|
10617
11027
|
});
|
|
10618
11028
|
|
|
10619
|
-
defineBuiltIn$
|
|
10620
|
-
defineBuiltIn$
|
|
11029
|
+
defineBuiltIn$2(String.prototype, KEY, methods[0]);
|
|
11030
|
+
defineBuiltIn$2(RegExpPrototype, SYMBOL, methods[1]);
|
|
10621
11031
|
}
|
|
10622
11032
|
|
|
10623
|
-
if (SHAM) createNonEnumerableProperty
|
|
11033
|
+
if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
|
|
10624
11034
|
};
|
|
10625
11035
|
|
|
10626
11036
|
// `SameValue` abstract operation
|
|
@@ -10631,9 +11041,9 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
10631
11041
|
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
|
10632
11042
|
};
|
|
10633
11043
|
|
|
10634
|
-
var call$
|
|
11044
|
+
var call$9 = functionCall;
|
|
10635
11045
|
var anObject$7 = anObject$d;
|
|
10636
|
-
var isCallable$
|
|
11046
|
+
var isCallable$6 = isCallable$i;
|
|
10637
11047
|
var classof$3 = classofRaw$2;
|
|
10638
11048
|
var regexpExec = regexpExec$2;
|
|
10639
11049
|
|
|
@@ -10643,16 +11053,16 @@ var $TypeError$7 = TypeError;
|
|
|
10643
11053
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
10644
11054
|
var regexpExecAbstract = function (R, S) {
|
|
10645
11055
|
var exec = R.exec;
|
|
10646
|
-
if (isCallable$
|
|
10647
|
-
var result = call$
|
|
11056
|
+
if (isCallable$6(exec)) {
|
|
11057
|
+
var result = call$9(exec, R, S);
|
|
10648
11058
|
if (result !== null) anObject$7(result);
|
|
10649
11059
|
return result;
|
|
10650
11060
|
}
|
|
10651
|
-
if (classof$3(R) === 'RegExp') return call$
|
|
11061
|
+
if (classof$3(R) === 'RegExp') return call$9(regexpExec, R, S);
|
|
10652
11062
|
throw $TypeError$7('RegExp#exec called on incompatible receiver');
|
|
10653
11063
|
};
|
|
10654
11064
|
|
|
10655
|
-
var call$
|
|
11065
|
+
var call$8 = functionCall;
|
|
10656
11066
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
10657
11067
|
var anObject$6 = anObject$d;
|
|
10658
11068
|
var isNullOrUndefined$2 = isNullOrUndefined$5;
|
|
@@ -10670,7 +11080,7 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
|
|
|
10670
11080
|
function search(regexp) {
|
|
10671
11081
|
var O = requireObjectCoercible(this);
|
|
10672
11082
|
var searcher = isNullOrUndefined$2(regexp) ? undefined : getMethod$2(regexp, SEARCH);
|
|
10673
|
-
return searcher ? call$
|
|
11083
|
+
return searcher ? call$8(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
|
|
10674
11084
|
},
|
|
10675
11085
|
// `RegExp.prototype[@@search]` method
|
|
10676
11086
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
|
@@ -11496,7 +11906,7 @@ function getNextChildMapping(nextProps, prevChildMapping, onExited) {
|
|
|
11496
11906
|
return children;
|
|
11497
11907
|
}
|
|
11498
11908
|
|
|
11499
|
-
var values
|
|
11909
|
+
var values = Object.values || function (obj) {
|
|
11500
11910
|
return Object.keys(obj).map(function (k) {
|
|
11501
11911
|
return obj[k];
|
|
11502
11912
|
});
|
|
@@ -11597,7 +12007,7 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
|
|
|
11597
12007
|
props = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
|
|
11598
12008
|
|
|
11599
12009
|
var contextValue = this.state.contextValue;
|
|
11600
|
-
var children = values
|
|
12010
|
+
var children = values(this.state.children).map(childFactory);
|
|
11601
12011
|
delete props.appear;
|
|
11602
12012
|
delete props.enter;
|
|
11603
12013
|
delete props.exit;
|
|
@@ -15965,12 +16375,12 @@ var EmptyStateImageUrls;
|
|
|
15965
16375
|
EmptyStateImageUrls["noResult"] = "noResult";
|
|
15966
16376
|
EmptyStateImageUrls["create"] = "create";
|
|
15967
16377
|
})(EmptyStateImageUrls || (EmptyStateImageUrls = {}));
|
|
15968
|
-
|
|
15969
|
-
state
|
|
15970
|
-
|
|
15971
|
-
|
|
15972
|
-
|
|
15973
|
-
|
|
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;
|
|
15974
16384
|
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
15975
16385
|
theme: SincoTheme
|
|
15976
16386
|
}, /*#__PURE__*/React__default.createElement(Card$1, {
|
|
@@ -15989,7 +16399,7 @@ const EmptyStateComponent = ({
|
|
|
15989
16399
|
height: 187
|
|
15990
16400
|
}
|
|
15991
16401
|
}, /*#__PURE__*/React__default.createElement("use", {
|
|
15992
|
-
xlinkHref:
|
|
16402
|
+
xlinkHref: "".concat(sincoIconos, "#").concat(EmptyStateImageUrls[state])
|
|
15993
16403
|
})), /*#__PURE__*/React__default.createElement(Stack$1, {
|
|
15994
16404
|
direction: "column",
|
|
15995
16405
|
spacing: 2
|
|
@@ -16000,437 +16410,13 @@ const EmptyStateComponent = ({
|
|
|
16000
16410
|
variant: "body1",
|
|
16001
16411
|
textAlign: "center",
|
|
16002
16412
|
color: "text.secondary"
|
|
16003
|
-
}, content),
|
|
16413
|
+
}, content), state === 'create' && actions && /*#__PURE__*/React__default.createElement(Stack$1, {
|
|
16004
16414
|
direction: "row",
|
|
16005
16415
|
spacing: 2,
|
|
16006
16416
|
justifyContent: "center"
|
|
16007
16417
|
}, actions)))));
|
|
16008
16418
|
};
|
|
16009
16419
|
|
|
16010
|
-
var wellKnownSymbol$a = wellKnownSymbol$f;
|
|
16011
|
-
var create$1 = objectCreate;
|
|
16012
|
-
var defineProperty$3 = objectDefineProperty.f;
|
|
16013
|
-
|
|
16014
|
-
var UNSCOPABLES = wellKnownSymbol$a('unscopables');
|
|
16015
|
-
var ArrayPrototype$1 = Array.prototype;
|
|
16016
|
-
|
|
16017
|
-
// Array.prototype[@@unscopables]
|
|
16018
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
16019
|
-
if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
|
|
16020
|
-
defineProperty$3(ArrayPrototype$1, UNSCOPABLES, {
|
|
16021
|
-
configurable: true,
|
|
16022
|
-
value: create$1(null)
|
|
16023
|
-
});
|
|
16024
|
-
}
|
|
16025
|
-
|
|
16026
|
-
// add a key to Array.prototype[@@unscopables]
|
|
16027
|
-
var addToUnscopables$1 = function (key) {
|
|
16028
|
-
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
16029
|
-
};
|
|
16030
|
-
|
|
16031
|
-
var iterators = {};
|
|
16032
|
-
|
|
16033
|
-
var fails$3 = fails$h;
|
|
16034
|
-
|
|
16035
|
-
var correctPrototypeGetter = !fails$3(function () {
|
|
16036
|
-
function F() { /* empty */ }
|
|
16037
|
-
F.prototype.constructor = null;
|
|
16038
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
16039
|
-
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
16040
|
-
});
|
|
16041
|
-
|
|
16042
|
-
var hasOwn$2 = hasOwnProperty_1;
|
|
16043
|
-
var isCallable$8 = isCallable$l;
|
|
16044
|
-
var toObject = toObject$4;
|
|
16045
|
-
var sharedKey = sharedKey$3;
|
|
16046
|
-
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
16047
|
-
|
|
16048
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
|
16049
|
-
var $Object = Object;
|
|
16050
|
-
var ObjectPrototype = $Object.prototype;
|
|
16051
|
-
|
|
16052
|
-
// `Object.getPrototypeOf` method
|
|
16053
|
-
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
16054
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
16055
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
16056
|
-
var object = toObject(O);
|
|
16057
|
-
if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
|
|
16058
|
-
var constructor = object.constructor;
|
|
16059
|
-
if (isCallable$8(constructor) && object instanceof constructor) {
|
|
16060
|
-
return constructor.prototype;
|
|
16061
|
-
} return object instanceof $Object ? ObjectPrototype : null;
|
|
16062
|
-
};
|
|
16063
|
-
|
|
16064
|
-
var fails$2 = fails$h;
|
|
16065
|
-
var isCallable$7 = isCallable$l;
|
|
16066
|
-
var isObject$2 = isObject$8;
|
|
16067
|
-
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
16068
|
-
var defineBuiltIn$3 = defineBuiltIn$6;
|
|
16069
|
-
var wellKnownSymbol$9 = wellKnownSymbol$f;
|
|
16070
|
-
|
|
16071
|
-
var ITERATOR$5 = wellKnownSymbol$9('iterator');
|
|
16072
|
-
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
16073
|
-
|
|
16074
|
-
// `%IteratorPrototype%` object
|
|
16075
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
16076
|
-
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
16077
|
-
|
|
16078
|
-
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
16079
|
-
if ([].keys) {
|
|
16080
|
-
arrayIterator = [].keys();
|
|
16081
|
-
// Safari 8 has buggy iterators w/o `next`
|
|
16082
|
-
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
16083
|
-
else {
|
|
16084
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
|
|
16085
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
|
|
16086
|
-
}
|
|
16087
|
-
}
|
|
16088
|
-
|
|
16089
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$2(function () {
|
|
16090
|
-
var test = {};
|
|
16091
|
-
// FF44- legacy iterators case
|
|
16092
|
-
return IteratorPrototype$2[ITERATOR$5].call(test) !== test;
|
|
16093
|
-
});
|
|
16094
|
-
|
|
16095
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
16096
|
-
|
|
16097
|
-
// `%IteratorPrototype%[@@iterator]()` method
|
|
16098
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
16099
|
-
if (!isCallable$7(IteratorPrototype$2[ITERATOR$5])) {
|
|
16100
|
-
defineBuiltIn$3(IteratorPrototype$2, ITERATOR$5, function () {
|
|
16101
|
-
return this;
|
|
16102
|
-
});
|
|
16103
|
-
}
|
|
16104
|
-
|
|
16105
|
-
var iteratorsCore = {
|
|
16106
|
-
IteratorPrototype: IteratorPrototype$2,
|
|
16107
|
-
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
16108
|
-
};
|
|
16109
|
-
|
|
16110
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
16111
|
-
var hasOwn$1 = hasOwnProperty_1;
|
|
16112
|
-
var wellKnownSymbol$8 = wellKnownSymbol$f;
|
|
16113
|
-
|
|
16114
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$8('toStringTag');
|
|
16115
|
-
|
|
16116
|
-
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
16117
|
-
if (target && !STATIC) target = target.prototype;
|
|
16118
|
-
if (target && !hasOwn$1(target, TO_STRING_TAG$1)) {
|
|
16119
|
-
defineProperty$2(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
|
|
16120
|
-
}
|
|
16121
|
-
};
|
|
16122
|
-
|
|
16123
|
-
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
16124
|
-
var create = objectCreate;
|
|
16125
|
-
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
16126
|
-
var setToStringTag$2 = setToStringTag$3;
|
|
16127
|
-
var Iterators$4 = iterators;
|
|
16128
|
-
|
|
16129
|
-
var returnThis$1 = function () { return this; };
|
|
16130
|
-
|
|
16131
|
-
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
16132
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
16133
|
-
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
16134
|
-
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
16135
|
-
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
16136
|
-
return IteratorConstructor;
|
|
16137
|
-
};
|
|
16138
|
-
|
|
16139
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
16140
|
-
var aCallable$6 = aCallable$8;
|
|
16141
|
-
|
|
16142
|
-
var functionUncurryThisAccessor = function (object, key, method) {
|
|
16143
|
-
try {
|
|
16144
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
16145
|
-
return uncurryThis$3(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
16146
|
-
} catch (error) { /* empty */ }
|
|
16147
|
-
};
|
|
16148
|
-
|
|
16149
|
-
var isCallable$6 = isCallable$l;
|
|
16150
|
-
|
|
16151
|
-
var $String = String;
|
|
16152
|
-
var $TypeError$6 = TypeError;
|
|
16153
|
-
|
|
16154
|
-
var aPossiblePrototype$1 = function (argument) {
|
|
16155
|
-
if (typeof argument == 'object' || isCallable$6(argument)) return argument;
|
|
16156
|
-
throw $TypeError$6("Can't set " + $String(argument) + ' as a prototype');
|
|
16157
|
-
};
|
|
16158
|
-
|
|
16159
|
-
/* eslint-disable no-proto -- safe */
|
|
16160
|
-
|
|
16161
|
-
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
16162
|
-
var anObject$5 = anObject$d;
|
|
16163
|
-
var aPossiblePrototype = aPossiblePrototype$1;
|
|
16164
|
-
|
|
16165
|
-
// `Object.setPrototypeOf` method
|
|
16166
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
16167
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
16168
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
16169
|
-
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
16170
|
-
var CORRECT_SETTER = false;
|
|
16171
|
-
var test = {};
|
|
16172
|
-
var setter;
|
|
16173
|
-
try {
|
|
16174
|
-
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
16175
|
-
setter(test, []);
|
|
16176
|
-
CORRECT_SETTER = test instanceof Array;
|
|
16177
|
-
} catch (error) { /* empty */ }
|
|
16178
|
-
return function setPrototypeOf(O, proto) {
|
|
16179
|
-
anObject$5(O);
|
|
16180
|
-
aPossiblePrototype(proto);
|
|
16181
|
-
if (CORRECT_SETTER) setter(O, proto);
|
|
16182
|
-
else O.__proto__ = proto;
|
|
16183
|
-
return O;
|
|
16184
|
-
};
|
|
16185
|
-
}() : undefined);
|
|
16186
|
-
|
|
16187
|
-
var $$6 = _export;
|
|
16188
|
-
var call$8 = functionCall;
|
|
16189
|
-
var FunctionName = functionName;
|
|
16190
|
-
var isCallable$5 = isCallable$l;
|
|
16191
|
-
var createIteratorConstructor = iteratorCreateConstructor;
|
|
16192
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
16193
|
-
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
16194
|
-
var setToStringTag$1 = setToStringTag$3;
|
|
16195
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
|
|
16196
|
-
var defineBuiltIn$2 = defineBuiltIn$6;
|
|
16197
|
-
var wellKnownSymbol$7 = wellKnownSymbol$f;
|
|
16198
|
-
var Iterators$3 = iterators;
|
|
16199
|
-
var IteratorsCore = iteratorsCore;
|
|
16200
|
-
|
|
16201
|
-
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
16202
|
-
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
16203
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
16204
|
-
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
16205
|
-
var ITERATOR$4 = wellKnownSymbol$7('iterator');
|
|
16206
|
-
var KEYS = 'keys';
|
|
16207
|
-
var VALUES = 'values';
|
|
16208
|
-
var ENTRIES = 'entries';
|
|
16209
|
-
|
|
16210
|
-
var returnThis = function () { return this; };
|
|
16211
|
-
|
|
16212
|
-
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
16213
|
-
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
16214
|
-
|
|
16215
|
-
var getIterationMethod = function (KIND) {
|
|
16216
|
-
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
16217
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
16218
|
-
switch (KIND) {
|
|
16219
|
-
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
16220
|
-
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
16221
|
-
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
16222
|
-
} return function () { return new IteratorConstructor(this); };
|
|
16223
|
-
};
|
|
16224
|
-
|
|
16225
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
16226
|
-
var INCORRECT_VALUES_NAME = false;
|
|
16227
|
-
var IterablePrototype = Iterable.prototype;
|
|
16228
|
-
var nativeIterator = IterablePrototype[ITERATOR$4]
|
|
16229
|
-
|| IterablePrototype['@@iterator']
|
|
16230
|
-
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
16231
|
-
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
16232
|
-
var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
16233
|
-
var CurrentIteratorPrototype, methods, KEY;
|
|
16234
|
-
|
|
16235
|
-
// fix native
|
|
16236
|
-
if (anyNativeIterator) {
|
|
16237
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
16238
|
-
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
16239
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
16240
|
-
if (setPrototypeOf$1) {
|
|
16241
|
-
setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype);
|
|
16242
|
-
} else if (!isCallable$5(CurrentIteratorPrototype[ITERATOR$4])) {
|
|
16243
|
-
defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$4, returnThis);
|
|
16244
|
-
}
|
|
16245
|
-
}
|
|
16246
|
-
// Set @@toStringTag to native iterators
|
|
16247
|
-
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
16248
|
-
}
|
|
16249
|
-
}
|
|
16250
|
-
|
|
16251
|
-
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
16252
|
-
if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
16253
|
-
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
16254
|
-
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
16255
|
-
} else {
|
|
16256
|
-
INCORRECT_VALUES_NAME = true;
|
|
16257
|
-
defaultIterator = function values() { return call$8(nativeIterator, this); };
|
|
16258
|
-
}
|
|
16259
|
-
}
|
|
16260
|
-
|
|
16261
|
-
// export additional methods
|
|
16262
|
-
if (DEFAULT) {
|
|
16263
|
-
methods = {
|
|
16264
|
-
values: getIterationMethod(VALUES),
|
|
16265
|
-
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
16266
|
-
entries: getIterationMethod(ENTRIES)
|
|
16267
|
-
};
|
|
16268
|
-
if (FORCED) for (KEY in methods) {
|
|
16269
|
-
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
16270
|
-
defineBuiltIn$2(IterablePrototype, KEY, methods[KEY]);
|
|
16271
|
-
}
|
|
16272
|
-
} else $$6({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
16273
|
-
}
|
|
16274
|
-
|
|
16275
|
-
// define iterator
|
|
16276
|
-
if (IterablePrototype[ITERATOR$4] !== defaultIterator) {
|
|
16277
|
-
defineBuiltIn$2(IterablePrototype, ITERATOR$4, defaultIterator, { name: DEFAULT });
|
|
16278
|
-
}
|
|
16279
|
-
Iterators$3[NAME] = defaultIterator;
|
|
16280
|
-
|
|
16281
|
-
return methods;
|
|
16282
|
-
};
|
|
16283
|
-
|
|
16284
|
-
// `CreateIterResultObject` abstract operation
|
|
16285
|
-
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
16286
|
-
var createIterResultObject$1 = function (value, done) {
|
|
16287
|
-
return { value: value, done: done };
|
|
16288
|
-
};
|
|
16289
|
-
|
|
16290
|
-
var toIndexedObject = toIndexedObject$5;
|
|
16291
|
-
var addToUnscopables = addToUnscopables$1;
|
|
16292
|
-
var Iterators$2 = iterators;
|
|
16293
|
-
var InternalStateModule$1 = internalState;
|
|
16294
|
-
var defineProperty$1 = objectDefineProperty.f;
|
|
16295
|
-
var defineIterator = iteratorDefine;
|
|
16296
|
-
var createIterResultObject = createIterResultObject$1;
|
|
16297
|
-
var DESCRIPTORS$1 = descriptors;
|
|
16298
|
-
|
|
16299
|
-
var ARRAY_ITERATOR = 'Array Iterator';
|
|
16300
|
-
var setInternalState$1 = InternalStateModule$1.set;
|
|
16301
|
-
var getInternalState = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
|
16302
|
-
|
|
16303
|
-
// `Array.prototype.entries` method
|
|
16304
|
-
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
16305
|
-
// `Array.prototype.keys` method
|
|
16306
|
-
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
|
16307
|
-
// `Array.prototype.values` method
|
|
16308
|
-
// https://tc39.es/ecma262/#sec-array.prototype.values
|
|
16309
|
-
// `Array.prototype[@@iterator]` method
|
|
16310
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
|
16311
|
-
// `CreateArrayIterator` internal method
|
|
16312
|
-
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
16313
|
-
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
16314
|
-
setInternalState$1(this, {
|
|
16315
|
-
type: ARRAY_ITERATOR,
|
|
16316
|
-
target: toIndexedObject(iterated), // target
|
|
16317
|
-
index: 0, // next index
|
|
16318
|
-
kind: kind // kind
|
|
16319
|
-
});
|
|
16320
|
-
// `%ArrayIteratorPrototype%.next` method
|
|
16321
|
-
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
|
16322
|
-
}, function () {
|
|
16323
|
-
var state = getInternalState(this);
|
|
16324
|
-
var target = state.target;
|
|
16325
|
-
var kind = state.kind;
|
|
16326
|
-
var index = state.index++;
|
|
16327
|
-
if (!target || index >= target.length) {
|
|
16328
|
-
state.target = undefined;
|
|
16329
|
-
return createIterResultObject(undefined, true);
|
|
16330
|
-
}
|
|
16331
|
-
if (kind == 'keys') return createIterResultObject(index, false);
|
|
16332
|
-
if (kind == 'values') return createIterResultObject(target[index], false);
|
|
16333
|
-
return createIterResultObject([index, target[index]], false);
|
|
16334
|
-
}, 'values');
|
|
16335
|
-
|
|
16336
|
-
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
16337
|
-
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
16338
|
-
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
16339
|
-
var values = Iterators$2.Arguments = Iterators$2.Array;
|
|
16340
|
-
|
|
16341
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
16342
|
-
addToUnscopables('keys');
|
|
16343
|
-
addToUnscopables('values');
|
|
16344
|
-
addToUnscopables('entries');
|
|
16345
|
-
|
|
16346
|
-
// V8 ~ Chrome 45- bug
|
|
16347
|
-
if (DESCRIPTORS$1 && values.name !== 'values') try {
|
|
16348
|
-
defineProperty$1(values, 'name', { value: 'values' });
|
|
16349
|
-
} catch (error) { /* empty */ }
|
|
16350
|
-
|
|
16351
|
-
// iterable DOM collections
|
|
16352
|
-
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
16353
|
-
var domIterables = {
|
|
16354
|
-
CSSRuleList: 0,
|
|
16355
|
-
CSSStyleDeclaration: 0,
|
|
16356
|
-
CSSValueList: 0,
|
|
16357
|
-
ClientRectList: 0,
|
|
16358
|
-
DOMRectList: 0,
|
|
16359
|
-
DOMStringList: 0,
|
|
16360
|
-
DOMTokenList: 1,
|
|
16361
|
-
DataTransferItemList: 0,
|
|
16362
|
-
FileList: 0,
|
|
16363
|
-
HTMLAllCollection: 0,
|
|
16364
|
-
HTMLCollection: 0,
|
|
16365
|
-
HTMLFormElement: 0,
|
|
16366
|
-
HTMLSelectElement: 0,
|
|
16367
|
-
MediaList: 0,
|
|
16368
|
-
MimeTypeArray: 0,
|
|
16369
|
-
NamedNodeMap: 0,
|
|
16370
|
-
NodeList: 1,
|
|
16371
|
-
PaintRequestList: 0,
|
|
16372
|
-
Plugin: 0,
|
|
16373
|
-
PluginArray: 0,
|
|
16374
|
-
SVGLengthList: 0,
|
|
16375
|
-
SVGNumberList: 0,
|
|
16376
|
-
SVGPathSegList: 0,
|
|
16377
|
-
SVGPointList: 0,
|
|
16378
|
-
SVGStringList: 0,
|
|
16379
|
-
SVGTransformList: 0,
|
|
16380
|
-
SourceBufferList: 0,
|
|
16381
|
-
StyleSheetList: 0,
|
|
16382
|
-
TextTrackCueList: 0,
|
|
16383
|
-
TextTrackList: 0,
|
|
16384
|
-
TouchList: 0
|
|
16385
|
-
};
|
|
16386
|
-
|
|
16387
|
-
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
|
16388
|
-
var documentCreateElement = documentCreateElement$2;
|
|
16389
|
-
|
|
16390
|
-
var classList = documentCreateElement('span').classList;
|
|
16391
|
-
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
|
16392
|
-
|
|
16393
|
-
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
16394
|
-
|
|
16395
|
-
var global$6 = global$k;
|
|
16396
|
-
var DOMIterables = domIterables;
|
|
16397
|
-
var DOMTokenListPrototype = domTokenListPrototype;
|
|
16398
|
-
var ArrayIteratorMethods = es_array_iterator;
|
|
16399
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$5;
|
|
16400
|
-
var wellKnownSymbol$6 = wellKnownSymbol$f;
|
|
16401
|
-
|
|
16402
|
-
var ITERATOR$3 = wellKnownSymbol$6('iterator');
|
|
16403
|
-
var TO_STRING_TAG = wellKnownSymbol$6('toStringTag');
|
|
16404
|
-
var ArrayValues = ArrayIteratorMethods.values;
|
|
16405
|
-
|
|
16406
|
-
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
16407
|
-
if (CollectionPrototype) {
|
|
16408
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
16409
|
-
if (CollectionPrototype[ITERATOR$3] !== ArrayValues) try {
|
|
16410
|
-
createNonEnumerableProperty(CollectionPrototype, ITERATOR$3, ArrayValues);
|
|
16411
|
-
} catch (error) {
|
|
16412
|
-
CollectionPrototype[ITERATOR$3] = ArrayValues;
|
|
16413
|
-
}
|
|
16414
|
-
if (!CollectionPrototype[TO_STRING_TAG]) {
|
|
16415
|
-
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
|
|
16416
|
-
}
|
|
16417
|
-
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
16418
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
16419
|
-
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
16420
|
-
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
16421
|
-
} catch (error) {
|
|
16422
|
-
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
16423
|
-
}
|
|
16424
|
-
}
|
|
16425
|
-
}
|
|
16426
|
-
};
|
|
16427
|
-
|
|
16428
|
-
for (var COLLECTION_NAME in DOMIterables) {
|
|
16429
|
-
handlePrototype(global$6[COLLECTION_NAME] && global$6[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
16430
|
-
}
|
|
16431
|
-
|
|
16432
|
-
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
16433
|
-
|
|
16434
16420
|
var Close = {};
|
|
16435
16421
|
|
|
16436
16422
|
var interopRequireDefault = {exports: {}};
|
|
@@ -16475,7 +16461,7 @@ var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("p
|
|
|
16475
16461
|
}), 'Close');
|
|
16476
16462
|
default_1 = Close.default = _default;
|
|
16477
16463
|
|
|
16478
|
-
|
|
16464
|
+
var DrawerContainer = {
|
|
16479
16465
|
display: 'flex',
|
|
16480
16466
|
flexDirection: 'column',
|
|
16481
16467
|
alignContent: 'flex-start',
|
|
@@ -16483,7 +16469,7 @@ const DrawerContainer = {
|
|
|
16483
16469
|
height: '100%',
|
|
16484
16470
|
overflow: 'hidden'
|
|
16485
16471
|
};
|
|
16486
|
-
|
|
16472
|
+
var DrawerHeader = {
|
|
16487
16473
|
display: 'flex',
|
|
16488
16474
|
alignContent: 'center',
|
|
16489
16475
|
justifyContent: 'space-between',
|
|
@@ -16491,7 +16477,7 @@ const DrawerHeader = {
|
|
|
16491
16477
|
py: '12px',
|
|
16492
16478
|
px: '8px'
|
|
16493
16479
|
};
|
|
16494
|
-
|
|
16480
|
+
var DrawerContent = {
|
|
16495
16481
|
display: 'flex',
|
|
16496
16482
|
overflow: 'auto',
|
|
16497
16483
|
alignItems: 'flex-start',
|
|
@@ -16500,7 +16486,7 @@ const DrawerContent = {
|
|
|
16500
16486
|
py: '12px',
|
|
16501
16487
|
px: '8px'
|
|
16502
16488
|
};
|
|
16503
|
-
|
|
16489
|
+
var DrawerActions = {
|
|
16504
16490
|
display: 'flex',
|
|
16505
16491
|
alignContent: 'center',
|
|
16506
16492
|
justifyContent: 'flex-end',
|
|
@@ -16511,18 +16497,20 @@ const DrawerActions = {
|
|
|
16511
16497
|
py: '12px',
|
|
16512
16498
|
px: '8px'
|
|
16513
16499
|
};
|
|
16514
|
-
|
|
16515
|
-
title,
|
|
16516
|
-
|
|
16517
|
-
|
|
16518
|
-
|
|
16519
|
-
|
|
16520
|
-
|
|
16521
|
-
|
|
16522
|
-
|
|
16523
|
-
|
|
16524
|
-
|
|
16525
|
-
|
|
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() {
|
|
16526
16514
|
setActionsState(true);
|
|
16527
16515
|
};
|
|
16528
16516
|
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
@@ -16551,11 +16539,10 @@ const DrawerComponent = ({
|
|
|
16551
16539
|
}, renderActions))));
|
|
16552
16540
|
};
|
|
16553
16541
|
|
|
16554
|
-
|
|
16555
|
-
renderLeftContent,
|
|
16556
|
-
|
|
16557
|
-
|
|
16558
|
-
}) => {
|
|
16542
|
+
var FooterActionComponent = function FooterActionComponent(_ref) {
|
|
16543
|
+
var renderLeftContent = _ref.renderLeftContent,
|
|
16544
|
+
renderRightContent = _ref.renderRightContent,
|
|
16545
|
+
labelChangeCounter = _ref.labelChangeCounter;
|
|
16559
16546
|
return /*#__PURE__*/React__default.createElement(AppBar$1, {
|
|
16560
16547
|
position: "fixed",
|
|
16561
16548
|
color: "inherit",
|
|
@@ -16572,31 +16559,33 @@ const FooterActionComponent = ({
|
|
|
16572
16559
|
}), /*#__PURE__*/React__default.createElement(Box$2, null, labelChangeCounter), renderRightContent));
|
|
16573
16560
|
};
|
|
16574
16561
|
|
|
16575
|
-
function PageHeaderWraps({
|
|
16576
|
-
item,
|
|
16577
|
-
|
|
16578
|
-
|
|
16579
|
-
}) {
|
|
16562
|
+
function PageHeaderWraps(_ref) {
|
|
16563
|
+
var item = _ref.item,
|
|
16564
|
+
Color = _ref.Color,
|
|
16565
|
+
variant = _ref.variant;
|
|
16580
16566
|
return /*#__PURE__*/React__default.createElement(Typography$1, {
|
|
16581
16567
|
variant: variant,
|
|
16582
16568
|
color: Color
|
|
16583
16569
|
}, item);
|
|
16584
16570
|
}
|
|
16585
|
-
|
|
16586
|
-
title,
|
|
16587
|
-
|
|
16588
|
-
|
|
16589
|
-
|
|
16590
|
-
|
|
16591
|
-
}) => {
|
|
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;
|
|
16592
16577
|
return /*#__PURE__*/React__default.createElement(Stack$1, {
|
|
16593
16578
|
position: fixed === true ? "fixed" : "relative",
|
|
16594
16579
|
sx: {
|
|
16595
16580
|
width: fixed === true ? "-webkit-fill-available" : "inherit",
|
|
16596
|
-
backgroundColor: theme
|
|
16581
|
+
backgroundColor: function backgroundColor(theme) {
|
|
16582
|
+
return theme.palette.background.paper;
|
|
16583
|
+
},
|
|
16597
16584
|
px: 3,
|
|
16598
16585
|
py: 1,
|
|
16599
|
-
boxShadow: theme
|
|
16586
|
+
boxShadow: function boxShadow(theme) {
|
|
16587
|
+
return theme.shadows[1];
|
|
16588
|
+
},
|
|
16600
16589
|
zIndex: 100
|
|
16601
16590
|
}
|
|
16602
16591
|
}, /*#__PURE__*/React__default.createElement(Stack$1, {
|
|
@@ -16611,7 +16600,7 @@ const PageHeaderComponent = ({
|
|
|
16611
16600
|
}, buttonBack, /*#__PURE__*/React__default.createElement(Stack$1, null, /*#__PURE__*/React__default.createElement(Stack$1, null, /*#__PURE__*/React__default.createElement(PageHeaderWraps, {
|
|
16612
16601
|
Color: "text.primary",
|
|
16613
16602
|
item: title,
|
|
16614
|
-
variant: "
|
|
16603
|
+
variant: "h6"
|
|
16615
16604
|
})), subtitle && /*#__PURE__*/React__default.createElement(Stack$1, {
|
|
16616
16605
|
alignItems: "center",
|
|
16617
16606
|
flexDirection: "row",
|
|
@@ -16631,6 +16620,67 @@ var classof$2 = classofRaw$2;
|
|
|
16631
16620
|
|
|
16632
16621
|
var engineIsNode = typeof process != 'undefined' && classof$2(process) == 'process';
|
|
16633
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
|
+
|
|
16634
16684
|
var makeBuiltIn = makeBuiltIn$3.exports;
|
|
16635
16685
|
var defineProperty = objectDefineProperty;
|
|
16636
16686
|
|
|
@@ -16642,7 +16692,7 @@ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
|
16642
16692
|
|
|
16643
16693
|
var getBuiltIn$3 = getBuiltIn$7;
|
|
16644
16694
|
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
16645
|
-
var wellKnownSymbol$5 = wellKnownSymbol$
|
|
16695
|
+
var wellKnownSymbol$5 = wellKnownSymbol$b;
|
|
16646
16696
|
var DESCRIPTORS = descriptors;
|
|
16647
16697
|
|
|
16648
16698
|
var SPECIES$2 = wellKnownSymbol$5('species');
|
|
@@ -16668,8 +16718,8 @@ var anInstance$1 = function (it, Prototype) {
|
|
|
16668
16718
|
};
|
|
16669
16719
|
|
|
16670
16720
|
var uncurryThis$2 = functionUncurryThis;
|
|
16671
|
-
var fails$1 = fails$
|
|
16672
|
-
var isCallable$4 = isCallable$
|
|
16721
|
+
var fails$1 = fails$f;
|
|
16722
|
+
var isCallable$4 = isCallable$i;
|
|
16673
16723
|
var classof$1 = classof$5;
|
|
16674
16724
|
var getBuiltIn$2 = getBuiltIn$7;
|
|
16675
16725
|
var inspectSource$1 = inspectSource$3;
|
|
@@ -16734,7 +16784,7 @@ var aConstructor$1 = function (argument) {
|
|
|
16734
16784
|
var anObject$4 = anObject$d;
|
|
16735
16785
|
var aConstructor = aConstructor$1;
|
|
16736
16786
|
var isNullOrUndefined$1 = isNullOrUndefined$5;
|
|
16737
|
-
var wellKnownSymbol$4 = wellKnownSymbol$
|
|
16787
|
+
var wellKnownSymbol$4 = wellKnownSymbol$b;
|
|
16738
16788
|
|
|
16739
16789
|
var SPECIES$1 = wellKnownSymbol$4('species');
|
|
16740
16790
|
|
|
@@ -16787,15 +16837,15 @@ var userAgent$2 = engineUserAgent;
|
|
|
16787
16837
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
16788
16838
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
16789
16839
|
|
|
16790
|
-
var global$5 = global$
|
|
16840
|
+
var global$5 = global$j;
|
|
16791
16841
|
var apply = functionApply;
|
|
16792
16842
|
var bind$3 = functionBindContext;
|
|
16793
|
-
var isCallable$3 = isCallable$
|
|
16843
|
+
var isCallable$3 = isCallable$i;
|
|
16794
16844
|
var hasOwn = hasOwnProperty_1;
|
|
16795
|
-
var fails = fails$
|
|
16845
|
+
var fails = fails$f;
|
|
16796
16846
|
var html = html$2;
|
|
16797
16847
|
var arraySlice = arraySlice$1;
|
|
16798
|
-
var createElement = documentCreateElement$
|
|
16848
|
+
var createElement = documentCreateElement$1;
|
|
16799
16849
|
var validateArgumentsLength = validateArgumentsLength$1;
|
|
16800
16850
|
var IS_IOS$1 = engineIsIos;
|
|
16801
16851
|
var IS_NODE$3 = engineIsNode;
|
|
@@ -16937,7 +16987,7 @@ var userAgent = engineUserAgent;
|
|
|
16937
16987
|
|
|
16938
16988
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
16939
16989
|
|
|
16940
|
-
var global$4 = global$
|
|
16990
|
+
var global$4 = global$j;
|
|
16941
16991
|
var bind$2 = functionBindContext;
|
|
16942
16992
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
16943
16993
|
var macrotask = task$1.set;
|
|
@@ -17033,7 +17083,7 @@ var perform$3 = function (exec) {
|
|
|
17033
17083
|
}
|
|
17034
17084
|
};
|
|
17035
17085
|
|
|
17036
|
-
var global$3 = global$
|
|
17086
|
+
var global$3 = global$j;
|
|
17037
17087
|
|
|
17038
17088
|
var promiseNativeConstructor = global$3.Promise;
|
|
17039
17089
|
|
|
@@ -17048,12 +17098,12 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
|
17048
17098
|
&& typeof window == 'object'
|
|
17049
17099
|
&& typeof document == 'object';
|
|
17050
17100
|
|
|
17051
|
-
var global$2 = global$
|
|
17101
|
+
var global$2 = global$j;
|
|
17052
17102
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
17053
|
-
var isCallable$2 = isCallable$
|
|
17103
|
+
var isCallable$2 = isCallable$i;
|
|
17054
17104
|
var isForced = isForced_1;
|
|
17055
17105
|
var inspectSource = inspectSource$3;
|
|
17056
|
-
var wellKnownSymbol$3 = wellKnownSymbol$
|
|
17106
|
+
var wellKnownSymbol$3 = wellKnownSymbol$b;
|
|
17057
17107
|
var IS_BROWSER = engineIsBrowser;
|
|
17058
17108
|
var IS_DENO = engineIsDeno;
|
|
17059
17109
|
var V8_VERSION = engineV8Version;
|
|
@@ -17118,15 +17168,15 @@ newPromiseCapability$2.f = function (C) {
|
|
|
17118
17168
|
|
|
17119
17169
|
var $$5 = _export;
|
|
17120
17170
|
var IS_NODE = engineIsNode;
|
|
17121
|
-
var global$1 = global$
|
|
17171
|
+
var global$1 = global$j;
|
|
17122
17172
|
var call$6 = functionCall;
|
|
17123
|
-
var defineBuiltIn$1 = defineBuiltIn$
|
|
17173
|
+
var defineBuiltIn$1 = defineBuiltIn$4;
|
|
17124
17174
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
17125
|
-
var setToStringTag = setToStringTag$
|
|
17175
|
+
var setToStringTag = setToStringTag$1;
|
|
17126
17176
|
var setSpecies = setSpecies$1;
|
|
17127
17177
|
var aCallable$3 = aCallable$8;
|
|
17128
|
-
var isCallable$1 = isCallable$
|
|
17129
|
-
var isObject$1 = isObject$
|
|
17178
|
+
var isCallable$1 = isCallable$i;
|
|
17179
|
+
var isObject$1 = isObject$7;
|
|
17130
17180
|
var anInstance = anInstance$1;
|
|
17131
17181
|
var speciesConstructor = speciesConstructor$1;
|
|
17132
17182
|
var task = task$1.set;
|
|
@@ -17403,7 +17453,9 @@ $$5({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTR
|
|
|
17403
17453
|
setToStringTag(PromiseConstructor, PROMISE, false);
|
|
17404
17454
|
setSpecies(PROMISE);
|
|
17405
17455
|
|
|
17406
|
-
var
|
|
17456
|
+
var iterators = {};
|
|
17457
|
+
|
|
17458
|
+
var wellKnownSymbol$2 = wellKnownSymbol$b;
|
|
17407
17459
|
var Iterators$1 = iterators;
|
|
17408
17460
|
|
|
17409
17461
|
var ITERATOR$2 = wellKnownSymbol$2('iterator');
|
|
@@ -17418,7 +17470,7 @@ var classof = classof$5;
|
|
|
17418
17470
|
var getMethod$1 = getMethod$4;
|
|
17419
17471
|
var isNullOrUndefined = isNullOrUndefined$5;
|
|
17420
17472
|
var Iterators = iterators;
|
|
17421
|
-
var wellKnownSymbol$1 = wellKnownSymbol$
|
|
17473
|
+
var wellKnownSymbol$1 = wellKnownSymbol$b;
|
|
17422
17474
|
|
|
17423
17475
|
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
|
17424
17476
|
|
|
@@ -17535,7 +17587,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
17535
17587
|
} return new Result(false);
|
|
17536
17588
|
};
|
|
17537
17589
|
|
|
17538
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
17590
|
+
var wellKnownSymbol = wellKnownSymbol$b;
|
|
17539
17591
|
|
|
17540
17592
|
var ITERATOR = wellKnownSymbol('iterator');
|
|
17541
17593
|
var SAFE_CLOSING = false;
|
|
@@ -17625,8 +17677,8 @@ var $$3 = _export;
|
|
|
17625
17677
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
17626
17678
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
17627
17679
|
var getBuiltIn$1 = getBuiltIn$7;
|
|
17628
|
-
var isCallable = isCallable$
|
|
17629
|
-
var defineBuiltIn = defineBuiltIn$
|
|
17680
|
+
var isCallable = isCallable$i;
|
|
17681
|
+
var defineBuiltIn = defineBuiltIn$4;
|
|
17630
17682
|
|
|
17631
17683
|
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
17632
17684
|
|
|
@@ -17688,7 +17740,7 @@ $$1({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
17688
17740
|
});
|
|
17689
17741
|
|
|
17690
17742
|
var anObject = anObject$d;
|
|
17691
|
-
var isObject = isObject$
|
|
17743
|
+
var isObject = isObject$7;
|
|
17692
17744
|
var newPromiseCapability = newPromiseCapability$2;
|
|
17693
17745
|
|
|
17694
17746
|
var promiseResolve$1 = function (C, x) {
|
|
@@ -22008,66 +22060,87 @@ function customColor(source, color) {
|
|
|
22008
22060
|
};
|
|
22009
22061
|
}
|
|
22010
22062
|
|
|
22011
|
-
|
|
22012
|
-
|
|
22013
|
-
|
|
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
|
-
|
|
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);
|
|
22057
22119
|
};
|
|
22058
|
-
};
|
|
22120
|
+
}();
|
|
22059
22121
|
|
|
22060
|
-
|
|
22061
|
-
|
|
22062
|
-
|
|
22063
|
-
|
|
22064
|
-
|
|
22065
|
-
|
|
22066
|
-
|
|
22067
|
-
|
|
22068
|
-
|
|
22069
|
-
|
|
22070
|
-
|
|
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;
|
|
22071
22144
|
setPrimary(primaryColor);
|
|
22072
22145
|
setSecondary(secondaryColor);
|
|
22073
22146
|
setBackground(backgroundColor);
|
|
@@ -22078,7 +22151,7 @@ const useDynamicColor = url => {
|
|
|
22078
22151
|
SincoTheme.palette.secondary = secondary;
|
|
22079
22152
|
SincoTheme.palette.background = background;
|
|
22080
22153
|
return {
|
|
22081
|
-
loading
|
|
22154
|
+
loading: loading
|
|
22082
22155
|
};
|
|
22083
22156
|
};
|
|
22084
22157
|
|