@sorayasm/vietri-ds 0.2.2 → 0.3.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
@@ -1,85 +1,85 @@
1
- import { jsxs as d, jsx as e, Fragment as W } from "react/jsx-runtime";
2
- import s from "@mui/material/Box";
3
- import g from "@mui/material/Stack";
1
+ import { jsxs as d, jsx as e, Fragment as $ } from "react/jsx-runtime";
2
+ import p from "@mui/material/Box";
3
+ import b from "@mui/material/Stack";
4
4
  import h from "@mui/material/Typography";
5
- import { default as xr } from "@mui/material/Typography";
5
+ import { default as vt } from "@mui/material/Typography";
6
6
  import z from "@mui/material/Button";
7
- import { default as Fr } from "@mui/material/Button";
8
- import B from "@mui/material/Card";
9
- import { default as Cr } from "@mui/material/Card";
10
- import { default as wr } from "@mui/material/CardActionArea";
11
- import { default as kr } from "@mui/material/CardActions";
12
- import k from "@mui/material/CardContent";
13
- import { default as Er } from "@mui/material/CardContent";
14
- import { default as Ir } from "@mui/material/CardMedia";
15
- import U from "@mui/material/Chip";
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 X, Children as ie } from "react";
18
- import w from "@mui/material/IconButton";
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
- import ye from "@mui/material/Table";
21
- import Ce from "@mui/material/TableBody";
22
- import M from "@mui/material/TableCell";
23
- import Se from "@mui/material/TableContainer";
24
- import we from "@mui/material/TableHead";
25
- import T from "@mui/material/TableRow";
7
+ import { default as yt } from "@mui/material/Button";
8
+ import A from "@mui/material/Card";
9
+ import { default as St } from "@mui/material/Card";
10
+ import { default as kt } from "@mui/material/CardActionArea";
11
+ import { default as At } from "@mui/material/CardActions";
12
+ import D from "@mui/material/CardContent";
13
+ import { default as Et } from "@mui/material/CardContent";
14
+ import { default as Wt } from "@mui/material/CardMedia";
15
+ import Y from "@mui/material/Chip";
16
+ import { default as $t } from "@mui/material/Chip";
17
+ import { useState as M, useMemo as ie, useId as E, useRef as I, useEffect as q, Children as ne } from "react";
18
+ import B from "@mui/material/IconButton";
19
+ import { ArrowRight as ae, Check as J, ChevronDown as le, ChevronLeft as Q, ChevronRight as K, Clock as ce, Copy as Z, Database as de, ExternalLink as H, Globe as se, Info as pe, LayoutGrid as ue, MapPin as he, Menu as me, Music as ee, Network as fe, Play as P, Search as ge, Share2 as be, ShieldCheck as xe, Sparkles as ve, TrendingUp as Fe, Users as ye, X as L } from "lucide-react";
20
+ import Ce from "@mui/material/Table";
21
+ import Se from "@mui/material/TableBody";
22
+ import T from "@mui/material/TableCell";
23
+ import we from "@mui/material/TableContainer";
24
+ import ke from "@mui/material/TableHead";
25
+ import O from "@mui/material/TableRow";
26
26
  import Be from "@mui/material/TableSortLabel";
27
- import ke from "@mui/material/DialogActions";
27
+ import Ae from "@mui/material/DialogActions";
28
28
  import De from "@mui/material/DialogContent";
29
29
  import Ee from "@mui/material/DialogContentText";
30
- import Ae from "@mui/material/DialogTitle";
31
- import Ie from "@mui/material/Dialog";
32
- import Z from "@mui/material/Drawer";
33
- import C from "@mui/material/Link";
34
- import P from "@mui/material/Container";
35
- import We from "@mui/material/Divider";
36
- import { useTheme as ee, alpha as O, createTheme as Me } from "@mui/material/styles";
30
+ import Ie from "@mui/material/DialogTitle";
31
+ import We from "@mui/material/Dialog";
32
+ import re from "@mui/material/Drawer";
33
+ import S from "@mui/material/Link";
34
+ import j from "@mui/material/Container";
35
+ import Me from "@mui/material/Divider";
36
+ import { useTheme as te, alpha as w, createTheme as $e } from "@mui/material/styles";
37
37
  import Te from "@mui/material/TextField";
38
- import { default as Or } from "@mui/material/TextField";
38
+ import { default as Ot } from "@mui/material/TextField";
39
39
  import Oe from "@mui/material/ToggleButton";
40
40
  import Re from "@mui/material/ToggleButtonGroup";
41
41
  import ze from "@mui/material/AppBar";
42
- import $e from "@mui/material/SvgIcon";
43
- import He from "@mui/material/Toolbar";
42
+ import He from "@mui/material/SvgIcon";
43
+ import Pe from "@mui/material/Toolbar";
44
44
  import Le from "@mui/material/useMediaQuery";
45
- import Pe from "@mui/material/MenuItem";
46
- import { default as zr } from "@mui/material/Tab";
47
- import { default as Hr } from "@mui/material/Tabs";
48
- import je from "@mui/material/ButtonBase";
45
+ import je from "@mui/material/MenuItem";
46
+ import { default as zt } from "@mui/material/Tab";
47
+ import { default as Pt } from "@mui/material/Tabs";
48
+ import Ne from "@mui/material/ButtonBase";
49
49
  function Ge() {
50
- return /* @__PURE__ */ e($e, { children: /* @__PURE__ */ e("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" }) });
50
+ return /* @__PURE__ */ e(He, { children: /* @__PURE__ */ e("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" }) });
51
51
  }
52
- function V({
53
- link: t,
54
- onClick: r
52
+ function _({
53
+ link: r,
54
+ onClick: t
55
55
  }) {
56
56
  return /* @__PURE__ */ e(
57
- C,
57
+ S,
58
58
  {
59
- href: t.href,
59
+ href: r.href,
60
60
  underline: "none",
61
- "aria-current": t.current ? "page" : void 0,
62
- onClick: r,
61
+ "aria-current": r.current ? "page" : void 0,
62
+ onClick: t,
63
63
  sx: {
64
- color: t.current ? "text.primary" : "text.secondary",
65
- fontWeight: t.current ? 600 : 500,
64
+ color: r.current ? "text.primary" : "text.secondary",
65
+ fontWeight: r.current ? 600 : 500,
66
66
  "&:hover": { color: "text.primary" }
67
67
  },
68
- children: t.label
68
+ children: r.label
69
69
  }
70
70
  );
71
71
  }
72
- function Gt({
73
- brand: t,
74
- brandHref: r = "/",
72
+ function Gr({
73
+ brand: r,
74
+ brandHref: t = "/",
75
75
  links: o,
76
- actions: c,
76
+ actions: l,
77
77
  ariaLabel: n = "Main",
78
78
  menuLabel: a = "Menu",
79
- closeLabel: p = "Close menu",
80
- maxWidth: m = "lg"
79
+ closeLabel: u = "Close menu",
80
+ maxWidth: f = "lg"
81
81
  }) {
82
- const l = ee(), i = Le(l.breakpoints.up("md"), { noSsr: !0 }), [u, f] = I(!1), x = () => f(!1);
82
+ const c = te(), i = Le(c.breakpoints.up("md"), { noSsr: !0 }), [s, m] = M(!1), g = () => m(!1);
83
83
  return /* @__PURE__ */ d(
84
84
  ze,
85
85
  {
@@ -94,8 +94,8 @@ function Gt({
94
94
  borderColor: "divider"
95
95
  },
96
96
  children: [
97
- /* @__PURE__ */ e(P, { maxWidth: m, children: /* @__PURE__ */ d(
98
- He,
97
+ /* @__PURE__ */ e(j, { maxWidth: f, children: /* @__PURE__ */ d(
98
+ Pe,
99
99
  {
100
100
  disableGutters: !0,
101
101
  sx: {
@@ -105,37 +105,37 @@ function Gt({
105
105
  },
106
106
  children: [
107
107
  /* @__PURE__ */ e(
108
- C,
108
+ S,
109
109
  {
110
- href: r,
110
+ href: t,
111
111
  underline: "none",
112
112
  color: "text.primary",
113
113
  sx: { fontWeight: 600, letterSpacing: "-0.03em", fontSize: "1.125rem" },
114
- children: t
114
+ children: r
115
115
  }
116
116
  ),
117
- i ? /* @__PURE__ */ d(g, { direction: "row", alignItems: "center", spacing: 4, children: [
118
- /* @__PURE__ */ e(s, { component: "nav", "aria-label": n, children: /* @__PURE__ */ e(
119
- g,
117
+ i ? /* @__PURE__ */ d(b, { direction: "row", alignItems: "center", spacing: 4, children: [
118
+ /* @__PURE__ */ e(p, { component: "nav", "aria-label": n, children: /* @__PURE__ */ e(
119
+ b,
120
120
  {
121
121
  component: "ul",
122
122
  direction: "row",
123
123
  spacing: 4,
124
124
  sx: { listStyle: "none", m: 0, p: 0 },
125
- children: o.map((b) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(V, { link: b }) }, b.href))
125
+ children: o.map((x) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(_, { link: x }) }, x.href))
126
126
  }
127
127
  ) }),
128
- c
129
- ] }) : /* @__PURE__ */ d(g, { direction: "row", alignItems: "center", spacing: 1, children: [
130
- c,
128
+ l
129
+ ] }) : /* @__PURE__ */ d(b, { direction: "row", alignItems: "center", spacing: 1, children: [
130
+ l,
131
131
  /* @__PURE__ */ e(
132
- w,
132
+ B,
133
133
  {
134
134
  edge: "end",
135
135
  color: "inherit",
136
136
  "aria-label": a,
137
- "aria-expanded": u,
138
- onClick: () => f(!0),
137
+ "aria-expanded": s,
138
+ onClick: () => m(!0),
139
139
  children: /* @__PURE__ */ e(Ge, {})
140
140
  }
141
141
  )
@@ -143,15 +143,15 @@ function Gt({
143
143
  ]
144
144
  }
145
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 }) }),
148
- /* @__PURE__ */ e(s, { component: "nav", "aria-label": n, children: /* @__PURE__ */ e(
149
- g,
146
+ !i && /* @__PURE__ */ e(re, { anchor: "right", open: s, onClose: g, children: /* @__PURE__ */ d(p, { sx: { width: 280, p: 3 }, children: [
147
+ /* @__PURE__ */ e(b, { alignItems: "flex-end", sx: { mb: 3 }, children: /* @__PURE__ */ e(z, { variant: "text", color: "secondary", onClick: g, children: u }) }),
148
+ /* @__PURE__ */ e(p, { component: "nav", "aria-label": n, children: /* @__PURE__ */ e(
149
+ b,
150
150
  {
151
151
  component: "ul",
152
152
  spacing: 3,
153
153
  sx: { listStyle: "none", m: 0, p: 0, fontSize: "1.25rem" },
154
- children: o.map((b) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(V, { link: b, onClick: x }) }, b.href))
154
+ children: o.map((x) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(_, { link: x, onClick: g }) }, x.href))
155
155
  }
156
156
  ) })
157
157
  ] }) })
@@ -163,90 +163,90 @@ const Ve = [
163
163
  { value: "en", label: "EN" },
164
164
  { value: "es", label: "ES" }
165
165
  ];
166
- function Vt({
167
- value: t,
168
- onChange: r,
166
+ function Vr({
167
+ value: r,
168
+ onChange: t,
169
169
  options: o = Ve,
170
- ariaLabel: c = "Language"
170
+ ariaLabel: l = "Language"
171
171
  }) {
172
172
  return /* @__PURE__ */ e(
173
173
  Re,
174
174
  {
175
175
  exclusive: !0,
176
176
  size: "small",
177
- value: t,
178
- "aria-label": c,
177
+ value: r,
178
+ "aria-label": l,
179
179
  onChange: (n, a) => {
180
- a !== null && r(a);
180
+ a !== null && t(a);
181
181
  },
182
182
  children: o.map((n) => /* @__PURE__ */ e(Oe, { value: n.value, children: n.label }, n.value))
183
183
  }
184
184
  );
185
185
  }
186
- function Nt({ value: t, label: r, description: o }) {
187
- return /* @__PURE__ */ e(B, { children: /* @__PURE__ */ d(k, { children: [
188
- /* @__PURE__ */ e(h, { variant: "h3", component: "p", children: t }),
189
- /* @__PURE__ */ e(h, { variant: "body1", sx: { mt: 1 }, children: r }),
186
+ function _r({ value: r, label: t, description: o }) {
187
+ return /* @__PURE__ */ e(A, { children: /* @__PURE__ */ d(D, { children: [
188
+ /* @__PURE__ */ e(h, { variant: "h3", component: "p", children: r }),
189
+ /* @__PURE__ */ e(h, { variant: "body1", sx: { mt: 1 }, children: t }),
190
190
  o && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", sx: { mt: 1 }, children: o })
191
191
  ] }) });
192
192
  }
193
- function te(t, r) {
194
- return t[r.key];
193
+ function oe(r, t) {
194
+ return r[t.key];
195
195
  }
196
- function N(t, r) {
197
- if (r.sortValue) return r.sortValue(t);
198
- const o = te(t, r);
196
+ function U(r, t) {
197
+ if (t.sortValue) return t.sortValue(r);
198
+ const o = oe(r, t);
199
199
  return typeof o == "number" ? o : String(o ?? "");
200
200
  }
201
- function Ne(t, r) {
202
- return typeof t == "number" && typeof r == "number" ? t - r : String(t).localeCompare(String(r), void 0, { numeric: !0 });
201
+ function _e(r, t) {
202
+ return typeof r == "number" && typeof t == "number" ? r - t : String(r).localeCompare(String(t), void 0, { numeric: !0 });
203
203
  }
204
- function _t({
205
- columns: t,
206
- rows: r,
204
+ function Ur({
205
+ columns: r,
206
+ rows: t,
207
207
  getRowKey: o,
208
- caption: c,
208
+ caption: l,
209
209
  emptyMessage: n = "No data"
210
210
  }) {
211
- const [a, p] = I(
211
+ const [a, u] = M(
212
212
  null
213
- ), m = oe(() => {
214
- if (!a) return r;
215
- const i = t.find((f) => f.key === a.key);
216
- if (!i) return r;
217
- const u = a.direction === "asc" ? 1 : -1;
218
- return [...r].sort(
219
- (f, x) => u * Ne(N(f, i), N(x, i))
213
+ ), f = ie(() => {
214
+ if (!a) return t;
215
+ const i = r.find((m) => m.key === a.key);
216
+ if (!i) return t;
217
+ const s = a.direction === "asc" ? 1 : -1;
218
+ return [...t].sort(
219
+ (m, g) => s * _e(U(m, i), U(g, i))
220
220
  );
221
- }, [r, t, a]), l = (i) => {
222
- p(
223
- (u) => u?.key === i && u.direction === "asc" ? { key: i, direction: "desc" } : { key: i, direction: "asc" }
221
+ }, [t, r, a]), c = (i) => {
222
+ u(
223
+ (s) => s?.key === i && s.direction === "asc" ? { key: i, direction: "desc" } : { key: i, direction: "asc" }
224
224
  );
225
225
  };
226
- return /* @__PURE__ */ e(Se, { tabIndex: 0, sx: { overflowX: "auto" }, children: /* @__PURE__ */ d(ye, { children: [
227
- c && /* @__PURE__ */ e(
226
+ return /* @__PURE__ */ e(we, { tabIndex: 0, sx: { overflowX: "auto" }, children: /* @__PURE__ */ d(Ce, { children: [
227
+ l && /* @__PURE__ */ e(
228
228
  h,
229
229
  {
230
230
  component: "caption",
231
231
  variant: "body2",
232
232
  color: "text.secondary",
233
233
  sx: { captionSide: "top", textAlign: "left", pb: 2 },
234
- children: c
234
+ children: l
235
235
  }
236
236
  ),
237
- /* @__PURE__ */ e(we, { children: /* @__PURE__ */ e(T, { children: t.map((i) => {
238
- const u = a?.key === i.key ? a.direction : void 0;
237
+ /* @__PURE__ */ e(ke, { children: /* @__PURE__ */ e(O, { children: r.map((i) => {
238
+ const s = a?.key === i.key ? a.direction : void 0;
239
239
  return /* @__PURE__ */ e(
240
- M,
240
+ T,
241
241
  {
242
242
  align: i.align,
243
- sortDirection: u ?? !1,
243
+ sortDirection: s ?? !1,
244
244
  children: i.sortable ? /* @__PURE__ */ e(
245
245
  Be,
246
246
  {
247
- active: u !== void 0,
248
- direction: u ?? "asc",
249
- onClick: () => l(i.key),
247
+ active: s !== void 0,
248
+ direction: s ?? "asc",
249
+ onClick: () => c(i.key),
250
250
  children: i.header
251
251
  }
252
252
  ) : i.header
@@ -254,40 +254,40 @@ function _t({
254
254
  i.key
255
255
  );
256
256
  }) }) }),
257
- /* @__PURE__ */ e(Ce, { children: m.length === 0 ? /* @__PURE__ */ e(T, { children: /* @__PURE__ */ e(M, { colSpan: t.length, align: "center", children: n }) }) : m.map((i) => /* @__PURE__ */ e(T, { children: t.map((u, f) => /* @__PURE__ */ e(
258
- M,
257
+ /* @__PURE__ */ e(Se, { children: f.length === 0 ? /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(T, { colSpan: r.length, align: "center", children: n }) }) : f.map((i) => /* @__PURE__ */ e(O, { children: r.map((s, m) => /* @__PURE__ */ e(
258
+ T,
259
259
  {
260
- align: u.align,
261
- component: f === 0 ? "th" : "td",
262
- scope: f === 0 ? "row" : void 0,
263
- children: u.render ? u.render(i) : String(te(i, u) ?? "")
260
+ align: s.align,
261
+ component: m === 0 ? "th" : "td",
262
+ scope: m === 0 ? "row" : void 0,
263
+ children: s.render ? s.render(i) : String(oe(i, s) ?? "")
264
264
  },
265
- u.key
265
+ s.key
266
266
  )) }, o(i))) })
267
267
  ] }) });
268
268
  }
269
- function Ut({
270
- data: t,
271
- title: r,
269
+ function Xr({
270
+ data: r,
271
+ title: t,
272
272
  max: o,
273
- formatValue: c = String
273
+ formatValue: l = String
274
274
  }) {
275
- const n = o ?? Math.max(0, ...t.map((a) => a.value));
276
- return /* @__PURE__ */ d(s, { component: "figure", sx: { m: 0 }, children: [
277
- r && /* @__PURE__ */ e(
275
+ const n = o ?? Math.max(0, ...r.map((a) => a.value));
276
+ return /* @__PURE__ */ d(p, { component: "figure", sx: { m: 0 }, children: [
277
+ t && /* @__PURE__ */ e(
278
278
  h,
279
279
  {
280
280
  component: "figcaption",
281
281
  variant: "overline",
282
282
  color: "text.secondary",
283
283
  sx: { display: "block", mb: 2 },
284
- children: r
284
+ children: t
285
285
  }
286
286
  ),
287
- /* @__PURE__ */ e(g, { component: "ul", spacing: 1.5, sx: { listStyle: "none", m: 0, p: 0 }, children: t.map((a) => {
288
- const p = n > 0 ? Math.min(100, Math.max(0, a.value / n * 100)) : 0, m = c(a.value);
287
+ /* @__PURE__ */ e(b, { component: "ul", spacing: 1.5, sx: { listStyle: "none", m: 0, p: 0 }, children: r.map((a) => {
288
+ const u = n > 0 ? Math.min(100, Math.max(0, a.value / n * 100)) : 0, f = l(a.value);
289
289
  return /* @__PURE__ */ d(
290
- s,
290
+ p,
291
291
  {
292
292
  component: "li",
293
293
  sx: {
@@ -299,14 +299,14 @@ function Ut({
299
299
  children: [
300
300
  /* @__PURE__ */ e(h, { variant: "body2", "aria-hidden": "true", children: a.label }),
301
301
  /* @__PURE__ */ e(
302
- s,
302
+ p,
303
303
  {
304
304
  role: "meter",
305
305
  "aria-label": a.label,
306
306
  "aria-valuemin": 0,
307
307
  "aria-valuemax": n,
308
308
  "aria-valuenow": a.value,
309
- "aria-valuetext": m,
309
+ "aria-valuetext": f,
310
310
  sx: {
311
311
  height: 12,
312
312
  borderRadius: 1,
@@ -314,9 +314,9 @@ function Ut({
314
314
  overflow: "hidden"
315
315
  },
316
316
  children: /* @__PURE__ */ e(
317
- s,
317
+ p,
318
318
  {
319
- style: { width: `${p}%` },
319
+ style: { width: `${u}%` },
320
320
  sx: { height: "100%", bgcolor: "primary.main" }
321
321
  }
322
322
  )
@@ -328,7 +328,7 @@ function Ut({
328
328
  variant: "body2",
329
329
  "aria-hidden": "true",
330
330
  sx: { minWidth: 40, textAlign: "right", fontWeight: 600 },
331
- children: m
331
+ children: f
332
332
  }
333
333
  )
334
334
  ]
@@ -338,62 +338,62 @@ function Ut({
338
338
  }) })
339
339
  ] });
340
340
  }
341
- function y({ icon: t, label: r, size: o = 18, ...c }) {
342
- return r ? /* @__PURE__ */ e(t, { size: o, role: "img", "aria-label": r, ...c }) : /* @__PURE__ */ e(t, { size: o, "aria-hidden": "true", focusable: "false", ...c });
341
+ function C({ icon: r, label: t, size: o = 18, ...l }) {
342
+ return t ? /* @__PURE__ */ e(r, { size: o, role: "img", "aria-label": t, ...l }) : /* @__PURE__ */ e(r, { size: o, "aria-hidden": "true", focusable: "false", ...l });
343
343
  }
344
- const Xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
344
+ const Yr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
345
345
  __proto__: null,
346
- ArrowRight: ne,
347
- Check: Y,
348
- ChevronDown: ae,
349
- ChevronLeft: q,
350
- ChevronRight: Q,
351
- Clock: le,
352
- Copy: J,
353
- Database: ce,
354
- ExternalLink: $,
355
- Globe: de,
356
- Info: se,
357
- LayoutGrid: pe,
358
- MapPin: ue,
359
- Menu: he,
360
- Music: K,
361
- Network: me,
362
- Play: H,
363
- Search: fe,
364
- Share2: ge,
365
- ShieldCheck: be,
366
- Sparkles: xe,
367
- TrendingUp: ve,
368
- Users: Fe,
346
+ ArrowRight: ae,
347
+ Check: J,
348
+ ChevronDown: le,
349
+ ChevronLeft: Q,
350
+ ChevronRight: K,
351
+ Clock: ce,
352
+ Copy: Z,
353
+ Database: de,
354
+ ExternalLink: H,
355
+ Globe: se,
356
+ Info: pe,
357
+ LayoutGrid: ue,
358
+ MapPin: he,
359
+ Menu: me,
360
+ Music: ee,
361
+ Network: fe,
362
+ Play: P,
363
+ Search: ge,
364
+ Share2: be,
365
+ ShieldCheck: xe,
366
+ Sparkles: ve,
367
+ TrendingUp: Fe,
368
+ Users: ye,
369
369
  X: L
370
370
  }, Symbol.toStringTag, { value: "Module" }));
371
- function _e({ color: t, dot: r = !1, ...o }) {
371
+ function Ue({ color: r, dot: t = !1, ...o }) {
372
372
  return /* @__PURE__ */ e(
373
- U,
373
+ Y,
374
374
  {
375
375
  size: "small",
376
376
  ...o,
377
- icon: r ? /* @__PURE__ */ e(
378
- s,
377
+ icon: t ? /* @__PURE__ */ e(
378
+ p,
379
379
  {
380
380
  component: "span",
381
381
  "aria-hidden": "true",
382
- sx: { width: 8, height: 8, borderRadius: "50%", bgcolor: t.fg }
382
+ sx: { width: 8, height: 8, borderRadius: "50%", bgcolor: r.fg }
383
383
  }
384
384
  ) : void 0,
385
385
  sx: {
386
- bgcolor: t.bg,
387
- color: t.fg,
388
- "&.MuiChip-clickable:hover": { bgcolor: t.bg, filter: "brightness(0.95)" },
389
- "& .MuiChip-icon": { color: t.fg, ml: 1, mr: -0.25 }
386
+ bgcolor: r.bg,
387
+ color: r.fg,
388
+ "&.MuiChip-clickable:hover": { bgcolor: r.bg, filter: "brightness(0.95)" },
389
+ "& .MuiChip-icon": { color: r.fg, ml: 1, mr: -0.25 }
390
390
  }
391
391
  }
392
392
  );
393
393
  }
394
- function j(t) {
394
+ function N(r) {
395
395
  return /* @__PURE__ */ e(
396
- s,
396
+ p,
397
397
  {
398
398
  component: "span",
399
399
  sx: {
@@ -407,23 +407,23 @@ function j(t) {
407
407
  whiteSpace: "nowrap",
408
408
  width: "1px"
409
409
  },
410
- ...t
410
+ ...r
411
411
  }
412
412
  );
413
413
  }
414
- function Yt({
415
- title: t,
416
- description: r,
414
+ function qr({
415
+ title: r,
416
+ description: t,
417
417
  lines: o = [],
418
- links: c = [],
418
+ links: l = [],
419
419
  linksLabel: n = "Footer links",
420
420
  action: a,
421
- legal: p,
422
- externalLabel: m = "(opens in a new tab)"
421
+ legal: u,
422
+ externalLabel: f = "(opens in a new tab)"
423
423
  }) {
424
- const { glow: l } = ee().vietri.color;
424
+ const { glow: c } = te().vietri.color;
425
425
  return /* @__PURE__ */ d(
426
- s,
426
+ p,
427
427
  {
428
428
  component: "footer",
429
429
  sx: (i) => ({
@@ -440,9 +440,9 @@ function Yt({
440
440
  }
441
441
  }),
442
442
  children: [
443
- l && /* @__PURE__ */ d(W, { children: [
443
+ c && /* @__PURE__ */ d($, { children: [
444
444
  /* @__PURE__ */ e(
445
- s,
445
+ p,
446
446
  {
447
447
  "aria-hidden": "true",
448
448
  sx: {
@@ -452,14 +452,14 @@ function Yt({
452
452
  width: 384,
453
453
  height: 384,
454
454
  borderRadius: "50%",
455
- bgcolor: O(l[0], 0.22),
455
+ bgcolor: w(c[0], 0.22),
456
456
  filter: "blur(64px)",
457
457
  pointerEvents: "none"
458
458
  }
459
459
  }
460
460
  ),
461
461
  /* @__PURE__ */ e(
462
- s,
462
+ p,
463
463
  {
464
464
  "aria-hidden": "true",
465
465
  sx: {
@@ -469,25 +469,25 @@ function Yt({
469
469
  width: 384,
470
470
  height: 384,
471
471
  borderRadius: "50%",
472
- bgcolor: O(l[1], 0.22),
472
+ bgcolor: w(c[1], 0.22),
473
473
  filter: "blur(64px)",
474
474
  pointerEvents: "none"
475
475
  }
476
476
  }
477
477
  )
478
478
  ] }),
479
- /* @__PURE__ */ d(P, { maxWidth: "lg", sx: { position: "relative", zIndex: 1 }, children: [
479
+ /* @__PURE__ */ d(j, { maxWidth: "lg", sx: { position: "relative", zIndex: 1 }, children: [
480
480
  /* @__PURE__ */ d(
481
- g,
481
+ b,
482
482
  {
483
483
  direction: { xs: "column", sm: "row" },
484
484
  justifyContent: "space-between",
485
485
  alignItems: { xs: "flex-start", sm: "center" },
486
486
  spacing: 4,
487
487
  children: [
488
- /* @__PURE__ */ d(g, { spacing: 1, children: [
489
- /* @__PURE__ */ e(h, { component: "p", variant: "h6", children: t }),
490
- r && /* @__PURE__ */ e(
488
+ /* @__PURE__ */ d(b, { spacing: 1, children: [
489
+ /* @__PURE__ */ e(h, { component: "p", variant: "h6", children: r }),
490
+ t && /* @__PURE__ */ e(
491
491
  h,
492
492
  {
493
493
  variant: "body2",
@@ -495,22 +495,22 @@ function Yt({
495
495
  maxWidth: 560,
496
496
  color: i.vietri.color.onSurfaceSoft
497
497
  }),
498
- children: r
498
+ children: t
499
499
  }
500
500
  ),
501
501
  o.map((i) => /* @__PURE__ */ e(
502
502
  h,
503
503
  {
504
504
  variant: "body2",
505
- sx: (u) => ({ color: u.vietri.color.onSurfaceSoft }),
505
+ sx: (s) => ({ color: s.vietri.color.onSurfaceSoft }),
506
506
  children: i
507
507
  },
508
508
  i
509
509
  ))
510
510
  ] }),
511
- /* @__PURE__ */ d(g, { spacing: 2, alignItems: { xs: "flex-start", sm: "flex-end" }, children: [
512
- c.length > 0 && /* @__PURE__ */ e(s, { component: "nav", "aria-label": n, children: /* @__PURE__ */ e(
513
- g,
511
+ /* @__PURE__ */ d(b, { spacing: 2, alignItems: { xs: "flex-start", sm: "flex-end" }, children: [
512
+ l.length > 0 && /* @__PURE__ */ e(p, { component: "nav", "aria-label": n, children: /* @__PURE__ */ e(
513
+ b,
514
514
  {
515
515
  component: "ul",
516
516
  direction: "row",
@@ -518,8 +518,8 @@ function Yt({
518
518
  useFlexGap: !0,
519
519
  flexWrap: "wrap",
520
520
  sx: { listStyle: "none", m: 0, p: 0 },
521
- children: c.map((i) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ d(
522
- C,
521
+ children: l.map((i) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ d(
522
+ S,
523
523
  {
524
524
  href: i.href,
525
525
  color: "inherit",
@@ -529,9 +529,9 @@ function Yt({
529
529
  sx: { display: "inline-flex", alignItems: "center", gap: 0.5 },
530
530
  children: [
531
531
  i.label,
532
- i.external && /* @__PURE__ */ d(W, { children: [
533
- /* @__PURE__ */ e(y, { icon: $, size: 14 }),
534
- /* @__PURE__ */ e(j, { children: m })
532
+ i.external && /* @__PURE__ */ d($, { children: [
533
+ /* @__PURE__ */ e(C, { icon: H, size: 14 }),
534
+ /* @__PURE__ */ e(N, { children: f })
535
535
  ] })
536
536
  ]
537
537
  }
@@ -543,13 +543,13 @@ function Yt({
543
543
  ]
544
544
  }
545
545
  ),
546
- p && /* @__PURE__ */ d(W, { children: [
546
+ u && /* @__PURE__ */ d($, { children: [
547
547
  /* @__PURE__ */ e(
548
- We,
548
+ Me,
549
549
  {
550
550
  sx: (i) => ({
551
551
  my: 3,
552
- borderColor: O(i.vietri.color.onSurface, 0.25)
552
+ borderColor: w(i.vietri.color.onSurface, 0.25)
553
553
  })
554
554
  }
555
555
  ),
@@ -558,7 +558,7 @@ function Yt({
558
558
  {
559
559
  variant: "body2",
560
560
  sx: (i) => ({ color: i.vietri.color.onSurfaceSoft }),
561
- children: p
561
+ children: u
562
562
  }
563
563
  )
564
564
  ] })
@@ -567,132 +567,132 @@ function Yt({
567
567
  }
568
568
  );
569
569
  }
570
- function qt({
571
- title: t,
572
- eyebrow: r,
570
+ function Jr({
571
+ title: r,
572
+ eyebrow: t,
573
573
  description: o,
574
- level: c = 2,
574
+ level: l = 2,
575
575
  align: n = "left"
576
576
  }) {
577
- const a = `h${c}`;
578
- return /* @__PURE__ */ d(g, { spacing: 1, sx: { textAlign: n, alignItems: n === "center" ? "center" : "flex-start" }, children: [
579
- r && /* @__PURE__ */ e(
577
+ const a = `h${l}`;
578
+ return /* @__PURE__ */ d(b, { spacing: 1, sx: { textAlign: n, alignItems: n === "center" ? "center" : "flex-start" }, children: [
579
+ t && /* @__PURE__ */ e(
580
580
  h,
581
581
  {
582
582
  component: "p",
583
583
  variant: "overline",
584
584
  color: "primary.main",
585
585
  sx: { display: "inline-flex", alignItems: "center", gap: 0.75, lineHeight: 1.5 },
586
- children: r
586
+ children: t
587
587
  }
588
588
  ),
589
- /* @__PURE__ */ e(h, { component: a, variant: "h3", children: t }),
589
+ /* @__PURE__ */ e(h, { component: a, variant: "h3", children: r }),
590
590
  o && /* @__PURE__ */ e(h, { variant: "body1", color: "text.secondary", sx: { maxWidth: 680 }, children: o })
591
591
  ] });
592
592
  }
593
- function Qt({
594
- label: t,
595
- value: r,
593
+ function Qr({
594
+ label: r,
595
+ value: t,
596
596
  onChange: o,
597
- options: c,
597
+ options: l,
598
598
  helperText: n,
599
599
  disabled: a,
600
- fullWidth: p,
601
- size: m,
602
- id: l
600
+ fullWidth: u,
601
+ size: f,
602
+ id: c
603
603
  }) {
604
- const i = new Map(c.map((u) => [u.value, u]));
604
+ const i = new Map(l.map((s) => [s.value, s]));
605
605
  return /* @__PURE__ */ e(
606
606
  Te,
607
607
  {
608
608
  select: !0,
609
- id: l,
610
- label: t,
611
- value: r,
612
- onChange: (u) => o(u.target.value),
609
+ id: c,
610
+ label: r,
611
+ value: t,
612
+ onChange: (s) => o(s.target.value),
613
613
  helperText: n,
614
614
  disabled: a,
615
- fullWidth: p,
616
- size: m,
615
+ fullWidth: u,
616
+ size: f,
617
617
  slotProps: {
618
618
  select: {
619
- renderValue: (u) => {
620
- const f = i.get(String(u));
621
- return f ? /* @__PURE__ */ d(s, { component: "span", sx: { display: "inline-flex", alignItems: "center", gap: 1 }, children: [
622
- f.adornment,
623
- f.label
619
+ renderValue: (s) => {
620
+ const m = i.get(String(s));
621
+ return m ? /* @__PURE__ */ d(p, { component: "span", sx: { display: "inline-flex", alignItems: "center", gap: 1 }, children: [
622
+ m.adornment,
623
+ m.label
624
624
  ] }) : "";
625
625
  }
626
626
  }
627
627
  },
628
- children: c.map((u) => /* @__PURE__ */ d(Pe, { value: u.value, sx: { gap: 1 }, children: [
629
- u.adornment,
630
- u.label,
631
- u.count !== void 0 && /* @__PURE__ */ e(h, { component: "span", variant: "caption", color: "text.secondary", sx: { ml: "auto", pl: 2 }, children: u.count })
632
- ] }, u.value))
628
+ children: l.map((s) => /* @__PURE__ */ d(je, { value: s.value, sx: { gap: 1 }, children: [
629
+ s.adornment,
630
+ s.label,
631
+ s.count !== void 0 && /* @__PURE__ */ e(h, { component: "span", variant: "caption", color: "text.secondary", sx: { ml: "auto", pl: 2 }, children: s.count })
632
+ ] }, s.value))
633
633
  }
634
634
  );
635
635
  }
636
- function Jt({
637
- open: t,
638
- onClose: r,
636
+ function Kr({
637
+ open: r,
638
+ onClose: t,
639
639
  title: o,
640
- description: c,
640
+ description: l,
641
641
  children: n,
642
642
  actions: a,
643
- closeLabel: p = "Close",
644
- maxWidth: m = "sm"
643
+ closeLabel: u = "Close",
644
+ maxWidth: f = "sm"
645
645
  }) {
646
- const l = D(), i = D();
646
+ const c = E(), i = E();
647
647
  return /* @__PURE__ */ d(
648
- Ie,
648
+ We,
649
649
  {
650
- open: t,
651
- onClose: r,
650
+ open: r,
651
+ onClose: t,
652
652
  fullWidth: !0,
653
- maxWidth: m,
654
- "aria-labelledby": l,
655
- "aria-describedby": c ? i : void 0,
653
+ maxWidth: f,
654
+ "aria-labelledby": c,
655
+ "aria-describedby": l ? i : void 0,
656
656
  children: [
657
- /* @__PURE__ */ e(Ae, { id: l, sx: { pr: 7 }, children: o }),
657
+ /* @__PURE__ */ e(Ie, { id: c, sx: { pr: 7 }, children: o }),
658
658
  /* @__PURE__ */ e(
659
- w,
659
+ B,
660
660
  {
661
- "aria-label": p,
662
- onClick: r,
661
+ "aria-label": u,
662
+ onClick: t,
663
663
  sx: { position: "absolute", top: 8, right: 8 },
664
- children: /* @__PURE__ */ e(y, { icon: L })
664
+ children: /* @__PURE__ */ e(C, { icon: L })
665
665
  }
666
666
  ),
667
667
  /* @__PURE__ */ d(De, { children: [
668
- c && /* @__PURE__ */ e(Ee, { id: i, sx: { mb: n ? 2 : 0 }, children: c }),
668
+ l && /* @__PURE__ */ e(Ee, { id: i, sx: { mb: n ? 2 : 0 }, children: l }),
669
669
  n
670
670
  ] }),
671
- a && /* @__PURE__ */ e(ke, { sx: { px: 3, pb: 2 }, children: a })
671
+ a && /* @__PURE__ */ e(Ae, { sx: { px: 3, pb: 2 }, children: a })
672
672
  ]
673
673
  }
674
674
  );
675
675
  }
676
- function Kt({
677
- open: t,
678
- onClose: r,
676
+ function Zr({
677
+ open: r,
678
+ onClose: t,
679
679
  title: o,
680
- eyebrow: c,
680
+ eyebrow: l,
681
681
  children: n,
682
682
  footer: a,
683
- anchor: p = "right",
684
- width: m = 420,
685
- closeLabel: l = "Close"
683
+ anchor: u = "right",
684
+ width: f = 420,
685
+ closeLabel: c = "Close"
686
686
  }) {
687
- const i = D();
688
- return /* @__PURE__ */ e(Z, { anchor: p, open: t, onClose: r, children: /* @__PURE__ */ d(
689
- s,
687
+ const i = E();
688
+ return /* @__PURE__ */ e(re, { anchor: u, open: r, onClose: t, children: /* @__PURE__ */ d(
689
+ p,
690
690
  {
691
691
  role: "dialog",
692
692
  "aria-modal": "true",
693
693
  "aria-labelledby": i,
694
694
  sx: {
695
- width: { xs: "100vw", sm: m },
695
+ width: { xs: "100vw", sm: f },
696
696
  maxWidth: "100vw",
697
697
  height: "100%",
698
698
  display: "flex",
@@ -700,52 +700,52 @@ function Kt({
700
700
  },
701
701
  children: [
702
702
  /* @__PURE__ */ d(
703
- g,
703
+ b,
704
704
  {
705
705
  direction: "row",
706
706
  justifyContent: "space-between",
707
707
  alignItems: "center",
708
708
  sx: { p: 3, pb: 1 },
709
709
  children: [
710
- /* @__PURE__ */ e(h, { component: "p", variant: "overline", color: "primary.main", children: c }),
711
- /* @__PURE__ */ e(w, { "aria-label": l, onClick: r, edge: "end", children: /* @__PURE__ */ e(y, { icon: L }) })
710
+ /* @__PURE__ */ e(h, { component: "p", variant: "overline", color: "primary.main", children: l }),
711
+ /* @__PURE__ */ e(B, { "aria-label": c, onClick: t, edge: "end", children: /* @__PURE__ */ e(C, { icon: L }) })
712
712
  ]
713
713
  }
714
714
  ),
715
- /* @__PURE__ */ d(s, { sx: { px: 3, pb: 2, flex: 1, overflowY: "auto" }, tabIndex: 0, children: [
715
+ /* @__PURE__ */ d(p, { sx: { px: 3, pb: 2, flex: 1, overflowY: "auto" }, tabIndex: 0, children: [
716
716
  /* @__PURE__ */ e(h, { id: i, component: "h2", variant: "h4", sx: { mb: 2 }, children: o }),
717
717
  n
718
718
  ] }),
719
- a && /* @__PURE__ */ e(s, { sx: { p: 3, borderTop: 1, borderColor: "divider" }, children: a })
719
+ a && /* @__PURE__ */ e(p, { sx: { p: 3, borderTop: 1, borderColor: "divider" }, children: a })
720
720
  ]
721
721
  }
722
722
  ) });
723
723
  }
724
- function Zt({
725
- label: t,
726
- value: r,
724
+ function et({
725
+ label: r,
726
+ value: t,
727
727
  copyLabel: o = "Copy",
728
- copiedLabel: c = "Copied!",
728
+ copiedLabel: l = "Copied!",
729
729
  errorLabel: n = "Could not copy",
730
730
  copiedDuration: a = 2e3
731
731
  }) {
732
- const [p, m] = I("idle"), l = E(void 0);
733
- X(() => () => clearTimeout(l.current), []);
732
+ const [u, f] = M("idle"), c = I(void 0);
733
+ q(() => () => clearTimeout(c.current), []);
734
734
  async function i() {
735
735
  try {
736
- await navigator.clipboard.writeText(r), m("copied");
736
+ await navigator.clipboard.writeText(t), f("copied");
737
737
  } catch {
738
- m("error");
738
+ f("error");
739
739
  }
740
- clearTimeout(l.current), l.current = setTimeout(() => m("idle"), a);
740
+ clearTimeout(c.current), c.current = setTimeout(() => f("idle"), a);
741
741
  }
742
- return /* @__PURE__ */ d(g, { spacing: 1.5, children: [
743
- /* @__PURE__ */ e(h, { component: "p", variant: "overline", color: "text.secondary", children: t }),
742
+ return /* @__PURE__ */ d(b, { spacing: 1.5, children: [
743
+ /* @__PURE__ */ e(h, { component: "p", variant: "overline", color: "text.secondary", children: r }),
744
744
  /* @__PURE__ */ e(
745
- s,
745
+ p,
746
746
  {
747
747
  role: "region",
748
- "aria-label": t,
748
+ "aria-label": r,
749
749
  tabIndex: 0,
750
750
  sx: {
751
751
  overflowX: "auto",
@@ -758,26 +758,26 @@ function Zt({
758
758
  fontSize: "0.8125rem",
759
759
  whiteSpace: "pre"
760
760
  },
761
- children: /* @__PURE__ */ e("code", { children: r })
761
+ children: /* @__PURE__ */ e("code", { children: t })
762
762
  }
763
763
  ),
764
764
  /* @__PURE__ */ e(
765
765
  z,
766
766
  {
767
767
  onClick: i,
768
- startIcon: /* @__PURE__ */ e(y, { icon: p === "copied" ? Y : J }),
768
+ startIcon: /* @__PURE__ */ e(C, { icon: u === "copied" ? J : Z }),
769
769
  fullWidth: !0,
770
- children: p === "copied" ? c : o
770
+ children: u === "copied" ? l : o
771
771
  }
772
772
  ),
773
- /* @__PURE__ */ e(j, { role: "status", "aria-live": "polite", children: p === "copied" ? c : p === "error" ? n : "" })
773
+ /* @__PURE__ */ e(N, { role: "status", "aria-live": "polite", children: u === "copied" ? l : u === "error" ? n : "" })
774
774
  ] });
775
775
  }
776
- function er({ href: t, children: r = "Skip to content" }) {
776
+ function rt({ href: r, children: t = "Skip to content" }) {
777
777
  return /* @__PURE__ */ e(
778
- C,
778
+ S,
779
779
  {
780
- href: t,
780
+ href: r,
781
781
  sx: (o) => ({
782
782
  position: "fixed",
783
783
  top: o.spacing(1),
@@ -794,74 +794,96 @@ function er({ href: t, children: r = "Skip to content" }) {
794
794
  transform: "translateY(-300%)",
795
795
  "&:focus": { transform: "translateY(0)" }
796
796
  }),
797
- children: r
797
+ children: t
798
798
  }
799
799
  );
800
800
  }
801
- function tr({
802
- title: t,
803
- eyebrow: r,
801
+ function tt({
802
+ title: r,
803
+ eyebrow: t,
804
804
  description: o,
805
- actions: c,
805
+ actions: l,
806
806
  level: n = 1,
807
- align: a = "left"
807
+ align: a = "left",
808
+ image: u,
809
+ imagePosition: f = "center"
808
810
  }) {
809
- const p = `h${n}`, m = a === "center";
811
+ const c = `h${n}`, i = a === "center", s = !!u;
810
812
  return /* @__PURE__ */ e(
811
- s,
813
+ p,
812
814
  {
813
815
  component: "section",
814
- sx: (l) => ({
815
- py: { xs: 6, md: 10 },
816
- color: l.vietri.color.onSurface,
817
- background: l.vietri.gradient.surface,
818
- // Focus ring and secondary buttons that stay visible on a dark surface.
819
- "& a:focus-visible, & button:focus-visible": {
820
- outline: "2px solid",
821
- outlineColor: l.vietri.color.onSurface,
822
- outlineOffset: 3
823
- },
824
- "& .MuiButton-outlined, & .MuiButton-text": {
825
- color: "inherit",
826
- borderColor: "currentColor"
827
- }
828
- }),
829
- children: /* @__PURE__ */ e(P, { maxWidth: "lg", children: /* @__PURE__ */ d(
830
- g,
816
+ sx: (m) => {
817
+ const g = m.vietri.color.scrim, x = m.vietri.gradient.surface, v = `linear-gradient(0deg, ${g} 0%, ${w(g, 0)} 28%)`, V = `url(${JSON.stringify(u ?? "")})`;
818
+ return {
819
+ display: "flex",
820
+ alignItems: "center",
821
+ py: { xs: 6, md: 10 },
822
+ ...s && { minHeight: { xs: 440, md: 600 } },
823
+ color: m.vietri.color.onSurface,
824
+ ...s ? {
825
+ // Layers, from top to bottom: dark layer, bottom fade, photo, surface.
826
+ backgroundImage: {
827
+ xs: `linear-gradient(${w(g, 0.88)}, ${w(g, 0.88)}), ${v}, ${V}, ${x}`,
828
+ md: `linear-gradient(90deg, ${w(g, 0.92)} 0%, ${w(g, 0.86)} 62%, ${w(g, 0.25)} 100%), ${v}, ${V}, ${x}`
829
+ },
830
+ backgroundSize: "cover",
831
+ backgroundPosition: f,
832
+ backgroundRepeat: "no-repeat"
833
+ } : { background: x },
834
+ // Focus ring and secondary buttons that stay visible on a dark surface.
835
+ "& a:focus-visible, & button:focus-visible": {
836
+ outline: "2px solid",
837
+ outlineColor: m.vietri.color.onSurface,
838
+ outlineOffset: 3
839
+ },
840
+ "& .MuiButton-outlined, & .MuiButton-text": {
841
+ color: "inherit",
842
+ borderColor: "currentColor"
843
+ }
844
+ };
845
+ },
846
+ children: /* @__PURE__ */ e(j, { maxWidth: "lg", sx: { width: "100%" }, children: /* @__PURE__ */ d(
847
+ b,
831
848
  {
832
849
  spacing: 2,
833
- sx: { alignItems: m ? "center" : "flex-start", textAlign: a },
850
+ sx: {
851
+ alignItems: i ? "center" : "flex-start",
852
+ textAlign: a,
853
+ // With an image the text stays in the left 60%, where the dark layer is strongest.
854
+ ...s && { maxWidth: { md: "60%" }, ...i && { mx: "auto" } }
855
+ },
834
856
  children: [
835
- r && /* @__PURE__ */ e(
857
+ t && /* @__PURE__ */ e(
836
858
  h,
837
859
  {
838
860
  component: "p",
839
861
  variant: "overline",
840
- sx: (l) => ({ color: l.vietri.color.onSurfaceSoft }),
841
- children: r
862
+ sx: (m) => ({ color: m.vietri.color.onSurfaceSoft }),
863
+ children: t
842
864
  }
843
865
  ),
844
- /* @__PURE__ */ e(h, { component: p, variant: "h2", sx: { maxWidth: 900 }, children: t }),
866
+ /* @__PURE__ */ e(h, { component: c, variant: "h2", sx: { maxWidth: 900 }, children: r }),
845
867
  o && /* @__PURE__ */ e(
846
868
  h,
847
869
  {
848
870
  variant: "body1",
849
- sx: (l) => ({
871
+ sx: (m) => ({
850
872
  maxWidth: 680,
851
- color: l.vietri.color.onSurfaceSoft
873
+ color: m.vietri.color.onSurfaceSoft
852
874
  }),
853
875
  children: o
854
876
  }
855
877
  ),
856
- c && /* @__PURE__ */ e(
857
- g,
878
+ l && /* @__PURE__ */ e(
879
+ b,
858
880
  {
859
881
  direction: "row",
860
882
  spacing: 2,
861
883
  useFlexGap: !0,
862
884
  flexWrap: "wrap",
863
- sx: { pt: 2, justifyContent: m ? "center" : "flex-start" },
864
- children: c
885
+ sx: { pt: 2, justifyContent: i ? "center" : "flex-start" },
886
+ children: l
865
887
  }
866
888
  )
867
889
  ]
@@ -870,40 +892,40 @@ function tr({
870
892
  }
871
893
  );
872
894
  }
873
- function rr({
874
- icon: t,
875
- title: r,
895
+ function ot({
896
+ icon: r,
897
+ title: t,
876
898
  description: o,
877
- level: c = 3,
899
+ level: l = 3,
878
900
  children: n
879
901
  }) {
880
- const a = `h${c}`;
881
- return /* @__PURE__ */ e(B, { sx: { height: "100%" }, children: /* @__PURE__ */ d(k, { children: [
902
+ const a = `h${l}`;
903
+ return /* @__PURE__ */ e(A, { sx: { height: "100%" }, children: /* @__PURE__ */ d(D, { children: [
882
904
  /* @__PURE__ */ e(
883
- s,
905
+ p,
884
906
  {
885
- sx: (p) => ({
907
+ sx: (u) => ({
886
908
  display: "grid",
887
909
  placeItems: "center",
888
910
  width: 44,
889
911
  height: 44,
890
912
  mb: 2,
891
913
  borderRadius: 2,
892
- bgcolor: p.vietri.color.chip,
893
- color: p.palette.primary.main
914
+ bgcolor: u.vietri.color.chip,
915
+ color: u.palette.primary.main
894
916
  }),
895
- children: /* @__PURE__ */ e(y, { icon: t, size: 22 })
917
+ children: /* @__PURE__ */ e(C, { icon: r, size: 22 })
896
918
  }
897
919
  ),
898
- /* @__PURE__ */ e(h, { component: a, variant: "h6", gutterBottom: !0, children: r }),
920
+ /* @__PURE__ */ e(h, { component: a, variant: "h6", gutterBottom: !0, children: t }),
899
921
  o && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: o }),
900
- n && /* @__PURE__ */ e(s, { sx: { mt: 2 }, children: n })
922
+ n && /* @__PURE__ */ e(p, { sx: { mt: 2 }, children: n })
901
923
  ] }) });
902
924
  }
903
- function or({ steps: t, level: r = 3, ariaLabel: o }) {
904
- const c = `h${r}`;
925
+ function it({ steps: r, level: t = 3, ariaLabel: o }) {
926
+ const l = `h${t}`;
905
927
  return /* @__PURE__ */ e(
906
- s,
928
+ p,
907
929
  {
908
930
  component: "ol",
909
931
  role: "list",
@@ -916,44 +938,44 @@ function or({ steps: t, level: r = 3, ariaLabel: o }) {
916
938
  gap: 3,
917
939
  gridTemplateColumns: {
918
940
  xs: "1fr",
919
- md: `repeat(${Math.max(t.length, 1)}, minmax(0, 1fr))`
941
+ md: `repeat(${Math.max(r.length, 1)}, minmax(0, 1fr))`
920
942
  }
921
943
  },
922
- children: t.map((n, a) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ d(g, { spacing: 1, children: [
944
+ children: r.map((n, a) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ d(b, { spacing: 1, children: [
923
945
  /* @__PURE__ */ e(
924
- s,
946
+ p,
925
947
  {
926
948
  "aria-hidden": "true",
927
- sx: (p) => ({
949
+ sx: (u) => ({
928
950
  display: "grid",
929
951
  placeItems: "center",
930
952
  width: 36,
931
953
  height: 36,
932
954
  borderRadius: "50%",
933
955
  fontWeight: 600,
934
- bgcolor: p.palette.primary.main,
935
- color: p.palette.primary.contrastText
956
+ bgcolor: u.palette.primary.main,
957
+ color: u.palette.primary.contrastText
936
958
  }),
937
959
  children: a + 1
938
960
  }
939
961
  ),
940
- /* @__PURE__ */ e(h, { component: c, variant: "h6", children: n.title }),
962
+ /* @__PURE__ */ e(h, { component: l, variant: "h6", children: n.title }),
941
963
  n.description && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: n.description })
942
964
  ] }) }, n.title))
943
965
  }
944
966
  );
945
967
  }
946
- function ir({ entries: t, level: r = 3, ariaLabel: o }) {
947
- const c = `h${r}`;
968
+ function nt({ entries: r, level: t = 3, ariaLabel: o }) {
969
+ const l = `h${t}`;
948
970
  return /* @__PURE__ */ e(
949
- s,
971
+ p,
950
972
  {
951
973
  component: "ol",
952
974
  role: "list",
953
975
  "aria-label": o,
954
976
  sx: { listStyle: "none", m: 0, p: 0 },
955
- children: t.map((n) => /* @__PURE__ */ d(
956
- s,
977
+ children: r.map((n) => /* @__PURE__ */ d(
978
+ p,
957
979
  {
958
980
  component: "li",
959
981
  id: n.id,
@@ -977,7 +999,7 @@ function ir({ entries: t, level: r = 3, ariaLabel: o }) {
977
999
  }),
978
1000
  children: [
979
1001
  /* @__PURE__ */ e(
980
- s,
1002
+ p,
981
1003
  {
982
1004
  "aria-hidden": "true",
983
1005
  sx: (a) => ({
@@ -993,9 +1015,9 @@ function ir({ entries: t, level: r = 3, ariaLabel: o }) {
993
1015
  })
994
1016
  }
995
1017
  ),
996
- /* @__PURE__ */ e(h, { component: c, variant: "h5", children: n.label }),
1018
+ /* @__PURE__ */ e(h, { component: l, variant: "h5", children: n.label }),
997
1019
  n.description && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", sx: { mt: 0.5 }, children: n.description }),
998
- n.content && /* @__PURE__ */ e(s, { sx: { mt: 2 }, children: n.content })
1020
+ n.content && /* @__PURE__ */ e(p, { sx: { mt: 2 }, children: n.content })
999
1021
  ]
1000
1022
  },
1001
1023
  n.id
@@ -1003,7 +1025,7 @@ function ir({ entries: t, level: r = 3, ariaLabel: o }) {
1003
1025
  }
1004
1026
  );
1005
1027
  }
1006
- const _ = {
1028
+ const X = {
1007
1029
  position: "static",
1008
1030
  color: "inherit",
1009
1031
  font: "inherit",
@@ -1015,34 +1037,34 @@ const _ = {
1015
1037
  inset: 0
1016
1038
  }
1017
1039
  };
1018
- function nr({
1019
- name: t,
1020
- subtitle: r,
1040
+ function at({
1041
+ name: r,
1042
+ subtitle: t,
1021
1043
  bio: o,
1022
- tags: c = [],
1044
+ tags: l = [],
1023
1045
  href: n,
1024
1046
  onClick: a,
1025
- level: p = 3,
1026
- bioLines: m = 3
1047
+ level: u = 3,
1048
+ bioLines: f = 3
1027
1049
  }) {
1028
- const l = `h${p}`, i = !!(n || a);
1050
+ const c = `h${u}`, i = !!(n || a);
1029
1051
  return /* @__PURE__ */ e(
1030
- B,
1052
+ A,
1031
1053
  {
1032
- sx: (f) => ({
1054
+ sx: (m) => ({
1033
1055
  position: "relative",
1034
1056
  height: "100%",
1035
- ...i && { "&:hover": { borderColor: f.palette.primary.main } },
1057
+ ...i && { "&:hover": { borderColor: m.palette.primary.main } },
1036
1058
  // One focus ring for the whole card, instead of one around the name.
1037
1059
  "&:has(:focus-visible)": {
1038
- outline: `2px solid ${f.palette.primary.main}`,
1060
+ outline: `2px solid ${m.palette.primary.main}`,
1039
1061
  outlineOffset: 2
1040
1062
  },
1041
1063
  "& a:focus-visible, & button:focus-visible": { outline: "none" }
1042
1064
  }),
1043
- children: /* @__PURE__ */ d(k, { children: [
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 }),
1045
- r && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: r }),
1065
+ children: /* @__PURE__ */ d(D, { children: [
1066
+ /* @__PURE__ */ e(h, { component: c, variant: "h6", children: n ? /* @__PURE__ */ e(S, { href: n, underline: "none", sx: X, children: r }) : a ? /* @__PURE__ */ e(S, { component: "button", type: "button", onClick: a, underline: "none", sx: X, children: r }) : r }),
1067
+ t && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: t }),
1046
1068
  o && /* @__PURE__ */ e(
1047
1069
  h,
1048
1070
  {
@@ -1050,21 +1072,21 @@ function nr({
1050
1072
  sx: {
1051
1073
  mt: 1,
1052
1074
  display: "-webkit-box",
1053
- WebkitLineClamp: m,
1075
+ WebkitLineClamp: f,
1054
1076
  WebkitBoxOrient: "vertical",
1055
1077
  overflow: "hidden"
1056
1078
  },
1057
1079
  children: o
1058
1080
  }
1059
1081
  ),
1060
- c.length > 0 && /* @__PURE__ */ e(g, { direction: "row", spacing: 1, useFlexGap: !0, flexWrap: "wrap", sx: { mt: 2 }, children: c.map(
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)
1082
+ l.length > 0 && /* @__PURE__ */ e(b, { direction: "row", spacing: 1, useFlexGap: !0, flexWrap: "wrap", sx: { mt: 2 }, children: l.map(
1083
+ (m) => m.color ? /* @__PURE__ */ e(Ue, { label: m.label, color: m.color }, m.label) : /* @__PURE__ */ e(Y, { label: m.label, size: "small" }, m.label)
1062
1084
  ) })
1063
1085
  ] })
1064
1086
  }
1065
1087
  );
1066
1088
  }
1067
- const A = {
1089
+ const W = {
1068
1090
  position: "static",
1069
1091
  color: "inherit",
1070
1092
  font: "inherit",
@@ -1075,58 +1097,75 @@ const A = {
1075
1097
  position: "absolute",
1076
1098
  inset: 0
1077
1099
  }
1078
- }, Ue = (t) => ({
1100
+ }, Xe = (r) => ({
1079
1101
  "&:has(:focus-visible)": {
1080
- outline: `2px solid ${t.palette.primary.main}`,
1102
+ outline: `2px solid ${r.palette.primary.main}`,
1081
1103
  outlineOffset: 2
1082
1104
  },
1083
1105
  "& a:focus-visible, & button:focus-visible": { outline: "none" }
1084
1106
  });
1085
- function ar({
1086
- title: t,
1087
- subtitle: r,
1107
+ function lt({
1108
+ title: r,
1109
+ subtitle: t,
1088
1110
  meta: o,
1089
- imageUrl: c,
1111
+ imageUrl: l,
1090
1112
  duration: n,
1091
1113
  badge: a,
1092
- href: p,
1093
- onClick: m,
1094
- level: l = 3,
1095
- playIcon: i = !0
1114
+ href: u,
1115
+ onClick: f,
1116
+ level: c = 3,
1117
+ playIcon: i = !0,
1118
+ aspectRatio: s = "16 / 9"
1096
1119
  }) {
1097
- const u = `h${l}`, f = !!(p || m);
1120
+ const m = `h${c}`, g = !!(u || f);
1098
1121
  return /* @__PURE__ */ d(
1099
- B,
1122
+ A,
1100
1123
  {
1101
- sx: (b) => ({
1124
+ sx: (v) => ({
1102
1125
  position: "relative",
1103
1126
  height: "100%",
1104
1127
  overflow: "hidden",
1105
- ...f && { "&:hover": { borderColor: b.palette.primary.main } },
1106
- ...Ue(b)
1128
+ transition: "transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease",
1129
+ ...g && {
1130
+ "&:hover": {
1131
+ transform: "scale(1.03)",
1132
+ boxShadow: v.vietri.shadow.lg,
1133
+ borderColor: v.palette.primary.main
1134
+ },
1135
+ "&:hover .media-card-image": { transform: "scale(1.06)" }
1136
+ },
1137
+ ...Xe(v)
1107
1138
  }),
1108
1139
  children: [
1109
1140
  /* @__PURE__ */ d(
1110
- s,
1141
+ p,
1111
1142
  {
1112
- sx: (b) => ({
1143
+ sx: (v) => ({
1113
1144
  position: "relative",
1114
- aspectRatio: "16 / 9",
1115
- bgcolor: b.vietri.color.chip
1145
+ aspectRatio: s,
1146
+ overflow: "hidden",
1147
+ bgcolor: v.vietri.color.chip
1116
1148
  }),
1117
1149
  children: [
1118
- c && /* @__PURE__ */ e(
1119
- s,
1150
+ l && /* @__PURE__ */ e(
1151
+ p,
1120
1152
  {
1121
1153
  component: "img",
1122
- src: c,
1154
+ className: "media-card-image",
1155
+ src: l,
1123
1156
  alt: "",
1124
1157
  loading: "lazy",
1125
- sx: { display: "block", width: "100%", height: "100%", objectFit: "cover" }
1158
+ sx: {
1159
+ display: "block",
1160
+ width: "100%",
1161
+ height: "100%",
1162
+ objectFit: "cover",
1163
+ transition: "transform 400ms ease"
1164
+ }
1126
1165
  }
1127
1166
  ),
1128
1167
  i && /* @__PURE__ */ e(
1129
- s,
1168
+ p,
1130
1169
  {
1131
1170
  "aria-hidden": "true",
1132
1171
  sx: {
@@ -1142,13 +1181,13 @@ function ar({
1142
1181
  bgcolor: "rgba(0, 0, 0, 0.8)",
1143
1182
  color: "#FFFFFF"
1144
1183
  },
1145
- children: /* @__PURE__ */ e(y, { icon: H, size: 22 })
1184
+ children: /* @__PURE__ */ e(C, { icon: P, size: 22 })
1146
1185
  }
1147
1186
  ),
1148
1187
  a && /* @__PURE__ */ e(
1149
- s,
1188
+ p,
1150
1189
  {
1151
- sx: (b) => ({
1190
+ sx: (v) => ({
1152
1191
  position: "absolute",
1153
1192
  top: 8,
1154
1193
  left: 8,
@@ -1157,14 +1196,14 @@ function ar({
1157
1196
  borderRadius: 1,
1158
1197
  fontSize: "0.75rem",
1159
1198
  fontWeight: 600,
1160
- bgcolor: b.vietri.color.action[0],
1161
- color: b.vietri.color.onAction
1199
+ bgcolor: v.vietri.color.action[0],
1200
+ color: v.vietri.color.onAction
1162
1201
  }),
1163
1202
  children: a
1164
1203
  }
1165
1204
  ),
1166
1205
  n && /* @__PURE__ */ e(
1167
- s,
1206
+ p,
1168
1207
  {
1169
1208
  sx: {
1170
1209
  position: "absolute",
@@ -1184,80 +1223,93 @@ function ar({
1184
1223
  ]
1185
1224
  }
1186
1225
  ),
1187
- /* @__PURE__ */ d(k, { children: [
1226
+ /* @__PURE__ */ d(D, { children: [
1188
1227
  o && /* @__PURE__ */ e(h, { component: "p", variant: "overline", color: "text.secondary", children: o }),
1189
- /* @__PURE__ */ e(h, { component: u, variant: "h6", children: p ? /* @__PURE__ */ e(C, { href: p, underline: "none", sx: A, children: t }) : m ? /* @__PURE__ */ e(C, { component: "button", type: "button", onClick: m, underline: "none", sx: A, children: t }) : t }),
1190
- r && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: r })
1228
+ /* @__PURE__ */ e(h, { component: m, variant: "h6", children: u ? /* @__PURE__ */ e(S, { href: u, underline: "none", sx: W, children: r }) : f ? /* @__PURE__ */ e(S, { component: "button", type: "button", onClick: f, underline: "none", sx: W, children: r }) : r }),
1229
+ t && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: t })
1191
1230
  ] })
1192
1231
  ]
1193
1232
  }
1194
1233
  );
1195
1234
  }
1196
- function lr({
1197
- title: t,
1198
- children: r,
1235
+ function ct({
1236
+ title: r,
1237
+ children: t,
1199
1238
  level: o = 2,
1200
- itemWidth: c = 280,
1239
+ itemWidth: l = 280,
1201
1240
  previousLabel: n = "Scroll left",
1202
1241
  nextLabel: a = "Scroll right",
1203
- action: p
1242
+ action: u
1204
1243
  }) {
1205
- const m = `h${o}`, l = D(), i = E(null), u = ie.toArray(r);
1206
- function f(x) {
1207
- const b = i.current;
1208
- if (!b) return;
1209
- const re = typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
1210
- b.scrollBy?.({
1211
- left: x * b.clientWidth * 0.8,
1212
- behavior: re ? "auto" : "smooth"
1244
+ const f = `h${o}`, c = E(), i = I(null), s = ne.toArray(t);
1245
+ function m(g) {
1246
+ const x = i.current;
1247
+ if (!x) return;
1248
+ const v = typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
1249
+ x.scrollBy?.({
1250
+ left: g * x.clientWidth * 0.8,
1251
+ behavior: v ? "auto" : "smooth"
1213
1252
  });
1214
1253
  }
1215
- return /* @__PURE__ */ d(s, { component: "section", "aria-labelledby": l, sx: { mb: 4 }, children: [
1254
+ return /* @__PURE__ */ d(p, { component: "section", "aria-labelledby": c, sx: { mb: 4 }, children: [
1216
1255
  /* @__PURE__ */ d(
1217
- g,
1256
+ b,
1218
1257
  {
1219
1258
  direction: "row",
1220
1259
  justifyContent: "space-between",
1221
1260
  alignItems: "center",
1222
1261
  sx: { mb: 2 },
1223
1262
  children: [
1224
- /* @__PURE__ */ e(h, { id: l, component: m, variant: "h5", children: t }),
1225
- /* @__PURE__ */ d(g, { direction: "row", spacing: 1, alignItems: "center", children: [
1226
- p,
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 }) })
1263
+ /* @__PURE__ */ e(h, { id: c, component: f, variant: "h5", children: r }),
1264
+ /* @__PURE__ */ d(b, { direction: "row", spacing: 1, alignItems: "center", children: [
1265
+ u,
1266
+ /* @__PURE__ */ e(B, { "aria-label": n, onClick: () => m(-1), children: /* @__PURE__ */ e(C, { icon: Q }) }),
1267
+ /* @__PURE__ */ e(B, { "aria-label": a, onClick: () => m(1), children: /* @__PURE__ */ e(C, { icon: K }) })
1229
1268
  ] })
1230
1269
  ]
1231
1270
  }
1232
1271
  ),
1233
1272
  /* @__PURE__ */ e(
1234
- s,
1273
+ p,
1235
1274
  {
1236
1275
  ref: i,
1237
1276
  tabIndex: 0,
1238
- sx: (x) => ({
1277
+ sx: (g) => ({
1239
1278
  overflowX: "auto",
1240
- pb: 1,
1279
+ // Room for the cards that grow on hover, which the scroll area would clip.
1280
+ pt: 1.5,
1281
+ pb: 2,
1241
1282
  scrollSnapType: "x proximity",
1283
+ // A thin scrollbar in the theme's text color, instead of the heavy one of
1284
+ // the system. Still visible (it uses the secondary text color), so people
1285
+ // who scroll with a mouse can see there is more to the right.
1286
+ scrollbarWidth: "thin",
1287
+ scrollbarColor: `${g.palette.text.secondary} transparent`,
1288
+ "&::-webkit-scrollbar": { height: 8 },
1289
+ "&::-webkit-scrollbar-track": { backgroundColor: "transparent" },
1290
+ "&::-webkit-scrollbar-thumb": {
1291
+ backgroundColor: g.palette.text.secondary,
1292
+ borderRadius: 4
1293
+ },
1242
1294
  "&:focus-visible": {
1243
- outline: `2px solid ${x.palette.primary.main}`,
1295
+ outline: `2px solid ${g.palette.primary.main}`,
1244
1296
  outlineOffset: 2
1245
1297
  }
1246
1298
  }),
1247
1299
  children: /* @__PURE__ */ e(
1248
- s,
1300
+ p,
1249
1301
  {
1250
1302
  component: "ul",
1251
1303
  role: "list",
1252
1304
  sx: { listStyle: "none", m: 0, p: 0, display: "flex", gap: 2 },
1253
- children: u.map((x, b) => /* @__PURE__ */ e(
1254
- s,
1305
+ children: s.map((g, x) => /* @__PURE__ */ e(
1306
+ p,
1255
1307
  {
1256
1308
  component: "li",
1257
- sx: { flex: `0 0 ${c}px`, scrollSnapAlign: "start" },
1258
- children: x
1309
+ sx: { flex: `0 0 ${l}px`, scrollSnapAlign: "start" },
1310
+ children: g
1259
1311
  },
1260
- b
1312
+ x
1261
1313
  ))
1262
1314
  }
1263
1315
  )
@@ -1265,23 +1317,23 @@ function lr({
1265
1317
  )
1266
1318
  ] });
1267
1319
  }
1268
- function Xe(t, r, o) {
1269
- const c = new URLSearchParams({ rel: "0", modestbranding: "1" });
1270
- return r && c.set("start", String(Math.floor(r))), o && c.set("autoplay", "1"), `https://www.youtube-nocookie.com/embed/${encodeURIComponent(t)}?${c.toString()}`;
1320
+ function Ye(r, t, o) {
1321
+ const l = new URLSearchParams({ rel: "0", modestbranding: "1" });
1322
+ return t && l.set("start", String(Math.floor(t))), o && l.set("autoplay", "1"), `https://www.youtube-nocookie.com/embed/${encodeURIComponent(r)}?${l.toString()}`;
1271
1323
  }
1272
- function cr({
1273
- videoId: t,
1274
- title: r,
1324
+ function dt({
1325
+ videoId: r,
1326
+ title: t,
1275
1327
  poster: o,
1276
- start: c,
1328
+ start: l,
1277
1329
  lazy: n = !0,
1278
1330
  playLabel: a
1279
1331
  }) {
1280
- const [p, m] = I(!n), l = E(!1), i = E(null);
1281
- return X(() => {
1282
- p && l.current && i.current?.focus();
1283
- }, [p]), /* @__PURE__ */ e(
1284
- s,
1332
+ const [u, f] = M(!n), c = I(!1), i = I(null);
1333
+ return q(() => {
1334
+ u && c.current && i.current?.focus();
1335
+ }, [u]), /* @__PURE__ */ e(
1336
+ p,
1285
1337
  {
1286
1338
  sx: {
1287
1339
  position: "relative",
@@ -1291,12 +1343,12 @@ function cr({
1291
1343
  borderRadius: 2,
1292
1344
  bgcolor: "#000000"
1293
1345
  },
1294
- children: p ? /* @__PURE__ */ e(
1346
+ children: u ? /* @__PURE__ */ e(
1295
1347
  "iframe",
1296
1348
  {
1297
1349
  ref: i,
1298
- src: Xe(t, c, l.current),
1299
- title: r,
1350
+ src: Ye(r, l, c.current),
1351
+ title: t,
1300
1352
  allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
1301
1353
  allowFullScreen: !0,
1302
1354
  referrerPolicy: "strict-origin-when-cross-origin",
@@ -1304,11 +1356,11 @@ function cr({
1304
1356
  style: { position: "absolute", inset: 0, width: "100%", height: "100%", border: 0 }
1305
1357
  }
1306
1358
  ) : /* @__PURE__ */ d(
1307
- je,
1359
+ Ne,
1308
1360
  {
1309
- "aria-label": a ?? `Play video: ${r}`,
1361
+ "aria-label": a ?? `Play video: ${t}`,
1310
1362
  onClick: () => {
1311
- l.current = !0, m(!0);
1363
+ c.current = !0, f(!0);
1312
1364
  },
1313
1365
  sx: {
1314
1366
  position: "absolute",
@@ -1322,7 +1374,7 @@ function cr({
1322
1374
  },
1323
1375
  children: [
1324
1376
  o && /* @__PURE__ */ e(
1325
- s,
1377
+ p,
1326
1378
  {
1327
1379
  component: "img",
1328
1380
  src: o,
@@ -1332,7 +1384,7 @@ function cr({
1332
1384
  }
1333
1385
  ),
1334
1386
  /* @__PURE__ */ e(
1335
- s,
1387
+ p,
1336
1388
  {
1337
1389
  "aria-hidden": "true",
1338
1390
  sx: {
@@ -1345,7 +1397,7 @@ function cr({
1345
1397
  bgcolor: "rgba(0, 0, 0, 0.8)",
1346
1398
  color: "#FFFFFF"
1347
1399
  },
1348
- children: /* @__PURE__ */ e(y, { icon: H, size: 32 })
1400
+ children: /* @__PURE__ */ e(C, { icon: P, size: 32 })
1349
1401
  }
1350
1402
  )
1351
1403
  ]
@@ -1354,57 +1406,57 @@ function cr({
1354
1406
  }
1355
1407
  );
1356
1408
  }
1357
- const Ye = (t) => ({
1409
+ const qe = (r) => ({
1358
1410
  "&:has(:focus-visible)": {
1359
- outline: `2px solid ${t.palette.primary.main}`,
1411
+ outline: `2px solid ${r.palette.primary.main}`,
1360
1412
  outlineOffset: -2
1361
1413
  },
1362
1414
  "& a:focus-visible, & button:focus-visible": { outline: "none" }
1363
1415
  });
1364
- function dr({
1365
- episodes: t,
1366
- currentId: r,
1416
+ function st({
1417
+ episodes: r,
1418
+ currentId: t,
1367
1419
  onSelect: o,
1368
- level: c = 3,
1420
+ level: l = 3,
1369
1421
  ariaLabel: n,
1370
- episodeLabel: a = (m) => `Episode ${m}`,
1371
- currentLabel: p = "Now playing"
1422
+ episodeLabel: a = (f) => `Episode ${f}`,
1423
+ currentLabel: u = "Now playing"
1372
1424
  }) {
1373
- const m = `h${c}`;
1425
+ const f = `h${l}`;
1374
1426
  return /* @__PURE__ */ e(
1375
- s,
1427
+ p,
1376
1428
  {
1377
1429
  component: "ol",
1378
1430
  role: "list",
1379
1431
  "aria-label": n,
1380
1432
  sx: { listStyle: "none", m: 0, p: 0 },
1381
- children: t.map((l) => {
1382
- const i = l.id === r, u = !!(o || l.href), f = o ? /* @__PURE__ */ e(
1383
- C,
1433
+ children: r.map((c) => {
1434
+ const i = c.id === t, s = !!(o || c.href), m = o ? /* @__PURE__ */ e(
1435
+ S,
1384
1436
  {
1385
1437
  component: "button",
1386
1438
  type: "button",
1387
- onClick: () => o(l.id),
1439
+ onClick: () => o(c.id),
1388
1440
  "aria-current": i ? "true" : void 0,
1389
1441
  underline: "none",
1390
- sx: A,
1391
- children: l.title
1442
+ sx: W,
1443
+ children: c.title
1392
1444
  }
1393
- ) : l.href ? /* @__PURE__ */ e(
1394
- C,
1445
+ ) : c.href ? /* @__PURE__ */ e(
1446
+ S,
1395
1447
  {
1396
- href: l.href,
1448
+ href: c.href,
1397
1449
  "aria-current": i ? "true" : void 0,
1398
1450
  underline: "none",
1399
- sx: A,
1400
- children: l.title
1451
+ sx: W,
1452
+ children: c.title
1401
1453
  }
1402
- ) : l.title;
1454
+ ) : c.title;
1403
1455
  return /* @__PURE__ */ d(
1404
- s,
1456
+ p,
1405
1457
  {
1406
1458
  component: "li",
1407
- sx: (x) => ({
1459
+ sx: (g) => ({
1408
1460
  position: "relative",
1409
1461
  display: "flex",
1410
1462
  gap: 2,
@@ -1412,35 +1464,35 @@ function dr({
1412
1464
  borderBottom: 1,
1413
1465
  borderColor: "divider",
1414
1466
  borderLeft: 4,
1415
- borderLeftColor: i ? x.palette.primary.main : "transparent",
1416
- ...u && { "&:hover": { bgcolor: x.palette.action.hover } },
1417
- ...Ye(x)
1467
+ borderLeftColor: i ? g.palette.primary.main : "transparent",
1468
+ ...s && { "&:hover": { bgcolor: g.palette.action.hover } },
1469
+ ...qe(g)
1418
1470
  }),
1419
1471
  children: [
1420
- l.imageUrl && /* @__PURE__ */ e(
1421
- s,
1472
+ c.imageUrl && /* @__PURE__ */ e(
1473
+ p,
1422
1474
  {
1423
1475
  component: "img",
1424
- src: l.imageUrl,
1476
+ src: c.imageUrl,
1425
1477
  alt: "",
1426
1478
  loading: "lazy",
1427
1479
  sx: {
1428
1480
  flex: "0 0 auto",
1429
1481
  width: { xs: 112, sm: 160 },
1430
- aspectRatio: "16 / 9",
1482
+ aspectRatio: c.imageAspectRatio ?? "16 / 9",
1431
1483
  objectFit: "cover",
1432
1484
  borderRadius: 1
1433
1485
  }
1434
1486
  }
1435
1487
  ),
1436
- /* @__PURE__ */ d(s, { sx: { minWidth: 0 }, children: [
1488
+ /* @__PURE__ */ d(p, { sx: { minWidth: 0 }, children: [
1437
1489
  /* @__PURE__ */ d(h, { component: "p", variant: "overline", color: "text.secondary", children: [
1438
- a(l.number),
1439
- i && ` · ${p}`
1490
+ a(c.number),
1491
+ i && ` · ${u}`
1440
1492
  ] }),
1441
- /* @__PURE__ */ e(h, { component: m, variant: "h6", children: f }),
1442
- l.meta && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: l.meta }),
1443
- l.description && /* @__PURE__ */ e(
1493
+ /* @__PURE__ */ e(h, { component: f, variant: "h6", children: m }),
1494
+ c.meta && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: c.meta }),
1495
+ c.description && /* @__PURE__ */ e(
1444
1496
  h,
1445
1497
  {
1446
1498
  variant: "body2",
@@ -1451,41 +1503,41 @@ function dr({
1451
1503
  WebkitBoxOrient: "vertical",
1452
1504
  overflow: "hidden"
1453
1505
  },
1454
- children: l.description
1506
+ children: c.description
1455
1507
  }
1456
1508
  )
1457
1509
  ] })
1458
1510
  ]
1459
1511
  },
1460
- l.id
1512
+ c.id
1461
1513
  );
1462
1514
  })
1463
1515
  }
1464
1516
  );
1465
1517
  }
1466
- function sr({
1467
- title: t,
1468
- description: r,
1518
+ function pt({
1519
+ title: r,
1520
+ description: t,
1469
1521
  imageUrl: o,
1470
- platforms: c,
1522
+ platforms: l,
1471
1523
  level: n = 3,
1472
1524
  platformsLabel: a = "Listen on",
1473
- externalLabel: p = "(opens in a new tab)"
1525
+ externalLabel: u = "(opens in a new tab)"
1474
1526
  }) {
1475
- const m = `h${n}`;
1476
- return /* @__PURE__ */ d(B, { sx: { height: "100%" }, children: [
1527
+ const f = `h${n}`;
1528
+ return /* @__PURE__ */ d(A, { sx: { height: "100%" }, children: [
1477
1529
  /* @__PURE__ */ e(
1478
- s,
1530
+ p,
1479
1531
  {
1480
- sx: (l) => ({
1532
+ sx: (c) => ({
1481
1533
  aspectRatio: "1 / 1",
1482
1534
  display: "grid",
1483
1535
  placeItems: "center",
1484
- bgcolor: l.vietri.color.chip,
1485
- color: l.palette.text.secondary
1536
+ bgcolor: c.vietri.color.chip,
1537
+ color: c.palette.text.secondary
1486
1538
  }),
1487
1539
  children: o ? /* @__PURE__ */ e(
1488
- s,
1540
+ p,
1489
1541
  {
1490
1542
  component: "img",
1491
1543
  src: o,
@@ -1493,14 +1545,14 @@ function sr({
1493
1545
  loading: "lazy",
1494
1546
  sx: { display: "block", width: "100%", height: "100%", objectFit: "cover" }
1495
1547
  }
1496
- ) : /* @__PURE__ */ e(y, { icon: K, size: 48 })
1548
+ ) : /* @__PURE__ */ e(C, { icon: ee, size: 48 })
1497
1549
  }
1498
1550
  ),
1499
- /* @__PURE__ */ d(k, { children: [
1500
- /* @__PURE__ */ e(h, { component: m, variant: "h6", gutterBottom: !0, children: t }),
1501
- r && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: r }),
1502
- c.length > 0 && /* @__PURE__ */ e(
1503
- g,
1551
+ /* @__PURE__ */ d(D, { children: [
1552
+ /* @__PURE__ */ e(h, { component: f, variant: "h6", gutterBottom: !0, children: r }),
1553
+ t && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: t }),
1554
+ l.length > 0 && /* @__PURE__ */ e(
1555
+ b,
1504
1556
  {
1505
1557
  component: "ul",
1506
1558
  role: "list",
@@ -1510,43 +1562,43 @@ function sr({
1510
1562
  useFlexGap: !0,
1511
1563
  flexWrap: "wrap",
1512
1564
  sx: { listStyle: "none", m: 0, mt: 2, p: 0 },
1513
- children: c.map((l) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ d(
1565
+ children: l.map((c) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ d(
1514
1566
  z,
1515
1567
  {
1516
1568
  variant: "outlined",
1517
1569
  size: "small",
1518
- href: l.href,
1570
+ href: c.href,
1519
1571
  target: "_blank",
1520
1572
  rel: "noopener noreferrer",
1521
- endIcon: /* @__PURE__ */ e(y, { icon: $, size: 14 }),
1573
+ endIcon: /* @__PURE__ */ e(C, { icon: H, size: 14 }),
1522
1574
  children: [
1523
- l.name,
1524
- /* @__PURE__ */ d(j, { children: [
1575
+ c.name,
1576
+ /* @__PURE__ */ d(N, { children: [
1525
1577
  " ",
1526
1578
  "– ",
1527
- t,
1579
+ r,
1528
1580
  " ",
1529
- p
1581
+ u
1530
1582
  ] })
1531
1583
  ]
1532
1584
  }
1533
- ) }, l.name))
1585
+ ) }, c.name))
1534
1586
  }
1535
1587
  )
1536
1588
  ] })
1537
1589
  ] });
1538
1590
  }
1539
- function R(t, r, o = 135) {
1540
- return `linear-gradient(${o}deg, ${t} 0%, ${r} 100%)`;
1591
+ function R(r, t, o = 135) {
1592
+ return `linear-gradient(${o}deg, ${r} 0%, ${t} 100%)`;
1541
1593
  }
1542
- function qe(t) {
1594
+ function Je(r) {
1543
1595
  return {
1544
- surface: R(...t.surface),
1545
- action: R(...t.action),
1546
- actionHover: R(...t.actionHover)
1596
+ surface: R(...r.surface),
1597
+ action: R(...r.action),
1598
+ actionHover: R(...r.actionHover)
1547
1599
  };
1548
1600
  }
1549
- const F = {
1601
+ const y = {
1550
1602
  spacing: 8,
1551
1603
  radius: {
1552
1604
  sm: 4,
@@ -1590,52 +1642,52 @@ const F = {
1590
1642
  MuiButton: {
1591
1643
  defaultProps: { disableElevation: !0 },
1592
1644
  styleOverrides: {
1593
- root: ({ theme: t }) => ({
1594
- borderRadius: F.radius.md,
1645
+ root: ({ theme: r }) => ({
1646
+ borderRadius: y.radius.md,
1595
1647
  "&:focus-visible": {
1596
- outline: `2px solid ${t.palette.primary.main}`,
1648
+ outline: `2px solid ${r.palette.primary.main}`,
1597
1649
  outlineOffset: 2
1598
1650
  }
1599
1651
  }),
1600
1652
  // Primary action fill. Flat in most themes, a soft gradient in the
1601
1653
  // Observatory. The text color meets AA at both ends of the fill.
1602
- containedPrimary: ({ theme: t }) => ({
1603
- color: t.vietri.color.onAction,
1604
- backgroundImage: t.vietri.gradient.action,
1605
- "&:hover": { backgroundImage: t.vietri.gradient.actionHover },
1654
+ containedPrimary: ({ theme: r }) => ({
1655
+ color: r.vietri.color.onAction,
1656
+ backgroundImage: r.vietri.gradient.action,
1657
+ "&:hover": { backgroundImage: r.vietri.gradient.actionHover },
1606
1658
  "&.Mui-disabled": {
1607
1659
  backgroundImage: "none",
1608
- color: t.palette.action.disabled
1660
+ color: r.palette.action.disabled
1609
1661
  }
1610
1662
  })
1611
1663
  }
1612
1664
  },
1613
1665
  MuiLink: {
1614
1666
  styleOverrides: {
1615
- root: ({ theme: t }) => ({
1667
+ root: ({ theme: r }) => ({
1616
1668
  "&:focus-visible": {
1617
- outline: `2px solid ${t.palette.primary.main}`,
1669
+ outline: `2px solid ${r.palette.primary.main}`,
1618
1670
  outlineOffset: 3,
1619
- borderRadius: F.radius.sm
1671
+ borderRadius: y.radius.sm
1620
1672
  }
1621
1673
  })
1622
1674
  }
1623
1675
  },
1624
1676
  MuiChip: {
1625
1677
  styleOverrides: {
1626
- root: ({ ownerState: t, theme: r }) => {
1627
- const o = t.variant === "filled" && t.color === "default";
1678
+ root: ({ ownerState: r, theme: t }) => {
1679
+ const o = r.variant === "filled" && r.color === "default";
1628
1680
  return {
1629
- fontWeight: F.typography.fontWeight.semibold,
1681
+ fontWeight: y.typography.fontWeight.semibold,
1630
1682
  fontSize: "0.75rem",
1631
1683
  // MUI's default chip is translucent, so its text is only readable on
1632
1684
  // the surface it was designed for. Opaque colors keep it legible on
1633
1685
  // any surface (a dark chip on white, a light chip on purple…).
1634
1686
  ...o && {
1635
- color: r.vietri.color.onChip,
1636
- backgroundColor: r.vietri.color.chip,
1687
+ color: t.vietri.color.onChip,
1688
+ backgroundColor: t.vietri.color.chip,
1637
1689
  "&.MuiChip-clickable:hover": {
1638
- backgroundColor: r.vietri.color.chipHover
1690
+ backgroundColor: t.vietri.color.chipHover
1639
1691
  }
1640
1692
  }
1641
1693
  };
@@ -1646,16 +1698,16 @@ const F = {
1646
1698
  defaultProps: { variant: "outlined" },
1647
1699
  styleOverrides: {
1648
1700
  root: {
1649
- borderRadius: F.radius.lg,
1701
+ borderRadius: y.radius.lg,
1650
1702
  backgroundImage: "none"
1651
1703
  }
1652
1704
  }
1653
1705
  },
1654
1706
  MuiCardActionArea: {
1655
1707
  styleOverrides: {
1656
- root: ({ theme: t }) => ({
1708
+ root: ({ theme: r }) => ({
1657
1709
  "&:focus-visible": {
1658
- outline: `2px solid ${t.palette.primary.main}`,
1710
+ outline: `2px solid ${r.palette.primary.main}`,
1659
1711
  outlineOffset: -2
1660
1712
  }
1661
1713
  })
@@ -1663,7 +1715,7 @@ const F = {
1663
1715
  },
1664
1716
  MuiDialog: {
1665
1717
  styleOverrides: {
1666
- paper: { borderRadius: F.radius.lg, backgroundImage: "none" }
1718
+ paper: { borderRadius: y.radius.lg, backgroundImage: "none" }
1667
1719
  }
1668
1720
  },
1669
1721
  MuiDrawer: {
@@ -1675,119 +1727,119 @@ const F = {
1675
1727
  // contrast for interface components (WCAG 1.4.11).
1676
1728
  MuiOutlinedInput: {
1677
1729
  styleOverrides: {
1678
- root: ({ theme: t }) => ({
1679
- borderRadius: F.radius.md,
1730
+ root: ({ theme: r }) => ({
1731
+ borderRadius: y.radius.md,
1680
1732
  "& .MuiOutlinedInput-notchedOutline": {
1681
- borderColor: t.palette.text.secondary
1733
+ borderColor: r.palette.text.secondary
1682
1734
  },
1683
1735
  "&:hover .MuiOutlinedInput-notchedOutline": {
1684
- borderColor: t.palette.text.primary
1736
+ borderColor: r.palette.text.primary
1685
1737
  },
1686
1738
  "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
1687
- borderColor: t.palette.primary.main
1739
+ borderColor: r.palette.primary.main
1688
1740
  },
1689
1741
  "&.Mui-error .MuiOutlinedInput-notchedOutline": {
1690
- borderColor: t.palette.error.main
1742
+ borderColor: r.palette.error.main
1691
1743
  },
1692
1744
  "&.Mui-disabled .MuiOutlinedInput-notchedOutline": {
1693
- borderColor: t.palette.divider
1745
+ borderColor: r.palette.divider
1694
1746
  }
1695
1747
  })
1696
1748
  }
1697
1749
  },
1698
1750
  MuiTableCell: {
1699
1751
  styleOverrides: {
1700
- root: ({ theme: t }) => ({
1701
- borderBottomColor: t.palette.divider
1752
+ root: ({ theme: r }) => ({
1753
+ borderBottomColor: r.palette.divider
1702
1754
  }),
1703
- head: ({ theme: t }) => ({
1704
- fontWeight: F.typography.fontWeight.semibold,
1705
- color: t.palette.text.primary,
1706
- borderBottom: `2px solid ${t.palette.text.primary}`
1755
+ head: ({ theme: r }) => ({
1756
+ fontWeight: y.typography.fontWeight.semibold,
1757
+ color: r.palette.text.primary,
1758
+ borderBottom: `2px solid ${r.palette.text.primary}`
1707
1759
  })
1708
1760
  }
1709
1761
  }
1710
- }, { typography: v, breakpoints: Je } = F;
1711
- function Ke(t) {
1762
+ }, { typography: F, breakpoints: Ke } = y;
1763
+ function Ze(r) {
1712
1764
  return {
1713
- color: t,
1714
- shadow: F.shadow,
1715
- gradient: qe(t)
1765
+ color: r,
1766
+ shadow: y.shadow,
1767
+ gradient: Je(r)
1716
1768
  };
1717
1769
  }
1718
- const Ze = {
1719
- spacing: F.spacing,
1720
- shape: { borderRadius: F.radius.md },
1721
- breakpoints: { values: { ...Je } },
1770
+ const er = {
1771
+ spacing: y.spacing,
1772
+ shape: { borderRadius: y.radius.md },
1773
+ breakpoints: { values: { ...Ke } },
1722
1774
  typography: {
1723
- fontFamily: v.fontFamily,
1724
- fontWeightRegular: v.fontWeight.regular,
1725
- fontWeightMedium: v.fontWeight.medium,
1726
- fontWeightBold: v.fontWeight.semibold,
1775
+ fontFamily: F.fontFamily,
1776
+ fontWeightRegular: F.fontWeight.regular,
1777
+ fontWeightMedium: F.fontWeight.medium,
1778
+ fontWeightBold: F.fontWeight.semibold,
1727
1779
  h1: {
1728
1780
  fontSize: "clamp(3rem, 8vw, 7rem)",
1729
- fontWeight: v.fontWeight.semibold,
1781
+ fontWeight: F.fontWeight.semibold,
1730
1782
  letterSpacing: "-0.055em",
1731
1783
  lineHeight: 0.95
1732
1784
  },
1733
1785
  h2: {
1734
1786
  fontSize: "clamp(2rem, 5vw, 4rem)",
1735
- fontWeight: v.fontWeight.semibold,
1787
+ fontWeight: F.fontWeight.semibold,
1736
1788
  letterSpacing: "-0.04em",
1737
1789
  lineHeight: 1.05
1738
1790
  },
1739
1791
  h3: {
1740
1792
  fontSize: "clamp(1.5rem, 3vw, 2.25rem)",
1741
- fontWeight: v.fontWeight.semibold,
1793
+ fontWeight: F.fontWeight.semibold,
1742
1794
  letterSpacing: "-0.03em",
1743
1795
  lineHeight: 1.15
1744
1796
  },
1745
1797
  h4: {
1746
1798
  fontSize: "1.5rem",
1747
- fontWeight: v.fontWeight.semibold,
1799
+ fontWeight: F.fontWeight.semibold,
1748
1800
  letterSpacing: "-0.02em",
1749
1801
  lineHeight: 1.25
1750
1802
  },
1751
- h5: { fontSize: "1.25rem", fontWeight: v.fontWeight.medium, lineHeight: 1.3 },
1752
- h6: { fontSize: "1.0625rem", fontWeight: v.fontWeight.medium, lineHeight: 1.4 },
1803
+ h5: { fontSize: "1.25rem", fontWeight: F.fontWeight.medium, lineHeight: 1.3 },
1804
+ h6: { fontSize: "1.0625rem", fontWeight: F.fontWeight.medium, lineHeight: 1.4 },
1753
1805
  body1: { fontSize: "1rem", lineHeight: 1.6 },
1754
1806
  body2: { fontSize: "0.875rem", lineHeight: 1.55 },
1755
1807
  button: {
1756
- fontWeight: v.fontWeight.medium,
1808
+ fontWeight: F.fontWeight.medium,
1757
1809
  textTransform: "none",
1758
1810
  letterSpacing: "-0.01em"
1759
1811
  },
1760
1812
  overline: {
1761
- fontWeight: v.fontWeight.medium,
1813
+ fontWeight: F.fontWeight.medium,
1762
1814
  letterSpacing: "0.12em"
1763
1815
  }
1764
1816
  },
1765
1817
  components: Qe
1766
1818
  };
1767
- function G(t) {
1768
- return Me({
1769
- ...Ze,
1770
- vietri: Ke(t),
1819
+ function G(r) {
1820
+ return $e({
1821
+ ...er,
1822
+ vietri: Ze(r),
1771
1823
  palette: {
1772
- mode: t.mode,
1773
- primary: { main: t.primary, contrastText: t.onPrimary },
1774
- secondary: { main: t.secondary, contrastText: t.onSecondary },
1775
- error: { main: t.status.error, contrastText: t.onStatus },
1776
- warning: { main: t.status.warning, contrastText: t.onStatus },
1777
- info: { main: t.status.info, contrastText: t.onStatus },
1778
- success: { main: t.status.success, contrastText: t.onStatus },
1779
- background: { default: t.bg, paper: t.paper },
1780
- text: { primary: t.ink, secondary: t.inkSoft },
1781
- divider: t.line
1824
+ mode: r.mode,
1825
+ primary: { main: r.primary, contrastText: r.onPrimary },
1826
+ secondary: { main: r.secondary, contrastText: r.onSecondary },
1827
+ error: { main: r.status.error, contrastText: r.onStatus },
1828
+ warning: { main: r.status.warning, contrastText: r.onStatus },
1829
+ info: { main: r.status.info, contrastText: r.onStatus },
1830
+ success: { main: r.status.success, contrastText: r.onStatus },
1831
+ background: { default: r.bg, paper: r.paper },
1832
+ text: { primary: r.ink, secondary: r.inkSoft },
1833
+ divider: r.line
1782
1834
  }
1783
1835
  });
1784
1836
  }
1785
- const S = (t) => [t, t], et = {
1837
+ const k = (r) => [r, r], rr = {
1786
1838
  error: "#B91C1C",
1787
1839
  warning: "#92400E",
1788
1840
  info: "#0369A1",
1789
1841
  success: "#166534"
1790
- }, tt = {
1842
+ }, tr = {
1791
1843
  mode: "light",
1792
1844
  bg: "#FFFFFF",
1793
1845
  paper: "#FFFFFF",
@@ -1798,17 +1850,18 @@ const S = (t) => [t, t], et = {
1798
1850
  onPrimary: "#FFFFFF",
1799
1851
  secondary: "#7A5718",
1800
1852
  onSecondary: "#FFFFFF",
1801
- action: S("#DBAC5B"),
1802
- actionHover: S("#FDD07A"),
1853
+ action: k("#DBAC5B"),
1854
+ actionHover: k("#FDD07A"),
1803
1855
  onAction: "#000000",
1804
- surface: S("#000000"),
1856
+ surface: k("#000000"),
1857
+ scrim: "#000000",
1805
1858
  onSurface: "#FFFFFF",
1806
1859
  onSurfaceSoft: "#D4D4D4",
1807
1860
  chip: "#F3EBDA",
1808
1861
  chipHover: "#E8DDC4",
1809
1862
  onChip: "#111111",
1810
1863
  glow: null,
1811
- status: et,
1864
+ status: rr,
1812
1865
  onStatus: "#FFFFFF",
1813
1866
  brand: {
1814
1867
  black: "#000000",
@@ -1822,23 +1875,26 @@ const S = (t) => [t, t], et = {
1822
1875
  ink: "#111111",
1823
1876
  inkSoft: "#555555"
1824
1877
  }
1825
- }, rt = {
1878
+ }, or = {
1826
1879
  mode: "dark",
1827
1880
  bg: "#20123A",
1828
1881
  paper: "#2D1B50",
1829
1882
  ink: "#FFFFFF",
1830
1883
  inkSoft: "#D5CAEB",
1831
1884
  line: "rgba(255, 255, 255, 0.14)",
1832
- primary: "#F35F1C",
1885
+ primary: "#1CDAF3",
1833
1886
  onPrimary: "#20123A",
1834
1887
  secondary: "#B99BFF",
1835
1888
  onSecondary: "#20123A",
1836
- action: S("#F35F1C"),
1837
- actionHover: S("#FF7B3F"),
1889
+ action: k("#1CDAF3"),
1890
+ actionHover: k("#6AE9FA"),
1838
1891
  onAction: "#20123A",
1839
- surface: S("#693BCC"),
1892
+ // Violet to lavender. The lavender end is #816CB2 darkened a hair (#7A64AE):
1893
+ // the exact #816CB2 gives white text 4.45:1, just under the 4.5:1 minimum.
1894
+ surface: ["#693BCC", "#7A64AE"],
1895
+ scrim: "#20123A",
1840
1896
  onSurface: "#FFFFFF",
1841
- onSurfaceSoft: "#EDE6FB",
1897
+ onSurfaceSoft: "#F7F3FF",
1842
1898
  chip: "#3C2866",
1843
1899
  chipHover: "#4A3478",
1844
1900
  onChip: "#FFFFFF",
@@ -1853,17 +1909,21 @@ const S = (t) => [t, t], et = {
1853
1909
  brand: {
1854
1910
  night: "#20123A",
1855
1911
  violet: "#693BCC",
1912
+ lavender: "#816CB2",
1856
1913
  magenta: "#CB1F9C",
1857
- orange: "#F35F1C"
1914
+ cyan: "#1CDAF3"
1858
1915
  },
1859
1916
  derived: {
1917
+ /** Lavender darkened to carry white text at 4.5:1 (the end of the surface gradient). */
1918
+ lavenderDeep: "#7A64AE",
1860
1919
  /** Violet that reads as text on the night background (7.6:1). */
1861
1920
  lilac: "#B99BFF",
1862
1921
  /** Raised surface over night. */
1863
1922
  nightRaised: "#2D1B50",
1864
- orangeHover: "#FF7B3F"
1923
+ /** Hovered primary action (12:1 with the dark text). */
1924
+ cyanHover: "#6AE9FA"
1865
1925
  }
1866
- }, ot = {
1926
+ }, ir = {
1867
1927
  mode: "light",
1868
1928
  bg: "#F7F4FA",
1869
1929
  paper: "#FFFFFF",
@@ -1876,10 +1936,11 @@ const S = (t) => [t, t], et = {
1876
1936
  onPrimary: "#FFFFFF",
1877
1937
  secondary: "#4A0875",
1878
1938
  onSecondary: "#FFFFFF",
1879
- action: S("#027381"),
1880
- actionHover: S("#015C68"),
1939
+ action: k("#027381"),
1940
+ actionHover: k("#015C68"),
1881
1941
  onAction: "#FFFFFF",
1882
- surface: S("#4A0875"),
1942
+ surface: k("#4A0875"),
1943
+ scrim: "#2B1B3D",
1883
1944
  onSurface: "#FFFFFF",
1884
1945
  onSurfaceSoft: "#E8DCF4",
1885
1946
  chip: "#EFE8F6",
@@ -1913,7 +1974,7 @@ const S = (t) => [t, t], et = {
1913
1974
  /** Teal for the hovered primary action (7.7:1 with white). */
1914
1975
  tealDark: "#015C68"
1915
1976
  }
1916
- }, pr = G(tt), ur = G(rt), hr = G(ot), it = [
1977
+ }, ut = G(tr), ht = G(or), mt = G(ir), nr = [
1917
1978
  { bg: "#E0F2FE", fg: "#0C4A6E", dot: "#0284C7" },
1918
1979
  // sky
1919
1980
  { bg: "#EDE9FE", fg: "#4C1D95", dot: "#7C3AED" },
@@ -1935,13 +1996,13 @@ const S = (t) => [t, t], et = {
1935
1996
  { bg: "#ECFCCB", fg: "#365314", dot: "#65A30D" }
1936
1997
  // lime
1937
1998
  ];
1938
- function mr(t, r = it) {
1939
- const o = Array.from(new Set(t));
1999
+ function ft(r, t = nr) {
2000
+ const o = Array.from(new Set(r));
1940
2001
  return Object.fromEntries(
1941
- o.map((c, n) => [c, r[n % r.length]])
2002
+ o.map((l, n) => [l, t[n % t.length]])
1942
2003
  );
1943
2004
  }
1944
- const fr = [
2005
+ const gt = [
1945
2006
  { bg: "#027381", fg: "#FFFFFF", dot: "#027381" },
1946
2007
  // teal
1947
2008
  { bg: "#FF7751", fg: "#2B1B3D", dot: "#C2410C" },
@@ -1958,55 +2019,55 @@ const fr = [
1958
2019
  // vermilion
1959
2020
  ];
1960
2021
  export {
1961
- Ut as BarChart,
1962
- Fr as Button,
1963
- Cr as Card,
1964
- wr as CardActionArea,
1965
- kr as CardActions,
1966
- Er as CardContent,
1967
- Ir as CardMedia,
1968
- _e as CategoryChip,
1969
- Mr as Chip,
1970
- lr as ContentRail,
1971
- Zt as CopyField,
1972
- _t as DataTable,
1973
- Jt as Dialog,
1974
- Kt as Drawer,
1975
- dr as EpisodeList,
1976
- rr as FeatureCard,
1977
- Yt as Footer,
1978
- tr as Hero,
1979
- y as Icon,
1980
- Or as Input,
1981
- Vt as LanguageSwitch,
1982
- ar as MediaCard,
1983
- Gt as NavBar,
1984
- sr as PlaylistCard,
1985
- nr as ProfileCard,
1986
- qt as SectionHeader,
1987
- Qt as Select,
1988
- er as SkipLink,
1989
- Nt as StatCard,
1990
- or as Steps,
1991
- zr as Tab,
1992
- Hr as Tabs,
1993
- ir as Timeline,
1994
- xr as Typography,
1995
- cr as VideoEmbed,
1996
- j as VisuallyHidden,
1997
- it as categoryPalette,
1998
- mr as createCategoryColors,
1999
- qe as createGradients,
2022
+ Xr as BarChart,
2023
+ yt as Button,
2024
+ St as Card,
2025
+ kt as CardActionArea,
2026
+ At as CardActions,
2027
+ Et as CardContent,
2028
+ Wt as CardMedia,
2029
+ Ue as CategoryChip,
2030
+ $t as Chip,
2031
+ ct as ContentRail,
2032
+ et as CopyField,
2033
+ Ur as DataTable,
2034
+ Kr as Dialog,
2035
+ Zr as Drawer,
2036
+ st as EpisodeList,
2037
+ ot as FeatureCard,
2038
+ qr as Footer,
2039
+ tt as Hero,
2040
+ C as Icon,
2041
+ Ot as Input,
2042
+ Vr as LanguageSwitch,
2043
+ lt as MediaCard,
2044
+ Gr as NavBar,
2045
+ pt as PlaylistCard,
2046
+ at as ProfileCard,
2047
+ Jr as SectionHeader,
2048
+ Qr as Select,
2049
+ rt as SkipLink,
2050
+ _r as StatCard,
2051
+ it as Steps,
2052
+ zt as Tab,
2053
+ Pt as Tabs,
2054
+ nt as Timeline,
2055
+ vt as Typography,
2056
+ dt as VideoEmbed,
2057
+ N as VisuallyHidden,
2058
+ nr as categoryPalette,
2059
+ ft as createCategoryColors,
2060
+ Je as createGradients,
2000
2061
  G as createVietriTheme,
2001
- tt as editorialColors,
2002
- pr as editorialTheme,
2003
- Xt as icons,
2062
+ tr as editorialColors,
2063
+ ut as editorialTheme,
2064
+ Yr as icons,
2004
2065
  R as linearGradient,
2005
- fr as observatoryCategoryPalette,
2006
- ot as observatoryColors,
2007
- hr as observatoryTheme,
2008
- rt as streamingColors,
2009
- ur as streamingTheme,
2010
- F as tokens
2066
+ gt as observatoryCategoryPalette,
2067
+ ir as observatoryColors,
2068
+ mt as observatoryTheme,
2069
+ or as streamingColors,
2070
+ ht as streamingTheme,
2071
+ y as tokens
2011
2072
  };
2012
2073
  //# sourceMappingURL=index.js.map