@factorialco/f0-react 16.19.0 → 16.21.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.
- package/dist/{ArchiveThumbnail-CAzO9emN.js → ArchiveThumbnail-BePfOv3F.js} +6 -6
- package/dist/{ArchiveViewer-BkqvVOz0.js → ArchiveViewer-DvKspMsv.js} +5 -5
- package/dist/{ChatPostComposerDialog-BY1-ToCS.js → ChatPostComposerDialog-BhlQzTXz.js} +3 -3
- package/dist/{CoachmarkProvider-CFjffyu5.js → CoachmarkProvider-B0Fs1pf7.js} +13230 -13230
- package/dist/{CodeThumbnail-D-gb6TUF.js → CodeThumbnail-CZKjZwpZ.js} +1 -1
- package/dist/{CodeViewer-SI7TC_K2.js → CodeViewer-DNLPQ2xO.js} +6 -6
- package/dist/{DocumentToolbar-DGyD9SN0.js → DocumentToolbar-Dua6PID0.js} +7 -7
- package/dist/{DocxViewer-kDcXxo0v.js → DocxViewer-D2S3lGOn.js} +3 -3
- package/dist/{F0AiProcessingOverlay-OhgXIPB4.js → F0AiProcessingOverlay-bNWPwuH3.js} +1872 -1944
- package/dist/{F0Alert-TC2esFmC.js → F0Alert-DHPOzhGo.js} +5 -5
- package/dist/F0AudioPlayer-BrjgdlIL.js +2 -0
- package/dist/{F0Button-BPjCHo83.js → F0Button-B217B6lh.js} +9 -9
- package/dist/{F0CanvasPanel-CwuS7Fc_.js → F0CanvasPanel-DV9kMkUy.js} +7771 -7794
- package/dist/{F0DocumentViewer-DIFsg5pY.js → F0DocumentViewer-BSMvv4hU.js} +4 -4
- package/dist/{F0DocumentViewer-CNQvQsnx.js → F0DocumentViewer-C-e-yjPh.js} +1 -1
- package/dist/{F0Icon-BWIoBqUz.js → F0Icon-CRETnjaC.js} +1 -1
- package/dist/{F0Map-BxSjjHyY.js → F0Map-C5GBzJKx.js} +23 -23
- package/dist/{F0Select-CaRfMBA3.js → F0Select-Ef_MkLqL.js} +9 -9
- package/dist/{F0Text-D9BR3ipr.js → F0Text-DEJMiNLl.js} +2 -2
- package/dist/{F0VideoPlayer-CfY8KJ7I.js → F0VideoPlayer-BXD4JMkM.js} +75 -75
- package/dist/F0VideoPlayer-Bwq_1c7j.js +1 -0
- package/dist/{HtmlThumbnail-Cj27H9QK.js → HtmlThumbnail-DLYEHdZx.js} +1 -1
- package/dist/{HtmlViewer-DRfrtuKN.js → HtmlViewer-CX1vkYRx.js} +9 -9
- package/dist/{LayoutGroup-Clgr-vB9.js → LayoutGroup-DECnUFBB.js} +1 -1
- package/dist/{Map-x2t4rK66.js → Map-BnhKWUJE.js} +13 -13
- package/dist/{PdfThumbnail-Ue08FfiS.js → PdfThumbnail-BJi6FkbE.js} +1 -1
- package/dist/{PdfViewer-V3C2gmbs.js → PdfViewer-CFn2h9nq.js} +12 -12
- package/dist/{SandboxedHtmlFrame-DQqfMeCl.js → SandboxedHtmlFrame-Ba5FAjt6.js} +2 -2
- package/dist/{SheetViewer-ByBIMFf1.js → SheetViewer-onMadxsi.js} +5 -5
- package/dist/{TextViewer-CR4-k8HR.js → TextViewer-BIcgDoH5.js} +4 -4
- package/dist/ai.d.ts +4 -4
- package/dist/ai.js +5 -5
- package/dist/component-status.js +2 -2
- package/dist/{dist-DYydiVIh.js → dist-BAsn0JfF.js} +1 -1
- package/dist/{dist-CAmWmLKl.js → dist-CBsv_N04.js} +4 -4
- package/dist/{dist-tqa6n0_D.js → dist-CLXu6f__.js} +2 -2
- package/dist/{dist-tiM2lERI.js → dist-ClS5kbGd.js} +1 -1
- package/dist/{dist-qs-4_N_R.js → dist-CpxH3Mhm.js} +1 -1
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.js +609 -609
- package/dist/{exports-CLYkiCcv.d.ts → exports-B8qwxvwL.d.ts} +14 -44
- package/dist/f0.d.ts +25 -16
- package/dist/f0.js +1643 -1581
- package/dist/{highlight-D7BcbXP5.js → highlight-BeMwpXOl.js} +4 -4
- package/dist/{i18n-provider-B3-kjPXK.js → i18n-provider-DyI_r6Au.js} +1 -1
- package/dist/{i18n-provider-defaults-BlGnW4EH.js → i18n-provider-defaults-C8fwj3sA.js} +4 -6
- package/dist/{i18n-provider-defaults-Csxr33dy.d.ts → i18n-provider-defaults-FGAsdJJR.d.ts} +4 -6
- package/dist/i18n-provider-defaults.d.ts +1 -1
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/{index-B01mneLV.d.ts → index-DC_v_uUG.d.ts} +33 -79
- package/dist/{maplibre-BMusGtni.js → maplibre-iFKMikCO.js} +1 -1
- package/dist/{pdfWorker-csDGfjpV.js → pdfWorker-rlBg8XHy.js} +1 -1
- package/dist/{popover-CBQ6ifku.js → popover-CKVOp9XF.js} +1 -1
- package/dist/{skeleton-Dl-alAMY.js → skeleton-Dw-7r7zp.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{toolbarStyles-Dx_088Js.js → toolbarStyles-C_OrVxv7.js} +1 -1
- package/dist/{types-QOTzx6bl.d.ts → types-Ia5pcWL6.d.ts} +2 -2
- package/dist/{useData-0FR__MaY.js → useData-CVTa0m1L.js} +6 -6
- package/package.json +1 -1
- package/dist/F0AudioPlayer-GshtwrMI.js +0 -2
- package/dist/F0VideoPlayer-HzLnLN2W.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as e, r as t } from "./i18n-provider-
|
|
2
|
-
import { n, t as r } from "./skeleton-
|
|
1
|
+
import { a as e, r as t } from "./i18n-provider-DyI_r6Au.js";
|
|
2
|
+
import { n, t as r } from "./skeleton-Dw-7r7zp.js";
|
|
3
3
|
import { L as i } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import {
|
|
4
|
+
import { ts as a } from "./F0CanvasPanel-DV9kMkUy.js";
|
|
5
5
|
import { Suspense as o, forwardRef as s, lazy as c } from "react";
|
|
6
6
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
7
7
|
import './F0DocumentViewer.css';//#region src/addons/documents/F0DocumentViewer/types.ts
|
|
@@ -36,7 +36,7 @@ var d = [
|
|
|
36
36
|
children: /* @__PURE__ */ l(r, { className: "h-full w-full max-w-[600px] rounded-md" })
|
|
37
37
|
})]
|
|
38
38
|
});
|
|
39
|
-
}, p = c(() => import("./PdfViewer-
|
|
39
|
+
}, p = c(() => import("./PdfViewer-CFn2h9nq.js")), m = c(() => import("./SheetViewer-onMadxsi.js")), h = c(() => import("./DocxViewer-D2S3lGOn.js")), g = c(() => import("./TextViewer-BIcgDoH5.js")), _ = c(() => import("./CodeViewer-DNLPQ2xO.js")), v = c(() => import("./HtmlViewer-CX1vkYRx.js")), y = c(() => import("./ArchiveViewer-DvKspMsv.js")), b = s((e, t) => {
|
|
40
40
|
let { kind: n = "pdf", mimeType: i, language: a, htmlExecution: s = "auto", htmlSandbox: c, sender: d, toolbar: b = "top", hideDownload: x = !1, ...S } = e;
|
|
41
41
|
if (n === "pdf") return /* @__PURE__ */ l(o, {
|
|
42
42
|
fallback: /* @__PURE__ */ l(f, {}),
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./F0DocumentViewer-
|
|
1
|
+
import { n as e, r as t, t as n } from "./F0DocumentViewer-BSMvv4hU.js";
|
|
2
2
|
import { t as r } from "./pdfWorkerConfig-BwllKt1K.js";
|
|
3
3
|
export { n as F0DocumentViewer, e as F0PdfViewer, r as configurePdfWorker, t as pdfScales };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e } from "./i18n-provider-
|
|
1
|
+
import { a as e } from "./i18n-provider-DyI_r6Au.js";
|
|
2
2
|
import { L as t, z as n } from "./tooltip-NXXT56H4.js";
|
|
3
3
|
import * as r from "react";
|
|
4
4
|
import { createContext as i, forwardRef as a, useCallback as o, useContext as s, useEffect as c, useImperativeHandle as l, useRef as u, useState as d } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Si as e, a as t, o as n } from "./CoachmarkProvider-
|
|
2
|
-
import { i as r, r as i } from "./i18n-provider-
|
|
1
|
+
import { Si as e, a as t, o as n } from "./CoachmarkProvider-B0Fs1pf7.js";
|
|
2
|
+
import { i as r, r as i } from "./i18n-provider-DyI_r6Au.js";
|
|
3
3
|
import { L as a, R as o } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import { D as s, G as c, K as l, Y as u, h as d, t as f, x as p } from "./F0Button-
|
|
5
|
-
import {
|
|
6
|
-
import { t as x } from "./F0Icon-
|
|
7
|
-
import { N as S, T as C, U as w, p as T, z as E } from "./useData-
|
|
4
|
+
import { D as s, G as c, K as l, Y as u, h as d, t as f, x as p } from "./F0Button-B217B6lh.js";
|
|
5
|
+
import { As as m, ac as h, m as g, nn as _, r as v, rl as y, zc as b } from "./F0CanvasPanel-DV9kMkUy.js";
|
|
6
|
+
import { t as x } from "./F0Icon-CRETnjaC.js";
|
|
7
|
+
import { N as S, T as C, U as w, p as T, z as E } from "./useData-CVTa0m1L.js";
|
|
8
8
|
import { n as D, o as ee, s as O, t as k } from "./dist-BCNVh6y5.js";
|
|
9
9
|
import { createContext as A, forwardRef as j, useCallback as M, useContext as te, useEffect as N, useId as ne, useImperativeHandle as re, useLayoutEffect as ie, useMemo as P, useRef as F, useState as I } from "react";
|
|
10
10
|
import { Fragment as ae, jsx as L, jsxs as R } from "react/jsx-runtime";
|
|
@@ -408,7 +408,7 @@ var W = Ce, we = (e, t) => `hsl(${ye(e, t).replace(/ /g, ", ")})`, Te = (e, t) =
|
|
|
408
408
|
variant: "ghost",
|
|
409
409
|
size: "md",
|
|
410
410
|
label: o?.fit ?? l.map.controls.fit,
|
|
411
|
-
icon:
|
|
411
|
+
icon: b,
|
|
412
412
|
hideLabel: !0,
|
|
413
413
|
onClick: n
|
|
414
414
|
}) : null, a ? /* @__PURE__ */ L(f, {
|
|
@@ -734,7 +734,7 @@ var Fe = ({ adapter: e, points: t, enabled: n, radius: r = 12, clusterRadius: i
|
|
|
734
734
|
case "workplace": return {
|
|
735
735
|
variant: {
|
|
736
736
|
variant: "icon",
|
|
737
|
-
icon:
|
|
737
|
+
icon: h
|
|
738
738
|
},
|
|
739
739
|
color: qe
|
|
740
740
|
};
|
|
@@ -1117,7 +1117,7 @@ function bt({ enabled: e, children: t, ...n }) {
|
|
|
1117
1117
|
});
|
|
1118
1118
|
}
|
|
1119
1119
|
function xt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
1120
|
-
let { isInstant: r, landInstantly: i } = vt(), a = yt(), [o, s] = I(O.panel), [c, l] =
|
|
1120
|
+
let { isInstant: r, landInstantly: i } = vt(), a = yt(), [o, s] = I(O.panel), [c, l] = _({
|
|
1121
1121
|
key: pt,
|
|
1122
1122
|
fallback: null,
|
|
1123
1123
|
validate: ht,
|
|
@@ -1126,19 +1126,19 @@ function xt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
|
1126
1126
|
e !== m.current && (m.current = e, i(), s(e));
|
|
1127
1127
|
}, [i]), g = M(function(e) {
|
|
1128
1128
|
i(), l(e);
|
|
1129
|
-
}, [i, l]),
|
|
1129
|
+
}, [i, l]), v = M(function() {
|
|
1130
1130
|
i(), l(null);
|
|
1131
|
-
}, [i, l]),
|
|
1131
|
+
}, [i, l]), y = p(`(max-width: ${mt + (e ? d : O.panel) + ee.mainMin - 1}px)`, { initializeWithValue: !0 }) ? "overlay" : "docked", [b, x] = I(!1), S = F(0), C = M(function() {
|
|
1132
1132
|
x(!1);
|
|
1133
1133
|
}, []);
|
|
1134
1134
|
ie(function() {
|
|
1135
|
-
i(),
|
|
1135
|
+
i(), y === "docked" && C();
|
|
1136
1136
|
}, [
|
|
1137
|
-
|
|
1137
|
+
y,
|
|
1138
1138
|
i,
|
|
1139
1139
|
C
|
|
1140
1140
|
]);
|
|
1141
|
-
let w =
|
|
1141
|
+
let w = y === "overlay" && b && e;
|
|
1142
1142
|
ie(function() {
|
|
1143
1143
|
i(), e || C();
|
|
1144
1144
|
}, [
|
|
@@ -1157,10 +1157,10 @@ function xt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
|
1157
1157
|
};
|
|
1158
1158
|
}, []);
|
|
1159
1159
|
let D = M(function() {
|
|
1160
|
-
|
|
1160
|
+
y !== "docked" && (S.current = Date.now(), x(!0), E.current && clearTimeout(E.current), E.current = setTimeout(function() {
|
|
1161
1161
|
T.current || x(!1);
|
|
1162
1162
|
}, ft));
|
|
1163
|
-
}, [
|
|
1163
|
+
}, [y]), k = C, A = M(function() {
|
|
1164
1164
|
w || (S.current = Date.now()), x(!w);
|
|
1165
1165
|
}, [w]);
|
|
1166
1166
|
N(function() {
|
|
@@ -1180,8 +1180,8 @@ function xt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
|
1180
1180
|
secondarySidebarMaxWidth: u,
|
|
1181
1181
|
declareSecondarySidebarWidth: h,
|
|
1182
1182
|
resizeSecondarySidebar: g,
|
|
1183
|
-
resetSecondarySidebarWidth:
|
|
1184
|
-
navigationMode:
|
|
1183
|
+
resetSecondarySidebarWidth: v,
|
|
1184
|
+
navigationMode: y,
|
|
1185
1185
|
isOpenOverPage: w,
|
|
1186
1186
|
openOverPage: D,
|
|
1187
1187
|
toggleOverPage: A,
|
|
@@ -1197,8 +1197,8 @@ function xt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
|
1197
1197
|
u,
|
|
1198
1198
|
h,
|
|
1199
1199
|
g,
|
|
1200
|
-
_,
|
|
1201
1200
|
v,
|
|
1201
|
+
y,
|
|
1202
1202
|
w,
|
|
1203
1203
|
D,
|
|
1204
1204
|
A,
|
|
@@ -1367,14 +1367,14 @@ function Lt({ isExpanded: e, isHovered: t = !1 }) {
|
|
|
1367
1367
|
strokeWidth: "1.3",
|
|
1368
1368
|
strokeLinecap: "round",
|
|
1369
1369
|
strokeLinejoin: "round",
|
|
1370
|
-
className: a("stroke-current", It,
|
|
1370
|
+
className: a("stroke-current", It, g, "origin-[10.5835px_10px]", e ? "scale-x-100" : "-scale-x-100", n.arrow)
|
|
1371
1371
|
}),
|
|
1372
1372
|
/* @__PURE__ */ L("path", {
|
|
1373
1373
|
id: "line",
|
|
1374
1374
|
d: "M7.5 5L7.5 15",
|
|
1375
1375
|
strokeWidth: "1.3",
|
|
1376
1376
|
strokeLinecap: "round",
|
|
1377
|
-
className: a("stroke-current", It,
|
|
1377
|
+
className: a("stroke-current", It, g, n.line)
|
|
1378
1378
|
})
|
|
1379
1379
|
]
|
|
1380
1380
|
});
|
|
@@ -1463,7 +1463,7 @@ function Bt() {
|
|
|
1463
1463
|
}), /* @__PURE__ */ L("div", {
|
|
1464
1464
|
className: a("hidden", { flex: r }),
|
|
1465
1465
|
children: /* @__PURE__ */ L(x, {
|
|
1466
|
-
icon:
|
|
1466
|
+
icon: y,
|
|
1467
1467
|
size: "md"
|
|
1468
1468
|
})
|
|
1469
1469
|
})]
|
|
@@ -1614,7 +1614,7 @@ var Yt = {
|
|
|
1614
1614
|
isDark: e
|
|
1615
1615
|
};
|
|
1616
1616
|
}, en = {
|
|
1617
|
-
maplibre: async () => (await import("./maplibre-
|
|
1617
|
+
maplibre: async () => (await import("./maplibre-iFKMikCO.js")).createMaplibreAdapter,
|
|
1618
1618
|
google: async (e) => (await import("./google-CG30Y63J.js")).loadGoogleAdapter(e)
|
|
1619
1619
|
}, tn = /* @__PURE__ */ new Map(), nn = (e, t) => {
|
|
1620
1620
|
let n = tn.get(e);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { o as e, r as t, t as n } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
|
-
import { a as r, i, r as a } from "./i18n-provider-
|
|
3
|
-
import { n as o, t as s } from "./skeleton-
|
|
2
|
+
import { a as r, i, r as a } from "./i18n-provider-DyI_r6Au.js";
|
|
3
|
+
import { n as o, t as s } from "./skeleton-Dw-7r7zp.js";
|
|
4
4
|
import { L as c, R as l, d as u, i as d, n as f, r as p, t as m } from "./tooltip-NXXT56H4.js";
|
|
5
|
-
import { E as h, I as g, K as _, O as v, R as y, Y as b, d as x, h as S, k as C, n as w, r as T, t as E } from "./F0Button-
|
|
6
|
-
import { n as D, o as O, t as k } from "./F0Icon-
|
|
7
|
-
import { H as A, I as j, N as ee, P as te, R as ne, U as re, V as ie, a as ae, b as oe, d as M, i as se, m as N, o as P, p as ce, u as le, v as ue, z as de } from "./useData-
|
|
5
|
+
import { E as h, I as g, K as _, O as v, R as y, Y as b, d as x, h as S, k as C, n as w, r as T, t as E } from "./F0Button-B217B6lh.js";
|
|
6
|
+
import { n as D, o as O, t as k } from "./F0Icon-CRETnjaC.js";
|
|
7
|
+
import { H as A, I as j, N as ee, P as te, R as ne, U as re, V as ie, a as ae, b as oe, d as M, i as se, m as N, o as P, p as ce, u as le, v as ue, z as de } from "./useData-CVTa0m1L.js";
|
|
8
8
|
import { t as fe } from "./Check-DAp9gCRh.js";
|
|
9
|
-
import { a as pe, i as me, r as he, t as ge } from "./dist-
|
|
9
|
+
import { a as pe, i as me, r as he, t as ge } from "./dist-CpxH3Mhm.js";
|
|
10
10
|
import { t as _e } from "./ExternalLink-RdKU698E.js";
|
|
11
11
|
import { n as ve, t as ye } from "./LockLocked-gdodYvT_.js";
|
|
12
12
|
import "./purify.es-CJ7gZxxn.js";
|
|
13
|
-
import { $ as be, A as xe, B as Se, D as Ce, E as we, F as Te, G as Ee, H as De, I as Oe, J as ke, L as Ae, M as je, N as Me, O as Ne, P as Pe, Q as Fe, R as Ie, U as Le, V as Re, W as ze, Y as Be, Z as Ve, a as He, i as Ue, j as We, k as Ge, q as Ke, t as qe, z as Je } from "./popover-
|
|
14
|
-
import { b as Ye, c as Xe, d as Ze, g as Qe, h as $e, n as et, r as tt, t as nt, u as rt, v as it, y as at } from "./dist-
|
|
13
|
+
import { $ as be, A as xe, B as Se, D as Ce, E as we, F as Te, G as Ee, H as De, I as Oe, J as ke, L as Ae, M as je, N as Me, O as Ne, P as Pe, Q as Fe, R as Ie, U as Le, V as Re, W as ze, Y as Be, Z as Ve, a as He, i as Ue, j as We, k as Ge, q as Ke, t as qe, z as Je } from "./popover-CKVOp9XF.js";
|
|
14
|
+
import { b as Ye, c as Xe, d as Ze, g as Qe, h as $e, n as et, r as tt, t as nt, u as rt, v as it, y as at } from "./dist-CLXu6f__.js";
|
|
15
15
|
import { t as ot } from "./dist-BCNVh6y5.js";
|
|
16
16
|
import * as F from "react";
|
|
17
17
|
import st, { Component as ct, Fragment as lt, cloneElement as ut, createContext as I, forwardRef as L, useCallback as R, useContext as dt, useEffect as z, useId as ft, useImperativeHandle as pt, useLayoutEffect as mt, useMemo as B, useReducer as ht, useRef as V, useState as H } from "react";
|
|
@@ -60536,4 +60536,4 @@ var cR = L(function({ variant: e = "field", placeholder: t, onChange: n, withApp
|
|
|
60536
60536
|
});
|
|
60537
60537
|
}), lR = o("F0Select", cR);
|
|
60538
60538
|
//#endregion
|
|
60539
|
-
export { FM as $,
|
|
60539
|
+
export { FM as $, wo as $n, NS as $t, TF as A, Is as An, yt as Ar, aw as At, sN as B, rs as Bn, OC as Bt, rI as C, Ks as Cn, Et as Cr, bw as Ct, GF as D, Hs as Dn, St as Dr, uw as Dt, ZF as E, Ws as En, Ct as Er, dw as Et, lF as F, hs as Fn, JC as Ft, JM as G, Uo as Gn, AC as Gt, aN as H, Yo as Hn, NC as Ht, cF as I, ms as In, WC as It, UM as J, Po as Jn, eC as Jt, qM as K, Vo as Kn, MC as Kt, GP as L, ps as Ln, VC as Lt, xF as M, As as Mn, tw as Mt, _F as N, Os as Nn, $C as Nt, VF as O, zs as On, xt as Or, lw as Ot, nF as P, ks as Pn, ZC as Pt, IM as Q, Do as Qn, jS as Qt, lN as R, ls as Rn, BC as Rt, iI as S, qs as Sn, Dt as Sr, JT as St, QF as T, J as Tn, wt as Tr, gw as Tt, eN as U, qo as Un, LC as Ut, oN as V, es as Vn, IC as Vt, QM as W, Ko as Wn, PC as Wt, GM as X, ko as Xn, PS as Xt, WM as Y, q as Yn, $S as Yt, HM as Z, Oo as Zn, MS as Zt, vI as _, Zs as _n, Mt as _r, YE as _t, UL as a, Uu as an, Ja as ar, uj as at, oI as b, ec as bn, kt as br, qE as bt, kL as c, wl as cn, Ma as cr, Gk as ct, SL as d, xc as dn, Rt as dr, bD as dt, OS as en, So as er, NM as et, yL as f, vc as fn, Lt as fr, vD as ft, EI as g, rc as gn, Nt as gr, ZE as gt, TI as h, cc as hn, Pt as hr, QE as ht, WL as i, qu as in, Za as ir, CM as it, SF as j, Fs as jn, rw as jt, MF as k, Rs as kn, bt as kr, ow as kt, DL as l, fl as ln, Bt as lr, Wk as lt, $I as m, pc as mn, Ft as mr, eD as mt, cR as n, DS as nn, $a as nr, OM as nt, jL as o, Bu as on, qa as or, Zk as ot, fL as p, gc as pn, It as pr, tD as pt, YM as q, Fo as qn, RC as qt, XL as r, Ku as rn, Qa as rr, SM as rt, AL as s, Iu as sn, Fa as sr, qk as st, lR as t, AS as tn, ao as tr, AM as tt, CL as u, Rc as un, zt as ur, Ek as ut, pI as v, Xs as vn, jt as vr, KE as vt, eI as w, Gs as wn, Tt as wr, vw as wt, aI as x, $s as xn, Ot as xr, fE as xt, fI as y, tc as yn, At as yr, JE as yt, cN as z, is as zn, jC as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e } from "./i18n-provider-
|
|
2
|
-
import { y as t } from "./dist-
|
|
1
|
+
import { a as e } from "./i18n-provider-DyI_r6Au.js";
|
|
2
|
+
import { y as t } from "./dist-CLXu6f__.js";
|
|
3
3
|
import { forwardRef as n } from "react";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
//#region src/elements/F0Text/F0Text.tsx
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as e, r as t } from "./i18n-provider-
|
|
2
|
-
import { n } from "./skeleton-
|
|
1
|
+
import { a as e, r as t } from "./i18n-provider-DyI_r6Au.js";
|
|
2
|
+
import { n } from "./skeleton-Dw-7r7zp.js";
|
|
3
3
|
import { L as r, R as i } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import { t as a } from "./F0Button-
|
|
5
|
-
import {
|
|
6
|
-
import { n as m, t as h } from "./F0Icon-
|
|
4
|
+
import { t as a } from "./F0Button-B217B6lh.js";
|
|
5
|
+
import { Fc as o, Qc as s, _s as c, fc as l, gs as u, hs as d, yc as f, zs as p } from "./F0CanvasPanel-DV9kMkUy.js";
|
|
6
|
+
import { n as m, t as h } from "./F0Icon-CRETnjaC.js";
|
|
7
7
|
import { t as g } from "./Check-DAp9gCRh.js";
|
|
8
8
|
import { a as _, i as v, n as y, o as b, r as x, t as S } from "./localized-CnKvEJya.js";
|
|
9
|
-
import { S as C, _ as w, a as T, b as
|
|
9
|
+
import { S as C, _ as w, a as T, b as E, d as D, f as O, g as k, i as A, t as j, v as M, w as ee, x as te } from "./popover-CKVOp9XF.js";
|
|
10
10
|
import { t as ne } from "./useFullscreen-CNwpzjpz.js";
|
|
11
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
12
|
import { jsx as B, jsxs as V } from "react/jsx-runtime";
|
|
@@ -101,7 +101,7 @@ var Z = N(({ animate: e, ...t }, n) => {
|
|
|
101
101
|
Z.displayName = "AudioDescriptionFilledIcon";
|
|
102
102
|
//#endregion
|
|
103
103
|
//#region src/blocks/F0VideoPlayer/components/CaptionsToggleIcons.tsx
|
|
104
|
-
var
|
|
104
|
+
var ie = N(({ animate: e, ...t }, n) => /* @__PURE__ */ V("svg", {
|
|
105
105
|
xmlns: "http://www.w3.org/2000/svg",
|
|
106
106
|
fill: "none",
|
|
107
107
|
viewBox: "0 0 24 24",
|
|
@@ -131,8 +131,8 @@ var Q = N(({ animate: e, ...t }, n) => /* @__PURE__ */ V("svg", {
|
|
|
131
131
|
})
|
|
132
132
|
]
|
|
133
133
|
}));
|
|
134
|
-
|
|
135
|
-
var
|
|
134
|
+
ie.displayName = "CaptionsLineIcon";
|
|
135
|
+
var ae = N(({ animate: e, ...t }, n) => /* @__PURE__ */ B("svg", {
|
|
136
136
|
xmlns: "http://www.w3.org/2000/svg",
|
|
137
137
|
fill: "none",
|
|
138
138
|
viewBox: "0 0 24 24",
|
|
@@ -146,12 +146,12 @@ var ie = N(({ animate: e, ...t }, n) => /* @__PURE__ */ B("svg", {
|
|
|
146
146
|
vectorEffect: "non-scaling-stroke"
|
|
147
147
|
})
|
|
148
148
|
}));
|
|
149
|
-
|
|
149
|
+
ae.displayName = "CaptionsFilledIcon";
|
|
150
150
|
//#endregion
|
|
151
151
|
//#region src/blocks/F0VideoPlayer/components/PlaybackRateMenu.tsx
|
|
152
|
-
function
|
|
152
|
+
function oe({ value: e, onChange: n, containerRef: i }) {
|
|
153
153
|
let { t: o } = t(), [s, c] = z(!1);
|
|
154
|
-
return /* @__PURE__ */ V(
|
|
154
|
+
return /* @__PURE__ */ V(j, {
|
|
155
155
|
open: s,
|
|
156
156
|
onOpenChange: c,
|
|
157
157
|
children: [/* @__PURE__ */ B(T, {
|
|
@@ -162,7 +162,7 @@ function ae({ value: e, onChange: n, containerRef: i }) {
|
|
|
162
162
|
label: q(e),
|
|
163
163
|
"aria-label": o("videoPlayer.playbackSpeed", { rate: q(e) })
|
|
164
164
|
})
|
|
165
|
-
}), /* @__PURE__ */ B(
|
|
165
|
+
}), /* @__PURE__ */ B(A, {
|
|
166
166
|
container: i.current,
|
|
167
167
|
side: "top",
|
|
168
168
|
align: "end",
|
|
@@ -212,7 +212,7 @@ function ae({ value: e, onChange: n, containerRef: i }) {
|
|
|
212
212
|
}
|
|
213
213
|
//#endregion
|
|
214
214
|
//#region src/blocks/F0VideoPlayer/components/Seekbar.tsx
|
|
215
|
-
function
|
|
215
|
+
function se({ currentTime: e, duration: n, markerTime: a, blockSeekPastMarker: o = !1, onSeek: s }) {
|
|
216
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) => {
|
|
217
217
|
let t = l.current;
|
|
218
218
|
if (!t) return 0;
|
|
@@ -287,10 +287,10 @@ function oe({ currentTime: e, duration: n, markerTime: a, blockSeekPastMarker: o
|
|
|
287
287
|
}
|
|
288
288
|
//#endregion
|
|
289
289
|
//#region src/blocks/F0VideoPlayer/components/SettingsMenu.tsx
|
|
290
|
-
var
|
|
290
|
+
var Q = "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";
|
|
291
291
|
function $({ icon: e, label: t, container: n, options: r, value: i, onLanguageChange: a, on: o, onOff: s, offLabel: c }) {
|
|
292
292
|
let l = s !== void 0, u = r.find((e) => e.locale === i), d = l && !o ? c : u ? x(u) : c;
|
|
293
|
-
return /* @__PURE__ */ V(
|
|
293
|
+
return /* @__PURE__ */ V(E, { children: [/* @__PURE__ */ V(C, {
|
|
294
294
|
className: le,
|
|
295
295
|
children: [
|
|
296
296
|
/* @__PURE__ */ B(m, { icon: e }),
|
|
@@ -303,19 +303,19 @@ function $({ icon: e, label: t, container: n, options: r, value: i, onLanguageCh
|
|
|
303
303
|
children: d
|
|
304
304
|
})
|
|
305
305
|
]
|
|
306
|
-
}), /* @__PURE__ */ B(
|
|
306
|
+
}), /* @__PURE__ */ B(k, {
|
|
307
307
|
container: n ?? void 0,
|
|
308
308
|
children: /* @__PURE__ */ B(te, {
|
|
309
309
|
className: ue,
|
|
310
310
|
children: /* @__PURE__ */ V(w, {
|
|
311
|
-
value: l ? o ? i :
|
|
312
|
-
onValueChange: (e) => l && e ===
|
|
313
|
-
children: [r.map((e) => /* @__PURE__ */ B(
|
|
311
|
+
value: l ? o ? i : Q : i,
|
|
312
|
+
onValueChange: (e) => l && e === Q ? s() : a(e),
|
|
313
|
+
children: [r.map((e) => /* @__PURE__ */ B(M, {
|
|
314
314
|
value: e.locale,
|
|
315
315
|
className: ce,
|
|
316
316
|
children: x(e)
|
|
317
|
-
}, e.locale)), l ? /* @__PURE__ */ B(
|
|
318
|
-
value:
|
|
317
|
+
}, e.locale)), l ? /* @__PURE__ */ B(M, {
|
|
318
|
+
value: Q,
|
|
319
319
|
className: ce,
|
|
320
320
|
children: c
|
|
321
321
|
}) : null]
|
|
@@ -323,25 +323,25 @@ function $({ icon: e, label: t, container: n, options: r, value: i, onLanguageCh
|
|
|
323
323
|
})
|
|
324
324
|
})] });
|
|
325
325
|
}
|
|
326
|
-
function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLanguageChange: i, captionLanguages:
|
|
326
|
+
function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLanguageChange: i, captionLanguages: s, captionLanguage: c, captionsOn: l, onCaptionLanguageChange: u, onCaptionsOff: d, audioDescriptionLanguages: f, audioDescriptionLanguage: m, audioDescriptionOn: h, onAudioDescriptionLanguageChange: g, onAudioDescriptionOff: _ }) {
|
|
327
327
|
let { t: v } = t(), y = e.current, b = v("videoPlayer.off");
|
|
328
|
-
return /* @__PURE__ */ V(
|
|
328
|
+
return /* @__PURE__ */ V(D, { children: [/* @__PURE__ */ B(ee, {
|
|
329
329
|
asChild: !0,
|
|
330
330
|
children: /* @__PURE__ */ B(a, {
|
|
331
331
|
variant: "ghost",
|
|
332
332
|
size: "sm",
|
|
333
333
|
hideLabel: !0,
|
|
334
|
-
icon:
|
|
334
|
+
icon: p,
|
|
335
335
|
label: v("videoPlayer.settings")
|
|
336
336
|
})
|
|
337
|
-
}), /* @__PURE__ */ V(
|
|
337
|
+
}), /* @__PURE__ */ V(O, {
|
|
338
338
|
container: y,
|
|
339
339
|
side: "top",
|
|
340
340
|
align: "end",
|
|
341
341
|
className: ue,
|
|
342
342
|
children: [
|
|
343
343
|
n.length > 1 ? /* @__PURE__ */ B($, {
|
|
344
|
-
icon:
|
|
344
|
+
icon: o,
|
|
345
345
|
label: v("videoPlayer.audio"),
|
|
346
346
|
container: y,
|
|
347
347
|
options: n,
|
|
@@ -349,11 +349,11 @@ function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLangu
|
|
|
349
349
|
onLanguageChange: i,
|
|
350
350
|
offLabel: b
|
|
351
351
|
}) : null,
|
|
352
|
-
|
|
353
|
-
icon:
|
|
352
|
+
s.length > 1 ? /* @__PURE__ */ B($, {
|
|
353
|
+
icon: ie,
|
|
354
354
|
label: v("videoPlayer.subtitles"),
|
|
355
355
|
container: y,
|
|
356
|
-
options:
|
|
356
|
+
options: s,
|
|
357
357
|
value: c,
|
|
358
358
|
on: l,
|
|
359
359
|
onLanguageChange: u,
|
|
@@ -380,16 +380,16 @@ function fe(e) {
|
|
|
380
380
|
//#endregion
|
|
381
381
|
//#region src/blocks/F0VideoPlayer/components/VolumeControl.tsx
|
|
382
382
|
function pe(e, t) {
|
|
383
|
-
return t || e === 0 ?
|
|
383
|
+
return t || e === 0 ? d : e <= .5 ? u : c;
|
|
384
384
|
}
|
|
385
385
|
function me({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent: o = !1 }) {
|
|
386
|
-
let { t: s } = t(),
|
|
386
|
+
let { t: s } = t(), c = n || e === 0;
|
|
387
387
|
return o ? /* @__PURE__ */ B(a, {
|
|
388
388
|
variant: "ghost",
|
|
389
389
|
size: "sm",
|
|
390
390
|
hideLabel: !0,
|
|
391
391
|
disabled: !0,
|
|
392
|
-
icon:
|
|
392
|
+
icon: d,
|
|
393
393
|
label: s("videoPlayer.noAudio")
|
|
394
394
|
}) : /* @__PURE__ */ V("div", {
|
|
395
395
|
className: "flex items-center gap-1",
|
|
@@ -397,11 +397,11 @@ function me({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent:
|
|
|
397
397
|
variant: "ghost",
|
|
398
398
|
size: "sm",
|
|
399
399
|
hideLabel: !0,
|
|
400
|
-
icon: pe(e,
|
|
401
|
-
label: s(
|
|
400
|
+
icon: pe(e, c),
|
|
401
|
+
label: s(c ? "videoPlayer.unmute" : "videoPlayer.mute"),
|
|
402
402
|
onClick: r
|
|
403
403
|
}), /* @__PURE__ */ B(he, {
|
|
404
|
-
value:
|
|
404
|
+
value: c ? 0 : e,
|
|
405
405
|
onChange: i
|
|
406
406
|
})]
|
|
407
407
|
});
|
|
@@ -470,11 +470,11 @@ function he({ value: e, onChange: n }) {
|
|
|
470
470
|
}
|
|
471
471
|
//#endregion
|
|
472
472
|
//#region src/blocks/F0VideoPlayer/components/Controls.tsx
|
|
473
|
-
function ge({ isPlaying: e, currentTime: n, duration: i, volume:
|
|
474
|
-
let { t: U } = t(), re = g &&
|
|
473
|
+
function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: c, playbackRate: u, isFullscreen: d, markerTime: p, blockSeekPastMarker: m, containerRef: h, captionsAvailable: g, captionsOn: v, audioDescriptionAvailable: y, audioDescriptionOn: x, silent: S, persist: C, audioLanguages: w, audioLanguage: T, onAudioLanguageChange: E, captionLanguages: D, captionLanguage: O, onCaptionLanguageChange: k, onCaptionsOff: A, audioDescriptionLanguages: j, audioDescriptionLanguage: M, onAudioDescriptionLanguageChange: ee, onAudioDescriptionOff: te, onTogglePlay: ne, onToggleMute: N, onVolumeChange: P, onPlaybackRateChange: F, onToggleFullscreen: I, onToggleCaptions: L, onToggleAudioDescription: R, onSeek: z, download: H }) {
|
|
474
|
+
let { t: U } = t(), re = g && D.length <= 1, W = y && j.length <= 1, G = fe({
|
|
475
475
|
audioLanguages: w.length,
|
|
476
|
-
captionLanguages:
|
|
477
|
-
audioDescriptionLanguages:
|
|
476
|
+
captionLanguages: D.length,
|
|
477
|
+
audioDescriptionLanguages: j.length
|
|
478
478
|
});
|
|
479
479
|
return /* @__PURE__ */ V("div", {
|
|
480
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"),
|
|
@@ -487,7 +487,7 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: s, isMuted: c,
|
|
|
487
487
|
label: U(e ? "videoPlayer.pause" : "videoPlayer.play"),
|
|
488
488
|
onClick: ne
|
|
489
489
|
}),
|
|
490
|
-
/* @__PURE__ */ B(
|
|
490
|
+
/* @__PURE__ */ B(se, {
|
|
491
491
|
currentTime: n,
|
|
492
492
|
duration: i,
|
|
493
493
|
markerTime: p,
|
|
@@ -503,14 +503,14 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: s, isMuted: c,
|
|
|
503
503
|
]
|
|
504
504
|
}),
|
|
505
505
|
/* @__PURE__ */ B(me, {
|
|
506
|
-
volume:
|
|
506
|
+
volume: o,
|
|
507
507
|
isMuted: c,
|
|
508
508
|
onToggleMute: N,
|
|
509
509
|
onVolumeChange: P,
|
|
510
510
|
silent: S
|
|
511
511
|
}),
|
|
512
|
-
/* @__PURE__ */ B(
|
|
513
|
-
value:
|
|
512
|
+
/* @__PURE__ */ B(oe, {
|
|
513
|
+
value: u,
|
|
514
514
|
onChange: F,
|
|
515
515
|
containerRef: h
|
|
516
516
|
}),
|
|
@@ -518,7 +518,7 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: s, isMuted: c,
|
|
|
518
518
|
variant: "ghost",
|
|
519
519
|
size: "sm",
|
|
520
520
|
hideLabel: !0,
|
|
521
|
-
icon: v ?
|
|
521
|
+
icon: v ? ae : ie,
|
|
522
522
|
label: U("videoPlayer.captions"),
|
|
523
523
|
"aria-pressed": v,
|
|
524
524
|
onClick: L
|
|
@@ -536,23 +536,23 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: s, isMuted: c,
|
|
|
536
536
|
containerRef: h,
|
|
537
537
|
audioLanguages: w,
|
|
538
538
|
audioLanguage: T,
|
|
539
|
-
onAudioLanguageChange:
|
|
540
|
-
captionLanguages:
|
|
541
|
-
captionLanguage:
|
|
539
|
+
onAudioLanguageChange: E,
|
|
540
|
+
captionLanguages: D,
|
|
541
|
+
captionLanguage: O,
|
|
542
542
|
captionsOn: v,
|
|
543
|
-
onCaptionLanguageChange:
|
|
544
|
-
onCaptionsOff:
|
|
545
|
-
audioDescriptionLanguages:
|
|
546
|
-
audioDescriptionLanguage:
|
|
543
|
+
onCaptionLanguageChange: k,
|
|
544
|
+
onCaptionsOff: A,
|
|
545
|
+
audioDescriptionLanguages: j,
|
|
546
|
+
audioDescriptionLanguage: M,
|
|
547
547
|
audioDescriptionOn: x,
|
|
548
|
-
onAudioDescriptionLanguageChange:
|
|
548
|
+
onAudioDescriptionLanguageChange: ee,
|
|
549
549
|
onAudioDescriptionOff: te
|
|
550
550
|
}) : null,
|
|
551
551
|
H ? /* @__PURE__ */ B(a, {
|
|
552
552
|
variant: "ghost",
|
|
553
553
|
size: "sm",
|
|
554
554
|
hideLabel: !0,
|
|
555
|
-
icon:
|
|
555
|
+
icon: s,
|
|
556
556
|
label: H.label,
|
|
557
557
|
onClick: H.onClick
|
|
558
558
|
}) : null,
|
|
@@ -560,8 +560,8 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: s, isMuted: c,
|
|
|
560
560
|
variant: "ghost",
|
|
561
561
|
size: "sm",
|
|
562
562
|
hideLabel: !0,
|
|
563
|
-
icon:
|
|
564
|
-
label: U(
|
|
563
|
+
icon: d ? l : f,
|
|
564
|
+
label: U(d ? "videoPlayer.exitFullscreen" : "videoPlayer.enterFullscreen"),
|
|
565
565
|
onClick: I
|
|
566
566
|
})
|
|
567
567
|
]
|
|
@@ -890,7 +890,7 @@ function je({ video: e, onTrackAction: t }) {
|
|
|
890
890
|
//#endregion
|
|
891
891
|
//#region src/blocks/F0VideoPlayer/internal.tsx
|
|
892
892
|
function Me({ 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: m, onMilestone: g, onComplete: b, ...x }) {
|
|
893
|
-
let { t: C } = t(), w = R(null), T = L(() => S(e), [e]), [
|
|
893
|
+
let { t: C } = t(), w = R(null), T = L(() => S(e), [e]), [E, D] = z(() => y(T, l)), O = T.some((e) => e.locale === E) ? E : y(T, l), k = v(e, O) ?? "", A = L(() => S(c?.captions), [c?.captions]), [j, M] = z(() => y(A, l)), ee = A.some((e) => e.locale === j) ? j : y(A, l), te = v(c?.captions, ee), N = L(() => S(c?.descriptions, c?.describedSrc), [c?.descriptions, c?.describedSrc]), [I, H] = z(() => y(N, l)), U = N.some((e) => e.locale === I) ? I : y(N, l), re = v(c?.descriptions, U), W = v(c?.describedSrc, U), [G, K] = z(!1), q = G && W ? W : k, J = Ae(q), Y = Ee(J.videoElement, te), X = be(J.videoElement, {
|
|
894
894
|
enabled: G,
|
|
895
895
|
describedSrc: W,
|
|
896
896
|
descriptions: re
|
|
@@ -901,15 +901,15 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
|
|
|
901
901
|
e.currentTime = t, n && e.play().catch(() => {}), e.removeEventListener("loadedmetadata", r);
|
|
902
902
|
};
|
|
903
903
|
e.addEventListener("loadedmetadata", r);
|
|
904
|
-
}, [J.videoRef]),
|
|
905
|
-
Z(),
|
|
906
|
-
}, [Z]),
|
|
904
|
+
}, [J.videoRef]), ie = P((e) => {
|
|
905
|
+
Z(), D(e);
|
|
906
|
+
}, [Z]), ae = P(() => {
|
|
907
907
|
W && Z(), K((e) => !e);
|
|
908
|
-
}, [W, Z]),
|
|
909
|
-
|
|
910
|
-
}, [Y]),
|
|
908
|
+
}, [W, Z]), oe = P((e) => {
|
|
909
|
+
M(e), Y.showing || Y.toggle();
|
|
910
|
+
}, [Y]), se = P(() => {
|
|
911
911
|
Y.showing && Y.toggle();
|
|
912
|
-
}, [Y]),
|
|
912
|
+
}, [Y]), Q = P((e) => {
|
|
913
913
|
W && Z(), H(e), K(!0);
|
|
914
914
|
}, [W, Z]), ce = P(() => {
|
|
915
915
|
W && Z(), K(!1);
|
|
@@ -920,16 +920,16 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
|
|
|
920
920
|
}), ke({
|
|
921
921
|
video: J.videoElement,
|
|
922
922
|
onMilestone: g,
|
|
923
|
-
resetKey:
|
|
923
|
+
resetKey: k
|
|
924
924
|
}), Oe({
|
|
925
925
|
video: J.videoElement,
|
|
926
926
|
onComplete: b,
|
|
927
|
-
resetKey:
|
|
927
|
+
resetKey: k
|
|
928
928
|
});
|
|
929
929
|
let { maxWatchedTime: le, clampSeek: ue } = Se({
|
|
930
930
|
video: J.videoElement,
|
|
931
931
|
enabled: p,
|
|
932
|
-
resetKey:
|
|
932
|
+
resetKey: k
|
|
933
933
|
}), $ = P((e) => J.seekTo(ue(e)), [J, ue]), { isFullscreen: de, toggleFullscreen: fe } = ne({ targetRef: w }), pe = P(() => {}, []), me = !!(G && W);
|
|
934
934
|
F(() => {
|
|
935
935
|
let e = J.videoRef.current;
|
|
@@ -1043,15 +1043,15 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
|
|
|
1043
1043
|
silent: o,
|
|
1044
1044
|
persist: s,
|
|
1045
1045
|
audioLanguages: T,
|
|
1046
|
-
audioLanguage:
|
|
1047
|
-
onAudioLanguageChange:
|
|
1048
|
-
captionLanguages:
|
|
1049
|
-
captionLanguage:
|
|
1050
|
-
onCaptionLanguageChange:
|
|
1051
|
-
onCaptionsOff:
|
|
1046
|
+
audioLanguage: O,
|
|
1047
|
+
onAudioLanguageChange: ie,
|
|
1048
|
+
captionLanguages: A,
|
|
1049
|
+
captionLanguage: ee,
|
|
1050
|
+
onCaptionLanguageChange: oe,
|
|
1051
|
+
onCaptionsOff: se,
|
|
1052
1052
|
audioDescriptionLanguages: N,
|
|
1053
1053
|
audioDescriptionLanguage: U,
|
|
1054
|
-
onAudioDescriptionLanguageChange:
|
|
1054
|
+
onAudioDescriptionLanguageChange: Q,
|
|
1055
1055
|
onAudioDescriptionOff: ce,
|
|
1056
1056
|
onTogglePlay: J.togglePlay,
|
|
1057
1057
|
onToggleMute: J.toggleMute,
|
|
@@ -1059,7 +1059,7 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
|
|
|
1059
1059
|
onPlaybackRateChange: J.setPlaybackRate,
|
|
1060
1060
|
onToggleFullscreen: () => void fe(),
|
|
1061
1061
|
onToggleCaptions: Y.toggle,
|
|
1062
|
-
onToggleAudioDescription:
|
|
1062
|
+
onToggleAudioDescription: ae,
|
|
1063
1063
|
onSeek: $,
|
|
1064
1064
|
download: f
|
|
1065
1065
|
}) : null
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as F0VideoPlayer } from "./F0VideoPlayer-BXD4JMkM.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./SandboxedHtmlFrame-
|
|
1
|
+
import { n as e } from "./SandboxedHtmlFrame-Ba5FAjt6.js";
|
|
2
2
|
import { t } from "./useThumbnailText-DwXQvLIe.js";
|
|
3
3
|
import { useEffect as n, useMemo as r, useState as i } from "react";
|
|
4
4
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
2
|
-
import { t } from "./skeleton-
|
|
1
|
+
import { r as e } from "./i18n-provider-DyI_r6Au.js";
|
|
2
|
+
import { t } from "./skeleton-Dw-7r7zp.js";
|
|
3
3
|
import { L as n } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as i } from "./F0Icon-
|
|
6
|
-
import {
|
|
7
|
-
import { t as o } from "./F0Alert-
|
|
8
|
-
import { r as s } from "./toolbarStyles-
|
|
9
|
-
import { t as c } from "./DocumentToolbar-
|
|
4
|
+
import { Tl as r } from "./F0CanvasPanel-DV9kMkUy.js";
|
|
5
|
+
import { t as i } from "./F0Icon-CRETnjaC.js";
|
|
6
|
+
import { fr as a } from "./F0Select-Ef_MkLqL.js";
|
|
7
|
+
import { t as o } from "./F0Alert-DHPOzhGo.js";
|
|
8
|
+
import { r as s } from "./toolbarStyles-C_OrVxv7.js";
|
|
9
|
+
import { t as c } from "./DocumentToolbar-Dua6PID0.js";
|
|
10
10
|
import { t as l } from "./useFetchedText-BR3_KLXx.js";
|
|
11
|
-
import { a as u, c as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./SandboxedHtmlFrame-
|
|
11
|
+
import { a as u, c as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./SandboxedHtmlFrame-Ba5FAjt6.js";
|
|
12
12
|
import { useEffect as b, useMemo as x, useRef as S, useState as C } from "react";
|
|
13
13
|
import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
14
14
|
//#region src/addons/documents/lib/html-sandbox/UserContentFrame.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as e, Ft as t, Lt as n } from "./F0Button-
|
|
1
|
+
import { Ct as e, Ft as t, Lt as n } from "./F0Button-B217B6lh.js";
|
|
2
2
|
import { createContext as r, useCallback as i, useContext as a, useMemo as o, useRef as s, useState as c } from "react";
|
|
3
3
|
import { jsx as l } from "react/jsx-runtime";
|
|
4
4
|
//#region ../../node_modules/.bun/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/node/group.mjs
|