markdown-flow-ui 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/markdown-flow-ui.css +1 -1
- package/dist/components/Slide/Slide.cjs.js +1 -1
- package/dist/components/Slide/Slide.cjs.js.map +1 -1
- package/dist/components/Slide/Slide.es.js +850 -723
- package/dist/components/Slide/Slide.es.js.map +1 -1
- package/dist/components/Slide/Slide.stories.d.ts +2 -0
- package/dist/components/Slide/utils/interactionPlayback.cjs.js +1 -1
- package/dist/components/Slide/utils/interactionPlayback.cjs.js.map +1 -1
- package/dist/components/Slide/utils/interactionPlayback.d.ts +12 -5
- package/dist/components/Slide/utils/interactionPlayback.es.js +16 -16
- package/dist/components/Slide/utils/interactionPlayback.es.js.map +1 -1
- package/dist/markdown-flow-ui-lib.css +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.cjs.js +7 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.cjs.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.es.js +20 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.es.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,678 +1,701 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { isSandboxInteractionMessage as
|
|
4
|
-
import { cn as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
1
|
+
import { j as a } from "../../_virtual/jsx-runtime.es.js";
|
|
2
|
+
import { memo as xr, useMemo as u, useId as Ar, useRef as f, useCallback as n, useState as d, useEffect as c, useLayoutEffect as wr } from "react";
|
|
3
|
+
import { isSandboxInteractionMessage as Tr } from "../../lib/sandboxInteraction.es.js";
|
|
4
|
+
import { cn as he } from "../../lib/utils.es.js";
|
|
5
|
+
import Er from "../ui/loading-overlay-card.es.js";
|
|
6
|
+
import Pr from "../ContentRender/ContentRender.es.js";
|
|
7
|
+
import gn from "../ContentRender/IframeSandbox.es.js";
|
|
8
8
|
import "../ui/inputGroup/input-group.es.js";
|
|
9
9
|
import "../ContentRender/contentRenderI18n.es.js";
|
|
10
|
-
import { isMobileDevice as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { PlayerKeyboardShortcutContext as
|
|
17
|
-
import { activatePlayerKeyboardShortcutOwner as
|
|
18
|
-
import { DEFAULT_MOBILE_VIEW_MODE as
|
|
19
|
-
import { shouldRenderInteractionOverlay as
|
|
20
|
-
import { resolveMarkdownScalingMode as
|
|
21
|
-
import { shouldWakePlayerControlsAfterNavigation as
|
|
22
|
-
import { shouldAutoAdvanceIntoAppendedMarker as
|
|
23
|
-
import { getPlaybackSequenceTransition as
|
|
24
|
-
import { hasResolvedInteractionElement as
|
|
25
|
-
import { resolvePlayerCustomActionElement as
|
|
26
|
-
import { createPlaybackTimeStore as
|
|
27
|
-
import { resolveSlideInteractionState as
|
|
28
|
-
import { shouldUseAutoAdvanceToggle as
|
|
29
|
-
import { DEFAULT_IMAGE_ONLY_VISUAL_READY_TIMEOUT_MS as
|
|
30
|
-
import { resolveSilentStepAutoAdvanceBehavior as
|
|
31
|
-
import { resolveSlidePlayerVisibility as
|
|
32
|
-
import { getSlideLocaleTexts as
|
|
10
|
+
import { isMobileDevice as Cr, isLandscapeViewport as vn, subscribeMobileDeviceChange as Rr } from "../../lib/mobileDevice.es.js";
|
|
11
|
+
import _r from "./Player.es.js";
|
|
12
|
+
import Or from "./MarkdownSlideScaling.es.js";
|
|
13
|
+
import Mr from "./SubtitleOverlay.es.js";
|
|
14
|
+
import kr from "./useSlide.es.js";
|
|
15
|
+
import Fr from "./useWakePlayerFromIframe.es.js";
|
|
16
|
+
import { PlayerKeyboardShortcutContext as Br } from "./utils/playerKeyboardShortcutContext.es.js";
|
|
17
|
+
import { activatePlayerKeyboardShortcutOwner as Dr } from "./utils/playerKeyboardShortcuts.es.js";
|
|
18
|
+
import { DEFAULT_MOBILE_VIEW_MODE as rt, resolveMobileViewModeState as Nr } from "./utils/mobileScreenMode.es.js";
|
|
19
|
+
import { shouldRenderInteractionOverlay as Lr, clampInteractionOverlayDragOffset as Sn, shouldPresentInteractionOverlay as Vr } from "./utils/interactionPlayback.es.js";
|
|
20
|
+
import { resolveMarkdownScalingMode as jr } from "./utils/markdownScaling.es.js";
|
|
21
|
+
import { shouldWakePlayerControlsAfterNavigation as Rt } from "./utils/playerNavigationContext.es.js";
|
|
22
|
+
import { shouldAutoAdvanceIntoAppendedMarker as qr } from "./utils/appendedMarkerAdvance.es.js";
|
|
23
|
+
import { getPlaybackSequenceTransition as Kr, shouldStartDefaultAudioSequence as Ur } from "./utils/playbackSequence.es.js";
|
|
24
|
+
import { hasResolvedInteractionElement as Hr, canReachSubtitleJumpTarget as In } from "./utils/subtitleJumpNavigation.es.js";
|
|
25
|
+
import { resolvePlayerCustomActionElement as Yr, getPlayerCustomActionCount as Gr } from "./utils/playerCustomActions.es.js";
|
|
26
|
+
import { createPlaybackTimeStore as $r } from "./utils/playbackTimeStore.es.js";
|
|
27
|
+
import { resolveSlideInteractionState as zr } from "./utils/interactionResolution.es.js";
|
|
28
|
+
import { shouldUseAutoAdvanceToggle as Jr } from "./utils/playerToggleMode.es.js";
|
|
29
|
+
import { DEFAULT_IMAGE_ONLY_VISUAL_READY_TIMEOUT_MS as Wr, areImageOnlyStepIframeVisualsReady as Xr } from "./utils/imageOnlyStepVisualReady.es.js";
|
|
30
|
+
import { resolveSilentStepAutoAdvanceBehavior as Qr } from "./utils/silentStepAutoAdvance.es.js";
|
|
31
|
+
import { resolveSlidePlayerVisibility as Zr } from "./utils/playerVisibility.es.js";
|
|
32
|
+
import { getSlideLocaleTexts as eo, DEFAULT_SLIDE_BUFFERING_TEXTS as to } from "./slideI18n.es.js";
|
|
33
33
|
/* empty css */
|
|
34
|
-
import
|
|
35
|
-
|
|
34
|
+
import no from "../../node_modules/lucide-react/dist/esm/icons/grip-horizontal.es.js";
|
|
35
|
+
import ro from "../../node_modules/lucide-react/dist/esm/icons/chevron-left.es.js";
|
|
36
|
+
const oo = 2e3, io = 300, lo = 160, so = 16, bn = 3e3, xn = {
|
|
37
|
+
x: 0,
|
|
38
|
+
y: 0
|
|
39
|
+
}, ao = typeof window > "u" ? c : wr, co = [
|
|
36
40
|
"button",
|
|
37
41
|
"input",
|
|
38
42
|
"textarea",
|
|
39
43
|
'[contenteditable=""]',
|
|
40
44
|
'[contenteditable="true"]',
|
|
41
45
|
'[contenteditable="plaintext-only"]'
|
|
42
|
-
].join(", "),
|
|
46
|
+
].join(", "), _t = "waitingForAudio", uo = (m, h) => typeof m == "string" ? m : m[h] ?? m[_t] ?? to[h], fo = (m, h) => typeof m == "string" ? m : {
|
|
43
47
|
...h,
|
|
44
|
-
...
|
|
45
|
-
},
|
|
48
|
+
...m
|
|
49
|
+
}, mo = (m, h) => h ? m !== "loadingAudio" : !1, An = xr(
|
|
46
50
|
({
|
|
47
|
-
content:
|
|
51
|
+
content: m,
|
|
48
52
|
title: h,
|
|
49
|
-
locale:
|
|
50
|
-
defaultButtonText:
|
|
51
|
-
defaultInputText:
|
|
53
|
+
locale: H,
|
|
54
|
+
defaultButtonText: ge,
|
|
55
|
+
defaultInputText: Y,
|
|
52
56
|
defaultSelectedValues: G,
|
|
53
57
|
confirmButtonText: Z,
|
|
54
58
|
copyButtonText: ee,
|
|
55
|
-
copiedButtonText:
|
|
56
|
-
onSend:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
copiedButtonText: Le,
|
|
60
|
+
onSend: it,
|
|
61
|
+
onDragHandlePointerCancel: te,
|
|
62
|
+
onDragHandlePointerDown: lt,
|
|
63
|
+
onDragHandlePointerMove: ve,
|
|
64
|
+
onDragHandlePointerUp: Ve,
|
|
65
|
+
readonly: je = !1
|
|
66
|
+
}) => /* @__PURE__ */ a.jsxs("div", { className: "slide-player__interaction-card", children: [
|
|
67
|
+
/* @__PURE__ */ a.jsx(
|
|
68
|
+
"button",
|
|
62
69
|
{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
70
|
+
type: "button",
|
|
71
|
+
className: "slide-player__interaction-drag-handle",
|
|
72
|
+
"aria-label": "Move interaction",
|
|
73
|
+
onPointerCancel: te,
|
|
74
|
+
onPointerDown: lt,
|
|
75
|
+
onPointerMove: ve,
|
|
76
|
+
onPointerUp: Ve,
|
|
77
|
+
children: /* @__PURE__ */ a.jsx(no, { "aria-hidden": "true" })
|
|
78
|
+
}
|
|
79
|
+
),
|
|
80
|
+
/* @__PURE__ */ a.jsx("div", { className: "slide-player__interaction-header", children: /* @__PURE__ */ a.jsx("p", { className: "slide-player__interaction-title", children: h }) }),
|
|
81
|
+
/* @__PURE__ */ a.jsx("div", { className: "slide-player__interaction-body", children: /* @__PURE__ */ a.jsx(
|
|
82
|
+
Pr,
|
|
83
|
+
{
|
|
84
|
+
content: m,
|
|
85
|
+
locale: H,
|
|
86
|
+
defaultButtonText: ge,
|
|
87
|
+
defaultInputText: Y,
|
|
67
88
|
defaultSelectedValues: G,
|
|
68
89
|
confirmButtonText: Z,
|
|
69
90
|
copyButtonText: ee,
|
|
70
|
-
copiedButtonText:
|
|
71
|
-
onSend:
|
|
72
|
-
readonly:
|
|
91
|
+
copiedButtonText: Le,
|
|
92
|
+
onSend: it,
|
|
93
|
+
readonly: je,
|
|
73
94
|
sandboxMode: "content"
|
|
74
95
|
}
|
|
75
96
|
) })
|
|
76
97
|
] })
|
|
77
98
|
);
|
|
78
|
-
|
|
79
|
-
const
|
|
80
|
-
const
|
|
81
|
-
return
|
|
82
|
-
}),
|
|
83
|
-
|
|
84
|
-
"textarea",
|
|
85
|
-
'[contenteditable=""]',
|
|
86
|
-
'[contenteditable="true"]',
|
|
87
|
-
'[contenteditable="plaintext-only"]'
|
|
88
|
-
].join(", "), fn = (d) => d instanceof HTMLElement && d.matches(to), jo = ({
|
|
89
|
-
elementList: d = [],
|
|
99
|
+
An.displayName = "InteractionOverlayCard";
|
|
100
|
+
const po = (m, h) => m.length === h.length && m.every((H, ge) => {
|
|
101
|
+
const Y = h[ge];
|
|
102
|
+
return H.sequence_number === Y?.sequence_number && H.type === Y?.type && H.content === Y?.content;
|
|
103
|
+
}), ot = (m) => m instanceof HTMLElement && !!m.closest(co), Qo = ({
|
|
104
|
+
elementList: m = [],
|
|
90
105
|
locale: h,
|
|
91
|
-
playerEnabled:
|
|
92
|
-
playerControlsVisibility:
|
|
93
|
-
playerClassName:
|
|
106
|
+
playerEnabled: H,
|
|
107
|
+
playerControlsVisibility: ge,
|
|
108
|
+
playerClassName: Y,
|
|
94
109
|
fullscreenHeader: G,
|
|
95
110
|
playerCustomActions: Z,
|
|
96
111
|
playerCustomActionPauseOnActive: ee = !0,
|
|
97
|
-
bufferingText:
|
|
98
|
-
interactionTitle:
|
|
112
|
+
bufferingText: Le,
|
|
113
|
+
interactionTitle: it,
|
|
99
114
|
interactionTexts: te,
|
|
100
|
-
playerTexts:
|
|
101
|
-
playerAutoHideDelay:
|
|
102
|
-
markerAutoAdvanceDelay:
|
|
103
|
-
interactionDefaultValueOptions:
|
|
104
|
-
onSend:
|
|
105
|
-
onPlayerVisibilityChange:
|
|
106
|
-
onMobileViewModeChange:
|
|
107
|
-
onStepChange:
|
|
115
|
+
playerTexts: lt,
|
|
116
|
+
playerAutoHideDelay: ve = 3e3,
|
|
117
|
+
markerAutoAdvanceDelay: Ve = oo,
|
|
118
|
+
interactionDefaultValueOptions: je,
|
|
119
|
+
onSend: Ot,
|
|
120
|
+
onPlayerVisibilityChange: st,
|
|
121
|
+
onMobileViewModeChange: Mt,
|
|
122
|
+
onStepChange: kt,
|
|
108
123
|
enableKeyboardShortcuts: ne = !0,
|
|
109
|
-
enableIframeScaling:
|
|
110
|
-
enableMarkdownScaling:
|
|
111
|
-
disableLoadingOverlay:
|
|
112
|
-
className:
|
|
113
|
-
onPointerDown:
|
|
114
|
-
onFocusCapture:
|
|
115
|
-
...
|
|
124
|
+
enableIframeScaling: wn = !0,
|
|
125
|
+
enableMarkdownScaling: Tn = !0,
|
|
126
|
+
disableLoadingOverlay: O = !1,
|
|
127
|
+
className: En,
|
|
128
|
+
onPointerDown: Ft,
|
|
129
|
+
onFocusCapture: Bt,
|
|
130
|
+
...Pn
|
|
116
131
|
}) => {
|
|
117
|
-
const $ =
|
|
118
|
-
() =>
|
|
119
|
-
|
|
132
|
+
const $ = u(() => eo(h), [h]), Cn = u(
|
|
133
|
+
() => fo(
|
|
134
|
+
Le,
|
|
120
135
|
$.bufferingText
|
|
121
136
|
),
|
|
122
|
-
[
|
|
137
|
+
[Le, $.bufferingText]
|
|
123
138
|
), {
|
|
124
|
-
playerEnabled:
|
|
139
|
+
playerEnabled: Rn,
|
|
125
140
|
playerControlsVisibility: j
|
|
126
|
-
} =
|
|
127
|
-
playerEnabled:
|
|
128
|
-
playerControlsVisibility:
|
|
129
|
-
}),
|
|
141
|
+
} = Zr({
|
|
142
|
+
playerEnabled: H,
|
|
143
|
+
playerControlsVisibility: ge
|
|
144
|
+
}), qe = Ar(), Se = f(null), at = f(null), Ke = f(null), Dt = f(null), re = f(null), Ue = f(!1), Ie = f(null), He = f(null), z = f(null), be = f(null), xe = f(null), Ae = f(null), we = f(null), Nt = f([]), Te = f(!1), J = f(null), Ee = f(null), Lt = f(0), Vt = f(null), jt = f({
|
|
130
145
|
markerCount: 0,
|
|
131
146
|
currentIndex: -1,
|
|
132
147
|
canGoNext: !1
|
|
133
|
-
}),
|
|
148
|
+
}), ct = f(!1), {
|
|
134
149
|
currentElementList: C,
|
|
135
|
-
stepElementLists:
|
|
136
|
-
slideElementList:
|
|
137
|
-
currentIndex:
|
|
138
|
-
audioList:
|
|
139
|
-
audioSlideIndexes:
|
|
140
|
-
currentAudioSequenceIndexes:
|
|
150
|
+
stepElementLists: qt,
|
|
151
|
+
slideElementList: P,
|
|
152
|
+
currentIndex: s,
|
|
153
|
+
audioList: S,
|
|
154
|
+
audioSlideIndexes: Ye,
|
|
155
|
+
currentAudioSequenceIndexes: Ge,
|
|
141
156
|
currentStepHasSpeakableElement: I,
|
|
142
|
-
currentInteractionElement:
|
|
143
|
-
canGoPrev:
|
|
157
|
+
currentInteractionElement: p,
|
|
158
|
+
canGoPrev: _n,
|
|
144
159
|
canGoNext: R,
|
|
145
|
-
handlePrev:
|
|
146
|
-
handleNext:
|
|
147
|
-
handleGoTo:
|
|
148
|
-
} =
|
|
149
|
-
if (!(
|
|
150
|
-
return
|
|
151
|
-
}, [
|
|
160
|
+
handlePrev: Kt,
|
|
161
|
+
handleNext: M,
|
|
162
|
+
handleGoTo: Ut
|
|
163
|
+
} = kr(m), Pe = u(() => {
|
|
164
|
+
if (!(s < 0))
|
|
165
|
+
return P[s];
|
|
166
|
+
}, [s, P]), oe = u(
|
|
152
167
|
() => C.map(
|
|
153
168
|
(e, t) => `${e.sequence_number ?? `${e.type}-${t}`}:${String(e.is_new ?? "")}`
|
|
154
169
|
),
|
|
155
170
|
[C]
|
|
156
|
-
),
|
|
171
|
+
), On = P.filter(
|
|
157
172
|
(e) => e.is_renderable !== !1
|
|
158
|
-
).length === 1,
|
|
173
|
+
).length === 1, g = Rn && (P.length > 0 || S.length > 0 || !!p), Mn = u(
|
|
159
174
|
() => ({
|
|
160
175
|
enabled: ne,
|
|
161
|
-
ownerId:
|
|
176
|
+
ownerId: qe
|
|
162
177
|
}),
|
|
163
|
-
[ne,
|
|
164
|
-
),
|
|
165
|
-
!ne || !
|
|
166
|
-
}, [ne,
|
|
167
|
-
() =>
|
|
168
|
-
[
|
|
169
|
-
), [
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
), [
|
|
175
|
-
|
|
176
|
-
),
|
|
178
|
+
[ne, qe]
|
|
179
|
+
), q = n(() => {
|
|
180
|
+
!ne || !g || Dr(qe);
|
|
181
|
+
}, [ne, qe, g]), k = u(
|
|
182
|
+
() => Ge.map((e) => S[e]?.audioKey).filter((e) => !!e),
|
|
183
|
+
[S, Ge]
|
|
184
|
+
), [kn, Ce] = d(!0), [$e, ie] = d(!1), [ut, Ht] = d(!0), [Re, Yt] = d(!0), [A, K] = d(null), [Fn, Gt] = d(null), [Bn, b] = d(!1), [Dn, dt] = d(_t), [F, ft] = d(!1), [Nn, ze] = d(!1), [$t, Ln] = d(!0), [mt, pt] = d(!1), [y, yt] = d(), [le, Je] = d(!1), [zt, We] = d(!1), [x, ht] = d(
|
|
185
|
+
xn
|
|
186
|
+
), [gt, vt] = d(!1), [
|
|
187
|
+
Vn,
|
|
188
|
+
_e
|
|
189
|
+
] = d(0), [Jt, jn] = d(!1), _ = u(() => Cr(), []), [Xe, St] = d(
|
|
190
|
+
rt
|
|
191
|
+
), [Wt, It] = d(!1), [qn, Xt] = d(
|
|
192
|
+
() => _ ? vn() : !1
|
|
193
|
+
), se = u(() => $r(), []), {
|
|
177
194
|
effectiveMobileViewMode: ae,
|
|
178
|
-
isImmersiveMobileFullscreen:
|
|
179
|
-
isNativeMobileFullscreen:
|
|
180
|
-
shouldRotateFullscreenViewport:
|
|
181
|
-
} =
|
|
182
|
-
() =>
|
|
183
|
-
hasManualMobileViewMode:
|
|
184
|
-
isMobileDevice:
|
|
185
|
-
mobileViewMode:
|
|
195
|
+
isImmersiveMobileFullscreen: ce,
|
|
196
|
+
isNativeMobileFullscreen: Qt,
|
|
197
|
+
shouldRotateFullscreenViewport: Kn
|
|
198
|
+
} = u(
|
|
199
|
+
() => Nr({
|
|
200
|
+
hasManualMobileViewMode: Wt,
|
|
201
|
+
isMobileDevice: _,
|
|
202
|
+
mobileViewMode: Xe
|
|
186
203
|
}),
|
|
187
204
|
[
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
205
|
+
Wt,
|
|
206
|
+
_,
|
|
207
|
+
qn,
|
|
208
|
+
Xe
|
|
192
209
|
]
|
|
193
|
-
),
|
|
210
|
+
), Un = f(ae), w = g && j !== "hidden" && (j === "visible" || kn), Hn = ce && w, Yn = ce && w, Gn = ce || Qt, Zt = Jt && !_, $n = n(
|
|
194
211
|
(e) => {
|
|
195
|
-
|
|
212
|
+
It(!0), St(e);
|
|
196
213
|
},
|
|
197
214
|
[]
|
|
198
|
-
),
|
|
199
|
-
|
|
200
|
-
}, []),
|
|
201
|
-
|
|
202
|
-
}, [G,
|
|
203
|
-
|
|
204
|
-
}, []),
|
|
205
|
-
|
|
206
|
-
}, []), { mountedStepStates:
|
|
215
|
+
), en = n(() => {
|
|
216
|
+
It(!1), St(rt);
|
|
217
|
+
}, []), zn = n(() => {
|
|
218
|
+
en(), G?.onBack?.();
|
|
219
|
+
}, [G, en]), tn = n((e) => {
|
|
220
|
+
pt(e);
|
|
221
|
+
}, []), nn = n(() => {
|
|
222
|
+
pt((e) => !e);
|
|
223
|
+
}, []), { mountedStepStates: Jn, currentMountedStateIndex: Wn } = u(() => {
|
|
207
224
|
const e = [], t = /* @__PURE__ */ new Map();
|
|
208
|
-
return
|
|
209
|
-
const
|
|
210
|
-
(r) =>
|
|
225
|
+
return qt.forEach((o, i) => {
|
|
226
|
+
const l = e.findIndex(
|
|
227
|
+
(r) => po(
|
|
211
228
|
r.elementList,
|
|
212
|
-
|
|
229
|
+
o
|
|
213
230
|
)
|
|
214
231
|
);
|
|
215
|
-
if (
|
|
216
|
-
e[
|
|
232
|
+
if (l >= 0) {
|
|
233
|
+
e[l]?.sourceStepIndexes.push(i), t.set(i, l);
|
|
217
234
|
return;
|
|
218
235
|
}
|
|
219
236
|
e.push({
|
|
220
|
-
elementList:
|
|
221
|
-
sourceStepIndexes: [
|
|
222
|
-
}), t.set(
|
|
237
|
+
elementList: o,
|
|
238
|
+
sourceStepIndexes: [i]
|
|
239
|
+
}), t.set(i, e.length - 1);
|
|
223
240
|
}), {
|
|
224
241
|
mountedStepStates: e,
|
|
225
|
-
currentMountedStateIndex:
|
|
242
|
+
currentMountedStateIndex: s >= 0 ? t.get(s) ?? -1 : -1
|
|
226
243
|
};
|
|
227
|
-
}, [
|
|
244
|
+
}, [s, qt]), rn = u(() => String(s), [s]), T = u(() => A ? S.findIndex(
|
|
228
245
|
(e) => (e.audioKey ?? "") === A
|
|
229
|
-
) : -1, [
|
|
230
|
-
() =>
|
|
231
|
-
[
|
|
232
|
-
),
|
|
246
|
+
) : -1, [S, A]), bt = u(
|
|
247
|
+
() => T >= 0 ? S[T] : void 0,
|
|
248
|
+
[S, T]
|
|
249
|
+
), Xn = bt?.element?.subtitle_cues ?? [], Qe = u(
|
|
233
250
|
() => k[0] ?? "none",
|
|
234
251
|
[k]
|
|
235
|
-
),
|
|
252
|
+
), xt = u(
|
|
236
253
|
() => ({
|
|
237
|
-
currentElement:
|
|
238
|
-
currentAudioIndex:
|
|
239
|
-
currentAudioSequenceIndexes:
|
|
240
|
-
audioList:
|
|
241
|
-
currentInteractionElement:
|
|
242
|
-
currentStepElement:
|
|
254
|
+
currentElement: Yr({
|
|
255
|
+
currentAudioIndex: T,
|
|
256
|
+
currentAudioSequenceIndexes: Ge,
|
|
257
|
+
audioList: S,
|
|
258
|
+
currentInteractionElement: y,
|
|
259
|
+
currentStepElement: Pe
|
|
243
260
|
}),
|
|
244
|
-
currentIndex:
|
|
245
|
-
currentStepElement:
|
|
246
|
-
isActive:
|
|
247
|
-
setActive:
|
|
248
|
-
toggleActive:
|
|
261
|
+
currentIndex: s,
|
|
262
|
+
currentStepElement: Pe,
|
|
263
|
+
isActive: mt,
|
|
264
|
+
setActive: tn,
|
|
265
|
+
toggleActive: nn
|
|
249
266
|
}),
|
|
250
267
|
[
|
|
268
|
+
y,
|
|
251
269
|
S,
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
zt
|
|
270
|
+
T,
|
|
271
|
+
Ge,
|
|
272
|
+
s,
|
|
273
|
+
Pe,
|
|
274
|
+
mt,
|
|
275
|
+
tn,
|
|
276
|
+
nn
|
|
260
277
|
]
|
|
261
|
-
),
|
|
262
|
-
() =>
|
|
278
|
+
), At = u(
|
|
279
|
+
() => Gr(
|
|
263
280
|
Z,
|
|
264
|
-
|
|
281
|
+
xt
|
|
265
282
|
),
|
|
266
|
-
[
|
|
267
|
-
),
|
|
283
|
+
[xt, Z]
|
|
284
|
+
), Qn = u(
|
|
268
285
|
() => ({
|
|
269
|
-
"--slide-player-custom-action-count": String(
|
|
286
|
+
"--slide-player-custom-action-count": String(At),
|
|
270
287
|
"--slide-player-mobile-control-count": String(
|
|
271
|
-
|
|
272
|
-
)
|
|
288
|
+
At + 4
|
|
289
|
+
),
|
|
290
|
+
"--slide-interaction-drag-x": `${x.x}px`,
|
|
291
|
+
"--slide-interaction-drag-y": `${x.y}px`
|
|
273
292
|
}),
|
|
274
|
-
[
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
293
|
+
[
|
|
294
|
+
x.x,
|
|
295
|
+
x.y,
|
|
296
|
+
At
|
|
297
|
+
]
|
|
298
|
+
), on = k.length > 0, ln = u(() => p ? `${p.sequence_number ?? "none"}:${String(
|
|
299
|
+
p.content ?? ""
|
|
300
|
+
)}` : "none", [p]), Oe = u(
|
|
301
|
+
() => [rn, ln].join("|"),
|
|
302
|
+
[ln, rn]
|
|
303
|
+
), Zn = u(
|
|
281
304
|
() => [
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
String(
|
|
305
|
+
Oe,
|
|
306
|
+
bt?.audioKey ?? "none",
|
|
307
|
+
String(T)
|
|
285
308
|
].join("|"),
|
|
286
|
-
[
|
|
287
|
-
),
|
|
288
|
-
(t) => t.audioKey ===
|
|
289
|
-
)?.audioUrl?.trim() ?? "", [
|
|
290
|
-
() =>
|
|
309
|
+
[T, bt?.audioKey, Oe]
|
|
310
|
+
), sn = !!u(() => !Qe || Qe === "none" ? "" : S.find(
|
|
311
|
+
(t) => t.audioKey === Qe
|
|
312
|
+
)?.audioUrl?.trim() ?? "", [S, Qe]), W = ee && !!Z && mt, Me = u(
|
|
313
|
+
() => Jr({
|
|
291
314
|
canGoNext: R,
|
|
292
|
-
currentAudioIndex:
|
|
315
|
+
currentAudioIndex: T,
|
|
293
316
|
currentStepHasSpeakableElement: I,
|
|
294
|
-
hasInteraction: !!
|
|
317
|
+
hasInteraction: !!p
|
|
295
318
|
}),
|
|
296
319
|
[
|
|
297
320
|
R,
|
|
298
|
-
|
|
299
|
-
|
|
321
|
+
T,
|
|
322
|
+
p,
|
|
300
323
|
I
|
|
301
324
|
]
|
|
302
|
-
),
|
|
303
|
-
() =>
|
|
325
|
+
), an = u(
|
|
326
|
+
() => Qr({
|
|
304
327
|
currentElementList: C,
|
|
305
328
|
currentStepHasSpeakableElement: I,
|
|
306
|
-
currentInteractionElement:
|
|
307
|
-
markerAutoAdvanceDelay:
|
|
329
|
+
currentInteractionElement: p,
|
|
330
|
+
markerAutoAdvanceDelay: Ve
|
|
308
331
|
}),
|
|
309
332
|
[
|
|
310
333
|
C,
|
|
311
|
-
|
|
334
|
+
p,
|
|
312
335
|
I,
|
|
313
|
-
|
|
336
|
+
Ve
|
|
314
337
|
]
|
|
315
|
-
),
|
|
316
|
-
() => `${
|
|
317
|
-
[
|
|
318
|
-
), [
|
|
338
|
+
), cn = an.delayMs, ke = an.usesImageOnlyDelay, wt = u(
|
|
339
|
+
() => `${s}:${oe.join("|")}`,
|
|
340
|
+
[s, oe]
|
|
341
|
+
), [er, tr] = d(null), un = !ke || er === wt, V = n(() => {
|
|
319
342
|
re.current !== null && (window.clearTimeout(re.current), re.current = null);
|
|
320
|
-
}, []),
|
|
343
|
+
}, []), B = n(() => {
|
|
321
344
|
z.current !== null && (window.clearTimeout(z.current), z.current = null);
|
|
322
|
-
}, []),
|
|
323
|
-
|
|
324
|
-
}, []),
|
|
325
|
-
|
|
326
|
-
}, []),
|
|
327
|
-
|
|
328
|
-
}, []),
|
|
345
|
+
}, []), D = n(() => {
|
|
346
|
+
be.current !== null && (window.clearTimeout(be.current), be.current = null);
|
|
347
|
+
}, []), ue = n(() => {
|
|
348
|
+
Ie.current !== null && (window.clearTimeout(Ie.current), Ie.current = null);
|
|
349
|
+
}, []), U = n(() => {
|
|
350
|
+
He.current !== null && (window.clearTimeout(He.current), He.current = null);
|
|
351
|
+
}, []), N = n(
|
|
329
352
|
(e = {}) => {
|
|
330
|
-
|
|
353
|
+
ue(), B(), D(), U(), K(null), se.reset(), b(!1), dt(_t), ft(!1), ze(!1), Gt(null), e.preservePendingSubtitleJump || (Ee.current = null), yt(void 0), Je(!1), _e(0);
|
|
331
354
|
},
|
|
332
355
|
[
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
356
|
+
ue,
|
|
357
|
+
U,
|
|
358
|
+
B,
|
|
359
|
+
D,
|
|
337
360
|
se
|
|
338
361
|
]
|
|
339
|
-
),
|
|
362
|
+
), Ze = n(
|
|
340
363
|
(e) => {
|
|
341
|
-
|
|
364
|
+
Lt.current += 1, Gt({
|
|
342
365
|
...e,
|
|
343
|
-
id:
|
|
366
|
+
id: Lt.current
|
|
344
367
|
});
|
|
345
368
|
},
|
|
346
369
|
[]
|
|
347
370
|
), de = n(() => {
|
|
348
371
|
const e = k[0];
|
|
349
|
-
return e ? (
|
|
350
|
-
}, [k]),
|
|
351
|
-
|
|
372
|
+
return e ? (K(e), !0) : !1;
|
|
373
|
+
}, [k]), Fe = n(() => {
|
|
374
|
+
B(), D(), Je(!1), _e(0), !de() && R && M();
|
|
352
375
|
}, [
|
|
353
376
|
R,
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
377
|
+
B,
|
|
378
|
+
D,
|
|
379
|
+
M,
|
|
357
380
|
de
|
|
358
|
-
]),
|
|
381
|
+
]), dn = n(
|
|
359
382
|
(e) => {
|
|
360
|
-
if (
|
|
383
|
+
if (D(), !e)
|
|
361
384
|
return;
|
|
362
385
|
const t = () => {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
),
|
|
386
|
+
be.current = null, _e(
|
|
387
|
+
lo
|
|
388
|
+
), Je(!0), J.current = null;
|
|
366
389
|
};
|
|
367
|
-
|
|
390
|
+
be.current = window.setTimeout(
|
|
368
391
|
t,
|
|
369
|
-
|
|
392
|
+
io
|
|
370
393
|
);
|
|
371
394
|
},
|
|
372
|
-
[
|
|
373
|
-
),
|
|
374
|
-
() =>
|
|
395
|
+
[D]
|
|
396
|
+
), Tt = n(
|
|
397
|
+
() => Ue.current || !!Se.current?.querySelector(".slide-player__controls:hover"),
|
|
375
398
|
[]
|
|
376
399
|
), v = n(
|
|
377
|
-
(e =
|
|
378
|
-
!
|
|
379
|
-
if (
|
|
400
|
+
(e = $e) => {
|
|
401
|
+
!g || j === "hidden" || (Ce(!0), V(), !(j === "visible" || !e || ve <= 0 || Tt()) && (re.current = window.setTimeout(() => {
|
|
402
|
+
if (Tt()) {
|
|
380
403
|
re.current = null;
|
|
381
404
|
return;
|
|
382
405
|
}
|
|
383
|
-
|
|
384
|
-
},
|
|
406
|
+
Ce(!1), re.current = null;
|
|
407
|
+
}, ve)));
|
|
385
408
|
},
|
|
386
409
|
[
|
|
387
410
|
V,
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
411
|
+
$e,
|
|
412
|
+
Tt,
|
|
413
|
+
ve,
|
|
391
414
|
j,
|
|
392
|
-
|
|
415
|
+
g
|
|
393
416
|
]
|
|
394
|
-
),
|
|
395
|
-
|
|
396
|
-
}, []),
|
|
417
|
+
), Be = !!Hr(p), fe = !!p && !Be, nr = n((e) => {
|
|
418
|
+
Ht(e);
|
|
419
|
+
}, []), me = n(
|
|
397
420
|
(e) => {
|
|
398
|
-
e &&
|
|
421
|
+
e && Ht(e.shouldContinuePlayback);
|
|
399
422
|
},
|
|
400
423
|
[]
|
|
401
424
|
);
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
}, [
|
|
405
|
-
ee &&
|
|
406
|
-
}, [
|
|
407
|
-
|
|
425
|
+
c(() => {
|
|
426
|
+
Yt(ut);
|
|
427
|
+
}, [s, ut, ee]), c(() => {
|
|
428
|
+
ee && pt(!1);
|
|
429
|
+
}, [s, ee]), c(() => () => {
|
|
430
|
+
ue(), U(), V(), B(), D();
|
|
408
431
|
}, [
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
432
|
+
ue,
|
|
433
|
+
U,
|
|
434
|
+
B,
|
|
435
|
+
D,
|
|
413
436
|
V
|
|
414
|
-
]),
|
|
415
|
-
if (!
|
|
416
|
-
|
|
437
|
+
]), c(() => {
|
|
438
|
+
if (!ke) {
|
|
439
|
+
U();
|
|
417
440
|
return;
|
|
418
441
|
}
|
|
419
|
-
let e = !1, t = null,
|
|
420
|
-
const
|
|
421
|
-
|
|
422
|
-
},
|
|
423
|
-
e || (
|
|
442
|
+
let e = !1, t = null, o = null;
|
|
443
|
+
const i = () => {
|
|
444
|
+
o?.(), o = null;
|
|
445
|
+
}, l = () => {
|
|
446
|
+
e || (i(), U(), tr(wt));
|
|
424
447
|
}, r = () => {
|
|
425
448
|
if (e)
|
|
426
449
|
return;
|
|
427
|
-
|
|
428
|
-
const
|
|
450
|
+
i();
|
|
451
|
+
const E = Ke.current?.querySelector(
|
|
429
452
|
'[data-active-step="true"]'
|
|
430
453
|
);
|
|
431
|
-
if (!
|
|
454
|
+
if (!E)
|
|
432
455
|
return;
|
|
433
|
-
const
|
|
434
|
-
|
|
456
|
+
const L = Array.from(
|
|
457
|
+
E.querySelectorAll("iframe")
|
|
435
458
|
);
|
|
436
|
-
if (
|
|
437
|
-
|
|
459
|
+
if (L.length === 0 || Xr(L)) {
|
|
460
|
+
l();
|
|
438
461
|
return;
|
|
439
462
|
}
|
|
440
|
-
const
|
|
463
|
+
const nt = [], Ne = () => {
|
|
441
464
|
e || (t !== null && window.cancelAnimationFrame(t), t = window.requestAnimationFrame(() => {
|
|
442
465
|
t = null, r();
|
|
443
466
|
}));
|
|
444
|
-
},
|
|
445
|
-
X.addEventListener(
|
|
446
|
-
() => X.removeEventListener(
|
|
467
|
+
}, Ct = (X, ye, Q) => {
|
|
468
|
+
X.addEventListener(ye, Q, { once: !0 }), nt.push(
|
|
469
|
+
() => X.removeEventListener(ye, Q)
|
|
447
470
|
);
|
|
448
471
|
};
|
|
449
|
-
|
|
450
|
-
const
|
|
451
|
-
if (!
|
|
452
|
-
|
|
472
|
+
L.forEach((X) => {
|
|
473
|
+
const ye = X.contentDocument;
|
|
474
|
+
if (!ye || ye.readyState !== "complete") {
|
|
475
|
+
Ct(X, "load", Ne);
|
|
453
476
|
return;
|
|
454
477
|
}
|
|
455
|
-
Array.from(
|
|
456
|
-
|
|
478
|
+
Array.from(ye.images).filter((Q) => !Q.complete).forEach((Q) => {
|
|
479
|
+
Ct(Q, "load", Ne), Ct(Q, "error", Ne);
|
|
457
480
|
});
|
|
458
|
-
}),
|
|
459
|
-
|
|
481
|
+
}), o = () => {
|
|
482
|
+
nt.forEach((X) => X());
|
|
460
483
|
};
|
|
461
484
|
};
|
|
462
485
|
return t = window.requestAnimationFrame(() => {
|
|
463
486
|
t = null, r();
|
|
464
|
-
}),
|
|
465
|
-
|
|
466
|
-
},
|
|
467
|
-
e = !0,
|
|
487
|
+
}), He.current = window.setTimeout(() => {
|
|
488
|
+
l();
|
|
489
|
+
}, Wr), () => {
|
|
490
|
+
e = !0, i(), U(), t !== null && window.cancelAnimationFrame(t);
|
|
468
491
|
};
|
|
469
492
|
}, [
|
|
470
|
-
|
|
493
|
+
U,
|
|
471
494
|
C,
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
]),
|
|
476
|
-
|
|
477
|
-
}), [
|
|
478
|
-
|
|
479
|
-
}, [
|
|
480
|
-
|
|
481
|
-
}, [
|
|
482
|
-
if (!
|
|
483
|
-
|
|
495
|
+
s,
|
|
496
|
+
wt,
|
|
497
|
+
ke
|
|
498
|
+
]), c(() => (st?.(w), () => {
|
|
499
|
+
st?.(!1);
|
|
500
|
+
}), [st, w]), c(() => {
|
|
501
|
+
w || (Ue.current = !1);
|
|
502
|
+
}, [w]), c(() => {
|
|
503
|
+
_ || Xe === rt || (It(!1), St(rt));
|
|
504
|
+
}, [_, Xe]), c(() => {
|
|
505
|
+
if (!_) {
|
|
506
|
+
Xt(!1);
|
|
484
507
|
return;
|
|
485
508
|
}
|
|
486
509
|
const e = () => {
|
|
487
|
-
|
|
510
|
+
Xt(vn());
|
|
488
511
|
};
|
|
489
|
-
return e(),
|
|
490
|
-
}, [
|
|
491
|
-
|
|
492
|
-
}, [ae,
|
|
493
|
-
|
|
494
|
-
}, [ae]),
|
|
495
|
-
|
|
496
|
-
}, [
|
|
497
|
-
const e =
|
|
512
|
+
return e(), Rr(e);
|
|
513
|
+
}, [_]), c(() => {
|
|
514
|
+
Mt?.(ae);
|
|
515
|
+
}, [ae, Mt]), c(() => {
|
|
516
|
+
Un.current = ae;
|
|
517
|
+
}, [ae]), c(() => {
|
|
518
|
+
kt?.(Pe, s);
|
|
519
|
+
}, [s, Pe, kt]), c(() => {
|
|
520
|
+
const e = jt.current, t = qr(
|
|
498
521
|
{
|
|
499
522
|
previousMarkerCount: e.markerCount,
|
|
500
|
-
nextMarkerCount:
|
|
523
|
+
nextMarkerCount: P.length,
|
|
501
524
|
previousIndex: e.currentIndex,
|
|
502
525
|
previousCanGoNext: e.canGoNext,
|
|
503
526
|
nextCanGoNext: R,
|
|
504
527
|
currentAudioKey: A,
|
|
505
|
-
hasCompletedCurrentStepAudio:
|
|
506
|
-
hasResolvedCurrentInteraction:
|
|
528
|
+
hasCompletedCurrentStepAudio: F,
|
|
529
|
+
hasResolvedCurrentInteraction: Be,
|
|
507
530
|
currentStepHasSpeakableElement: I,
|
|
508
|
-
currentInteractionElement:
|
|
509
|
-
isAutoAdvanceEnabled:
|
|
510
|
-
shouldUseSilentStepAutoAdvanceToggle:
|
|
531
|
+
currentInteractionElement: p,
|
|
532
|
+
isAutoAdvanceEnabled: Re,
|
|
533
|
+
shouldUseSilentStepAutoAdvanceToggle: Me
|
|
511
534
|
}
|
|
512
535
|
);
|
|
513
|
-
|
|
514
|
-
markerCount:
|
|
515
|
-
currentIndex:
|
|
536
|
+
jt.current = {
|
|
537
|
+
markerCount: P.length,
|
|
538
|
+
currentIndex: s,
|
|
516
539
|
canGoNext: R
|
|
517
|
-
}, t &&
|
|
540
|
+
}, t && M();
|
|
518
541
|
}, [
|
|
519
542
|
R,
|
|
520
543
|
A,
|
|
521
|
-
|
|
522
|
-
|
|
544
|
+
s,
|
|
545
|
+
p,
|
|
523
546
|
I,
|
|
524
|
-
_,
|
|
525
547
|
M,
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
548
|
+
F,
|
|
549
|
+
Be,
|
|
550
|
+
Re,
|
|
551
|
+
Me,
|
|
552
|
+
P.length
|
|
553
|
+
]), c(() => {
|
|
554
|
+
if (!g || j === "hidden") {
|
|
555
|
+
V(), Ce(!1);
|
|
533
556
|
return;
|
|
534
557
|
}
|
|
535
558
|
if (j === "visible") {
|
|
536
|
-
V(),
|
|
559
|
+
V(), Ce(!0);
|
|
537
560
|
return;
|
|
538
561
|
}
|
|
539
|
-
|
|
562
|
+
$e || v(!0);
|
|
540
563
|
}, [
|
|
541
564
|
V,
|
|
542
|
-
|
|
565
|
+
$e,
|
|
543
566
|
j,
|
|
544
|
-
|
|
567
|
+
g,
|
|
545
568
|
v
|
|
546
|
-
]),
|
|
569
|
+
]), c(() => {
|
|
547
570
|
if (typeof window > "u")
|
|
548
571
|
return;
|
|
549
572
|
const e = (t) => {
|
|
550
|
-
t.origin === window.location.origin &&
|
|
573
|
+
t.origin === window.location.origin && Tr(t.data) && t.data.eventType === "click" && g && (q(), ie(!0), v(!0));
|
|
551
574
|
};
|
|
552
575
|
return window.addEventListener("message", e), () => {
|
|
553
576
|
window.removeEventListener("message", e);
|
|
554
577
|
};
|
|
555
|
-
}, [
|
|
556
|
-
sectionRef:
|
|
557
|
-
enabled:
|
|
578
|
+
}, [q, g, v]), Fr({
|
|
579
|
+
sectionRef: Se,
|
|
580
|
+
enabled: g,
|
|
558
581
|
keyboardShortcutsEnabled: ne,
|
|
559
|
-
onKeyboardShortcut:
|
|
582
|
+
onKeyboardShortcut: q,
|
|
560
583
|
onWake: () => {
|
|
561
|
-
|
|
584
|
+
q(), ie(!0), v(!0);
|
|
562
585
|
}
|
|
563
|
-
}),
|
|
564
|
-
if (!
|
|
565
|
-
|
|
586
|
+
}), c(() => {
|
|
587
|
+
if (!g) {
|
|
588
|
+
N();
|
|
566
589
|
return;
|
|
567
590
|
}
|
|
568
|
-
const { hasPlaybackContextChanged: e, shouldInitializeAudioSequence: t } =
|
|
569
|
-
previousResetKey:
|
|
570
|
-
nextResetKey:
|
|
591
|
+
const { hasPlaybackContextChanged: e, shouldInitializeAudioSequence: t } = Kr({
|
|
592
|
+
previousResetKey: Vt.current,
|
|
593
|
+
nextResetKey: Oe,
|
|
571
594
|
currentAudioKey: A,
|
|
572
|
-
hasCompletedCurrentStepAudio:
|
|
595
|
+
hasCompletedCurrentStepAudio: F
|
|
573
596
|
});
|
|
574
|
-
|
|
575
|
-
const
|
|
576
|
-
hasInteraction: !!
|
|
577
|
-
shouldBlockPlaybackForInteraction:
|
|
578
|
-
shouldOpenInteractionOverlayAfterAudio:
|
|
597
|
+
Vt.current = Oe;
|
|
598
|
+
const o = J.current === s && !!p, i = Vr({
|
|
599
|
+
hasInteraction: !!p,
|
|
600
|
+
shouldBlockPlaybackForInteraction: fe,
|
|
601
|
+
shouldOpenInteractionOverlayAfterAudio: o,
|
|
579
602
|
hasPlaybackContextChanged: e,
|
|
580
|
-
hasResolvedCurrentInteraction:
|
|
603
|
+
hasResolvedCurrentInteraction: Be,
|
|
581
604
|
currentStepHasSpeakableElement: I
|
|
582
|
-
}),
|
|
583
|
-
if (e &&
|
|
605
|
+
}), l = Ee.current, r = l?.slideIndex === s;
|
|
606
|
+
if (e && N({
|
|
584
607
|
preservePendingSubtitleJump: r
|
|
585
|
-
}), !(C.length === 0 && !
|
|
586
|
-
if (
|
|
587
|
-
currentIndex:
|
|
588
|
-
resolvedCurrentInteractionElement:
|
|
589
|
-
slideElementList:
|
|
590
|
-
targetSlideIndex:
|
|
608
|
+
}), !(C.length === 0 && !p) && !W) {
|
|
609
|
+
if (l?.slideIndex === s && In({
|
|
610
|
+
currentIndex: s,
|
|
611
|
+
resolvedCurrentInteractionElement: y,
|
|
612
|
+
slideElementList: P,
|
|
613
|
+
targetSlideIndex: l.slideIndex
|
|
591
614
|
})) {
|
|
592
|
-
|
|
593
|
-
audioIndex:
|
|
594
|
-
timeMs:
|
|
615
|
+
Ee.current = null, ct.current = !0, K(l.audioKey), Ze({
|
|
616
|
+
audioIndex: l.audioIndex,
|
|
617
|
+
timeMs: l.timeMs
|
|
595
618
|
});
|
|
596
619
|
return;
|
|
597
620
|
}
|
|
598
|
-
if (
|
|
599
|
-
|
|
621
|
+
if (p && yt(p), i) {
|
|
622
|
+
dn(p);
|
|
600
623
|
return;
|
|
601
624
|
}
|
|
602
|
-
if (
|
|
625
|
+
if (D(), J.current = null, !!t && !de()) {
|
|
603
626
|
if (I) {
|
|
604
|
-
if (
|
|
605
|
-
|
|
627
|
+
if (O) {
|
|
628
|
+
b(!1);
|
|
606
629
|
return;
|
|
607
630
|
}
|
|
608
|
-
|
|
631
|
+
b(!0);
|
|
609
632
|
return;
|
|
610
633
|
}
|
|
611
|
-
if (R && !(
|
|
612
|
-
return
|
|
613
|
-
|
|
614
|
-
},
|
|
615
|
-
|
|
634
|
+
if (R && !(Me && !Re) && !(ke && !un))
|
|
635
|
+
return Ie.current = window.setTimeout(() => {
|
|
636
|
+
Ie.current = null, M();
|
|
637
|
+
}, cn), () => {
|
|
638
|
+
ue();
|
|
616
639
|
};
|
|
617
640
|
}
|
|
618
641
|
}
|
|
619
642
|
}, [
|
|
620
|
-
|
|
643
|
+
y,
|
|
621
644
|
R,
|
|
622
|
-
|
|
645
|
+
ue,
|
|
623
646
|
C.length,
|
|
624
|
-
|
|
625
|
-
|
|
647
|
+
s,
|
|
648
|
+
p,
|
|
626
649
|
A,
|
|
627
|
-
|
|
650
|
+
Oe,
|
|
628
651
|
I,
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
_,
|
|
652
|
+
ke,
|
|
653
|
+
un,
|
|
654
|
+
cn,
|
|
633
655
|
M,
|
|
634
|
-
|
|
635
|
-
xe,
|
|
636
|
-
Pe,
|
|
637
|
-
Y,
|
|
656
|
+
F,
|
|
638
657
|
O,
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
658
|
+
Re,
|
|
659
|
+
Be,
|
|
660
|
+
fe,
|
|
661
|
+
D,
|
|
662
|
+
N,
|
|
663
|
+
Ze,
|
|
664
|
+
dn,
|
|
665
|
+
g,
|
|
666
|
+
P,
|
|
644
667
|
de,
|
|
645
668
|
W,
|
|
646
|
-
|
|
647
|
-
]),
|
|
648
|
-
if (
|
|
649
|
-
|
|
669
|
+
Me
|
|
670
|
+
]), c(() => {
|
|
671
|
+
if (O || W || !I || fe) {
|
|
672
|
+
b(!1);
|
|
650
673
|
return;
|
|
651
674
|
}
|
|
652
|
-
if (
|
|
653
|
-
|
|
675
|
+
if (F) {
|
|
676
|
+
b(!1);
|
|
654
677
|
return;
|
|
655
678
|
}
|
|
656
|
-
if (
|
|
657
|
-
|
|
679
|
+
if (on) {
|
|
680
|
+
b(!1);
|
|
658
681
|
return;
|
|
659
682
|
}
|
|
660
|
-
|
|
683
|
+
dt("waitingForAudio"), b(!0);
|
|
661
684
|
}, [
|
|
662
|
-
|
|
685
|
+
on,
|
|
663
686
|
I,
|
|
664
|
-
|
|
665
|
-
|
|
687
|
+
F,
|
|
688
|
+
O,
|
|
666
689
|
W,
|
|
667
|
-
|
|
668
|
-
]),
|
|
669
|
-
const e =
|
|
670
|
-
|
|
690
|
+
fe
|
|
691
|
+
]), c(() => {
|
|
692
|
+
const e = ct.current;
|
|
693
|
+
ct.current = !1, Ur({
|
|
671
694
|
currentAudioKey: A,
|
|
672
695
|
currentAudioSequenceLength: k.length,
|
|
673
696
|
currentStepHasSpeakableElement: I,
|
|
674
|
-
hasCompletedCurrentStepAudio:
|
|
675
|
-
shouldBlockPlaybackForInteraction:
|
|
697
|
+
hasCompletedCurrentStepAudio: F,
|
|
698
|
+
shouldBlockPlaybackForInteraction: fe,
|
|
676
699
|
shouldPausePlaybackForCustomAction: W,
|
|
677
700
|
shouldSkipDefaultAudioStart: e
|
|
678
701
|
}) && de();
|
|
@@ -680,166 +703,164 @@ const eo = (d, h) => d.length === h.length && d.every((U, he) => {
|
|
|
680
703
|
A,
|
|
681
704
|
k,
|
|
682
705
|
I,
|
|
683
|
-
|
|
706
|
+
F,
|
|
684
707
|
W,
|
|
685
|
-
|
|
708
|
+
fe,
|
|
686
709
|
de
|
|
687
|
-
]),
|
|
688
|
-
!A ||
|
|
689
|
-
}, [
|
|
690
|
-
|
|
691
|
-
}, [
|
|
692
|
-
|
|
693
|
-
}, [
|
|
710
|
+
]), c(() => {
|
|
711
|
+
!A || T >= 0 || K(null);
|
|
712
|
+
}, [T, A]), c(() => {
|
|
713
|
+
T >= 0 || se.reset();
|
|
714
|
+
}, [T, se]), c(() => {
|
|
715
|
+
ze(!1);
|
|
716
|
+
}, [Zn]);
|
|
694
717
|
const {
|
|
695
|
-
interactionDefaults:
|
|
696
|
-
interactionDefaultSelectedValues:
|
|
697
|
-
hasResolvedInteractionInput:
|
|
698
|
-
isInteractionReadonly:
|
|
699
|
-
shouldAutoContinueInteraction:
|
|
700
|
-
} =
|
|
701
|
-
() =>
|
|
702
|
-
interactionDefaultValueOptions:
|
|
718
|
+
interactionDefaults: fn,
|
|
719
|
+
interactionDefaultSelectedValues: rr,
|
|
720
|
+
hasResolvedInteractionInput: mn,
|
|
721
|
+
isInteractionReadonly: or,
|
|
722
|
+
shouldAutoContinueInteraction: pn
|
|
723
|
+
} = u(
|
|
724
|
+
() => zr(y, {
|
|
725
|
+
interactionDefaultValueOptions: je
|
|
703
726
|
}),
|
|
704
|
-
[
|
|
705
|
-
),
|
|
706
|
-
hasActiveInteraction: !!
|
|
707
|
-
isInteractionOverlayOpen: le
|
|
708
|
-
|
|
709
|
-
playerControlsVisible: x,
|
|
710
|
-
shouldMountPlayer: y,
|
|
711
|
-
hasFocusedTextInput: _n
|
|
712
|
-
}), Xn = n(
|
|
727
|
+
[y, je]
|
|
728
|
+
), ir = !!y?.readonly || or, De = Lr({
|
|
729
|
+
hasActiveInteraction: !!y,
|
|
730
|
+
isInteractionOverlayOpen: le
|
|
731
|
+
}), lr = n(
|
|
713
732
|
(e) => {
|
|
714
|
-
const
|
|
733
|
+
const o = [
|
|
715
734
|
...e.selectedValues ?? [],
|
|
716
735
|
e.inputText?.trim() ?? "",
|
|
717
736
|
e.buttonText?.trim() ?? ""
|
|
718
737
|
].filter(Boolean).join(", ");
|
|
719
|
-
|
|
720
|
-
...
|
|
721
|
-
user_input:
|
|
722
|
-
}),
|
|
738
|
+
yt((i) => !i || !o ? i : {
|
|
739
|
+
...i,
|
|
740
|
+
user_input: o
|
|
741
|
+
}), Ot?.(e, y), Fe();
|
|
723
742
|
},
|
|
724
|
-
[
|
|
743
|
+
[y, Fe, Ot]
|
|
725
744
|
);
|
|
726
|
-
|
|
745
|
+
c(() => {
|
|
727
746
|
const e = () => {
|
|
728
|
-
|
|
747
|
+
jn(document.fullscreenElement === Se.current);
|
|
729
748
|
};
|
|
730
749
|
return e(), document.addEventListener("fullscreenchange", e), () => {
|
|
731
750
|
document.removeEventListener("fullscreenchange", e);
|
|
732
751
|
};
|
|
733
|
-
}, []),
|
|
734
|
-
|
|
735
|
-
}, [
|
|
736
|
-
|
|
737
|
-
|
|
752
|
+
}, []), c(() => {
|
|
753
|
+
y && le || We(!1);
|
|
754
|
+
}, [y, le]), c(() => {
|
|
755
|
+
ht(xn), vt(!1), we.current = null, Ae.current = null;
|
|
756
|
+
}, [y]), c(() => {
|
|
757
|
+
if (!De) {
|
|
758
|
+
_e(0);
|
|
738
759
|
return;
|
|
739
760
|
}
|
|
740
|
-
const e =
|
|
761
|
+
const e = xe.current;
|
|
741
762
|
if (!e)
|
|
742
763
|
return;
|
|
743
764
|
const t = () => {
|
|
744
|
-
const
|
|
765
|
+
const i = Math.ceil(
|
|
745
766
|
e.getBoundingClientRect().height
|
|
746
767
|
);
|
|
747
|
-
|
|
748
|
-
|
|
768
|
+
_e(
|
|
769
|
+
i + so
|
|
749
770
|
);
|
|
750
771
|
};
|
|
751
772
|
if (t(), typeof ResizeObserver > "u")
|
|
752
773
|
return;
|
|
753
|
-
const
|
|
774
|
+
const o = new ResizeObserver(() => {
|
|
754
775
|
t();
|
|
755
776
|
});
|
|
756
|
-
return
|
|
757
|
-
|
|
777
|
+
return o.observe(e), () => {
|
|
778
|
+
o.disconnect();
|
|
758
779
|
};
|
|
759
|
-
}, [
|
|
760
|
-
if (
|
|
761
|
-
if (
|
|
780
|
+
}, [De]), c(() => {
|
|
781
|
+
if (B(), !!le) {
|
|
782
|
+
if (pn)
|
|
762
783
|
return z.current = window.setTimeout(() => {
|
|
763
|
-
z.current = null,
|
|
764
|
-
},
|
|
765
|
-
|
|
784
|
+
z.current = null, Fe();
|
|
785
|
+
}, bn), () => {
|
|
786
|
+
B();
|
|
766
787
|
};
|
|
767
|
-
if (!(
|
|
788
|
+
if (!(zt || !mn))
|
|
768
789
|
return z.current = window.setTimeout(() => {
|
|
769
|
-
z.current = null,
|
|
770
|
-
},
|
|
771
|
-
|
|
790
|
+
z.current = null, Fe();
|
|
791
|
+
}, bn), () => {
|
|
792
|
+
B();
|
|
772
793
|
};
|
|
773
794
|
}
|
|
774
795
|
}, [
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
796
|
+
B,
|
|
797
|
+
Fe,
|
|
798
|
+
zt,
|
|
799
|
+
mn,
|
|
779
800
|
le,
|
|
780
|
-
|
|
801
|
+
pn
|
|
781
802
|
]);
|
|
782
|
-
const
|
|
783
|
-
|
|
803
|
+
const sr = (e, t = {}) => e ? e.type === "slot" ? /* @__PURE__ */ a.jsx(a.Fragment, { children: e.content }) : e.type === "html" ? /* @__PURE__ */ a.jsx(
|
|
804
|
+
gn,
|
|
784
805
|
{
|
|
785
806
|
className: "content-render-iframe",
|
|
786
|
-
disableLoadingOverlay:
|
|
807
|
+
disableLoadingOverlay: O,
|
|
787
808
|
hideFullScreen: !0,
|
|
788
809
|
locale: h,
|
|
789
810
|
mode: "blackboard",
|
|
790
811
|
replaceRootScreenHeightWithFull: t.replaceRootScreenHeightWithFull,
|
|
791
812
|
type: "sandbox",
|
|
792
813
|
content: e.content,
|
|
793
|
-
enableScaling:
|
|
814
|
+
enableScaling: wn
|
|
794
815
|
}
|
|
795
|
-
) : /* @__PURE__ */
|
|
796
|
-
|
|
816
|
+
) : /* @__PURE__ */ a.jsx(
|
|
817
|
+
gn,
|
|
797
818
|
{
|
|
798
819
|
className: "content-render-iframe",
|
|
799
|
-
disableLoadingOverlay:
|
|
820
|
+
disableLoadingOverlay: O,
|
|
800
821
|
hideFullScreen: !0,
|
|
801
822
|
locale: h,
|
|
802
823
|
mode: "blackboard",
|
|
803
824
|
type: "markdown",
|
|
804
825
|
content: e.content
|
|
805
826
|
}
|
|
806
|
-
) : null,
|
|
827
|
+
) : null, ar = (e = [], t = !1) => {
|
|
807
828
|
if (e.length === 0)
|
|
808
829
|
return null;
|
|
809
|
-
const
|
|
830
|
+
const o = e.filter(
|
|
810
831
|
(r) => r.is_renderable !== !1
|
|
811
|
-
).length,
|
|
812
|
-
(r,
|
|
832
|
+
).length, i = t && Tn ? jr(e) : "disabled", l = e.reduce(
|
|
833
|
+
(r, E, L) => E.is_renderable !== !1 ? L : r,
|
|
813
834
|
-1
|
|
814
835
|
);
|
|
815
|
-
return /* @__PURE__ */
|
|
816
|
-
|
|
836
|
+
return /* @__PURE__ */ a.jsx(
|
|
837
|
+
Or,
|
|
817
838
|
{
|
|
818
839
|
className: "slide-stage__content flex w-full flex-col gap-4",
|
|
819
|
-
mode:
|
|
820
|
-
children: e.map((r,
|
|
821
|
-
const
|
|
822
|
-
return /* @__PURE__ */
|
|
840
|
+
mode: i,
|
|
841
|
+
children: e.map((r, E) => {
|
|
842
|
+
const L = r.type === "html" && r.is_renderable === !1;
|
|
843
|
+
return /* @__PURE__ */ a.jsx(
|
|
823
844
|
"div",
|
|
824
845
|
{
|
|
825
|
-
ref: t &&
|
|
826
|
-
"aria-hidden":
|
|
827
|
-
className:
|
|
846
|
+
ref: t && E === l ? Dt : null,
|
|
847
|
+
"aria-hidden": L || void 0,
|
|
848
|
+
className: he(
|
|
828
849
|
"w-full shrink-0",
|
|
829
|
-
|
|
830
|
-
|
|
850
|
+
o === 1 && r.is_renderable !== !1 && "slide-element--single",
|
|
851
|
+
L ? "pointer-events-none fixed left-[-200vw] top-0 -z-10 h-[100dvh] w-[100vw] overflow-hidden opacity-0" : r.is_renderable === !1 && "hidden"
|
|
831
852
|
),
|
|
832
|
-
children:
|
|
833
|
-
replaceRootScreenHeightWithFull:
|
|
853
|
+
children: sr(r, {
|
|
854
|
+
replaceRootScreenHeightWithFull: o === 1 && r.type === "html" && r.is_renderable !== !1
|
|
834
855
|
})
|
|
835
856
|
},
|
|
836
|
-
r.sequence_number ?? `${r.type}-${
|
|
857
|
+
r.sequence_number ?? `${r.type}-${E}`
|
|
837
858
|
);
|
|
838
859
|
})
|
|
839
860
|
}
|
|
840
861
|
);
|
|
841
|
-
},
|
|
842
|
-
const e =
|
|
862
|
+
}, cr = n(() => {
|
|
863
|
+
const e = Se.current;
|
|
843
864
|
if (e) {
|
|
844
865
|
if (document.fullscreenElement === e) {
|
|
845
866
|
document.exitFullscreen().catch(() => {
|
|
@@ -849,219 +870,322 @@ const eo = (d, h) => d.length === h.length && d.every((U, he) => {
|
|
|
849
870
|
e.requestFullscreen?.().catch(() => {
|
|
850
871
|
});
|
|
851
872
|
}
|
|
852
|
-
}, []),
|
|
853
|
-
const e =
|
|
873
|
+
}, []), yn = n(() => {
|
|
874
|
+
const e = Ke.current;
|
|
854
875
|
e && e.scrollTo({
|
|
855
876
|
top: e.scrollHeight,
|
|
856
877
|
behavior: "smooth"
|
|
857
878
|
});
|
|
858
|
-
}, []),
|
|
859
|
-
(e) =>
|
|
860
|
-
currentIndex:
|
|
861
|
-
resolvedCurrentInteractionElement:
|
|
862
|
-
slideElementList:
|
|
863
|
-
targetSlideIndex:
|
|
879
|
+
}, []), Et = n(
|
|
880
|
+
(e) => In({
|
|
881
|
+
currentIndex: s,
|
|
882
|
+
resolvedCurrentInteractionElement: y,
|
|
883
|
+
slideElementList: P,
|
|
884
|
+
targetSlideIndex: Ye[e.audioIndex]
|
|
864
885
|
}),
|
|
865
886
|
[
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
887
|
+
y,
|
|
888
|
+
Ye,
|
|
889
|
+
s,
|
|
890
|
+
P
|
|
870
891
|
]
|
|
871
|
-
),
|
|
892
|
+
), ur = n(
|
|
872
893
|
(e, t) => {
|
|
873
|
-
const
|
|
874
|
-
return !
|
|
894
|
+
const i = S[e.audioIndex]?.audioKey, l = Ye[e.audioIndex];
|
|
895
|
+
return !i || l == null || !Et(e) ? !1 : (me(t), J.current = null, b(!1), ft(!1), ze(!1), Rt(t) && (ie(!0), v(!0)), l === s ? (Ee.current = null, N(), K(i), Ze(e), !0) : (Te.current = !0, N(), Ee.current = {
|
|
875
896
|
audioIndex: e.audioIndex,
|
|
876
|
-
audioKey:
|
|
877
|
-
slideIndex:
|
|
897
|
+
audioKey: i,
|
|
898
|
+
slideIndex: l,
|
|
878
899
|
timeMs: e.timeMs
|
|
879
|
-
},
|
|
900
|
+
}, Ut(l), !0));
|
|
880
901
|
},
|
|
881
902
|
[
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
903
|
+
S,
|
|
904
|
+
Ye,
|
|
905
|
+
Et,
|
|
906
|
+
s,
|
|
907
|
+
Ut,
|
|
908
|
+
Ze,
|
|
909
|
+
N,
|
|
889
910
|
v,
|
|
890
|
-
|
|
911
|
+
me
|
|
891
912
|
]
|
|
892
|
-
),
|
|
913
|
+
), dr = n(
|
|
893
914
|
(e) => {
|
|
894
|
-
|
|
915
|
+
me(e), Te.current = !0, J.current = null, b(!1), Rt(e) && (ie(!0), v(!0)), N(), Kt();
|
|
895
916
|
},
|
|
896
917
|
[
|
|
897
|
-
|
|
898
|
-
|
|
918
|
+
Kt,
|
|
919
|
+
N,
|
|
899
920
|
v,
|
|
900
|
-
|
|
921
|
+
me
|
|
901
922
|
]
|
|
902
|
-
),
|
|
923
|
+
), fr = n(
|
|
903
924
|
(e) => {
|
|
904
|
-
|
|
925
|
+
me(e), Te.current = !0, J.current = null, b(!1), Rt(e) && (ie(!0), v(!0)), N(), M();
|
|
905
926
|
},
|
|
906
927
|
[
|
|
907
|
-
|
|
908
|
-
|
|
928
|
+
M,
|
|
929
|
+
N,
|
|
909
930
|
v,
|
|
910
|
-
|
|
931
|
+
me
|
|
911
932
|
]
|
|
912
|
-
),
|
|
933
|
+
), mr = n(
|
|
913
934
|
({
|
|
914
935
|
loading: e,
|
|
915
936
|
reason: t
|
|
916
937
|
}) => {
|
|
917
|
-
if (
|
|
918
|
-
|
|
938
|
+
if (O) {
|
|
939
|
+
b(!1);
|
|
919
940
|
return;
|
|
920
941
|
}
|
|
921
|
-
if (!I ||
|
|
922
|
-
|
|
942
|
+
if (!I || F) {
|
|
943
|
+
b(!1);
|
|
923
944
|
return;
|
|
924
945
|
}
|
|
925
|
-
e && t &&
|
|
946
|
+
e && t && dt(t), b(mo(t, e));
|
|
926
947
|
},
|
|
927
948
|
[
|
|
928
949
|
I,
|
|
929
|
-
|
|
930
|
-
|
|
950
|
+
F,
|
|
951
|
+
O
|
|
931
952
|
]
|
|
932
953
|
);
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
}, [
|
|
936
|
-
const
|
|
954
|
+
c(() => {
|
|
955
|
+
O && b(!1);
|
|
956
|
+
}, [O]);
|
|
957
|
+
const pr = n(
|
|
937
958
|
(e) => {
|
|
938
|
-
const t =
|
|
959
|
+
const t = S[e]?.audioKey;
|
|
939
960
|
if (!t || !A || t !== A)
|
|
940
961
|
return;
|
|
941
|
-
const
|
|
962
|
+
const o = k.findIndex(
|
|
942
963
|
(r) => r === t
|
|
943
964
|
);
|
|
944
|
-
if (
|
|
945
|
-
|
|
965
|
+
if (o < 0) {
|
|
966
|
+
K(null);
|
|
946
967
|
return;
|
|
947
968
|
}
|
|
948
|
-
const
|
|
949
|
-
if (
|
|
950
|
-
|
|
969
|
+
const i = o + 1, l = k[i];
|
|
970
|
+
if (l) {
|
|
971
|
+
K(l);
|
|
951
972
|
return;
|
|
952
973
|
}
|
|
953
|
-
if (
|
|
954
|
-
const r =
|
|
955
|
-
|
|
974
|
+
if (K(null), ft(!0), b(!1), R) {
|
|
975
|
+
const r = s + 1, E = P[r];
|
|
976
|
+
sn && E?.type === "interaction" && (J.current = r), M();
|
|
956
977
|
return;
|
|
957
978
|
}
|
|
958
979
|
},
|
|
959
980
|
[
|
|
960
|
-
|
|
981
|
+
S,
|
|
961
982
|
R,
|
|
962
|
-
|
|
983
|
+
s,
|
|
963
984
|
A,
|
|
964
985
|
k,
|
|
986
|
+
M,
|
|
987
|
+
sn,
|
|
988
|
+
P
|
|
989
|
+
]
|
|
990
|
+
), yr = n(() => {
|
|
991
|
+
y && Je((e) => !e);
|
|
992
|
+
}, [y]), hr = n(() => {
|
|
993
|
+
Ue.current = !0, V(), g && Ce(!0);
|
|
994
|
+
}, [V, g]), gr = n(() => {
|
|
995
|
+
Ue.current = !1, v(!0);
|
|
996
|
+
}, [v]), pe = n(
|
|
997
|
+
(e) => {
|
|
998
|
+
e.stopPropagation(), w && v(!0);
|
|
999
|
+
},
|
|
1000
|
+
[w, v]
|
|
1001
|
+
), et = n(
|
|
1002
|
+
(e, t) => {
|
|
1003
|
+
const o = at.current;
|
|
1004
|
+
if (!o)
|
|
1005
|
+
return null;
|
|
1006
|
+
const i = e.getBoundingClientRect(), l = o.getBoundingClientRect();
|
|
1007
|
+
return {
|
|
1008
|
+
minX: t.x + l.left - i.left,
|
|
1009
|
+
maxX: t.x + l.right - i.right,
|
|
1010
|
+
minY: t.y + l.top - i.top,
|
|
1011
|
+
maxY: t.y + l.bottom - i.bottom
|
|
1012
|
+
};
|
|
1013
|
+
},
|
|
1014
|
+
[]
|
|
1015
|
+
);
|
|
1016
|
+
ao(() => {
|
|
1017
|
+
const e = xe.current;
|
|
1018
|
+
if (!De || !e) {
|
|
1019
|
+
Ae.current = null;
|
|
1020
|
+
return;
|
|
1021
|
+
}
|
|
1022
|
+
const t = Ae.current, o = e.getBoundingClientRect();
|
|
1023
|
+
if (!t || gt) {
|
|
1024
|
+
Ae.current = o;
|
|
1025
|
+
return;
|
|
1026
|
+
}
|
|
1027
|
+
const i = {
|
|
1028
|
+
x: x.x + t.left - o.left,
|
|
1029
|
+
y: x.y + t.top - o.top
|
|
1030
|
+
}, l = et(
|
|
1031
|
+
e,
|
|
1032
|
+
x
|
|
1033
|
+
), r = l ? Sn(i, l) : i;
|
|
1034
|
+
Ae.current = {
|
|
1035
|
+
left: o.left + r.x - x.x,
|
|
1036
|
+
top: o.top + r.y - x.y
|
|
1037
|
+
}, (r.x !== x.x || r.y !== x.y) && ht(r);
|
|
1038
|
+
}, [
|
|
1039
|
+
et,
|
|
1040
|
+
x,
|
|
1041
|
+
gt,
|
|
1042
|
+
w,
|
|
1043
|
+
g,
|
|
1044
|
+
De
|
|
1045
|
+
]);
|
|
1046
|
+
const Pt = n(
|
|
1047
|
+
(e) => {
|
|
1048
|
+
if (pe(e), e.button !== 0 || !e.currentTarget.isConnected || !xe.current)
|
|
1049
|
+
return;
|
|
1050
|
+
const t = et(
|
|
1051
|
+
xe.current,
|
|
1052
|
+
x
|
|
1053
|
+
);
|
|
1054
|
+
t && (e.preventDefault(), e.currentTarget.setPointerCapture(e.pointerId), we.current = {
|
|
1055
|
+
pointerId: e.pointerId,
|
|
1056
|
+
startClientX: e.clientX,
|
|
1057
|
+
startClientY: e.clientY,
|
|
1058
|
+
startOffset: x,
|
|
1059
|
+
bounds: t
|
|
1060
|
+
}, vt(!0));
|
|
1061
|
+
},
|
|
1062
|
+
[
|
|
1063
|
+
et,
|
|
1064
|
+
x,
|
|
1065
|
+
pe
|
|
1066
|
+
]
|
|
1067
|
+
), vr = n(
|
|
1068
|
+
(e) => {
|
|
1069
|
+
if (_) {
|
|
1070
|
+
pe(e);
|
|
1071
|
+
return;
|
|
1072
|
+
}
|
|
1073
|
+
if (ot(e.target)) {
|
|
1074
|
+
pe(e);
|
|
1075
|
+
return;
|
|
1076
|
+
}
|
|
1077
|
+
Pt(e);
|
|
1078
|
+
},
|
|
1079
|
+
[
|
|
1080
|
+
Pt,
|
|
965
1081
|
_,
|
|
966
|
-
|
|
967
|
-
E
|
|
1082
|
+
pe
|
|
968
1083
|
]
|
|
969
|
-
),
|
|
970
|
-
S && De((e) => !e);
|
|
971
|
-
}, [S]), sr = n(() => {
|
|
972
|
-
Oe.current = !0, V(), y && Ae(!0);
|
|
973
|
-
}, [V, y]), ar = n(() => {
|
|
974
|
-
Oe.current = !1, v(!0);
|
|
975
|
-
}, [v]), sn = n(
|
|
1084
|
+
), hn = n(
|
|
976
1085
|
(e) => {
|
|
977
|
-
|
|
1086
|
+
const t = we.current;
|
|
1087
|
+
!t || t.pointerId !== e.pointerId || (e.preventDefault(), e.stopPropagation(), ht(
|
|
1088
|
+
Sn(
|
|
1089
|
+
{
|
|
1090
|
+
x: t.startOffset.x + e.clientX - t.startClientX,
|
|
1091
|
+
y: t.startOffset.y + e.clientY - t.startClientY
|
|
1092
|
+
},
|
|
1093
|
+
t.bounds
|
|
1094
|
+
)
|
|
1095
|
+
));
|
|
978
1096
|
},
|
|
979
|
-
[
|
|
980
|
-
),
|
|
1097
|
+
[]
|
|
1098
|
+
), tt = n(
|
|
981
1099
|
(e) => {
|
|
982
|
-
|
|
1100
|
+
const t = we.current;
|
|
1101
|
+
!t || t.pointerId !== e.pointerId || (e.stopPropagation(), e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), we.current = null, vt(!1));
|
|
983
1102
|
},
|
|
984
|
-
[
|
|
985
|
-
),
|
|
1103
|
+
[]
|
|
1104
|
+
), Sr = n(
|
|
986
1105
|
(e) => {
|
|
987
|
-
|
|
1106
|
+
q(), Ft?.(e);
|
|
988
1107
|
},
|
|
989
|
-
[
|
|
990
|
-
),
|
|
1108
|
+
[q, Ft]
|
|
1109
|
+
), Ir = n(
|
|
1110
|
+
(e) => {
|
|
1111
|
+
q(), Bt?.(e);
|
|
1112
|
+
},
|
|
1113
|
+
[q, Bt]
|
|
1114
|
+
), br = n(() => {
|
|
991
1115
|
ie(!0), v(!0);
|
|
992
1116
|
}, [v]);
|
|
993
|
-
return
|
|
994
|
-
const e =
|
|
1117
|
+
return c(() => {
|
|
1118
|
+
const e = Nt.current, i = (e.length > 0 && e.length < oe.length && e.every((r, E) => r === oe[E]) ? C.slice(e.length) : []).some(
|
|
995
1119
|
(r) => r.is_new === !1
|
|
996
1120
|
);
|
|
997
|
-
if (
|
|
1121
|
+
if (Nt.current = oe, !i)
|
|
998
1122
|
return;
|
|
999
|
-
const
|
|
1000
|
-
const r =
|
|
1001
|
-
if (!r || !
|
|
1123
|
+
const l = window.requestAnimationFrame(() => {
|
|
1124
|
+
const r = Ke.current, E = Dt.current;
|
|
1125
|
+
if (!r || !E)
|
|
1002
1126
|
return;
|
|
1003
|
-
const
|
|
1127
|
+
const L = r.getBoundingClientRect(), nt = E.getBoundingClientRect(), Ne = r.scrollTop + (nt.top - L.top);
|
|
1004
1128
|
r.scrollTo({
|
|
1005
|
-
top: Math.max(
|
|
1129
|
+
top: Math.max(Ne, 0),
|
|
1006
1130
|
behavior: "smooth"
|
|
1007
1131
|
});
|
|
1008
1132
|
});
|
|
1009
1133
|
return () => {
|
|
1010
|
-
window.cancelAnimationFrame(
|
|
1134
|
+
window.cancelAnimationFrame(l);
|
|
1011
1135
|
};
|
|
1012
|
-
}, [C, oe]),
|
|
1013
|
-
if (!
|
|
1136
|
+
}, [C, oe]), c(() => {
|
|
1137
|
+
if (!Te.current || (Te.current = !1, C.length === 0))
|
|
1014
1138
|
return;
|
|
1015
1139
|
const e = window.requestAnimationFrame(() => {
|
|
1016
|
-
|
|
1140
|
+
yn();
|
|
1017
1141
|
});
|
|
1018
1142
|
return () => {
|
|
1019
1143
|
window.cancelAnimationFrame(e);
|
|
1020
1144
|
};
|
|
1021
|
-
}, [C,
|
|
1145
|
+
}, [C, yn]), /* @__PURE__ */ a.jsxs(
|
|
1022
1146
|
"section",
|
|
1023
1147
|
{
|
|
1024
|
-
ref:
|
|
1025
|
-
className:
|
|
1148
|
+
ref: Se,
|
|
1149
|
+
className: he(
|
|
1026
1150
|
"relative h-full w-full",
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1151
|
+
_ && "slide--mobile-device",
|
|
1152
|
+
Zt && "slide--browser-fullscreen",
|
|
1153
|
+
ce && "slide--mobile-landscape",
|
|
1154
|
+
Qt && "slide--mobile-landscape-native",
|
|
1155
|
+
En
|
|
1032
1156
|
),
|
|
1033
|
-
onClick:
|
|
1034
|
-
onFocusCapture:
|
|
1035
|
-
onPointerDown:
|
|
1036
|
-
...
|
|
1157
|
+
onClick: br,
|
|
1158
|
+
onFocusCapture: Ir,
|
|
1159
|
+
onPointerDown: Sr,
|
|
1160
|
+
...Pn,
|
|
1037
1161
|
children: [
|
|
1038
|
-
|
|
1162
|
+
Gn ? /* @__PURE__ */ a.jsx(
|
|
1039
1163
|
"div",
|
|
1040
1164
|
{
|
|
1041
1165
|
"aria-hidden": "true",
|
|
1042
1166
|
className: "pointer-events-none fixed left-0 top-0 z-[9999] h-[100vh] max-h-[100vh] w-[100vw]"
|
|
1043
1167
|
}
|
|
1044
1168
|
) : null,
|
|
1045
|
-
/* @__PURE__ */
|
|
1169
|
+
/* @__PURE__ */ a.jsxs(
|
|
1046
1170
|
"div",
|
|
1047
1171
|
{
|
|
1048
|
-
ref:
|
|
1049
|
-
className:
|
|
1172
|
+
ref: at,
|
|
1173
|
+
className: he(
|
|
1050
1174
|
"slide__viewport relative h-full min-h-0 w-full",
|
|
1051
|
-
|
|
1052
|
-
|
|
1175
|
+
ce && "slide__viewport--mobile-landscape",
|
|
1176
|
+
ce && !Kn && "slide__viewport--mobile-landscape-native"
|
|
1053
1177
|
),
|
|
1054
1178
|
children: [
|
|
1055
|
-
|
|
1056
|
-
/* @__PURE__ */
|
|
1179
|
+
Hn ? /* @__PURE__ */ a.jsxs("div", { className: "slide-landscape-header", children: [
|
|
1180
|
+
/* @__PURE__ */ a.jsx(
|
|
1057
1181
|
"button",
|
|
1058
1182
|
{
|
|
1059
1183
|
"aria-label": G?.backAriaLabel ?? $.fullscreenBackAriaLabel,
|
|
1060
1184
|
className: "slide-landscape-header__back",
|
|
1061
|
-
onClick:
|
|
1185
|
+
onClick: zn,
|
|
1062
1186
|
type: "button",
|
|
1063
|
-
children: /* @__PURE__ */
|
|
1064
|
-
|
|
1187
|
+
children: /* @__PURE__ */ a.jsx(
|
|
1188
|
+
ro,
|
|
1065
1189
|
{
|
|
1066
1190
|
className: "slide-landscape-header__icon h-6 w-6",
|
|
1067
1191
|
strokeWidth: 2.25
|
|
@@ -1069,29 +1193,29 @@ const eo = (d, h) => d.length === h.length && d.every((U, he) => {
|
|
|
1069
1193
|
)
|
|
1070
1194
|
}
|
|
1071
1195
|
),
|
|
1072
|
-
G?.content ? /* @__PURE__ */
|
|
1196
|
+
G?.content ? /* @__PURE__ */ a.jsx("div", { className: "min-w-0 flex-1 overflow-hidden", children: G.content }) : null
|
|
1073
1197
|
] }) : null,
|
|
1074
|
-
/* @__PURE__ */
|
|
1198
|
+
/* @__PURE__ */ a.jsx(
|
|
1075
1199
|
"div",
|
|
1076
1200
|
{
|
|
1077
|
-
className:
|
|
1201
|
+
className: he(
|
|
1078
1202
|
"h-full min-h-0 w-full",
|
|
1079
|
-
|
|
1080
|
-
|
|
1203
|
+
Yn && "slide__viewport-content--with-header",
|
|
1204
|
+
On ? "slide-content--single" : "grid gap-4"
|
|
1081
1205
|
),
|
|
1082
|
-
children: C.length > 0 ? /* @__PURE__ */
|
|
1206
|
+
children: C.length > 0 ? /* @__PURE__ */ a.jsx("div", { className: "slide-stage", children: /* @__PURE__ */ a.jsx("div", { ref: Ke, className: "slide-stage__layer w-full", children: Jn.map(
|
|
1083
1207
|
(e, t) => {
|
|
1084
|
-
const
|
|
1085
|
-
return /* @__PURE__ */
|
|
1208
|
+
const o = t === Wn;
|
|
1209
|
+
return /* @__PURE__ */ a.jsx(
|
|
1086
1210
|
"div",
|
|
1087
1211
|
{
|
|
1088
|
-
"data-active-step":
|
|
1089
|
-
"aria-hidden": !
|
|
1212
|
+
"data-active-step": o ? "true" : void 0,
|
|
1213
|
+
"aria-hidden": !o || void 0,
|
|
1090
1214
|
className: "w-full h-full",
|
|
1091
|
-
style: { display:
|
|
1092
|
-
children:
|
|
1215
|
+
style: { display: o ? void 0 : "none" },
|
|
1216
|
+
children: ar(
|
|
1093
1217
|
e.elementList,
|
|
1094
|
-
|
|
1218
|
+
o
|
|
1095
1219
|
)
|
|
1096
1220
|
},
|
|
1097
1221
|
e.sourceStepIndexes[0] ?? t
|
|
@@ -1100,126 +1224,129 @@ const eo = (d, h) => d.length === h.length && d.every((U, he) => {
|
|
|
1100
1224
|
) }) }) : null
|
|
1101
1225
|
}
|
|
1102
1226
|
),
|
|
1103
|
-
|
|
1104
|
-
|
|
1227
|
+
Bn ? /* @__PURE__ */ a.jsx(
|
|
1228
|
+
Er,
|
|
1105
1229
|
{
|
|
1106
|
-
message:
|
|
1107
|
-
|
|
1108
|
-
|
|
1230
|
+
message: uo(
|
|
1231
|
+
Cn,
|
|
1232
|
+
Dn
|
|
1109
1233
|
),
|
|
1110
1234
|
className: "absolute left-1/2 top-1/2 z-[3] -translate-x-1/2 -translate-y-1/2"
|
|
1111
1235
|
}
|
|
1112
1236
|
) : null,
|
|
1113
|
-
/* @__PURE__ */
|
|
1114
|
-
|
|
1237
|
+
/* @__PURE__ */ a.jsx(
|
|
1238
|
+
Mr,
|
|
1115
1239
|
{
|
|
1116
|
-
extraBottomOffset:
|
|
1117
|
-
hasPlayerGap:
|
|
1118
|
-
isEnabled:
|
|
1119
|
-
isPlayerHidden:
|
|
1240
|
+
extraBottomOffset: Vn,
|
|
1241
|
+
hasPlayerGap: w,
|
|
1242
|
+
isEnabled: $t && Nn,
|
|
1243
|
+
isPlayerHidden: g && !w,
|
|
1120
1244
|
playbackTimeStore: se,
|
|
1121
|
-
subtitleCues:
|
|
1245
|
+
subtitleCues: Xn
|
|
1122
1246
|
}
|
|
1123
1247
|
),
|
|
1124
|
-
|
|
1248
|
+
De ? /* @__PURE__ */ a.jsx(
|
|
1125
1249
|
"div",
|
|
1126
1250
|
{
|
|
1127
|
-
ref:
|
|
1251
|
+
ref: xe,
|
|
1128
1252
|
"data-player-keyboard-shortcuts-ignore": "true",
|
|
1129
|
-
className:
|
|
1253
|
+
className: he(
|
|
1130
1254
|
"slide-interaction-overlay",
|
|
1131
|
-
|
|
1255
|
+
w && g ? "slide-interaction-overlay--with-player" : "slide-interaction-overlay--standalone",
|
|
1256
|
+
!_ && "slide-interaction-overlay--draggable",
|
|
1257
|
+
gt && "slide-interaction-overlay--dragging"
|
|
1132
1258
|
),
|
|
1133
|
-
onClick:
|
|
1134
|
-
onPointerDown:
|
|
1259
|
+
onClick: pe,
|
|
1260
|
+
onPointerDown: vr,
|
|
1135
1261
|
onPointerDownCapture: (e) => {
|
|
1136
|
-
|
|
1262
|
+
ot(e.target) && We(!0);
|
|
1137
1263
|
},
|
|
1264
|
+
onPointerMove: hn,
|
|
1265
|
+
onPointerUp: tt,
|
|
1266
|
+
onPointerCancel: tt,
|
|
1138
1267
|
onFocusCapture: (e) => {
|
|
1139
|
-
|
|
1140
|
-
},
|
|
1141
|
-
onBlurCapture: (e) => {
|
|
1142
|
-
if (!fn(e.target))
|
|
1143
|
-
return;
|
|
1144
|
-
const t = e.relatedTarget;
|
|
1145
|
-
t instanceof HTMLElement && Ye.current?.contains(t) || ot(!1);
|
|
1268
|
+
ot(e.target) && We(!0);
|
|
1146
1269
|
},
|
|
1147
1270
|
onInputCapture: (e) => {
|
|
1148
|
-
|
|
1271
|
+
ot(e.target) && We(!0);
|
|
1149
1272
|
},
|
|
1150
|
-
style:
|
|
1151
|
-
children: /* @__PURE__ */
|
|
1152
|
-
|
|
1273
|
+
style: Qn,
|
|
1274
|
+
children: /* @__PURE__ */ a.jsx(
|
|
1275
|
+
An,
|
|
1153
1276
|
{
|
|
1154
|
-
content: String(
|
|
1277
|
+
content: String(y?.content ?? ""),
|
|
1155
1278
|
locale: h,
|
|
1156
|
-
defaultButtonText:
|
|
1157
|
-
defaultInputText:
|
|
1158
|
-
defaultSelectedValues:
|
|
1279
|
+
defaultButtonText: fn.buttonText ?? "",
|
|
1280
|
+
defaultInputText: fn.inputText ?? "",
|
|
1281
|
+
defaultSelectedValues: rr,
|
|
1159
1282
|
confirmButtonText: te?.confirmButtonText ?? $.interactionTexts.confirmButtonText,
|
|
1160
1283
|
copyButtonText: te?.copyButtonText ?? $.interactionTexts.copyButtonText,
|
|
1161
1284
|
copiedButtonText: te?.copiedButtonText ?? $.interactionTexts.copiedButtonText,
|
|
1162
|
-
onSend:
|
|
1163
|
-
|
|
1164
|
-
|
|
1285
|
+
onSend: lr,
|
|
1286
|
+
onDragHandlePointerCancel: tt,
|
|
1287
|
+
onDragHandlePointerDown: Pt,
|
|
1288
|
+
onDragHandlePointerMove: hn,
|
|
1289
|
+
onDragHandlePointerUp: tt,
|
|
1290
|
+
readonly: ir,
|
|
1291
|
+
title: te?.title ?? it ?? $.interactionTexts.title
|
|
1165
1292
|
}
|
|
1166
1293
|
)
|
|
1167
1294
|
}
|
|
1168
1295
|
) : null,
|
|
1169
|
-
|
|
1170
|
-
|
|
1296
|
+
g ? /* @__PURE__ */ a.jsx(
|
|
1297
|
+
Br.Provider,
|
|
1171
1298
|
{
|
|
1172
|
-
value:
|
|
1173
|
-
children: /* @__PURE__ */
|
|
1174
|
-
|
|
1299
|
+
value: Mn,
|
|
1300
|
+
children: /* @__PURE__ */ a.jsx(
|
|
1301
|
+
_r,
|
|
1175
1302
|
{
|
|
1176
|
-
audioList:
|
|
1177
|
-
className:
|
|
1303
|
+
audioList: S,
|
|
1304
|
+
className: he(
|
|
1178
1305
|
"absolute left-1/2 z-[2] -translate-x-1/2",
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
!
|
|
1306
|
+
Zt ? "bottom-3" : "-bottom-3",
|
|
1307
|
+
Y,
|
|
1308
|
+
!w && "pointer-events-none opacity-0"
|
|
1182
1309
|
),
|
|
1183
|
-
currentAudioIndex:
|
|
1184
|
-
defaultPlaying:
|
|
1310
|
+
currentAudioIndex: T,
|
|
1311
|
+
defaultPlaying: ut,
|
|
1185
1312
|
enableKeyboardShortcuts: ne,
|
|
1186
1313
|
isPlaybackPaused: W,
|
|
1187
|
-
isAutoAdvanceEnabled:
|
|
1314
|
+
isAutoAdvanceEnabled: Re,
|
|
1188
1315
|
locale: h,
|
|
1189
|
-
hasInteraction: !!
|
|
1316
|
+
hasInteraction: !!y,
|
|
1190
1317
|
isInteractionOpen: le,
|
|
1191
|
-
isSubtitleEnabled:
|
|
1192
|
-
onAutoAdvanceToggle:
|
|
1193
|
-
onLoadingChange:
|
|
1318
|
+
isSubtitleEnabled: $t,
|
|
1319
|
+
onAutoAdvanceToggle: Yt,
|
|
1320
|
+
onLoadingChange: mr,
|
|
1194
1321
|
onPlaybackStarted: () => {
|
|
1195
|
-
|
|
1322
|
+
ze(!0);
|
|
1196
1323
|
},
|
|
1197
|
-
onPlaybackPreferenceChange:
|
|
1324
|
+
onPlaybackPreferenceChange: nr,
|
|
1198
1325
|
onPlaybackTimeChange: se.setTime,
|
|
1199
1326
|
onSubtitleToggle: () => {
|
|
1200
|
-
|
|
1327
|
+
Ln((e) => !e);
|
|
1201
1328
|
},
|
|
1202
1329
|
nextDisabled: !R,
|
|
1203
|
-
onEnded:
|
|
1204
|
-
onFullscreen:
|
|
1205
|
-
isFullscreen:
|
|
1330
|
+
onEnded: pr,
|
|
1331
|
+
onFullscreen: cr,
|
|
1332
|
+
isFullscreen: Jt,
|
|
1206
1333
|
mobileViewMode: ae,
|
|
1207
|
-
settingsPortalContainer:
|
|
1208
|
-
onMobileViewModeChange:
|
|
1209
|
-
onControlsPointerEnter:
|
|
1210
|
-
onControlsPointerLeave:
|
|
1211
|
-
onInteractionToggle:
|
|
1212
|
-
onNext:
|
|
1213
|
-
onPrev:
|
|
1214
|
-
onSubtitleJump:
|
|
1215
|
-
canJumpToSubtitleTarget:
|
|
1216
|
-
prevDisabled: !
|
|
1217
|
-
showControls:
|
|
1218
|
-
subtitleSeekRequest:
|
|
1219
|
-
texts:
|
|
1220
|
-
customActionContext:
|
|
1334
|
+
settingsPortalContainer: at.current,
|
|
1335
|
+
onMobileViewModeChange: $n,
|
|
1336
|
+
onControlsPointerEnter: hr,
|
|
1337
|
+
onControlsPointerLeave: gr,
|
|
1338
|
+
onInteractionToggle: yr,
|
|
1339
|
+
onNext: fr,
|
|
1340
|
+
onPrev: dr,
|
|
1341
|
+
onSubtitleJump: ur,
|
|
1342
|
+
canJumpToSubtitleTarget: Et,
|
|
1343
|
+
prevDisabled: !_n,
|
|
1344
|
+
showControls: w,
|
|
1345
|
+
subtitleSeekRequest: Fn,
|
|
1346
|
+
texts: lt,
|
|
1347
|
+
customActionContext: xt,
|
|
1221
1348
|
customActions: Z,
|
|
1222
|
-
useAutoAdvanceToggle:
|
|
1349
|
+
useAutoAdvanceToggle: Me
|
|
1223
1350
|
}
|
|
1224
1351
|
)
|
|
1225
1352
|
}
|
|
@@ -1232,6 +1359,6 @@ const eo = (d, h) => d.length === h.length && d.every((U, he) => {
|
|
|
1232
1359
|
);
|
|
1233
1360
|
};
|
|
1234
1361
|
export {
|
|
1235
|
-
|
|
1362
|
+
Qo as default
|
|
1236
1363
|
};
|
|
1237
1364
|
//# sourceMappingURL=Slide.es.js.map
|