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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { forwardRef, useContext } from 'react';
3
- import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { jsx, jsxs } 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$b =
12
+ var global$e =
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$b =
21
21
 
22
22
  var objectGetOwnPropertyDescriptor = {};
23
23
 
24
- var fails$9 = function (exec) {
24
+ var fails$d = function (exec) {
25
25
  try {
26
26
  return !!exec();
27
27
  } catch (error) {
@@ -29,17 +29,17 @@ var fails$9 = function (exec) {
29
29
  }
30
30
  };
31
31
 
32
- var fails$8 = fails$9;
32
+ var fails$c = fails$d;
33
33
 
34
34
  // Detect IE8's incomplete defineProperty implementation
35
- var descriptors = !fails$8(function () {
35
+ var descriptors = !fails$c(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$7 = fails$9;
40
+ var fails$b = fails$d;
41
41
 
42
- var functionBindNative = !fails$7(function () {
42
+ var functionBindNative = !fails$b(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$7(function () {
48
48
 
49
49
  var NATIVE_BIND$1 = functionBindNative;
50
50
 
51
- var call$5 = Function.prototype.call;
51
+ var call$8 = Function.prototype.call;
52
52
 
53
- var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
54
- return call$5.apply(call$5, arguments);
53
+ var functionCall = NATIVE_BIND$1 ? call$8.bind(call$8) : function () {
54
+ return call$8.apply(call$8, 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$4 = FunctionPrototype$1.call;
86
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$4, call$4);
85
+ var call$7 = FunctionPrototype$1.call;
86
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$7, call$7);
87
87
 
88
88
  var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
89
89
  return function () {
90
- return call$4.apply(fn, arguments);
90
+ return call$7.apply(fn, arguments);
91
91
  };
92
92
  };
93
93
 
94
- var uncurryThis$9 = functionUncurryThis;
94
+ var uncurryThis$c = functionUncurryThis;
95
95
 
96
- var toString$1 = uncurryThis$9({}.toString);
97
- var stringSlice$1 = uncurryThis$9(''.slice);
96
+ var toString$4 = uncurryThis$c({}.toString);
97
+ var stringSlice$2 = uncurryThis$c(''.slice);
98
98
 
99
- var classofRaw = function (it) {
100
- return stringSlice$1(toString$1(it), 8, -1);
99
+ var classofRaw$2 = function (it) {
100
+ return stringSlice$2(toString$4(it), 8, -1);
101
101
  };
102
102
 
103
- var uncurryThis$8 = functionUncurryThis;
104
- var fails$6 = fails$9;
105
- var classof = classofRaw;
103
+ var uncurryThis$b = functionUncurryThis;
104
+ var fails$a = fails$d;
105
+ var classof$3 = classofRaw$2;
106
106
 
107
- var $Object$2 = Object;
108
- var split = uncurryThis$8(''.split);
107
+ var $Object$3 = Object;
108
+ var split = uncurryThis$b(''.split);
109
109
 
110
110
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
111
- var indexedObject = fails$6(function () {
111
+ var indexedObject = fails$a(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$2('z').propertyIsEnumerable(0);
114
+ return !$Object$3('z').propertyIsEnumerable(0);
115
115
  }) ? function (it) {
116
- return classof(it) == 'String' ? split(it, '') : $Object$2(it);
117
- } : $Object$2;
116
+ return classof$3(it) == 'String' ? split(it, '') : $Object$3(it);
117
+ } : $Object$3;
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$2 = function (it) {
121
+ var isNullOrUndefined$3 = function (it) {
122
122
  return it === null || it === undefined;
123
123
  };
124
124
 
125
- var isNullOrUndefined$1 = isNullOrUndefined$2;
125
+ var isNullOrUndefined$2 = isNullOrUndefined$3;
126
126
 
127
- var $TypeError$5 = TypeError;
127
+ var $TypeError$6 = TypeError;
128
128
 
129
129
  // `RequireObjectCoercible` abstract operation
130
130
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
131
- var requireObjectCoercible$2 = function (it) {
132
- if (isNullOrUndefined$1(it)) throw $TypeError$5("Can't call method on " + it);
131
+ var requireObjectCoercible$3 = function (it) {
132
+ if (isNullOrUndefined$2(it)) throw $TypeError$6("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$1 = requireObjectCoercible$2;
138
+ var requireObjectCoercible$2 = requireObjectCoercible$3;
139
139
 
140
- var toIndexedObject$3 = function (it) {
141
- return IndexedObject$1(requireObjectCoercible$1(it));
140
+ var toIndexedObject$4 = function (it) {
141
+ return IndexedObject$1(requireObjectCoercible$2(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$a = $documentAll$1.IS_HTMLDDA ? function (argument) {
161
+ var isCallable$c = $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$9 = isCallable$a;
167
+ var isCallable$b = isCallable$c;
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$9(it) || it === documentAll;
173
+ return typeof it == 'object' ? it !== null : isCallable$b(it) || it === documentAll;
174
174
  } : function (it) {
175
- return typeof it == 'object' ? it !== null : isCallable$9(it);
175
+ return typeof it == 'object' ? it !== null : isCallable$b(it);
176
176
  };
177
177
 
178
- var global$a = global$b;
179
- var isCallable$8 = isCallable$a;
178
+ var global$d = global$e;
179
+ var isCallable$a = isCallable$c;
180
180
 
181
181
  var aFunction = function (argument) {
182
- return isCallable$8(argument) ? argument : undefined;
182
+ return isCallable$a(argument) ? argument : undefined;
183
183
  };
184
184
 
185
- var getBuiltIn$2 = function (namespace, method) {
186
- return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
185
+ var getBuiltIn$3 = function (namespace, method) {
186
+ return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
187
187
  };
188
188
 
189
- var uncurryThis$7 = functionUncurryThis;
189
+ var uncurryThis$a = functionUncurryThis;
190
190
 
191
- var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
191
+ var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
192
192
 
193
193
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
194
194
 
195
- var global$9 = global$b;
195
+ var global$c = global$e;
196
196
  var userAgent = engineUserAgent;
197
197
 
198
- var process$1 = global$9.process;
199
- var Deno = global$9.Deno;
198
+ var process$1 = global$c.process;
199
+ var Deno = global$c.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$5 = fails$9;
227
- var global$8 = global$b;
226
+ var fails$9 = fails$d;
227
+ var global$b = global$e;
228
228
 
229
- var $String$3 = global$8.String;
229
+ var $String$4 = global$b.String;
230
230
 
231
231
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
232
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$5(function () {
232
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$9(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$3(symbol) || !(Object(symbol) instanceof Symbol) ||
238
+ return !$String$4(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$1 = getBuiltIn$2;
252
- var isCallable$7 = isCallable$a;
251
+ var getBuiltIn$2 = getBuiltIn$3;
252
+ var isCallable$9 = isCallable$c;
253
253
  var isPrototypeOf = objectIsPrototypeOf;
254
254
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
255
255
 
256
- var $Object$1 = Object;
256
+ var $Object$2 = 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$1('Symbol');
262
- return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
261
+ var $Symbol = getBuiltIn$2('Symbol');
262
+ return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
263
263
  };
264
264
 
265
- var $String$2 = String;
265
+ var $String$3 = String;
266
266
 
267
267
  var tryToString$1 = function (argument) {
268
268
  try {
269
- return $String$2(argument);
269
+ return $String$3(argument);
270
270
  } catch (error) {
271
271
  return 'Object';
272
272
  }
273
273
  };
274
274
 
275
- var isCallable$6 = isCallable$a;
275
+ var isCallable$8 = isCallable$c;
276
276
  var tryToString = tryToString$1;
277
277
 
278
- var $TypeError$4 = TypeError;
278
+ var $TypeError$5 = TypeError;
279
279
 
280
280
  // `Assert: IsCallable(argument) is true`
281
281
  var aCallable$1 = function (argument) {
282
- if (isCallable$6(argument)) return argument;
283
- throw $TypeError$4(tryToString(argument) + ' is not a function');
282
+ if (isCallable$8(argument)) return argument;
283
+ throw $TypeError$5(tryToString(argument) + ' is not a function');
284
284
  };
285
285
 
286
286
  var aCallable = aCallable$1;
287
- var isNullOrUndefined = isNullOrUndefined$2;
287
+ var isNullOrUndefined$1 = isNullOrUndefined$3;
288
288
 
289
289
  // `GetMethod` abstract operation
290
290
  // https://tc39.es/ecma262/#sec-getmethod
291
- var getMethod$1 = function (V, P) {
291
+ var getMethod$2 = function (V, P) {
292
292
  var func = V[P];
293
- return isNullOrUndefined(func) ? undefined : aCallable(func);
293
+ return isNullOrUndefined$1(func) ? undefined : aCallable(func);
294
294
  };
295
295
 
296
- var call$3 = functionCall;
297
- var isCallable$5 = isCallable$a;
296
+ var call$6 = functionCall;
297
+ var isCallable$7 = isCallable$c;
298
298
  var isObject$4 = isObject$5;
299
299
 
300
- var $TypeError$3 = TypeError;
300
+ var $TypeError$4 = 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$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");
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");
310
310
  };
311
311
 
312
- var shared$3 = {exports: {}};
312
+ var shared$4 = {exports: {}};
313
313
 
314
- var global$7 = global$b;
314
+ var global$a = global$e;
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$7, key, { value: value, configurable: true, writable: true });
321
+ defineProperty$2(global$a, key, { value: value, configurable: true, writable: true });
322
322
  } catch (error) {
323
- global$7[key] = value;
323
+ global$a[key] = value;
324
324
  } return value;
325
325
  };
326
326
 
327
- var global$6 = global$b;
327
+ var global$9 = global$e;
328
328
  var defineGlobalProperty$2 = defineGlobalProperty$3;
329
329
 
330
330
  var SHARED = '__core-js_shared__';
331
- var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {});
331
+ var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {});
332
332
 
333
333
  var sharedStore = store$3;
334
334
 
335
335
  var store$2 = sharedStore;
336
336
 
337
- (shared$3.exports = function (key, value) {
337
+ (shared$4.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 = requireObjectCoercible$2;
347
+ var requireObjectCoercible$1 = requireObjectCoercible$3;
348
348
 
349
- var $Object = Object;
349
+ var $Object$1 = 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(requireObjectCoercible(argument));
354
+ return $Object$1(requireObjectCoercible$1(argument));
355
355
  };
356
356
 
357
- var uncurryThis$6 = functionUncurryThis;
357
+ var uncurryThis$9 = functionUncurryThis;
358
358
  var toObject$2 = toObject$3;
359
359
 
360
- var hasOwnProperty$2 = uncurryThis$6({}.hasOwnProperty);
360
+ var hasOwnProperty$2 = uncurryThis$9({}.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$5 = functionUncurryThis;
369
+ var uncurryThis$8 = functionUncurryThis;
370
370
 
371
371
  var id = 0;
372
372
  var postfix = Math.random();
373
- var toString = uncurryThis$5(1.0.toString);
373
+ var toString$3 = uncurryThis$8(1.0.toString);
374
374
 
375
375
  var uid$2 = function (key) {
376
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
376
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
377
377
  };
378
378
 
379
- var global$5 = global$b;
380
- var shared$2 = shared$3.exports;
379
+ var global$8 = global$e;
380
+ var shared$3 = shared$4.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$5.Symbol;
387
- var WellKnownSymbolsStore = shared$2('wks');
386
+ var Symbol$1 = global$8.Symbol;
387
+ var WellKnownSymbolsStore = shared$3('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$1 = function (name) {
390
+ var wellKnownSymbol$4 = 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$1 = function (name) {
395
395
  } return WellKnownSymbolsStore[name];
396
396
  };
397
397
 
398
- var call$2 = functionCall;
398
+ var call$5 = functionCall;
399
399
  var isObject$3 = isObject$5;
400
400
  var isSymbol$1 = isSymbol$2;
401
- var getMethod = getMethod$1;
401
+ var getMethod$1 = getMethod$2;
402
402
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
403
- var wellKnownSymbol = wellKnownSymbol$1;
403
+ var wellKnownSymbol$3 = wellKnownSymbol$4;
404
404
 
405
- var $TypeError$2 = TypeError;
406
- var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
405
+ var $TypeError$3 = TypeError;
406
+ var TO_PRIMITIVE = wellKnownSymbol$3('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(input, TO_PRIMITIVE);
412
+ var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);
413
413
  var result;
414
414
  if (exoticToPrim) {
415
415
  if (pref === undefined) pref = 'default';
416
- result = call$2(exoticToPrim, input, pref);
416
+ result = call$5(exoticToPrim, input, pref);
417
417
  if (!isObject$3(result) || isSymbol$1(result)) return result;
418
- throw $TypeError$2("Can't convert object to primitive value");
418
+ throw $TypeError$3("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$4 = global$b;
434
+ var global$7 = global$e;
435
435
  var isObject$2 = isObject$5;
436
436
 
437
- var document$1 = global$4.document;
437
+ var document$1 = global$7.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 = function (it) {
441
+ var documentCreateElement$1 = function (it) {
442
442
  return EXISTS$1 ? document$1.createElement(it) : {};
443
443
  };
444
444
 
445
- var DESCRIPTORS$7 = descriptors;
446
- var fails$4 = fails$9;
447
- var createElement = documentCreateElement;
445
+ var DESCRIPTORS$8 = descriptors;
446
+ var fails$8 = fails$d;
447
+ var createElement = documentCreateElement$1;
448
448
 
449
449
  // Thanks to IE8 for its funny defineProperty
450
- var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () {
450
+ var ie8DomDefine = !DESCRIPTORS$8 && !fails$8(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$6 = descriptors;
458
- var call$1 = functionCall;
457
+ var DESCRIPTORS$7 = descriptors;
458
+ var call$4 = functionCall;
459
459
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
460
460
  var createPropertyDescriptor$1 = createPropertyDescriptor$2;
461
- var toIndexedObject$2 = toIndexedObject$3;
461
+ var toIndexedObject$3 = toIndexedObject$4;
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$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
472
- O = toIndexedObject$2(O);
471
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
472
+ O = toIndexedObject$3(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$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
477
+ if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$4(propertyIsEnumerableModule$1.f, O, P), O[P]);
478
478
  };
479
479
 
480
480
  var objectDefineProperty = {};
481
481
 
482
- var DESCRIPTORS$5 = descriptors;
483
- var fails$3 = fails$9;
482
+ var DESCRIPTORS$6 = descriptors;
483
+ var fails$7 = fails$d;
484
484
 
485
485
  // V8 ~ Chrome 36-
486
486
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
487
- var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$3(function () {
487
+ var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$7(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$5 && fails$3(function () {
494
494
 
495
495
  var isObject$1 = isObject$5;
496
496
 
497
- var $String$1 = String;
498
- var $TypeError$1 = TypeError;
497
+ var $String$2 = String;
498
+ var $TypeError$2 = TypeError;
499
499
 
500
500
  // `Assert: Type(argument) is Object`
501
- var anObject$2 = function (argument) {
501
+ var anObject$7 = function (argument) {
502
502
  if (isObject$1(argument)) return argument;
503
- throw $TypeError$1($String$1(argument) + ' is not an object');
503
+ throw $TypeError$2($String$2(argument) + ' is not an object');
504
504
  };
505
505
 
506
- var DESCRIPTORS$4 = descriptors;
506
+ var DESCRIPTORS$5 = descriptors;
507
507
  var IE8_DOM_DEFINE = ie8DomDefine;
508
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
509
- var anObject$1 = anObject$2;
508
+ var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
509
+ var anObject$6 = anObject$7;
510
510
  var toPropertyKey = toPropertyKey$2;
511
511
 
512
- var $TypeError = TypeError;
512
+ var $TypeError$1 = 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$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
524
- anObject$1(O);
523
+ objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
524
+ anObject$6(O);
525
525
  P = toPropertyKey(P);
526
- anObject$1(Attributes);
526
+ anObject$6(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$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defi
536
536
  }
537
537
  } return $defineProperty(O, P, Attributes);
538
538
  } : $defineProperty : function defineProperty(O, P, Attributes) {
539
- anObject$1(O);
539
+ anObject$6(O);
540
540
  P = toPropertyKey(P);
541
- anObject$1(Attributes);
541
+ anObject$6(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('Accessors not supported');
545
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$1('Accessors not supported');
546
546
  if ('value' in Attributes) O[P] = Attributes.value;
547
547
  return O;
548
548
  };
549
549
 
550
- var DESCRIPTORS$3 = descriptors;
551
- var definePropertyModule$2 = objectDefineProperty;
550
+ var DESCRIPTORS$4 = descriptors;
551
+ var definePropertyModule$3 = objectDefineProperty;
552
552
  var createPropertyDescriptor = createPropertyDescriptor$2;
553
553
 
554
- var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
555
- return definePropertyModule$2.f(object, key, createPropertyDescriptor(1, value));
554
+ var createNonEnumerableProperty$3 = DESCRIPTORS$4 ? function (object, key, value) {
555
+ return definePropertyModule$3.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$2 = DESCRIPTORS$3 ? function (object, key, value
560
560
 
561
561
  var makeBuiltIn$2 = {exports: {}};
562
562
 
563
- var DESCRIPTORS$2 = descriptors;
563
+ var DESCRIPTORS$3 = 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$2 && Object.getOwnPropertyDescriptor;
568
+ var getDescriptor = DESCRIPTORS$3 && 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$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
573
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && 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$4 = functionUncurryThis;
582
- var isCallable$4 = isCallable$a;
581
+ var uncurryThis$7 = functionUncurryThis;
582
+ var isCallable$6 = isCallable$c;
583
583
  var store$1 = sharedStore;
584
584
 
585
- var functionToString = uncurryThis$4(Function.toString);
585
+ var functionToString = uncurryThis$7(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$4(store$1.inspectSource)) {
588
+ if (!isCallable$6(store$1.inspectSource)) {
589
589
  store$1.inspectSource = function (it) {
590
590
  return functionToString(it);
591
591
  };
@@ -593,36 +593,36 @@ if (!isCallable$4(store$1.inspectSource)) {
593
593
 
594
594
  var inspectSource$1 = store$1.inspectSource;
595
595
 
596
- var global$3 = global$b;
597
- var isCallable$3 = isCallable$a;
596
+ var global$6 = global$e;
597
+ var isCallable$5 = isCallable$c;
598
598
 
599
- var WeakMap$2 = global$3.WeakMap;
599
+ var WeakMap$2 = global$6.WeakMap;
600
600
 
601
- var weakMapBasicDetection = isCallable$3(WeakMap$2) && /native code/.test(String(WeakMap$2));
601
+ var weakMapBasicDetection = isCallable$5(WeakMap$2) && /native code/.test(String(WeakMap$2));
602
602
 
603
- var shared$1 = shared$3.exports;
603
+ var shared$2 = shared$4.exports;
604
604
  var uid = uid$2;
605
605
 
606
- var keys = shared$1('keys');
606
+ var keys = shared$2('keys');
607
607
 
608
- var sharedKey$1 = function (key) {
608
+ var sharedKey$2 = function (key) {
609
609
  return keys[key] || (keys[key] = uid(key));
610
610
  };
611
611
 
612
- var hiddenKeys$3 = {};
612
+ var hiddenKeys$4 = {};
613
613
 
614
614
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
615
- var global$2 = global$b;
615
+ var global$5 = global$e;
616
616
  var isObject = isObject$5;
617
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
617
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
618
618
  var hasOwn$3 = hasOwnProperty_1;
619
- var shared = sharedStore;
620
- var sharedKey = sharedKey$1;
621
- var hiddenKeys$2 = hiddenKeys$3;
619
+ var shared$1 = sharedStore;
620
+ var sharedKey$1 = sharedKey$2;
621
+ var hiddenKeys$3 = hiddenKeys$4;
622
622
 
623
623
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
624
- var TypeError$1 = global$2.TypeError;
625
- var WeakMap$1 = global$2.WeakMap;
624
+ var TypeError$1 = global$5.TypeError;
625
+ var WeakMap$1 = global$5.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.state) {
642
- var store = shared.state || (shared.state = new WeakMap$1());
641
+ if (NATIVE_WEAK_MAP || shared$1.state) {
642
+ var store = shared$1.state || (shared$1.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.state) {
658
658
  return store.has(it);
659
659
  };
660
660
  } else {
661
- var STATE = sharedKey('state');
662
- hiddenKeys$2[STATE] = true;
661
+ var STATE = sharedKey$1('state');
662
+ hiddenKeys$3[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$1(it, STATE, metadata);
666
+ createNonEnumerableProperty$2(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$3 = functionUncurryThis;
686
- var fails$2 = fails$9;
687
- var isCallable$2 = isCallable$a;
685
+ var uncurryThis$6 = functionUncurryThis;
686
+ var fails$6 = fails$d;
687
+ var isCallable$4 = isCallable$c;
688
688
  var hasOwn$2 = hasOwnProperty_1;
689
- var DESCRIPTORS$1 = descriptors;
689
+ var DESCRIPTORS$2 = 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 = InternalStateModule.get;
696
- var $String = String;
695
+ var getInternalState$1 = InternalStateModule.get;
696
+ var $String$1 = String;
697
697
  // eslint-disable-next-line es/no-object-defineproperty -- safe
698
698
  var defineProperty$1 = Object.defineProperty;
699
- var stringSlice = uncurryThis$3(''.slice);
700
- var replace$1 = uncurryThis$3(''.replace);
701
- var join = uncurryThis$3([].join);
699
+ var stringSlice$1 = uncurryThis$6(''.slice);
700
+ var replace$2 = uncurryThis$6(''.replace);
701
+ var join = uncurryThis$6([].join);
702
702
 
703
- var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$2(function () {
703
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$6(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($String(name), 0, 7) === 'Symbol(') {
711
- name = '[' + replace$1($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
710
+ if (stringSlice$1($String$1(name), 0, 7) === 'Symbol(') {
711
+ name = '[' + replace$2($String$1(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$1) defineProperty$1(value, 'name', { value: name, configurable: true });
716
+ if (DESCRIPTORS$2) 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$1) defineProperty$1(value, 'prototype', { writable: false });
724
+ if (DESCRIPTORS$2) 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$2(this) && getInternalState(this).source || inspectSource(this);
737
+ return isCallable$4(this) && getInternalState$1(this).source || inspectSource(this);
738
738
  }, 'toString');
739
739
 
740
- var isCallable$1 = isCallable$a;
741
- var definePropertyModule$1 = objectDefineProperty;
740
+ var isCallable$3 = isCallable$c;
741
+ var definePropertyModule$2 = objectDefineProperty;
742
742
  var makeBuiltIn = makeBuiltIn$2.exports;
743
743
  var defineGlobalProperty$1 = defineGlobalProperty$3;
744
744
 
745
- var defineBuiltIn$1 = function (O, key, value, options) {
745
+ var defineBuiltIn$2 = 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$1(value)) makeBuiltIn(value, name, options);
749
+ if (isCallable$3(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$1 = 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$1.f(O, key, {
759
+ else definePropertyModule$2.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$1 = toIndexedObject$3;
822
+ var toIndexedObject$2 = toIndexedObject$4;
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$1($this);
829
+ var O = toIndexedObject$2($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$2 = functionUncurryThis;
855
+ var uncurryThis$5 = functionUncurryThis;
856
856
  var hasOwn$1 = hasOwnProperty_1;
857
- var toIndexedObject = toIndexedObject$3;
858
- var indexOf = arrayIncludes.indexOf;
859
- var hiddenKeys$1 = hiddenKeys$3;
857
+ var toIndexedObject$1 = toIndexedObject$4;
858
+ var indexOf$1 = arrayIncludes.indexOf;
859
+ var hiddenKeys$2 = hiddenKeys$4;
860
860
 
861
- var push = uncurryThis$2([].push);
861
+ var push = uncurryThis$5([].push);
862
862
 
863
863
  var objectKeysInternal = function (object, names) {
864
- var O = toIndexedObject(object);
864
+ var O = toIndexedObject$1(object);
865
865
  var i = 0;
866
866
  var result = [];
867
867
  var key;
868
- for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push(result, key);
868
+ for (key in O) !hasOwn$1(hiddenKeys$2, 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(result, key) || push(result, key);
871
+ ~indexOf$1(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$2 = [
877
+ var enumBugKeys$3 = [
878
878
  'constructor',
879
879
  'hasOwnProperty',
880
880
  'isPrototypeOf',
@@ -885,15 +885,15 @@ var enumBugKeys$2 = [
885
885
  ];
886
886
 
887
887
  var internalObjectKeys$1 = objectKeysInternal;
888
- var enumBugKeys$1 = enumBugKeys$2;
888
+ var enumBugKeys$2 = enumBugKeys$3;
889
889
 
890
- var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
890
+ var hiddenKeys$1 = enumBugKeys$2.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);
896
+ return internalObjectKeys$1(O, hiddenKeys$1);
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 = getBuiltIn$2;
905
- var uncurryThis$1 = functionUncurryThis;
904
+ var getBuiltIn$1 = getBuiltIn$3;
905
+ var uncurryThis$4 = functionUncurryThis;
906
906
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
907
907
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
908
- var anObject = anObject$2;
908
+ var anObject$5 = anObject$7;
909
909
 
910
- var concat$1 = uncurryThis$1([].concat);
910
+ var concat$1 = uncurryThis$4([].concat);
911
911
 
912
912
  // all object keys, includes non-enumerable and symbols
913
- var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
914
- var keys = getOwnPropertyNamesModule.f(anObject(it));
913
+ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
914
+ var keys = getOwnPropertyNamesModule.f(anObject$5(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('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 = objectDefineProperty;
922
+ var definePropertyModule$1 = objectDefineProperty;
923
923
 
924
924
  var copyConstructorProperties$1 = function (target, source, exceptions) {
925
925
  var keys = ownKeys(source);
926
- var defineProperty = definePropertyModule.f;
926
+ var defineProperty = definePropertyModule$1.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$1 = fails$9;
937
- var isCallable = isCallable$a;
936
+ var fails$5 = fails$d;
937
+ var isCallable$2 = isCallable$c;
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(detection) ? fails$1(detection)
945
+ : isCallable$2(detection) ? fails$5(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$1 = global$b;
959
+ var global$4 = global$e;
960
960
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
961
- var createNonEnumerableProperty = createNonEnumerableProperty$2;
962
- var defineBuiltIn = defineBuiltIn$1;
961
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
962
+ var defineBuiltIn$1 = defineBuiltIn$2;
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$1;
988
+ target = global$4;
989
989
  } else if (STATIC) {
990
- target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
990
+ target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
991
991
  } else {
992
- target = (global$1[TARGET] || {}).prototype;
992
+ target = (global$4[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(sourceProperty, 'sham', true);
1008
+ createNonEnumerableProperty$1(sourceProperty, 'sham', true);
1009
1009
  }
1010
- defineBuiltIn(target, key, sourceProperty, options);
1010
+ defineBuiltIn$1(target, key, sourceProperty, options);
1011
1011
  }
1012
1012
  };
1013
1013
 
1014
1014
  var internalObjectKeys = objectKeysInternal;
1015
- var enumBugKeys = enumBugKeys$2;
1015
+ var enumBugKeys$1 = enumBugKeys$3;
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$1 = Object.keys || function keys(O) {
1021
- return internalObjectKeys(O, enumBugKeys);
1020
+ var objectKeys$2 = Object.keys || function keys(O) {
1021
+ return internalObjectKeys(O, enumBugKeys$1);
1022
1022
  };
1023
1023
 
1024
- var DESCRIPTORS = descriptors;
1025
- var uncurryThis = functionUncurryThis;
1026
- var call = functionCall;
1027
- var fails = fails$9;
1028
- var objectKeys = objectKeys$1;
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;
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([].concat);
1038
+ var concat = uncurryThis$3([].concat);
1039
1039
 
1040
1040
  // `Object.assign` method
1041
1041
  // https://tc39.es/ecma262/#sec-object.assign
1042
- var objectAssign$1 = !$assign || fails(function () {
1042
+ var objectAssign$1 = !$assign || fails$4(function () {
1043
1043
  // should have correct order of operations (Edge bug)
1044
- if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1044
+ if (DESCRIPTORS$1 && $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(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($assign({}, B)).join('') != alphabet;
1061
+ return $assign({}, A)[symbol] != 7 || objectKeys$1($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,27 +1067,36 @@ var objectAssign$1 = !$assign || fails(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(S), getOwnPropertySymbols(S)) : objectKeys(S);
1070
+ var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(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 || call(propertyIsEnumerable, S, key)) T[key] = S[key];
1076
+ if (!DESCRIPTORS$1 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
1077
1077
  }
1078
1078
  } return T;
1079
1079
  } : $assign;
1080
1080
 
1081
- var $ = _export;
1081
+ var $$1 = _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
- $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$2 }, {
1087
+ $$1({ 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
+
1091
1100
  function isPlainObject(item) {
1092
1101
  return item !== null && typeof item === 'object' && item.constructor === Object;
1093
1102
  }
@@ -2554,6 +2563,58 @@ function capitalize(string) {
2554
2563
  return string.charAt(0).toUpperCase() + string.slice(1);
2555
2564
  }
2556
2565
 
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
+
2557
2618
  /**
2558
2619
  * Add keys, values of `defaultProps` that does not exist in `props`
2559
2620
  * @param {object} defaultProps
@@ -2925,7 +2986,7 @@ function match (value, pattern) {
2925
2986
  * @param {string} replacement
2926
2987
  * @return {string}
2927
2988
  */
2928
- function replace (value, pattern, replacement) {
2989
+ function replace$1 (value, pattern, replacement) {
2929
2990
  return value.replace(pattern, replacement)
2930
2991
  }
2931
2992
 
@@ -3253,7 +3314,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
3253
3314
  // (
3254
3315
  case 40:
3255
3316
  if (previous != 108 && charat(characters, length - 1) == 58) {
3256
- if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1)
3317
+ if (indexof(characters += replace$1(delimit(character), '&', '&\f'), '&\f') != -1)
3257
3318
  ampersand = -1;
3258
3319
  break
3259
3320
  }
@@ -3288,9 +3349,9 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
3288
3349
  // \0 }
3289
3350
  case 0: case 125: scanning = 0;
3290
3351
  // ;
3291
- case 59 + offset: if (ampersand == -1) characters = replace(characters, /\f/g, '');
3352
+ case 59 + offset: if (ampersand == -1) characters = replace$1(characters, /\f/g, '');
3292
3353
  if (property > 0 && (strlen(characters) - length))
3293
- append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
3354
+ append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace$1(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
3294
3355
  break
3295
3356
  // @ ;
3296
3357
  case 59: characters += ';';
@@ -3372,7 +3433,7 @@ function ruleset (value, root, parent, index, offset, rules, points, type, props
3372
3433
 
3373
3434
  for (var i = 0, j = 0, k = 0; i < index; ++i)
3374
3435
  for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
3375
- if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x])))
3436
+ if (z = trim(j > 0 ? rule[x] + ' ' + y : replace$1(y, /&\f/g, rule[x])))
3376
3437
  props[k++] = z;
3377
3438
 
3378
3439
  return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)
@@ -3768,51 +3829,51 @@ function prefix(value, length) {
3768
3829
  // align-items
3769
3830
 
3770
3831
  case 5187:
3771
- return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
3832
+ return WEBKIT + value + replace$1(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
3772
3833
  // align-self
3773
3834
 
3774
3835
  case 5443:
3775
- return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;
3836
+ return WEBKIT + value + MS + 'flex-item-' + replace$1(value, /flex-|-self/, '') + value;
3776
3837
  // align-content
3777
3838
 
3778
3839
  case 4675:
3779
- return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;
3840
+ return WEBKIT + value + MS + 'flex-line-pack' + replace$1(value, /align-content|flex-|-self/, '') + value;
3780
3841
  // flex-shrink
3781
3842
 
3782
3843
  case 5548:
3783
- return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
3844
+ return WEBKIT + value + MS + replace$1(value, 'shrink', 'negative') + value;
3784
3845
  // flex-basis
3785
3846
 
3786
3847
  case 5292:
3787
- return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
3848
+ return WEBKIT + value + MS + replace$1(value, 'basis', 'preferred-size') + value;
3788
3849
  // flex-grow
3789
3850
 
3790
3851
  case 6060:
3791
- return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
3852
+ return WEBKIT + 'box-' + replace$1(value, '-grow', '') + WEBKIT + value + MS + replace$1(value, 'grow', 'positive') + value;
3792
3853
  // transition
3793
3854
 
3794
3855
  case 4554:
3795
- return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
3856
+ return WEBKIT + replace$1(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
3796
3857
  // cursor
3797
3858
 
3798
3859
  case 6187:
3799
- return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
3860
+ return replace$1(replace$1(replace$1(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
3800
3861
  // background, background-image
3801
3862
 
3802
3863
  case 5495:
3803
3864
  case 3959:
3804
- return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
3865
+ return replace$1(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
3805
3866
  // justify-content
3806
3867
 
3807
3868
  case 4968:
3808
- return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
3869
+ return replace$1(replace$1(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
3809
3870
  // (margin|padding)-inline-(start|end)
3810
3871
 
3811
3872
  case 4095:
3812
3873
  case 3583:
3813
3874
  case 4068:
3814
3875
  case 2532:
3815
- return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
3876
+ return replace$1(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
3816
3877
  // (min|max)?(width|height|inline-size|block-size)
3817
3878
 
3818
3879
  case 8116:
@@ -3836,11 +3897,11 @@ function prefix(value, length) {
3836
3897
  // (f)ill-available, (f)it-content
3837
3898
 
3838
3899
  case 102:
3839
- return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
3900
+ return replace$1(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
3840
3901
  // (s)tretch
3841
3902
 
3842
3903
  case 115:
3843
- return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;
3904
+ return ~indexof(value, 'stretch') ? prefix(replace$1(value, 'stretch', 'fill-available'), length) + value : value;
3844
3905
  }
3845
3906
  break;
3846
3907
  // position: sticky
@@ -3854,11 +3915,11 @@ function prefix(value, length) {
3854
3915
  switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {
3855
3916
  // stic(k)y
3856
3917
  case 107:
3857
- return replace(value, ':', ':' + WEBKIT) + value;
3918
+ return replace$1(value, ':', ':' + WEBKIT) + value;
3858
3919
  // (inline-)?fl(e)x
3859
3920
 
3860
3921
  case 101:
3861
- return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
3922
+ return replace$1(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
3862
3923
  }
3863
3924
 
3864
3925
  break;
@@ -3868,15 +3929,15 @@ function prefix(value, length) {
3868
3929
  switch (charat(value, length + 11)) {
3869
3930
  // vertical-l(r)
3870
3931
  case 114:
3871
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
3932
+ return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
3872
3933
  // vertical-r(l)
3873
3934
 
3874
3935
  case 108:
3875
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
3936
+ return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
3876
3937
  // horizontal(-)tb
3877
3938
 
3878
3939
  case 45:
3879
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
3940
+ return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
3880
3941
  }
3881
3942
 
3882
3943
  return WEBKIT + value + MS + value + value;
@@ -3893,7 +3954,7 @@ var prefixer = function prefixer(element, index, children, callback) {
3893
3954
 
3894
3955
  case KEYFRAMES:
3895
3956
  return serialize([copy(element, {
3896
- value: replace(element.value, '@', '@' + WEBKIT)
3957
+ value: replace$1(element.value, '@', '@' + WEBKIT)
3897
3958
  })], callback);
3898
3959
 
3899
3960
  case RULESET:
@@ -3903,17 +3964,17 @@ var prefixer = function prefixer(element, index, children, callback) {
3903
3964
  case ':read-only':
3904
3965
  case ':read-write':
3905
3966
  return serialize([copy(element, {
3906
- props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
3967
+ props: [replace$1(value, /:(read-\w+)/, ':' + MOZ + '$1')]
3907
3968
  })], callback);
3908
3969
  // :placeholder
3909
3970
 
3910
3971
  case '::placeholder':
3911
3972
  return serialize([copy(element, {
3912
- props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
3973
+ props: [replace$1(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
3913
3974
  }), copy(element, {
3914
- props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
3975
+ props: [replace$1(value, /:(plac\w+)/, ':' + MOZ + '$1')]
3915
3976
  }), copy(element, {
3916
- props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
3977
+ props: [replace$1(value, /:(plac\w+)/, MS + 'input-$1')]
3917
3978
  })], callback);
3918
3979
  }
3919
3980
 
@@ -4936,7 +4997,7 @@ tags.forEach(function (tagName) {
4936
4997
  * This source code is licensed under the MIT license found in the
4937
4998
  * LICENSE file in the root directory of this source tree.
4938
4999
  */
4939
- function styled$2(tag, options) {
5000
+ function styled$3(tag, options) {
4940
5001
  const stylesFactory = newStyled(tag, options);
4941
5002
  if (process.env.NODE_ENV !== 'production') {
4942
5003
  return (...styles) => {
@@ -4961,7 +5022,7 @@ const internal_processStyles = (tag, processor) => {
4961
5022
  }
4962
5023
  };
4963
5024
 
4964
- const _excluded$8 = ["values", "unit", "step"];
5025
+ const _excluded$f = ["values", "unit", "step"];
4965
5026
  const sortBreakpointsValues = values => {
4966
5027
  const breakpointsAsArray = Object.keys(values).map(key => ({
4967
5028
  key,
@@ -4996,7 +5057,7 @@ function createBreakpoints(breakpoints) {
4996
5057
  unit = 'px',
4997
5058
  step = 5
4998
5059
  } = breakpoints,
4999
- other = _objectWithoutPropertiesLoose(breakpoints, _excluded$8);
5060
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$f);
5000
5061
  const sortedValues = sortBreakpointsValues(values);
5001
5062
  const keys = Object.keys(sortedValues);
5002
5063
  function up(key) {
@@ -5122,6 +5183,61 @@ function removeUnusedBreakpoints(breakpointKeys, style) {
5122
5183
  return acc;
5123
5184
  }, style);
5124
5185
  }
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
+ }
5125
5241
 
5126
5242
  function getPath(obj, path, checkVars = true) {
5127
5243
  if (!path || typeof path !== 'string') {
@@ -5156,7 +5272,7 @@ function getStyleValue(themeMapping, transform, propValueFinal, userValue = prop
5156
5272
  }
5157
5273
  return value;
5158
5274
  }
5159
- function style$1(options) {
5275
+ function style$2(options) {
5160
5276
  const {
5161
5277
  prop,
5162
5278
  cssProperty = options.prop,
@@ -5317,12 +5433,12 @@ function resolveCssProperty(props, keys, prop, transformer) {
5317
5433
  const propValue = props[prop];
5318
5434
  return handleBreakpoints(props, propValue, styleFromPropValue);
5319
5435
  }
5320
- function style(props, keys) {
5436
+ function style$1(props, keys) {
5321
5437
  const transformer = createUnarySpacing(props.theme);
5322
5438
  return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});
5323
5439
  }
5324
5440
  function margin(props) {
5325
- return style(props, marginKeys);
5441
+ return style$1(props, marginKeys);
5326
5442
  }
5327
5443
  margin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((obj, key) => {
5328
5444
  obj[key] = responsivePropType$1;
@@ -5330,7 +5446,7 @@ margin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((ob
5330
5446
  }, {}) : {};
5331
5447
  margin.filterProps = marginKeys;
5332
5448
  function padding(props) {
5333
- return style(props, paddingKeys);
5449
+ return style$1(props, paddingKeys);
5334
5450
  }
5335
5451
  padding.propTypes = process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {
5336
5452
  obj[key] = responsivePropType$1;
@@ -5404,48 +5520,48 @@ function borderTransform(value) {
5404
5520
  }
5405
5521
  return `${value}px solid`;
5406
5522
  }
5407
- const border = style$1({
5523
+ const border = style$2({
5408
5524
  prop: 'border',
5409
5525
  themeKey: 'borders',
5410
5526
  transform: borderTransform
5411
5527
  });
5412
- const borderTop = style$1({
5528
+ const borderTop = style$2({
5413
5529
  prop: 'borderTop',
5414
5530
  themeKey: 'borders',
5415
5531
  transform: borderTransform
5416
5532
  });
5417
- const borderRight = style$1({
5533
+ const borderRight = style$2({
5418
5534
  prop: 'borderRight',
5419
5535
  themeKey: 'borders',
5420
5536
  transform: borderTransform
5421
5537
  });
5422
- const borderBottom = style$1({
5538
+ const borderBottom = style$2({
5423
5539
  prop: 'borderBottom',
5424
5540
  themeKey: 'borders',
5425
5541
  transform: borderTransform
5426
5542
  });
5427
- const borderLeft = style$1({
5543
+ const borderLeft = style$2({
5428
5544
  prop: 'borderLeft',
5429
5545
  themeKey: 'borders',
5430
5546
  transform: borderTransform
5431
5547
  });
5432
- const borderColor = style$1({
5548
+ const borderColor = style$2({
5433
5549
  prop: 'borderColor',
5434
5550
  themeKey: 'palette'
5435
5551
  });
5436
- const borderTopColor = style$1({
5552
+ const borderTopColor = style$2({
5437
5553
  prop: 'borderTopColor',
5438
5554
  themeKey: 'palette'
5439
5555
  });
5440
- const borderRightColor = style$1({
5556
+ const borderRightColor = style$2({
5441
5557
  prop: 'borderRightColor',
5442
5558
  themeKey: 'palette'
5443
5559
  });
5444
- const borderBottomColor = style$1({
5560
+ const borderBottomColor = style$2({
5445
5561
  prop: 'borderBottomColor',
5446
5562
  themeKey: 'palette'
5447
5563
  });
5448
- const borderLeftColor = style$1({
5564
+ const borderLeftColor = style$2({
5449
5565
  prop: 'borderLeftColor',
5450
5566
  themeKey: 'palette'
5451
5567
  });
@@ -5518,31 +5634,31 @@ rowGap.propTypes = process.env.NODE_ENV !== 'production' ? {
5518
5634
  rowGap: responsivePropType$1
5519
5635
  } : {};
5520
5636
  rowGap.filterProps = ['rowGap'];
5521
- const gridColumn = style$1({
5637
+ const gridColumn = style$2({
5522
5638
  prop: 'gridColumn'
5523
5639
  });
5524
- const gridRow = style$1({
5640
+ const gridRow = style$2({
5525
5641
  prop: 'gridRow'
5526
5642
  });
5527
- const gridAutoFlow = style$1({
5643
+ const gridAutoFlow = style$2({
5528
5644
  prop: 'gridAutoFlow'
5529
5645
  });
5530
- const gridAutoColumns = style$1({
5646
+ const gridAutoColumns = style$2({
5531
5647
  prop: 'gridAutoColumns'
5532
5648
  });
5533
- const gridAutoRows = style$1({
5649
+ const gridAutoRows = style$2({
5534
5650
  prop: 'gridAutoRows'
5535
5651
  });
5536
- const gridTemplateColumns = style$1({
5652
+ const gridTemplateColumns = style$2({
5537
5653
  prop: 'gridTemplateColumns'
5538
5654
  });
5539
- const gridTemplateRows = style$1({
5655
+ const gridTemplateRows = style$2({
5540
5656
  prop: 'gridTemplateRows'
5541
5657
  });
5542
- const gridTemplateAreas = style$1({
5658
+ const gridTemplateAreas = style$2({
5543
5659
  prop: 'gridTemplateAreas'
5544
5660
  });
5545
- const gridArea = style$1({
5661
+ const gridArea = style$2({
5546
5662
  prop: 'gridArea'
5547
5663
  });
5548
5664
  compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
@@ -5553,18 +5669,18 @@ function paletteTransform(value, userValue) {
5553
5669
  }
5554
5670
  return value;
5555
5671
  }
5556
- const color = style$1({
5672
+ const color = style$2({
5557
5673
  prop: 'color',
5558
5674
  themeKey: 'palette',
5559
5675
  transform: paletteTransform
5560
5676
  });
5561
- const bgcolor = style$1({
5677
+ const bgcolor = style$2({
5562
5678
  prop: 'bgcolor',
5563
5679
  cssProperty: 'backgroundColor',
5564
5680
  themeKey: 'palette',
5565
5681
  transform: paletteTransform
5566
5682
  });
5567
- const backgroundColor = style$1({
5683
+ const backgroundColor = style$2({
5568
5684
  prop: 'backgroundColor',
5569
5685
  themeKey: 'palette',
5570
5686
  transform: paletteTransform
@@ -5574,7 +5690,7 @@ compose(color, bgcolor, backgroundColor);
5574
5690
  function sizingTransform(value) {
5575
5691
  return value <= 1 && value !== 0 ? `${value * 100}%` : value;
5576
5692
  }
5577
- const width = style$1({
5693
+ const width = style$2({
5578
5694
  prop: 'width',
5579
5695
  transform: sizingTransform
5580
5696
  });
@@ -5592,33 +5708,33 @@ const maxWidth = props => {
5592
5708
  return null;
5593
5709
  };
5594
5710
  maxWidth.filterProps = ['maxWidth'];
5595
- const minWidth = style$1({
5711
+ const minWidth = style$2({
5596
5712
  prop: 'minWidth',
5597
5713
  transform: sizingTransform
5598
5714
  });
5599
- const height = style$1({
5715
+ const height = style$2({
5600
5716
  prop: 'height',
5601
5717
  transform: sizingTransform
5602
5718
  });
5603
- const maxHeight = style$1({
5719
+ const maxHeight = style$2({
5604
5720
  prop: 'maxHeight',
5605
5721
  transform: sizingTransform
5606
5722
  });
5607
- const minHeight = style$1({
5723
+ const minHeight = style$2({
5608
5724
  prop: 'minHeight',
5609
5725
  transform: sizingTransform
5610
5726
  });
5611
- style$1({
5727
+ style$2({
5612
5728
  prop: 'size',
5613
5729
  cssProperty: 'width',
5614
5730
  transform: sizingTransform
5615
5731
  });
5616
- style$1({
5732
+ style$2({
5617
5733
  prop: 'size',
5618
5734
  cssProperty: 'height',
5619
5735
  transform: sizingTransform
5620
5736
  });
5621
- const boxSizing = style$1({
5737
+ const boxSizing = style$2({
5622
5738
  prop: 'boxSizing'
5623
5739
  });
5624
5740
  compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
@@ -6025,7 +6141,7 @@ const styleFunctionSx = unstable_createStyleFunctionSx();
6025
6141
  styleFunctionSx.filterProps = ['sx'];
6026
6142
  var styleFunctionSx$1 = styleFunctionSx;
6027
6143
 
6028
- const _excluded$7 = ["breakpoints", "palette", "spacing", "shape"];
6144
+ const _excluded$e = ["breakpoints", "palette", "spacing", "shape"];
6029
6145
  function createTheme$1(options = {}, ...args) {
6030
6146
  const {
6031
6147
  breakpoints: breakpointsInput = {},
@@ -6033,7 +6149,7 @@ function createTheme$1(options = {}, ...args) {
6033
6149
  spacing: spacingInput,
6034
6150
  shape: shapeInput = {}
6035
6151
  } = options,
6036
- other = _objectWithoutPropertiesLoose(options, _excluded$7);
6152
+ other = _objectWithoutPropertiesLoose(options, _excluded$e);
6037
6153
  const breakpoints = createBreakpoints(breakpointsInput);
6038
6154
  const spacing = createSpacing(spacingInput);
6039
6155
  let muiTheme = deepmerge({
@@ -6061,19 +6177,64 @@ function createTheme$1(options = {}, ...args) {
6061
6177
  function isObjectEmpty(obj) {
6062
6178
  return Object.keys(obj).length === 0;
6063
6179
  }
6064
- function useTheme$1(defaultTheme = null) {
6180
+ function useTheme$2(defaultTheme = null) {
6065
6181
  const contextTheme = React.useContext(ThemeContext);
6066
6182
  return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;
6067
6183
  }
6068
6184
 
6069
6185
  const systemDefaultTheme$1 = createTheme$1();
6070
- function useTheme(defaultTheme = systemDefaultTheme$1) {
6071
- return useTheme$1(defaultTheme);
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
+ });
6072
6233
  }
6073
6234
 
6074
6235
  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}
6075
6236
 
6076
- const _excluded$6 = ["variant"];
6237
+ const _excluded$c = ["variant"];
6077
6238
  function isEmpty$1(string) {
6078
6239
  return string.length === 0;
6079
6240
  }
@@ -6087,7 +6248,7 @@ function propsToClassKey(props) {
6087
6248
  const {
6088
6249
  variant
6089
6250
  } = props,
6090
- other = _objectWithoutPropertiesLoose(props, _excluded$6);
6251
+ other = _objectWithoutPropertiesLoose(props, _excluded$c);
6091
6252
  let classKey = variant || '';
6092
6253
  Object.keys(other).sort().forEach(key => {
6093
6254
  if (key === 'color') {
@@ -6099,7 +6260,7 @@ function propsToClassKey(props) {
6099
6260
  return classKey;
6100
6261
  }
6101
6262
 
6102
- const _excluded$5 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
6263
+ const _excluded$b = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
6103
6264
  function isEmpty(obj) {
6104
6265
  return Object.keys(obj).length === 0;
6105
6266
  }
@@ -6194,7 +6355,7 @@ function createStyled(input = {}) {
6194
6355
  skipSx: inputSkipSx,
6195
6356
  overridesResolver
6196
6357
  } = inputOptions,
6197
- options = _objectWithoutPropertiesLoose(inputOptions, _excluded$5);
6358
+ options = _objectWithoutPropertiesLoose(inputOptions, _excluded$b);
6198
6359
 
6199
6360
  // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
6200
6361
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
@@ -6215,7 +6376,7 @@ function createStyled(input = {}) {
6215
6376
  // for string (html) tag, preserve the behavior in emotion & styled-components.
6216
6377
  shouldForwardPropOption = undefined;
6217
6378
  }
6218
- const defaultStyledResolver = styled$2(tag, _extends({
6379
+ const defaultStyledResolver = styled$3(tag, _extends({
6219
6380
  shouldForwardProp: shouldForwardPropOption,
6220
6381
  label
6221
6382
  }, options));
@@ -6307,6 +6468,9 @@ function createStyled(input = {}) {
6307
6468
  };
6308
6469
  }
6309
6470
 
6471
+ const styled$2 = createStyled();
6472
+ var systemStyled = styled$2;
6473
+
6310
6474
  function getThemeProps(params) {
6311
6475
  const {
6312
6476
  theme,
@@ -6325,7 +6489,7 @@ function useThemeProps$1({
6325
6489
  defaultTheme,
6326
6490
  themeId
6327
6491
  }) {
6328
- let theme = useTheme(defaultTheme);
6492
+ let theme = useTheme$1(defaultTheme);
6329
6493
  if (themeId) {
6330
6494
  theme = theme[themeId] || theme;
6331
6495
  }
@@ -6508,6 +6672,27 @@ function getContrastRatio(foreground, background) {
6508
6672
  return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);
6509
6673
  }
6510
6674
 
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
+
6511
6696
  /**
6512
6697
  * Darkens a color.
6513
6698
  * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
@@ -6550,6 +6735,161 @@ function lighten(color, coefficient) {
6550
6735
  return recomposeColor(color);
6551
6736
  }
6552
6737
 
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
+
6553
6893
  function createMixins(breakpoints, mixins) {
6554
6894
  return _extends({
6555
6895
  toolbar: {
@@ -6698,7 +7038,7 @@ const green = {
6698
7038
  };
6699
7039
  var green$1 = green;
6700
7040
 
6701
- const _excluded$4 = ["mode", "contrastThreshold", "tonalOffset"];
7041
+ const _excluded$9 = ["mode", "contrastThreshold", "tonalOffset"];
6702
7042
  const light = {
6703
7043
  // The colors used to style the text.
6704
7044
  text: {
@@ -6867,7 +7207,7 @@ function createPalette(palette) {
6867
7207
  contrastThreshold = 3,
6868
7208
  tonalOffset = 0.2
6869
7209
  } = palette,
6870
- other = _objectWithoutPropertiesLoose(palette, _excluded$4);
7210
+ other = _objectWithoutPropertiesLoose(palette, _excluded$9);
6871
7211
  const primary = palette.primary || getDefaultPrimary(mode);
6872
7212
  const secondary = palette.secondary || getDefaultSecondary(mode);
6873
7213
  const error = palette.error || getDefaultError(mode);
@@ -6991,7 +7331,7 @@ const theme2 = createTheme({ palette: {
6991
7331
  return paletteOutput;
6992
7332
  }
6993
7333
 
6994
- const _excluded$3 = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
7334
+ const _excluded$8 = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
6995
7335
  function round(value) {
6996
7336
  return Math.round(value * 1e5) / 1e5;
6997
7337
  }
@@ -7022,7 +7362,7 @@ function createTypography(palette, typography) {
7022
7362
  allVariants,
7023
7363
  pxToRem: pxToRem2
7024
7364
  } = _ref,
7025
- other = _objectWithoutPropertiesLoose(_ref, _excluded$3);
7365
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$8);
7026
7366
  if (process.env.NODE_ENV !== 'production') {
7027
7367
  if (typeof fontSize !== 'number') {
7028
7368
  console.error('MUI: `fontSize` is required to be a number.');
@@ -7089,7 +7429,7 @@ function createShadow(...px) {
7089
7429
  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)];
7090
7430
  var shadows$1 = shadows;
7091
7431
 
7092
- const _excluded$2 = ["duration", "easing", "delay"];
7432
+ const _excluded$7 = ["duration", "easing", "delay"];
7093
7433
  // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
7094
7434
  // to learn the context in which each easing should be used.
7095
7435
  const easing = {
@@ -7140,7 +7480,7 @@ function createTransitions(inputTransitions) {
7140
7480
  easing: easingOption = mergedEasing.easeInOut,
7141
7481
  delay = 0
7142
7482
  } = options,
7143
- other = _objectWithoutPropertiesLoose(options, _excluded$2);
7483
+ other = _objectWithoutPropertiesLoose(options, _excluded$7);
7144
7484
  if (process.env.NODE_ENV !== 'production') {
7145
7485
  const isString = value => typeof value === 'string';
7146
7486
  // IE11 support, replace with Number.isNaN
@@ -7187,7 +7527,7 @@ const zIndex = {
7187
7527
  };
7188
7528
  var zIndex$1 = zIndex;
7189
7529
 
7190
- const _excluded$1 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
7530
+ const _excluded$6 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
7191
7531
  function createTheme(options = {}, ...args) {
7192
7532
  const {
7193
7533
  mixins: mixinsInput = {},
@@ -7195,7 +7535,7 @@ function createTheme(options = {}, ...args) {
7195
7535
  transitions: transitionsInput = {},
7196
7536
  typography: typographyInput = {}
7197
7537
  } = options,
7198
- other = _objectWithoutPropertiesLoose(options, _excluded$1);
7538
+ other = _objectWithoutPropertiesLoose(options, _excluded$6);
7199
7539
  if (options.vars) {
7200
7540
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
7201
7541
  Please use another name.` : formatMuiErrorMessage(18));
@@ -7256,6 +7596,15 @@ Please use another name.` : formatMuiErrorMessage(18));
7256
7596
  const defaultTheme = createTheme();
7257
7597
  var defaultTheme$1 = defaultTheme;
7258
7598
 
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
+
7259
7608
  function useThemeProps({
7260
7609
  props,
7261
7610
  name
@@ -7276,13 +7625,25 @@ const styled = createStyled({
7276
7625
  });
7277
7626
  var styled$1 = styled;
7278
7627
 
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
+
7279
7640
  function getSvgIconUtilityClass(slot) {
7280
7641
  return generateUtilityClass('MuiSvgIcon', slot);
7281
7642
  }
7282
7643
  generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
7283
7644
 
7284
- const _excluded = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
7285
- const useUtilityClasses = ownerState => {
7645
+ const _excluded$5 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
7646
+ const useUtilityClasses$5 = ownerState => {
7286
7647
  const {
7287
7648
  color,
7288
7649
  fontSize,
@@ -7347,7 +7708,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
7347
7708
  titleAccess,
7348
7709
  viewBox = '0 0 24 24'
7349
7710
  } = props,
7350
- other = _objectWithoutPropertiesLoose(props, _excluded);
7711
+ other = _objectWithoutPropertiesLoose(props, _excluded$5);
7351
7712
  const ownerState = _extends({}, props, {
7352
7713
  color,
7353
7714
  component,
@@ -7360,7 +7721,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
7360
7721
  if (!inheritViewBox) {
7361
7722
  more.viewBox = viewBox;
7362
7723
  }
7363
- const classes = useUtilityClasses(ownerState);
7724
+ const classes = useUtilityClasses$5(ownerState);
7364
7725
  return /*#__PURE__*/jsxs(SvgIconRoot, _extends({
7365
7726
  as: component,
7366
7727
  className: clsx(classes.root, className),
@@ -8142,25 +8503,6 @@ const themeOptions = {
8142
8503
  };
8143
8504
 
8144
8505
  const SincoTheme = createTheme(Object.assign({}, themeOptions, {
8145
- components: {
8146
- MuiChip: {
8147
- variants: [{
8148
- props: {
8149
- size: "xsmall"
8150
- },
8151
- style: {
8152
- height: 16,
8153
- borderRadius: "4px",
8154
- fontFamily: "Roboto",
8155
- fontSize: 10,
8156
- fontStyle: "normal",
8157
- fontWeight: 400,
8158
- lineHeight: 10,
8159
- letterSpacing: "0.15px"
8160
- }
8161
- }]
8162
- }
8163
- },
8164
8506
  typography: {
8165
8507
  body3: {
8166
8508
  fontFamily: "Roboto",
@@ -8175,4 +8517,1235 @@ const SincoTheme = createTheme(Object.assign({}, themeOptions, {
8175
8517
  }
8176
8518
  }));
8177
8519
 
8178
- export { SincoTheme };
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 };