@codeplex-sac/layout 0.0.3 → 0.0.4
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.mjs +710 -709
- package/lib/barra-lateral/barra-lateral.d.ts +2 -1
- package/lib/pila/pila.d.ts +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as b, jsxs as
|
|
2
|
-
import * as
|
|
1
|
+
import { jsx as b, jsxs as M, Fragment as yt } from "react/jsx-runtime";
|
|
2
|
+
import * as G from "react";
|
|
3
3
|
import { useState as it, useEffect as st, useRef as fo, forwardRef as po, useContext as mo } from "react";
|
|
4
4
|
const Sc = ({
|
|
5
5
|
elementos: e,
|
|
@@ -10,52 +10,52 @@ const Sc = ({
|
|
|
10
10
|
clase: i = ""
|
|
11
11
|
}) => {
|
|
12
12
|
const [a, s] = it(n || []), d = (p) => {
|
|
13
|
-
const
|
|
14
|
-
let
|
|
15
|
-
|
|
13
|
+
const h = a.includes(p);
|
|
14
|
+
let g;
|
|
15
|
+
h ? g = a.filter((y) => y !== p) : g = t ? [...a, p] : [p], s(g), o && o(g);
|
|
16
16
|
}, f = {
|
|
17
17
|
simple: "divide-y divide-gray-200 dark:divide-gray-700 border-t border-b border-gray-200 dark:border-gray-700",
|
|
18
18
|
bordeado: "border border-gray-200 dark:border-gray-700 rounded-xl overflow-hidden divide-y divide-gray-200 dark:divide-gray-700",
|
|
19
19
|
separado: "flex flex-col gap-2"
|
|
20
20
|
// Sin bordes externos, items separados
|
|
21
|
-
}, m = (p,
|
|
21
|
+
}, m = (p, h) => r === "separado" ? `
|
|
22
22
|
border border-gray-200 dark:border-gray-700 rounded-xl bg-white dark:bg-gray-800
|
|
23
23
|
shadow-sm transition-all duration-200
|
|
24
24
|
${p ? "ring-1 ring-blue-500/20 border-blue-500/50" : "hover:border-gray-300 dark:hover:border-gray-600"}
|
|
25
|
-
${
|
|
25
|
+
${h ? "opacity-60 cursor-not-allowed bg-gray-50 dark:bg-gray-900" : ""}
|
|
26
26
|
` : `
|
|
27
27
|
bg-white dark:bg-gray-800 transition-colors
|
|
28
|
-
${
|
|
28
|
+
${h ? "opacity-60 cursor-not-allowed bg-gray-50" : "hover:bg-gray-50 dark:hover:bg-gray-700/50"}
|
|
29
29
|
`;
|
|
30
30
|
return /* @__PURE__ */ b("div", { className: `w-full ${f[r]} ${i}`, children: e.map((p) => {
|
|
31
|
-
const
|
|
32
|
-
return /* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */ b("h3", { children: /* @__PURE__ */
|
|
31
|
+
const h = a.includes(p.id), g = !!p.deshabilitado, y = `accordion-content-${p.id}`, u = `accordion-header-${p.id}`;
|
|
32
|
+
return /* @__PURE__ */ M("div", { className: m(h, g), children: [
|
|
33
|
+
/* @__PURE__ */ b("h3", { children: /* @__PURE__ */ M(
|
|
34
34
|
"button",
|
|
35
35
|
{
|
|
36
36
|
id: u,
|
|
37
37
|
type: "button",
|
|
38
|
-
"aria-expanded":
|
|
38
|
+
"aria-expanded": h,
|
|
39
39
|
"aria-controls": y,
|
|
40
|
-
disabled:
|
|
41
|
-
onClick: () => !
|
|
40
|
+
disabled: g,
|
|
41
|
+
onClick: () => !g && d(p.id),
|
|
42
42
|
className: `
|
|
43
43
|
w-full flex items-center justify-between gap-4 px-5 py-4 text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-500
|
|
44
44
|
`,
|
|
45
45
|
children: [
|
|
46
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ M("div", { className: "flex items-center gap-3 min-w-0", children: [
|
|
47
47
|
p.iconoIzquierda && /* @__PURE__ */ b(
|
|
48
48
|
"span",
|
|
49
49
|
{
|
|
50
|
-
className: `text-xl ${
|
|
50
|
+
className: `text-xl ${h ? "text-blue-600 dark:text-blue-400" : "text-gray-400"}`,
|
|
51
51
|
children: p.iconoIzquierda
|
|
52
52
|
}
|
|
53
53
|
),
|
|
54
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ M("div", { className: "flex flex-col text-left", children: [
|
|
55
55
|
/* @__PURE__ */ b(
|
|
56
56
|
"span",
|
|
57
57
|
{
|
|
58
|
-
className: `text-sm font-semibold ${
|
|
58
|
+
className: `text-sm font-semibold ${h ? "text-blue-700 dark:text-blue-300" : "text-gray-900 dark:text-white"}`,
|
|
59
59
|
children: p.titulo
|
|
60
60
|
}
|
|
61
61
|
),
|
|
@@ -67,7 +67,7 @@ const Sc = ({
|
|
|
67
67
|
{
|
|
68
68
|
className: `
|
|
69
69
|
w-5 h-5 text-gray-400 transition-transform duration-300 ease-in-out flex-shrink-0
|
|
70
|
-
${
|
|
70
|
+
${h ? "rotate-180 text-blue-600 dark:text-blue-400" : ""}
|
|
71
71
|
`,
|
|
72
72
|
fill: "none",
|
|
73
73
|
viewBox: "0 0 24 24",
|
|
@@ -94,9 +94,9 @@ const Sc = ({
|
|
|
94
94
|
"aria-labelledby": u,
|
|
95
95
|
className: `
|
|
96
96
|
grid transition-[grid-template-rows] duration-300 ease-out
|
|
97
|
-
${
|
|
97
|
+
${h ? "grid-rows-[1fr]" : "grid-rows-[0fr]"}
|
|
98
98
|
`,
|
|
99
|
-
children: /* @__PURE__ */ b("div", { className: "overflow-hidden", children: /* @__PURE__ */
|
|
99
|
+
children: /* @__PURE__ */ b("div", { className: "overflow-hidden", children: /* @__PURE__ */ M(
|
|
100
100
|
"div",
|
|
101
101
|
{
|
|
102
102
|
className: "px-5 pb-5 pt-0 text-sm text-gray-600 dark:text-gray-300 leading-relaxed",
|
|
@@ -132,9 +132,9 @@ const Sc = ({
|
|
|
132
132
|
};
|
|
133
133
|
return document.addEventListener("keydown", u), () => document.removeEventListener("keydown", u);
|
|
134
134
|
}, [e, s, f]);
|
|
135
|
-
const
|
|
135
|
+
const h = () => {
|
|
136
136
|
a && f && f();
|
|
137
|
-
},
|
|
137
|
+
}, g = {
|
|
138
138
|
sm: "w-64",
|
|
139
139
|
// 16rem
|
|
140
140
|
md: "w-80",
|
|
@@ -149,7 +149,7 @@ const Sc = ({
|
|
|
149
149
|
izquierda: "left-0 top-0 bottom-0 border-r slide-in-from-left",
|
|
150
150
|
derecha: "right-0 top-0 bottom-0 border-l slide-in-from-right"
|
|
151
151
|
};
|
|
152
|
-
return e ? /* @__PURE__ */
|
|
152
|
+
return e ? /* @__PURE__ */ M(
|
|
153
153
|
"div",
|
|
154
154
|
{
|
|
155
155
|
className: "fixed inset-0 z-50 flex",
|
|
@@ -167,10 +167,10 @@ const Sc = ({
|
|
|
167
167
|
animate-in fade-in duration-300
|
|
168
168
|
`,
|
|
169
169
|
"aria-hidden": "true",
|
|
170
|
-
onClick:
|
|
170
|
+
onClick: h
|
|
171
171
|
}
|
|
172
172
|
),
|
|
173
|
-
/* @__PURE__ */
|
|
173
|
+
/* @__PURE__ */ M(
|
|
174
174
|
"div",
|
|
175
175
|
{
|
|
176
176
|
className: `
|
|
@@ -180,14 +180,14 @@ const Sc = ({
|
|
|
180
180
|
transform transition-transform duration-300 ease-in-out
|
|
181
181
|
animate-in duration-300
|
|
182
182
|
${y[t]}
|
|
183
|
-
${
|
|
183
|
+
${g[r]}
|
|
184
184
|
${d}
|
|
185
185
|
/* Asegurar que esté sobre el overlay */
|
|
186
186
|
z-10
|
|
187
187
|
`,
|
|
188
188
|
children: [
|
|
189
|
-
(n || i) && /* @__PURE__ */
|
|
190
|
-
/* @__PURE__ */
|
|
189
|
+
(n || i) && /* @__PURE__ */ M("header", { className: "flex items-start justify-between px-6 py-4 border-b border-gray-100 dark:border-gray-800 shrink-0", children: [
|
|
190
|
+
/* @__PURE__ */ M("div", { className: "flex flex-col gap-0.5", children: [
|
|
191
191
|
n && /* @__PURE__ */ b(
|
|
192
192
|
"h2",
|
|
193
193
|
{
|
|
@@ -253,7 +253,7 @@ const Sc = ({
|
|
|
253
253
|
${o}
|
|
254
254
|
`,
|
|
255
255
|
...a,
|
|
256
|
-
children: /* @__PURE__ */ b("div", { className: "px-4 py-3", children: /* @__PURE__ */
|
|
256
|
+
children: /* @__PURE__ */ b("div", { className: "px-4 py-3", children: /* @__PURE__ */ M("div", { className: "flex flex-col md:flex-row items-center justify-between gap-3 md:gap-4", children: [
|
|
257
257
|
/* @__PURE__ */ b("div", { className: "text-xs md:text-sm text-gray-500 dark:text-gray-400 text-center md:text-left", children: d }),
|
|
258
258
|
t && t.length > 0 && /* @__PURE__ */ b("ul", { className: "flex flex-wrap items-center justify-center gap-3 text-xs md:text-sm", children: t.map((m, p) => /* @__PURE__ */ b("li", { children: /* @__PURE__ */ b(
|
|
259
259
|
"a",
|
|
@@ -263,7 +263,7 @@ const Sc = ({
|
|
|
263
263
|
children: m.etiqueta
|
|
264
264
|
}
|
|
265
265
|
) }, p)) }),
|
|
266
|
-
r && /* @__PURE__ */
|
|
266
|
+
r && /* @__PURE__ */ M("div", { className: "flex items-center justify-center gap-3", children: [
|
|
267
267
|
r.facebook && /* @__PURE__ */ b(
|
|
268
268
|
"a",
|
|
269
269
|
{
|
|
@@ -326,7 +326,7 @@ const Sc = ({
|
|
|
326
326
|
children: m,
|
|
327
327
|
...p
|
|
328
328
|
}) => {
|
|
329
|
-
const
|
|
329
|
+
const h = d ? "lg:left-16" : "lg:left-64", g = (y) => {
|
|
330
330
|
o && o(y.target.value);
|
|
331
331
|
};
|
|
332
332
|
return /* @__PURE__ */ b(
|
|
@@ -334,7 +334,7 @@ const Sc = ({
|
|
|
334
334
|
{
|
|
335
335
|
className: `
|
|
336
336
|
fixed top-0 right-0 z-30
|
|
337
|
-
left-0 ${
|
|
337
|
+
left-0 ${h}
|
|
338
338
|
h-14 md:h-16
|
|
339
339
|
bg-white border-b border-gray-200
|
|
340
340
|
dark:bg-gray-800 dark:border-gray-700
|
|
@@ -343,8 +343,8 @@ const Sc = ({
|
|
|
343
343
|
${f}
|
|
344
344
|
`,
|
|
345
345
|
...p,
|
|
346
|
-
children: /* @__PURE__ */ b("div", { className: "w-full pr-4 md:pr-6 pl-14 sm:pl-16 lg:pl-6", children: /* @__PURE__ */
|
|
347
|
-
/* @__PURE__ */ b("div", { className: "flex-1 min-w-0", children: t && t.length > 0 ? /* @__PURE__ */ b("nav", { className: "hidden sm:flex", "aria-label": "Breadcrumb", children: /* @__PURE__ */ b("ol", { className: "inline-flex items-center space-x-1 md:space-x-2 lg:space-x-3", children: t.map((y, u) => /* @__PURE__ */
|
|
346
|
+
children: /* @__PURE__ */ b("div", { className: "w-full pr-4 md:pr-6 pl-14 sm:pl-16 lg:pl-6", children: /* @__PURE__ */ M("div", { className: "flex items-center justify-between gap-3", children: [
|
|
347
|
+
/* @__PURE__ */ b("div", { className: "flex-1 min-w-0", children: t && t.length > 0 ? /* @__PURE__ */ b("nav", { className: "hidden sm:flex", "aria-label": "Breadcrumb", children: /* @__PURE__ */ b("ol", { className: "inline-flex items-center space-x-1 md:space-x-2 lg:space-x-3", children: t.map((y, u) => /* @__PURE__ */ M("li", { className: "inline-flex items-center min-w-0", children: [
|
|
348
348
|
u > 0 && /* @__PURE__ */ b(
|
|
349
349
|
"svg",
|
|
350
350
|
{
|
|
@@ -374,7 +374,7 @@ const Sc = ({
|
|
|
374
374
|
}
|
|
375
375
|
) : /* @__PURE__ */ b("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400 truncate", children: y.etiqueta })
|
|
376
376
|
] }, u)) }) }) : e && /* @__PURE__ */ b("h1", { className: "text-lg md:text-xl font-semibold text-gray-900 dark:text-white truncate", children: e }) }),
|
|
377
|
-
n && /* @__PURE__ */ b("div", { className: "hidden md:flex flex-1 max-w-md mx-2", children: /* @__PURE__ */
|
|
377
|
+
n && /* @__PURE__ */ b("div", { className: "hidden md:flex flex-1 max-w-md mx-2", children: /* @__PURE__ */ M("div", { className: "relative w-full", children: [
|
|
378
378
|
/* @__PURE__ */ b("div", { className: "absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none", children: /* @__PURE__ */ b(
|
|
379
379
|
"svg",
|
|
380
380
|
{
|
|
@@ -399,11 +399,11 @@ const Sc = ({
|
|
|
399
399
|
type: "search",
|
|
400
400
|
className: "block w-full p-2 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white",
|
|
401
401
|
placeholder: "Buscar...",
|
|
402
|
-
onChange:
|
|
402
|
+
onChange: g
|
|
403
403
|
}
|
|
404
404
|
)
|
|
405
405
|
] }) }),
|
|
406
|
-
/* @__PURE__ */
|
|
406
|
+
/* @__PURE__ */ M("div", { className: "flex items-center gap-2 md:gap-3", children: [
|
|
407
407
|
n && /* @__PURE__ */ b(
|
|
408
408
|
"button",
|
|
409
409
|
{
|
|
@@ -430,7 +430,7 @@ const Sc = ({
|
|
|
430
430
|
)
|
|
431
431
|
}
|
|
432
432
|
),
|
|
433
|
-
i && /* @__PURE__ */
|
|
433
|
+
i && /* @__PURE__ */ M(
|
|
434
434
|
"button",
|
|
435
435
|
{
|
|
436
436
|
type: "button",
|
|
@@ -460,7 +460,7 @@ const Sc = ({
|
|
|
460
460
|
]
|
|
461
461
|
}
|
|
462
462
|
),
|
|
463
|
-
r && /* @__PURE__ */
|
|
463
|
+
r && /* @__PURE__ */ M(
|
|
464
464
|
"button",
|
|
465
465
|
{
|
|
466
466
|
type: "button",
|
|
@@ -476,7 +476,7 @@ const Sc = ({
|
|
|
476
476
|
className: "w-8 h-8 rounded-full object-cover"
|
|
477
477
|
}
|
|
478
478
|
) : /* @__PURE__ */ b("div", { className: "flex items-center justify-center w-8 h-8 bg-gray-300 rounded-full dark:bg-gray-600", children: /* @__PURE__ */ b("span", { className: "text-sm font-medium text-gray-700 dark:text-gray-200", children: r.nombre.charAt(0).toUpperCase() }) }),
|
|
479
|
-
/* @__PURE__ */
|
|
479
|
+
/* @__PURE__ */ M("div", { className: "hidden md:block text-left max-w-[160px]", children: [
|
|
480
480
|
/* @__PURE__ */ b("p", { className: "text-sm font-medium text-gray-900 dark:text-white truncate", children: r.nombre }),
|
|
481
481
|
r.rol && /* @__PURE__ */ b("p", { className: "text-xs text-gray-500 dark:text-gray-400 truncate", children: r.rol })
|
|
482
482
|
] }),
|
|
@@ -516,11 +516,11 @@ const Sc = ({
|
|
|
516
516
|
}) => {
|
|
517
517
|
const [s, d] = it(!1), f = fo(null), m = () => d(!s), p = () => d(!1);
|
|
518
518
|
return st(() => {
|
|
519
|
-
const
|
|
519
|
+
const g = (y) => {
|
|
520
520
|
s && f.current && !f.current.contains(y.target) && d(!1);
|
|
521
521
|
};
|
|
522
|
-
return document.addEventListener("click",
|
|
523
|
-
}, [s]), /* @__PURE__ */
|
|
522
|
+
return document.addEventListener("click", g), () => document.removeEventListener("click", g);
|
|
523
|
+
}, [s]), /* @__PURE__ */ M(
|
|
524
524
|
"nav",
|
|
525
525
|
{
|
|
526
526
|
ref: f,
|
|
@@ -533,9 +533,9 @@ const Sc = ({
|
|
|
533
533
|
${i}
|
|
534
534
|
`,
|
|
535
535
|
children: [
|
|
536
|
-
/* @__PURE__ */ b("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */
|
|
537
|
-
/* @__PURE__ */
|
|
538
|
-
/* @__PURE__ */
|
|
536
|
+
/* @__PURE__ */ b("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ M("div", { className: "flex items-center justify-between h-16", children: [
|
|
537
|
+
/* @__PURE__ */ M("div", { className: "flex items-center gap-8", children: [
|
|
538
|
+
/* @__PURE__ */ M(
|
|
539
539
|
"div",
|
|
540
540
|
{
|
|
541
541
|
className: "flex-shrink-0 flex items-center gap-3 cursor-pointer",
|
|
@@ -553,27 +553,27 @@ const Sc = ({
|
|
|
553
553
|
]
|
|
554
554
|
}
|
|
555
555
|
),
|
|
556
|
-
/* @__PURE__ */ b("div", { className: "hidden md:flex items-center space-x-1", children: r.map((
|
|
556
|
+
/* @__PURE__ */ b("div", { className: "hidden md:flex items-center space-x-1", children: r.map((g) => /* @__PURE__ */ b(
|
|
557
557
|
"button",
|
|
558
558
|
{
|
|
559
559
|
onClick: () => {
|
|
560
|
-
|
|
560
|
+
g.deshabilitado || (g.alHacerClick && g.alHacerClick(), g.href && (window.location.href = g.href));
|
|
561
561
|
},
|
|
562
|
-
disabled:
|
|
562
|
+
disabled: g.deshabilitado,
|
|
563
563
|
className: `
|
|
564
564
|
px-3 py-2 rounded-md text-sm font-medium transition-colors
|
|
565
|
-
${
|
|
566
|
-
${
|
|
565
|
+
${g.activo ? "bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white" : "text-gray-600 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-800 hover:text-gray-900 dark:hover:text-white"}
|
|
566
|
+
${g.deshabilitado ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}
|
|
567
567
|
`,
|
|
568
|
-
children:
|
|
568
|
+
children: g.etiqueta
|
|
569
569
|
},
|
|
570
|
-
|
|
570
|
+
g.id
|
|
571
571
|
)) })
|
|
572
572
|
] }),
|
|
573
|
-
/* @__PURE__ */
|
|
573
|
+
/* @__PURE__ */ M("div", { className: "flex items-center gap-4", children: [
|
|
574
574
|
/* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: a }),
|
|
575
|
-
n && /* @__PURE__ */
|
|
576
|
-
/* @__PURE__ */
|
|
575
|
+
n && /* @__PURE__ */ M("div", { className: "hidden sm:flex items-center gap-3 pl-4 border-l border-gray-200 dark:border-gray-700", children: [
|
|
576
|
+
/* @__PURE__ */ M("div", { className: "text-right hidden lg:block", children: [
|
|
577
577
|
/* @__PURE__ */ b("p", { className: "text-sm font-medium text-gray-900 dark:text-white leading-none", children: n.nombre }),
|
|
578
578
|
n.rol && /* @__PURE__ */ b("p", { className: "text-xs text-gray-500 dark:text-gray-400 mt-1", children: n.rol })
|
|
579
579
|
] }),
|
|
@@ -586,7 +586,7 @@ const Sc = ({
|
|
|
586
586
|
}
|
|
587
587
|
) : /* @__PURE__ */ b("div", { className: "w-9 h-9 rounded-full bg-gray-100 dark:bg-gray-800 flex items-center justify-center text-gray-600 dark:text-gray-300 border border-gray-200 dark:border-gray-700 group-hover:ring-2 ring-blue-500/50 transition-all", children: /* @__PURE__ */ b("span", { className: "text-sm font-bold", children: n.nombre.charAt(0).toUpperCase() }) }) })
|
|
588
588
|
] }),
|
|
589
|
-
/* @__PURE__ */ b("div", { className: "flex md:hidden", children: /* @__PURE__ */
|
|
589
|
+
/* @__PURE__ */ b("div", { className: "flex md:hidden", children: /* @__PURE__ */ M(
|
|
590
590
|
"button",
|
|
591
591
|
{
|
|
592
592
|
type: "button",
|
|
@@ -636,7 +636,7 @@ const Sc = ({
|
|
|
636
636
|
) })
|
|
637
637
|
] })
|
|
638
638
|
] }) }),
|
|
639
|
-
/* @__PURE__ */
|
|
639
|
+
/* @__PURE__ */ M(
|
|
640
640
|
"div",
|
|
641
641
|
{
|
|
642
642
|
className: `
|
|
@@ -645,23 +645,23 @@ const Sc = ({
|
|
|
645
645
|
`,
|
|
646
646
|
id: "mobile-menu",
|
|
647
647
|
children: [
|
|
648
|
-
/* @__PURE__ */ b("div", { className: "px-2 pt-2 pb-3 space-y-1", children: r.map((
|
|
648
|
+
/* @__PURE__ */ b("div", { className: "px-2 pt-2 pb-3 space-y-1", children: r.map((g) => /* @__PURE__ */ b(
|
|
649
649
|
"button",
|
|
650
650
|
{
|
|
651
651
|
onClick: () => {
|
|
652
|
-
|
|
652
|
+
g.deshabilitado || (g.alHacerClick && g.alHacerClick(), g.href && (window.location.href = g.href), p());
|
|
653
653
|
},
|
|
654
|
-
disabled:
|
|
654
|
+
disabled: g.deshabilitado,
|
|
655
655
|
className: `
|
|
656
656
|
block w-full text-left px-3 py-2 rounded-md text-base font-medium
|
|
657
|
-
${
|
|
658
|
-
${
|
|
657
|
+
${g.activo ? "bg-blue-50 text-blue-700 dark:bg-blue-900/30 dark:text-blue-200" : "text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-800 hover:text-gray-900 dark:hover:text-white"}
|
|
658
|
+
${g.deshabilitado ? "opacity-50 cursor-not-allowed" : ""}
|
|
659
659
|
`,
|
|
660
|
-
children:
|
|
660
|
+
children: g.etiqueta
|
|
661
661
|
},
|
|
662
|
-
|
|
662
|
+
g.id
|
|
663
663
|
)) }),
|
|
664
|
-
n && /* @__PURE__ */ b("div", { className: "pt-4 pb-4 border-t border-gray-200 dark:border-gray-800", children: /* @__PURE__ */
|
|
664
|
+
n && /* @__PURE__ */ b("div", { className: "pt-4 pb-4 border-t border-gray-200 dark:border-gray-800", children: /* @__PURE__ */ M("div", { className: "flex items-center px-5", children: [
|
|
665
665
|
/* @__PURE__ */ b("div", { className: "flex-shrink-0", children: n.avatar ? /* @__PURE__ */ b(
|
|
666
666
|
"img",
|
|
667
667
|
{
|
|
@@ -670,7 +670,7 @@ const Sc = ({
|
|
|
670
670
|
alt: ""
|
|
671
671
|
}
|
|
672
672
|
) : /* @__PURE__ */ b("div", { className: "h-10 w-10 rounded-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center text-gray-500 dark:text-gray-300 font-bold", children: n.nombre.charAt(0) }) }),
|
|
673
|
-
/* @__PURE__ */
|
|
673
|
+
/* @__PURE__ */ M("div", { className: "ml-3", children: [
|
|
674
674
|
/* @__PURE__ */ b("div", { className: "text-base font-medium leading-none text-gray-900 dark:text-white", children: n.nombre }),
|
|
675
675
|
n.email && /* @__PURE__ */ b("div", { className: "text-sm font-medium leading-none text-gray-500 dark:text-gray-400 mt-1", children: n.email })
|
|
676
676
|
] })
|
|
@@ -692,35 +692,36 @@ const Sc = ({
|
|
|
692
692
|
alNavegar: s,
|
|
693
693
|
alCerrarSesion: d,
|
|
694
694
|
mostrarPie: f = !0,
|
|
695
|
-
children: m
|
|
695
|
+
children: m,
|
|
696
|
+
ancho: p = 256
|
|
696
697
|
}) => {
|
|
697
|
-
const [
|
|
698
|
+
const [h, g] = it(o), [y, u] = it(!1), [v, C] = it([]);
|
|
698
699
|
st(() => {
|
|
699
|
-
const
|
|
700
|
-
|
|
700
|
+
const A = e.filter((j) => j.activo && j.hijos && j.hijos.length > 0).map((j) => j.id);
|
|
701
|
+
A.length > 0 && C((j) => [.../* @__PURE__ */ new Set([...j, ...A])]);
|
|
701
702
|
}, [e]), st(() => {
|
|
702
703
|
g(o);
|
|
703
704
|
}, [o]);
|
|
704
|
-
const
|
|
705
|
-
const
|
|
706
|
-
g(
|
|
707
|
-
},
|
|
708
|
-
|
|
709
|
-
},
|
|
710
|
-
|
|
711
|
-
},
|
|
712
|
-
|
|
713
|
-
},
|
|
714
|
-
|
|
715
|
-
}
|
|
716
|
-
return /* @__PURE__ */
|
|
705
|
+
const O = () => {
|
|
706
|
+
const A = !h;
|
|
707
|
+
g(A), a && a(A);
|
|
708
|
+
}, R = () => {
|
|
709
|
+
u(!y);
|
|
710
|
+
}, T = () => {
|
|
711
|
+
u(!1);
|
|
712
|
+
}, w = (A) => {
|
|
713
|
+
v.includes(A) ? C(v.filter((j) => j !== A)) : C([...v, A]);
|
|
714
|
+
}, S = (A) => {
|
|
715
|
+
A && (s && s(A), i && typeof window < "u" && window.innerWidth < 1024 && u(!1));
|
|
716
|
+
}, _ = h ? "4rem" : `${p}px`;
|
|
717
|
+
return /* @__PURE__ */ M(yt, { children: [
|
|
717
718
|
/* @__PURE__ */ b(
|
|
718
719
|
"button",
|
|
719
720
|
{
|
|
720
721
|
type: "button",
|
|
721
722
|
className: "fixed top-3 left-3 z-50 p-2 text-gray-500 rounded-lg lg:hidden hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-blue-500",
|
|
722
|
-
onClick:
|
|
723
|
-
"aria-label":
|
|
723
|
+
onClick: R,
|
|
724
|
+
"aria-label": y ? "Cerrar menú lateral" : "Abrir menú lateral",
|
|
724
725
|
children: /* @__PURE__ */ b(
|
|
725
726
|
"svg",
|
|
726
727
|
{
|
|
@@ -728,7 +729,7 @@ const Sc = ({
|
|
|
728
729
|
fill: "none",
|
|
729
730
|
stroke: "currentColor",
|
|
730
731
|
viewBox: "0 0 24 24",
|
|
731
|
-
children:
|
|
732
|
+
children: y ? /* @__PURE__ */ b(
|
|
732
733
|
"path",
|
|
733
734
|
{
|
|
734
735
|
strokeLinecap: "round",
|
|
@@ -749,28 +750,28 @@ const Sc = ({
|
|
|
749
750
|
)
|
|
750
751
|
}
|
|
751
752
|
),
|
|
752
|
-
|
|
753
|
+
y && /* @__PURE__ */ b(
|
|
753
754
|
"div",
|
|
754
755
|
{
|
|
755
756
|
className: "fixed inset-0 z-30 bg-black/50 lg:hidden",
|
|
756
|
-
onClick:
|
|
757
|
+
onClick: T,
|
|
757
758
|
"aria-hidden": "true"
|
|
758
759
|
}
|
|
759
760
|
),
|
|
760
|
-
/* @__PURE__ */
|
|
761
|
+
/* @__PURE__ */ M(
|
|
761
762
|
"aside",
|
|
762
763
|
{
|
|
763
764
|
className: `
|
|
764
765
|
fixed top-0 left-0 z-40 h-screen
|
|
765
766
|
bg-white border-r border-gray-200 dark:bg-gray-800 dark:border-gray-700
|
|
766
|
-
transition-
|
|
767
|
+
transition-all duration-300
|
|
767
768
|
flex flex-col
|
|
768
|
-
${
|
|
769
|
+
${y ? "translate-x-0" : "-translate-x-full"}
|
|
769
770
|
lg:translate-x-0
|
|
770
|
-
${p ? "lg:w-16 w-64" : "w-64"}
|
|
771
771
|
`,
|
|
772
|
+
style: { width: _ },
|
|
772
773
|
children: [
|
|
773
|
-
/* @__PURE__ */
|
|
774
|
+
/* @__PURE__ */ M(
|
|
774
775
|
"div",
|
|
775
776
|
{
|
|
776
777
|
className: `
|
|
@@ -781,7 +782,7 @@ const Sc = ({
|
|
|
781
782
|
border-b border-gray-200 dark:border-gray-700
|
|
782
783
|
`,
|
|
783
784
|
children: [
|
|
784
|
-
!
|
|
785
|
+
!h && /* @__PURE__ */ M("div", { className: "flex items-center gap-3 overflow-hidden", children: [
|
|
785
786
|
r && /* @__PURE__ */ b("img", { src: r, alt: "Logo", className: "w-8 h-8" }),
|
|
786
787
|
/* @__PURE__ */ b("span", { className: "text-xl font-bold text-gray-900 dark:text-white truncate", children: n })
|
|
787
788
|
] }),
|
|
@@ -790,8 +791,8 @@ const Sc = ({
|
|
|
790
791
|
{
|
|
791
792
|
type: "button",
|
|
792
793
|
className: "hidden lg:inline-flex p-2 text-gray-500 rounded-lg hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-blue-500",
|
|
793
|
-
onClick:
|
|
794
|
-
"aria-label":
|
|
794
|
+
onClick: O,
|
|
795
|
+
"aria-label": h ? "Expandir barra lateral" : "Colapsar barra lateral",
|
|
795
796
|
children: /* @__PURE__ */ b(
|
|
796
797
|
"svg",
|
|
797
798
|
{
|
|
@@ -799,7 +800,7 @@ const Sc = ({
|
|
|
799
800
|
fill: "none",
|
|
800
801
|
stroke: "currentColor",
|
|
801
802
|
viewBox: "0 0 24 24",
|
|
802
|
-
children:
|
|
803
|
+
children: h ? /* @__PURE__ */ b(
|
|
803
804
|
"path",
|
|
804
805
|
{
|
|
805
806
|
strokeLinecap: "round",
|
|
@@ -831,30 +832,30 @@ const Sc = ({
|
|
|
831
832
|
[&::-webkit-scrollbar]:hidden
|
|
832
833
|
`,
|
|
833
834
|
style: { msOverflowStyle: "none", scrollbarWidth: "none" },
|
|
834
|
-
children: /* @__PURE__ */ b("ul", { className: "space-y-2", children: e.map((
|
|
835
|
-
const
|
|
835
|
+
children: /* @__PURE__ */ b("ul", { className: "space-y-2", children: e.map((A) => {
|
|
836
|
+
const j = !!A.hijos && A.hijos.length > 0, ne = v.includes(A.id), B = `
|
|
836
837
|
flex items-center w-full p-2 rounded-lg
|
|
837
838
|
text-gray-900 dark:text-white
|
|
838
839
|
hover:bg-gray-100 dark:hover:bg-gray-700
|
|
839
840
|
transition-colors duration-200
|
|
840
|
-
${
|
|
841
|
-
${
|
|
841
|
+
${A.activo ? "bg-blue-50 text-blue-700 dark:bg-blue-900/40 dark:text-blue-200" : ""}
|
|
842
|
+
${A.deshabilitado ? "opacity-50 cursor-not-allowed" : ""}
|
|
842
843
|
`;
|
|
843
|
-
return /* @__PURE__ */ b("li", { children:
|
|
844
|
-
/* @__PURE__ */
|
|
844
|
+
return /* @__PURE__ */ b("li", { children: j ? /* @__PURE__ */ M(yt, { children: [
|
|
845
|
+
/* @__PURE__ */ M(
|
|
845
846
|
"button",
|
|
846
847
|
{
|
|
847
848
|
type: "button",
|
|
848
|
-
className:
|
|
849
|
+
className: B,
|
|
849
850
|
onClick: () => {
|
|
850
|
-
|
|
851
|
+
A.deshabilitado || w(A.id);
|
|
851
852
|
},
|
|
852
|
-
disabled:
|
|
853
|
+
disabled: A.deshabilitado,
|
|
853
854
|
children: [
|
|
854
|
-
|
|
855
|
-
!
|
|
856
|
-
/* @__PURE__ */ b("span", { className: "flex-1 ml-3 text-left whitespace-nowrap", children:
|
|
857
|
-
|
|
855
|
+
A.icono && /* @__PURE__ */ b("span", { className: "text-xl flex-shrink-0", children: A.icono }),
|
|
856
|
+
!h && /* @__PURE__ */ M(yt, { children: [
|
|
857
|
+
/* @__PURE__ */ b("span", { className: "flex-1 ml-3 text-left whitespace-nowrap", children: A.etiqueta }),
|
|
858
|
+
A.insignia && /* @__PURE__ */ b("span", { className: "inline-flex items-center justify-center px-2 ml-3 text-sm font-medium text-gray-800 bg-gray-200 rounded-full dark:bg-gray-700 dark:text-gray-300", children: A.insignia }),
|
|
858
859
|
/* @__PURE__ */ b(
|
|
859
860
|
"svg",
|
|
860
861
|
{
|
|
@@ -878,52 +879,52 @@ const Sc = ({
|
|
|
878
879
|
]
|
|
879
880
|
}
|
|
880
881
|
),
|
|
881
|
-
!
|
|
882
|
+
!h && ne && /* @__PURE__ */ b("ul", { className: "py-2 space-y-1 pl-6 animate-fade-in", children: A.hijos.map((l) => /* @__PURE__ */ b("li", { children: /* @__PURE__ */ M(
|
|
882
883
|
"a",
|
|
883
884
|
{
|
|
884
|
-
href:
|
|
885
|
+
href: l.href,
|
|
885
886
|
className: `
|
|
886
887
|
flex items-center p-2 rounded-lg
|
|
887
888
|
text-gray-900 dark:text-white
|
|
888
889
|
hover:bg-gray-100 dark:hover:bg-gray-700
|
|
889
890
|
transition-colors duration-200
|
|
890
|
-
${
|
|
891
|
+
${l.activo ? "bg-blue-50 text-blue-700 dark:bg-blue-900/40 dark:text-blue-200" : ""}
|
|
891
892
|
`,
|
|
892
|
-
onClick: (
|
|
893
|
-
s &&
|
|
893
|
+
onClick: (P) => {
|
|
894
|
+
s && l.href ? (P.preventDefault(), S(l.href)) : l.alHacerClick && (l.alHacerClick(), S());
|
|
894
895
|
},
|
|
895
896
|
children: [
|
|
896
|
-
|
|
897
|
-
/* @__PURE__ */ b("span", { className: "ml-3", children:
|
|
898
|
-
|
|
897
|
+
l.icono && /* @__PURE__ */ b("span", { className: "text-lg flex-shrink-0", children: l.icono }),
|
|
898
|
+
/* @__PURE__ */ b("span", { className: "ml-3", children: l.etiqueta }),
|
|
899
|
+
l.insignia && /* @__PURE__ */ b("span", { className: "inline-flex items-center justify-center px-2 ml-auto text-sm font-medium text-gray-800 bg-gray-200 rounded-full dark:bg-gray-700 dark:text-gray-300", children: l.insignia })
|
|
899
900
|
]
|
|
900
901
|
}
|
|
901
|
-
) },
|
|
902
|
-
] }) : /* @__PURE__ */
|
|
902
|
+
) }, l.id)) })
|
|
903
|
+
] }) : /* @__PURE__ */ M(
|
|
903
904
|
"a",
|
|
904
905
|
{
|
|
905
|
-
href:
|
|
906
|
-
className:
|
|
907
|
-
onClick: (
|
|
908
|
-
if (
|
|
909
|
-
|
|
906
|
+
href: A.href,
|
|
907
|
+
className: B,
|
|
908
|
+
onClick: (l) => {
|
|
909
|
+
if (A.deshabilitado) {
|
|
910
|
+
l.preventDefault();
|
|
910
911
|
return;
|
|
911
912
|
}
|
|
912
|
-
s &&
|
|
913
|
+
s && A.href ? (l.preventDefault(), S(A.href)) : (A.alHacerClick && A.alHacerClick(), S());
|
|
913
914
|
},
|
|
914
915
|
children: [
|
|
915
|
-
|
|
916
|
-
!
|
|
917
|
-
/* @__PURE__ */ b("span", { className: "flex-1 ml-3 whitespace-nowrap", children:
|
|
918
|
-
|
|
916
|
+
A.icono && /* @__PURE__ */ b("span", { className: "text-xl flex-shrink-0", children: A.icono }),
|
|
917
|
+
!h && /* @__PURE__ */ M(yt, { children: [
|
|
918
|
+
/* @__PURE__ */ b("span", { className: "flex-1 ml-3 whitespace-nowrap", children: A.etiqueta }),
|
|
919
|
+
A.insignia && /* @__PURE__ */ b("span", { className: "inline-flex items-center justify-center px-2 ml-3 text-sm font-medium text-gray-800 bg-gray-200 rounded-full dark:bg-gray-700 dark:text-gray-300", children: A.insignia })
|
|
919
920
|
] })
|
|
920
921
|
]
|
|
921
922
|
}
|
|
922
|
-
) },
|
|
923
|
+
) }, A.id);
|
|
923
924
|
}) })
|
|
924
925
|
}
|
|
925
926
|
),
|
|
926
|
-
f && t && /* @__PURE__ */ b("div", { className: "border-t border-gray-200 dark:border-gray-700 flex-shrink-0", children: /* @__PURE__ */
|
|
927
|
+
f && t && /* @__PURE__ */ b("div", { className: "border-t border-gray-200 dark:border-gray-700 flex-shrink-0", children: /* @__PURE__ */ M("div", { className: "flex items-center p-4", children: [
|
|
927
928
|
t.avatar ? /* @__PURE__ */ b(
|
|
928
929
|
"img",
|
|
929
930
|
{
|
|
@@ -932,12 +933,12 @@ const Sc = ({
|
|
|
932
933
|
className: "w-10 h-10 rounded-full"
|
|
933
934
|
}
|
|
934
935
|
) : /* @__PURE__ */ b("div", { className: "flex items-center justify-center w-10 h-10 bg-gray-300 rounded-full dark:bg-gray-600", children: /* @__PURE__ */ b("span", { className: "text-lg font-medium text-gray-700 dark:text-gray-200", children: t.nombre.charAt(0).toUpperCase() }) }),
|
|
935
|
-
!
|
|
936
|
+
!h && /* @__PURE__ */ M("div", { className: "flex-1 ml-3 min-w-0", children: [
|
|
936
937
|
/* @__PURE__ */ b("p", { className: "text-sm font-medium text-gray-900 dark:text-white truncate", children: t.nombre }),
|
|
937
938
|
t.email && /* @__PURE__ */ b("p", { className: "text-xs text-gray-500 dark:text-gray-400 truncate", children: t.email }),
|
|
938
939
|
t.rol && /* @__PURE__ */ b("p", { className: "text-xs text-gray-500 dark:text-gray-400 truncate", children: t.rol })
|
|
939
940
|
] }),
|
|
940
|
-
!
|
|
941
|
+
!h && d && /* @__PURE__ */ b(
|
|
941
942
|
"button",
|
|
942
943
|
{
|
|
943
944
|
type: "button",
|
|
@@ -1234,30 +1235,30 @@ function _o(e) {
|
|
|
1234
1235
|
return Sn(Tt("", null, null, null, [""], e = kn(e), 0, [0], e));
|
|
1235
1236
|
}
|
|
1236
1237
|
function Tt(e, t, r, n, o, i, a, s, d) {
|
|
1237
|
-
for (var f = 0, m = 0, p = a,
|
|
1238
|
+
for (var f = 0, m = 0, p = a, h = 0, g = 0, y = 0, u = 1, v = 1, C = 1, O = 0, R = "", T = o, w = i, S = n, _ = R; v; )
|
|
1238
1239
|
switch (y = O, O = be()) {
|
|
1239
1240
|
// (
|
|
1240
1241
|
case 40:
|
|
1241
|
-
if (y != 108 && ue(
|
|
1242
|
-
ur(
|
|
1242
|
+
if (y != 108 && ue(_, p - 1) == 58) {
|
|
1243
|
+
ur(_ += K(St(O), "&", "&\f"), "&\f") != -1 && (C = -1);
|
|
1243
1244
|
break;
|
|
1244
1245
|
}
|
|
1245
1246
|
// " ' [
|
|
1246
1247
|
case 34:
|
|
1247
1248
|
case 39:
|
|
1248
1249
|
case 91:
|
|
1249
|
-
|
|
1250
|
+
_ += St(O);
|
|
1250
1251
|
break;
|
|
1251
1252
|
// \t \n \r \s
|
|
1252
1253
|
case 9:
|
|
1253
1254
|
case 10:
|
|
1254
1255
|
case 13:
|
|
1255
1256
|
case 32:
|
|
1256
|
-
|
|
1257
|
+
_ += Oo(y);
|
|
1257
1258
|
break;
|
|
1258
1259
|
// \
|
|
1259
1260
|
case 92:
|
|
1260
|
-
|
|
1261
|
+
_ += No(kt() - 1, 7);
|
|
1261
1262
|
continue;
|
|
1262
1263
|
// /
|
|
1263
1264
|
case 47:
|
|
@@ -1267,12 +1268,12 @@ function Tt(e, t, r, n, o, i, a, s, d) {
|
|
|
1267
1268
|
bt(Ro(Ao(be(), kt()), t, r), d);
|
|
1268
1269
|
break;
|
|
1269
1270
|
default:
|
|
1270
|
-
|
|
1271
|
+
_ += "/";
|
|
1271
1272
|
}
|
|
1272
1273
|
break;
|
|
1273
1274
|
// {
|
|
1274
1275
|
case 123 * u:
|
|
1275
|
-
s[f++] = Se(
|
|
1276
|
+
s[f++] = Se(_) * C;
|
|
1276
1277
|
// } ; \0
|
|
1277
1278
|
case 125 * u:
|
|
1278
1279
|
case 59:
|
|
@@ -1284,34 +1285,34 @@ function Tt(e, t, r, n, o, i, a, s, d) {
|
|
|
1284
1285
|
v = 0;
|
|
1285
1286
|
// ;
|
|
1286
1287
|
case 59 + m:
|
|
1287
|
-
|
|
1288
|
+
C == -1 && (_ = K(_, /\f/g, "")), g > 0 && Se(_) - p && bt(g > 32 ? Ir(_ + ";", n, r, p - 1) : Ir(K(_, " ", "") + ";", n, r, p - 2), d);
|
|
1288
1289
|
break;
|
|
1289
1290
|
// @ ;
|
|
1290
1291
|
case 59:
|
|
1291
|
-
|
|
1292
|
+
_ += ";";
|
|
1292
1293
|
// { rule/at-rule
|
|
1293
1294
|
default:
|
|
1294
|
-
if (bt(
|
|
1295
|
+
if (bt(S = Rr(_, t, r, f, m, o, s, R, T = [], w = [], p), i), O === 123)
|
|
1295
1296
|
if (m === 0)
|
|
1296
|
-
Tt(
|
|
1297
|
+
Tt(_, t, S, S, T, i, p, s, w);
|
|
1297
1298
|
else
|
|
1298
|
-
switch (
|
|
1299
|
+
switch (h === 99 && ue(_, 3) === 110 ? 100 : h) {
|
|
1299
1300
|
// d l m s
|
|
1300
1301
|
case 100:
|
|
1301
1302
|
case 108:
|
|
1302
1303
|
case 109:
|
|
1303
1304
|
case 115:
|
|
1304
|
-
Tt(e,
|
|
1305
|
+
Tt(e, S, S, n && bt(Rr(e, S, S, 0, 0, o, s, R, o, T = [], p), w), o, w, p, s, n ? T : w);
|
|
1305
1306
|
break;
|
|
1306
1307
|
default:
|
|
1307
|
-
Tt(
|
|
1308
|
+
Tt(_, S, S, S, [""], w, 0, s, w);
|
|
1308
1309
|
}
|
|
1309
1310
|
}
|
|
1310
|
-
f = m =
|
|
1311
|
+
f = m = g = 0, u = C = 1, R = _ = "", p = a;
|
|
1311
1312
|
break;
|
|
1312
1313
|
// :
|
|
1313
1314
|
case 58:
|
|
1314
|
-
p = 1 + Se(
|
|
1315
|
+
p = 1 + Se(_), g = y;
|
|
1315
1316
|
default:
|
|
1316
1317
|
if (u < 1) {
|
|
1317
1318
|
if (O == 123)
|
|
@@ -1319,30 +1320,30 @@ function Tt(e, t, r, n, o, i, a, s, d) {
|
|
|
1319
1320
|
else if (O == 125 && u++ == 0 && $o() == 125)
|
|
1320
1321
|
continue;
|
|
1321
1322
|
}
|
|
1322
|
-
switch (
|
|
1323
|
+
switch (_ += Pt(O), O * u) {
|
|
1323
1324
|
// &
|
|
1324
1325
|
case 38:
|
|
1325
|
-
|
|
1326
|
+
C = m > 0 ? 1 : (_ += "\f", -1);
|
|
1326
1327
|
break;
|
|
1327
1328
|
// ,
|
|
1328
1329
|
case 44:
|
|
1329
|
-
s[f++] = (Se(
|
|
1330
|
+
s[f++] = (Se(_) - 1) * C, C = 1;
|
|
1330
1331
|
break;
|
|
1331
1332
|
// @
|
|
1332
1333
|
case 64:
|
|
1333
|
-
$e() === 45 && (
|
|
1334
|
+
$e() === 45 && (_ += St(be())), h = $e(), m = p = Se(R = _ += Po(kt())), O++;
|
|
1334
1335
|
break;
|
|
1335
1336
|
// -
|
|
1336
1337
|
case 45:
|
|
1337
|
-
y === 45 && Se(
|
|
1338
|
+
y === 45 && Se(_) == 2 && (u = 0);
|
|
1338
1339
|
}
|
|
1339
1340
|
}
|
|
1340
1341
|
return i;
|
|
1341
1342
|
}
|
|
1342
1343
|
function Rr(e, t, r, n, o, i, a, s, d, f, m) {
|
|
1343
|
-
for (var p = o - 1,
|
|
1344
|
-
for (var
|
|
1345
|
-
(
|
|
1344
|
+
for (var p = o - 1, h = o === 0 ? i : [""], g = Cr(h), y = 0, u = 0, v = 0; y < n; ++y)
|
|
1345
|
+
for (var C = 0, O = lt(e, p + 1, p = wo(u = a[y])), R = e; C < g; ++C)
|
|
1346
|
+
(R = wn(u > 0 ? h[C] + " " + O : K(O, /&\f/g, h[C]))) && (d[v++] = R);
|
|
1346
1347
|
return Rt(e, t, r, o === 0 ? xr : s, d, f, m);
|
|
1347
1348
|
}
|
|
1348
1349
|
function Ro(e, t, r) {
|
|
@@ -1627,8 +1628,8 @@ var Vo = function(t, r, n, o) {
|
|
|
1627
1628
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1628
1629
|
document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
|
|
1629
1630
|
function(u) {
|
|
1630
|
-
for (var v = u.getAttribute("data-emotion").split(" "),
|
|
1631
|
-
i[v[
|
|
1631
|
+
for (var v = u.getAttribute("data-emotion").split(" "), C = 1; C < v.length; C++)
|
|
1632
|
+
i[v[C]] = !0;
|
|
1632
1633
|
s.push(u);
|
|
1633
1634
|
}
|
|
1634
1635
|
);
|
|
@@ -1636,11 +1637,11 @@ var Vo = function(t, r, n, o) {
|
|
|
1636
1637
|
{
|
|
1637
1638
|
var m, p = [Io, jo(function(u) {
|
|
1638
1639
|
m.insert(u);
|
|
1639
|
-
})],
|
|
1640
|
-
return qe(_o(v),
|
|
1640
|
+
})], h = Mo(f.concat(o, p)), g = function(v) {
|
|
1641
|
+
return qe(_o(v), h);
|
|
1641
1642
|
};
|
|
1642
|
-
d = function(v,
|
|
1643
|
-
m = O,
|
|
1643
|
+
d = function(v, C, O, R) {
|
|
1644
|
+
m = O, g(v ? v + "{" + C.styles + "}" : C.styles), R && (y.inserted[C.name] = !0);
|
|
1644
1645
|
};
|
|
1645
1646
|
}
|
|
1646
1647
|
var y = {
|
|
@@ -1668,76 +1669,76 @@ var jr;
|
|
|
1668
1669
|
function qo() {
|
|
1669
1670
|
if (jr) return X;
|
|
1670
1671
|
jr = 1;
|
|
1671
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, a = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, s = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, f = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, p = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113,
|
|
1672
|
-
function
|
|
1673
|
-
if (typeof
|
|
1674
|
-
var
|
|
1675
|
-
switch (
|
|
1672
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, a = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, s = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, f = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, p = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, g = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, y = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, u = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, v = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, C = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, O = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
1673
|
+
function R(w) {
|
|
1674
|
+
if (typeof w == "object" && w !== null) {
|
|
1675
|
+
var S = w.$$typeof;
|
|
1676
|
+
switch (S) {
|
|
1676
1677
|
case t:
|
|
1677
|
-
switch (
|
|
1678
|
+
switch (w = w.type, w) {
|
|
1678
1679
|
case d:
|
|
1679
1680
|
case f:
|
|
1680
1681
|
case n:
|
|
1681
1682
|
case i:
|
|
1682
1683
|
case o:
|
|
1683
1684
|
case p:
|
|
1684
|
-
return
|
|
1685
|
+
return w;
|
|
1685
1686
|
default:
|
|
1686
|
-
switch (
|
|
1687
|
+
switch (w = w && w.$$typeof, w) {
|
|
1687
1688
|
case s:
|
|
1688
1689
|
case m:
|
|
1689
1690
|
case y:
|
|
1690
|
-
case
|
|
1691
|
+
case g:
|
|
1691
1692
|
case a:
|
|
1692
|
-
return C;
|
|
1693
|
-
default:
|
|
1694
1693
|
return w;
|
|
1694
|
+
default:
|
|
1695
|
+
return S;
|
|
1695
1696
|
}
|
|
1696
1697
|
}
|
|
1697
1698
|
case r:
|
|
1698
|
-
return
|
|
1699
|
+
return S;
|
|
1699
1700
|
}
|
|
1700
1701
|
}
|
|
1701
1702
|
}
|
|
1702
|
-
function T(
|
|
1703
|
-
return
|
|
1703
|
+
function T(w) {
|
|
1704
|
+
return R(w) === f;
|
|
1704
1705
|
}
|
|
1705
|
-
return X.AsyncMode = d, X.ConcurrentMode = f, X.ContextConsumer = s, X.ContextProvider = a, X.Element = t, X.ForwardRef = m, X.Fragment = n, X.Lazy = y, X.Memo =
|
|
1706
|
-
return T(
|
|
1707
|
-
}, X.isConcurrentMode = T, X.isContextConsumer = function(
|
|
1708
|
-
return
|
|
1709
|
-
}, X.isContextProvider = function(
|
|
1710
|
-
return
|
|
1711
|
-
}, X.isElement = function(
|
|
1712
|
-
return typeof
|
|
1713
|
-
}, X.isForwardRef = function(
|
|
1714
|
-
return
|
|
1715
|
-
}, X.isFragment = function(
|
|
1716
|
-
return
|
|
1717
|
-
}, X.isLazy = function(
|
|
1718
|
-
return
|
|
1719
|
-
}, X.isMemo = function(
|
|
1720
|
-
return
|
|
1721
|
-
}, X.isPortal = function(
|
|
1722
|
-
return
|
|
1723
|
-
}, X.isProfiler = function(
|
|
1724
|
-
return
|
|
1725
|
-
}, X.isStrictMode = function(
|
|
1726
|
-
return
|
|
1727
|
-
}, X.isSuspense = function(
|
|
1728
|
-
return
|
|
1729
|
-
}, X.isValidElementType = function(
|
|
1730
|
-
return typeof
|
|
1731
|
-
}, X.typeOf =
|
|
1706
|
+
return X.AsyncMode = d, X.ConcurrentMode = f, X.ContextConsumer = s, X.ContextProvider = a, X.Element = t, X.ForwardRef = m, X.Fragment = n, X.Lazy = y, X.Memo = g, X.Portal = r, X.Profiler = i, X.StrictMode = o, X.Suspense = p, X.isAsyncMode = function(w) {
|
|
1707
|
+
return T(w) || R(w) === d;
|
|
1708
|
+
}, X.isConcurrentMode = T, X.isContextConsumer = function(w) {
|
|
1709
|
+
return R(w) === s;
|
|
1710
|
+
}, X.isContextProvider = function(w) {
|
|
1711
|
+
return R(w) === a;
|
|
1712
|
+
}, X.isElement = function(w) {
|
|
1713
|
+
return typeof w == "object" && w !== null && w.$$typeof === t;
|
|
1714
|
+
}, X.isForwardRef = function(w) {
|
|
1715
|
+
return R(w) === m;
|
|
1716
|
+
}, X.isFragment = function(w) {
|
|
1717
|
+
return R(w) === n;
|
|
1718
|
+
}, X.isLazy = function(w) {
|
|
1719
|
+
return R(w) === y;
|
|
1720
|
+
}, X.isMemo = function(w) {
|
|
1721
|
+
return R(w) === g;
|
|
1722
|
+
}, X.isPortal = function(w) {
|
|
1723
|
+
return R(w) === r;
|
|
1724
|
+
}, X.isProfiler = function(w) {
|
|
1725
|
+
return R(w) === i;
|
|
1726
|
+
}, X.isStrictMode = function(w) {
|
|
1727
|
+
return R(w) === o;
|
|
1728
|
+
}, X.isSuspense = function(w) {
|
|
1729
|
+
return R(w) === p;
|
|
1730
|
+
}, X.isValidElementType = function(w) {
|
|
1731
|
+
return typeof w == "string" || typeof w == "function" || w === n || w === f || w === i || w === o || w === p || w === h || typeof w == "object" && w !== null && (w.$$typeof === y || w.$$typeof === g || w.$$typeof === a || w.$$typeof === s || w.$$typeof === m || w.$$typeof === v || w.$$typeof === C || w.$$typeof === O || w.$$typeof === u);
|
|
1732
|
+
}, X.typeOf = R, X;
|
|
1732
1733
|
}
|
|
1733
1734
|
var Q = {};
|
|
1734
1735
|
var Lr;
|
|
1735
1736
|
function Yo() {
|
|
1736
1737
|
return Lr || (Lr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
1737
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, a = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, s = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, f = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, p = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113,
|
|
1738
|
-
function
|
|
1738
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, a = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, s = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, f = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, p = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, g = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, y = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, u = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, v = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, C = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, O = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
1739
|
+
function R(N) {
|
|
1739
1740
|
return typeof N == "string" || typeof N == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1740
|
-
N === n || N === f || N === i || N === o || N === p || N ===
|
|
1741
|
+
N === n || N === f || N === i || N === o || N === p || N === h || typeof N == "object" && N !== null && (N.$$typeof === y || N.$$typeof === g || N.$$typeof === a || N.$$typeof === s || N.$$typeof === m || N.$$typeof === v || N.$$typeof === C || N.$$typeof === O || N.$$typeof === u);
|
|
1741
1742
|
}
|
|
1742
1743
|
function T(N) {
|
|
1743
1744
|
if (typeof N == "object" && N !== null) {
|
|
@@ -1759,7 +1760,7 @@ function Yo() {
|
|
|
1759
1760
|
case s:
|
|
1760
1761
|
case m:
|
|
1761
1762
|
case y:
|
|
1762
|
-
case
|
|
1763
|
+
case g:
|
|
1763
1764
|
case a:
|
|
1764
1765
|
return _r;
|
|
1765
1766
|
default:
|
|
@@ -1771,33 +1772,33 @@ function Yo() {
|
|
|
1771
1772
|
}
|
|
1772
1773
|
}
|
|
1773
1774
|
}
|
|
1774
|
-
var
|
|
1775
|
+
var w = d, S = f, _ = s, A = a, j = t, ne = m, B = n, l = y, P = g, E = r, I = i, z = o, le = p, ge = !1;
|
|
1775
1776
|
function We(N) {
|
|
1776
|
-
return ge || (ge = !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.")),
|
|
1777
|
+
return ge || (ge = !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.")), k(N) || T(N) === d;
|
|
1777
1778
|
}
|
|
1778
|
-
function
|
|
1779
|
+
function k(N) {
|
|
1779
1780
|
return T(N) === f;
|
|
1780
1781
|
}
|
|
1781
1782
|
function $(N) {
|
|
1782
1783
|
return T(N) === s;
|
|
1783
1784
|
}
|
|
1784
|
-
function
|
|
1785
|
+
function V(N) {
|
|
1785
1786
|
return T(N) === a;
|
|
1786
1787
|
}
|
|
1787
|
-
function
|
|
1788
|
+
function W(N) {
|
|
1788
1789
|
return typeof N == "object" && N !== null && N.$$typeof === t;
|
|
1789
1790
|
}
|
|
1790
|
-
function
|
|
1791
|
+
function L(N) {
|
|
1791
1792
|
return T(N) === m;
|
|
1792
1793
|
}
|
|
1793
1794
|
function U(N) {
|
|
1794
1795
|
return T(N) === n;
|
|
1795
1796
|
}
|
|
1796
|
-
function
|
|
1797
|
+
function D(N) {
|
|
1797
1798
|
return T(N) === y;
|
|
1798
1799
|
}
|
|
1799
|
-
function
|
|
1800
|
-
return T(N) ===
|
|
1800
|
+
function F(N) {
|
|
1801
|
+
return T(N) === g;
|
|
1801
1802
|
}
|
|
1802
1803
|
function q(N) {
|
|
1803
1804
|
return T(N) === r;
|
|
@@ -1811,7 +1812,7 @@ function Yo() {
|
|
|
1811
1812
|
function me(N) {
|
|
1812
1813
|
return T(N) === p;
|
|
1813
1814
|
}
|
|
1814
|
-
Q.AsyncMode =
|
|
1815
|
+
Q.AsyncMode = w, Q.ConcurrentMode = S, Q.ContextConsumer = _, Q.ContextProvider = A, Q.Element = j, Q.ForwardRef = ne, Q.Fragment = B, Q.Lazy = l, Q.Memo = P, Q.Portal = E, Q.Profiler = I, Q.StrictMode = z, Q.Suspense = le, Q.isAsyncMode = We, Q.isConcurrentMode = k, Q.isContextConsumer = $, Q.isContextProvider = V, Q.isElement = W, Q.isForwardRef = L, Q.isFragment = U, Q.isLazy = D, Q.isMemo = F, Q.isPortal = q, Q.isProfiler = J, Q.isStrictMode = Y, Q.isSuspense = me, Q.isValidElementType = R, Q.typeOf = T;
|
|
1815
1816
|
})()), Q;
|
|
1816
1817
|
}
|
|
1817
1818
|
var Br;
|
|
@@ -2041,7 +2042,7 @@ function An(e, t, r) {
|
|
|
2041
2042
|
}
|
|
2042
2043
|
var ri = function(t) {
|
|
2043
2044
|
return t();
|
|
2044
|
-
}, ni =
|
|
2045
|
+
}, ni = G.useInsertionEffect ? G.useInsertionEffect : !1, oi = ni || ri, Pn = /* @__PURE__ */ G.createContext(
|
|
2045
2046
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
2046
2047
|
// because this module is primarily intended for the browser and node
|
|
2047
2048
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -2058,7 +2059,7 @@ var ii = function(t) {
|
|
|
2058
2059
|
var o = mo(Pn);
|
|
2059
2060
|
return t(r, o, n);
|
|
2060
2061
|
});
|
|
2061
|
-
}, _n = /* @__PURE__ */
|
|
2062
|
+
}, _n = /* @__PURE__ */ G.createContext({}), ai = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, si = /* @__PURE__ */ Tn(
|
|
2062
2063
|
function(e) {
|
|
2063
2064
|
return ai.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
2064
2065
|
}
|
|
@@ -2093,38 +2094,38 @@ var ii = function(t) {
|
|
|
2093
2094
|
if (i !== void 0 && p.push("label:" + i + ";"), m[0] == null || m[0].raw === void 0)
|
|
2094
2095
|
p.push.apply(p, m);
|
|
2095
2096
|
else {
|
|
2096
|
-
var
|
|
2097
|
-
p.push(
|
|
2098
|
-
for (var
|
|
2099
|
-
p.push(m[y],
|
|
2097
|
+
var h = m[0];
|
|
2098
|
+
p.push(h[0]);
|
|
2099
|
+
for (var g = m.length, y = 1; y < g; y++)
|
|
2100
|
+
p.push(m[y], h[y]);
|
|
2100
2101
|
}
|
|
2101
|
-
var u = ii(function(v,
|
|
2102
|
-
var
|
|
2102
|
+
var u = ii(function(v, C, O) {
|
|
2103
|
+
var R = f && v.as || o, T = "", w = [], S = v;
|
|
2103
2104
|
if (v.theme == null) {
|
|
2104
|
-
|
|
2105
|
-
for (var
|
|
2106
|
-
|
|
2107
|
-
|
|
2105
|
+
S = {};
|
|
2106
|
+
for (var _ in v)
|
|
2107
|
+
S[_] = v[_];
|
|
2108
|
+
S.theme = G.useContext(_n);
|
|
2108
2109
|
}
|
|
2109
|
-
typeof v.className == "string" ? T = Ko(
|
|
2110
|
-
var
|
|
2111
|
-
T +=
|
|
2112
|
-
var
|
|
2110
|
+
typeof v.className == "string" ? T = Ko(C.registered, w, v.className) : v.className != null && (T = v.className + " ");
|
|
2111
|
+
var A = An(p.concat(w), C.registered, S);
|
|
2112
|
+
T += C.key + "-" + A.name, a !== void 0 && (T += " " + a);
|
|
2113
|
+
var j = f && s === void 0 ? Vr(R) : d, ne = {};
|
|
2113
2114
|
for (var B in v)
|
|
2114
|
-
f && B === "as" ||
|
|
2115
|
-
return
|
|
2116
|
-
cache:
|
|
2117
|
-
serialized:
|
|
2118
|
-
isStringTag: typeof
|
|
2119
|
-
}), /* @__PURE__ */
|
|
2115
|
+
f && B === "as" || j(B) && (ne[B] = v[B]);
|
|
2116
|
+
return ne.className = T, O && (ne.ref = O), /* @__PURE__ */ G.createElement(G.Fragment, null, /* @__PURE__ */ G.createElement(ui, {
|
|
2117
|
+
cache: C,
|
|
2118
|
+
serialized: A,
|
|
2119
|
+
isStringTag: typeof R == "string"
|
|
2120
|
+
}), /* @__PURE__ */ G.createElement(R, ne));
|
|
2120
2121
|
});
|
|
2121
2122
|
return u.displayName = i !== void 0 ? i : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", u.defaultProps = t.defaultProps, u.__emotion_real = u, u.__emotion_base = o, u.__emotion_styles = p, u.__emotion_forwardProp = s, Object.defineProperty(u, "toString", {
|
|
2122
2123
|
value: function() {
|
|
2123
2124
|
return "." + a;
|
|
2124
2125
|
}
|
|
2125
|
-
}), u.withComponent = function(v,
|
|
2126
|
-
var O = e(v, lr({}, r,
|
|
2127
|
-
shouldForwardProp: zr(u,
|
|
2126
|
+
}), u.withComponent = function(v, C) {
|
|
2127
|
+
var O = e(v, lr({}, r, C, {
|
|
2128
|
+
shouldForwardProp: zr(u, C, !0)
|
|
2128
2129
|
}));
|
|
2129
2130
|
return O.apply(void 0, p);
|
|
2130
2131
|
}, u;
|
|
@@ -2309,8 +2310,8 @@ function pi() {
|
|
|
2309
2310
|
t.call(s, p) && (d[p] = s[p]);
|
|
2310
2311
|
if (e) {
|
|
2311
2312
|
f = e(s);
|
|
2312
|
-
for (var
|
|
2313
|
-
r.call(s, f[
|
|
2313
|
+
for (var h = 0; h < f.length; h++)
|
|
2314
|
+
r.call(s, f[h]) && (d[f[h]] = s[f[h]]);
|
|
2314
2315
|
}
|
|
2315
2316
|
}
|
|
2316
2317
|
return d;
|
|
@@ -2351,10 +2352,10 @@ function mi() {
|
|
|
2351
2352
|
var p;
|
|
2352
2353
|
try {
|
|
2353
2354
|
if (typeof i[m] != "function") {
|
|
2354
|
-
var
|
|
2355
|
+
var h = Error(
|
|
2355
2356
|
(d || "React class") + ": " + s + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
2356
2357
|
);
|
|
2357
|
-
throw
|
|
2358
|
+
throw h.name = "Invariant Violation", h;
|
|
2358
2359
|
}
|
|
2359
2360
|
p = i[m](a, m, d, s, null, t);
|
|
2360
2361
|
} catch (y) {
|
|
@@ -2364,9 +2365,9 @@ function mi() {
|
|
|
2364
2365
|
(d || "React class") + ": type specification of " + s + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
2365
2366
|
), p instanceof Error && !(p.message in r)) {
|
|
2366
2367
|
r[p.message] = !0;
|
|
2367
|
-
var
|
|
2368
|
+
var g = f ? f() : "";
|
|
2368
2369
|
e(
|
|
2369
|
-
"Failed " + s + " type: " + p.message + (
|
|
2370
|
+
"Failed " + s + " type: " + p.message + (g ?? "")
|
|
2370
2371
|
);
|
|
2371
2372
|
}
|
|
2372
2373
|
}
|
|
@@ -2395,70 +2396,70 @@ function hi() {
|
|
|
2395
2396
|
}
|
|
2396
2397
|
return rr = function(s, d) {
|
|
2397
2398
|
var f = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
|
|
2398
|
-
function p(
|
|
2399
|
-
var $ =
|
|
2399
|
+
function p(k) {
|
|
2400
|
+
var $ = k && (f && k[f] || k[m]);
|
|
2400
2401
|
if (typeof $ == "function")
|
|
2401
2402
|
return $;
|
|
2402
2403
|
}
|
|
2403
|
-
var
|
|
2404
|
-
array:
|
|
2405
|
-
bigint:
|
|
2406
|
-
bool:
|
|
2407
|
-
func:
|
|
2408
|
-
number:
|
|
2409
|
-
object:
|
|
2410
|
-
string:
|
|
2411
|
-
symbol:
|
|
2404
|
+
var h = "<<anonymous>>", g = {
|
|
2405
|
+
array: C("array"),
|
|
2406
|
+
bigint: C("bigint"),
|
|
2407
|
+
bool: C("boolean"),
|
|
2408
|
+
func: C("function"),
|
|
2409
|
+
number: C("number"),
|
|
2410
|
+
object: C("object"),
|
|
2411
|
+
string: C("string"),
|
|
2412
|
+
symbol: C("symbol"),
|
|
2412
2413
|
any: O(),
|
|
2413
|
-
arrayOf:
|
|
2414
|
+
arrayOf: R,
|
|
2414
2415
|
element: T(),
|
|
2415
|
-
elementType:
|
|
2416
|
-
instanceOf:
|
|
2417
|
-
node:
|
|
2418
|
-
objectOf:
|
|
2419
|
-
oneOf:
|
|
2420
|
-
oneOfType:
|
|
2416
|
+
elementType: w(),
|
|
2417
|
+
instanceOf: S,
|
|
2418
|
+
node: ne(),
|
|
2419
|
+
objectOf: A,
|
|
2420
|
+
oneOf: _,
|
|
2421
|
+
oneOfType: j,
|
|
2421
2422
|
shape: l,
|
|
2422
2423
|
exact: P
|
|
2423
2424
|
};
|
|
2424
|
-
function y(
|
|
2425
|
-
return
|
|
2425
|
+
function y(k, $) {
|
|
2426
|
+
return k === $ ? k !== 0 || 1 / k === 1 / $ : k !== k && $ !== $;
|
|
2426
2427
|
}
|
|
2427
|
-
function u(
|
|
2428
|
-
this.message =
|
|
2428
|
+
function u(k, $) {
|
|
2429
|
+
this.message = k, this.data = $ && typeof $ == "object" ? $ : {}, this.stack = "";
|
|
2429
2430
|
}
|
|
2430
2431
|
u.prototype = Error.prototype;
|
|
2431
|
-
function v(
|
|
2432
|
+
function v(k) {
|
|
2432
2433
|
if (process.env.NODE_ENV !== "production")
|
|
2433
|
-
var $ = {},
|
|
2434
|
-
function
|
|
2435
|
-
if (q = q ||
|
|
2434
|
+
var $ = {}, V = 0;
|
|
2435
|
+
function W(U, D, F, q, J, Y, me) {
|
|
2436
|
+
if (q = q || h, Y = Y || F, me !== r) {
|
|
2436
2437
|
if (d) {
|
|
2437
2438
|
var N = new Error(
|
|
2438
2439
|
"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"
|
|
2439
2440
|
);
|
|
2440
2441
|
throw N.name = "Invariant Violation", N;
|
|
2441
2442
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
2442
|
-
var Ce = q + ":" +
|
|
2443
|
+
var Ce = q + ":" + F;
|
|
2443
2444
|
!$[Ce] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
2444
|
-
|
|
2445
|
+
V < 3 && (i(
|
|
2445
2446
|
"You are manually calling a React.PropTypes validation function for the `" + Y + "` prop on `" + q + "`. 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."
|
|
2446
|
-
), $[Ce] = !0,
|
|
2447
|
+
), $[Ce] = !0, V++);
|
|
2447
2448
|
}
|
|
2448
2449
|
}
|
|
2449
|
-
return
|
|
2450
|
+
return D[F] == null ? U ? D[F] === null ? new u("The " + J + " `" + Y + "` is marked as required " + ("in `" + q + "`, but its value is `null`.")) : new u("The " + J + " `" + Y + "` is marked as required in " + ("`" + q + "`, but its value is `undefined`.")) : null : k(D, F, q, J, Y);
|
|
2450
2451
|
}
|
|
2451
|
-
var
|
|
2452
|
-
return
|
|
2452
|
+
var L = W.bind(null, !1);
|
|
2453
|
+
return L.isRequired = W.bind(null, !0), L;
|
|
2453
2454
|
}
|
|
2454
|
-
function k
|
|
2455
|
-
function $(
|
|
2456
|
-
var q =
|
|
2457
|
-
if (J !==
|
|
2455
|
+
function C(k) {
|
|
2456
|
+
function $(V, W, L, U, D, F) {
|
|
2457
|
+
var q = V[W], J = z(q);
|
|
2458
|
+
if (J !== k) {
|
|
2458
2459
|
var Y = le(q);
|
|
2459
2460
|
return new u(
|
|
2460
|
-
"Invalid " + U + " `" +
|
|
2461
|
-
{ expectedType:
|
|
2461
|
+
"Invalid " + U + " `" + D + "` of type " + ("`" + Y + "` supplied to `" + L + "`, expected ") + ("`" + k + "`."),
|
|
2462
|
+
{ expectedType: k }
|
|
2462
2463
|
);
|
|
2463
2464
|
}
|
|
2464
2465
|
return null;
|
|
@@ -2468,17 +2469,17 @@ function hi() {
|
|
|
2468
2469
|
function O() {
|
|
2469
2470
|
return v(a);
|
|
2470
2471
|
}
|
|
2471
|
-
function
|
|
2472
|
-
function $(
|
|
2473
|
-
if (typeof
|
|
2474
|
-
return new u("Property `" +
|
|
2475
|
-
var
|
|
2476
|
-
if (!Array.isArray(
|
|
2477
|
-
var q =
|
|
2478
|
-
return new u("Invalid " + U + " `" +
|
|
2472
|
+
function R(k) {
|
|
2473
|
+
function $(V, W, L, U, D) {
|
|
2474
|
+
if (typeof k != "function")
|
|
2475
|
+
return new u("Property `" + D + "` of component `" + L + "` has invalid PropType notation inside arrayOf.");
|
|
2476
|
+
var F = V[W];
|
|
2477
|
+
if (!Array.isArray(F)) {
|
|
2478
|
+
var q = z(F);
|
|
2479
|
+
return new u("Invalid " + U + " `" + D + "` of type " + ("`" + q + "` supplied to `" + L + "`, expected an array."));
|
|
2479
2480
|
}
|
|
2480
|
-
for (var J = 0; J <
|
|
2481
|
-
var Y =
|
|
2481
|
+
for (var J = 0; J < F.length; J++) {
|
|
2482
|
+
var Y = k(F, J, L, U, D + "[" + J + "]", r);
|
|
2482
2483
|
if (Y instanceof Error)
|
|
2483
2484
|
return Y;
|
|
2484
2485
|
}
|
|
@@ -2487,64 +2488,64 @@ function hi() {
|
|
|
2487
2488
|
return v($);
|
|
2488
2489
|
}
|
|
2489
2490
|
function T() {
|
|
2490
|
-
function
|
|
2491
|
-
var
|
|
2492
|
-
if (!s(
|
|
2493
|
-
var
|
|
2494
|
-
return new u("Invalid " +
|
|
2491
|
+
function k($, V, W, L, U) {
|
|
2492
|
+
var D = $[V];
|
|
2493
|
+
if (!s(D)) {
|
|
2494
|
+
var F = z(D);
|
|
2495
|
+
return new u("Invalid " + L + " `" + U + "` of type " + ("`" + F + "` supplied to `" + W + "`, expected a single ReactElement."));
|
|
2495
2496
|
}
|
|
2496
2497
|
return null;
|
|
2497
2498
|
}
|
|
2498
|
-
return v(
|
|
2499
|
+
return v(k);
|
|
2499
2500
|
}
|
|
2500
|
-
function
|
|
2501
|
-
function
|
|
2502
|
-
var
|
|
2503
|
-
if (!e.isValidElementType(
|
|
2504
|
-
var
|
|
2505
|
-
return new u("Invalid " +
|
|
2501
|
+
function w() {
|
|
2502
|
+
function k($, V, W, L, U) {
|
|
2503
|
+
var D = $[V];
|
|
2504
|
+
if (!e.isValidElementType(D)) {
|
|
2505
|
+
var F = z(D);
|
|
2506
|
+
return new u("Invalid " + L + " `" + U + "` of type " + ("`" + F + "` supplied to `" + W + "`, expected a single ReactElement type."));
|
|
2506
2507
|
}
|
|
2507
2508
|
return null;
|
|
2508
2509
|
}
|
|
2509
|
-
return v(
|
|
2510
|
+
return v(k);
|
|
2510
2511
|
}
|
|
2511
|
-
function
|
|
2512
|
-
function $(
|
|
2513
|
-
if (!(
|
|
2514
|
-
var
|
|
2515
|
-
return new u("Invalid " + U + " `" +
|
|
2512
|
+
function S(k) {
|
|
2513
|
+
function $(V, W, L, U, D) {
|
|
2514
|
+
if (!(V[W] instanceof k)) {
|
|
2515
|
+
var F = k.name || h, q = We(V[W]);
|
|
2516
|
+
return new u("Invalid " + U + " `" + D + "` of type " + ("`" + q + "` supplied to `" + L + "`, expected ") + ("instance of `" + F + "`."));
|
|
2516
2517
|
}
|
|
2517
2518
|
return null;
|
|
2518
2519
|
}
|
|
2519
2520
|
return v($);
|
|
2520
2521
|
}
|
|
2521
|
-
function
|
|
2522
|
-
if (!Array.isArray(
|
|
2522
|
+
function _(k) {
|
|
2523
|
+
if (!Array.isArray(k))
|
|
2523
2524
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
2524
2525
|
"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])."
|
|
2525
2526
|
) : i("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
2526
|
-
function $(
|
|
2527
|
-
for (var
|
|
2528
|
-
if (y(
|
|
2527
|
+
function $(V, W, L, U, D) {
|
|
2528
|
+
for (var F = V[W], q = 0; q < k.length; q++)
|
|
2529
|
+
if (y(F, k[q]))
|
|
2529
2530
|
return null;
|
|
2530
|
-
var J = JSON.stringify(
|
|
2531
|
+
var J = JSON.stringify(k, function(me, N) {
|
|
2531
2532
|
var Ce = le(N);
|
|
2532
2533
|
return Ce === "symbol" ? String(N) : N;
|
|
2533
2534
|
});
|
|
2534
|
-
return new u("Invalid " + U + " `" +
|
|
2535
|
+
return new u("Invalid " + U + " `" + D + "` of value `" + String(F) + "` " + ("supplied to `" + L + "`, expected one of " + J + "."));
|
|
2535
2536
|
}
|
|
2536
2537
|
return v($);
|
|
2537
2538
|
}
|
|
2538
|
-
function
|
|
2539
|
-
function $(
|
|
2540
|
-
if (typeof
|
|
2541
|
-
return new u("Property `" +
|
|
2542
|
-
var
|
|
2539
|
+
function A(k) {
|
|
2540
|
+
function $(V, W, L, U, D) {
|
|
2541
|
+
if (typeof k != "function")
|
|
2542
|
+
return new u("Property `" + D + "` of component `" + L + "` has invalid PropType notation inside objectOf.");
|
|
2543
|
+
var F = V[W], q = z(F);
|
|
2543
2544
|
if (q !== "object")
|
|
2544
|
-
return new u("Invalid " + U + " `" +
|
|
2545
|
-
for (var J in
|
|
2546
|
-
if (n(
|
|
2547
|
-
var Y =
|
|
2545
|
+
return new u("Invalid " + U + " `" + D + "` of type " + ("`" + q + "` supplied to `" + L + "`, expected an object."));
|
|
2546
|
+
for (var J in F)
|
|
2547
|
+
if (n(F, J)) {
|
|
2548
|
+
var Y = k(F, J, L, U, D + "." + J, r);
|
|
2548
2549
|
if (Y instanceof Error)
|
|
2549
2550
|
return Y;
|
|
2550
2551
|
}
|
|
@@ -2552,49 +2553,49 @@ function hi() {
|
|
|
2552
2553
|
}
|
|
2553
2554
|
return v($);
|
|
2554
2555
|
}
|
|
2555
|
-
function
|
|
2556
|
-
if (!Array.isArray(
|
|
2556
|
+
function j(k) {
|
|
2557
|
+
if (!Array.isArray(k))
|
|
2557
2558
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
2558
|
-
for (var $ = 0; $ <
|
|
2559
|
-
var
|
|
2560
|
-
if (typeof
|
|
2559
|
+
for (var $ = 0; $ < k.length; $++) {
|
|
2560
|
+
var V = k[$];
|
|
2561
|
+
if (typeof V != "function")
|
|
2561
2562
|
return i(
|
|
2562
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ge(
|
|
2563
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ge(V) + " at index " + $ + "."
|
|
2563
2564
|
), a;
|
|
2564
2565
|
}
|
|
2565
|
-
function
|
|
2566
|
-
for (var J = [], Y = 0; Y <
|
|
2567
|
-
var me =
|
|
2566
|
+
function W(L, U, D, F, q) {
|
|
2567
|
+
for (var J = [], Y = 0; Y < k.length; Y++) {
|
|
2568
|
+
var me = k[Y], N = me(L, U, D, F, q, r);
|
|
2568
2569
|
if (N == null)
|
|
2569
2570
|
return null;
|
|
2570
2571
|
N.data && n(N.data, "expectedType") && J.push(N.data.expectedType);
|
|
2571
2572
|
}
|
|
2572
2573
|
var Ce = J.length > 0 ? ", expected one of type [" + J.join(", ") + "]" : "";
|
|
2573
|
-
return new u("Invalid " +
|
|
2574
|
+
return new u("Invalid " + F + " `" + q + "` supplied to " + ("`" + D + "`" + Ce + "."));
|
|
2574
2575
|
}
|
|
2575
|
-
return v(
|
|
2576
|
+
return v(W);
|
|
2576
2577
|
}
|
|
2577
|
-
function
|
|
2578
|
-
function
|
|
2579
|
-
return E($[
|
|
2578
|
+
function ne() {
|
|
2579
|
+
function k($, V, W, L, U) {
|
|
2580
|
+
return E($[V]) ? null : new u("Invalid " + L + " `" + U + "` supplied to " + ("`" + W + "`, expected a ReactNode."));
|
|
2580
2581
|
}
|
|
2581
|
-
return v(
|
|
2582
|
+
return v(k);
|
|
2582
2583
|
}
|
|
2583
|
-
function B(
|
|
2584
|
+
function B(k, $, V, W, L) {
|
|
2584
2585
|
return new u(
|
|
2585
|
-
(
|
|
2586
|
+
(k || "React class") + ": " + $ + " type `" + V + "." + W + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + L + "`."
|
|
2586
2587
|
);
|
|
2587
2588
|
}
|
|
2588
|
-
function l(
|
|
2589
|
-
function $(
|
|
2590
|
-
var
|
|
2589
|
+
function l(k) {
|
|
2590
|
+
function $(V, W, L, U, D) {
|
|
2591
|
+
var F = V[W], q = z(F);
|
|
2591
2592
|
if (q !== "object")
|
|
2592
|
-
return new u("Invalid " + U + " `" +
|
|
2593
|
-
for (var J in
|
|
2594
|
-
var Y =
|
|
2593
|
+
return new u("Invalid " + U + " `" + D + "` of type `" + q + "` " + ("supplied to `" + L + "`, expected `object`."));
|
|
2594
|
+
for (var J in k) {
|
|
2595
|
+
var Y = k[J];
|
|
2595
2596
|
if (typeof Y != "function")
|
|
2596
|
-
return B(
|
|
2597
|
-
var me = Y(
|
|
2597
|
+
return B(L, U, D, J, le(Y));
|
|
2598
|
+
var me = Y(F, J, L, U, D + "." + J, r);
|
|
2598
2599
|
if (me)
|
|
2599
2600
|
return me;
|
|
2600
2601
|
}
|
|
@@ -2602,22 +2603,22 @@ function hi() {
|
|
|
2602
2603
|
}
|
|
2603
2604
|
return v($);
|
|
2604
2605
|
}
|
|
2605
|
-
function P(
|
|
2606
|
-
function $(
|
|
2607
|
-
var
|
|
2606
|
+
function P(k) {
|
|
2607
|
+
function $(V, W, L, U, D) {
|
|
2608
|
+
var F = V[W], q = z(F);
|
|
2608
2609
|
if (q !== "object")
|
|
2609
|
-
return new u("Invalid " + U + " `" +
|
|
2610
|
-
var J = t({},
|
|
2610
|
+
return new u("Invalid " + U + " `" + D + "` of type `" + q + "` " + ("supplied to `" + L + "`, expected `object`."));
|
|
2611
|
+
var J = t({}, V[W], k);
|
|
2611
2612
|
for (var Y in J) {
|
|
2612
|
-
var me =
|
|
2613
|
-
if (n(
|
|
2614
|
-
return B(
|
|
2613
|
+
var me = k[Y];
|
|
2614
|
+
if (n(k, Y) && typeof me != "function")
|
|
2615
|
+
return B(L, U, D, Y, le(me));
|
|
2615
2616
|
if (!me)
|
|
2616
2617
|
return new u(
|
|
2617
|
-
"Invalid " + U + " `" +
|
|
2618
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
2618
|
+
"Invalid " + U + " `" + D + "` key `" + Y + "` supplied to `" + L + "`.\nBad object: " + JSON.stringify(V[W], null, " ") + `
|
|
2619
|
+
Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
|
|
2619
2620
|
);
|
|
2620
|
-
var N = me(
|
|
2621
|
+
var N = me(F, Y, L, U, D + "." + Y, r);
|
|
2621
2622
|
if (N)
|
|
2622
2623
|
return N;
|
|
2623
2624
|
}
|
|
@@ -2625,30 +2626,30 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " ")
|
|
|
2625
2626
|
}
|
|
2626
2627
|
return v($);
|
|
2627
2628
|
}
|
|
2628
|
-
function E(
|
|
2629
|
-
switch (typeof
|
|
2629
|
+
function E(k) {
|
|
2630
|
+
switch (typeof k) {
|
|
2630
2631
|
case "number":
|
|
2631
2632
|
case "string":
|
|
2632
2633
|
case "undefined":
|
|
2633
2634
|
return !0;
|
|
2634
2635
|
case "boolean":
|
|
2635
|
-
return !
|
|
2636
|
+
return !k;
|
|
2636
2637
|
case "object":
|
|
2637
|
-
if (Array.isArray(
|
|
2638
|
-
return
|
|
2639
|
-
if (
|
|
2638
|
+
if (Array.isArray(k))
|
|
2639
|
+
return k.every(E);
|
|
2640
|
+
if (k === null || s(k))
|
|
2640
2641
|
return !0;
|
|
2641
|
-
var $ = p(
|
|
2642
|
+
var $ = p(k);
|
|
2642
2643
|
if ($) {
|
|
2643
|
-
var
|
|
2644
|
-
if ($ !==
|
|
2645
|
-
for (; !(
|
|
2646
|
-
if (!E(
|
|
2644
|
+
var V = $.call(k), W;
|
|
2645
|
+
if ($ !== k.entries) {
|
|
2646
|
+
for (; !(W = V.next()).done; )
|
|
2647
|
+
if (!E(W.value))
|
|
2647
2648
|
return !1;
|
|
2648
2649
|
} else
|
|
2649
|
-
for (; !(
|
|
2650
|
-
var
|
|
2651
|
-
if (
|
|
2650
|
+
for (; !(W = V.next()).done; ) {
|
|
2651
|
+
var L = W.value;
|
|
2652
|
+
if (L && !E(L[1]))
|
|
2652
2653
|
return !1;
|
|
2653
2654
|
}
|
|
2654
2655
|
} else
|
|
@@ -2658,27 +2659,27 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " ")
|
|
|
2658
2659
|
return !1;
|
|
2659
2660
|
}
|
|
2660
2661
|
}
|
|
2661
|
-
function
|
|
2662
|
-
return
|
|
2662
|
+
function I(k, $) {
|
|
2663
|
+
return k === "symbol" ? !0 : $ ? $["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && $ instanceof Symbol : !1;
|
|
2663
2664
|
}
|
|
2664
|
-
function
|
|
2665
|
-
var $ = typeof
|
|
2666
|
-
return Array.isArray(
|
|
2665
|
+
function z(k) {
|
|
2666
|
+
var $ = typeof k;
|
|
2667
|
+
return Array.isArray(k) ? "array" : k instanceof RegExp ? "object" : I($, k) ? "symbol" : $;
|
|
2667
2668
|
}
|
|
2668
|
-
function le(
|
|
2669
|
-
if (typeof
|
|
2670
|
-
return "" +
|
|
2671
|
-
var $ =
|
|
2669
|
+
function le(k) {
|
|
2670
|
+
if (typeof k > "u" || k === null)
|
|
2671
|
+
return "" + k;
|
|
2672
|
+
var $ = z(k);
|
|
2672
2673
|
if ($ === "object") {
|
|
2673
|
-
if (
|
|
2674
|
+
if (k instanceof Date)
|
|
2674
2675
|
return "date";
|
|
2675
|
-
if (
|
|
2676
|
+
if (k instanceof RegExp)
|
|
2676
2677
|
return "regexp";
|
|
2677
2678
|
}
|
|
2678
2679
|
return $;
|
|
2679
2680
|
}
|
|
2680
|
-
function ge(
|
|
2681
|
-
var $ = le(
|
|
2681
|
+
function ge(k) {
|
|
2682
|
+
var $ = le(k);
|
|
2682
2683
|
switch ($) {
|
|
2683
2684
|
case "array":
|
|
2684
2685
|
case "object":
|
|
@@ -2691,10 +2692,10 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " ")
|
|
|
2691
2692
|
return $;
|
|
2692
2693
|
}
|
|
2693
2694
|
}
|
|
2694
|
-
function We(
|
|
2695
|
-
return !
|
|
2695
|
+
function We(k) {
|
|
2696
|
+
return !k.constructor || !k.constructor.name ? h : k.constructor.name;
|
|
2696
2697
|
}
|
|
2697
|
-
return
|
|
2698
|
+
return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
|
|
2698
2699
|
}, rr;
|
|
2699
2700
|
}
|
|
2700
2701
|
var nr, Kr;
|
|
@@ -2709,10 +2710,10 @@ function gi() {
|
|
|
2709
2710
|
return r.resetWarningCache = t, nr = function() {
|
|
2710
2711
|
function n(a, s, d, f, m, p) {
|
|
2711
2712
|
if (p !== e) {
|
|
2712
|
-
var
|
|
2713
|
+
var h = new Error(
|
|
2713
2714
|
"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"
|
|
2714
2715
|
);
|
|
2715
|
-
throw
|
|
2716
|
+
throw h.name = "Invariant Violation", h;
|
|
2716
2717
|
}
|
|
2717
2718
|
}
|
|
2718
2719
|
n.isRequired = n;
|
|
@@ -2777,7 +2778,7 @@ var Jr;
|
|
|
2777
2778
|
function xi() {
|
|
2778
2779
|
if (Jr) return te;
|
|
2779
2780
|
Jr = 1;
|
|
2780
|
-
var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.consumer"), a = /* @__PURE__ */ Symbol.for("react.context"), s = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), f = /* @__PURE__ */ Symbol.for("react.suspense_list"), m = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"),
|
|
2781
|
+
var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.consumer"), a = /* @__PURE__ */ Symbol.for("react.context"), s = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), f = /* @__PURE__ */ Symbol.for("react.suspense_list"), m = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), h = /* @__PURE__ */ Symbol.for("react.view_transition"), g = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
2781
2782
|
function y(u) {
|
|
2782
2783
|
if (typeof u == "object" && u !== null) {
|
|
2783
2784
|
var v = u.$$typeof;
|
|
@@ -2789,7 +2790,7 @@ function xi() {
|
|
|
2789
2790
|
case n:
|
|
2790
2791
|
case d:
|
|
2791
2792
|
case f:
|
|
2792
|
-
case
|
|
2793
|
+
case h:
|
|
2793
2794
|
return u;
|
|
2794
2795
|
default:
|
|
2795
2796
|
switch (u = u && u.$$typeof, u) {
|
|
@@ -2834,7 +2835,7 @@ function xi() {
|
|
|
2834
2835
|
}, te.isSuspenseList = function(u) {
|
|
2835
2836
|
return y(u) === f;
|
|
2836
2837
|
}, te.isValidElementType = function(u) {
|
|
2837
|
-
return typeof u == "string" || typeof u == "function" || u === r || u === o || u === n || u === d || u === f || typeof u == "object" && u !== null && (u.$$typeof === p || u.$$typeof === m || u.$$typeof === a || u.$$typeof === i || u.$$typeof === s || u.$$typeof ===
|
|
2838
|
+
return typeof u == "string" || typeof u == "function" || u === r || u === o || u === n || u === d || u === f || typeof u == "object" && u !== null && (u.$$typeof === p || u.$$typeof === m || u.$$typeof === a || u.$$typeof === i || u.$$typeof === s || u.$$typeof === g || u.getModuleId !== void 0);
|
|
2838
2839
|
}, te.typeOf = y, te;
|
|
2839
2840
|
}
|
|
2840
2841
|
var re = {};
|
|
@@ -2852,13 +2853,13 @@ function wi() {
|
|
|
2852
2853
|
case o:
|
|
2853
2854
|
case f:
|
|
2854
2855
|
case m:
|
|
2855
|
-
case
|
|
2856
|
+
case g:
|
|
2856
2857
|
return u;
|
|
2857
2858
|
default:
|
|
2858
2859
|
switch (u = u && u.$$typeof, u) {
|
|
2859
2860
|
case s:
|
|
2860
2861
|
case d:
|
|
2861
|
-
case
|
|
2862
|
+
case h:
|
|
2862
2863
|
case p:
|
|
2863
2864
|
return u;
|
|
2864
2865
|
case a:
|
|
@@ -2872,8 +2873,8 @@ function wi() {
|
|
|
2872
2873
|
}
|
|
2873
2874
|
}
|
|
2874
2875
|
}
|
|
2875
|
-
var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), a = /* @__PURE__ */ Symbol.for("react.consumer"), s = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), f = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"),
|
|
2876
|
-
re.ContextConsumer = a, re.ContextProvider = s, re.Element = t, re.ForwardRef = d, re.Fragment = n, re.Lazy =
|
|
2876
|
+
var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), a = /* @__PURE__ */ Symbol.for("react.consumer"), s = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), f = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.view_transition"), y = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
2877
|
+
re.ContextConsumer = a, re.ContextProvider = s, re.Element = t, re.ForwardRef = d, re.Fragment = n, re.Lazy = h, re.Memo = p, re.Portal = r, re.Profiler = i, re.StrictMode = o, re.Suspense = f, re.SuspenseList = m, re.isContextConsumer = function(u) {
|
|
2877
2878
|
return e(u) === a;
|
|
2878
2879
|
}, re.isContextProvider = function(u) {
|
|
2879
2880
|
return e(u) === s;
|
|
@@ -2884,7 +2885,7 @@ function wi() {
|
|
|
2884
2885
|
}, re.isFragment = function(u) {
|
|
2885
2886
|
return e(u) === n;
|
|
2886
2887
|
}, re.isLazy = function(u) {
|
|
2887
|
-
return e(u) ===
|
|
2888
|
+
return e(u) === h;
|
|
2888
2889
|
}, re.isMemo = function(u) {
|
|
2889
2890
|
return e(u) === p;
|
|
2890
2891
|
}, re.isPortal = function(u) {
|
|
@@ -2898,7 +2899,7 @@ function wi() {
|
|
|
2898
2899
|
}, re.isSuspenseList = function(u) {
|
|
2899
2900
|
return e(u) === m;
|
|
2900
2901
|
}, re.isValidElementType = function(u) {
|
|
2901
|
-
return typeof u == "string" || typeof u == "function" || u === n || u === i || u === o || u === f || u === m || typeof u == "object" && u !== null && (u.$$typeof ===
|
|
2902
|
+
return typeof u == "string" || typeof u == "function" || u === n || u === i || u === o || u === f || u === m || typeof u == "object" && u !== null && (u.$$typeof === h || u.$$typeof === p || u.$$typeof === s || u.$$typeof === a || u.$$typeof === d || u.$$typeof === y || u.getModuleId !== void 0);
|
|
2902
2903
|
}, re.typeOf = e;
|
|
2903
2904
|
})()), re;
|
|
2904
2905
|
}
|
|
@@ -2914,7 +2915,7 @@ function Ee(e) {
|
|
|
2914
2915
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
2915
2916
|
}
|
|
2916
2917
|
function Mn(e) {
|
|
2917
|
-
if (/* @__PURE__ */
|
|
2918
|
+
if (/* @__PURE__ */ G.isValidElement(e) || ft.isValidElementType(e) || !Ee(e))
|
|
2918
2919
|
return e;
|
|
2919
2920
|
const t = {};
|
|
2920
2921
|
return Object.keys(e).forEach((r) => {
|
|
@@ -2928,7 +2929,7 @@ function pe(e, t, r = {
|
|
|
2928
2929
|
...e
|
|
2929
2930
|
} : e;
|
|
2930
2931
|
return Ee(e) && Ee(t) && Object.keys(t).forEach((o) => {
|
|
2931
|
-
/* @__PURE__ */
|
|
2932
|
+
/* @__PURE__ */ G.isValidElement(t[o]) || ft.isValidElementType(t[o]) ? n[o] = t[o] : Ee(t[o]) && // Avoid prototype pollution
|
|
2932
2933
|
Object.prototype.hasOwnProperty.call(e, o) && Ee(e[o]) ? n[o] = pe(e[o], t[o], r) : r.clone ? n[o] = Ee(t[o]) ? Mn(t[o]) : t[o] : n[o] = t[o];
|
|
2933
2934
|
}), n;
|
|
2934
2935
|
}
|
|
@@ -2962,22 +2963,22 @@ function Si(e) {
|
|
|
2962
2963
|
step: n = 5,
|
|
2963
2964
|
...o
|
|
2964
2965
|
} = e, i = ki(t), a = Object.keys(i);
|
|
2965
|
-
function s(
|
|
2966
|
-
return `@media (min-width:${typeof t[
|
|
2966
|
+
function s(h) {
|
|
2967
|
+
return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${r})`;
|
|
2967
2968
|
}
|
|
2968
|
-
function d(
|
|
2969
|
-
return `@media (max-width:${(typeof t[
|
|
2969
|
+
function d(h) {
|
|
2970
|
+
return `@media (max-width:${(typeof t[h] == "number" ? t[h] : h) - n / 100}${r})`;
|
|
2970
2971
|
}
|
|
2971
|
-
function f(
|
|
2972
|
-
const y = a.indexOf(
|
|
2973
|
-
return `@media (min-width:${typeof t[
|
|
2972
|
+
function f(h, g) {
|
|
2973
|
+
const y = a.indexOf(g);
|
|
2974
|
+
return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${r}) and (max-width:${(y !== -1 && typeof t[a[y]] == "number" ? t[a[y]] : g) - n / 100}${r})`;
|
|
2974
2975
|
}
|
|
2975
|
-
function m(
|
|
2976
|
-
return a.indexOf(
|
|
2976
|
+
function m(h) {
|
|
2977
|
+
return a.indexOf(h) + 1 < a.length ? f(h, a[a.indexOf(h) + 1]) : s(h);
|
|
2977
2978
|
}
|
|
2978
|
-
function p(
|
|
2979
|
-
const
|
|
2980
|
-
return
|
|
2979
|
+
function p(h) {
|
|
2980
|
+
const g = a.indexOf(h);
|
|
2981
|
+
return g === 0 ? s(a[1]) : g === a.length - 1 ? d(a[g]) : f(h, a[a.indexOf(h) + 1]).replace("@media", "@media not all and");
|
|
2981
2982
|
}
|
|
2982
2983
|
return {
|
|
2983
2984
|
keys: a,
|
|
@@ -3157,9 +3158,9 @@ function se(e) {
|
|
|
3157
3158
|
return null;
|
|
3158
3159
|
const s = a[t], d = a.theme, f = Mt(d, n) || {};
|
|
3159
3160
|
return we(a, s, (p) => {
|
|
3160
|
-
let
|
|
3161
|
-
return p ===
|
|
3162
|
-
[r]:
|
|
3161
|
+
let h = Ot(f, o, p);
|
|
3162
|
+
return p === h && typeof p == "string" && (h = Ot(f, o, `${t}${p === "default" ? "" : fe(p)}`, p)), r === !1 ? h : {
|
|
3163
|
+
[r]: h
|
|
3163
3164
|
};
|
|
3164
3165
|
});
|
|
3165
3166
|
};
|
|
@@ -3725,10 +3726,10 @@ function ya() {
|
|
|
3725
3726
|
return {
|
|
3726
3727
|
[r]: n
|
|
3727
3728
|
};
|
|
3728
|
-
const
|
|
3729
|
+
const h = Mt(o, f) || {};
|
|
3729
3730
|
return p ? p(a) : we(a, n, (y) => {
|
|
3730
|
-
let u = Ot(
|
|
3731
|
-
return y === u && typeof y == "string" && (u = Ot(
|
|
3731
|
+
let u = Ot(h, m, y);
|
|
3732
|
+
return y === u && typeof y == "string" && (u = Ot(h, m, `${r}${y === "default" ? "" : fe(y)}`, y)), d === !1 ? u : {
|
|
3732
3733
|
[d]: u
|
|
3733
3734
|
};
|
|
3734
3735
|
});
|
|
@@ -3751,30 +3752,30 @@ function ya() {
|
|
|
3751
3752
|
if (!f)
|
|
3752
3753
|
return null;
|
|
3753
3754
|
const m = jn(o.breakpoints), p = Object.keys(m);
|
|
3754
|
-
let
|
|
3755
|
-
return Object.keys(f).forEach((
|
|
3756
|
-
const y = ga(f[
|
|
3755
|
+
let h = m;
|
|
3756
|
+
return Object.keys(f).forEach((g) => {
|
|
3757
|
+
const y = ga(f[g], o);
|
|
3757
3758
|
if (y != null)
|
|
3758
3759
|
if (typeof y == "object")
|
|
3759
|
-
if (a[
|
|
3760
|
-
|
|
3760
|
+
if (a[g])
|
|
3761
|
+
h = at(h, e(g, y, o, a));
|
|
3761
3762
|
else {
|
|
3762
3763
|
const u = we({
|
|
3763
3764
|
theme: o
|
|
3764
3765
|
}, y, (v) => ({
|
|
3765
|
-
[
|
|
3766
|
+
[g]: v
|
|
3766
3767
|
}));
|
|
3767
|
-
ha(u, y) ? g
|
|
3768
|
+
ha(u, y) ? h[g] = t({
|
|
3768
3769
|
sx: y,
|
|
3769
3770
|
theme: o,
|
|
3770
3771
|
nested: !0
|
|
3771
|
-
}) :
|
|
3772
|
+
}) : h = at(h, u);
|
|
3772
3773
|
}
|
|
3773
3774
|
else
|
|
3774
|
-
|
|
3775
|
+
h = at(h, e(g, y, o, a));
|
|
3775
3776
|
}), !i && o.modularCssLayers ? {
|
|
3776
|
-
"@layer sx": tn(o, pr(p,
|
|
3777
|
-
} : tn(o, pr(p,
|
|
3777
|
+
"@layer sx": tn(o, pr(p, h))
|
|
3778
|
+
} : tn(o, pr(p, h));
|
|
3778
3779
|
}
|
|
3779
3780
|
return Array.isArray(n) ? n.map(s) : s(n);
|
|
3780
3781
|
}
|
|
@@ -3831,7 +3832,7 @@ function va(e) {
|
|
|
3831
3832
|
return Object.keys(e).length === 0;
|
|
3832
3833
|
}
|
|
3833
3834
|
function xa(e = null) {
|
|
3834
|
-
const t =
|
|
3835
|
+
const t = G.useContext(_n);
|
|
3835
3836
|
return !t || va(t) ? e : t;
|
|
3836
3837
|
}
|
|
3837
3838
|
const wa = Qe();
|
|
@@ -3906,18 +3907,18 @@ function Sa(e = {}) {
|
|
|
3906
3907
|
} = e, i = In("div", {
|
|
3907
3908
|
shouldForwardProp: (s) => s !== "theme" && s !== "sx" && s !== "as"
|
|
3908
3909
|
})(De);
|
|
3909
|
-
return /* @__PURE__ */
|
|
3910
|
+
return /* @__PURE__ */ G.forwardRef(function(d, f) {
|
|
3910
3911
|
const m = Gt(r), {
|
|
3911
3912
|
className: p,
|
|
3912
|
-
component:
|
|
3913
|
-
...
|
|
3913
|
+
component: h = "div",
|
|
3914
|
+
...g
|
|
3914
3915
|
} = Tr(d);
|
|
3915
3916
|
return /* @__PURE__ */ b(i, {
|
|
3916
|
-
as:
|
|
3917
|
+
as: h,
|
|
3917
3918
|
ref: f,
|
|
3918
3919
|
className: Ae(p, o ? o(n) : n),
|
|
3919
3920
|
theme: t && m[t] || m,
|
|
3920
|
-
...
|
|
3921
|
+
...g
|
|
3921
3922
|
});
|
|
3922
3923
|
});
|
|
3923
3924
|
}
|
|
@@ -4048,63 +4049,63 @@ function Gn(e = {}) {
|
|
|
4048
4049
|
Na(s, t, r);
|
|
4049
4050
|
}
|
|
4050
4051
|
return (s, d = {}) => {
|
|
4051
|
-
vi(s, (
|
|
4052
|
+
vi(s, (S) => S.filter((_) => _ !== De));
|
|
4052
4053
|
const {
|
|
4053
4054
|
name: f,
|
|
4054
4055
|
slot: m,
|
|
4055
4056
|
skipVariantsResolver: p,
|
|
4056
|
-
skipSx:
|
|
4057
|
+
skipSx: h,
|
|
4057
4058
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
4058
4059
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4059
|
-
overridesResolver:
|
|
4060
|
+
overridesResolver: g = Oa(Un(m)),
|
|
4060
4061
|
...y
|
|
4061
4062
|
} = d, u = f && f.startsWith("Mui") || m ? "components" : "custom", v = p !== void 0 ? p : (
|
|
4062
4063
|
// TODO v6: remove `Root` in the next major release
|
|
4063
4064
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4064
4065
|
m && m !== "Root" && m !== "root" || !1
|
|
4065
|
-
),
|
|
4066
|
+
), C = h || !1;
|
|
4066
4067
|
let O = ir;
|
|
4067
4068
|
m === "Root" || m === "root" ? O = n : m ? O = o : Ra(s) && (O = void 0);
|
|
4068
|
-
const
|
|
4069
|
+
const R = In(s, {
|
|
4069
4070
|
shouldForwardProp: O,
|
|
4070
4071
|
label: Pa(f, m),
|
|
4071
4072
|
...y
|
|
4072
|
-
}), T = (
|
|
4073
|
-
if (
|
|
4074
|
-
return
|
|
4075
|
-
if (typeof
|
|
4076
|
-
return function(
|
|
4077
|
-
return Et(
|
|
4073
|
+
}), T = (S) => {
|
|
4074
|
+
if (S.__emotion_real === S)
|
|
4075
|
+
return S;
|
|
4076
|
+
if (typeof S == "function")
|
|
4077
|
+
return function(A) {
|
|
4078
|
+
return Et(A, S, A.theme.modularCssLayers ? u : void 0);
|
|
4078
4079
|
};
|
|
4079
|
-
if (Ee(
|
|
4080
|
-
const
|
|
4081
|
-
return function(
|
|
4082
|
-
return
|
|
4080
|
+
if (Ee(S)) {
|
|
4081
|
+
const _ = Vn(S);
|
|
4082
|
+
return function(j) {
|
|
4083
|
+
return _.variants ? Et(j, _, j.theme.modularCssLayers ? u : void 0) : j.theme.modularCssLayers ? je(_.style, u) : _.style;
|
|
4083
4084
|
};
|
|
4084
4085
|
}
|
|
4085
|
-
return
|
|
4086
|
-
},
|
|
4087
|
-
const
|
|
4088
|
-
if (
|
|
4089
|
-
const
|
|
4090
|
-
if (!
|
|
4086
|
+
return S;
|
|
4087
|
+
}, w = (...S) => {
|
|
4088
|
+
const _ = [], A = S.map(T), j = [];
|
|
4089
|
+
if (_.push(i), f && g && j.push(function(P) {
|
|
4090
|
+
const I = P.theme.components?.[f]?.styleOverrides;
|
|
4091
|
+
if (!I)
|
|
4091
4092
|
return null;
|
|
4092
|
-
const
|
|
4093
|
-
for (const le in
|
|
4094
|
-
|
|
4095
|
-
return
|
|
4096
|
-
}), f && !v &&
|
|
4097
|
-
const
|
|
4098
|
-
return
|
|
4099
|
-
}),
|
|
4100
|
-
const l =
|
|
4101
|
-
let
|
|
4102
|
-
|
|
4093
|
+
const z = {};
|
|
4094
|
+
for (const le in I)
|
|
4095
|
+
z[le] = Et(P, I[le], P.theme.modularCssLayers ? "theme" : void 0);
|
|
4096
|
+
return g(P, z);
|
|
4097
|
+
}), f && !v && j.push(function(P) {
|
|
4098
|
+
const I = P.theme?.components?.[f]?.variants;
|
|
4099
|
+
return I ? zn(P, I, [], P.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
4100
|
+
}), C || j.push(De), Array.isArray(A[0])) {
|
|
4101
|
+
const l = A.shift(), P = new Array(_.length).fill(""), E = new Array(j.length).fill("");
|
|
4102
|
+
let I;
|
|
4103
|
+
I = [...P, ...l, ...E], I.raw = [...P, ...l.raw, ...E], _.unshift(I);
|
|
4103
4104
|
}
|
|
4104
|
-
const
|
|
4105
|
+
const ne = [..._, ...A, ...j], B = R(...ne);
|
|
4105
4106
|
return s.muiName && (B.muiName = s.muiName), process.env.NODE_ENV !== "production" && (B.displayName = Aa(f, m, s)), B;
|
|
4106
4107
|
};
|
|
4107
|
-
return
|
|
4108
|
+
return R.withConfig && (w.withConfig = R.withConfig), w;
|
|
4108
4109
|
};
|
|
4109
4110
|
}
|
|
4110
4111
|
function Aa(e, t, r) {
|
|
@@ -4313,7 +4314,7 @@ function Ct(e, t, r) {
|
|
|
4313
4314
|
return e;
|
|
4314
4315
|
}
|
|
4315
4316
|
}
|
|
4316
|
-
const Da = /* @__PURE__ */
|
|
4317
|
+
const Da = /* @__PURE__ */ G.createContext(void 0);
|
|
4317
4318
|
process.env.NODE_ENV !== "production" && (c.node, c.object);
|
|
4318
4319
|
function Wa(e) {
|
|
4319
4320
|
const {
|
|
@@ -4330,7 +4331,7 @@ function Fa({
|
|
|
4330
4331
|
props: e,
|
|
4331
4332
|
name: t
|
|
4332
4333
|
}) {
|
|
4333
|
-
const r =
|
|
4334
|
+
const r = G.useContext(Da);
|
|
4334
4335
|
return Wa({
|
|
4335
4336
|
props: e,
|
|
4336
4337
|
name: t,
|
|
@@ -4396,7 +4397,7 @@ function ar(e, t) {
|
|
|
4396
4397
|
}
|
|
4397
4398
|
function qa(e, t = {}) {
|
|
4398
4399
|
const {
|
|
4399
|
-
getSelector: r =
|
|
4400
|
+
getSelector: r = C,
|
|
4400
4401
|
disableCssColorScheme: n,
|
|
4401
4402
|
colorSchemeSelector: o,
|
|
4402
4403
|
enableContrastVars: i
|
|
@@ -4408,99 +4409,99 @@ function qa(e, t = {}) {
|
|
|
4408
4409
|
} = e, {
|
|
4409
4410
|
vars: m,
|
|
4410
4411
|
css: p,
|
|
4411
|
-
varsWithDefaults:
|
|
4412
|
+
varsWithDefaults: h
|
|
4412
4413
|
} = ar(f, t);
|
|
4413
|
-
let
|
|
4414
|
+
let g = h;
|
|
4414
4415
|
const y = {}, {
|
|
4415
4416
|
[d]: u,
|
|
4416
4417
|
...v
|
|
4417
4418
|
} = a;
|
|
4418
|
-
if (Object.entries(v || {}).forEach(([T,
|
|
4419
|
+
if (Object.entries(v || {}).forEach(([T, w]) => {
|
|
4419
4420
|
const {
|
|
4420
|
-
vars:
|
|
4421
|
-
css:
|
|
4422
|
-
varsWithDefaults:
|
|
4423
|
-
} = ar(
|
|
4424
|
-
|
|
4425
|
-
css:
|
|
4426
|
-
vars:
|
|
4421
|
+
vars: S,
|
|
4422
|
+
css: _,
|
|
4423
|
+
varsWithDefaults: A
|
|
4424
|
+
} = ar(w, t);
|
|
4425
|
+
g = pe(g, A), y[T] = {
|
|
4426
|
+
css: _,
|
|
4427
|
+
vars: S
|
|
4427
4428
|
};
|
|
4428
4429
|
}), u) {
|
|
4429
4430
|
const {
|
|
4430
4431
|
css: T,
|
|
4431
|
-
vars:
|
|
4432
|
-
varsWithDefaults:
|
|
4432
|
+
vars: w,
|
|
4433
|
+
varsWithDefaults: S
|
|
4433
4434
|
} = ar(u, t);
|
|
4434
|
-
|
|
4435
|
+
g = pe(g, S), y[d] = {
|
|
4435
4436
|
css: T,
|
|
4436
|
-
vars:
|
|
4437
|
+
vars: w
|
|
4437
4438
|
};
|
|
4438
4439
|
}
|
|
4439
|
-
function
|
|
4440
|
-
let
|
|
4441
|
-
if (o === "class" && (
|
|
4442
|
-
if (
|
|
4440
|
+
function C(T, w) {
|
|
4441
|
+
let S = o;
|
|
4442
|
+
if (o === "class" && (S = ".%s"), o === "data" && (S = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (S = `[${o}="%s"]`), T) {
|
|
4443
|
+
if (S === "media")
|
|
4443
4444
|
return e.defaultColorScheme === T ? ":root" : {
|
|
4444
4445
|
[`@media (prefers-color-scheme: ${a[T]?.palette?.mode || T})`]: {
|
|
4445
|
-
":root":
|
|
4446
|
+
":root": w
|
|
4446
4447
|
}
|
|
4447
4448
|
};
|
|
4448
|
-
if (
|
|
4449
|
-
return e.defaultColorScheme === T ? `:root, ${
|
|
4449
|
+
if (S)
|
|
4450
|
+
return e.defaultColorScheme === T ? `:root, ${S.replace("%s", String(T))}` : S.replace("%s", String(T));
|
|
4450
4451
|
}
|
|
4451
4452
|
return ":root";
|
|
4452
4453
|
}
|
|
4453
4454
|
return {
|
|
4454
|
-
vars:
|
|
4455
|
+
vars: g,
|
|
4455
4456
|
generateThemeVars: () => {
|
|
4456
4457
|
let T = {
|
|
4457
4458
|
...m
|
|
4458
4459
|
};
|
|
4459
4460
|
return Object.entries(y).forEach(([, {
|
|
4460
|
-
vars:
|
|
4461
|
+
vars: w
|
|
4461
4462
|
}]) => {
|
|
4462
|
-
T = pe(T,
|
|
4463
|
+
T = pe(T, w);
|
|
4463
4464
|
}), T;
|
|
4464
4465
|
},
|
|
4465
4466
|
generateStyleSheets: () => {
|
|
4466
|
-
const T = [],
|
|
4467
|
-
function
|
|
4468
|
-
Object.keys(
|
|
4469
|
-
[
|
|
4470
|
-
...
|
|
4467
|
+
const T = [], w = e.defaultColorScheme || "light";
|
|
4468
|
+
function S(j, ne) {
|
|
4469
|
+
Object.keys(ne).length && T.push(typeof j == "string" ? {
|
|
4470
|
+
[j]: {
|
|
4471
|
+
...ne
|
|
4471
4472
|
}
|
|
4472
|
-
} :
|
|
4473
|
+
} : j);
|
|
4473
4474
|
}
|
|
4474
|
-
|
|
4475
|
+
S(r(void 0, {
|
|
4475
4476
|
...p
|
|
4476
4477
|
}), p);
|
|
4477
4478
|
const {
|
|
4478
|
-
[
|
|
4479
|
-
...
|
|
4479
|
+
[w]: _,
|
|
4480
|
+
...A
|
|
4480
4481
|
} = y;
|
|
4481
|
-
if (
|
|
4482
|
+
if (_) {
|
|
4482
4483
|
const {
|
|
4483
|
-
css:
|
|
4484
|
-
} =
|
|
4485
|
-
colorScheme:
|
|
4486
|
-
...
|
|
4484
|
+
css: j
|
|
4485
|
+
} = _, ne = a[w]?.palette?.mode, B = !n && ne ? {
|
|
4486
|
+
colorScheme: ne,
|
|
4487
|
+
...j
|
|
4487
4488
|
} : {
|
|
4488
|
-
...
|
|
4489
|
+
...j
|
|
4489
4490
|
};
|
|
4490
|
-
|
|
4491
|
+
S(r(w, {
|
|
4491
4492
|
...B
|
|
4492
4493
|
}), B);
|
|
4493
4494
|
}
|
|
4494
|
-
return Object.entries(
|
|
4495
|
-
css:
|
|
4495
|
+
return Object.entries(A).forEach(([j, {
|
|
4496
|
+
css: ne
|
|
4496
4497
|
}]) => {
|
|
4497
|
-
const B = a[
|
|
4498
|
+
const B = a[j]?.palette?.mode, l = !n && B ? {
|
|
4498
4499
|
colorScheme: B,
|
|
4499
|
-
...
|
|
4500
|
+
...ne
|
|
4500
4501
|
} : {
|
|
4501
|
-
...
|
|
4502
|
+
...ne
|
|
4502
4503
|
};
|
|
4503
|
-
|
|
4504
|
+
S(r(j, {
|
|
4504
4505
|
...l
|
|
4505
4506
|
}), l);
|
|
4506
4507
|
}), i && T.push({
|
|
@@ -4608,27 +4609,27 @@ function Ja(e = {}) {
|
|
|
4608
4609
|
maxWidth: `${a.breakpoints.values[s.maxWidth]}${a.breakpoints.unit}`
|
|
4609
4610
|
}
|
|
4610
4611
|
}
|
|
4611
|
-
})), i = /* @__PURE__ */
|
|
4612
|
+
})), i = /* @__PURE__ */ G.forwardRef(function(s, d) {
|
|
4612
4613
|
const f = r(s), {
|
|
4613
4614
|
className: m,
|
|
4614
4615
|
component: p = "div",
|
|
4615
|
-
disableGutters:
|
|
4616
|
-
fixed:
|
|
4616
|
+
disableGutters: h = !1,
|
|
4617
|
+
fixed: g = !1,
|
|
4617
4618
|
maxWidth: y = "lg",
|
|
4618
4619
|
classes: u,
|
|
4619
4620
|
...v
|
|
4620
|
-
} = f,
|
|
4621
|
+
} = f, C = {
|
|
4621
4622
|
...f,
|
|
4622
4623
|
component: p,
|
|
4623
|
-
disableGutters:
|
|
4624
|
-
fixed:
|
|
4624
|
+
disableGutters: h,
|
|
4625
|
+
fixed: g,
|
|
4625
4626
|
maxWidth: y
|
|
4626
|
-
}, O = Qa(
|
|
4627
|
+
}, O = Qa(C, n);
|
|
4627
4628
|
return (
|
|
4628
4629
|
// @ts-ignore theme is injected by the styled util
|
|
4629
4630
|
/* @__PURE__ */ b(o, {
|
|
4630
4631
|
as: p,
|
|
4631
|
-
ownerState:
|
|
4632
|
+
ownerState: C,
|
|
4632
4633
|
className: Ae(O.root, m),
|
|
4633
4634
|
ref: d,
|
|
4634
4635
|
...v
|
|
@@ -4647,7 +4648,7 @@ function Ja(e = {}) {
|
|
|
4647
4648
|
}), i;
|
|
4648
4649
|
}
|
|
4649
4650
|
function Hn(e, t) {
|
|
4650
|
-
return /* @__PURE__ */
|
|
4651
|
+
return /* @__PURE__ */ G.isValidElement(e) && t.indexOf(
|
|
4651
4652
|
// For server components `muiName` is available in element.type._payload.value.muiName
|
|
4652
4653
|
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
4653
4654
|
// eslint-disable-next-line no-underscore-dangle
|
|
@@ -4837,62 +4838,62 @@ function hs(e = {}) {
|
|
|
4837
4838
|
} = e, i = (f, m) => {
|
|
4838
4839
|
const {
|
|
4839
4840
|
container: p,
|
|
4840
|
-
direction:
|
|
4841
|
-
spacing:
|
|
4841
|
+
direction: h,
|
|
4842
|
+
spacing: g,
|
|
4842
4843
|
wrap: y,
|
|
4843
4844
|
size: u
|
|
4844
4845
|
} = f, v = {
|
|
4845
|
-
root: ["root", p && "container", y !== "wrap" && `wrap-xs-${String(y)}`, ...ls(
|
|
4846
|
+
root: ["root", p && "container", y !== "wrap" && `wrap-xs-${String(y)}`, ...ls(h), ...ss(u), ...p ? cs(g, m.breakpoints.keys[0]) : []]
|
|
4846
4847
|
};
|
|
4847
|
-
return Je(v, (
|
|
4848
|
+
return Je(v, (C) => Ie(o, C), {});
|
|
4848
4849
|
};
|
|
4849
4850
|
function a(f, m, p = () => !0) {
|
|
4850
|
-
const
|
|
4851
|
-
return f === null || (Array.isArray(f) ? f.forEach((
|
|
4852
|
-
|
|
4853
|
-
}) : typeof f == "object" ? Object.keys(f).forEach((
|
|
4854
|
-
const y = f[
|
|
4855
|
-
y != null && p(y) && (g
|
|
4856
|
-
}) :
|
|
4851
|
+
const h = {};
|
|
4852
|
+
return f === null || (Array.isArray(f) ? f.forEach((g, y) => {
|
|
4853
|
+
g !== null && p(g) && m.keys[y] && (h[m.keys[y]] = g);
|
|
4854
|
+
}) : typeof f == "object" ? Object.keys(f).forEach((g) => {
|
|
4855
|
+
const y = f[g];
|
|
4856
|
+
y != null && p(y) && (h[g] = y);
|
|
4857
|
+
}) : h[m.keys[0]] = f), h;
|
|
4857
4858
|
}
|
|
4858
|
-
const s = t(rs, os, ns, es, is, as, ts), d = /* @__PURE__ */
|
|
4859
|
-
const
|
|
4860
|
-
ds(y,
|
|
4859
|
+
const s = t(rs, os, ns, es, is, as, ts), d = /* @__PURE__ */ G.forwardRef(function(m, p) {
|
|
4860
|
+
const h = n(), g = r(m), y = Tr(g);
|
|
4861
|
+
ds(y, h.breakpoints);
|
|
4861
4862
|
const {
|
|
4862
4863
|
className: u,
|
|
4863
4864
|
children: v,
|
|
4864
|
-
columns:
|
|
4865
|
+
columns: C = 12,
|
|
4865
4866
|
container: O = !1,
|
|
4866
|
-
component:
|
|
4867
|
+
component: R = "div",
|
|
4867
4868
|
direction: T = "row",
|
|
4868
|
-
wrap:
|
|
4869
|
-
size:
|
|
4870
|
-
offset:
|
|
4871
|
-
spacing:
|
|
4872
|
-
rowSpacing:
|
|
4873
|
-
columnSpacing:
|
|
4869
|
+
wrap: w = "wrap",
|
|
4870
|
+
size: S = {},
|
|
4871
|
+
offset: _ = {},
|
|
4872
|
+
spacing: A = 0,
|
|
4873
|
+
rowSpacing: j = A,
|
|
4874
|
+
columnSpacing: ne = A,
|
|
4874
4875
|
unstable_level: B = 0,
|
|
4875
4876
|
...l
|
|
4876
|
-
} = y, P = a(
|
|
4877
|
+
} = y, P = a(S, h.breakpoints, ($) => $ !== !1), E = a(_, h.breakpoints), I = m.columns ?? (B ? void 0 : C), z = m.spacing ?? (B ? void 0 : A), le = m.rowSpacing ?? m.spacing ?? (B ? void 0 : j), ge = m.columnSpacing ?? m.spacing ?? (B ? void 0 : ne), We = {
|
|
4877
4878
|
...y,
|
|
4878
4879
|
level: B,
|
|
4879
|
-
columns:
|
|
4880
|
+
columns: I,
|
|
4880
4881
|
container: O,
|
|
4881
4882
|
direction: T,
|
|
4882
|
-
wrap:
|
|
4883
|
-
spacing:
|
|
4883
|
+
wrap: w,
|
|
4884
|
+
spacing: z,
|
|
4884
4885
|
rowSpacing: le,
|
|
4885
4886
|
columnSpacing: ge,
|
|
4886
4887
|
size: P,
|
|
4887
4888
|
offset: E
|
|
4888
|
-
},
|
|
4889
|
+
}, k = i(We, h);
|
|
4889
4890
|
return /* @__PURE__ */ b(s, {
|
|
4890
4891
|
ref: p,
|
|
4891
|
-
as:
|
|
4892
|
+
as: R,
|
|
4892
4893
|
ownerState: We,
|
|
4893
|
-
className: Ae(
|
|
4894
|
+
className: Ae(k.root, u),
|
|
4894
4895
|
...l,
|
|
4895
|
-
children:
|
|
4896
|
+
children: G.Children.map(v, ($) => /* @__PURE__ */ G.isValidElement($) && Hn($, ["Grid"]) && O && $.props.container ? /* @__PURE__ */ G.cloneElement($, {
|
|
4896
4897
|
unstable_level: $.props?.unstable_level ?? B + 1
|
|
4897
4898
|
}) : $)
|
|
4898
4899
|
});
|
|
@@ -4925,8 +4926,8 @@ function bs(e) {
|
|
|
4925
4926
|
});
|
|
4926
4927
|
}
|
|
4927
4928
|
function vs(e, t) {
|
|
4928
|
-
const r =
|
|
4929
|
-
return r.reduce((n, o, i) => (n.push(o), i < r.length - 1 && n.push(/* @__PURE__ */
|
|
4929
|
+
const r = G.Children.toArray(e).filter(Boolean);
|
|
4930
|
+
return r.reduce((n, o, i) => (n.push(o), i < r.length - 1 && n.push(/* @__PURE__ */ G.cloneElement(t, {
|
|
4930
4931
|
key: `separator-${i}`
|
|
4931
4932
|
})), n), []);
|
|
4932
4933
|
}
|
|
@@ -4961,8 +4962,8 @@ const xs = (e) => ({
|
|
|
4961
4962
|
});
|
|
4962
4963
|
typeof i == "object" && Object.keys(i).forEach((d, f, m) => {
|
|
4963
4964
|
if (!i[d]) {
|
|
4964
|
-
const
|
|
4965
|
-
i[d] =
|
|
4965
|
+
const h = f > 0 ? i[m[f - 1]] : "column";
|
|
4966
|
+
i[d] = h;
|
|
4966
4967
|
}
|
|
4967
4968
|
}), r = pe(r, we({
|
|
4968
4969
|
theme: t
|
|
@@ -4989,27 +4990,27 @@ function Cs(e = {}) {
|
|
|
4989
4990
|
componentName: n = "MuiStack"
|
|
4990
4991
|
} = e, o = () => Je({
|
|
4991
4992
|
root: ["root"]
|
|
4992
|
-
}, (d) => Ie(n, d), {}), i = t(ws), a = /* @__PURE__ */
|
|
4993
|
+
}, (d) => Ie(n, d), {}), i = t(ws), a = /* @__PURE__ */ G.forwardRef(function(d, f) {
|
|
4993
4994
|
const m = r(d), p = Tr(m), {
|
|
4994
|
-
component:
|
|
4995
|
-
direction:
|
|
4995
|
+
component: h = "div",
|
|
4996
|
+
direction: g = "column",
|
|
4996
4997
|
spacing: y = 0,
|
|
4997
4998
|
divider: u,
|
|
4998
4999
|
children: v,
|
|
4999
|
-
className:
|
|
5000
|
+
className: C,
|
|
5000
5001
|
useFlexGap: O = !1,
|
|
5001
|
-
...
|
|
5002
|
+
...R
|
|
5002
5003
|
} = p, T = {
|
|
5003
|
-
direction:
|
|
5004
|
+
direction: g,
|
|
5004
5005
|
spacing: y,
|
|
5005
5006
|
useFlexGap: O
|
|
5006
|
-
},
|
|
5007
|
+
}, w = o();
|
|
5007
5008
|
return /* @__PURE__ */ b(i, {
|
|
5008
|
-
as:
|
|
5009
|
+
as: h,
|
|
5009
5010
|
ownerState: T,
|
|
5010
5011
|
ref: f,
|
|
5011
|
-
className: Ae(
|
|
5012
|
-
...
|
|
5012
|
+
className: Ae(w.root, C),
|
|
5013
|
+
...R,
|
|
5013
5014
|
children: u ? vs(v, u) : v
|
|
5014
5015
|
});
|
|
5015
5016
|
});
|
|
@@ -5177,31 +5178,31 @@ function Nr(e) {
|
|
|
5177
5178
|
colorSpace: o,
|
|
5178
5179
|
...i
|
|
5179
5180
|
} = e, a = e.primary || ks(t), s = e.secondary || Ss(t), d = e.error || Ts(t), f = e.info || Es(t), m = e.success || $s(t), p = e.warning || Os(t);
|
|
5180
|
-
function
|
|
5181
|
+
function h(v) {
|
|
5181
5182
|
if (o)
|
|
5182
5183
|
return Ns(v);
|
|
5183
|
-
const
|
|
5184
|
+
const C = sn(v, hr.text.primary) >= r ? hr.text.primary : Xn.text.primary;
|
|
5184
5185
|
if (process.env.NODE_ENV !== "production") {
|
|
5185
|
-
const O = sn(v,
|
|
5186
|
-
O < 3 && console.error([`MUI: The contrast ratio of ${O}:1 for ${
|
|
5186
|
+
const O = sn(v, C);
|
|
5187
|
+
O < 3 && console.error([`MUI: The contrast ratio of ${O}:1 for ${C} on ${v}`, "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(`
|
|
5187
5188
|
`));
|
|
5188
5189
|
}
|
|
5189
|
-
return
|
|
5190
|
+
return C;
|
|
5190
5191
|
}
|
|
5191
|
-
const
|
|
5192
|
+
const g = ({
|
|
5192
5193
|
color: v,
|
|
5193
|
-
name:
|
|
5194
|
+
name: C,
|
|
5194
5195
|
mainShade: O = 500,
|
|
5195
|
-
lightShade:
|
|
5196
|
+
lightShade: R = 300,
|
|
5196
5197
|
darkShade: T = 700
|
|
5197
5198
|
}) => {
|
|
5198
5199
|
if (v = {
|
|
5199
5200
|
...v
|
|
5200
5201
|
}, !v.main && v[O] && (v.main = v[O]), !v.hasOwnProperty("main"))
|
|
5201
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
5202
|
-
The color object needs to have a \`main\` property or a \`${O}\` property.` : Pe(11,
|
|
5202
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${C ? ` (${C})` : ""} provided to augmentColor(color) is invalid.
|
|
5203
|
+
The color object needs to have a \`main\` property or a \`${O}\` property.` : Pe(11, C ? ` (${C})` : "", O));
|
|
5203
5204
|
if (typeof v.main != "string")
|
|
5204
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
5205
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${C ? ` (${C})` : ""} provided to augmentColor(color) is invalid.
|
|
5205
5206
|
\`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
|
|
5206
5207
|
|
|
5207
5208
|
Did you intend to use one of the following approaches?
|
|
@@ -5214,8 +5215,8 @@ const theme1 = createTheme({ palette: {
|
|
|
5214
5215
|
|
|
5215
5216
|
const theme2 = createTheme({ palette: {
|
|
5216
5217
|
primary: { main: green[500] },
|
|
5217
|
-
} });` : Pe(12,
|
|
5218
|
-
return o ? (pn(o, v, "light",
|
|
5218
|
+
} });` : Pe(12, C ? ` (${C})` : "", JSON.stringify(v.main)));
|
|
5219
|
+
return o ? (pn(o, v, "light", R, n), pn(o, v, "dark", T, n)) : (fn(v, "light", R, n), fn(v, "dark", T, n)), v.contrastText || (v.contrastText = h(v.main)), v;
|
|
5219
5220
|
};
|
|
5220
5221
|
let y;
|
|
5221
5222
|
return t === "light" ? y = Kn() : t === "dark" && (y = Qn()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), pe({
|
|
@@ -5227,12 +5228,12 @@ const theme2 = createTheme({ palette: {
|
|
|
5227
5228
|
// The palette mode, can be light or dark.
|
|
5228
5229
|
mode: t,
|
|
5229
5230
|
// The colors used to represent primary interface elements for a user.
|
|
5230
|
-
primary:
|
|
5231
|
+
primary: g({
|
|
5231
5232
|
color: a,
|
|
5232
5233
|
name: "primary"
|
|
5233
5234
|
}),
|
|
5234
5235
|
// The colors used to represent secondary interface elements for a user.
|
|
5235
|
-
secondary:
|
|
5236
|
+
secondary: g({
|
|
5236
5237
|
color: s,
|
|
5237
5238
|
name: "secondary",
|
|
5238
5239
|
mainShade: "A400",
|
|
@@ -5240,22 +5241,22 @@ const theme2 = createTheme({ palette: {
|
|
|
5240
5241
|
darkShade: "A700"
|
|
5241
5242
|
}),
|
|
5242
5243
|
// The colors used to represent interface elements that the user should be made aware of.
|
|
5243
|
-
error:
|
|
5244
|
+
error: g({
|
|
5244
5245
|
color: d,
|
|
5245
5246
|
name: "error"
|
|
5246
5247
|
}),
|
|
5247
5248
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
5248
|
-
warning:
|
|
5249
|
+
warning: g({
|
|
5249
5250
|
color: p,
|
|
5250
5251
|
name: "warning"
|
|
5251
5252
|
}),
|
|
5252
5253
|
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
5253
|
-
info:
|
|
5254
|
+
info: g({
|
|
5254
5255
|
color: f,
|
|
5255
5256
|
name: "info"
|
|
5256
5257
|
}),
|
|
5257
5258
|
// The colors used to indicate the successful completion of an action that user triggered.
|
|
5258
|
-
success:
|
|
5259
|
+
success: g({
|
|
5259
5260
|
color: m,
|
|
5260
5261
|
name: "success"
|
|
5261
5262
|
}),
|
|
@@ -5265,9 +5266,9 @@ const theme2 = createTheme({ palette: {
|
|
|
5265
5266
|
// the background and the text.
|
|
5266
5267
|
contrastThreshold: r,
|
|
5267
5268
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
5268
|
-
getContrastText:
|
|
5269
|
+
getContrastText: h,
|
|
5269
5270
|
// Generate a rich color object.
|
|
5270
|
-
augmentColor:
|
|
5271
|
+
augmentColor: g,
|
|
5271
5272
|
// Used by the functions below to shift a color's luminance by approximately
|
|
5272
5273
|
// two indexes within its tonal palette.
|
|
5273
5274
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
@@ -5324,16 +5325,16 @@ function Rs(e, t) {
|
|
|
5324
5325
|
...p
|
|
5325
5326
|
} = typeof t == "function" ? t(e) : t;
|
|
5326
5327
|
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
5327
|
-
const
|
|
5328
|
+
const h = n / 14, g = m || ((v) => `${v / d * h}rem`), y = (v, C, O, R, T) => ({
|
|
5328
5329
|
fontFamily: r,
|
|
5329
5330
|
fontWeight: v,
|
|
5330
|
-
fontSize:
|
|
5331
|
+
fontSize: g(C),
|
|
5331
5332
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
5332
5333
|
lineHeight: O,
|
|
5333
5334
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
5334
5335
|
// across font-families can cause issues with the kerning.
|
|
5335
5336
|
...r === hn ? {
|
|
5336
|
-
letterSpacing: `${_s(
|
|
5337
|
+
letterSpacing: `${_s(R / C)}em`
|
|
5337
5338
|
} : {},
|
|
5338
5339
|
...T,
|
|
5339
5340
|
...f
|
|
@@ -5362,7 +5363,7 @@ function Rs(e, t) {
|
|
|
5362
5363
|
};
|
|
5363
5364
|
return pe({
|
|
5364
5365
|
htmlFontSize: d,
|
|
5365
|
-
pxToRem:
|
|
5366
|
+
pxToRem: g,
|
|
5366
5367
|
fontFamily: r,
|
|
5367
5368
|
fontSize: n,
|
|
5368
5369
|
fontWeightLight: o,
|
|
@@ -5429,7 +5430,7 @@ function Fs(e) {
|
|
|
5429
5430
|
...f
|
|
5430
5431
|
} = i;
|
|
5431
5432
|
if (process.env.NODE_ENV !== "production") {
|
|
5432
|
-
const m = (
|
|
5433
|
+
const m = (h) => typeof h == "string", p = (h) => !Number.isNaN(parseFloat(h));
|
|
5433
5434
|
!m(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !p(a) && !m(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), m(s) || console.error('MUI: Argument "easing" must be a string.'), !p(d) && !m(d) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
5434
5435
|
`)), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
|
|
5435
5436
|
}
|
|
@@ -5524,9 +5525,9 @@ function gr(e = {}, ...t) {
|
|
|
5524
5525
|
const p = Nr({
|
|
5525
5526
|
...i,
|
|
5526
5527
|
colorSpace: f
|
|
5527
|
-
}),
|
|
5528
|
-
let
|
|
5529
|
-
mixins: Ps(
|
|
5528
|
+
}), h = Qe(e);
|
|
5529
|
+
let g = pe(h, {
|
|
5530
|
+
mixins: Ps(h.breakpoints, n),
|
|
5530
5531
|
palette: p,
|
|
5531
5532
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
5532
5533
|
shadows: Ls.slice(),
|
|
@@ -5536,17 +5537,17 @@ function gr(e = {}, ...t) {
|
|
|
5536
5537
|
...Vs
|
|
5537
5538
|
}
|
|
5538
5539
|
});
|
|
5539
|
-
if (
|
|
5540
|
-
const y = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], u = (v,
|
|
5540
|
+
if (g = pe(g, m), g = t.reduce((y, u) => pe(y, u), g), process.env.NODE_ENV !== "production") {
|
|
5541
|
+
const y = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], u = (v, C) => {
|
|
5541
5542
|
let O;
|
|
5542
5543
|
for (O in v) {
|
|
5543
|
-
const
|
|
5544
|
-
if (y.includes(O) && Object.keys(
|
|
5544
|
+
const R = v[O];
|
|
5545
|
+
if (y.includes(O) && Object.keys(R).length > 0) {
|
|
5545
5546
|
if (process.env.NODE_ENV !== "production") {
|
|
5546
5547
|
const T = Ie("", O);
|
|
5547
|
-
console.error([`MUI: The \`${
|
|
5548
|
+
console.error([`MUI: The \`${C}\` component increases the CSS specificity of the \`${O}\` internal state.`, "You can not override it like this: ", JSON.stringify(v, null, 2), "", `Instead, you need to use the '&.${T}' syntax:`, JSON.stringify({
|
|
5548
5549
|
root: {
|
|
5549
|
-
[`&.${T}`]:
|
|
5550
|
+
[`&.${T}`]: R
|
|
5550
5551
|
}
|
|
5551
5552
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
5552
5553
|
`));
|
|
@@ -5555,20 +5556,20 @@ function gr(e = {}, ...t) {
|
|
|
5555
5556
|
}
|
|
5556
5557
|
}
|
|
5557
5558
|
};
|
|
5558
|
-
Object.keys(
|
|
5559
|
-
const
|
|
5560
|
-
|
|
5559
|
+
Object.keys(g.components).forEach((v) => {
|
|
5560
|
+
const C = g.components[v].styleOverrides;
|
|
5561
|
+
C && v.startsWith("Mui") && u(C, v);
|
|
5561
5562
|
});
|
|
5562
5563
|
}
|
|
5563
|
-
return
|
|
5564
|
+
return g.unstable_sxConfig = {
|
|
5564
5565
|
...ht,
|
|
5565
5566
|
...m?.unstable_sxConfig
|
|
5566
|
-
},
|
|
5567
|
+
}, g.unstable_sx = function(u) {
|
|
5567
5568
|
return De({
|
|
5568
5569
|
sx: u,
|
|
5569
5570
|
theme: this
|
|
5570
5571
|
});
|
|
5571
|
-
},
|
|
5572
|
+
}, g.toRuntimeSource = Jn, Us(g), g;
|
|
5572
5573
|
}
|
|
5573
5574
|
function qs(e) {
|
|
5574
5575
|
let t;
|
|
@@ -5730,87 +5731,87 @@ function tc(e = {}, ...t) {
|
|
|
5730
5731
|
colorSchemeSelector: d = r.light && r.dark ? "media" : void 0,
|
|
5731
5732
|
rootSelector: f = ":root",
|
|
5732
5733
|
...m
|
|
5733
|
-
} = e, p = Object.keys(r)[0],
|
|
5734
|
-
[
|
|
5734
|
+
} = e, p = Object.keys(r)[0], h = n || (r.light && p !== "light" ? "light" : p), g = ec(i), {
|
|
5735
|
+
[h]: y,
|
|
5735
5736
|
light: u,
|
|
5736
5737
|
dark: v,
|
|
5737
|
-
...
|
|
5738
|
+
...C
|
|
5738
5739
|
} = r, O = {
|
|
5739
|
-
...
|
|
5740
|
+
...C
|
|
5740
5741
|
};
|
|
5741
|
-
let
|
|
5742
|
-
if ((
|
|
5743
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${
|
|
5742
|
+
let R = y;
|
|
5743
|
+
if ((h === "dark" && !("dark" in r) || h === "light" && !("light" in r)) && (R = !0), !R)
|
|
5744
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${h}\` option is either missing or invalid.` : Pe(21, h));
|
|
5744
5745
|
let T;
|
|
5745
5746
|
a && (T = "oklch");
|
|
5746
|
-
const
|
|
5747
|
+
const w = sr(T, O, R, m, h);
|
|
5747
5748
|
u && !O.light && sr(T, O, u, void 0, "light"), v && !O.dark && sr(T, O, v, void 0, "dark");
|
|
5748
|
-
let
|
|
5749
|
-
defaultColorScheme:
|
|
5750
|
-
...
|
|
5749
|
+
let S = {
|
|
5750
|
+
defaultColorScheme: h,
|
|
5751
|
+
...w,
|
|
5751
5752
|
cssVarPrefix: i,
|
|
5752
5753
|
colorSchemeSelector: d,
|
|
5753
5754
|
rootSelector: f,
|
|
5754
|
-
getCssVar:
|
|
5755
|
+
getCssVar: g,
|
|
5755
5756
|
colorSchemes: O,
|
|
5756
5757
|
font: {
|
|
5757
|
-
...As(
|
|
5758
|
-
...
|
|
5758
|
+
...As(w.typography),
|
|
5759
|
+
...w.font
|
|
5759
5760
|
},
|
|
5760
5761
|
spacing: Zs(m.spacing)
|
|
5761
5762
|
};
|
|
5762
|
-
Object.keys(
|
|
5763
|
-
const l =
|
|
5764
|
-
const
|
|
5765
|
-
return
|
|
5763
|
+
Object.keys(S.colorSchemes).forEach((B) => {
|
|
5764
|
+
const l = S.colorSchemes[B].palette, P = (I) => {
|
|
5765
|
+
const z = I.split("-"), le = z[1], ge = z[2];
|
|
5766
|
+
return g(I, l[le][ge]);
|
|
5766
5767
|
};
|
|
5767
5768
|
l.mode === "light" && (x(l.common, "background", "#fff"), x(l.common, "onBackground", "#000")), l.mode === "dark" && (x(l.common, "background", "#000"), x(l.common, "onBackground", "#fff"));
|
|
5768
|
-
function E(
|
|
5769
|
+
function E(I, z, le) {
|
|
5769
5770
|
if (T) {
|
|
5770
5771
|
let ge;
|
|
5771
|
-
return
|
|
5772
|
+
return I === Me && (ge = `transparent ${((1 - le) * 100).toFixed(0)}%`), I === Z && (ge = `#000 ${(le * 100).toFixed(0)}%`), I === ee && (ge = `#fff ${(le * 100).toFixed(0)}%`), `color-mix(in ${T}, ${z}, ${ge})`;
|
|
5772
5773
|
}
|
|
5773
|
-
return
|
|
5774
|
+
return I(z, le);
|
|
5774
5775
|
}
|
|
5775
5776
|
if (Js(l, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), l.mode === "light") {
|
|
5776
5777
|
x(l.Alert, "errorColor", E(Z, l.error.light, 0.6)), x(l.Alert, "infoColor", E(Z, l.info.light, 0.6)), x(l.Alert, "successColor", E(Z, l.success.light, 0.6)), x(l.Alert, "warningColor", E(Z, l.warning.light, 0.6)), x(l.Alert, "errorFilledBg", P("palette-error-main")), x(l.Alert, "infoFilledBg", P("palette-info-main")), x(l.Alert, "successFilledBg", P("palette-success-main")), x(l.Alert, "warningFilledBg", P("palette-warning-main")), x(l.Alert, "errorFilledColor", ke(() => l.getContrastText(l.error.main))), x(l.Alert, "infoFilledColor", ke(() => l.getContrastText(l.info.main))), x(l.Alert, "successFilledColor", ke(() => l.getContrastText(l.success.main))), x(l.Alert, "warningFilledColor", ke(() => l.getContrastText(l.warning.main))), x(l.Alert, "errorStandardBg", E(ee, l.error.light, 0.9)), x(l.Alert, "infoStandardBg", E(ee, l.info.light, 0.9)), x(l.Alert, "successStandardBg", E(ee, l.success.light, 0.9)), x(l.Alert, "warningStandardBg", E(ee, l.warning.light, 0.9)), x(l.Alert, "errorIconColor", P("palette-error-main")), x(l.Alert, "infoIconColor", P("palette-info-main")), x(l.Alert, "successIconColor", P("palette-success-main")), x(l.Alert, "warningIconColor", P("palette-warning-main")), x(l.AppBar, "defaultBg", P("palette-grey-100")), x(l.Avatar, "defaultBg", P("palette-grey-400")), x(l.Button, "inheritContainedBg", P("palette-grey-300")), x(l.Button, "inheritContainedHoverBg", P("palette-grey-A100")), x(l.Chip, "defaultBorder", P("palette-grey-400")), x(l.Chip, "defaultAvatarColor", P("palette-grey-700")), x(l.Chip, "defaultIconColor", P("palette-grey-700")), x(l.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), x(l.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), x(l.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), x(l.LinearProgress, "primaryBg", E(ee, l.primary.main, 0.62)), x(l.LinearProgress, "secondaryBg", E(ee, l.secondary.main, 0.62)), x(l.LinearProgress, "errorBg", E(ee, l.error.main, 0.62)), x(l.LinearProgress, "infoBg", E(ee, l.info.main, 0.62)), x(l.LinearProgress, "successBg", E(ee, l.success.main, 0.62)), x(l.LinearProgress, "warningBg", E(ee, l.warning.main, 0.62)), x(l.Skeleton, "bg", T ? E(Me, l.text.primary, 0.11) : `rgba(${P("palette-text-primaryChannel")} / 0.11)`), x(l.Slider, "primaryTrack", E(ee, l.primary.main, 0.62)), x(l.Slider, "secondaryTrack", E(ee, l.secondary.main, 0.62)), x(l.Slider, "errorTrack", E(ee, l.error.main, 0.62)), x(l.Slider, "infoTrack", E(ee, l.info.main, 0.62)), x(l.Slider, "successTrack", E(ee, l.success.main, 0.62)), x(l.Slider, "warningTrack", E(ee, l.warning.main, 0.62));
|
|
5777
|
-
const
|
|
5778
|
-
x(l.SnackbarContent, "bg",
|
|
5778
|
+
const I = T ? E(Z, l.background.default, 0.6825) : Ct(l.background.default, 0.8);
|
|
5779
|
+
x(l.SnackbarContent, "bg", I), x(l.SnackbarContent, "color", ke(() => T ? hr.text.primary : l.getContrastText(I))), x(l.SpeedDialAction, "fabHoverBg", Ct(l.background.paper, 0.15)), x(l.StepConnector, "border", P("palette-grey-400")), x(l.StepContent, "border", P("palette-grey-400")), x(l.Switch, "defaultColor", P("palette-common-white")), x(l.Switch, "defaultDisabledColor", P("palette-grey-100")), x(l.Switch, "primaryDisabledColor", E(ee, l.primary.main, 0.62)), x(l.Switch, "secondaryDisabledColor", E(ee, l.secondary.main, 0.62)), x(l.Switch, "errorDisabledColor", E(ee, l.error.main, 0.62)), x(l.Switch, "infoDisabledColor", E(ee, l.info.main, 0.62)), x(l.Switch, "successDisabledColor", E(ee, l.success.main, 0.62)), x(l.Switch, "warningDisabledColor", E(ee, l.warning.main, 0.62)), x(l.TableCell, "border", E(ee, E(Me, l.divider, 1), 0.88)), x(l.Tooltip, "bg", E(Me, l.grey[700], 0.92));
|
|
5779
5780
|
}
|
|
5780
5781
|
if (l.mode === "dark") {
|
|
5781
5782
|
x(l.Alert, "errorColor", E(ee, l.error.light, 0.6)), x(l.Alert, "infoColor", E(ee, l.info.light, 0.6)), x(l.Alert, "successColor", E(ee, l.success.light, 0.6)), x(l.Alert, "warningColor", E(ee, l.warning.light, 0.6)), x(l.Alert, "errorFilledBg", P("palette-error-dark")), x(l.Alert, "infoFilledBg", P("palette-info-dark")), x(l.Alert, "successFilledBg", P("palette-success-dark")), x(l.Alert, "warningFilledBg", P("palette-warning-dark")), x(l.Alert, "errorFilledColor", ke(() => l.getContrastText(l.error.dark))), x(l.Alert, "infoFilledColor", ke(() => l.getContrastText(l.info.dark))), x(l.Alert, "successFilledColor", ke(() => l.getContrastText(l.success.dark))), x(l.Alert, "warningFilledColor", ke(() => l.getContrastText(l.warning.dark))), x(l.Alert, "errorStandardBg", E(Z, l.error.light, 0.9)), x(l.Alert, "infoStandardBg", E(Z, l.info.light, 0.9)), x(l.Alert, "successStandardBg", E(Z, l.success.light, 0.9)), x(l.Alert, "warningStandardBg", E(Z, l.warning.light, 0.9)), x(l.Alert, "errorIconColor", P("palette-error-main")), x(l.Alert, "infoIconColor", P("palette-info-main")), x(l.Alert, "successIconColor", P("palette-success-main")), x(l.Alert, "warningIconColor", P("palette-warning-main")), x(l.AppBar, "defaultBg", P("palette-grey-900")), x(l.AppBar, "darkBg", P("palette-background-paper")), x(l.AppBar, "darkColor", P("palette-text-primary")), x(l.Avatar, "defaultBg", P("palette-grey-600")), x(l.Button, "inheritContainedBg", P("palette-grey-800")), x(l.Button, "inheritContainedHoverBg", P("palette-grey-700")), x(l.Chip, "defaultBorder", P("palette-grey-700")), x(l.Chip, "defaultAvatarColor", P("palette-grey-300")), x(l.Chip, "defaultIconColor", P("palette-grey-300")), x(l.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), x(l.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), x(l.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), x(l.LinearProgress, "primaryBg", E(Z, l.primary.main, 0.5)), x(l.LinearProgress, "secondaryBg", E(Z, l.secondary.main, 0.5)), x(l.LinearProgress, "errorBg", E(Z, l.error.main, 0.5)), x(l.LinearProgress, "infoBg", E(Z, l.info.main, 0.5)), x(l.LinearProgress, "successBg", E(Z, l.success.main, 0.5)), x(l.LinearProgress, "warningBg", E(Z, l.warning.main, 0.5)), x(l.Skeleton, "bg", T ? E(Me, l.text.primary, 0.13) : `rgba(${P("palette-text-primaryChannel")} / 0.13)`), x(l.Slider, "primaryTrack", E(Z, l.primary.main, 0.5)), x(l.Slider, "secondaryTrack", E(Z, l.secondary.main, 0.5)), x(l.Slider, "errorTrack", E(Z, l.error.main, 0.5)), x(l.Slider, "infoTrack", E(Z, l.info.main, 0.5)), x(l.Slider, "successTrack", E(Z, l.success.main, 0.5)), x(l.Slider, "warningTrack", E(Z, l.warning.main, 0.5));
|
|
5782
|
-
const
|
|
5783
|
-
x(l.SnackbarContent, "bg",
|
|
5783
|
+
const I = T ? E(ee, l.background.default, 0.985) : Ct(l.background.default, 0.98);
|
|
5784
|
+
x(l.SnackbarContent, "bg", I), x(l.SnackbarContent, "color", ke(() => T ? Xn.text.primary : l.getContrastText(I))), x(l.SpeedDialAction, "fabHoverBg", Ct(l.background.paper, 0.15)), x(l.StepConnector, "border", P("palette-grey-600")), x(l.StepContent, "border", P("palette-grey-600")), x(l.Switch, "defaultColor", P("palette-grey-300")), x(l.Switch, "defaultDisabledColor", P("palette-grey-600")), x(l.Switch, "primaryDisabledColor", E(Z, l.primary.main, 0.55)), x(l.Switch, "secondaryDisabledColor", E(Z, l.secondary.main, 0.55)), x(l.Switch, "errorDisabledColor", E(Z, l.error.main, 0.55)), x(l.Switch, "infoDisabledColor", E(Z, l.info.main, 0.55)), x(l.Switch, "successDisabledColor", E(Z, l.success.main, 0.55)), x(l.Switch, "warningDisabledColor", E(Z, l.warning.main, 0.55)), x(l.TableCell, "border", E(Z, E(Me, l.divider, 1), 0.68)), x(l.Tooltip, "bg", E(Me, l.grey[700], 0.92));
|
|
5784
5785
|
}
|
|
5785
|
-
Ne(l.background, "default"), Ne(l.background, "paper"), Ne(l.common, "background"), Ne(l.common, "onBackground"), Ne(l, "divider"), Object.keys(l).forEach((
|
|
5786
|
-
const
|
|
5787
|
-
|
|
5786
|
+
Ne(l.background, "default"), Ne(l.background, "paper"), Ne(l.common, "background"), Ne(l.common, "onBackground"), Ne(l, "divider"), Object.keys(l).forEach((I) => {
|
|
5787
|
+
const z = l[I];
|
|
5788
|
+
I !== "tonalOffset" && z && typeof z == "object" && (z.main && x(l[I], "mainChannel", nt(ot(z.main))), z.light && x(l[I], "lightChannel", nt(ot(z.light))), z.dark && x(l[I], "darkChannel", nt(ot(z.dark))), z.contrastText && x(l[I], "contrastTextChannel", nt(ot(z.contrastText))), I === "text" && (Ne(l[I], "primary"), Ne(l[I], "secondary")), I === "action" && (z.active && Ne(l[I], "active"), z.selected && Ne(l[I], "selected")));
|
|
5788
5789
|
});
|
|
5789
|
-
}),
|
|
5790
|
-
const
|
|
5790
|
+
}), S = t.reduce((B, l) => pe(B, l), S);
|
|
5791
|
+
const _ = {
|
|
5791
5792
|
prefix: i,
|
|
5792
5793
|
disableCssColorScheme: o,
|
|
5793
5794
|
shouldSkipGeneratingVar: s,
|
|
5794
|
-
getSelector: Qs(
|
|
5795
|
+
getSelector: Qs(S),
|
|
5795
5796
|
enableContrastVars: a
|
|
5796
5797
|
}, {
|
|
5797
|
-
vars:
|
|
5798
|
-
generateThemeVars:
|
|
5799
|
-
generateStyleSheets:
|
|
5800
|
-
} = qa(
|
|
5801
|
-
return
|
|
5802
|
-
|
|
5803
|
-
}),
|
|
5798
|
+
vars: A,
|
|
5799
|
+
generateThemeVars: j,
|
|
5800
|
+
generateStyleSheets: ne
|
|
5801
|
+
} = qa(S, _);
|
|
5802
|
+
return S.vars = A, Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([B, l]) => {
|
|
5803
|
+
S[B] = l;
|
|
5804
|
+
}), S.generateThemeVars = j, S.generateStyleSheets = ne, S.generateSpacing = function() {
|
|
5804
5805
|
return Bn(m.spacing, Bt(this));
|
|
5805
|
-
},
|
|
5806
|
+
}, S.getColorSchemeSelector = Ya(d), S.spacing = S.generateSpacing(), S.shouldSkipGeneratingVar = s, S.unstable_sxConfig = {
|
|
5806
5807
|
...ht,
|
|
5807
5808
|
...m?.unstable_sxConfig
|
|
5808
|
-
},
|
|
5809
|
+
}, S.unstable_sx = function(l) {
|
|
5809
5810
|
return De({
|
|
5810
5811
|
sx: l,
|
|
5811
5812
|
theme: this
|
|
5812
5813
|
});
|
|
5813
|
-
},
|
|
5814
|
+
}, S.toRuntimeSource = Jn, S;
|
|
5814
5815
|
}
|
|
5815
5816
|
function bn(e, t, r) {
|
|
5816
5817
|
e.colorSchemes && r && (e.colorSchemes[t] = {
|
|
@@ -5869,7 +5870,7 @@ function to(e = {}, ...t) {
|
|
|
5869
5870
|
const ro = to();
|
|
5870
5871
|
function rc() {
|
|
5871
5872
|
const e = Gt(ro);
|
|
5872
|
-
return process.env.NODE_ENV !== "production" &&
|
|
5873
|
+
return process.env.NODE_ENV !== "production" && G.useDebugValue(e), e[vr] || e;
|
|
5873
5874
|
}
|
|
5874
5875
|
function nc(e) {
|
|
5875
5876
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
@@ -5890,11 +5891,11 @@ function ic(e, t) {
|
|
|
5890
5891
|
...t.propTypes
|
|
5891
5892
|
} : null;
|
|
5892
5893
|
return (o) => (i, a, s, d, f, ...m) => {
|
|
5893
|
-
const p = f || a,
|
|
5894
|
-
if (
|
|
5895
|
-
const
|
|
5896
|
-
if (
|
|
5897
|
-
return
|
|
5894
|
+
const p = f || a, h = r?.[p];
|
|
5895
|
+
if (h) {
|
|
5896
|
+
const g = h(i, a, s, d, f, ...m);
|
|
5897
|
+
if (g)
|
|
5898
|
+
return g;
|
|
5898
5899
|
}
|
|
5899
5900
|
return typeof i[a] < "u" && !i[o] ? new Error(`The prop \`${p}\` of \`${e}\` can only be used together with the \`${o}\` prop.`) : null;
|
|
5900
5901
|
};
|
|
@@ -6131,7 +6132,7 @@ function lc(e) {
|
|
|
6131
6132
|
return Ie("MuiImageList", e);
|
|
6132
6133
|
}
|
|
6133
6134
|
Ut("MuiImageList", ["root", "masonry", "quilted", "standard", "woven"]);
|
|
6134
|
-
const Pr = /* @__PURE__ */
|
|
6135
|
+
const Pr = /* @__PURE__ */ G.createContext({});
|
|
6135
6136
|
process.env.NODE_ENV !== "production" && (Pr.displayName = "ImageListContext");
|
|
6136
6137
|
const uc = (e) => {
|
|
6137
6138
|
const {
|
|
@@ -6165,7 +6166,7 @@ const uc = (e) => {
|
|
|
6165
6166
|
display: "block"
|
|
6166
6167
|
}
|
|
6167
6168
|
}]
|
|
6168
|
-
}), so = /* @__PURE__ */
|
|
6169
|
+
}), so = /* @__PURE__ */ G.forwardRef(function(t, r) {
|
|
6169
6170
|
const n = et({
|
|
6170
6171
|
props: t,
|
|
6171
6172
|
name: "MuiImageList"
|
|
@@ -6178,8 +6179,8 @@ const uc = (e) => {
|
|
|
6178
6179
|
gap: f = 4,
|
|
6179
6180
|
style: m,
|
|
6180
6181
|
variant: p = "standard",
|
|
6181
|
-
...
|
|
6182
|
-
} = n,
|
|
6182
|
+
...h
|
|
6183
|
+
} = n, g = G.useMemo(() => ({
|
|
6183
6184
|
rowHeight: d,
|
|
6184
6185
|
gap: f,
|
|
6185
6186
|
variant: p
|
|
@@ -6204,9 +6205,9 @@ const uc = (e) => {
|
|
|
6204
6205
|
ref: r,
|
|
6205
6206
|
style: y,
|
|
6206
6207
|
ownerState: u,
|
|
6207
|
-
...
|
|
6208
|
+
...h,
|
|
6208
6209
|
children: /* @__PURE__ */ b(Pr.Provider, {
|
|
6209
|
-
value:
|
|
6210
|
+
value: g,
|
|
6210
6211
|
children: o
|
|
6211
6212
|
})
|
|
6212
6213
|
});
|
|
@@ -6325,7 +6326,7 @@ const cr = Ut("MuiImageListItem", ["root", "img", "standard", "woven", "masonry"
|
|
|
6325
6326
|
}
|
|
6326
6327
|
}
|
|
6327
6328
|
}]
|
|
6328
|
-
}), co = /* @__PURE__ */
|
|
6329
|
+
}), co = /* @__PURE__ */ G.forwardRef(function(t, r) {
|
|
6329
6330
|
const n = et({
|
|
6330
6331
|
props: t,
|
|
6331
6332
|
name: "MuiImageListItem"
|
|
@@ -6339,38 +6340,38 @@ const cr = Ut("MuiImageListItem", ["root", "img", "standard", "woven", "masonry"
|
|
|
6339
6340
|
...m
|
|
6340
6341
|
} = n, {
|
|
6341
6342
|
rowHeight: p = "auto",
|
|
6342
|
-
gap:
|
|
6343
|
-
variant:
|
|
6344
|
-
} =
|
|
6343
|
+
gap: h,
|
|
6344
|
+
variant: g
|
|
6345
|
+
} = G.useContext(Pr);
|
|
6345
6346
|
let y = "auto";
|
|
6346
|
-
|
|
6347
|
+
g === "woven" ? y = void 0 : p !== "auto" && (y = p * d + h * (d - 1));
|
|
6347
6348
|
const u = {
|
|
6348
6349
|
...n,
|
|
6349
6350
|
cols: a,
|
|
6350
6351
|
component: s,
|
|
6351
|
-
gap:
|
|
6352
|
+
gap: h,
|
|
6352
6353
|
rowHeight: p,
|
|
6353
6354
|
rows: d,
|
|
6354
|
-
variant:
|
|
6355
|
+
variant: g
|
|
6355
6356
|
}, v = pc(u);
|
|
6356
6357
|
return /* @__PURE__ */ b(mc, {
|
|
6357
6358
|
as: s,
|
|
6358
|
-
className: Ae(v.root, v[
|
|
6359
|
+
className: Ae(v.root, v[g], i),
|
|
6359
6360
|
ref: r,
|
|
6360
6361
|
style: {
|
|
6361
6362
|
height: y,
|
|
6362
|
-
gridColumnEnd:
|
|
6363
|
-
gridRowEnd:
|
|
6364
|
-
marginBottom:
|
|
6365
|
-
breakInside:
|
|
6363
|
+
gridColumnEnd: g !== "masonry" ? `span ${a}` : void 0,
|
|
6364
|
+
gridRowEnd: g !== "masonry" ? `span ${d}` : void 0,
|
|
6365
|
+
marginBottom: g === "masonry" ? h : void 0,
|
|
6366
|
+
breakInside: g === "masonry" ? "avoid" : void 0,
|
|
6366
6367
|
...f
|
|
6367
6368
|
},
|
|
6368
6369
|
ownerState: u,
|
|
6369
6370
|
...m,
|
|
6370
|
-
children:
|
|
6371
|
-
`)),
|
|
6372
|
-
className: Ae(v.img,
|
|
6373
|
-
}) :
|
|
6371
|
+
children: G.Children.map(o, (C) => /* @__PURE__ */ G.isValidElement(C) ? (process.env.NODE_ENV !== "production" && ft.isFragment(C) && console.error(["MUI: The ImageListItem component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
6372
|
+
`)), C.type === "img" || Hn(C, ["Image"]) ? /* @__PURE__ */ G.cloneElement(C, {
|
|
6373
|
+
className: Ae(v.img, C.props.className)
|
|
6374
|
+
}) : C) : null)
|
|
6374
6375
|
});
|
|
6375
6376
|
});
|
|
6376
6377
|
process.env.NODE_ENV !== "production" && (co.propTypes = {
|
|
@@ -6554,7 +6555,7 @@ const gc = (e) => {
|
|
|
6554
6555
|
order: -1
|
|
6555
6556
|
}
|
|
6556
6557
|
}]
|
|
6557
|
-
}), lo = /* @__PURE__ */
|
|
6558
|
+
}), lo = /* @__PURE__ */ G.forwardRef(function(t, r) {
|
|
6558
6559
|
const n = et({
|
|
6559
6560
|
props: t,
|
|
6560
6561
|
name: "MuiImageListItemBar"
|
|
@@ -6570,25 +6571,25 @@ const gc = (e) => {
|
|
|
6570
6571
|
...n,
|
|
6571
6572
|
position: f,
|
|
6572
6573
|
actionPosition: i
|
|
6573
|
-
},
|
|
6574
|
-
return /* @__PURE__ */
|
|
6574
|
+
}, h = gc(p);
|
|
6575
|
+
return /* @__PURE__ */ M(yc, {
|
|
6575
6576
|
ownerState: p,
|
|
6576
|
-
className: Ae(
|
|
6577
|
+
className: Ae(h.root, a),
|
|
6577
6578
|
ref: r,
|
|
6578
6579
|
...m,
|
|
6579
|
-
children: [/* @__PURE__ */
|
|
6580
|
+
children: [/* @__PURE__ */ M(bc, {
|
|
6580
6581
|
ownerState: p,
|
|
6581
|
-
className:
|
|
6582
|
+
className: h.titleWrap,
|
|
6582
6583
|
children: [/* @__PURE__ */ b(vc, {
|
|
6583
|
-
className:
|
|
6584
|
+
className: h.title,
|
|
6584
6585
|
children: d
|
|
6585
6586
|
}), s ? /* @__PURE__ */ b(xc, {
|
|
6586
|
-
className:
|
|
6587
|
+
className: h.subtitle,
|
|
6587
6588
|
children: s
|
|
6588
6589
|
}) : null]
|
|
6589
6590
|
}), o ? /* @__PURE__ */ b(wc, {
|
|
6590
6591
|
ownerState: p,
|
|
6591
|
-
className:
|
|
6592
|
+
className: h.actionIcon,
|
|
6592
6593
|
children: o
|
|
6593
6594
|
}) : null]
|
|
6594
6595
|
});
|
|
@@ -6758,13 +6759,13 @@ const Ac = ({
|
|
|
6758
6759
|
...f
|
|
6759
6760
|
}) => {
|
|
6760
6761
|
let m = "relative px-4";
|
|
6761
|
-
const p = (
|
|
6762
|
+
const p = (g, y = "") => {
|
|
6762
6763
|
const u = y ? `${y}:` : "";
|
|
6763
|
-
if (
|
|
6764
|
+
if (g === !0)
|
|
6764
6765
|
return `${u}flex-1 ${u}max-w-full`;
|
|
6765
|
-
if (
|
|
6766
|
+
if (g === "auto")
|
|
6766
6767
|
return `${u}flex-none ${u}w-auto`;
|
|
6767
|
-
const v = Number(
|
|
6768
|
+
const v = Number(g);
|
|
6768
6769
|
if (!isNaN(v) && v > 0 && v <= 12) {
|
|
6769
6770
|
const O = {
|
|
6770
6771
|
1: "w-1/12",
|
|
@@ -6829,7 +6830,7 @@ const Ac = ({
|
|
|
6829
6830
|
return r && (f = f || "center", m = m || "center"), n && (m = "space-between"), /* @__PURE__ */ b(
|
|
6830
6831
|
uo,
|
|
6831
6832
|
{
|
|
6832
|
-
direction: e,
|
|
6833
|
+
direction: ((h) => h === "fila" ? "row" : h === "columna" ? "column" : h === "fila-reversa" ? "row-reverse" : h === "columna-reversa" ? "column-reverse" : h)(e),
|
|
6833
6834
|
spacing: t,
|
|
6834
6835
|
sx: d,
|
|
6835
6836
|
alignItems: f,
|