@spesia/ui 1.0.1-21

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 (28) hide show
  1. package/README.md +155 -0
  2. package/dist/colors.scss +82 -0
  3. package/dist/fonts/Montserrat/Montserrat-Italic-VariableFont_wght.ttf +0 -0
  4. package/dist/fonts/Montserrat/Montserrat-VariableFont_wght.ttf +0 -0
  5. package/dist/fonts/Montserrat/static/Montserrat-Black.ttf +0 -0
  6. package/dist/fonts/Montserrat/static/Montserrat-BlackItalic.ttf +0 -0
  7. package/dist/fonts/Montserrat/static/Montserrat-Bold.ttf +0 -0
  8. package/dist/fonts/Montserrat/static/Montserrat-BoldItalic.ttf +0 -0
  9. package/dist/fonts/Montserrat/static/Montserrat-ExtraBold.ttf +0 -0
  10. package/dist/fonts/Montserrat/static/Montserrat-ExtraBoldItalic.ttf +0 -0
  11. package/dist/fonts/Montserrat/static/Montserrat-ExtraLight.ttf +0 -0
  12. package/dist/fonts/Montserrat/static/Montserrat-ExtraLightItalic.ttf +0 -0
  13. package/dist/fonts/Montserrat/static/Montserrat-Italic.ttf +0 -0
  14. package/dist/fonts/Montserrat/static/Montserrat-Light.ttf +0 -0
  15. package/dist/fonts/Montserrat/static/Montserrat-LightItalic.ttf +0 -0
  16. package/dist/fonts/Montserrat/static/Montserrat-Medium.ttf +0 -0
  17. package/dist/fonts/Montserrat/static/Montserrat-MediumItalic.ttf +0 -0
  18. package/dist/fonts/Montserrat/static/Montserrat-Regular.ttf +0 -0
  19. package/dist/fonts/Montserrat/static/Montserrat-SemiBold.ttf +0 -0
  20. package/dist/fonts/Montserrat/static/Montserrat-SemiBoldItalic.ttf +0 -0
  21. package/dist/fonts/Montserrat/static/Montserrat-Thin.ttf +0 -0
  22. package/dist/fonts/Montserrat/static/Montserrat-ThinItalic.ttf +0 -0
  23. package/dist/fonts.scss +31 -0
  24. package/dist/index.cjs +97 -0
  25. package/dist/index.d.ts +361 -0
  26. package/dist/index.js +3991 -0
  27. package/dist/logo.svg +27 -0
  28. package/package.json +72 -0
package/dist/index.js ADDED
@@ -0,0 +1,3991 @@
1
+ import * as ut from "react";
2
+ import Ot from "react";
3
+ const Xe = {
4
+ black: "#000",
5
+ white: "#fff"
6
+ }, je = {
7
+ 300: "#e57373",
8
+ 400: "#ef5350",
9
+ 500: "#f44336",
10
+ 700: "#d32f2f",
11
+ 800: "#c62828"
12
+ }, Be = {
13
+ 50: "#f3e5f5",
14
+ 200: "#ce93d8",
15
+ 300: "#ba68c8",
16
+ 400: "#ab47bc",
17
+ 500: "#9c27b0",
18
+ 700: "#7b1fa2"
19
+ }, De = {
20
+ 50: "#e3f2fd",
21
+ 200: "#90caf9",
22
+ 400: "#42a5f5",
23
+ 700: "#1976d2",
24
+ 800: "#1565c0"
25
+ }, Fe = {
26
+ 300: "#4fc3f7",
27
+ 400: "#29b6f6",
28
+ 500: "#03a9f4",
29
+ 700: "#0288d1",
30
+ 900: "#01579b"
31
+ }, Le = {
32
+ 300: "#81c784",
33
+ 400: "#66bb6a",
34
+ 500: "#4caf50",
35
+ 700: "#388e3c",
36
+ 800: "#2e7d32",
37
+ 900: "#1b5e20"
38
+ }, Ve = {
39
+ 300: "#ffb74d",
40
+ 400: "#ffa726",
41
+ 500: "#ff9800",
42
+ 700: "#f57c00",
43
+ 900: "#e65100"
44
+ }, $t = {
45
+ 50: "#fafafa",
46
+ 100: "#f5f5f5",
47
+ 200: "#eeeeee",
48
+ 300: "#e0e0e0",
49
+ 400: "#bdbdbd",
50
+ 500: "#9e9e9e",
51
+ 600: "#757575",
52
+ 700: "#616161",
53
+ 800: "#424242",
54
+ 900: "#212121",
55
+ A100: "#f5f5f5",
56
+ A200: "#eeeeee",
57
+ A400: "#bdbdbd",
58
+ A700: "#616161"
59
+ };
60
+ function _e(e, ...r) {
61
+ const t = new URL(`https://mui.com/production-error/?code=${e}`);
62
+ return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
63
+ }
64
+ function _t(e) {
65
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
66
+ }
67
+ var tr = { exports: {} }, V = {};
68
+ /** @license React v16.13.1
69
+ * react-is.production.min.js
70
+ *
71
+ * Copyright (c) Facebook, Inc. and its affiliates.
72
+ *
73
+ * This source code is licensed under the MIT license found in the
74
+ * LICENSE file in the root directory of this source tree.
75
+ */
76
+ var Lr;
77
+ function At() {
78
+ if (Lr) return V;
79
+ Lr = 1;
80
+ 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, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, c = e ? Symbol.for("react.block") : 60121, $ = e ? Symbol.for("react.fundamental") : 60117, k = e ? Symbol.for("react.responder") : 60118, te = e ? Symbol.for("react.scope") : 60119;
81
+ function _(y) {
82
+ if (typeof y == "object" && y !== null) {
83
+ var ee = y.$$typeof;
84
+ switch (ee) {
85
+ case r:
86
+ switch (y = y.type, y) {
87
+ case d:
88
+ case p:
89
+ case n:
90
+ case i:
91
+ case o:
92
+ case g:
93
+ return y;
94
+ default:
95
+ switch (y = y && y.$$typeof, y) {
96
+ case u:
97
+ case b:
98
+ case v:
99
+ case C:
100
+ case l:
101
+ return y;
102
+ default:
103
+ return ee;
104
+ }
105
+ }
106
+ case t:
107
+ return ee;
108
+ }
109
+ }
110
+ }
111
+ function O(y) {
112
+ return _(y) === p;
113
+ }
114
+ return V.AsyncMode = d, V.ConcurrentMode = p, V.ContextConsumer = u, V.ContextProvider = l, V.Element = r, V.ForwardRef = b, V.Fragment = n, V.Lazy = v, V.Memo = C, V.Portal = t, V.Profiler = i, V.StrictMode = o, V.Suspense = g, V.isAsyncMode = function(y) {
115
+ return O(y) || _(y) === d;
116
+ }, V.isConcurrentMode = O, V.isContextConsumer = function(y) {
117
+ return _(y) === u;
118
+ }, V.isContextProvider = function(y) {
119
+ return _(y) === l;
120
+ }, V.isElement = function(y) {
121
+ return typeof y == "object" && y !== null && y.$$typeof === r;
122
+ }, V.isForwardRef = function(y) {
123
+ return _(y) === b;
124
+ }, V.isFragment = function(y) {
125
+ return _(y) === n;
126
+ }, V.isLazy = function(y) {
127
+ return _(y) === v;
128
+ }, V.isMemo = function(y) {
129
+ return _(y) === C;
130
+ }, V.isPortal = function(y) {
131
+ return _(y) === t;
132
+ }, V.isProfiler = function(y) {
133
+ return _(y) === i;
134
+ }, V.isStrictMode = function(y) {
135
+ return _(y) === o;
136
+ }, V.isSuspense = function(y) {
137
+ return _(y) === g;
138
+ }, V.isValidElementType = function(y) {
139
+ return typeof y == "string" || typeof y == "function" || y === n || y === p || y === i || y === o || y === g || y === m || typeof y == "object" && y !== null && (y.$$typeof === v || y.$$typeof === C || y.$$typeof === l || y.$$typeof === u || y.$$typeof === b || y.$$typeof === $ || y.$$typeof === k || y.$$typeof === te || y.$$typeof === c);
140
+ }, V.typeOf = _, V;
141
+ }
142
+ var z = {};
143
+ /** @license React v16.13.1
144
+ * react-is.development.js
145
+ *
146
+ * Copyright (c) Facebook, Inc. and its affiliates.
147
+ *
148
+ * This source code is licensed under the MIT license found in the
149
+ * LICENSE file in the root directory of this source tree.
150
+ */
151
+ var Wr;
152
+ function Rt() {
153
+ return Wr || (Wr = 1, process.env.NODE_ENV !== "production" && function() {
154
+ 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, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, c = e ? Symbol.for("react.block") : 60121, $ = e ? Symbol.for("react.fundamental") : 60117, k = e ? Symbol.for("react.responder") : 60118, te = e ? Symbol.for("react.scope") : 60119;
155
+ function _(S) {
156
+ return typeof S == "string" || typeof S == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
157
+ S === n || S === p || S === i || S === o || S === g || S === m || typeof S == "object" && S !== null && (S.$$typeof === v || S.$$typeof === C || S.$$typeof === l || S.$$typeof === u || S.$$typeof === b || S.$$typeof === $ || S.$$typeof === k || S.$$typeof === te || S.$$typeof === c);
158
+ }
159
+ function O(S) {
160
+ if (typeof S == "object" && S !== null) {
161
+ var ue = S.$$typeof;
162
+ switch (ue) {
163
+ case r:
164
+ var we = S.type;
165
+ switch (we) {
166
+ case d:
167
+ case p:
168
+ case n:
169
+ case i:
170
+ case o:
171
+ case g:
172
+ return we;
173
+ default:
174
+ var Ie = we && we.$$typeof;
175
+ switch (Ie) {
176
+ case u:
177
+ case b:
178
+ case v:
179
+ case C:
180
+ case l:
181
+ return Ie;
182
+ default:
183
+ return ue;
184
+ }
185
+ }
186
+ case t:
187
+ return ue;
188
+ }
189
+ }
190
+ }
191
+ var y = d, ee = p, ie = u, pe = l, ne = r, a = b, T = n, B = v, K = C, se = t, ge = i, me = o, ve = g, Me = !1;
192
+ function be(S) {
193
+ return Me || (Me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), h(S) || O(S) === d;
194
+ }
195
+ function h(S) {
196
+ return O(S) === p;
197
+ }
198
+ function E(S) {
199
+ return O(S) === u;
200
+ }
201
+ function j(S) {
202
+ return O(S) === l;
203
+ }
204
+ function P(S) {
205
+ return typeof S == "object" && S !== null && S.$$typeof === r;
206
+ }
207
+ function A(S) {
208
+ return O(S) === b;
209
+ }
210
+ function D(S) {
211
+ return O(S) === n;
212
+ }
213
+ function M(S) {
214
+ return O(S) === v;
215
+ }
216
+ function N(S) {
217
+ return O(S) === C;
218
+ }
219
+ function F(S) {
220
+ return O(S) === t;
221
+ }
222
+ function W(S) {
223
+ return O(S) === i;
224
+ }
225
+ function L(S) {
226
+ return O(S) === o;
227
+ }
228
+ function oe(S) {
229
+ return O(S) === g;
230
+ }
231
+ z.AsyncMode = y, z.ConcurrentMode = ee, z.ContextConsumer = ie, z.ContextProvider = pe, z.Element = ne, z.ForwardRef = a, z.Fragment = T, z.Lazy = B, z.Memo = K, z.Portal = se, z.Profiler = ge, z.StrictMode = me, z.Suspense = ve, z.isAsyncMode = be, z.isConcurrentMode = h, z.isContextConsumer = E, z.isContextProvider = j, z.isElement = P, z.isForwardRef = A, z.isFragment = D, z.isLazy = M, z.isMemo = N, z.isPortal = F, z.isProfiler = W, z.isStrictMode = L, z.isSuspense = oe, z.isValidElementType = _, z.typeOf = O;
232
+ }()), z;
233
+ }
234
+ var Yr;
235
+ function ft() {
236
+ return Yr || (Yr = 1, process.env.NODE_ENV === "production" ? tr.exports = At() : tr.exports = Rt()), tr.exports;
237
+ }
238
+ var Or = { exports: {} };
239
+ /*
240
+ object-assign
241
+ (c) Sindre Sorhus
242
+ @license MIT
243
+ */
244
+ var br, Vr;
245
+ function kt() {
246
+ if (Vr) return br;
247
+ Vr = 1;
248
+ var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
249
+ function n(i) {
250
+ if (i == null)
251
+ throw new TypeError("Object.assign cannot be called with null or undefined");
252
+ return Object(i);
253
+ }
254
+ function o() {
255
+ try {
256
+ if (!Object.assign)
257
+ return !1;
258
+ var i = new String("abc");
259
+ if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
260
+ return !1;
261
+ for (var l = {}, u = 0; u < 10; u++)
262
+ l["_" + String.fromCharCode(u)] = u;
263
+ var d = Object.getOwnPropertyNames(l).map(function(b) {
264
+ return l[b];
265
+ });
266
+ if (d.join("") !== "0123456789")
267
+ return !1;
268
+ var p = {};
269
+ return "abcdefghijklmnopqrst".split("").forEach(function(b) {
270
+ p[b] = b;
271
+ }), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
272
+ } catch {
273
+ return !1;
274
+ }
275
+ }
276
+ return br = o() ? Object.assign : function(i, l) {
277
+ for (var u, d = n(i), p, b = 1; b < arguments.length; b++) {
278
+ u = Object(arguments[b]);
279
+ for (var g in u)
280
+ r.call(u, g) && (d[g] = u[g]);
281
+ if (e) {
282
+ p = e(u);
283
+ for (var m = 0; m < p.length; m++)
284
+ t.call(u, p[m]) && (d[p[m]] = u[p[m]]);
285
+ }
286
+ }
287
+ return d;
288
+ }, br;
289
+ }
290
+ var vr, zr;
291
+ function kr() {
292
+ if (zr) return vr;
293
+ zr = 1;
294
+ var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
295
+ return vr = e, vr;
296
+ }
297
+ var Sr, Ur;
298
+ function dt() {
299
+ return Ur || (Ur = 1, Sr = Function.call.bind(Object.prototype.hasOwnProperty)), Sr;
300
+ }
301
+ var Er, Gr;
302
+ function Pt() {
303
+ if (Gr) return Er;
304
+ Gr = 1;
305
+ var e = function() {
306
+ };
307
+ if (process.env.NODE_ENV !== "production") {
308
+ var r = kr(), t = {}, n = dt();
309
+ e = function(i) {
310
+ var l = "Warning: " + i;
311
+ typeof console < "u" && console.error(l);
312
+ try {
313
+ throw new Error(l);
314
+ } catch {
315
+ }
316
+ };
317
+ }
318
+ function o(i, l, u, d, p) {
319
+ if (process.env.NODE_ENV !== "production") {
320
+ for (var b in i)
321
+ if (n(i, b)) {
322
+ var g;
323
+ try {
324
+ if (typeof i[b] != "function") {
325
+ var m = Error(
326
+ (d || "React class") + ": " + u + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
327
+ );
328
+ throw m.name = "Invariant Violation", m;
329
+ }
330
+ g = i[b](l, b, d, u, null, r);
331
+ } catch (v) {
332
+ g = v;
333
+ }
334
+ if (g && !(g instanceof Error) && e(
335
+ (d || "React class") + ": type specification of " + u + " `" + b + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof g + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
336
+ ), g instanceof Error && !(g.message in t)) {
337
+ t[g.message] = !0;
338
+ var C = p ? p() : "";
339
+ e(
340
+ "Failed " + u + " type: " + g.message + (C ?? "")
341
+ );
342
+ }
343
+ }
344
+ }
345
+ }
346
+ return o.resetWarningCache = function() {
347
+ process.env.NODE_ENV !== "production" && (t = {});
348
+ }, Er = o, Er;
349
+ }
350
+ var Cr, Hr;
351
+ function Mt() {
352
+ if (Hr) return Cr;
353
+ Hr = 1;
354
+ var e = ft(), r = kt(), t = kr(), n = dt(), o = Pt(), i = function() {
355
+ };
356
+ process.env.NODE_ENV !== "production" && (i = function(u) {
357
+ var d = "Warning: " + u;
358
+ typeof console < "u" && console.error(d);
359
+ try {
360
+ throw new Error(d);
361
+ } catch {
362
+ }
363
+ });
364
+ function l() {
365
+ return null;
366
+ }
367
+ return Cr = function(u, d) {
368
+ var p = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator";
369
+ function g(h) {
370
+ var E = h && (p && h[p] || h[b]);
371
+ if (typeof E == "function")
372
+ return E;
373
+ }
374
+ var m = "<<anonymous>>", C = {
375
+ array: k("array"),
376
+ bigint: k("bigint"),
377
+ bool: k("boolean"),
378
+ func: k("function"),
379
+ number: k("number"),
380
+ object: k("object"),
381
+ string: k("string"),
382
+ symbol: k("symbol"),
383
+ any: te(),
384
+ arrayOf: _,
385
+ element: O(),
386
+ elementType: y(),
387
+ instanceOf: ee,
388
+ node: a(),
389
+ objectOf: pe,
390
+ oneOf: ie,
391
+ oneOfType: ne,
392
+ shape: B,
393
+ exact: K
394
+ };
395
+ function v(h, E) {
396
+ return h === E ? h !== 0 || 1 / h === 1 / E : h !== h && E !== E;
397
+ }
398
+ function c(h, E) {
399
+ this.message = h, this.data = E && typeof E == "object" ? E : {}, this.stack = "";
400
+ }
401
+ c.prototype = Error.prototype;
402
+ function $(h) {
403
+ if (process.env.NODE_ENV !== "production")
404
+ var E = {}, j = 0;
405
+ function P(D, M, N, F, W, L, oe) {
406
+ if (F = F || m, L = L || N, oe !== t) {
407
+ if (d) {
408
+ var S = new Error(
409
+ "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"
410
+ );
411
+ throw S.name = "Invariant Violation", S;
412
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
413
+ var ue = F + ":" + N;
414
+ !E[ue] && // Avoid spamming the console because they are often not actionable except for lib authors
415
+ j < 3 && (i(
416
+ "You are manually calling a React.PropTypes validation function for the `" + L + "` prop on `" + F + "`. 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."
417
+ ), E[ue] = !0, j++);
418
+ }
419
+ }
420
+ return M[N] == null ? D ? M[N] === null ? new c("The " + W + " `" + L + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new c("The " + W + " `" + L + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : h(M, N, F, W, L);
421
+ }
422
+ var A = P.bind(null, !1);
423
+ return A.isRequired = P.bind(null, !0), A;
424
+ }
425
+ function k(h) {
426
+ function E(j, P, A, D, M, N) {
427
+ var F = j[P], W = me(F);
428
+ if (W !== h) {
429
+ var L = ve(F);
430
+ return new c(
431
+ "Invalid " + D + " `" + M + "` of type " + ("`" + L + "` supplied to `" + A + "`, expected ") + ("`" + h + "`."),
432
+ { expectedType: h }
433
+ );
434
+ }
435
+ return null;
436
+ }
437
+ return $(E);
438
+ }
439
+ function te() {
440
+ return $(l);
441
+ }
442
+ function _(h) {
443
+ function E(j, P, A, D, M) {
444
+ if (typeof h != "function")
445
+ return new c("Property `" + M + "` of component `" + A + "` has invalid PropType notation inside arrayOf.");
446
+ var N = j[P];
447
+ if (!Array.isArray(N)) {
448
+ var F = me(N);
449
+ return new c("Invalid " + D + " `" + M + "` of type " + ("`" + F + "` supplied to `" + A + "`, expected an array."));
450
+ }
451
+ for (var W = 0; W < N.length; W++) {
452
+ var L = h(N, W, A, D, M + "[" + W + "]", t);
453
+ if (L instanceof Error)
454
+ return L;
455
+ }
456
+ return null;
457
+ }
458
+ return $(E);
459
+ }
460
+ function O() {
461
+ function h(E, j, P, A, D) {
462
+ var M = E[j];
463
+ if (!u(M)) {
464
+ var N = me(M);
465
+ return new c("Invalid " + A + " `" + D + "` of type " + ("`" + N + "` supplied to `" + P + "`, expected a single ReactElement."));
466
+ }
467
+ return null;
468
+ }
469
+ return $(h);
470
+ }
471
+ function y() {
472
+ function h(E, j, P, A, D) {
473
+ var M = E[j];
474
+ if (!e.isValidElementType(M)) {
475
+ var N = me(M);
476
+ return new c("Invalid " + A + " `" + D + "` of type " + ("`" + N + "` supplied to `" + P + "`, expected a single ReactElement type."));
477
+ }
478
+ return null;
479
+ }
480
+ return $(h);
481
+ }
482
+ function ee(h) {
483
+ function E(j, P, A, D, M) {
484
+ if (!(j[P] instanceof h)) {
485
+ var N = h.name || m, F = be(j[P]);
486
+ return new c("Invalid " + D + " `" + M + "` of type " + ("`" + F + "` supplied to `" + A + "`, expected ") + ("instance of `" + N + "`."));
487
+ }
488
+ return null;
489
+ }
490
+ return $(E);
491
+ }
492
+ function ie(h) {
493
+ if (!Array.isArray(h))
494
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
495
+ "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])."
496
+ ) : i("Invalid argument supplied to oneOf, expected an array.")), l;
497
+ function E(j, P, A, D, M) {
498
+ for (var N = j[P], F = 0; F < h.length; F++)
499
+ if (v(N, h[F]))
500
+ return null;
501
+ var W = JSON.stringify(h, function(oe, S) {
502
+ var ue = ve(S);
503
+ return ue === "symbol" ? String(S) : S;
504
+ });
505
+ return new c("Invalid " + D + " `" + M + "` of value `" + String(N) + "` " + ("supplied to `" + A + "`, expected one of " + W + "."));
506
+ }
507
+ return $(E);
508
+ }
509
+ function pe(h) {
510
+ function E(j, P, A, D, M) {
511
+ if (typeof h != "function")
512
+ return new c("Property `" + M + "` of component `" + A + "` has invalid PropType notation inside objectOf.");
513
+ var N = j[P], F = me(N);
514
+ if (F !== "object")
515
+ return new c("Invalid " + D + " `" + M + "` of type " + ("`" + F + "` supplied to `" + A + "`, expected an object."));
516
+ for (var W in N)
517
+ if (n(N, W)) {
518
+ var L = h(N, W, A, D, M + "." + W, t);
519
+ if (L instanceof Error)
520
+ return L;
521
+ }
522
+ return null;
523
+ }
524
+ return $(E);
525
+ }
526
+ function ne(h) {
527
+ if (!Array.isArray(h))
528
+ return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), l;
529
+ for (var E = 0; E < h.length; E++) {
530
+ var j = h[E];
531
+ if (typeof j != "function")
532
+ return i(
533
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Me(j) + " at index " + E + "."
534
+ ), l;
535
+ }
536
+ function P(A, D, M, N, F) {
537
+ for (var W = [], L = 0; L < h.length; L++) {
538
+ var oe = h[L], S = oe(A, D, M, N, F, t);
539
+ if (S == null)
540
+ return null;
541
+ S.data && n(S.data, "expectedType") && W.push(S.data.expectedType);
542
+ }
543
+ var ue = W.length > 0 ? ", expected one of type [" + W.join(", ") + "]" : "";
544
+ return new c("Invalid " + N + " `" + F + "` supplied to " + ("`" + M + "`" + ue + "."));
545
+ }
546
+ return $(P);
547
+ }
548
+ function a() {
549
+ function h(E, j, P, A, D) {
550
+ return se(E[j]) ? null : new c("Invalid " + A + " `" + D + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
551
+ }
552
+ return $(h);
553
+ }
554
+ function T(h, E, j, P, A) {
555
+ return new c(
556
+ (h || "React class") + ": " + E + " type `" + j + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + A + "`."
557
+ );
558
+ }
559
+ function B(h) {
560
+ function E(j, P, A, D, M) {
561
+ var N = j[P], F = me(N);
562
+ if (F !== "object")
563
+ return new c("Invalid " + D + " `" + M + "` of type `" + F + "` " + ("supplied to `" + A + "`, expected `object`."));
564
+ for (var W in h) {
565
+ var L = h[W];
566
+ if (typeof L != "function")
567
+ return T(A, D, M, W, ve(L));
568
+ var oe = L(N, W, A, D, M + "." + W, t);
569
+ if (oe)
570
+ return oe;
571
+ }
572
+ return null;
573
+ }
574
+ return $(E);
575
+ }
576
+ function K(h) {
577
+ function E(j, P, A, D, M) {
578
+ var N = j[P], F = me(N);
579
+ if (F !== "object")
580
+ return new c("Invalid " + D + " `" + M + "` of type `" + F + "` " + ("supplied to `" + A + "`, expected `object`."));
581
+ var W = r({}, j[P], h);
582
+ for (var L in W) {
583
+ var oe = h[L];
584
+ if (n(h, L) && typeof oe != "function")
585
+ return T(A, D, M, L, ve(oe));
586
+ if (!oe)
587
+ return new c(
588
+ "Invalid " + D + " `" + M + "` key `" + L + "` supplied to `" + A + "`.\nBad object: " + JSON.stringify(j[P], null, " ") + `
589
+ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
590
+ );
591
+ var S = oe(N, L, A, D, M + "." + L, t);
592
+ if (S)
593
+ return S;
594
+ }
595
+ return null;
596
+ }
597
+ return $(E);
598
+ }
599
+ function se(h) {
600
+ switch (typeof h) {
601
+ case "number":
602
+ case "string":
603
+ case "undefined":
604
+ return !0;
605
+ case "boolean":
606
+ return !h;
607
+ case "object":
608
+ if (Array.isArray(h))
609
+ return h.every(se);
610
+ if (h === null || u(h))
611
+ return !0;
612
+ var E = g(h);
613
+ if (E) {
614
+ var j = E.call(h), P;
615
+ if (E !== h.entries) {
616
+ for (; !(P = j.next()).done; )
617
+ if (!se(P.value))
618
+ return !1;
619
+ } else
620
+ for (; !(P = j.next()).done; ) {
621
+ var A = P.value;
622
+ if (A && !se(A[1]))
623
+ return !1;
624
+ }
625
+ } else
626
+ return !1;
627
+ return !0;
628
+ default:
629
+ return !1;
630
+ }
631
+ }
632
+ function ge(h, E) {
633
+ return h === "symbol" ? !0 : E ? E["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && E instanceof Symbol : !1;
634
+ }
635
+ function me(h) {
636
+ var E = typeof h;
637
+ return Array.isArray(h) ? "array" : h instanceof RegExp ? "object" : ge(E, h) ? "symbol" : E;
638
+ }
639
+ function ve(h) {
640
+ if (typeof h > "u" || h === null)
641
+ return "" + h;
642
+ var E = me(h);
643
+ if (E === "object") {
644
+ if (h instanceof Date)
645
+ return "date";
646
+ if (h instanceof RegExp)
647
+ return "regexp";
648
+ }
649
+ return E;
650
+ }
651
+ function Me(h) {
652
+ var E = ve(h);
653
+ switch (E) {
654
+ case "array":
655
+ case "object":
656
+ return "an " + E;
657
+ case "boolean":
658
+ case "date":
659
+ case "regexp":
660
+ return "a " + E;
661
+ default:
662
+ return E;
663
+ }
664
+ }
665
+ function be(h) {
666
+ return !h.constructor || !h.constructor.name ? m : h.constructor.name;
667
+ }
668
+ return C.checkPropTypes = o, C.resetWarningCache = o.resetWarningCache, C.PropTypes = C, C;
669
+ }, Cr;
670
+ }
671
+ var Tr, qr;
672
+ function It() {
673
+ if (qr) return Tr;
674
+ qr = 1;
675
+ var e = kr();
676
+ function r() {
677
+ }
678
+ function t() {
679
+ }
680
+ return t.resetWarningCache = r, Tr = function() {
681
+ function n(l, u, d, p, b, g) {
682
+ if (g !== e) {
683
+ var m = new Error(
684
+ "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"
685
+ );
686
+ throw m.name = "Invariant Violation", m;
687
+ }
688
+ }
689
+ n.isRequired = n;
690
+ function o() {
691
+ return n;
692
+ }
693
+ var i = {
694
+ array: n,
695
+ bigint: n,
696
+ bool: n,
697
+ func: n,
698
+ number: n,
699
+ object: n,
700
+ string: n,
701
+ symbol: n,
702
+ any: n,
703
+ arrayOf: o,
704
+ element: n,
705
+ elementType: n,
706
+ instanceOf: o,
707
+ node: n,
708
+ objectOf: o,
709
+ oneOf: o,
710
+ oneOfType: o,
711
+ shape: o,
712
+ exact: o,
713
+ checkPropTypes: t,
714
+ resetWarningCache: r
715
+ };
716
+ return i.PropTypes = i, i;
717
+ }, Tr;
718
+ }
719
+ if (process.env.NODE_ENV !== "production") {
720
+ var Nt = ft(), jt = !0;
721
+ Or.exports = Mt()(Nt.isElement, jt);
722
+ } else
723
+ Or.exports = It()();
724
+ var Bt = Or.exports;
725
+ const ze = /* @__PURE__ */ _t(Bt);
726
+ var $r = { exports: {} }, Ue = {};
727
+ /**
728
+ * @license React
729
+ * react-jsx-runtime.production.js
730
+ *
731
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
732
+ *
733
+ * This source code is licensed under the MIT license found in the
734
+ * LICENSE file in the root directory of this source tree.
735
+ */
736
+ var Kr;
737
+ function Dt() {
738
+ if (Kr) return Ue;
739
+ Kr = 1;
740
+ var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.fragment");
741
+ function t(n, o, i) {
742
+ var l = null;
743
+ if (i !== void 0 && (l = "" + i), o.key !== void 0 && (l = "" + o.key), "key" in o) {
744
+ i = {};
745
+ for (var u in o)
746
+ u !== "key" && (i[u] = o[u]);
747
+ } else i = o;
748
+ return o = i.ref, {
749
+ $$typeof: e,
750
+ type: n,
751
+ key: l,
752
+ ref: o !== void 0 ? o : null,
753
+ props: i
754
+ };
755
+ }
756
+ return Ue.Fragment = r, Ue.jsx = t, Ue.jsxs = t, Ue;
757
+ }
758
+ var Ge = {};
759
+ /**
760
+ * @license React
761
+ * react-jsx-runtime.development.js
762
+ *
763
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
764
+ *
765
+ * This source code is licensed under the MIT license found in the
766
+ * LICENSE file in the root directory of this source tree.
767
+ */
768
+ var Xr;
769
+ function Ft() {
770
+ return Xr || (Xr = 1, process.env.NODE_ENV !== "production" && function() {
771
+ function e(s) {
772
+ if (s == null) return null;
773
+ if (typeof s == "function")
774
+ return s.$$typeof === Me ? null : s.displayName || s.name || null;
775
+ if (typeof s == "string") return s;
776
+ switch (s) {
777
+ case ee:
778
+ return "Fragment";
779
+ case y:
780
+ return "Portal";
781
+ case pe:
782
+ return "Profiler";
783
+ case ie:
784
+ return "StrictMode";
785
+ case B:
786
+ return "Suspense";
787
+ case K:
788
+ return "SuspenseList";
789
+ }
790
+ if (typeof s == "object")
791
+ switch (typeof s.tag == "number" && console.error(
792
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
793
+ ), s.$$typeof) {
794
+ case a:
795
+ return (s.displayName || "Context") + ".Provider";
796
+ case ne:
797
+ return (s._context.displayName || "Context") + ".Consumer";
798
+ case T:
799
+ var x = s.render;
800
+ return s = s.displayName, s || (s = x.displayName || x.name || "", s = s !== "" ? "ForwardRef(" + s + ")" : "ForwardRef"), s;
801
+ case se:
802
+ return x = s.displayName || null, x !== null ? x : e(s.type) || "Memo";
803
+ case ge:
804
+ x = s._payload, s = s._init;
805
+ try {
806
+ return e(s(x));
807
+ } catch {
808
+ }
809
+ }
810
+ return null;
811
+ }
812
+ function r(s) {
813
+ return "" + s;
814
+ }
815
+ function t(s) {
816
+ try {
817
+ r(s);
818
+ var x = !1;
819
+ } catch {
820
+ x = !0;
821
+ }
822
+ if (x) {
823
+ x = console;
824
+ var w = x.error, Y = typeof Symbol == "function" && Symbol.toStringTag && s[Symbol.toStringTag] || s.constructor.name || "Object";
825
+ return w.call(
826
+ x,
827
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
828
+ Y
829
+ ), r(s);
830
+ }
831
+ }
832
+ function n() {
833
+ }
834
+ function o() {
835
+ if (A === 0) {
836
+ D = console.log, M = console.info, N = console.warn, F = console.error, W = console.group, L = console.groupCollapsed, oe = console.groupEnd;
837
+ var s = {
838
+ configurable: !0,
839
+ enumerable: !0,
840
+ value: n,
841
+ writable: !0
842
+ };
843
+ Object.defineProperties(console, {
844
+ info: s,
845
+ log: s,
846
+ warn: s,
847
+ error: s,
848
+ group: s,
849
+ groupCollapsed: s,
850
+ groupEnd: s
851
+ });
852
+ }
853
+ A++;
854
+ }
855
+ function i() {
856
+ if (A--, A === 0) {
857
+ var s = { configurable: !0, enumerable: !0, writable: !0 };
858
+ Object.defineProperties(console, {
859
+ log: E({}, s, { value: D }),
860
+ info: E({}, s, { value: M }),
861
+ warn: E({}, s, { value: N }),
862
+ error: E({}, s, { value: F }),
863
+ group: E({}, s, { value: W }),
864
+ groupCollapsed: E({}, s, { value: L }),
865
+ groupEnd: E({}, s, { value: oe })
866
+ });
867
+ }
868
+ 0 > A && console.error(
869
+ "disabledDepth fell below zero. This is a bug in React. Please file an issue."
870
+ );
871
+ }
872
+ function l(s) {
873
+ if (S === void 0)
874
+ try {
875
+ throw Error();
876
+ } catch (w) {
877
+ var x = w.stack.trim().match(/\n( *(at )?)/);
878
+ S = x && x[1] || "", ue = -1 < w.stack.indexOf(`
879
+ at`) ? " (<anonymous>)" : -1 < w.stack.indexOf("@") ? "@unknown:0:0" : "";
880
+ }
881
+ return `
882
+ ` + S + s + ue;
883
+ }
884
+ function u(s, x) {
885
+ if (!s || we) return "";
886
+ var w = Ie.get(s);
887
+ if (w !== void 0) return w;
888
+ we = !0, w = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
889
+ var Y = null;
890
+ Y = be.H, be.H = null, o();
891
+ try {
892
+ var ae = {
893
+ DetermineComponentFrameRoot: function() {
894
+ try {
895
+ if (x) {
896
+ var Oe = function() {
897
+ throw Error();
898
+ };
899
+ if (Object.defineProperty(Oe.prototype, "props", {
900
+ set: function() {
901
+ throw Error();
902
+ }
903
+ }), typeof Reflect == "object" && Reflect.construct) {
904
+ try {
905
+ Reflect.construct(Oe, []);
906
+ } catch (Ce) {
907
+ var rr = Ce;
908
+ }
909
+ Reflect.construct(s, [], Oe);
910
+ } else {
911
+ try {
912
+ Oe.call();
913
+ } catch (Ce) {
914
+ rr = Ce;
915
+ }
916
+ s.call(Oe.prototype);
917
+ }
918
+ } else {
919
+ try {
920
+ throw Error();
921
+ } catch (Ce) {
922
+ rr = Ce;
923
+ }
924
+ (Oe = s()) && typeof Oe.catch == "function" && Oe.catch(function() {
925
+ });
926
+ }
927
+ } catch (Ce) {
928
+ if (Ce && rr && typeof Ce.stack == "string")
929
+ return [Ce.stack, rr.stack];
930
+ }
931
+ return [null, null];
932
+ }
933
+ };
934
+ ae.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
935
+ var Z = Object.getOwnPropertyDescriptor(
936
+ ae.DetermineComponentFrameRoot,
937
+ "name"
938
+ );
939
+ Z && Z.configurable && Object.defineProperty(
940
+ ae.DetermineComponentFrameRoot,
941
+ "name",
942
+ { value: "DetermineComponentFrameRoot" }
943
+ );
944
+ var I = ae.DetermineComponentFrameRoot(), Ee = I[0], Ne = I[1];
945
+ if (Ee && Ne) {
946
+ var ce = Ee.split(`
947
+ `), ke = Ne.split(`
948
+ `);
949
+ for (I = Z = 0; Z < ce.length && !ce[Z].includes(
950
+ "DetermineComponentFrameRoot"
951
+ ); )
952
+ Z++;
953
+ for (; I < ke.length && !ke[I].includes(
954
+ "DetermineComponentFrameRoot"
955
+ ); )
956
+ I++;
957
+ if (Z === ce.length || I === ke.length)
958
+ for (Z = ce.length - 1, I = ke.length - 1; 1 <= Z && 0 <= I && ce[Z] !== ke[I]; )
959
+ I--;
960
+ for (; 1 <= Z && 0 <= I; Z--, I--)
961
+ if (ce[Z] !== ke[I]) {
962
+ if (Z !== 1 || I !== 1)
963
+ do
964
+ if (Z--, I--, 0 > I || ce[Z] !== ke[I]) {
965
+ var Ye = `
966
+ ` + ce[Z].replace(
967
+ " at new ",
968
+ " at "
969
+ );
970
+ return s.displayName && Ye.includes("<anonymous>") && (Ye = Ye.replace("<anonymous>", s.displayName)), typeof s == "function" && Ie.set(s, Ye), Ye;
971
+ }
972
+ while (1 <= Z && 0 <= I);
973
+ break;
974
+ }
975
+ }
976
+ } finally {
977
+ we = !1, be.H = Y, i(), Error.prepareStackTrace = w;
978
+ }
979
+ return ce = (ce = s ? s.displayName || s.name : "") ? l(ce) : "", typeof s == "function" && Ie.set(s, ce), ce;
980
+ }
981
+ function d(s) {
982
+ if (s == null) return "";
983
+ if (typeof s == "function") {
984
+ var x = s.prototype;
985
+ return u(
986
+ s,
987
+ !(!x || !x.isReactComponent)
988
+ );
989
+ }
990
+ if (typeof s == "string") return l(s);
991
+ switch (s) {
992
+ case B:
993
+ return l("Suspense");
994
+ case K:
995
+ return l("SuspenseList");
996
+ }
997
+ if (typeof s == "object")
998
+ switch (s.$$typeof) {
999
+ case T:
1000
+ return s = u(s.render, !1), s;
1001
+ case se:
1002
+ return d(s.type);
1003
+ case ge:
1004
+ x = s._payload, s = s._init;
1005
+ try {
1006
+ return d(s(x));
1007
+ } catch {
1008
+ }
1009
+ }
1010
+ return "";
1011
+ }
1012
+ function p() {
1013
+ var s = be.A;
1014
+ return s === null ? null : s.getOwner();
1015
+ }
1016
+ function b(s) {
1017
+ if (h.call(s, "key")) {
1018
+ var x = Object.getOwnPropertyDescriptor(s, "key").get;
1019
+ if (x && x.isReactWarning) return !1;
1020
+ }
1021
+ return s.key !== void 0;
1022
+ }
1023
+ function g(s, x) {
1024
+ function w() {
1025
+ jr || (jr = !0, console.error(
1026
+ "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
1027
+ x
1028
+ ));
1029
+ }
1030
+ w.isReactWarning = !0, Object.defineProperty(s, "key", {
1031
+ get: w,
1032
+ configurable: !0
1033
+ });
1034
+ }
1035
+ function m() {
1036
+ var s = e(this.type);
1037
+ return Br[s] || (Br[s] = !0, console.error(
1038
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
1039
+ )), s = this.props.ref, s !== void 0 ? s : null;
1040
+ }
1041
+ function C(s, x, w, Y, ae, Z) {
1042
+ return w = Z.ref, s = {
1043
+ $$typeof: O,
1044
+ type: s,
1045
+ key: x,
1046
+ props: Z,
1047
+ _owner: ae
1048
+ }, (w !== void 0 ? w : null) !== null ? Object.defineProperty(s, "ref", {
1049
+ enumerable: !1,
1050
+ get: m
1051
+ }) : Object.defineProperty(s, "ref", { enumerable: !1, value: null }), s._store = {}, Object.defineProperty(s._store, "validated", {
1052
+ configurable: !1,
1053
+ enumerable: !1,
1054
+ writable: !0,
1055
+ value: 0
1056
+ }), Object.defineProperty(s, "_debugInfo", {
1057
+ configurable: !1,
1058
+ enumerable: !1,
1059
+ writable: !0,
1060
+ value: null
1061
+ }), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
1062
+ }
1063
+ function v(s, x, w, Y, ae, Z) {
1064
+ if (typeof s == "string" || typeof s == "function" || s === ee || s === pe || s === ie || s === B || s === K || s === me || typeof s == "object" && s !== null && (s.$$typeof === ge || s.$$typeof === se || s.$$typeof === a || s.$$typeof === ne || s.$$typeof === T || s.$$typeof === j || s.getModuleId !== void 0)) {
1065
+ var I = x.children;
1066
+ if (I !== void 0)
1067
+ if (Y)
1068
+ if (P(I)) {
1069
+ for (Y = 0; Y < I.length; Y++)
1070
+ c(I[Y], s);
1071
+ Object.freeze && Object.freeze(I);
1072
+ } else
1073
+ console.error(
1074
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
1075
+ );
1076
+ else c(I, s);
1077
+ } else
1078
+ I = "", (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (I += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), s === null ? Y = "null" : P(s) ? Y = "array" : s !== void 0 && s.$$typeof === O ? (Y = "<" + (e(s.type) || "Unknown") + " />", I = " Did you accidentally export a JSX literal instead of a component?") : Y = typeof s, console.error(
1079
+ "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
1080
+ Y,
1081
+ I
1082
+ );
1083
+ if (h.call(x, "key")) {
1084
+ I = e(s);
1085
+ var Ee = Object.keys(x).filter(function(ce) {
1086
+ return ce !== "key";
1087
+ });
1088
+ Y = 0 < Ee.length ? "{key: someKey, " + Ee.join(": ..., ") + ": ...}" : "{key: someKey}", Dr[I + Y] || (Ee = 0 < Ee.length ? "{" + Ee.join(": ..., ") + ": ...}" : "{}", console.error(
1089
+ `A props object containing a "key" prop is being spread into JSX:
1090
+ let props = %s;
1091
+ <%s {...props} />
1092
+ React keys must be passed directly to JSX without using spread:
1093
+ let props = %s;
1094
+ <%s key={someKey} {...props} />`,
1095
+ Y,
1096
+ I,
1097
+ Ee,
1098
+ I
1099
+ ), Dr[I + Y] = !0);
1100
+ }
1101
+ if (I = null, w !== void 0 && (t(w), I = "" + w), b(x) && (t(x.key), I = "" + x.key), "key" in x) {
1102
+ w = {};
1103
+ for (var Ne in x)
1104
+ Ne !== "key" && (w[Ne] = x[Ne]);
1105
+ } else w = x;
1106
+ return I && g(
1107
+ w,
1108
+ typeof s == "function" ? s.displayName || s.name || "Unknown" : s
1109
+ ), C(s, I, Z, ae, p(), w);
1110
+ }
1111
+ function c(s, x) {
1112
+ if (typeof s == "object" && s && s.$$typeof !== wt) {
1113
+ if (P(s))
1114
+ for (var w = 0; w < s.length; w++) {
1115
+ var Y = s[w];
1116
+ $(Y) && k(Y, x);
1117
+ }
1118
+ else if ($(s))
1119
+ s._store && (s._store.validated = 1);
1120
+ else if (s === null || typeof s != "object" ? w = null : (w = ve && s[ve] || s["@@iterator"], w = typeof w == "function" ? w : null), typeof w == "function" && w !== s.entries && (w = w.call(s), w !== s))
1121
+ for (; !(s = w.next()).done; )
1122
+ $(s.value) && k(s.value, x);
1123
+ }
1124
+ }
1125
+ function $(s) {
1126
+ return typeof s == "object" && s !== null && s.$$typeof === O;
1127
+ }
1128
+ function k(s, x) {
1129
+ if (s._store && !s._store.validated && s.key == null && (s._store.validated = 1, x = te(x), !Fr[x])) {
1130
+ Fr[x] = !0;
1131
+ var w = "";
1132
+ s && s._owner != null && s._owner !== p() && (w = null, typeof s._owner.tag == "number" ? w = e(s._owner.type) : typeof s._owner.name == "string" && (w = s._owner.name), w = " It was passed a child from " + w + ".");
1133
+ var Y = be.getCurrentStack;
1134
+ be.getCurrentStack = function() {
1135
+ var ae = d(s.type);
1136
+ return Y && (ae += Y() || ""), ae;
1137
+ }, console.error(
1138
+ 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
1139
+ x,
1140
+ w
1141
+ ), be.getCurrentStack = Y;
1142
+ }
1143
+ }
1144
+ function te(s) {
1145
+ var x = "", w = p();
1146
+ return w && (w = e(w.type)) && (x = `
1147
+
1148
+ Check the render method of \`` + w + "`."), x || (s = e(s)) && (x = `
1149
+
1150
+ Check the top-level render call using <` + s + ">."), x;
1151
+ }
1152
+ var _ = Ot, O = Symbol.for("react.transitional.element"), y = Symbol.for("react.portal"), ee = Symbol.for("react.fragment"), ie = Symbol.for("react.strict_mode"), pe = Symbol.for("react.profiler"), ne = Symbol.for("react.consumer"), a = Symbol.for("react.context"), T = Symbol.for("react.forward_ref"), B = Symbol.for("react.suspense"), K = Symbol.for("react.suspense_list"), se = Symbol.for("react.memo"), ge = Symbol.for("react.lazy"), me = Symbol.for("react.offscreen"), ve = Symbol.iterator, Me = Symbol.for("react.client.reference"), be = _.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, h = Object.prototype.hasOwnProperty, E = Object.assign, j = Symbol.for("react.client.reference"), P = Array.isArray, A = 0, D, M, N, F, W, L, oe;
1153
+ n.__reactDisabledLog = !0;
1154
+ var S, ue, we = !1, Ie = new (typeof WeakMap == "function" ? WeakMap : Map)(), wt = Symbol.for("react.client.reference"), jr, Br = {}, Dr = {}, Fr = {};
1155
+ Ge.Fragment = ee, Ge.jsx = function(s, x, w, Y, ae) {
1156
+ return v(s, x, w, !1, Y, ae);
1157
+ }, Ge.jsxs = function(s, x, w, Y, ae) {
1158
+ return v(s, x, w, !0, Y, ae);
1159
+ };
1160
+ }()), Ge;
1161
+ }
1162
+ process.env.NODE_ENV === "production" ? $r.exports = Dt() : $r.exports = Ft();
1163
+ var le = $r.exports, _r = { exports: {} }, U = {};
1164
+ /**
1165
+ * @license React
1166
+ * react-is.production.js
1167
+ *
1168
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1169
+ *
1170
+ * This source code is licensed under the MIT license found in the
1171
+ * LICENSE file in the root directory of this source tree.
1172
+ */
1173
+ var Zr;
1174
+ function Lt() {
1175
+ if (Zr) return U;
1176
+ Zr = 1;
1177
+ 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"), i = Symbol.for("react.consumer"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), C = Symbol.for("react.client.reference");
1178
+ function v(c) {
1179
+ if (typeof c == "object" && c !== null) {
1180
+ var $ = c.$$typeof;
1181
+ switch ($) {
1182
+ case e:
1183
+ switch (c = c.type, c) {
1184
+ case t:
1185
+ case o:
1186
+ case n:
1187
+ case d:
1188
+ case p:
1189
+ return c;
1190
+ default:
1191
+ switch (c = c && c.$$typeof, c) {
1192
+ case l:
1193
+ case u:
1194
+ case g:
1195
+ case b:
1196
+ return c;
1197
+ case i:
1198
+ return c;
1199
+ default:
1200
+ return $;
1201
+ }
1202
+ }
1203
+ case r:
1204
+ return $;
1205
+ }
1206
+ }
1207
+ }
1208
+ return U.ContextConsumer = i, U.ContextProvider = l, U.Element = e, U.ForwardRef = u, U.Fragment = t, U.Lazy = g, U.Memo = b, U.Portal = r, U.Profiler = o, U.StrictMode = n, U.Suspense = d, U.SuspenseList = p, U.isContextConsumer = function(c) {
1209
+ return v(c) === i;
1210
+ }, U.isContextProvider = function(c) {
1211
+ return v(c) === l;
1212
+ }, U.isElement = function(c) {
1213
+ return typeof c == "object" && c !== null && c.$$typeof === e;
1214
+ }, U.isForwardRef = function(c) {
1215
+ return v(c) === u;
1216
+ }, U.isFragment = function(c) {
1217
+ return v(c) === t;
1218
+ }, U.isLazy = function(c) {
1219
+ return v(c) === g;
1220
+ }, U.isMemo = function(c) {
1221
+ return v(c) === b;
1222
+ }, U.isPortal = function(c) {
1223
+ return v(c) === r;
1224
+ }, U.isProfiler = function(c) {
1225
+ return v(c) === o;
1226
+ }, U.isStrictMode = function(c) {
1227
+ return v(c) === n;
1228
+ }, U.isSuspense = function(c) {
1229
+ return v(c) === d;
1230
+ }, U.isSuspenseList = function(c) {
1231
+ return v(c) === p;
1232
+ }, U.isValidElementType = function(c) {
1233
+ return typeof c == "string" || typeof c == "function" || c === t || c === o || c === n || c === d || c === p || c === m || typeof c == "object" && c !== null && (c.$$typeof === g || c.$$typeof === b || c.$$typeof === l || c.$$typeof === i || c.$$typeof === u || c.$$typeof === C || c.getModuleId !== void 0);
1234
+ }, U.typeOf = v, U;
1235
+ }
1236
+ var G = {};
1237
+ /**
1238
+ * @license React
1239
+ * react-is.development.js
1240
+ *
1241
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1242
+ *
1243
+ * This source code is licensed under the MIT license found in the
1244
+ * LICENSE file in the root directory of this source tree.
1245
+ */
1246
+ var Jr;
1247
+ function Wt() {
1248
+ return Jr || (Jr = 1, process.env.NODE_ENV !== "production" && function() {
1249
+ function e(c) {
1250
+ if (typeof c == "object" && c !== null) {
1251
+ var $ = c.$$typeof;
1252
+ switch ($) {
1253
+ case r:
1254
+ switch (c = c.type, c) {
1255
+ case n:
1256
+ case i:
1257
+ case o:
1258
+ case p:
1259
+ case b:
1260
+ return c;
1261
+ default:
1262
+ switch (c = c && c.$$typeof, c) {
1263
+ case u:
1264
+ case d:
1265
+ case m:
1266
+ case g:
1267
+ return c;
1268
+ case l:
1269
+ return c;
1270
+ default:
1271
+ return $;
1272
+ }
1273
+ }
1274
+ case t:
1275
+ return $;
1276
+ }
1277
+ }
1278
+ }
1279
+ var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.consumer"), u = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), v = Symbol.for("react.client.reference");
1280
+ G.ContextConsumer = l, G.ContextProvider = u, G.Element = r, G.ForwardRef = d, G.Fragment = n, G.Lazy = m, G.Memo = g, G.Portal = t, G.Profiler = i, G.StrictMode = o, G.Suspense = p, G.SuspenseList = b, G.isContextConsumer = function(c) {
1281
+ return e(c) === l;
1282
+ }, G.isContextProvider = function(c) {
1283
+ return e(c) === u;
1284
+ }, G.isElement = function(c) {
1285
+ return typeof c == "object" && c !== null && c.$$typeof === r;
1286
+ }, G.isForwardRef = function(c) {
1287
+ return e(c) === d;
1288
+ }, G.isFragment = function(c) {
1289
+ return e(c) === n;
1290
+ }, G.isLazy = function(c) {
1291
+ return e(c) === m;
1292
+ }, G.isMemo = function(c) {
1293
+ return e(c) === g;
1294
+ }, G.isPortal = function(c) {
1295
+ return e(c) === t;
1296
+ }, G.isProfiler = function(c) {
1297
+ return e(c) === i;
1298
+ }, G.isStrictMode = function(c) {
1299
+ return e(c) === o;
1300
+ }, G.isSuspense = function(c) {
1301
+ return e(c) === p;
1302
+ }, G.isSuspenseList = function(c) {
1303
+ return e(c) === b;
1304
+ }, G.isValidElementType = function(c) {
1305
+ return typeof c == "string" || typeof c == "function" || c === n || c === i || c === o || c === p || c === b || c === C || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === g || c.$$typeof === u || c.$$typeof === l || c.$$typeof === d || c.$$typeof === v || c.getModuleId !== void 0);
1306
+ }, G.typeOf = e;
1307
+ }()), G;
1308
+ }
1309
+ process.env.NODE_ENV === "production" ? _r.exports = Lt() : _r.exports = Wt();
1310
+ var pt = _r.exports;
1311
+ function $e(e) {
1312
+ if (typeof e != "object" || e === null)
1313
+ return !1;
1314
+ const r = Object.getPrototypeOf(e);
1315
+ return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
1316
+ }
1317
+ function gt(e) {
1318
+ if (/* @__PURE__ */ ut.isValidElement(e) || pt.isValidElementType(e) || !$e(e))
1319
+ return e;
1320
+ const r = {};
1321
+ return Object.keys(e).forEach((t) => {
1322
+ r[t] = gt(e[t]);
1323
+ }), r;
1324
+ }
1325
+ function de(e, r, t = {
1326
+ clone: !0
1327
+ }) {
1328
+ const n = t.clone ? {
1329
+ ...e
1330
+ } : e;
1331
+ return $e(e) && $e(r) && Object.keys(r).forEach((o) => {
1332
+ /* @__PURE__ */ ut.isValidElement(r[o]) || pt.isValidElementType(r[o]) ? n[o] = r[o] : $e(r[o]) && // Avoid prototype pollution
1333
+ Object.prototype.hasOwnProperty.call(e, o) && $e(e[o]) ? n[o] = de(e[o], r[o], t) : t.clone ? n[o] = $e(r[o]) ? gt(r[o]) : r[o] : n[o] = r[o];
1334
+ }), n;
1335
+ }
1336
+ const Yt = (e) => {
1337
+ const r = Object.keys(e).map((t) => ({
1338
+ key: t,
1339
+ val: e[t]
1340
+ })) || [];
1341
+ return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
1342
+ ...t,
1343
+ [n.key]: n.val
1344
+ }), {});
1345
+ };
1346
+ function Vt(e) {
1347
+ const {
1348
+ // The breakpoint **start** at this value.
1349
+ // For instance with the first breakpoint xs: [xs, sm).
1350
+ values: r = {
1351
+ xs: 0,
1352
+ // phone
1353
+ sm: 600,
1354
+ // tablet
1355
+ md: 900,
1356
+ // small laptop
1357
+ lg: 1200,
1358
+ // desktop
1359
+ xl: 1536
1360
+ // large screen
1361
+ },
1362
+ unit: t = "px",
1363
+ step: n = 5,
1364
+ ...o
1365
+ } = e, i = Yt(r), l = Object.keys(i);
1366
+ function u(m) {
1367
+ return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t})`;
1368
+ }
1369
+ function d(m) {
1370
+ return `@media (max-width:${(typeof r[m] == "number" ? r[m] : m) - n / 100}${t})`;
1371
+ }
1372
+ function p(m, C) {
1373
+ const v = l.indexOf(C);
1374
+ return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t}) and (max-width:${(v !== -1 && typeof r[l[v]] == "number" ? r[l[v]] : C) - n / 100}${t})`;
1375
+ }
1376
+ function b(m) {
1377
+ return l.indexOf(m) + 1 < l.length ? p(m, l[l.indexOf(m) + 1]) : u(m);
1378
+ }
1379
+ function g(m) {
1380
+ const C = l.indexOf(m);
1381
+ return C === 0 ? u(l[1]) : C === l.length - 1 ? d(l[C]) : p(m, l[l.indexOf(m) + 1]).replace("@media", "@media not all and");
1382
+ }
1383
+ return {
1384
+ keys: l,
1385
+ values: i,
1386
+ up: u,
1387
+ down: d,
1388
+ between: p,
1389
+ only: b,
1390
+ not: g,
1391
+ unit: t,
1392
+ ...o
1393
+ };
1394
+ }
1395
+ function zt(e, r) {
1396
+ if (!e.containerQueries)
1397
+ return r;
1398
+ const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
1399
+ var l, u;
1400
+ const i = /min-width:\s*([0-9.]+)/;
1401
+ return +(((l = n.match(i)) == null ? void 0 : l[1]) || 0) - +(((u = o.match(i)) == null ? void 0 : u[1]) || 0);
1402
+ });
1403
+ return t.length ? t.reduce((n, o) => {
1404
+ const i = r[o];
1405
+ return delete n[o], n[o] = i, n;
1406
+ }, {
1407
+ ...r
1408
+ }) : r;
1409
+ }
1410
+ function Ut(e, r) {
1411
+ return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
1412
+ }
1413
+ function Gt(e, r) {
1414
+ const t = r.match(/^@([^/]+)?\/?(.+)?$/);
1415
+ if (!t) {
1416
+ if (process.env.NODE_ENV !== "production")
1417
+ 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>\`.
1418
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : _e(18, `(${r})`));
1419
+ return null;
1420
+ }
1421
+ const [, n, o] = t, i = Number.isNaN(+n) ? n || 0 : +n;
1422
+ return e.containerQueries(o).up(i);
1423
+ }
1424
+ function Ht(e) {
1425
+ const r = (i, l) => i.replace("@media", l ? `@container ${l}` : "@container");
1426
+ function t(i, l) {
1427
+ i.up = (...u) => r(e.breakpoints.up(...u), l), i.down = (...u) => r(e.breakpoints.down(...u), l), i.between = (...u) => r(e.breakpoints.between(...u), l), i.only = (...u) => r(e.breakpoints.only(...u), l), i.not = (...u) => {
1428
+ const d = r(e.breakpoints.not(...u), l);
1429
+ return d.includes("not all and") ? d.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : d;
1430
+ };
1431
+ }
1432
+ const n = {}, o = (i) => (t(n, i), n);
1433
+ return t(o), {
1434
+ ...e,
1435
+ containerQueries: o
1436
+ };
1437
+ }
1438
+ const qt = {
1439
+ borderRadius: 4
1440
+ }, Re = process.env.NODE_ENV !== "production" ? ze.oneOfType([ze.number, ze.string, ze.object, ze.array]) : {};
1441
+ function Ke(e, r) {
1442
+ return r ? de(e, r, {
1443
+ clone: !1
1444
+ // No need to clone deep, it's way faster.
1445
+ }) : e;
1446
+ }
1447
+ const ir = {
1448
+ xs: 0,
1449
+ // phone
1450
+ sm: 600,
1451
+ // tablet
1452
+ md: 900,
1453
+ // small laptop
1454
+ lg: 1200,
1455
+ // desktop
1456
+ xl: 1536
1457
+ // large screen
1458
+ }, Qr = {
1459
+ // Sorted ASC by size. That's important.
1460
+ // It can't be configured as it's used statically for propTypes.
1461
+ keys: ["xs", "sm", "md", "lg", "xl"],
1462
+ up: (e) => `@media (min-width:${ir[e]}px)`
1463
+ }, Kt = {
1464
+ containerQueries: (e) => ({
1465
+ up: (r) => {
1466
+ let t = typeof r == "number" ? r : ir[r] || r;
1467
+ return typeof t == "number" && (t = `${t}px`), e ? `@container ${e} (min-width:${t})` : `@container (min-width:${t})`;
1468
+ }
1469
+ })
1470
+ };
1471
+ function xe(e, r, t) {
1472
+ const n = e.theme || {};
1473
+ if (Array.isArray(r)) {
1474
+ const i = n.breakpoints || Qr;
1475
+ return r.reduce((l, u, d) => (l[i.up(i.keys[d])] = t(r[d]), l), {});
1476
+ }
1477
+ if (typeof r == "object") {
1478
+ const i = n.breakpoints || Qr;
1479
+ return Object.keys(r).reduce((l, u) => {
1480
+ if (Ut(i.keys, u)) {
1481
+ const d = Gt(n.containerQueries ? n : Kt, u);
1482
+ d && (l[d] = t(r[u], u));
1483
+ } else if (Object.keys(i.values || ir).includes(u)) {
1484
+ const d = i.up(u);
1485
+ l[d] = t(r[u], u);
1486
+ } else {
1487
+ const d = u;
1488
+ l[d] = r[d];
1489
+ }
1490
+ return l;
1491
+ }, {});
1492
+ }
1493
+ return t(r);
1494
+ }
1495
+ function Xt(e = {}) {
1496
+ var t;
1497
+ return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
1498
+ const i = e.up(o);
1499
+ return n[i] = {}, n;
1500
+ }, {})) || {};
1501
+ }
1502
+ function Zt(e, r) {
1503
+ return e.reduce((t, n) => {
1504
+ const o = t[n];
1505
+ return (!o || Object.keys(o).length === 0) && delete t[n], t;
1506
+ }, r);
1507
+ }
1508
+ function mt(e) {
1509
+ if (typeof e != "string")
1510
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : _e(7));
1511
+ return e.charAt(0).toUpperCase() + e.slice(1);
1512
+ }
1513
+ function sr(e, r, t = !0) {
1514
+ if (!r || typeof r != "string")
1515
+ return null;
1516
+ if (e && e.vars && t) {
1517
+ const n = `vars.${r}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
1518
+ if (n != null)
1519
+ return n;
1520
+ }
1521
+ return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
1522
+ }
1523
+ function ar(e, r, t, n = t) {
1524
+ let o;
1525
+ return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = sr(e, t) || n, r && (o = r(o, n, e)), o;
1526
+ }
1527
+ function re(e) {
1528
+ const {
1529
+ prop: r,
1530
+ cssProperty: t = e.prop,
1531
+ themeKey: n,
1532
+ transform: o
1533
+ } = e, i = (l) => {
1534
+ if (l[r] == null)
1535
+ return null;
1536
+ const u = l[r], d = l.theme, p = sr(d, n) || {};
1537
+ return xe(l, u, (g) => {
1538
+ let m = ar(p, o, g);
1539
+ return g === m && typeof g == "string" && (m = ar(p, o, `${r}${g === "default" ? "" : mt(g)}`, g)), t === !1 ? m : {
1540
+ [t]: m
1541
+ };
1542
+ });
1543
+ };
1544
+ return i.propTypes = process.env.NODE_ENV !== "production" ? {
1545
+ [r]: Re
1546
+ } : {}, i.filterProps = [r], i;
1547
+ }
1548
+ function Jt(e) {
1549
+ const r = {};
1550
+ return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
1551
+ }
1552
+ const Qt = {
1553
+ m: "margin",
1554
+ p: "padding"
1555
+ }, en = {
1556
+ t: "Top",
1557
+ r: "Right",
1558
+ b: "Bottom",
1559
+ l: "Left",
1560
+ x: ["Left", "Right"],
1561
+ y: ["Top", "Bottom"]
1562
+ }, et = {
1563
+ marginX: "mx",
1564
+ marginY: "my",
1565
+ paddingX: "px",
1566
+ paddingY: "py"
1567
+ }, rn = Jt((e) => {
1568
+ if (e.length > 2)
1569
+ if (et[e])
1570
+ e = et[e];
1571
+ else
1572
+ return [e];
1573
+ const [r, t] = e.split(""), n = Qt[r], o = en[t] || "";
1574
+ return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
1575
+ }), cr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], lr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], tn = [...cr, ...lr];
1576
+ function Qe(e, r, t, n) {
1577
+ const o = sr(e, r, !0) ?? t;
1578
+ return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
1579
+ if (typeof i == "string")
1580
+ return i;
1581
+ const l = Math.abs(i);
1582
+ process.env.NODE_ENV !== "production" && (Number.isInteger(l) ? l > o.length - 1 && console.error([`MUI: The value provided (${l}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${l} > ${o.length - 1}, you need to add the missing values.`].join(`
1583
+ `)) : 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(`
1584
+ `)));
1585
+ const u = o[l];
1586
+ return i >= 0 ? u : typeof u == "number" ? -u : `-${u}`;
1587
+ } : 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(`
1588
+ `)), () => {
1589
+ });
1590
+ }
1591
+ function Pr(e) {
1592
+ return Qe(e, "spacing", 8, "spacing");
1593
+ }
1594
+ function er(e, r) {
1595
+ return typeof r == "string" || r == null ? r : e(r);
1596
+ }
1597
+ function nn(e, r) {
1598
+ return (t) => e.reduce((n, o) => (n[o] = er(r, t), n), {});
1599
+ }
1600
+ function on(e, r, t, n) {
1601
+ if (!r.includes(t))
1602
+ return null;
1603
+ const o = rn(t), i = nn(o, n), l = e[t];
1604
+ return xe(e, l, i);
1605
+ }
1606
+ function ht(e, r) {
1607
+ const t = Pr(e.theme);
1608
+ return Object.keys(e).map((n) => on(e, r, n, t)).reduce(Ke, {});
1609
+ }
1610
+ function J(e) {
1611
+ return ht(e, cr);
1612
+ }
1613
+ J.propTypes = process.env.NODE_ENV !== "production" ? cr.reduce((e, r) => (e[r] = Re, e), {}) : {};
1614
+ J.filterProps = cr;
1615
+ function Q(e) {
1616
+ return ht(e, lr);
1617
+ }
1618
+ Q.propTypes = process.env.NODE_ENV !== "production" ? lr.reduce((e, r) => (e[r] = Re, e), {}) : {};
1619
+ Q.filterProps = lr;
1620
+ process.env.NODE_ENV !== "production" && tn.reduce((e, r) => (e[r] = Re, e), {});
1621
+ function yt(e = 8, r = Pr({
1622
+ spacing: e
1623
+ })) {
1624
+ if (e.mui)
1625
+ return e;
1626
+ 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((i) => {
1627
+ const l = r(i);
1628
+ return typeof l == "number" ? `${l}px` : l;
1629
+ }).join(" "));
1630
+ return t.mui = !0, t;
1631
+ }
1632
+ function ur(...e) {
1633
+ const r = e.reduce((n, o) => (o.filterProps.forEach((i) => {
1634
+ n[i] = o;
1635
+ }), n), {}), t = (n) => Object.keys(n).reduce((o, i) => r[i] ? Ke(o, r[i](n)) : o, {});
1636
+ 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;
1637
+ }
1638
+ function he(e) {
1639
+ return typeof e != "number" ? e : `${e}px solid`;
1640
+ }
1641
+ function ye(e, r) {
1642
+ return re({
1643
+ prop: e,
1644
+ themeKey: "borders",
1645
+ transform: r
1646
+ });
1647
+ }
1648
+ const an = ye("border", he), sn = ye("borderTop", he), cn = ye("borderRight", he), ln = ye("borderBottom", he), un = ye("borderLeft", he), fn = ye("borderColor"), dn = ye("borderTopColor"), pn = ye("borderRightColor"), gn = ye("borderBottomColor"), mn = ye("borderLeftColor"), hn = ye("outline", he), yn = ye("outlineColor"), fr = (e) => {
1649
+ if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1650
+ const r = Qe(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
1651
+ borderRadius: er(r, n)
1652
+ });
1653
+ return xe(e, e.borderRadius, t);
1654
+ }
1655
+ return null;
1656
+ };
1657
+ fr.propTypes = process.env.NODE_ENV !== "production" ? {
1658
+ borderRadius: Re
1659
+ } : {};
1660
+ fr.filterProps = ["borderRadius"];
1661
+ ur(an, sn, cn, ln, un, fn, dn, pn, gn, mn, fr, hn, yn);
1662
+ const dr = (e) => {
1663
+ if (e.gap !== void 0 && e.gap !== null) {
1664
+ const r = Qe(e.theme, "spacing", 8, "gap"), t = (n) => ({
1665
+ gap: er(r, n)
1666
+ });
1667
+ return xe(e, e.gap, t);
1668
+ }
1669
+ return null;
1670
+ };
1671
+ dr.propTypes = process.env.NODE_ENV !== "production" ? {
1672
+ gap: Re
1673
+ } : {};
1674
+ dr.filterProps = ["gap"];
1675
+ const pr = (e) => {
1676
+ if (e.columnGap !== void 0 && e.columnGap !== null) {
1677
+ const r = Qe(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
1678
+ columnGap: er(r, n)
1679
+ });
1680
+ return xe(e, e.columnGap, t);
1681
+ }
1682
+ return null;
1683
+ };
1684
+ pr.propTypes = process.env.NODE_ENV !== "production" ? {
1685
+ columnGap: Re
1686
+ } : {};
1687
+ pr.filterProps = ["columnGap"];
1688
+ const gr = (e) => {
1689
+ if (e.rowGap !== void 0 && e.rowGap !== null) {
1690
+ const r = Qe(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
1691
+ rowGap: er(r, n)
1692
+ });
1693
+ return xe(e, e.rowGap, t);
1694
+ }
1695
+ return null;
1696
+ };
1697
+ gr.propTypes = process.env.NODE_ENV !== "production" ? {
1698
+ rowGap: Re
1699
+ } : {};
1700
+ gr.filterProps = ["rowGap"];
1701
+ const bn = re({
1702
+ prop: "gridColumn"
1703
+ }), vn = re({
1704
+ prop: "gridRow"
1705
+ }), Sn = re({
1706
+ prop: "gridAutoFlow"
1707
+ }), En = re({
1708
+ prop: "gridAutoColumns"
1709
+ }), Cn = re({
1710
+ prop: "gridAutoRows"
1711
+ }), Tn = re({
1712
+ prop: "gridTemplateColumns"
1713
+ }), xn = re({
1714
+ prop: "gridTemplateRows"
1715
+ }), wn = re({
1716
+ prop: "gridTemplateAreas"
1717
+ }), On = re({
1718
+ prop: "gridArea"
1719
+ });
1720
+ ur(dr, pr, gr, bn, vn, Sn, En, Cn, Tn, xn, wn, On);
1721
+ function We(e, r) {
1722
+ return r === "grey" ? r : e;
1723
+ }
1724
+ const $n = re({
1725
+ prop: "color",
1726
+ themeKey: "palette",
1727
+ transform: We
1728
+ }), _n = re({
1729
+ prop: "bgcolor",
1730
+ cssProperty: "backgroundColor",
1731
+ themeKey: "palette",
1732
+ transform: We
1733
+ }), An = re({
1734
+ prop: "backgroundColor",
1735
+ themeKey: "palette",
1736
+ transform: We
1737
+ });
1738
+ ur($n, _n, An);
1739
+ function fe(e) {
1740
+ return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1741
+ }
1742
+ const Rn = re({
1743
+ prop: "width",
1744
+ transform: fe
1745
+ }), Mr = (e) => {
1746
+ if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1747
+ const r = (t) => {
1748
+ var o, i, l, u, d;
1749
+ const n = ((l = (i = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : i.values) == null ? void 0 : l[t]) || ir[t];
1750
+ return n ? ((d = (u = e.theme) == null ? void 0 : u.breakpoints) == null ? void 0 : d.unit) !== "px" ? {
1751
+ maxWidth: `${n}${e.theme.breakpoints.unit}`
1752
+ } : {
1753
+ maxWidth: n
1754
+ } : {
1755
+ maxWidth: fe(t)
1756
+ };
1757
+ };
1758
+ return xe(e, e.maxWidth, r);
1759
+ }
1760
+ return null;
1761
+ };
1762
+ Mr.filterProps = ["maxWidth"];
1763
+ const kn = re({
1764
+ prop: "minWidth",
1765
+ transform: fe
1766
+ }), Pn = re({
1767
+ prop: "height",
1768
+ transform: fe
1769
+ }), Mn = re({
1770
+ prop: "maxHeight",
1771
+ transform: fe
1772
+ }), In = re({
1773
+ prop: "minHeight",
1774
+ transform: fe
1775
+ });
1776
+ re({
1777
+ prop: "size",
1778
+ cssProperty: "width",
1779
+ transform: fe
1780
+ });
1781
+ re({
1782
+ prop: "size",
1783
+ cssProperty: "height",
1784
+ transform: fe
1785
+ });
1786
+ const Nn = re({
1787
+ prop: "boxSizing"
1788
+ });
1789
+ ur(Rn, Mr, kn, Pn, Mn, In, Nn);
1790
+ const mr = {
1791
+ // borders
1792
+ border: {
1793
+ themeKey: "borders",
1794
+ transform: he
1795
+ },
1796
+ borderTop: {
1797
+ themeKey: "borders",
1798
+ transform: he
1799
+ },
1800
+ borderRight: {
1801
+ themeKey: "borders",
1802
+ transform: he
1803
+ },
1804
+ borderBottom: {
1805
+ themeKey: "borders",
1806
+ transform: he
1807
+ },
1808
+ borderLeft: {
1809
+ themeKey: "borders",
1810
+ transform: he
1811
+ },
1812
+ borderColor: {
1813
+ themeKey: "palette"
1814
+ },
1815
+ borderTopColor: {
1816
+ themeKey: "palette"
1817
+ },
1818
+ borderRightColor: {
1819
+ themeKey: "palette"
1820
+ },
1821
+ borderBottomColor: {
1822
+ themeKey: "palette"
1823
+ },
1824
+ borderLeftColor: {
1825
+ themeKey: "palette"
1826
+ },
1827
+ outline: {
1828
+ themeKey: "borders",
1829
+ transform: he
1830
+ },
1831
+ outlineColor: {
1832
+ themeKey: "palette"
1833
+ },
1834
+ borderRadius: {
1835
+ themeKey: "shape.borderRadius",
1836
+ style: fr
1837
+ },
1838
+ // palette
1839
+ color: {
1840
+ themeKey: "palette",
1841
+ transform: We
1842
+ },
1843
+ bgcolor: {
1844
+ themeKey: "palette",
1845
+ cssProperty: "backgroundColor",
1846
+ transform: We
1847
+ },
1848
+ backgroundColor: {
1849
+ themeKey: "palette",
1850
+ transform: We
1851
+ },
1852
+ // spacing
1853
+ p: {
1854
+ style: Q
1855
+ },
1856
+ pt: {
1857
+ style: Q
1858
+ },
1859
+ pr: {
1860
+ style: Q
1861
+ },
1862
+ pb: {
1863
+ style: Q
1864
+ },
1865
+ pl: {
1866
+ style: Q
1867
+ },
1868
+ px: {
1869
+ style: Q
1870
+ },
1871
+ py: {
1872
+ style: Q
1873
+ },
1874
+ padding: {
1875
+ style: Q
1876
+ },
1877
+ paddingTop: {
1878
+ style: Q
1879
+ },
1880
+ paddingRight: {
1881
+ style: Q
1882
+ },
1883
+ paddingBottom: {
1884
+ style: Q
1885
+ },
1886
+ paddingLeft: {
1887
+ style: Q
1888
+ },
1889
+ paddingX: {
1890
+ style: Q
1891
+ },
1892
+ paddingY: {
1893
+ style: Q
1894
+ },
1895
+ paddingInline: {
1896
+ style: Q
1897
+ },
1898
+ paddingInlineStart: {
1899
+ style: Q
1900
+ },
1901
+ paddingInlineEnd: {
1902
+ style: Q
1903
+ },
1904
+ paddingBlock: {
1905
+ style: Q
1906
+ },
1907
+ paddingBlockStart: {
1908
+ style: Q
1909
+ },
1910
+ paddingBlockEnd: {
1911
+ style: Q
1912
+ },
1913
+ m: {
1914
+ style: J
1915
+ },
1916
+ mt: {
1917
+ style: J
1918
+ },
1919
+ mr: {
1920
+ style: J
1921
+ },
1922
+ mb: {
1923
+ style: J
1924
+ },
1925
+ ml: {
1926
+ style: J
1927
+ },
1928
+ mx: {
1929
+ style: J
1930
+ },
1931
+ my: {
1932
+ style: J
1933
+ },
1934
+ margin: {
1935
+ style: J
1936
+ },
1937
+ marginTop: {
1938
+ style: J
1939
+ },
1940
+ marginRight: {
1941
+ style: J
1942
+ },
1943
+ marginBottom: {
1944
+ style: J
1945
+ },
1946
+ marginLeft: {
1947
+ style: J
1948
+ },
1949
+ marginX: {
1950
+ style: J
1951
+ },
1952
+ marginY: {
1953
+ style: J
1954
+ },
1955
+ marginInline: {
1956
+ style: J
1957
+ },
1958
+ marginInlineStart: {
1959
+ style: J
1960
+ },
1961
+ marginInlineEnd: {
1962
+ style: J
1963
+ },
1964
+ marginBlock: {
1965
+ style: J
1966
+ },
1967
+ marginBlockStart: {
1968
+ style: J
1969
+ },
1970
+ marginBlockEnd: {
1971
+ style: J
1972
+ },
1973
+ // display
1974
+ displayPrint: {
1975
+ cssProperty: !1,
1976
+ transform: (e) => ({
1977
+ "@media print": {
1978
+ display: e
1979
+ }
1980
+ })
1981
+ },
1982
+ display: {},
1983
+ overflow: {},
1984
+ textOverflow: {},
1985
+ visibility: {},
1986
+ whiteSpace: {},
1987
+ // flexbox
1988
+ flexBasis: {},
1989
+ flexDirection: {},
1990
+ flexWrap: {},
1991
+ justifyContent: {},
1992
+ alignItems: {},
1993
+ alignContent: {},
1994
+ order: {},
1995
+ flex: {},
1996
+ flexGrow: {},
1997
+ flexShrink: {},
1998
+ alignSelf: {},
1999
+ justifyItems: {},
2000
+ justifySelf: {},
2001
+ // grid
2002
+ gap: {
2003
+ style: dr
2004
+ },
2005
+ rowGap: {
2006
+ style: gr
2007
+ },
2008
+ columnGap: {
2009
+ style: pr
2010
+ },
2011
+ gridColumn: {},
2012
+ gridRow: {},
2013
+ gridAutoFlow: {},
2014
+ gridAutoColumns: {},
2015
+ gridAutoRows: {},
2016
+ gridTemplateColumns: {},
2017
+ gridTemplateRows: {},
2018
+ gridTemplateAreas: {},
2019
+ gridArea: {},
2020
+ // positions
2021
+ position: {},
2022
+ zIndex: {
2023
+ themeKey: "zIndex"
2024
+ },
2025
+ top: {},
2026
+ right: {},
2027
+ bottom: {},
2028
+ left: {},
2029
+ // shadows
2030
+ boxShadow: {
2031
+ themeKey: "shadows"
2032
+ },
2033
+ // sizing
2034
+ width: {
2035
+ transform: fe
2036
+ },
2037
+ maxWidth: {
2038
+ style: Mr
2039
+ },
2040
+ minWidth: {
2041
+ transform: fe
2042
+ },
2043
+ height: {
2044
+ transform: fe
2045
+ },
2046
+ maxHeight: {
2047
+ transform: fe
2048
+ },
2049
+ minHeight: {
2050
+ transform: fe
2051
+ },
2052
+ boxSizing: {},
2053
+ // typography
2054
+ font: {
2055
+ themeKey: "font"
2056
+ },
2057
+ fontFamily: {
2058
+ themeKey: "typography"
2059
+ },
2060
+ fontSize: {
2061
+ themeKey: "typography"
2062
+ },
2063
+ fontStyle: {
2064
+ themeKey: "typography"
2065
+ },
2066
+ fontWeight: {
2067
+ themeKey: "typography"
2068
+ },
2069
+ letterSpacing: {},
2070
+ textTransform: {},
2071
+ lineHeight: {},
2072
+ textAlign: {},
2073
+ typography: {
2074
+ cssProperty: !1,
2075
+ themeKey: "typography"
2076
+ }
2077
+ };
2078
+ function jn(...e) {
2079
+ const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
2080
+ return e.every((n) => t.size === Object.keys(n).length);
2081
+ }
2082
+ function Bn(e, r) {
2083
+ return typeof e == "function" ? e(r) : e;
2084
+ }
2085
+ function Dn() {
2086
+ function e(t, n, o, i) {
2087
+ const l = {
2088
+ [t]: n,
2089
+ theme: o
2090
+ }, u = i[t];
2091
+ if (!u)
2092
+ return {
2093
+ [t]: n
2094
+ };
2095
+ const {
2096
+ cssProperty: d = t,
2097
+ themeKey: p,
2098
+ transform: b,
2099
+ style: g
2100
+ } = u;
2101
+ if (n == null)
2102
+ return null;
2103
+ if (p === "typography" && n === "inherit")
2104
+ return {
2105
+ [t]: n
2106
+ };
2107
+ const m = sr(o, p) || {};
2108
+ return g ? g(l) : xe(l, n, (v) => {
2109
+ let c = ar(m, b, v);
2110
+ return v === c && typeof v == "string" && (c = ar(m, b, `${t}${v === "default" ? "" : mt(v)}`, v)), d === !1 ? c : {
2111
+ [d]: c
2112
+ };
2113
+ });
2114
+ }
2115
+ function r(t) {
2116
+ const {
2117
+ sx: n,
2118
+ theme: o = {}
2119
+ } = t || {};
2120
+ if (!n)
2121
+ return null;
2122
+ const i = o.unstable_sxConfig ?? mr;
2123
+ function l(u) {
2124
+ let d = u;
2125
+ if (typeof u == "function")
2126
+ d = u(o);
2127
+ else if (typeof u != "object")
2128
+ return u;
2129
+ if (!d)
2130
+ return null;
2131
+ const p = Xt(o.breakpoints), b = Object.keys(p);
2132
+ let g = p;
2133
+ return Object.keys(d).forEach((m) => {
2134
+ const C = Bn(d[m], o);
2135
+ if (C != null)
2136
+ if (typeof C == "object")
2137
+ if (i[m])
2138
+ g = Ke(g, e(m, C, o, i));
2139
+ else {
2140
+ const v = xe({
2141
+ theme: o
2142
+ }, C, (c) => ({
2143
+ [m]: c
2144
+ }));
2145
+ jn(v, C) ? g[m] = r({
2146
+ sx: C,
2147
+ theme: o
2148
+ }) : g = Ke(g, v);
2149
+ }
2150
+ else
2151
+ g = Ke(g, e(m, C, o, i));
2152
+ }), zt(o, Zt(b, g));
2153
+ }
2154
+ return Array.isArray(n) ? n.map(l) : l(n);
2155
+ }
2156
+ return r;
2157
+ }
2158
+ const hr = Dn();
2159
+ hr.filterProps = ["sx"];
2160
+ function Fn(e, r) {
2161
+ var n;
2162
+ const t = this;
2163
+ if (t.vars) {
2164
+ if (!((n = t.colorSchemes) != null && n[e]) || typeof t.getColorSchemeSelector != "function")
2165
+ return {};
2166
+ let o = t.getColorSchemeSelector(e);
2167
+ return o === "&" ? r : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
2168
+ [o]: r
2169
+ });
2170
+ }
2171
+ return t.palette.mode === e ? r : {};
2172
+ }
2173
+ function Ln(e = {}, ...r) {
2174
+ const {
2175
+ breakpoints: t = {},
2176
+ palette: n = {},
2177
+ spacing: o,
2178
+ shape: i = {},
2179
+ ...l
2180
+ } = e, u = Vt(t), d = yt(o);
2181
+ let p = de({
2182
+ breakpoints: u,
2183
+ direction: "ltr",
2184
+ components: {},
2185
+ // Inject component definitions.
2186
+ palette: {
2187
+ mode: "light",
2188
+ ...n
2189
+ },
2190
+ spacing: d,
2191
+ shape: {
2192
+ ...qt,
2193
+ ...i
2194
+ }
2195
+ }, l);
2196
+ return p = Ht(p), p.applyStyles = Fn, p = r.reduce((b, g) => de(b, g), p), p.unstable_sxConfig = {
2197
+ ...mr,
2198
+ ...l == null ? void 0 : l.unstable_sxConfig
2199
+ }, p.unstable_sx = function(g) {
2200
+ return hr({
2201
+ sx: g,
2202
+ theme: this
2203
+ });
2204
+ }, p;
2205
+ }
2206
+ const rt = (e) => e, Wn = () => {
2207
+ let e = rt;
2208
+ return {
2209
+ configure(r) {
2210
+ e = r;
2211
+ },
2212
+ generate(r) {
2213
+ return e(r);
2214
+ },
2215
+ reset() {
2216
+ e = rt;
2217
+ }
2218
+ };
2219
+ }, Yn = Wn(), Vn = {
2220
+ active: "active",
2221
+ checked: "checked",
2222
+ completed: "completed",
2223
+ disabled: "disabled",
2224
+ error: "error",
2225
+ expanded: "expanded",
2226
+ focused: "focused",
2227
+ focusVisible: "focusVisible",
2228
+ open: "open",
2229
+ readOnly: "readOnly",
2230
+ required: "required",
2231
+ selected: "selected"
2232
+ };
2233
+ function zn(e, r, t = "Mui") {
2234
+ const n = Vn[r];
2235
+ return n ? `${t}-${n}` : `${Yn.generate(e)}-${r}`;
2236
+ }
2237
+ function Un(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
2238
+ return Math.max(r, Math.min(e, t));
2239
+ }
2240
+ function Ir(e, r = 0, t = 1) {
2241
+ return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), Un(e, r, t);
2242
+ }
2243
+ function Gn(e) {
2244
+ e = e.slice(1);
2245
+ const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
2246
+ let t = e.match(r);
2247
+ 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(", ")})` : "";
2248
+ }
2249
+ function Ae(e) {
2250
+ if (e.type)
2251
+ return e;
2252
+ if (e.charAt(0) === "#")
2253
+ return Ae(Gn(e));
2254
+ const r = e.indexOf("("), t = e.substring(0, r);
2255
+ if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
2256
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
2257
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : _e(9, e));
2258
+ let n = e.substring(r + 1, e.length - 1), o;
2259
+ if (t === "color") {
2260
+ 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))
2261
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
2262
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : _e(10, o));
2263
+ } else
2264
+ n = n.split(",");
2265
+ return n = n.map((i) => parseFloat(i)), {
2266
+ type: t,
2267
+ values: n,
2268
+ colorSpace: o
2269
+ };
2270
+ }
2271
+ const Hn = (e) => {
2272
+ const r = Ae(e);
2273
+ return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
2274
+ }, He = (e, r) => {
2275
+ try {
2276
+ return Hn(e);
2277
+ } catch {
2278
+ return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
2279
+ }
2280
+ };
2281
+ function yr(e) {
2282
+ const {
2283
+ type: r,
2284
+ colorSpace: t
2285
+ } = e;
2286
+ let {
2287
+ values: n
2288
+ } = e;
2289
+ return r.includes("rgb") ? n = n.map((o, i) => i < 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})`;
2290
+ }
2291
+ function bt(e) {
2292
+ e = Ae(e);
2293
+ const {
2294
+ values: r
2295
+ } = e, t = r[0], n = r[1] / 100, o = r[2] / 100, i = n * Math.min(o, 1 - o), l = (p, b = (p + t / 30) % 12) => o - i * Math.max(Math.min(b - 3, 9 - b, 1), -1);
2296
+ let u = "rgb";
2297
+ const d = [Math.round(l(0) * 255), Math.round(l(8) * 255), Math.round(l(4) * 255)];
2298
+ return e.type === "hsla" && (u += "a", d.push(r[3])), yr({
2299
+ type: u,
2300
+ values: d
2301
+ });
2302
+ }
2303
+ function Ar(e) {
2304
+ e = Ae(e);
2305
+ let r = e.type === "hsl" || e.type === "hsla" ? Ae(bt(e)).values : e.values;
2306
+ 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));
2307
+ }
2308
+ function tt(e, r) {
2309
+ const t = Ar(e), n = Ar(r);
2310
+ return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
2311
+ }
2312
+ function qn(e, r) {
2313
+ return e = Ae(e), r = Ir(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, yr(e);
2314
+ }
2315
+ function nr(e, r, t) {
2316
+ try {
2317
+ return qn(e, r);
2318
+ } catch {
2319
+ return e;
2320
+ }
2321
+ }
2322
+ function Ze(e, r) {
2323
+ if (e = Ae(e), r = Ir(r), e.type.includes("hsl"))
2324
+ e.values[2] *= 1 - r;
2325
+ else if (e.type.includes("rgb") || e.type.includes("color"))
2326
+ for (let t = 0; t < 3; t += 1)
2327
+ e.values[t] *= 1 - r;
2328
+ return yr(e);
2329
+ }
2330
+ function H(e, r, t) {
2331
+ try {
2332
+ return Ze(e, r);
2333
+ } catch {
2334
+ return e;
2335
+ }
2336
+ }
2337
+ function Je(e, r) {
2338
+ if (e = Ae(e), r = Ir(r), e.type.includes("hsl"))
2339
+ e.values[2] += (100 - e.values[2]) * r;
2340
+ else if (e.type.includes("rgb"))
2341
+ for (let t = 0; t < 3; t += 1)
2342
+ e.values[t] += (255 - e.values[t]) * r;
2343
+ else if (e.type.includes("color"))
2344
+ for (let t = 0; t < 3; t += 1)
2345
+ e.values[t] += (1 - e.values[t]) * r;
2346
+ return yr(e);
2347
+ }
2348
+ function q(e, r, t) {
2349
+ try {
2350
+ return Je(e, r);
2351
+ } catch {
2352
+ return e;
2353
+ }
2354
+ }
2355
+ function Kn(e, r = 0.15) {
2356
+ return Ar(e) > 0.5 ? Ze(e, r) : Je(e, r);
2357
+ }
2358
+ function or(e, r, t) {
2359
+ try {
2360
+ return Kn(e, r);
2361
+ } catch {
2362
+ return e;
2363
+ }
2364
+ }
2365
+ function Xn(e = "") {
2366
+ function r(...n) {
2367
+ if (!n.length)
2368
+ return "";
2369
+ const o = n[0];
2370
+ 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}`;
2371
+ }
2372
+ return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${r(...o)})`;
2373
+ }
2374
+ const nt = (e, r, t, n = []) => {
2375
+ let o = e;
2376
+ r.forEach((i, l) => {
2377
+ l === r.length - 1 ? Array.isArray(o) ? o[Number(i)] = t : o && typeof o == "object" && (o[i] = t) : o && typeof o == "object" && (o[i] || (o[i] = n.includes(i) ? [] : {}), o = o[i]);
2378
+ });
2379
+ }, Zn = (e, r, t) => {
2380
+ function n(o, i = [], l = []) {
2381
+ Object.entries(o).forEach(([u, d]) => {
2382
+ (!t || t && !t([...i, u])) && d != null && (typeof d == "object" && Object.keys(d).length > 0 ? n(d, [...i, u], Array.isArray(d) ? [...l, u] : l) : r([...i, u], d, l));
2383
+ });
2384
+ }
2385
+ n(e);
2386
+ }, Jn = (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;
2387
+ function xr(e, r) {
2388
+ const {
2389
+ prefix: t,
2390
+ shouldSkipGeneratingVar: n
2391
+ } = r || {}, o = {}, i = {}, l = {};
2392
+ return Zn(
2393
+ e,
2394
+ (u, d, p) => {
2395
+ if ((typeof d == "string" || typeof d == "number") && (!n || !n(u, d))) {
2396
+ const b = `--${t ? `${t}-` : ""}${u.join("-")}`, g = Jn(u, d);
2397
+ Object.assign(o, {
2398
+ [b]: g
2399
+ }), nt(i, u, `var(${b})`, p), nt(l, u, `var(${b}, ${g})`, p);
2400
+ }
2401
+ },
2402
+ (u) => u[0] === "vars"
2403
+ // skip 'vars/*' paths
2404
+ ), {
2405
+ css: o,
2406
+ vars: i,
2407
+ varsWithDefaults: l
2408
+ };
2409
+ }
2410
+ function Qn(e, r = {}) {
2411
+ const {
2412
+ getSelector: t = $,
2413
+ disableCssColorScheme: n,
2414
+ colorSchemeSelector: o
2415
+ } = r, {
2416
+ colorSchemes: i = {},
2417
+ components: l,
2418
+ defaultColorScheme: u = "light",
2419
+ ...d
2420
+ } = e, {
2421
+ vars: p,
2422
+ css: b,
2423
+ varsWithDefaults: g
2424
+ } = xr(d, r);
2425
+ let m = g;
2426
+ const C = {}, {
2427
+ [u]: v,
2428
+ ...c
2429
+ } = i;
2430
+ if (Object.entries(c || {}).forEach(([_, O]) => {
2431
+ const {
2432
+ vars: y,
2433
+ css: ee,
2434
+ varsWithDefaults: ie
2435
+ } = xr(O, r);
2436
+ m = de(m, ie), C[_] = {
2437
+ css: ee,
2438
+ vars: y
2439
+ };
2440
+ }), v) {
2441
+ const {
2442
+ css: _,
2443
+ vars: O,
2444
+ varsWithDefaults: y
2445
+ } = xr(v, r);
2446
+ m = de(m, y), C[u] = {
2447
+ css: _,
2448
+ vars: O
2449
+ };
2450
+ }
2451
+ function $(_, O) {
2452
+ var ee, ie;
2453
+ let y = o;
2454
+ if (o === "class" && (y = ".%s"), o === "data" && (y = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (y = `[${o}="%s"]`), _) {
2455
+ if (y === "media")
2456
+ return e.defaultColorScheme === _ ? ":root" : {
2457
+ [`@media (prefers-color-scheme: ${((ie = (ee = i[_]) == null ? void 0 : ee.palette) == null ? void 0 : ie.mode) || _})`]: {
2458
+ ":root": O
2459
+ }
2460
+ };
2461
+ if (y)
2462
+ return e.defaultColorScheme === _ ? `:root, ${y.replace("%s", String(_))}` : y.replace("%s", String(_));
2463
+ }
2464
+ return ":root";
2465
+ }
2466
+ return {
2467
+ vars: m,
2468
+ generateThemeVars: () => {
2469
+ let _ = {
2470
+ ...p
2471
+ };
2472
+ return Object.entries(C).forEach(([, {
2473
+ vars: O
2474
+ }]) => {
2475
+ _ = de(_, O);
2476
+ }), _;
2477
+ },
2478
+ generateStyleSheets: () => {
2479
+ var pe, ne;
2480
+ const _ = [], O = e.defaultColorScheme || "light";
2481
+ function y(a, T) {
2482
+ Object.keys(T).length && _.push(typeof a == "string" ? {
2483
+ [a]: {
2484
+ ...T
2485
+ }
2486
+ } : a);
2487
+ }
2488
+ y(t(void 0, {
2489
+ ...b
2490
+ }), b);
2491
+ const {
2492
+ [O]: ee,
2493
+ ...ie
2494
+ } = C;
2495
+ if (ee) {
2496
+ const {
2497
+ css: a
2498
+ } = ee, T = (ne = (pe = i[O]) == null ? void 0 : pe.palette) == null ? void 0 : ne.mode, B = !n && T ? {
2499
+ colorScheme: T,
2500
+ ...a
2501
+ } : {
2502
+ ...a
2503
+ };
2504
+ y(t(O, {
2505
+ ...B
2506
+ }), B);
2507
+ }
2508
+ return Object.entries(ie).forEach(([a, {
2509
+ css: T
2510
+ }]) => {
2511
+ var se, ge;
2512
+ const B = (ge = (se = i[a]) == null ? void 0 : se.palette) == null ? void 0 : ge.mode, K = !n && B ? {
2513
+ colorScheme: B,
2514
+ ...T
2515
+ } : {
2516
+ ...T
2517
+ };
2518
+ y(t(a, {
2519
+ ...K
2520
+ }), K);
2521
+ }), _;
2522
+ }
2523
+ };
2524
+ }
2525
+ function eo(e) {
2526
+ return function(t) {
2527
+ 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)} &` : "&";
2528
+ };
2529
+ }
2530
+ function vt() {
2531
+ return {
2532
+ // The colors used to style the text.
2533
+ text: {
2534
+ // The most important text.
2535
+ primary: "rgba(0, 0, 0, 0.87)",
2536
+ // Secondary text.
2537
+ secondary: "rgba(0, 0, 0, 0.6)",
2538
+ // Disabled text have even lower visual prominence.
2539
+ disabled: "rgba(0, 0, 0, 0.38)"
2540
+ },
2541
+ // The color used to divide different elements.
2542
+ divider: "rgba(0, 0, 0, 0.12)",
2543
+ // The background colors used to style the surfaces.
2544
+ // Consistency between these values is important.
2545
+ background: {
2546
+ paper: Xe.white,
2547
+ default: Xe.white
2548
+ },
2549
+ // The colors used to style the action elements.
2550
+ action: {
2551
+ // The color of an active action like an icon button.
2552
+ active: "rgba(0, 0, 0, 0.54)",
2553
+ // The color of an hovered action.
2554
+ hover: "rgba(0, 0, 0, 0.04)",
2555
+ hoverOpacity: 0.04,
2556
+ // The color of a selected action.
2557
+ selected: "rgba(0, 0, 0, 0.08)",
2558
+ selectedOpacity: 0.08,
2559
+ // The color of a disabled action.
2560
+ disabled: "rgba(0, 0, 0, 0.26)",
2561
+ // The background color of a disabled action.
2562
+ disabledBackground: "rgba(0, 0, 0, 0.12)",
2563
+ disabledOpacity: 0.38,
2564
+ focus: "rgba(0, 0, 0, 0.12)",
2565
+ focusOpacity: 0.12,
2566
+ activatedOpacity: 0.12
2567
+ }
2568
+ };
2569
+ }
2570
+ const ro = vt();
2571
+ function St() {
2572
+ return {
2573
+ text: {
2574
+ primary: Xe.white,
2575
+ secondary: "rgba(255, 255, 255, 0.7)",
2576
+ disabled: "rgba(255, 255, 255, 0.5)",
2577
+ icon: "rgba(255, 255, 255, 0.5)"
2578
+ },
2579
+ divider: "rgba(255, 255, 255, 0.12)",
2580
+ background: {
2581
+ paper: "#121212",
2582
+ default: "#121212"
2583
+ },
2584
+ action: {
2585
+ active: Xe.white,
2586
+ hover: "rgba(255, 255, 255, 0.08)",
2587
+ hoverOpacity: 0.08,
2588
+ selected: "rgba(255, 255, 255, 0.16)",
2589
+ selectedOpacity: 0.16,
2590
+ disabled: "rgba(255, 255, 255, 0.3)",
2591
+ disabledBackground: "rgba(255, 255, 255, 0.12)",
2592
+ disabledOpacity: 0.38,
2593
+ focus: "rgba(255, 255, 255, 0.12)",
2594
+ focusOpacity: 0.12,
2595
+ activatedOpacity: 0.24
2596
+ }
2597
+ };
2598
+ }
2599
+ const ot = St();
2600
+ function at(e, r, t, n) {
2601
+ const o = n.light || n, i = n.dark || n * 1.5;
2602
+ e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = Je(e.main, o) : r === "dark" && (e.dark = Ze(e.main, i)));
2603
+ }
2604
+ function to(e = "light") {
2605
+ return e === "dark" ? {
2606
+ main: De[200],
2607
+ light: De[50],
2608
+ dark: De[400]
2609
+ } : {
2610
+ main: De[700],
2611
+ light: De[400],
2612
+ dark: De[800]
2613
+ };
2614
+ }
2615
+ function no(e = "light") {
2616
+ return e === "dark" ? {
2617
+ main: Be[200],
2618
+ light: Be[50],
2619
+ dark: Be[400]
2620
+ } : {
2621
+ main: Be[500],
2622
+ light: Be[300],
2623
+ dark: Be[700]
2624
+ };
2625
+ }
2626
+ function oo(e = "light") {
2627
+ return e === "dark" ? {
2628
+ main: je[500],
2629
+ light: je[300],
2630
+ dark: je[700]
2631
+ } : {
2632
+ main: je[700],
2633
+ light: je[400],
2634
+ dark: je[800]
2635
+ };
2636
+ }
2637
+ function ao(e = "light") {
2638
+ return e === "dark" ? {
2639
+ main: Fe[400],
2640
+ light: Fe[300],
2641
+ dark: Fe[700]
2642
+ } : {
2643
+ main: Fe[700],
2644
+ light: Fe[500],
2645
+ dark: Fe[900]
2646
+ };
2647
+ }
2648
+ function io(e = "light") {
2649
+ return e === "dark" ? {
2650
+ main: Le[400],
2651
+ light: Le[300],
2652
+ dark: Le[700]
2653
+ } : {
2654
+ main: Le[800],
2655
+ light: Le[500],
2656
+ dark: Le[900]
2657
+ };
2658
+ }
2659
+ function so(e = "light") {
2660
+ return e === "dark" ? {
2661
+ main: Ve[400],
2662
+ light: Ve[300],
2663
+ dark: Ve[700]
2664
+ } : {
2665
+ main: "#ed6c02",
2666
+ // closest to orange[800] that pass 3:1.
2667
+ light: Ve[500],
2668
+ dark: Ve[900]
2669
+ };
2670
+ }
2671
+ function Nr(e) {
2672
+ const {
2673
+ mode: r = "light",
2674
+ contrastThreshold: t = 3,
2675
+ tonalOffset: n = 0.2,
2676
+ ...o
2677
+ } = e, i = e.primary || to(r), l = e.secondary || no(r), u = e.error || oo(r), d = e.info || ao(r), p = e.success || io(r), b = e.warning || so(r);
2678
+ function g(c) {
2679
+ const $ = tt(c, ot.text.primary) >= t ? ot.text.primary : ro.text.primary;
2680
+ if (process.env.NODE_ENV !== "production") {
2681
+ const k = tt(c, $);
2682
+ k < 3 && console.error([`MUI: The contrast ratio of ${k}:1 for ${$} on ${c}`, "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(`
2683
+ `));
2684
+ }
2685
+ return $;
2686
+ }
2687
+ const m = ({
2688
+ color: c,
2689
+ name: $,
2690
+ mainShade: k = 500,
2691
+ lightShade: te = 300,
2692
+ darkShade: _ = 700
2693
+ }) => {
2694
+ if (c = {
2695
+ ...c
2696
+ }, !c.main && c[k] && (c.main = c[k]), !c.hasOwnProperty("main"))
2697
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${$ ? ` (${$})` : ""} provided to augmentColor(color) is invalid.
2698
+ The color object needs to have a \`main\` property or a \`${k}\` property.` : _e(11, $ ? ` (${$})` : "", k));
2699
+ if (typeof c.main != "string")
2700
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${$ ? ` (${$})` : ""} provided to augmentColor(color) is invalid.
2701
+ \`color.main\` should be a string, but \`${JSON.stringify(c.main)}\` was provided instead.
2702
+
2703
+ Did you intend to use one of the following approaches?
2704
+
2705
+ import { green } from "@mui/material/colors";
2706
+
2707
+ const theme1 = createTheme({ palette: {
2708
+ primary: green,
2709
+ } });
2710
+
2711
+ const theme2 = createTheme({ palette: {
2712
+ primary: { main: green[500] },
2713
+ } });` : _e(12, $ ? ` (${$})` : "", JSON.stringify(c.main)));
2714
+ return at(c, "light", te, n), at(c, "dark", _, n), c.contrastText || (c.contrastText = g(c.main)), c;
2715
+ };
2716
+ let C;
2717
+ return r === "light" ? C = vt() : r === "dark" && (C = St()), process.env.NODE_ENV !== "production" && (C || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), de({
2718
+ // A collection of common colors.
2719
+ common: {
2720
+ ...Xe
2721
+ },
2722
+ // prevent mutable object.
2723
+ // The palette mode, can be light or dark.
2724
+ mode: r,
2725
+ // The colors used to represent primary interface elements for a user.
2726
+ primary: m({
2727
+ color: i,
2728
+ name: "primary"
2729
+ }),
2730
+ // The colors used to represent secondary interface elements for a user.
2731
+ secondary: m({
2732
+ color: l,
2733
+ name: "secondary",
2734
+ mainShade: "A400",
2735
+ lightShade: "A200",
2736
+ darkShade: "A700"
2737
+ }),
2738
+ // The colors used to represent interface elements that the user should be made aware of.
2739
+ error: m({
2740
+ color: u,
2741
+ name: "error"
2742
+ }),
2743
+ // The colors used to represent potentially dangerous actions or important messages.
2744
+ warning: m({
2745
+ color: b,
2746
+ name: "warning"
2747
+ }),
2748
+ // The colors used to present information to the user that is neutral and not necessarily important.
2749
+ info: m({
2750
+ color: d,
2751
+ name: "info"
2752
+ }),
2753
+ // The colors used to indicate the successful completion of an action that user triggered.
2754
+ success: m({
2755
+ color: p,
2756
+ name: "success"
2757
+ }),
2758
+ // The grey colors.
2759
+ grey: $t,
2760
+ // Used by `getContrastText()` to maximize the contrast between
2761
+ // the background and the text.
2762
+ contrastThreshold: t,
2763
+ // Takes a background color and returns the text color that maximizes the contrast.
2764
+ getContrastText: g,
2765
+ // Generate a rich color object.
2766
+ augmentColor: m,
2767
+ // Used by the functions below to shift a color's luminance by approximately
2768
+ // two indexes within its tonal palette.
2769
+ // E.g., shift from Red 500 to Red 300 or Red 700.
2770
+ tonalOffset: n,
2771
+ // The light and dark mode object.
2772
+ ...C
2773
+ }, o);
2774
+ }
2775
+ function co(e) {
2776
+ const r = {};
2777
+ return Object.entries(e).forEach((n) => {
2778
+ const [o, i] = n;
2779
+ typeof i == "object" && (r[o] = `${i.fontStyle ? `${i.fontStyle} ` : ""}${i.fontVariant ? `${i.fontVariant} ` : ""}${i.fontWeight ? `${i.fontWeight} ` : ""}${i.fontStretch ? `${i.fontStretch} ` : ""}${i.fontSize || ""}${i.lineHeight ? `/${i.lineHeight} ` : ""}${i.fontFamily || ""}`);
2780
+ }), r;
2781
+ }
2782
+ function lo(e, r) {
2783
+ return {
2784
+ toolbar: {
2785
+ minHeight: 56,
2786
+ [e.up("xs")]: {
2787
+ "@media (orientation: landscape)": {
2788
+ minHeight: 48
2789
+ }
2790
+ },
2791
+ [e.up("sm")]: {
2792
+ minHeight: 64
2793
+ }
2794
+ },
2795
+ ...r
2796
+ };
2797
+ }
2798
+ function uo(e) {
2799
+ return Math.round(e * 1e5) / 1e5;
2800
+ }
2801
+ const it = {
2802
+ textTransform: "uppercase"
2803
+ }, st = '"Roboto", "Helvetica", "Arial", sans-serif';
2804
+ function fo(e, r) {
2805
+ const {
2806
+ fontFamily: t = st,
2807
+ // The default font size of the Material Specification.
2808
+ fontSize: n = 14,
2809
+ // px
2810
+ fontWeightLight: o = 300,
2811
+ fontWeightRegular: i = 400,
2812
+ fontWeightMedium: l = 500,
2813
+ fontWeightBold: u = 700,
2814
+ // Tell MUI what's the font-size on the html element.
2815
+ // 16px is the default font-size used by browsers.
2816
+ htmlFontSize: d = 16,
2817
+ // Apply the CSS properties to all the variants.
2818
+ allVariants: p,
2819
+ pxToRem: b,
2820
+ ...g
2821
+ } = typeof r == "function" ? r(e) : r;
2822
+ process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
2823
+ const m = n / 14, C = b || (($) => `${$ / d * m}rem`), v = ($, k, te, _, O) => ({
2824
+ fontFamily: t,
2825
+ fontWeight: $,
2826
+ fontSize: C(k),
2827
+ // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
2828
+ lineHeight: te,
2829
+ // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
2830
+ // across font-families can cause issues with the kerning.
2831
+ ...t === st ? {
2832
+ letterSpacing: `${uo(_ / k)}em`
2833
+ } : {},
2834
+ ...O,
2835
+ ...p
2836
+ }), c = {
2837
+ h1: v(o, 96, 1.167, -1.5),
2838
+ h2: v(o, 60, 1.2, -0.5),
2839
+ h3: v(i, 48, 1.167, 0),
2840
+ h4: v(i, 34, 1.235, 0.25),
2841
+ h5: v(i, 24, 1.334, 0),
2842
+ h6: v(l, 20, 1.6, 0.15),
2843
+ subtitle1: v(i, 16, 1.75, 0.15),
2844
+ subtitle2: v(l, 14, 1.57, 0.1),
2845
+ body1: v(i, 16, 1.5, 0.15),
2846
+ body2: v(i, 14, 1.43, 0.15),
2847
+ button: v(l, 14, 1.75, 0.4, it),
2848
+ caption: v(i, 12, 1.66, 0.4),
2849
+ overline: v(i, 12, 2.66, 1, it),
2850
+ // 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.
2851
+ inherit: {
2852
+ fontFamily: "inherit",
2853
+ fontWeight: "inherit",
2854
+ fontSize: "inherit",
2855
+ lineHeight: "inherit",
2856
+ letterSpacing: "inherit"
2857
+ }
2858
+ };
2859
+ return de({
2860
+ htmlFontSize: d,
2861
+ pxToRem: C,
2862
+ fontFamily: t,
2863
+ fontSize: n,
2864
+ fontWeightLight: o,
2865
+ fontWeightRegular: i,
2866
+ fontWeightMedium: l,
2867
+ fontWeightBold: u,
2868
+ ...c
2869
+ }, g, {
2870
+ clone: !1
2871
+ // No need to clone deep
2872
+ });
2873
+ }
2874
+ const po = 0.2, go = 0.14, mo = 0.12;
2875
+ function X(...e) {
2876
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${po})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${go})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${mo})`].join(",");
2877
+ }
2878
+ const ho = ["none", X(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), X(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), X(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), X(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), X(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), X(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), X(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), X(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), X(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), X(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), X(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), X(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), X(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), X(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), X(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), X(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), X(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), X(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), X(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), X(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), X(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), X(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), X(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), X(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], yo = {
2879
+ // This is the most common easing curve.
2880
+ easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
2881
+ // Objects enter the screen at full velocity from off-screen and
2882
+ // slowly decelerate to a resting point.
2883
+ easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
2884
+ // Objects leave the screen at full velocity. They do not decelerate when off-screen.
2885
+ easeIn: "cubic-bezier(0.4, 0, 1, 1)",
2886
+ // The sharp curve is used by objects that may return to the screen at any time.
2887
+ sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
2888
+ }, bo = {
2889
+ shortest: 150,
2890
+ shorter: 200,
2891
+ short: 250,
2892
+ // most basic recommended timing
2893
+ standard: 300,
2894
+ // this is to be used in complex animations
2895
+ complex: 375,
2896
+ // recommended when something is entering screen
2897
+ enteringScreen: 225,
2898
+ // recommended when something is leaving screen
2899
+ leavingScreen: 195
2900
+ };
2901
+ function ct(e) {
2902
+ return `${Math.round(e)}ms`;
2903
+ }
2904
+ function vo(e) {
2905
+ if (!e)
2906
+ return 0;
2907
+ const r = e / 36;
2908
+ return Math.min(Math.round((4 + 15 * r ** 0.25 + r / 5) * 10), 3e3);
2909
+ }
2910
+ function So(e) {
2911
+ const r = {
2912
+ ...yo,
2913
+ ...e.easing
2914
+ }, t = {
2915
+ ...bo,
2916
+ ...e.duration
2917
+ };
2918
+ return {
2919
+ getAutoHeightDuration: vo,
2920
+ create: (o = ["all"], i = {}) => {
2921
+ const {
2922
+ duration: l = t.standard,
2923
+ easing: u = r.easeInOut,
2924
+ delay: d = 0,
2925
+ ...p
2926
+ } = i;
2927
+ if (process.env.NODE_ENV !== "production") {
2928
+ const b = (m) => typeof m == "string", g = (m) => !Number.isNaN(parseFloat(m));
2929
+ !b(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !g(l) && !b(l) && console.error(`MUI: Argument "duration" must be a number or a string but found ${l}.`), b(u) || console.error('MUI: Argument "easing" must be a string.'), !g(d) && !b(d) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "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(`
2930
+ `)), Object.keys(p).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(p).join(",")}].`);
2931
+ }
2932
+ return (Array.isArray(o) ? o : [o]).map((b) => `${b} ${typeof l == "string" ? l : ct(l)} ${u} ${typeof d == "string" ? d : ct(d)}`).join(",");
2933
+ },
2934
+ ...e,
2935
+ easing: r,
2936
+ duration: t
2937
+ };
2938
+ }
2939
+ const Eo = {
2940
+ mobileStepper: 1e3,
2941
+ fab: 1050,
2942
+ speedDial: 1050,
2943
+ appBar: 1100,
2944
+ drawer: 1200,
2945
+ modal: 1300,
2946
+ snackbar: 1400,
2947
+ tooltip: 1500
2948
+ };
2949
+ function Co(e) {
2950
+ return $e(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
2951
+ }
2952
+ function Et(e = {}) {
2953
+ const r = {
2954
+ ...e
2955
+ };
2956
+ function t(n) {
2957
+ const o = Object.entries(n);
2958
+ for (let i = 0; i < o.length; i++) {
2959
+ const [l, u] = o[i];
2960
+ !Co(u) || l.startsWith("unstable_") ? delete n[l] : $e(u) && (n[l] = {
2961
+ ...u
2962
+ }, t(n[l]));
2963
+ }
2964
+ }
2965
+ return t(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
2966
+
2967
+ const theme = ${JSON.stringify(r, null, 2)};
2968
+
2969
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
2970
+ theme.transitions = createTransitions(theme.transitions || {});
2971
+
2972
+ export default theme;`;
2973
+ }
2974
+ function Rr(e = {}, ...r) {
2975
+ const {
2976
+ breakpoints: t,
2977
+ mixins: n = {},
2978
+ spacing: o,
2979
+ palette: i = {},
2980
+ transitions: l = {},
2981
+ typography: u = {},
2982
+ shape: d,
2983
+ ...p
2984
+ } = e;
2985
+ if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
2986
+ // `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.
2987
+ e.generateThemeVars === void 0)
2988
+ 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." : _e(20));
2989
+ const b = Nr(i), g = Ln(e);
2990
+ let m = de(g, {
2991
+ mixins: lo(g.breakpoints, n),
2992
+ palette: b,
2993
+ // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
2994
+ shadows: ho.slice(),
2995
+ typography: fo(b, u),
2996
+ transitions: So(l),
2997
+ zIndex: {
2998
+ ...Eo
2999
+ }
3000
+ });
3001
+ if (m = de(m, p), m = r.reduce((C, v) => de(C, v), m), process.env.NODE_ENV !== "production") {
3002
+ const C = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], v = (c, $) => {
3003
+ let k;
3004
+ for (k in c) {
3005
+ const te = c[k];
3006
+ if (C.includes(k) && Object.keys(te).length > 0) {
3007
+ if (process.env.NODE_ENV !== "production") {
3008
+ const _ = zn("", k);
3009
+ console.error([`MUI: The \`${$}\` component increases the CSS specificity of the \`${k}\` internal state.`, "You can not override it like this: ", JSON.stringify(c, null, 2), "", `Instead, you need to use the '&.${_}' syntax:`, JSON.stringify({
3010
+ root: {
3011
+ [`&.${_}`]: te
3012
+ }
3013
+ }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
3014
+ `));
3015
+ }
3016
+ c[k] = {};
3017
+ }
3018
+ }
3019
+ };
3020
+ Object.keys(m.components).forEach((c) => {
3021
+ const $ = m.components[c].styleOverrides;
3022
+ $ && c.startsWith("Mui") && v($, c);
3023
+ });
3024
+ }
3025
+ return m.unstable_sxConfig = {
3026
+ ...mr,
3027
+ ...p == null ? void 0 : p.unstable_sxConfig
3028
+ }, m.unstable_sx = function(v) {
3029
+ return hr({
3030
+ sx: v,
3031
+ theme: this
3032
+ });
3033
+ }, m.toRuntimeSource = Et, m;
3034
+ }
3035
+ function To(e) {
3036
+ let r;
3037
+ return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
3038
+ }
3039
+ const xo = [...Array(25)].map((e, r) => {
3040
+ if (r === 0)
3041
+ return "none";
3042
+ const t = To(r);
3043
+ return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
3044
+ });
3045
+ function Ct(e) {
3046
+ return {
3047
+ inputPlaceholder: e === "dark" ? 0.5 : 0.42,
3048
+ inputUnderline: e === "dark" ? 0.7 : 0.42,
3049
+ switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
3050
+ switchTrack: e === "dark" ? 0.3 : 0.38
3051
+ };
3052
+ }
3053
+ function Tt(e) {
3054
+ return e === "dark" ? xo : [];
3055
+ }
3056
+ function wo(e) {
3057
+ const {
3058
+ palette: r = {
3059
+ mode: "light"
3060
+ },
3061
+ // need to cast to avoid module augmentation test
3062
+ opacity: t,
3063
+ overlays: n,
3064
+ ...o
3065
+ } = e, i = Nr(r);
3066
+ return {
3067
+ palette: i,
3068
+ opacity: {
3069
+ ...Ct(i.mode),
3070
+ ...t
3071
+ },
3072
+ overlays: n || Tt(i.mode),
3073
+ ...o
3074
+ };
3075
+ }
3076
+ function Oo(e) {
3077
+ var r;
3078
+ return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
3079
+ e[0] === "palette" && !!((r = e[1]) != null && r.match(/(mode|contrastThreshold|tonalOffset)/));
3080
+ }
3081
+ const $o = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], _o = (e) => (r, t) => {
3082
+ const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
3083
+ let i = o;
3084
+ if (o === "class" && (i = ".%s"), o === "data" && (i = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (i = `[${o}="%s"]`), e.defaultColorScheme === r) {
3085
+ if (r === "dark") {
3086
+ const l = {};
3087
+ return $o(e.cssVarPrefix).forEach((u) => {
3088
+ l[u] = t[u], delete t[u];
3089
+ }), i === "media" ? {
3090
+ [n]: t,
3091
+ "@media (prefers-color-scheme: dark)": {
3092
+ [n]: l
3093
+ }
3094
+ } : i ? {
3095
+ [i.replace("%s", r)]: l,
3096
+ [`${n}, ${i.replace("%s", r)}`]: t
3097
+ } : {
3098
+ [n]: {
3099
+ ...t,
3100
+ ...l
3101
+ }
3102
+ };
3103
+ }
3104
+ if (i && i !== "media")
3105
+ return `${n}, ${i.replace("%s", String(r))}`;
3106
+ } else if (r) {
3107
+ if (i === "media")
3108
+ return {
3109
+ [`@media (prefers-color-scheme: ${String(r)})`]: {
3110
+ [n]: t
3111
+ }
3112
+ };
3113
+ if (i)
3114
+ return i.replace("%s", String(r));
3115
+ }
3116
+ return n;
3117
+ };
3118
+ function Ao(e, r) {
3119
+ r.forEach((t) => {
3120
+ e[t] || (e[t] = {});
3121
+ });
3122
+ }
3123
+ function f(e, r, t) {
3124
+ !e[r] && t && (e[r] = t);
3125
+ }
3126
+ function qe(e) {
3127
+ return typeof e != "string" || !e.startsWith("hsl") ? e : bt(e);
3128
+ }
3129
+ function Te(e, r) {
3130
+ `${r}Channel` in e || (e[`${r}Channel`] = He(qe(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().
3131
+ 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.`));
3132
+ }
3133
+ function Ro(e) {
3134
+ return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
3135
+ }
3136
+ const Se = (e) => {
3137
+ try {
3138
+ return e();
3139
+ } catch {
3140
+ }
3141
+ }, ko = (e = "mui") => Xn(e);
3142
+ function wr(e, r, t, n) {
3143
+ if (!r)
3144
+ return;
3145
+ r = r === !0 ? {} : r;
3146
+ const o = n === "dark" ? "dark" : "light";
3147
+ if (!t) {
3148
+ e[n] = wo({
3149
+ ...r,
3150
+ palette: {
3151
+ mode: o,
3152
+ ...r == null ? void 0 : r.palette
3153
+ }
3154
+ });
3155
+ return;
3156
+ }
3157
+ const {
3158
+ palette: i,
3159
+ ...l
3160
+ } = Rr({
3161
+ ...t,
3162
+ palette: {
3163
+ mode: o,
3164
+ ...r == null ? void 0 : r.palette
3165
+ }
3166
+ });
3167
+ return e[n] = {
3168
+ ...r,
3169
+ palette: i,
3170
+ opacity: {
3171
+ ...Ct(o),
3172
+ ...r == null ? void 0 : r.opacity
3173
+ },
3174
+ overlays: (r == null ? void 0 : r.overlays) || Tt(o)
3175
+ }, l;
3176
+ }
3177
+ function Po(e = {}, ...r) {
3178
+ const {
3179
+ colorSchemes: t = {
3180
+ light: !0
3181
+ },
3182
+ defaultColorScheme: n,
3183
+ disableCssColorScheme: o = !1,
3184
+ cssVarPrefix: i = "mui",
3185
+ shouldSkipGeneratingVar: l = Oo,
3186
+ colorSchemeSelector: u = t.light && t.dark ? "media" : void 0,
3187
+ rootSelector: d = ":root",
3188
+ ...p
3189
+ } = e, b = Object.keys(t)[0], g = n || (t.light && b !== "light" ? "light" : b), m = ko(i), {
3190
+ [g]: C,
3191
+ light: v,
3192
+ dark: c,
3193
+ ...$
3194
+ } = t, k = {
3195
+ ...$
3196
+ };
3197
+ let te = C;
3198
+ if ((g === "dark" && !("dark" in t) || g === "light" && !("light" in t)) && (te = !0), !te)
3199
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${g}\` option is either missing or invalid.` : _e(21, g));
3200
+ const _ = wr(k, te, p, g);
3201
+ v && !k.light && wr(k, v, void 0, "light"), c && !k.dark && wr(k, c, void 0, "dark");
3202
+ let O = {
3203
+ defaultColorScheme: g,
3204
+ ..._,
3205
+ cssVarPrefix: i,
3206
+ colorSchemeSelector: u,
3207
+ rootSelector: d,
3208
+ getCssVar: m,
3209
+ colorSchemes: k,
3210
+ font: {
3211
+ ...co(_.typography),
3212
+ ..._.font
3213
+ },
3214
+ spacing: Ro(p.spacing)
3215
+ };
3216
+ Object.keys(O.colorSchemes).forEach((ne) => {
3217
+ const a = O.colorSchemes[ne].palette, T = (B) => {
3218
+ const K = B.split("-"), se = K[1], ge = K[2];
3219
+ return m(B, a[se][ge]);
3220
+ };
3221
+ if (a.mode === "light" && (f(a.common, "background", "#fff"), f(a.common, "onBackground", "#000")), a.mode === "dark" && (f(a.common, "background", "#000"), f(a.common, "onBackground", "#fff")), Ao(a, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), a.mode === "light") {
3222
+ f(a.Alert, "errorColor", H(a.error.light, 0.6)), f(a.Alert, "infoColor", H(a.info.light, 0.6)), f(a.Alert, "successColor", H(a.success.light, 0.6)), f(a.Alert, "warningColor", H(a.warning.light, 0.6)), f(a.Alert, "errorFilledBg", T("palette-error-main")), f(a.Alert, "infoFilledBg", T("palette-info-main")), f(a.Alert, "successFilledBg", T("palette-success-main")), f(a.Alert, "warningFilledBg", T("palette-warning-main")), f(a.Alert, "errorFilledColor", Se(() => a.getContrastText(a.error.main))), f(a.Alert, "infoFilledColor", Se(() => a.getContrastText(a.info.main))), f(a.Alert, "successFilledColor", Se(() => a.getContrastText(a.success.main))), f(a.Alert, "warningFilledColor", Se(() => a.getContrastText(a.warning.main))), f(a.Alert, "errorStandardBg", q(a.error.light, 0.9)), f(a.Alert, "infoStandardBg", q(a.info.light, 0.9)), f(a.Alert, "successStandardBg", q(a.success.light, 0.9)), f(a.Alert, "warningStandardBg", q(a.warning.light, 0.9)), f(a.Alert, "errorIconColor", T("palette-error-main")), f(a.Alert, "infoIconColor", T("palette-info-main")), f(a.Alert, "successIconColor", T("palette-success-main")), f(a.Alert, "warningIconColor", T("palette-warning-main")), f(a.AppBar, "defaultBg", T("palette-grey-100")), f(a.Avatar, "defaultBg", T("palette-grey-400")), f(a.Button, "inheritContainedBg", T("palette-grey-300")), f(a.Button, "inheritContainedHoverBg", T("palette-grey-A100")), f(a.Chip, "defaultBorder", T("palette-grey-400")), f(a.Chip, "defaultAvatarColor", T("palette-grey-700")), f(a.Chip, "defaultIconColor", T("palette-grey-700")), f(a.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), f(a.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), f(a.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), f(a.LinearProgress, "primaryBg", q(a.primary.main, 0.62)), f(a.LinearProgress, "secondaryBg", q(a.secondary.main, 0.62)), f(a.LinearProgress, "errorBg", q(a.error.main, 0.62)), f(a.LinearProgress, "infoBg", q(a.info.main, 0.62)), f(a.LinearProgress, "successBg", q(a.success.main, 0.62)), f(a.LinearProgress, "warningBg", q(a.warning.main, 0.62)), f(a.Skeleton, "bg", `rgba(${T("palette-text-primaryChannel")} / 0.11)`), f(a.Slider, "primaryTrack", q(a.primary.main, 0.62)), f(a.Slider, "secondaryTrack", q(a.secondary.main, 0.62)), f(a.Slider, "errorTrack", q(a.error.main, 0.62)), f(a.Slider, "infoTrack", q(a.info.main, 0.62)), f(a.Slider, "successTrack", q(a.success.main, 0.62)), f(a.Slider, "warningTrack", q(a.warning.main, 0.62));
3223
+ const B = or(a.background.default, 0.8);
3224
+ f(a.SnackbarContent, "bg", B), f(a.SnackbarContent, "color", Se(() => a.getContrastText(B))), f(a.SpeedDialAction, "fabHoverBg", or(a.background.paper, 0.15)), f(a.StepConnector, "border", T("palette-grey-400")), f(a.StepContent, "border", T("palette-grey-400")), f(a.Switch, "defaultColor", T("palette-common-white")), f(a.Switch, "defaultDisabledColor", T("palette-grey-100")), f(a.Switch, "primaryDisabledColor", q(a.primary.main, 0.62)), f(a.Switch, "secondaryDisabledColor", q(a.secondary.main, 0.62)), f(a.Switch, "errorDisabledColor", q(a.error.main, 0.62)), f(a.Switch, "infoDisabledColor", q(a.info.main, 0.62)), f(a.Switch, "successDisabledColor", q(a.success.main, 0.62)), f(a.Switch, "warningDisabledColor", q(a.warning.main, 0.62)), f(a.TableCell, "border", q(nr(a.divider, 1), 0.88)), f(a.Tooltip, "bg", nr(a.grey[700], 0.92));
3225
+ }
3226
+ if (a.mode === "dark") {
3227
+ f(a.Alert, "errorColor", q(a.error.light, 0.6)), f(a.Alert, "infoColor", q(a.info.light, 0.6)), f(a.Alert, "successColor", q(a.success.light, 0.6)), f(a.Alert, "warningColor", q(a.warning.light, 0.6)), f(a.Alert, "errorFilledBg", T("palette-error-dark")), f(a.Alert, "infoFilledBg", T("palette-info-dark")), f(a.Alert, "successFilledBg", T("palette-success-dark")), f(a.Alert, "warningFilledBg", T("palette-warning-dark")), f(a.Alert, "errorFilledColor", Se(() => a.getContrastText(a.error.dark))), f(a.Alert, "infoFilledColor", Se(() => a.getContrastText(a.info.dark))), f(a.Alert, "successFilledColor", Se(() => a.getContrastText(a.success.dark))), f(a.Alert, "warningFilledColor", Se(() => a.getContrastText(a.warning.dark))), f(a.Alert, "errorStandardBg", H(a.error.light, 0.9)), f(a.Alert, "infoStandardBg", H(a.info.light, 0.9)), f(a.Alert, "successStandardBg", H(a.success.light, 0.9)), f(a.Alert, "warningStandardBg", H(a.warning.light, 0.9)), f(a.Alert, "errorIconColor", T("palette-error-main")), f(a.Alert, "infoIconColor", T("palette-info-main")), f(a.Alert, "successIconColor", T("palette-success-main")), f(a.Alert, "warningIconColor", T("palette-warning-main")), f(a.AppBar, "defaultBg", T("palette-grey-900")), f(a.AppBar, "darkBg", T("palette-background-paper")), f(a.AppBar, "darkColor", T("palette-text-primary")), f(a.Avatar, "defaultBg", T("palette-grey-600")), f(a.Button, "inheritContainedBg", T("palette-grey-800")), f(a.Button, "inheritContainedHoverBg", T("palette-grey-700")), f(a.Chip, "defaultBorder", T("palette-grey-700")), f(a.Chip, "defaultAvatarColor", T("palette-grey-300")), f(a.Chip, "defaultIconColor", T("palette-grey-300")), f(a.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), f(a.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), f(a.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), f(a.LinearProgress, "primaryBg", H(a.primary.main, 0.5)), f(a.LinearProgress, "secondaryBg", H(a.secondary.main, 0.5)), f(a.LinearProgress, "errorBg", H(a.error.main, 0.5)), f(a.LinearProgress, "infoBg", H(a.info.main, 0.5)), f(a.LinearProgress, "successBg", H(a.success.main, 0.5)), f(a.LinearProgress, "warningBg", H(a.warning.main, 0.5)), f(a.Skeleton, "bg", `rgba(${T("palette-text-primaryChannel")} / 0.13)`), f(a.Slider, "primaryTrack", H(a.primary.main, 0.5)), f(a.Slider, "secondaryTrack", H(a.secondary.main, 0.5)), f(a.Slider, "errorTrack", H(a.error.main, 0.5)), f(a.Slider, "infoTrack", H(a.info.main, 0.5)), f(a.Slider, "successTrack", H(a.success.main, 0.5)), f(a.Slider, "warningTrack", H(a.warning.main, 0.5));
3228
+ const B = or(a.background.default, 0.98);
3229
+ f(a.SnackbarContent, "bg", B), f(a.SnackbarContent, "color", Se(() => a.getContrastText(B))), f(a.SpeedDialAction, "fabHoverBg", or(a.background.paper, 0.15)), f(a.StepConnector, "border", T("palette-grey-600")), f(a.StepContent, "border", T("palette-grey-600")), f(a.Switch, "defaultColor", T("palette-grey-300")), f(a.Switch, "defaultDisabledColor", T("palette-grey-600")), f(a.Switch, "primaryDisabledColor", H(a.primary.main, 0.55)), f(a.Switch, "secondaryDisabledColor", H(a.secondary.main, 0.55)), f(a.Switch, "errorDisabledColor", H(a.error.main, 0.55)), f(a.Switch, "infoDisabledColor", H(a.info.main, 0.55)), f(a.Switch, "successDisabledColor", H(a.success.main, 0.55)), f(a.Switch, "warningDisabledColor", H(a.warning.main, 0.55)), f(a.TableCell, "border", H(nr(a.divider, 1), 0.68)), f(a.Tooltip, "bg", nr(a.grey[700], 0.92));
3230
+ }
3231
+ Te(a.background, "default"), Te(a.background, "paper"), Te(a.common, "background"), Te(a.common, "onBackground"), Te(a, "divider"), Object.keys(a).forEach((B) => {
3232
+ const K = a[B];
3233
+ B !== "tonalOffset" && K && typeof K == "object" && (K.main && f(a[B], "mainChannel", He(qe(K.main))), K.light && f(a[B], "lightChannel", He(qe(K.light))), K.dark && f(a[B], "darkChannel", He(qe(K.dark))), K.contrastText && f(a[B], "contrastTextChannel", He(qe(K.contrastText))), B === "text" && (Te(a[B], "primary"), Te(a[B], "secondary")), B === "action" && (K.active && Te(a[B], "active"), K.selected && Te(a[B], "selected")));
3234
+ });
3235
+ }), O = r.reduce((ne, a) => de(ne, a), O);
3236
+ const y = {
3237
+ prefix: i,
3238
+ disableCssColorScheme: o,
3239
+ shouldSkipGeneratingVar: l,
3240
+ getSelector: _o(O)
3241
+ }, {
3242
+ vars: ee,
3243
+ generateThemeVars: ie,
3244
+ generateStyleSheets: pe
3245
+ } = Qn(O, y);
3246
+ return O.vars = ee, Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([ne, a]) => {
3247
+ O[ne] = a;
3248
+ }), O.generateThemeVars = ie, O.generateStyleSheets = pe, O.generateSpacing = function() {
3249
+ return yt(p.spacing, Pr(this));
3250
+ }, O.getColorSchemeSelector = eo(u), O.spacing = O.generateSpacing(), O.shouldSkipGeneratingVar = l, O.unstable_sxConfig = {
3251
+ ...mr,
3252
+ ...p == null ? void 0 : p.unstable_sxConfig
3253
+ }, O.unstable_sx = function(a) {
3254
+ return hr({
3255
+ sx: a,
3256
+ theme: this
3257
+ });
3258
+ }, O.toRuntimeSource = Et, O;
3259
+ }
3260
+ function lt(e, r, t) {
3261
+ e.colorSchemes && t && (e.colorSchemes[r] = {
3262
+ ...t !== !0 && t,
3263
+ palette: Nr({
3264
+ ...t === !0 ? {} : t.palette,
3265
+ mode: r
3266
+ })
3267
+ // cast type to skip module augmentation test
3268
+ });
3269
+ }
3270
+ function Mo(e = {}, ...r) {
3271
+ const {
3272
+ palette: t,
3273
+ cssVariables: n = !1,
3274
+ colorSchemes: o = t ? void 0 : {
3275
+ light: !0
3276
+ },
3277
+ defaultColorScheme: i = t == null ? void 0 : t.mode,
3278
+ ...l
3279
+ } = e, u = i || "light", d = o == null ? void 0 : o[u], p = {
3280
+ ...o,
3281
+ ...t ? {
3282
+ [u]: {
3283
+ ...typeof d != "boolean" && d,
3284
+ palette: t
3285
+ }
3286
+ } : void 0
3287
+ };
3288
+ if (n === !1) {
3289
+ if (!("colorSchemes" in e))
3290
+ return Rr(e, ...r);
3291
+ let b = t;
3292
+ "palette" in e || p[u] && (p[u] !== !0 ? b = p[u].palette : u === "dark" && (b = {
3293
+ mode: "dark"
3294
+ }));
3295
+ const g = Rr({
3296
+ ...e,
3297
+ palette: b
3298
+ }, ...r);
3299
+ return g.defaultColorScheme = u, g.colorSchemes = p, g.palette.mode === "light" && (g.colorSchemes.light = {
3300
+ ...p.light !== !0 && p.light,
3301
+ palette: g.palette
3302
+ }, lt(g, "dark", p.dark)), g.palette.mode === "dark" && (g.colorSchemes.dark = {
3303
+ ...p.dark !== !0 && p.dark,
3304
+ palette: g.palette
3305
+ }, lt(g, "light", p.light)), g;
3306
+ }
3307
+ return !t && !("light" in p) && u === "light" && (p.light = !0), Po({
3308
+ ...l,
3309
+ colorSchemes: p,
3310
+ defaultColorScheme: u,
3311
+ ...typeof n != "boolean" && n
3312
+ }, ...r);
3313
+ }
3314
+ const Io = {
3315
+ MuiButtonBase: {
3316
+ defaultProps: {
3317
+ disableRipple: !0
3318
+ }
3319
+ },
3320
+ MuiButton: {
3321
+ defaultProps: {
3322
+ disableElevation: !0
3323
+ },
3324
+ styleOverrides: {
3325
+ root: () => ({
3326
+ fontWeight: 600,
3327
+ textTransform: "none",
3328
+ height: "40px",
3329
+ boxShadow: "none",
3330
+ fontSize: "16px",
3331
+ borderRadius: "12px",
3332
+ "&.MuiButton-sizeSmall": {
3333
+ fontSize: "14px"
3334
+ },
3335
+ "&.MuiButton-sizeExtraSmall": {
3336
+ fontSize: "12px"
3337
+ },
3338
+ "&.MuiButton-sizeLarge": {
3339
+ fontSize: "20px"
3340
+ }
3341
+ }),
3342
+ contained: (e) => {
3343
+ if (!e.ownerState.color) return;
3344
+ const r = e.theme.palette[e.ownerState.color];
3345
+ if (r)
3346
+ return {
3347
+ background: r.main,
3348
+ color: r.contrastText,
3349
+ py: 2,
3350
+ boxShadow: "none",
3351
+ fontWeight: 600,
3352
+ "&:hover": {
3353
+ background: r.hover,
3354
+ color: r.contrastText
3355
+ },
3356
+ "&:focus": {
3357
+ background: r.main,
3358
+ boxShadow: `0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px ${r.lighter}`,
3359
+ color: r.contrastText
3360
+ },
3361
+ "&:active": {
3362
+ background: r.main,
3363
+ boxShadow: `0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px ${r.lighter}`,
3364
+ color: r.contrastText
3365
+ },
3366
+ "&:disabled": {
3367
+ background: r.light,
3368
+ boxShadow: "none",
3369
+ color: r.contrastText
3370
+ }
3371
+ };
3372
+ },
3373
+ outlined: (e) => {
3374
+ if (!e.ownerState.color) return;
3375
+ const r = e.theme.palette[e.ownerState.color];
3376
+ if (r)
3377
+ return {
3378
+ background: "transparent",
3379
+ color: r.main,
3380
+ border: `2px solid ${r.main}`,
3381
+ borderRadius: e.theme.spacing(3),
3382
+ "&:hover": {
3383
+ background: "transparent"
3384
+ },
3385
+ "&:focus": {
3386
+ background: "transparent",
3387
+ boxShadow: `0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px ${r.lighter}`
3388
+ },
3389
+ "&:active": {
3390
+ border: "1px solid transparent",
3391
+ boxShadow: `0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px ${r.lighter}`
3392
+ },
3393
+ "&:disabled": {
3394
+ color: r.light,
3395
+ border: `1px solid ${r.light}`
3396
+ }
3397
+ };
3398
+ },
3399
+ text: (e) => {
3400
+ if (!e.ownerState.color) return;
3401
+ const r = e.theme.palette[e.ownerState.color];
3402
+ if (r)
3403
+ return {
3404
+ background: "transparent",
3405
+ color: r.main,
3406
+ border: "none",
3407
+ "&:hover": {
3408
+ background: "transparent",
3409
+ color: r.hover
3410
+ },
3411
+ "&:focus": {
3412
+ background: "transparent",
3413
+ color: r.dark
3414
+ },
3415
+ "&:active": {
3416
+ background: "transparent",
3417
+ color: r.main
3418
+ },
3419
+ "&:disabled": {
3420
+ background: "transparent",
3421
+ color: r.light
3422
+ }
3423
+ };
3424
+ }
3425
+ }
3426
+ }
3427
+ }, No = {
3428
+ MuiChip: {
3429
+ styleOverrides: {
3430
+ root: () => ({
3431
+ fontWeight: "500"
3432
+ }),
3433
+ filled: (e) => {
3434
+ if (!e.ownerState.color) return;
3435
+ const r = e.theme.palette[e.ownerState.color];
3436
+ if (r)
3437
+ return {
3438
+ background: r.main,
3439
+ color: r.contrastText,
3440
+ "&:hover": {
3441
+ "&.MuiChip-deletable": {
3442
+ background: r.light
3443
+ },
3444
+ "&.MuiChip-clickable": {
3445
+ background: r.dark
3446
+ }
3447
+ },
3448
+ "&.MuiChip-clickable:active": {
3449
+ background: r.main,
3450
+ color: r.contrastText
3451
+ },
3452
+ "&:disabled": {
3453
+ background: r.light,
3454
+ color: r.contrastText
3455
+ }
3456
+ };
3457
+ },
3458
+ outlined: (e) => {
3459
+ if (!e.ownerState.color) return;
3460
+ const r = e.theme.palette[e.ownerState.color];
3461
+ if (r)
3462
+ return {
3463
+ background: "transparent",
3464
+ color: r.main,
3465
+ "&:hover": {
3466
+ background: e.ownerState.onDelete ? r.lighter : "transparent",
3467
+ color: e.ownerState.onDelete ? r.main : r.text
3468
+ },
3469
+ "&.MuiChip-clickable:active": {
3470
+ background: r.transparent,
3471
+ color: r.main
3472
+ },
3473
+ "&:disabled": {
3474
+ color: r.light
3475
+ }
3476
+ };
3477
+ }
3478
+ }
3479
+ }
3480
+ }, jo = {
3481
+ MuiCard: {
3482
+ defaultProps: {
3483
+ variant: "outlined"
3484
+ },
3485
+ styleOverrides: {
3486
+ root: (e) => ({
3487
+ borderRadius: e.theme.spacing(3),
3488
+ boxShadow: "none"
3489
+ })
3490
+ }
3491
+ }
3492
+ }, R = {
3493
+ primary: {
3494
+ blue: {
3495
+ 50: "#f3f7f8",
3496
+ 100: "#ecf2f4",
3497
+ 200: "#cfdfe3",
3498
+ 400: "#3d7e8f",
3499
+ 500: "#0d5e73",
3500
+ 600: "#0a4959"
3501
+ },
3502
+ coral: {
3503
+ 50: Je("#FFE6DC", 0.1),
3504
+ 100: "#FFE6DC",
3505
+ 200: Je("#fea381", 0.1),
3506
+ 400: "#fea381",
3507
+ 500: "#fd7c4b",
3508
+ 600: "#fa581a"
3509
+ }
3510
+ },
3511
+ secondary: {
3512
+ cream: {
3513
+ 500: "#f5ebe8"
3514
+ },
3515
+ peach: {
3516
+ 500: "#d7af9f"
3517
+ },
3518
+ green: {
3519
+ 500: "#587650"
3520
+ }
3521
+ },
3522
+ semantic: {
3523
+ yellow: {
3524
+ 50: "rgba(255,192,46,0.05)",
3525
+ 100: "rgba(255,192,46,0.1)",
3526
+ 200: "rgba(143,108,26,0.2)",
3527
+ 400: "rgba(143,108,26,0.8)",
3528
+ 500: "rgba(143,108,26,1)",
3529
+ 600: "rgba(114, 86, 21, 1)"
3530
+ },
3531
+ red: {
3532
+ 50: "rgba(255,74,74,0.05)",
3533
+ 100: "rgba(255,74,74,0.1)",
3534
+ 200: "rgba(199,58,58,0.14)",
3535
+ 400: "rgba(199,58,58,0.8)",
3536
+ 500: "rgba(199,58,58,1)",
3537
+ 600: "rgba(159, 46, 46, 1)"
3538
+ },
3539
+ green: {
3540
+ 50: "rgba(24,128,56,0.05)",
3541
+ 100: "rgba(24,128,56,0.1)",
3542
+ 200: "rgba(24,128,56,0.14)",
3543
+ 400: "rgba(24,128,56,0.8)",
3544
+ 500: "rgba(24,128,56,1)",
3545
+ 600: "rgba(19, 102, 45, 1)"
3546
+ },
3547
+ blue: {
3548
+ 50: "rgba(244, 251, 255, 1)",
3549
+ 100: "rgba(26,116,168,0.1)",
3550
+ 200: "rgba(26,116,168,0.2)",
3551
+ 400: "rgba(70, 143, 186, 1)",
3552
+ 500: "rgba(26,116,168,1)",
3553
+ 600: "rgba(21, 93, 134, 1)"
3554
+ },
3555
+ neutral: {
3556
+ 50: "#f5f5f5",
3557
+ 100: "#e5e5e5",
3558
+ 200: "#d6d6d6",
3559
+ 400: "#737373",
3560
+ 500: Ze("#737373", 0.5),
3561
+ 600: Ze("#737373", 0.8)
3562
+ }
3563
+ },
3564
+ neutral: {
3565
+ white: "#ffffff",
3566
+ black: "#1a1a1a",
3567
+ grey: {
3568
+ 0: "rgba(2,0,0,0.02)",
3569
+ 25: "#fafafa",
3570
+ 50: "#f5f5f5",
3571
+ 100: "#e5e5e5",
3572
+ 200: "#d6d6d6",
3573
+ 300: "#a3a3a3",
3574
+ 400: "#737373",
3575
+ 700: "#424242",
3576
+ 900: "#141414",
3577
+ 950: "#0f0f0f"
3578
+ }
3579
+ }
3580
+ }, Bo = {
3581
+ MuiAlert: {
3582
+ styleOverrides: {
3583
+ root: (e) => {
3584
+ if (!e.ownerState.severity)
3585
+ return;
3586
+ const r = e.theme.palette[e.ownerState.severity];
3587
+ if (r)
3588
+ return {
3589
+ borderRadius: e.theme.spacing(6),
3590
+ borderColor: r.main,
3591
+ "&.MuiAlert-filled": {
3592
+ color: r.contrastText,
3593
+ background: r.main
3594
+ },
3595
+ "&.MuiAlert-dark": {
3596
+ color: r.contrastText,
3597
+ background: r.dark
3598
+ },
3599
+ ".MuiAlertTitle-root": {
3600
+ fontWeight: "bold"
3601
+ }
3602
+ };
3603
+ },
3604
+ standard: (e) => {
3605
+ if (!e.ownerState.severity)
3606
+ return {
3607
+ color: R.neutral.grey[700],
3608
+ background: R.neutral.grey[50]
3609
+ };
3610
+ const r = e.theme.palette[e.ownerState.severity];
3611
+ if (r)
3612
+ return {
3613
+ color: R.neutral.grey[700],
3614
+ background: r.transparent,
3615
+ ".MuiAlert-icon": {
3616
+ color: r.main
3617
+ }
3618
+ };
3619
+ },
3620
+ outlined: (e) => {
3621
+ if (!e.ownerState.severity)
3622
+ return;
3623
+ const r = e.theme.palette[e.ownerState.severity];
3624
+ if (r)
3625
+ return {
3626
+ color: r.dark,
3627
+ border: "1px solid",
3628
+ borderColor: r.main
3629
+ };
3630
+ }
3631
+ }
3632
+ }
3633
+ }, Do = {
3634
+ MuiTooltip: {
3635
+ styleOverrides: {
3636
+ tooltip: (e) => ({
3637
+ backgroundColor: R.neutral.grey[900],
3638
+ borderRadius: e.theme.spacing(3),
3639
+ p: 1,
3640
+ textAlign: "center",
3641
+ color: R.neutral.white
3642
+ }),
3643
+ arrow: {
3644
+ color: R.neutral.grey[900]
3645
+ }
3646
+ }
3647
+ }
3648
+ }, Fo = {
3649
+ MuiFormLabel: {
3650
+ styleOverrides: {
3651
+ root: {
3652
+ background: R.neutral.white,
3653
+ px: 1,
3654
+ mx: -1,
3655
+ "&:focus": {
3656
+ color: R.primary.blue[600]
3657
+ }
3658
+ }
3659
+ }
3660
+ }
3661
+ }, Lo = {
3662
+ MuiList: {
3663
+ styleOverrides: {
3664
+ root: (e) => ({
3665
+ "&.RadioList": {
3666
+ ".MuiListItem-root": {
3667
+ padding: 0,
3668
+ borderRadius: e.theme.spacing(3),
3669
+ marginBottom: 3,
3670
+ border: `1px solid ${R.neutral.grey[300]}`,
3671
+ ":hover": {
3672
+ borderColor: R.neutral.grey[400]
3673
+ },
3674
+ ".MuiListItemButton-root": {
3675
+ borderRadius: e.theme.spacing(3)
3676
+ }
3677
+ }
3678
+ },
3679
+ "&.CheckboxList": {
3680
+ ".MuiListItem-root": {
3681
+ padding: 0,
3682
+ ".MuiListItemButton-root": {
3683
+ borderRadius: e.theme.spacing(3)
3684
+ }
3685
+ }
3686
+ },
3687
+ ".MuiListSubheader-root": {
3688
+ backgroundColor: "transparent"
3689
+ }
3690
+ })
3691
+ }
3692
+ }
3693
+ }, Wo = {
3694
+ MuiInputBase: {
3695
+ styleOverrides: {
3696
+ root: (e) => ({
3697
+ borderRadius: e.theme.spacing(3),
3698
+ background: R.neutral.white,
3699
+ "&:hover": {
3700
+ borderColor: R.neutral.grey[300]
3701
+ },
3702
+ "&.Mui-focused": {
3703
+ borderRadius: e.theme.spacing(3),
3704
+ "&.MuiInputBase-colorPrimary": {
3705
+ borderColor: R.primary.blue[400],
3706
+ outline: `3px solid ${R.primary.blue[100]}`,
3707
+ ".MuiOutlinedInput-notchedOutline": {
3708
+ borderColor: R.primary.blue[400]
3709
+ },
3710
+ "&.Mui-error": {
3711
+ borderColor: R.semantic.red[400],
3712
+ outline: `3px solid ${R.semantic.red[100]}`,
3713
+ ".MuiOutlinedInput-notchedOutline": {
3714
+ borderColor: R.semantic.red[400]
3715
+ }
3716
+ }
3717
+ },
3718
+ "&.MuiInputBase-colorSuccess": {
3719
+ borderColor: R.semantic.green[400],
3720
+ outline: `3px solid ${R.semantic.green[50]}`,
3721
+ ".MuiOutlinedInput-notchedOutline": {
3722
+ borderColor: R.semantic.green[400]
3723
+ }
3724
+ }
3725
+ },
3726
+ ".MuiOutlinedInput-notchedOutline legend span": {
3727
+ all: "unset"
3728
+ }
3729
+ }),
3730
+ input: (e) => ({
3731
+ borderRadius: e.theme.spacing(3),
3732
+ "&::placeholder": {
3733
+ color: R.neutral.grey[300],
3734
+ opacity: 1
3735
+ },
3736
+ "&:-webkit-autofill": {
3737
+ backgroundColor: R.neutral.white,
3738
+ boxShadow: "0 0 0px 1000px #ffffff inset !important"
3739
+ }
3740
+ })
3741
+ }
3742
+ },
3743
+ MuiOutlinedInput: {
3744
+ styleOverrides: {
3745
+ root: (e) => ({
3746
+ borderRadius: e.theme.spacing(3),
3747
+ borderColor: R.neutral.grey[400]
3748
+ })
3749
+ }
3750
+ },
3751
+ MuiFilledInput: {
3752
+ styleOverrides: {
3753
+ root: (e) => ({
3754
+ borderRadius: `${e.theme.spacing(3)} ${e.theme.spacing(3)} 0 0`,
3755
+ borderColor: R.neutral.grey[400],
3756
+ "&.Mui-focused": {
3757
+ borderRadius: `${e.theme.spacing(3)} ${e.theme.spacing(3)} 0 0`
3758
+ }
3759
+ })
3760
+ }
3761
+ }
3762
+ }, xt = {
3763
+ fontFamily: 'var(--font-spesia), "Montserrat", "Montserrat Fallback", Helvetica, Arial, Sans-serif',
3764
+ fontSize: 16,
3765
+ h1: {
3766
+ fontSize: "40px",
3767
+ fontWeight: 600,
3768
+ lineHeight: "48px"
3769
+ },
3770
+ h2: {
3771
+ fontSize: "32px",
3772
+ fontWeight: 600,
3773
+ lineHeight: "40px"
3774
+ },
3775
+ h3: {
3776
+ fontSize: "24px",
3777
+ lineHeight: "32px"
3778
+ },
3779
+ h4: {
3780
+ fontSize: "20px",
3781
+ lineHeight: "28px"
3782
+ },
3783
+ h5: {
3784
+ fontSize: "16px",
3785
+ lineHeight: "24px"
3786
+ },
3787
+ h6: {
3788
+ fontSize: "14px",
3789
+ lineHeight: "20px"
3790
+ },
3791
+ body1: {
3792
+ fontSize: "16px",
3793
+ lineHeight: "24px"
3794
+ },
3795
+ body2: {
3796
+ fontSize: "14px",
3797
+ lineHeight: "20px"
3798
+ },
3799
+ caption: {
3800
+ fontSize: "14px",
3801
+ lineHeight: "20px"
3802
+ },
3803
+ subtitle1: {
3804
+ fontSize: "14px",
3805
+ lineHeight: "20px",
3806
+ fontWeight: 600,
3807
+ textTransform: "uppercase"
3808
+ },
3809
+ button: {
3810
+ fontSize: "14px",
3811
+ fontWeight: 600,
3812
+ lineHeight: "24px"
3813
+ }
3814
+ }, Yo = {
3815
+ MuiDialogTitle: {
3816
+ styleOverrides: {
3817
+ root: () => {
3818
+ var e;
3819
+ return {
3820
+ fontSize: (e = xt.h4) == null ? void 0 : e.fontSize,
3821
+ fontWeight: 600
3822
+ };
3823
+ }
3824
+ }
3825
+ }
3826
+ }, Vo = {
3827
+ mode: "light",
3828
+ primary: Pe(R.primary.blue),
3829
+ secondary: Pe(R.primary.coral),
3830
+ error: Pe(R.semantic.red),
3831
+ success: Pe(R.semantic.green),
3832
+ warning: Pe(R.semantic.yellow),
3833
+ info: Pe(R.semantic.blue),
3834
+ neutral: Pe(R.semantic.neutral),
3835
+ grey: {
3836
+ 50: R.neutral.grey[50],
3837
+ 100: R.neutral.grey[100],
3838
+ 200: R.neutral.grey[200],
3839
+ 300: R.neutral.grey[300],
3840
+ 400: R.neutral.grey[400],
3841
+ 700: R.neutral.grey[700],
3842
+ 900: R.neutral.grey[900]
3843
+ }
3844
+ };
3845
+ function Pe(e) {
3846
+ return {
3847
+ lighter: e[100],
3848
+ light: e[200],
3849
+ main: e[500],
3850
+ hover: e[600],
3851
+ contrastText: R.neutral.white,
3852
+ text: e[500],
3853
+ dark: e[600] ?? e[500],
3854
+ transparent: e[50] ?? e[100]
3855
+ };
3856
+ }
3857
+ const Uo = Mo({
3858
+ cssVariables: !0,
3859
+ components: {
3860
+ ...Io,
3861
+ ...No,
3862
+ ...jo,
3863
+ ...Bo,
3864
+ ...Fo,
3865
+ ...Do,
3866
+ ...Lo,
3867
+ ...Wo,
3868
+ ...Yo,
3869
+ MuiTypography: {
3870
+ styleOverrides: {
3871
+ root: {
3872
+ fontFamily: 'var(--font-spesia), "Montserrat", "Montserrat Fallback", Helvetica, Arial, Sans-serif'
3873
+ }
3874
+ }
3875
+ }
3876
+ },
3877
+ palette: Vo,
3878
+ spacing: 4,
3879
+ typography: xt
3880
+ }), Go = {
3881
+ spesiaTheme: {
3882
+ name: "spesiaTheme",
3883
+ primary: "#2e8898",
3884
+ transparentPrimary: "rgb(88, 134, 150, 0.3)",
3885
+ secondary: "#f5e9e8",
3886
+ transparentSecondary: "rgb(210, 178, 162, 0.3)",
3887
+ success: "#00f67e",
3888
+ transparentSuccess: "#edf4ec",
3889
+ inverted: "#F3EBEA",
3890
+ contrastText: "#fff",
3891
+ background: {
3892
+ default: "#ffffff",
3893
+ home: "#cdd2d8"
3894
+ },
3895
+ progress: {
3896
+ bar: { xs: "#ccc", md: "#ffffff" },
3897
+ steps: ["#498898", "#5c98a7", "#6ea2ae", "#7eaab4", "#98bac2"]
3898
+ },
3899
+ nav: {
3900
+ home: {
3901
+ background: "#cdd2d8",
3902
+ contrastText: "#000"
3903
+ },
3904
+ default: {
3905
+ background: "#588696",
3906
+ contrastText: "#000"
3907
+ }
3908
+ }
3909
+ }
3910
+ }, Ho = "spesiaTheme", qo = ({ withText: e, color: r = "black", height: t, width: n, ...o }) => {
3911
+ const i = e ? 4.272388059701493 : 1.3432835820895523;
3912
+ let l = t, u = n;
3913
+ const d = r === "blue" ? R.primary.blue[500] : r === "white" ? R.neutral.white : R.neutral.black;
3914
+ return n || t ? (n && t && (console.warn("Logo: Both width and height are specified. Width will be ignored in order to maintain correct aspect ratio."), u = void 0), l && !u ? u = l * i : u && !t && (l = u / i), /* @__PURE__ */ le.jsx(
3915
+ "svg",
3916
+ {
3917
+ xmlns: "http://www.w3.org/2000/svg",
3918
+ "data-name": "Layer 2",
3919
+ viewBox: `0 0 ${e ? "1145" : "360"} 268`,
3920
+ fill: d,
3921
+ height: `${l}px`,
3922
+ width: `${u}px`,
3923
+ ...o,
3924
+ children: /* @__PURE__ */ le.jsx("g", { "data-name": "Layer 1", children: /* @__PURE__ */ le.jsxs("g", { children: [
3925
+ /* @__PURE__ */ le.jsxs("g", { children: [
3926
+ /* @__PURE__ */ le.jsx("path", { d: "M31.39714478,122.66193447C31.39714478,60.23646992,78.03020523,8.70349147,138.3606424.99608211,133.22022503.33939701,127.9809798.00000134,122.66207001.00000134,54.91762723.00000134,0,54.91762857,0,122.66193447c0,67.74423746,54.91762723,122.66186469,122.66207001,122.66186469,5.31890979,0,10.55815502-.33939567,15.69857239-.99608077-60.33043717-7.70740936-106.96349762-59.24038781-106.96349762-121.66578392Z" }),
3927
+ /* @__PURE__ */ le.jsx("path", { d: "M82.97816835,122.66193447c0-62.42546455,46.63306045-113.958443,106.96349762-121.66585236C184.8012486.33939701,179.56200337.00000134,174.24309358.00000134,106.4986508.00000134,51.58102357,54.91762857,51.58102357,122.66193447c0,67.74423746,54.91762723,122.66186469,122.66207001,122.66186469,5.31890979,0,10.55815502-.33939567,15.69857239-.99608077-60.33043717-7.70740936-106.96349762-59.24038781-106.96349762-121.66578392Z" }),
3928
+ /* @__PURE__ */ le.jsx(
3929
+ "circle",
3930
+ {
3931
+ cx: "225.82401894",
3932
+ cy: "122.66190085",
3933
+ r: "122.66190085"
3934
+ }
3935
+ )
3936
+ ] }),
3937
+ e && /* @__PURE__ */ le.jsxs("g", { children: [
3938
+ /* @__PURE__ */ le.jsx(
3939
+ "path",
3940
+ {
3941
+ shapeRendering: "auto",
3942
+ d: "M442.7963609,202.09475808c-8.74807894-3.82401055-15.61782784-9.25245919-20.61373673-16.27935921-5.00039893-7.02690002-7.49536002-15.22569838-7.49536002-24.59639508h28.57755675c.62261777,7.0283967,3.39596084,12.80706783,8.31553919,17.33451672,4.91957835,4.53193893,11.82973754,6.79341836,20.73047756,6.79341836,9.21204891,0,16.39759672-2.22555918,21.55065673-6.67667753,5.15306001-4.44962167,7.73033836-10.1893792,7.73033836-17.21627921,0-5.4643689-1.60294141-9.91548725-4.80283752-13.35185837-3.20139279-3.43337777-7.18405114-6.08998002-11.94647837-7.9653167-4.76542059-1.87384-11.35978086-3.9003411-19.79355756-6.08998002-10.62191894-2.81076001-19.24876701-5.65893695-25.88353757-8.54902085-6.63926059-2.88858723-12.29819754-7.37861919-16.98279755-13.47009588-4.68460001-6.08998002-7.02690002-14.2079578-7.02690002-24.36141674,0-9.36920002,2.34230001-17.56799838,7.02690002-24.5948984,4.68460001-7.0283967,11.24304003-12.41493837,19.67681673-16.16411506,8.43228002-3.74768001,18.19061615-5.62152001,29.27949841-5.62152001,15.7719856,0,28.69579426,3.94524142,38.76843262,11.82973754,10.07263836,7.88748948,15.65374809,18.70247979,16.74781921,32.44347427h-29.51447675c-.46846-5.9328289-3.27922001-11.00955837-8.43228002-15.22719506-5.15306001-4.21614001-11.94647837-6.32346168-20.38025507-6.32346168-7.65251114,0-13.90113895,1.95466058-18.73840005,5.85500168-4.84324781,3.90632781-7.26187836,9.52784782-7.26187836,16.86605672,0,5.00039893,1.52212083,9.09979811,4.56785918,12.29819754,3.04424167,3.20288947,6.91015919,5.73826085,11.5947592,7.61359753,4.68460001,1.87384,11.08588891,3.90483113,19.20835673,6.08998002,10.77458003,2.96791113,19.55857922,5.93582225,26.35199758,8.90074002,6.79341836,2.96791113,12.56909613,7.53577031,17.33451672,13.70357754,4.76093056,6.17080059,7.14364085,14.40551921,7.14364085,24.71313591,0,8.27812226-2.2240625,16.08628784-6.67518085,23.42449674-4.45111835,7.34120226-10.93322782,13.23511754-19.44183839,17.68473921-8.51459727,4.45111835-18.54682535,6.67667753-30.10117426,6.67667753-10.93322782,0-20.77088785-1.91125694-29.51447675-5.73975752Z"
3943
+ }
3944
+ ),
3945
+ /* @__PURE__ */ le.jsx(
3946
+ "path",
3947
+ {
3948
+ shapeRendering: "auto",
3949
+ d: "M595.99026468,81.10785355c7.8066689-4.05898889,16.63107838-6.08998002,26.46873841-6.08998002,11.24453671,0,21.51024645,2.77334307,30.80311593,8.31553919,9.28987613,5.54518947,16.59216477,13.31444144,21.9023759,23.30775591,5.30721778,9.99481114,7.96382002,21.47282951,7.96382002,34.43255843,0,12.96421895-2.65660224,24.56047482-7.96382002,34.78577427-5.31021113,10.22978948-12.61249978,18.19510618-21.9023759,23.89295674-9.29286948,5.70234059-19.55857922,8.55051753-30.80311593,8.55051753-9.83766003,0-18.58573896-1.99058084-26.23525674-5.97323918-7.65251114-3.98265835-13.90113895-8.93815696-18.73989673-14.87547588v80.11264692h-26.70371675V77.1251952h26.70371675v18.97487506c4.52744889-5.93432557,10.69525613-10.93023447,18.50641506-14.99221672ZM650.45135901,118.00094949c-3.67134947-6.47761944-8.5131006-11.39719779-14.52226004-14.75723838-6.01364947-3.35555055-12.45534866-5.03631918-19.32509756-5.03631918-6.71708781,0-13.08245646,1.72117892-19.0916159,5.15306001-6.01364947,3.4378678-10.8554006,8.4337767-14.52375671,14.99221672-3.66985279,6.55844002-5.50477918,14.28877838-5.50477918,23.19101508,0,8.90074002,1.83492639,16.67148867,5.50477918,23.30625923,3.66835611,6.63926059,8.51010724,11.67557977,14.52375671,15.10895755,6.00915944,3.43637113,12.37452808,5.15306001,19.0916159,5.15306001,6.8697489,0,13.31144809-1.7556025,19.32509756-5.26980084,6.00915944-3.51419835,10.85091057-8.62684807,14.52226004-15.34393589,3.66835611-6.71259778,5.50477918-14.52226004,5.50477918-23.42449674,0-8.90074002-1.83642307-16.59066809-5.50477918-23.07277757Z"
3950
+ }
3951
+ ),
3952
+ /* @__PURE__ */ le.jsx(
3953
+ "path",
3954
+ {
3955
+ shapeRendering: "auto",
3956
+ d: "M822.26841868,151.61482542h-98.6175653c.77976888,10.3076167,4.60377944,18.58723564,11.47801837,24.82987674,6.8697489,6.24862781,15.3035256,9.3706967,25.29833674,9.3706967,14.3666056,0,24.5155745-6.01065612,30.45139676-18.03645838h28.81253509c-3.90483113,11.86865115-10.97214143,21.58957034-21.19893756,29.16275758-10.22978948,7.57618059-22.92011648,11.36127754-38.06499428,11.36127754-12.33860783,0-23.3870798-2.77034972-33.14541593-8.31553919-9.76132948-5.54219612-17.4153373-13.35185837-22.95603674-23.42449674-5.54518947-10.07263836-8.31553919-21.74522478-8.31553919-35.01925594,0-13.27253447,2.69401918-24.94811425,8.08056085-35.02075261,5.38803835-10.07263836,12.96122559-17.83889698,22.72255507-23.30625923,9.75833613-5.46586557,20.9654559-8.19879836,33.61387593-8.19879836,12.18145671,0,23.03236728,2.65660224,32.5602151,7.96382002,9.52335779,5.31021113,16.94238726,12.76665754,22.2525984,22.3708359,5.30721778,9.60417836,7.9653167,20.65265034,7.9653167,33.14541593,0,4.84175113-.31579891,9.21653894-.93692,13.11688003ZM795.3297236,130.06566537c-.15715112-9.8391567-3.67134947-17.72215615-10.54109837-23.65947508-6.87274225-5.9328289-15.3828495-8.90074002-25.5318184-8.90074002-9.21653894,0-17.10103506,2.92750084-23.65947508,8.78399919-6.55844002,5.85649835-10.46476782,13.78290144-11.71150003,23.77621591h71.44389188Z"
3957
+ }
3958
+ ),
3959
+ /* @__PURE__ */ le.jsx(
3960
+ "path",
3961
+ {
3962
+ shapeRendering: "auto",
3963
+ d: "M864.31307796,202.79819642c-8.0446406-3.66835611-14.40701588-8.66725836-19.0916159-14.99221672s-7.18405114-13.38777863-7.49536002-21.19893756h27.64063675c.46846,5.46885893,3.0816586,10.03671811,7.84707919,13.70357754,4.76242723,3.67134947,10.73566642,5.50477918,17.91971755,5.50477918,7.4968567,0,13.31144809-1.44279694,17.45125755-4.33437752,4.13681611-2.88709055,6.20821752-6.59436027,6.20821752-11.1262992,0-4.83875778-2.30637975-8.43228002-6.91015919-10.77458003-4.60826947-2.34230001-11.91055811-4.91957835-21.9023759-7.73033836-9.68499894-2.65360889-17.56799838-5.23088723-23.65947508-7.73033836-6.08998002-2.49645777-11.35978086-6.32495835-15.81089921-11.47801837s-6.67518085-11.94647837-6.67518085-20.37875839c0-6.8697489,2.02650109-13.15429697,6.08998002-18.85663756,4.05898889-5.69934724,9.87507696-10.1893792,17.45125755-13.47009588,7.57169056-3.27922001,16.27935921-4.91808167,26.11851591-4.91808167,14.6764178,0,26.50615534,3.71026308,35.48771594,11.1262992,8.97856724,7.41902948,13.77990809,17.53207813,14.40551921,30.33465592h-26.70371675c-.46846-5.77567778-2.81076001-10.38394725-7.02690002-13.82031837-4.21614001-3.43337777-9.9184806-5.15306001-17.09953838-5.15306001-7.0283967,0-12.41493837,1.32755278-16.16411506,3.98116167-3.74768001,2.65809892-5.62152001,6.17080059-5.62152001,10.54109837,0,3.4378678,1.24822888,6.32495835,3.74768001,8.66725836,2.49645777,2.34230001,5.54219612,4.18021976,9.13571836,5.50477918,3.59052889,1.32904946,8.9022367,3.00832141,15.92913672,5.03631918,9.36920002,2.49945112,17.05912809,5.03631918,23.07277757,7.61359753,6.01065612,2.57578167,11.20412642,6.36387197,15.57741755,11.35978086,4.37029777,5.00039893,6.63626724,11.63666616,6.79341836,19.91179507,0,7.34120226-2.03099112,13.90113895-6.08998002,19.67681673-4.06347892,5.77867113-9.80173977,10.30612003-17.21777589,13.58534003-7.41902948,3.27922001-16.12669812,4.91957835-26.11851591,4.91957835-10.15196226,0-19.24727034-1.83791975-27.28891758-5.50477918Z"
3964
+ }
3965
+ ),
3966
+ /* @__PURE__ */ le.jsx(
3967
+ "path",
3968
+ {
3969
+ shapeRendering: "auto",
3970
+ d: "M1002.63449921,42.45765843l-51.76857183,25.5318184v-19.67532005l51.76857183-28.57905343v22.72255507ZM991.8584225,77.1251952v129.06896206h-26.70371675V77.1251952h26.70371675Z"
3971
+ }
3972
+ ),
3973
+ /* @__PURE__ */ le.jsx(
3974
+ "path",
3975
+ {
3976
+ shapeRendering: "auto",
3977
+ d: "M1016.8035434,106.64116863c5.38803835-9.99331447,12.72624725-17.76256644,22.01911673-23.30775591,9.28987613-5.54219612,19.5600759-8.31553919,30.80311593-8.31553919,10.15046559,0,19.01079532,1.99058084,26.58697591,5.97323918,7.57318724,3.98116167,13.62275697,8.94115031,18.15469589,14.87397921v-18.73989673h26.93869509v129.06896206h-26.93869509v-19.20835673c-4.53193893,6.09147669-10.69824948,11.16820616-18.50491839,15.22719506-7.81115893,4.05898889-16.71189896,6.08998002-26.70521342,6.08998002-11.08888226,0-21.23934785-2.84817694-30.45139676-8.55051753-9.21653894-5.69785056-16.51433755-13.66316726-21.9023759-23.89295674-5.38654168-10.22529945-8.08056085-21.82155533-8.08056085-34.78577427,0-12.95972892,2.69401918-24.43774728,8.08056085-34.43255843ZM1108.86266868,118.35266866c-3.67134947-6.55844002-8.47269031-11.55434891-14.40551921-14.99221672-5.93731893-3.4318811-12.33860783-5.15306001-19.20835673-5.15306001-6.87423893,0-13.27552783,1.68076863-19.20835673,5.03631918-5.93731893,3.36004058-10.73865977,8.27961894-14.40551921,14.75723838-3.67134947,6.48210947-5.50477918,14.17203754-5.50477918,23.07277757,0,8.9022367,1.83342972,16.71189896,5.50477918,23.42449674,3.66685943,6.71708781,8.50861056,11.82973754,14.52226004,15.34393589,6.01065612,3.51419835,12.37452808,5.26980084,19.0916159,5.26980084,6.8697489,0,13.2710378-1.71668889,19.20835673-5.15306001,5.9328289-3.43337777,10.73416974-8.46969695,14.40551921-15.10895755,3.66685943-6.63477056,5.50477918-14.40551921,5.50477918-23.30625923,0-8.9022367-1.83791975-16.63257506-5.50477918-23.19101508Z"
3978
+ }
3979
+ )
3980
+ ] })
3981
+ ] }) })
3982
+ }
3983
+ )) : (console.error("Logo: You need to specify either a width or a height for the logo."), null);
3984
+ };
3985
+ export {
3986
+ qo as Logo,
3987
+ R as colors,
3988
+ Ho as defaultTheme,
3989
+ Uo as theme,
3990
+ Go as themes
3991
+ };