@sinco/react 1.0.14-rc.22 → 1.0.14-rc.23

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.
Files changed (2) hide show
  1. package/index.js +398 -438
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -22,11 +22,11 @@ function getAugmentedNamespace(n) {
22
22
  }
23
23
 
24
24
  var check = function (it) {
25
- return it && it.Math === Math && it;
25
+ return it && it.Math == Math && it;
26
26
  };
27
27
 
28
28
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
29
- var global$l =
29
+ var global$k =
30
30
  // eslint-disable-next-line es/no-global-this -- safe
31
31
  check(typeof globalThis == 'object' && globalThis) ||
32
32
  check(typeof window == 'object' && window) ||
@@ -51,7 +51,7 @@ var fails$g = fails$h;
51
51
  // Detect IE8's incomplete defineProperty implementation
52
52
  var descriptors = !fails$g(function () {
53
53
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
54
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
54
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
55
55
  });
56
56
 
57
57
  var fails$f = fails$h;
@@ -130,7 +130,7 @@ var indexedObject = fails$e(function () {
130
130
  // eslint-disable-next-line no-prototype-builtins -- safe
131
131
  return !$Object$4('z').propertyIsEnumerable(0);
132
132
  }) ? function (it) {
133
- return classof$6(it) === 'String' ? split(it, '') : $Object$4(it);
133
+ return classof$6(it) == 'String' ? split(it, '') : $Object$4(it);
134
134
  } : $Object$4;
135
135
 
136
136
  // we can't use just `it == null` since of `document.all` special case
@@ -192,7 +192,7 @@ var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) {
192
192
  return typeof it == 'object' ? it !== null : isCallable$k(it);
193
193
  };
194
194
 
195
- var global$k = global$l;
195
+ var global$j = global$k;
196
196
  var isCallable$j = isCallable$l;
197
197
 
198
198
  var aFunction = function (argument) {
@@ -200,7 +200,7 @@ var aFunction = function (argument) {
200
200
  };
201
201
 
202
202
  var getBuiltIn$7 = function (namespace, method) {
203
- return arguments.length < 2 ? aFunction(global$k[namespace]) : global$k[namespace] && global$k[namespace][method];
203
+ return arguments.length < 2 ? aFunction(global$j[namespace]) : global$j[namespace] && global$j[namespace][method];
204
204
  };
205
205
 
206
206
  var uncurryThis$e = functionUncurryThis;
@@ -209,11 +209,11 @@ var objectIsPrototypeOf = uncurryThis$e({}.isPrototypeOf);
209
209
 
210
210
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
211
211
 
212
- var global$j = global$l;
212
+ var global$i = global$k;
213
213
  var userAgent$3 = engineUserAgent;
214
214
 
215
- var process$4 = global$j.process;
216
- var Deno$1 = global$j.Deno;
215
+ var process$4 = global$i.process;
216
+ var Deno$1 = global$i.Deno;
217
217
  var versions = process$4 && process$4.versions || Deno$1 && Deno$1.version;
218
218
  var v8 = versions && versions.v8;
219
219
  var match$1, version;
@@ -238,15 +238,16 @@ if (!version && userAgent$3) {
238
238
  var engineV8Version = version;
239
239
 
240
240
  /* eslint-disable es/no-symbol -- required for testing */
241
+
241
242
  var V8_VERSION$1 = engineV8Version;
242
243
  var fails$d = fails$h;
243
- var global$i = global$l;
244
+ var global$h = global$k;
244
245
 
245
- var $String$5 = global$i.String;
246
+ var $String$5 = global$h.String;
246
247
 
247
248
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
248
249
  var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$d(function () {
249
- var symbol = Symbol('symbol detection');
250
+ var symbol = Symbol();
250
251
  // Chrome 38 Symbol has incorrect toString conversion
251
252
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
252
253
  // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
@@ -257,6 +258,7 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$d(func
257
258
  });
258
259
 
259
260
  /* eslint-disable es/no-symbol -- required for testing */
261
+
260
262
  var NATIVE_SYMBOL$1 = symbolConstructorDetection;
261
263
 
262
264
  var useSymbolAsUid = NATIVE_SYMBOL$1
@@ -326,24 +328,24 @@ var ordinaryToPrimitive$1 = function (input, pref) {
326
328
 
327
329
  var shared$4 = {exports: {}};
328
330
 
329
- var global$h = global$l;
331
+ var global$g = global$k;
330
332
 
331
333
  // eslint-disable-next-line es/no-object-defineproperty -- safe
332
334
  var defineProperty$6 = Object.defineProperty;
333
335
 
334
336
  var defineGlobalProperty$3 = function (key, value) {
335
337
  try {
336
- defineProperty$6(global$h, key, { value: value, configurable: true, writable: true });
338
+ defineProperty$6(global$g, key, { value: value, configurable: true, writable: true });
337
339
  } catch (error) {
338
- global$h[key] = value;
340
+ global$g[key] = value;
339
341
  } return value;
340
342
  };
341
343
 
342
- var global$g = global$l;
344
+ var global$f = global$k;
343
345
  var defineGlobalProperty$2 = defineGlobalProperty$3;
344
346
 
345
347
  var SHARED = '__core-js_shared__';
346
- var store$3 = global$g[SHARED] || defineGlobalProperty$2(SHARED, {});
348
+ var store$3 = global$f[SHARED] || defineGlobalProperty$2(SHARED, {});
347
349
 
348
350
  var sharedStore = store$3;
349
351
 
@@ -352,10 +354,10 @@ var store$2 = sharedStore;
352
354
  (shared$4.exports = function (key, value) {
353
355
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
354
356
  })('versions', []).push({
355
- version: '3.32.2',
357
+ version: '3.30.2',
356
358
  mode: 'global',
357
359
  copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
358
- license: 'https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE',
360
+ license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',
359
361
  source: 'https://github.com/zloirock/core-js'
360
362
  });
361
363
 
@@ -391,14 +393,14 @@ var uid$2 = function (key) {
391
393
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
392
394
  };
393
395
 
394
- var global$f = global$l;
396
+ var global$e = global$k;
395
397
  var shared$3 = shared$4.exports;
396
398
  var hasOwn$9 = hasOwnProperty_1;
397
399
  var uid$1 = uid$2;
398
400
  var NATIVE_SYMBOL = symbolConstructorDetection;
399
401
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
400
402
 
401
- var Symbol$1 = global$f.Symbol;
403
+ var Symbol$1 = global$e.Symbol;
402
404
  var WellKnownSymbolsStore = shared$3('wks');
403
405
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
404
406
 
@@ -446,10 +448,10 @@ var toPropertyKey$2 = function (argument) {
446
448
  return isSymbol(key) ? key : key + '';
447
449
  };
448
450
 
449
- var global$e = global$l;
451
+ var global$d = global$k;
450
452
  var isObject$5 = isObject$8;
451
453
 
452
- var document$3 = global$e.document;
454
+ var document$3 = global$d.document;
453
455
  // typeof document.createElement is 'object' in old IE
454
456
  var EXISTS$1 = isObject$5(document$3) && isObject$5(document$3.createElement);
455
457
 
@@ -466,7 +468,7 @@ var ie8DomDefine = !DESCRIPTORS$a && !fails$c(function () {
466
468
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
467
469
  return Object.defineProperty(createElement$1('div'), 'a', {
468
470
  get: function () { return 7; }
469
- }).a !== 7;
471
+ }).a != 7;
470
472
  });
471
473
 
472
474
  var DESCRIPTORS$9 = descriptors;
@@ -504,7 +506,7 @@ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$b(function () {
504
506
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
505
507
  value: 42,
506
508
  writable: false
507
- }).prototype !== 42;
509
+ }).prototype != 42;
508
510
  });
509
511
 
510
512
  var isObject$4 = isObject$8;
@@ -608,10 +610,10 @@ if (!isCallable$f(store$1.inspectSource)) {
608
610
 
609
611
  var inspectSource$3 = store$1.inspectSource;
610
612
 
611
- var global$d = global$l;
613
+ var global$c = global$k;
612
614
  var isCallable$e = isCallable$l;
613
615
 
614
- var WeakMap$2 = global$d.WeakMap;
616
+ var WeakMap$2 = global$c.WeakMap;
615
617
 
616
618
  var weakMapBasicDetection = isCallable$e(WeakMap$2) && /native code/.test(String(WeakMap$2));
617
619
 
@@ -627,7 +629,7 @@ var sharedKey$3 = function (key) {
627
629
  var hiddenKeys$4 = {};
628
630
 
629
631
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
630
- var global$c = global$l;
632
+ var global$b = global$k;
631
633
  var isObject$3 = isObject$8;
632
634
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
633
635
  var hasOwn$6 = hasOwnProperty_1;
@@ -636,8 +638,8 @@ var sharedKey$2 = sharedKey$3;
636
638
  var hiddenKeys$3 = hiddenKeys$4;
637
639
 
638
640
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
639
- var TypeError$2 = global$c.TypeError;
640
- var WeakMap$1 = global$c.WeakMap;
641
+ var TypeError$2 = global$b.TypeError;
642
+ var WeakMap$1 = global$b.WeakMap;
641
643
  var set$1, get, has$3;
642
644
 
643
645
  var enforce = function (it) {
@@ -847,10 +849,10 @@ var createMethod = function (IS_INCLUDES) {
847
849
  var value;
848
850
  // Array#includes uses SameValueZero equality algorithm
849
851
  // eslint-disable-next-line no-self-compare -- NaN check
850
- if (IS_INCLUDES && el !== el) while (length > index) {
852
+ if (IS_INCLUDES && el != el) while (length > index) {
851
853
  value = O[index++];
852
854
  // eslint-disable-next-line no-self-compare -- NaN check
853
- if (value !== value) return true;
855
+ if (value != value) return true;
854
856
  // Array#indexOf ignores holes, Array#includes - not
855
857
  } else for (;length > index; index++) {
856
858
  if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
@@ -955,8 +957,8 @@ var replacement = /#|\.prototype\./;
955
957
 
956
958
  var isForced$2 = function (feature, detection) {
957
959
  var value = data[normalize(feature)];
958
- return value === POLYFILL ? true
959
- : value === NATIVE ? false
960
+ return value == POLYFILL ? true
961
+ : value == NATIVE ? false
960
962
  : isCallable$b(detection) ? fails$9(detection)
961
963
  : !!detection;
962
964
  };
@@ -971,7 +973,7 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
971
973
 
972
974
  var isForced_1 = isForced$2;
973
975
 
974
- var global$b = global$l;
976
+ var global$a = global$k;
975
977
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
976
978
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
977
979
  var defineBuiltIn$5 = defineBuiltIn$6;
@@ -1000,11 +1002,11 @@ var _export = function (options, source) {
1000
1002
  var STATIC = options.stat;
1001
1003
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1002
1004
  if (GLOBAL) {
1003
- target = global$b;
1005
+ target = global$a;
1004
1006
  } else if (STATIC) {
1005
- target = global$b[TARGET] || defineGlobalProperty(TARGET, {});
1007
+ target = global$a[TARGET] || defineGlobalProperty(TARGET, {});
1006
1008
  } else {
1007
- target = (global$b[TARGET] || {}).prototype;
1009
+ target = (global$a[TARGET] || {}).prototype;
1008
1010
  }
1009
1011
  if (target) for (key in source) {
1010
1012
  sourceProperty = source[key];
@@ -1069,11 +1071,11 @@ var objectAssign$1 = !$assign || fails$8(function () {
1069
1071
  var A = {};
1070
1072
  var B = {};
1071
1073
  // eslint-disable-next-line es/no-symbol -- safe
1072
- var symbol = Symbol('assign detection');
1074
+ var symbol = Symbol();
1073
1075
  var alphabet = 'abcdefghijklmnopqrst';
1074
1076
  A[symbol] = 7;
1075
1077
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1076
- return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet;
1078
+ return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
1077
1079
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1078
1080
  var T = toObject$2(target);
1079
1081
  var argumentsLength = arguments.length;
@@ -1112,8 +1114,8 @@ function chainPropTypes(propType1, propType2) {
1112
1114
  };
1113
1115
  }
1114
1116
 
1115
- function _extends$5() {
1116
- _extends$5 = Object.assign ? Object.assign.bind() : function (target) {
1117
+ function _extends() {
1118
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
1117
1119
  for (var i = 1; i < arguments.length; i++) {
1118
1120
  var source = arguments[i];
1119
1121
  for (var key in source) {
@@ -1124,7 +1126,7 @@ function _extends$5() {
1124
1126
  }
1125
1127
  return target;
1126
1128
  };
1127
- return _extends$5.apply(this, arguments);
1129
+ return _extends.apply(this, arguments);
1128
1130
  }
1129
1131
 
1130
1132
  function isPlainObject(item) {
@@ -1143,7 +1145,7 @@ function deepClone(source) {
1143
1145
  function deepmerge(target, source, options = {
1144
1146
  clone: true
1145
1147
  }) {
1146
- const output = options.clone ? _extends$5({}, target) : target;
1148
+ const output = options.clone ? _extends({}, target) : target;
1147
1149
  if (isPlainObject(target) && isPlainObject(source)) {
1148
1150
  Object.keys(source).forEach(key => {
1149
1151
  // Avoid prototype pollution
@@ -1178,11 +1180,11 @@ var reactIs_production_min$2 = {};
1178
1180
  * LICENSE file in the root directory of this source tree.
1179
1181
  */
1180
1182
  var b$2="function"===typeof Symbol&&Symbol.for,c$2=b$2?Symbol.for("react.element"):60103,d$2=b$2?Symbol.for("react.portal"):60106,e$2=b$2?Symbol.for("react.fragment"):60107,f$2=b$2?Symbol.for("react.strict_mode"):60108,g$2=b$2?Symbol.for("react.profiler"):60114,h$2=b$2?Symbol.for("react.provider"):60109,k$2=b$2?Symbol.for("react.context"):60110,l$2=b$2?Symbol.for("react.async_mode"):60111,m$2=b$2?Symbol.for("react.concurrent_mode"):60111,n$2=b$2?Symbol.for("react.forward_ref"):60112,p$2=b$2?Symbol.for("react.suspense"):60113,q$2=b$2?
1181
- Symbol.for("react.suspense_list"):60120,r$2=b$2?Symbol.for("react.memo"):60115,t$2=b$2?Symbol.for("react.lazy"):60116,v$2=b$2?Symbol.for("react.block"):60121,w$1=b$2?Symbol.for("react.fundamental"):60117,x$1=b$2?Symbol.for("react.responder"):60118,y$1=b$2?Symbol.for("react.scope"):60119;
1182
- function z$1(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$2:switch(a=a.type,a){case l$2:case m$2:case e$2:case g$2:case f$2:case p$2:return a;default:switch(a=a&&a.$$typeof,a){case k$2:case n$2:case t$2:case r$2:case h$2:return a;default:return u}}case d$2:return u}}}function A$1(a){return z$1(a)===m$2}reactIs_production_min$2.AsyncMode=l$2;reactIs_production_min$2.ConcurrentMode=m$2;reactIs_production_min$2.ContextConsumer=k$2;reactIs_production_min$2.ContextProvider=h$2;reactIs_production_min$2.Element=c$2;reactIs_production_min$2.ForwardRef=n$2;reactIs_production_min$2.Fragment=e$2;reactIs_production_min$2.Lazy=t$2;reactIs_production_min$2.Memo=r$2;reactIs_production_min$2.Portal=d$2;
1183
+ Symbol.for("react.suspense_list"):60120,r$4=b$2?Symbol.for("react.memo"):60115,t$2=b$2?Symbol.for("react.lazy"):60116,v$2=b$2?Symbol.for("react.block"):60121,w$1=b$2?Symbol.for("react.fundamental"):60117,x$1=b$2?Symbol.for("react.responder"):60118,y$1=b$2?Symbol.for("react.scope"):60119;
1184
+ function z$1(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$2:switch(a=a.type,a){case l$2:case m$2:case e$2:case g$2:case f$2:case p$2:return a;default:switch(a=a&&a.$$typeof,a){case k$2:case n$2:case t$2:case r$4:case h$2:return a;default:return u}}case d$2:return u}}}function A$1(a){return z$1(a)===m$2}reactIs_production_min$2.AsyncMode=l$2;reactIs_production_min$2.ConcurrentMode=m$2;reactIs_production_min$2.ContextConsumer=k$2;reactIs_production_min$2.ContextProvider=h$2;reactIs_production_min$2.Element=c$2;reactIs_production_min$2.ForwardRef=n$2;reactIs_production_min$2.Fragment=e$2;reactIs_production_min$2.Lazy=t$2;reactIs_production_min$2.Memo=r$4;reactIs_production_min$2.Portal=d$2;
1183
1185
  reactIs_production_min$2.Profiler=g$2;reactIs_production_min$2.StrictMode=f$2;reactIs_production_min$2.Suspense=p$2;reactIs_production_min$2.isAsyncMode=function(a){return A$1(a)||z$1(a)===l$2};reactIs_production_min$2.isConcurrentMode=A$1;reactIs_production_min$2.isContextConsumer=function(a){return z$1(a)===k$2};reactIs_production_min$2.isContextProvider=function(a){return z$1(a)===h$2};reactIs_production_min$2.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c$2};reactIs_production_min$2.isForwardRef=function(a){return z$1(a)===n$2};reactIs_production_min$2.isFragment=function(a){return z$1(a)===e$2};reactIs_production_min$2.isLazy=function(a){return z$1(a)===t$2};
1184
- reactIs_production_min$2.isMemo=function(a){return z$1(a)===r$2};reactIs_production_min$2.isPortal=function(a){return z$1(a)===d$2};reactIs_production_min$2.isProfiler=function(a){return z$1(a)===g$2};reactIs_production_min$2.isStrictMode=function(a){return z$1(a)===f$2};reactIs_production_min$2.isSuspense=function(a){return z$1(a)===p$2};
1185
- reactIs_production_min$2.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e$2||a===m$2||a===g$2||a===f$2||a===p$2||a===q$2||"object"===typeof a&&null!==a&&(a.$$typeof===t$2||a.$$typeof===r$2||a.$$typeof===h$2||a.$$typeof===k$2||a.$$typeof===n$2||a.$$typeof===w$1||a.$$typeof===x$1||a.$$typeof===y$1||a.$$typeof===v$2)};reactIs_production_min$2.typeOf=z$1;
1186
+ reactIs_production_min$2.isMemo=function(a){return z$1(a)===r$4};reactIs_production_min$2.isPortal=function(a){return z$1(a)===d$2};reactIs_production_min$2.isProfiler=function(a){return z$1(a)===g$2};reactIs_production_min$2.isStrictMode=function(a){return z$1(a)===f$2};reactIs_production_min$2.isSuspense=function(a){return z$1(a)===p$2};
1187
+ reactIs_production_min$2.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e$2||a===m$2||a===g$2||a===f$2||a===p$2||a===q$2||"object"===typeof a&&null!==a&&(a.$$typeof===t$2||a.$$typeof===r$4||a.$$typeof===h$2||a.$$typeof===k$2||a.$$typeof===n$2||a.$$typeof===w$1||a.$$typeof===x$1||a.$$typeof===y$1||a.$$typeof===v$2)};reactIs_production_min$2.typeOf=z$1;
1186
1188
 
1187
1189
  var reactIs_development$2 = {};
1188
1190
 
@@ -2356,7 +2358,7 @@ function exactProp(propTypes) {
2356
2358
  if (process.env.NODE_ENV === 'production') {
2357
2359
  return propTypes;
2358
2360
  }
2359
- return _extends$5({}, propTypes, {
2361
+ return _extends({}, propTypes, {
2360
2362
  [specialProperty]: props => {
2361
2363
  const unsupportedProps = Object.keys(props).filter(prop => !propTypes.hasOwnProperty(prop));
2362
2364
  if (unsupportedProps.length > 0) {
@@ -2759,7 +2761,11 @@ function deprecatedPropType(validator, reason) {
2759
2761
  }
2760
2762
 
2761
2763
  function isMuiElement(element, muiNames) {
2762
- return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf(element.type.muiName) !== -1;
2764
+ var _muiName, _element$type;
2765
+ return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf( // For server components `muiName` is avaialble in element.type._payload.value.muiName
2766
+ // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
2767
+ // eslint-disable-next-line no-underscore-dangle
2768
+ (_muiName = element.type.muiName) != null ? _muiName : (_element$type = element.type) == null || (_element$type = _element$type._payload) == null || (_element$type = _element$type.value) == null ? void 0 : _element$type.muiName) !== -1;
2763
2769
  }
2764
2770
 
2765
2771
  function ownerDocument(node) {
@@ -2777,7 +2783,7 @@ function requirePropFactory(componentNameInError, Component) {
2777
2783
  }
2778
2784
 
2779
2785
  // eslint-disable-next-line react/forbid-foreign-prop-types
2780
- const prevPropTypes = Component ? _extends$5({}, Component.propTypes) : null;
2786
+ const prevPropTypes = Component ? _extends({}, Component.propTypes) : null;
2781
2787
  const requireProp = requiredProp => (props, propName, componentName, location, propFullName, ...args) => {
2782
2788
  const propFullNameSafe = propFullName || propName;
2783
2789
  const defaultTypeChecker = prevPropTypes == null ? void 0 : prevPropTypes[propFullNameSafe];
@@ -2816,6 +2822,13 @@ function setRef(ref, value) {
2816
2822
  }
2817
2823
  }
2818
2824
 
2825
+ /**
2826
+ * A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.
2827
+ * This is useful for effects that are only needed for client-side rendering but not for SSR.
2828
+ *
2829
+ * Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85
2830
+ * and confirm it doesn't apply to your use-case.
2831
+ */
2819
2832
  const useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
2820
2833
  var useEnhancedEffect$1 = useEnhancedEffect;
2821
2834
 
@@ -3154,10 +3167,10 @@ var integerPropType = process.env.NODE_ENV === 'production' ? validatorNoop : va
3154
3167
  * @returns {object} resolved props
3155
3168
  */
3156
3169
  function resolveProps(defaultProps, props) {
3157
- const output = _extends$5({}, props);
3170
+ const output = _extends({}, props);
3158
3171
  Object.keys(defaultProps).forEach(propName => {
3159
3172
  if (propName.toString().match(/^(components|slots)$/)) {
3160
- output[propName] = _extends$5({}, defaultProps[propName], output[propName]);
3173
+ output[propName] = _extends({}, defaultProps[propName], output[propName]);
3161
3174
  } else if (propName.toString().match(/^(componentsProps|slotProps)$/)) {
3162
3175
  const defaultSlotProps = defaultProps[propName] || {};
3163
3176
  const slotProps = props[propName];
@@ -3169,7 +3182,7 @@ function resolveProps(defaultProps, props) {
3169
3182
  // Reduce the iteration if the default slot props is empty
3170
3183
  output[propName] = slotProps;
3171
3184
  } else {
3172
- output[propName] = _extends$5({}, slotProps);
3185
+ output[propName] = _extends({}, slotProps);
3173
3186
  Object.keys(defaultSlotProps).forEach(slotPropName => {
3174
3187
  output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName]);
3175
3188
  });
@@ -3252,22 +3265,7 @@ function generateUtilityClasses(componentName, slots, globalStatePrefix = 'Mui')
3252
3265
 
3253
3266
  var THEME_ID = '$$material';
3254
3267
 
3255
- function _extends$4() {
3256
- _extends$4 = Object.assign ? Object.assign.bind() : function (target) {
3257
- for (var i = 1; i < arguments.length; i++) {
3258
- var source = arguments[i];
3259
- for (var key in source) {
3260
- if (Object.prototype.hasOwnProperty.call(source, key)) {
3261
- target[key] = source[key];
3262
- }
3263
- }
3264
- }
3265
- return target;
3266
- };
3267
- return _extends$4.apply(this, arguments);
3268
- }
3269
-
3270
- function _objectWithoutPropertiesLoose$3(source, excluded) {
3268
+ function _objectWithoutPropertiesLoose(source, excluded) {
3271
3269
  if (source == null) return {};
3272
3270
  var target = {};
3273
3271
  var sourceKeys = Object.keys(source);
@@ -3280,21 +3278,6 @@ function _objectWithoutPropertiesLoose$3(source, excluded) {
3280
3278
  return target;
3281
3279
  }
3282
3280
 
3283
- function _extends$3() {
3284
- _extends$3 = Object.assign ? Object.assign.bind() : function (target) {
3285
- for (var i = 1; i < arguments.length; i++) {
3286
- var source = arguments[i];
3287
- for (var key in source) {
3288
- if (Object.prototype.hasOwnProperty.call(source, key)) {
3289
- target[key] = source[key];
3290
- }
3291
- }
3292
- }
3293
- return target;
3294
- };
3295
- return _extends$3.apply(this, arguments);
3296
- }
3297
-
3298
3281
  function memoize$1(fn) {
3299
3282
  var cache = Object.create(null);
3300
3283
  return function (arg) {
@@ -4736,11 +4719,11 @@ var reactIs_production_min = {};
4736
4719
  * LICENSE file in the root directory of this source tree.
4737
4720
  */
4738
4721
  var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
4739
- Symbol.for("react.suspense_list"):60120,r$1=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
4740
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r$1:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r$1;reactIs_production_min.Portal=d;
4722
+ Symbol.for("react.suspense_list"):60120,r$3=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
4723
+ function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r$3:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r$3;reactIs_production_min.Portal=d;
4741
4724
  reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
4742
- reactIs_production_min.isMemo=function(a){return z(a)===r$1};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
4743
- reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r$1||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
4725
+ reactIs_production_min.isMemo=function(a){return z(a)===r$3};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
4726
+ reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r$3||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
4744
4727
 
4745
4728
  var reactIs_development = {};
4746
4729
 
@@ -6169,7 +6152,7 @@ var createStyled$1 = function createStyled(tag, options) {
6169
6152
  });
6170
6153
 
6171
6154
  Styled.withComponent = function (nextTag, nextOptions) {
6172
- return createStyled(nextTag, _extends$3({}, options, nextOptions, {
6155
+ return createStyled(nextTag, _extends({}, options, nextOptions, {
6173
6156
  shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
6174
6157
  })).apply(void 0, styles);
6175
6158
  };
@@ -6188,7 +6171,7 @@ tags.forEach(function (tagName) {
6188
6171
  });
6189
6172
 
6190
6173
  /**
6191
- * @mui/styled-engine v5.14.10
6174
+ * @mui/styled-engine v5.14.12
6192
6175
  *
6193
6176
  * @license MIT
6194
6177
  * This source code is licensed under the MIT license found in the
@@ -6219,34 +6202,6 @@ const internal_processStyles = (tag, processor) => {
6219
6202
  }
6220
6203
  };
6221
6204
 
6222
- function _extends$2() {
6223
- _extends$2 = Object.assign ? Object.assign.bind() : function (target) {
6224
- for (var i = 1; i < arguments.length; i++) {
6225
- var source = arguments[i];
6226
- for (var key in source) {
6227
- if (Object.prototype.hasOwnProperty.call(source, key)) {
6228
- target[key] = source[key];
6229
- }
6230
- }
6231
- }
6232
- return target;
6233
- };
6234
- return _extends$2.apply(this, arguments);
6235
- }
6236
-
6237
- function _objectWithoutPropertiesLoose$2(source, excluded) {
6238
- if (source == null) return {};
6239
- var target = {};
6240
- var sourceKeys = Object.keys(source);
6241
- var key, i;
6242
- for (i = 0; i < sourceKeys.length; i++) {
6243
- key = sourceKeys[i];
6244
- if (excluded.indexOf(key) >= 0) continue;
6245
- target[key] = source[key];
6246
- }
6247
- return target;
6248
- }
6249
-
6250
6205
  const _excluded$u = ["values", "unit", "step"];
6251
6206
  const sortBreakpointsValues = values => {
6252
6207
  const breakpointsAsArray = Object.keys(values).map(key => ({
@@ -6256,7 +6211,7 @@ const sortBreakpointsValues = values => {
6256
6211
  // Sort in ascending order
6257
6212
  breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);
6258
6213
  return breakpointsAsArray.reduce((acc, obj) => {
6259
- return _extends$2({}, acc, {
6214
+ return _extends({}, acc, {
6260
6215
  [obj.key]: obj.val
6261
6216
  });
6262
6217
  }, {});
@@ -6282,7 +6237,7 @@ function createBreakpoints(breakpoints) {
6282
6237
  unit = 'px',
6283
6238
  step = 5
6284
6239
  } = breakpoints,
6285
- other = _objectWithoutPropertiesLoose$2(breakpoints, _excluded$u);
6240
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$u);
6286
6241
  const sortedValues = sortBreakpointsValues(values);
6287
6242
  const keys = Object.keys(sortedValues);
6288
6243
  function up(key) {
@@ -6314,7 +6269,7 @@ function createBreakpoints(breakpoints) {
6314
6269
  }
6315
6270
  return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');
6316
6271
  }
6317
- return _extends$2({
6272
+ return _extends({
6318
6273
  keys,
6319
6274
  values: sortedValues,
6320
6275
  up,
@@ -7386,7 +7341,7 @@ function createTheme$1(options = {}, ...args) {
7386
7341
  spacing: spacingInput,
7387
7342
  shape: shapeInput = {}
7388
7343
  } = options,
7389
- other = _objectWithoutPropertiesLoose$2(options, _excluded$t);
7344
+ other = _objectWithoutPropertiesLoose(options, _excluded$t);
7390
7345
  const breakpoints = createBreakpoints(breakpointsInput);
7391
7346
  const spacing = createSpacing(spacingInput);
7392
7347
  let muiTheme = deepmerge({
@@ -7394,14 +7349,14 @@ function createTheme$1(options = {}, ...args) {
7394
7349
  direction: 'ltr',
7395
7350
  components: {},
7396
7351
  // Inject component definitions.
7397
- palette: _extends$2({
7352
+ palette: _extends({
7398
7353
  mode: 'light'
7399
7354
  }, paletteInput),
7400
7355
  spacing,
7401
- shape: _extends$2({}, shape$1, shapeInput)
7356
+ shape: _extends({}, shape$1, shapeInput)
7402
7357
  }, other);
7403
7358
  muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
7404
- muiTheme.unstable_sxConfig = _extends$2({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
7359
+ muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
7405
7360
  muiTheme.unstable_sx = function sx(props) {
7406
7361
  return styleFunctionSx$1({
7407
7362
  sx: props,
@@ -7445,7 +7400,7 @@ function extendSxProp(props) {
7445
7400
  const {
7446
7401
  sx: inSx
7447
7402
  } = props,
7448
- other = _objectWithoutPropertiesLoose$2(props, _excluded$s);
7403
+ other = _objectWithoutPropertiesLoose(props, _excluded$s);
7449
7404
  const {
7450
7405
  systemProps,
7451
7406
  otherProps
@@ -7459,17 +7414,17 @@ function extendSxProp(props) {
7459
7414
  if (!isPlainObject(result)) {
7460
7415
  return systemProps;
7461
7416
  }
7462
- return _extends$2({}, systemProps, result);
7417
+ return _extends({}, systemProps, result);
7463
7418
  };
7464
7419
  } else {
7465
- finalSx = _extends$2({}, systemProps, inSx);
7420
+ finalSx = _extends({}, systemProps, inSx);
7466
7421
  }
7467
- return _extends$2({}, otherProps, {
7422
+ return _extends({}, otherProps, {
7468
7423
  sx: finalSx
7469
7424
  });
7470
7425
  }
7471
7426
 
7472
- 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}
7427
+ function r$2(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$2(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx$2(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r$2(e))&&(n&&(n+=" "),n+=t);return n}
7473
7428
 
7474
7429
  const _excluded$r = ["className", "component"];
7475
7430
  function createBox(options = {}) {
@@ -7489,11 +7444,11 @@ function createBox(options = {}) {
7489
7444
  className,
7490
7445
  component = 'div'
7491
7446
  } = _extendSxProp,
7492
- other = _objectWithoutPropertiesLoose$2(_extendSxProp, _excluded$r);
7493
- return /*#__PURE__*/jsx(BoxRoot, _extends$2({
7447
+ other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$r);
7448
+ return /*#__PURE__*/jsx(BoxRoot, _extends({
7494
7449
  as: component,
7495
7450
  ref: ref,
7496
- className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
7451
+ className: clsx$2(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
7497
7452
  theme: themeId ? theme[themeId] || theme : theme
7498
7453
  }, other));
7499
7454
  });
@@ -7514,7 +7469,7 @@ function propsToClassKey(props) {
7514
7469
  const {
7515
7470
  variant
7516
7471
  } = props,
7517
- other = _objectWithoutPropertiesLoose$2(props, _excluded$q);
7472
+ other = _objectWithoutPropertiesLoose(props, _excluded$q);
7518
7473
  let classKey = variant || '';
7519
7474
  Object.keys(other).sort().forEach(key => {
7520
7475
  if (key === 'color') {
@@ -7545,40 +7500,48 @@ const getStyleOverrides = (name, theme) => {
7545
7500
  }
7546
7501
  return null;
7547
7502
  };
7503
+ const transformVariants = variants => {
7504
+ const variantsStyles = {};
7505
+ if (variants) {
7506
+ variants.forEach(definition => {
7507
+ const key = propsToClassKey(definition.props);
7508
+ variantsStyles[key] = definition.style;
7509
+ });
7510
+ }
7511
+ return variantsStyles;
7512
+ };
7548
7513
  const getVariantStyles = (name, theme) => {
7549
7514
  let variants = [];
7550
7515
  if (theme && theme.components && theme.components[name] && theme.components[name].variants) {
7551
7516
  variants = theme.components[name].variants;
7552
7517
  }
7553
- const variantsStyles = {};
7554
- variants.forEach(definition => {
7555
- const key = propsToClassKey(definition.props);
7556
- variantsStyles[key] = definition.style;
7557
- });
7558
- return variantsStyles;
7518
+ return transformVariants(variants);
7559
7519
  };
7560
- const variantsResolver = (props, styles, theme, name) => {
7561
- var _theme$components;
7520
+ const variantsResolver = (props, styles, variants) => {
7562
7521
  const {
7563
7522
  ownerState = {}
7564
7523
  } = props;
7565
7524
  const variantsStyles = [];
7566
- const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[name]) == null ? void 0 : _theme$components.variants;
7567
- if (themeVariants) {
7568
- themeVariants.forEach(themeVariant => {
7525
+ if (variants) {
7526
+ variants.forEach(variant => {
7569
7527
  let isMatch = true;
7570
- Object.keys(themeVariant.props).forEach(key => {
7571
- if (ownerState[key] !== themeVariant.props[key] && props[key] !== themeVariant.props[key]) {
7528
+ Object.keys(variant.props).forEach(key => {
7529
+ if (ownerState[key] !== variant.props[key] && props[key] !== variant.props[key]) {
7572
7530
  isMatch = false;
7573
7531
  }
7574
7532
  });
7575
7533
  if (isMatch) {
7576
- variantsStyles.push(styles[propsToClassKey(themeVariant.props)]);
7534
+ variantsStyles.push(styles[propsToClassKey(variant.props)]);
7577
7535
  }
7578
7536
  });
7579
7537
  }
7580
7538
  return variantsStyles;
7581
7539
  };
7540
+ const themeVariantsResolver = (props, styles, theme, name) => {
7541
+ var _theme$components;
7542
+ const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[name]) == null ? void 0 : _theme$components.variants;
7543
+ return variantsResolver(props, styles, themeVariants);
7544
+ };
7582
7545
 
7583
7546
  // Update /system/styled/#api in case if this changes
7584
7547
  function shouldForwardProp(prop) {
@@ -7604,6 +7567,29 @@ function defaultOverridesResolver(slot) {
7604
7567
  }
7605
7568
  return (props, styles) => styles[slot];
7606
7569
  }
7570
+ const muiStyledFunctionResolver = ({
7571
+ styledArg,
7572
+ props,
7573
+ defaultTheme,
7574
+ themeId
7575
+ }) => {
7576
+ const resolvedStyles = styledArg(_extends({}, props, {
7577
+ theme: resolveTheme(_extends({}, props, {
7578
+ defaultTheme,
7579
+ themeId
7580
+ }))
7581
+ }));
7582
+ let optionalVariants;
7583
+ if (resolvedStyles && resolvedStyles.variants) {
7584
+ optionalVariants = resolvedStyles.variants;
7585
+ delete resolvedStyles.variants;
7586
+ }
7587
+ if (optionalVariants) {
7588
+ const variantsStyles = variantsResolver(props, transformVariants(optionalVariants), optionalVariants);
7589
+ return [resolvedStyles, ...variantsStyles];
7590
+ }
7591
+ return resolvedStyles;
7592
+ };
7607
7593
  function createStyled(input = {}) {
7608
7594
  const {
7609
7595
  themeId,
@@ -7612,8 +7598,8 @@ function createStyled(input = {}) {
7612
7598
  slotShouldForwardProp = shouldForwardProp
7613
7599
  } = input;
7614
7600
  const systemSx = props => {
7615
- return styleFunctionSx$1(_extends$2({}, props, {
7616
- theme: resolveTheme(_extends$2({}, props, {
7601
+ return styleFunctionSx$1(_extends({}, props, {
7602
+ theme: resolveTheme(_extends({}, props, {
7617
7603
  defaultTheme,
7618
7604
  themeId
7619
7605
  }))
@@ -7632,7 +7618,7 @@ function createStyled(input = {}) {
7632
7618
  // For more details: https://github.com/mui/material-ui/pull/37908
7633
7619
  overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))
7634
7620
  } = inputOptions,
7635
- options = _objectWithoutPropertiesLoose$2(inputOptions, _excluded$p);
7621
+ options = _objectWithoutPropertiesLoose(inputOptions, _excluded$p);
7636
7622
 
7637
7623
  // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
7638
7624
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :
@@ -7661,7 +7647,7 @@ function createStyled(input = {}) {
7661
7647
  // for string (html) tag, preserve the behavior in emotion & styled-components.
7662
7648
  shouldForwardPropOption = undefined;
7663
7649
  }
7664
- const defaultStyledResolver = styled$3(tag, _extends$2({
7650
+ const defaultStyledResolver = styled$3(tag, _extends({
7665
7651
  shouldForwardProp: shouldForwardPropOption,
7666
7652
  label
7667
7653
  }, options));
@@ -7670,19 +7656,64 @@ function createStyled(input = {}) {
7670
7656
  // On the server Emotion doesn't use React.forwardRef for creating components, so the created
7671
7657
  // component stays as a function. This condition makes sure that we do not interpolate functions
7672
7658
  // which are basically components used as a selectors.
7673
- return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? props => {
7674
- return stylesArg(_extends$2({}, props, {
7675
- theme: resolveTheme(_extends$2({}, props, {
7676
- defaultTheme,
7677
- themeId
7678
- }))
7679
- }));
7680
- } : stylesArg;
7659
+ if (typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg) {
7660
+ return props => muiStyledFunctionResolver({
7661
+ styledArg: stylesArg,
7662
+ props,
7663
+ defaultTheme,
7664
+ themeId
7665
+ });
7666
+ }
7667
+ if (isPlainObject(stylesArg)) {
7668
+ let transformedStylesArg = stylesArg;
7669
+ let styledArgVariants;
7670
+ if (stylesArg && stylesArg.variants) {
7671
+ styledArgVariants = stylesArg.variants;
7672
+ delete transformedStylesArg.variants;
7673
+ transformedStylesArg = props => {
7674
+ let result = stylesArg;
7675
+ const variantStyles = variantsResolver(props, transformVariants(styledArgVariants), styledArgVariants);
7676
+ variantStyles.forEach(variantStyle => {
7677
+ result = deepmerge(result, variantStyle);
7678
+ });
7679
+ return result;
7680
+ };
7681
+ }
7682
+ return transformedStylesArg;
7683
+ }
7684
+ return stylesArg;
7681
7685
  }) : [];
7682
7686
  let transformedStyleArg = styleArg;
7687
+ if (isPlainObject(styleArg)) {
7688
+ let styledArgVariants;
7689
+ if (styleArg && styleArg.variants) {
7690
+ styledArgVariants = styleArg.variants;
7691
+ delete transformedStyleArg.variants;
7692
+ transformedStyleArg = props => {
7693
+ let result = styleArg;
7694
+ const variantStyles = variantsResolver(props, transformVariants(styledArgVariants), styledArgVariants);
7695
+ variantStyles.forEach(variantStyle => {
7696
+ result = deepmerge(result, variantStyle);
7697
+ });
7698
+ return result;
7699
+ };
7700
+ }
7701
+ } else if (typeof styleArg === 'function' &&
7702
+ // On the server Emotion doesn't use React.forwardRef for creating components, so the created
7703
+ // component stays as a function. This condition makes sure that we do not interpolate functions
7704
+ // which are basically components used as a selectors.
7705
+ styleArg.__emotion_real !== styleArg) {
7706
+ // If the type is function, we need to define the default theme.
7707
+ transformedStyleArg = props => muiStyledFunctionResolver({
7708
+ styledArg: styleArg,
7709
+ props,
7710
+ defaultTheme,
7711
+ themeId
7712
+ });
7713
+ }
7683
7714
  if (componentName && overridesResolver) {
7684
7715
  expressionsWithDefaultTheme.push(props => {
7685
- const theme = resolveTheme(_extends$2({}, props, {
7716
+ const theme = resolveTheme(_extends({}, props, {
7686
7717
  defaultTheme,
7687
7718
  themeId
7688
7719
  }));
@@ -7690,7 +7721,7 @@ function createStyled(input = {}) {
7690
7721
  if (styleOverrides) {
7691
7722
  const resolvedStyleOverrides = {};
7692
7723
  Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {
7693
- resolvedStyleOverrides[slotKey] = typeof slotStyle === 'function' ? slotStyle(_extends$2({}, props, {
7724
+ resolvedStyleOverrides[slotKey] = typeof slotStyle === 'function' ? slotStyle(_extends({}, props, {
7694
7725
  theme
7695
7726
  })) : slotStyle;
7696
7727
  });
@@ -7701,11 +7732,11 @@ function createStyled(input = {}) {
7701
7732
  }
7702
7733
  if (componentName && !skipVariantsResolver) {
7703
7734
  expressionsWithDefaultTheme.push(props => {
7704
- const theme = resolveTheme(_extends$2({}, props, {
7735
+ const theme = resolveTheme(_extends({}, props, {
7705
7736
  defaultTheme,
7706
7737
  themeId
7707
7738
  }));
7708
- return variantsResolver(props, getVariantStyles(componentName, theme), theme, componentName);
7739
+ return themeVariantsResolver(props, getVariantStyles(componentName, theme), theme, componentName);
7709
7740
  });
7710
7741
  }
7711
7742
  if (!skipSx) {
@@ -7717,18 +7748,6 @@ function createStyled(input = {}) {
7717
7748
  // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.
7718
7749
  transformedStyleArg = [...styleArg, ...placeholders];
7719
7750
  transformedStyleArg.raw = [...styleArg.raw, ...placeholders];
7720
- } else if (typeof styleArg === 'function' &&
7721
- // On the server Emotion doesn't use React.forwardRef for creating components, so the created
7722
- // component stays as a function. This condition makes sure that we do not interpolate functions
7723
- // which are basically components used as a selectors.
7724
- styleArg.__emotion_real !== styleArg) {
7725
- // If the type is function, we need to define the default theme.
7726
- transformedStyleArg = props => styleArg(_extends$2({}, props, {
7727
- theme: resolveTheme(_extends$2({}, props, {
7728
- defaultTheme,
7729
- themeId
7730
- }))
7731
- }));
7732
7751
  }
7733
7752
  const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme);
7734
7753
  if (process.env.NODE_ENV !== 'production') {
@@ -8020,21 +8039,6 @@ function lighten(color, coefficient) {
8020
8039
  return recomposeColor(color);
8021
8040
  }
8022
8041
 
8023
- function _extends$1() {
8024
- _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
8025
- for (var i = 1; i < arguments.length; i++) {
8026
- var source = arguments[i];
8027
- for (var key in source) {
8028
- if (Object.prototype.hasOwnProperty.call(source, key)) {
8029
- target[key] = source[key];
8030
- }
8031
- }
8032
- }
8033
- return target;
8034
- };
8035
- return _extends$1.apply(this, arguments);
8036
- }
8037
-
8038
8042
  const ThemeContext = /*#__PURE__*/React.createContext(null);
8039
8043
  if (process.env.NODE_ENV !== 'production') {
8040
8044
  ThemeContext.displayName = 'ThemeContext';
@@ -8063,7 +8067,7 @@ function mergeOuterLocalTheme(outerTheme, localTheme) {
8063
8067
  }
8064
8068
  return mergedTheme;
8065
8069
  }
8066
- return _extends$1({}, outerTheme, localTheme);
8070
+ return _extends({}, outerTheme, localTheme);
8067
8071
  }
8068
8072
 
8069
8073
  /**
@@ -8114,7 +8118,7 @@ function useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {
8114
8118
  const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;
8115
8119
  if (typeof localTheme === 'function') {
8116
8120
  const mergedTheme = localTheme(resolvedTheme);
8117
- const result = themeId ? _extends$2({}, upperTheme, {
8121
+ const result = themeId ? _extends({}, upperTheme, {
8118
8122
  [themeId]: mergedTheme
8119
8123
  }) : mergedTheme;
8120
8124
  // must return a function for the private theme to NOT merge with the upper theme.
@@ -8124,9 +8128,9 @@ function useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {
8124
8128
  }
8125
8129
  return result;
8126
8130
  }
8127
- return themeId ? _extends$2({}, upperTheme, {
8131
+ return themeId ? _extends({}, upperTheme, {
8128
8132
  [themeId]: localTheme
8129
- }) : _extends$2({}, upperTheme, localTheme);
8133
+ }) : _extends({}, upperTheme, localTheme);
8130
8134
  }, [themeId, upperTheme, localTheme, isPrivate]);
8131
8135
  }
8132
8136
 
@@ -8229,7 +8233,7 @@ const style = ({
8229
8233
  ownerState,
8230
8234
  theme
8231
8235
  }) => {
8232
- let styles = _extends$2({
8236
+ let styles = _extends({
8233
8237
  display: 'flex',
8234
8238
  flexDirection: 'column'
8235
8239
  }, handleBreakpoints({
@@ -8315,18 +8319,18 @@ function createStack(options = {}) {
8315
8319
  className,
8316
8320
  useFlexGap = false
8317
8321
  } = props,
8318
- other = _objectWithoutPropertiesLoose$2(props, _excluded$o);
8322
+ other = _objectWithoutPropertiesLoose(props, _excluded$o);
8319
8323
  const ownerState = {
8320
8324
  direction,
8321
8325
  spacing,
8322
8326
  useFlexGap
8323
8327
  };
8324
8328
  const classes = useUtilityClasses();
8325
- return /*#__PURE__*/jsx(StackRoot, _extends$2({
8329
+ return /*#__PURE__*/jsx(StackRoot, _extends({
8326
8330
  as: component,
8327
8331
  ownerState: ownerState,
8328
8332
  ref: ref,
8329
- className: clsx(classes.root, className)
8333
+ className: clsx$2(classes.root, className)
8330
8334
  }, other, {
8331
8335
  children: divider ? joinChildren(children, divider) : children
8332
8336
  }));
@@ -8342,7 +8346,7 @@ function createStack(options = {}) {
8342
8346
  }
8343
8347
 
8344
8348
  function createMixins(breakpoints, mixins) {
8345
- return _extends$4({
8349
+ return _extends({
8346
8350
  toolbar: {
8347
8351
  minHeight: 56,
8348
8352
  [breakpoints.up('xs')]: {
@@ -8658,7 +8662,7 @@ function createPalette(palette) {
8658
8662
  contrastThreshold = 3,
8659
8663
  tonalOffset = 0.2
8660
8664
  } = palette,
8661
- other = _objectWithoutPropertiesLoose$3(palette, _excluded$n);
8665
+ other = _objectWithoutPropertiesLoose(palette, _excluded$n);
8662
8666
  const primary = palette.primary || getDefaultPrimary(mode);
8663
8667
  const secondary = palette.secondary || getDefaultSecondary(mode);
8664
8668
  const error = palette.error || getDefaultError(mode);
@@ -8686,7 +8690,7 @@ function createPalette(palette) {
8686
8690
  lightShade = 300,
8687
8691
  darkShade = 700
8688
8692
  }) => {
8689
- color = _extends$4({}, color);
8693
+ color = _extends({}, color);
8690
8694
  if (!color.main && color[mainShade]) {
8691
8695
  color.main = color[mainShade];
8692
8696
  }
@@ -8726,9 +8730,9 @@ const theme2 = createTheme({ palette: {
8726
8730
  console.error(`MUI: The palette mode \`${mode}\` is not supported.`);
8727
8731
  }
8728
8732
  }
8729
- const paletteOutput = deepmerge(_extends$4({
8733
+ const paletteOutput = deepmerge(_extends({
8730
8734
  // A collection of common colors.
8731
- common: _extends$4({}, common$1),
8735
+ common: _extends({}, common$1),
8732
8736
  // prevent mutable object.
8733
8737
  // The palette mode, can be light or dark.
8734
8738
  mode,
@@ -8813,7 +8817,7 @@ function createTypography(palette, typography) {
8813
8817
  allVariants,
8814
8818
  pxToRem: pxToRem2
8815
8819
  } = _ref,
8816
- other = _objectWithoutPropertiesLoose$3(_ref, _excluded$m);
8820
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$m);
8817
8821
  if (process.env.NODE_ENV !== 'production') {
8818
8822
  if (typeof fontSize !== 'number') {
8819
8823
  console.error('MUI: `fontSize` is required to be a number.');
@@ -8824,7 +8828,7 @@ function createTypography(palette, typography) {
8824
8828
  }
8825
8829
  const coef = fontSize / 14;
8826
8830
  const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);
8827
- const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends$4({
8831
+ const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends({
8828
8832
  fontFamily,
8829
8833
  fontWeight,
8830
8834
  fontSize: pxToRem(size),
@@ -8856,7 +8860,7 @@ function createTypography(palette, typography) {
8856
8860
  letterSpacing: 'inherit'
8857
8861
  }
8858
8862
  };
8859
- return deepmerge(_extends$4({
8863
+ return deepmerge(_extends({
8860
8864
  htmlFontSize,
8861
8865
  pxToRem,
8862
8866
  fontFamily,
@@ -8924,15 +8928,15 @@ function getAutoHeightDuration(height) {
8924
8928
  return Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10);
8925
8929
  }
8926
8930
  function createTransitions(inputTransitions) {
8927
- const mergedEasing = _extends$4({}, easing, inputTransitions.easing);
8928
- const mergedDuration = _extends$4({}, duration, inputTransitions.duration);
8931
+ const mergedEasing = _extends({}, easing, inputTransitions.easing);
8932
+ const mergedDuration = _extends({}, duration, inputTransitions.duration);
8929
8933
  const create = (props = ['all'], options = {}) => {
8930
8934
  const {
8931
8935
  duration: durationOption = mergedDuration.standard,
8932
8936
  easing: easingOption = mergedEasing.easeInOut,
8933
8937
  delay = 0
8934
8938
  } = options,
8935
- other = _objectWithoutPropertiesLoose$3(options, _excluded$l);
8939
+ other = _objectWithoutPropertiesLoose(options, _excluded$l);
8936
8940
  if (process.env.NODE_ENV !== 'production') {
8937
8941
  const isString = value => typeof value === 'string';
8938
8942
  // IE11 support, replace with Number.isNaN
@@ -8959,7 +8963,7 @@ function createTransitions(inputTransitions) {
8959
8963
  }
8960
8964
  return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');
8961
8965
  };
8962
- return _extends$4({
8966
+ return _extends({
8963
8967
  getAutoHeightDuration,
8964
8968
  create
8965
8969
  }, inputTransitions, {
@@ -8990,7 +8994,7 @@ function createTheme(options = {}, ...args) {
8990
8994
  transitions: transitionsInput = {},
8991
8995
  typography: typographyInput = {}
8992
8996
  } = options,
8993
- other = _objectWithoutPropertiesLoose$3(options, _excluded$k);
8997
+ other = _objectWithoutPropertiesLoose(options, _excluded$k);
8994
8998
  if (options.vars) {
8995
8999
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
8996
9000
  Please use another name.` : formatMuiErrorMessage(18));
@@ -9004,7 +9008,7 @@ Please use another name.` : formatMuiErrorMessage(18));
9004
9008
  shadows: shadows$1.slice(),
9005
9009
  typography: createTypography(palette, typographyInput),
9006
9010
  transitions: createTransitions(transitionsInput),
9007
- zIndex: _extends$4({}, zIndex$1)
9011
+ zIndex: _extends({}, zIndex$1)
9008
9012
  });
9009
9013
  muiTheme = deepmerge(muiTheme, other);
9010
9014
  muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
@@ -9038,7 +9042,7 @@ Please use another name.` : formatMuiErrorMessage(18));
9038
9042
  }
9039
9043
  });
9040
9044
  }
9041
- muiTheme.unstable_sxConfig = _extends$4({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
9045
+ muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
9042
9046
  muiTheme.unstable_sx = function sx(props) {
9043
9047
  return styleFunctionSx$1({
9044
9048
  sx: props,
@@ -9085,9 +9089,9 @@ function ThemeProvider(_ref) {
9085
9089
  let {
9086
9090
  theme: themeInput
9087
9091
  } = _ref,
9088
- props = _objectWithoutPropertiesLoose$3(_ref, _excluded$j);
9092
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
9089
9093
  const scopedTheme = themeInput[THEME_ID];
9090
- return /*#__PURE__*/jsx(ThemeProvider$1, _extends$4({}, props, {
9094
+ return /*#__PURE__*/jsx(ThemeProvider$1, _extends({}, props, {
9091
9095
  themeId: scopedTheme ? THEME_ID : undefined,
9092
9096
  theme: scopedTheme || themeInput
9093
9097
  }));
@@ -9115,6 +9119,8 @@ const getOverlayAlpha = elevation => {
9115
9119
  };
9116
9120
  var getOverlayAlpha$1 = getOverlayAlpha;
9117
9121
 
9122
+ function r$1(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$1(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx$1(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r$1(e))&&(n&&(n+=" "),n+=t);return n}
9123
+
9118
9124
  function getSvgIconUtilityClass(slot) {
9119
9125
  return generateUtilityClass('MuiSvgIcon', slot);
9120
9126
  }
@@ -9188,9 +9194,9 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
9188
9194
  titleAccess,
9189
9195
  viewBox = '0 0 24 24'
9190
9196
  } = props,
9191
- other = _objectWithoutPropertiesLoose$3(props, _excluded$i);
9197
+ other = _objectWithoutPropertiesLoose(props, _excluded$i);
9192
9198
  const hasSvgAsChild = /*#__PURE__*/React.isValidElement(children) && children.type === 'svg';
9193
- const ownerState = _extends$4({}, props, {
9199
+ const ownerState = _extends({}, props, {
9194
9200
  color,
9195
9201
  component,
9196
9202
  fontSize,
@@ -9204,9 +9210,9 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
9204
9210
  more.viewBox = viewBox;
9205
9211
  }
9206
9212
  const classes = useUtilityClasses$e(ownerState);
9207
- return /*#__PURE__*/jsxs(SvgIconRoot, _extends$4({
9213
+ return /*#__PURE__*/jsxs(SvgIconRoot, _extends({
9208
9214
  as: component,
9209
- className: clsx(classes.root, className),
9215
+ className: clsx$1(classes.root, className),
9210
9216
  focusable: "false",
9211
9217
  color: htmlColor,
9212
9218
  "aria-hidden": titleAccess ? undefined : true,
@@ -9296,7 +9302,7 @@ var SvgIcon$1 = SvgIcon;
9296
9302
 
9297
9303
  function createSvgIcon$1(path, displayName) {
9298
9304
  function Component(props, ref) {
9299
- return /*#__PURE__*/jsx(SvgIcon$1, _extends$4({
9305
+ return /*#__PURE__*/jsx(SvgIcon$1, _extends({
9300
9306
  "data-testid": `${displayName}Icon`,
9301
9307
  ref: ref
9302
9308
  }, props, {
@@ -10200,7 +10206,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol$c('toStringTag');
10200
10206
  var $Object$1 = Object;
10201
10207
 
10202
10208
  // ES3 wrong here
10203
- var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
10209
+ var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';
10204
10210
 
10205
10211
  // fallback for IE11 Script Access Denied error
10206
10212
  var tryGet = function (it, key) {
@@ -10218,7 +10224,7 @@ var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
10218
10224
  // builtinTag case
10219
10225
  : CORRECT_ARGUMENTS ? classofRaw$1(O)
10220
10226
  // ES3 arguments fallback
10221
- : (result = classofRaw$1(O)) === 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
10227
+ : (result = classofRaw$1(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
10222
10228
  };
10223
10229
 
10224
10230
  var classof$4 = classof$5;
@@ -10249,15 +10255,15 @@ var regexpFlags$1 = function () {
10249
10255
  };
10250
10256
 
10251
10257
  var fails$7 = fails$h;
10252
- var global$a = global$l;
10258
+ var global$9 = global$k;
10253
10259
 
10254
10260
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
10255
- var $RegExp$2 = global$a.RegExp;
10261
+ var $RegExp$2 = global$9.RegExp;
10256
10262
 
10257
10263
  var UNSUPPORTED_Y$1 = fails$7(function () {
10258
10264
  var re = $RegExp$2('a', 'y');
10259
10265
  re.lastIndex = 2;
10260
- return re.exec('abcd') !== null;
10266
+ return re.exec('abcd') != null;
10261
10267
  });
10262
10268
 
10263
10269
  // UC Browser bug
@@ -10270,7 +10276,7 @@ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$7(function () {
10270
10276
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
10271
10277
  var re = $RegExp$2('^r', 'gy');
10272
10278
  re.lastIndex = 2;
10273
- return re.exec('str') !== null;
10279
+ return re.exec('str') != null;
10274
10280
  });
10275
10281
 
10276
10282
  var regexpStickyHelpers = {
@@ -10307,6 +10313,7 @@ var getBuiltIn$4 = getBuiltIn$7;
10307
10313
  var html$2 = getBuiltIn$4('document', 'documentElement');
10308
10314
 
10309
10315
  /* global ActiveXObject -- old IE, WSH */
10316
+
10310
10317
  var anObject$8 = anObject$d;
10311
10318
  var definePropertiesModule = objectDefineProperties;
10312
10319
  var enumBugKeys = enumBugKeys$3;
@@ -10391,10 +10398,10 @@ var objectCreate = Object.create || function create(O, Properties) {
10391
10398
  };
10392
10399
 
10393
10400
  var fails$6 = fails$h;
10394
- var global$9 = global$l;
10401
+ var global$8 = global$k;
10395
10402
 
10396
10403
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
10397
- var $RegExp$1 = global$9.RegExp;
10404
+ var $RegExp$1 = global$8.RegExp;
10398
10405
 
10399
10406
  var regexpUnsupportedDotAll = fails$6(function () {
10400
10407
  var re = $RegExp$1('.', 's');
@@ -10402,10 +10409,10 @@ var regexpUnsupportedDotAll = fails$6(function () {
10402
10409
  });
10403
10410
 
10404
10411
  var fails$5 = fails$h;
10405
- var global$8 = global$l;
10412
+ var global$7 = global$k;
10406
10413
 
10407
10414
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
10408
- var $RegExp = global$8.RegExp;
10415
+ var $RegExp = global$7.RegExp;
10409
10416
 
10410
10417
  var regexpUnsupportedNcg = fails$5(function () {
10411
10418
  var re = $RegExp('(?<a>b)', 'g');
@@ -10568,7 +10575,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
10568
10575
  // String methods call symbol-named RegEp methods
10569
10576
  var O = {};
10570
10577
  O[SYMBOL] = function () { return 7; };
10571
- return ''[KEY](O) !== 7;
10578
+ return ''[KEY](O) != 7;
10572
10579
  });
10573
10580
 
10574
10581
  var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$4(function () {
@@ -10589,10 +10596,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
10589
10596
  re[SYMBOL] = /./[SYMBOL];
10590
10597
  }
10591
10598
 
10592
- re.exec = function () {
10593
- execCalled = true;
10594
- return null;
10595
- };
10599
+ re.exec = function () { execCalled = true; return null; };
10596
10600
 
10597
10601
  re[SYMBOL]('');
10598
10602
  return !execCalled;
@@ -10631,7 +10635,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
10631
10635
  // eslint-disable-next-line es/no-object-is -- safe
10632
10636
  var sameValue$1 = Object.is || function is(x, y) {
10633
10637
  // eslint-disable-next-line no-self-compare -- NaN check
10634
- return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
10638
+ return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
10635
10639
  };
10636
10640
 
10637
10641
  var call$a = functionCall;
@@ -10693,19 +10697,6 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
10693
10697
  ];
10694
10698
  });
10695
10699
 
10696
- function _objectWithoutPropertiesLoose$1(source, excluded) {
10697
- if (source == null) return {};
10698
- var target = {};
10699
- var sourceKeys = Object.keys(source);
10700
- var key, i;
10701
- for (i = 0; i < sourceKeys.length; i++) {
10702
- key = sourceKeys[i];
10703
- if (excluded.indexOf(key) >= 0) continue;
10704
- target[key] = source[key];
10705
- }
10706
- return target;
10707
- }
10708
-
10709
10700
  function _setPrototypeOf(o, p) {
10710
10701
  _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
10711
10702
  o.__proto__ = p;
@@ -11139,7 +11130,7 @@ var Transition = /*#__PURE__*/function (_React$Component) {
11139
11130
  _this$props.onExiting;
11140
11131
  _this$props.onExited;
11141
11132
  _this$props.nodeRef;
11142
- var childProps = _objectWithoutPropertiesLoose$1(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
11133
+ var childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
11143
11134
 
11144
11135
  return (
11145
11136
  /*#__PURE__*/
@@ -11596,7 +11587,7 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
11596
11587
 
11597
11588
  if (this.mounted) {
11598
11589
  this.setState(function (state) {
11599
- var children = _extends$3({}, state.children);
11590
+ var children = _extends({}, state.children);
11600
11591
 
11601
11592
  delete children[child.key];
11602
11593
  return {
@@ -11610,7 +11601,7 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
11610
11601
  var _this$props = this.props,
11611
11602
  Component = _this$props.component,
11612
11603
  childFactory = _this$props.childFactory,
11613
- props = _objectWithoutPropertiesLoose$1(_this$props, ["component", "childFactory"]);
11604
+ props = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
11614
11605
 
11615
11606
  var contextValue = this.state.contextValue;
11616
11607
  var children = values$1(this.state.children).map(childFactory);
@@ -11740,7 +11731,7 @@ const PaperRoot = styled$1('div', {
11740
11731
  ownerState
11741
11732
  }) => {
11742
11733
  var _theme$vars$overlays;
11743
- return _extends$4({
11734
+ return _extends({
11744
11735
  backgroundColor: (theme.vars || theme).palette.background.paper,
11745
11736
  color: (theme.vars || theme).palette.text.primary,
11746
11737
  transition: theme.transitions.create('box-shadow')
@@ -11748,7 +11739,7 @@ const PaperRoot = styled$1('div', {
11748
11739
  borderRadius: theme.shape.borderRadius
11749
11740
  }, ownerState.variant === 'outlined' && {
11750
11741
  border: `1px solid ${(theme.vars || theme).palette.divider}`
11751
- }, ownerState.variant === 'elevation' && _extends$4({
11742
+ }, ownerState.variant === 'elevation' && _extends({
11752
11743
  boxShadow: (theme.vars || theme).shadows[ownerState.elevation]
11753
11744
  }, !theme.vars && theme.palette.mode === 'dark' && {
11754
11745
  backgroundImage: `linear-gradient(${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))}, ${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))})`
@@ -11768,8 +11759,8 @@ const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
11768
11759
  square = false,
11769
11760
  variant = 'elevation'
11770
11761
  } = props,
11771
- other = _objectWithoutPropertiesLoose$3(props, _excluded$h);
11772
- const ownerState = _extends$4({}, props, {
11762
+ other = _objectWithoutPropertiesLoose(props, _excluded$h);
11763
+ const ownerState = _extends({}, props, {
11773
11764
  component,
11774
11765
  elevation,
11775
11766
  square,
@@ -11783,10 +11774,10 @@ const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
11783
11774
  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'));
11784
11775
  }
11785
11776
  }
11786
- return /*#__PURE__*/jsx(PaperRoot, _extends$4({
11777
+ return /*#__PURE__*/jsx(PaperRoot, _extends({
11787
11778
  as: component,
11788
11779
  ownerState: ownerState,
11789
- className: clsx(classes.root, className),
11780
+ className: clsx$1(classes.root, className),
11790
11781
  ref: ref
11791
11782
  }, other));
11792
11783
  });
@@ -11857,14 +11848,14 @@ function Ripple(props) {
11857
11848
  timeout
11858
11849
  } = props;
11859
11850
  const [leaving, setLeaving] = React.useState(false);
11860
- const rippleClassName = clsx(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);
11851
+ const rippleClassName = clsx$1(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);
11861
11852
  const rippleStyles = {
11862
11853
  width: rippleSize,
11863
11854
  height: rippleSize,
11864
11855
  top: -(rippleSize / 2) + rippleY,
11865
11856
  left: -(rippleSize / 2) + rippleX
11866
11857
  };
11867
- const childClassName = clsx(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);
11858
+ const childClassName = clsx$1(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);
11868
11859
  if (!inProp && !leaving) {
11869
11860
  setLeaving(true);
11870
11861
  }
@@ -12055,7 +12046,7 @@ const TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps,
12055
12046
  classes = {},
12056
12047
  className
12057
12048
  } = props,
12058
- other = _objectWithoutPropertiesLoose$3(props, _excluded$g);
12049
+ other = _objectWithoutPropertiesLoose(props, _excluded$g);
12059
12050
  const [ripples, setRipples] = React.useState([]);
12060
12051
  const nextKey = React.useRef(0);
12061
12052
  const rippleCallback = React.useRef(null);
@@ -12092,12 +12083,12 @@ const TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps,
12092
12083
  } = params;
12093
12084
  setRipples(oldRipples => [...oldRipples, /*#__PURE__*/jsx(TouchRippleRipple, {
12094
12085
  classes: {
12095
- ripple: clsx(classes.ripple, touchRippleClasses$1.ripple),
12096
- rippleVisible: clsx(classes.rippleVisible, touchRippleClasses$1.rippleVisible),
12097
- ripplePulsate: clsx(classes.ripplePulsate, touchRippleClasses$1.ripplePulsate),
12098
- child: clsx(classes.child, touchRippleClasses$1.child),
12099
- childLeaving: clsx(classes.childLeaving, touchRippleClasses$1.childLeaving),
12100
- childPulsate: clsx(classes.childPulsate, touchRippleClasses$1.childPulsate)
12086
+ ripple: clsx$1(classes.ripple, touchRippleClasses$1.ripple),
12087
+ rippleVisible: clsx$1(classes.rippleVisible, touchRippleClasses$1.rippleVisible),
12088
+ ripplePulsate: clsx$1(classes.ripplePulsate, touchRippleClasses$1.ripplePulsate),
12089
+ child: clsx$1(classes.child, touchRippleClasses$1.child),
12090
+ childLeaving: clsx$1(classes.childLeaving, touchRippleClasses$1.childLeaving),
12091
+ childPulsate: clsx$1(classes.childPulsate, touchRippleClasses$1.childPulsate)
12101
12092
  },
12102
12093
  timeout: DURATION,
12103
12094
  pulsate: pulsate,
@@ -12223,8 +12214,8 @@ const TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps,
12223
12214
  start,
12224
12215
  stop
12225
12216
  }), [pulsate, start, stop]);
12226
- return /*#__PURE__*/jsx(TouchRippleRoot, _extends$4({
12227
- className: clsx(touchRippleClasses$1.root, classes.root, className),
12217
+ return /*#__PURE__*/jsx(TouchRippleRoot, _extends({
12218
+ className: clsx$1(touchRippleClasses$1.root, classes.root, className),
12228
12219
  ref: container
12229
12220
  }, other, {
12230
12221
  children: /*#__PURE__*/jsx(TransitionGroup$1, {
@@ -12360,7 +12351,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
12360
12351
  touchRippleRef,
12361
12352
  type
12362
12353
  } = props,
12363
- other = _objectWithoutPropertiesLoose$3(props, _excluded$f);
12354
+ other = _objectWithoutPropertiesLoose(props, _excluded$f);
12364
12355
  const buttonRef = React.useRef(null);
12365
12356
  const rippleRef = React.useRef(null);
12366
12357
  const handleRippleRef = useForkRef(rippleRef, touchRippleRef);
@@ -12517,7 +12508,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
12517
12508
  }
12518
12509
  }, [enableTouchRipple]);
12519
12510
  }
12520
- const ownerState = _extends$4({}, props, {
12511
+ const ownerState = _extends({}, props, {
12521
12512
  centerRipple,
12522
12513
  component,
12523
12514
  disabled,
@@ -12528,9 +12519,9 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
12528
12519
  focusVisible
12529
12520
  });
12530
12521
  const classes = useUtilityClasses$c(ownerState);
12531
- return /*#__PURE__*/jsxs(ButtonBaseRoot, _extends$4({
12522
+ return /*#__PURE__*/jsxs(ButtonBaseRoot, _extends({
12532
12523
  as: ComponentProp,
12533
- className: clsx(classes.root, className),
12524
+ className: clsx$1(classes.root, className),
12534
12525
  ownerState: ownerState,
12535
12526
  onBlur: handleBlur,
12536
12527
  onClick: onClick,
@@ -12552,7 +12543,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
12552
12543
  children: [children, enableTouchRipple ?
12553
12544
  /*#__PURE__*/
12554
12545
  /* TouchRipple is only needed client-side, x2 boost on the server. */
12555
- jsx(TouchRipple$1, _extends$4({
12546
+ jsx(TouchRipple$1, _extends({
12556
12547
  ref: handleRippleRef,
12557
12548
  center: centerRipple
12558
12549
  }, TouchRippleProps)) : null]
@@ -12750,7 +12741,7 @@ const IconButtonRoot = styled$1(ButtonBase$1, {
12750
12741
  })(({
12751
12742
  theme,
12752
12743
  ownerState
12753
- }) => _extends$4({
12744
+ }) => _extends({
12754
12745
  textAlign: 'center',
12755
12746
  flex: '0 0 auto',
12756
12747
  fontSize: theme.typography.pxToRem(24),
@@ -12780,12 +12771,12 @@ const IconButtonRoot = styled$1(ButtonBase$1, {
12780
12771
  }) => {
12781
12772
  var _palette;
12782
12773
  const palette = (_palette = (theme.vars || theme).palette) == null ? void 0 : _palette[ownerState.color];
12783
- return _extends$4({}, ownerState.color === 'inherit' && {
12774
+ return _extends({}, ownerState.color === 'inherit' && {
12784
12775
  color: 'inherit'
12785
- }, ownerState.color !== 'inherit' && ownerState.color !== 'default' && _extends$4({
12776
+ }, ownerState.color !== 'inherit' && ownerState.color !== 'default' && _extends({
12786
12777
  color: palette == null ? void 0 : palette.main
12787
12778
  }, !ownerState.disableRipple && {
12788
- '&:hover': _extends$4({}, palette && {
12779
+ '&:hover': _extends({}, palette && {
12789
12780
  backgroundColor: theme.vars ? `rgba(${palette.mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(palette.main, theme.palette.action.hoverOpacity)
12790
12781
  }, {
12791
12782
  // Reset on touch devices, it doesn't add specificity
@@ -12825,8 +12816,8 @@ const IconButton = /*#__PURE__*/React.forwardRef(function IconButton(inProps, re
12825
12816
  disableFocusRipple = false,
12826
12817
  size = 'medium'
12827
12818
  } = props,
12828
- other = _objectWithoutPropertiesLoose$3(props, _excluded$e);
12829
- const ownerState = _extends$4({}, props, {
12819
+ other = _objectWithoutPropertiesLoose(props, _excluded$e);
12820
+ const ownerState = _extends({}, props, {
12830
12821
  edge,
12831
12822
  color,
12832
12823
  disabled,
@@ -12834,8 +12825,8 @@ const IconButton = /*#__PURE__*/React.forwardRef(function IconButton(inProps, re
12834
12825
  size
12835
12826
  });
12836
12827
  const classes = useUtilityClasses$b(ownerState);
12837
- return /*#__PURE__*/jsx(IconButtonRoot, _extends$4({
12838
- className: clsx(classes.root, className),
12828
+ return /*#__PURE__*/jsx(IconButtonRoot, _extends({
12829
+ className: clsx$1(classes.root, className),
12839
12830
  centerRipple: true,
12840
12831
  focusRipple: !disableFocusRipple,
12841
12832
  disabled: disabled,
@@ -12946,7 +12937,7 @@ const TypographyRoot = styled$1('span', {
12946
12937
  })(({
12947
12938
  theme,
12948
12939
  ownerState
12949
- }) => _extends$4({
12940
+ }) => _extends({
12950
12941
  margin: 0
12951
12942
  }, ownerState.variant === 'inherit' && {
12952
12943
  // Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
@@ -12993,7 +12984,7 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
12993
12984
  name: 'MuiTypography'
12994
12985
  });
12995
12986
  const color = transformDeprecatedColors(themeProps.color);
12996
- const props = extendSxProp(_extends$4({}, themeProps, {
12987
+ const props = extendSxProp(_extends({}, themeProps, {
12997
12988
  color
12998
12989
  }));
12999
12990
  const {
@@ -13006,8 +12997,8 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
13006
12997
  variant = 'body1',
13007
12998
  variantMapping = defaultVariantMapping
13008
12999
  } = props,
13009
- other = _objectWithoutPropertiesLoose$3(props, _excluded$d);
13010
- const ownerState = _extends$4({}, props, {
13000
+ other = _objectWithoutPropertiesLoose(props, _excluded$d);
13001
+ const ownerState = _extends({}, props, {
13011
13002
  align,
13012
13003
  color,
13013
13004
  className,
@@ -13020,11 +13011,11 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
13020
13011
  });
13021
13012
  const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
13022
13013
  const classes = useUtilityClasses$a(ownerState);
13023
- return /*#__PURE__*/jsx(TypographyRoot, _extends$4({
13014
+ return /*#__PURE__*/jsx(TypographyRoot, _extends({
13024
13015
  as: Component,
13025
13016
  ref: ref,
13026
13017
  ownerState: ownerState,
13027
- className: clsx(classes.root, className)
13018
+ className: clsx$1(classes.root, className)
13028
13019
  }, other));
13029
13020
  });
13030
13021
  process.env.NODE_ENV !== "production" ? Typography.propTypes /* remove-proptypes */ = {
@@ -13139,7 +13130,7 @@ const AppBarRoot = styled$1(Paper$1, {
13139
13130
  ownerState
13140
13131
  }) => {
13141
13132
  const backgroundColorDefault = theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900];
13142
- return _extends$4({
13133
+ return _extends({
13143
13134
  display: 'flex',
13144
13135
  flexDirection: 'column',
13145
13136
  width: '100%',
@@ -13173,7 +13164,7 @@ const AppBarRoot = styled$1(Paper$1, {
13173
13164
  position: 'static'
13174
13165
  }, ownerState.position === 'relative' && {
13175
13166
  position: 'relative'
13176
- }, !theme.vars && _extends$4({}, ownerState.color === 'default' && {
13167
+ }, !theme.vars && _extends({}, ownerState.color === 'default' && {
13177
13168
  backgroundColor: backgroundColorDefault,
13178
13169
  color: theme.palette.getContrastText(backgroundColorDefault)
13179
13170
  }, ownerState.color && ownerState.color !== 'default' && ownerState.color !== 'inherit' && ownerState.color !== 'transparent' && {
@@ -13184,12 +13175,12 @@ const AppBarRoot = styled$1(Paper$1, {
13184
13175
  }, theme.palette.mode === 'dark' && !ownerState.enableColorOnDark && {
13185
13176
  backgroundColor: null,
13186
13177
  color: null
13187
- }, ownerState.color === 'transparent' && _extends$4({
13178
+ }, ownerState.color === 'transparent' && _extends({
13188
13179
  backgroundColor: 'transparent',
13189
13180
  color: 'inherit'
13190
13181
  }, theme.palette.mode === 'dark' && {
13191
13182
  backgroundImage: 'none'
13192
- })), theme.vars && _extends$4({}, ownerState.color === 'default' && {
13183
+ })), theme.vars && _extends({}, ownerState.color === 'default' && {
13193
13184
  '--AppBar-background': ownerState.enableColorOnDark ? theme.vars.palette.AppBar.defaultBg : joinVars(theme.vars.palette.AppBar.darkBg, theme.vars.palette.AppBar.defaultBg),
13194
13185
  '--AppBar-color': ownerState.enableColorOnDark ? theme.vars.palette.text.primary : joinVars(theme.vars.palette.AppBar.darkColor, theme.vars.palette.text.primary)
13195
13186
  }, ownerState.color && !ownerState.color.match(/^(default|inherit|transparent)$/) && {
@@ -13215,19 +13206,19 @@ const AppBar = /*#__PURE__*/React.forwardRef(function AppBar(inProps, ref) {
13215
13206
  enableColorOnDark = false,
13216
13207
  position = 'fixed'
13217
13208
  } = props,
13218
- other = _objectWithoutPropertiesLoose$3(props, _excluded$c);
13219
- const ownerState = _extends$4({}, props, {
13209
+ other = _objectWithoutPropertiesLoose(props, _excluded$c);
13210
+ const ownerState = _extends({}, props, {
13220
13211
  color,
13221
13212
  position,
13222
13213
  enableColorOnDark
13223
13214
  });
13224
13215
  const classes = useUtilityClasses$9(ownerState);
13225
- return /*#__PURE__*/jsx(AppBarRoot, _extends$4({
13216
+ return /*#__PURE__*/jsx(AppBarRoot, _extends({
13226
13217
  square: true,
13227
13218
  component: "header",
13228
13219
  ownerState: ownerState,
13229
13220
  elevation: 4,
13230
- className: clsx(classes.root, className, position === 'fixed' && 'mui-fixed'),
13221
+ className: clsx$1(classes.root, className, position === 'fixed' && 'mui-fixed'),
13231
13222
  ref: ref
13232
13223
  }, other));
13233
13224
  });
@@ -13274,21 +13265,6 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes /* remove-proptypes */
13274
13265
  } : void 0;
13275
13266
  var AppBar$1 = AppBar;
13276
13267
 
13277
- function _extends() {
13278
- _extends = Object.assign ? Object.assign.bind() : function (target) {
13279
- for (var i = 1; i < arguments.length; i++) {
13280
- var source = arguments[i];
13281
- for (var key in source) {
13282
- if (Object.prototype.hasOwnProperty.call(source, key)) {
13283
- target[key] = source[key];
13284
- }
13285
- }
13286
- }
13287
- return target;
13288
- };
13289
- return _extends.apply(this, arguments);
13290
- }
13291
-
13292
13268
  /**
13293
13269
  * Determines if a given element is a DOM element name (i.e. not a React component).
13294
13270
  */
@@ -13347,18 +13323,7 @@ function resolveComponentProps(componentProps, ownerState, slotState) {
13347
13323
  return componentProps;
13348
13324
  }
13349
13325
 
13350
- function _objectWithoutPropertiesLoose(source, excluded) {
13351
- if (source == null) return {};
13352
- var target = {};
13353
- var sourceKeys = Object.keys(source);
13354
- var key, i;
13355
- for (i = 0; i < sourceKeys.length; i++) {
13356
- key = sourceKeys[i];
13357
- if (excluded.indexOf(key) >= 0) continue;
13358
- target[key] = source[key];
13359
- }
13360
- return target;
13361
- }
13326
+ 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}
13362
13327
 
13363
13328
  /**
13364
13329
  * Removes event handlers from the given object.
@@ -14326,7 +14291,7 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
14326
14291
  // eslint-disable-next-line react/prop-types
14327
14292
  TransitionComponent = Transition$1
14328
14293
  } = props,
14329
- other = _objectWithoutPropertiesLoose$3(props, _excluded$a);
14294
+ other = _objectWithoutPropertiesLoose(props, _excluded$a);
14330
14295
  const nodeRef = React.useRef(null);
14331
14296
  const handleRef = useForkRef(nodeRef, children.ref, ref);
14332
14297
  const normalizedTransitionCallback = callback => maybeIsAppearing => {
@@ -14381,7 +14346,7 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
14381
14346
  addEndListener(nodeRef.current, next);
14382
14347
  }
14383
14348
  };
14384
- return /*#__PURE__*/jsx(TransitionComponent, _extends$4({
14349
+ return /*#__PURE__*/jsx(TransitionComponent, _extends({
14385
14350
  appear: appear,
14386
14351
  in: inProp,
14387
14352
  nodeRef: nodeRef ,
@@ -14395,8 +14360,8 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
14395
14360
  timeout: timeout
14396
14361
  }, other, {
14397
14362
  children: (state, childProps) => {
14398
- return /*#__PURE__*/React.cloneElement(children, _extends$4({
14399
- style: _extends$4({
14363
+ return /*#__PURE__*/React.cloneElement(children, _extends({
14364
+ style: _extends({
14400
14365
  opacity: 0,
14401
14366
  visibility: state === 'exited' && !inProp ? 'hidden' : undefined
14402
14367
  }, styles[state], style, children.props.style),
@@ -14509,7 +14474,7 @@ const BackdropRoot = styled$1('div', {
14509
14474
  }
14510
14475
  })(({
14511
14476
  ownerState
14512
- }) => _extends$4({
14477
+ }) => _extends({
14513
14478
  position: 'fixed',
14514
14479
  display: 'flex',
14515
14480
  alignItems: 'center',
@@ -14542,23 +14507,23 @@ const Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
14542
14507
  TransitionComponent = Fade$1,
14543
14508
  transitionDuration
14544
14509
  } = props,
14545
- other = _objectWithoutPropertiesLoose$3(props, _excluded$9);
14546
- const ownerState = _extends$4({}, props, {
14510
+ other = _objectWithoutPropertiesLoose(props, _excluded$9);
14511
+ const ownerState = _extends({}, props, {
14547
14512
  component,
14548
14513
  invisible
14549
14514
  });
14550
14515
  const classes = useUtilityClasses$8(ownerState);
14551
14516
  const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
14552
- return /*#__PURE__*/jsx(TransitionComponent, _extends$4({
14517
+ return /*#__PURE__*/jsx(TransitionComponent, _extends({
14553
14518
  in: open,
14554
14519
  timeout: transitionDuration
14555
14520
  }, other, {
14556
- children: /*#__PURE__*/jsx(BackdropRoot, _extends$4({
14521
+ children: /*#__PURE__*/jsx(BackdropRoot, _extends({
14557
14522
  "aria-hidden": true
14558
14523
  }, rootSlotProps, {
14559
14524
  as: (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : component,
14560
- className: clsx(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
14561
- ownerState: _extends$4({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
14525
+ className: clsx$1(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
14526
+ ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
14562
14527
  classes: classes,
14563
14528
  ref: ref,
14564
14529
  children: children
@@ -14732,9 +14697,9 @@ const useUtilityClasses$7 = ownerState => {
14732
14697
  endIcon: ['endIcon', `iconSize${capitalize(size)}`]
14733
14698
  };
14734
14699
  const composedClasses = composeClasses(slots, getButtonUtilityClass, classes);
14735
- return _extends$4({}, classes, composedClasses);
14700
+ return _extends({}, classes, composedClasses);
14736
14701
  };
14737
- const commonIconStyles = ownerState => _extends$4({}, ownerState.size === 'small' && {
14702
+ const commonIconStyles = ownerState => _extends({}, ownerState.size === 'small' && {
14738
14703
  '& > *:nth-of-type(1)': {
14739
14704
  fontSize: 18
14740
14705
  }
@@ -14764,14 +14729,14 @@ const ButtonRoot = styled$1(ButtonBase$1, {
14764
14729
  var _theme$palette$getCon, _theme$palette;
14765
14730
  const inheritContainedBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey[300] : theme.palette.grey[800];
14766
14731
  const inheritContainedHoverBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey.A100 : theme.palette.grey[700];
14767
- return _extends$4({}, theme.typography.button, {
14732
+ return _extends({}, theme.typography.button, {
14768
14733
  minWidth: 64,
14769
14734
  padding: '6px 16px',
14770
14735
  borderRadius: (theme.vars || theme).shape.borderRadius,
14771
14736
  transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
14772
14737
  duration: theme.transitions.duration.short
14773
14738
  }),
14774
- '&:hover': _extends$4({
14739
+ '&:hover': _extends({
14775
14740
  textDecoration: 'none',
14776
14741
  backgroundColor: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.text.primary, theme.palette.action.hoverOpacity),
14777
14742
  // Reset on touch devices, it doesn't add specificity
@@ -14806,13 +14771,13 @@ const ButtonRoot = styled$1(ButtonBase$1, {
14806
14771
  backgroundColor: (theme.vars || theme).palette[ownerState.color].main
14807
14772
  }
14808
14773
  }),
14809
- '&:active': _extends$4({}, ownerState.variant === 'contained' && {
14774
+ '&:active': _extends({}, ownerState.variant === 'contained' && {
14810
14775
  boxShadow: (theme.vars || theme).shadows[8]
14811
14776
  }),
14812
- [`&.${buttonClasses$1.focusVisible}`]: _extends$4({}, ownerState.variant === 'contained' && {
14777
+ [`&.${buttonClasses$1.focusVisible}`]: _extends({}, ownerState.variant === 'contained' && {
14813
14778
  boxShadow: (theme.vars || theme).shadows[6]
14814
14779
  }),
14815
- [`&.${buttonClasses$1.disabled}`]: _extends$4({
14780
+ [`&.${buttonClasses$1.disabled}`]: _extends({
14816
14781
  color: (theme.vars || theme).palette.action.disabled
14817
14782
  }, ownerState.variant === 'outlined' && {
14818
14783
  border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`
@@ -14892,7 +14857,7 @@ const ButtonStartIcon = styled$1('span', {
14892
14857
  }
14893
14858
  })(({
14894
14859
  ownerState
14895
- }) => _extends$4({
14860
+ }) => _extends({
14896
14861
  display: 'inherit',
14897
14862
  marginRight: 8,
14898
14863
  marginLeft: -4
@@ -14910,7 +14875,7 @@ const ButtonEndIcon = styled$1('span', {
14910
14875
  }
14911
14876
  })(({
14912
14877
  ownerState
14913
- }) => _extends$4({
14878
+ }) => _extends({
14914
14879
  display: 'inherit',
14915
14880
  marginRight: -4,
14916
14881
  marginLeft: 8
@@ -14942,8 +14907,8 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
14942
14907
  type,
14943
14908
  variant = 'text'
14944
14909
  } = props,
14945
- other = _objectWithoutPropertiesLoose$3(props, _excluded$8);
14946
- const ownerState = _extends$4({}, props, {
14910
+ other = _objectWithoutPropertiesLoose(props, _excluded$8);
14911
+ const ownerState = _extends({}, props, {
14947
14912
  color,
14948
14913
  component,
14949
14914
  disabled,
@@ -14966,13 +14931,13 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
14966
14931
  children: endIconProp
14967
14932
  });
14968
14933
  const positionClassName = buttonGroupButtonContextPositionClassName || '';
14969
- return /*#__PURE__*/jsxs(ButtonRoot, _extends$4({
14934
+ return /*#__PURE__*/jsxs(ButtonRoot, _extends({
14970
14935
  ownerState: ownerState,
14971
- className: clsx(contextProps.className, classes.root, className, positionClassName),
14936
+ className: clsx$1(contextProps.className, classes.root, className, positionClassName),
14972
14937
  component: component,
14973
14938
  disabled: disabled,
14974
14939
  focusRipple: !disableFocusRipple,
14975
- focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
14940
+ focusVisibleClassName: clsx$1(classes.focusVisible, focusVisibleClassName),
14976
14941
  ref: ref,
14977
14942
  type: type
14978
14943
  }, other, {
@@ -15109,13 +15074,13 @@ const Card = /*#__PURE__*/React.forwardRef(function Card(inProps, ref) {
15109
15074
  className,
15110
15075
  raised = false
15111
15076
  } = props,
15112
- other = _objectWithoutPropertiesLoose$3(props, _excluded$7);
15113
- const ownerState = _extends$4({}, props, {
15077
+ other = _objectWithoutPropertiesLoose(props, _excluded$7);
15078
+ const ownerState = _extends({}, props, {
15114
15079
  raised
15115
15080
  });
15116
15081
  const classes = useUtilityClasses$6(ownerState);
15117
- return /*#__PURE__*/jsx(CardRoot, _extends$4({
15118
- className: clsx(classes.root, className),
15082
+ return /*#__PURE__*/jsx(CardRoot, _extends({
15083
+ className: clsx$1(classes.root, className),
15119
15084
  elevation: raised ? 8 : undefined,
15120
15085
  ref: ref,
15121
15086
  ownerState: ownerState
@@ -15191,14 +15156,14 @@ const CardContent = /*#__PURE__*/React.forwardRef(function CardContent(inProps,
15191
15156
  className,
15192
15157
  component = 'div'
15193
15158
  } = props,
15194
- other = _objectWithoutPropertiesLoose$3(props, _excluded$6);
15195
- const ownerState = _extends$4({}, props, {
15159
+ other = _objectWithoutPropertiesLoose(props, _excluded$6);
15160
+ const ownerState = _extends({}, props, {
15196
15161
  component
15197
15162
  });
15198
15163
  const classes = useUtilityClasses$5(ownerState);
15199
- return /*#__PURE__*/jsx(CardContentRoot, _extends$4({
15164
+ return /*#__PURE__*/jsx(CardContentRoot, _extends({
15200
15165
  as: component,
15201
- className: clsx(classes.root, className),
15166
+ className: clsx$1(classes.root, className),
15202
15167
  ownerState: ownerState,
15203
15168
  ref: ref
15204
15169
  }, other));
@@ -15262,7 +15227,7 @@ const ModalRoot = styled$1('div', {
15262
15227
  })(({
15263
15228
  theme,
15264
15229
  ownerState
15265
- }) => _extends$4({
15230
+ }) => _extends({
15266
15231
  position: 'fixed',
15267
15232
  zIndex: (theme.vars || theme).zIndex.modal,
15268
15233
  right: 0,
@@ -15325,8 +15290,8 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
15325
15290
  slots
15326
15291
  // eslint-disable-next-line react/prop-types
15327
15292
  } = props,
15328
- other = _objectWithoutPropertiesLoose$3(props, _excluded$5);
15329
- const propsWithDefaults = _extends$4({}, props, {
15293
+ other = _objectWithoutPropertiesLoose(props, _excluded$5);
15294
+ const propsWithDefaults = _extends({}, props, {
15330
15295
  closeAfterTransition,
15331
15296
  disableAutoFocus,
15332
15297
  disableEnforceFocus,
@@ -15345,10 +15310,10 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
15345
15310
  isTopModal,
15346
15311
  exited,
15347
15312
  hasTransition
15348
- } = useModal(_extends$4({}, propsWithDefaults, {
15313
+ } = useModal(_extends({}, propsWithDefaults, {
15349
15314
  rootRef: ref
15350
15315
  }));
15351
- const ownerState = _extends$4({}, propsWithDefaults, {
15316
+ const ownerState = _extends({}, propsWithDefaults, {
15352
15317
  exited
15353
15318
  });
15354
15319
  const classes = useUtilityClasses$4(ownerState);
@@ -15380,14 +15345,14 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
15380
15345
  as: component
15381
15346
  },
15382
15347
  ownerState,
15383
- className: clsx(className, rootSlotProps == null ? void 0 : rootSlotProps.className, classes == null ? void 0 : classes.root, !ownerState.open && ownerState.exited && (classes == null ? void 0 : classes.hidden))
15348
+ className: clsx$1(className, rootSlotProps == null ? void 0 : rootSlotProps.className, classes == null ? void 0 : classes.root, !ownerState.open && ownerState.exited && (classes == null ? void 0 : classes.hidden))
15384
15349
  });
15385
15350
  const backdropProps = useSlotProps({
15386
15351
  elementType: BackdropSlot,
15387
15352
  externalSlotProps: backdropSlotProps,
15388
15353
  additionalProps: BackdropProps,
15389
15354
  getSlotProps: otherHandlers => {
15390
- return getBackdropProps(_extends$4({}, otherHandlers, {
15355
+ return getBackdropProps(_extends({}, otherHandlers, {
15391
15356
  onClick: e => {
15392
15357
  if (onBackdropClick) {
15393
15358
  onBackdropClick(e);
@@ -15398,7 +15363,7 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
15398
15363
  }
15399
15364
  }));
15400
15365
  },
15401
- className: clsx(backdropSlotProps == null ? void 0 : backdropSlotProps.className, BackdropProps == null ? void 0 : BackdropProps.className, classes == null ? void 0 : classes.backdrop),
15366
+ className: clsx$1(backdropSlotProps == null ? void 0 : backdropSlotProps.className, BackdropProps == null ? void 0 : BackdropProps.className, classes == null ? void 0 : classes.backdrop),
15402
15367
  ownerState
15403
15368
  });
15404
15369
  if (!keepMounted && !open && (!hasTransition || exited)) {
@@ -15408,8 +15373,8 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
15408
15373
  ref: portalRef,
15409
15374
  container: container,
15410
15375
  disablePortal: disablePortal,
15411
- children: /*#__PURE__*/jsxs(RootSlot, _extends$4({}, rootProps, {
15412
- children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/jsx(BackdropSlot, _extends$4({}, backdropProps)) : null, /*#__PURE__*/jsx(FocusTrap, {
15376
+ children: /*#__PURE__*/jsxs(RootSlot, _extends({}, rootProps, {
15377
+ children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/jsx(BackdropSlot, _extends({}, backdropProps)) : null, /*#__PURE__*/jsx(FocusTrap, {
15413
15378
  disableEnforceFocus: disableEnforceFocus,
15414
15379
  disableAutoFocus: disableAutoFocus,
15415
15380
  disableRestoreFocus: disableRestoreFocus,
@@ -15635,7 +15600,7 @@ const DividerRoot = styled$1('div', {
15635
15600
  })(({
15636
15601
  theme,
15637
15602
  ownerState
15638
- }) => _extends$4({
15603
+ }) => _extends({
15639
15604
  margin: 0,
15640
15605
  // Reset browser default style.
15641
15606
  flexShrink: 0,
@@ -15667,7 +15632,7 @@ const DividerRoot = styled$1('div', {
15667
15632
  height: 'auto'
15668
15633
  }), ({
15669
15634
  ownerState
15670
- }) => _extends$4({}, ownerState.children && {
15635
+ }) => _extends({}, ownerState.children && {
15671
15636
  display: 'flex',
15672
15637
  whiteSpace: 'nowrap',
15673
15638
  textAlign: 'center',
@@ -15679,7 +15644,7 @@ const DividerRoot = styled$1('div', {
15679
15644
  }), ({
15680
15645
  theme,
15681
15646
  ownerState
15682
- }) => _extends$4({}, ownerState.children && ownerState.orientation !== 'vertical' && {
15647
+ }) => _extends({}, ownerState.children && ownerState.orientation !== 'vertical' && {
15683
15648
  '&::before, &::after': {
15684
15649
  width: '100%',
15685
15650
  borderTop: `thin solid ${(theme.vars || theme).palette.divider}`
@@ -15687,7 +15652,7 @@ const DividerRoot = styled$1('div', {
15687
15652
  }), ({
15688
15653
  theme,
15689
15654
  ownerState
15690
- }) => _extends$4({}, ownerState.children && ownerState.orientation === 'vertical' && {
15655
+ }) => _extends({}, ownerState.children && ownerState.orientation === 'vertical' && {
15691
15656
  flexDirection: 'column',
15692
15657
  '&::before, &::after': {
15693
15658
  height: '100%',
@@ -15695,7 +15660,7 @@ const DividerRoot = styled$1('div', {
15695
15660
  }
15696
15661
  }), ({
15697
15662
  ownerState
15698
- }) => _extends$4({}, ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical' && {
15663
+ }) => _extends({}, ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical' && {
15699
15664
  '&::before': {
15700
15665
  width: '90%'
15701
15666
  },
@@ -15722,7 +15687,7 @@ const DividerWrapper = styled$1('span', {
15722
15687
  })(({
15723
15688
  theme,
15724
15689
  ownerState
15725
- }) => _extends$4({
15690
+ }) => _extends({
15726
15691
  display: 'inline-block',
15727
15692
  paddingLeft: `calc(${theme.spacing(1)} * 1.2)`,
15728
15693
  paddingRight: `calc(${theme.spacing(1)} * 1.2)`
@@ -15747,8 +15712,8 @@ const Divider = /*#__PURE__*/React.forwardRef(function Divider(inProps, ref) {
15747
15712
  textAlign = 'center',
15748
15713
  variant = 'fullWidth'
15749
15714
  } = props,
15750
- other = _objectWithoutPropertiesLoose$3(props, _excluded$4);
15751
- const ownerState = _extends$4({}, props, {
15715
+ other = _objectWithoutPropertiesLoose(props, _excluded$4);
15716
+ const ownerState = _extends({}, props, {
15752
15717
  absolute,
15753
15718
  component,
15754
15719
  flexItem,
@@ -15759,9 +15724,9 @@ const Divider = /*#__PURE__*/React.forwardRef(function Divider(inProps, ref) {
15759
15724
  variant
15760
15725
  });
15761
15726
  const classes = useUtilityClasses$3(ownerState);
15762
- return /*#__PURE__*/jsx(DividerRoot, _extends$4({
15727
+ return /*#__PURE__*/jsx(DividerRoot, _extends({
15763
15728
  as: component,
15764
- className: clsx(classes.root, className),
15729
+ className: clsx$1(classes.root, className),
15765
15730
  role: role,
15766
15731
  ref: ref,
15767
15732
  ownerState: ownerState
@@ -15932,7 +15897,7 @@ const Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
15932
15897
  // eslint-disable-next-line react/prop-types
15933
15898
  TransitionComponent = Transition$1
15934
15899
  } = props,
15935
- other = _objectWithoutPropertiesLoose$3(props, _excluded$3);
15900
+ other = _objectWithoutPropertiesLoose(props, _excluded$3);
15936
15901
  const childrenRef = React.useRef(null);
15937
15902
  const handleRef = useForkRef(children.ref, childrenRef, ref);
15938
15903
  const normalizedTransitionCallback = callback => isAppearing => {
@@ -15960,8 +15925,8 @@ const Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
15960
15925
  }, {
15961
15926
  mode: 'enter'
15962
15927
  });
15963
- node.style.webkitTransition = theme.transitions.create('-webkit-transform', _extends$4({}, transitionProps));
15964
- node.style.transition = theme.transitions.create('transform', _extends$4({}, transitionProps));
15928
+ node.style.webkitTransition = theme.transitions.create('-webkit-transform', _extends({}, transitionProps));
15929
+ node.style.transition = theme.transitions.create('transform', _extends({}, transitionProps));
15965
15930
  node.style.webkitTransform = 'none';
15966
15931
  node.style.transform = 'none';
15967
15932
  if (onEntering) {
@@ -16028,7 +15993,7 @@ const Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
16028
15993
  updatePosition();
16029
15994
  }
16030
15995
  }, [inProp, updatePosition]);
16031
- return /*#__PURE__*/jsx(TransitionComponent, _extends$4({
15996
+ return /*#__PURE__*/jsx(TransitionComponent, _extends({
16032
15997
  nodeRef: childrenRef,
16033
15998
  onEnter: handleEnter,
16034
15999
  onEntered: handleEntered,
@@ -16042,9 +16007,9 @@ const Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
16042
16007
  timeout: timeout
16043
16008
  }, other, {
16044
16009
  children: (state, childProps) => {
16045
- return /*#__PURE__*/React.cloneElement(children, _extends$4({
16010
+ return /*#__PURE__*/React.cloneElement(children, _extends({
16046
16011
  ref: handleRef,
16047
- style: _extends$4({
16012
+ style: _extends({
16048
16013
  visibility: state === 'exited' && !inProp ? 'hidden' : undefined
16049
16014
  }, style, children.props.style)
16050
16015
  }, childProps));
@@ -16212,7 +16177,7 @@ const DrawerPaper = styled$1(Paper$1, {
16212
16177
  })(({
16213
16178
  theme,
16214
16179
  ownerState
16215
- }) => _extends$4({
16180
+ }) => _extends({
16216
16181
  overflowY: 'auto',
16217
16182
  display: 'flex',
16218
16183
  flexDirection: 'column',
@@ -16300,8 +16265,8 @@ const Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
16300
16265
  transitionDuration = defaultTransitionDuration,
16301
16266
  variant = 'temporary'
16302
16267
  } = props,
16303
- ModalProps = _objectWithoutPropertiesLoose$3(props.ModalProps, _excluded$2),
16304
- other = _objectWithoutPropertiesLoose$3(props, _excluded2);
16268
+ ModalProps = _objectWithoutPropertiesLoose(props.ModalProps, _excluded$2),
16269
+ other = _objectWithoutPropertiesLoose(props, _excluded2);
16305
16270
 
16306
16271
  // Let's assume that the Drawer will always be rendered on user space.
16307
16272
  // We use this state is order to skip the appear transition during the
@@ -16312,31 +16277,31 @@ const Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
16312
16277
  }, []);
16313
16278
  const anchorInvariant = getAnchor(theme, anchorProp);
16314
16279
  const anchor = anchorProp;
16315
- const ownerState = _extends$4({}, props, {
16280
+ const ownerState = _extends({}, props, {
16316
16281
  anchor,
16317
16282
  elevation,
16318
16283
  open,
16319
16284
  variant
16320
16285
  }, other);
16321
16286
  const classes = useUtilityClasses$2(ownerState);
16322
- const drawer = /*#__PURE__*/jsx(DrawerPaper, _extends$4({
16287
+ const drawer = /*#__PURE__*/jsx(DrawerPaper, _extends({
16323
16288
  elevation: variant === 'temporary' ? elevation : 0,
16324
16289
  square: true
16325
16290
  }, PaperProps, {
16326
- className: clsx(classes.paper, PaperProps.className),
16291
+ className: clsx$1(classes.paper, PaperProps.className),
16327
16292
  ownerState: ownerState,
16328
16293
  children: children
16329
16294
  }));
16330
16295
  if (variant === 'permanent') {
16331
- return /*#__PURE__*/jsx(DrawerDockedRoot, _extends$4({
16332
- className: clsx(classes.root, classes.docked, className),
16296
+ return /*#__PURE__*/jsx(DrawerDockedRoot, _extends({
16297
+ className: clsx$1(classes.root, classes.docked, className),
16333
16298
  ownerState: ownerState,
16334
16299
  ref: ref
16335
16300
  }, other, {
16336
16301
  children: drawer
16337
16302
  }));
16338
16303
  }
16339
- const slidingDrawer = /*#__PURE__*/jsx(TransitionComponent, _extends$4({
16304
+ const slidingDrawer = /*#__PURE__*/jsx(TransitionComponent, _extends({
16340
16305
  in: open,
16341
16306
  direction: oppositeDirection[anchorInvariant],
16342
16307
  timeout: transitionDuration,
@@ -16345,8 +16310,8 @@ const Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
16345
16310
  children: drawer
16346
16311
  }));
16347
16312
  if (variant === 'persistent') {
16348
- return /*#__PURE__*/jsx(DrawerDockedRoot, _extends$4({
16349
- className: clsx(classes.root, classes.docked, className),
16313
+ return /*#__PURE__*/jsx(DrawerDockedRoot, _extends({
16314
+ className: clsx$1(classes.root, classes.docked, className),
16350
16315
  ownerState: ownerState,
16351
16316
  ref: ref
16352
16317
  }, other, {
@@ -16355,11 +16320,11 @@ const Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
16355
16320
  }
16356
16321
 
16357
16322
  // variant === temporary
16358
- return /*#__PURE__*/jsx(DrawerRoot, _extends$4({
16359
- BackdropProps: _extends$4({}, BackdropProps, BackdropPropsProp, {
16323
+ return /*#__PURE__*/jsx(DrawerRoot, _extends({
16324
+ BackdropProps: _extends({}, BackdropProps, BackdropPropsProp, {
16360
16325
  transitionDuration
16361
16326
  }),
16362
- className: clsx(classes.root, classes.modal, className),
16327
+ className: clsx$1(classes.root, classes.modal, className),
16363
16328
  open: open,
16364
16329
  ownerState: ownerState,
16365
16330
  onClose: onClose,
@@ -16611,7 +16576,7 @@ const LinearProgressRoot = styled$1('span', {
16611
16576
  })(({
16612
16577
  ownerState,
16613
16578
  theme
16614
- }) => _extends$4({
16579
+ }) => _extends({
16615
16580
  position: 'relative',
16616
16581
  overflow: 'hidden',
16617
16582
  display: 'block',
@@ -16653,7 +16618,7 @@ const LinearProgressDashed = styled$1('span', {
16653
16618
  theme
16654
16619
  }) => {
16655
16620
  const backgroundColor = getColorShade(theme, ownerState.color);
16656
- return _extends$4({
16621
+ return _extends({
16657
16622
  position: 'absolute',
16658
16623
  marginTop: 0,
16659
16624
  height: '100%',
@@ -16680,7 +16645,7 @@ const LinearProgressBar1 = styled$1('span', {
16680
16645
  })(({
16681
16646
  ownerState,
16682
16647
  theme
16683
- }) => _extends$4({
16648
+ }) => _extends({
16684
16649
  width: '100%',
16685
16650
  position: 'absolute',
16686
16651
  left: 0,
@@ -16712,7 +16677,7 @@ const LinearProgressBar2 = styled$1('span', {
16712
16677
  })(({
16713
16678
  ownerState,
16714
16679
  theme
16715
- }) => _extends$4({
16680
+ }) => _extends({
16716
16681
  width: '100%',
16717
16682
  position: 'absolute',
16718
16683
  left: 0,
@@ -16753,8 +16718,8 @@ const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress(inP
16753
16718
  valueBuffer,
16754
16719
  variant = 'indeterminate'
16755
16720
  } = props,
16756
- other = _objectWithoutPropertiesLoose$3(props, _excluded$1);
16757
- const ownerState = _extends$4({}, props, {
16721
+ other = _objectWithoutPropertiesLoose(props, _excluded$1);
16722
+ const ownerState = _extends({}, props, {
16758
16723
  color,
16759
16724
  variant
16760
16725
  });
@@ -16790,8 +16755,8 @@ const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress(inP
16790
16755
  console.error('MUI: You need to provide a valueBuffer prop ' + 'when using the buffer variant of LinearProgress.');
16791
16756
  }
16792
16757
  }
16793
- return /*#__PURE__*/jsxs(LinearProgressRoot, _extends$4({
16794
- className: clsx(classes.root, className),
16758
+ return /*#__PURE__*/jsxs(LinearProgressRoot, _extends({
16759
+ className: clsx$1(classes.root, className),
16795
16760
  ownerState: ownerState,
16796
16761
  role: "progressbar"
16797
16762
  }, rootProps, {
@@ -16883,7 +16848,7 @@ const ToolbarRoot = styled$1('div', {
16883
16848
  })(({
16884
16849
  theme,
16885
16850
  ownerState
16886
- }) => _extends$4({
16851
+ }) => _extends({
16887
16852
  position: 'relative',
16888
16853
  display: 'flex',
16889
16854
  alignItems: 'center'
@@ -16911,16 +16876,16 @@ const Toolbar = /*#__PURE__*/React.forwardRef(function Toolbar(inProps, ref) {
16911
16876
  disableGutters = false,
16912
16877
  variant = 'regular'
16913
16878
  } = props,
16914
- other = _objectWithoutPropertiesLoose$3(props, _excluded);
16915
- const ownerState = _extends$4({}, props, {
16879
+ other = _objectWithoutPropertiesLoose(props, _excluded);
16880
+ const ownerState = _extends({}, props, {
16916
16881
  component,
16917
16882
  disableGutters,
16918
16883
  variant
16919
16884
  });
16920
16885
  const classes = useUtilityClasses(ownerState);
16921
- return /*#__PURE__*/jsx(ToolbarRoot, _extends$4({
16886
+ return /*#__PURE__*/jsx(ToolbarRoot, _extends({
16922
16887
  as: component,
16923
- className: clsx(classes.root, className),
16888
+ className: clsx$1(classes.root, className),
16924
16889
  ref: ref,
16925
16890
  ownerState: ownerState
16926
16891
  }, other));
@@ -17026,7 +16991,7 @@ var ArrayPrototype$1 = Array.prototype;
17026
16991
 
17027
16992
  // Array.prototype[@@unscopables]
17028
16993
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
17029
- if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
16994
+ if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
17030
16995
  defineProperty$3(ArrayPrototype$1, UNSCOPABLES, {
17031
16996
  configurable: true,
17032
16997
  value: create$1(null)
@@ -17167,6 +17132,7 @@ var aPossiblePrototype$1 = function (argument) {
17167
17132
  };
17168
17133
 
17169
17134
  /* eslint-disable no-proto -- safe */
17135
+
17170
17136
  var uncurryThisAccessor = functionUncurryThisAccessor;
17171
17137
  var anObject$5 = anObject$d;
17172
17138
  var aPossiblePrototype = aPossiblePrototype$1;
@@ -17223,15 +17189,12 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
17223
17189
 
17224
17190
  var getIterationMethod = function (KIND) {
17225
17191
  if (KIND === DEFAULT && defaultIterator) return defaultIterator;
17226
- if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
17227
-
17192
+ if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
17228
17193
  switch (KIND) {
17229
17194
  case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
17230
17195
  case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
17231
17196
  case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
17232
- }
17233
-
17234
- return function () { return new IteratorConstructor(this); };
17197
+ } return function () { return new IteratorConstructor(this); };
17235
17198
  };
17236
17199
 
17237
17200
  var TO_STRING_TAG = NAME + ' Iterator';
@@ -17241,7 +17204,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
17241
17204
  || IterablePrototype['@@iterator']
17242
17205
  || DEFAULT && IterablePrototype[DEFAULT];
17243
17206
  var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
17244
- var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
17207
+ var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
17245
17208
  var CurrentIteratorPrototype, methods, KEY;
17246
17209
 
17247
17210
  // fix native
@@ -17261,7 +17224,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
17261
17224
  }
17262
17225
 
17263
17226
  // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
17264
- if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
17227
+ if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
17265
17228
  if (CONFIGURABLE_FUNCTION_NAME) {
17266
17229
  createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
17267
17230
  } else {
@@ -17340,10 +17303,9 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
17340
17303
  state.target = undefined;
17341
17304
  return createIterResultObject(undefined, true);
17342
17305
  }
17343
- switch (kind) {
17344
- case 'keys': return createIterResultObject(index, false);
17345
- case 'values': return createIterResultObject(target[index], false);
17346
- } return createIterResultObject([index, target[index]], false);
17306
+ if (kind == 'keys') return createIterResultObject(index, false);
17307
+ if (kind == 'values') return createIterResultObject(target[index], false);
17308
+ return createIterResultObject([index, target[index]], false);
17347
17309
  }, 'values');
17348
17310
 
17349
17311
  // argumentsList[@@iterator] is %ArrayProto_values%
@@ -17405,7 +17367,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
17405
17367
 
17406
17368
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
17407
17369
 
17408
- var global$7 = global$l;
17370
+ var global$6 = global$k;
17409
17371
  var DOMIterables = domIterables;
17410
17372
  var DOMTokenListPrototype = domTokenListPrototype;
17411
17373
  var ArrayIteratorMethods = es_array_iterator;
@@ -17439,7 +17401,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
17439
17401
  };
17440
17402
 
17441
17403
  for (var COLLECTION_NAME in DOMIterables) {
17442
- handlePrototype(global$7[COLLECTION_NAME] && global$7[COLLECTION_NAME].prototype, COLLECTION_NAME);
17404
+ handlePrototype(global$6[COLLECTION_NAME] && global$6[COLLECTION_NAME].prototype, COLLECTION_NAME);
17443
17405
  }
17444
17406
 
17445
17407
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -17767,10 +17729,9 @@ const ToastNotificationComponent = toast => {
17767
17729
  }))));
17768
17730
  };
17769
17731
 
17770
- var global$6 = global$l;
17771
17732
  var classof$2 = classofRaw$2;
17772
17733
 
17773
- var engineIsNode = classof$2(global$6.process) === 'process';
17734
+ var engineIsNode = typeof process != 'undefined' && classof$2(process) == 'process';
17774
17735
 
17775
17736
  var makeBuiltIn = makeBuiltIn$3.exports;
17776
17737
  var defineProperty = objectDefineProperty;
@@ -17928,7 +17889,7 @@ var userAgent$2 = engineUserAgent;
17928
17889
  // eslint-disable-next-line redos/no-vulnerable -- safe
17929
17890
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
17930
17891
 
17931
- var global$5 = global$l;
17892
+ var global$5 = global$k;
17932
17893
  var apply = functionApply;
17933
17894
  var bind$3 = functionBindContext;
17934
17895
  var isCallable$3 = isCallable$l;
@@ -18078,7 +18039,7 @@ var userAgent = engineUserAgent;
18078
18039
 
18079
18040
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
18080
18041
 
18081
- var global$4 = global$l;
18042
+ var global$4 = global$k;
18082
18043
  var bind$2 = functionBindContext;
18083
18044
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
18084
18045
  var macrotask = task$1.set;
@@ -18162,7 +18123,7 @@ var microtask_1 = microtask$1;
18162
18123
  var hostReportErrors$1 = function (a, b) {
18163
18124
  try {
18164
18125
  // eslint-disable-next-line no-console -- safe
18165
- arguments.length === 1 ? console.error(a) : console.error(a, b);
18126
+ arguments.length == 1 ? console.error(a) : console.error(a, b);
18166
18127
  } catch (error) { /* empty */ }
18167
18128
  };
18168
18129
 
@@ -18174,11 +18135,12 @@ var perform$3 = function (exec) {
18174
18135
  }
18175
18136
  };
18176
18137
 
18177
- var global$3 = global$l;
18138
+ var global$3 = global$k;
18178
18139
 
18179
18140
  var promiseNativeConstructor = global$3.Promise;
18180
18141
 
18181
18142
  /* global Deno -- Deno case */
18143
+
18182
18144
  var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
18183
18145
 
18184
18146
  var IS_DENO$1 = engineIsDeno;
@@ -18188,7 +18150,7 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
18188
18150
  && typeof window == 'object'
18189
18151
  && typeof document == 'object';
18190
18152
 
18191
- var global$2 = global$l;
18153
+ var global$2 = global$k;
18192
18154
  var NativePromiseConstructor$3 = promiseNativeConstructor;
18193
18155
  var isCallable$2 = isCallable$l;
18194
18156
  var isForced = isForced_1;
@@ -18258,7 +18220,7 @@ newPromiseCapability$2.f = function (C) {
18258
18220
 
18259
18221
  var $$5 = _export;
18260
18222
  var IS_NODE = engineIsNode;
18261
- var global$1 = global$l;
18223
+ var global$1 = global$k;
18262
18224
  var call$6 = functionCall;
18263
18225
  var defineBuiltIn$1 = defineBuiltIn$6;
18264
18226
  var setPrototypeOf = objectSetPrototypeOf;
@@ -18313,7 +18275,7 @@ var isThenable = function (it) {
18313
18275
 
18314
18276
  var callReaction = function (reaction, state) {
18315
18277
  var value = state.value;
18316
- var ok = state.state === FULFILLED;
18278
+ var ok = state.state == FULFILLED;
18317
18279
  var handler = ok ? reaction.ok : reaction.fail;
18318
18280
  var resolve = reaction.resolve;
18319
18281
  var reject = reaction.reject;
@@ -18489,7 +18451,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
18489
18451
  reaction.ok = isCallable$1(onFulfilled) ? onFulfilled : true;
18490
18452
  reaction.fail = isCallable$1(onRejected) && onRejected;
18491
18453
  reaction.domain = IS_NODE ? process$1.domain : undefined;
18492
- if (state.state === PENDING) state.reactions.add(reaction);
18454
+ if (state.state == PENDING) state.reactions.add(reaction);
18493
18455
  else microtask(function () {
18494
18456
  callReaction(reaction, state);
18495
18457
  });
@@ -18698,9 +18660,7 @@ try {
18698
18660
  } catch (error) { /* empty */ }
18699
18661
 
18700
18662
  var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
18701
- try {
18702
- if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
18703
- } catch (error) { return false; } // workaround of old WebKit + `eval` bug
18663
+ if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
18704
18664
  var ITERATION_SUPPORT = false;
18705
18665
  try {
18706
18666
  var object = {};