@solostylist/ui-kit 1.0.1 → 1.0.3

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