@factorialco/f0-react 12.11.0 → 12.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/{ArchiveThumbnail-cs8kx5Zf.js → ArchiveThumbnail-BZgITTo2.js} +5 -5
  2. package/dist/{ArchiveViewer-BXUH8Lm5.js → ArchiveViewer-BHu224N3.js} +15 -15
  3. package/dist/{ChatPostComposerDialog-CGil1xkf.js → ChatPostComposerDialog-CsxxDqxh.js} +3 -3
  4. package/dist/{CoachmarkProvider-cZnuTk79.js → CoachmarkProvider-9PVhiN-N.js} +22476 -22653
  5. package/dist/{CodeThumbnail-Dcer4AyK.js → CodeThumbnail-ChpXV1S-.js} +1 -1
  6. package/dist/{CodeViewer-DFBwdIFm.js → CodeViewer-BKw04W0G.js} +8 -8
  7. package/dist/{DocumentToolbar-vZEyzJ89.js → DocumentToolbar-mB3bK8uS.js} +5 -5
  8. package/dist/{DocxViewer-DQV5Kv1n.js → DocxViewer-Dr8WXU1s.js} +3 -3
  9. package/dist/{F0AiProcessingOverlay-DjGkQ2Nc.js → F0AiProcessingOverlay-BUynKfyI.js} +503 -503
  10. package/dist/F0Alert-ALRcL0Af.js +102 -0
  11. package/dist/F0AudioPlayer-Cd9nIQX5.js +2 -0
  12. package/dist/F0AudioPlayer-vRJmmSpp.js +1175 -0
  13. package/dist/{F0Button-FXkThQ9H.js → F0Button-d91IgOnc.js} +3 -3
  14. package/dist/{F0CanvasPanel-BgDo2LWP.js → F0CanvasPanel-D1QmpvzX.js} +8551 -8267
  15. package/dist/F0DocumentViewer-CEuF9b_u.js +3 -0
  16. package/dist/{F0DocumentViewer-BXifXzUW.js → F0DocumentViewer-ChCqzIK3.js} +30 -19
  17. package/dist/{F0Icon-Cj0USbCF.js → F0Icon-DmCBV0gK.js} +1 -1
  18. package/dist/{F0Map-Dwev4u-_.js → F0Map-CWhV5A03.js} +505 -505
  19. package/dist/{F0Select-BWWdEd7l.js → F0Select-BZ20yXKy.js} +8284 -8333
  20. package/dist/F0VideoPlayer-DUw-DouS.js +1 -0
  21. package/dist/{F0VideoPlayer-BmCmHG87.js → F0VideoPlayer-wTc25_qN.js} +323 -367
  22. package/dist/{HtmlThumbnail-BAgkBH2r.js → HtmlThumbnail-BJuJkuvu.js} +1 -1
  23. package/dist/{HtmlViewer-FRfNoxhP.js → HtmlViewer-Uxb8n2vn.js} +27 -27
  24. package/dist/{F0Text-DMZW7dhN.js → LayoutGroup-BGb5jMxE.js} +29 -37
  25. package/dist/{Map-BxGPElF2.js → Map-95w5slTZ.js} +14 -14
  26. package/dist/{PdfThumbnail-CpGZz5Kq.js → PdfThumbnail-BYrhsyMw.js} +1 -1
  27. package/dist/{PdfViewer-C81MK43i.js → PdfViewer-DUxhQr-O.js} +13 -13
  28. package/dist/{SandboxedHtmlFrame-B6YWhgyg.js → SandboxedHtmlFrame-B95lWsIP.js} +2 -2
  29. package/dist/{SheetViewer-DPGpMNqq.js → SheetViewer-C9Rbh_xJ.js} +15 -15
  30. package/dist/{TextViewer-BH42AeG8.js → TextViewer-DP9lYxAB.js} +4 -4
  31. package/dist/ai.d.ts +3 -3
  32. package/dist/ai.js +5 -5
  33. package/dist/component-status.js +1 -1
  34. package/dist/dist-CFY0KELA.js +55 -0
  35. package/dist/dist-DtILhk4w.js +253 -0
  36. package/dist/{dist-D-MJbPvE.js → dist-zvwuNflP.js} +1 -1
  37. package/dist/experimental.d.ts +15 -3
  38. package/dist/experimental.js +6527 -6244
  39. package/dist/{exports-C0yM5usu.d.ts → exports-cxvNeHfV.d.ts} +1 -1
  40. package/dist/f0.d.ts +9 -130
  41. package/dist/f0.js +1834 -2906
  42. package/dist/{highlight-CyebkDAD.js → highlight-Bjt-wXg6.js} +7 -7
  43. package/dist/{i18n-provider-BBhzYHef.js → i18n-provider-Bdgo-LeP.js} +1 -1
  44. package/dist/{i18n-provider-defaults-BUagKwGN.js → i18n-provider-defaults-B9vdZZeS.js} +3 -0
  45. package/dist/{i18n-provider-defaults-CTDMMs-y.d.ts → i18n-provider-defaults-DyPn8R7T.d.ts} +3 -0
  46. package/dist/i18n-provider-defaults.d.ts +1 -1
  47. package/dist/i18n-provider-defaults.js +1 -1
  48. package/dist/{index-CduxMW5L.d.ts → index-DF8ubeg6.d.ts} +1 -1
  49. package/dist/localized-BrUgGMzm.js +46 -0
  50. package/dist/{maplibre-g-8NG-3q.js → maplibre-tJ3UolSF.js} +1 -1
  51. package/dist/{pdfWorker-D5NB2V5s.js → pdfWorker-BBnYtb1A.js} +1 -1
  52. package/dist/{popover-CQztsDta.js → popover-ics24JxK.js} +1 -1
  53. package/dist/scrollarea-cxaFAWG5.js +691 -0
  54. package/dist/{skeleton-DqejhQgn.js → skeleton-AC0Fb8zj.js} +1 -1
  55. package/dist/styles.css +1 -1
  56. package/dist/{toolbarStyles-0IygMI4H.js → toolbarStyles-lTj_42zD.js} +1 -1
  57. package/dist/{types-DlwD3i9z.d.ts → types-oJKIDe-E.d.ts} +124 -3
  58. package/dist/{useData-Dkq5W4r6.js → useData-BYkiGUHX.js} +4606 -5288
  59. package/package.json +1 -1
  60. package/dist/F0DocumentViewer-DWuIFBHu.js +0 -3
  61. package/dist/F0VideoPlayer-C8oYUUZM.js +0 -1
@@ -1,83 +1,39 @@
1
- import { a as e, r as t } from "./i18n-provider-BBhzYHef.js";
2
- import { n } from "./skeleton-DqejhQgn.js";
1
+ import { a as e, r as t } from "./i18n-provider-Bdgo-LeP.js";
2
+ import { n } from "./skeleton-AC0Fb8zj.js";
3
3
  import { L as r, R as i } from "./tooltip-BX4dSfeL.js";
4
- import { t as a } from "./F0Button-FXkThQ9H.js";
5
- import { Ja as o, Ns as s, Xa as c, Ya as l, _o as u, _s as d, bo as f, es as p, go as m, qo as h } from "./F0CanvasPanel-BgDo2LWP.js";
6
- import { n as g, t as _ } from "./F0Icon-Cj0USbCF.js";
4
+ import { t as a } from "./F0Button-d91IgOnc.js";
5
+ import { $o as o, Co as s, Cs as c, Eo as l, So as u, eo as d, no as f, os as p, to as m, zs as h } from "./F0CanvasPanel-D1QmpvzX.js";
6
+ import { n as g, t as _ } from "./F0Icon-DmCBV0gK.js";
7
7
  import { t as v } from "./Check-DAp9gCRh.js";
8
- import { A as y, B as b, F as x, H as S, I as C, P as w, R as ee, a as T, i as E, k as D, t as te, z as O } from "./popover-CQztsDta.js";
9
- import { t as k } from "./useFullscreen-CNwpzjpz.js";
10
- import { forwardRef as A, useCallback as j, useEffect as M, useId as N, useMemo as P, useRef as F, useState as I } from "react";
11
- import { jsx as L, jsxs as R } from "react/jsx-runtime";
12
- //#region src/elements/lib/localized.ts
13
- function z(e) {
14
- return Array.isArray(e) && e.every((e) => typeof e == "object" && !!e && "locale" in e && "value" in e);
15
- }
16
- function B(e, t) {
17
- if (e !== void 0) {
18
- if (!z(e)) return e;
19
- if (e.length !== 0) return ((t ? e.find((e) => e.locale === t) : void 0) ?? e[0]).value;
20
- }
21
- }
22
- function V(...e) {
23
- let t = /* @__PURE__ */ new Map();
24
- for (let n of e) if (z(n)) for (let e of n) {
25
- let n = t.get(e.locale);
26
- n ? !n.label && e.label && (n.label = e.label) : t.set(e.locale, {
27
- locale: e.locale,
28
- label: e.label
29
- });
30
- }
31
- return Array.from(t.values());
32
- }
33
- function H(e, t) {
34
- if (e.label) return e.label;
35
- try {
36
- let n = t ?? e.locale, r = new Intl.DisplayNames([n], { type: "language" }).of(e.locale) ?? e.locale;
37
- return r.charAt(0).toLocaleUpperCase(n) + r.slice(1);
38
- } catch {
39
- return e.locale;
40
- }
41
- }
42
- function U(e, t) {
43
- if (e.length === 0) return;
44
- let n = e.map((e) => e.locale), r = (e) => e.split("-")[0], i = (e) => n.find((t) => t === e) ?? n.find((t) => r(t) === r(e));
45
- if (t) {
46
- let e = i(t);
47
- if (e) return e;
48
- }
49
- let a = typeof navigator < "u" ? navigator.language : void 0;
50
- if (a) {
51
- let e = i(a);
52
- if (e) return e;
53
- }
54
- return n[0];
55
- }
56
- //#endregion
8
+ import { A as y, B as b, F as x, H as S, I as C, P as w, R as T, a as E, i as D, k as O, t as ee, z as k } from "./popover-ics24JxK.js";
9
+ import { i as A, n as j, r as te, t as M } from "./localized-BrUgGMzm.js";
10
+ import { t as ne } from "./useFullscreen-CNwpzjpz.js";
11
+ import { forwardRef as N, useCallback as P, useEffect as F, useId as I, useMemo as L, useRef as R, useState as z } from "react";
12
+ import { jsx as B, jsxs as V } from "react/jsx-runtime";
57
13
  //#region src/blocks/F0VideoPlayer/utils.ts
58
- var W = [
14
+ var H = [
59
15
  .5,
60
16
  .75,
61
17
  1,
62
18
  1.25,
63
19
  1.5
64
- ], G = .1, K = [
20
+ ], U = .1, re = [
65
21
  25,
66
22
  50,
67
23
  75
68
- ], q = 3e5, J = .03;
69
- function Y(e) {
24
+ ], W = 3e5, G = .03;
25
+ function K(e) {
70
26
  return !Number.isFinite(e) || e < 0 ? "0:00" : `${Math.floor(e / 60)}:${Math.floor(e % 60).toString().padStart(2, "0")}`;
71
27
  }
72
- function X(e) {
28
+ function q(e) {
73
29
  return `${e}x`;
74
30
  }
75
- function Z(e) {
76
- return W.includes(e);
31
+ function J(e) {
32
+ return H.includes(e);
77
33
  }
78
34
  //#endregion
79
35
  //#region src/blocks/F0VideoPlayer/components/AudioDescriptionToggleIcons.tsx
80
- var Q = {
36
+ var Y = {
81
37
  x: 12,
82
38
  y: 15,
83
39
  textAnchor: "middle",
@@ -85,14 +41,14 @@ var Q = {
85
41
  fontWeight: 700,
86
42
  fontFamily: "inherit",
87
43
  letterSpacing: -.4
88
- }, $ = A(({ animate: e, ...t }, n) => /* @__PURE__ */ R("svg", {
44
+ }, X = N(({ animate: e, ...t }, n) => /* @__PURE__ */ V("svg", {
89
45
  xmlns: "http://www.w3.org/2000/svg",
90
46
  viewBox: "0 0 24 24",
91
47
  fill: "none",
92
48
  ref: n,
93
49
  ...t,
94
50
  "aria-hidden": "true",
95
- children: [/* @__PURE__ */ L("rect", {
51
+ children: [/* @__PURE__ */ B("rect", {
96
52
  x: 3.5,
97
53
  y: 6.5,
98
54
  width: 17,
@@ -100,38 +56,38 @@ var Q = {
100
56
  rx: 2.5,
101
57
  stroke: "currentColor",
102
58
  vectorEffect: "non-scaling-stroke"
103
- }), /* @__PURE__ */ L("text", {
104
- ...Q,
59
+ }), /* @__PURE__ */ B("text", {
60
+ ...Y,
105
61
  fill: "currentColor",
106
62
  children: "AD"
107
63
  })]
108
64
  }));
109
- $.displayName = "AudioDescriptionLineIcon";
110
- var ne = A(({ animate: e, ...t }, n) => {
111
- let r = `ad-mask-${N().replace(/:/g, "")}`;
112
- return /* @__PURE__ */ R("svg", {
65
+ X.displayName = "AudioDescriptionLineIcon";
66
+ var Z = N(({ animate: e, ...t }, n) => {
67
+ let r = `ad-mask-${I().replace(/:/g, "")}`;
68
+ return /* @__PURE__ */ V("svg", {
113
69
  xmlns: "http://www.w3.org/2000/svg",
114
70
  viewBox: "0 0 24 24",
115
71
  fill: "none",
116
72
  ref: n,
117
73
  ...t,
118
74
  "aria-hidden": "true",
119
- children: [/* @__PURE__ */ R("mask", {
75
+ children: [/* @__PURE__ */ V("mask", {
120
76
  id: r,
121
77
  maskUnits: "userSpaceOnUse",
122
- children: [/* @__PURE__ */ L("rect", {
78
+ children: [/* @__PURE__ */ B("rect", {
123
79
  x: 3,
124
80
  y: 6,
125
81
  width: 18,
126
82
  height: 12,
127
83
  rx: 3,
128
84
  fill: "white"
129
- }), /* @__PURE__ */ L("text", {
130
- ...Q,
85
+ }), /* @__PURE__ */ B("text", {
86
+ ...Y,
131
87
  fill: "black",
132
88
  children: "AD"
133
89
  })]
134
- }), /* @__PURE__ */ L("rect", {
90
+ }), /* @__PURE__ */ B("rect", {
135
91
  x: 3,
136
92
  y: 6,
137
93
  width: 18,
@@ -142,17 +98,17 @@ var ne = A(({ animate: e, ...t }, n) => {
142
98
  })]
143
99
  });
144
100
  });
145
- ne.displayName = "AudioDescriptionFilledIcon";
101
+ Z.displayName = "AudioDescriptionFilledIcon";
146
102
  //#endregion
147
103
  //#region src/blocks/F0VideoPlayer/components/CaptionsToggleIcons.tsx
148
- var re = A(({ animate: e, ...t }, n) => /* @__PURE__ */ R("svg", {
104
+ var Q = N(({ animate: e, ...t }, n) => /* @__PURE__ */ V("svg", {
149
105
  xmlns: "http://www.w3.org/2000/svg",
150
106
  fill: "none",
151
107
  viewBox: "0 0 24 24",
152
108
  ref: n,
153
109
  ...t,
154
110
  children: [
155
- /* @__PURE__ */ L("rect", {
111
+ /* @__PURE__ */ B("rect", {
156
112
  x: 3.5,
157
113
  y: 6.5,
158
114
  width: 17,
@@ -161,13 +117,13 @@ var re = A(({ animate: e, ...t }, n) => /* @__PURE__ */ R("svg", {
161
117
  stroke: "currentColor",
162
118
  vectorEffect: "non-scaling-stroke"
163
119
  }),
164
- /* @__PURE__ */ L("path", {
120
+ /* @__PURE__ */ B("path", {
165
121
  stroke: "currentColor",
166
122
  strokeLinecap: "round",
167
123
  d: "M7 10.75h8",
168
124
  vectorEffect: "non-scaling-stroke"
169
125
  }),
170
- /* @__PURE__ */ L("path", {
126
+ /* @__PURE__ */ B("path", {
171
127
  stroke: "currentColor",
172
128
  strokeLinecap: "round",
173
129
  d: "M7 13.75h4.5",
@@ -175,14 +131,14 @@ var re = A(({ animate: e, ...t }, n) => /* @__PURE__ */ R("svg", {
175
131
  })
176
132
  ]
177
133
  }));
178
- re.displayName = "CaptionsLineIcon";
179
- var ie = A(({ animate: e, ...t }, n) => /* @__PURE__ */ L("svg", {
134
+ Q.displayName = "CaptionsLineIcon";
135
+ var ie = N(({ animate: e, ...t }, n) => /* @__PURE__ */ B("svg", {
180
136
  xmlns: "http://www.w3.org/2000/svg",
181
137
  fill: "none",
182
138
  viewBox: "0 0 24 24",
183
139
  ref: n,
184
140
  ...t,
185
- children: /* @__PURE__ */ L("path", {
141
+ children: /* @__PURE__ */ B("path", {
186
142
  fill: "currentColor",
187
143
  fillRule: "evenodd",
188
144
  clipRule: "evenodd",
@@ -194,19 +150,19 @@ ie.displayName = "CaptionsFilledIcon";
194
150
  //#endregion
195
151
  //#region src/blocks/F0VideoPlayer/components/PlaybackRateMenu.tsx
196
152
  function ae({ value: e, onChange: n, containerRef: i }) {
197
- let { t: o } = t(), [s, c] = I(!1);
198
- return /* @__PURE__ */ R(te, {
153
+ let { t: o } = t(), [s, c] = z(!1);
154
+ return /* @__PURE__ */ V(ee, {
199
155
  open: s,
200
156
  onOpenChange: c,
201
- children: [/* @__PURE__ */ L(T, {
157
+ children: [/* @__PURE__ */ B(E, {
202
158
  asChild: !0,
203
- children: /* @__PURE__ */ L(a, {
159
+ children: /* @__PURE__ */ B(a, {
204
160
  variant: "ghost",
205
161
  size: "sm",
206
- label: X(e),
207
- "aria-label": o("videoPlayer.playbackSpeed", { rate: X(e) })
162
+ label: q(e),
163
+ "aria-label": o("videoPlayer.playbackSpeed", { rate: q(e) })
208
164
  })
209
- }), /* @__PURE__ */ L(E, {
165
+ }), /* @__PURE__ */ B(D, {
210
166
  container: i.current,
211
167
  side: "top",
212
168
  align: "end",
@@ -235,9 +191,9 @@ function ae({ value: e, onChange: n, containerRef: i }) {
235
191
  }
236
192
  e.preventDefault(), t[r]?.focus();
237
193
  },
238
- children: W.map((t) => {
194
+ children: H.map((t) => {
239
195
  let i = t === e;
240
- return /* @__PURE__ */ R("button", {
196
+ return /* @__PURE__ */ V("button", {
241
197
  type: "button",
242
198
  role: "menuitemradio",
243
199
  "aria-checked": i,
@@ -245,10 +201,10 @@ function ae({ value: e, onChange: n, containerRef: i }) {
245
201
  onClick: () => {
246
202
  n(t), c(!1);
247
203
  },
248
- children: [i ? /* @__PURE__ */ L("span", {
204
+ children: [i ? /* @__PURE__ */ B("span", {
249
205
  className: "absolute left-2.5 inline-flex items-center",
250
- children: /* @__PURE__ */ L(v, {})
251
- }) : null, X(t)]
206
+ children: /* @__PURE__ */ B(v, {})
207
+ }) : null, q(t)]
252
208
  }, t);
253
209
  })
254
210
  })]
@@ -257,7 +213,7 @@ function ae({ value: e, onChange: n, containerRef: i }) {
257
213
  //#endregion
258
214
  //#region src/blocks/F0VideoPlayer/components/Seekbar.tsx
259
215
  function oe({ currentTime: e, duration: n, markerTime: a, blockSeekPastMarker: o = !1, onSeek: s }) {
260
- let { t: c } = t(), l = F(null), [u, d] = I(!1), [f, p] = I(null), m = n > 0 ? Math.min(1, e / n) : 0, h = a !== void 0 && n > 0 ? Math.min(1, a / n) : 0, g = a !== void 0 && n > 0 && a > 0 && a < n - .25 && e < a - .25, _ = (e) => {
216
+ let { t: c } = t(), l = R(null), [u, d] = z(!1), [f, p] = z(null), m = n > 0 ? Math.min(1, e / n) : 0, h = a !== void 0 && n > 0 ? Math.min(1, a / n) : 0, g = a !== void 0 && n > 0 && a > 0 && a < n - .25 && e < a - .25, _ = (e) => {
261
217
  let t = l.current;
262
218
  if (!t) return 0;
263
219
  let n = t.getBoundingClientRect();
@@ -271,7 +227,7 @@ function oe({ currentTime: e, duration: n, markerTime: a, blockSeekPastMarker: o
271
227
  }, x = (e) => {
272
228
  u && (d(!1), e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
273
229
  }, S = f !== null && o && a !== void 0 && f > h;
274
- return /* @__PURE__ */ R("div", {
230
+ return /* @__PURE__ */ V("div", {
275
231
  ref: l,
276
232
  className: r("relative flex h-4 flex-1 items-center rounded-sm", "cursor-pointer touch-none", i()),
277
233
  role: "slider",
@@ -281,8 +237,8 @@ function oe({ currentTime: e, duration: n, markerTime: a, blockSeekPastMarker: o
281
237
  "aria-valuemax": n || 0,
282
238
  "aria-valuenow": e,
283
239
  "aria-valuetext": c("videoPlayer.timeProgress", {
284
- current: Y(e),
285
- total: Y(n)
240
+ current: K(e),
241
+ total: K(n)
286
242
  }),
287
243
  onPointerDown: y,
288
244
  onPointerMove: b,
@@ -311,54 +267,54 @@ function oe({ currentTime: e, duration: n, markerTime: a, blockSeekPastMarker: o
311
267
  t.preventDefault(), t.stopPropagation(), s(r);
312
268
  },
313
269
  children: [
314
- /* @__PURE__ */ L("div", { className: "absolute inset-x-0 h-1 rounded-sm bg-f1-foreground/30" }),
315
- /* @__PURE__ */ L("div", {
270
+ /* @__PURE__ */ B("div", { className: "absolute inset-x-0 h-1 rounded-sm bg-f1-foreground/30" }),
271
+ /* @__PURE__ */ B("div", {
316
272
  className: "pointer-events-none absolute left-0 h-1 rounded-sm bg-f1-foreground",
317
273
  style: { width: `${m * 100}%` }
318
274
  }),
319
- g ? /* @__PURE__ */ L("div", {
275
+ g ? /* @__PURE__ */ B("div", {
320
276
  className: "pointer-events-none absolute z-[1] h-2.5 w-0.5 -translate-x-px bg-f1-foreground/95",
321
277
  style: { left: `${h * 100}%` },
322
278
  "aria-hidden": "true"
323
279
  }) : null,
324
- /* @__PURE__ */ L("div", {
280
+ /* @__PURE__ */ B("div", {
325
281
  className: "pointer-events-none absolute z-[2] h-3 w-3 -translate-x-1/2 rounded-full bg-f1-foreground shadow-[0_0_4px_rgba(0,0,0,0.4)]",
326
282
  style: { left: `${m * 100}%` }
327
283
  }),
328
- S ? /* @__PURE__ */ L("div", { className: "absolute inset-0 cursor-not-allowed" }) : null
284
+ S ? /* @__PURE__ */ B("div", { className: "absolute inset-0 cursor-not-allowed" }) : null
329
285
  ]
330
286
  });
331
287
  }
332
288
  //#endregion
333
289
  //#region src/blocks/F0VideoPlayer/components/SettingsMenu.tsx
334
290
  var se = "off", ce = "py-2 pr-4 text-base font-medium", le = "gap-2 py-2 pl-3 pr-2 text-base font-medium", ue = "max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[13rem] overflow-y-auto p-1";
335
- function de({ icon: e, label: t, container: n, options: r, value: i, onLanguageChange: a, on: o, onOff: s, offLabel: c }) {
336
- let l = s !== void 0, u = r.find((e) => e.locale === i), d = l && !o ? c : u ? H(u) : c;
337
- return /* @__PURE__ */ R(ee, { children: [/* @__PURE__ */ R(b, {
291
+ function $({ icon: e, label: t, container: n, options: r, value: i, onLanguageChange: a, on: o, onOff: s, offLabel: c }) {
292
+ let l = s !== void 0, u = r.find((e) => e.locale === i), d = l && !o ? c : u ? te(u) : c;
293
+ return /* @__PURE__ */ V(T, { children: [/* @__PURE__ */ V(b, {
338
294
  className: le,
339
295
  children: [
340
- /* @__PURE__ */ L(g, { icon: e }),
341
- /* @__PURE__ */ L("span", {
296
+ /* @__PURE__ */ B(g, { icon: e }),
297
+ /* @__PURE__ */ B("span", {
342
298
  className: "flex-1",
343
299
  children: t
344
300
  }),
345
- /* @__PURE__ */ L("span", {
301
+ /* @__PURE__ */ B("span", {
346
302
  className: "text-f1-foreground-secondary",
347
303
  children: d
348
304
  })
349
305
  ]
350
- }), /* @__PURE__ */ L(w, {
306
+ }), /* @__PURE__ */ B(w, {
351
307
  container: n ?? void 0,
352
- children: /* @__PURE__ */ L(O, {
308
+ children: /* @__PURE__ */ B(k, {
353
309
  className: ue,
354
- children: /* @__PURE__ */ R(x, {
310
+ children: /* @__PURE__ */ V(x, {
355
311
  value: l ? o ? i : se : i,
356
312
  onValueChange: (e) => l && e === se ? s() : a(e),
357
- children: [r.map((e) => /* @__PURE__ */ L(C, {
313
+ children: [r.map((e) => /* @__PURE__ */ B(C, {
358
314
  value: e.locale,
359
315
  className: ce,
360
- children: H(e)
361
- }, e.locale)), l ? /* @__PURE__ */ L(C, {
316
+ children: te(e)
317
+ }, e.locale)), l ? /* @__PURE__ */ B(C, {
362
318
  value: se,
363
319
  className: ce,
364
320
  children: c
@@ -367,25 +323,25 @@ function de({ icon: e, label: t, container: n, options: r, value: i, onLanguageC
367
323
  })
368
324
  })] });
369
325
  }
370
- function fe({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLanguageChange: i, captionLanguages: o, captionLanguage: s, captionsOn: c, onCaptionLanguageChange: l, onCaptionsOff: u, audioDescriptionLanguages: p, audioDescriptionLanguage: m, audioDescriptionOn: h, onAudioDescriptionLanguageChange: g, onAudioDescriptionOff: _ }) {
326
+ function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLanguageChange: i, captionLanguages: o, captionLanguage: s, captionsOn: u, onCaptionLanguageChange: d, onCaptionsOff: f, audioDescriptionLanguages: p, audioDescriptionLanguage: m, audioDescriptionOn: h, onAudioDescriptionLanguageChange: g, onAudioDescriptionOff: _ }) {
371
327
  let { t: v } = t(), b = e.current, x = v("videoPlayer.off");
372
- return /* @__PURE__ */ R(D, { children: [/* @__PURE__ */ L(S, {
328
+ return /* @__PURE__ */ V(O, { children: [/* @__PURE__ */ B(S, {
373
329
  asChild: !0,
374
- children: /* @__PURE__ */ L(a, {
330
+ children: /* @__PURE__ */ B(a, {
375
331
  variant: "ghost",
376
332
  size: "sm",
377
333
  hideLabel: !0,
378
- icon: f,
334
+ icon: l,
379
335
  label: v("videoPlayer.settings")
380
336
  })
381
- }), /* @__PURE__ */ R(y, {
337
+ }), /* @__PURE__ */ V(y, {
382
338
  container: b,
383
339
  side: "top",
384
340
  align: "end",
385
341
  className: ue,
386
342
  children: [
387
- n.length > 1 ? /* @__PURE__ */ L(de, {
388
- icon: d,
343
+ n.length > 1 ? /* @__PURE__ */ B($, {
344
+ icon: c,
389
345
  label: v("videoPlayer.audio"),
390
346
  container: b,
391
347
  options: n,
@@ -393,19 +349,19 @@ function fe({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLangu
393
349
  onLanguageChange: i,
394
350
  offLabel: x
395
351
  }) : null,
396
- o.length > 1 ? /* @__PURE__ */ L(de, {
397
- icon: re,
352
+ o.length > 1 ? /* @__PURE__ */ B($, {
353
+ icon: Q,
398
354
  label: v("videoPlayer.subtitles"),
399
355
  container: b,
400
356
  options: o,
401
357
  value: s,
402
- on: c,
403
- onLanguageChange: l,
404
- onOff: u,
358
+ on: u,
359
+ onLanguageChange: d,
360
+ onOff: f,
405
361
  offLabel: x
406
362
  }) : null,
407
- p.length > 1 ? /* @__PURE__ */ L(de, {
408
- icon: $,
363
+ p.length > 1 ? /* @__PURE__ */ B($, {
364
+ icon: X,
409
365
  label: v("videoPlayer.audioDescription"),
410
366
  container: b,
411
367
  options: p,
@@ -418,40 +374,40 @@ function fe({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLangu
418
374
  ]
419
375
  })] });
420
376
  }
421
- function pe(e) {
377
+ function fe(e) {
422
378
  return e.audioLanguages > 1 || e.captionLanguages > 1 || e.audioDescriptionLanguages > 1;
423
379
  }
424
380
  //#endregion
425
381
  //#region src/blocks/F0VideoPlayer/components/VolumeControl.tsx
426
- function me(e, t) {
427
- return t || e === 0 ? o : e <= .5 ? l : c;
382
+ function pe(e, t) {
383
+ return t || e === 0 ? d : e <= .5 ? m : f;
428
384
  }
429
- function he({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent: s = !1 }) {
430
- let { t: c } = t(), l = n || e === 0;
431
- return s ? /* @__PURE__ */ L(a, {
385
+ function me({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent: o = !1 }) {
386
+ let { t: s } = t(), c = n || e === 0;
387
+ return o ? /* @__PURE__ */ B(a, {
432
388
  variant: "ghost",
433
389
  size: "sm",
434
390
  hideLabel: !0,
435
391
  disabled: !0,
436
- icon: o,
437
- label: c("videoPlayer.noAudio")
438
- }) : /* @__PURE__ */ R("div", {
392
+ icon: d,
393
+ label: s("videoPlayer.noAudio")
394
+ }) : /* @__PURE__ */ V("div", {
439
395
  className: "flex items-center gap-1",
440
- children: [/* @__PURE__ */ L(a, {
396
+ children: [/* @__PURE__ */ B(a, {
441
397
  variant: "ghost",
442
398
  size: "sm",
443
399
  hideLabel: !0,
444
- icon: me(e, l),
445
- label: c(l ? "videoPlayer.unmute" : "videoPlayer.mute"),
400
+ icon: pe(e, c),
401
+ label: s(c ? "videoPlayer.unmute" : "videoPlayer.mute"),
446
402
  onClick: r
447
- }), /* @__PURE__ */ L(ge, {
448
- value: l ? 0 : e,
403
+ }), /* @__PURE__ */ B(he, {
404
+ value: c ? 0 : e,
449
405
  onChange: i
450
406
  })]
451
407
  });
452
408
  }
453
- function ge({ value: e, onChange: n }) {
454
- let { t: a } = t(), o = F(null), [s, c] = I(!1), l = Math.max(0, Math.min(1, e)), u = (e) => {
409
+ function he({ value: e, onChange: n }) {
410
+ let { t: a } = t(), o = R(null), [s, c] = z(!1), l = Math.max(0, Math.min(1, e)), u = (e) => {
455
411
  let t = o.current;
456
412
  if (!t) return 0;
457
413
  let n = t.getBoundingClientRect(), r = n.width - 12;
@@ -463,7 +419,7 @@ function ge({ value: e, onChange: n }) {
463
419
  }, p = (e) => {
464
420
  s && (c(!1), e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
465
421
  };
466
- return /* @__PURE__ */ R("div", {
422
+ return /* @__PURE__ */ V("div", {
467
423
  ref: o,
468
424
  className: r("relative flex h-4 w-[60px] items-center rounded-sm", "cursor-pointer touch-none", i()),
469
425
  role: "slider",
@@ -483,11 +439,11 @@ function ge({ value: e, onChange: n }) {
483
439
  switch (e.key) {
484
440
  case "ArrowRight":
485
441
  case "ArrowUp":
486
- t = Math.min(1, l + G);
442
+ t = Math.min(1, l + U);
487
443
  break;
488
444
  case "ArrowLeft":
489
445
  case "ArrowDown":
490
- t = Math.max(0, l - G);
446
+ t = Math.max(0, l - U);
491
447
  break;
492
448
  case "Home":
493
449
  t = 0;
@@ -500,12 +456,12 @@ function ge({ value: e, onChange: n }) {
500
456
  e.preventDefault(), e.stopPropagation(), n(t);
501
457
  },
502
458
  children: [
503
- /* @__PURE__ */ L("div", { className: "absolute inset-x-0 h-1 rounded-sm bg-f1-foreground/30" }),
504
- /* @__PURE__ */ L("div", {
459
+ /* @__PURE__ */ B("div", { className: "absolute inset-x-0 h-1 rounded-sm bg-f1-foreground/30" }),
460
+ /* @__PURE__ */ B("div", {
505
461
  className: "pointer-events-none absolute left-0 h-1 rounded-sm bg-f1-foreground",
506
462
  style: { width: `calc(12px + (100% - 12px) * ${l})` }
507
463
  }),
508
- /* @__PURE__ */ L("div", {
464
+ /* @__PURE__ */ B("div", {
509
465
  className: "pointer-events-none absolute h-3 w-3 -translate-x-1/2 rounded-full bg-f1-foreground shadow-[0_0_4px_rgba(0,0,0,0.4)]",
510
466
  style: { left: `calc(6px + (100% - 12px) * ${l})` }
511
467
  })
@@ -514,110 +470,110 @@ function ge({ value: e, onChange: n }) {
514
470
  }
515
471
  //#endregion
516
472
  //#region src/blocks/F0VideoPlayer/components/Controls.tsx
517
- function _e({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: c, playbackRate: l, isFullscreen: d, markerTime: f, blockSeekPastMarker: g, containerRef: _, captionsAvailable: v, captionsOn: y, audioDescriptionAvailable: b, audioDescriptionOn: x, silent: S, persist: C, audioLanguages: w, audioLanguage: ee, onAudioLanguageChange: T, captionLanguages: E, captionLanguage: D, onCaptionLanguageChange: te, onCaptionsOff: O, audioDescriptionLanguages: k, audioDescriptionLanguage: A, onAudioDescriptionLanguageChange: j, onAudioDescriptionOff: M, onTogglePlay: N, onToggleMute: P, onVolumeChange: F, onPlaybackRateChange: I, onToggleFullscreen: z, onToggleCaptions: B, onToggleAudioDescription: V, onSeek: H, download: U }) {
518
- let { t: W } = t(), G = v && E.length <= 1, K = b && k.length <= 1, q = pe({
473
+ function ge({ isPlaying: e, currentTime: n, duration: i, volume: c, isMuted: l, playbackRate: d, isFullscreen: f, markerTime: m, blockSeekPastMarker: g, containerRef: _, captionsAvailable: v, captionsOn: y, audioDescriptionAvailable: b, audioDescriptionOn: x, silent: S, persist: C, audioLanguages: w, audioLanguage: T, onAudioLanguageChange: E, captionLanguages: D, captionLanguage: O, onCaptionLanguageChange: ee, onCaptionsOff: k, audioDescriptionLanguages: A, audioDescriptionLanguage: j, onAudioDescriptionLanguageChange: te, onAudioDescriptionOff: M, onTogglePlay: ne, onToggleMute: N, onVolumeChange: P, onPlaybackRateChange: F, onToggleFullscreen: I, onToggleCaptions: L, onToggleAudioDescription: R, onSeek: z, download: H }) {
474
+ let { t: U } = t(), re = v && D.length <= 1, W = b && A.length <= 1, G = fe({
519
475
  audioLanguages: w.length,
520
- captionLanguages: E.length,
521
- audioDescriptionLanguages: k.length
476
+ captionLanguages: D.length,
477
+ audioDescriptionLanguages: A.length
522
478
  });
523
- return /* @__PURE__ */ R("div", {
479
+ return /* @__PURE__ */ V("div", {
524
480
  className: r("dark absolute inset-x-0 bottom-0 z-[2] flex select-none items-center gap-2", "rounded-b-[inherit] bg-gradient-to-t from-[#000000f2] via-[#000000b3] to-transparent px-3 py-3", "[text-shadow:0_1px_2px_rgba(0,0,0,0.55)] [&_svg]:drop-shadow-[0_1px_2px_rgba(0,0,0,0.55)]", "transition-opacity duration-200 motion-reduce:transition-none", !e || C ? "opacity-100" : "opacity-0 group-hover:opacity-100 group-focus-within:opacity-100"),
525
481
  children: [
526
- /* @__PURE__ */ L(a, {
482
+ /* @__PURE__ */ B(a, {
527
483
  variant: "ghost",
528
484
  size: "sm",
529
485
  hideLabel: !0,
530
- icon: e ? u : m,
531
- label: W(e ? "videoPlayer.pause" : "videoPlayer.play"),
532
- onClick: N
486
+ icon: e ? s : u,
487
+ label: U(e ? "videoPlayer.pause" : "videoPlayer.play"),
488
+ onClick: ne
533
489
  }),
534
- /* @__PURE__ */ L(oe, {
490
+ /* @__PURE__ */ B(oe, {
535
491
  currentTime: n,
536
492
  duration: i,
537
- markerTime: f,
493
+ markerTime: m,
538
494
  blockSeekPastMarker: g,
539
- onSeek: H
495
+ onSeek: z
540
496
  }),
541
- /* @__PURE__ */ R("span", {
497
+ /* @__PURE__ */ V("span", {
542
498
  className: "min-w-[80px] whitespace-nowrap text-center text-base font-medium tabular-nums text-f1-foreground",
543
499
  children: [
544
- Y(n),
500
+ K(n),
545
501
  " / ",
546
- Y(i)
502
+ K(i)
547
503
  ]
548
504
  }),
549
- /* @__PURE__ */ L(he, {
550
- volume: o,
551
- isMuted: c,
552
- onToggleMute: P,
553
- onVolumeChange: F,
505
+ /* @__PURE__ */ B(me, {
506
+ volume: c,
507
+ isMuted: l,
508
+ onToggleMute: N,
509
+ onVolumeChange: P,
554
510
  silent: S
555
511
  }),
556
- /* @__PURE__ */ L(ae, {
557
- value: l,
558
- onChange: I,
512
+ /* @__PURE__ */ B(ae, {
513
+ value: d,
514
+ onChange: F,
559
515
  containerRef: _
560
516
  }),
561
- G ? /* @__PURE__ */ L(a, {
517
+ re ? /* @__PURE__ */ B(a, {
562
518
  variant: "ghost",
563
519
  size: "sm",
564
520
  hideLabel: !0,
565
- icon: y ? ie : re,
566
- label: W("videoPlayer.captions"),
521
+ icon: y ? ie : Q,
522
+ label: U("videoPlayer.captions"),
567
523
  "aria-pressed": y,
568
- onClick: B
524
+ onClick: L
569
525
  }) : null,
570
- K ? /* @__PURE__ */ L(a, {
526
+ W ? /* @__PURE__ */ B(a, {
571
527
  variant: "ghost",
572
528
  size: "sm",
573
529
  hideLabel: !0,
574
- icon: x ? ne : $,
575
- label: W("videoPlayer.audioDescription"),
530
+ icon: x ? Z : X,
531
+ label: U("videoPlayer.audioDescription"),
576
532
  "aria-pressed": x,
577
- onClick: V
533
+ onClick: R
578
534
  }) : null,
579
- q ? /* @__PURE__ */ L(fe, {
535
+ G ? /* @__PURE__ */ B(de, {
580
536
  containerRef: _,
581
537
  audioLanguages: w,
582
- audioLanguage: ee,
583
- onAudioLanguageChange: T,
584
- captionLanguages: E,
585
- captionLanguage: D,
538
+ audioLanguage: T,
539
+ onAudioLanguageChange: E,
540
+ captionLanguages: D,
541
+ captionLanguage: O,
586
542
  captionsOn: y,
587
- onCaptionLanguageChange: te,
588
- onCaptionsOff: O,
589
- audioDescriptionLanguages: k,
590
- audioDescriptionLanguage: A,
543
+ onCaptionLanguageChange: ee,
544
+ onCaptionsOff: k,
545
+ audioDescriptionLanguages: A,
546
+ audioDescriptionLanguage: j,
591
547
  audioDescriptionOn: x,
592
- onAudioDescriptionLanguageChange: j,
548
+ onAudioDescriptionLanguageChange: te,
593
549
  onAudioDescriptionOff: M
594
550
  }) : null,
595
- U ? /* @__PURE__ */ L(a, {
551
+ H ? /* @__PURE__ */ B(a, {
596
552
  variant: "ghost",
597
553
  size: "sm",
598
554
  hideLabel: !0,
599
- icon: s,
600
- label: U.label,
601
- onClick: U.onClick
555
+ icon: h,
556
+ label: H.label,
557
+ onClick: H.onClick
602
558
  }) : null,
603
- /* @__PURE__ */ L(a, {
559
+ /* @__PURE__ */ B(a, {
604
560
  variant: "ghost",
605
561
  size: "sm",
606
562
  hideLabel: !0,
607
- icon: d ? h : p,
608
- label: W(d ? "videoPlayer.exitFullscreen" : "videoPlayer.enterFullscreen"),
609
- onClick: z
563
+ icon: f ? o : p,
564
+ label: U(f ? "videoPlayer.exitFullscreen" : "videoPlayer.enterFullscreen"),
565
+ onClick: I
610
566
  })
611
567
  ]
612
568
  });
613
569
  }
614
570
  //#endregion
615
571
  //#region src/blocks/F0VideoPlayer/hooks/useVttSource.ts
616
- var ve = (e) => e.trimStart().startsWith("WEBVTT");
617
- function ye(e) {
618
- let t = e !== void 0 && ve(e), [n, r] = I();
619
- return M(() => {
620
- if (e === void 0 || !ve(e)) {
572
+ var _e = (e) => e.trimStart().startsWith("WEBVTT");
573
+ function ve(e) {
574
+ let t = e !== void 0 && _e(e), [n, r] = z();
575
+ return F(() => {
576
+ if (e === void 0 || !_e(e)) {
621
577
  r(void 0);
622
578
  return;
623
579
  }
@@ -630,10 +586,10 @@ function ye(e) {
630
586
  }
631
587
  //#endregion
632
588
  //#region src/blocks/F0VideoPlayer/hooks/useAudioDescription.ts
633
- var be = "descriptions";
634
- function xe(e, { enabled: t, describedSrc: n, descriptions: r }) {
635
- let i = n !== void 0, { trackSrc: a, needsCrossOrigin: o } = ye(r), [s, c] = I(!1), l = i || r !== void 0 || s, [u, d] = I(), f = F(!1);
636
- return M(() => {
589
+ var ye = "descriptions";
590
+ function be(e, { enabled: t, describedSrc: n, descriptions: r }) {
591
+ let i = n !== void 0, { trackSrc: a, needsCrossOrigin: o } = ve(r), [s, c] = z(!1), l = i || r !== void 0 || s, [u, d] = z(), f = R(!1);
592
+ return F(() => {
637
593
  if (!e) return;
638
594
  let n = e.textTracks, a = typeof window < "u" && "speechSynthesis" in window, o = t && !i && a, s = () => {
639
595
  f.current && (f.current = !1, e.play().catch(() => {}));
@@ -642,7 +598,7 @@ function xe(e, { enabled: t, describedSrc: n, descriptions: r }) {
642
598
  let t = new SpeechSynthesisUtterance(e);
643
599
  t.onend = s, t.onerror = s, window.speechSynthesis.speak(t);
644
600
  }, u = /* @__PURE__ */ new WeakSet(), p = [], m = (t) => {
645
- if (t.kind !== be || (t.mode = "hidden", u.has(t)) || typeof t.addEventListener != "function") return;
601
+ if (t.kind !== ye || (t.mode = "hidden", u.has(t)) || typeof t.addEventListener != "function") return;
646
602
  u.add(t);
647
603
  let n = () => {
648
604
  let n = t.activeCues?.[0]?.text || void 0;
@@ -651,7 +607,7 @@ function xe(e, { enabled: t, describedSrc: n, descriptions: r }) {
651
607
  t.addEventListener("cuechange", n), p.push(() => t.removeEventListener("cuechange", n));
652
608
  }, h = () => {
653
609
  let e = !1;
654
- for (let t of Array.from(n)) t.kind === be && (r === void 0 && (e = !0), m(t));
610
+ for (let t of Array.from(n)) t.kind === ye && (r === void 0 && (e = !0), m(t));
655
611
  c(e);
656
612
  };
657
613
  h();
@@ -665,7 +621,7 @@ function xe(e, { enabled: t, describedSrc: n, descriptions: r }) {
665
621
  i,
666
622
  r,
667
623
  a
668
- ]), P(() => ({
624
+ ]), L(() => ({
669
625
  trackSrc: a,
670
626
  needsCrossOrigin: o,
671
627
  available: l,
@@ -679,8 +635,8 @@ function xe(e, { enabled: t, describedSrc: n, descriptions: r }) {
679
635
  }
680
636
  //#endregion
681
637
  //#region src/blocks/F0VideoPlayer/hooks/useKeyboardShortcuts.ts
682
- function Se({ videoRef: e, seek: t, togglePlay: n, toggleMute: r, toggleFullscreen: i, setVolume: a }) {
683
- return j((o) => {
638
+ function xe({ videoRef: e, seek: t, togglePlay: n, toggleMute: r, toggleFullscreen: i, setVolume: a }) {
639
+ return P((o) => {
684
640
  let s = o.target;
685
641
  if (s instanceof HTMLElement && (s.closest("button, a, input, textarea, select, [role=\"button\"], [contenteditable=\"true\"]") || s.closest("[role=\"menu\"], [role^=\"menuitem\"]") || s.getAttribute("role") === "slider")) return;
686
642
  let c = e.current;
@@ -698,10 +654,10 @@ function Se({ videoRef: e, seek: t, togglePlay: n, toggleMute: r, toggleFullscre
698
654
  return;
699
655
  }
700
656
  case "ArrowUp":
701
- o.preventDefault(), a(Math.min(1, c.volume + G));
657
+ o.preventDefault(), a(Math.min(1, c.volume + U));
702
658
  return;
703
659
  case "ArrowDown":
704
- o.preventDefault(), a(Math.max(0, c.volume - G));
660
+ o.preventDefault(), a(Math.max(0, c.volume - U));
705
661
  return;
706
662
  case "m":
707
663
  o.preventDefault(), r();
@@ -722,13 +678,13 @@ function Se({ videoRef: e, seek: t, togglePlay: n, toggleMute: r, toggleFullscre
722
678
  }
723
679
  //#endregion
724
680
  //#region src/blocks/F0VideoPlayer/hooks/useRestrictForwardSeek.ts
725
- function Ce({ video: e, enabled: t, resetKey: n }) {
726
- let r = F(0), i = F(0), a = F(t);
681
+ function Se({ video: e, enabled: t, resetKey: n }) {
682
+ let r = R(0), i = R(0), a = R(t);
727
683
  a.current = t;
728
- let [o, s] = I(0);
729
- return M(() => {
684
+ let [o, s] = z(0);
685
+ return F(() => {
730
686
  r.current = 0, i.current = 0, s(0);
731
- }, [n]), M(() => {
687
+ }, [n]), F(() => {
732
688
  if (!e) return;
733
689
  let t = () => {
734
690
  a.current && e.currentTime > r.current + .25 && (e.currentTime = r.current);
@@ -750,24 +706,24 @@ function Ce({ video: e, enabled: t, resetKey: n }) {
750
706
  };
751
707
  }, [e]), {
752
708
  maxWatchedTime: o,
753
- clampSeek: j((e) => a.current ? Math.min(e, r.current) : e, [])
709
+ clampSeek: P((e) => a.current ? Math.min(e, r.current) : e, [])
754
710
  };
755
711
  }
756
712
  //#endregion
757
713
  //#region src/blocks/F0VideoPlayer/hooks/useVideoCaptions.ts
758
- var we = /* @__PURE__ */ new Set(["captions", "subtitles"]), Te = 2, Ee = 3;
759
- function De(e, t) {
760
- let { trackSrc: n, needsCrossOrigin: r } = ye(t), [i, a] = I(!1), [o, s] = I(!1), [c, l] = I(!1), u = o || t !== void 0 && !c;
761
- return M(() => {
714
+ var Ce = /* @__PURE__ */ new Set(["captions", "subtitles"]), we = 2, Te = 3;
715
+ function Ee(e, t) {
716
+ let { trackSrc: n, needsCrossOrigin: r } = ve(t), [i, a] = z(!1), [o, s] = z(!1), [c, l] = z(!1), u = o || t !== void 0 && !c;
717
+ return F(() => {
762
718
  l(!1), s(!1);
763
- }, [n]), M(() => {
719
+ }, [n]), F(() => {
764
720
  if (!e) return;
765
721
  let t = e.textTracks, n = e.querySelector("track[kind=\"captions\"]"), r = () => {
766
722
  let e = !1;
767
- for (let n of Array.from(t)) we.has(n.kind) && (n.mode = i ? "showing" : "hidden", n.cues && n.cues.length > 0 && (e = !0));
723
+ for (let n of Array.from(t)) Ce.has(n.kind) && (n.mode = i ? "showing" : "hidden", n.cues && n.cues.length > 0 && (e = !0));
768
724
  if (s(e), n) {
769
- if (n.readyState === Ee) l(!0);
770
- else if (n.readyState === Te) {
725
+ if (n.readyState === Te) l(!0);
726
+ else if (n.readyState === we) {
771
727
  let e = n.track?.cues;
772
728
  l(!e || e.length === 0);
773
729
  }
@@ -782,7 +738,7 @@ function De(e, t) {
782
738
  });
783
739
  }
784
740
  for (let e of Array.from(t)) {
785
- if (!we.has(e.kind) || typeof e.addEventListener != "function") continue;
741
+ if (!Ce.has(e.kind) || typeof e.addEventListener != "function") continue;
786
742
  let t = () => r();
787
743
  e.addEventListener("cuechange", t), a.push(() => e.removeEventListener("cuechange", t));
788
744
  }
@@ -795,7 +751,7 @@ function De(e, t) {
795
751
  t,
796
752
  i,
797
753
  n
798
- ]), P(() => ({
754
+ ]), L(() => ({
799
755
  trackSrc: n,
800
756
  needsCrossOrigin: r,
801
757
  available: u,
@@ -810,19 +766,19 @@ function De(e, t) {
810
766
  }
811
767
  //#endregion
812
768
  //#region src/blocks/F0VideoPlayer/hooks/useVideoCompletion.ts
813
- function Oe(e) {
814
- return e - Math.min(10, e * J);
769
+ function De(e) {
770
+ return e - Math.min(10, e * G);
815
771
  }
816
- function ke({ video: e, onComplete: t, resetKey: n }) {
817
- let r = F(t);
772
+ function Oe({ video: e, onComplete: t, resetKey: n }) {
773
+ let r = R(t);
818
774
  r.current = t;
819
- let i = F(!1), a = !!t;
820
- M(() => {
775
+ let i = R(!1), a = !!t;
776
+ F(() => {
821
777
  i.current = !1;
822
- }, [n]), M(() => {
778
+ }, [n]), F(() => {
823
779
  if (!e || !a) return;
824
780
  let t = () => {
825
- !i.current && e.duration && e.currentTime >= Oe(e.duration) && (i.current = !0, r.current?.(e));
781
+ !i.current && e.duration && e.currentTime >= De(e.duration) && (i.current = !0, r.current?.(e));
826
782
  };
827
783
  return e.addEventListener("timeupdate", t), e.addEventListener("ended", t), () => {
828
784
  e.removeEventListener("timeupdate", t), e.removeEventListener("ended", t);
@@ -831,18 +787,18 @@ function ke({ video: e, onComplete: t, resetKey: n }) {
831
787
  }
832
788
  //#endregion
833
789
  //#region src/blocks/F0VideoPlayer/hooks/useVideoMilestones.ts
834
- function Ae({ video: e, onMilestone: t, resetKey: n }) {
835
- let r = F(t);
790
+ function ke({ video: e, onMilestone: t, resetKey: n }) {
791
+ let r = R(t);
836
792
  r.current = t;
837
- let i = F(/* @__PURE__ */ new Set()), a = !!t;
838
- M(() => {
793
+ let i = R(/* @__PURE__ */ new Set()), a = !!t;
794
+ F(() => {
839
795
  i.current.clear();
840
- }, [n]), M(() => {
796
+ }, [n]), F(() => {
841
797
  if (!e || !a) return;
842
798
  let t = () => {
843
799
  if (!e.duration) return;
844
800
  let t = Math.round(e.currentTime / e.duration * 100);
845
- for (let n of K) i.current.has(n) || t >= n && (i.current.add(n), r.current?.(n, e));
801
+ for (let n of re) i.current.has(n) || t >= n && (i.current.add(n), r.current?.(n, e));
846
802
  };
847
803
  return e.addEventListener("timeupdate", t), () => {
848
804
  e.removeEventListener("timeupdate", t);
@@ -851,19 +807,19 @@ function Ae({ video: e, onMilestone: t, resetKey: n }) {
851
807
  }
852
808
  //#endregion
853
809
  //#region src/blocks/F0VideoPlayer/hooks/useVideoState.ts
854
- function je(e) {
855
- let t = F(null), [n, r] = I(null), i = F(0), a = j((e) => {
810
+ function Ae(e) {
811
+ let t = R(null), [n, r] = z(null), i = R(0), a = P((e) => {
856
812
  t.current = e, r(e);
857
- }, []), [o, s] = I(!1), [c, l] = I(!1), [u, d] = I(0), [f, p] = I(0), [m, h] = I(1), [g, _] = I(!1), [v, y] = I(1);
858
- return M(() => {
813
+ }, []), [o, s] = z(!1), [c, l] = z(!1), [u, d] = z(0), [f, p] = z(0), [m, h] = z(1), [g, _] = z(!1), [v, y] = z(1);
814
+ return F(() => {
859
815
  i.current = 0, t.current && (t.current.playbackRate = 1), s(!1), l(!1), d(0), p(0), y(1);
860
- }, [e]), M(() => {
816
+ }, [e]), F(() => {
861
817
  let e = n;
862
818
  if (!e) return;
863
819
  let t = () => l(!0), r = () => l(!1), a = () => l(!1), o = () => {
864
820
  h(e.volume), _(e.muted);
865
821
  }, s = () => p(e.duration || 0), c = () => {
866
- Z(e.playbackRate) && y(e.playbackRate);
822
+ J(e.playbackRate) && y(e.playbackRate);
867
823
  }, u = () => {
868
824
  let t = performance.now();
869
825
  t - i.current >= 250 && (i.current = t, d(e.currentTime));
@@ -883,25 +839,25 @@ function je(e) {
883
839
  isMuted: g,
884
840
  playbackRate: v,
885
841
  setVideoLoaded: s,
886
- togglePlay: j(() => {
842
+ togglePlay: P(() => {
887
843
  let e = t.current;
888
844
  e && (e.paused || e.ended ? e.play().catch(() => {}) : e.pause());
889
845
  }, []),
890
- toggleMute: j(() => {
846
+ toggleMute: P(() => {
891
847
  let e = t.current;
892
848
  e && (e.muted = !e.muted);
893
849
  }, []),
894
- setVolume: j((e) => {
850
+ setVolume: P((e) => {
895
851
  let n = t.current;
896
852
  if (!n) return;
897
853
  let r = Math.max(0, Math.min(1, e));
898
854
  n.volume = r, n.muted = r === 0;
899
855
  }, []),
900
- setPlaybackRate: j((e) => {
856
+ setPlaybackRate: P((e) => {
901
857
  let n = t.current;
902
858
  n && (n.playbackRate = e);
903
859
  }, []),
904
- seekTo: j((e) => {
860
+ seekTo: P((e) => {
905
861
  let n = t.current;
906
862
  if (!n) return;
907
863
  let r = Math.max(0, Math.min(e, n.duration || e));
@@ -911,18 +867,18 @@ function je(e) {
911
867
  }
912
868
  //#endregion
913
869
  //#region src/blocks/F0VideoPlayer/hooks/useVideoTracking.ts
914
- function Me({ video: e, onTrackAction: t }) {
915
- let n = F(t);
870
+ function je({ video: e, onTrackAction: t }) {
871
+ let n = R(t);
916
872
  n.current = t;
917
873
  let r = !!t;
918
- M(() => {
874
+ F(() => {
919
875
  if (!e || !r) return;
920
876
  let t = null, i = () => {
921
877
  t &&= (clearInterval(t), null);
922
878
  }, a = () => {
923
879
  n.current?.(), i(), t = setInterval(() => {
924
880
  n.current?.();
925
- }, q);
881
+ }, W);
926
882
  }, o = () => {
927
883
  n.current?.(), i();
928
884
  }, s = () => i();
@@ -933,185 +889,185 @@ function Me({ video: e, onTrackAction: t }) {
933
889
  }
934
890
  //#endregion
935
891
  //#region src/blocks/F0VideoPlayer/internal.tsx
936
- function Ne({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls: s = !1, content: c, defaultLanguage: l, autoPlay: u = !1, autoFocus: d = !1, download: f, restrictForwardSeek: p = !1, onTrackAction: h, onMilestone: g, onComplete: v, ...y }) {
937
- let { t: b } = t(), x = F(null), S = P(() => V(e), [e]), [C, w] = I(() => U(S, l)), ee = S.some((e) => e.locale === C) ? C : U(S, l), T = B(e, ee) ?? "", E = P(() => V(c?.captions), [c?.captions]), [D, te] = I(() => U(E, l)), O = E.some((e) => e.locale === D) ? D : U(E, l), A = B(c?.captions, O), N = P(() => V(c?.descriptions, c?.describedSrc), [c?.descriptions, c?.describedSrc]), [z, H] = I(() => U(N, l)), W = N.some((e) => e.locale === z) ? z : U(N, l), G = B(c?.descriptions, W), K = B(c?.describedSrc, W), [q, J] = I(!1), Y = q && K ? K : T, X = je(Y), Z = De(X.videoElement, A), Q = xe(X.videoElement, {
938
- enabled: q,
939
- describedSrc: K,
940
- descriptions: G
941
- }), $ = j(() => {
942
- let e = X.videoRef.current;
892
+ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls: s = !1, content: c, defaultLanguage: l, autoPlay: d = !1, autoFocus: f = !1, download: p, restrictForwardSeek: m = !1, onTrackAction: h, onMilestone: g, onComplete: v, ...y }) {
893
+ let { t: b } = t(), x = R(null), S = L(() => M(e), [e]), [C, w] = z(() => j(S, l)), T = S.some((e) => e.locale === C) ? C : j(S, l), E = A(e, T) ?? "", D = L(() => M(c?.captions), [c?.captions]), [O, ee] = z(() => j(D, l)), k = D.some((e) => e.locale === O) ? O : j(D, l), te = A(c?.captions, k), N = L(() => M(c?.descriptions, c?.describedSrc), [c?.descriptions, c?.describedSrc]), [I, H] = z(() => j(N, l)), U = N.some((e) => e.locale === I) ? I : j(N, l), re = A(c?.descriptions, U), W = A(c?.describedSrc, U), [G, K] = z(!1), q = G && W ? W : E, J = Ae(q), Y = Ee(J.videoElement, te), X = be(J.videoElement, {
894
+ enabled: G,
895
+ describedSrc: W,
896
+ descriptions: re
897
+ }), Z = P(() => {
898
+ let e = J.videoRef.current;
943
899
  if (!e) return;
944
900
  let t = e.currentTime, n = !e.paused, r = () => {
945
901
  e.currentTime = t, n && e.play().catch(() => {}), e.removeEventListener("loadedmetadata", r);
946
902
  };
947
903
  e.addEventListener("loadedmetadata", r);
948
- }, [X.videoRef]), ne = j((e) => {
949
- $(), w(e);
950
- }, [$]), re = j(() => {
951
- K && $(), J((e) => !e);
952
- }, [K, $]), ie = j((e) => {
953
- te(e), Z.showing || Z.toggle();
954
- }, [Z]), ae = j(() => {
955
- Z.showing && Z.toggle();
956
- }, [Z]), oe = j((e) => {
957
- K && $(), H(e), J(!0);
958
- }, [K, $]), se = j(() => {
959
- K && $(), J(!1);
960
- }, [K, $]);
961
- Me({
962
- video: X.videoElement,
904
+ }, [J.videoRef]), Q = P((e) => {
905
+ Z(), w(e);
906
+ }, [Z]), ie = P(() => {
907
+ W && Z(), K((e) => !e);
908
+ }, [W, Z]), ae = P((e) => {
909
+ ee(e), Y.showing || Y.toggle();
910
+ }, [Y]), oe = P(() => {
911
+ Y.showing && Y.toggle();
912
+ }, [Y]), se = P((e) => {
913
+ W && Z(), H(e), K(!0);
914
+ }, [W, Z]), ce = P(() => {
915
+ W && Z(), K(!1);
916
+ }, [W, Z]);
917
+ je({
918
+ video: J.videoElement,
963
919
  onTrackAction: h
964
- }), Ae({
965
- video: X.videoElement,
966
- onMilestone: g,
967
- resetKey: T
968
920
  }), ke({
969
- video: X.videoElement,
921
+ video: J.videoElement,
922
+ onMilestone: g,
923
+ resetKey: E
924
+ }), Oe({
925
+ video: J.videoElement,
970
926
  onComplete: v,
971
- resetKey: T
927
+ resetKey: E
972
928
  });
973
- let { maxWatchedTime: ce, clampSeek: le } = Ce({
974
- video: X.videoElement,
975
- enabled: p,
976
- resetKey: T
977
- }), ue = j((e) => X.seekTo(le(e)), [X, le]), { isFullscreen: de, toggleFullscreen: fe } = k({ targetRef: x }), pe = j(() => {}, []), me = !!(q && K);
978
- M(() => {
979
- let e = X.videoRef.current;
929
+ let { maxWatchedTime: le, clampSeek: ue } = Se({
930
+ video: J.videoElement,
931
+ enabled: m,
932
+ resetKey: E
933
+ }), $ = P((e) => J.seekTo(ue(e)), [J, ue]), { isFullscreen: de, toggleFullscreen: fe } = ne({ targetRef: x }), pe = P(() => {}, []), me = !!(G && W);
934
+ F(() => {
935
+ let e = J.videoRef.current;
980
936
  o && e && (e.muted = !me);
981
937
  }, [
982
938
  o,
983
939
  me,
984
- X.videoElement,
985
- X.videoRef
940
+ J.videoElement,
941
+ J.videoRef
986
942
  ]);
987
- let he = Se({
988
- videoRef: X.videoRef,
989
- seek: ue,
990
- togglePlay: X.togglePlay,
991
- toggleMute: o ? pe : X.toggleMute,
943
+ let he = xe({
944
+ videoRef: J.videoRef,
945
+ seek: $,
946
+ togglePlay: J.togglePlay,
947
+ toggleMute: o ? pe : J.toggleMute,
992
948
  toggleFullscreen: fe,
993
- setVolume: o ? pe : X.setVolume
949
+ setVolume: o ? pe : J.setVolume
994
950
  });
995
- M(() => {
996
- d && x.current?.focus({ preventScroll: !0 });
997
- }, [d]);
998
- let ge = (e) => e.preventDefault();
999
- return /* @__PURE__ */ R("div", {
951
+ F(() => {
952
+ f && x.current?.focus({ preventScroll: !0 });
953
+ }, [f]);
954
+ let _e = (e) => e.preventDefault();
955
+ return /* @__PURE__ */ V("div", {
1000
956
  ref: x,
1001
957
  className: r("group relative h-full w-full overflow-hidden rounded-[inherit] bg-f1-foreground dark:bg-f1-background", "[&:fullscreen]:h-screen [&:fullscreen]:w-screen [&:fullscreen]:rounded-none", i()),
1002
958
  role: "region",
1003
959
  "aria-label": a ?? b("videoPlayer.regionLabel"),
1004
960
  tabIndex: 0,
1005
961
  onKeyDown: he,
1006
- "data-video-captions": o ? "no-audio" : Z.available ? "available" : "missing",
962
+ "data-video-captions": o ? "no-audio" : Y.available ? "available" : "missing",
1007
963
  ...y,
1008
964
  children: [
1009
- /* @__PURE__ */ R("video", {
1010
- ref: X.setVideoNode,
1011
- autoPlay: u,
965
+ /* @__PURE__ */ V("video", {
966
+ ref: J.setVideoNode,
967
+ autoPlay: d,
1012
968
  playsInline: !0,
1013
969
  disablePictureInPicture: !0,
1014
970
  disableRemotePlayback: !0,
1015
971
  draggable: !1,
1016
- onContextMenu: ge,
1017
- onClick: X.togglePlay,
1018
- src: Y,
972
+ onContextMenu: _e,
973
+ onClick: J.togglePlay,
974
+ src: q,
1019
975
  poster: n,
1020
- crossOrigin: Z.needsCrossOrigin || Q.needsCrossOrigin ? "anonymous" : void 0,
1021
- onLoadedData: () => X.setVideoLoaded(!0),
976
+ crossOrigin: Y.needsCrossOrigin || X.needsCrossOrigin ? "anonymous" : void 0,
977
+ onLoadedData: () => J.setVideoLoaded(!0),
1022
978
  className: r("block h-full w-full cursor-pointer rounded-[inherit] object-contain transition-opacity duration-300", "[&::-webkit-media-text-track-container]:![transform:translateY(-3.5rem)]"),
1023
- style: { opacity: X.videoLoaded || n ? 1 : 0 },
1024
- children: [Z.trackSrc ? /* @__PURE__ */ L("track", {
979
+ style: { opacity: J.videoLoaded || n ? 1 : 0 },
980
+ children: [Y.trackSrc ? /* @__PURE__ */ B("track", {
1025
981
  kind: "captions",
1026
- src: Z.trackSrc,
982
+ src: Y.trackSrc,
1027
983
  label: b("videoPlayer.captions"),
1028
984
  default: !1
1029
- }) : null, Q.trackSrc ? /* @__PURE__ */ L("track", {
985
+ }) : null, X.trackSrc ? /* @__PURE__ */ B("track", {
1030
986
  kind: "descriptions",
1031
- src: Q.trackSrc,
987
+ src: X.trackSrc,
1032
988
  label: b("videoPlayer.audioDescription"),
1033
989
  default: !1
1034
990
  }) : null]
1035
991
  }),
1036
- X.isPlaying ? null : /* @__PURE__ */ L("div", {
992
+ J.isPlaying ? null : /* @__PURE__ */ B("div", {
1037
993
  "aria-hidden": !0,
1038
994
  "data-video-play-overlay": !0,
1039
995
  className: "pointer-events-none absolute inset-0 z-[1] flex items-center justify-center",
1040
- children: /* @__PURE__ */ L("button", {
996
+ children: /* @__PURE__ */ B("button", {
1041
997
  type: "button",
1042
998
  tabIndex: -1,
1043
- onClick: X.togglePlay,
999
+ onClick: J.togglePlay,
1044
1000
  className: "pointer-events-auto flex size-14 items-center justify-center rounded-full bg-f1-foreground/70 pl-0.5 shadow-[0_2px_8px_rgba(0,0,0,0.45)] transition-transform duration-150 hover:scale-105 motion-reduce:transition-none dark:bg-f1-background/70 [&_svg]:size-7",
1045
- children: /* @__PURE__ */ L(_, {
1046
- icon: m,
1001
+ children: /* @__PURE__ */ B(_, {
1002
+ icon: u,
1047
1003
  size: "lg",
1048
1004
  color: "#fff"
1049
1005
  })
1050
1006
  })
1051
1007
  }),
1052
- Z.showing && Q.activeCue ? /* @__PURE__ */ L("div", {
1008
+ Y.showing && X.activeCue ? /* @__PURE__ */ B("div", {
1053
1009
  "aria-hidden": !0,
1054
1010
  className: "dark pointer-events-none absolute inset-x-0 top-0 z-[2] flex justify-center p-3",
1055
- children: /* @__PURE__ */ R("p", {
1011
+ children: /* @__PURE__ */ V("p", {
1056
1012
  className: "max-w-[90%] rounded-md bg-f1-background/70 px-2 py-1 text-center text-base italic text-f1-foreground [text-shadow:0_1px_2px_rgba(0,0,0,0.55)]",
1057
- children: [/* @__PURE__ */ R("span", {
1013
+ children: [/* @__PURE__ */ V("span", {
1058
1014
  className: "pr-1 font-medium not-italic opacity-70",
1059
1015
  children: [
1060
1016
  "[",
1061
1017
  b("videoPlayer.audioDescription"),
1062
1018
  "]"
1063
1019
  ]
1064
- }), Q.activeCue]
1020
+ }), X.activeCue]
1065
1021
  })
1066
1022
  }) : null,
1067
- /* @__PURE__ */ L("span", {
1023
+ /* @__PURE__ */ B("span", {
1068
1024
  className: "sr-only",
1069
1025
  "aria-live": "polite",
1070
- children: X.isPlaying ? b("videoPlayer.playing") : b("videoPlayer.paused")
1026
+ children: J.isPlaying ? b("videoPlayer.playing") : b("videoPlayer.paused")
1071
1027
  }),
1072
- X.videoLoaded ? /* @__PURE__ */ L(_e, {
1073
- isPlaying: X.isPlaying,
1074
- currentTime: X.currentTime,
1075
- duration: X.duration,
1076
- volume: X.volume,
1077
- isMuted: X.isMuted,
1078
- playbackRate: X.playbackRate,
1028
+ J.videoLoaded ? /* @__PURE__ */ B(ge, {
1029
+ isPlaying: J.isPlaying,
1030
+ currentTime: J.currentTime,
1031
+ duration: J.duration,
1032
+ volume: J.volume,
1033
+ isMuted: J.isMuted,
1034
+ playbackRate: J.playbackRate,
1079
1035
  isFullscreen: de,
1080
- markerTime: p ? ce : void 0,
1081
- blockSeekPastMarker: p,
1036
+ markerTime: m ? le : void 0,
1037
+ blockSeekPastMarker: m,
1082
1038
  containerRef: x,
1083
- captionsAvailable: Z.available,
1084
- captionsOn: Z.showing,
1085
- audioDescriptionAvailable: Q.available,
1086
- audioDescriptionOn: q,
1039
+ captionsAvailable: Y.available,
1040
+ captionsOn: Y.showing,
1041
+ audioDescriptionAvailable: X.available,
1042
+ audioDescriptionOn: G,
1087
1043
  silent: o,
1088
1044
  persist: s,
1089
1045
  audioLanguages: S,
1090
- audioLanguage: ee,
1091
- onAudioLanguageChange: ne,
1092
- captionLanguages: E,
1093
- captionLanguage: O,
1094
- onCaptionLanguageChange: ie,
1095
- onCaptionsOff: ae,
1046
+ audioLanguage: T,
1047
+ onAudioLanguageChange: Q,
1048
+ captionLanguages: D,
1049
+ captionLanguage: k,
1050
+ onCaptionLanguageChange: ae,
1051
+ onCaptionsOff: oe,
1096
1052
  audioDescriptionLanguages: N,
1097
- audioDescriptionLanguage: W,
1098
- onAudioDescriptionLanguageChange: oe,
1099
- onAudioDescriptionOff: se,
1100
- onTogglePlay: X.togglePlay,
1101
- onToggleMute: X.toggleMute,
1102
- onVolumeChange: X.setVolume,
1103
- onPlaybackRateChange: X.setPlaybackRate,
1053
+ audioDescriptionLanguage: U,
1054
+ onAudioDescriptionLanguageChange: se,
1055
+ onAudioDescriptionOff: ce,
1056
+ onTogglePlay: J.togglePlay,
1057
+ onToggleMute: J.toggleMute,
1058
+ onVolumeChange: J.setVolume,
1059
+ onPlaybackRateChange: J.setPlaybackRate,
1104
1060
  onToggleFullscreen: () => void fe(),
1105
- onToggleCaptions: Z.toggle,
1106
- onToggleAudioDescription: re,
1107
- onSeek: ue,
1108
- download: f
1061
+ onToggleCaptions: Y.toggle,
1062
+ onToggleAudioDescription: ie,
1063
+ onSeek: $,
1064
+ download: p
1109
1065
  }) : null
1110
1066
  ]
1111
1067
  });
1112
1068
  }
1113
1069
  //#endregion
1114
1070
  //#region src/blocks/F0VideoPlayer/F0VideoPlayer.tsx
1115
- var Pe = e(n("F0VideoPlayer", Ne));
1071
+ var Ne = e(n("F0VideoPlayer", Me));
1116
1072
  //#endregion
1117
- export { B as a, H as i, V as n, U as r, Pe as t };
1073
+ export { Ne as t };