@instructure/studio-player 0.2.8 → 0.2.10

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.
@@ -1,13 +1,13 @@
1
- import './index-aLp7_0kW.css';var ze = Object.defineProperty;
2
- var Ke = (e, n, o) => n in e ? ze(e, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[n] = o;
3
- var x = (e, n, o) => Ke(e, typeof n != "symbol" ? n + "" : n, o);
1
+ import './index-DAULLpyh.css';var Ke = Object.defineProperty;
2
+ var De = (e, n, o) => n in e ? Ke(e, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[n] = o;
3
+ var N = (e, n, o) => De(e, typeof n != "symbol" ? n + "" : n, o);
4
4
  import { jsx as t, jsxs as s, Fragment as ee } from "react/jsx-runtime";
5
- import { createContext as te, useContext as P, useState as M, useCallback as p, useEffect as E, useMemo as Z, useRef as ve } from "react";
6
- import { useMediaPlayer as q, Spinner as Y, useMediaRemote as W, useMediaState as _, isTrackCaptionKind as De, Track as je, Captions as Ue, usePlaybackRateOptions as qe, useCaptionOptions as We, useVideoQualityOptions as Ge, useMediaStore as be, FullscreenButton as Ce, PlayButton as Qe, Poster as Ye, Time as re, TimeSlider as A, MuteButton as Je, VolumeSlider as D, MediaPlayer as Xe, MediaProvider as et } from "@vidstack/react";
7
- import { initReactI18next as tt, useTranslation as g } from "react-i18next";
5
+ import { createContext as te, useContext as L, useState as M, useCallback as p, useEffect as E, useMemo as Z, useRef as ve } from "react";
6
+ import { useMediaPlayer as q, Spinner as Y, useMediaRemote as W, useMediaState as _, isTrackCaptionKind as ze, Track as Ue, Captions as je, usePlaybackRateOptions as qe, useCaptionOptions as We, useVideoQualityOptions as Ge, useMediaStore as Ce, FullscreenButton as ge, PlayButton as Qe, Poster as Ye, Time as re, TimeSlider as A, MuteButton as Je, VolumeSlider as z, MediaPlayer as Xe, MediaProvider as et } from "@vidstack/react";
7
+ import { initReactI18next as tt, useTranslation as b } from "react-i18next";
8
8
  import nt from "i18next";
9
9
  import ot from "i18next-resources-to-backend";
10
- import { useFloating as ge, autoUpdate as ke, flip as ye, arrow as we, useDismiss as Le, useInteractions as Pe, FloatingFocusManager as it, FloatingArrow as Ne, shift as at, offset as st } from "@floating-ui/react";
10
+ import { useFloating as be, autoUpdate as we, flip as ke, arrow as ye, useDismiss as xe, useInteractions as Le, FloatingFocusManager as it, FloatingArrow as Pe, shift as at, offset as st } from "@floating-ui/react";
11
11
  const ct = (e, n, o) => {
12
12
  const i = e[n];
13
13
  return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((a, c) => {
@@ -34,15 +34,15 @@ nt.use(tt).use(
34
34
  escapeValue: !1
35
35
  }
36
36
  });
37
- const xe = te(null);
37
+ const Ne = te(null);
38
38
  function lt({
39
39
  children: e,
40
40
  contextValue: n
41
41
  }) {
42
- return /* @__PURE__ */ t(xe.Provider, { value: n, children: e });
42
+ return /* @__PURE__ */ t(Ne.Provider, { value: n, children: e });
43
43
  }
44
44
  function v() {
45
- const e = P(xe);
45
+ const e = L(Ne);
46
46
  if (!e)
47
47
  throw new Error(
48
48
  "useStudioPlayerContext must be used within a StudioPlayerContextProvider"
@@ -61,11 +61,11 @@ function rt({
61
61
  onInteractivePinClick: u,
62
62
  interactiveMenuElements: m,
63
63
  darkMode: h,
64
- children: b,
65
- forceComments: w,
66
- disableCaptionSettings: y
64
+ children: C,
65
+ forceComments: y,
66
+ disableCaptionSettings: k
67
67
  }) {
68
- const C = {
68
+ const g = {
69
69
  hideFullScreen: e,
70
70
  comments: n,
71
71
  annotations: o,
@@ -79,13 +79,13 @@ function rt({
79
79
  hasComments: n.length > 0,
80
80
  hasAnnotations: o.length > 0,
81
81
  hasQuizmarkers: i.length > 0,
82
- forceComments: w,
83
- disableCaptionSettings: y
82
+ forceComments: y,
83
+ disableCaptionSettings: k
84
84
  };
85
- return /* @__PURE__ */ t(Me.Provider, { value: C, children: b });
85
+ return /* @__PURE__ */ t(Me.Provider, { value: g, children: C });
86
86
  }
87
87
  function S() {
88
- const e = P(Me);
88
+ const e = L(Me);
89
89
  if (!e)
90
90
  throw new Error(
91
91
  "useStudioPlayerPropsContext must be used within a StudioPlayerPropsContextProvider"
@@ -118,12 +118,12 @@ function ht({ annotations: e }) {
118
118
  return;
119
119
  const m = [];
120
120
  for (const h of e) {
121
- const b = mt(h, l);
122
- n.addEventListener("time-update", b), m.push(b);
121
+ const C = mt(h, l);
122
+ n.addEventListener("time-update", C), m.push(C);
123
123
  }
124
124
  if (a) {
125
125
  const h = e.find(
126
- (b) => b.id === a.id
126
+ (C) => C.id === a.id
127
127
  );
128
128
  h ? c(h) : (c(null), o.enableInteractions());
129
129
  }
@@ -133,7 +133,7 @@ function ht({ annotations: e }) {
133
133
  };
134
134
  }, [n, e]), a ? /* @__PURE__ */ t("div", { className: dt.annotationOverlay, children: a.render(u) }) : null;
135
135
  }
136
- const pt = "_media-buffering-indicator_1fwjr_1", _t = "_media-buffering-spinner_1fwjr_17", ft = "_media-buffering-spin_1fwjr_17", vt = "_media-buffering-track_1fwjr_22", bt = "_media-buffering-track-fill_1fwjr_27", j = {
136
+ const pt = "_media-buffering-indicator_1fwjr_1", _t = "_media-buffering-spinner_1fwjr_17", ft = "_media-buffering-spin_1fwjr_17", vt = "_media-buffering-track_1fwjr_22", Ct = "_media-buffering-track-fill_1fwjr_27", U = {
137
137
  "media-buffering-indicator": "_media-buffering-indicator_1fwjr_1",
138
138
  mediaBufferingIndicator: pt,
139
139
  "media-buffering-spinner": "_media-buffering-spinner_1fwjr_17",
@@ -143,15 +143,15 @@ const pt = "_media-buffering-indicator_1fwjr_1", _t = "_media-buffering-spinner_
143
143
  "media-buffering-track": "_media-buffering-track_1fwjr_22",
144
144
  mediaBufferingTrack: vt,
145
145
  "media-buffering-track-fill": "_media-buffering-track-fill_1fwjr_27",
146
- mediaBufferingTrackFill: bt
146
+ mediaBufferingTrackFill: Ct
147
147
  };
148
- function Ct() {
149
- return /* @__PURE__ */ t("div", { className: j.mediaBufferingIndicator, children: /* @__PURE__ */ s(Y.Root, { className: j.mediaBufferingSpinner, size: 96, children: [
150
- /* @__PURE__ */ t(Y.Track, { className: j.mediaBufferingTrack, width: 8 }),
148
+ function gt() {
149
+ return /* @__PURE__ */ t("div", { className: U.mediaBufferingIndicator, children: /* @__PURE__ */ s(Y.Root, { className: U.mediaBufferingSpinner, size: 96, children: [
150
+ /* @__PURE__ */ t(Y.Track, { className: U.mediaBufferingTrack, width: 8 }),
151
151
  /* @__PURE__ */ t(
152
152
  Y.TrackFill,
153
153
  {
154
- className: j.mediaBufferingTrackFill,
154
+ className: U.mediaBufferingTrackFill,
155
155
  width: 8
156
156
  }
157
157
  )
@@ -164,8 +164,8 @@ const Te = (e) => /* @__PURE__ */ s("svg", { width: 24, height: 24, viewBox: "0
164
164
  /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_149_104406", children: /* @__PURE__ */ t("rect", { width: 24, height: 24, fill: "white" }) }) }),
165
165
  /* @__PURE__ */ t("g", { clipPath: "url(#clip0_149_104406)", children: /* @__PURE__ */ t("path", { d: "M21.3333 0H2.66666C1.18666 0 0 1.35 0 3V21C0 22.65 1.18666 24 2.66666 24H21.3333C22.8 24 24 22.65 24 21V3C24 1.35 22.8 0 21.3333 0ZM10.6667 10.6667H8.66666V10H6V14H8.66666V13.3333H10.6667V14.6667C10.6667 15.4 10.0667 16 9.33334 16H5.33334C4.6 16 4 15.4 4 14.6667V9.33334C4 8.6 4.6 8 5.33334 8H9.33334C10.0667 8 10.6667 8.6 10.6667 9.33334V10.6667ZM20.0042 10.6667H18.0042V10H15.3375V14H18.0042V13.3333H20.0042V14.6667C20.0042 15.4 19.4042 16 18.6708 16H14.6708C13.9375 16 13.3375 15.4 13.3375 14.6667V9.33334C13.3375 8.6 13.9375 8 14.6708 8H18.6708C19.4042 8 20.0042 8.6 20.0042 9.33334V10.6667Z", fill: "currentColor" }) })
166
166
  ] });
167
- function gt() {
168
- const e = W(), n = _("textTrack"), o = _("hasCaptions"), i = n && De(n), a = v(), c = p(
167
+ function bt() {
168
+ const e = W(), n = _("textTrack"), o = _("hasCaptions"), i = n && ze(n), a = v(), c = p(
169
169
  (l) => {
170
170
  e.toggleCaptions(l.nativeEvent);
171
171
  },
@@ -183,14 +183,14 @@ function gt() {
183
183
  }
184
184
  ) : null;
185
185
  }
186
- const kt = "_captions_13epz_1", yt = {
187
- captions: kt
186
+ const wt = "_captions_13epz_1", kt = {
187
+ captions: wt
188
188
  };
189
- function wt({ captions: e }) {
189
+ function yt({ captions: e }) {
190
190
  const n = _("hasCaptions"), o = v();
191
191
  return /* @__PURE__ */ s(ee, { children: [
192
192
  e.map((i) => /* @__PURE__ */ t(
193
- je,
193
+ Ue,
194
194
  {
195
195
  kind: "subtitles",
196
196
  type: i.type,
@@ -210,12 +210,12 @@ function wt({ captions: e }) {
210
210
  "--captions-color": o.state.captionsInvertColors ? "rgba(22, 22, 22)" : "white",
211
211
  "--captions-background-color": o.state.captionsInvertColors ? "rgba(255, 255, 255, 0.75)" : "rgba(22, 22, 22, 0.75)"
212
212
  },
213
- children: /* @__PURE__ */ t(Ue, { className: yt.captions })
213
+ children: /* @__PURE__ */ t(je, { className: kt.captions })
214
214
  }
215
215
  ) : null
216
216
  ] });
217
217
  }
218
- const B = [0.5, 0.75, 1, 1.25, 1.5, 2], Lt = [0.5, 1, 2, 3, 4], Se = 5, Pt = (e) => {
218
+ const B = [0.5, 0.75, 1, 1.25, 1.5, 2], xt = [0.5, 1, 2, 3, 4], Se = 5, Lt = (e) => {
219
219
  const [, n] = M({});
220
220
  return Z(() => {
221
221
  let o = [];
@@ -234,20 +234,20 @@ const B = [0.5, 0.75, 1, 1.25, 1.5, 2], Lt = [0.5, 1, 2, 3, 4], Se = 5, Pt = (e)
234
234
  }
235
235
  };
236
236
  }, []);
237
- }, Nt = (e, n, o) => {
237
+ }, Pt = (e, n, o) => {
238
238
  let i = !1;
239
239
  return (a) => {
240
240
  const c = a.detail.currentTime;
241
241
  c >= e.timestamp && c < e.timestamp + n && !i && (o.add(e), i = !0), (c < e.timestamp || c >= e.timestamp + n) && i && (o.remove(e), i = !1);
242
242
  };
243
- }, xt = (e, n = 5) => {
244
- const o = q(), i = Pt(n);
243
+ }, Nt = (e, n = 5) => {
244
+ const o = q(), i = Lt(n);
245
245
  return E(() => {
246
246
  if (!o)
247
247
  return;
248
248
  const a = [];
249
249
  for (const c of e) {
250
- const l = Nt(c, Se, i);
250
+ const l = Pt(c, Se, i);
251
251
  a.push(l), o.addEventListener("time-update", l);
252
252
  }
253
253
  return o.dispatchEvent(
@@ -260,17 +260,17 @@ const B = [0.5, 0.75, 1, 1.25, 1.5, 2], Lt = [0.5, 1, 2, 3, 4], Se = 5, Pt = (e)
260
260
  i.clear();
261
261
  };
262
262
  }, [o, i, e]), i;
263
- }, Mt = "_comments-overlay_agbjl_1", Tt = "_comments-container_agbjl_9", It = "_comment_agbjl_1", St = "_comment-text_agbjl_44", Ht = "_comment-author-avatar_agbjl_67", Vt = "_comment-author-name_agbjl_86", R = {
264
- "comments-overlay": "_comments-overlay_agbjl_1",
263
+ }, Mt = "_comments-overlay_2woxe_1", Tt = "_comments-container_2woxe_9", It = "_comment_2woxe_1", St = "_comment-text_2woxe_45", Ht = "_comment-author-avatar_2woxe_68", Vt = "_comment-author-name_2woxe_87", R = {
264
+ "comments-overlay": "_comments-overlay_2woxe_1",
265
265
  commentsOverlay: Mt,
266
- "comments-container": "_comments-container_agbjl_9",
266
+ "comments-container": "_comments-container_2woxe_9",
267
267
  commentsContainer: Tt,
268
268
  comment: It,
269
- "comment-text": "_comment-text_agbjl_44",
269
+ "comment-text": "_comment-text_2woxe_45",
270
270
  commentText: St,
271
- "comment-author-avatar": "_comment-author-avatar_agbjl_67",
271
+ "comment-author-avatar": "_comment-author-avatar_2woxe_68",
272
272
  commentAuthorAvatar: Ht,
273
- "comment-author-name": "_comment-author-name_agbjl_86",
273
+ "comment-author-name": "_comment-author-name_2woxe_87",
274
274
  commentAuthorName: Vt
275
275
  };
276
276
  function Bt({ comment: e }) {
@@ -289,7 +289,7 @@ function Bt({ comment: e }) {
289
289
  }
290
290
  const Rt = 5;
291
291
  function Et({ comments: e }) {
292
- const n = v(), o = xt(e, Rt), i = !!_("textTrack"), a = o.map((c) => /* @__PURE__ */ t(Bt, { comment: c }, c.id));
292
+ const n = v(), o = Nt(e, Rt), i = !!_("textTrack"), a = o.map((c) => /* @__PURE__ */ t(Bt, { comment: c }, c.id));
293
293
  return e.length > 0 && n.state.commentsEnabled ? /* @__PURE__ */ t(
294
294
  "div",
295
295
  {
@@ -301,19 +301,19 @@ function Et({ comments: e }) {
301
301
  }
302
302
  ) : null;
303
303
  }
304
- const At = "_root_fph0z_1", Ot = "_left-controls_fph0z_28", Ft = "_right-controls_fph0z_34", Zt = "_indicators_fph0z_40", $t = "_normal-timeline_fph0z_49", zt = "_compact-timeline_fph0z_55", V = {
304
+ const At = "_root_1x28e_1", Ot = "_left-controls_1x28e_28", Ft = "_right-controls_1x28e_34", Zt = "_indicators_1x28e_40", $t = "_normal-timeline_1x28e_49", Kt = "_compact-timeline_1x28e_55", V = {
305
305
  root: At,
306
- "left-controls": "_left-controls_fph0z_28",
306
+ "left-controls": "_left-controls_1x28e_28",
307
307
  leftControls: Ot,
308
- "right-controls": "_right-controls_fph0z_34",
308
+ "right-controls": "_right-controls_1x28e_34",
309
309
  rightControls: Ft,
310
310
  indicators: Zt,
311
- "normal-timeline": "_normal-timeline_fph0z_49",
311
+ "normal-timeline": "_normal-timeline_1x28e_49",
312
312
  normalTimeline: $t,
313
- "compact-timeline": "_compact-timeline_fph0z_55",
314
- compactTimeline: zt
313
+ "compact-timeline": "_compact-timeline_1x28e_55",
314
+ compactTimeline: Kt
315
315
  };
316
- function Kt({
316
+ function Dt({
317
317
  darkMode: e,
318
318
  playerRef: n,
319
319
  showCaptionsButton: o = !0
@@ -327,36 +327,36 @@ function Kt({
327
327
  /* @__PURE__ */ t(ro, {}),
328
328
  /* @__PURE__ */ t(hi, {})
329
329
  ] }),
330
- /* @__PURE__ */ t("div", { className: V.indicators, children: /* @__PURE__ */ t(wo, {}) }),
330
+ /* @__PURE__ */ t("div", { className: V.indicators, children: /* @__PURE__ */ t(yo, {}) }),
331
331
  /* @__PURE__ */ t(he, { className: V.compactTimeline }),
332
332
  /* @__PURE__ */ s("div", { className: V.rightControls, children: [
333
- o && /* @__PURE__ */ t(gt, {}),
333
+ o && /* @__PURE__ */ t(bt, {}),
334
334
  /* @__PURE__ */ t(Rn, {}),
335
335
  /* @__PURE__ */ t(Yn, {})
336
336
  ] })
337
337
  ] });
338
338
  }
339
- const N = te(null), Dt = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6 3.03704L7.03704 2L14.037 9L7.03704 16L6 14.963L11.963 9L6 3.03704Z", fill: "currentColor" }) }), jt = "_menu-hint_k49ve_1", Ut = "_menu-button_k49ve_5", qt = "_menu-label_k49ve_37", Wt = "_menu-icon_k49ve_42", U = {
339
+ const P = te(null), zt = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6 3.03704L7.03704 2L14.037 9L7.03704 16L6 14.963L11.963 9L6 3.03704Z", fill: "currentColor" }) }), Ut = "_menu-hint_k49ve_1", jt = "_menu-button_k49ve_5", qt = "_menu-label_k49ve_37", Wt = "_menu-icon_k49ve_42", j = {
340
340
  "menu-hint": "_menu-hint_k49ve_1",
341
- menuHint: jt,
341
+ menuHint: Ut,
342
342
  "menu-button": "_menu-button_k49ve_5",
343
- menuButton: Ut,
343
+ menuButton: jt,
344
344
  "menu-label": "_menu-label_k49ve_37",
345
345
  menuLabel: qt,
346
346
  "menu-icon": "_menu-icon_k49ve_42",
347
347
  menuIcon: Wt
348
348
  };
349
349
  function $({ label: e, hint: n, onClick: o, Icon: i }) {
350
- return /* @__PURE__ */ s("button", { type: "button", className: U.menuButton, onClick: o, children: [
351
- i && /* @__PURE__ */ t(i, { className: U.menuIcon }),
352
- /* @__PURE__ */ t("span", { className: U.menuLabel, children: e }),
353
- /* @__PURE__ */ t("span", { className: U.menuHint, children: n }),
354
- /* @__PURE__ */ t(Dt, {})
350
+ return /* @__PURE__ */ s("button", { type: "button", className: j.menuButton, onClick: o, children: [
351
+ i && /* @__PURE__ */ t(i, { className: j.menuIcon }),
352
+ /* @__PURE__ */ t("span", { className: j.menuLabel, children: e }),
353
+ /* @__PURE__ */ t("span", { className: j.menuHint, children: n }),
354
+ /* @__PURE__ */ t(zt, {})
355
355
  ] });
356
356
  }
357
357
  const Gt = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.42229 2.82911C4.71149 1.83006 6.23876 1.19768 7.8383 1L7.96797 2.05432C6.55867 2.22862 5.21101 2.7866 4.07273 3.66874L3.42229 2.82911ZM5.44493 6.71393L9.49745 10.7665L17.0924 3.1705L17.8438 3.92297L9.49745 12.2693L4.69352 7.46534L5.44493 6.71393ZM17.932 8.83829C17.8618 8.27074 17.7364 7.70745 17.5589 7.16222L16.5482 7.49276C16.7055 7.97209 16.816 8.46843 16.8766 8.96689C16.917 9.29742 16.9372 9.6269 16.9372 9.96594C16.9372 10.305 16.917 10.6344 16.8777 10.9639C16.7033 12.3732 16.1454 13.7209 15.2632 14.8592L16.1029 15.5096C17.1019 14.2204 17.7343 12.6931 17.932 11.0925C17.9766 10.7205 18 10.3486 18 9.96594C18 9.58332 17.9766 9.21134 17.932 8.83829ZM1.05432 8.96795L0 8.83829C0.197684 7.23874 0.830061 5.71147 1.82911 4.42228L2.66874 5.07272C1.7866 6.211 1.22862 7.55865 1.05432 8.96795ZM0 11.0936C0.197684 12.6931 0.830061 14.2204 1.82911 15.5096L2.66874 14.8591C1.7866 13.7209 1.22862 12.3732 1.05432 10.9639L0 11.0936ZM10.0939 1.00011C11.6935 1.19673 13.2207 1.83017 14.5099 2.82922L13.8595 3.66884C12.7202 2.7867 11.3736 2.22872 9.96426 2.05442L10.0939 1.00011Z", fill: "currentColor" }) });
358
358
  function Qt() {
359
- const e = P(N), n = _("playbackRate"), { t: o } = g(), i = p(() => {
359
+ const e = L(P), n = _("playbackRate"), { t: o } = b(), i = p(() => {
360
360
  e && e.setPage("speed");
361
361
  }, [e]);
362
362
  return e ? /* @__PURE__ */ t(
@@ -370,7 +370,7 @@ function Qt() {
370
370
  ) : null;
371
371
  }
372
372
  function Yt() {
373
- const e = P(N), n = _("hasCaptions"), o = _("textTrack"), { t: i } = g(), a = p(() => {
373
+ const e = L(P), n = _("hasCaptions"), o = _("textTrack"), { t: i } = b(), a = p(() => {
374
374
  e && e.setPage("captions");
375
375
  }, [e]);
376
376
  return e && n ? /* @__PURE__ */ t(
@@ -392,7 +392,7 @@ const Jt = (e) => /* @__PURE__ */ s("svg", { width: 18, height: 18, viewBox: "0
392
392
  ] })
393
393
  ] });
394
394
  function Xt() {
395
- const e = P(N), n = _("autoQuality"), o = _("quality"), { t: i } = g(), a = p(() => {
395
+ const e = L(P), n = _("autoQuality"), o = _("quality"), { t: i } = b(), a = p(() => {
396
396
  e && e.setPage("quality");
397
397
  }, [e]);
398
398
  return e && o ? /* @__PURE__ */ t(
@@ -450,7 +450,7 @@ function ne({
450
450
  }
451
451
  const rn = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1 0V12.7489H5.44V18L10.5007 12.7489H16.582V0H1ZM2 1H15.58V11.7339H9.98655L6.52667 15.25V11.7339H2V1ZM5.24963 5.35011H12.3323V4.24835H5.24963V5.35011ZM5.24963 8.18462H9.50067V7.08285H5.24963V8.18462Z", fill: "currentColor" }) });
452
452
  function un() {
453
- const { t: e } = g(), n = S(), o = v();
453
+ const { t: e } = b(), n = S(), o = v();
454
454
  return !n.forceComments && n.hasComments ? /* @__PURE__ */ t(
455
455
  ne,
456
456
  {
@@ -476,7 +476,7 @@ const dn = "_main-menu_7h96l_1", mn = {
476
476
  mainMenu: dn
477
477
  };
478
478
  function hn() {
479
- const e = P(N);
479
+ const e = L(P);
480
480
  return H(e == null ? void 0 : e.toggle), /* @__PURE__ */ s("div", { className: mn.mainMenu, children: [
481
481
  /* @__PURE__ */ t(Qt, {}),
482
482
  /* @__PURE__ */ t(Yt, {}),
@@ -484,7 +484,7 @@ function hn() {
484
484
  /* @__PURE__ */ t(Xt, {})
485
485
  ] });
486
486
  }
487
- const G = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.1347 3.00061L6.55157 13.5825L0.865302 7.89624L0 8.76154L6.55157 15.3131L17.9988 3.86469L17.1347 3.00061Z", fill: "currentColor" }) }), z = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.037 3.03704L6.07407 9L12.037 14.963L11 16L4 9L11 2L12.037 3.03704Z", fill: "currentColor" }) }), pn = "_menu-container_1bjr3_1", _n = "_menu-options_1bjr3_6", fn = "_menu-heading_1bjr3_11", vn = "_check-icon_1bjr3_27", bn = "_menu-item-label_1bjr3_33", Cn = "_menu-item_1bjr3_33", gn = "_menu-back-button_1bjr3_66", r = {
487
+ const G = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.1347 3.00061L6.55157 13.5825L0.865302 7.89624L0 8.76154L6.55157 15.3131L17.9988 3.86469L17.1347 3.00061Z", fill: "currentColor" }) }), K = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.037 3.03704L6.07407 9L12.037 14.963L11 16L4 9L11 2L12.037 3.03704Z", fill: "currentColor" }) }), pn = "_menu-container_1bjr3_1", _n = "_menu-options_1bjr3_6", fn = "_menu-heading_1bjr3_11", vn = "_check-icon_1bjr3_27", Cn = "_menu-item-label_1bjr3_33", gn = "_menu-item_1bjr3_33", bn = "_menu-back-button_1bjr3_66", r = {
488
488
  "menu-container": "_menu-container_1bjr3_1",
489
489
  menuContainer: pn,
490
490
  "menu-options": "_menu-options_1bjr3_6",
@@ -494,17 +494,17 @@ const G = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0
494
494
  "check-icon": "_check-icon_1bjr3_27",
495
495
  checkIcon: vn,
496
496
  "menu-item-label": "_menu-item-label_1bjr3_33",
497
- menuItemLabel: bn,
497
+ menuItemLabel: Cn,
498
498
  "menu-item": "_menu-item_1bjr3_33",
499
- menuItem: Cn,
499
+ menuItem: gn,
500
500
  "menu-back-button": "_menu-back-button_1bjr3_66",
501
- menuBackButton: gn
501
+ menuBackButton: bn
502
502
  };
503
- function kn() {
504
- const e = P(N), n = qe({
503
+ function wn() {
504
+ const e = L(P), n = qe({
505
505
  rates: B,
506
506
  normalLabel: "1x"
507
- }), { t: o } = g();
507
+ }), { t: o } = b();
508
508
  return H(e == null ? void 0 : e.backToMain), e ? /* @__PURE__ */ s("div", { className: r.menuContainer, children: [
509
509
  /* @__PURE__ */ s(
510
510
  "button",
@@ -513,7 +513,7 @@ function kn() {
513
513
  className: r.menuBackButton,
514
514
  onClick: e.backToMain,
515
515
  children: [
516
- /* @__PURE__ */ t(z, {}),
516
+ /* @__PURE__ */ t(K, {}),
517
517
  /* @__PURE__ */ t("span", { children: o("BACK") })
518
518
  ]
519
519
  }
@@ -538,8 +538,8 @@ function kn() {
538
538
  )) })
539
539
  ] }) : null;
540
540
  }
541
- function yn() {
542
- const e = P(N), n = _("textTrack"), { t: o } = g(), i = p(() => {
541
+ function kn() {
542
+ const e = L(P), n = _("textTrack"), { t: o } = b(), i = p(() => {
543
543
  e && e.setPage("captionLanguage");
544
544
  }, [e]);
545
545
  return e ? /* @__PURE__ */ t(
@@ -551,8 +551,8 @@ function yn() {
551
551
  }
552
552
  ) : null;
553
553
  }
554
- function wn() {
555
- const { t: e } = g(), n = v(), o = P(N), i = p(() => {
554
+ function yn() {
555
+ const { t: e } = b(), n = v(), o = L(P), i = p(() => {
556
556
  o && o.setPage("captionFontSize");
557
557
  }, [o]);
558
558
  return o ? /* @__PURE__ */ t(
@@ -564,8 +564,8 @@ function wn() {
564
564
  }
565
565
  ) : null;
566
566
  }
567
- function Ln() {
568
- const { t: e } = g(), n = v();
567
+ function xn() {
568
+ const { t: e } = b(), n = v();
569
569
  return /* @__PURE__ */ t(
570
570
  ne,
571
571
  {
@@ -575,8 +575,8 @@ function Ln() {
575
575
  }
576
576
  );
577
577
  }
578
- function Pn() {
579
- const { t: e } = g(), n = v();
578
+ function Ln() {
579
+ const { t: e } = b(), n = v();
580
580
  return /* @__PURE__ */ t(
581
581
  ne,
582
582
  {
@@ -586,8 +586,8 @@ function Pn() {
586
586
  }
587
587
  );
588
588
  }
589
- function Nn() {
590
- const e = P(N), { t: n } = g(), { disableCaptionSettings: o } = v();
589
+ function Pn() {
590
+ const e = L(P), { t: n } = b(), { disableCaptionSettings: o } = v();
591
591
  return H(e == null ? void 0 : e.backToMain), e ? /* @__PURE__ */ s("div", { className: r.menuContainer, children: [
592
592
  /* @__PURE__ */ s(
593
593
  "button",
@@ -596,20 +596,20 @@ function Nn() {
596
596
  className: r.menuBackButton,
597
597
  onClick: e.backToMain,
598
598
  children: [
599
- /* @__PURE__ */ t(z, {}),
599
+ /* @__PURE__ */ t(K, {}),
600
600
  /* @__PURE__ */ t("span", { children: n("BACK") })
601
601
  ]
602
602
  }
603
603
  ),
604
604
  /* @__PURE__ */ t("strong", { className: r.menuHeading, children: n("CAPTIONS") }),
605
- !o && /* @__PURE__ */ t(yn, {}),
606
- /* @__PURE__ */ t(wn, {}),
607
- /* @__PURE__ */ t(Ln, {}),
608
- /* @__PURE__ */ t(Pn, {})
605
+ !o && /* @__PURE__ */ t(kn, {}),
606
+ /* @__PURE__ */ t(yn, {}),
607
+ /* @__PURE__ */ t(xn, {}),
608
+ /* @__PURE__ */ t(Ln, {})
609
609
  ] }) : null;
610
610
  }
611
- function xn() {
612
- const e = P(N), n = We(), { t: o } = g();
611
+ function Nn() {
612
+ const e = L(P), n = We(), { t: o } = b();
613
613
  return H(e == null ? void 0 : e.backToCaptions), e ? /* @__PURE__ */ s("div", { className: r.menuContainer, children: [
614
614
  /* @__PURE__ */ s(
615
615
  "button",
@@ -618,7 +618,7 @@ function xn() {
618
618
  className: r.menuBackButton,
619
619
  onClick: e.backToCaptions,
620
620
  children: [
621
- /* @__PURE__ */ t(z, {}),
621
+ /* @__PURE__ */ t(K, {}),
622
622
  /* @__PURE__ */ t("span", { children: o("BACK") })
623
623
  ]
624
624
  }
@@ -644,7 +644,7 @@ function xn() {
644
644
  ] }) : null;
645
645
  }
646
646
  function Mn() {
647
- const e = v(), n = P(N), { t: o } = g();
647
+ const e = v(), n = L(P), { t: o } = b();
648
648
  return H(n == null ? void 0 : n.backToCaptions), n ? /* @__PURE__ */ s("div", { className: r.menuContainer, children: [
649
649
  /* @__PURE__ */ s(
650
650
  "button",
@@ -653,13 +653,13 @@ function Mn() {
653
653
  className: r.menuBackButton,
654
654
  onClick: n.backToCaptions,
655
655
  children: [
656
- /* @__PURE__ */ t(z, {}),
656
+ /* @__PURE__ */ t(K, {}),
657
657
  /* @__PURE__ */ t("span", { children: o("BACK") })
658
658
  ]
659
659
  }
660
660
  ),
661
661
  /* @__PURE__ */ t("strong", { className: r.menuHeading, children: o("CAPTIONS") }),
662
- /* @__PURE__ */ t("div", { role: "menu", className: r.menuOptions, children: Lt.map((i) => /* @__PURE__ */ s(
662
+ /* @__PURE__ */ t("div", { role: "menu", className: r.menuOptions, children: xt.map((i) => /* @__PURE__ */ s(
663
663
  "button",
664
664
  {
665
665
  type: "button",
@@ -682,7 +682,7 @@ function Mn() {
682
682
  ] }) : null;
683
683
  }
684
684
  function Tn() {
685
- const e = P(N), n = Ge({ sort: "descending" }), o = _("autoQuality"), { t: i } = g();
685
+ const e = L(P), n = Ge({ sort: "descending" }), o = _("autoQuality"), { t: i } = b();
686
686
  return H(e == null ? void 0 : e.backToMain), e ? /* @__PURE__ */ s("div", { className: r.menuContainer, children: [
687
687
  /* @__PURE__ */ s(
688
688
  "button",
@@ -691,7 +691,7 @@ function Tn() {
691
691
  className: r.menuBackButton,
692
692
  onClick: e.backToMain,
693
693
  children: [
694
- /* @__PURE__ */ t(z, {}),
694
+ /* @__PURE__ */ t(K, {}),
695
695
  /* @__PURE__ */ t("span", { children: i("BACK") })
696
696
  ]
697
697
  }
@@ -718,9 +718,9 @@ function Tn() {
718
718
  }
719
719
  const In = {
720
720
  main: hn,
721
- speed: kn,
722
- captions: Nn,
723
- captionLanguage: xn,
721
+ speed: wn,
722
+ captions: Pn,
723
+ captionLanguage: Nn,
724
724
  captionFontSize: Mn,
725
725
  quality: Tn
726
726
  };
@@ -733,20 +733,20 @@ function Sn() {
733
733
  n("captions");
734
734
  }, []), u = p(() => {
735
735
  n("main");
736
- }, []), m = Z(() => In[e], [e]), h = ve(null), { refs: b, floatingStyles: w, context: y } = ge({
736
+ }, []), m = Z(() => In[e], [e]), h = ve(null), { refs: C, floatingStyles: y, context: k } = be({
737
737
  open: o,
738
738
  onOpenChange: (T) => {
739
739
  i(T), u();
740
740
  },
741
741
  placement: "top-end",
742
- whileElementsMounted: ke,
742
+ whileElementsMounted: we,
743
743
  middleware: [
744
- ye(),
745
- we({
744
+ ke(),
745
+ ye({
746
746
  element: h
747
747
  })
748
748
  ]
749
- }), C = Le(y, { escapeKey: !1 }), { getReferenceProps: f, getFloatingProps: k } = Pe([C]);
749
+ }), g = xe(k, { escapeKey: !1 }), { getReferenceProps: f, getFloatingProps: w } = Le([g]);
750
750
  return {
751
751
  Page: m,
752
752
  open: o,
@@ -755,11 +755,11 @@ function Sn() {
755
755
  backToCaptions: l,
756
756
  backToMain: u,
757
757
  arrowRef: h,
758
- refs: b,
759
- floatingStyles: w,
760
- context: y,
758
+ refs: C,
759
+ floatingStyles: y,
760
+ context: k,
761
761
  getReferenceProps: f,
762
- getFloatingProps: k
762
+ getFloatingProps: w
763
763
  };
764
764
  }
765
765
  const Hn = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.0692 12C21.0692 11.4776 21.0212 10.944 20.9238 10.4104L23.5511 8.13318L21.0579 3.87247L17.7431 4.97788C16.9059 4.28329 15.9515 3.73553 14.9449 3.37271L14.2616 0H9.28941L8.60612 3.37129C7.58823 3.73553 6.65082 4.27482 5.80659 4.97647L2.49318 3.87247L0 8.13318L2.62729 10.4104C2.52988 10.944 2.48188 11.4776 2.48188 12C2.48188 12.5224 2.52988 13.056 2.62729 13.5896L0 15.8668L2.49318 20.1275L5.808 19.0221C6.64518 19.7167 7.59953 20.2645 8.60612 20.6273L9.28941 24H14.2616L14.9449 20.6287C15.9614 20.2645 16.9002 19.7252 17.7445 19.0235L21.0579 20.1289L23.5511 15.8682L20.9238 13.5911C21.0212 13.056 21.0692 12.5224 21.0692 12ZM11.7755 16.9412C9.05082 16.9412 6.83435 14.7247 6.83435 12C6.83435 9.2753 9.05082 7.05883 11.7755 7.05883C14.5002 7.05883 16.7167 9.2753 16.7167 12C16.7167 14.7247 14.5002 16.9412 11.7755 16.9412Z", fill: "currentColor" }) }), Vn = "_settings-menu_hxlsv_1", Bn = "_arrow_hxlsv_15", de = {
@@ -779,9 +779,9 @@ function Rn() {
779
779
  getReferenceProps: u,
780
780
  open: m,
781
781
  refs: h,
782
- setPage: b,
783
- toggle: w
784
- } = Sn(), y = v(), { t: C } = g();
782
+ setPage: C,
783
+ toggle: y
784
+ } = Sn(), k = v(), { t: g } = b();
785
785
  return /* @__PURE__ */ s(ee, { children: [
786
786
  /* @__PURE__ */ t(
787
787
  "button",
@@ -789,10 +789,10 @@ function Rn() {
789
789
  ref: h.setReference,
790
790
  type: "button",
791
791
  className: "controls-button",
792
- "aria-label": C("SETTINGS"),
793
- onClick: w,
792
+ "aria-label": g("SETTINGS"),
793
+ onClick: y,
794
794
  "aria-expanded": m,
795
- tabIndex: y != null && y.state.interactionsDisabled ? -1 : 0,
795
+ tabIndex: k != null && k.state.interactionsDisabled ? -1 : 0,
796
796
  ...u(),
797
797
  children: /* @__PURE__ */ t(Hn, { className: "controls-button-icon icon-rotate" })
798
798
  }
@@ -806,14 +806,14 @@ function Rn() {
806
806
  ...l(),
807
807
  children: [
808
808
  /* @__PURE__ */ t(
809
- N.Provider,
809
+ P.Provider,
810
810
  {
811
- value: { setPage: b, backToMain: i, backToCaptions: o, toggle: w },
811
+ value: { setPage: C, backToMain: i, backToCaptions: o, toggle: y },
812
812
  children: /* @__PURE__ */ t(e, {})
813
813
  }
814
814
  ),
815
815
  /* @__PURE__ */ t(
816
- Ne,
816
+ Pe,
817
817
  {
818
818
  ref: n,
819
819
  context: a,
@@ -835,7 +835,7 @@ function He(e, n = 1e3) {
835
835
  }, [i, n]), a ? /* @__PURE__ */ t(e, {}) : null;
836
836
  };
837
837
  }
838
- const oe = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { d: "M 11,21 H 5 V 3 h 6 z m 8,0 H 13 V 3 h 6 z", fill: "currentColor" }) }), ie = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { d: "M 5,2 V 22 L 21,12.000665 Z", fill: "currentColor" }) }), Ve = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1179 1.41211V22.589H11.2943L5.64717 16.9418V7.05928L11.2943 1.41211H14.1179ZM4.23537 7.05928V16.9418H2.11769C0.957618 16.9418 0.0189406 16.0147 0.00028305 14.8592L0 14.8241V9.17696C0 8.01689 0.927077 7.07822 2.0826 7.05956L2.11769 7.05928H4.23537ZM22.3744 7.93711L24 9.56119L21.5623 11.9988L24 14.4365L22.3744 16.0621L19.9383 13.6245L17.5006 16.0621L15.875 14.4365L18.3127 11.9988L15.875 9.56119L17.5006 7.93711L19.9383 10.3748L22.3744 7.93711Z", fill: "currentColor" }) }), Be = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.64714 6.98017V16.8627L11.2943 22.5099H14.1179V1.33301H11.2943L5.64714 6.98017ZM0 9.09785V14.745C0 15.9168 0.945899 16.8627 2.11768 16.8627H4.23537V6.98017H2.11768C0.945899 6.98017 0 7.92607 0 9.09785ZM18.3527 11.9207C18.3527 10.6134 17.8388 9.36962 16.9056 8.4209L17.9094 7.43123C19.1066 8.64396 19.7645 10.2393 19.7645 11.9207C19.7645 13.6036 19.1066 15.1989 17.9094 16.4116L16.9056 15.422C17.8388 14.4732 18.3527 13.2295 18.3527 11.9207Z", fill: "currentColor" }) }), Re = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.64714 16.8627V6.98017L11.2943 1.33301H14.1179V22.5099H11.2943L5.64714 16.8627ZM0 14.745V9.09785C0 7.92607 0.945899 6.98017 2.11768 6.98017H4.23537V16.8627H2.11768C0.945899 16.8627 0 15.9168 0 14.745ZM16.9056 8.4209C17.8388 9.36962 18.3527 10.6134 18.3527 11.9207C18.3527 13.2295 17.8388 14.4732 16.9056 15.422L17.9094 16.4116C19.1066 15.1989 19.7645 13.6036 19.7645 11.9207C19.7645 10.2393 19.1066 8.64396 17.9094 7.43123L16.9056 8.4209ZM19.9016 5.43185L20.8997 4.43372C22.9002 6.43422 24 9.09403 24 11.9219C24 14.7497 22.9002 17.4081 20.8997 19.4086L19.9016 18.4104C21.6353 16.6782 22.5882 14.3727 22.5882 11.9219C22.5882 9.46957 21.6353 7.16553 19.9016 5.43185Z", fill: "currentColor" }) }), En = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.691 3.99987V10.5281L0 4.00655V20.2596L10.691 13.7367V20.2663L23.9987 12.1331L10.691 3.99987Z", fill: "currentColor" }) }), An = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.309 3.99987L0 12.1331L13.309 20.2663V13.7367L23.9987 20.2596V4.00655L13.309 10.5281V3.99987Z", fill: "currentColor" }) }), On = "_feedback-overlay_v4lbu_1", Fn = "_feedback-message_v4lbu_14", Zn = "_feedback-icon_v4lbu_30", $n = "_feedback-icon-animation_v4lbu_1", L = {
838
+ const oe = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { d: "M 11,21 H 5 V 3 h 6 z m 8,0 H 13 V 3 h 6 z", fill: "currentColor" }) }), ie = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { d: "M 5,2 V 22 L 21,12.000665 Z", fill: "currentColor" }) }), Ve = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1179 1.41211V22.589H11.2943L5.64717 16.9418V7.05928L11.2943 1.41211H14.1179ZM4.23537 7.05928V16.9418H2.11769C0.957618 16.9418 0.0189406 16.0147 0.00028305 14.8592L0 14.8241V9.17696C0 8.01689 0.927077 7.07822 2.0826 7.05956L2.11769 7.05928H4.23537ZM22.3744 7.93711L24 9.56119L21.5623 11.9988L24 14.4365L22.3744 16.0621L19.9383 13.6245L17.5006 16.0621L15.875 14.4365L18.3127 11.9988L15.875 9.56119L17.5006 7.93711L19.9383 10.3748L22.3744 7.93711Z", fill: "currentColor" }) }), Be = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.64714 6.98017V16.8627L11.2943 22.5099H14.1179V1.33301H11.2943L5.64714 6.98017ZM0 9.09785V14.745C0 15.9168 0.945899 16.8627 2.11768 16.8627H4.23537V6.98017H2.11768C0.945899 6.98017 0 7.92607 0 9.09785ZM18.3527 11.9207C18.3527 10.6134 17.8388 9.36962 16.9056 8.4209L17.9094 7.43123C19.1066 8.64396 19.7645 10.2393 19.7645 11.9207C19.7645 13.6036 19.1066 15.1989 17.9094 16.4116L16.9056 15.422C17.8388 14.4732 18.3527 13.2295 18.3527 11.9207Z", fill: "currentColor" }) }), Re = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.64714 16.8627V6.98017L11.2943 1.33301H14.1179V22.5099H11.2943L5.64714 16.8627ZM0 14.745V9.09785C0 7.92607 0.945899 6.98017 2.11768 6.98017H4.23537V16.8627H2.11768C0.945899 16.8627 0 15.9168 0 14.745ZM16.9056 8.4209C17.8388 9.36962 18.3527 10.6134 18.3527 11.9207C18.3527 13.2295 17.8388 14.4732 16.9056 15.422L17.9094 16.4116C19.1066 15.1989 19.7645 13.6036 19.7645 11.9207C19.7645 10.2393 19.1066 8.64396 17.9094 7.43123L16.9056 8.4209ZM19.9016 5.43185L20.8997 4.43372C22.9002 6.43422 24 9.09403 24 11.9219C24 14.7497 22.9002 17.4081 20.8997 19.4086L19.9016 18.4104C21.6353 16.6782 22.5882 14.3727 22.5882 11.9219C22.5882 9.46957 21.6353 7.16553 19.9016 5.43185Z", fill: "currentColor" }) }), En = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.691 3.99987V10.5281L0 4.00655V20.2596L10.691 13.7367V20.2663L23.9987 12.1331L10.691 3.99987Z", fill: "currentColor" }) }), An = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.309 3.99987L0 12.1331L13.309 20.2663V13.7367L23.9987 20.2596V4.00655L13.309 10.5281V3.99987Z", fill: "currentColor" }) }), On = "_feedback-overlay_v4lbu_1", Fn = "_feedback-message_v4lbu_14", Zn = "_feedback-icon_v4lbu_30", $n = "_feedback-icon-animation_v4lbu_1", x = {
839
839
  "feedback-overlay": "_feedback-overlay_v4lbu_1",
840
840
  feedbackOverlay: On,
841
841
  "feedback-message": "_feedback-message_v4lbu_14",
@@ -845,63 +845,63 @@ const oe = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0
845
845
  "feedback-icon-animation": "_feedback-icon-animation_v4lbu_1",
846
846
  feedbackIconAnimation: $n
847
847
  };
848
- function zn() {
848
+ function Kn() {
849
849
  var o;
850
- const e = be();
850
+ const e = Ce();
851
851
  switch ((o = e.lastKeyboardAction) == null ? void 0 : o.action) {
852
852
  case "togglePaused":
853
- return /* @__PURE__ */ t("i", { className: L.feedbackIcon, children: e.paused ? /* @__PURE__ */ t(oe, {}) : /* @__PURE__ */ t(ie, {}) });
853
+ return /* @__PURE__ */ t("i", { className: x.feedbackIcon, children: e.paused ? /* @__PURE__ */ t(oe, {}) : /* @__PURE__ */ t(ie, {}) });
854
854
  case "toggleCaptions":
855
855
  case "nextCaptionLanguage":
856
856
  case "previousCaptionLanguage":
857
- return e.hasCaptions ? /* @__PURE__ */ t("i", { className: L.feedbackIcon, children: /* @__PURE__ */ t(Ie, {}) }) : null;
857
+ return e.hasCaptions ? /* @__PURE__ */ t("i", { className: x.feedbackIcon, children: /* @__PURE__ */ t(Ie, {}) }) : null;
858
858
  case "volumeUp":
859
859
  case "volumeDown":
860
860
  case "toggleMuted":
861
- return /* @__PURE__ */ t("i", { className: L.feedbackIcon, children: e.muted || e.volume === 0 ? /* @__PURE__ */ t(Ve, {}) : e.volume >= 0.5 ? /* @__PURE__ */ t(Re, {}) : /* @__PURE__ */ t(Be, {}) });
861
+ return /* @__PURE__ */ t("i", { className: x.feedbackIcon, children: e.muted || e.volume === 0 ? /* @__PURE__ */ t(Ve, {}) : e.volume >= 0.5 ? /* @__PURE__ */ t(Re, {}) : /* @__PURE__ */ t(Be, {}) });
862
862
  case "seekForward":
863
863
  case "seekForward10":
864
- return /* @__PURE__ */ t("i", { className: L.feedbackIcon, children: /* @__PURE__ */ t(En, { className: "right" }) });
864
+ return /* @__PURE__ */ t("i", { className: x.feedbackIcon, children: /* @__PURE__ */ t(En, { className: "right" }) });
865
865
  case "seekBackward":
866
866
  case "seekBackward10":
867
- return /* @__PURE__ */ t("i", { className: L.feedbackIcon, children: /* @__PURE__ */ t(An, { className: "left" }) });
867
+ return /* @__PURE__ */ t("i", { className: x.feedbackIcon, children: /* @__PURE__ */ t(An, { className: "left" }) });
868
868
  default:
869
869
  return null;
870
870
  }
871
871
  }
872
- function Kn() {
872
+ function Dn() {
873
873
  var i;
874
- const { t: e } = g(), n = be();
874
+ const { t: e } = b(), n = Ce();
875
875
  switch ((i = n.lastKeyboardAction) == null ? void 0 : i.action) {
876
876
  case "toggleCaptions":
877
877
  case "nextCaptionLanguage":
878
878
  case "previousCaptionLanguage":
879
- return /* @__PURE__ */ t("div", { className: L.feedbackMessage, children: n.textTrack ? e("CAPTION_LANGUAGE", { language: n.textTrack.label }) : `${e("CAPTIONS")}: ${e("OFF")}` });
879
+ return /* @__PURE__ */ t("div", { className: x.feedbackMessage, children: n.textTrack ? e("CAPTION_LANGUAGE", { language: n.textTrack.label }) : `${e("CAPTIONS")}: ${e("OFF")}` });
880
880
  case "volumeUp":
881
881
  case "volumeDown":
882
882
  case "toggleMuted":
883
- return /* @__PURE__ */ t("div", { className: L.feedbackMessage, children: n.muted || n.volume === 0 ? e("MUTED") : e("VOLUME", { volume: (n.volume * 100).toFixed(0) }) });
883
+ return /* @__PURE__ */ t("div", { className: x.feedbackMessage, children: n.muted || n.volume === 0 ? e("MUTED") : e("VOLUME", { volume: (n.volume * 100).toFixed(0) }) });
884
884
  case "increasePlaybackRate":
885
885
  case "decreasePlaybackRate":
886
886
  case "resetPlaybackRate":
887
- return /* @__PURE__ */ t("div", { className: L.feedbackMessage, children: e("PLAYBACK_SPEED_MESSAGE", { speed: n.playbackRate }) });
887
+ return /* @__PURE__ */ t("div", { className: x.feedbackMessage, children: e("PLAYBACK_SPEED_MESSAGE", { speed: n.playbackRate }) });
888
888
  case "seekForward":
889
- return /* @__PURE__ */ t("div", { className: L.feedbackMessage, children: e("SEEK_FORWARD", { seconds: 5 }) });
889
+ return /* @__PURE__ */ t("div", { className: x.feedbackMessage, children: e("SEEK_FORWARD", { seconds: 5 }) });
890
890
  case "seekForward10":
891
- return /* @__PURE__ */ t("div", { className: L.feedbackMessage, children: e("SEEK_FORWARD", { seconds: 10 }) });
891
+ return /* @__PURE__ */ t("div", { className: x.feedbackMessage, children: e("SEEK_FORWARD", { seconds: 10 }) });
892
892
  case "seekBackward":
893
- return /* @__PURE__ */ t("div", { className: L.feedbackMessage, children: e("SEEK_BACKWARD", { seconds: 5 }) });
893
+ return /* @__PURE__ */ t("div", { className: x.feedbackMessage, children: e("SEEK_BACKWARD", { seconds: 5 }) });
894
894
  case "seekBackward10":
895
- return /* @__PURE__ */ t("div", { className: L.feedbackMessage, children: e("SEEK_BACKWARD", { seconds: 10 }) });
895
+ return /* @__PURE__ */ t("div", { className: x.feedbackMessage, children: e("SEEK_BACKWARD", { seconds: 10 }) });
896
896
  default:
897
897
  return null;
898
898
  }
899
899
  }
900
- const Dn = He(zn, 500), jn = He(Kn, 1e3);
901
- function Un() {
902
- return /* @__PURE__ */ s("div", { className: L.feedbackOverlay, children: [
903
- /* @__PURE__ */ t(Dn, {}),
904
- /* @__PURE__ */ t(jn, {})
900
+ const zn = He(Kn, 500), Un = He(Dn, 1e3);
901
+ function jn() {
902
+ return /* @__PURE__ */ s("div", { className: x.feedbackOverlay, children: [
903
+ /* @__PURE__ */ t(zn, {}),
904
+ /* @__PURE__ */ t(Un, {})
905
905
  ] });
906
906
  }
907
907
  const qn = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1383 0.999867V3.66268H18.4561L3.66281 18.4546V14.1382H1V23H9.86449V20.3372H5.54542L20.3387 5.54528V9.86303H23.0001V0.999867H14.1383Z", fill: "currentColor" }) }), Wn = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.562 6.58944L22.1514 0L24.0005 1.84907L17.4111 8.43851H21.6506V11.0552H12.9453V2.34861H15.562V6.58944ZM2.34861 15.5615V12.9461H11.0539V21.6501H8.43982V17.4106L1.84907 24L0 22.1509L6.59075 15.5615H2.34861Z", fill: "currentColor" }) }), Gn = "_full-screen-button_1xm32_2", Qn = {
@@ -911,7 +911,7 @@ const qn = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0
911
911
  function Yn() {
912
912
  const e = _("fullscreen"), n = v();
913
913
  return S().hideFullScreen ? null : /* @__PURE__ */ t(
914
- Ce,
914
+ ge,
915
915
  {
916
916
  tabIndex: n.state.interactionsDisabled ? -1 : 0,
917
917
  className: `controls-button ${Qn.fullScreenButton}`,
@@ -939,7 +939,7 @@ const to = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0
939
939
  closeButton: io
940
940
  };
941
941
  function ao({ onClose: e }) {
942
- const { t: n } = g();
942
+ const { t: n } = b();
943
943
  H(e);
944
944
  const o = (i) => {
945
945
  i && i.focus();
@@ -1052,22 +1052,22 @@ function ao({ onClose: e }) {
1052
1052
  );
1053
1053
  }
1054
1054
  function so() {
1055
- const [e, n] = M(!1), [o, i] = M(!1), [a, c] = M(!1), l = v(), u = _("playing"), m = W(), { t: h } = g(), b = p(() => {
1055
+ const [e, n] = M(!1), [o, i] = M(!1), [a, c] = M(!1), l = v(), u = _("playing"), m = W(), { t: h } = b(), C = p(() => {
1056
1056
  n(!0), l.disableInteractions(), u && (c(!0), m.pause());
1057
- }, [u, m, l]), w = p(() => {
1057
+ }, [u, m, l]), y = p(() => {
1058
1058
  n(!1), i(!0), l.enableInteractions(), a && (c(!1), m.play());
1059
- }, [a, m, l]), y = p(
1060
- (C) => o && (C == null ? void 0 : C.focus()),
1059
+ }, [a, m, l]), k = p(
1060
+ (g) => o && (g == null ? void 0 : g.focus()),
1061
1061
  [o]
1062
1062
  );
1063
- return e ? /* @__PURE__ */ t(ao, { onClose: w }) : /* @__PURE__ */ t(
1063
+ return e ? /* @__PURE__ */ t(ao, { onClose: y }) : /* @__PURE__ */ t(
1064
1064
  "button",
1065
1065
  {
1066
- ref: y,
1066
+ ref: k,
1067
1067
  "aria-label": h("KEYBOARD_SHORTCUTS"),
1068
1068
  type: "button",
1069
1069
  className: X.keyboardShortcutsButton,
1070
- onClick: b,
1070
+ onClick: C,
1071
1071
  tabIndex: l.state.interactionsDisabled ? -1 : 0,
1072
1072
  children: /* @__PURE__ */ t(to, {})
1073
1073
  }
@@ -1101,7 +1101,7 @@ function ho({ src: e }) {
1101
1101
  const n = _("source");
1102
1102
  return n.type === "video/youtube" || n.type === "video/vimeo" ? null : /* @__PURE__ */ t(Ye, { src: e, className: mo.poster });
1103
1103
  }
1104
- const po = "_small-layout-overlay_1vli4_1", _o = "_small-layout-button_1vli4_14", fo = "_small-layout-icon-play_1vli4_24", vo = "_small-layout-icon-pause_1vli4_30", bo = "_full-screen-close-icon_1vli4_36", Co = "_fade-out_1vli4_1", O = {
1104
+ const po = "_small-layout-overlay_1vli4_1", _o = "_small-layout-button_1vli4_14", fo = "_small-layout-icon-play_1vli4_24", vo = "_small-layout-icon-pause_1vli4_30", Co = "_full-screen-close-icon_1vli4_36", go = "_fade-out_1vli4_1", O = {
1105
1105
  "small-layout-overlay": "_small-layout-overlay_1vli4_1",
1106
1106
  smallLayoutOverlay: po,
1107
1107
  "small-layout-button": "_small-layout-button_1vli4_14",
@@ -1111,71 +1111,71 @@ const po = "_small-layout-overlay_1vli4_1", _o = "_small-layout-button_1vli4_14"
1111
1111
  "small-layout-icon-pause": "_small-layout-icon-pause_1vli4_30",
1112
1112
  smallLayoutIconPause: vo,
1113
1113
  "full-screen-close-icon": "_full-screen-close-icon_1vli4_36",
1114
- fullScreenCloseIcon: bo,
1114
+ fullScreenCloseIcon: Co,
1115
1115
  "fade-out": "_fade-out_1vli4_1",
1116
- fadeOut: Co
1116
+ fadeOut: go
1117
1117
  };
1118
- function go() {
1118
+ function bo() {
1119
1119
  return /* @__PURE__ */ s("div", { className: O.smallLayoutOverlay, children: [
1120
- /* @__PURE__ */ t(Ce, { className: O.fullScreenCloseIcon, children: /* @__PURE__ */ t(Ee, {}) }),
1120
+ /* @__PURE__ */ t(ge, { className: O.fullScreenCloseIcon, children: /* @__PURE__ */ t(Ee, {}) }),
1121
1121
  /* @__PURE__ */ s("i", { className: O.smallLayoutButton, children: [
1122
1122
  /* @__PURE__ */ t(ie, { className: O.smallLayoutIconPlay }),
1123
1123
  /* @__PURE__ */ t(oe, { className: O.smallLayoutIconPause })
1124
1124
  ] })
1125
1125
  ] });
1126
1126
  }
1127
- const ko = "_time-indicator_1rlpb_1", yo = {
1127
+ const wo = "_time-indicator_1rlpb_1", ko = {
1128
1128
  "time-indicator": "_time-indicator_1rlpb_1",
1129
- timeIndicator: ko
1129
+ timeIndicator: wo
1130
1130
  };
1131
- function wo() {
1132
- return /* @__PURE__ */ s("div", { className: yo.timeIndicator, children: [
1131
+ function yo() {
1132
+ return /* @__PURE__ */ s("div", { className: ko.timeIndicator, children: [
1133
1133
  /* @__PURE__ */ t(re, { type: "current" }),
1134
1134
  "/",
1135
1135
  /* @__PURE__ */ t(re, { type: "duration" })
1136
1136
  ] });
1137
1137
  }
1138
- const Lo = "_comment-markers_19b45_1", Po = "_comment-marker_19b45_1", No = "_timeline-wrapper_19b45_21", xo = "_track_19b45_35", Mo = "_thumb_19b45_48", To = "_root_19b45_62", Io = "_track-inner_19b45_92", So = "_progress_19b45_98", Ho = "_track-fill_19b45_104", Vo = "_pins_19b45_121", Bo = "_pin-button_19b45_134", Ro = "_annotation-pin_19b45_154", Eo = "_quiz-pin_19b45_159", Ao = "_annotation-pin-child_19b45_164", Oo = "_quiz-pin-child_19b45_168", Fo = "_interactive-pin-container_19b45_173", Zo = "_interactive-pin-wrapper_19b45_183", $o = "_interactive-pin-icon_19b45_189", zo = "_interactive-pin_19b45_173", Ko = "_bg_19b45_203", Do = "_symbol_19b45_207", jo = "_interactive-pin-button_19b45_212", Uo = "_interactive-pin-menu_19b45_232", qo = "_interactive-pin-menu-item_19b45_246", Wo = "_arrow_19b45_267", d = {
1139
- "comment-markers": "_comment-markers_19b45_1",
1140
- commentMarkers: Lo,
1141
- "comment-marker": "_comment-marker_19b45_1",
1142
- commentMarker: Po,
1143
- "timeline-wrapper": "_timeline-wrapper_19b45_21",
1144
- timelineWrapper: No,
1145
- track: xo,
1138
+ const xo = "_comment-markers_49pse_1", Lo = "_comment-marker_49pse_1", Po = "_timeline-wrapper_49pse_21", No = "_track_49pse_35", Mo = "_thumb_49pse_48", To = "_root_49pse_62", Io = "_track-inner_49pse_92", So = "_progress_49pse_98", Ho = "_track-fill_49pse_104", Vo = "_pins_49pse_121", Bo = "_pin-button_49pse_134", Ro = "_annotation-pin_49pse_154", Eo = "_quiz-pin_49pse_159", Ao = "_annotation-pin-child_49pse_164", Oo = "_quiz-pin-child_49pse_168", Fo = "_interactive-pin-container_49pse_173", Zo = "_interactive-pin-wrapper_49pse_183", $o = "_interactive-pin-icon_49pse_189", Ko = "_interactive-pin_49pse_173", Do = "_bg_49pse_203", zo = "_symbol_49pse_207", Uo = "_interactive-pin-button_49pse_212", jo = "_interactive-pin-menu_49pse_232", qo = "_interactive-pin-menu-item_49pse_246", Wo = "_arrow_49pse_267", d = {
1139
+ "comment-markers": "_comment-markers_49pse_1",
1140
+ commentMarkers: xo,
1141
+ "comment-marker": "_comment-marker_49pse_1",
1142
+ commentMarker: Lo,
1143
+ "timeline-wrapper": "_timeline-wrapper_49pse_21",
1144
+ timelineWrapper: Po,
1145
+ track: No,
1146
1146
  thumb: Mo,
1147
1147
  root: To,
1148
- "track-inner": "_track-inner_19b45_92",
1148
+ "track-inner": "_track-inner_49pse_92",
1149
1149
  trackInner: Io,
1150
1150
  progress: So,
1151
- "track-fill": "_track-fill_19b45_104",
1151
+ "track-fill": "_track-fill_49pse_104",
1152
1152
  trackFill: Ho,
1153
1153
  pins: Vo,
1154
- "pin-button": "_pin-button_19b45_134",
1154
+ "pin-button": "_pin-button_49pse_134",
1155
1155
  pinButton: Bo,
1156
- "annotation-pin": "_annotation-pin_19b45_154",
1156
+ "annotation-pin": "_annotation-pin_49pse_154",
1157
1157
  annotationPin: Ro,
1158
- "quiz-pin": "_quiz-pin_19b45_159",
1158
+ "quiz-pin": "_quiz-pin_49pse_159",
1159
1159
  quizPin: Eo,
1160
- "annotation-pin-child": "_annotation-pin-child_19b45_164",
1160
+ "annotation-pin-child": "_annotation-pin-child_49pse_164",
1161
1161
  annotationPinChild: Ao,
1162
- "quiz-pin-child": "_quiz-pin-child_19b45_168",
1162
+ "quiz-pin-child": "_quiz-pin-child_49pse_168",
1163
1163
  quizPinChild: Oo,
1164
- "interactive-pin-container": "_interactive-pin-container_19b45_173",
1164
+ "interactive-pin-container": "_interactive-pin-container_49pse_173",
1165
1165
  interactivePinContainer: Fo,
1166
- "interactive-pin-wrapper": "_interactive-pin-wrapper_19b45_183",
1166
+ "interactive-pin-wrapper": "_interactive-pin-wrapper_49pse_183",
1167
1167
  interactivePinWrapper: Zo,
1168
- "interactive-pin-icon": "_interactive-pin-icon_19b45_189",
1168
+ "interactive-pin-icon": "_interactive-pin-icon_49pse_189",
1169
1169
  interactivePinIcon: $o,
1170
- "interactive-pin": "_interactive-pin_19b45_173",
1171
- interactivePin: zo,
1172
- bg: Ko,
1173
- symbol: Do,
1174
- "interactive-pin-button": "_interactive-pin-button_19b45_212",
1175
- interactivePinButton: jo,
1176
- "interactive-pin-menu": "_interactive-pin-menu_19b45_232",
1177
- interactivePinMenu: Uo,
1178
- "interactive-pin-menu-item": "_interactive-pin-menu-item_19b45_246",
1170
+ "interactive-pin": "_interactive-pin_49pse_173",
1171
+ interactivePin: Ko,
1172
+ bg: Do,
1173
+ symbol: zo,
1174
+ "interactive-pin-button": "_interactive-pin-button_49pse_212",
1175
+ interactivePinButton: Uo,
1176
+ "interactive-pin-menu": "_interactive-pin-menu_49pse_232",
1177
+ interactivePinMenu: jo,
1178
+ "interactive-pin-menu-item": "_interactive-pin-menu-item_49pse_246",
1179
1179
  interactivePinMenuItem: qo,
1180
1180
  arrow: Wo
1181
1181
  }, Go = {
@@ -1329,24 +1329,24 @@ function ni() {
1329
1329
  }) }) : null;
1330
1330
  }
1331
1331
  function oi({ currentTime: e, position: n }) {
1332
- const [o, i] = M(!1), a = S(), c = p(() => a.interactiveMenuElements.length > 0 ? i((C) => !C) : a.onInteractivePinClick(e), [
1332
+ const [o, i] = M(!1), a = S(), c = p(() => a.interactiveMenuElements.length > 0 ? i((g) => !g) : a.onInteractivePinClick(e), [
1333
1333
  a.interactiveMenuElements,
1334
1334
  a.onInteractivePinClick,
1335
1335
  e
1336
- ]), l = ve(null), { refs: u, floatingStyles: m, context: h } = ge({
1336
+ ]), l = ve(null), { refs: u, floatingStyles: m, context: h } = be({
1337
1337
  open: o,
1338
1338
  onOpenChange: i,
1339
- whileElementsMounted: ke,
1339
+ whileElementsMounted: we,
1340
1340
  placement: "top",
1341
1341
  middleware: [
1342
1342
  at(),
1343
1343
  st(6),
1344
- ye(),
1345
- we({
1344
+ ke(),
1345
+ ye({
1346
1346
  element: l
1347
1347
  })
1348
1348
  ]
1349
- }), b = Le(h), { getReferenceProps: w, getFloatingProps: y } = Pe([b]);
1349
+ }), C = xe(h), { getReferenceProps: y, getFloatingProps: k } = Le([C]);
1350
1350
  return /* @__PURE__ */ s(ee, { children: [
1351
1351
  /* @__PURE__ */ t(
1352
1352
  "button",
@@ -1356,7 +1356,7 @@ function oi({ currentTime: e, position: n }) {
1356
1356
  className: d.interactivePinButton,
1357
1357
  ref: u.setReference,
1358
1358
  style: { left: `${n}%` },
1359
- ...w(),
1359
+ ...y(),
1360
1360
  children: /* @__PURE__ */ s(
1361
1361
  "svg",
1362
1362
  {
@@ -1403,15 +1403,15 @@ function oi({ currentTime: e, position: n }) {
1403
1403
  ref: u.setFloating,
1404
1404
  style: m,
1405
1405
  className: d.interactivePinMenu,
1406
- ...y(),
1406
+ ...k(),
1407
1407
  children: [
1408
- a.interactiveMenuElements.map(({ id: C, text: f, onClick: k }) => /* @__PURE__ */ s(
1408
+ a.interactiveMenuElements.map(({ id: g, text: f, onClick: w }) => /* @__PURE__ */ s(
1409
1409
  "button",
1410
1410
  {
1411
1411
  type: "button",
1412
1412
  className: d.interactivePinMenuItem,
1413
1413
  onClick: () => {
1414
- k(C, e), i(!1);
1414
+ w(g, e), i(!1);
1415
1415
  },
1416
1416
  children: [
1417
1417
  /* @__PURE__ */ t(
@@ -1436,10 +1436,10 @@ function oi({ currentTime: e, position: n }) {
1436
1436
  f
1437
1437
  ]
1438
1438
  },
1439
- C
1439
+ g
1440
1440
  )),
1441
1441
  /* @__PURE__ */ t(
1442
- Ne,
1442
+ Pe,
1443
1443
  {
1444
1444
  ref: l,
1445
1445
  context: h,
@@ -1502,13 +1502,13 @@ function hi() {
1502
1502
  }
1503
1503
  ),
1504
1504
  /* @__PURE__ */ s(
1505
- D.Root,
1505
+ z.Root,
1506
1506
  {
1507
1507
  className: F.root,
1508
1508
  tabIndex: o.state.interactionsDisabled ? -1 : 0,
1509
1509
  children: [
1510
- /* @__PURE__ */ t(D.Track, { className: F.track, children: /* @__PURE__ */ t(D.TrackFill, { className: F.trackFill }) }),
1511
- /* @__PURE__ */ t(D.Thumb, { className: F.thumb })
1510
+ /* @__PURE__ */ t(z.Track, { className: F.track, children: /* @__PURE__ */ t(z.TrackFill, { className: F.trackFill }) }),
1511
+ /* @__PURE__ */ t(z.Thumb, { className: F.thumb })
1512
1512
  ]
1513
1513
  }
1514
1514
  )
@@ -1621,19 +1621,19 @@ const fe = {
1621
1621
  };
1622
1622
  class _i {
1623
1623
  constructor() {
1624
- x(this, "playerId", "studio-player");
1625
- x(this, "mediaId", null);
1626
- x(this, "data", fe);
1627
- x(this, "time", null);
1628
- x(this, "overrideTime", null);
1629
- x(this, "saveTime", () => {
1624
+ N(this, "playerId", "studio-player");
1625
+ N(this, "mediaId", null);
1626
+ N(this, "data", fe);
1627
+ N(this, "time", null);
1628
+ N(this, "overrideTime", null);
1629
+ N(this, "saveTime", () => {
1630
1630
  if (!this.mediaId) return;
1631
1631
  const n = (this.time ?? 0).toString();
1632
1632
  localStorage.setItem(this.mediaId, n);
1633
1633
  });
1634
- x(this, "saveTimeThrottled", pi(this.saveTime, 1e3));
1634
+ N(this, "saveTimeThrottled", pi(this.saveTime, 1e3));
1635
1635
  // only used for useStudioPlayer hook's state initialization
1636
- x(this, "initializeState", (n) => {
1636
+ N(this, "initializeState", (n) => {
1637
1637
  const o = localStorage.getItem(this.playerId);
1638
1638
  if (_e(n) && n >= 0 && (this.overrideTime = n), o)
1639
1639
  try {
@@ -1649,7 +1649,7 @@ class _i {
1649
1649
  disableCaptionSettings: !1
1650
1650
  };
1651
1651
  });
1652
- x(this, "saveData", (n, o) => {
1652
+ N(this, "saveData", (n, o) => {
1653
1653
  this.data = {
1654
1654
  ...this.data,
1655
1655
  [n]: o
@@ -1724,47 +1724,47 @@ function fi(e, n, o, i) {
1724
1724
  a.initializeState(i)
1725
1725
  ), u = p(
1726
1726
  (f) => {
1727
- l((k) => (a.saveData("multiplier", f), {
1728
- ...k,
1727
+ l((w) => (a.saveData("multiplier", f), {
1728
+ ...w,
1729
1729
  captionsFontSizeMultiplier: f
1730
1730
  }));
1731
1731
  },
1732
1732
  [a]
1733
1733
  ), m = p(() => {
1734
1734
  l((f) => {
1735
- const k = !f.captionPositionOnTop;
1736
- return a.saveData("ontop", k), {
1735
+ const w = !f.captionPositionOnTop;
1736
+ return a.saveData("ontop", w), {
1737
1737
  ...f,
1738
- captionPositionOnTop: k
1738
+ captionPositionOnTop: w
1739
1739
  };
1740
1740
  });
1741
1741
  }, [a]), h = p(() => {
1742
1742
  l((f) => {
1743
- const k = !f.captionsInvertColors;
1744
- return a.saveData("invert", k), {
1743
+ const w = !f.captionsInvertColors;
1744
+ return a.saveData("invert", w), {
1745
1745
  ...f,
1746
- captionsInvertColors: k
1746
+ captionsInvertColors: w
1747
1747
  };
1748
1748
  });
1749
- }, [a]), b = p(() => {
1749
+ }, [a]), C = p(() => {
1750
1750
  l((f) => {
1751
- const k = !f.commentsEnabled;
1752
- return a.saveData("comments", k), {
1751
+ const w = !f.commentsEnabled;
1752
+ return a.saveData("comments", w), {
1753
1753
  ...f,
1754
- commentsEnabled: k
1754
+ commentsEnabled: w
1755
1755
  };
1756
1756
  });
1757
- }, [a]), w = p(() => {
1757
+ }, [a]), y = p(() => {
1758
1758
  l((f) => ({
1759
1759
  ...f,
1760
1760
  interactionsDisabled: !1
1761
1761
  }));
1762
- }, []), y = p(() => {
1762
+ }, []), k = p(() => {
1763
1763
  l((f) => ({
1764
1764
  ...f,
1765
1765
  interactionsDisabled: !0
1766
1766
  }));
1767
- }, []), C = Z(() => e ? {
1767
+ }, []), g = Z(() => e ? {
1768
1768
  ...pe,
1769
1769
  toggleFullscreen: []
1770
1770
  } : pe, [e]);
@@ -1777,18 +1777,18 @@ function fi(e, n, o, i) {
1777
1777
  setCaptionsFontSizeMultiplier: u,
1778
1778
  toggleCaptionPositionOnTop: m,
1779
1779
  toggleCaptionsInvertColors: h,
1780
- enableInteractions: w,
1781
- disableInteractions: y,
1782
- toggleComments: b,
1780
+ enableInteractions: y,
1781
+ disableInteractions: k,
1782
+ toggleComments: C,
1783
1783
  disableCaptionSettings: o
1784
1784
  },
1785
- shortcuts: C,
1785
+ shortcuts: g,
1786
1786
  storage: a
1787
1787
  };
1788
1788
  }
1789
1789
  const vi = {}, J = () => {
1790
1790
  };
1791
- function Ni({
1791
+ function Pi({
1792
1792
  title: e,
1793
1793
  playerRef: n,
1794
1794
  src: o,
@@ -1799,12 +1799,12 @@ function Ni({
1799
1799
  locale: u = "en",
1800
1800
  annotations: m = [],
1801
1801
  quizMarkers: h = [],
1802
- interactive: b = !1,
1803
- onAnnotationClick: w = J,
1804
- onQuizMarkerClick: y = J,
1805
- onInteractivePinClick: C = J,
1802
+ interactive: C = !1,
1803
+ onAnnotationClick: y = J,
1804
+ onQuizMarkerClick: k = J,
1805
+ onInteractivePinClick: g = J,
1806
1806
  interactiveMenuElements: f = [],
1807
- darkMode: k = !1,
1807
+ darkMode: w = !1,
1808
1808
  autoLoadCaptionSrc: T = "",
1809
1809
  forceComments: ae,
1810
1810
  disableCaptionSettings: Q,
@@ -1815,7 +1815,7 @@ function Ni({
1815
1815
  ae ?? !1,
1816
1816
  Q ?? !1,
1817
1817
  Oe
1818
- ), { i18n: ce } = g();
1818
+ ), { i18n: ce } = b();
1819
1819
  return E(() => {
1820
1820
  ce.changeLanguage(u);
1821
1821
  }, [ce, u]), /* @__PURE__ */ t(
@@ -1825,12 +1825,12 @@ function Ni({
1825
1825
  comments: l,
1826
1826
  annotations: m,
1827
1827
  quizMarkers: h,
1828
- interactive: b,
1829
- onAnnotationClick: w,
1830
- onQuizMarkerClick: y,
1831
- onInteractivePinClick: C,
1828
+ interactive: C,
1829
+ onAnnotationClick: y,
1830
+ onQuizMarkerClick: k,
1831
+ onInteractivePinClick: g,
1832
1832
  interactiveMenuElements: f,
1833
- darkMode: k,
1833
+ darkMode: w,
1834
1834
  forceComments: ae ?? !1,
1835
1835
  disableCaptionSettings: Q ?? !1,
1836
1836
  children: /* @__PURE__ */ t(lt, { contextValue: se, children: /* @__PURE__ */ s(
@@ -1842,27 +1842,27 @@ function Ni({
1842
1842
  keyShortcuts: Fe,
1843
1843
  playsInline: !0,
1844
1844
  keyDisabled: se.state.interactionsDisabled,
1845
- onTextTracksChange: (K) => {
1846
- const le = K == null ? void 0 : K.findIndex(
1845
+ onTextTracksChange: (D) => {
1846
+ const le = D == null ? void 0 : D.findIndex(
1847
1847
  ($e) => $e.src === T
1848
1848
  );
1849
- le > -1 && (K[le].mode = "showing");
1849
+ le > -1 && (D[le].mode = "showing");
1850
1850
  },
1851
1851
  children: [
1852
1852
  /* @__PURE__ */ t(so, {}),
1853
1853
  /* @__PURE__ */ s(et, { className: vi.mediaProvider, children: [
1854
1854
  /* @__PURE__ */ t(ho, { src: a }),
1855
- /* @__PURE__ */ t(Un, {}),
1856
- /* @__PURE__ */ t(Ct, {}),
1857
- /* @__PURE__ */ t(wt, { captions: i }),
1855
+ /* @__PURE__ */ t(jn, {}),
1856
+ /* @__PURE__ */ t(gt, {}),
1857
+ /* @__PURE__ */ t(yt, { captions: i }),
1858
1858
  /* @__PURE__ */ t(Et, { comments: l }),
1859
- /* @__PURE__ */ t(go, {}),
1859
+ /* @__PURE__ */ t(bo, {}),
1860
1860
  /* @__PURE__ */ t(eo, {})
1861
1861
  ] }),
1862
1862
  /* @__PURE__ */ t(
1863
- Kt,
1863
+ Dt,
1864
1864
  {
1865
- darkMode: k,
1865
+ darkMode: w,
1866
1866
  playerRef: n,
1867
1867
  showCaptionsButton: !Q
1868
1868
  }
@@ -1875,8 +1875,8 @@ function Ni({
1875
1875
  );
1876
1876
  }
1877
1877
  export {
1878
- Lt as CAPTION_FONT_SIZE_MULTIPLIERS,
1878
+ xt as CAPTION_FONT_SIZE_MULTIPLIERS,
1879
1879
  Se as COMMENT_DURATION,
1880
1880
  B as PLAYBACK_RATES,
1881
- Ni as StudioPlayer
1881
+ Pi as StudioPlayer
1882
1882
  };