@solostylist/ui-kit 1.0.69 → 1.0.70

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 (83) hide show
  1. package/dist/{Box-6v9dDzdR.js → Box-reWd7MO-.js} +16 -16
  2. package/dist/{Close-Cq0bfDqS.js → Close-CVFQMMUW.js} +2 -2
  3. package/dist/{HelpOutlineOutlined-CrsJM_1C.js → HelpOutlineOutlined-Dw_XSjYK.js} +2 -2
  4. package/dist/{Menu-C3Ku2lqS.js → Menu-CGTDGEoX.js} +23 -23
  5. package/dist/{MenuItem-ODcKB-fe.js → MenuItem-Bdna3McP.js} +84 -86
  6. package/dist/{Select-CukDtghB.js → Select-D54ugORZ.js} +473 -466
  7. package/dist/{Stack-DvJ0EY9Z.js → Stack-ISlVeD89.js} +23 -24
  8. package/dist/{TransitionGroup-D2o-MIVr.js → TransitionGroup-DuMpOHcM.js} +1 -1
  9. package/dist/{Typography-BnBI5JmA.js → Typography-D38zoHJr.js} +42 -44
  10. package/dist/{buttonBaseClasses-jvvoR1a5.js → buttonBaseClasses-CF7RfAgE.js} +2 -2
  11. package/dist/{chipClasses-DCs-mJQc.js → chipClasses-WFcUH6gU.js} +2 -2
  12. package/dist/chunk-5P46WS5M-OG9gpzOE.js +4862 -0
  13. package/dist/clsx-OuTLNxxd.js +16 -0
  14. package/dist/createSvgIcon-DN-sh_sr.js +520 -0
  15. package/dist/createTheme-DuP3DZSF.js +3005 -0
  16. package/dist/defaultTheme-BDQAWvCM.js +55 -0
  17. package/dist/{extendSxProp-B_wB9j9Z.js → extendSxProp-KtEeHd8h.js} +1 -1
  18. package/dist/{generateUtilityClasses-DMkCz287.js → generateUtilityClasses-BpNk3DNr.js} +2 -2
  19. package/dist/{iconButtonClasses-FfLS-X2M.js → iconButtonClasses-DMst1jJO.js} +2 -2
  20. package/dist/identifier-BKLqN993.js +4 -0
  21. package/dist/{index-Bs0mGmsj.js → index-x815ub0T.js} +46 -40
  22. package/dist/{jsx-runtime-C5mzlN2N.js → jsx-runtime-DywqP_6a.js} +13 -13
  23. package/dist/{outlinedInputClasses-rfxFh721.js → outlinedInputClasses-E4FwVkZh.js} +2 -2
  24. package/dist/s-autocomplete/s-autocomplete.js +1 -1
  25. package/dist/s-button-link/s-button-link.js +1 -1
  26. package/dist/s-checkbox/s-checkbox.js +1 -1
  27. package/dist/s-chips/s-chips.js +1 -1
  28. package/dist/s-copilot-kit-provider/s-copilot-kit-provider.js +2 -2
  29. package/dist/s-data-table/s-data-table.js +271 -270
  30. package/dist/s-date-picker/s-date-picker.js +28 -30
  31. package/dist/s-datetime-picker/s-datetime-picker.js +655 -657
  32. package/dist/s-dialog/s-dialog.js +2 -2
  33. package/dist/s-dialog-confirm/s-dialog-confirm.js +3 -3
  34. package/dist/s-dialog-message/s-dialog-message.js +3 -3
  35. package/dist/s-empty/s-empty.js +1 -1
  36. package/dist/s-error/s-error.js +1 -1
  37. package/dist/s-file-dropzone/s-file-dropzone.js +5 -5
  38. package/dist/s-file-icon/s-file-icon.js +2 -2
  39. package/dist/s-form/s-form.js +2 -2
  40. package/dist/s-glow-button/s-glow-button.js +1 -1
  41. package/dist/s-gradient-icon/s-gradient-icon.js +1 -1
  42. package/dist/s-i18n-provider/s-i18n-provider.js +1 -1
  43. package/dist/s-icon-button/s-icon-button.js +1 -1
  44. package/dist/s-label/s-label.js +2 -2
  45. package/dist/s-localization-provider/s-localization-provider.js +196 -199
  46. package/dist/s-moving-border/s-moving-border.js +1 -1
  47. package/dist/s-multi-select/s-multi-select.js +4 -4
  48. package/dist/s-no-ssr/s-no-ssr.js +1 -1
  49. package/dist/s-pagination/s-pagination.js +1 -1
  50. package/dist/s-select/s-select.js +1 -1
  51. package/dist/s-skeleton/s-skeleton.js +1 -1
  52. package/dist/s-smart-text-field/s-smart-text-field.js +4252 -4226
  53. package/dist/s-snackbar-message/s-snackbar-message.js +1 -1
  54. package/dist/s-stripe/s-stripe.js +1 -1
  55. package/dist/s-stripe/stripe-input.js +1 -1
  56. package/dist/s-text-editor/s-text-editor-toolbar.js +5 -5
  57. package/dist/s-text-editor/s-text-editor.js +2 -2
  58. package/dist/s-text-field/s-text-field.js +1 -1
  59. package/dist/s-text-truncation/s-text-truncation.js +1 -1
  60. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  61. package/dist/s-tip/s-tip.js +4 -4
  62. package/dist/{tabClasses-PH6lKUvl.js → tabClasses-LXCeUS4i.js} +2 -2
  63. package/dist/theme/components/avatar.js +2 -2
  64. package/dist/theme/customizations/data-display.js +8 -8
  65. package/dist/theme/customizations/feedback.js +1 -1
  66. package/dist/theme/customizations/inputs.js +5 -5
  67. package/dist/theme/customizations/navigation.js +4 -4
  68. package/dist/theme/customizations/surfaces.js +1 -1
  69. package/dist/theme/theme-primitives.js +1 -1
  70. package/dist/{typographyClasses-ZiwLh_jE.js → typographyClasses-QAKcrTAX.js} +2 -2
  71. package/dist/{useMobilePicker-BzxyifzK.js → useMobilePicker-DlmTFHhN.js} +2811 -2789
  72. package/dist/{useSlot-C4SHe-Bx.js → useSlot-CiHsL61G.js} +134 -134
  73. package/dist/{useTheme-Bn9C3FUK.js → useTheme-Dy5JmnOe.js} +1 -1
  74. package/dist/{useThemeProps-BUFb1TtB.js → useThemeProps-BGjjVPlJ.js} +2 -2
  75. package/dist/utils/dayjs.js +14 -14
  76. package/dist/{warning-D7W5-6D5.js → warning-DWsjz4u6.js} +5 -5
  77. package/package.json +3 -3
  78. package/dist/chunk-GIMSRCVW-DUi-T6vz.js +0 -10072
  79. package/dist/createSvgIcon-BTLVR-ad.js +0 -504
  80. package/dist/createTheme-BlQh0eyI.js +0 -2268
  81. package/dist/defaultTheme-CkLTWyeE.js +0 -42
  82. package/dist/identifier-CGgVMHib.js +0 -18
  83. package/dist/index-5OJKu9qh.js +0 -667
@@ -0,0 +1,3005 @@
1
+ import * as Yr from "react";
2
+ import { g as at } from "./_commonjsHelpers-B4e78b8K.js";
3
+ const yr = (e) => e, st = () => {
4
+ let e = yr;
5
+ return {
6
+ configure(r) {
7
+ e = r;
8
+ },
9
+ generate(r) {
10
+ return e(r);
11
+ },
12
+ reset() {
13
+ e = yr;
14
+ }
15
+ };
16
+ }, ct = st();
17
+ function me(e, ...r) {
18
+ const t = new URL(`https://mui.com/production-error/?code=${e}`);
19
+ return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
20
+ }
21
+ function Ur(e) {
22
+ if (typeof e != "string")
23
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : me(7));
24
+ return e.charAt(0).toUpperCase() + e.slice(1);
25
+ }
26
+ var Ie = { exports: {} }, Ne = { exports: {} }, L = {};
27
+ /** @license React v16.13.1
28
+ * react-is.production.min.js
29
+ *
30
+ * Copyright (c) Facebook, Inc. and its affiliates.
31
+ *
32
+ * This source code is licensed under the MIT license found in the
33
+ * LICENSE file in the root directory of this source tree.
34
+ */
35
+ var br;
36
+ function ut() {
37
+ if (br) return L;
38
+ br = 1;
39
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, c = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, j = e ? Symbol.for("react.scope") : 60119;
40
+ function F(y) {
41
+ if (typeof y == "object" && y !== null) {
42
+ var O = y.$$typeof;
43
+ switch (O) {
44
+ case r:
45
+ switch (y = y.type, y) {
46
+ case f:
47
+ case d:
48
+ case n:
49
+ case a:
50
+ case o:
51
+ case m:
52
+ return y;
53
+ default:
54
+ switch (y = y && y.$$typeof, y) {
55
+ case u:
56
+ case p:
57
+ case b:
58
+ case S:
59
+ case s:
60
+ return y;
61
+ default:
62
+ return O;
63
+ }
64
+ }
65
+ case t:
66
+ return O;
67
+ }
68
+ }
69
+ }
70
+ function $(y) {
71
+ return F(y) === d;
72
+ }
73
+ return L.AsyncMode = f, L.ConcurrentMode = d, L.ContextConsumer = u, L.ContextProvider = s, L.Element = r, L.ForwardRef = p, L.Fragment = n, L.Lazy = b, L.Memo = S, L.Portal = t, L.Profiler = a, L.StrictMode = o, L.Suspense = m, L.isAsyncMode = function(y) {
74
+ return $(y) || F(y) === f;
75
+ }, L.isConcurrentMode = $, L.isContextConsumer = function(y) {
76
+ return F(y) === u;
77
+ }, L.isContextProvider = function(y) {
78
+ return F(y) === s;
79
+ }, L.isElement = function(y) {
80
+ return typeof y == "object" && y !== null && y.$$typeof === r;
81
+ }, L.isForwardRef = function(y) {
82
+ return F(y) === p;
83
+ }, L.isFragment = function(y) {
84
+ return F(y) === n;
85
+ }, L.isLazy = function(y) {
86
+ return F(y) === b;
87
+ }, L.isMemo = function(y) {
88
+ return F(y) === S;
89
+ }, L.isPortal = function(y) {
90
+ return F(y) === t;
91
+ }, L.isProfiler = function(y) {
92
+ return F(y) === a;
93
+ }, L.isStrictMode = function(y) {
94
+ return F(y) === o;
95
+ }, L.isSuspense = function(y) {
96
+ return F(y) === m;
97
+ }, L.isValidElementType = function(y) {
98
+ return typeof y == "string" || typeof y == "function" || y === n || y === d || y === a || y === o || y === m || y === g || typeof y == "object" && y !== null && (y.$$typeof === b || y.$$typeof === S || y.$$typeof === s || y.$$typeof === u || y.$$typeof === p || y.$$typeof === E || y.$$typeof === _ || y.$$typeof === j || y.$$typeof === c);
99
+ }, L.typeOf = F, L;
100
+ }
101
+ var W = {};
102
+ /** @license React v16.13.1
103
+ * react-is.development.js
104
+ *
105
+ * Copyright (c) Facebook, Inc. and its affiliates.
106
+ *
107
+ * This source code is licensed under the MIT license found in the
108
+ * LICENSE file in the root directory of this source tree.
109
+ */
110
+ var vr;
111
+ function lt() {
112
+ return vr || (vr = 1, process.env.NODE_ENV !== "production" && function() {
113
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, c = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, j = e ? Symbol.for("react.scope") : 60119;
114
+ function F(C) {
115
+ return typeof C == "string" || typeof C == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
116
+ C === n || C === d || C === a || C === o || C === m || C === g || typeof C == "object" && C !== null && (C.$$typeof === b || C.$$typeof === S || C.$$typeof === s || C.$$typeof === u || C.$$typeof === p || C.$$typeof === E || C.$$typeof === _ || C.$$typeof === j || C.$$typeof === c);
117
+ }
118
+ function $(C) {
119
+ if (typeof C == "object" && C !== null) {
120
+ var se = C.$$typeof;
121
+ switch (se) {
122
+ case r:
123
+ var ke = C.type;
124
+ switch (ke) {
125
+ case f:
126
+ case d:
127
+ case n:
128
+ case a:
129
+ case o:
130
+ case m:
131
+ return ke;
132
+ default:
133
+ var hr = ke && ke.$$typeof;
134
+ switch (hr) {
135
+ case u:
136
+ case p:
137
+ case b:
138
+ case S:
139
+ case s:
140
+ return hr;
141
+ default:
142
+ return se;
143
+ }
144
+ }
145
+ case t:
146
+ return se;
147
+ }
148
+ }
149
+ }
150
+ var y = f, O = d, re = u, ne = s, ue = r, de = p, K = n, i = b, x = S, v = t, I = a, N = o, J = m, ae = !1;
151
+ function Je(C) {
152
+ return ae || (ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), h(C) || $(C) === f;
153
+ }
154
+ function h(C) {
155
+ return $(C) === d;
156
+ }
157
+ function T(C) {
158
+ return $(C) === u;
159
+ }
160
+ function k(C) {
161
+ return $(C) === s;
162
+ }
163
+ function R(C) {
164
+ return typeof C == "object" && C !== null && C.$$typeof === r;
165
+ }
166
+ function w(C) {
167
+ return $(C) === p;
168
+ }
169
+ function B(C) {
170
+ return $(C) === n;
171
+ }
172
+ function A(C) {
173
+ return $(C) === b;
174
+ }
175
+ function P(C) {
176
+ return $(C) === S;
177
+ }
178
+ function M(C) {
179
+ return $(C) === t;
180
+ }
181
+ function V(C) {
182
+ return $(C) === a;
183
+ }
184
+ function D(C) {
185
+ return $(C) === o;
186
+ }
187
+ function Z(C) {
188
+ return $(C) === m;
189
+ }
190
+ W.AsyncMode = y, W.ConcurrentMode = O, W.ContextConsumer = re, W.ContextProvider = ne, W.Element = ue, W.ForwardRef = de, W.Fragment = K, W.Lazy = i, W.Memo = x, W.Portal = v, W.Profiler = I, W.StrictMode = N, W.Suspense = J, W.isAsyncMode = Je, W.isConcurrentMode = h, W.isContextConsumer = T, W.isContextProvider = k, W.isElement = R, W.isForwardRef = w, W.isFragment = B, W.isLazy = A, W.isMemo = P, W.isPortal = M, W.isProfiler = V, W.isStrictMode = D, W.isSuspense = Z, W.isValidElementType = F, W.typeOf = $;
191
+ }()), W;
192
+ }
193
+ var Sr;
194
+ function zr() {
195
+ return Sr || (Sr = 1, process.env.NODE_ENV === "production" ? Ne.exports = ut() : Ne.exports = lt()), Ne.exports;
196
+ }
197
+ /*
198
+ object-assign
199
+ (c) Sindre Sorhus
200
+ @license MIT
201
+ */
202
+ var Ze, Er;
203
+ function ft() {
204
+ if (Er) return Ze;
205
+ Er = 1;
206
+ var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
207
+ function n(a) {
208
+ if (a == null)
209
+ throw new TypeError("Object.assign cannot be called with null or undefined");
210
+ return Object(a);
211
+ }
212
+ function o() {
213
+ try {
214
+ if (!Object.assign)
215
+ return !1;
216
+ var a = new String("abc");
217
+ if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
218
+ return !1;
219
+ for (var s = {}, u = 0; u < 10; u++)
220
+ s["_" + String.fromCharCode(u)] = u;
221
+ var f = Object.getOwnPropertyNames(s).map(function(p) {
222
+ return s[p];
223
+ });
224
+ if (f.join("") !== "0123456789")
225
+ return !1;
226
+ var d = {};
227
+ return "abcdefghijklmnopqrst".split("").forEach(function(p) {
228
+ d[p] = p;
229
+ }), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
230
+ } catch {
231
+ return !1;
232
+ }
233
+ }
234
+ return Ze = o() ? Object.assign : function(a, s) {
235
+ for (var u, f = n(a), d, p = 1; p < arguments.length; p++) {
236
+ u = Object(arguments[p]);
237
+ for (var m in u)
238
+ r.call(u, m) && (f[m] = u[m]);
239
+ if (e) {
240
+ d = e(u);
241
+ for (var g = 0; g < d.length; g++)
242
+ t.call(u, d[g]) && (f[d[g]] = u[d[g]]);
243
+ }
244
+ }
245
+ return f;
246
+ }, Ze;
247
+ }
248
+ var er, Cr;
249
+ function fr() {
250
+ if (Cr) return er;
251
+ Cr = 1;
252
+ var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
253
+ return er = e, er;
254
+ }
255
+ var rr, Tr;
256
+ function qr() {
257
+ return Tr || (Tr = 1, rr = Function.call.bind(Object.prototype.hasOwnProperty)), rr;
258
+ }
259
+ var tr, $r;
260
+ function dt() {
261
+ if ($r) return tr;
262
+ $r = 1;
263
+ var e = function() {
264
+ };
265
+ if (process.env.NODE_ENV !== "production") {
266
+ var r = /* @__PURE__ */ fr(), t = {}, n = /* @__PURE__ */ qr();
267
+ e = function(a) {
268
+ var s = "Warning: " + a;
269
+ typeof console < "u" && console.error(s);
270
+ try {
271
+ throw new Error(s);
272
+ } catch {
273
+ }
274
+ };
275
+ }
276
+ function o(a, s, u, f, d) {
277
+ if (process.env.NODE_ENV !== "production") {
278
+ for (var p in a)
279
+ if (n(a, p)) {
280
+ var m;
281
+ try {
282
+ if (typeof a[p] != "function") {
283
+ var g = Error(
284
+ (f || "React class") + ": " + u + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
285
+ );
286
+ throw g.name = "Invariant Violation", g;
287
+ }
288
+ m = a[p](s, p, f, u, null, r);
289
+ } catch (b) {
290
+ m = b;
291
+ }
292
+ if (m && !(m instanceof Error) && e(
293
+ (f || "React class") + ": type specification of " + u + " `" + p + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
294
+ ), m instanceof Error && !(m.message in t)) {
295
+ t[m.message] = !0;
296
+ var S = d ? d() : "";
297
+ e(
298
+ "Failed " + u + " type: " + m.message + (S ?? "")
299
+ );
300
+ }
301
+ }
302
+ }
303
+ }
304
+ return o.resetWarningCache = function() {
305
+ process.env.NODE_ENV !== "production" && (t = {});
306
+ }, tr = o, tr;
307
+ }
308
+ var nr, xr;
309
+ function pt() {
310
+ if (xr) return nr;
311
+ xr = 1;
312
+ var e = zr(), r = ft(), t = /* @__PURE__ */ fr(), n = /* @__PURE__ */ qr(), o = /* @__PURE__ */ dt(), a = function() {
313
+ };
314
+ process.env.NODE_ENV !== "production" && (a = function(u) {
315
+ var f = "Warning: " + u;
316
+ typeof console < "u" && console.error(f);
317
+ try {
318
+ throw new Error(f);
319
+ } catch {
320
+ }
321
+ });
322
+ function s() {
323
+ return null;
324
+ }
325
+ return nr = function(u, f) {
326
+ var d = typeof Symbol == "function" && Symbol.iterator, p = "@@iterator";
327
+ function m(h) {
328
+ var T = h && (d && h[d] || h[p]);
329
+ if (typeof T == "function")
330
+ return T;
331
+ }
332
+ var g = "<<anonymous>>", S = {
333
+ array: _("array"),
334
+ bigint: _("bigint"),
335
+ bool: _("boolean"),
336
+ func: _("function"),
337
+ number: _("number"),
338
+ object: _("object"),
339
+ string: _("string"),
340
+ symbol: _("symbol"),
341
+ any: j(),
342
+ arrayOf: F,
343
+ element: $(),
344
+ elementType: y(),
345
+ instanceOf: O,
346
+ node: de(),
347
+ objectOf: ne,
348
+ oneOf: re,
349
+ oneOfType: ue,
350
+ shape: i,
351
+ exact: x
352
+ };
353
+ function b(h, T) {
354
+ return h === T ? h !== 0 || 1 / h === 1 / T : h !== h && T !== T;
355
+ }
356
+ function c(h, T) {
357
+ this.message = h, this.data = T && typeof T == "object" ? T : {}, this.stack = "";
358
+ }
359
+ c.prototype = Error.prototype;
360
+ function E(h) {
361
+ if (process.env.NODE_ENV !== "production")
362
+ var T = {}, k = 0;
363
+ function R(B, A, P, M, V, D, Z) {
364
+ if (M = M || g, D = D || P, Z !== t) {
365
+ if (f) {
366
+ var C = new Error(
367
+ "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"
368
+ );
369
+ throw C.name = "Invariant Violation", C;
370
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
371
+ var se = M + ":" + P;
372
+ !T[se] && // Avoid spamming the console because they are often not actionable except for lib authors
373
+ k < 3 && (a(
374
+ "You are manually calling a React.PropTypes validation function for the `" + D + "` prop on `" + M + "`. 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."
375
+ ), T[se] = !0, k++);
376
+ }
377
+ }
378
+ return A[P] == null ? B ? A[P] === null ? new c("The " + V + " `" + D + "` is marked as required " + ("in `" + M + "`, but its value is `null`.")) : new c("The " + V + " `" + D + "` is marked as required in " + ("`" + M + "`, but its value is `undefined`.")) : null : h(A, P, M, V, D);
379
+ }
380
+ var w = R.bind(null, !1);
381
+ return w.isRequired = R.bind(null, !0), w;
382
+ }
383
+ function _(h) {
384
+ function T(k, R, w, B, A, P) {
385
+ var M = k[R], V = N(M);
386
+ if (V !== h) {
387
+ var D = J(M);
388
+ return new c(
389
+ "Invalid " + B + " `" + A + "` of type " + ("`" + D + "` supplied to `" + w + "`, expected ") + ("`" + h + "`."),
390
+ { expectedType: h }
391
+ );
392
+ }
393
+ return null;
394
+ }
395
+ return E(T);
396
+ }
397
+ function j() {
398
+ return E(s);
399
+ }
400
+ function F(h) {
401
+ function T(k, R, w, B, A) {
402
+ if (typeof h != "function")
403
+ return new c("Property `" + A + "` of component `" + w + "` has invalid PropType notation inside arrayOf.");
404
+ var P = k[R];
405
+ if (!Array.isArray(P)) {
406
+ var M = N(P);
407
+ return new c("Invalid " + B + " `" + A + "` of type " + ("`" + M + "` supplied to `" + w + "`, expected an array."));
408
+ }
409
+ for (var V = 0; V < P.length; V++) {
410
+ var D = h(P, V, w, B, A + "[" + V + "]", t);
411
+ if (D instanceof Error)
412
+ return D;
413
+ }
414
+ return null;
415
+ }
416
+ return E(T);
417
+ }
418
+ function $() {
419
+ function h(T, k, R, w, B) {
420
+ var A = T[k];
421
+ if (!u(A)) {
422
+ var P = N(A);
423
+ return new c("Invalid " + w + " `" + B + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement."));
424
+ }
425
+ return null;
426
+ }
427
+ return E(h);
428
+ }
429
+ function y() {
430
+ function h(T, k, R, w, B) {
431
+ var A = T[k];
432
+ if (!e.isValidElementType(A)) {
433
+ var P = N(A);
434
+ return new c("Invalid " + w + " `" + B + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement type."));
435
+ }
436
+ return null;
437
+ }
438
+ return E(h);
439
+ }
440
+ function O(h) {
441
+ function T(k, R, w, B, A) {
442
+ if (!(k[R] instanceof h)) {
443
+ var P = h.name || g, M = Je(k[R]);
444
+ return new c("Invalid " + B + " `" + A + "` of type " + ("`" + M + "` supplied to `" + w + "`, expected ") + ("instance of `" + P + "`."));
445
+ }
446
+ return null;
447
+ }
448
+ return E(T);
449
+ }
450
+ function re(h) {
451
+ if (!Array.isArray(h))
452
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
453
+ "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])."
454
+ ) : a("Invalid argument supplied to oneOf, expected an array.")), s;
455
+ function T(k, R, w, B, A) {
456
+ for (var P = k[R], M = 0; M < h.length; M++)
457
+ if (b(P, h[M]))
458
+ return null;
459
+ var V = JSON.stringify(h, function(Z, C) {
460
+ var se = J(C);
461
+ return se === "symbol" ? String(C) : C;
462
+ });
463
+ return new c("Invalid " + B + " `" + A + "` of value `" + String(P) + "` " + ("supplied to `" + w + "`, expected one of " + V + "."));
464
+ }
465
+ return E(T);
466
+ }
467
+ function ne(h) {
468
+ function T(k, R, w, B, A) {
469
+ if (typeof h != "function")
470
+ return new c("Property `" + A + "` of component `" + w + "` has invalid PropType notation inside objectOf.");
471
+ var P = k[R], M = N(P);
472
+ if (M !== "object")
473
+ return new c("Invalid " + B + " `" + A + "` of type " + ("`" + M + "` supplied to `" + w + "`, expected an object."));
474
+ for (var V in P)
475
+ if (n(P, V)) {
476
+ var D = h(P, V, w, B, A + "." + V, t);
477
+ if (D instanceof Error)
478
+ return D;
479
+ }
480
+ return null;
481
+ }
482
+ return E(T);
483
+ }
484
+ function ue(h) {
485
+ if (!Array.isArray(h))
486
+ return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), s;
487
+ for (var T = 0; T < h.length; T++) {
488
+ var k = h[T];
489
+ if (typeof k != "function")
490
+ return a(
491
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ae(k) + " at index " + T + "."
492
+ ), s;
493
+ }
494
+ function R(w, B, A, P, M) {
495
+ for (var V = [], D = 0; D < h.length; D++) {
496
+ var Z = h[D], C = Z(w, B, A, P, M, t);
497
+ if (C == null)
498
+ return null;
499
+ C.data && n(C.data, "expectedType") && V.push(C.data.expectedType);
500
+ }
501
+ var se = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
502
+ return new c("Invalid " + P + " `" + M + "` supplied to " + ("`" + A + "`" + se + "."));
503
+ }
504
+ return E(R);
505
+ }
506
+ function de() {
507
+ function h(T, k, R, w, B) {
508
+ return v(T[k]) ? null : new c("Invalid " + w + " `" + B + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
509
+ }
510
+ return E(h);
511
+ }
512
+ function K(h, T, k, R, w) {
513
+ return new c(
514
+ (h || "React class") + ": " + T + " type `" + k + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + w + "`."
515
+ );
516
+ }
517
+ function i(h) {
518
+ function T(k, R, w, B, A) {
519
+ var P = k[R], M = N(P);
520
+ if (M !== "object")
521
+ return new c("Invalid " + B + " `" + A + "` of type `" + M + "` " + ("supplied to `" + w + "`, expected `object`."));
522
+ for (var V in h) {
523
+ var D = h[V];
524
+ if (typeof D != "function")
525
+ return K(w, B, A, V, J(D));
526
+ var Z = D(P, V, w, B, A + "." + V, t);
527
+ if (Z)
528
+ return Z;
529
+ }
530
+ return null;
531
+ }
532
+ return E(T);
533
+ }
534
+ function x(h) {
535
+ function T(k, R, w, B, A) {
536
+ var P = k[R], M = N(P);
537
+ if (M !== "object")
538
+ return new c("Invalid " + B + " `" + A + "` of type `" + M + "` " + ("supplied to `" + w + "`, expected `object`."));
539
+ var V = r({}, k[R], h);
540
+ for (var D in V) {
541
+ var Z = h[D];
542
+ if (n(h, D) && typeof Z != "function")
543
+ return K(w, B, A, D, J(Z));
544
+ if (!Z)
545
+ return new c(
546
+ "Invalid " + B + " `" + A + "` key `" + D + "` supplied to `" + w + "`.\nBad object: " + JSON.stringify(k[R], null, " ") + `
547
+ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
548
+ );
549
+ var C = Z(P, D, w, B, A + "." + D, t);
550
+ if (C)
551
+ return C;
552
+ }
553
+ return null;
554
+ }
555
+ return E(T);
556
+ }
557
+ function v(h) {
558
+ switch (typeof h) {
559
+ case "number":
560
+ case "string":
561
+ case "undefined":
562
+ return !0;
563
+ case "boolean":
564
+ return !h;
565
+ case "object":
566
+ if (Array.isArray(h))
567
+ return h.every(v);
568
+ if (h === null || u(h))
569
+ return !0;
570
+ var T = m(h);
571
+ if (T) {
572
+ var k = T.call(h), R;
573
+ if (T !== h.entries) {
574
+ for (; !(R = k.next()).done; )
575
+ if (!v(R.value))
576
+ return !1;
577
+ } else
578
+ for (; !(R = k.next()).done; ) {
579
+ var w = R.value;
580
+ if (w && !v(w[1]))
581
+ return !1;
582
+ }
583
+ } else
584
+ return !1;
585
+ return !0;
586
+ default:
587
+ return !1;
588
+ }
589
+ }
590
+ function I(h, T) {
591
+ return h === "symbol" ? !0 : T ? T["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && T instanceof Symbol : !1;
592
+ }
593
+ function N(h) {
594
+ var T = typeof h;
595
+ return Array.isArray(h) ? "array" : h instanceof RegExp ? "object" : I(T, h) ? "symbol" : T;
596
+ }
597
+ function J(h) {
598
+ if (typeof h > "u" || h === null)
599
+ return "" + h;
600
+ var T = N(h);
601
+ if (T === "object") {
602
+ if (h instanceof Date)
603
+ return "date";
604
+ if (h instanceof RegExp)
605
+ return "regexp";
606
+ }
607
+ return T;
608
+ }
609
+ function ae(h) {
610
+ var T = J(h);
611
+ switch (T) {
612
+ case "array":
613
+ case "object":
614
+ return "an " + T;
615
+ case "boolean":
616
+ case "date":
617
+ case "regexp":
618
+ return "a " + T;
619
+ default:
620
+ return T;
621
+ }
622
+ }
623
+ function Je(h) {
624
+ return !h.constructor || !h.constructor.name ? g : h.constructor.name;
625
+ }
626
+ return S.checkPropTypes = o, S.resetWarningCache = o.resetWarningCache, S.PropTypes = S, S;
627
+ }, nr;
628
+ }
629
+ var or, Or;
630
+ function mt() {
631
+ if (Or) return or;
632
+ Or = 1;
633
+ var e = /* @__PURE__ */ fr();
634
+ function r() {
635
+ }
636
+ function t() {
637
+ }
638
+ return t.resetWarningCache = r, or = function() {
639
+ function n(s, u, f, d, p, m) {
640
+ if (m !== e) {
641
+ var g = new Error(
642
+ "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"
643
+ );
644
+ throw g.name = "Invariant Violation", g;
645
+ }
646
+ }
647
+ n.isRequired = n;
648
+ function o() {
649
+ return n;
650
+ }
651
+ var a = {
652
+ array: n,
653
+ bigint: n,
654
+ bool: n,
655
+ func: n,
656
+ number: n,
657
+ object: n,
658
+ string: n,
659
+ symbol: n,
660
+ any: n,
661
+ arrayOf: o,
662
+ element: n,
663
+ elementType: n,
664
+ instanceOf: o,
665
+ node: n,
666
+ objectOf: o,
667
+ oneOf: o,
668
+ oneOfType: o,
669
+ shape: o,
670
+ exact: o,
671
+ checkPropTypes: t,
672
+ resetWarningCache: r
673
+ };
674
+ return a.PropTypes = a, a;
675
+ }, or;
676
+ }
677
+ var wr;
678
+ function gt() {
679
+ if (wr) return Ie.exports;
680
+ if (wr = 1, process.env.NODE_ENV !== "production") {
681
+ var e = zr(), r = !0;
682
+ Ie.exports = /* @__PURE__ */ pt()(e.isElement, r);
683
+ } else
684
+ Ie.exports = /* @__PURE__ */ mt()();
685
+ return Ie.exports;
686
+ }
687
+ var ht = /* @__PURE__ */ gt();
688
+ const $e = /* @__PURE__ */ at(ht);
689
+ var Be = { exports: {} }, z = {};
690
+ /**
691
+ * @license React
692
+ * react-is.production.js
693
+ *
694
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
695
+ *
696
+ * This source code is licensed under the MIT license found in the
697
+ * LICENSE file in the root directory of this source tree.
698
+ */
699
+ var _r;
700
+ function yt() {
701
+ if (_r) return z;
702
+ _r = 1;
703
+ var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.view_transition"), S = Symbol.for("react.client.reference");
704
+ function b(c) {
705
+ if (typeof c == "object" && c !== null) {
706
+ var E = c.$$typeof;
707
+ switch (E) {
708
+ case e:
709
+ switch (c = c.type, c) {
710
+ case t:
711
+ case o:
712
+ case n:
713
+ case f:
714
+ case d:
715
+ case g:
716
+ return c;
717
+ default:
718
+ switch (c = c && c.$$typeof, c) {
719
+ case s:
720
+ case u:
721
+ case m:
722
+ case p:
723
+ return c;
724
+ case a:
725
+ return c;
726
+ default:
727
+ return E;
728
+ }
729
+ }
730
+ case r:
731
+ return E;
732
+ }
733
+ }
734
+ }
735
+ return z.ContextConsumer = a, z.ContextProvider = s, z.Element = e, z.ForwardRef = u, z.Fragment = t, z.Lazy = m, z.Memo = p, z.Portal = r, z.Profiler = o, z.StrictMode = n, z.Suspense = f, z.SuspenseList = d, z.isContextConsumer = function(c) {
736
+ return b(c) === a;
737
+ }, z.isContextProvider = function(c) {
738
+ return b(c) === s;
739
+ }, z.isElement = function(c) {
740
+ return typeof c == "object" && c !== null && c.$$typeof === e;
741
+ }, z.isForwardRef = function(c) {
742
+ return b(c) === u;
743
+ }, z.isFragment = function(c) {
744
+ return b(c) === t;
745
+ }, z.isLazy = function(c) {
746
+ return b(c) === m;
747
+ }, z.isMemo = function(c) {
748
+ return b(c) === p;
749
+ }, z.isPortal = function(c) {
750
+ return b(c) === r;
751
+ }, z.isProfiler = function(c) {
752
+ return b(c) === o;
753
+ }, z.isStrictMode = function(c) {
754
+ return b(c) === n;
755
+ }, z.isSuspense = function(c) {
756
+ return b(c) === f;
757
+ }, z.isSuspenseList = function(c) {
758
+ return b(c) === d;
759
+ }, z.isValidElementType = function(c) {
760
+ return typeof c == "string" || typeof c == "function" || c === t || c === o || c === n || c === f || c === d || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === p || c.$$typeof === s || c.$$typeof === a || c.$$typeof === u || c.$$typeof === S || c.getModuleId !== void 0);
761
+ }, z.typeOf = b, z;
762
+ }
763
+ var q = {};
764
+ /**
765
+ * @license React
766
+ * react-is.development.js
767
+ *
768
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
769
+ *
770
+ * This source code is licensed under the MIT license found in the
771
+ * LICENSE file in the root directory of this source tree.
772
+ */
773
+ var Ar;
774
+ function bt() {
775
+ return Ar || (Ar = 1, process.env.NODE_ENV !== "production" && function() {
776
+ function e(c) {
777
+ if (typeof c == "object" && c !== null) {
778
+ var E = c.$$typeof;
779
+ switch (E) {
780
+ case r:
781
+ switch (c = c.type, c) {
782
+ case n:
783
+ case a:
784
+ case o:
785
+ case d:
786
+ case p:
787
+ case S:
788
+ return c;
789
+ default:
790
+ switch (c = c && c.$$typeof, c) {
791
+ case u:
792
+ case f:
793
+ case g:
794
+ case m:
795
+ return c;
796
+ case s:
797
+ return c;
798
+ default:
799
+ return E;
800
+ }
801
+ }
802
+ case t:
803
+ return E;
804
+ }
805
+ }
806
+ }
807
+ var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), S = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
808
+ q.ContextConsumer = s, q.ContextProvider = u, q.Element = r, q.ForwardRef = f, q.Fragment = n, q.Lazy = g, q.Memo = m, q.Portal = t, q.Profiler = a, q.StrictMode = o, q.Suspense = d, q.SuspenseList = p, q.isContextConsumer = function(c) {
809
+ return e(c) === s;
810
+ }, q.isContextProvider = function(c) {
811
+ return e(c) === u;
812
+ }, q.isElement = function(c) {
813
+ return typeof c == "object" && c !== null && c.$$typeof === r;
814
+ }, q.isForwardRef = function(c) {
815
+ return e(c) === f;
816
+ }, q.isFragment = function(c) {
817
+ return e(c) === n;
818
+ }, q.isLazy = function(c) {
819
+ return e(c) === g;
820
+ }, q.isMemo = function(c) {
821
+ return e(c) === m;
822
+ }, q.isPortal = function(c) {
823
+ return e(c) === t;
824
+ }, q.isProfiler = function(c) {
825
+ return e(c) === a;
826
+ }, q.isStrictMode = function(c) {
827
+ return e(c) === o;
828
+ }, q.isSuspense = function(c) {
829
+ return e(c) === d;
830
+ }, q.isSuspenseList = function(c) {
831
+ return e(c) === p;
832
+ }, q.isValidElementType = function(c) {
833
+ return typeof c == "string" || typeof c == "function" || c === n || c === a || c === o || c === d || c === p || typeof c == "object" && c !== null && (c.$$typeof === g || c.$$typeof === m || c.$$typeof === u || c.$$typeof === s || c.$$typeof === f || c.$$typeof === b || c.getModuleId !== void 0);
834
+ }, q.typeOf = e;
835
+ }()), q;
836
+ }
837
+ var Rr;
838
+ function vt() {
839
+ return Rr || (Rr = 1, process.env.NODE_ENV === "production" ? Be.exports = /* @__PURE__ */ yt() : Be.exports = /* @__PURE__ */ bt()), Be.exports;
840
+ }
841
+ var Gr = /* @__PURE__ */ vt();
842
+ function pe(e) {
843
+ if (typeof e != "object" || e === null)
844
+ return !1;
845
+ const r = Object.getPrototypeOf(e);
846
+ return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
847
+ }
848
+ function Kr(e) {
849
+ if (/* @__PURE__ */ Yr.isValidElement(e) || Gr.isValidElementType(e) || !pe(e))
850
+ return e;
851
+ const r = {};
852
+ return Object.keys(e).forEach((t) => {
853
+ r[t] = Kr(e[t]);
854
+ }), r;
855
+ }
856
+ function ee(e, r, t = {
857
+ clone: !0
858
+ }) {
859
+ const n = t.clone ? {
860
+ ...e
861
+ } : e;
862
+ return pe(e) && pe(r) && Object.keys(r).forEach((o) => {
863
+ /* @__PURE__ */ Yr.isValidElement(r[o]) || Gr.isValidElementType(r[o]) ? n[o] = r[o] : pe(r[o]) && // Avoid prototype pollution
864
+ Object.prototype.hasOwnProperty.call(e, o) && pe(e[o]) ? n[o] = ee(e[o], r[o], t) : t.clone ? n[o] = pe(r[o]) ? Kr(r[o]) : r[o] : n[o] = r[o];
865
+ }), n;
866
+ }
867
+ function _e(e, r) {
868
+ return r ? ee(e, r, {
869
+ clone: !1
870
+ // No need to clone deep, it's way faster.
871
+ }) : e;
872
+ }
873
+ const he = process.env.NODE_ENV !== "production" ? $e.oneOfType([$e.number, $e.string, $e.object, $e.array]) : {};
874
+ function Pr(e, r) {
875
+ if (!e.containerQueries)
876
+ return r;
877
+ const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
878
+ var s, u;
879
+ const a = /min-width:\s*([0-9.]+)/;
880
+ return +(((s = n.match(a)) == null ? void 0 : s[1]) || 0) - +(((u = o.match(a)) == null ? void 0 : u[1]) || 0);
881
+ });
882
+ return t.length ? t.reduce((n, o) => {
883
+ const a = r[o];
884
+ return delete n[o], n[o] = a, n;
885
+ }, {
886
+ ...r
887
+ }) : r;
888
+ }
889
+ function St(e, r) {
890
+ return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
891
+ }
892
+ function Et(e, r) {
893
+ const t = r.match(/^@([^/]+)?\/?(.+)?$/);
894
+ if (!t) {
895
+ if (process.env.NODE_ENV !== "production")
896
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
897
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : me(18, `(${r})`));
898
+ return null;
899
+ }
900
+ const [, n, o] = t, a = Number.isNaN(+n) ? n || 0 : +n;
901
+ return e.containerQueries(o).up(a);
902
+ }
903
+ function Ct(e) {
904
+ const r = (a, s) => a.replace("@media", s ? `@container ${s}` : "@container");
905
+ function t(a, s) {
906
+ a.up = (...u) => r(e.breakpoints.up(...u), s), a.down = (...u) => r(e.breakpoints.down(...u), s), a.between = (...u) => r(e.breakpoints.between(...u), s), a.only = (...u) => r(e.breakpoints.only(...u), s), a.not = (...u) => {
907
+ const f = r(e.breakpoints.not(...u), s);
908
+ return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
909
+ };
910
+ }
911
+ const n = {}, o = (a) => (t(n, a), n);
912
+ return t(o), {
913
+ ...e,
914
+ containerQueries: o
915
+ };
916
+ }
917
+ const je = {
918
+ xs: 0,
919
+ // phone
920
+ sm: 600,
921
+ // tablet
922
+ md: 900,
923
+ // small laptop
924
+ lg: 1200,
925
+ // desktop
926
+ xl: 1536
927
+ // large screen
928
+ }, kr = {
929
+ // Sorted ASC by size. That's important.
930
+ // It can't be configured as it's used statically for propTypes.
931
+ keys: ["xs", "sm", "md", "lg", "xl"],
932
+ up: (e) => `@media (min-width:${je[e]}px)`
933
+ }, Tt = {
934
+ containerQueries: (e) => ({
935
+ up: (r) => {
936
+ let t = typeof r == "number" ? r : je[r] || r;
937
+ return typeof t == "number" && (t = `${t}px`), e ? `@container ${e} (min-width:${t})` : `@container (min-width:${t})`;
938
+ }
939
+ })
940
+ };
941
+ function fe(e, r, t) {
942
+ const n = e.theme || {};
943
+ if (Array.isArray(r)) {
944
+ const a = n.breakpoints || kr;
945
+ return r.reduce((s, u, f) => (s[a.up(a.keys[f])] = t(r[f]), s), {});
946
+ }
947
+ if (typeof r == "object") {
948
+ const a = n.breakpoints || kr;
949
+ return Object.keys(r).reduce((s, u) => {
950
+ if (St(a.keys, u)) {
951
+ const f = Et(n.containerQueries ? n : Tt, u);
952
+ f && (s[f] = t(r[u], u));
953
+ } else if (Object.keys(a.values || je).includes(u)) {
954
+ const f = a.up(u);
955
+ s[f] = t(r[u], u);
956
+ } else {
957
+ const f = u;
958
+ s[f] = r[f];
959
+ }
960
+ return s;
961
+ }, {});
962
+ }
963
+ return t(r);
964
+ }
965
+ function Hr(e = {}) {
966
+ var t;
967
+ return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
968
+ const a = e.up(o);
969
+ return n[a] = {}, n;
970
+ }, {})) || {};
971
+ }
972
+ function sr(e, r) {
973
+ return e.reduce((t, n) => {
974
+ const o = t[n];
975
+ return (!o || Object.keys(o).length === 0) && delete t[n], t;
976
+ }, r);
977
+ }
978
+ function uo(e, ...r) {
979
+ const t = Hr(e), n = [t, ...r].reduce((o, a) => ee(o, a), {});
980
+ return sr(Object.keys(t), n);
981
+ }
982
+ function $t(e, r) {
983
+ if (typeof e != "object")
984
+ return {};
985
+ const t = {}, n = Object.keys(r);
986
+ return Array.isArray(e) ? n.forEach((o, a) => {
987
+ a < e.length && (t[o] = !0);
988
+ }) : n.forEach((o) => {
989
+ e[o] != null && (t[o] = !0);
990
+ }), t;
991
+ }
992
+ function lo({
993
+ values: e,
994
+ breakpoints: r,
995
+ base: t
996
+ }) {
997
+ const n = t || $t(e, r), o = Object.keys(n);
998
+ if (o.length === 0)
999
+ return e;
1000
+ let a;
1001
+ return o.reduce((s, u, f) => (Array.isArray(e) ? (s[u] = e[f] != null ? e[f] : e[a], a = f) : typeof e == "object" ? (s[u] = e[u] != null ? e[u] : e[a], a = u) : s[u] = e, s), {});
1002
+ }
1003
+ function Fe(e, r, t = !0) {
1004
+ if (!r || typeof r != "string")
1005
+ return null;
1006
+ if (e && e.vars && t) {
1007
+ const n = `vars.${r}`.split(".").reduce((o, a) => o && o[a] ? o[a] : null, e);
1008
+ if (n != null)
1009
+ return n;
1010
+ }
1011
+ return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
1012
+ }
1013
+ function De(e, r, t, n = t) {
1014
+ let o;
1015
+ return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = Fe(e, t) || n, r && (o = r(o, n, e)), o;
1016
+ }
1017
+ function X(e) {
1018
+ const {
1019
+ prop: r,
1020
+ cssProperty: t = e.prop,
1021
+ themeKey: n,
1022
+ transform: o
1023
+ } = e, a = (s) => {
1024
+ if (s[r] == null)
1025
+ return null;
1026
+ const u = s[r], f = s.theme, d = Fe(f, n) || {};
1027
+ return fe(s, u, (m) => {
1028
+ let g = De(d, o, m);
1029
+ return m === g && typeof m == "string" && (g = De(d, o, `${r}${m === "default" ? "" : Ur(m)}`, m)), t === !1 ? g : {
1030
+ [t]: g
1031
+ };
1032
+ });
1033
+ };
1034
+ return a.propTypes = process.env.NODE_ENV !== "production" ? {
1035
+ [r]: he
1036
+ } : {}, a.filterProps = [r], a;
1037
+ }
1038
+ function xt(e) {
1039
+ const r = {};
1040
+ return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
1041
+ }
1042
+ const Ot = {
1043
+ m: "margin",
1044
+ p: "padding"
1045
+ }, wt = {
1046
+ t: "Top",
1047
+ r: "Right",
1048
+ b: "Bottom",
1049
+ l: "Left",
1050
+ x: ["Left", "Right"],
1051
+ y: ["Top", "Bottom"]
1052
+ }, Ir = {
1053
+ marginX: "mx",
1054
+ marginY: "my",
1055
+ paddingX: "px",
1056
+ paddingY: "py"
1057
+ }, _t = xt((e) => {
1058
+ if (e.length > 2)
1059
+ if (Ir[e])
1060
+ e = Ir[e];
1061
+ else
1062
+ return [e];
1063
+ const [r, t] = e.split(""), n = Ot[r], o = wt[t] || "";
1064
+ return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
1065
+ }), Le = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], We = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], At = [...Le, ...We];
1066
+ function Re(e, r, t, n) {
1067
+ const o = Fe(e, r, !0) ?? t;
1068
+ return typeof o == "number" || typeof o == "string" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`), typeof o == "string" ? o.startsWith("var(") && a === 0 ? 0 : o.startsWith("var(") && a === 1 ? o : `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
1069
+ if (typeof a == "string")
1070
+ return a;
1071
+ const s = Math.abs(a);
1072
+ process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > o.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${s} > ${o.length - 1}, you need to add the missing values.`].join(`
1073
+ `)) : console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(`
1074
+ `)));
1075
+ const u = o[s];
1076
+ return a >= 0 ? u : typeof u == "number" ? -u : typeof u == "string" && u.startsWith("var(") ? `calc(-1 * ${u})` : `-${u}`;
1077
+ } : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
1078
+ `)), () => {
1079
+ });
1080
+ }
1081
+ function dr(e) {
1082
+ return Re(e, "spacing", 8, "spacing");
1083
+ }
1084
+ function Pe(e, r) {
1085
+ return typeof r == "string" || r == null ? r : e(r);
1086
+ }
1087
+ function Rt(e, r) {
1088
+ return (t) => e.reduce((n, o) => (n[o] = Pe(r, t), n), {});
1089
+ }
1090
+ function Pt(e, r, t, n) {
1091
+ if (!r.includes(t))
1092
+ return null;
1093
+ const o = _t(t), a = Rt(o, n), s = e[t];
1094
+ return fe(e, s, a);
1095
+ }
1096
+ function Qr(e, r) {
1097
+ const t = dr(e.theme);
1098
+ return Object.keys(e).map((n) => Pt(e, r, n, t)).reduce(_e, {});
1099
+ }
1100
+ function H(e) {
1101
+ return Qr(e, Le);
1102
+ }
1103
+ H.propTypes = process.env.NODE_ENV !== "production" ? Le.reduce((e, r) => (e[r] = he, e), {}) : {};
1104
+ H.filterProps = Le;
1105
+ function Q(e) {
1106
+ return Qr(e, We);
1107
+ }
1108
+ Q.propTypes = process.env.NODE_ENV !== "production" ? We.reduce((e, r) => (e[r] = he, e), {}) : {};
1109
+ Q.filterProps = We;
1110
+ process.env.NODE_ENV !== "production" && At.reduce((e, r) => (e[r] = he, e), {});
1111
+ function Ve(...e) {
1112
+ const r = e.reduce((n, o) => (o.filterProps.forEach((a) => {
1113
+ n[a] = o;
1114
+ }), n), {}), t = (n) => Object.keys(n).reduce((o, a) => r[a] ? _e(o, r[a](n)) : o, {});
1115
+ return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, t.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), t;
1116
+ }
1117
+ function oe(e) {
1118
+ return typeof e != "number" ? e : `${e}px solid`;
1119
+ }
1120
+ function ie(e, r) {
1121
+ return X({
1122
+ prop: e,
1123
+ themeKey: "borders",
1124
+ transform: r
1125
+ });
1126
+ }
1127
+ const kt = ie("border", oe), It = ie("borderTop", oe), Nt = ie("borderRight", oe), Bt = ie("borderBottom", oe), Mt = ie("borderLeft", oe), Dt = ie("borderColor"), jt = ie("borderTopColor"), Ft = ie("borderRightColor"), Lt = ie("borderBottomColor"), Wt = ie("borderLeftColor"), Vt = ie("outline", oe), Yt = ie("outlineColor"), Ye = (e) => {
1128
+ if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1129
+ const r = Re(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
1130
+ borderRadius: Pe(r, n)
1131
+ });
1132
+ return fe(e, e.borderRadius, t);
1133
+ }
1134
+ return null;
1135
+ };
1136
+ Ye.propTypes = process.env.NODE_ENV !== "production" ? {
1137
+ borderRadius: he
1138
+ } : {};
1139
+ Ye.filterProps = ["borderRadius"];
1140
+ Ve(kt, It, Nt, Bt, Mt, Dt, jt, Ft, Lt, Wt, Ye, Vt, Yt);
1141
+ const Ue = (e) => {
1142
+ if (e.gap !== void 0 && e.gap !== null) {
1143
+ const r = Re(e.theme, "spacing", 8, "gap"), t = (n) => ({
1144
+ gap: Pe(r, n)
1145
+ });
1146
+ return fe(e, e.gap, t);
1147
+ }
1148
+ return null;
1149
+ };
1150
+ Ue.propTypes = process.env.NODE_ENV !== "production" ? {
1151
+ gap: he
1152
+ } : {};
1153
+ Ue.filterProps = ["gap"];
1154
+ const ze = (e) => {
1155
+ if (e.columnGap !== void 0 && e.columnGap !== null) {
1156
+ const r = Re(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
1157
+ columnGap: Pe(r, n)
1158
+ });
1159
+ return fe(e, e.columnGap, t);
1160
+ }
1161
+ return null;
1162
+ };
1163
+ ze.propTypes = process.env.NODE_ENV !== "production" ? {
1164
+ columnGap: he
1165
+ } : {};
1166
+ ze.filterProps = ["columnGap"];
1167
+ const qe = (e) => {
1168
+ if (e.rowGap !== void 0 && e.rowGap !== null) {
1169
+ const r = Re(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
1170
+ rowGap: Pe(r, n)
1171
+ });
1172
+ return fe(e, e.rowGap, t);
1173
+ }
1174
+ return null;
1175
+ };
1176
+ qe.propTypes = process.env.NODE_ENV !== "production" ? {
1177
+ rowGap: he
1178
+ } : {};
1179
+ qe.filterProps = ["rowGap"];
1180
+ const Ut = X({
1181
+ prop: "gridColumn"
1182
+ }), zt = X({
1183
+ prop: "gridRow"
1184
+ }), qt = X({
1185
+ prop: "gridAutoFlow"
1186
+ }), Gt = X({
1187
+ prop: "gridAutoColumns"
1188
+ }), Kt = X({
1189
+ prop: "gridAutoRows"
1190
+ }), Ht = X({
1191
+ prop: "gridTemplateColumns"
1192
+ }), Qt = X({
1193
+ prop: "gridTemplateRows"
1194
+ }), Xt = X({
1195
+ prop: "gridTemplateAreas"
1196
+ }), Jt = X({
1197
+ prop: "gridArea"
1198
+ });
1199
+ Ve(Ue, ze, qe, Ut, zt, qt, Gt, Kt, Ht, Qt, Xt, Jt);
1200
+ function Te(e, r) {
1201
+ return r === "grey" ? r : e;
1202
+ }
1203
+ const Zt = X({
1204
+ prop: "color",
1205
+ themeKey: "palette",
1206
+ transform: Te
1207
+ }), en = X({
1208
+ prop: "bgcolor",
1209
+ cssProperty: "backgroundColor",
1210
+ themeKey: "palette",
1211
+ transform: Te
1212
+ }), rn = X({
1213
+ prop: "backgroundColor",
1214
+ themeKey: "palette",
1215
+ transform: Te
1216
+ });
1217
+ Ve(Zt, en, rn);
1218
+ function te(e) {
1219
+ return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1220
+ }
1221
+ const tn = X({
1222
+ prop: "width",
1223
+ transform: te
1224
+ }), pr = (e) => {
1225
+ if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1226
+ const r = (t) => {
1227
+ var o, a, s, u, f;
1228
+ const n = ((s = (a = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : a.values) == null ? void 0 : s[t]) || je[t];
1229
+ return n ? ((f = (u = e.theme) == null ? void 0 : u.breakpoints) == null ? void 0 : f.unit) !== "px" ? {
1230
+ maxWidth: `${n}${e.theme.breakpoints.unit}`
1231
+ } : {
1232
+ maxWidth: n
1233
+ } : {
1234
+ maxWidth: te(t)
1235
+ };
1236
+ };
1237
+ return fe(e, e.maxWidth, r);
1238
+ }
1239
+ return null;
1240
+ };
1241
+ pr.filterProps = ["maxWidth"];
1242
+ const nn = X({
1243
+ prop: "minWidth",
1244
+ transform: te
1245
+ }), on = X({
1246
+ prop: "height",
1247
+ transform: te
1248
+ }), an = X({
1249
+ prop: "maxHeight",
1250
+ transform: te
1251
+ }), sn = X({
1252
+ prop: "minHeight",
1253
+ transform: te
1254
+ });
1255
+ X({
1256
+ prop: "size",
1257
+ cssProperty: "width",
1258
+ transform: te
1259
+ });
1260
+ X({
1261
+ prop: "size",
1262
+ cssProperty: "height",
1263
+ transform: te
1264
+ });
1265
+ const cn = X({
1266
+ prop: "boxSizing"
1267
+ });
1268
+ Ve(tn, pr, nn, on, an, sn, cn);
1269
+ const Ge = {
1270
+ // borders
1271
+ border: {
1272
+ themeKey: "borders",
1273
+ transform: oe
1274
+ },
1275
+ borderTop: {
1276
+ themeKey: "borders",
1277
+ transform: oe
1278
+ },
1279
+ borderRight: {
1280
+ themeKey: "borders",
1281
+ transform: oe
1282
+ },
1283
+ borderBottom: {
1284
+ themeKey: "borders",
1285
+ transform: oe
1286
+ },
1287
+ borderLeft: {
1288
+ themeKey: "borders",
1289
+ transform: oe
1290
+ },
1291
+ borderColor: {
1292
+ themeKey: "palette"
1293
+ },
1294
+ borderTopColor: {
1295
+ themeKey: "palette"
1296
+ },
1297
+ borderRightColor: {
1298
+ themeKey: "palette"
1299
+ },
1300
+ borderBottomColor: {
1301
+ themeKey: "palette"
1302
+ },
1303
+ borderLeftColor: {
1304
+ themeKey: "palette"
1305
+ },
1306
+ outline: {
1307
+ themeKey: "borders",
1308
+ transform: oe
1309
+ },
1310
+ outlineColor: {
1311
+ themeKey: "palette"
1312
+ },
1313
+ borderRadius: {
1314
+ themeKey: "shape.borderRadius",
1315
+ style: Ye
1316
+ },
1317
+ // palette
1318
+ color: {
1319
+ themeKey: "palette",
1320
+ transform: Te
1321
+ },
1322
+ bgcolor: {
1323
+ themeKey: "palette",
1324
+ cssProperty: "backgroundColor",
1325
+ transform: Te
1326
+ },
1327
+ backgroundColor: {
1328
+ themeKey: "palette",
1329
+ transform: Te
1330
+ },
1331
+ // spacing
1332
+ p: {
1333
+ style: Q
1334
+ },
1335
+ pt: {
1336
+ style: Q
1337
+ },
1338
+ pr: {
1339
+ style: Q
1340
+ },
1341
+ pb: {
1342
+ style: Q
1343
+ },
1344
+ pl: {
1345
+ style: Q
1346
+ },
1347
+ px: {
1348
+ style: Q
1349
+ },
1350
+ py: {
1351
+ style: Q
1352
+ },
1353
+ padding: {
1354
+ style: Q
1355
+ },
1356
+ paddingTop: {
1357
+ style: Q
1358
+ },
1359
+ paddingRight: {
1360
+ style: Q
1361
+ },
1362
+ paddingBottom: {
1363
+ style: Q
1364
+ },
1365
+ paddingLeft: {
1366
+ style: Q
1367
+ },
1368
+ paddingX: {
1369
+ style: Q
1370
+ },
1371
+ paddingY: {
1372
+ style: Q
1373
+ },
1374
+ paddingInline: {
1375
+ style: Q
1376
+ },
1377
+ paddingInlineStart: {
1378
+ style: Q
1379
+ },
1380
+ paddingInlineEnd: {
1381
+ style: Q
1382
+ },
1383
+ paddingBlock: {
1384
+ style: Q
1385
+ },
1386
+ paddingBlockStart: {
1387
+ style: Q
1388
+ },
1389
+ paddingBlockEnd: {
1390
+ style: Q
1391
+ },
1392
+ m: {
1393
+ style: H
1394
+ },
1395
+ mt: {
1396
+ style: H
1397
+ },
1398
+ mr: {
1399
+ style: H
1400
+ },
1401
+ mb: {
1402
+ style: H
1403
+ },
1404
+ ml: {
1405
+ style: H
1406
+ },
1407
+ mx: {
1408
+ style: H
1409
+ },
1410
+ my: {
1411
+ style: H
1412
+ },
1413
+ margin: {
1414
+ style: H
1415
+ },
1416
+ marginTop: {
1417
+ style: H
1418
+ },
1419
+ marginRight: {
1420
+ style: H
1421
+ },
1422
+ marginBottom: {
1423
+ style: H
1424
+ },
1425
+ marginLeft: {
1426
+ style: H
1427
+ },
1428
+ marginX: {
1429
+ style: H
1430
+ },
1431
+ marginY: {
1432
+ style: H
1433
+ },
1434
+ marginInline: {
1435
+ style: H
1436
+ },
1437
+ marginInlineStart: {
1438
+ style: H
1439
+ },
1440
+ marginInlineEnd: {
1441
+ style: H
1442
+ },
1443
+ marginBlock: {
1444
+ style: H
1445
+ },
1446
+ marginBlockStart: {
1447
+ style: H
1448
+ },
1449
+ marginBlockEnd: {
1450
+ style: H
1451
+ },
1452
+ // display
1453
+ displayPrint: {
1454
+ cssProperty: !1,
1455
+ transform: (e) => ({
1456
+ "@media print": {
1457
+ display: e
1458
+ }
1459
+ })
1460
+ },
1461
+ display: {},
1462
+ overflow: {},
1463
+ textOverflow: {},
1464
+ visibility: {},
1465
+ whiteSpace: {},
1466
+ // flexbox
1467
+ flexBasis: {},
1468
+ flexDirection: {},
1469
+ flexWrap: {},
1470
+ justifyContent: {},
1471
+ alignItems: {},
1472
+ alignContent: {},
1473
+ order: {},
1474
+ flex: {},
1475
+ flexGrow: {},
1476
+ flexShrink: {},
1477
+ alignSelf: {},
1478
+ justifyItems: {},
1479
+ justifySelf: {},
1480
+ // grid
1481
+ gap: {
1482
+ style: Ue
1483
+ },
1484
+ rowGap: {
1485
+ style: qe
1486
+ },
1487
+ columnGap: {
1488
+ style: ze
1489
+ },
1490
+ gridColumn: {},
1491
+ gridRow: {},
1492
+ gridAutoFlow: {},
1493
+ gridAutoColumns: {},
1494
+ gridAutoRows: {},
1495
+ gridTemplateColumns: {},
1496
+ gridTemplateRows: {},
1497
+ gridTemplateAreas: {},
1498
+ gridArea: {},
1499
+ // positions
1500
+ position: {},
1501
+ zIndex: {
1502
+ themeKey: "zIndex"
1503
+ },
1504
+ top: {},
1505
+ right: {},
1506
+ bottom: {},
1507
+ left: {},
1508
+ // shadows
1509
+ boxShadow: {
1510
+ themeKey: "shadows"
1511
+ },
1512
+ // sizing
1513
+ width: {
1514
+ transform: te
1515
+ },
1516
+ maxWidth: {
1517
+ style: pr
1518
+ },
1519
+ minWidth: {
1520
+ transform: te
1521
+ },
1522
+ height: {
1523
+ transform: te
1524
+ },
1525
+ maxHeight: {
1526
+ transform: te
1527
+ },
1528
+ minHeight: {
1529
+ transform: te
1530
+ },
1531
+ boxSizing: {},
1532
+ // typography
1533
+ font: {
1534
+ themeKey: "font"
1535
+ },
1536
+ fontFamily: {
1537
+ themeKey: "typography"
1538
+ },
1539
+ fontSize: {
1540
+ themeKey: "typography"
1541
+ },
1542
+ fontStyle: {
1543
+ themeKey: "typography"
1544
+ },
1545
+ fontWeight: {
1546
+ themeKey: "typography"
1547
+ },
1548
+ letterSpacing: {},
1549
+ textTransform: {},
1550
+ lineHeight: {},
1551
+ textAlign: {},
1552
+ typography: {
1553
+ cssProperty: !1,
1554
+ themeKey: "typography"
1555
+ }
1556
+ };
1557
+ function un(...e) {
1558
+ const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
1559
+ return e.every((n) => t.size === Object.keys(n).length);
1560
+ }
1561
+ function ln(e, r) {
1562
+ return typeof e == "function" ? e(r) : e;
1563
+ }
1564
+ function fn() {
1565
+ function e(t, n, o, a) {
1566
+ const s = {
1567
+ [t]: n,
1568
+ theme: o
1569
+ }, u = a[t];
1570
+ if (!u)
1571
+ return {
1572
+ [t]: n
1573
+ };
1574
+ const {
1575
+ cssProperty: f = t,
1576
+ themeKey: d,
1577
+ transform: p,
1578
+ style: m
1579
+ } = u;
1580
+ if (n == null)
1581
+ return null;
1582
+ if (d === "typography" && n === "inherit")
1583
+ return {
1584
+ [t]: n
1585
+ };
1586
+ const g = Fe(o, d) || {};
1587
+ return m ? m(s) : fe(s, n, (b) => {
1588
+ let c = De(g, p, b);
1589
+ return b === c && typeof b == "string" && (c = De(g, p, `${t}${b === "default" ? "" : Ur(b)}`, b)), f === !1 ? c : {
1590
+ [f]: c
1591
+ };
1592
+ });
1593
+ }
1594
+ function r(t) {
1595
+ const {
1596
+ sx: n,
1597
+ theme: o = {},
1598
+ nested: a
1599
+ } = t || {};
1600
+ if (!n)
1601
+ return null;
1602
+ const s = o.unstable_sxConfig ?? Ge;
1603
+ function u(f) {
1604
+ let d = f;
1605
+ if (typeof f == "function")
1606
+ d = f(o);
1607
+ else if (typeof f != "object")
1608
+ return f;
1609
+ if (!d)
1610
+ return null;
1611
+ const p = Hr(o.breakpoints), m = Object.keys(p);
1612
+ let g = p;
1613
+ return Object.keys(d).forEach((S) => {
1614
+ const b = ln(d[S], o);
1615
+ if (b != null)
1616
+ if (typeof b == "object")
1617
+ if (s[S])
1618
+ g = _e(g, e(S, b, o, s));
1619
+ else {
1620
+ const c = fe({
1621
+ theme: o
1622
+ }, b, (E) => ({
1623
+ [S]: E
1624
+ }));
1625
+ un(c, b) ? g[S] = r({
1626
+ sx: b,
1627
+ theme: o,
1628
+ nested: !0
1629
+ }) : g = _e(g, c);
1630
+ }
1631
+ else
1632
+ g = _e(g, e(S, b, o, s));
1633
+ }), !a && o.modularCssLayers ? {
1634
+ "@layer sx": Pr(o, sr(m, g))
1635
+ } : Pr(o, sr(m, g));
1636
+ }
1637
+ return Array.isArray(n) ? n.map(u) : u(n);
1638
+ }
1639
+ return r;
1640
+ }
1641
+ const Ke = fn();
1642
+ Ke.filterProps = ["sx"];
1643
+ const dn = (e) => {
1644
+ const r = Object.keys(e).map((t) => ({
1645
+ key: t,
1646
+ val: e[t]
1647
+ })) || [];
1648
+ return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
1649
+ ...t,
1650
+ [n.key]: n.val
1651
+ }), {});
1652
+ };
1653
+ function pn(e) {
1654
+ const {
1655
+ // The breakpoint **start** at this value.
1656
+ // For instance with the first breakpoint xs: [xs, sm).
1657
+ values: r = {
1658
+ xs: 0,
1659
+ // phone
1660
+ sm: 600,
1661
+ // tablet
1662
+ md: 900,
1663
+ // small laptop
1664
+ lg: 1200,
1665
+ // desktop
1666
+ xl: 1536
1667
+ // large screen
1668
+ },
1669
+ unit: t = "px",
1670
+ step: n = 5,
1671
+ ...o
1672
+ } = e, a = dn(r), s = Object.keys(a);
1673
+ function u(g) {
1674
+ return `@media (min-width:${typeof r[g] == "number" ? r[g] : g}${t})`;
1675
+ }
1676
+ function f(g) {
1677
+ return `@media (max-width:${(typeof r[g] == "number" ? r[g] : g) - n / 100}${t})`;
1678
+ }
1679
+ function d(g, S) {
1680
+ const b = s.indexOf(S);
1681
+ return `@media (min-width:${typeof r[g] == "number" ? r[g] : g}${t}) and (max-width:${(b !== -1 && typeof r[s[b]] == "number" ? r[s[b]] : S) - n / 100}${t})`;
1682
+ }
1683
+ function p(g) {
1684
+ return s.indexOf(g) + 1 < s.length ? d(g, s[s.indexOf(g) + 1]) : u(g);
1685
+ }
1686
+ function m(g) {
1687
+ const S = s.indexOf(g);
1688
+ return S === 0 ? u(s[1]) : S === s.length - 1 ? f(s[S]) : d(g, s[s.indexOf(g) + 1]).replace("@media", "@media not all and");
1689
+ }
1690
+ return {
1691
+ keys: s,
1692
+ values: a,
1693
+ up: u,
1694
+ down: f,
1695
+ between: d,
1696
+ only: p,
1697
+ not: m,
1698
+ unit: t,
1699
+ ...o
1700
+ };
1701
+ }
1702
+ const mn = {
1703
+ borderRadius: 4
1704
+ };
1705
+ function Xr(e = 8, r = dr({
1706
+ spacing: e
1707
+ })) {
1708
+ if (e.mui)
1709
+ return e;
1710
+ const t = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((a) => {
1711
+ const s = r(a);
1712
+ return typeof s == "number" ? `${s}px` : s;
1713
+ }).join(" "));
1714
+ return t.mui = !0, t;
1715
+ }
1716
+ function gn(e, r) {
1717
+ var n;
1718
+ const t = this;
1719
+ if (t.vars) {
1720
+ if (!((n = t.colorSchemes) != null && n[e]) || typeof t.getColorSchemeSelector != "function")
1721
+ return {};
1722
+ let o = t.getColorSchemeSelector(e);
1723
+ return o === "&" ? r : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
1724
+ [o]: r
1725
+ });
1726
+ }
1727
+ return t.palette.mode === e ? r : {};
1728
+ }
1729
+ function hn(e = {}, ...r) {
1730
+ const {
1731
+ breakpoints: t = {},
1732
+ palette: n = {},
1733
+ spacing: o,
1734
+ shape: a = {},
1735
+ ...s
1736
+ } = e, u = pn(t), f = Xr(o);
1737
+ let d = ee({
1738
+ breakpoints: u,
1739
+ direction: "ltr",
1740
+ components: {},
1741
+ // Inject component definitions.
1742
+ palette: {
1743
+ mode: "light",
1744
+ ...n
1745
+ },
1746
+ spacing: f,
1747
+ shape: {
1748
+ ...mn,
1749
+ ...a
1750
+ }
1751
+ }, s);
1752
+ return d = Ct(d), d.applyStyles = gn, d = r.reduce((p, m) => ee(p, m), d), d.unstable_sxConfig = {
1753
+ ...Ge,
1754
+ ...s == null ? void 0 : s.unstable_sxConfig
1755
+ }, d.unstable_sx = function(m) {
1756
+ return Ke({
1757
+ sx: m,
1758
+ theme: this
1759
+ });
1760
+ }, d;
1761
+ }
1762
+ const yn = {
1763
+ active: "active",
1764
+ checked: "checked",
1765
+ completed: "completed",
1766
+ disabled: "disabled",
1767
+ error: "error",
1768
+ expanded: "expanded",
1769
+ focused: "focused",
1770
+ focusVisible: "focusVisible",
1771
+ open: "open",
1772
+ readOnly: "readOnly",
1773
+ required: "required",
1774
+ selected: "selected"
1775
+ };
1776
+ function bn(e, r, t = "Mui") {
1777
+ const n = yn[r];
1778
+ return n ? `${t}-${n}` : `${ct.generate(e)}-${r}`;
1779
+ }
1780
+ function vn(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
1781
+ return Math.max(r, Math.min(e, t));
1782
+ }
1783
+ function mr(e, r = 0, t = 1) {
1784
+ return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), vn(e, r, t);
1785
+ }
1786
+ function Sn(e) {
1787
+ e = e.slice(1);
1788
+ const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
1789
+ let t = e.match(r);
1790
+ return t && t[0].length === 1 && (t = t.map((n) => n + n)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), t ? `rgb${t.length === 4 ? "a" : ""}(${t.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
1791
+ }
1792
+ function ge(e) {
1793
+ if (e.type)
1794
+ return e;
1795
+ if (e.charAt(0) === "#")
1796
+ return ge(Sn(e));
1797
+ const r = e.indexOf("("), t = e.substring(0, r);
1798
+ if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
1799
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
1800
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : me(9, e));
1801
+ let n = e.substring(r + 1, e.length - 1), o;
1802
+ if (t === "color") {
1803
+ if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
1804
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
1805
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : me(10, o));
1806
+ } else
1807
+ n = n.split(",");
1808
+ return n = n.map((a) => parseFloat(a)), {
1809
+ type: t,
1810
+ values: n,
1811
+ colorSpace: o
1812
+ };
1813
+ }
1814
+ const En = (e) => {
1815
+ const r = ge(e);
1816
+ return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
1817
+ }, Oe = (e, r) => {
1818
+ try {
1819
+ return En(e);
1820
+ } catch {
1821
+ return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
1822
+ }
1823
+ };
1824
+ function He(e) {
1825
+ const {
1826
+ type: r,
1827
+ colorSpace: t
1828
+ } = e;
1829
+ let {
1830
+ values: n
1831
+ } = e;
1832
+ return r.includes("rgb") ? n = n.map((o, a) => a < 3 ? parseInt(o, 10) : o) : r.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.includes("color") ? n = `${t} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
1833
+ }
1834
+ function Jr(e) {
1835
+ e = ge(e);
1836
+ const {
1837
+ values: r
1838
+ } = e, t = r[0], n = r[1] / 100, o = r[2] / 100, a = n * Math.min(o, 1 - o), s = (d, p = (d + t / 30) % 12) => o - a * Math.max(Math.min(p - 3, 9 - p, 1), -1);
1839
+ let u = "rgb";
1840
+ const f = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
1841
+ return e.type === "hsla" && (u += "a", f.push(r[3])), He({
1842
+ type: u,
1843
+ values: f
1844
+ });
1845
+ }
1846
+ function cr(e) {
1847
+ e = ge(e);
1848
+ let r = e.type === "hsl" || e.type === "hsla" ? ge(Jr(e)).values : e.values;
1849
+ return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
1850
+ }
1851
+ function Nr(e, r) {
1852
+ const t = cr(e), n = cr(r);
1853
+ return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
1854
+ }
1855
+ function Zr(e, r) {
1856
+ return e = ge(e), r = mr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, He(e);
1857
+ }
1858
+ function ye(e, r, t) {
1859
+ try {
1860
+ return Zr(e, r);
1861
+ } catch {
1862
+ return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
1863
+ }
1864
+ }
1865
+ function Qe(e, r) {
1866
+ if (e = ge(e), r = mr(r), e.type.includes("hsl"))
1867
+ e.values[2] *= 1 - r;
1868
+ else if (e.type.includes("rgb") || e.type.includes("color"))
1869
+ for (let t = 0; t < 3; t += 1)
1870
+ e.values[t] *= 1 - r;
1871
+ return He(e);
1872
+ }
1873
+ function Y(e, r, t) {
1874
+ try {
1875
+ return Qe(e, r);
1876
+ } catch {
1877
+ return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
1878
+ }
1879
+ }
1880
+ function Xe(e, r) {
1881
+ if (e = ge(e), r = mr(r), e.type.includes("hsl"))
1882
+ e.values[2] += (100 - e.values[2]) * r;
1883
+ else if (e.type.includes("rgb"))
1884
+ for (let t = 0; t < 3; t += 1)
1885
+ e.values[t] += (255 - e.values[t]) * r;
1886
+ else if (e.type.includes("color"))
1887
+ for (let t = 0; t < 3; t += 1)
1888
+ e.values[t] += (1 - e.values[t]) * r;
1889
+ return He(e);
1890
+ }
1891
+ function U(e, r, t) {
1892
+ try {
1893
+ return Xe(e, r);
1894
+ } catch {
1895
+ return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
1896
+ }
1897
+ }
1898
+ function Cn(e, r = 0.15) {
1899
+ return cr(e) > 0.5 ? Qe(e, r) : Xe(e, r);
1900
+ }
1901
+ function Me(e, r, t) {
1902
+ try {
1903
+ return Cn(e, r);
1904
+ } catch {
1905
+ return e;
1906
+ }
1907
+ }
1908
+ function Tn(e = "") {
1909
+ function r(...n) {
1910
+ if (!n.length)
1911
+ return "";
1912
+ const o = n[0];
1913
+ return typeof o == "string" && !o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${o}${r(...n.slice(1))})` : `, ${o}`;
1914
+ }
1915
+ return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${r(...o)})`;
1916
+ }
1917
+ const Br = (e, r, t, n = []) => {
1918
+ let o = e;
1919
+ r.forEach((a, s) => {
1920
+ s === r.length - 1 ? Array.isArray(o) ? o[Number(a)] = t : o && typeof o == "object" && (o[a] = t) : o && typeof o == "object" && (o[a] || (o[a] = n.includes(a) ? [] : {}), o = o[a]);
1921
+ });
1922
+ }, $n = (e, r, t) => {
1923
+ function n(o, a = [], s = []) {
1924
+ Object.entries(o).forEach(([u, f]) => {
1925
+ (!t || t && !t([...a, u])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, u], Array.isArray(f) ? [...s, u] : s) : r([...a, u], f, s));
1926
+ });
1927
+ }
1928
+ n(e);
1929
+ }, xn = (e, r) => typeof r == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? r : `${r}px` : r;
1930
+ function ir(e, r) {
1931
+ const {
1932
+ prefix: t,
1933
+ shouldSkipGeneratingVar: n
1934
+ } = r || {}, o = {}, a = {}, s = {};
1935
+ return $n(
1936
+ e,
1937
+ (u, f, d) => {
1938
+ if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
1939
+ const p = `--${t ? `${t}-` : ""}${u.join("-")}`, m = xn(u, f);
1940
+ Object.assign(o, {
1941
+ [p]: m
1942
+ }), Br(a, u, `var(${p})`, d), Br(s, u, `var(${p}, ${m})`, d);
1943
+ }
1944
+ },
1945
+ (u) => u[0] === "vars"
1946
+ // skip 'vars/*' paths
1947
+ ), {
1948
+ css: o,
1949
+ vars: a,
1950
+ varsWithDefaults: s
1951
+ };
1952
+ }
1953
+ function On(e, r = {}) {
1954
+ const {
1955
+ getSelector: t = _,
1956
+ disableCssColorScheme: n,
1957
+ colorSchemeSelector: o,
1958
+ enableContrastVars: a
1959
+ } = r, {
1960
+ colorSchemes: s = {},
1961
+ components: u,
1962
+ defaultColorScheme: f = "light",
1963
+ ...d
1964
+ } = e, {
1965
+ vars: p,
1966
+ css: m,
1967
+ varsWithDefaults: g
1968
+ } = ir(d, r);
1969
+ let S = g;
1970
+ const b = {}, {
1971
+ [f]: c,
1972
+ ...E
1973
+ } = s;
1974
+ if (Object.entries(E || {}).forEach(([$, y]) => {
1975
+ const {
1976
+ vars: O,
1977
+ css: re,
1978
+ varsWithDefaults: ne
1979
+ } = ir(y, r);
1980
+ S = ee(S, ne), b[$] = {
1981
+ css: re,
1982
+ vars: O
1983
+ };
1984
+ }), c) {
1985
+ const {
1986
+ css: $,
1987
+ vars: y,
1988
+ varsWithDefaults: O
1989
+ } = ir(c, r);
1990
+ S = ee(S, O), b[f] = {
1991
+ css: $,
1992
+ vars: y
1993
+ };
1994
+ }
1995
+ function _($, y) {
1996
+ var re, ne;
1997
+ let O = o;
1998
+ if (o === "class" && (O = ".%s"), o === "data" && (O = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (O = `[${o}="%s"]`), $) {
1999
+ if (O === "media")
2000
+ return e.defaultColorScheme === $ ? ":root" : {
2001
+ [`@media (prefers-color-scheme: ${((ne = (re = s[$]) == null ? void 0 : re.palette) == null ? void 0 : ne.mode) || $})`]: {
2002
+ ":root": y
2003
+ }
2004
+ };
2005
+ if (O)
2006
+ return e.defaultColorScheme === $ ? `:root, ${O.replace("%s", String($))}` : O.replace("%s", String($));
2007
+ }
2008
+ return ":root";
2009
+ }
2010
+ return {
2011
+ vars: S,
2012
+ generateThemeVars: () => {
2013
+ let $ = {
2014
+ ...p
2015
+ };
2016
+ return Object.entries(b).forEach(([, {
2017
+ vars: y
2018
+ }]) => {
2019
+ $ = ee($, y);
2020
+ }), $;
2021
+ },
2022
+ generateStyleSheets: () => {
2023
+ var ue, de;
2024
+ const $ = [], y = e.defaultColorScheme || "light";
2025
+ function O(K, i) {
2026
+ Object.keys(i).length && $.push(typeof K == "string" ? {
2027
+ [K]: {
2028
+ ...i
2029
+ }
2030
+ } : K);
2031
+ }
2032
+ O(t(void 0, {
2033
+ ...m
2034
+ }), m);
2035
+ const {
2036
+ [y]: re,
2037
+ ...ne
2038
+ } = b;
2039
+ if (re) {
2040
+ const {
2041
+ css: K
2042
+ } = re, i = (de = (ue = s[y]) == null ? void 0 : ue.palette) == null ? void 0 : de.mode, x = !n && i ? {
2043
+ colorScheme: i,
2044
+ ...K
2045
+ } : {
2046
+ ...K
2047
+ };
2048
+ O(t(y, {
2049
+ ...x
2050
+ }), x);
2051
+ }
2052
+ return Object.entries(ne).forEach(([K, {
2053
+ css: i
2054
+ }]) => {
2055
+ var I, N;
2056
+ const x = (N = (I = s[K]) == null ? void 0 : I.palette) == null ? void 0 : N.mode, v = !n && x ? {
2057
+ colorScheme: x,
2058
+ ...i
2059
+ } : {
2060
+ ...i
2061
+ };
2062
+ O(t(K, {
2063
+ ...v
2064
+ }), v);
2065
+ }), a && $.push({
2066
+ ":root": {
2067
+ // use double underscore to indicate that these are private variables
2068
+ "--__l-threshold": "0.7",
2069
+ "--__l": "clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)",
2070
+ "--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
2071
+ // 0.87 is the default alpha value for black text.
2072
+ }
2073
+ }), $;
2074
+ }
2075
+ };
2076
+ }
2077
+ function wn(e) {
2078
+ return function(t) {
2079
+ return e === "media" ? (process.env.NODE_ENV !== "production" && t !== "light" && t !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`), `@media (prefers-color-scheme: ${t})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${t}"] &` : e === "class" ? `.${t} &` : e === "data" ? `[data-${t}] &` : `${e.replace("%s", t)} &` : "&";
2080
+ };
2081
+ }
2082
+ const Ae = {
2083
+ black: "#000",
2084
+ white: "#fff"
2085
+ }, _n = {
2086
+ 50: "#fafafa",
2087
+ 100: "#f5f5f5",
2088
+ 200: "#eeeeee",
2089
+ 300: "#e0e0e0",
2090
+ 400: "#bdbdbd",
2091
+ 500: "#9e9e9e",
2092
+ 600: "#757575",
2093
+ 700: "#616161",
2094
+ 800: "#424242",
2095
+ 900: "#212121",
2096
+ A100: "#f5f5f5",
2097
+ A200: "#eeeeee",
2098
+ A400: "#bdbdbd",
2099
+ A700: "#616161"
2100
+ }, be = {
2101
+ 50: "#f3e5f5",
2102
+ 200: "#ce93d8",
2103
+ 300: "#ba68c8",
2104
+ 400: "#ab47bc",
2105
+ 500: "#9c27b0",
2106
+ 700: "#7b1fa2"
2107
+ }, ve = {
2108
+ 300: "#e57373",
2109
+ 400: "#ef5350",
2110
+ 500: "#f44336",
2111
+ 700: "#d32f2f",
2112
+ 800: "#c62828"
2113
+ }, xe = {
2114
+ 300: "#ffb74d",
2115
+ 400: "#ffa726",
2116
+ 500: "#ff9800",
2117
+ 700: "#f57c00",
2118
+ 900: "#e65100"
2119
+ }, Se = {
2120
+ 50: "#e3f2fd",
2121
+ 200: "#90caf9",
2122
+ 400: "#42a5f5",
2123
+ 700: "#1976d2",
2124
+ 800: "#1565c0"
2125
+ }, Ee = {
2126
+ 300: "#4fc3f7",
2127
+ 400: "#29b6f6",
2128
+ 500: "#03a9f4",
2129
+ 700: "#0288d1",
2130
+ 900: "#01579b"
2131
+ }, Ce = {
2132
+ 300: "#81c784",
2133
+ 400: "#66bb6a",
2134
+ 500: "#4caf50",
2135
+ 700: "#388e3c",
2136
+ 800: "#2e7d32",
2137
+ 900: "#1b5e20"
2138
+ };
2139
+ function et() {
2140
+ return {
2141
+ // The colors used to style the text.
2142
+ text: {
2143
+ // The most important text.
2144
+ primary: "rgba(0, 0, 0, 0.87)",
2145
+ // Secondary text.
2146
+ secondary: "rgba(0, 0, 0, 0.6)",
2147
+ // Disabled text have even lower visual prominence.
2148
+ disabled: "rgba(0, 0, 0, 0.38)"
2149
+ },
2150
+ // The color used to divide different elements.
2151
+ divider: "rgba(0, 0, 0, 0.12)",
2152
+ // The background colors used to style the surfaces.
2153
+ // Consistency between these values is important.
2154
+ background: {
2155
+ paper: Ae.white,
2156
+ default: Ae.white
2157
+ },
2158
+ // The colors used to style the action elements.
2159
+ action: {
2160
+ // The color of an active action like an icon button.
2161
+ active: "rgba(0, 0, 0, 0.54)",
2162
+ // The color of an hovered action.
2163
+ hover: "rgba(0, 0, 0, 0.04)",
2164
+ hoverOpacity: 0.04,
2165
+ // The color of a selected action.
2166
+ selected: "rgba(0, 0, 0, 0.08)",
2167
+ selectedOpacity: 0.08,
2168
+ // The color of a disabled action.
2169
+ disabled: "rgba(0, 0, 0, 0.26)",
2170
+ // The background color of a disabled action.
2171
+ disabledBackground: "rgba(0, 0, 0, 0.12)",
2172
+ disabledOpacity: 0.38,
2173
+ focus: "rgba(0, 0, 0, 0.12)",
2174
+ focusOpacity: 0.12,
2175
+ activatedOpacity: 0.12
2176
+ }
2177
+ };
2178
+ }
2179
+ const rt = et();
2180
+ function tt() {
2181
+ return {
2182
+ text: {
2183
+ primary: Ae.white,
2184
+ secondary: "rgba(255, 255, 255, 0.7)",
2185
+ disabled: "rgba(255, 255, 255, 0.5)",
2186
+ icon: "rgba(255, 255, 255, 0.5)"
2187
+ },
2188
+ divider: "rgba(255, 255, 255, 0.12)",
2189
+ background: {
2190
+ paper: "#121212",
2191
+ default: "#121212"
2192
+ },
2193
+ action: {
2194
+ active: Ae.white,
2195
+ hover: "rgba(255, 255, 255, 0.08)",
2196
+ hoverOpacity: 0.08,
2197
+ selected: "rgba(255, 255, 255, 0.16)",
2198
+ selectedOpacity: 0.16,
2199
+ disabled: "rgba(255, 255, 255, 0.3)",
2200
+ disabledBackground: "rgba(255, 255, 255, 0.12)",
2201
+ disabledOpacity: 0.38,
2202
+ focus: "rgba(255, 255, 255, 0.12)",
2203
+ focusOpacity: 0.12,
2204
+ activatedOpacity: 0.24
2205
+ }
2206
+ };
2207
+ }
2208
+ const ur = tt();
2209
+ function Mr(e, r, t, n) {
2210
+ const o = n.light || n, a = n.dark || n * 1.5;
2211
+ e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = Xe(e.main, o) : r === "dark" && (e.dark = Qe(e.main, a)));
2212
+ }
2213
+ function Dr(e, r, t, n, o) {
2214
+ const a = o.light || o, s = o.dark || o * 1.5;
2215
+ r[t] || (r.hasOwnProperty(n) ? r[t] = r[n] : t === "light" ? r.light = `color-mix(in ${e}, ${r.main}, #fff ${(a * 100).toFixed(0)}%)` : t === "dark" && (r.dark = `color-mix(in ${e}, ${r.main}, #000 ${(s * 100).toFixed(0)}%)`));
2216
+ }
2217
+ function An(e = "light") {
2218
+ return e === "dark" ? {
2219
+ main: Se[200],
2220
+ light: Se[50],
2221
+ dark: Se[400]
2222
+ } : {
2223
+ main: Se[700],
2224
+ light: Se[400],
2225
+ dark: Se[800]
2226
+ };
2227
+ }
2228
+ function Rn(e = "light") {
2229
+ return e === "dark" ? {
2230
+ main: be[200],
2231
+ light: be[50],
2232
+ dark: be[400]
2233
+ } : {
2234
+ main: be[500],
2235
+ light: be[300],
2236
+ dark: be[700]
2237
+ };
2238
+ }
2239
+ function Pn(e = "light") {
2240
+ return e === "dark" ? {
2241
+ main: ve[500],
2242
+ light: ve[300],
2243
+ dark: ve[700]
2244
+ } : {
2245
+ main: ve[700],
2246
+ light: ve[400],
2247
+ dark: ve[800]
2248
+ };
2249
+ }
2250
+ function kn(e = "light") {
2251
+ return e === "dark" ? {
2252
+ main: Ee[400],
2253
+ light: Ee[300],
2254
+ dark: Ee[700]
2255
+ } : {
2256
+ main: Ee[700],
2257
+ light: Ee[500],
2258
+ dark: Ee[900]
2259
+ };
2260
+ }
2261
+ function In(e = "light") {
2262
+ return e === "dark" ? {
2263
+ main: Ce[400],
2264
+ light: Ce[300],
2265
+ dark: Ce[700]
2266
+ } : {
2267
+ main: Ce[800],
2268
+ light: Ce[500],
2269
+ dark: Ce[900]
2270
+ };
2271
+ }
2272
+ function Nn(e = "light") {
2273
+ return e === "dark" ? {
2274
+ main: xe[400],
2275
+ light: xe[300],
2276
+ dark: xe[700]
2277
+ } : {
2278
+ main: "#ed6c02",
2279
+ // closest to orange[800] that pass 3:1.
2280
+ light: xe[500],
2281
+ dark: xe[900]
2282
+ };
2283
+ }
2284
+ function Bn(e) {
2285
+ return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
2286
+ }
2287
+ function gr(e) {
2288
+ const {
2289
+ mode: r = "light",
2290
+ contrastThreshold: t = 3,
2291
+ tonalOffset: n = 0.2,
2292
+ colorSpace: o,
2293
+ ...a
2294
+ } = e, s = e.primary || An(r), u = e.secondary || Rn(r), f = e.error || Pn(r), d = e.info || kn(r), p = e.success || In(r), m = e.warning || Nn(r);
2295
+ function g(E) {
2296
+ if (o)
2297
+ return Bn(E);
2298
+ const _ = Nr(E, ur.text.primary) >= t ? ur.text.primary : rt.text.primary;
2299
+ if (process.env.NODE_ENV !== "production") {
2300
+ const j = Nr(E, _);
2301
+ j < 3 && console.error([`MUI: The contrast ratio of ${j}:1 for ${_} on ${E}`, "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(`
2302
+ `));
2303
+ }
2304
+ return _;
2305
+ }
2306
+ const S = ({
2307
+ color: E,
2308
+ name: _,
2309
+ mainShade: j = 500,
2310
+ lightShade: F = 300,
2311
+ darkShade: $ = 700
2312
+ }) => {
2313
+ if (E = {
2314
+ ...E
2315
+ }, !E.main && E[j] && (E.main = E[j]), !E.hasOwnProperty("main"))
2316
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${_ ? ` (${_})` : ""} provided to augmentColor(color) is invalid.
2317
+ The color object needs to have a \`main\` property or a \`${j}\` property.` : me(11, _ ? ` (${_})` : "", j));
2318
+ if (typeof E.main != "string")
2319
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${_ ? ` (${_})` : ""} provided to augmentColor(color) is invalid.
2320
+ \`color.main\` should be a string, but \`${JSON.stringify(E.main)}\` was provided instead.
2321
+
2322
+ Did you intend to use one of the following approaches?
2323
+
2324
+ import { green } from "@mui/material/colors";
2325
+
2326
+ const theme1 = createTheme({ palette: {
2327
+ primary: green,
2328
+ } });
2329
+
2330
+ const theme2 = createTheme({ palette: {
2331
+ primary: { main: green[500] },
2332
+ } });` : me(12, _ ? ` (${_})` : "", JSON.stringify(E.main)));
2333
+ return o ? (Dr(o, E, "light", F, n), Dr(o, E, "dark", $, n)) : (Mr(E, "light", F, n), Mr(E, "dark", $, n)), E.contrastText || (E.contrastText = g(E.main)), E;
2334
+ };
2335
+ let b;
2336
+ return r === "light" ? b = et() : r === "dark" && (b = tt()), process.env.NODE_ENV !== "production" && (b || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), ee({
2337
+ // A collection of common colors.
2338
+ common: {
2339
+ ...Ae
2340
+ },
2341
+ // prevent mutable object.
2342
+ // The palette mode, can be light or dark.
2343
+ mode: r,
2344
+ // The colors used to represent primary interface elements for a user.
2345
+ primary: S({
2346
+ color: s,
2347
+ name: "primary"
2348
+ }),
2349
+ // The colors used to represent secondary interface elements for a user.
2350
+ secondary: S({
2351
+ color: u,
2352
+ name: "secondary",
2353
+ mainShade: "A400",
2354
+ lightShade: "A200",
2355
+ darkShade: "A700"
2356
+ }),
2357
+ // The colors used to represent interface elements that the user should be made aware of.
2358
+ error: S({
2359
+ color: f,
2360
+ name: "error"
2361
+ }),
2362
+ // The colors used to represent potentially dangerous actions or important messages.
2363
+ warning: S({
2364
+ color: m,
2365
+ name: "warning"
2366
+ }),
2367
+ // The colors used to present information to the user that is neutral and not necessarily important.
2368
+ info: S({
2369
+ color: d,
2370
+ name: "info"
2371
+ }),
2372
+ // The colors used to indicate the successful completion of an action that user triggered.
2373
+ success: S({
2374
+ color: p,
2375
+ name: "success"
2376
+ }),
2377
+ // The grey colors.
2378
+ grey: _n,
2379
+ // Used by `getContrastText()` to maximize the contrast between
2380
+ // the background and the text.
2381
+ contrastThreshold: t,
2382
+ // Takes a background color and returns the text color that maximizes the contrast.
2383
+ getContrastText: g,
2384
+ // Generate a rich color object.
2385
+ augmentColor: S,
2386
+ // Used by the functions below to shift a color's luminance by approximately
2387
+ // two indexes within its tonal palette.
2388
+ // E.g., shift from Red 500 to Red 300 or Red 700.
2389
+ tonalOffset: n,
2390
+ // The light and dark mode object.
2391
+ ...b
2392
+ }, a);
2393
+ }
2394
+ function Mn(e) {
2395
+ const r = {};
2396
+ return Object.entries(e).forEach((n) => {
2397
+ const [o, a] = n;
2398
+ typeof a == "object" && (r[o] = `${a.fontStyle ? `${a.fontStyle} ` : ""}${a.fontVariant ? `${a.fontVariant} ` : ""}${a.fontWeight ? `${a.fontWeight} ` : ""}${a.fontStretch ? `${a.fontStretch} ` : ""}${a.fontSize || ""}${a.lineHeight ? `/${a.lineHeight} ` : ""}${a.fontFamily || ""}`);
2399
+ }), r;
2400
+ }
2401
+ function Dn(e, r) {
2402
+ return {
2403
+ toolbar: {
2404
+ minHeight: 56,
2405
+ [e.up("xs")]: {
2406
+ "@media (orientation: landscape)": {
2407
+ minHeight: 48
2408
+ }
2409
+ },
2410
+ [e.up("sm")]: {
2411
+ minHeight: 64
2412
+ }
2413
+ },
2414
+ ...r
2415
+ };
2416
+ }
2417
+ function jn(e) {
2418
+ return Math.round(e * 1e5) / 1e5;
2419
+ }
2420
+ const jr = {
2421
+ textTransform: "uppercase"
2422
+ }, Fr = '"Roboto", "Helvetica", "Arial", sans-serif';
2423
+ function Fn(e, r) {
2424
+ const {
2425
+ fontFamily: t = Fr,
2426
+ // The default font size of the Material Specification.
2427
+ fontSize: n = 14,
2428
+ // px
2429
+ fontWeightLight: o = 300,
2430
+ fontWeightRegular: a = 400,
2431
+ fontWeightMedium: s = 500,
2432
+ fontWeightBold: u = 700,
2433
+ // Tell MUI what's the font-size on the html element.
2434
+ // 16px is the default font-size used by browsers.
2435
+ htmlFontSize: f = 16,
2436
+ // Apply the CSS properties to all the variants.
2437
+ allVariants: d,
2438
+ pxToRem: p,
2439
+ ...m
2440
+ } = typeof r == "function" ? r(e) : r;
2441
+ process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
2442
+ const g = n / 14, S = p || ((E) => `${E / f * g}rem`), b = (E, _, j, F, $) => ({
2443
+ fontFamily: t,
2444
+ fontWeight: E,
2445
+ fontSize: S(_),
2446
+ // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
2447
+ lineHeight: j,
2448
+ // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
2449
+ // across font-families can cause issues with the kerning.
2450
+ ...t === Fr ? {
2451
+ letterSpacing: `${jn(F / _)}em`
2452
+ } : {},
2453
+ ...$,
2454
+ ...d
2455
+ }), c = {
2456
+ h1: b(o, 96, 1.167, -1.5),
2457
+ h2: b(o, 60, 1.2, -0.5),
2458
+ h3: b(a, 48, 1.167, 0),
2459
+ h4: b(a, 34, 1.235, 0.25),
2460
+ h5: b(a, 24, 1.334, 0),
2461
+ h6: b(s, 20, 1.6, 0.15),
2462
+ subtitle1: b(a, 16, 1.75, 0.15),
2463
+ subtitle2: b(s, 14, 1.57, 0.1),
2464
+ body1: b(a, 16, 1.5, 0.15),
2465
+ body2: b(a, 14, 1.43, 0.15),
2466
+ button: b(s, 14, 1.75, 0.4, jr),
2467
+ caption: b(a, 12, 1.66, 0.4),
2468
+ overline: b(a, 12, 2.66, 1, jr),
2469
+ // 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.
2470
+ inherit: {
2471
+ fontFamily: "inherit",
2472
+ fontWeight: "inherit",
2473
+ fontSize: "inherit",
2474
+ lineHeight: "inherit",
2475
+ letterSpacing: "inherit"
2476
+ }
2477
+ };
2478
+ return ee({
2479
+ htmlFontSize: f,
2480
+ pxToRem: S,
2481
+ fontFamily: t,
2482
+ fontSize: n,
2483
+ fontWeightLight: o,
2484
+ fontWeightRegular: a,
2485
+ fontWeightMedium: s,
2486
+ fontWeightBold: u,
2487
+ ...c
2488
+ }, m, {
2489
+ clone: !1
2490
+ // No need to clone deep
2491
+ });
2492
+ }
2493
+ const Ln = 0.2, Wn = 0.14, Vn = 0.12;
2494
+ function G(...e) {
2495
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ln})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Wn})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Vn})`].join(",");
2496
+ }
2497
+ const Yn = ["none", G(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), G(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), G(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), G(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), G(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), G(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), G(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), G(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), G(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), G(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), G(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), G(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), G(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), G(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), G(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), G(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), G(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), G(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), G(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), G(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), G(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), G(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), G(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), G(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Un = {
2498
+ // This is the most common easing curve.
2499
+ easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
2500
+ // Objects enter the screen at full velocity from off-screen and
2501
+ // slowly decelerate to a resting point.
2502
+ easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
2503
+ // Objects leave the screen at full velocity. They do not decelerate when off-screen.
2504
+ easeIn: "cubic-bezier(0.4, 0, 1, 1)",
2505
+ // The sharp curve is used by objects that may return to the screen at any time.
2506
+ sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
2507
+ }, zn = {
2508
+ shortest: 150,
2509
+ shorter: 200,
2510
+ short: 250,
2511
+ // most basic recommended timing
2512
+ standard: 300,
2513
+ // this is to be used in complex animations
2514
+ complex: 375,
2515
+ // recommended when something is entering screen
2516
+ enteringScreen: 225,
2517
+ // recommended when something is leaving screen
2518
+ leavingScreen: 195
2519
+ };
2520
+ function Lr(e) {
2521
+ return `${Math.round(e)}ms`;
2522
+ }
2523
+ function qn(e) {
2524
+ if (!e)
2525
+ return 0;
2526
+ const r = e / 36;
2527
+ return Math.min(Math.round((4 + 15 * r ** 0.25 + r / 5) * 10), 3e3);
2528
+ }
2529
+ function Gn(e) {
2530
+ const r = {
2531
+ ...Un,
2532
+ ...e.easing
2533
+ }, t = {
2534
+ ...zn,
2535
+ ...e.duration
2536
+ };
2537
+ return {
2538
+ getAutoHeightDuration: qn,
2539
+ create: (o = ["all"], a = {}) => {
2540
+ const {
2541
+ duration: s = t.standard,
2542
+ easing: u = r.easeInOut,
2543
+ delay: f = 0,
2544
+ ...d
2545
+ } = a;
2546
+ if (process.env.NODE_ENV !== "production") {
2547
+ const p = (g) => typeof g == "string", m = (g) => !Number.isNaN(parseFloat(g));
2548
+ !p(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !m(s) && !p(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), p(u) || console.error('MUI: Argument "easing" must be a string.'), !m(f) && !p(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
2549
+ `)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
2550
+ }
2551
+ return (Array.isArray(o) ? o : [o]).map((p) => `${p} ${typeof s == "string" ? s : Lr(s)} ${u} ${typeof f == "string" ? f : Lr(f)}`).join(",");
2552
+ },
2553
+ ...e,
2554
+ easing: r,
2555
+ duration: t
2556
+ };
2557
+ }
2558
+ const Kn = {
2559
+ mobileStepper: 1e3,
2560
+ fab: 1050,
2561
+ speedDial: 1050,
2562
+ appBar: 1100,
2563
+ drawer: 1200,
2564
+ modal: 1300,
2565
+ snackbar: 1400,
2566
+ tooltip: 1500
2567
+ };
2568
+ function Hn(e) {
2569
+ return pe(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
2570
+ }
2571
+ function nt(e = {}) {
2572
+ const r = {
2573
+ ...e
2574
+ };
2575
+ function t(n) {
2576
+ const o = Object.entries(n);
2577
+ for (let a = 0; a < o.length; a++) {
2578
+ const [s, u] = o[a];
2579
+ !Hn(u) || s.startsWith("unstable_") ? delete n[s] : pe(u) && (n[s] = {
2580
+ ...u
2581
+ }, t(n[s]));
2582
+ }
2583
+ }
2584
+ return t(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
2585
+
2586
+ const theme = ${JSON.stringify(r, null, 2)};
2587
+
2588
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
2589
+ theme.transitions = createTransitions(theme.transitions || {});
2590
+
2591
+ export default theme;`;
2592
+ }
2593
+ function Wr(e) {
2594
+ return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
2595
+ }
2596
+ const Qn = (e) => {
2597
+ if (!Number.isNaN(+e))
2598
+ return +e;
2599
+ const r = e.match(/\d*\.?\d+/g);
2600
+ if (!r)
2601
+ return 0;
2602
+ let t = 0;
2603
+ for (let n = 0; n < r.length; n += 1)
2604
+ t += +r[n];
2605
+ return t;
2606
+ };
2607
+ function Xn(e) {
2608
+ Object.assign(e, {
2609
+ alpha(r, t) {
2610
+ const n = this || e;
2611
+ return n.colorSpace ? `oklch(from ${r} l c h / ${typeof t == "string" ? `calc(${t})` : t})` : n.vars ? `rgba(${r.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof t == "string" ? `calc(${t})` : t})` : Zr(r, Qn(t));
2612
+ },
2613
+ lighten(r, t) {
2614
+ const n = this || e;
2615
+ return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #fff ${Wr(t)})` : Xe(r, t);
2616
+ },
2617
+ darken(r, t) {
2618
+ const n = this || e;
2619
+ return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #000 ${Wr(t)})` : Qe(r, t);
2620
+ }
2621
+ });
2622
+ }
2623
+ function lr(e = {}, ...r) {
2624
+ const {
2625
+ breakpoints: t,
2626
+ mixins: n = {},
2627
+ spacing: o,
2628
+ palette: a = {},
2629
+ transitions: s = {},
2630
+ typography: u = {},
2631
+ shape: f,
2632
+ colorSpace: d,
2633
+ ...p
2634
+ } = e;
2635
+ if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
2636
+ // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
2637
+ e.generateThemeVars === void 0)
2638
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : me(20));
2639
+ const m = gr({
2640
+ ...a,
2641
+ colorSpace: d
2642
+ }), g = hn(e);
2643
+ let S = ee(g, {
2644
+ mixins: Dn(g.breakpoints, n),
2645
+ palette: m,
2646
+ // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
2647
+ shadows: Yn.slice(),
2648
+ typography: Fn(m, u),
2649
+ transitions: Gn(s),
2650
+ zIndex: {
2651
+ ...Kn
2652
+ }
2653
+ });
2654
+ if (S = ee(S, p), S = r.reduce((b, c) => ee(b, c), S), process.env.NODE_ENV !== "production") {
2655
+ const b = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], c = (E, _) => {
2656
+ let j;
2657
+ for (j in E) {
2658
+ const F = E[j];
2659
+ if (b.includes(j) && Object.keys(F).length > 0) {
2660
+ if (process.env.NODE_ENV !== "production") {
2661
+ const $ = bn("", j);
2662
+ console.error([`MUI: The \`${_}\` component increases the CSS specificity of the \`${j}\` internal state.`, "You can not override it like this: ", JSON.stringify(E, null, 2), "", `Instead, you need to use the '&.${$}' syntax:`, JSON.stringify({
2663
+ root: {
2664
+ [`&.${$}`]: F
2665
+ }
2666
+ }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
2667
+ `));
2668
+ }
2669
+ E[j] = {};
2670
+ }
2671
+ }
2672
+ };
2673
+ Object.keys(S.components).forEach((E) => {
2674
+ const _ = S.components[E].styleOverrides;
2675
+ _ && E.startsWith("Mui") && c(_, E);
2676
+ });
2677
+ }
2678
+ return S.unstable_sxConfig = {
2679
+ ...Ge,
2680
+ ...p == null ? void 0 : p.unstable_sxConfig
2681
+ }, S.unstable_sx = function(c) {
2682
+ return Ke({
2683
+ sx: c,
2684
+ theme: this
2685
+ });
2686
+ }, S.toRuntimeSource = nt, Xn(S), S;
2687
+ }
2688
+ function Jn(e) {
2689
+ let r;
2690
+ return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
2691
+ }
2692
+ const Zn = [...Array(25)].map((e, r) => {
2693
+ if (r === 0)
2694
+ return "none";
2695
+ const t = Jn(r);
2696
+ return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
2697
+ });
2698
+ function ot(e) {
2699
+ return {
2700
+ inputPlaceholder: e === "dark" ? 0.5 : 0.42,
2701
+ inputUnderline: e === "dark" ? 0.7 : 0.42,
2702
+ switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
2703
+ switchTrack: e === "dark" ? 0.3 : 0.38
2704
+ };
2705
+ }
2706
+ function it(e) {
2707
+ return e === "dark" ? Zn : [];
2708
+ }
2709
+ function eo(e) {
2710
+ const {
2711
+ palette: r = {
2712
+ mode: "light"
2713
+ },
2714
+ // need to cast to avoid module augmentation test
2715
+ opacity: t,
2716
+ overlays: n,
2717
+ colorSpace: o,
2718
+ ...a
2719
+ } = e, s = gr({
2720
+ ...r,
2721
+ colorSpace: o
2722
+ });
2723
+ return {
2724
+ palette: s,
2725
+ opacity: {
2726
+ ...ot(s.mode),
2727
+ ...t
2728
+ },
2729
+ overlays: n || it(s.mode),
2730
+ ...a
2731
+ };
2732
+ }
2733
+ function ro(e) {
2734
+ var r;
2735
+ return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
2736
+ e[0] === "palette" && !!((r = e[1]) != null && r.match(/(mode|contrastThreshold|tonalOffset)/));
2737
+ }
2738
+ const to = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], no = (e) => (r, t) => {
2739
+ const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
2740
+ let a = o;
2741
+ if (o === "class" && (a = ".%s"), o === "data" && (a = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (a = `[${o}="%s"]`), e.defaultColorScheme === r) {
2742
+ if (r === "dark") {
2743
+ const s = {};
2744
+ return to(e.cssVarPrefix).forEach((u) => {
2745
+ s[u] = t[u], delete t[u];
2746
+ }), a === "media" ? {
2747
+ [n]: t,
2748
+ "@media (prefers-color-scheme: dark)": {
2749
+ [n]: s
2750
+ }
2751
+ } : a ? {
2752
+ [a.replace("%s", r)]: s,
2753
+ [`${n}, ${a.replace("%s", r)}`]: t
2754
+ } : {
2755
+ [n]: {
2756
+ ...t,
2757
+ ...s
2758
+ }
2759
+ };
2760
+ }
2761
+ if (a && a !== "media")
2762
+ return `${n}, ${a.replace("%s", String(r))}`;
2763
+ } else if (r) {
2764
+ if (a === "media")
2765
+ return {
2766
+ [`@media (prefers-color-scheme: ${String(r)})`]: {
2767
+ [n]: t
2768
+ }
2769
+ };
2770
+ if (a)
2771
+ return a.replace("%s", String(r));
2772
+ }
2773
+ return n;
2774
+ };
2775
+ function oo(e, r) {
2776
+ r.forEach((t) => {
2777
+ e[t] || (e[t] = {});
2778
+ });
2779
+ }
2780
+ function l(e, r, t) {
2781
+ !e[r] && t && (e[r] = t);
2782
+ }
2783
+ function we(e) {
2784
+ return typeof e != "string" || !e.startsWith("hsl") ? e : Jr(e);
2785
+ }
2786
+ function le(e, r) {
2787
+ `${r}Channel` in e || (e[`${r}Channel`] = Oe(we(e[r]), `MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
2788
+ To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
2789
+ }
2790
+ function io(e) {
2791
+ return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
2792
+ }
2793
+ const ce = (e) => {
2794
+ try {
2795
+ return e();
2796
+ } catch {
2797
+ }
2798
+ }, ao = (e = "mui") => Tn(e);
2799
+ function ar(e, r, t, n, o) {
2800
+ if (!t)
2801
+ return;
2802
+ t = t === !0 ? {} : t;
2803
+ const a = o === "dark" ? "dark" : "light";
2804
+ if (!n) {
2805
+ r[o] = eo({
2806
+ ...t,
2807
+ palette: {
2808
+ mode: a,
2809
+ ...t == null ? void 0 : t.palette
2810
+ },
2811
+ colorSpace: e
2812
+ });
2813
+ return;
2814
+ }
2815
+ const {
2816
+ palette: s,
2817
+ ...u
2818
+ } = lr({
2819
+ ...n,
2820
+ palette: {
2821
+ mode: a,
2822
+ ...t == null ? void 0 : t.palette
2823
+ },
2824
+ colorSpace: e
2825
+ });
2826
+ return r[o] = {
2827
+ ...t,
2828
+ palette: s,
2829
+ opacity: {
2830
+ ...ot(a),
2831
+ ...t == null ? void 0 : t.opacity
2832
+ },
2833
+ overlays: (t == null ? void 0 : t.overlays) || it(a)
2834
+ }, u;
2835
+ }
2836
+ function so(e = {}, ...r) {
2837
+ const {
2838
+ colorSchemes: t = {
2839
+ light: !0
2840
+ },
2841
+ defaultColorScheme: n,
2842
+ disableCssColorScheme: o = !1,
2843
+ cssVarPrefix: a = "mui",
2844
+ nativeColor: s = !1,
2845
+ shouldSkipGeneratingVar: u = ro,
2846
+ colorSchemeSelector: f = t.light && t.dark ? "media" : void 0,
2847
+ rootSelector: d = ":root",
2848
+ ...p
2849
+ } = e, m = Object.keys(t)[0], g = n || (t.light && m !== "light" ? "light" : m), S = ao(a), {
2850
+ [g]: b,
2851
+ light: c,
2852
+ dark: E,
2853
+ ..._
2854
+ } = t, j = {
2855
+ ..._
2856
+ };
2857
+ let F = b;
2858
+ if ((g === "dark" && !("dark" in t) || g === "light" && !("light" in t)) && (F = !0), !F)
2859
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${g}\` option is either missing or invalid.` : me(21, g));
2860
+ let $;
2861
+ s && ($ = "oklch");
2862
+ const y = ar($, j, F, p, g);
2863
+ c && !j.light && ar($, j, c, void 0, "light"), E && !j.dark && ar($, j, E, void 0, "dark");
2864
+ let O = {
2865
+ defaultColorScheme: g,
2866
+ ...y,
2867
+ cssVarPrefix: a,
2868
+ colorSchemeSelector: f,
2869
+ rootSelector: d,
2870
+ getCssVar: S,
2871
+ colorSchemes: j,
2872
+ font: {
2873
+ ...Mn(y.typography),
2874
+ ...y.font
2875
+ },
2876
+ spacing: io(p.spacing)
2877
+ };
2878
+ Object.keys(O.colorSchemes).forEach((K) => {
2879
+ const i = O.colorSchemes[K].palette, x = (I) => {
2880
+ const N = I.split("-"), J = N[1], ae = N[2];
2881
+ return S(I, i[J][ae]);
2882
+ };
2883
+ i.mode === "light" && (l(i.common, "background", "#fff"), l(i.common, "onBackground", "#000")), i.mode === "dark" && (l(i.common, "background", "#000"), l(i.common, "onBackground", "#fff"));
2884
+ function v(I, N, J) {
2885
+ if ($) {
2886
+ let ae;
2887
+ return I === ye && (ae = `transparent ${((1 - J) * 100).toFixed(0)}%`), I === Y && (ae = `#000 ${(J * 100).toFixed(0)}%`), I === U && (ae = `#fff ${(J * 100).toFixed(0)}%`), `color-mix(in ${$}, ${N}, ${ae})`;
2888
+ }
2889
+ return I(N, J);
2890
+ }
2891
+ if (oo(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
2892
+ l(i.Alert, "errorColor", v(Y, i.error.light, 0.6)), l(i.Alert, "infoColor", v(Y, i.info.light, 0.6)), l(i.Alert, "successColor", v(Y, i.success.light, 0.6)), l(i.Alert, "warningColor", v(Y, i.warning.light, 0.6)), l(i.Alert, "errorFilledBg", x("palette-error-main")), l(i.Alert, "infoFilledBg", x("palette-info-main")), l(i.Alert, "successFilledBg", x("palette-success-main")), l(i.Alert, "warningFilledBg", x("palette-warning-main")), l(i.Alert, "errorFilledColor", ce(() => i.getContrastText(i.error.main))), l(i.Alert, "infoFilledColor", ce(() => i.getContrastText(i.info.main))), l(i.Alert, "successFilledColor", ce(() => i.getContrastText(i.success.main))), l(i.Alert, "warningFilledColor", ce(() => i.getContrastText(i.warning.main))), l(i.Alert, "errorStandardBg", v(U, i.error.light, 0.9)), l(i.Alert, "infoStandardBg", v(U, i.info.light, 0.9)), l(i.Alert, "successStandardBg", v(U, i.success.light, 0.9)), l(i.Alert, "warningStandardBg", v(U, i.warning.light, 0.9)), l(i.Alert, "errorIconColor", x("palette-error-main")), l(i.Alert, "infoIconColor", x("palette-info-main")), l(i.Alert, "successIconColor", x("palette-success-main")), l(i.Alert, "warningIconColor", x("palette-warning-main")), l(i.AppBar, "defaultBg", x("palette-grey-100")), l(i.Avatar, "defaultBg", x("palette-grey-400")), l(i.Button, "inheritContainedBg", x("palette-grey-300")), l(i.Button, "inheritContainedHoverBg", x("palette-grey-A100")), l(i.Chip, "defaultBorder", x("palette-grey-400")), l(i.Chip, "defaultAvatarColor", x("palette-grey-700")), l(i.Chip, "defaultIconColor", x("palette-grey-700")), l(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), l(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), l(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), l(i.LinearProgress, "primaryBg", v(U, i.primary.main, 0.62)), l(i.LinearProgress, "secondaryBg", v(U, i.secondary.main, 0.62)), l(i.LinearProgress, "errorBg", v(U, i.error.main, 0.62)), l(i.LinearProgress, "infoBg", v(U, i.info.main, 0.62)), l(i.LinearProgress, "successBg", v(U, i.success.main, 0.62)), l(i.LinearProgress, "warningBg", v(U, i.warning.main, 0.62)), l(i.Skeleton, "bg", $ ? v(ye, i.text.primary, 0.11) : `rgba(${x("palette-text-primaryChannel")} / 0.11)`), l(i.Slider, "primaryTrack", v(U, i.primary.main, 0.62)), l(i.Slider, "secondaryTrack", v(U, i.secondary.main, 0.62)), l(i.Slider, "errorTrack", v(U, i.error.main, 0.62)), l(i.Slider, "infoTrack", v(U, i.info.main, 0.62)), l(i.Slider, "successTrack", v(U, i.success.main, 0.62)), l(i.Slider, "warningTrack", v(U, i.warning.main, 0.62));
2893
+ const I = $ ? v(Y, i.background.default, 0.6825) : Me(i.background.default, 0.8);
2894
+ l(i.SnackbarContent, "bg", I), l(i.SnackbarContent, "color", ce(() => $ ? ur.text.primary : i.getContrastText(I))), l(i.SpeedDialAction, "fabHoverBg", Me(i.background.paper, 0.15)), l(i.StepConnector, "border", x("palette-grey-400")), l(i.StepContent, "border", x("palette-grey-400")), l(i.Switch, "defaultColor", x("palette-common-white")), l(i.Switch, "defaultDisabledColor", x("palette-grey-100")), l(i.Switch, "primaryDisabledColor", v(U, i.primary.main, 0.62)), l(i.Switch, "secondaryDisabledColor", v(U, i.secondary.main, 0.62)), l(i.Switch, "errorDisabledColor", v(U, i.error.main, 0.62)), l(i.Switch, "infoDisabledColor", v(U, i.info.main, 0.62)), l(i.Switch, "successDisabledColor", v(U, i.success.main, 0.62)), l(i.Switch, "warningDisabledColor", v(U, i.warning.main, 0.62)), l(i.TableCell, "border", v(U, v(ye, i.divider, 1), 0.88)), l(i.Tooltip, "bg", v(ye, i.grey[700], 0.92));
2895
+ }
2896
+ if (i.mode === "dark") {
2897
+ l(i.Alert, "errorColor", v(U, i.error.light, 0.6)), l(i.Alert, "infoColor", v(U, i.info.light, 0.6)), l(i.Alert, "successColor", v(U, i.success.light, 0.6)), l(i.Alert, "warningColor", v(U, i.warning.light, 0.6)), l(i.Alert, "errorFilledBg", x("palette-error-dark")), l(i.Alert, "infoFilledBg", x("palette-info-dark")), l(i.Alert, "successFilledBg", x("palette-success-dark")), l(i.Alert, "warningFilledBg", x("palette-warning-dark")), l(i.Alert, "errorFilledColor", ce(() => i.getContrastText(i.error.dark))), l(i.Alert, "infoFilledColor", ce(() => i.getContrastText(i.info.dark))), l(i.Alert, "successFilledColor", ce(() => i.getContrastText(i.success.dark))), l(i.Alert, "warningFilledColor", ce(() => i.getContrastText(i.warning.dark))), l(i.Alert, "errorStandardBg", v(Y, i.error.light, 0.9)), l(i.Alert, "infoStandardBg", v(Y, i.info.light, 0.9)), l(i.Alert, "successStandardBg", v(Y, i.success.light, 0.9)), l(i.Alert, "warningStandardBg", v(Y, i.warning.light, 0.9)), l(i.Alert, "errorIconColor", x("palette-error-main")), l(i.Alert, "infoIconColor", x("palette-info-main")), l(i.Alert, "successIconColor", x("palette-success-main")), l(i.Alert, "warningIconColor", x("palette-warning-main")), l(i.AppBar, "defaultBg", x("palette-grey-900")), l(i.AppBar, "darkBg", x("palette-background-paper")), l(i.AppBar, "darkColor", x("palette-text-primary")), l(i.Avatar, "defaultBg", x("palette-grey-600")), l(i.Button, "inheritContainedBg", x("palette-grey-800")), l(i.Button, "inheritContainedHoverBg", x("palette-grey-700")), l(i.Chip, "defaultBorder", x("palette-grey-700")), l(i.Chip, "defaultAvatarColor", x("palette-grey-300")), l(i.Chip, "defaultIconColor", x("palette-grey-300")), l(i.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), l(i.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), l(i.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), l(i.LinearProgress, "primaryBg", v(Y, i.primary.main, 0.5)), l(i.LinearProgress, "secondaryBg", v(Y, i.secondary.main, 0.5)), l(i.LinearProgress, "errorBg", v(Y, i.error.main, 0.5)), l(i.LinearProgress, "infoBg", v(Y, i.info.main, 0.5)), l(i.LinearProgress, "successBg", v(Y, i.success.main, 0.5)), l(i.LinearProgress, "warningBg", v(Y, i.warning.main, 0.5)), l(i.Skeleton, "bg", $ ? v(ye, i.text.primary, 0.13) : `rgba(${x("palette-text-primaryChannel")} / 0.13)`), l(i.Slider, "primaryTrack", v(Y, i.primary.main, 0.5)), l(i.Slider, "secondaryTrack", v(Y, i.secondary.main, 0.5)), l(i.Slider, "errorTrack", v(Y, i.error.main, 0.5)), l(i.Slider, "infoTrack", v(Y, i.info.main, 0.5)), l(i.Slider, "successTrack", v(Y, i.success.main, 0.5)), l(i.Slider, "warningTrack", v(Y, i.warning.main, 0.5));
2898
+ const I = $ ? v(U, i.background.default, 0.985) : Me(i.background.default, 0.98);
2899
+ l(i.SnackbarContent, "bg", I), l(i.SnackbarContent, "color", ce(() => $ ? rt.text.primary : i.getContrastText(I))), l(i.SpeedDialAction, "fabHoverBg", Me(i.background.paper, 0.15)), l(i.StepConnector, "border", x("palette-grey-600")), l(i.StepContent, "border", x("palette-grey-600")), l(i.Switch, "defaultColor", x("palette-grey-300")), l(i.Switch, "defaultDisabledColor", x("palette-grey-600")), l(i.Switch, "primaryDisabledColor", v(Y, i.primary.main, 0.55)), l(i.Switch, "secondaryDisabledColor", v(Y, i.secondary.main, 0.55)), l(i.Switch, "errorDisabledColor", v(Y, i.error.main, 0.55)), l(i.Switch, "infoDisabledColor", v(Y, i.info.main, 0.55)), l(i.Switch, "successDisabledColor", v(Y, i.success.main, 0.55)), l(i.Switch, "warningDisabledColor", v(Y, i.warning.main, 0.55)), l(i.TableCell, "border", v(Y, v(ye, i.divider, 1), 0.68)), l(i.Tooltip, "bg", v(ye, i.grey[700], 0.92));
2900
+ }
2901
+ le(i.background, "default"), le(i.background, "paper"), le(i.common, "background"), le(i.common, "onBackground"), le(i, "divider"), Object.keys(i).forEach((I) => {
2902
+ const N = i[I];
2903
+ I !== "tonalOffset" && N && typeof N == "object" && (N.main && l(i[I], "mainChannel", Oe(we(N.main))), N.light && l(i[I], "lightChannel", Oe(we(N.light))), N.dark && l(i[I], "darkChannel", Oe(we(N.dark))), N.contrastText && l(i[I], "contrastTextChannel", Oe(we(N.contrastText))), I === "text" && (le(i[I], "primary"), le(i[I], "secondary")), I === "action" && (N.active && le(i[I], "active"), N.selected && le(i[I], "selected")));
2904
+ });
2905
+ }), O = r.reduce((K, i) => ee(K, i), O);
2906
+ const re = {
2907
+ prefix: a,
2908
+ disableCssColorScheme: o,
2909
+ shouldSkipGeneratingVar: u,
2910
+ getSelector: no(O),
2911
+ enableContrastVars: s
2912
+ }, {
2913
+ vars: ne,
2914
+ generateThemeVars: ue,
2915
+ generateStyleSheets: de
2916
+ } = On(O, re);
2917
+ return O.vars = ne, Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([K, i]) => {
2918
+ O[K] = i;
2919
+ }), O.generateThemeVars = ue, O.generateStyleSheets = de, O.generateSpacing = function() {
2920
+ return Xr(p.spacing, dr(this));
2921
+ }, O.getColorSchemeSelector = wn(f), O.spacing = O.generateSpacing(), O.shouldSkipGeneratingVar = u, O.unstable_sxConfig = {
2922
+ ...Ge,
2923
+ ...p == null ? void 0 : p.unstable_sxConfig
2924
+ }, O.unstable_sx = function(i) {
2925
+ return Ke({
2926
+ sx: i,
2927
+ theme: this
2928
+ });
2929
+ }, O.toRuntimeSource = nt, O;
2930
+ }
2931
+ function Vr(e, r, t) {
2932
+ e.colorSchemes && t && (e.colorSchemes[r] = {
2933
+ ...t !== !0 && t,
2934
+ palette: gr({
2935
+ ...t === !0 ? {} : t.palette,
2936
+ mode: r
2937
+ })
2938
+ // cast type to skip module augmentation test
2939
+ });
2940
+ }
2941
+ function fo(e = {}, ...r) {
2942
+ const {
2943
+ palette: t,
2944
+ cssVariables: n = !1,
2945
+ colorSchemes: o = t ? void 0 : {
2946
+ light: !0
2947
+ },
2948
+ defaultColorScheme: a = t == null ? void 0 : t.mode,
2949
+ ...s
2950
+ } = e, u = a || "light", f = o == null ? void 0 : o[u], d = {
2951
+ ...o,
2952
+ ...t ? {
2953
+ [u]: {
2954
+ ...typeof f != "boolean" && f,
2955
+ palette: t
2956
+ }
2957
+ } : void 0
2958
+ };
2959
+ if (n === !1) {
2960
+ if (!("colorSchemes" in e))
2961
+ return lr(e, ...r);
2962
+ let p = t;
2963
+ "palette" in e || d[u] && (d[u] !== !0 ? p = d[u].palette : u === "dark" && (p = {
2964
+ mode: "dark"
2965
+ }));
2966
+ const m = lr({
2967
+ ...e,
2968
+ palette: p
2969
+ }, ...r);
2970
+ return m.defaultColorScheme = u, m.colorSchemes = d, m.palette.mode === "light" && (m.colorSchemes.light = {
2971
+ ...d.light !== !0 && d.light,
2972
+ palette: m.palette
2973
+ }, Vr(m, "dark", d.dark)), m.palette.mode === "dark" && (m.colorSchemes.dark = {
2974
+ ...d.dark !== !0 && d.dark,
2975
+ palette: m.palette
2976
+ }, Vr(m, "light", d.light)), m;
2977
+ }
2978
+ return !t && !("light" in d) && u === "light" && (d.light = !0), so({
2979
+ ...s,
2980
+ colorSchemes: d,
2981
+ defaultColorScheme: u,
2982
+ ...typeof n != "boolean" && n
2983
+ }, ...r);
2984
+ }
2985
+ export {
2986
+ ct as C,
2987
+ $e as P,
2988
+ Zr as a,
2989
+ fo as b,
2990
+ Ur as c,
2991
+ Ge as d,
2992
+ hn as e,
2993
+ dr as f,
2994
+ bn as g,
2995
+ fe as h,
2996
+ pe as i,
2997
+ ee as j,
2998
+ Pe as k,
2999
+ Gr as l,
3000
+ uo as m,
3001
+ me as n,
3002
+ Jn as o,
3003
+ lo as r,
3004
+ Ke as s
3005
+ };