@cgi-learning-hub/ui 0.0.1-dev.1709027888 → 0.0.1-dev.1709044405

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 (99) hide show
  1. package/dist/Box-BOcHeUdU.cjs +1 -0
  2. package/dist/{Box-CPGTKTgx.js → Box-D7vtSZv3.js} +5 -5
  3. package/dist/{ButtonBase-B0tkJ9zf.js → ButtonBase-CWtGa3RS.js} +7 -6
  4. package/dist/{ButtonBase-DCL6Xlnm.cjs → ButtonBase-DiSWcqQX.cjs} +4 -4
  5. package/dist/{CircularProgress-CguDBnxV.js → CircularProgress-Cz74KUii.js} +37 -36
  6. package/dist/CircularProgress-DvzJ2zk9.cjs +28 -0
  7. package/dist/DefaultButton-3CeAmGTy.js +580 -0
  8. package/dist/DefaultButton-h0ISM4Pr.cjs +1 -0
  9. package/dist/IconButton-BRyHYK0S.cjs +2 -0
  10. package/dist/{IconButton-CJ1Nt-jf.js → IconButton-BvgHzYLs.js} +30 -28
  11. package/dist/{InputBase-C_yPRkam.js → InputBase-DXIea1Cc.js} +3 -3
  12. package/dist/{InputBase-Dvr5GnwD.cjs → InputBase-Dp2-NOH_.cjs} +3 -3
  13. package/dist/SearchInput-BVsQljml.js +176 -0
  14. package/dist/SearchInput-BbZiaK5Z.cjs +1 -0
  15. package/dist/Tabs-D7bi9NGH.js +1089 -0
  16. package/dist/Tabs-DBqF7m2y.cjs +4 -0
  17. package/dist/TextInput-CUnrSiJ9.js +5793 -0
  18. package/dist/TextInput-D7EBtZs8.cjs +12 -0
  19. package/dist/TimePicker-CZ8EXNU_.js +17528 -0
  20. package/dist/TimePicker-DjIOSP8-.cjs +16 -0
  21. package/dist/{Typography-CyFLZjnE.js → Typography-BsS5MVop.js} +39 -38
  22. package/dist/Typography-Dj96Ct2C.cjs +1 -0
  23. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  24. package/dist/components/Dropzone/Dropzone.d.ts +1 -3
  25. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  26. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
  27. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +7 -577
  28. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
  29. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +4 -4
  30. package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
  31. package/dist/components/buttons/DefaultButton/index.es.js +2 -2
  32. package/dist/components/buttons/IconButton.stories.cjs.js +1 -1
  33. package/dist/components/buttons/IconButton.stories.es.js +2 -2
  34. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
  35. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +4 -4
  36. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
  37. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  38. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
  39. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +2 -2
  40. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
  41. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  42. package/dist/components/buttons/index.cjs.js +1 -1
  43. package/dist/components/buttons/index.es.js +2 -2
  44. package/dist/components/index.cjs.js +1 -1
  45. package/dist/components/index.d.ts +30 -2
  46. package/dist/components/index.es.js +85 -18
  47. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
  48. package/dist/components/inputs/SearchInput/SearchInput.es.js +6 -173
  49. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
  50. package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +4 -4
  51. package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
  52. package/dist/components/inputs/SearchInput/index.es.js +2 -2
  53. package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -12
  54. package/dist/components/inputs/TextInput/TextInput.es.js +5 -5774
  55. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
  56. package/dist/components/inputs/TextInput/TextInput.stories.es.js +5 -5
  57. package/dist/components/inputs/TextInput/index.cjs.js +1 -1
  58. package/dist/components/inputs/TextInput/index.es.js +2 -2
  59. package/dist/components/inputs/index.cjs.js +1 -1
  60. package/dist/components/inputs/index.es.js +4 -4
  61. package/dist/components/lists/FileList/FileList.cjs.js +1 -1
  62. package/dist/components/lists/FileList/FileList.es.js +1 -1
  63. package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
  64. package/dist/components/lists/FileList/FileListItem.es.js +5 -5
  65. package/dist/components/lists/TabList.stories.cjs.js +1 -4
  66. package/dist/components/lists/TabList.stories.es.js +85 -932
  67. package/dist/createSvgIcon-DWH-VQOB.cjs +2 -0
  68. package/dist/{createSvgIcon-m_wsenOJ.js → createSvgIcon-Dt2OaWlr.js} +11 -11
  69. package/dist/{createSvgIcon-KaSN8JhZ.js → createSvgIcon-FbpDQQ7X.js} +3 -3
  70. package/dist/createSvgIcon-K1XmJ33T.cjs +1 -0
  71. package/dist/index.cjs.js +1 -1
  72. package/dist/index.es.js +85 -18
  73. package/dist/refType-BgO8A5K8.cjs +1 -0
  74. package/dist/{refType-Hh9tfnoF.js → refType-D_zuIflA.js} +1 -1
  75. package/dist/{useThemeProps-Dg9Uoq7q.js → styled-DWGei2G_.js} +621 -611
  76. package/dist/{useThemeProps-jkB5q9ie.cjs → styled-DhUFTujV.cjs} +22 -22
  77. package/dist/useForkRef-DfdM2MN5.cjs +1 -0
  78. package/dist/{useIsFocusVisible-BF0lT08B.cjs → useIsFocusVisible-9FderFRK.cjs} +1 -1
  79. package/dist/{useIsFocusVisible-D8ksiuhS.js → useIsFocusVisible-B88all80.js} +1 -1
  80. package/dist/{useSlotProps-MoAYME1z.js → useSlotProps-80kGxOhD.js} +2 -2
  81. package/dist/useSlotProps-DZRn5pp7.cjs +1 -0
  82. package/dist/{useTheme-DJEDOopE.js → useTheme-Jkpgyx74.js} +1 -1
  83. package/dist/useTheme-dCptpuPr.cjs +1 -0
  84. package/dist/{useTimeout-KN97abZR.js → useTimeout-C7IkLqZ9.js} +1 -1
  85. package/dist/{useTimeout-qjxkiZZn.cjs → useTimeout-DHarDhEH.cjs} +1 -1
  86. package/package.json +2 -1
  87. package/dist/Box-7uR7JZiM.cjs +0 -1
  88. package/dist/CircularProgress-CZX5SfKt.cjs +0 -28
  89. package/dist/IconButton-De7ZdW2q.cjs +0 -2
  90. package/dist/Tab-Bhm9hCrX.cjs +0 -1
  91. package/dist/Tab-C4l6V01S.js +0 -237
  92. package/dist/Typography-DwsN2Ttm.cjs +0 -1
  93. package/dist/createSvgIcon-B6bZPuto.cjs +0 -1
  94. package/dist/createSvgIcon-BX8WQ5r-.cjs +0 -2
  95. package/dist/refType-CHSN6ysS.cjs +0 -1
  96. package/dist/useForkRef-CGd3Nhyb.cjs +0 -1
  97. package/dist/useSlotProps-R4s13HHI.cjs +0 -1
  98. package/dist/useTheme-BDPYLOoP.cjs +0 -1
  99. package/dist/{useForkRef-DwN_Iz9R.js → useForkRef-CQ5u1_mH.js} +1 -1
@@ -1,28 +1,17 @@
1
- import zt from "@emotion/styled";
1
+ import * as zt from "react";
2
2
  import { ThemeContext as Vt } from "@emotion/react";
3
- import * as qt from "react";
4
- function se(e, t) {
5
- if (e == null)
6
- return {};
7
- var n = {}, r = Object.keys(e), o, i;
8
- for (i = 0; i < r.length; i++)
9
- o = r[i], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
10
- return n;
11
- }
12
- function A() {
13
- return A = Object.assign ? Object.assign.bind() : function(e) {
14
- for (var t = 1; t < arguments.length; t++) {
15
- var n = arguments[t];
16
- for (var r in n)
17
- Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
18
- }
19
- return e;
20
- }, A.apply(this, arguments);
3
+ import qt from "@emotion/styled";
4
+ function Se(e) {
5
+ let t = "https://mui.com/production-error/?code=" + e;
6
+ for (let n = 1; n < arguments.length; n += 1)
7
+ t += "&args[]=" + encodeURIComponent(arguments[n]);
8
+ return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
21
9
  }
10
+ var go = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
22
11
  function Kt(e) {
23
12
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
24
13
  }
25
- function go(e) {
14
+ function bo(e) {
26
15
  if (e.__esModule)
27
16
  return e;
28
17
  var t = e.default;
@@ -57,7 +46,7 @@ function Gt() {
57
46
  if (ct)
58
47
  return M;
59
48
  ct = 1;
60
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, p = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, a = e ? Symbol.for("react.fundamental") : 60117, R = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
49
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, p = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, a = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
61
50
  function D(c) {
62
51
  if (typeof c == "object" && c !== null) {
63
52
  var z = c.$$typeof;
@@ -116,7 +105,7 @@ function Gt() {
116
105
  }, M.isSuspense = function(c) {
117
106
  return D(c) === h;
118
107
  }, M.isValidElementType = function(c) {
119
- return typeof c == "string" || typeof c == "function" || c === r || c === f || c === i || c === o || c === h || c === l || typeof c == "object" && c !== null && (c.$$typeof === T || c.$$typeof === E || c.$$typeof === s || c.$$typeof === p || c.$$typeof === y || c.$$typeof === a || c.$$typeof === R || c.$$typeof === V || c.$$typeof === m);
108
+ return typeof c == "string" || typeof c == "function" || c === r || c === f || c === i || c === o || c === h || c === l || typeof c == "object" && c !== null && (c.$$typeof === T || c.$$typeof === E || c.$$typeof === s || c.$$typeof === p || c.$$typeof === y || c.$$typeof === a || c.$$typeof === w || c.$$typeof === V || c.$$typeof === m);
120
109
  }, M.typeOf = D, M;
121
110
  }
122
111
  var j = {};
@@ -131,10 +120,10 @@ var j = {};
131
120
  var ut;
132
121
  function Ht() {
133
122
  return ut || (ut = 1, process.env.NODE_ENV !== "production" && function() {
134
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, p = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, a = e ? Symbol.for("react.fundamental") : 60117, R = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
123
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, p = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, a = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
135
124
  function D(g) {
136
125
  return typeof g == "string" || typeof g == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
137
- g === r || g === f || g === i || g === o || g === h || g === l || typeof g == "object" && g !== null && (g.$$typeof === T || g.$$typeof === E || g.$$typeof === s || g.$$typeof === p || g.$$typeof === y || g.$$typeof === a || g.$$typeof === R || g.$$typeof === V || g.$$typeof === m);
126
+ g === r || g === f || g === i || g === o || g === h || g === l || typeof g == "object" && g !== null && (g.$$typeof === T || g.$$typeof === E || g.$$typeof === s || g.$$typeof === p || g.$$typeof === y || g.$$typeof === a || g.$$typeof === w || g.$$typeof === V || g.$$typeof === m);
138
127
  }
139
128
  function F(g) {
140
129
  if (typeof g == "object" && g !== null) {
@@ -187,7 +176,7 @@ function Ht() {
187
176
  function S(g) {
188
177
  return F(g) === y;
189
178
  }
190
- function P(g) {
179
+ function R(g) {
191
180
  return F(g) === r;
192
181
  }
193
182
  function O(g) {
@@ -196,7 +185,7 @@ function Ht() {
196
185
  function _(g) {
197
186
  return F(g) === E;
198
187
  }
199
- function w(g) {
188
+ function P(g) {
200
189
  return F(g) === n;
201
190
  }
202
191
  function I(g) {
@@ -208,7 +197,7 @@ function Ht() {
208
197
  function K(g) {
209
198
  return F(g) === h;
210
199
  }
211
- j.AsyncMode = c, j.ConcurrentMode = z, j.ContextConsumer = re, j.ContextProvider = ee, j.Element = ce, j.ForwardRef = ne, j.Fragment = Y, j.Lazy = q, j.Memo = te, j.Portal = H, j.Profiler = fe, j.StrictMode = G, j.Suspense = oe, j.isAsyncMode = me, j.isConcurrentMode = d, j.isContextConsumer = b, j.isContextProvider = $, j.isElement = x, j.isForwardRef = S, j.isFragment = P, j.isLazy = O, j.isMemo = _, j.isPortal = w, j.isProfiler = I, j.isStrictMode = C, j.isSuspense = K, j.isValidElementType = D, j.typeOf = F;
200
+ j.AsyncMode = c, j.ConcurrentMode = z, j.ContextConsumer = re, j.ContextProvider = ee, j.Element = ce, j.ForwardRef = ne, j.Fragment = Y, j.Lazy = q, j.Memo = te, j.Portal = H, j.Profiler = fe, j.StrictMode = G, j.Suspense = oe, j.isAsyncMode = me, j.isConcurrentMode = d, j.isContextConsumer = b, j.isContextProvider = $, j.isElement = x, j.isForwardRef = S, j.isFragment = R, j.isLazy = O, j.isMemo = _, j.isPortal = P, j.isProfiler = I, j.isStrictMode = C, j.isSuspense = K, j.isValidElementType = D, j.typeOf = F;
212
201
  }()), j;
213
202
  }
214
203
  var ft;
@@ -355,14 +344,14 @@ function Zt() {
355
344
  return b;
356
345
  }
357
346
  var l = "<<anonymous>>", E = {
358
- array: R("array"),
359
- bigint: R("bigint"),
360
- bool: R("boolean"),
361
- func: R("function"),
362
- number: R("number"),
363
- object: R("object"),
364
- string: R("string"),
365
- symbol: R("symbol"),
347
+ array: w("array"),
348
+ bigint: w("bigint"),
349
+ bool: w("boolean"),
350
+ func: w("function"),
351
+ number: w("number"),
352
+ object: w("object"),
353
+ string: w("string"),
354
+ symbol: w("symbol"),
366
355
  any: V(),
367
356
  arrayOf: D,
368
357
  element: F(),
@@ -385,33 +374,33 @@ function Zt() {
385
374
  function a(d) {
386
375
  if (process.env.NODE_ENV !== "production")
387
376
  var b = {}, $ = 0;
388
- function x(P, O, _, w, I, C, K) {
389
- if (w = w || l, C = C || _, K !== n) {
377
+ function x(R, O, _, P, I, C, K) {
378
+ if (P = P || l, C = C || _, K !== n) {
390
379
  if (u) {
391
380
  var g = new Error(
392
381
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
393
382
  );
394
383
  throw g.name = "Invariant Violation", g;
395
384
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
396
- var J = w + ":" + _;
385
+ var J = P + ":" + _;
397
386
  !b[J] && // Avoid spamming the console because they are often not actionable except for lib authors
398
387
  $ < 3 && (i(
399
- "You are manually calling a React.PropTypes validation function for the `" + C + "` prop on `" + w + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
388
+ "You are manually calling a React.PropTypes validation function for the `" + C + "` prop on `" + P + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
400
389
  ), b[J] = !0, $++);
401
390
  }
402
391
  }
403
- return O[_] == null ? P ? O[_] === null ? new m("The " + I + " `" + C + "` is marked as required " + ("in `" + w + "`, but its value is `null`.")) : new m("The " + I + " `" + C + "` is marked as required in " + ("`" + w + "`, but its value is `undefined`.")) : null : d(O, _, w, I, C);
392
+ return O[_] == null ? R ? O[_] === null ? new m("The " + I + " `" + C + "` is marked as required " + ("in `" + P + "`, but its value is `null`.")) : new m("The " + I + " `" + C + "` is marked as required in " + ("`" + P + "`, but its value is `undefined`.")) : null : d(O, _, P, I, C);
404
393
  }
405
394
  var S = x.bind(null, !1);
406
395
  return S.isRequired = x.bind(null, !0), S;
407
396
  }
408
- function R(d) {
409
- function b($, x, S, P, O, _) {
410
- var w = $[x], I = G(w);
397
+ function w(d) {
398
+ function b($, x, S, R, O, _) {
399
+ var P = $[x], I = G(P);
411
400
  if (I !== d) {
412
- var C = oe(w);
401
+ var C = oe(P);
413
402
  return new m(
414
- "Invalid " + P + " `" + O + "` of type " + ("`" + C + "` supplied to `" + S + "`, expected ") + ("`" + d + "`."),
403
+ "Invalid " + R + " `" + O + "` of type " + ("`" + C + "` supplied to `" + S + "`, expected ") + ("`" + d + "`."),
415
404
  { expectedType: d }
416
405
  );
417
406
  }
@@ -423,16 +412,16 @@ function Zt() {
423
412
  return a(s);
424
413
  }
425
414
  function D(d) {
426
- function b($, x, S, P, O) {
415
+ function b($, x, S, R, O) {
427
416
  if (typeof d != "function")
428
417
  return new m("Property `" + O + "` of component `" + S + "` has invalid PropType notation inside arrayOf.");
429
418
  var _ = $[x];
430
419
  if (!Array.isArray(_)) {
431
- var w = G(_);
432
- return new m("Invalid " + P + " `" + O + "` of type " + ("`" + w + "` supplied to `" + S + "`, expected an array."));
420
+ var P = G(_);
421
+ return new m("Invalid " + R + " `" + O + "` of type " + ("`" + P + "` supplied to `" + S + "`, expected an array."));
433
422
  }
434
423
  for (var I = 0; I < _.length; I++) {
435
- var C = d(_, I, S, P, O + "[" + I + "]", n);
424
+ var C = d(_, I, S, R, O + "[" + I + "]", n);
436
425
  if (C instanceof Error)
437
426
  return C;
438
427
  }
@@ -441,32 +430,32 @@ function Zt() {
441
430
  return a(b);
442
431
  }
443
432
  function F() {
444
- function d(b, $, x, S, P) {
433
+ function d(b, $, x, S, R) {
445
434
  var O = b[$];
446
435
  if (!p(O)) {
447
436
  var _ = G(O);
448
- return new m("Invalid " + S + " `" + P + "` of type " + ("`" + _ + "` supplied to `" + x + "`, expected a single ReactElement."));
437
+ return new m("Invalid " + S + " `" + R + "` of type " + ("`" + _ + "` supplied to `" + x + "`, expected a single ReactElement."));
449
438
  }
450
439
  return null;
451
440
  }
452
441
  return a(d);
453
442
  }
454
443
  function c() {
455
- function d(b, $, x, S, P) {
444
+ function d(b, $, x, S, R) {
456
445
  var O = b[$];
457
446
  if (!e.isValidElementType(O)) {
458
447
  var _ = G(O);
459
- return new m("Invalid " + S + " `" + P + "` of type " + ("`" + _ + "` supplied to `" + x + "`, expected a single ReactElement type."));
448
+ return new m("Invalid " + S + " `" + R + "` of type " + ("`" + _ + "` supplied to `" + x + "`, expected a single ReactElement type."));
460
449
  }
461
450
  return null;
462
451
  }
463
452
  return a(d);
464
453
  }
465
454
  function z(d) {
466
- function b($, x, S, P, O) {
455
+ function b($, x, S, R, O) {
467
456
  if (!($[x] instanceof d)) {
468
- var _ = d.name || l, w = me($[x]);
469
- return new m("Invalid " + P + " `" + O + "` of type " + ("`" + w + "` supplied to `" + S + "`, expected ") + ("instance of `" + _ + "`."));
457
+ var _ = d.name || l, P = me($[x]);
458
+ return new m("Invalid " + R + " `" + O + "` of type " + ("`" + P + "` supplied to `" + S + "`, expected ") + ("instance of `" + _ + "`."));
470
459
  }
471
460
  return null;
472
461
  }
@@ -477,28 +466,28 @@ function Zt() {
477
466
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
478
467
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
479
468
  ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
480
- function b($, x, S, P, O) {
481
- for (var _ = $[x], w = 0; w < d.length; w++)
482
- if (T(_, d[w]))
469
+ function b($, x, S, R, O) {
470
+ for (var _ = $[x], P = 0; P < d.length; P++)
471
+ if (T(_, d[P]))
483
472
  return null;
484
473
  var I = JSON.stringify(d, function(K, g) {
485
474
  var J = oe(g);
486
475
  return J === "symbol" ? String(g) : g;
487
476
  });
488
- return new m("Invalid " + P + " `" + O + "` of value `" + String(_) + "` " + ("supplied to `" + S + "`, expected one of " + I + "."));
477
+ return new m("Invalid " + R + " `" + O + "` of value `" + String(_) + "` " + ("supplied to `" + S + "`, expected one of " + I + "."));
489
478
  }
490
479
  return a(b);
491
480
  }
492
481
  function ee(d) {
493
- function b($, x, S, P, O) {
482
+ function b($, x, S, R, O) {
494
483
  if (typeof d != "function")
495
484
  return new m("Property `" + O + "` of component `" + S + "` has invalid PropType notation inside objectOf.");
496
- var _ = $[x], w = G(_);
497
- if (w !== "object")
498
- return new m("Invalid " + P + " `" + O + "` of type " + ("`" + w + "` supplied to `" + S + "`, expected an object."));
485
+ var _ = $[x], P = G(_);
486
+ if (P !== "object")
487
+ return new m("Invalid " + R + " `" + O + "` of type " + ("`" + P + "` supplied to `" + S + "`, expected an object."));
499
488
  for (var I in _)
500
489
  if (r(_, I)) {
501
- var C = d(_, I, S, P, O + "." + I, n);
490
+ var C = d(_, I, S, R, O + "." + I, n);
502
491
  if (C instanceof Error)
503
492
  return C;
504
493
  }
@@ -516,21 +505,21 @@ function Zt() {
516
505
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + le($) + " at index " + b + "."
517
506
  ), s;
518
507
  }
519
- function x(S, P, O, _, w) {
508
+ function x(S, R, O, _, P) {
520
509
  for (var I = [], C = 0; C < d.length; C++) {
521
- var K = d[C], g = K(S, P, O, _, w, n);
510
+ var K = d[C], g = K(S, R, O, _, P, n);
522
511
  if (g == null)
523
512
  return null;
524
513
  g.data && r(g.data, "expectedType") && I.push(g.data.expectedType);
525
514
  }
526
515
  var J = I.length > 0 ? ", expected one of type [" + I.join(", ") + "]" : "";
527
- return new m("Invalid " + _ + " `" + w + "` supplied to " + ("`" + O + "`" + J + "."));
516
+ return new m("Invalid " + _ + " `" + P + "` supplied to " + ("`" + O + "`" + J + "."));
528
517
  }
529
518
  return a(x);
530
519
  }
531
520
  function ne() {
532
- function d(b, $, x, S, P) {
533
- return H(b[$]) ? null : new m("Invalid " + S + " `" + P + "` supplied to " + ("`" + x + "`, expected a ReactNode."));
521
+ function d(b, $, x, S, R) {
522
+ return H(b[$]) ? null : new m("Invalid " + S + " `" + R + "` supplied to " + ("`" + x + "`, expected a ReactNode."));
534
523
  }
535
524
  return a(d);
536
525
  }
@@ -540,15 +529,15 @@ function Zt() {
540
529
  );
541
530
  }
542
531
  function q(d) {
543
- function b($, x, S, P, O) {
544
- var _ = $[x], w = G(_);
545
- if (w !== "object")
546
- return new m("Invalid " + P + " `" + O + "` of type `" + w + "` " + ("supplied to `" + S + "`, expected `object`."));
532
+ function b($, x, S, R, O) {
533
+ var _ = $[x], P = G(_);
534
+ if (P !== "object")
535
+ return new m("Invalid " + R + " `" + O + "` of type `" + P + "` " + ("supplied to `" + S + "`, expected `object`."));
547
536
  for (var I in d) {
548
537
  var C = d[I];
549
538
  if (typeof C != "function")
550
- return Y(S, P, O, I, oe(C));
551
- var K = C(_, I, S, P, O + "." + I, n);
539
+ return Y(S, R, O, I, oe(C));
540
+ var K = C(_, I, S, R, O + "." + I, n);
552
541
  if (K)
553
542
  return K;
554
543
  }
@@ -557,21 +546,21 @@ function Zt() {
557
546
  return a(b);
558
547
  }
559
548
  function te(d) {
560
- function b($, x, S, P, O) {
561
- var _ = $[x], w = G(_);
562
- if (w !== "object")
563
- return new m("Invalid " + P + " `" + O + "` of type `" + w + "` " + ("supplied to `" + S + "`, expected `object`."));
549
+ function b($, x, S, R, O) {
550
+ var _ = $[x], P = G(_);
551
+ if (P !== "object")
552
+ return new m("Invalid " + R + " `" + O + "` of type `" + P + "` " + ("supplied to `" + S + "`, expected `object`."));
564
553
  var I = t({}, $[x], d);
565
554
  for (var C in I) {
566
555
  var K = d[C];
567
556
  if (r(d, C) && typeof K != "function")
568
- return Y(S, P, O, C, oe(K));
557
+ return Y(S, R, O, C, oe(K));
569
558
  if (!K)
570
559
  return new m(
571
- "Invalid " + P + " `" + O + "` key `" + C + "` supplied to `" + S + "`.\nBad object: " + JSON.stringify($[x], null, " ") + `
560
+ "Invalid " + R + " `" + O + "` key `" + C + "` supplied to `" + S + "`.\nBad object: " + JSON.stringify($[x], null, " ") + `
572
561
  Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
573
562
  );
574
- var g = K(_, C, S, P, O + "." + C, n);
563
+ var g = K(_, C, S, R, O + "." + C, n);
575
564
  if (g)
576
565
  return g;
577
566
  }
@@ -707,24 +696,41 @@ if (process.env.NODE_ENV !== "production") {
707
696
  Je.exports = Qt()();
708
697
  var rr = Je.exports;
709
698
  const Oe = /* @__PURE__ */ Kt(rr);
710
- function jt(e) {
711
- var t, n, r = "";
712
- if (typeof e == "string" || typeof e == "number")
713
- r += e;
714
- else if (typeof e == "object")
715
- if (Array.isArray(e)) {
716
- var o = e.length;
717
- for (t = 0; t < o; t++)
718
- e[t] && (n = jt(e[t])) && (r && (r += " "), r += n);
719
- } else
720
- for (n in e)
721
- e[n] && (r && (r += " "), r += n);
722
- return r;
699
+ /**
700
+ * @mui/styled-engine v5.15.11
701
+ *
702
+ * @license MIT
703
+ * This source code is licensed under the MIT license found in the
704
+ * LICENSE file in the root directory of this source tree.
705
+ */
706
+ function nr(e, t) {
707
+ const n = qt(e, t);
708
+ return process.env.NODE_ENV !== "production" ? (...r) => {
709
+ const o = typeof e == "string" ? `"${e}"` : "component";
710
+ return r.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
711
+ `)) : r.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), n(...r);
712
+ } : n;
723
713
  }
724
- function bo() {
725
- for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++)
726
- (e = arguments[n]) && (t = jt(e)) && (r && (r += " "), r += t);
727
- return r;
714
+ const or = (e, t) => {
715
+ Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
716
+ };
717
+ function A() {
718
+ return A = Object.assign ? Object.assign.bind() : function(e) {
719
+ for (var t = 1; t < arguments.length; t++) {
720
+ var n = arguments[t];
721
+ for (var r in n)
722
+ Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
723
+ }
724
+ return e;
725
+ }, A.apply(this, arguments);
726
+ }
727
+ function se(e, t) {
728
+ if (e == null)
729
+ return {};
730
+ var n = {}, r = Object.keys(e), o, i;
731
+ for (i = 0; i < r.length; i++)
732
+ o = r[i], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
733
+ return n;
728
734
  }
729
735
  function de(e) {
730
736
  if (typeof e != "object" || e === null)
@@ -732,12 +738,12 @@ function de(e) {
732
738
  const t = Object.getPrototypeOf(e);
733
739
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
734
740
  }
735
- function kt(e) {
741
+ function jt(e) {
736
742
  if (!de(e))
737
743
  return e;
738
744
  const t = {};
739
745
  return Object.keys(e).forEach((n) => {
740
- t[n] = kt(e[n]);
746
+ t[n] = jt(e[n]);
741
747
  }), t;
742
748
  }
743
749
  function ie(e, t, n = {
@@ -745,318 +751,10 @@ function ie(e, t, n = {
745
751
  }) {
746
752
  const r = n.clone ? A({}, e) : e;
747
753
  return de(e) && de(t) && Object.keys(t).forEach((o) => {
748
- o !== "__proto__" && (de(t[o]) && o in e && de(e[o]) ? r[o] = ie(e[o], t[o], n) : n.clone ? r[o] = de(t[o]) ? kt(t[o]) : t[o] : r[o] = t[o]);
754
+ o !== "__proto__" && (de(t[o]) && o in e && de(e[o]) ? r[o] = ie(e[o], t[o], n) : n.clone ? r[o] = de(t[o]) ? jt(t[o]) : t[o] : r[o] = t[o]);
749
755
  }), r;
750
756
  }
751
- function Se(e) {
752
- let t = "https://mui.com/production-error/?code=" + e;
753
- for (let n = 1; n < arguments.length; n += 1)
754
- t += "&args[]=" + encodeURIComponent(arguments[n]);
755
- return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
756
- }
757
- var Ze = { exports: {} }, k = {};
758
- /**
759
- * @license React
760
- * react-is.production.min.js
761
- *
762
- * Copyright (c) Facebook, Inc. and its affiliates.
763
- *
764
- * This source code is licensed under the MIT license found in the
765
- * LICENSE file in the root directory of this source tree.
766
- */
767
- var gt;
768
- function nr() {
769
- if (gt)
770
- return k;
771
- gt = 1;
772
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), p = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), T;
773
- T = Symbol.for("react.module.reference");
774
- function m(a) {
775
- if (typeof a == "object" && a !== null) {
776
- var R = a.$$typeof;
777
- switch (R) {
778
- case e:
779
- switch (a = a.type, a) {
780
- case n:
781
- case o:
782
- case r:
783
- case f:
784
- case y:
785
- return a;
786
- default:
787
- switch (a = a && a.$$typeof, a) {
788
- case p:
789
- case s:
790
- case u:
791
- case l:
792
- case h:
793
- case i:
794
- return a;
795
- default:
796
- return R;
797
- }
798
- }
799
- case t:
800
- return R;
801
- }
802
- }
803
- }
804
- return k.ContextConsumer = s, k.ContextProvider = i, k.Element = e, k.ForwardRef = u, k.Fragment = n, k.Lazy = l, k.Memo = h, k.Portal = t, k.Profiler = o, k.StrictMode = r, k.Suspense = f, k.SuspenseList = y, k.isAsyncMode = function() {
805
- return !1;
806
- }, k.isConcurrentMode = function() {
807
- return !1;
808
- }, k.isContextConsumer = function(a) {
809
- return m(a) === s;
810
- }, k.isContextProvider = function(a) {
811
- return m(a) === i;
812
- }, k.isElement = function(a) {
813
- return typeof a == "object" && a !== null && a.$$typeof === e;
814
- }, k.isForwardRef = function(a) {
815
- return m(a) === u;
816
- }, k.isFragment = function(a) {
817
- return m(a) === n;
818
- }, k.isLazy = function(a) {
819
- return m(a) === l;
820
- }, k.isMemo = function(a) {
821
- return m(a) === h;
822
- }, k.isPortal = function(a) {
823
- return m(a) === t;
824
- }, k.isProfiler = function(a) {
825
- return m(a) === o;
826
- }, k.isStrictMode = function(a) {
827
- return m(a) === r;
828
- }, k.isSuspense = function(a) {
829
- return m(a) === f;
830
- }, k.isSuspenseList = function(a) {
831
- return m(a) === y;
832
- }, k.isValidElementType = function(a) {
833
- return typeof a == "string" || typeof a == "function" || a === n || a === o || a === r || a === f || a === y || a === E || typeof a == "object" && a !== null && (a.$$typeof === l || a.$$typeof === h || a.$$typeof === i || a.$$typeof === s || a.$$typeof === u || a.$$typeof === T || a.getModuleId !== void 0);
834
- }, k.typeOf = m, k;
835
- }
836
- var N = {};
837
- /**
838
- * @license React
839
- * react-is.development.js
840
- *
841
- * Copyright (c) Facebook, Inc. and its affiliates.
842
- *
843
- * This source code is licensed under the MIT license found in the
844
- * LICENSE file in the root directory of this source tree.
845
- */
846
- var bt;
847
- function or() {
848
- return bt || (bt = 1, process.env.NODE_ENV !== "production" && function() {
849
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), p = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), T = !1, m = !1, a = !1, R = !1, V = !1, D;
850
- D = Symbol.for("react.module.reference");
851
- function F(v) {
852
- return !!(typeof v == "string" || typeof v == "function" || v === n || v === o || V || v === r || v === f || v === y || R || v === E || T || m || a || typeof v == "object" && v !== null && (v.$$typeof === l || v.$$typeof === h || v.$$typeof === i || v.$$typeof === s || v.$$typeof === u || // This needs to include all possible module reference object
853
- // types supported by any Flight configuration anywhere since
854
- // we don't know which Flight build this will end up being used
855
- // with.
856
- v.$$typeof === D || v.getModuleId !== void 0));
857
- }
858
- function c(v) {
859
- if (typeof v == "object" && v !== null) {
860
- var ye = v.$$typeof;
861
- switch (ye) {
862
- case e:
863
- var Ce = v.type;
864
- switch (Ce) {
865
- case n:
866
- case o:
867
- case r:
868
- case f:
869
- case y:
870
- return Ce;
871
- default:
872
- var at = Ce && Ce.$$typeof;
873
- switch (at) {
874
- case p:
875
- case s:
876
- case u:
877
- case l:
878
- case h:
879
- case i:
880
- return at;
881
- default:
882
- return ye;
883
- }
884
- }
885
- case t:
886
- return ye;
887
- }
888
- }
889
- }
890
- var z = s, re = i, ee = e, ce = u, ne = n, Y = l, q = h, te = t, H = o, fe = r, G = f, oe = y, le = !1, me = !1;
891
- function d(v) {
892
- return le || (le = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
893
- }
894
- function b(v) {
895
- return me || (me = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
896
- }
897
- function $(v) {
898
- return c(v) === s;
899
- }
900
- function x(v) {
901
- return c(v) === i;
902
- }
903
- function S(v) {
904
- return typeof v == "object" && v !== null && v.$$typeof === e;
905
- }
906
- function P(v) {
907
- return c(v) === u;
908
- }
909
- function O(v) {
910
- return c(v) === n;
911
- }
912
- function _(v) {
913
- return c(v) === l;
914
- }
915
- function w(v) {
916
- return c(v) === h;
917
- }
918
- function I(v) {
919
- return c(v) === t;
920
- }
921
- function C(v) {
922
- return c(v) === o;
923
- }
924
- function K(v) {
925
- return c(v) === r;
926
- }
927
- function g(v) {
928
- return c(v) === f;
929
- }
930
- function J(v) {
931
- return c(v) === y;
932
- }
933
- N.ContextConsumer = z, N.ContextProvider = re, N.Element = ee, N.ForwardRef = ce, N.Fragment = ne, N.Lazy = Y, N.Memo = q, N.Portal = te, N.Profiler = H, N.StrictMode = fe, N.Suspense = G, N.SuspenseList = oe, N.isAsyncMode = d, N.isConcurrentMode = b, N.isContextConsumer = $, N.isContextProvider = x, N.isElement = S, N.isForwardRef = P, N.isFragment = O, N.isLazy = _, N.isMemo = w, N.isPortal = I, N.isProfiler = C, N.isStrictMode = K, N.isSuspense = g, N.isSuspenseList = J, N.isValidElementType = F, N.typeOf = c;
934
- }()), N;
935
- }
936
- process.env.NODE_ENV === "production" ? Ze.exports = nr() : Ze.exports = or();
937
- var vt = Ze.exports;
938
- const ir = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
939
- function sr(e) {
940
- const t = `${e}`.match(ir);
941
- return t && t[1] || "";
942
- }
943
- function Nt(e, t = "") {
944
- return e.displayName || e.name || sr(e) || t;
945
- }
946
- function Et(e, t, n) {
947
- const r = Nt(t);
948
- return e.displayName || (r !== "" ? `${n}(${r})` : n);
949
- }
950
- function ar(e) {
951
- if (e != null) {
952
- if (typeof e == "string")
953
- return e;
954
- if (typeof e == "function")
955
- return Nt(e, "Component");
956
- if (typeof e == "object")
957
- switch (e.$$typeof) {
958
- case vt.ForwardRef:
959
- return Et(e, e.render, "ForwardRef");
960
- case vt.Memo:
961
- return Et(e, e.type, "memo");
962
- default:
963
- return;
964
- }
965
- }
966
- }
967
- function et(e) {
968
- if (typeof e != "string")
969
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Se(7));
970
- return e.charAt(0).toUpperCase() + e.slice(1);
971
- }
972
- function Dt(e, t) {
973
- const n = A({}, t);
974
- return Object.keys(e).forEach((r) => {
975
- if (r.toString().match(/^(components|slots)$/))
976
- n[r] = A({}, e[r], n[r]);
977
- else if (r.toString().match(/^(componentsProps|slotProps)$/)) {
978
- const o = e[r] || {}, i = t[r];
979
- n[r] = {}, !i || !Object.keys(i) ? n[r] = o : !o || !Object.keys(o) ? n[r] = i : (n[r] = A({}, i), Object.keys(o).forEach((s) => {
980
- n[r][s] = Dt(o[s], i[s]);
981
- }));
982
- } else
983
- n[r] === void 0 && (n[r] = e[r]);
984
- }), n;
985
- }
986
- function vo(e, t, n = void 0) {
987
- const r = {};
988
- return Object.keys(e).forEach(
989
- // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
990
- // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
991
- (o) => {
992
- r[o] = e[o].reduce((i, s) => {
993
- if (s) {
994
- const p = t(s);
995
- p !== "" && i.push(p), n && n[s] && i.push(n[s]);
996
- }
997
- return i;
998
- }, []).join(" ");
999
- }
1000
- ), r;
1001
- }
1002
- const Tt = (e) => e, cr = () => {
1003
- let e = Tt;
1004
- return {
1005
- configure(t) {
1006
- e = t;
1007
- },
1008
- generate(t) {
1009
- return e(t);
1010
- },
1011
- reset() {
1012
- e = Tt;
1013
- }
1014
- };
1015
- }, ur = cr(), fr = ur, lr = {
1016
- active: "active",
1017
- checked: "checked",
1018
- completed: "completed",
1019
- disabled: "disabled",
1020
- error: "error",
1021
- expanded: "expanded",
1022
- focused: "focused",
1023
- focusVisible: "focusVisible",
1024
- open: "open",
1025
- readOnly: "readOnly",
1026
- required: "required",
1027
- selected: "selected"
1028
- };
1029
- function Ft(e, t, n = "Mui") {
1030
- const r = lr[t];
1031
- return r ? `${n}-${r}` : `${fr.generate(e)}-${t}`;
1032
- }
1033
- function Eo(e, t, n = "Mui") {
1034
- const r = {};
1035
- return t.forEach((o) => {
1036
- r[o] = Ft(e, o, n);
1037
- }), r;
1038
- }
1039
- function dr(e, t = Number.MIN_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER) {
1040
- return Math.max(t, Math.min(e, n));
1041
- }
1042
- /**
1043
- * @mui/styled-engine v5.15.11
1044
- *
1045
- * @license MIT
1046
- * This source code is licensed under the MIT license found in the
1047
- * LICENSE file in the root directory of this source tree.
1048
- */
1049
- function pr(e, t) {
1050
- const n = zt(e, t);
1051
- return process.env.NODE_ENV !== "production" ? (...r) => {
1052
- const o = typeof e == "string" ? `"${e}"` : "component";
1053
- return r.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
1054
- `)) : r.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), n(...r);
1055
- } : n;
1056
- }
1057
- const mr = (e, t) => {
1058
- Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
1059
- }, yr = ["values", "unit", "step"], hr = (e) => {
757
+ const ir = ["values", "unit", "step"], sr = (e) => {
1060
758
  const t = Object.keys(e).map((n) => ({
1061
759
  key: n,
1062
760
  val: e[n]
@@ -1065,7 +763,7 @@ const mr = (e, t) => {
1065
763
  [r.key]: r.val
1066
764
  }), {});
1067
765
  };
1068
- function gr(e) {
766
+ function ar(e) {
1069
767
  const {
1070
768
  // The breakpoint **start** at this value.
1071
769
  // For instance with the first breakpoint xs: [xs, sm).
@@ -1083,7 +781,7 @@ function gr(e) {
1083
781
  },
1084
782
  unit: n = "px",
1085
783
  step: r = 5
1086
- } = e, o = se(e, yr), i = hr(t), s = Object.keys(i);
784
+ } = e, o = se(e, ir), i = sr(t), s = Object.keys(i);
1087
785
  function p(l) {
1088
786
  return `@media (min-width:${typeof t[l] == "number" ? t[l] : l}${n})`;
1089
787
  }
@@ -1112,16 +810,16 @@ function gr(e) {
1112
810
  unit: n
1113
811
  }, o);
1114
812
  }
1115
- const br = {
813
+ const cr = {
1116
814
  borderRadius: 4
1117
- }, vr = br, Er = process.env.NODE_ENV !== "production" ? Oe.oneOfType([Oe.number, Oe.string, Oe.object, Oe.array]) : {}, ue = Er;
815
+ }, ur = cr, fr = process.env.NODE_ENV !== "production" ? Oe.oneOfType([Oe.number, Oe.string, Oe.object, Oe.array]) : {}, ue = fr;
1118
816
  function _e(e, t) {
1119
817
  return t ? ie(e, t, {
1120
818
  clone: !1
1121
819
  // No need to clone deep, it's way faster.
1122
820
  }) : e;
1123
821
  }
1124
- const tt = {
822
+ const et = {
1125
823
  xs: 0,
1126
824
  // phone
1127
825
  sm: 600,
@@ -1132,22 +830,22 @@ const tt = {
1132
830
  // desktop
1133
831
  xl: 1536
1134
832
  // large screen
1135
- }, St = {
833
+ }, gt = {
1136
834
  // Sorted ASC by size. That's important.
1137
835
  // It can't be configured as it's used statically for propTypes.
1138
836
  keys: ["xs", "sm", "md", "lg", "xl"],
1139
- up: (e) => `@media (min-width:${tt[e]}px)`
837
+ up: (e) => `@media (min-width:${et[e]}px)`
1140
838
  };
1141
839
  function ae(e, t, n) {
1142
840
  const r = e.theme || {};
1143
841
  if (Array.isArray(t)) {
1144
- const i = r.breakpoints || St;
842
+ const i = r.breakpoints || gt;
1145
843
  return t.reduce((s, p, u) => (s[i.up(i.keys[u])] = n(t[u]), s), {});
1146
844
  }
1147
845
  if (typeof t == "object") {
1148
- const i = r.breakpoints || St;
846
+ const i = r.breakpoints || gt;
1149
847
  return Object.keys(t).reduce((s, p) => {
1150
- if (Object.keys(i.values || tt).indexOf(p) !== -1) {
848
+ if (Object.keys(i.values || et).indexOf(p) !== -1) {
1151
849
  const u = i.up(p);
1152
850
  s[u] = n(t[p], p);
1153
851
  } else {
@@ -1159,19 +857,24 @@ function ae(e, t, n) {
1159
857
  }
1160
858
  return n(t);
1161
859
  }
1162
- function Tr(e = {}) {
860
+ function lr(e = {}) {
1163
861
  var t;
1164
862
  return ((t = e.keys) == null ? void 0 : t.reduce((r, o) => {
1165
863
  const i = e.up(o);
1166
864
  return r[i] = {}, r;
1167
865
  }, {})) || {};
1168
866
  }
1169
- function Sr(e, t) {
867
+ function dr(e, t) {
1170
868
  return e.reduce((n, r) => {
1171
869
  const o = n[r];
1172
870
  return (!o || Object.keys(o).length === 0) && delete n[r], n;
1173
871
  }, t);
1174
872
  }
873
+ function tt(e) {
874
+ if (typeof e != "string")
875
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Se(7));
876
+ return e.charAt(0).toUpperCase() + e.slice(1);
877
+ }
1175
878
  function ke(e, t, n = !0) {
1176
879
  if (!t || typeof t != "string")
1177
880
  return null;
@@ -1198,7 +901,7 @@ function B(e) {
1198
901
  const p = s[t], u = s.theme, f = ke(u, r) || {};
1199
902
  return ae(s, p, (h) => {
1200
903
  let l = je(f, o, h);
1201
- return h === l && typeof h == "string" && (l = je(f, o, `${t}${h === "default" ? "" : et(h)}`, h)), n === !1 ? l : {
904
+ return h === l && typeof h == "string" && (l = je(f, o, `${t}${h === "default" ? "" : tt(h)}`, h)), n === !1 ? l : {
1202
905
  [n]: l
1203
906
  };
1204
907
  });
@@ -1207,35 +910,35 @@ function B(e) {
1207
910
  [t]: ue
1208
911
  } : {}, i.filterProps = [t], i;
1209
912
  }
1210
- function Or(e) {
913
+ function pr(e) {
1211
914
  const t = {};
1212
915
  return (n) => (t[n] === void 0 && (t[n] = e(n)), t[n]);
1213
916
  }
1214
- const xr = {
917
+ const mr = {
1215
918
  m: "margin",
1216
919
  p: "padding"
1217
- }, _r = {
920
+ }, yr = {
1218
921
  t: "Top",
1219
922
  r: "Right",
1220
923
  b: "Bottom",
1221
924
  l: "Left",
1222
925
  x: ["Left", "Right"],
1223
926
  y: ["Top", "Bottom"]
1224
- }, Ot = {
927
+ }, bt = {
1225
928
  marginX: "mx",
1226
929
  marginY: "my",
1227
930
  paddingX: "px",
1228
931
  paddingY: "py"
1229
- }, $r = Or((e) => {
932
+ }, hr = pr((e) => {
1230
933
  if (e.length > 2)
1231
- if (Ot[e])
1232
- e = Ot[e];
934
+ if (bt[e])
935
+ e = bt[e];
1233
936
  else
1234
937
  return [e];
1235
- const [t, n] = e.split(""), r = xr[t], o = _r[n] || "";
938
+ const [t, n] = e.split(""), r = mr[t], o = yr[n] || "";
1236
939
  return Array.isArray(o) ? o.map((i) => r + i) : [r + o];
1237
- }), Ne = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], De = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Rr = [...Ne, ...De];
1238
- function Pe(e, t, n, r) {
940
+ }), Ne = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], De = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], gr = [...Ne, ...De];
941
+ function Re(e, t, n, r) {
1239
942
  var o;
1240
943
  const i = (o = ke(e, t, !1)) != null ? o : n;
1241
944
  return typeof i == "number" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${r} argument to be a number or a string, got ${s}.`), i * s) : Array.isArray(i) ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > i.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${s} > ${i.length - 1}, you need to add the missing values.`].join(`
@@ -1244,43 +947,43 @@ function Pe(e, t, n, r) {
1244
947
  `)), () => {
1245
948
  });
1246
949
  }
1247
- function Lt(e) {
1248
- return Pe(e, "spacing", 8, "spacing");
950
+ function kt(e) {
951
+ return Re(e, "spacing", 8, "spacing");
1249
952
  }
1250
- function we(e, t) {
953
+ function Pe(e, t) {
1251
954
  if (typeof t == "string" || t == null)
1252
955
  return t;
1253
956
  const n = Math.abs(t), r = e(n);
1254
957
  return t >= 0 ? r : typeof r == "number" ? -r : `-${r}`;
1255
958
  }
1256
- function Pr(e, t) {
1257
- return (n) => e.reduce((r, o) => (r[o] = we(t, n), r), {});
959
+ function br(e, t) {
960
+ return (n) => e.reduce((r, o) => (r[o] = Pe(t, n), r), {});
1258
961
  }
1259
- function wr(e, t, n, r) {
962
+ function vr(e, t, n, r) {
1260
963
  if (t.indexOf(n) === -1)
1261
964
  return null;
1262
- const o = $r(n), i = Pr(o, r), s = e[n];
965
+ const o = hr(n), i = br(o, r), s = e[n];
1263
966
  return ae(e, s, i);
1264
967
  }
1265
- function Ut(e, t) {
1266
- const n = Lt(e.theme);
1267
- return Object.keys(e).map((r) => wr(e, t, r, n)).reduce(_e, {});
968
+ function Nt(e, t) {
969
+ const n = kt(e.theme);
970
+ return Object.keys(e).map((r) => vr(e, t, r, n)).reduce(_e, {});
1268
971
  }
1269
972
  function U(e) {
1270
- return Ut(e, Ne);
973
+ return Nt(e, Ne);
1271
974
  }
1272
975
  U.propTypes = process.env.NODE_ENV !== "production" ? Ne.reduce((e, t) => (e[t] = ue, e), {}) : {};
1273
976
  U.filterProps = Ne;
1274
977
  function W(e) {
1275
- return Ut(e, De);
978
+ return Nt(e, De);
1276
979
  }
1277
980
  W.propTypes = process.env.NODE_ENV !== "production" ? De.reduce((e, t) => (e[t] = ue, e), {}) : {};
1278
981
  W.filterProps = De;
1279
- process.env.NODE_ENV !== "production" && Rr.reduce((e, t) => (e[t] = ue, e), {});
1280
- function Cr(e = 8) {
982
+ process.env.NODE_ENV !== "production" && gr.reduce((e, t) => (e[t] = ue, e), {});
983
+ function Er(e = 8) {
1281
984
  if (e.mui)
1282
985
  return e;
1283
- const t = Lt({
986
+ const t = kt({
1284
987
  spacing: e
1285
988
  }), n = (...r) => (process.env.NODE_ENV !== "production" && (r.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)), (r.length === 0 ? [1] : r).map((i) => {
1286
989
  const s = t(i);
@@ -1304,10 +1007,10 @@ function Q(e, t) {
1304
1007
  transform: t
1305
1008
  });
1306
1009
  }
1307
- const Ar = Q("border", Z), Ir = Q("borderTop", Z), Mr = Q("borderRight", Z), jr = Q("borderBottom", Z), kr = Q("borderLeft", Z), Nr = Q("borderColor"), Dr = Q("borderTopColor"), Fr = Q("borderRightColor"), Lr = Q("borderBottomColor"), Ur = Q("borderLeftColor"), Wr = Q("outline", Z), Yr = Q("outlineColor"), Le = (e) => {
1010
+ const Tr = Q("border", Z), Sr = Q("borderTop", Z), Or = Q("borderRight", Z), xr = Q("borderBottom", Z), _r = Q("borderLeft", Z), $r = Q("borderColor"), wr = Q("borderTopColor"), Rr = Q("borderRightColor"), Pr = Q("borderBottomColor"), Cr = Q("borderLeftColor"), Ar = Q("outline", Z), Ir = Q("outlineColor"), Le = (e) => {
1308
1011
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1309
- const t = Pe(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({
1310
- borderRadius: we(t, r)
1012
+ const t = Re(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({
1013
+ borderRadius: Pe(t, r)
1311
1014
  });
1312
1015
  return ae(e, e.borderRadius, n);
1313
1016
  }
@@ -1317,11 +1020,11 @@ Le.propTypes = process.env.NODE_ENV !== "production" ? {
1317
1020
  borderRadius: ue
1318
1021
  } : {};
1319
1022
  Le.filterProps = ["borderRadius"];
1320
- Fe(Ar, Ir, Mr, jr, kr, Nr, Dr, Fr, Lr, Ur, Le, Wr, Yr);
1023
+ Fe(Tr, Sr, Or, xr, _r, $r, wr, Rr, Pr, Cr, Le, Ar, Ir);
1321
1024
  const Ue = (e) => {
1322
1025
  if (e.gap !== void 0 && e.gap !== null) {
1323
- const t = Pe(e.theme, "spacing", 8, "gap"), n = (r) => ({
1324
- gap: we(t, r)
1026
+ const t = Re(e.theme, "spacing", 8, "gap"), n = (r) => ({
1027
+ gap: Pe(t, r)
1325
1028
  });
1326
1029
  return ae(e, e.gap, n);
1327
1030
  }
@@ -1333,8 +1036,8 @@ Ue.propTypes = process.env.NODE_ENV !== "production" ? {
1333
1036
  Ue.filterProps = ["gap"];
1334
1037
  const We = (e) => {
1335
1038
  if (e.columnGap !== void 0 && e.columnGap !== null) {
1336
- const t = Pe(e.theme, "spacing", 8, "columnGap"), n = (r) => ({
1337
- columnGap: we(t, r)
1039
+ const t = Re(e.theme, "spacing", 8, "columnGap"), n = (r) => ({
1040
+ columnGap: Pe(t, r)
1338
1041
  });
1339
1042
  return ae(e, e.columnGap, n);
1340
1043
  }
@@ -1346,8 +1049,8 @@ We.propTypes = process.env.NODE_ENV !== "production" ? {
1346
1049
  We.filterProps = ["columnGap"];
1347
1050
  const Ye = (e) => {
1348
1051
  if (e.rowGap !== void 0 && e.rowGap !== null) {
1349
- const t = Pe(e.theme, "spacing", 8, "rowGap"), n = (r) => ({
1350
- rowGap: we(t, r)
1052
+ const t = Re(e.theme, "spacing", 8, "rowGap"), n = (r) => ({
1053
+ rowGap: Pe(t, r)
1351
1054
  });
1352
1055
  return ae(e, e.rowGap, n);
1353
1056
  }
@@ -1357,55 +1060,55 @@ Ye.propTypes = process.env.NODE_ENV !== "production" ? {
1357
1060
  rowGap: ue
1358
1061
  } : {};
1359
1062
  Ye.filterProps = ["rowGap"];
1360
- const Br = B({
1063
+ const Mr = B({
1361
1064
  prop: "gridColumn"
1362
- }), zr = B({
1065
+ }), jr = B({
1363
1066
  prop: "gridRow"
1364
- }), Vr = B({
1067
+ }), kr = B({
1365
1068
  prop: "gridAutoFlow"
1366
- }), qr = B({
1069
+ }), Nr = B({
1367
1070
  prop: "gridAutoColumns"
1368
- }), Kr = B({
1071
+ }), Dr = B({
1369
1072
  prop: "gridAutoRows"
1370
- }), Gr = B({
1073
+ }), Fr = B({
1371
1074
  prop: "gridTemplateColumns"
1372
- }), Hr = B({
1075
+ }), Lr = B({
1373
1076
  prop: "gridTemplateRows"
1374
- }), Xr = B({
1077
+ }), Ur = B({
1375
1078
  prop: "gridTemplateAreas"
1376
- }), Jr = B({
1079
+ }), Wr = B({
1377
1080
  prop: "gridArea"
1378
1081
  });
1379
- Fe(Ue, We, Ye, Br, zr, Vr, qr, Kr, Gr, Hr, Xr, Jr);
1082
+ Fe(Ue, We, Ye, Mr, jr, kr, Nr, Dr, Fr, Lr, Ur, Wr);
1380
1083
  function Te(e, t) {
1381
1084
  return t === "grey" ? t : e;
1382
1085
  }
1383
- const Zr = B({
1086
+ const Yr = B({
1384
1087
  prop: "color",
1385
1088
  themeKey: "palette",
1386
1089
  transform: Te
1387
- }), Qr = B({
1090
+ }), Br = B({
1388
1091
  prop: "bgcolor",
1389
1092
  cssProperty: "backgroundColor",
1390
1093
  themeKey: "palette",
1391
1094
  transform: Te
1392
- }), en = B({
1095
+ }), zr = B({
1393
1096
  prop: "backgroundColor",
1394
1097
  themeKey: "palette",
1395
1098
  transform: Te
1396
1099
  });
1397
- Fe(Zr, Qr, en);
1100
+ Fe(Yr, Br, zr);
1398
1101
  function X(e) {
1399
1102
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1400
1103
  }
1401
- const tn = B({
1104
+ const Vr = B({
1402
1105
  prop: "width",
1403
1106
  transform: X
1404
1107
  }), rt = (e) => {
1405
1108
  if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1406
1109
  const t = (n) => {
1407
1110
  var r, o;
1408
- const i = ((r = e.theme) == null || (r = r.breakpoints) == null || (r = r.values) == null ? void 0 : r[n]) || tt[n];
1111
+ const i = ((r = e.theme) == null || (r = r.breakpoints) == null || (r = r.values) == null ? void 0 : r[n]) || et[n];
1409
1112
  return i ? ((o = e.theme) == null || (o = o.breakpoints) == null ? void 0 : o.unit) !== "px" ? {
1410
1113
  maxWidth: `${i}${e.theme.breakpoints.unit}`
1411
1114
  } : {
@@ -1419,16 +1122,16 @@ const tn = B({
1419
1122
  return null;
1420
1123
  };
1421
1124
  rt.filterProps = ["maxWidth"];
1422
- const rn = B({
1125
+ const qr = B({
1423
1126
  prop: "minWidth",
1424
1127
  transform: X
1425
- }), nn = B({
1128
+ }), Kr = B({
1426
1129
  prop: "height",
1427
1130
  transform: X
1428
- }), on = B({
1131
+ }), Gr = B({
1429
1132
  prop: "maxHeight",
1430
1133
  transform: X
1431
- }), sn = B({
1134
+ }), Hr = B({
1432
1135
  prop: "minHeight",
1433
1136
  transform: X
1434
1137
  });
@@ -1442,11 +1145,11 @@ B({
1442
1145
  cssProperty: "height",
1443
1146
  transform: X
1444
1147
  });
1445
- const an = B({
1148
+ const Xr = B({
1446
1149
  prop: "boxSizing"
1447
1150
  });
1448
- Fe(tn, rt, rn, nn, on, sn, an);
1449
- const cn = {
1151
+ Fe(Vr, rt, qr, Kr, Gr, Hr, Xr);
1152
+ const Jr = {
1450
1153
  // borders
1451
1154
  border: {
1452
1155
  themeKey: "borders",
@@ -1730,15 +1433,15 @@ const cn = {
1730
1433
  cssProperty: !1,
1731
1434
  themeKey: "typography"
1732
1435
  }
1733
- }, nt = cn;
1734
- function un(...e) {
1436
+ }, nt = Jr;
1437
+ function Zr(...e) {
1735
1438
  const t = e.reduce((r, o) => r.concat(Object.keys(o)), []), n = new Set(t);
1736
1439
  return e.every((r) => n.size === Object.keys(r).length);
1737
1440
  }
1738
- function fn(e, t) {
1441
+ function Qr(e, t) {
1739
1442
  return typeof e == "function" ? e(t) : e;
1740
1443
  }
1741
- function ln() {
1444
+ function en() {
1742
1445
  function e(n, r, o, i) {
1743
1446
  const s = {
1744
1447
  [n]: r,
@@ -1763,7 +1466,7 @@ function ln() {
1763
1466
  const l = ke(o, f) || {};
1764
1467
  return h ? h(s) : ae(s, r, (T) => {
1765
1468
  let m = je(l, y, T);
1766
- return T === m && typeof T == "string" && (m = je(l, y, `${n}${T === "default" ? "" : et(T)}`, T)), u === !1 ? m : {
1469
+ return T === m && typeof T == "string" && (m = je(l, y, `${n}${T === "default" ? "" : tt(T)}`, T)), u === !1 ? m : {
1767
1470
  [u]: m
1768
1471
  };
1769
1472
  });
@@ -1785,10 +1488,10 @@ function ln() {
1785
1488
  return u;
1786
1489
  if (!f)
1787
1490
  return null;
1788
- const y = Tr(i.breakpoints), h = Object.keys(y);
1491
+ const y = lr(i.breakpoints), h = Object.keys(y);
1789
1492
  let l = y;
1790
1493
  return Object.keys(f).forEach((E) => {
1791
- const T = fn(f[E], i);
1494
+ const T = Qr(f[E], i);
1792
1495
  if (T != null)
1793
1496
  if (typeof T == "object")
1794
1497
  if (s[E])
@@ -1799,70 +1502,337 @@ function ln() {
1799
1502
  }, T, (a) => ({
1800
1503
  [E]: a
1801
1504
  }));
1802
- un(m, T) ? l[E] = t({
1505
+ Zr(m, T) ? l[E] = t({
1803
1506
  sx: T,
1804
1507
  theme: i
1805
1508
  }) : l = _e(l, m);
1806
1509
  }
1807
1510
  else
1808
1511
  l = _e(l, e(E, T, i, s));
1809
- }), Sr(h, l);
1512
+ }), dr(h, l);
1513
+ }
1514
+ return Array.isArray(o) ? o.map(p) : p(o);
1515
+ }
1516
+ return t;
1517
+ }
1518
+ const Dt = en();
1519
+ Dt.filterProps = ["sx"];
1520
+ const ot = Dt;
1521
+ function tn(e, t) {
1522
+ const n = this;
1523
+ return n.vars && typeof n.getColorSchemeSelector == "function" ? {
1524
+ [n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/, "*:where($1)")]: t
1525
+ } : n.palette.mode === e ? t : {};
1526
+ }
1527
+ const rn = ["breakpoints", "palette", "spacing", "shape"];
1528
+ function it(e = {}, ...t) {
1529
+ const {
1530
+ breakpoints: n = {},
1531
+ palette: r = {},
1532
+ spacing: o,
1533
+ shape: i = {}
1534
+ } = e, s = se(e, rn), p = ar(n), u = Er(o);
1535
+ let f = ie({
1536
+ breakpoints: p,
1537
+ direction: "ltr",
1538
+ components: {},
1539
+ // Inject component definitions.
1540
+ palette: A({
1541
+ mode: "light"
1542
+ }, r),
1543
+ spacing: u,
1544
+ shape: A({}, ur, i)
1545
+ }, s);
1546
+ return f.applyStyles = tn, f = t.reduce((y, h) => ie(y, h), f), f.unstable_sxConfig = A({}, nt, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(h) {
1547
+ return ot({
1548
+ sx: h,
1549
+ theme: this
1550
+ });
1551
+ }, f;
1552
+ }
1553
+ function nn(e) {
1554
+ return Object.keys(e).length === 0;
1555
+ }
1556
+ function on(e = null) {
1557
+ const t = zt.useContext(Vt);
1558
+ return !t || nn(t) ? e : t;
1559
+ }
1560
+ const sn = it();
1561
+ function an(e = sn) {
1562
+ return on(e);
1563
+ }
1564
+ const vt = (e) => e, cn = () => {
1565
+ let e = vt;
1566
+ return {
1567
+ configure(t) {
1568
+ e = t;
1569
+ },
1570
+ generate(t) {
1571
+ return e(t);
1572
+ },
1573
+ reset() {
1574
+ e = vt;
1575
+ }
1576
+ };
1577
+ }, un = cn(), fn = un;
1578
+ function Ft(e) {
1579
+ var t, n, r = "";
1580
+ if (typeof e == "string" || typeof e == "number")
1581
+ r += e;
1582
+ else if (typeof e == "object")
1583
+ if (Array.isArray(e)) {
1584
+ var o = e.length;
1585
+ for (t = 0; t < o; t++)
1586
+ e[t] && (n = Ft(e[t])) && (r && (r += " "), r += n);
1587
+ } else
1588
+ for (n in e)
1589
+ e[n] && (r && (r += " "), r += n);
1590
+ return r;
1591
+ }
1592
+ function vo() {
1593
+ for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++)
1594
+ (e = arguments[n]) && (t = Ft(e)) && (r && (r += " "), r += t);
1595
+ return r;
1596
+ }
1597
+ const ln = {
1598
+ active: "active",
1599
+ checked: "checked",
1600
+ completed: "completed",
1601
+ disabled: "disabled",
1602
+ error: "error",
1603
+ expanded: "expanded",
1604
+ focused: "focused",
1605
+ focusVisible: "focusVisible",
1606
+ open: "open",
1607
+ readOnly: "readOnly",
1608
+ required: "required",
1609
+ selected: "selected"
1610
+ };
1611
+ function Lt(e, t, n = "Mui") {
1612
+ const r = ln[t];
1613
+ return r ? `${n}-${r}` : `${fn.generate(e)}-${t}`;
1614
+ }
1615
+ function Eo(e, t, n = "Mui") {
1616
+ const r = {};
1617
+ return t.forEach((o) => {
1618
+ r[o] = Lt(e, o, n);
1619
+ }), r;
1620
+ }
1621
+ var Ze = { exports: {} }, k = {};
1622
+ /**
1623
+ * @license React
1624
+ * react-is.production.min.js
1625
+ *
1626
+ * Copyright (c) Facebook, Inc. and its affiliates.
1627
+ *
1628
+ * This source code is licensed under the MIT license found in the
1629
+ * LICENSE file in the root directory of this source tree.
1630
+ */
1631
+ var Et;
1632
+ function dn() {
1633
+ if (Et)
1634
+ return k;
1635
+ Et = 1;
1636
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), p = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), T;
1637
+ T = Symbol.for("react.module.reference");
1638
+ function m(a) {
1639
+ if (typeof a == "object" && a !== null) {
1640
+ var w = a.$$typeof;
1641
+ switch (w) {
1642
+ case e:
1643
+ switch (a = a.type, a) {
1644
+ case n:
1645
+ case o:
1646
+ case r:
1647
+ case f:
1648
+ case y:
1649
+ return a;
1650
+ default:
1651
+ switch (a = a && a.$$typeof, a) {
1652
+ case p:
1653
+ case s:
1654
+ case u:
1655
+ case l:
1656
+ case h:
1657
+ case i:
1658
+ return a;
1659
+ default:
1660
+ return w;
1661
+ }
1662
+ }
1663
+ case t:
1664
+ return w;
1665
+ }
1810
1666
  }
1811
- return Array.isArray(o) ? o.map(p) : p(o);
1812
1667
  }
1813
- return t;
1668
+ return k.ContextConsumer = s, k.ContextProvider = i, k.Element = e, k.ForwardRef = u, k.Fragment = n, k.Lazy = l, k.Memo = h, k.Portal = t, k.Profiler = o, k.StrictMode = r, k.Suspense = f, k.SuspenseList = y, k.isAsyncMode = function() {
1669
+ return !1;
1670
+ }, k.isConcurrentMode = function() {
1671
+ return !1;
1672
+ }, k.isContextConsumer = function(a) {
1673
+ return m(a) === s;
1674
+ }, k.isContextProvider = function(a) {
1675
+ return m(a) === i;
1676
+ }, k.isElement = function(a) {
1677
+ return typeof a == "object" && a !== null && a.$$typeof === e;
1678
+ }, k.isForwardRef = function(a) {
1679
+ return m(a) === u;
1680
+ }, k.isFragment = function(a) {
1681
+ return m(a) === n;
1682
+ }, k.isLazy = function(a) {
1683
+ return m(a) === l;
1684
+ }, k.isMemo = function(a) {
1685
+ return m(a) === h;
1686
+ }, k.isPortal = function(a) {
1687
+ return m(a) === t;
1688
+ }, k.isProfiler = function(a) {
1689
+ return m(a) === o;
1690
+ }, k.isStrictMode = function(a) {
1691
+ return m(a) === r;
1692
+ }, k.isSuspense = function(a) {
1693
+ return m(a) === f;
1694
+ }, k.isSuspenseList = function(a) {
1695
+ return m(a) === y;
1696
+ }, k.isValidElementType = function(a) {
1697
+ return typeof a == "string" || typeof a == "function" || a === n || a === o || a === r || a === f || a === y || a === E || typeof a == "object" && a !== null && (a.$$typeof === l || a.$$typeof === h || a.$$typeof === i || a.$$typeof === s || a.$$typeof === u || a.$$typeof === T || a.getModuleId !== void 0);
1698
+ }, k.typeOf = m, k;
1814
1699
  }
1815
- const Wt = ln();
1816
- Wt.filterProps = ["sx"];
1817
- const ot = Wt;
1818
- function dn(e, t) {
1819
- const n = this;
1820
- return n.vars && typeof n.getColorSchemeSelector == "function" ? {
1821
- [n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/, "*:where($1)")]: t
1822
- } : n.palette.mode === e ? t : {};
1700
+ var N = {};
1701
+ /**
1702
+ * @license React
1703
+ * react-is.development.js
1704
+ *
1705
+ * Copyright (c) Facebook, Inc. and its affiliates.
1706
+ *
1707
+ * This source code is licensed under the MIT license found in the
1708
+ * LICENSE file in the root directory of this source tree.
1709
+ */
1710
+ var Tt;
1711
+ function pn() {
1712
+ return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && function() {
1713
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), p = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), T = !1, m = !1, a = !1, w = !1, V = !1, D;
1714
+ D = Symbol.for("react.module.reference");
1715
+ function F(v) {
1716
+ return !!(typeof v == "string" || typeof v == "function" || v === n || v === o || V || v === r || v === f || v === y || w || v === E || T || m || a || typeof v == "object" && v !== null && (v.$$typeof === l || v.$$typeof === h || v.$$typeof === i || v.$$typeof === s || v.$$typeof === u || // This needs to include all possible module reference object
1717
+ // types supported by any Flight configuration anywhere since
1718
+ // we don't know which Flight build this will end up being used
1719
+ // with.
1720
+ v.$$typeof === D || v.getModuleId !== void 0));
1721
+ }
1722
+ function c(v) {
1723
+ if (typeof v == "object" && v !== null) {
1724
+ var ye = v.$$typeof;
1725
+ switch (ye) {
1726
+ case e:
1727
+ var Ce = v.type;
1728
+ switch (Ce) {
1729
+ case n:
1730
+ case o:
1731
+ case r:
1732
+ case f:
1733
+ case y:
1734
+ return Ce;
1735
+ default:
1736
+ var at = Ce && Ce.$$typeof;
1737
+ switch (at) {
1738
+ case p:
1739
+ case s:
1740
+ case u:
1741
+ case l:
1742
+ case h:
1743
+ case i:
1744
+ return at;
1745
+ default:
1746
+ return ye;
1747
+ }
1748
+ }
1749
+ case t:
1750
+ return ye;
1751
+ }
1752
+ }
1753
+ }
1754
+ var z = s, re = i, ee = e, ce = u, ne = n, Y = l, q = h, te = t, H = o, fe = r, G = f, oe = y, le = !1, me = !1;
1755
+ function d(v) {
1756
+ return le || (le = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1757
+ }
1758
+ function b(v) {
1759
+ return me || (me = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1760
+ }
1761
+ function $(v) {
1762
+ return c(v) === s;
1763
+ }
1764
+ function x(v) {
1765
+ return c(v) === i;
1766
+ }
1767
+ function S(v) {
1768
+ return typeof v == "object" && v !== null && v.$$typeof === e;
1769
+ }
1770
+ function R(v) {
1771
+ return c(v) === u;
1772
+ }
1773
+ function O(v) {
1774
+ return c(v) === n;
1775
+ }
1776
+ function _(v) {
1777
+ return c(v) === l;
1778
+ }
1779
+ function P(v) {
1780
+ return c(v) === h;
1781
+ }
1782
+ function I(v) {
1783
+ return c(v) === t;
1784
+ }
1785
+ function C(v) {
1786
+ return c(v) === o;
1787
+ }
1788
+ function K(v) {
1789
+ return c(v) === r;
1790
+ }
1791
+ function g(v) {
1792
+ return c(v) === f;
1793
+ }
1794
+ function J(v) {
1795
+ return c(v) === y;
1796
+ }
1797
+ N.ContextConsumer = z, N.ContextProvider = re, N.Element = ee, N.ForwardRef = ce, N.Fragment = ne, N.Lazy = Y, N.Memo = q, N.Portal = te, N.Profiler = H, N.StrictMode = fe, N.Suspense = G, N.SuspenseList = oe, N.isAsyncMode = d, N.isConcurrentMode = b, N.isContextConsumer = $, N.isContextProvider = x, N.isElement = S, N.isForwardRef = R, N.isFragment = O, N.isLazy = _, N.isMemo = P, N.isPortal = I, N.isProfiler = C, N.isStrictMode = K, N.isSuspense = g, N.isSuspenseList = J, N.isValidElementType = F, N.typeOf = c;
1798
+ }()), N;
1823
1799
  }
1824
- const pn = ["breakpoints", "palette", "spacing", "shape"];
1825
- function it(e = {}, ...t) {
1826
- const {
1827
- breakpoints: n = {},
1828
- palette: r = {},
1829
- spacing: o,
1830
- shape: i = {}
1831
- } = e, s = se(e, pn), p = gr(n), u = Cr(o);
1832
- let f = ie({
1833
- breakpoints: p,
1834
- direction: "ltr",
1835
- components: {},
1836
- // Inject component definitions.
1837
- palette: A({
1838
- mode: "light"
1839
- }, r),
1840
- spacing: u,
1841
- shape: A({}, vr, i)
1842
- }, s);
1843
- return f.applyStyles = dn, f = t.reduce((y, h) => ie(y, h), f), f.unstable_sxConfig = A({}, nt, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(h) {
1844
- return ot({
1845
- sx: h,
1846
- theme: this
1847
- });
1848
- }, f;
1800
+ process.env.NODE_ENV === "production" ? Ze.exports = dn() : Ze.exports = pn();
1801
+ var St = Ze.exports;
1802
+ const mn = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
1803
+ function yn(e) {
1804
+ const t = `${e}`.match(mn);
1805
+ return t && t[1] || "";
1849
1806
  }
1850
- function mn(e) {
1851
- return Object.keys(e).length === 0;
1807
+ function Ut(e, t = "") {
1808
+ return e.displayName || e.name || yn(e) || t;
1852
1809
  }
1853
- function yn(e = null) {
1854
- const t = qt.useContext(Vt);
1855
- return !t || mn(t) ? e : t;
1810
+ function Ot(e, t, n) {
1811
+ const r = Ut(t);
1812
+ return e.displayName || (r !== "" ? `${n}(${r})` : n);
1856
1813
  }
1857
- const hn = it();
1858
- function gn(e = hn) {
1859
- return yn(e);
1814
+ function hn(e) {
1815
+ if (e != null) {
1816
+ if (typeof e == "string")
1817
+ return e;
1818
+ if (typeof e == "function")
1819
+ return Ut(e, "Component");
1820
+ if (typeof e == "object")
1821
+ switch (e.$$typeof) {
1822
+ case St.ForwardRef:
1823
+ return Ot(e, e.render, "ForwardRef");
1824
+ case St.Memo:
1825
+ return Ot(e, e.type, "memo");
1826
+ default:
1827
+ return;
1828
+ }
1829
+ }
1860
1830
  }
1861
- const bn = ["ownerState"], vn = ["variants"], En = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
1862
- function Tn(e) {
1831
+ const gn = ["ownerState"], bn = ["variants"], vn = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
1832
+ function En(e) {
1863
1833
  return Object.keys(e).length === 0;
1864
1834
  }
1865
- function Sn(e) {
1835
+ function Tn(e) {
1866
1836
  return typeof e == "string" && // 96 is one less than the char code
1867
1837
  // for "a" so this is checking that
1868
1838
  // it's a lowercase character
@@ -1871,21 +1841,21 @@ function Sn(e) {
1871
1841
  function $e(e) {
1872
1842
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
1873
1843
  }
1874
- const On = it(), xt = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
1844
+ const Sn = it(), xt = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
1875
1845
  function Ie({
1876
1846
  defaultTheme: e,
1877
1847
  theme: t,
1878
1848
  themeId: n
1879
1849
  }) {
1880
- return Tn(t) ? e : t[n] || t;
1850
+ return En(t) ? e : t[n] || t;
1881
1851
  }
1882
- function xn(e) {
1852
+ function On(e) {
1883
1853
  return e ? (t, n) => n[e] : null;
1884
1854
  }
1885
1855
  function Me(e, t) {
1886
1856
  let {
1887
1857
  ownerState: n
1888
- } = t, r = se(t, bn);
1858
+ } = t, r = se(t, gn);
1889
1859
  const o = typeof e == "function" ? e(A({
1890
1860
  ownerState: n
1891
1861
  }, r)) : e;
@@ -1897,7 +1867,7 @@ function Me(e, t) {
1897
1867
  const {
1898
1868
  variants: i = []
1899
1869
  } = o;
1900
- let p = se(o, vn);
1870
+ let p = se(o, bn);
1901
1871
  return i.forEach((u) => {
1902
1872
  let f = !0;
1903
1873
  typeof u.props == "function" ? f = u.props(A({
@@ -1911,10 +1881,10 @@ function Me(e, t) {
1911
1881
  }
1912
1882
  return o;
1913
1883
  }
1914
- function _n(e = {}) {
1884
+ function xn(e = {}) {
1915
1885
  const {
1916
1886
  themeId: t,
1917
- defaultTheme: n = On,
1887
+ defaultTheme: n = Sn,
1918
1888
  rootShouldForwardProp: r = $e,
1919
1889
  slotShouldForwardProp: o = $e
1920
1890
  } = e, i = (s) => ot(A({}, s, {
@@ -1924,7 +1894,7 @@ function _n(e = {}) {
1924
1894
  }))
1925
1895
  }));
1926
1896
  return i.__mui_systemSx = !0, (s, p = {}) => {
1927
- mr(s, (c) => c.filter((z) => !(z != null && z.__mui_systemSx)));
1897
+ or(s, (c) => c.filter((z) => !(z != null && z.__mui_systemSx)));
1928
1898
  const {
1929
1899
  name: u,
1930
1900
  slot: f,
@@ -1932,18 +1902,18 @@ function _n(e = {}) {
1932
1902
  skipSx: h,
1933
1903
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
1934
1904
  // For more details: https://github.com/mui/material-ui/pull/37908
1935
- overridesResolver: l = xn(xt(f))
1936
- } = p, E = se(p, En), T = y !== void 0 ? y : (
1905
+ overridesResolver: l = On(xt(f))
1906
+ } = p, E = se(p, vn), T = y !== void 0 ? y : (
1937
1907
  // TODO v6: remove `Root` in the next major release
1938
1908
  // For more details: https://github.com/mui/material-ui/pull/37908
1939
1909
  f && f !== "Root" && f !== "root" || !1
1940
1910
  ), m = h || !1;
1941
1911
  let a;
1942
1912
  process.env.NODE_ENV !== "production" && u && (a = `${u}-${xt(f || "Root")}`);
1943
- let R = $e;
1944
- f === "Root" || f === "root" ? R = r : f ? R = o : Sn(s) && (R = void 0);
1945
- const V = pr(s, A({
1946
- shouldForwardProp: R,
1913
+ let w = $e;
1914
+ f === "Root" || f === "root" ? w = r : f ? w = o : Tn(s) && (w = void 0);
1915
+ const V = nr(s, A({
1916
+ shouldForwardProp: w,
1947
1917
  label: a
1948
1918
  }, E)), D = (c) => typeof c == "function" && c.__emotion_real !== c || de(c) ? (z) => Me(c, A({}, z, {
1949
1919
  theme: Ie({
@@ -1987,38 +1957,55 @@ function _n(e = {}) {
1987
1957
  const ne = V(re, ...ee);
1988
1958
  if (process.env.NODE_ENV !== "production") {
1989
1959
  let Y;
1990
- u && (Y = `${u}${et(f || "")}`), Y === void 0 && (Y = `Styled(${ar(s)})`), ne.displayName = Y;
1960
+ u && (Y = `${u}${tt(f || "")}`), Y === void 0 && (Y = `Styled(${hn(s)})`), ne.displayName = Y;
1991
1961
  }
1992
1962
  return s.muiName && (ne.muiName = s.muiName), ne;
1993
1963
  };
1994
1964
  return V.withConfig && (F.withConfig = V.withConfig), F;
1995
1965
  };
1996
1966
  }
1997
- function $n(e) {
1967
+ function Wt(e, t) {
1968
+ const n = A({}, t);
1969
+ return Object.keys(e).forEach((r) => {
1970
+ if (r.toString().match(/^(components|slots)$/))
1971
+ n[r] = A({}, e[r], n[r]);
1972
+ else if (r.toString().match(/^(componentsProps|slotProps)$/)) {
1973
+ const o = e[r] || {}, i = t[r];
1974
+ n[r] = {}, !i || !Object.keys(i) ? n[r] = o : !o || !Object.keys(o) ? n[r] = i : (n[r] = A({}, i), Object.keys(o).forEach((s) => {
1975
+ n[r][s] = Wt(o[s], i[s]);
1976
+ }));
1977
+ } else
1978
+ n[r] === void 0 && (n[r] = e[r]);
1979
+ }), n;
1980
+ }
1981
+ function _n(e) {
1998
1982
  const {
1999
1983
  theme: t,
2000
1984
  name: n,
2001
1985
  props: r
2002
1986
  } = e;
2003
- return !t || !t.components || !t.components[n] || !t.components[n].defaultProps ? r : Dt(t.components[n].defaultProps, r);
1987
+ return !t || !t.components || !t.components[n] || !t.components[n].defaultProps ? r : Wt(t.components[n].defaultProps, r);
2004
1988
  }
2005
- function Rn({
1989
+ function $n({
2006
1990
  props: e,
2007
1991
  name: t,
2008
1992
  defaultTheme: n,
2009
1993
  themeId: r
2010
1994
  }) {
2011
- let o = gn(n);
2012
- return r && (o = o[r] || o), $n({
1995
+ let o = an(n);
1996
+ return r && (o = o[r] || o), _n({
2013
1997
  theme: o,
2014
1998
  name: t,
2015
1999
  props: e
2016
2000
  });
2017
2001
  }
2002
+ function wn(e, t = Number.MIN_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER) {
2003
+ return Math.max(t, Math.min(e, n));
2004
+ }
2018
2005
  function st(e, t = 0, n = 1) {
2019
- return process.env.NODE_ENV !== "production" && (e < t || e > n) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`), dr(e, t, n);
2006
+ return process.env.NODE_ENV !== "production" && (e < t || e > n) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`), wn(e, t, n);
2020
2007
  }
2021
- function Pn(e) {
2008
+ function Rn(e) {
2022
2009
  e = e.slice(1);
2023
2010
  const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
2024
2011
  let n = e.match(t);
@@ -2028,7 +2015,7 @@ function pe(e) {
2028
2015
  if (e.type)
2029
2016
  return e;
2030
2017
  if (e.charAt(0) === "#")
2031
- return pe(Pn(e));
2018
+ return pe(Rn(e));
2032
2019
  const t = e.indexOf("("), n = e.substring(0, t);
2033
2020
  if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(n) === -1)
2034
2021
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
@@ -2056,7 +2043,7 @@ function Be(e) {
2056
2043
  } = e;
2057
2044
  return t.indexOf("rgb") !== -1 ? r = r.map((o, i) => i < 3 ? parseInt(o, 10) : o) : t.indexOf("hsl") !== -1 && (r[1] = `${r[1]}%`, r[2] = `${r[2]}%`), t.indexOf("color") !== -1 ? r = `${n} ${r.join(" ")}` : r = `${r.join(", ")}`, `${t}(${r})`;
2058
2045
  }
2059
- function wn(e) {
2046
+ function Pn(e) {
2060
2047
  e = pe(e);
2061
2048
  const {
2062
2049
  values: t
@@ -2070,7 +2057,7 @@ function wn(e) {
2070
2057
  }
2071
2058
  function _t(e) {
2072
2059
  e = pe(e);
2073
- let t = e.type === "hsl" || e.type === "hsla" ? pe(wn(e)).values : e.values;
2060
+ let t = e.type === "hsl" || e.type === "hsla" ? pe(Pn(e)).values : e.values;
2074
2061
  return t = t.map((n) => (e.type !== "color" && (n /= 255), n <= 0.03928 ? n / 12.92 : ((n + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
2075
2062
  }
2076
2063
  function $t(e, t) {
@@ -2099,6 +2086,23 @@ function An(e, t) {
2099
2086
  e.values[n] += (1 - e.values[n]) * t;
2100
2087
  return Be(e);
2101
2088
  }
2089
+ function So(e, t, n = void 0) {
2090
+ const r = {};
2091
+ return Object.keys(e).forEach(
2092
+ // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
2093
+ // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
2094
+ (o) => {
2095
+ r[o] = e[o].reduce((i, s) => {
2096
+ if (s) {
2097
+ const p = t(s);
2098
+ p !== "" && i.push(p), n && n[s] && i.push(n[s]);
2099
+ }
2100
+ return i;
2101
+ }, []).join(" ");
2102
+ }
2103
+ ), r;
2104
+ }
2105
+ const Yt = "$$material";
2102
2106
  function In(e, t) {
2103
2107
  return A({
2104
2108
  toolbar: {
@@ -2117,7 +2121,7 @@ function In(e, t) {
2117
2121
  const Mn = {
2118
2122
  black: "#000",
2119
2123
  white: "#fff"
2120
- }, Re = Mn, jn = {
2124
+ }, we = Mn, jn = {
2121
2125
  50: "#fafafa",
2122
2126
  100: "#f5f5f5",
2123
2127
  200: "#eeeeee",
@@ -2222,7 +2226,7 @@ const Mn = {
2222
2226
  A200: "#69f0ae",
2223
2227
  A400: "#00e676",
2224
2228
  A700: "#00c853"
2225
- }, Ee = Wn, Yn = ["mode", "contrastThreshold", "tonalOffset"], Rt = {
2229
+ }, Ee = Wn, Yn = ["mode", "contrastThreshold", "tonalOffset"], wt = {
2226
2230
  // The colors used to style the text.
2227
2231
  text: {
2228
2232
  // The most important text.
@@ -2237,8 +2241,8 @@ const Mn = {
2237
2241
  // The background colors used to style the surfaces.
2238
2242
  // Consistency between these values is important.
2239
2243
  background: {
2240
- paper: Re.white,
2241
- default: Re.white
2244
+ paper: we.white,
2245
+ default: we.white
2242
2246
  },
2243
2247
  // The colors used to style the action elements.
2244
2248
  action: {
@@ -2261,7 +2265,7 @@ const Mn = {
2261
2265
  }
2262
2266
  }, Xe = {
2263
2267
  text: {
2264
- primary: Re.white,
2268
+ primary: we.white,
2265
2269
  secondary: "rgba(255, 255, 255, 0.7)",
2266
2270
  disabled: "rgba(255, 255, 255, 0.5)",
2267
2271
  icon: "rgba(255, 255, 255, 0.5)"
@@ -2272,7 +2276,7 @@ const Mn = {
2272
2276
  default: "#121212"
2273
2277
  },
2274
2278
  action: {
2275
- active: Re.white,
2279
+ active: we.white,
2276
2280
  hover: "rgba(255, 255, 255, 0.08)",
2277
2281
  hoverOpacity: 0.08,
2278
2282
  selected: "rgba(255, 255, 255, 0.16)",
@@ -2285,7 +2289,7 @@ const Mn = {
2285
2289
  activatedOpacity: 0.24
2286
2290
  }
2287
2291
  };
2288
- function Pt(e, t, n, r) {
2292
+ function Rt(e, t, n, r) {
2289
2293
  const o = r.light || r, i = r.dark || r * 1.5;
2290
2294
  e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = An(e.main, o) : t === "dark" && (e.dark = Cn(e.main, i)));
2291
2295
  }
@@ -2363,10 +2367,10 @@ function Hn(e) {
2363
2367
  tonalOffset: r = 0.2
2364
2368
  } = e, o = se(e, Yn), i = e.primary || Bn(t), s = e.secondary || zn(t), p = e.error || Vn(t), u = e.info || qn(t), f = e.success || Kn(t), y = e.warning || Gn(t);
2365
2369
  function h(m) {
2366
- const a = $t(m, Xe.text.primary) >= n ? Xe.text.primary : Rt.text.primary;
2370
+ const a = $t(m, Xe.text.primary) >= n ? Xe.text.primary : wt.text.primary;
2367
2371
  if (process.env.NODE_ENV !== "production") {
2368
- const R = $t(m, a);
2369
- R < 3 && console.error([`MUI: The contrast ratio of ${R}:1 for ${a} on ${m}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
2372
+ const w = $t(m, a);
2373
+ w < 3 && console.error([`MUI: The contrast ratio of ${w}:1 for ${a} on ${m}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
2370
2374
  `));
2371
2375
  }
2372
2376
  return a;
@@ -2374,13 +2378,13 @@ function Hn(e) {
2374
2378
  const l = ({
2375
2379
  color: m,
2376
2380
  name: a,
2377
- mainShade: R = 500,
2381
+ mainShade: w = 500,
2378
2382
  lightShade: V = 300,
2379
2383
  darkShade: D = 700
2380
2384
  }) => {
2381
- if (m = A({}, m), !m.main && m[R] && (m.main = m[R]), !m.hasOwnProperty("main"))
2385
+ if (m = A({}, m), !m.main && m[w] && (m.main = m[w]), !m.hasOwnProperty("main"))
2382
2386
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${a ? ` (${a})` : ""} provided to augmentColor(color) is invalid.
2383
- The color object needs to have a \`main\` property or a \`${R}\` property.` : Se(11, a ? ` (${a})` : "", R));
2387
+ The color object needs to have a \`main\` property or a \`${w}\` property.` : Se(11, a ? ` (${a})` : "", w));
2384
2388
  if (typeof m.main != "string")
2385
2389
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${a ? ` (${a})` : ""} provided to augmentColor(color) is invalid.
2386
2390
  \`color.main\` should be a string, but \`${JSON.stringify(m.main)}\` was provided instead.
@@ -2396,14 +2400,14 @@ const theme1 = createTheme({ palette: {
2396
2400
  const theme2 = createTheme({ palette: {
2397
2401
  primary: { main: green[500] },
2398
2402
  } });` : Se(12, a ? ` (${a})` : "", JSON.stringify(m.main)));
2399
- return Pt(m, "light", V, r), Pt(m, "dark", D, r), m.contrastText || (m.contrastText = h(m.main)), m;
2403
+ return Rt(m, "light", V, r), Rt(m, "dark", D, r), m.contrastText || (m.contrastText = h(m.main)), m;
2400
2404
  }, E = {
2401
2405
  dark: Xe,
2402
- light: Rt
2406
+ light: wt
2403
2407
  };
2404
2408
  return process.env.NODE_ENV !== "production" && (E[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), ie(A({
2405
2409
  // A collection of common colors.
2406
- common: A({}, Re),
2410
+ common: A({}, we),
2407
2411
  // prevent mutable object.
2408
2412
  // The palette mode, can be light or dark.
2409
2413
  mode: t,
@@ -2459,7 +2463,7 @@ const Xn = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "f
2459
2463
  function Jn(e) {
2460
2464
  return Math.round(e * 1e5) / 1e5;
2461
2465
  }
2462
- const wt = {
2466
+ const Pt = {
2463
2467
  textTransform: "uppercase"
2464
2468
  }, Ct = '"Roboto", "Helvetica", "Arial", sans-serif';
2465
2469
  function Zn(e, t) {
@@ -2480,9 +2484,9 @@ function Zn(e, t) {
2480
2484
  pxToRem: h
2481
2485
  } = n, l = se(n, Xn);
2482
2486
  process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
2483
- const E = o / 14, T = h || ((R) => `${R / f * E}rem`), m = (R, V, D, F, c) => A({
2487
+ const E = o / 14, T = h || ((w) => `${w / f * E}rem`), m = (w, V, D, F, c) => A({
2484
2488
  fontFamily: r,
2485
- fontWeight: R,
2489
+ fontWeight: w,
2486
2490
  fontSize: T(V),
2487
2491
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
2488
2492
  lineHeight: D
@@ -2499,9 +2503,9 @@ function Zn(e, t) {
2499
2503
  subtitle2: m(p, 14, 1.57, 0.1),
2500
2504
  body1: m(s, 16, 1.5, 0.15),
2501
2505
  body2: m(s, 14, 1.43, 0.15),
2502
- button: m(p, 14, 1.75, 0.4, wt),
2506
+ button: m(p, 14, 1.75, 0.4, Pt),
2503
2507
  caption: m(s, 12, 1.66, 0.4),
2504
- overline: m(s, 12, 2.66, 1, wt),
2508
+ overline: m(s, 12, 2.66, 1, Pt),
2505
2509
  // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
2506
2510
  inherit: {
2507
2511
  fontFamily: "inherit",
@@ -2619,7 +2623,7 @@ function lo(e = {}, ...t) {
2619
2623
  const m = l[T];
2620
2624
  if (y.indexOf(T) !== -1 && Object.keys(m).length > 0) {
2621
2625
  if (process.env.NODE_ENV !== "production") {
2622
- const a = Ft("", T);
2626
+ const a = Lt("", T);
2623
2627
  console.error([`MUI: The \`${E}\` component increases the CSS specificity of the \`${T}\` internal state.`, "You can not override it like this: ", JSON.stringify(l, null, 2), "", `Instead, you need to use the '&.${a}' syntax:`, JSON.stringify({
2624
2628
  root: {
2625
2629
  [`&.${a}`]: m
@@ -2643,48 +2647,54 @@ function lo(e = {}, ...t) {
2643
2647
  });
2644
2648
  }, f;
2645
2649
  }
2646
- const po = lo(), Yt = po, Bt = "$$material", mo = (e) => $e(e) && e !== "classes", So = $e, Oo = _n({
2647
- themeId: Bt,
2648
- defaultTheme: Yt,
2649
- rootShouldForwardProp: mo
2650
- });
2651
- function xo({
2650
+ const po = lo(), Bt = po;
2651
+ function Oo({
2652
2652
  props: e,
2653
2653
  name: t
2654
2654
  }) {
2655
- return Rn({
2655
+ return $n({
2656
2656
  props: e,
2657
2657
  name: t,
2658
- defaultTheme: Yt,
2659
- themeId: Bt
2658
+ defaultTheme: Bt,
2659
+ themeId: Yt
2660
2660
  });
2661
2661
  }
2662
+ const mo = (e) => $e(e) && e !== "classes", xo = $e, _o = xn({
2663
+ themeId: Yt,
2664
+ defaultTheme: Bt,
2665
+ rootShouldForwardProp: mo
2666
+ });
2662
2667
  export {
2663
- fr as C,
2668
+ Kt as A,
2669
+ _n as B,
2670
+ fn as C,
2664
2671
  Oe as P,
2665
- Bt as T,
2672
+ Yt as T,
2666
2673
  A as _,
2667
- Ft as a,
2668
- xo as b,
2669
- et as c,
2670
- Yt as d,
2671
- se as e,
2672
- bo as f,
2673
- Eo as g,
2674
+ Eo as a,
2675
+ To as b,
2676
+ tt as c,
2677
+ Bt as d,
2678
+ Oo as e,
2679
+ se as f,
2680
+ Lt as g,
2674
2681
  vo as h,
2675
- To as i,
2676
- pr as j,
2682
+ So as i,
2683
+ nr as j,
2677
2684
  ot as k,
2678
2685
  lo as l,
2679
2686
  nt as m,
2680
2687
  de as n,
2681
- Dt as o,
2682
- go as p,
2688
+ Wt as o,
2689
+ bo as p,
2683
2690
  Se as q,
2684
2691
  mo as r,
2685
- Oo as s,
2686
- vt as t,
2687
- gn as u,
2692
+ _o as s,
2693
+ St as t,
2694
+ an as u,
2688
2695
  ie as v,
2689
- So as w
2696
+ xo as w,
2697
+ ln as x,
2698
+ on as y,
2699
+ go as z
2690
2700
  };