@sinco/react 1.0.7-rc.15 → 1.0.7-rc.16

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { forwardRef, useContext } from 'react';
3
- import { jsx, jsxs } from 'react/jsx-runtime';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
4
 
5
5
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6
6
 
@@ -9,7 +9,7 @@ var check = function (it) {
9
9
  };
10
10
 
11
11
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
12
- var global$e =
12
+ var global$b =
13
13
  // eslint-disable-next-line es/no-global-this -- safe
14
14
  check(typeof globalThis == 'object' && globalThis) ||
15
15
  check(typeof window == 'object' && window) ||
@@ -21,7 +21,7 @@ var global$e =
21
21
 
22
22
  var objectGetOwnPropertyDescriptor = {};
23
23
 
24
- var fails$d = function (exec) {
24
+ var fails$9 = function (exec) {
25
25
  try {
26
26
  return !!exec();
27
27
  } catch (error) {
@@ -29,17 +29,17 @@ var fails$d = function (exec) {
29
29
  }
30
30
  };
31
31
 
32
- var fails$c = fails$d;
32
+ var fails$8 = fails$9;
33
33
 
34
34
  // Detect IE8's incomplete defineProperty implementation
35
- var descriptors = !fails$c(function () {
35
+ var descriptors = !fails$8(function () {
36
36
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
37
37
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
38
38
  });
39
39
 
40
- var fails$b = fails$d;
40
+ var fails$7 = fails$9;
41
41
 
42
- var functionBindNative = !fails$b(function () {
42
+ var functionBindNative = !fails$7(function () {
43
43
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
44
44
  var test = (function () { /* empty */ }).bind();
45
45
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -48,10 +48,10 @@ var functionBindNative = !fails$b(function () {
48
48
 
49
49
  var NATIVE_BIND$1 = functionBindNative;
50
50
 
51
- var call$8 = Function.prototype.call;
51
+ var call$5 = Function.prototype.call;
52
52
 
53
- var functionCall = NATIVE_BIND$1 ? call$8.bind(call$8) : function () {
54
- return call$8.apply(call$8, arguments);
53
+ var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
54
+ return call$5.apply(call$5, arguments);
55
55
  };
56
56
 
57
57
  var objectPropertyIsEnumerable = {};
@@ -82,63 +82,63 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
82
82
  var NATIVE_BIND = functionBindNative;
83
83
 
84
84
  var FunctionPrototype$1 = Function.prototype;
85
- var call$7 = FunctionPrototype$1.call;
86
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$7, call$7);
85
+ var call$4 = FunctionPrototype$1.call;
86
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$4, call$4);
87
87
 
88
88
  var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
89
89
  return function () {
90
- return call$7.apply(fn, arguments);
90
+ return call$4.apply(fn, arguments);
91
91
  };
92
92
  };
93
93
 
94
- var uncurryThis$c = functionUncurryThis;
94
+ var uncurryThis$9 = functionUncurryThis;
95
95
 
96
- var toString$4 = uncurryThis$c({}.toString);
97
- var stringSlice$2 = uncurryThis$c(''.slice);
96
+ var toString$1 = uncurryThis$9({}.toString);
97
+ var stringSlice$1 = uncurryThis$9(''.slice);
98
98
 
99
- var classofRaw$2 = function (it) {
100
- return stringSlice$2(toString$4(it), 8, -1);
99
+ var classofRaw = function (it) {
100
+ return stringSlice$1(toString$1(it), 8, -1);
101
101
  };
102
102
 
103
- var uncurryThis$b = functionUncurryThis;
104
- var fails$a = fails$d;
105
- var classof$3 = classofRaw$2;
103
+ var uncurryThis$8 = functionUncurryThis;
104
+ var fails$6 = fails$9;
105
+ var classof = classofRaw;
106
106
 
107
- var $Object$3 = Object;
108
- var split = uncurryThis$b(''.split);
107
+ var $Object$2 = Object;
108
+ var split = uncurryThis$8(''.split);
109
109
 
110
110
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
111
- var indexedObject = fails$a(function () {
111
+ var indexedObject = fails$6(function () {
112
112
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
113
113
  // eslint-disable-next-line no-prototype-builtins -- safe
114
- return !$Object$3('z').propertyIsEnumerable(0);
114
+ return !$Object$2('z').propertyIsEnumerable(0);
115
115
  }) ? function (it) {
116
- return classof$3(it) == 'String' ? split(it, '') : $Object$3(it);
117
- } : $Object$3;
116
+ return classof(it) == 'String' ? split(it, '') : $Object$2(it);
117
+ } : $Object$2;
118
118
 
119
119
  // we can't use just `it == null` since of `document.all` special case
120
120
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
121
- var isNullOrUndefined$3 = function (it) {
121
+ var isNullOrUndefined$2 = function (it) {
122
122
  return it === null || it === undefined;
123
123
  };
124
124
 
125
- var isNullOrUndefined$2 = isNullOrUndefined$3;
125
+ var isNullOrUndefined$1 = isNullOrUndefined$2;
126
126
 
127
- var $TypeError$6 = TypeError;
127
+ var $TypeError$5 = TypeError;
128
128
 
129
129
  // `RequireObjectCoercible` abstract operation
130
130
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
131
- var requireObjectCoercible$3 = function (it) {
132
- if (isNullOrUndefined$2(it)) throw $TypeError$6("Can't call method on " + it);
131
+ var requireObjectCoercible$2 = function (it) {
132
+ if (isNullOrUndefined$1(it)) throw $TypeError$5("Can't call method on " + it);
133
133
  return it;
134
134
  };
135
135
 
136
136
  // toObject with fallback for non-array-like ES3 strings
137
137
  var IndexedObject$1 = indexedObject;
138
- var requireObjectCoercible$2 = requireObjectCoercible$3;
138
+ var requireObjectCoercible$1 = requireObjectCoercible$2;
139
139
 
140
- var toIndexedObject$4 = function (it) {
141
- return IndexedObject$1(requireObjectCoercible$2(it));
140
+ var toIndexedObject$3 = function (it) {
141
+ return IndexedObject$1(requireObjectCoercible$1(it));
142
142
  };
143
143
 
144
144
  var documentAll$2 = typeof document == 'object' && document.all;
@@ -158,45 +158,45 @@ var documentAll$1 = $documentAll$1.all;
158
158
 
159
159
  // `IsCallable` abstract operation
160
160
  // https://tc39.es/ecma262/#sec-iscallable
161
- var isCallable$c = $documentAll$1.IS_HTMLDDA ? function (argument) {
161
+ var isCallable$a = $documentAll$1.IS_HTMLDDA ? function (argument) {
162
162
  return typeof argument == 'function' || argument === documentAll$1;
163
163
  } : function (argument) {
164
164
  return typeof argument == 'function';
165
165
  };
166
166
 
167
- var isCallable$b = isCallable$c;
167
+ var isCallable$9 = isCallable$a;
168
168
  var $documentAll = documentAll_1;
169
169
 
170
170
  var documentAll = $documentAll.all;
171
171
 
172
172
  var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
173
- return typeof it == 'object' ? it !== null : isCallable$b(it) || it === documentAll;
173
+ return typeof it == 'object' ? it !== null : isCallable$9(it) || it === documentAll;
174
174
  } : function (it) {
175
- return typeof it == 'object' ? it !== null : isCallable$b(it);
175
+ return typeof it == 'object' ? it !== null : isCallable$9(it);
176
176
  };
177
177
 
178
- var global$d = global$e;
179
- var isCallable$a = isCallable$c;
178
+ var global$a = global$b;
179
+ var isCallable$8 = isCallable$a;
180
180
 
181
181
  var aFunction = function (argument) {
182
- return isCallable$a(argument) ? argument : undefined;
182
+ return isCallable$8(argument) ? argument : undefined;
183
183
  };
184
184
 
185
- var getBuiltIn$3 = function (namespace, method) {
186
- return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
185
+ var getBuiltIn$2 = function (namespace, method) {
186
+ return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
187
187
  };
188
188
 
189
- var uncurryThis$a = functionUncurryThis;
189
+ var uncurryThis$7 = functionUncurryThis;
190
190
 
191
- var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
191
+ var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
192
192
 
193
193
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
194
194
 
195
- var global$c = global$e;
195
+ var global$9 = global$b;
196
196
  var userAgent = engineUserAgent;
197
197
 
198
- var process$1 = global$c.process;
199
- var Deno = global$c.Deno;
198
+ var process$1 = global$9.process;
199
+ var Deno = global$9.Deno;
200
200
  var versions = process$1 && process$1.versions || Deno && Deno.version;
201
201
  var v8 = versions && versions.v8;
202
202
  var match$1, version;
@@ -223,19 +223,19 @@ var engineV8Version = version;
223
223
  /* eslint-disable es/no-symbol -- required for testing */
224
224
 
225
225
  var V8_VERSION = engineV8Version;
226
- var fails$9 = fails$d;
227
- var global$b = global$e;
226
+ var fails$5 = fails$9;
227
+ var global$8 = global$b;
228
228
 
229
- var $String$4 = global$b.String;
229
+ var $String$3 = global$8.String;
230
230
 
231
231
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
232
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$9(function () {
232
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$5(function () {
233
233
  var symbol = Symbol();
234
234
  // Chrome 38 Symbol has incorrect toString conversion
235
235
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
236
236
  // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
237
237
  // of course, fail.
238
- return !$String$4(symbol) || !(Object(symbol) instanceof Symbol) ||
238
+ return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
239
239
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
240
240
  !Symbol.sham && V8_VERSION && V8_VERSION < 41;
241
241
  });
@@ -248,93 +248,93 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
248
248
  && !Symbol.sham
249
249
  && typeof Symbol.iterator == 'symbol';
250
250
 
251
- var getBuiltIn$2 = getBuiltIn$3;
252
- var isCallable$9 = isCallable$c;
251
+ var getBuiltIn$1 = getBuiltIn$2;
252
+ var isCallable$7 = isCallable$a;
253
253
  var isPrototypeOf = objectIsPrototypeOf;
254
254
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
255
255
 
256
- var $Object$2 = Object;
256
+ var $Object$1 = Object;
257
257
 
258
258
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
259
259
  return typeof it == 'symbol';
260
260
  } : function (it) {
261
- var $Symbol = getBuiltIn$2('Symbol');
262
- return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
261
+ var $Symbol = getBuiltIn$1('Symbol');
262
+ return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
263
263
  };
264
264
 
265
- var $String$3 = String;
265
+ var $String$2 = String;
266
266
 
267
267
  var tryToString$1 = function (argument) {
268
268
  try {
269
- return $String$3(argument);
269
+ return $String$2(argument);
270
270
  } catch (error) {
271
271
  return 'Object';
272
272
  }
273
273
  };
274
274
 
275
- var isCallable$8 = isCallable$c;
275
+ var isCallable$6 = isCallable$a;
276
276
  var tryToString = tryToString$1;
277
277
 
278
- var $TypeError$5 = TypeError;
278
+ var $TypeError$4 = TypeError;
279
279
 
280
280
  // `Assert: IsCallable(argument) is true`
281
281
  var aCallable$1 = function (argument) {
282
- if (isCallable$8(argument)) return argument;
283
- throw $TypeError$5(tryToString(argument) + ' is not a function');
282
+ if (isCallable$6(argument)) return argument;
283
+ throw $TypeError$4(tryToString(argument) + ' is not a function');
284
284
  };
285
285
 
286
286
  var aCallable = aCallable$1;
287
- var isNullOrUndefined$1 = isNullOrUndefined$3;
287
+ var isNullOrUndefined = isNullOrUndefined$2;
288
288
 
289
289
  // `GetMethod` abstract operation
290
290
  // https://tc39.es/ecma262/#sec-getmethod
291
- var getMethod$2 = function (V, P) {
291
+ var getMethod$1 = function (V, P) {
292
292
  var func = V[P];
293
- return isNullOrUndefined$1(func) ? undefined : aCallable(func);
293
+ return isNullOrUndefined(func) ? undefined : aCallable(func);
294
294
  };
295
295
 
296
- var call$6 = functionCall;
297
- var isCallable$7 = isCallable$c;
296
+ var call$3 = functionCall;
297
+ var isCallable$5 = isCallable$a;
298
298
  var isObject$4 = isObject$5;
299
299
 
300
- var $TypeError$4 = TypeError;
300
+ var $TypeError$3 = TypeError;
301
301
 
302
302
  // `OrdinaryToPrimitive` abstract operation
303
303
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
304
304
  var ordinaryToPrimitive$1 = function (input, pref) {
305
305
  var fn, val;
306
- if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$4(val = call$6(fn, input))) return val;
307
- if (isCallable$7(fn = input.valueOf) && !isObject$4(val = call$6(fn, input))) return val;
308
- if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$4(val = call$6(fn, input))) return val;
309
- throw $TypeError$4("Can't convert object to primitive value");
306
+ if (pref === 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
307
+ if (isCallable$5(fn = input.valueOf) && !isObject$4(val = call$3(fn, input))) return val;
308
+ if (pref !== 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
309
+ throw $TypeError$3("Can't convert object to primitive value");
310
310
  };
311
311
 
312
- var shared$4 = {exports: {}};
312
+ var shared$3 = {exports: {}};
313
313
 
314
- var global$a = global$e;
314
+ var global$7 = global$b;
315
315
 
316
316
  // eslint-disable-next-line es/no-object-defineproperty -- safe
317
317
  var defineProperty$2 = Object.defineProperty;
318
318
 
319
319
  var defineGlobalProperty$3 = function (key, value) {
320
320
  try {
321
- defineProperty$2(global$a, key, { value: value, configurable: true, writable: true });
321
+ defineProperty$2(global$7, key, { value: value, configurable: true, writable: true });
322
322
  } catch (error) {
323
- global$a[key] = value;
323
+ global$7[key] = value;
324
324
  } return value;
325
325
  };
326
326
 
327
- var global$9 = global$e;
327
+ var global$6 = global$b;
328
328
  var defineGlobalProperty$2 = defineGlobalProperty$3;
329
329
 
330
330
  var SHARED = '__core-js_shared__';
331
- var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {});
331
+ var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {});
332
332
 
333
333
  var sharedStore = store$3;
334
334
 
335
335
  var store$2 = sharedStore;
336
336
 
337
- (shared$4.exports = function (key, value) {
337
+ (shared$3.exports = function (key, value) {
338
338
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
339
339
  })('versions', []).push({
340
340
  version: '3.30.2',
@@ -344,20 +344,20 @@ var store$2 = sharedStore;
344
344
  source: 'https://github.com/zloirock/core-js'
345
345
  });
346
346
 
347
- var requireObjectCoercible$1 = requireObjectCoercible$3;
347
+ var requireObjectCoercible = requireObjectCoercible$2;
348
348
 
349
- var $Object$1 = Object;
349
+ var $Object = Object;
350
350
 
351
351
  // `ToObject` abstract operation
352
352
  // https://tc39.es/ecma262/#sec-toobject
353
353
  var toObject$3 = function (argument) {
354
- return $Object$1(requireObjectCoercible$1(argument));
354
+ return $Object(requireObjectCoercible(argument));
355
355
  };
356
356
 
357
- var uncurryThis$9 = functionUncurryThis;
357
+ var uncurryThis$6 = functionUncurryThis;
358
358
  var toObject$2 = toObject$3;
359
359
 
360
- var hasOwnProperty$2 = uncurryThis$9({}.hasOwnProperty);
360
+ var hasOwnProperty$2 = uncurryThis$6({}.hasOwnProperty);
361
361
 
362
362
  // `HasOwnProperty` abstract operation
363
363
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -366,28 +366,28 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
366
366
  return hasOwnProperty$2(toObject$2(it), key);
367
367
  };
368
368
 
369
- var uncurryThis$8 = functionUncurryThis;
369
+ var uncurryThis$5 = functionUncurryThis;
370
370
 
371
371
  var id = 0;
372
372
  var postfix = Math.random();
373
- var toString$3 = uncurryThis$8(1.0.toString);
373
+ var toString = uncurryThis$5(1.0.toString);
374
374
 
375
375
  var uid$2 = function (key) {
376
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
376
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
377
377
  };
378
378
 
379
- var global$8 = global$e;
380
- var shared$3 = shared$4.exports;
379
+ var global$5 = global$b;
380
+ var shared$2 = shared$3.exports;
381
381
  var hasOwn$6 = hasOwnProperty_1;
382
382
  var uid$1 = uid$2;
383
383
  var NATIVE_SYMBOL = symbolConstructorDetection;
384
384
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
385
385
 
386
- var Symbol$1 = global$8.Symbol;
387
- var WellKnownSymbolsStore = shared$3('wks');
386
+ var Symbol$1 = global$5.Symbol;
387
+ var WellKnownSymbolsStore = shared$2('wks');
388
388
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
389
389
 
390
- var wellKnownSymbol$4 = function (name) {
390
+ var wellKnownSymbol$1 = function (name) {
391
391
  if (!hasOwn$6(WellKnownSymbolsStore, name)) {
392
392
  WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)
393
393
  ? Symbol$1[name]
@@ -395,27 +395,27 @@ var wellKnownSymbol$4 = function (name) {
395
395
  } return WellKnownSymbolsStore[name];
396
396
  };
397
397
 
398
- var call$5 = functionCall;
398
+ var call$2 = functionCall;
399
399
  var isObject$3 = isObject$5;
400
400
  var isSymbol$1 = isSymbol$2;
401
- var getMethod$1 = getMethod$2;
401
+ var getMethod = getMethod$1;
402
402
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
403
- var wellKnownSymbol$3 = wellKnownSymbol$4;
403
+ var wellKnownSymbol = wellKnownSymbol$1;
404
404
 
405
- var $TypeError$3 = TypeError;
406
- var TO_PRIMITIVE = wellKnownSymbol$3('toPrimitive');
405
+ var $TypeError$2 = TypeError;
406
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
407
407
 
408
408
  // `ToPrimitive` abstract operation
409
409
  // https://tc39.es/ecma262/#sec-toprimitive
410
410
  var toPrimitive$1 = function (input, pref) {
411
411
  if (!isObject$3(input) || isSymbol$1(input)) return input;
412
- var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);
412
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
413
413
  var result;
414
414
  if (exoticToPrim) {
415
415
  if (pref === undefined) pref = 'default';
416
- result = call$5(exoticToPrim, input, pref);
416
+ result = call$2(exoticToPrim, input, pref);
417
417
  if (!isObject$3(result) || isSymbol$1(result)) return result;
418
- throw $TypeError$3("Can't convert object to primitive value");
418
+ throw $TypeError$2("Can't convert object to primitive value");
419
419
  }
420
420
  if (pref === undefined) pref = 'number';
421
421
  return ordinaryToPrimitive(input, pref);
@@ -431,34 +431,34 @@ var toPropertyKey$2 = function (argument) {
431
431
  return isSymbol(key) ? key : key + '';
432
432
  };
433
433
 
434
- var global$7 = global$e;
434
+ var global$4 = global$b;
435
435
  var isObject$2 = isObject$5;
436
436
 
437
- var document$1 = global$7.document;
437
+ var document$1 = global$4.document;
438
438
  // typeof document.createElement is 'object' in old IE
439
439
  var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
440
440
 
441
- var documentCreateElement$1 = function (it) {
441
+ var documentCreateElement = function (it) {
442
442
  return EXISTS$1 ? document$1.createElement(it) : {};
443
443
  };
444
444
 
445
- var DESCRIPTORS$8 = descriptors;
446
- var fails$8 = fails$d;
447
- var createElement = documentCreateElement$1;
445
+ var DESCRIPTORS$7 = descriptors;
446
+ var fails$4 = fails$9;
447
+ var createElement = documentCreateElement;
448
448
 
449
449
  // Thanks to IE8 for its funny defineProperty
450
- var ie8DomDefine = !DESCRIPTORS$8 && !fails$8(function () {
450
+ var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () {
451
451
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
452
452
  return Object.defineProperty(createElement('div'), 'a', {
453
453
  get: function () { return 7; }
454
454
  }).a != 7;
455
455
  });
456
456
 
457
- var DESCRIPTORS$7 = descriptors;
458
- var call$4 = functionCall;
457
+ var DESCRIPTORS$6 = descriptors;
458
+ var call$1 = functionCall;
459
459
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
460
460
  var createPropertyDescriptor$1 = createPropertyDescriptor$2;
461
- var toIndexedObject$3 = toIndexedObject$4;
461
+ var toIndexedObject$2 = toIndexedObject$3;
462
462
  var toPropertyKey$1 = toPropertyKey$2;
463
463
  var hasOwn$5 = hasOwnProperty_1;
464
464
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
@@ -468,23 +468,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
468
468
 
469
469
  // `Object.getOwnPropertyDescriptor` method
470
470
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
471
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
472
- O = toIndexedObject$3(O);
471
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
472
+ O = toIndexedObject$2(O);
473
473
  P = toPropertyKey$1(P);
474
474
  if (IE8_DOM_DEFINE$1) try {
475
475
  return $getOwnPropertyDescriptor$1(O, P);
476
476
  } catch (error) { /* empty */ }
477
- if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$4(propertyIsEnumerableModule$1.f, O, P), O[P]);
477
+ if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
478
478
  };
479
479
 
480
480
  var objectDefineProperty = {};
481
481
 
482
- var DESCRIPTORS$6 = descriptors;
483
- var fails$7 = fails$d;
482
+ var DESCRIPTORS$5 = descriptors;
483
+ var fails$3 = fails$9;
484
484
 
485
485
  // V8 ~ Chrome 36-
486
486
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
487
- var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$7(function () {
487
+ var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$3(function () {
488
488
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
489
489
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
490
490
  value: 42,
@@ -494,22 +494,22 @@ var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$7(function () {
494
494
 
495
495
  var isObject$1 = isObject$5;
496
496
 
497
- var $String$2 = String;
498
- var $TypeError$2 = TypeError;
497
+ var $String$1 = String;
498
+ var $TypeError$1 = TypeError;
499
499
 
500
500
  // `Assert: Type(argument) is Object`
501
- var anObject$7 = function (argument) {
501
+ var anObject$2 = function (argument) {
502
502
  if (isObject$1(argument)) return argument;
503
- throw $TypeError$2($String$2(argument) + ' is not an object');
503
+ throw $TypeError$1($String$1(argument) + ' is not an object');
504
504
  };
505
505
 
506
- var DESCRIPTORS$5 = descriptors;
506
+ var DESCRIPTORS$4 = descriptors;
507
507
  var IE8_DOM_DEFINE = ie8DomDefine;
508
- var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
509
- var anObject$6 = anObject$7;
508
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
509
+ var anObject$1 = anObject$2;
510
510
  var toPropertyKey = toPropertyKey$2;
511
511
 
512
- var $TypeError$1 = TypeError;
512
+ var $TypeError = TypeError;
513
513
  // eslint-disable-next-line es/no-object-defineproperty -- safe
514
514
  var $defineProperty = Object.defineProperty;
515
515
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -520,10 +520,10 @@ var WRITABLE = 'writable';
520
520
 
521
521
  // `Object.defineProperty` method
522
522
  // https://tc39.es/ecma262/#sec-object.defineproperty
523
- objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
524
- anObject$6(O);
523
+ objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
524
+ anObject$1(O);
525
525
  P = toPropertyKey(P);
526
- anObject$6(Attributes);
526
+ anObject$1(Attributes);
527
527
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
528
528
  var current = $getOwnPropertyDescriptor(O, P);
529
529
  if (current && current[WRITABLE]) {
@@ -536,23 +536,23 @@ objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
536
536
  }
537
537
  } return $defineProperty(O, P, Attributes);
538
538
  } : $defineProperty : function defineProperty(O, P, Attributes) {
539
- anObject$6(O);
539
+ anObject$1(O);
540
540
  P = toPropertyKey(P);
541
- anObject$6(Attributes);
541
+ anObject$1(Attributes);
542
542
  if (IE8_DOM_DEFINE) try {
543
543
  return $defineProperty(O, P, Attributes);
544
544
  } catch (error) { /* empty */ }
545
- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$1('Accessors not supported');
545
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
546
546
  if ('value' in Attributes) O[P] = Attributes.value;
547
547
  return O;
548
548
  };
549
549
 
550
- var DESCRIPTORS$4 = descriptors;
551
- var definePropertyModule$3 = objectDefineProperty;
550
+ var DESCRIPTORS$3 = descriptors;
551
+ var definePropertyModule$2 = objectDefineProperty;
552
552
  var createPropertyDescriptor = createPropertyDescriptor$2;
553
553
 
554
- var createNonEnumerableProperty$3 = DESCRIPTORS$4 ? function (object, key, value) {
555
- return definePropertyModule$3.f(object, key, createPropertyDescriptor(1, value));
554
+ var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
555
+ return definePropertyModule$2.f(object, key, createPropertyDescriptor(1, value));
556
556
  } : function (object, key, value) {
557
557
  object[key] = value;
558
558
  return object;
@@ -560,17 +560,17 @@ var createNonEnumerableProperty$3 = DESCRIPTORS$4 ? function (object, key, value
560
560
 
561
561
  var makeBuiltIn$2 = {exports: {}};
562
562
 
563
- var DESCRIPTORS$3 = descriptors;
563
+ var DESCRIPTORS$2 = descriptors;
564
564
  var hasOwn$4 = hasOwnProperty_1;
565
565
 
566
566
  var FunctionPrototype = Function.prototype;
567
567
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
568
- var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
568
+ var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
569
569
 
570
570
  var EXISTS = hasOwn$4(FunctionPrototype, 'name');
571
571
  // additional protection from minified / mangled / dropped function names
572
572
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
573
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable));
573
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
574
574
 
575
575
  var functionName = {
576
576
  EXISTS: EXISTS,
@@ -578,14 +578,14 @@ var functionName = {
578
578
  CONFIGURABLE: CONFIGURABLE
579
579
  };
580
580
 
581
- var uncurryThis$7 = functionUncurryThis;
582
- var isCallable$6 = isCallable$c;
581
+ var uncurryThis$4 = functionUncurryThis;
582
+ var isCallable$4 = isCallable$a;
583
583
  var store$1 = sharedStore;
584
584
 
585
- var functionToString = uncurryThis$7(Function.toString);
585
+ var functionToString = uncurryThis$4(Function.toString);
586
586
 
587
587
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
588
- if (!isCallable$6(store$1.inspectSource)) {
588
+ if (!isCallable$4(store$1.inspectSource)) {
589
589
  store$1.inspectSource = function (it) {
590
590
  return functionToString(it);
591
591
  };
@@ -593,36 +593,36 @@ if (!isCallable$6(store$1.inspectSource)) {
593
593
 
594
594
  var inspectSource$1 = store$1.inspectSource;
595
595
 
596
- var global$6 = global$e;
597
- var isCallable$5 = isCallable$c;
596
+ var global$3 = global$b;
597
+ var isCallable$3 = isCallable$a;
598
598
 
599
- var WeakMap$2 = global$6.WeakMap;
599
+ var WeakMap$2 = global$3.WeakMap;
600
600
 
601
- var weakMapBasicDetection = isCallable$5(WeakMap$2) && /native code/.test(String(WeakMap$2));
601
+ var weakMapBasicDetection = isCallable$3(WeakMap$2) && /native code/.test(String(WeakMap$2));
602
602
 
603
- var shared$2 = shared$4.exports;
603
+ var shared$1 = shared$3.exports;
604
604
  var uid = uid$2;
605
605
 
606
- var keys = shared$2('keys');
606
+ var keys = shared$1('keys');
607
607
 
608
- var sharedKey$2 = function (key) {
608
+ var sharedKey$1 = function (key) {
609
609
  return keys[key] || (keys[key] = uid(key));
610
610
  };
611
611
 
612
- var hiddenKeys$4 = {};
612
+ var hiddenKeys$3 = {};
613
613
 
614
614
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
615
- var global$5 = global$e;
615
+ var global$2 = global$b;
616
616
  var isObject = isObject$5;
617
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
617
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
618
618
  var hasOwn$3 = hasOwnProperty_1;
619
- var shared$1 = sharedStore;
620
- var sharedKey$1 = sharedKey$2;
621
- var hiddenKeys$3 = hiddenKeys$4;
619
+ var shared = sharedStore;
620
+ var sharedKey = sharedKey$1;
621
+ var hiddenKeys$2 = hiddenKeys$3;
622
622
 
623
623
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
624
- var TypeError$1 = global$5.TypeError;
625
- var WeakMap$1 = global$5.WeakMap;
624
+ var TypeError$1 = global$2.TypeError;
625
+ var WeakMap$1 = global$2.WeakMap;
626
626
  var set, get, has$3;
627
627
 
628
628
  var enforce = function (it) {
@@ -638,8 +638,8 @@ var getterFor = function (TYPE) {
638
638
  };
639
639
  };
640
640
 
641
- if (NATIVE_WEAK_MAP || shared$1.state) {
642
- var store = shared$1.state || (shared$1.state = new WeakMap$1());
641
+ if (NATIVE_WEAK_MAP || shared.state) {
642
+ var store = shared.state || (shared.state = new WeakMap$1());
643
643
  /* eslint-disable no-self-assign -- prototype methods protection */
644
644
  store.get = store.get;
645
645
  store.has = store.has;
@@ -658,12 +658,12 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
658
658
  return store.has(it);
659
659
  };
660
660
  } else {
661
- var STATE = sharedKey$1('state');
662
- hiddenKeys$3[STATE] = true;
661
+ var STATE = sharedKey('state');
662
+ hiddenKeys$2[STATE] = true;
663
663
  set = function (it, metadata) {
664
664
  if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
665
665
  metadata.facade = it;
666
- createNonEnumerableProperty$2(it, STATE, metadata);
666
+ createNonEnumerableProperty$1(it, STATE, metadata);
667
667
  return metadata;
668
668
  };
669
669
  get = function (it) {
@@ -682,38 +682,38 @@ var internalState = {
682
682
  getterFor: getterFor
683
683
  };
684
684
 
685
- var uncurryThis$6 = functionUncurryThis;
686
- var fails$6 = fails$d;
687
- var isCallable$4 = isCallable$c;
685
+ var uncurryThis$3 = functionUncurryThis;
686
+ var fails$2 = fails$9;
687
+ var isCallable$2 = isCallable$a;
688
688
  var hasOwn$2 = hasOwnProperty_1;
689
- var DESCRIPTORS$2 = descriptors;
689
+ var DESCRIPTORS$1 = descriptors;
690
690
  var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
691
691
  var inspectSource = inspectSource$1;
692
692
  var InternalStateModule = internalState;
693
693
 
694
694
  var enforceInternalState = InternalStateModule.enforce;
695
- var getInternalState$1 = InternalStateModule.get;
696
- var $String$1 = String;
695
+ var getInternalState = InternalStateModule.get;
696
+ var $String = String;
697
697
  // eslint-disable-next-line es/no-object-defineproperty -- safe
698
698
  var defineProperty$1 = Object.defineProperty;
699
- var stringSlice$1 = uncurryThis$6(''.slice);
700
- var replace$2 = uncurryThis$6(''.replace);
701
- var join = uncurryThis$6([].join);
699
+ var stringSlice = uncurryThis$3(''.slice);
700
+ var replace$1 = uncurryThis$3(''.replace);
701
+ var join = uncurryThis$3([].join);
702
702
 
703
- var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$6(function () {
703
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$2(function () {
704
704
  return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
705
705
  });
706
706
 
707
707
  var TEMPLATE = String(String).split('String');
708
708
 
709
709
  var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
710
- if (stringSlice$1($String$1(name), 0, 7) === 'Symbol(') {
711
- name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
710
+ if (stringSlice($String(name), 0, 7) === 'Symbol(') {
711
+ name = '[' + replace$1($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
712
712
  }
713
713
  if (options && options.getter) name = 'get ' + name;
714
714
  if (options && options.setter) name = 'set ' + name;
715
715
  if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
716
- if (DESCRIPTORS$2) defineProperty$1(value, 'name', { value: name, configurable: true });
716
+ if (DESCRIPTORS$1) defineProperty$1(value, 'name', { value: name, configurable: true });
717
717
  else value.name = name;
718
718
  }
719
719
  if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
@@ -721,7 +721,7 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
721
721
  }
722
722
  try {
723
723
  if (options && hasOwn$2(options, 'constructor') && options.constructor) {
724
- if (DESCRIPTORS$2) defineProperty$1(value, 'prototype', { writable: false });
724
+ if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
725
725
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
726
726
  } else if (value.prototype) value.prototype = undefined;
727
727
  } catch (error) { /* empty */ }
@@ -734,19 +734,19 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
734
734
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
735
735
  // eslint-disable-next-line no-extend-native -- required
736
736
  Function.prototype.toString = makeBuiltIn$1(function toString() {
737
- return isCallable$4(this) && getInternalState$1(this).source || inspectSource(this);
737
+ return isCallable$2(this) && getInternalState(this).source || inspectSource(this);
738
738
  }, 'toString');
739
739
 
740
- var isCallable$3 = isCallable$c;
741
- var definePropertyModule$2 = objectDefineProperty;
740
+ var isCallable$1 = isCallable$a;
741
+ var definePropertyModule$1 = objectDefineProperty;
742
742
  var makeBuiltIn = makeBuiltIn$2.exports;
743
743
  var defineGlobalProperty$1 = defineGlobalProperty$3;
744
744
 
745
- var defineBuiltIn$2 = function (O, key, value, options) {
745
+ var defineBuiltIn$1 = function (O, key, value, options) {
746
746
  if (!options) options = {};
747
747
  var simple = options.enumerable;
748
748
  var name = options.name !== undefined ? options.name : key;
749
- if (isCallable$3(value)) makeBuiltIn(value, name, options);
749
+ if (isCallable$1(value)) makeBuiltIn(value, name, options);
750
750
  if (options.global) {
751
751
  if (simple) O[key] = value;
752
752
  else defineGlobalProperty$1(key, value);
@@ -756,7 +756,7 @@ var defineBuiltIn$2 = function (O, key, value, options) {
756
756
  else if (O[key]) simple = true;
757
757
  } catch (error) { /* empty */ }
758
758
  if (simple) O[key] = value;
759
- else definePropertyModule$2.f(O, key, {
759
+ else definePropertyModule$1.f(O, key, {
760
760
  value: value,
761
761
  enumerable: false,
762
762
  configurable: !options.nonConfigurable,
@@ -819,14 +819,14 @@ var lengthOfArrayLike$1 = function (obj) {
819
819
  return toLength(obj.length);
820
820
  };
821
821
 
822
- var toIndexedObject$2 = toIndexedObject$4;
822
+ var toIndexedObject$1 = toIndexedObject$3;
823
823
  var toAbsoluteIndex = toAbsoluteIndex$1;
824
824
  var lengthOfArrayLike = lengthOfArrayLike$1;
825
825
 
826
826
  // `Array.prototype.{ indexOf, includes }` methods implementation
827
827
  var createMethod = function (IS_INCLUDES) {
828
828
  return function ($this, el, fromIndex) {
829
- var O = toIndexedObject$2($this);
829
+ var O = toIndexedObject$1($this);
830
830
  var length = lengthOfArrayLike(O);
831
831
  var index = toAbsoluteIndex(fromIndex, length);
832
832
  var value;
@@ -852,29 +852,29 @@ var arrayIncludes = {
852
852
  indexOf: createMethod(false)
853
853
  };
854
854
 
855
- var uncurryThis$5 = functionUncurryThis;
855
+ var uncurryThis$2 = functionUncurryThis;
856
856
  var hasOwn$1 = hasOwnProperty_1;
857
- var toIndexedObject$1 = toIndexedObject$4;
858
- var indexOf$1 = arrayIncludes.indexOf;
859
- var hiddenKeys$2 = hiddenKeys$4;
857
+ var toIndexedObject = toIndexedObject$3;
858
+ var indexOf = arrayIncludes.indexOf;
859
+ var hiddenKeys$1 = hiddenKeys$3;
860
860
 
861
- var push = uncurryThis$5([].push);
861
+ var push = uncurryThis$2([].push);
862
862
 
863
863
  var objectKeysInternal = function (object, names) {
864
- var O = toIndexedObject$1(object);
864
+ var O = toIndexedObject(object);
865
865
  var i = 0;
866
866
  var result = [];
867
867
  var key;
868
- for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push(result, key);
868
+ for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push(result, key);
869
869
  // Don't enum bug & hidden keys
870
870
  while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
871
- ~indexOf$1(result, key) || push(result, key);
871
+ ~indexOf(result, key) || push(result, key);
872
872
  }
873
873
  return result;
874
874
  };
875
875
 
876
876
  // IE8- don't enum bug keys
877
- var enumBugKeys$3 = [
877
+ var enumBugKeys$2 = [
878
878
  'constructor',
879
879
  'hasOwnProperty',
880
880
  'isPrototypeOf',
@@ -885,15 +885,15 @@ var enumBugKeys$3 = [
885
885
  ];
886
886
 
887
887
  var internalObjectKeys$1 = objectKeysInternal;
888
- var enumBugKeys$2 = enumBugKeys$3;
888
+ var enumBugKeys$1 = enumBugKeys$2;
889
889
 
890
- var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
890
+ var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
891
891
 
892
892
  // `Object.getOwnPropertyNames` method
893
893
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
894
894
  // eslint-disable-next-line es/no-object-getownpropertynames -- safe
895
895
  objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
896
- return internalObjectKeys$1(O, hiddenKeys$1);
896
+ return internalObjectKeys$1(O, hiddenKeys);
897
897
  };
898
898
 
899
899
  var objectGetOwnPropertySymbols = {};
@@ -901,17 +901,17 @@ var objectGetOwnPropertySymbols = {};
901
901
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
902
902
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
903
903
 
904
- var getBuiltIn$1 = getBuiltIn$3;
905
- var uncurryThis$4 = functionUncurryThis;
904
+ var getBuiltIn = getBuiltIn$2;
905
+ var uncurryThis$1 = functionUncurryThis;
906
906
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
907
907
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
908
- var anObject$5 = anObject$7;
908
+ var anObject = anObject$2;
909
909
 
910
- var concat$1 = uncurryThis$4([].concat);
910
+ var concat$1 = uncurryThis$1([].concat);
911
911
 
912
912
  // all object keys, includes non-enumerable and symbols
913
- var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
914
- var keys = getOwnPropertyNamesModule.f(anObject$5(it));
913
+ var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
914
+ var keys = getOwnPropertyNamesModule.f(anObject(it));
915
915
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
916
916
  return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
917
917
  };
@@ -919,11 +919,11 @@ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
919
919
  var hasOwn = hasOwnProperty_1;
920
920
  var ownKeys = ownKeys$1;
921
921
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
922
- var definePropertyModule$1 = objectDefineProperty;
922
+ var definePropertyModule = objectDefineProperty;
923
923
 
924
924
  var copyConstructorProperties$1 = function (target, source, exceptions) {
925
925
  var keys = ownKeys(source);
926
- var defineProperty = definePropertyModule$1.f;
926
+ var defineProperty = definePropertyModule.f;
927
927
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
928
928
  for (var i = 0; i < keys.length; i++) {
929
929
  var key = keys[i];
@@ -933,8 +933,8 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
933
933
  }
934
934
  };
935
935
 
936
- var fails$5 = fails$d;
937
- var isCallable$2 = isCallable$c;
936
+ var fails$1 = fails$9;
937
+ var isCallable = isCallable$a;
938
938
 
939
939
  var replacement = /#|\.prototype\./;
940
940
 
@@ -942,7 +942,7 @@ var isForced$1 = function (feature, detection) {
942
942
  var value = data[normalize(feature)];
943
943
  return value == POLYFILL ? true
944
944
  : value == NATIVE ? false
945
- : isCallable$2(detection) ? fails$5(detection)
945
+ : isCallable(detection) ? fails$1(detection)
946
946
  : !!detection;
947
947
  };
948
948
 
@@ -956,10 +956,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
956
956
 
957
957
  var isForced_1 = isForced$1;
958
958
 
959
- var global$4 = global$e;
959
+ var global$1 = global$b;
960
960
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
961
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
962
- var defineBuiltIn$1 = defineBuiltIn$2;
961
+ var createNonEnumerableProperty = createNonEnumerableProperty$2;
962
+ var defineBuiltIn = defineBuiltIn$1;
963
963
  var defineGlobalProperty = defineGlobalProperty$3;
964
964
  var copyConstructorProperties = copyConstructorProperties$1;
965
965
  var isForced = isForced_1;
@@ -985,11 +985,11 @@ var _export = function (options, source) {
985
985
  var STATIC = options.stat;
986
986
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
987
987
  if (GLOBAL) {
988
- target = global$4;
988
+ target = global$1;
989
989
  } else if (STATIC) {
990
- target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
990
+ target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
991
991
  } else {
992
- target = (global$4[TARGET] || {}).prototype;
992
+ target = (global$1[TARGET] || {}).prototype;
993
993
  }
994
994
  if (target) for (key in source) {
995
995
  sourceProperty = source[key];
@@ -1005,27 +1005,27 @@ var _export = function (options, source) {
1005
1005
  }
1006
1006
  // add a flag to not completely full polyfills
1007
1007
  if (options.sham || (targetProperty && targetProperty.sham)) {
1008
- createNonEnumerableProperty$1(sourceProperty, 'sham', true);
1008
+ createNonEnumerableProperty(sourceProperty, 'sham', true);
1009
1009
  }
1010
- defineBuiltIn$1(target, key, sourceProperty, options);
1010
+ defineBuiltIn(target, key, sourceProperty, options);
1011
1011
  }
1012
1012
  };
1013
1013
 
1014
1014
  var internalObjectKeys = objectKeysInternal;
1015
- var enumBugKeys$1 = enumBugKeys$3;
1015
+ var enumBugKeys = enumBugKeys$2;
1016
1016
 
1017
1017
  // `Object.keys` method
1018
1018
  // https://tc39.es/ecma262/#sec-object.keys
1019
1019
  // eslint-disable-next-line es/no-object-keys -- safe
1020
- var objectKeys$2 = Object.keys || function keys(O) {
1021
- return internalObjectKeys(O, enumBugKeys$1);
1020
+ var objectKeys$1 = Object.keys || function keys(O) {
1021
+ return internalObjectKeys(O, enumBugKeys);
1022
1022
  };
1023
1023
 
1024
- var DESCRIPTORS$1 = descriptors;
1025
- var uncurryThis$3 = functionUncurryThis;
1026
- var call$3 = functionCall;
1027
- var fails$4 = fails$d;
1028
- var objectKeys$1 = objectKeys$2;
1024
+ var DESCRIPTORS = descriptors;
1025
+ var uncurryThis = functionUncurryThis;
1026
+ var call = functionCall;
1027
+ var fails = fails$9;
1028
+ var objectKeys = objectKeys$1;
1029
1029
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1030
1030
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1031
1031
  var toObject$1 = toObject$3;
@@ -1035,13 +1035,13 @@ var IndexedObject = indexedObject;
1035
1035
  var $assign = Object.assign;
1036
1036
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1037
1037
  var defineProperty = Object.defineProperty;
1038
- var concat = uncurryThis$3([].concat);
1038
+ var concat = uncurryThis([].concat);
1039
1039
 
1040
1040
  // `Object.assign` method
1041
1041
  // https://tc39.es/ecma262/#sec-object.assign
1042
- var objectAssign$1 = !$assign || fails$4(function () {
1042
+ var objectAssign$1 = !$assign || fails(function () {
1043
1043
  // should have correct order of operations (Edge bug)
1044
- if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1044
+ if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1045
1045
  enumerable: true,
1046
1046
  get: function () {
1047
1047
  defineProperty(this, 'b', {
@@ -1058,7 +1058,7 @@ var objectAssign$1 = !$assign || fails$4(function () {
1058
1058
  var alphabet = 'abcdefghijklmnopqrst';
1059
1059
  A[symbol] = 7;
1060
1060
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1061
- return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
1061
+ return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
1062
1062
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1063
1063
  var T = toObject$1(target);
1064
1064
  var argumentsLength = arguments.length;
@@ -1067,36 +1067,27 @@ var objectAssign$1 = !$assign || fails$4(function () {
1067
1067
  var propertyIsEnumerable = propertyIsEnumerableModule.f;
1068
1068
  while (argumentsLength > index) {
1069
1069
  var S = IndexedObject(arguments[index++]);
1070
- var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);
1070
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1071
1071
  var length = keys.length;
1072
1072
  var j = 0;
1073
1073
  var key;
1074
1074
  while (length > j) {
1075
1075
  key = keys[j++];
1076
- if (!DESCRIPTORS$1 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
1076
+ if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
1077
1077
  }
1078
1078
  } return T;
1079
1079
  } : $assign;
1080
1080
 
1081
- var $$1 = _export;
1081
+ var $ = _export;
1082
1082
  var assign$2 = objectAssign$1;
1083
1083
 
1084
1084
  // `Object.assign` method
1085
1085
  // https://tc39.es/ecma262/#sec-object.assign
1086
1086
  // eslint-disable-next-line es/no-object-assign -- required for testing
1087
- $$1({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$2 }, {
1087
+ $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$2 }, {
1088
1088
  assign: assign$2
1089
1089
  });
1090
1090
 
1091
- function chainPropTypes(propType1, propType2) {
1092
- if (process.env.NODE_ENV === 'production') {
1093
- return () => null;
1094
- }
1095
- return function validate(...args) {
1096
- return propType1(...args) || propType2(...args);
1097
- };
1098
- }
1099
-
1100
1091
  function isPlainObject(item) {
1101
1092
  return item !== null && typeof item === 'object' && item.constructor === Object;
1102
1093
  }
@@ -2563,58 +2554,6 @@ function capitalize(string) {
2563
2554
  return string.charAt(0).toUpperCase() + string.slice(1);
2564
2555
  }
2565
2556
 
2566
- function getTypeByValue(value) {
2567
- const valueType = typeof value;
2568
- switch (valueType) {
2569
- case 'number':
2570
- if (Number.isNaN(value)) {
2571
- return 'NaN';
2572
- }
2573
- if (!Number.isFinite(value)) {
2574
- return 'Infinity';
2575
- }
2576
- if (value !== Math.floor(value)) {
2577
- return 'float';
2578
- }
2579
- return 'number';
2580
- case 'object':
2581
- if (value === null) {
2582
- return 'null';
2583
- }
2584
- return value.constructor.name;
2585
- default:
2586
- return valueType;
2587
- }
2588
- }
2589
-
2590
- // IE 11 support
2591
- function ponyfillIsInteger(x) {
2592
- // eslint-disable-next-line no-restricted-globals
2593
- return typeof x === 'number' && isFinite(x) && Math.floor(x) === x;
2594
- }
2595
- const isInteger = Number.isInteger || ponyfillIsInteger;
2596
- function requiredInteger(props, propName, componentName, location) {
2597
- const propValue = props[propName];
2598
- if (propValue == null || !isInteger(propValue)) {
2599
- const propType = getTypeByValue(propValue);
2600
- return new RangeError(`Invalid ${location} \`${propName}\` of type \`${propType}\` supplied to \`${componentName}\`, expected \`integer\`.`);
2601
- }
2602
- return null;
2603
- }
2604
- function validator(props, propName, ...other) {
2605
- const propValue = props[propName];
2606
- if (propValue === undefined) {
2607
- return null;
2608
- }
2609
- return requiredInteger(props, propName, ...other);
2610
- }
2611
- function validatorNoop() {
2612
- return null;
2613
- }
2614
- validator.isRequired = requiredInteger;
2615
- validatorNoop.isRequired = validatorNoop;
2616
- var integerPropType = process.env.NODE_ENV === 'production' ? validatorNoop : validator;
2617
-
2618
2557
  /**
2619
2558
  * Add keys, values of `defaultProps` that does not exist in `props`
2620
2559
  * @param {object} defaultProps
@@ -2986,7 +2925,7 @@ function match (value, pattern) {
2986
2925
  * @param {string} replacement
2987
2926
  * @return {string}
2988
2927
  */
2989
- function replace$1 (value, pattern, replacement) {
2928
+ function replace (value, pattern, replacement) {
2990
2929
  return value.replace(pattern, replacement)
2991
2930
  }
2992
2931
 
@@ -3314,7 +3253,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
3314
3253
  // (
3315
3254
  case 40:
3316
3255
  if (previous != 108 && charat(characters, length - 1) == 58) {
3317
- if (indexof(characters += replace$1(delimit(character), '&', '&\f'), '&\f') != -1)
3256
+ if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1)
3318
3257
  ampersand = -1;
3319
3258
  break
3320
3259
  }
@@ -3349,9 +3288,9 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
3349
3288
  // \0 }
3350
3289
  case 0: case 125: scanning = 0;
3351
3290
  // ;
3352
- case 59 + offset: if (ampersand == -1) characters = replace$1(characters, /\f/g, '');
3291
+ case 59 + offset: if (ampersand == -1) characters = replace(characters, /\f/g, '');
3353
3292
  if (property > 0 && (strlen(characters) - length))
3354
- append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace$1(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
3293
+ append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
3355
3294
  break
3356
3295
  // @ ;
3357
3296
  case 59: characters += ';';
@@ -3433,7 +3372,7 @@ function ruleset (value, root, parent, index, offset, rules, points, type, props
3433
3372
 
3434
3373
  for (var i = 0, j = 0, k = 0; i < index; ++i)
3435
3374
  for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
3436
- if (z = trim(j > 0 ? rule[x] + ' ' + y : replace$1(y, /&\f/g, rule[x])))
3375
+ if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x])))
3437
3376
  props[k++] = z;
3438
3377
 
3439
3378
  return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)
@@ -3829,51 +3768,51 @@ function prefix(value, length) {
3829
3768
  // align-items
3830
3769
 
3831
3770
  case 5187:
3832
- return WEBKIT + value + replace$1(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
3771
+ return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
3833
3772
  // align-self
3834
3773
 
3835
3774
  case 5443:
3836
- return WEBKIT + value + MS + 'flex-item-' + replace$1(value, /flex-|-self/, '') + value;
3775
+ return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;
3837
3776
  // align-content
3838
3777
 
3839
3778
  case 4675:
3840
- return WEBKIT + value + MS + 'flex-line-pack' + replace$1(value, /align-content|flex-|-self/, '') + value;
3779
+ return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;
3841
3780
  // flex-shrink
3842
3781
 
3843
3782
  case 5548:
3844
- return WEBKIT + value + MS + replace$1(value, 'shrink', 'negative') + value;
3783
+ return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
3845
3784
  // flex-basis
3846
3785
 
3847
3786
  case 5292:
3848
- return WEBKIT + value + MS + replace$1(value, 'basis', 'preferred-size') + value;
3787
+ return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
3849
3788
  // flex-grow
3850
3789
 
3851
3790
  case 6060:
3852
- return WEBKIT + 'box-' + replace$1(value, '-grow', '') + WEBKIT + value + MS + replace$1(value, 'grow', 'positive') + value;
3791
+ return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
3853
3792
  // transition
3854
3793
 
3855
3794
  case 4554:
3856
- return WEBKIT + replace$1(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
3795
+ return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
3857
3796
  // cursor
3858
3797
 
3859
3798
  case 6187:
3860
- return replace$1(replace$1(replace$1(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
3799
+ return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
3861
3800
  // background, background-image
3862
3801
 
3863
3802
  case 5495:
3864
3803
  case 3959:
3865
- return replace$1(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
3804
+ return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
3866
3805
  // justify-content
3867
3806
 
3868
3807
  case 4968:
3869
- return replace$1(replace$1(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
3808
+ return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
3870
3809
  // (margin|padding)-inline-(start|end)
3871
3810
 
3872
3811
  case 4095:
3873
3812
  case 3583:
3874
3813
  case 4068:
3875
3814
  case 2532:
3876
- return replace$1(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
3815
+ return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
3877
3816
  // (min|max)?(width|height|inline-size|block-size)
3878
3817
 
3879
3818
  case 8116:
@@ -3897,11 +3836,11 @@ function prefix(value, length) {
3897
3836
  // (f)ill-available, (f)it-content
3898
3837
 
3899
3838
  case 102:
3900
- return replace$1(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
3839
+ return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
3901
3840
  // (s)tretch
3902
3841
 
3903
3842
  case 115:
3904
- return ~indexof(value, 'stretch') ? prefix(replace$1(value, 'stretch', 'fill-available'), length) + value : value;
3843
+ return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;
3905
3844
  }
3906
3845
  break;
3907
3846
  // position: sticky
@@ -3915,11 +3854,11 @@ function prefix(value, length) {
3915
3854
  switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {
3916
3855
  // stic(k)y
3917
3856
  case 107:
3918
- return replace$1(value, ':', ':' + WEBKIT) + value;
3857
+ return replace(value, ':', ':' + WEBKIT) + value;
3919
3858
  // (inline-)?fl(e)x
3920
3859
 
3921
3860
  case 101:
3922
- return replace$1(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
3861
+ return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
3923
3862
  }
3924
3863
 
3925
3864
  break;
@@ -3929,15 +3868,15 @@ function prefix(value, length) {
3929
3868
  switch (charat(value, length + 11)) {
3930
3869
  // vertical-l(r)
3931
3870
  case 114:
3932
- return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
3871
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
3933
3872
  // vertical-r(l)
3934
3873
 
3935
3874
  case 108:
3936
- return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
3875
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
3937
3876
  // horizontal(-)tb
3938
3877
 
3939
3878
  case 45:
3940
- return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
3879
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
3941
3880
  }
3942
3881
 
3943
3882
  return WEBKIT + value + MS + value + value;
@@ -3954,7 +3893,7 @@ var prefixer = function prefixer(element, index, children, callback) {
3954
3893
 
3955
3894
  case KEYFRAMES:
3956
3895
  return serialize([copy(element, {
3957
- value: replace$1(element.value, '@', '@' + WEBKIT)
3896
+ value: replace(element.value, '@', '@' + WEBKIT)
3958
3897
  })], callback);
3959
3898
 
3960
3899
  case RULESET:
@@ -3964,17 +3903,17 @@ var prefixer = function prefixer(element, index, children, callback) {
3964
3903
  case ':read-only':
3965
3904
  case ':read-write':
3966
3905
  return serialize([copy(element, {
3967
- props: [replace$1(value, /:(read-\w+)/, ':' + MOZ + '$1')]
3906
+ props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
3968
3907
  })], callback);
3969
3908
  // :placeholder
3970
3909
 
3971
3910
  case '::placeholder':
3972
3911
  return serialize([copy(element, {
3973
- props: [replace$1(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
3912
+ props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
3974
3913
  }), copy(element, {
3975
- props: [replace$1(value, /:(plac\w+)/, ':' + MOZ + '$1')]
3914
+ props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
3976
3915
  }), copy(element, {
3977
- props: [replace$1(value, /:(plac\w+)/, MS + 'input-$1')]
3916
+ props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
3978
3917
  })], callback);
3979
3918
  }
3980
3919
 
@@ -4997,7 +4936,7 @@ tags.forEach(function (tagName) {
4997
4936
  * This source code is licensed under the MIT license found in the
4998
4937
  * LICENSE file in the root directory of this source tree.
4999
4938
  */
5000
- function styled$3(tag, options) {
4939
+ function styled$2(tag, options) {
5001
4940
  const stylesFactory = newStyled(tag, options);
5002
4941
  if (process.env.NODE_ENV !== 'production') {
5003
4942
  return (...styles) => {
@@ -5022,7 +4961,7 @@ const internal_processStyles = (tag, processor) => {
5022
4961
  }
5023
4962
  };
5024
4963
 
5025
- const _excluded$f = ["values", "unit", "step"];
4964
+ const _excluded$8 = ["values", "unit", "step"];
5026
4965
  const sortBreakpointsValues = values => {
5027
4966
  const breakpointsAsArray = Object.keys(values).map(key => ({
5028
4967
  key,
@@ -5057,7 +4996,7 @@ function createBreakpoints(breakpoints) {
5057
4996
  unit = 'px',
5058
4997
  step = 5
5059
4998
  } = breakpoints,
5060
- other = _objectWithoutPropertiesLoose(breakpoints, _excluded$f);
4999
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$8);
5061
5000
  const sortedValues = sortBreakpointsValues(values);
5062
5001
  const keys = Object.keys(sortedValues);
5063
5002
  function up(key) {
@@ -5183,61 +5122,6 @@ function removeUnusedBreakpoints(breakpointKeys, style) {
5183
5122
  return acc;
5184
5123
  }, style);
5185
5124
  }
5186
- function mergeBreakpointsInOrder(breakpointsInput, ...styles) {
5187
- const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);
5188
- const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => deepmerge(prev, next), {});
5189
- return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);
5190
- }
5191
-
5192
- // compute base for responsive values; e.g.,
5193
- // [1,2,3] => {xs: true, sm: true, md: true}
5194
- // {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true}
5195
- function computeBreakpointsBase(breakpointValues, themeBreakpoints) {
5196
- // fixed value
5197
- if (typeof breakpointValues !== 'object') {
5198
- return {};
5199
- }
5200
- const base = {};
5201
- const breakpointsKeys = Object.keys(themeBreakpoints);
5202
- if (Array.isArray(breakpointValues)) {
5203
- breakpointsKeys.forEach((breakpoint, i) => {
5204
- if (i < breakpointValues.length) {
5205
- base[breakpoint] = true;
5206
- }
5207
- });
5208
- } else {
5209
- breakpointsKeys.forEach(breakpoint => {
5210
- if (breakpointValues[breakpoint] != null) {
5211
- base[breakpoint] = true;
5212
- }
5213
- });
5214
- }
5215
- return base;
5216
- }
5217
- function resolveBreakpointValues({
5218
- values: breakpointValues,
5219
- breakpoints: themeBreakpoints,
5220
- base: customBase
5221
- }) {
5222
- const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints);
5223
- const keys = Object.keys(base);
5224
- if (keys.length === 0) {
5225
- return breakpointValues;
5226
- }
5227
- let previous;
5228
- return keys.reduce((acc, breakpoint, i) => {
5229
- if (Array.isArray(breakpointValues)) {
5230
- acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous];
5231
- previous = i;
5232
- } else if (typeof breakpointValues === 'object') {
5233
- acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous];
5234
- previous = breakpoint;
5235
- } else {
5236
- acc[breakpoint] = breakpointValues;
5237
- }
5238
- return acc;
5239
- }, {});
5240
- }
5241
5125
 
5242
5126
  function getPath(obj, path, checkVars = true) {
5243
5127
  if (!path || typeof path !== 'string') {
@@ -5272,7 +5156,7 @@ function getStyleValue(themeMapping, transform, propValueFinal, userValue = prop
5272
5156
  }
5273
5157
  return value;
5274
5158
  }
5275
- function style$2(options) {
5159
+ function style$1(options) {
5276
5160
  const {
5277
5161
  prop,
5278
5162
  cssProperty = options.prop,
@@ -5433,12 +5317,12 @@ function resolveCssProperty(props, keys, prop, transformer) {
5433
5317
  const propValue = props[prop];
5434
5318
  return handleBreakpoints(props, propValue, styleFromPropValue);
5435
5319
  }
5436
- function style$1(props, keys) {
5320
+ function style(props, keys) {
5437
5321
  const transformer = createUnarySpacing(props.theme);
5438
5322
  return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});
5439
5323
  }
5440
5324
  function margin(props) {
5441
- return style$1(props, marginKeys);
5325
+ return style(props, marginKeys);
5442
5326
  }
5443
5327
  margin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((obj, key) => {
5444
5328
  obj[key] = responsivePropType$1;
@@ -5446,7 +5330,7 @@ margin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((ob
5446
5330
  }, {}) : {};
5447
5331
  margin.filterProps = marginKeys;
5448
5332
  function padding(props) {
5449
- return style$1(props, paddingKeys);
5333
+ return style(props, paddingKeys);
5450
5334
  }
5451
5335
  padding.propTypes = process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {
5452
5336
  obj[key] = responsivePropType$1;
@@ -5520,48 +5404,48 @@ function borderTransform(value) {
5520
5404
  }
5521
5405
  return `${value}px solid`;
5522
5406
  }
5523
- const border = style$2({
5407
+ const border = style$1({
5524
5408
  prop: 'border',
5525
5409
  themeKey: 'borders',
5526
5410
  transform: borderTransform
5527
5411
  });
5528
- const borderTop = style$2({
5412
+ const borderTop = style$1({
5529
5413
  prop: 'borderTop',
5530
5414
  themeKey: 'borders',
5531
5415
  transform: borderTransform
5532
5416
  });
5533
- const borderRight = style$2({
5417
+ const borderRight = style$1({
5534
5418
  prop: 'borderRight',
5535
5419
  themeKey: 'borders',
5536
5420
  transform: borderTransform
5537
5421
  });
5538
- const borderBottom = style$2({
5422
+ const borderBottom = style$1({
5539
5423
  prop: 'borderBottom',
5540
5424
  themeKey: 'borders',
5541
5425
  transform: borderTransform
5542
5426
  });
5543
- const borderLeft = style$2({
5427
+ const borderLeft = style$1({
5544
5428
  prop: 'borderLeft',
5545
5429
  themeKey: 'borders',
5546
5430
  transform: borderTransform
5547
5431
  });
5548
- const borderColor = style$2({
5432
+ const borderColor = style$1({
5549
5433
  prop: 'borderColor',
5550
5434
  themeKey: 'palette'
5551
5435
  });
5552
- const borderTopColor = style$2({
5436
+ const borderTopColor = style$1({
5553
5437
  prop: 'borderTopColor',
5554
5438
  themeKey: 'palette'
5555
5439
  });
5556
- const borderRightColor = style$2({
5440
+ const borderRightColor = style$1({
5557
5441
  prop: 'borderRightColor',
5558
5442
  themeKey: 'palette'
5559
5443
  });
5560
- const borderBottomColor = style$2({
5444
+ const borderBottomColor = style$1({
5561
5445
  prop: 'borderBottomColor',
5562
5446
  themeKey: 'palette'
5563
5447
  });
5564
- const borderLeftColor = style$2({
5448
+ const borderLeftColor = style$1({
5565
5449
  prop: 'borderLeftColor',
5566
5450
  themeKey: 'palette'
5567
5451
  });
@@ -5634,31 +5518,31 @@ rowGap.propTypes = process.env.NODE_ENV !== 'production' ? {
5634
5518
  rowGap: responsivePropType$1
5635
5519
  } : {};
5636
5520
  rowGap.filterProps = ['rowGap'];
5637
- const gridColumn = style$2({
5521
+ const gridColumn = style$1({
5638
5522
  prop: 'gridColumn'
5639
5523
  });
5640
- const gridRow = style$2({
5524
+ const gridRow = style$1({
5641
5525
  prop: 'gridRow'
5642
5526
  });
5643
- const gridAutoFlow = style$2({
5527
+ const gridAutoFlow = style$1({
5644
5528
  prop: 'gridAutoFlow'
5645
5529
  });
5646
- const gridAutoColumns = style$2({
5530
+ const gridAutoColumns = style$1({
5647
5531
  prop: 'gridAutoColumns'
5648
5532
  });
5649
- const gridAutoRows = style$2({
5533
+ const gridAutoRows = style$1({
5650
5534
  prop: 'gridAutoRows'
5651
5535
  });
5652
- const gridTemplateColumns = style$2({
5536
+ const gridTemplateColumns = style$1({
5653
5537
  prop: 'gridTemplateColumns'
5654
5538
  });
5655
- const gridTemplateRows = style$2({
5539
+ const gridTemplateRows = style$1({
5656
5540
  prop: 'gridTemplateRows'
5657
5541
  });
5658
- const gridTemplateAreas = style$2({
5542
+ const gridTemplateAreas = style$1({
5659
5543
  prop: 'gridTemplateAreas'
5660
5544
  });
5661
- const gridArea = style$2({
5545
+ const gridArea = style$1({
5662
5546
  prop: 'gridArea'
5663
5547
  });
5664
5548
  compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
@@ -5669,18 +5553,18 @@ function paletteTransform(value, userValue) {
5669
5553
  }
5670
5554
  return value;
5671
5555
  }
5672
- const color = style$2({
5556
+ const color = style$1({
5673
5557
  prop: 'color',
5674
5558
  themeKey: 'palette',
5675
5559
  transform: paletteTransform
5676
5560
  });
5677
- const bgcolor = style$2({
5561
+ const bgcolor = style$1({
5678
5562
  prop: 'bgcolor',
5679
5563
  cssProperty: 'backgroundColor',
5680
5564
  themeKey: 'palette',
5681
5565
  transform: paletteTransform
5682
5566
  });
5683
- const backgroundColor = style$2({
5567
+ const backgroundColor = style$1({
5684
5568
  prop: 'backgroundColor',
5685
5569
  themeKey: 'palette',
5686
5570
  transform: paletteTransform
@@ -5690,7 +5574,7 @@ compose(color, bgcolor, backgroundColor);
5690
5574
  function sizingTransform(value) {
5691
5575
  return value <= 1 && value !== 0 ? `${value * 100}%` : value;
5692
5576
  }
5693
- const width = style$2({
5577
+ const width = style$1({
5694
5578
  prop: 'width',
5695
5579
  transform: sizingTransform
5696
5580
  });
@@ -5708,33 +5592,33 @@ const maxWidth = props => {
5708
5592
  return null;
5709
5593
  };
5710
5594
  maxWidth.filterProps = ['maxWidth'];
5711
- const minWidth = style$2({
5595
+ const minWidth = style$1({
5712
5596
  prop: 'minWidth',
5713
5597
  transform: sizingTransform
5714
5598
  });
5715
- const height = style$2({
5599
+ const height = style$1({
5716
5600
  prop: 'height',
5717
5601
  transform: sizingTransform
5718
5602
  });
5719
- const maxHeight = style$2({
5603
+ const maxHeight = style$1({
5720
5604
  prop: 'maxHeight',
5721
5605
  transform: sizingTransform
5722
5606
  });
5723
- const minHeight = style$2({
5607
+ const minHeight = style$1({
5724
5608
  prop: 'minHeight',
5725
5609
  transform: sizingTransform
5726
5610
  });
5727
- style$2({
5611
+ style$1({
5728
5612
  prop: 'size',
5729
5613
  cssProperty: 'width',
5730
5614
  transform: sizingTransform
5731
5615
  });
5732
- style$2({
5616
+ style$1({
5733
5617
  prop: 'size',
5734
5618
  cssProperty: 'height',
5735
5619
  transform: sizingTransform
5736
5620
  });
5737
- const boxSizing = style$2({
5621
+ const boxSizing = style$1({
5738
5622
  prop: 'boxSizing'
5739
5623
  });
5740
5624
  compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
@@ -6141,7 +6025,7 @@ const styleFunctionSx = unstable_createStyleFunctionSx();
6141
6025
  styleFunctionSx.filterProps = ['sx'];
6142
6026
  var styleFunctionSx$1 = styleFunctionSx;
6143
6027
 
6144
- const _excluded$e = ["breakpoints", "palette", "spacing", "shape"];
6028
+ const _excluded$7 = ["breakpoints", "palette", "spacing", "shape"];
6145
6029
  function createTheme$1(options = {}, ...args) {
6146
6030
  const {
6147
6031
  breakpoints: breakpointsInput = {},
@@ -6149,7 +6033,7 @@ function createTheme$1(options = {}, ...args) {
6149
6033
  spacing: spacingInput,
6150
6034
  shape: shapeInput = {}
6151
6035
  } = options,
6152
- other = _objectWithoutPropertiesLoose(options, _excluded$e);
6036
+ other = _objectWithoutPropertiesLoose(options, _excluded$7);
6153
6037
  const breakpoints = createBreakpoints(breakpointsInput);
6154
6038
  const spacing = createSpacing(spacingInput);
6155
6039
  let muiTheme = deepmerge({
@@ -6177,64 +6061,19 @@ function createTheme$1(options = {}, ...args) {
6177
6061
  function isObjectEmpty(obj) {
6178
6062
  return Object.keys(obj).length === 0;
6179
6063
  }
6180
- function useTheme$2(defaultTheme = null) {
6064
+ function useTheme$1(defaultTheme = null) {
6181
6065
  const contextTheme = React.useContext(ThemeContext);
6182
6066
  return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;
6183
6067
  }
6184
6068
 
6185
6069
  const systemDefaultTheme$1 = createTheme$1();
6186
- function useTheme$1(defaultTheme = systemDefaultTheme$1) {
6187
- return useTheme$2(defaultTheme);
6188
- }
6189
-
6190
- const _excluded$d = ["sx"];
6191
- const splitProps = props => {
6192
- var _props$theme$unstable, _props$theme;
6193
- const result = {
6194
- systemProps: {},
6195
- otherProps: {}
6196
- };
6197
- const config = (_props$theme$unstable = props == null ? void 0 : (_props$theme = props.theme) == null ? void 0 : _props$theme.unstable_sxConfig) != null ? _props$theme$unstable : defaultSxConfig$1;
6198
- Object.keys(props).forEach(prop => {
6199
- if (config[prop]) {
6200
- result.systemProps[prop] = props[prop];
6201
- } else {
6202
- result.otherProps[prop] = props[prop];
6203
- }
6204
- });
6205
- return result;
6206
- };
6207
- function extendSxProp(props) {
6208
- const {
6209
- sx: inSx
6210
- } = props,
6211
- other = _objectWithoutPropertiesLoose(props, _excluded$d);
6212
- const {
6213
- systemProps,
6214
- otherProps
6215
- } = splitProps(other);
6216
- let finalSx;
6217
- if (Array.isArray(inSx)) {
6218
- finalSx = [systemProps, ...inSx];
6219
- } else if (typeof inSx === 'function') {
6220
- finalSx = (...args) => {
6221
- const result = inSx(...args);
6222
- if (!isPlainObject(result)) {
6223
- return systemProps;
6224
- }
6225
- return _extends({}, systemProps, result);
6226
- };
6227
- } else {
6228
- finalSx = _extends({}, systemProps, inSx);
6229
- }
6230
- return _extends({}, otherProps, {
6231
- sx: finalSx
6232
- });
6070
+ function useTheme(defaultTheme = systemDefaultTheme$1) {
6071
+ return useTheme$1(defaultTheme);
6233
6072
  }
6234
6073
 
6235
6074
  function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
6236
6075
 
6237
- const _excluded$c = ["variant"];
6076
+ const _excluded$6 = ["variant"];
6238
6077
  function isEmpty$1(string) {
6239
6078
  return string.length === 0;
6240
6079
  }
@@ -6248,7 +6087,7 @@ function propsToClassKey(props) {
6248
6087
  const {
6249
6088
  variant
6250
6089
  } = props,
6251
- other = _objectWithoutPropertiesLoose(props, _excluded$c);
6090
+ other = _objectWithoutPropertiesLoose(props, _excluded$6);
6252
6091
  let classKey = variant || '';
6253
6092
  Object.keys(other).sort().forEach(key => {
6254
6093
  if (key === 'color') {
@@ -6260,7 +6099,7 @@ function propsToClassKey(props) {
6260
6099
  return classKey;
6261
6100
  }
6262
6101
 
6263
- const _excluded$b = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
6102
+ const _excluded$5 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
6264
6103
  function isEmpty(obj) {
6265
6104
  return Object.keys(obj).length === 0;
6266
6105
  }
@@ -6355,7 +6194,7 @@ function createStyled(input = {}) {
6355
6194
  skipSx: inputSkipSx,
6356
6195
  overridesResolver
6357
6196
  } = inputOptions,
6358
- options = _objectWithoutPropertiesLoose(inputOptions, _excluded$b);
6197
+ options = _objectWithoutPropertiesLoose(inputOptions, _excluded$5);
6359
6198
 
6360
6199
  // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
6361
6200
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
@@ -6376,7 +6215,7 @@ function createStyled(input = {}) {
6376
6215
  // for string (html) tag, preserve the behavior in emotion & styled-components.
6377
6216
  shouldForwardPropOption = undefined;
6378
6217
  }
6379
- const defaultStyledResolver = styled$3(tag, _extends({
6218
+ const defaultStyledResolver = styled$2(tag, _extends({
6380
6219
  shouldForwardProp: shouldForwardPropOption,
6381
6220
  label
6382
6221
  }, options));
@@ -6468,9 +6307,6 @@ function createStyled(input = {}) {
6468
6307
  };
6469
6308
  }
6470
6309
 
6471
- const styled$2 = createStyled();
6472
- var systemStyled = styled$2;
6473
-
6474
6310
  function getThemeProps(params) {
6475
6311
  const {
6476
6312
  theme,
@@ -6489,7 +6325,7 @@ function useThemeProps$1({
6489
6325
  defaultTheme,
6490
6326
  themeId
6491
6327
  }) {
6492
- let theme = useTheme$1(defaultTheme);
6328
+ let theme = useTheme(defaultTheme);
6493
6329
  if (themeId) {
6494
6330
  theme = theme[themeId] || theme;
6495
6331
  }
@@ -6672,27 +6508,6 @@ function getContrastRatio(foreground, background) {
6672
6508
  return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);
6673
6509
  }
6674
6510
 
6675
- /**
6676
- * Sets the absolute transparency of a color.
6677
- * Any existing alpha values are overwritten.
6678
- * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
6679
- * @param {number} value - value to set the alpha channel to in the range 0 - 1
6680
- * @returns {string} A CSS color string. Hex input values are returned as rgb
6681
- */
6682
- function alpha(color, value) {
6683
- color = decomposeColor(color);
6684
- value = clamp(value);
6685
- if (color.type === 'rgb' || color.type === 'hsl') {
6686
- color.type += 'a';
6687
- }
6688
- if (color.type === 'color') {
6689
- color.values[3] = `/${value}`;
6690
- } else {
6691
- color.values[3] = value;
6692
- }
6693
- return recomposeColor(color);
6694
- }
6695
-
6696
6511
  /**
6697
6512
  * Darkens a color.
6698
6513
  * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
@@ -6735,161 +6550,6 @@ function lighten(color, coefficient) {
6735
6550
  return recomposeColor(color);
6736
6551
  }
6737
6552
 
6738
- const _excluded$a = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
6739
- const defaultTheme$2 = createTheme$1();
6740
- // widening Theme to any so that the consumer can own the theme structure.
6741
- const defaultCreateStyledComponent = systemStyled('div', {
6742
- name: 'MuiStack',
6743
- slot: 'Root',
6744
- overridesResolver: (props, styles) => styles.root
6745
- });
6746
- function useThemePropsDefault(props) {
6747
- return useThemeProps$1({
6748
- props,
6749
- name: 'MuiStack',
6750
- defaultTheme: defaultTheme$2
6751
- });
6752
- }
6753
-
6754
- /**
6755
- * Return an array with the separator React element interspersed between
6756
- * each React node of the input children.
6757
- *
6758
- * > joinChildren([1,2,3], 0)
6759
- * [1,0,2,0,3]
6760
- */
6761
- function joinChildren(children, separator) {
6762
- const childrenArray = React.Children.toArray(children).filter(Boolean);
6763
- return childrenArray.reduce((output, child, index) => {
6764
- output.push(child);
6765
- if (index < childrenArray.length - 1) {
6766
- output.push( /*#__PURE__*/React.cloneElement(separator, {
6767
- key: `separator-${index}`
6768
- }));
6769
- }
6770
- return output;
6771
- }, []);
6772
- }
6773
- const getSideFromDirection = direction => {
6774
- return {
6775
- row: 'Left',
6776
- 'row-reverse': 'Right',
6777
- column: 'Top',
6778
- 'column-reverse': 'Bottom'
6779
- }[direction];
6780
- };
6781
- const style = ({
6782
- ownerState,
6783
- theme
6784
- }) => {
6785
- let styles = _extends({
6786
- display: 'flex',
6787
- flexDirection: 'column'
6788
- }, handleBreakpoints({
6789
- theme
6790
- }, resolveBreakpointValues({
6791
- values: ownerState.direction,
6792
- breakpoints: theme.breakpoints.values
6793
- }), propValue => ({
6794
- flexDirection: propValue
6795
- })));
6796
- if (ownerState.spacing) {
6797
- const transformer = createUnarySpacing(theme);
6798
- const base = Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {
6799
- if (typeof ownerState.spacing === 'object' && ownerState.spacing[breakpoint] != null || typeof ownerState.direction === 'object' && ownerState.direction[breakpoint] != null) {
6800
- acc[breakpoint] = true;
6801
- }
6802
- return acc;
6803
- }, {});
6804
- const directionValues = resolveBreakpointValues({
6805
- values: ownerState.direction,
6806
- base
6807
- });
6808
- const spacingValues = resolveBreakpointValues({
6809
- values: ownerState.spacing,
6810
- base
6811
- });
6812
- if (typeof directionValues === 'object') {
6813
- Object.keys(directionValues).forEach((breakpoint, index, breakpoints) => {
6814
- const directionValue = directionValues[breakpoint];
6815
- if (!directionValue) {
6816
- const previousDirectionValue = index > 0 ? directionValues[breakpoints[index - 1]] : 'column';
6817
- directionValues[breakpoint] = previousDirectionValue;
6818
- }
6819
- });
6820
- }
6821
- const styleFromPropValue = (propValue, breakpoint) => {
6822
- if (ownerState.useFlexGap) {
6823
- return {
6824
- gap: getValue(transformer, propValue)
6825
- };
6826
- }
6827
- return {
6828
- '& > :not(style) + :not(style)': {
6829
- margin: 0,
6830
- [`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)
6831
- }
6832
- };
6833
- };
6834
- styles = deepmerge(styles, handleBreakpoints({
6835
- theme
6836
- }, spacingValues, styleFromPropValue));
6837
- }
6838
- styles = mergeBreakpointsInOrder(theme.breakpoints, styles);
6839
- return styles;
6840
- };
6841
- function createStack(options = {}) {
6842
- const {
6843
- // This will allow adding custom styled fn (for example for custom sx style function)
6844
- createStyledComponent = defaultCreateStyledComponent,
6845
- useThemeProps = useThemePropsDefault,
6846
- componentName = 'MuiStack'
6847
- } = options;
6848
- const useUtilityClasses = () => {
6849
- const slots = {
6850
- root: ['root']
6851
- };
6852
- return composeClasses(slots, slot => generateUtilityClass(componentName, slot), {});
6853
- };
6854
- const StackRoot = createStyledComponent(style);
6855
- const Stack = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
6856
- const themeProps = useThemeProps(inProps);
6857
- const props = extendSxProp(themeProps); // `color` type conflicts with html color attribute.
6858
- const {
6859
- component = 'div',
6860
- direction = 'column',
6861
- spacing = 0,
6862
- divider,
6863
- children,
6864
- className,
6865
- useFlexGap = false
6866
- } = props,
6867
- other = _objectWithoutPropertiesLoose(props, _excluded$a);
6868
- const ownerState = {
6869
- direction,
6870
- spacing,
6871
- useFlexGap
6872
- };
6873
- const classes = useUtilityClasses();
6874
- return /*#__PURE__*/jsx(StackRoot, _extends({
6875
- as: component,
6876
- ownerState: ownerState,
6877
- ref: ref,
6878
- className: clsx(classes.root, className)
6879
- }, other, {
6880
- children: divider ? joinChildren(children, divider) : children
6881
- }));
6882
- });
6883
- process.env.NODE_ENV !== "production" ? Stack.propTypes /* remove-proptypes */ = {
6884
- children: PropTypes.node,
6885
- direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),
6886
- divider: PropTypes.node,
6887
- spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
6888
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
6889
- } : void 0;
6890
- return Stack;
6891
- }
6892
-
6893
6553
  function createMixins(breakpoints, mixins) {
6894
6554
  return _extends({
6895
6555
  toolbar: {
@@ -7038,7 +6698,7 @@ const green = {
7038
6698
  };
7039
6699
  var green$1 = green;
7040
6700
 
7041
- const _excluded$9 = ["mode", "contrastThreshold", "tonalOffset"];
6701
+ const _excluded$4 = ["mode", "contrastThreshold", "tonalOffset"];
7042
6702
  const light = {
7043
6703
  // The colors used to style the text.
7044
6704
  text: {
@@ -7207,7 +6867,7 @@ function createPalette(palette) {
7207
6867
  contrastThreshold = 3,
7208
6868
  tonalOffset = 0.2
7209
6869
  } = palette,
7210
- other = _objectWithoutPropertiesLoose(palette, _excluded$9);
6870
+ other = _objectWithoutPropertiesLoose(palette, _excluded$4);
7211
6871
  const primary = palette.primary || getDefaultPrimary(mode);
7212
6872
  const secondary = palette.secondary || getDefaultSecondary(mode);
7213
6873
  const error = palette.error || getDefaultError(mode);
@@ -7331,7 +6991,7 @@ const theme2 = createTheme({ palette: {
7331
6991
  return paletteOutput;
7332
6992
  }
7333
6993
 
7334
- const _excluded$8 = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
6994
+ const _excluded$3 = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
7335
6995
  function round(value) {
7336
6996
  return Math.round(value * 1e5) / 1e5;
7337
6997
  }
@@ -7362,7 +7022,7 @@ function createTypography(palette, typography) {
7362
7022
  allVariants,
7363
7023
  pxToRem: pxToRem2
7364
7024
  } = _ref,
7365
- other = _objectWithoutPropertiesLoose(_ref, _excluded$8);
7025
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$3);
7366
7026
  if (process.env.NODE_ENV !== 'production') {
7367
7027
  if (typeof fontSize !== 'number') {
7368
7028
  console.error('MUI: `fontSize` is required to be a number.');
@@ -7429,7 +7089,7 @@ function createShadow(...px) {
7429
7089
  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)];
7430
7090
  var shadows$1 = shadows;
7431
7091
 
7432
- const _excluded$7 = ["duration", "easing", "delay"];
7092
+ const _excluded$2 = ["duration", "easing", "delay"];
7433
7093
  // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
7434
7094
  // to learn the context in which each easing should be used.
7435
7095
  const easing = {
@@ -7480,7 +7140,7 @@ function createTransitions(inputTransitions) {
7480
7140
  easing: easingOption = mergedEasing.easeInOut,
7481
7141
  delay = 0
7482
7142
  } = options,
7483
- other = _objectWithoutPropertiesLoose(options, _excluded$7);
7143
+ other = _objectWithoutPropertiesLoose(options, _excluded$2);
7484
7144
  if (process.env.NODE_ENV !== 'production') {
7485
7145
  const isString = value => typeof value === 'string';
7486
7146
  // IE11 support, replace with Number.isNaN
@@ -7527,7 +7187,7 @@ const zIndex = {
7527
7187
  };
7528
7188
  var zIndex$1 = zIndex;
7529
7189
 
7530
- const _excluded$6 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
7190
+ const _excluded$1 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
7531
7191
  function createTheme(options = {}, ...args) {
7532
7192
  const {
7533
7193
  mixins: mixinsInput = {},
@@ -7535,7 +7195,7 @@ function createTheme(options = {}, ...args) {
7535
7195
  transitions: transitionsInput = {},
7536
7196
  typography: typographyInput = {}
7537
7197
  } = options,
7538
- other = _objectWithoutPropertiesLoose(options, _excluded$6);
7198
+ other = _objectWithoutPropertiesLoose(options, _excluded$1);
7539
7199
  if (options.vars) {
7540
7200
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
7541
7201
  Please use another name.` : formatMuiErrorMessage(18));
@@ -7596,15 +7256,6 @@ Please use another name.` : formatMuiErrorMessage(18));
7596
7256
  const defaultTheme = createTheme();
7597
7257
  var defaultTheme$1 = defaultTheme;
7598
7258
 
7599
- function useTheme() {
7600
- const theme = useTheme$1(defaultTheme$1);
7601
- if (process.env.NODE_ENV !== 'production') {
7602
- // eslint-disable-next-line react-hooks/rules-of-hooks
7603
- React.useDebugValue(theme);
7604
- }
7605
- return theme[THEME_ID] || theme;
7606
- }
7607
-
7608
7259
  function useThemeProps({
7609
7260
  props,
7610
7261
  name
@@ -7625,25 +7276,13 @@ const styled = createStyled({
7625
7276
  });
7626
7277
  var styled$1 = styled;
7627
7278
 
7628
- // Inspired by https://github.com/material-components/material-components-ios/blob/bca36107405594d5b7b16265a5b0ed698f85a5ee/components/Elevation/src/UIColor%2BMaterialElevation.m#L61
7629
- const getOverlayAlpha = elevation => {
7630
- let alphaValue;
7631
- if (elevation < 1) {
7632
- alphaValue = 5.11916 * elevation ** 2;
7633
- } else {
7634
- alphaValue = 4.5 * Math.log(elevation + 1) + 2;
7635
- }
7636
- return (alphaValue / 100).toFixed(2);
7637
- };
7638
- var getOverlayAlpha$1 = getOverlayAlpha;
7639
-
7640
7279
  function getSvgIconUtilityClass(slot) {
7641
7280
  return generateUtilityClass('MuiSvgIcon', slot);
7642
7281
  }
7643
7282
  generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
7644
7283
 
7645
- const _excluded$5 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
7646
- const useUtilityClasses$5 = ownerState => {
7284
+ const _excluded = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
7285
+ const useUtilityClasses = ownerState => {
7647
7286
  const {
7648
7287
  color,
7649
7288
  fontSize,
@@ -7708,7 +7347,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
7708
7347
  titleAccess,
7709
7348
  viewBox = '0 0 24 24'
7710
7349
  } = props,
7711
- other = _objectWithoutPropertiesLoose(props, _excluded$5);
7350
+ other = _objectWithoutPropertiesLoose(props, _excluded);
7712
7351
  const ownerState = _extends({}, props, {
7713
7352
  color,
7714
7353
  component,
@@ -7721,7 +7360,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
7721
7360
  if (!inheritViewBox) {
7722
7361
  more.viewBox = viewBox;
7723
7362
  }
7724
- const classes = useUtilityClasses$5(ownerState);
7363
+ const classes = useUtilityClasses(ownerState);
7725
7364
  return /*#__PURE__*/jsxs(SvgIconRoot, _extends({
7726
7365
  as: component,
7727
7366
  className: clsx(classes.root, className),
@@ -8010,25 +7649,39 @@ const components = {
8010
7649
  }
8011
7650
  },
8012
7651
  MuiButton: {
8013
- defaultProps: {
8014
- size: 'medium'
8015
- },
8016
7652
  styleOverrides: {
8017
- fullWidth: {
8018
- width: '100%'
7653
+ endIcon: {
7654
+ marginLeft: 2
7655
+ },
7656
+ iconSizeSmall: {
7657
+ height: 14,
7658
+ width: 14
7659
+ },
7660
+ iconSizeMedium: {
7661
+ height: 18,
7662
+ width: 18
7663
+ },
7664
+ iconSizeLarge: {
7665
+ height: 22,
7666
+ width: 22
8019
7667
  },
8020
7668
  sizeSmall: {
8021
- padding: '4px 10px'
7669
+ padding: '6px 5px'
8022
7670
  },
8023
7671
  sizeMedium: {
8024
- padding: '7.5px 15px'
7672
+ padding: '8.5px 8px',
7673
+ ".MuiSvgIcon-fontSizeMedium": {
7674
+ height: 18,
7675
+ width: 18
7676
+ }
8025
7677
  },
8026
7678
  sizeLarge: {
8027
- padding: '10.5px 22px',
8028
- fontSize: 14
8029
- },
8030
- root: {
8031
- width: "fit-content"
7679
+ padding: '10.5px 11px',
7680
+ fontSize: 14,
7681
+ ".MuiSvgIcon-fontSizeLarge": {
7682
+ height: 20,
7683
+ width: 20
7684
+ }
8032
7685
  }
8033
7686
  }
8034
7687
  },
@@ -8503,6 +8156,51 @@ const themeOptions = {
8503
8156
  };
8504
8157
 
8505
8158
  const SincoTheme = createTheme(Object.assign({}, themeOptions, {
8159
+ components: {
8160
+ MuiChip: {
8161
+ variants: [{
8162
+ props: {
8163
+ size: "xsmall"
8164
+ },
8165
+ style: {
8166
+ fontFamily: "Roboto",
8167
+ fontStyle: "normal",
8168
+ borderRadius: "4px",
8169
+ fontSize: "10px",
8170
+ lineHeight: "10px",
8171
+ height: 16,
8172
+ fontWeight: 400,
8173
+ letterSpacing: 0.15,
8174
+ ".MuiSvgIcon-root": {
8175
+ width: 10,
8176
+ height: 10
8177
+ }
8178
+ }
8179
+ }]
8180
+ },
8181
+ MuiCheckbox: {
8182
+ variants: [{
8183
+ props: {
8184
+ size: "xsmall"
8185
+ },
8186
+ style: {
8187
+ fontFamily: "Roboto",
8188
+ fontStyle: "normal",
8189
+ borderRadius: "4px",
8190
+ fontSize: "10px",
8191
+ height: "16px",
8192
+ fontWeight: 400,
8193
+ lineHeight: "10px",
8194
+ letterSpacing: 0.15,
8195
+ padding: 2,
8196
+ "&.MuiSvgIcon-root": {
8197
+ width: 12,
8198
+ height: 12
8199
+ }
8200
+ }
8201
+ }]
8202
+ }
8203
+ },
8506
8204
  typography: {
8507
8205
  body3: {
8508
8206
  fontFamily: "Roboto",
@@ -8517,1235 +8215,4 @@ const SincoTheme = createTheme(Object.assign({}, themeOptions, {
8517
8215
  }
8518
8216
  }));
8519
8217
 
8520
- var wellKnownSymbol$2 = wellKnownSymbol$4;
8521
-
8522
- var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
8523
- var test = {};
8524
-
8525
- test[TO_STRING_TAG$1] = 'z';
8526
-
8527
- var toStringTagSupport = String(test) === '[object z]';
8528
-
8529
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
8530
- var isCallable$1 = isCallable$c;
8531
- var classofRaw$1 = classofRaw$2;
8532
- var wellKnownSymbol$1 = wellKnownSymbol$4;
8533
-
8534
- var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
8535
- var $Object = Object;
8536
-
8537
- // ES3 wrong here
8538
- var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';
8539
-
8540
- // fallback for IE11 Script Access Denied error
8541
- var tryGet = function (it, key) {
8542
- try {
8543
- return it[key];
8544
- } catch (error) { /* empty */ }
8545
- };
8546
-
8547
- // getting tag from ES6+ `Object.prototype.toString`
8548
- var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
8549
- var O, tag, result;
8550
- return it === undefined ? 'Undefined' : it === null ? 'Null'
8551
- // @@toStringTag case
8552
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
8553
- // builtinTag case
8554
- : CORRECT_ARGUMENTS ? classofRaw$1(O)
8555
- // ES3 arguments fallback
8556
- : (result = classofRaw$1(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
8557
- };
8558
-
8559
- var classof$1 = classof$2;
8560
-
8561
- var $String = String;
8562
-
8563
- var toString$2 = function (argument) {
8564
- if (classof$1(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
8565
- return $String(argument);
8566
- };
8567
-
8568
- var anObject$4 = anObject$7;
8569
-
8570
- // `RegExp.prototype.flags` getter implementation
8571
- // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
8572
- var regexpFlags$1 = function () {
8573
- var that = anObject$4(this);
8574
- var result = '';
8575
- if (that.hasIndices) result += 'd';
8576
- if (that.global) result += 'g';
8577
- if (that.ignoreCase) result += 'i';
8578
- if (that.multiline) result += 'm';
8579
- if (that.dotAll) result += 's';
8580
- if (that.unicode) result += 'u';
8581
- if (that.unicodeSets) result += 'v';
8582
- if (that.sticky) result += 'y';
8583
- return result;
8584
- };
8585
-
8586
- var fails$3 = fails$d;
8587
- var global$3 = global$e;
8588
-
8589
- // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
8590
- var $RegExp$2 = global$3.RegExp;
8591
-
8592
- var UNSUPPORTED_Y$1 = fails$3(function () {
8593
- var re = $RegExp$2('a', 'y');
8594
- re.lastIndex = 2;
8595
- return re.exec('abcd') != null;
8596
- });
8597
-
8598
- // UC Browser bug
8599
- // https://github.com/zloirock/core-js/issues/1008
8600
- var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$3(function () {
8601
- return !$RegExp$2('a', 'y').sticky;
8602
- });
8603
-
8604
- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$3(function () {
8605
- // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
8606
- var re = $RegExp$2('^r', 'gy');
8607
- re.lastIndex = 2;
8608
- return re.exec('str') != null;
8609
- });
8610
-
8611
- var regexpStickyHelpers = {
8612
- BROKEN_CARET: BROKEN_CARET,
8613
- MISSED_STICKY: MISSED_STICKY,
8614
- UNSUPPORTED_Y: UNSUPPORTED_Y$1
8615
- };
8616
-
8617
- var objectDefineProperties = {};
8618
-
8619
- var DESCRIPTORS = descriptors;
8620
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
8621
- var definePropertyModule = objectDefineProperty;
8622
- var anObject$3 = anObject$7;
8623
- var toIndexedObject = toIndexedObject$4;
8624
- var objectKeys = objectKeys$2;
8625
-
8626
- // `Object.defineProperties` method
8627
- // https://tc39.es/ecma262/#sec-object.defineproperties
8628
- // eslint-disable-next-line es/no-object-defineproperties -- safe
8629
- objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
8630
- anObject$3(O);
8631
- var props = toIndexedObject(Properties);
8632
- var keys = objectKeys(Properties);
8633
- var length = keys.length;
8634
- var index = 0;
8635
- var key;
8636
- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
8637
- return O;
8638
- };
8639
-
8640
- var getBuiltIn = getBuiltIn$3;
8641
-
8642
- var html$1 = getBuiltIn('document', 'documentElement');
8643
-
8644
- /* global ActiveXObject -- old IE, WSH */
8645
-
8646
- var anObject$2 = anObject$7;
8647
- var definePropertiesModule = objectDefineProperties;
8648
- var enumBugKeys = enumBugKeys$3;
8649
- var hiddenKeys = hiddenKeys$4;
8650
- var html = html$1;
8651
- var documentCreateElement = documentCreateElement$1;
8652
- var sharedKey = sharedKey$2;
8653
-
8654
- var GT = '>';
8655
- var LT = '<';
8656
- var PROTOTYPE = 'prototype';
8657
- var SCRIPT = 'script';
8658
- var IE_PROTO = sharedKey('IE_PROTO');
8659
-
8660
- var EmptyConstructor = function () { /* empty */ };
8661
-
8662
- var scriptTag = function (content) {
8663
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
8664
- };
8665
-
8666
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
8667
- var NullProtoObjectViaActiveX = function (activeXDocument) {
8668
- activeXDocument.write(scriptTag(''));
8669
- activeXDocument.close();
8670
- var temp = activeXDocument.parentWindow.Object;
8671
- activeXDocument = null; // avoid memory leak
8672
- return temp;
8673
- };
8674
-
8675
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
8676
- var NullProtoObjectViaIFrame = function () {
8677
- // Thrash, waste and sodomy: IE GC bug
8678
- var iframe = documentCreateElement('iframe');
8679
- var JS = 'java' + SCRIPT + ':';
8680
- var iframeDocument;
8681
- iframe.style.display = 'none';
8682
- html.appendChild(iframe);
8683
- // https://github.com/zloirock/core-js/issues/475
8684
- iframe.src = String(JS);
8685
- iframeDocument = iframe.contentWindow.document;
8686
- iframeDocument.open();
8687
- iframeDocument.write(scriptTag('document.F=Object'));
8688
- iframeDocument.close();
8689
- return iframeDocument.F;
8690
- };
8691
-
8692
- // Check for document.domain and active x support
8693
- // No need to use active x approach when document.domain is not set
8694
- // see https://github.com/es-shims/es5-shim/issues/150
8695
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
8696
- // avoid IE GC bug
8697
- var activeXDocument;
8698
- var NullProtoObject = function () {
8699
- try {
8700
- activeXDocument = new ActiveXObject('htmlfile');
8701
- } catch (error) { /* ignore */ }
8702
- NullProtoObject = typeof document != 'undefined'
8703
- ? document.domain && activeXDocument
8704
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
8705
- : NullProtoObjectViaIFrame()
8706
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
8707
- var length = enumBugKeys.length;
8708
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
8709
- return NullProtoObject();
8710
- };
8711
-
8712
- hiddenKeys[IE_PROTO] = true;
8713
-
8714
- // `Object.create` method
8715
- // https://tc39.es/ecma262/#sec-object.create
8716
- // eslint-disable-next-line es/no-object-create -- safe
8717
- var objectCreate = Object.create || function create(O, Properties) {
8718
- var result;
8719
- if (O !== null) {
8720
- EmptyConstructor[PROTOTYPE] = anObject$2(O);
8721
- result = new EmptyConstructor();
8722
- EmptyConstructor[PROTOTYPE] = null;
8723
- // add "__proto__" for Object.getPrototypeOf polyfill
8724
- result[IE_PROTO] = O;
8725
- } else result = NullProtoObject();
8726
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
8727
- };
8728
-
8729
- var fails$2 = fails$d;
8730
- var global$2 = global$e;
8731
-
8732
- // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
8733
- var $RegExp$1 = global$2.RegExp;
8734
-
8735
- var regexpUnsupportedDotAll = fails$2(function () {
8736
- var re = $RegExp$1('.', 's');
8737
- return !(re.dotAll && re.exec('\n') && re.flags === 's');
8738
- });
8739
-
8740
- var fails$1 = fails$d;
8741
- var global$1 = global$e;
8742
-
8743
- // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
8744
- var $RegExp = global$1.RegExp;
8745
-
8746
- var regexpUnsupportedNcg = fails$1(function () {
8747
- var re = $RegExp('(?<a>b)', 'g');
8748
- return re.exec('b').groups.a !== 'b' ||
8749
- 'b'.replace(re, '$<a>c') !== 'bc';
8750
- });
8751
-
8752
- /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
8753
- /* eslint-disable regexp/no-useless-quantifier -- testing */
8754
- var call$2 = functionCall;
8755
- var uncurryThis$2 = functionUncurryThis;
8756
- var toString$1 = toString$2;
8757
- var regexpFlags = regexpFlags$1;
8758
- var stickyHelpers = regexpStickyHelpers;
8759
- var shared = shared$4.exports;
8760
- var create = objectCreate;
8761
- var getInternalState = internalState.get;
8762
- var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
8763
- var UNSUPPORTED_NCG = regexpUnsupportedNcg;
8764
-
8765
- var nativeReplace = shared('native-string-replace', String.prototype.replace);
8766
- var nativeExec = RegExp.prototype.exec;
8767
- var patchedExec = nativeExec;
8768
- var charAt = uncurryThis$2(''.charAt);
8769
- var indexOf = uncurryThis$2(''.indexOf);
8770
- var replace = uncurryThis$2(''.replace);
8771
- var stringSlice = uncurryThis$2(''.slice);
8772
-
8773
- var UPDATES_LAST_INDEX_WRONG = (function () {
8774
- var re1 = /a/;
8775
- var re2 = /b*/g;
8776
- call$2(nativeExec, re1, 'a');
8777
- call$2(nativeExec, re2, 'a');
8778
- return re1.lastIndex !== 0 || re2.lastIndex !== 0;
8779
- })();
8780
-
8781
- var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
8782
-
8783
- // nonparticipating capturing group, copied from es5-shim's String#split patch.
8784
- var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
8785
-
8786
- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
8787
-
8788
- if (PATCH) {
8789
- patchedExec = function exec(string) {
8790
- var re = this;
8791
- var state = getInternalState(re);
8792
- var str = toString$1(string);
8793
- var raw = state.raw;
8794
- var result, reCopy, lastIndex, match, i, object, group;
8795
-
8796
- if (raw) {
8797
- raw.lastIndex = re.lastIndex;
8798
- result = call$2(patchedExec, raw, str);
8799
- re.lastIndex = raw.lastIndex;
8800
- return result;
8801
- }
8802
-
8803
- var groups = state.groups;
8804
- var sticky = UNSUPPORTED_Y && re.sticky;
8805
- var flags = call$2(regexpFlags, re);
8806
- var source = re.source;
8807
- var charsAdded = 0;
8808
- var strCopy = str;
8809
-
8810
- if (sticky) {
8811
- flags = replace(flags, 'y', '');
8812
- if (indexOf(flags, 'g') === -1) {
8813
- flags += 'g';
8814
- }
8815
-
8816
- strCopy = stringSlice(str, re.lastIndex);
8817
- // Support anchored sticky behavior.
8818
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
8819
- source = '(?: ' + source + ')';
8820
- strCopy = ' ' + strCopy;
8821
- charsAdded++;
8822
- }
8823
- // ^(? + rx + ) is needed, in combination with some str slicing, to
8824
- // simulate the 'y' flag.
8825
- reCopy = new RegExp('^(?:' + source + ')', flags);
8826
- }
8827
-
8828
- if (NPCG_INCLUDED) {
8829
- reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
8830
- }
8831
- if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
8832
-
8833
- match = call$2(nativeExec, sticky ? reCopy : re, strCopy);
8834
-
8835
- if (sticky) {
8836
- if (match) {
8837
- match.input = stringSlice(match.input, charsAdded);
8838
- match[0] = stringSlice(match[0], charsAdded);
8839
- match.index = re.lastIndex;
8840
- re.lastIndex += match[0].length;
8841
- } else re.lastIndex = 0;
8842
- } else if (UPDATES_LAST_INDEX_WRONG && match) {
8843
- re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
8844
- }
8845
- if (NPCG_INCLUDED && match && match.length > 1) {
8846
- // Fix browsers whose `exec` methods don't consistently return `undefined`
8847
- // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
8848
- call$2(nativeReplace, match[0], reCopy, function () {
8849
- for (i = 1; i < arguments.length - 2; i++) {
8850
- if (arguments[i] === undefined) match[i] = undefined;
8851
- }
8852
- });
8853
- }
8854
-
8855
- if (match && groups) {
8856
- match.groups = object = create(null);
8857
- for (i = 0; i < groups.length; i++) {
8858
- group = groups[i];
8859
- object[group[0]] = match[group[1]];
8860
- }
8861
- }
8862
-
8863
- return match;
8864
- };
8865
- }
8866
-
8867
- var regexpExec$2 = patchedExec;
8868
-
8869
- var $ = _export;
8870
- var exec = regexpExec$2;
8871
-
8872
- // `RegExp.prototype.exec` method
8873
- // https://tc39.es/ecma262/#sec-regexp.prototype.exec
8874
- $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
8875
- exec: exec
8876
- });
8877
-
8878
- var classofRaw = classofRaw$2;
8879
- var uncurryThis$1 = functionUncurryThis;
8880
-
8881
- var functionUncurryThisClause = function (fn) {
8882
- // Nashorn bug:
8883
- // https://github.com/zloirock/core-js/issues/1128
8884
- // https://github.com/zloirock/core-js/issues/1130
8885
- if (classofRaw(fn) === 'Function') return uncurryThis$1(fn);
8886
- };
8887
-
8888
- // TODO: Remove from `core-js@4` since it's moved to entry points
8889
-
8890
- var uncurryThis = functionUncurryThisClause;
8891
- var defineBuiltIn = defineBuiltIn$2;
8892
- var regexpExec$1 = regexpExec$2;
8893
- var fails = fails$d;
8894
- var wellKnownSymbol = wellKnownSymbol$4;
8895
- var createNonEnumerableProperty = createNonEnumerableProperty$3;
8896
-
8897
- var SPECIES = wellKnownSymbol('species');
8898
- var RegExpPrototype = RegExp.prototype;
8899
-
8900
- var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
8901
- var SYMBOL = wellKnownSymbol(KEY);
8902
-
8903
- var DELEGATES_TO_SYMBOL = !fails(function () {
8904
- // String methods call symbol-named RegEp methods
8905
- var O = {};
8906
- O[SYMBOL] = function () { return 7; };
8907
- return ''[KEY](O) != 7;
8908
- });
8909
-
8910
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
8911
- // Symbol-named RegExp methods call .exec
8912
- var execCalled = false;
8913
- var re = /a/;
8914
-
8915
- if (KEY === 'split') {
8916
- // We can't use real regex here since it causes deoptimization
8917
- // and serious performance degradation in V8
8918
- // https://github.com/zloirock/core-js/issues/306
8919
- re = {};
8920
- // RegExp[@@split] doesn't call the regex's exec method, but first creates
8921
- // a new one. We need to return the patched regex when creating the new one.
8922
- re.constructor = {};
8923
- re.constructor[SPECIES] = function () { return re; };
8924
- re.flags = '';
8925
- re[SYMBOL] = /./[SYMBOL];
8926
- }
8927
-
8928
- re.exec = function () { execCalled = true; return null; };
8929
-
8930
- re[SYMBOL]('');
8931
- return !execCalled;
8932
- });
8933
-
8934
- if (
8935
- !DELEGATES_TO_SYMBOL ||
8936
- !DELEGATES_TO_EXEC ||
8937
- FORCED
8938
- ) {
8939
- var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);
8940
- var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
8941
- var uncurriedNativeMethod = uncurryThis(nativeMethod);
8942
- var $exec = regexp.exec;
8943
- if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
8944
- if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
8945
- // The native String method already delegates to @@method (this
8946
- // polyfilled function), leasing to infinite recursion.
8947
- // We avoid it by directly calling the native @@method method.
8948
- return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
8949
- }
8950
- return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
8951
- }
8952
- return { done: false };
8953
- });
8954
-
8955
- defineBuiltIn(String.prototype, KEY, methods[0]);
8956
- defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
8957
- }
8958
-
8959
- if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
8960
- };
8961
-
8962
- // `SameValue` abstract operation
8963
- // https://tc39.es/ecma262/#sec-samevalue
8964
- // eslint-disable-next-line es/no-object-is -- safe
8965
- var sameValue$1 = Object.is || function is(x, y) {
8966
- // eslint-disable-next-line no-self-compare -- NaN check
8967
- return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
8968
- };
8969
-
8970
- var call$1 = functionCall;
8971
- var anObject$1 = anObject$7;
8972
- var isCallable = isCallable$c;
8973
- var classof = classofRaw$2;
8974
- var regexpExec = regexpExec$2;
8975
-
8976
- var $TypeError = TypeError;
8977
-
8978
- // `RegExpExec` abstract operation
8979
- // https://tc39.es/ecma262/#sec-regexpexec
8980
- var regexpExecAbstract = function (R, S) {
8981
- var exec = R.exec;
8982
- if (isCallable(exec)) {
8983
- var result = call$1(exec, R, S);
8984
- if (result !== null) anObject$1(result);
8985
- return result;
8986
- }
8987
- if (classof(R) === 'RegExp') return call$1(regexpExec, R, S);
8988
- throw $TypeError('RegExp#exec called on incompatible receiver');
8989
- };
8990
-
8991
- var call = functionCall;
8992
- var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
8993
- var anObject = anObject$7;
8994
- var isNullOrUndefined = isNullOrUndefined$3;
8995
- var requireObjectCoercible = requireObjectCoercible$3;
8996
- var sameValue = sameValue$1;
8997
- var toString = toString$2;
8998
- var getMethod = getMethod$2;
8999
- var regExpExec = regexpExecAbstract;
9000
-
9001
- // @@search logic
9002
- fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
9003
- return [
9004
- // `String.prototype.search` method
9005
- // https://tc39.es/ecma262/#sec-string.prototype.search
9006
- function search(regexp) {
9007
- var O = requireObjectCoercible(this);
9008
- var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);
9009
- return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
9010
- },
9011
- // `RegExp.prototype[@@search]` method
9012
- // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
9013
- function (string) {
9014
- var rx = anObject(this);
9015
- var S = toString(string);
9016
- var res = maybeCallNative(nativeSearch, rx, S);
9017
-
9018
- if (res.done) return res.value;
9019
-
9020
- var previousLastIndex = rx.lastIndex;
9021
- if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
9022
- var result = regExpExec(rx, S);
9023
- if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
9024
- return result === null ? -1 : result.index;
9025
- }
9026
- ];
9027
- });
9028
-
9029
- function getPaperUtilityClass(slot) {
9030
- return generateUtilityClass('MuiPaper', slot);
9031
- }
9032
- generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
9033
-
9034
- const _excluded$4 = ["className", "component", "elevation", "square", "variant"];
9035
- const useUtilityClasses$4 = ownerState => {
9036
- const {
9037
- square,
9038
- elevation,
9039
- variant,
9040
- classes
9041
- } = ownerState;
9042
- const slots = {
9043
- root: ['root', variant, !square && 'rounded', variant === 'elevation' && `elevation${elevation}`]
9044
- };
9045
- return composeClasses(slots, getPaperUtilityClass, classes);
9046
- };
9047
- const PaperRoot = styled$1('div', {
9048
- name: 'MuiPaper',
9049
- slot: 'Root',
9050
- overridesResolver: (props, styles) => {
9051
- const {
9052
- ownerState
9053
- } = props;
9054
- return [styles.root, styles[ownerState.variant], !ownerState.square && styles.rounded, ownerState.variant === 'elevation' && styles[`elevation${ownerState.elevation}`]];
9055
- }
9056
- })(({
9057
- theme,
9058
- ownerState
9059
- }) => {
9060
- var _theme$vars$overlays;
9061
- return _extends({
9062
- backgroundColor: (theme.vars || theme).palette.background.paper,
9063
- color: (theme.vars || theme).palette.text.primary,
9064
- transition: theme.transitions.create('box-shadow')
9065
- }, !ownerState.square && {
9066
- borderRadius: theme.shape.borderRadius
9067
- }, ownerState.variant === 'outlined' && {
9068
- border: `1px solid ${(theme.vars || theme).palette.divider}`
9069
- }, ownerState.variant === 'elevation' && _extends({
9070
- boxShadow: (theme.vars || theme).shadows[ownerState.elevation]
9071
- }, !theme.vars && theme.palette.mode === 'dark' && {
9072
- backgroundImage: `linear-gradient(${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))}, ${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))})`
9073
- }, theme.vars && {
9074
- backgroundImage: (_theme$vars$overlays = theme.vars.overlays) == null ? void 0 : _theme$vars$overlays[ownerState.elevation]
9075
- }));
9076
- });
9077
- const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
9078
- const props = useThemeProps({
9079
- props: inProps,
9080
- name: 'MuiPaper'
9081
- });
9082
- const {
9083
- className,
9084
- component = 'div',
9085
- elevation = 1,
9086
- square = false,
9087
- variant = 'elevation'
9088
- } = props,
9089
- other = _objectWithoutPropertiesLoose(props, _excluded$4);
9090
- const ownerState = _extends({}, props, {
9091
- component,
9092
- elevation,
9093
- square,
9094
- variant
9095
- });
9096
- const classes = useUtilityClasses$4(ownerState);
9097
- if (process.env.NODE_ENV !== 'production') {
9098
- // eslint-disable-next-line react-hooks/rules-of-hooks
9099
- const theme = useTheme();
9100
- if (theme.shadows[elevation] === undefined) {
9101
- console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${elevation}]\` is defined.`].join('\n'));
9102
- }
9103
- }
9104
- return /*#__PURE__*/jsx(PaperRoot, _extends({
9105
- as: component,
9106
- ownerState: ownerState,
9107
- className: clsx(classes.root, className),
9108
- ref: ref
9109
- }, other));
9110
- });
9111
- process.env.NODE_ENV !== "production" ? Paper.propTypes /* remove-proptypes */ = {
9112
- // ----------------------------- Warning --------------------------------
9113
- // | These PropTypes are generated from the TypeScript type definitions |
9114
- // | To update them edit the d.ts file and run "yarn proptypes" |
9115
- // ----------------------------------------------------------------------
9116
- /**
9117
- * The content of the component.
9118
- */
9119
- children: PropTypes.node,
9120
- /**
9121
- * Override or extend the styles applied to the component.
9122
- */
9123
- classes: PropTypes.object,
9124
- /**
9125
- * @ignore
9126
- */
9127
- className: PropTypes.string,
9128
- /**
9129
- * The component used for the root node.
9130
- * Either a string to use a HTML element or a component.
9131
- */
9132
- component: PropTypes.elementType,
9133
- /**
9134
- * Shadow depth, corresponds to `dp` in the spec.
9135
- * It accepts values between 0 and 24 inclusive.
9136
- * @default 1
9137
- */
9138
- elevation: chainPropTypes(integerPropType, props => {
9139
- const {
9140
- elevation,
9141
- variant
9142
- } = props;
9143
- if (elevation > 0 && variant === 'outlined') {
9144
- return new Error(`MUI: Combining \`elevation={${elevation}}\` with \`variant="${variant}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`);
9145
- }
9146
- return null;
9147
- }),
9148
- /**
9149
- * If `true`, rounded corners are disabled.
9150
- * @default false
9151
- */
9152
- square: PropTypes.bool,
9153
- /**
9154
- * The system prop that allows defining system overrides as well as additional CSS styles.
9155
- */
9156
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
9157
- /**
9158
- * The variant to use.
9159
- * @default 'elevation'
9160
- */
9161
- variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['elevation', 'outlined']), PropTypes.string])
9162
- } : void 0;
9163
- var Paper$1 = Paper;
9164
-
9165
- function getTypographyUtilityClass(slot) {
9166
- return generateUtilityClass('MuiTypography', slot);
9167
- }
9168
- generateUtilityClasses('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
9169
-
9170
- const _excluded$3 = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
9171
- const useUtilityClasses$3 = ownerState => {
9172
- const {
9173
- align,
9174
- gutterBottom,
9175
- noWrap,
9176
- paragraph,
9177
- variant,
9178
- classes
9179
- } = ownerState;
9180
- const slots = {
9181
- root: ['root', variant, ownerState.align !== 'inherit' && `align${capitalize(align)}`, gutterBottom && 'gutterBottom', noWrap && 'noWrap', paragraph && 'paragraph']
9182
- };
9183
- return composeClasses(slots, getTypographyUtilityClass, classes);
9184
- };
9185
- const TypographyRoot = styled$1('span', {
9186
- name: 'MuiTypography',
9187
- slot: 'Root',
9188
- overridesResolver: (props, styles) => {
9189
- const {
9190
- ownerState
9191
- } = props;
9192
- return [styles.root, ownerState.variant && styles[ownerState.variant], ownerState.align !== 'inherit' && styles[`align${capitalize(ownerState.align)}`], ownerState.noWrap && styles.noWrap, ownerState.gutterBottom && styles.gutterBottom, ownerState.paragraph && styles.paragraph];
9193
- }
9194
- })(({
9195
- theme,
9196
- ownerState
9197
- }) => _extends({
9198
- margin: 0
9199
- }, ownerState.variant && theme.typography[ownerState.variant], ownerState.align !== 'inherit' && {
9200
- textAlign: ownerState.align
9201
- }, ownerState.noWrap && {
9202
- overflow: 'hidden',
9203
- textOverflow: 'ellipsis',
9204
- whiteSpace: 'nowrap'
9205
- }, ownerState.gutterBottom && {
9206
- marginBottom: '0.35em'
9207
- }, ownerState.paragraph && {
9208
- marginBottom: 16
9209
- }));
9210
- const defaultVariantMapping = {
9211
- h1: 'h1',
9212
- h2: 'h2',
9213
- h3: 'h3',
9214
- h4: 'h4',
9215
- h5: 'h5',
9216
- h6: 'h6',
9217
- subtitle1: 'h6',
9218
- subtitle2: 'h6',
9219
- body1: 'p',
9220
- body2: 'p',
9221
- inherit: 'p'
9222
- };
9223
-
9224
- // TODO v6: deprecate these color values in v5.x and remove the transformation in v6
9225
- const colorTransformations = {
9226
- primary: 'primary.main',
9227
- textPrimary: 'text.primary',
9228
- secondary: 'secondary.main',
9229
- textSecondary: 'text.secondary',
9230
- error: 'error.main'
9231
- };
9232
- const transformDeprecatedColors = color => {
9233
- return colorTransformations[color] || color;
9234
- };
9235
- const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, ref) {
9236
- const themeProps = useThemeProps({
9237
- props: inProps,
9238
- name: 'MuiTypography'
9239
- });
9240
- const color = transformDeprecatedColors(themeProps.color);
9241
- const props = extendSxProp(_extends({}, themeProps, {
9242
- color
9243
- }));
9244
- const {
9245
- align = 'inherit',
9246
- className,
9247
- component,
9248
- gutterBottom = false,
9249
- noWrap = false,
9250
- paragraph = false,
9251
- variant = 'body1',
9252
- variantMapping = defaultVariantMapping
9253
- } = props,
9254
- other = _objectWithoutPropertiesLoose(props, _excluded$3);
9255
- const ownerState = _extends({}, props, {
9256
- align,
9257
- color,
9258
- className,
9259
- component,
9260
- gutterBottom,
9261
- noWrap,
9262
- paragraph,
9263
- variant,
9264
- variantMapping
9265
- });
9266
- const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
9267
- const classes = useUtilityClasses$3(ownerState);
9268
- return /*#__PURE__*/jsx(TypographyRoot, _extends({
9269
- as: Component,
9270
- ref: ref,
9271
- ownerState: ownerState,
9272
- className: clsx(classes.root, className)
9273
- }, other));
9274
- });
9275
- process.env.NODE_ENV !== "production" ? Typography.propTypes /* remove-proptypes */ = {
9276
- // ----------------------------- Warning --------------------------------
9277
- // | These PropTypes are generated from the TypeScript type definitions |
9278
- // | To update them edit the d.ts file and run "yarn proptypes" |
9279
- // ----------------------------------------------------------------------
9280
- /**
9281
- * Set the text-align on the component.
9282
- * @default 'inherit'
9283
- */
9284
- align: PropTypes.oneOf(['center', 'inherit', 'justify', 'left', 'right']),
9285
- /**
9286
- * The content of the component.
9287
- */
9288
- children: PropTypes.node,
9289
- /**
9290
- * Override or extend the styles applied to the component.
9291
- */
9292
- classes: PropTypes.object,
9293
- /**
9294
- * @ignore
9295
- */
9296
- className: PropTypes.string,
9297
- /**
9298
- * The component used for the root node.
9299
- * Either a string to use a HTML element or a component.
9300
- */
9301
- component: PropTypes.elementType,
9302
- /**
9303
- * If `true`, the text will have a bottom margin.
9304
- * @default false
9305
- */
9306
- gutterBottom: PropTypes.bool,
9307
- /**
9308
- * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
9309
- *
9310
- * Note that text overflow can only happen with block or inline-block level elements
9311
- * (the element needs to have a width in order to overflow).
9312
- * @default false
9313
- */
9314
- noWrap: PropTypes.bool,
9315
- /**
9316
- * If `true`, the element will be a paragraph element.
9317
- * @default false
9318
- */
9319
- paragraph: PropTypes.bool,
9320
- /**
9321
- * The system prop that allows defining system overrides as well as additional CSS styles.
9322
- */
9323
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
9324
- /**
9325
- * Applies the theme typography styles.
9326
- * @default 'body1'
9327
- */
9328
- variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2']), PropTypes.string]),
9329
- /**
9330
- * The component maps the variant prop to a range of different HTML element types.
9331
- * For instance, subtitle1 to `<h6>`.
9332
- * If you wish to change that mapping, you can provide your own.
9333
- * Alternatively, you can use the `component` prop.
9334
- * @default {
9335
- * h1: 'h1',
9336
- * h2: 'h2',
9337
- * h3: 'h3',
9338
- * h4: 'h4',
9339
- * h5: 'h5',
9340
- * h6: 'h6',
9341
- * subtitle1: 'h6',
9342
- * subtitle2: 'h6',
9343
- * body1: 'p',
9344
- * body2: 'p',
9345
- * inherit: 'p',
9346
- * }
9347
- */
9348
- variantMapping: PropTypes /* @typescript-to-proptypes-ignore */.object
9349
- } : void 0;
9350
- var Typography$1 = Typography;
9351
-
9352
- function getCardUtilityClass(slot) {
9353
- return generateUtilityClass('MuiCard', slot);
9354
- }
9355
- generateUtilityClasses('MuiCard', ['root']);
9356
-
9357
- const _excluded$2 = ["className", "raised"];
9358
- const useUtilityClasses$2 = ownerState => {
9359
- const {
9360
- classes
9361
- } = ownerState;
9362
- const slots = {
9363
- root: ['root']
9364
- };
9365
- return composeClasses(slots, getCardUtilityClass, classes);
9366
- };
9367
- const CardRoot = styled$1(Paper$1, {
9368
- name: 'MuiCard',
9369
- slot: 'Root',
9370
- overridesResolver: (props, styles) => styles.root
9371
- })(() => {
9372
- return {
9373
- overflow: 'hidden'
9374
- };
9375
- });
9376
- const Card = /*#__PURE__*/React.forwardRef(function Card(inProps, ref) {
9377
- const props = useThemeProps({
9378
- props: inProps,
9379
- name: 'MuiCard'
9380
- });
9381
- const {
9382
- className,
9383
- raised = false
9384
- } = props,
9385
- other = _objectWithoutPropertiesLoose(props, _excluded$2);
9386
- const ownerState = _extends({}, props, {
9387
- raised
9388
- });
9389
- const classes = useUtilityClasses$2(ownerState);
9390
- return /*#__PURE__*/jsx(CardRoot, _extends({
9391
- className: clsx(classes.root, className),
9392
- elevation: raised ? 8 : undefined,
9393
- ref: ref,
9394
- ownerState: ownerState
9395
- }, other));
9396
- });
9397
- process.env.NODE_ENV !== "production" ? Card.propTypes /* remove-proptypes */ = {
9398
- // ----------------------------- Warning --------------------------------
9399
- // | These PropTypes are generated from the TypeScript type definitions |
9400
- // | To update them edit the d.ts file and run "yarn proptypes" |
9401
- // ----------------------------------------------------------------------
9402
- /**
9403
- * The content of the component.
9404
- */
9405
- children: PropTypes.node,
9406
- /**
9407
- * Override or extend the styles applied to the component.
9408
- */
9409
- classes: PropTypes.object,
9410
- /**
9411
- * @ignore
9412
- */
9413
- className: PropTypes.string,
9414
- /**
9415
- * If `true`, the card will use raised styling.
9416
- * @default false
9417
- */
9418
- raised: chainPropTypes(PropTypes.bool, props => {
9419
- if (props.raised && props.variant === 'outlined') {
9420
- return new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.');
9421
- }
9422
- return null;
9423
- }),
9424
- /**
9425
- * The system prop that allows defining system overrides as well as additional CSS styles.
9426
- */
9427
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
9428
- } : void 0;
9429
- var Card$1 = Card;
9430
-
9431
- function getCardContentUtilityClass(slot) {
9432
- return generateUtilityClass('MuiCardContent', slot);
9433
- }
9434
- generateUtilityClasses('MuiCardContent', ['root']);
9435
-
9436
- const _excluded$1 = ["className", "component"];
9437
- const useUtilityClasses$1 = ownerState => {
9438
- const {
9439
- classes
9440
- } = ownerState;
9441
- const slots = {
9442
- root: ['root']
9443
- };
9444
- return composeClasses(slots, getCardContentUtilityClass, classes);
9445
- };
9446
- const CardContentRoot = styled$1('div', {
9447
- name: 'MuiCardContent',
9448
- slot: 'Root',
9449
- overridesResolver: (props, styles) => styles.root
9450
- })(() => {
9451
- return {
9452
- padding: 16,
9453
- '&:last-child': {
9454
- paddingBottom: 24
9455
- }
9456
- };
9457
- });
9458
- const CardContent = /*#__PURE__*/React.forwardRef(function CardContent(inProps, ref) {
9459
- const props = useThemeProps({
9460
- props: inProps,
9461
- name: 'MuiCardContent'
9462
- });
9463
- const {
9464
- className,
9465
- component = 'div'
9466
- } = props,
9467
- other = _objectWithoutPropertiesLoose(props, _excluded$1);
9468
- const ownerState = _extends({}, props, {
9469
- component
9470
- });
9471
- const classes = useUtilityClasses$1(ownerState);
9472
- return /*#__PURE__*/jsx(CardContentRoot, _extends({
9473
- as: component,
9474
- className: clsx(classes.root, className),
9475
- ownerState: ownerState,
9476
- ref: ref
9477
- }, other));
9478
- });
9479
- process.env.NODE_ENV !== "production" ? CardContent.propTypes /* remove-proptypes */ = {
9480
- // ----------------------------- Warning --------------------------------
9481
- // | These PropTypes are generated from the TypeScript type definitions |
9482
- // | To update them edit the d.ts file and run "yarn proptypes" |
9483
- // ----------------------------------------------------------------------
9484
- /**
9485
- * The content of the component.
9486
- */
9487
- children: PropTypes.node,
9488
- /**
9489
- * Override or extend the styles applied to the component.
9490
- */
9491
- classes: PropTypes.object,
9492
- /**
9493
- * @ignore
9494
- */
9495
- className: PropTypes.string,
9496
- /**
9497
- * The component used for the root node.
9498
- * Either a string to use a HTML element or a component.
9499
- */
9500
- component: PropTypes.elementType,
9501
- /**
9502
- * The system prop that allows defining system overrides as well as additional CSS styles.
9503
- */
9504
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
9505
- } : void 0;
9506
- var CardContent$1 = CardContent;
9507
-
9508
- function getCardMediaUtilityClass(slot) {
9509
- return generateUtilityClass('MuiCardMedia', slot);
9510
- }
9511
- generateUtilityClasses('MuiCardMedia', ['root', 'media', 'img']);
9512
-
9513
- const _excluded = ["children", "className", "component", "image", "src", "style"];
9514
- const useUtilityClasses = ownerState => {
9515
- const {
9516
- classes,
9517
- isMediaComponent,
9518
- isImageComponent
9519
- } = ownerState;
9520
- const slots = {
9521
- root: ['root', isMediaComponent && 'media', isImageComponent && 'img']
9522
- };
9523
- return composeClasses(slots, getCardMediaUtilityClass, classes);
9524
- };
9525
- const CardMediaRoot = styled$1('div', {
9526
- name: 'MuiCardMedia',
9527
- slot: 'Root',
9528
- overridesResolver: (props, styles) => {
9529
- const {
9530
- ownerState
9531
- } = props;
9532
- const {
9533
- isMediaComponent,
9534
- isImageComponent
9535
- } = ownerState;
9536
- return [styles.root, isMediaComponent && styles.media, isImageComponent && styles.img];
9537
- }
9538
- })(({
9539
- ownerState
9540
- }) => _extends({
9541
- display: 'block',
9542
- backgroundSize: 'cover',
9543
- backgroundRepeat: 'no-repeat',
9544
- backgroundPosition: 'center'
9545
- }, ownerState.isMediaComponent && {
9546
- width: '100%'
9547
- }, ownerState.isImageComponent && {
9548
- // ⚠️ object-fit is not supported by IE11.
9549
- objectFit: 'cover'
9550
- }));
9551
- const MEDIA_COMPONENTS = ['video', 'audio', 'picture', 'iframe', 'img'];
9552
- const IMAGE_COMPONENTS = ['picture', 'img'];
9553
- const CardMedia = /*#__PURE__*/React.forwardRef(function CardMedia(inProps, ref) {
9554
- const props = useThemeProps({
9555
- props: inProps,
9556
- name: 'MuiCardMedia'
9557
- });
9558
- const {
9559
- children,
9560
- className,
9561
- component = 'div',
9562
- image,
9563
- src,
9564
- style
9565
- } = props,
9566
- other = _objectWithoutPropertiesLoose(props, _excluded);
9567
- const isMediaComponent = MEDIA_COMPONENTS.indexOf(component) !== -1;
9568
- const composedStyle = !isMediaComponent && image ? _extends({
9569
- backgroundImage: `url("${image}")`
9570
- }, style) : style;
9571
- const ownerState = _extends({}, props, {
9572
- component,
9573
- isMediaComponent,
9574
- isImageComponent: IMAGE_COMPONENTS.indexOf(component) !== -1
9575
- });
9576
- const classes = useUtilityClasses(ownerState);
9577
- return /*#__PURE__*/jsx(CardMediaRoot, _extends({
9578
- className: clsx(classes.root, className),
9579
- as: component,
9580
- role: !isMediaComponent && image ? 'img' : undefined,
9581
- ref: ref,
9582
- style: composedStyle,
9583
- ownerState: ownerState,
9584
- src: isMediaComponent ? image || src : undefined
9585
- }, other, {
9586
- children: children
9587
- }));
9588
- });
9589
- process.env.NODE_ENV !== "production" ? CardMedia.propTypes /* remove-proptypes */ = {
9590
- // ----------------------------- Warning --------------------------------
9591
- // | These PropTypes are generated from the TypeScript type definitions |
9592
- // | To update them edit the d.ts file and run "yarn proptypes" |
9593
- // ----------------------------------------------------------------------
9594
- /**
9595
- * The content of the component.
9596
- */
9597
- children: chainPropTypes(PropTypes.node, props => {
9598
- if (!props.children && !props.image && !props.src && !props.component) {
9599
- return new Error('MUI: Either `children`, `image`, `src` or `component` prop must be specified.');
9600
- }
9601
- return null;
9602
- }),
9603
- /**
9604
- * Override or extend the styles applied to the component.
9605
- */
9606
- classes: PropTypes.object,
9607
- /**
9608
- * @ignore
9609
- */
9610
- className: PropTypes.string,
9611
- /**
9612
- * The component used for the root node.
9613
- * Either a string to use a HTML element or a component.
9614
- */
9615
- component: PropTypes.elementType,
9616
- /**
9617
- * Image to be displayed as a background image.
9618
- * Either `image` or `src` prop must be specified.
9619
- * Note that caller must specify height otherwise the image will not be visible.
9620
- */
9621
- image: PropTypes.string,
9622
- /**
9623
- * An alias for `image` property.
9624
- * Available only with media components.
9625
- * Media components: `video`, `audio`, `picture`, `iframe`, `img`.
9626
- */
9627
- src: PropTypes.string,
9628
- /**
9629
- * @ignore
9630
- */
9631
- style: PropTypes.object,
9632
- /**
9633
- * The system prop that allows defining system overrides as well as additional CSS styles.
9634
- */
9635
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
9636
- } : void 0;
9637
- var CardMedia$1 = CardMedia;
9638
-
9639
- const Stack = createStack({
9640
- createStyledComponent: styled$1('div', {
9641
- name: 'MuiStack',
9642
- slot: 'Root',
9643
- overridesResolver: (props, styles) => styles.root
9644
- }),
9645
- useThemeProps: inProps => useThemeProps({
9646
- props: inProps,
9647
- name: 'MuiStack'
9648
- })
9649
- });
9650
- process.env.NODE_ENV !== "production" ? Stack.propTypes /* remove-proptypes */ = {
9651
- // ----------------------------- Warning --------------------------------
9652
- // | These PropTypes are generated from the TypeScript type definitions |
9653
- // | To update them edit the d.ts file and run "yarn proptypes" |
9654
- // ----------------------------------------------------------------------
9655
- /**
9656
- * The content of the component.
9657
- */
9658
- children: PropTypes.node,
9659
- /**
9660
- * The component used for the root node.
9661
- * Either a string to use a HTML element or a component.
9662
- */
9663
- component: PropTypes.elementType,
9664
- /**
9665
- * Defines the `flex-direction` style property.
9666
- * It is applied for all screen sizes.
9667
- * @default 'column'
9668
- */
9669
- direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),
9670
- /**
9671
- * Add an element between each child.
9672
- */
9673
- divider: PropTypes.node,
9674
- /**
9675
- * Defines the space between immediate children.
9676
- * @default 0
9677
- */
9678
- spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
9679
- /**
9680
- * The system prop, which allows defining system overrides as well as additional CSS styles.
9681
- */
9682
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
9683
- /**
9684
- * If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
9685
- *
9686
- * While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack/#limitations),
9687
- * it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
9688
- *
9689
- * To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
9690
- * @default false
9691
- */
9692
- useFlexGap: PropTypes.bool
9693
- } : void 0;
9694
- var Stack$1 = Stack;
9695
-
9696
- var UrlImage;
9697
- (function (UrlImage) {
9698
- UrlImage["error"] = "packages/react/src/lib/assets/images/error.svg";
9699
- UrlImage["search"] = "packages/react/src/lib/assets/images/search.svg";
9700
- UrlImage["noresult"] = "packages/react/src/lib/assets/images/no-result.svg";
9701
- UrlImage["create"] = "packages/react/src/lib/assets/images/create.svg";
9702
- })(UrlImage || (UrlImage = {}));
9703
- const EmptyState = ({
9704
- state: _state = 'create',
9705
- title,
9706
- content,
9707
- actions
9708
- }) => {
9709
- const retornarImagen = () => {
9710
- return UrlImage[_state];
9711
- };
9712
- return jsx(Card$1, {
9713
- elevation: 1,
9714
- children: jsxs(CardContent$1, {
9715
- sx: {
9716
- display: 'flex',
9717
- alignItems: 'center',
9718
- justifyContent: 'center',
9719
- flexDirection: 'column',
9720
- gap: 4
9721
- },
9722
- children: [jsx(CardMedia$1, {
9723
- src: retornarImagen(),
9724
- sx: {
9725
- height: 187,
9726
- width: 206
9727
- }
9728
- }), jsxs(Stack$1, {
9729
- direction: "column",
9730
- spacing: 2,
9731
- children: [title && jsx(Typography$1, {
9732
- variant: "h6",
9733
- textAlign: "center",
9734
- children: title
9735
- }), content && jsx(Typography$1, {
9736
- variant: "body1",
9737
- textAlign: "center",
9738
- color: "text.secondary",
9739
- children: content
9740
- }), _state === 'create' && actions && jsx(Stack$1, {
9741
- direction: "row",
9742
- spacing: 2,
9743
- justifyContent: "center",
9744
- children: actions
9745
- })]
9746
- })]
9747
- })
9748
- });
9749
- };
9750
-
9751
- export { EmptyState, SincoTheme, UrlImage };
8218
+ export { SincoTheme };