@sorayasm/vietri-ds 0.2.0 → 0.2.1
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/dist/index.js
CHANGED
|
@@ -12,11 +12,11 @@ import { default as kr } from "@mui/material/CardActions";
|
|
|
12
12
|
import k from "@mui/material/CardContent";
|
|
13
13
|
import { default as Er } from "@mui/material/CardContent";
|
|
14
14
|
import { default as Ir } from "@mui/material/CardMedia";
|
|
15
|
-
import
|
|
15
|
+
import U from "@mui/material/Chip";
|
|
16
16
|
import { default as Mr } from "@mui/material/Chip";
|
|
17
|
-
import { useState as I, useMemo as oe, useId as D, useRef as E, useEffect as
|
|
17
|
+
import { useState as I, useMemo as oe, useId as D, useRef as E, useEffect as X, Children as ie } from "react";
|
|
18
18
|
import w from "@mui/material/IconButton";
|
|
19
|
-
import { ArrowRight as ne, Check as
|
|
19
|
+
import { ArrowRight as ne, Check as Y, ChevronDown as ae, ChevronLeft as q, ChevronRight as Q, Clock as le, Copy as J, Database as ce, ExternalLink as $, Globe as de, Info as se, LayoutGrid as pe, MapPin as ue, Menu as he, Music as K, Network as me, Play as H, Search as fe, Share2 as ge, ShieldCheck as be, Sparkles as xe, TrendingUp as ve, Users as Fe, X as L } from "lucide-react";
|
|
20
20
|
import ye from "@mui/material/Table";
|
|
21
21
|
import Ce from "@mui/material/TableBody";
|
|
22
22
|
import M from "@mui/material/TableCell";
|
|
@@ -29,9 +29,9 @@ import De from "@mui/material/DialogContent";
|
|
|
29
29
|
import Ee from "@mui/material/DialogContentText";
|
|
30
30
|
import Ae from "@mui/material/DialogTitle";
|
|
31
31
|
import Ie from "@mui/material/Dialog";
|
|
32
|
-
import
|
|
32
|
+
import Z from "@mui/material/Drawer";
|
|
33
33
|
import C from "@mui/material/Link";
|
|
34
|
-
import
|
|
34
|
+
import P from "@mui/material/Container";
|
|
35
35
|
import We from "@mui/material/Divider";
|
|
36
36
|
import { useTheme as ee, alpha as O, createTheme as Me } from "@mui/material/styles";
|
|
37
37
|
import Te from "@mui/material/TextField";
|
|
@@ -46,7 +46,7 @@ import Pe from "@mui/material/MenuItem";
|
|
|
46
46
|
import { default as zr } from "@mui/material/Tab";
|
|
47
47
|
import { default as Hr } from "@mui/material/Tabs";
|
|
48
48
|
import je from "@mui/material/ButtonBase";
|
|
49
|
-
function
|
|
49
|
+
function Ge() {
|
|
50
50
|
return /* @__PURE__ */ e($e, { children: /* @__PURE__ */ e("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" }) });
|
|
51
51
|
}
|
|
52
52
|
function V({
|
|
@@ -69,16 +69,17 @@ function V({
|
|
|
69
69
|
}
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Gt({
|
|
73
73
|
brand: t,
|
|
74
74
|
brandHref: r = "/",
|
|
75
75
|
links: o,
|
|
76
76
|
actions: c,
|
|
77
77
|
ariaLabel: n = "Main",
|
|
78
78
|
menuLabel: a = "Menu",
|
|
79
|
-
closeLabel: p = "Close menu"
|
|
79
|
+
closeLabel: p = "Close menu",
|
|
80
|
+
maxWidth: m = "lg"
|
|
80
81
|
}) {
|
|
81
|
-
const
|
|
82
|
+
const l = ee(), i = Le(l.breakpoints.up("md"), { noSsr: !0 }), [u, f] = I(!1), x = () => f(!1);
|
|
82
83
|
return /* @__PURE__ */ d(
|
|
83
84
|
ze,
|
|
84
85
|
{
|
|
@@ -93,9 +94,10 @@ function Vt({
|
|
|
93
94
|
borderColor: "divider"
|
|
94
95
|
},
|
|
95
96
|
children: [
|
|
96
|
-
/* @__PURE__ */ d(
|
|
97
|
+
/* @__PURE__ */ e(P, { maxWidth: m, children: /* @__PURE__ */ d(
|
|
97
98
|
He,
|
|
98
99
|
{
|
|
100
|
+
disableGutters: !0,
|
|
99
101
|
sx: {
|
|
100
102
|
justifyContent: "space-between",
|
|
101
103
|
gap: 3,
|
|
@@ -112,7 +114,7 @@ function Vt({
|
|
|
112
114
|
children: t
|
|
113
115
|
}
|
|
114
116
|
),
|
|
115
|
-
|
|
117
|
+
i ? /* @__PURE__ */ d(g, { direction: "row", alignItems: "center", spacing: 4, children: [
|
|
116
118
|
/* @__PURE__ */ e(s, { component: "nav", "aria-label": n, children: /* @__PURE__ */ e(
|
|
117
119
|
g,
|
|
118
120
|
{
|
|
@@ -132,24 +134,24 @@ function Vt({
|
|
|
132
134
|
edge: "end",
|
|
133
135
|
color: "inherit",
|
|
134
136
|
"aria-label": a,
|
|
135
|
-
"aria-expanded":
|
|
136
|
-
onClick: () =>
|
|
137
|
-
children: /* @__PURE__ */ e(
|
|
137
|
+
"aria-expanded": u,
|
|
138
|
+
onClick: () => f(!0),
|
|
139
|
+
children: /* @__PURE__ */ e(Ge, {})
|
|
138
140
|
}
|
|
139
141
|
)
|
|
140
142
|
] })
|
|
141
143
|
]
|
|
142
144
|
}
|
|
143
|
-
),
|
|
144
|
-
!
|
|
145
|
-
/* @__PURE__ */ e(g, { alignItems: "flex-end", sx: { mb: 3 }, children: /* @__PURE__ */ e(z, { variant: "text", color: "secondary", onClick:
|
|
145
|
+
) }),
|
|
146
|
+
!i && /* @__PURE__ */ e(Z, { anchor: "right", open: u, onClose: x, children: /* @__PURE__ */ d(s, { sx: { width: 280, p: 3 }, children: [
|
|
147
|
+
/* @__PURE__ */ e(g, { alignItems: "flex-end", sx: { mb: 3 }, children: /* @__PURE__ */ e(z, { variant: "text", color: "secondary", onClick: x, children: p }) }),
|
|
146
148
|
/* @__PURE__ */ e(s, { component: "nav", "aria-label": n, children: /* @__PURE__ */ e(
|
|
147
149
|
g,
|
|
148
150
|
{
|
|
149
151
|
component: "ul",
|
|
150
152
|
spacing: 3,
|
|
151
153
|
sx: { listStyle: "none", m: 0, p: 0, fontSize: "1.25rem" },
|
|
152
|
-
children: o.map((b) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(V, { link: b, onClick:
|
|
154
|
+
children: o.map((b) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(V, { link: b, onClick: x }) }, b.href))
|
|
153
155
|
}
|
|
154
156
|
) })
|
|
155
157
|
] }) })
|
|
@@ -157,14 +159,14 @@ function Vt({
|
|
|
157
159
|
}
|
|
158
160
|
);
|
|
159
161
|
}
|
|
160
|
-
const
|
|
162
|
+
const Ve = [
|
|
161
163
|
{ value: "en", label: "EN" },
|
|
162
164
|
{ value: "es", label: "ES" }
|
|
163
165
|
];
|
|
164
|
-
function
|
|
166
|
+
function Vt({
|
|
165
167
|
value: t,
|
|
166
168
|
onChange: r,
|
|
167
|
-
options: o =
|
|
169
|
+
options: o = Ve,
|
|
168
170
|
ariaLabel: c = "Language"
|
|
169
171
|
}) {
|
|
170
172
|
return /* @__PURE__ */ e(
|
|
@@ -191,7 +193,7 @@ function Nt({ value: t, label: r, description: o }) {
|
|
|
191
193
|
function te(t, r) {
|
|
192
194
|
return t[r.key];
|
|
193
195
|
}
|
|
194
|
-
function
|
|
196
|
+
function N(t, r) {
|
|
195
197
|
if (r.sortValue) return r.sortValue(t);
|
|
196
198
|
const o = te(t, r);
|
|
197
199
|
return typeof o == "number" ? o : String(o ?? "");
|
|
@@ -214,7 +216,7 @@ function _t({
|
|
|
214
216
|
if (!i) return r;
|
|
215
217
|
const u = a.direction === "asc" ? 1 : -1;
|
|
216
218
|
return [...r].sort(
|
|
217
|
-
(f,
|
|
219
|
+
(f, x) => u * Ne(N(f, i), N(x, i))
|
|
218
220
|
);
|
|
219
221
|
}, [r, t, a]), l = (i) => {
|
|
220
222
|
p(
|
|
@@ -342,12 +344,12 @@ function y({ icon: t, label: r, size: o = 18, ...c }) {
|
|
|
342
344
|
const Xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
343
345
|
__proto__: null,
|
|
344
346
|
ArrowRight: ne,
|
|
345
|
-
Check:
|
|
347
|
+
Check: Y,
|
|
346
348
|
ChevronDown: ae,
|
|
347
|
-
ChevronLeft:
|
|
348
|
-
ChevronRight:
|
|
349
|
+
ChevronLeft: q,
|
|
350
|
+
ChevronRight: Q,
|
|
349
351
|
Clock: le,
|
|
350
|
-
Copy:
|
|
352
|
+
Copy: J,
|
|
351
353
|
Database: ce,
|
|
352
354
|
ExternalLink: $,
|
|
353
355
|
Globe: de,
|
|
@@ -355,7 +357,7 @@ const Xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
355
357
|
LayoutGrid: pe,
|
|
356
358
|
MapPin: ue,
|
|
357
359
|
Menu: he,
|
|
358
|
-
Music:
|
|
360
|
+
Music: K,
|
|
359
361
|
Network: me,
|
|
360
362
|
Play: H,
|
|
361
363
|
Search: fe,
|
|
@@ -368,7 +370,7 @@ const Xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
368
370
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
369
371
|
function _e({ color: t, dot: r = !1, ...o }) {
|
|
370
372
|
return /* @__PURE__ */ e(
|
|
371
|
-
|
|
373
|
+
U,
|
|
372
374
|
{
|
|
373
375
|
size: "small",
|
|
374
376
|
...o,
|
|
@@ -389,7 +391,7 @@ function _e({ color: t, dot: r = !1, ...o }) {
|
|
|
389
391
|
}
|
|
390
392
|
);
|
|
391
393
|
}
|
|
392
|
-
function
|
|
394
|
+
function j(t) {
|
|
393
395
|
return /* @__PURE__ */ e(
|
|
394
396
|
s,
|
|
395
397
|
{
|
|
@@ -474,7 +476,7 @@ function Yt({
|
|
|
474
476
|
}
|
|
475
477
|
)
|
|
476
478
|
] }),
|
|
477
|
-
/* @__PURE__ */ d(
|
|
479
|
+
/* @__PURE__ */ d(P, { maxWidth: "lg", sx: { position: "relative", zIndex: 1 }, children: [
|
|
478
480
|
/* @__PURE__ */ d(
|
|
479
481
|
g,
|
|
480
482
|
{
|
|
@@ -529,7 +531,7 @@ function Yt({
|
|
|
529
531
|
i.label,
|
|
530
532
|
i.external && /* @__PURE__ */ d(W, { children: [
|
|
531
533
|
/* @__PURE__ */ e(y, { icon: $, size: 14 }),
|
|
532
|
-
/* @__PURE__ */ e(
|
|
534
|
+
/* @__PURE__ */ e(j, { children: m })
|
|
533
535
|
] })
|
|
534
536
|
]
|
|
535
537
|
}
|
|
@@ -683,7 +685,7 @@ function Kt({
|
|
|
683
685
|
closeLabel: l = "Close"
|
|
684
686
|
}) {
|
|
685
687
|
const i = D();
|
|
686
|
-
return /* @__PURE__ */ e(
|
|
688
|
+
return /* @__PURE__ */ e(Z, { anchor: p, open: t, onClose: r, children: /* @__PURE__ */ d(
|
|
687
689
|
s,
|
|
688
690
|
{
|
|
689
691
|
role: "dialog",
|
|
@@ -728,7 +730,7 @@ function Zt({
|
|
|
728
730
|
copiedDuration: a = 2e3
|
|
729
731
|
}) {
|
|
730
732
|
const [p, m] = I("idle"), l = E(void 0);
|
|
731
|
-
|
|
733
|
+
X(() => () => clearTimeout(l.current), []);
|
|
732
734
|
async function i() {
|
|
733
735
|
try {
|
|
734
736
|
await navigator.clipboard.writeText(r), m("copied");
|
|
@@ -763,12 +765,12 @@ function Zt({
|
|
|
763
765
|
z,
|
|
764
766
|
{
|
|
765
767
|
onClick: i,
|
|
766
|
-
startIcon: /* @__PURE__ */ e(y, { icon: p === "copied" ?
|
|
768
|
+
startIcon: /* @__PURE__ */ e(y, { icon: p === "copied" ? Y : J }),
|
|
767
769
|
fullWidth: !0,
|
|
768
770
|
children: p === "copied" ? c : o
|
|
769
771
|
}
|
|
770
772
|
),
|
|
771
|
-
/* @__PURE__ */ e(
|
|
773
|
+
/* @__PURE__ */ e(j, { role: "status", "aria-live": "polite", children: p === "copied" ? c : p === "error" ? n : "" })
|
|
772
774
|
] });
|
|
773
775
|
}
|
|
774
776
|
function er({ href: t, children: r = "Skip to content" }) {
|
|
@@ -824,7 +826,7 @@ function tr({
|
|
|
824
826
|
borderColor: "currentColor"
|
|
825
827
|
}
|
|
826
828
|
}),
|
|
827
|
-
children: /* @__PURE__ */ e(
|
|
829
|
+
children: /* @__PURE__ */ e(P, { maxWidth: "lg", children: /* @__PURE__ */ d(
|
|
828
830
|
g,
|
|
829
831
|
{
|
|
830
832
|
spacing: 2,
|
|
@@ -1001,7 +1003,7 @@ function ir({ entries: t, level: r = 3, ariaLabel: o }) {
|
|
|
1001
1003
|
}
|
|
1002
1004
|
);
|
|
1003
1005
|
}
|
|
1004
|
-
const
|
|
1006
|
+
const _ = {
|
|
1005
1007
|
position: "static",
|
|
1006
1008
|
color: "inherit",
|
|
1007
1009
|
font: "inherit",
|
|
@@ -1039,7 +1041,7 @@ function nr({
|
|
|
1039
1041
|
"& a:focus-visible, & button:focus-visible": { outline: "none" }
|
|
1040
1042
|
}),
|
|
1041
1043
|
children: /* @__PURE__ */ d(k, { children: [
|
|
1042
|
-
/* @__PURE__ */ e(h, { component: l, variant: "h6", children: n ? /* @__PURE__ */ e(C, { href: n, underline: "none", sx:
|
|
1044
|
+
/* @__PURE__ */ e(h, { component: l, variant: "h6", children: n ? /* @__PURE__ */ e(C, { href: n, underline: "none", sx: _, children: t }) : a ? /* @__PURE__ */ e(C, { component: "button", type: "button", onClick: a, underline: "none", sx: _, children: t }) : t }),
|
|
1043
1045
|
r && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: r }),
|
|
1044
1046
|
o && /* @__PURE__ */ e(
|
|
1045
1047
|
h,
|
|
@@ -1056,7 +1058,7 @@ function nr({
|
|
|
1056
1058
|
}
|
|
1057
1059
|
),
|
|
1058
1060
|
c.length > 0 && /* @__PURE__ */ e(g, { direction: "row", spacing: 1, useFlexGap: !0, flexWrap: "wrap", sx: { mt: 2 }, children: c.map(
|
|
1059
|
-
(f) => f.color ? /* @__PURE__ */ e(_e, { label: f.label, color: f.color }, f.label) : /* @__PURE__ */ e(
|
|
1061
|
+
(f) => f.color ? /* @__PURE__ */ e(_e, { label: f.label, color: f.color }, f.label) : /* @__PURE__ */ e(U, { label: f.label, size: "small" }, f.label)
|
|
1060
1062
|
) })
|
|
1061
1063
|
] })
|
|
1062
1064
|
}
|
|
@@ -1096,21 +1098,21 @@ function ar({
|
|
|
1096
1098
|
return /* @__PURE__ */ d(
|
|
1097
1099
|
B,
|
|
1098
1100
|
{
|
|
1099
|
-
sx: (
|
|
1101
|
+
sx: (b) => ({
|
|
1100
1102
|
position: "relative",
|
|
1101
1103
|
height: "100%",
|
|
1102
1104
|
overflow: "hidden",
|
|
1103
|
-
...f && { "&:hover": { borderColor:
|
|
1104
|
-
...Ue(
|
|
1105
|
+
...f && { "&:hover": { borderColor: b.palette.primary.main } },
|
|
1106
|
+
...Ue(b)
|
|
1105
1107
|
}),
|
|
1106
1108
|
children: [
|
|
1107
1109
|
/* @__PURE__ */ d(
|
|
1108
1110
|
s,
|
|
1109
1111
|
{
|
|
1110
|
-
sx: (
|
|
1112
|
+
sx: (b) => ({
|
|
1111
1113
|
position: "relative",
|
|
1112
1114
|
aspectRatio: "16 / 9",
|
|
1113
|
-
bgcolor:
|
|
1115
|
+
bgcolor: b.vietri.color.chip
|
|
1114
1116
|
}),
|
|
1115
1117
|
children: [
|
|
1116
1118
|
c && /* @__PURE__ */ e(
|
|
@@ -1146,7 +1148,7 @@ function ar({
|
|
|
1146
1148
|
a && /* @__PURE__ */ e(
|
|
1147
1149
|
s,
|
|
1148
1150
|
{
|
|
1149
|
-
sx: (
|
|
1151
|
+
sx: (b) => ({
|
|
1150
1152
|
position: "absolute",
|
|
1151
1153
|
top: 8,
|
|
1152
1154
|
left: 8,
|
|
@@ -1155,8 +1157,8 @@ function ar({
|
|
|
1155
1157
|
borderRadius: 1,
|
|
1156
1158
|
fontSize: "0.75rem",
|
|
1157
1159
|
fontWeight: 600,
|
|
1158
|
-
bgcolor:
|
|
1159
|
-
color:
|
|
1160
|
+
bgcolor: b.vietri.color.action[0],
|
|
1161
|
+
color: b.vietri.color.onAction
|
|
1160
1162
|
}),
|
|
1161
1163
|
children: a
|
|
1162
1164
|
}
|
|
@@ -1201,12 +1203,12 @@ function lr({
|
|
|
1201
1203
|
action: p
|
|
1202
1204
|
}) {
|
|
1203
1205
|
const m = `h${o}`, l = D(), i = E(null), u = ie.toArray(r);
|
|
1204
|
-
function f(
|
|
1205
|
-
const
|
|
1206
|
-
if (!
|
|
1206
|
+
function f(x) {
|
|
1207
|
+
const b = i.current;
|
|
1208
|
+
if (!b) return;
|
|
1207
1209
|
const re = typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
1208
|
-
|
|
1209
|
-
left:
|
|
1210
|
+
b.scrollBy?.({
|
|
1211
|
+
left: x * b.clientWidth * 0.8,
|
|
1210
1212
|
behavior: re ? "auto" : "smooth"
|
|
1211
1213
|
});
|
|
1212
1214
|
}
|
|
@@ -1222,8 +1224,8 @@ function lr({
|
|
|
1222
1224
|
/* @__PURE__ */ e(h, { id: l, component: m, variant: "h5", children: t }),
|
|
1223
1225
|
/* @__PURE__ */ d(g, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
1224
1226
|
p,
|
|
1225
|
-
/* @__PURE__ */ e(w, { "aria-label": n, onClick: () => f(-1), children: /* @__PURE__ */ e(y, { icon:
|
|
1226
|
-
/* @__PURE__ */ e(w, { "aria-label": a, onClick: () => f(1), children: /* @__PURE__ */ e(y, { icon:
|
|
1227
|
+
/* @__PURE__ */ e(w, { "aria-label": n, onClick: () => f(-1), children: /* @__PURE__ */ e(y, { icon: q }) }),
|
|
1228
|
+
/* @__PURE__ */ e(w, { "aria-label": a, onClick: () => f(1), children: /* @__PURE__ */ e(y, { icon: Q }) })
|
|
1227
1229
|
] })
|
|
1228
1230
|
]
|
|
1229
1231
|
}
|
|
@@ -1233,12 +1235,12 @@ function lr({
|
|
|
1233
1235
|
{
|
|
1234
1236
|
ref: i,
|
|
1235
1237
|
tabIndex: 0,
|
|
1236
|
-
sx: (
|
|
1238
|
+
sx: (x) => ({
|
|
1237
1239
|
overflowX: "auto",
|
|
1238
1240
|
pb: 1,
|
|
1239
1241
|
scrollSnapType: "x proximity",
|
|
1240
1242
|
"&:focus-visible": {
|
|
1241
|
-
outline: `2px solid ${
|
|
1243
|
+
outline: `2px solid ${x.palette.primary.main}`,
|
|
1242
1244
|
outlineOffset: 2
|
|
1243
1245
|
}
|
|
1244
1246
|
}),
|
|
@@ -1248,14 +1250,14 @@ function lr({
|
|
|
1248
1250
|
component: "ul",
|
|
1249
1251
|
role: "list",
|
|
1250
1252
|
sx: { listStyle: "none", m: 0, p: 0, display: "flex", gap: 2 },
|
|
1251
|
-
children: u.map((
|
|
1253
|
+
children: u.map((x, b) => /* @__PURE__ */ e(
|
|
1252
1254
|
s,
|
|
1253
1255
|
{
|
|
1254
1256
|
component: "li",
|
|
1255
1257
|
sx: { flex: `0 0 ${c}px`, scrollSnapAlign: "start" },
|
|
1256
|
-
children:
|
|
1258
|
+
children: x
|
|
1257
1259
|
},
|
|
1258
|
-
|
|
1260
|
+
b
|
|
1259
1261
|
))
|
|
1260
1262
|
}
|
|
1261
1263
|
)
|
|
@@ -1276,7 +1278,7 @@ function cr({
|
|
|
1276
1278
|
playLabel: a
|
|
1277
1279
|
}) {
|
|
1278
1280
|
const [p, m] = I(!n), l = E(!1), i = E(null);
|
|
1279
|
-
return
|
|
1281
|
+
return X(() => {
|
|
1280
1282
|
p && l.current && i.current?.focus();
|
|
1281
1283
|
}, [p]), /* @__PURE__ */ e(
|
|
1282
1284
|
s,
|
|
@@ -1402,7 +1404,7 @@ function dr({
|
|
|
1402
1404
|
s,
|
|
1403
1405
|
{
|
|
1404
1406
|
component: "li",
|
|
1405
|
-
sx: (
|
|
1407
|
+
sx: (x) => ({
|
|
1406
1408
|
position: "relative",
|
|
1407
1409
|
display: "flex",
|
|
1408
1410
|
gap: 2,
|
|
@@ -1410,9 +1412,9 @@ function dr({
|
|
|
1410
1412
|
borderBottom: 1,
|
|
1411
1413
|
borderColor: "divider",
|
|
1412
1414
|
borderLeft: 4,
|
|
1413
|
-
borderLeftColor: i ?
|
|
1414
|
-
...u && { "&:hover": { bgcolor:
|
|
1415
|
-
...Ye(
|
|
1415
|
+
borderLeftColor: i ? x.palette.primary.main : "transparent",
|
|
1416
|
+
...u && { "&:hover": { bgcolor: x.palette.action.hover } },
|
|
1417
|
+
...Ye(x)
|
|
1416
1418
|
}),
|
|
1417
1419
|
children: [
|
|
1418
1420
|
l.imageUrl && /* @__PURE__ */ e(
|
|
@@ -1491,7 +1493,7 @@ function sr({
|
|
|
1491
1493
|
loading: "lazy",
|
|
1492
1494
|
sx: { display: "block", width: "100%", height: "100%", objectFit: "cover" }
|
|
1493
1495
|
}
|
|
1494
|
-
) : /* @__PURE__ */ e(y, { icon:
|
|
1496
|
+
) : /* @__PURE__ */ e(y, { icon: K, size: 48 })
|
|
1495
1497
|
}
|
|
1496
1498
|
),
|
|
1497
1499
|
/* @__PURE__ */ d(k, { children: [
|
|
@@ -1519,7 +1521,7 @@ function sr({
|
|
|
1519
1521
|
endIcon: /* @__PURE__ */ e(y, { icon: $, size: 14 }),
|
|
1520
1522
|
children: [
|
|
1521
1523
|
l.name,
|
|
1522
|
-
/* @__PURE__ */ d(
|
|
1524
|
+
/* @__PURE__ */ d(j, { children: [
|
|
1523
1525
|
" ",
|
|
1524
1526
|
"– ",
|
|
1525
1527
|
t,
|
|
@@ -1762,7 +1764,7 @@ const Ze = {
|
|
|
1762
1764
|
},
|
|
1763
1765
|
components: Qe
|
|
1764
1766
|
};
|
|
1765
|
-
function
|
|
1767
|
+
function G(t) {
|
|
1766
1768
|
return Me({
|
|
1767
1769
|
...Ze,
|
|
1768
1770
|
vietri: Ke(t),
|
|
@@ -1911,7 +1913,7 @@ const S = (t) => [t, t], et = {
|
|
|
1911
1913
|
/** Teal for the hovered primary action (7.7:1 with white). */
|
|
1912
1914
|
tealDark: "#015C68"
|
|
1913
1915
|
}
|
|
1914
|
-
}, pr =
|
|
1916
|
+
}, pr = G(tt), ur = G(rt), hr = G(ot), it = [
|
|
1915
1917
|
{ bg: "#E0F2FE", fg: "#0C4A6E", dot: "#0284C7" },
|
|
1916
1918
|
// sky
|
|
1917
1919
|
{ bg: "#EDE9FE", fg: "#4C1D95", dot: "#7C3AED" },
|
|
@@ -1976,9 +1978,9 @@ export {
|
|
|
1976
1978
|
tr as Hero,
|
|
1977
1979
|
y as Icon,
|
|
1978
1980
|
Or as Input,
|
|
1979
|
-
|
|
1981
|
+
Vt as LanguageSwitch,
|
|
1980
1982
|
ar as MediaCard,
|
|
1981
|
-
|
|
1983
|
+
Gt as NavBar,
|
|
1982
1984
|
sr as PlaylistCard,
|
|
1983
1985
|
nr as ProfileCard,
|
|
1984
1986
|
qt as SectionHeader,
|
|
@@ -1991,11 +1993,11 @@ export {
|
|
|
1991
1993
|
ir as Timeline,
|
|
1992
1994
|
xr as Typography,
|
|
1993
1995
|
cr as VideoEmbed,
|
|
1994
|
-
|
|
1996
|
+
j as VisuallyHidden,
|
|
1995
1997
|
it as categoryPalette,
|
|
1996
1998
|
mr as createCategoryColors,
|
|
1997
1999
|
qe as createGradients,
|
|
1998
|
-
|
|
2000
|
+
G as createVietriTheme,
|
|
1999
2001
|
tt as editorialColors,
|
|
2000
2002
|
pr as editorialTheme,
|
|
2001
2003
|
Xt as icons,
|