@codeplex-sac/superposiciones 0.1.2

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