@instructure/studio-player 0.3.4 → 0.3.5

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,17 +1,17 @@
1
- import './index-lpAko5-j.css';var tt = Object.defineProperty;
2
- var nt = (e, n, o) => n in e ? tt(e, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[n] = o;
3
- var H = (e, n, o) => nt(e, typeof n != "symbol" ? n + "" : n, o);
4
- import { jsx as t, jsxs as a, Fragment as j } from "react/jsx-runtime";
1
+ import './index-DTXwbjqh.css';var et = Object.defineProperty;
2
+ var tt = (e, n, o) => n in e ? et(e, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[n] = o;
3
+ var H = (e, n, o) => tt(e, typeof n != "symbol" ? n + "" : n, o);
4
+ import { jsx as t, jsxs as s, Fragment as j } from "react/jsx-runtime";
5
5
  import { createContext as ce, useContext as le, useState as x, useCallback as _, useEffect as Z, useMemo as S, useRef as W } from "react";
6
- import { useMediaPlayer as z, Spinner as se, useMediaRemote as ne, useMediaState as C, isTrackCaptionKind as ot, Track as it, Captions as st, usePlaybackRateOptions as at, useCaptionOptions as ct, useVideoQualityOptions as lt, useMediaStore as Ve, Poster as rt, FullscreenButton as ut, Time as ke, TimeSlider as U, VolumeSlider as J, isAudioProvider as dt, isVideoProvider as mt, MediaPlayer as ht, MediaProvider as pt } from "@vidstack/react";
7
- import { useMediaState as ai, useMediaStore as ci } from "@vidstack/react";
8
- import { initReactI18next as _t, useTranslation as f } from "react-i18next";
9
- import Ct from "i18next";
10
- import ft from "i18next-resources-to-backend";
11
- import { useFloating as re, autoUpdate as ue, flip as de, arrow as me, useDismiss as he, useInteractions as pe, FloatingFocusManager as Se, FloatingArrow as _e, shift as Te, offset as Ee, useListNavigation as bt } from "@floating-ui/react";
12
- const gt = (e, n, o) => {
6
+ import { useMediaPlayer as z, Spinner as ae, useMediaRemote as ne, useMediaState as C, isTrackCaptionKind as nt, Track as ot, Captions as it, usePlaybackRateOptions as at, useCaptionOptions as st, useVideoQualityOptions as ct, useMediaStore as Ve, Poster as lt, FullscreenButton as rt, Time as ke, TimeSlider as U, VolumeSlider as J, isAudioProvider as ut, isVideoProvider as dt, MediaPlayer as mt, MediaProvider as ht } from "@vidstack/react";
7
+ import { useMediaState as si, useMediaStore as ci } from "@vidstack/react";
8
+ import { initReactI18next as pt, useTranslation as f } from "react-i18next";
9
+ import _t from "i18next";
10
+ import Ct from "i18next-resources-to-backend";
11
+ import { useFloating as re, autoUpdate as ue, flip as de, arrow as me, useDismiss as he, useInteractions as pe, FloatingFocusManager as Se, FloatingArrow as _e, shift as Te, offset as Ee, useListNavigation as ft } from "@floating-ui/react";
12
+ const bt = (e, n, o) => {
13
13
  const i = e[n];
14
- return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((s, c) => {
14
+ return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((a, c) => {
15
15
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
16
16
  c.bind(
17
17
  null,
@@ -22,9 +22,9 @@ const gt = (e, n, o) => {
22
22
  );
23
23
  });
24
24
  };
25
- Ct.use(_t).use(
26
- ft(
27
- (e) => gt(/* @__PURE__ */ Object.assign({ "./locales/en.json": () => import("./en-p8Xpb7Qg.js"), "./locales/kl.json": () => import("./kl-Drx4juMa.js") }), `./locales/${e}.json`, 3)
25
+ _t.use(pt).use(
26
+ Ct(
27
+ (e) => bt(/* @__PURE__ */ Object.assign({ "./locales/en.json": () => import("./en-p8Xpb7Qg.js"), "./locales/kl.json": () => import("./kl-Drx4juMa.js") }), `./locales/${e}.json`, 3)
28
28
  )
29
29
  ).init({
30
30
  fallbackLng: "en",
@@ -36,7 +36,7 @@ Ct.use(_t).use(
36
36
  }
37
37
  });
38
38
  const Re = ce(null);
39
- function vt({
39
+ function gt({
40
40
  children: e,
41
41
  contextValue: n
42
42
  }) {
@@ -51,12 +51,12 @@ function g() {
51
51
  return e;
52
52
  }
53
53
  const Ae = ce(null);
54
- function wt({
54
+ function vt({
55
55
  hideFullScreen: e,
56
56
  comments: n,
57
57
  captions: o,
58
58
  thumbnail: i,
59
- annotations: s,
59
+ annotations: a,
60
60
  quizMarkers: c,
61
61
  interactive: l,
62
62
  onAnnotationClick: r,
@@ -75,7 +75,7 @@ function wt({
75
75
  comments: n,
76
76
  captions: o,
77
77
  thumbnail: i,
78
- annotations: s,
78
+ annotations: a,
79
79
  quizMarkers: c,
80
80
  interactive: l,
81
81
  onAnnotationClick: r,
@@ -85,7 +85,7 @@ function wt({
85
85
  kebabMenuElements: y,
86
86
  darkMode: k,
87
87
  hasComments: n.length > 0,
88
- hasAnnotations: s.length > 0,
88
+ hasAnnotations: a.length > 0,
89
89
  hasQuizmarkers: c.length > 0,
90
90
  forceComments: M,
91
91
  disableCaptionSettings: m,
@@ -101,18 +101,18 @@ function V() {
101
101
  );
102
102
  return e;
103
103
  }
104
- const yt = "_annotation-overlay_1kxzn_1", kt = {
104
+ const wt = "_annotation-overlay_1kxzn_1", yt = {
105
105
  "annotation-overlay": "_annotation-overlay_1kxzn_1",
106
- annotationOverlay: yt
107
- }, Le = 0.25, Lt = (e, n) => {
106
+ annotationOverlay: wt
107
+ }, Le = 0.25, kt = (e, n) => {
108
108
  let o = !1;
109
109
  return (i) => {
110
- const s = i.detail.currentTime;
111
- s >= e.time && s < e.time + Le && !o && (o = !0, n(e)), (s < e.time || s >= e.time + Le) && o && (o = !1);
110
+ const a = i.detail.currentTime;
111
+ a >= e.time && a < e.time + Le && !o && (o = !0, n(e)), (a < e.time || a >= e.time + Le) && o && (o = !1);
112
112
  };
113
113
  };
114
- function xt({ annotations: e }) {
115
- const n = z(), o = g(), i = V(), [s, c] = x(
114
+ function Lt({ annotations: e }) {
115
+ const n = z(), o = g(), i = V(), [a, c] = x(
116
116
  null
117
117
  ), l = _(
118
118
  (u) => {
@@ -127,12 +127,12 @@ function xt({ annotations: e }) {
127
127
  return;
128
128
  const u = [];
129
129
  for (const p of e) {
130
- const v = Lt(p, l);
130
+ const v = kt(p, l);
131
131
  n.addEventListener("time-update", v), u.push(v);
132
132
  }
133
- if (s) {
133
+ if (a) {
134
134
  const p = e.find(
135
- (v) => v.id === s.id
135
+ (v) => v.id === a.id
136
136
  );
137
137
  p ? c(p) : (c(null), o.enableInteractions());
138
138
  }
@@ -140,25 +140,25 @@ function xt({ annotations: e }) {
140
140
  for (const p of u)
141
141
  n.removeEventListener("time-update", p);
142
142
  };
143
- }, [n, e]), s ? /* @__PURE__ */ t("div", { className: kt.annotationOverlay, children: s.render(r) }) : null;
143
+ }, [n, e]), a ? /* @__PURE__ */ t("div", { className: yt.annotationOverlay, children: a.render(r) }) : null;
144
144
  }
145
- const Mt = "_media-buffering-indicator_1fwjr_1", Nt = "_media-buffering-spinner_1fwjr_17", Pt = "_media-buffering-spin_1fwjr_17", It = "_media-buffering-track_1fwjr_22", Ht = "_media-buffering-track-fill_1fwjr_27", ee = {
145
+ const xt = "_media-buffering-indicator_1fwjr_1", Mt = "_media-buffering-spinner_1fwjr_17", Nt = "_media-buffering-spin_1fwjr_17", Pt = "_media-buffering-track_1fwjr_22", It = "_media-buffering-track-fill_1fwjr_27", ee = {
146
146
  "media-buffering-indicator": "_media-buffering-indicator_1fwjr_1",
147
- mediaBufferingIndicator: Mt,
147
+ mediaBufferingIndicator: xt,
148
148
  "media-buffering-spinner": "_media-buffering-spinner_1fwjr_17",
149
- mediaBufferingSpinner: Nt,
149
+ mediaBufferingSpinner: Mt,
150
150
  "media-buffering-spin": "_media-buffering-spin_1fwjr_17",
151
- mediaBufferingSpin: Pt,
151
+ mediaBufferingSpin: Nt,
152
152
  "media-buffering-track": "_media-buffering-track_1fwjr_22",
153
- mediaBufferingTrack: It,
153
+ mediaBufferingTrack: Pt,
154
154
  "media-buffering-track-fill": "_media-buffering-track-fill_1fwjr_27",
155
- mediaBufferingTrackFill: Ht
155
+ mediaBufferingTrackFill: It
156
156
  };
157
157
  function Be() {
158
- return /* @__PURE__ */ t("div", { className: ee.mediaBufferingIndicator, children: /* @__PURE__ */ a(se.Root, { className: ee.mediaBufferingSpinner, size: 96, children: [
159
- /* @__PURE__ */ t(se.Track, { className: ee.mediaBufferingTrack, width: 8 }),
158
+ return /* @__PURE__ */ t("div", { className: ee.mediaBufferingIndicator, children: /* @__PURE__ */ s(ae.Root, { className: ee.mediaBufferingSpinner, size: 96, children: [
159
+ /* @__PURE__ */ t(ae.Track, { className: ee.mediaBufferingTrack, width: 8 }),
160
160
  /* @__PURE__ */ t(
161
- se.TrackFill,
161
+ ae.TrackFill,
162
162
  {
163
163
  className: ee.mediaBufferingTrackFill,
164
164
  width: 8
@@ -166,15 +166,15 @@ function Be() {
166
166
  )
167
167
  ] }) });
168
168
  }
169
- const Oe = (e) => /* @__PURE__ */ a("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
169
+ const Oe = (e) => /* @__PURE__ */ s("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
170
170
  /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_149_104418", children: /* @__PURE__ */ t("rect", { width: 24, height: 24, fill: "white" }) }) }),
171
171
  /* @__PURE__ */ t("g", { clipPath: "url(#clip0_149_104418)", children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22.5 21.8125V2.3125C22.5 1.9 22.1625 1.5625 21.75 1.5625H2.25C1.8375 1.5625 1.5 1.9 1.5 2.3125V21.8125C1.5 22.225 1.8375 22.5625 2.25 22.5625H21.75C22.1625 22.5625 22.5 22.225 22.5 21.8125ZM21.75 0.0625C22.9905 0.0625 24 1.072 24 2.3125V21.8125C24 23.053 22.9905 24.0625 21.75 24.0625H2.25C1.0095 24.0625 0 23.053 0 21.8125V2.3125C0 1.072 1.0095 0.0625 2.25 0.0625H21.75ZM10.744 10.6709H8.74403V10.0042H6.07736V14.0042H8.74403V13.3375H10.744V14.6709C10.744 15.4042 10.144 16.0042 9.41069 16.0042H5.41069C4.67736 16.0042 4.07736 15.4042 4.07736 14.6709V9.33753C4.07736 8.6042 4.67736 8.0042 5.41069 8.0042H9.41069C10.144 8.0042 10.744 8.6042 10.744 9.33753V10.6709ZM19.8065 10.6709H17.8065V10.0042H15.1399V14.0042H17.8065V13.3375H19.8065V14.6709C19.8065 15.4042 19.2065 16.0042 18.4732 16.0042H14.4732C13.7399 16.0042 13.1399 15.4042 13.1399 14.6709V9.33753C13.1399 8.6042 13.7399 8.0042 14.4732 8.0042H18.4732C19.2065 8.0042 19.8065 8.6042 19.8065 9.33753V10.6709Z", fill: "currentColor" }) })
172
- ] }), Fe = (e) => /* @__PURE__ */ a("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
172
+ ] }), Fe = (e) => /* @__PURE__ */ s("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
173
173
  /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_149_104406", children: /* @__PURE__ */ t("rect", { width: 24, height: 24, fill: "white" }) }) }),
174
174
  /* @__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" }) })
175
175
  ] });
176
- function Vt() {
177
- const e = ne(), n = C("textTrack"), o = C("hasCaptions"), i = n && ot(n), s = g(), c = _(
176
+ function Ht() {
177
+ const e = ne(), n = C("textTrack"), o = C("hasCaptions"), i = n && nt(n), a = g(), c = _(
178
178
  (l) => {
179
179
  e.toggleCaptions(l.nativeEvent);
180
180
  },
@@ -188,19 +188,19 @@ function Vt() {
188
188
  onClick: c,
189
189
  "aria-label": "Captions",
190
190
  "aria-pressed": i ? "true" : "false",
191
- tabIndex: s.state.interactionsDisabled ? -1 : 0,
191
+ tabIndex: a.state.interactionsDisabled ? -1 : 0,
192
192
  children: i ? /* @__PURE__ */ t(Fe, { className: "controls-button-icon" }) : /* @__PURE__ */ t(Oe, { className: "controls-button-icon" })
193
193
  }
194
194
  ) : null;
195
195
  }
196
- const St = "_captions_1s87p_1", Tt = {
197
- captions: St
196
+ const Vt = "_captions_1s87p_1", St = {
197
+ captions: Vt
198
198
  };
199
199
  function Ze({ captions: e }) {
200
200
  const n = e.length > 0, o = g();
201
- return /* @__PURE__ */ a(j, { children: [
201
+ return /* @__PURE__ */ s(j, { children: [
202
202
  e.map((i) => /* @__PURE__ */ t(
203
- it,
203
+ ot,
204
204
  {
205
205
  kind: "subtitles",
206
206
  type: i.type,
@@ -220,12 +220,12 @@ function Ze({ captions: e }) {
220
220
  "--captions-color": o.state.captionsInvertColors ? "rgba(22, 22, 22)" : "white",
221
221
  "--captions-background-color": o.state.captionsInvertColors ? "rgba(255, 255, 255, 0.75)" : "rgba(22, 22, 22, 0.75)"
222
222
  },
223
- children: /* @__PURE__ */ t(st, { className: Tt.captions })
223
+ children: /* @__PURE__ */ t(it, { className: St.captions })
224
224
  }
225
225
  ) : null
226
226
  ] });
227
227
  }
228
- const F = [0.5, 0.75, 1, 1.25, 1.5, 2], Et = [0.5, 1, 2, 3, 4], ze = 5, Rt = (e) => {
228
+ const F = [0.5, 0.75, 1, 1.25, 1.5, 2], Tt = [0.5, 1, 2, 3, 4], Et = 5, Rt = (e) => {
229
229
  const [, n] = x({});
230
230
  return S(() => {
231
231
  let o = [];
@@ -234,7 +234,7 @@ const F = [0.5, 0.75, 1, 1.25, 1.5, 2], Et = [0.5, 1, 2, 3, 4], ze = 5, Rt = (e)
234
234
  o.length >= e && o.shift(), o.push(i), n({});
235
235
  },
236
236
  remove(i) {
237
- o = o.filter((s) => s !== i), n({});
237
+ o = o.filter((a) => a !== i), n({});
238
238
  },
239
239
  clear() {
240
240
  o = [], n({});
@@ -246,8 +246,8 @@ const F = [0.5, 0.75, 1, 1.25, 1.5, 2], Et = [0.5, 1, 2, 3, 4], ze = 5, Rt = (e)
246
246
  }, []);
247
247
  }, At = (e, n, o) => {
248
248
  let i = !1;
249
- return (s) => {
250
- const c = s.detail.currentTime;
249
+ return (a) => {
250
+ const c = a.detail.currentTime;
251
251
  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);
252
252
  };
253
253
  }, Bt = (e, n = 5) => {
@@ -255,17 +255,17 @@ const F = [0.5, 0.75, 1, 1.25, 1.5, 2], Et = [0.5, 1, 2, 3, 4], ze = 5, Rt = (e)
255
255
  return Z(() => {
256
256
  if (!o)
257
257
  return;
258
- const s = [];
258
+ const a = [];
259
259
  for (const c of e) {
260
- const l = At(c, ze, i);
261
- s.push(l), o.addEventListener("time-update", l);
260
+ const l = At(c, Et, i);
261
+ a.push(l), o.addEventListener("time-update", l);
262
262
  }
263
263
  return o.dispatchEvent(
264
264
  new CustomEvent("time-update", {
265
265
  detail: { currentTime: o.currentTime }
266
266
  })
267
267
  ), () => {
268
- for (const c of s)
268
+ for (const c of a)
269
269
  o.removeEventListener("time-update", c);
270
270
  i.clear();
271
271
  };
@@ -284,7 +284,7 @@ const F = [0.5, 0.75, 1, 1.25, 1.5, 2], Et = [0.5, 1, 2, 3, 4], ze = 5, Rt = (e)
284
284
  commentAuthorName: Dt
285
285
  };
286
286
  function $t({ comment: e }) {
287
- return e.render ? e.render(e, A) : /* @__PURE__ */ a("div", { className: A.comment, onClick: () => {
287
+ return e.render ? e.render(e, A) : /* @__PURE__ */ s("div", { className: A.comment, onClick: () => {
288
288
  var n;
289
289
  return (n = e.onClick) == null ? void 0 : n.call(e, e);
290
290
  }, children: [
@@ -302,7 +302,7 @@ function $t({ comment: e }) {
302
302
  }
303
303
  const Ut = 5;
304
304
  function qt({ comments: e }) {
305
- const n = g(), o = Bt(e, Ut), i = !!C("textTrack"), s = o.map((c) => /* @__PURE__ */ t($t, { comment: c }, c.id));
305
+ const n = g(), o = Bt(e, Ut), i = !!C("textTrack"), a = o.map((c) => /* @__PURE__ */ t($t, { comment: c }, c.id));
306
306
  return e.length > 0 && n.state.commentsEnabled ? /* @__PURE__ */ t(
307
307
  "div",
308
308
  {
@@ -310,7 +310,7 @@ function qt({ comments: e }) {
310
310
  style: {
311
311
  flexDirection: n.state.captionPositionOnTop && i ? "column-reverse" : "column"
312
312
  },
313
- children: /* @__PURE__ */ t("div", { className: A.commentsContainer, children: i ? s.slice(-4) : s })
313
+ children: /* @__PURE__ */ t("div", { className: A.commentsContainer, children: i ? a.slice(-4) : a })
314
314
  }
315
315
  ) : null;
316
316
  }
@@ -334,33 +334,33 @@ function Jt({
334
334
  const i = z();
335
335
  return Z(() => {
336
336
  i && (i.remoteControl.pauseControls(), n && (n.current = i));
337
- }, [i, n]), /* @__PURE__ */ a("div", { "data-darkmode": e, className: O.root, children: [
337
+ }, [i, n]), /* @__PURE__ */ s("div", { "data-darkmode": e, className: O.root, children: [
338
338
  /* @__PURE__ */ t(Ne, { className: O.normalTimeline }),
339
- /* @__PURE__ */ a("div", { className: O.leftControls, children: [
339
+ /* @__PURE__ */ s("div", { className: O.leftControls, children: [
340
340
  /* @__PURE__ */ t(B1, {}),
341
341
  /* @__PURE__ */ t(zo, {})
342
342
  ] }),
343
343
  /* @__PURE__ */ t("div", { className: O.indicators, children: /* @__PURE__ */ t(Q1, {}) }),
344
344
  /* @__PURE__ */ t(Ne, { className: O.compactTimeline }),
345
- /* @__PURE__ */ a("div", { className: O.rightControls, children: [
346
- o && /* @__PURE__ */ t(Vt, {}),
345
+ /* @__PURE__ */ s("div", { className: O.rightControls, children: [
346
+ o && /* @__PURE__ */ t(Ht, {}),
347
347
  /* @__PURE__ */ t(jn, {}),
348
348
  /* @__PURE__ */ t(u1, {})
349
349
  ] })
350
350
  ] });
351
351
  }
352
- const 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: "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" }) }), tn = (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" }) }), nn = "_menu-hint_k49ve_1", on = "_menu-button_k49ve_5", sn = "_menu-label_k49ve_37", an = "_menu-icon_k49ve_42", te = {
352
+ const 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: "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" }) }), tn = (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" }) }), nn = "_menu-hint_k49ve_1", on = "_menu-button_k49ve_5", an = "_menu-label_k49ve_37", sn = "_menu-icon_k49ve_42", te = {
353
353
  "menu-hint": "_menu-hint_k49ve_1",
354
354
  menuHint: nn,
355
355
  "menu-button": "_menu-button_k49ve_5",
356
356
  menuButton: on,
357
357
  "menu-label": "_menu-label_k49ve_37",
358
- menuLabel: sn,
358
+ menuLabel: an,
359
359
  "menu-icon": "_menu-icon_k49ve_42",
360
- menuIcon: an
360
+ menuIcon: sn
361
361
  };
362
362
  function Q({ label: e, hint: n, onClick: o, Icon: i }) {
363
- return /* @__PURE__ */ a(
363
+ return /* @__PURE__ */ s(
364
364
  "button",
365
365
  {
366
366
  type: "button",
@@ -394,7 +394,7 @@ function ln() {
394
394
  );
395
395
  }
396
396
  function rn() {
397
- const e = I(), n = C("hasCaptions"), o = C("textTrack"), { t: i } = f(), s = _(() => {
397
+ const e = I(), n = C("hasCaptions"), o = C("textTrack"), { t: i } = f(), a = _(() => {
398
398
  e.setPage("captions");
399
399
  }, [e]);
400
400
  return n ? /* @__PURE__ */ t(
@@ -402,21 +402,21 @@ function rn() {
402
402
  {
403
403
  label: i("CAPTIONS"),
404
404
  hint: (o == null ? void 0 : o.label) ?? i("OFF"),
405
- onClick: s,
405
+ onClick: a,
406
406
  Icon: Oe
407
407
  }
408
408
  ) : null;
409
409
  }
410
- const un = (e) => /* @__PURE__ */ a("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
410
+ const un = (e) => /* @__PURE__ */ s("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
411
411
  /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_412_23039", children: /* @__PURE__ */ t("rect", { width: 18, height: 18, fill: "white" }) }) }),
412
- /* @__PURE__ */ a("g", { clipPath: "url(#clip0_412_23039)", children: [
412
+ /* @__PURE__ */ s("g", { clipPath: "url(#clip0_412_23039)", children: [
413
413
  /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.46326 3.85039H0V2.65039H2.46326C2.7388 1.36449 3.88181 0.400391 5.24999 0.400391C6.61818 0.400391 7.76119 1.36449 8.03673 2.65039H18V3.85039H8.03673C7.76119 5.13629 6.61818 6.10039 5.24999 6.10039C3.88181 6.10039 2.7388 5.13629 2.46326 3.85039ZM3.59999 3.25039C3.59999 2.33912 4.33872 1.60039 5.24999 1.60039C6.16126 1.60039 6.89999 2.33912 6.89999 3.25039C6.89999 4.16166 6.16126 4.90039 5.24999 4.90039C4.33872 4.90039 3.59999 4.16166 3.59999 3.25039Z", fill: "currentColor" }),
414
414
  /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 8.40039H9.46326C9.7388 7.11449 10.8818 6.15039 12.25 6.15039C13.6182 6.15039 14.7612 7.11449 15.0367 8.40039H18V9.60039H15.0367C14.7612 10.8863 13.6182 11.8504 12.25 11.8504C10.8818 11.8504 9.7388 10.8863 9.46326 9.60039H0V8.40039ZM12.25 7.35039C11.3387 7.35039 10.6 8.08912 10.6 9.00039C10.6 9.91166 11.3387 10.6504 12.25 10.6504C13.1613 10.6504 13.9 9.91166 13.9 9.00039C13.9 8.08912 13.1613 7.35039 12.25 7.35039Z", fill: "currentColor" }),
415
415
  /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.24999 17.6004C6.61818 17.6004 7.76119 16.6363 8.03673 15.3504H18V14.1504H8.03673C7.76119 12.8645 6.61818 11.9004 5.24999 11.9004C3.88181 11.9004 2.7388 12.8645 2.46326 14.1504H0V15.3504H2.46326C2.7388 16.6363 3.88181 17.6004 5.24999 17.6004ZM5.24999 13.1004C4.33872 13.1004 3.59999 13.8391 3.59999 14.7504C3.59999 15.6617 4.33872 16.4004 5.24999 16.4004C6.16126 16.4004 6.89999 15.6617 6.89999 14.7504C6.89999 13.8391 6.16126 13.1004 5.24999 13.1004Z", fill: "currentColor" })
416
416
  ] })
417
417
  ] });
418
418
  function dn() {
419
- const e = I(), n = C("autoQuality"), o = C("quality"), { t: i } = f(), s = _(() => {
419
+ const e = I(), n = C("autoQuality"), o = C("quality"), { t: i } = f(), a = _(() => {
420
420
  e.setPage("quality");
421
421
  }, [e]);
422
422
  return o ? /* @__PURE__ */ t(
@@ -424,7 +424,7 @@ function dn() {
424
424
  {
425
425
  label: i("QUALITY"),
426
426
  hint: n ? i("AUTO", { quality: o.height }) : `${o.height}p`,
427
- onClick: s,
427
+ onClick: a,
428
428
  Icon: un
429
429
  }
430
430
  ) : null;
@@ -449,7 +449,7 @@ function Ce({
449
449
  onClick: o,
450
450
  Icon: i
451
451
  }) {
452
- return /* @__PURE__ */ a(
452
+ return /* @__PURE__ */ s(
453
453
  "button",
454
454
  {
455
455
  className: R.switchBody,
@@ -483,7 +483,7 @@ const yn = "_main-menu_7h96l_1", kn = {
483
483
  "main-menu": "_main-menu_7h96l_1",
484
484
  mainMenu: yn
485
485
  };
486
- function Ke(e) {
486
+ function ze(e) {
487
487
  Z(() => {
488
488
  const n = (o) => {
489
489
  var i;
@@ -496,10 +496,10 @@ function Ke(e) {
496
496
  }
497
497
  function Ln(e) {
498
498
  const n = S(() => ({ Escape: e }), [e]);
499
- return Ke(n);
499
+ return ze(n);
500
500
  }
501
501
  const I = () => {
502
- const e = le(De);
502
+ const e = le(Ke);
503
503
  if (!e)
504
504
  throw new Error(
505
505
  "useCustomSettingsMenuContext must be used within a CustomSettingsMenuContext.Provider"
@@ -528,27 +528,27 @@ function K() {
528
528
  ArrowUp: () => {
529
529
  const i = document.activeElement;
530
530
  if (i && n.current && n.current.contains(i)) {
531
- const s = xn(
531
+ const a = xn(
532
532
  n.current,
533
533
  i
534
534
  );
535
- s == null || s.focus();
535
+ a == null || a.focus();
536
536
  } else if (n.current) {
537
- const s = Pn(n.current);
538
- s == null || s.focus();
537
+ const a = Pn(n.current);
538
+ a == null || a.focus();
539
539
  }
540
540
  },
541
541
  ArrowDown: () => {
542
542
  const i = document.activeElement;
543
543
  if (i && n.current && n.current.contains(i)) {
544
- const s = Mn(
544
+ const a = Mn(
545
545
  n.current,
546
546
  i
547
547
  );
548
- s == null || s.focus();
548
+ a == null || a.focus();
549
549
  } else if (n.current) {
550
- const s = Nn(n.current);
551
- s == null || s.focus();
550
+ const a = Nn(n.current);
551
+ a == null || a.focus();
552
552
  }
553
553
  },
554
554
  ArrowRight: () => {
@@ -559,11 +559,11 @@ function K() {
559
559
  }),
560
560
  [e]
561
561
  );
562
- return Ke(o), n;
562
+ return ze(o), n;
563
563
  }
564
564
  function In() {
565
565
  const e = K(), { t: n } = f();
566
- return /* @__PURE__ */ a(
566
+ return /* @__PURE__ */ s(
567
567
  "div",
568
568
  {
569
569
  ref: e,
@@ -599,7 +599,7 @@ function An() {
599
599
  rates: F,
600
600
  normalLabel: "1x"
601
601
  }), { t: o } = f(), i = K();
602
- return /* @__PURE__ */ a(
602
+ return /* @__PURE__ */ s(
603
603
  "div",
604
604
  {
605
605
  ref: i,
@@ -608,7 +608,7 @@ function An() {
608
608
  role: "menu",
609
609
  className: h.menuContainer,
610
610
  children: [
611
- /* @__PURE__ */ a(
611
+ /* @__PURE__ */ s(
612
612
  "button",
613
613
  {
614
614
  type: "button",
@@ -623,7 +623,7 @@ function An() {
623
623
  }
624
624
  ),
625
625
  /* @__PURE__ */ t("strong", { className: h.menuHeading, children: o("PLAYBACK_SPEED") }),
626
- n.map(({ value: s, label: c, select: l, selected: r }) => /* @__PURE__ */ a(
626
+ n.map(({ value: a, label: c, select: l, selected: r }) => /* @__PURE__ */ s(
627
627
  "button",
628
628
  {
629
629
  type: "button",
@@ -638,14 +638,14 @@ function An() {
638
638
  /* @__PURE__ */ t("span", { className: h.menuItemLabel, children: c })
639
639
  ]
640
640
  },
641
- s
641
+ a
642
642
  ))
643
643
  ]
644
644
  }
645
645
  );
646
646
  }
647
647
  function Bn() {
648
- const e = I(), n = C("textTrack"), { t: o } = f(), { disableCaptionSettings: i } = g(), s = _(() => {
648
+ const e = I(), n = C("textTrack"), { t: o } = f(), { disableCaptionSettings: i } = g(), a = _(() => {
649
649
  e.setPage("captionLanguage");
650
650
  }, [e]);
651
651
  return i ? null : /* @__PURE__ */ t(
@@ -653,7 +653,7 @@ function Bn() {
653
653
  {
654
654
  label: o("LANGUAGE"),
655
655
  hint: (n == null ? void 0 : n.label) ?? o("OFF"),
656
- onClick: s
656
+ onClick: a
657
657
  }
658
658
  );
659
659
  }
@@ -694,7 +694,7 @@ function Zn() {
694
694
  }
695
695
  function zn() {
696
696
  const e = I(), { t: n } = f(), o = K();
697
- return /* @__PURE__ */ a(
697
+ return /* @__PURE__ */ s(
698
698
  "div",
699
699
  {
700
700
  ref: o,
@@ -703,7 +703,7 @@ function zn() {
703
703
  role: "menu",
704
704
  className: h.menuContainer,
705
705
  children: [
706
- /* @__PURE__ */ a(
706
+ /* @__PURE__ */ s(
707
707
  "button",
708
708
  {
709
709
  type: "button",
@@ -727,8 +727,8 @@ function zn() {
727
727
  );
728
728
  }
729
729
  function Kn() {
730
- const e = I(), n = ct(), { t: o } = f(), i = K();
731
- return /* @__PURE__ */ a(
730
+ const e = I(), n = st(), { t: o } = f(), i = K();
731
+ return /* @__PURE__ */ s(
732
732
  "div",
733
733
  {
734
734
  ref: i,
@@ -737,7 +737,7 @@ function Kn() {
737
737
  role: "menu",
738
738
  className: h.menuContainer,
739
739
  children: [
740
- /* @__PURE__ */ a(
740
+ /* @__PURE__ */ s(
741
741
  "button",
742
742
  {
743
743
  type: "button",
@@ -752,7 +752,7 @@ function Kn() {
752
752
  }
753
753
  ),
754
754
  /* @__PURE__ */ t("strong", { className: h.menuHeading, children: o("CAPTIONS") }),
755
- n.map(({ value: s, label: c, select: l, selected: r }) => /* @__PURE__ */ a(
755
+ n.map(({ value: a, label: c, select: l, selected: r }) => /* @__PURE__ */ s(
756
756
  "button",
757
757
  {
758
758
  type: "button",
@@ -766,7 +766,7 @@ function Kn() {
766
766
  /* @__PURE__ */ t("span", { className: h.menuItemLabel, children: c })
767
767
  ]
768
768
  },
769
- s
769
+ a
770
770
  ))
771
771
  ]
772
772
  }
@@ -774,7 +774,7 @@ function Kn() {
774
774
  }
775
775
  function Dn() {
776
776
  const e = g(), n = I(), { t: o } = f(), i = K();
777
- return /* @__PURE__ */ a(
777
+ return /* @__PURE__ */ s(
778
778
  "div",
779
779
  {
780
780
  ref: i,
@@ -783,7 +783,7 @@ function Dn() {
783
783
  role: "menu",
784
784
  className: h.menuContainer,
785
785
  children: [
786
- /* @__PURE__ */ a(
786
+ /* @__PURE__ */ s(
787
787
  "button",
788
788
  {
789
789
  type: "button",
@@ -798,43 +798,43 @@ function Dn() {
798
798
  }
799
799
  ),
800
800
  /* @__PURE__ */ t("strong", { className: h.menuHeading, children: o("CAPTIONS") }),
801
- Et.map((s) => /* @__PURE__ */ a(
801
+ Tt.map((a) => /* @__PURE__ */ s(
802
802
  "button",
803
803
  {
804
804
  type: "button",
805
805
  role: "menuitemradio",
806
- "aria-checked": s === e.state.captionsFontSizeMultiplier,
806
+ "aria-checked": a === e.state.captionsFontSizeMultiplier,
807
807
  onClick: () => {
808
- e.setCaptionsFontSizeMultiplier(s);
808
+ e.setCaptionsFontSizeMultiplier(a);
809
809
  },
810
810
  tabIndex: -1,
811
811
  className: h.menuItem,
812
812
  children: [
813
813
  /* @__PURE__ */ t(oe, { className: h.checkIcon }),
814
- /* @__PURE__ */ a("span", { className: h.menuItemLabel, children: [
815
- s * 100,
814
+ /* @__PURE__ */ s("span", { className: h.menuItemLabel, children: [
815
+ a * 100,
816
816
  "%"
817
817
  ] })
818
818
  ]
819
819
  },
820
- s
820
+ a
821
821
  ))
822
822
  ]
823
823
  }
824
824
  );
825
825
  }
826
826
  function $n() {
827
- const e = I(), n = lt({ sort: "descending" }), o = C("autoQuality"), { t: i } = f(), s = K();
828
- return /* @__PURE__ */ a(
827
+ const e = I(), n = ct({ sort: "descending" }), o = C("autoQuality"), { t: i } = f(), a = K();
828
+ return /* @__PURE__ */ s(
829
829
  "div",
830
830
  {
831
- ref: s,
831
+ ref: a,
832
832
  id: "submenu",
833
833
  "aria-label": i("QUALITY_MENU"),
834
834
  role: "menu",
835
835
  className: h.menuContainer,
836
836
  children: [
837
- /* @__PURE__ */ a(
837
+ /* @__PURE__ */ s(
838
838
  "button",
839
839
  {
840
840
  type: "button",
@@ -849,7 +849,7 @@ function $n() {
849
849
  }
850
850
  ),
851
851
  /* @__PURE__ */ t("strong", { className: h.menuHeading, children: i("QUALITY") }),
852
- n.map(({ value: c, label: l, select: r, selected: u }) => /* @__PURE__ */ a(
852
+ n.map(({ value: c, label: l, select: r, selected: u }) => /* @__PURE__ */ s(
853
853
  "button",
854
854
  {
855
855
  type: "button",
@@ -869,7 +869,7 @@ function $n() {
869
869
  }
870
870
  );
871
871
  }
872
- const De = ce(null), Un = {
872
+ const Ke = ce(null), Un = {
873
873
  main: In,
874
874
  speed: An,
875
875
  captions: zn,
@@ -878,8 +878,8 @@ const De = ce(null), Un = {
878
878
  quality: $n
879
879
  };
880
880
  function qn() {
881
- const e = g(), [n, o] = x(["main"]), [i, s] = x(!1), c = _(() => {
882
- s(!i), o(["main"]), e.setGlobalKeysDisabled(!i);
881
+ const e = g(), [n, o] = x(["main"]), [i, a] = x(!1), c = _(() => {
882
+ a(!i), o(["main"]), e.setGlobalKeysDisabled(!i);
883
883
  }, [i]), l = _((N) => {
884
884
  o((T) => T.concat(N));
885
885
  }, []), r = _(() => {
@@ -927,13 +927,13 @@ function jn() {
927
927
  arrowRef: n,
928
928
  context: o,
929
929
  floatingStyles: i,
930
- getFloatingProps: s,
930
+ getFloatingProps: a,
931
931
  getReferenceProps: c,
932
932
  open: l,
933
933
  refs: r,
934
934
  contextValue: u
935
935
  } = qn(), { t: p } = f();
936
- return /* @__PURE__ */ a(j, { children: [
936
+ return /* @__PURE__ */ s(j, { children: [
937
937
  /* @__PURE__ */ t(
938
938
  "button",
939
939
  {
@@ -947,16 +947,16 @@ function jn() {
947
947
  children: /* @__PURE__ */ t(en, { className: "controls-button-icon icon-rotate" })
948
948
  }
949
949
  ),
950
- l && /* @__PURE__ */ t(Se, { context: o, restoreFocus: !0, modal: !1, children: /* @__PURE__ */ a(
950
+ l && /* @__PURE__ */ t(Se, { context: o, restoreFocus: !0, modal: !1, children: /* @__PURE__ */ s(
951
951
  "div",
952
952
  {
953
953
  "aria-labelledby": "submenu",
954
954
  className: xe.settingsMenu,
955
955
  ref: r.setFloating,
956
956
  style: i,
957
- ...s(),
957
+ ...a(),
958
958
  children: [
959
- /* @__PURE__ */ t(De.Provider, { value: u, children: /* @__PURE__ */ t(e, {}) }),
959
+ /* @__PURE__ */ t(Ke.Provider, { value: u, children: /* @__PURE__ */ t(e, {}) }),
960
960
  /* @__PURE__ */ t(
961
961
  _e,
962
962
  {
@@ -970,17 +970,17 @@ function jn() {
970
970
  ) })
971
971
  ] });
972
972
  }
973
- function $e(e, n = 1e3) {
973
+ function De(e, n = 1e3) {
974
974
  return function() {
975
- const i = C("lastKeyboardAction"), [s, c] = x(!1), l = _(() => c(!1), []);
975
+ const i = C("lastKeyboardAction"), [a, c] = x(!1), l = _(() => c(!1), []);
976
976
  return Z(() => {
977
977
  c(!!i);
978
978
  const r = setTimeout(l, n);
979
979
  return () => clearTimeout(r);
980
- }, [i, n]), s ? /* @__PURE__ */ t(e, {}) : null;
980
+ }, [i, n]), a ? /* @__PURE__ */ t(e, {}) : null;
981
981
  };
982
982
  }
983
- const fe = (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" }) }), 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", { d: "M 5,2 V 22 L 21,12.000665 Z", fill: "currentColor" }) }), Ue = (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" }) }), qe = (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" }) }), Ge = (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" }) }), 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: "M10.691 3.99987V10.5281L0 4.00655V20.2596L10.691 13.7367V20.2663L23.9987 12.1331L10.691 3.99987Z", fill: "currentColor" }) }), Yn = (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" }) }), Xn = "_feedback-overlay_v4lbu_1", Jn = "_feedback-message_v4lbu_14", e1 = "_feedback-icon_v4lbu_30", t1 = "_feedback-icon-animation_v4lbu_1", L = {
983
+ const fe = (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" }) }), 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", { d: "M 5,2 V 22 L 21,12.000665 Z", fill: "currentColor" }) }), $e = (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" }) }), Ue = (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" }) }), qe = (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" }) }), 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: "M10.691 3.99987V10.5281L0 4.00655V20.2596L10.691 13.7367V20.2663L23.9987 12.1331L10.691 3.99987Z", fill: "currentColor" }) }), Yn = (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" }) }), Xn = "_feedback-overlay_v4lbu_1", Jn = "_feedback-message_v4lbu_14", e1 = "_feedback-icon_v4lbu_30", t1 = "_feedback-icon-animation_v4lbu_1", L = {
984
984
  "feedback-overlay": "_feedback-overlay_v4lbu_1",
985
985
  feedbackOverlay: Xn,
986
986
  "feedback-message": "_feedback-message_v4lbu_14",
@@ -1003,7 +1003,7 @@ function n1() {
1003
1003
  case "volumeUp":
1004
1004
  case "volumeDown":
1005
1005
  case "toggleMuted":
1006
- return /* @__PURE__ */ t("i", { className: L.feedbackIcon, children: e.muted || e.volume === 0 ? /* @__PURE__ */ t(Ue, {}) : e.volume >= 0.5 ? /* @__PURE__ */ t(Ge, {}) : /* @__PURE__ */ t(qe, {}) });
1006
+ return /* @__PURE__ */ t("i", { className: L.feedbackIcon, children: e.muted || e.volume === 0 ? /* @__PURE__ */ t($e, {}) : e.volume >= 0.5 ? /* @__PURE__ */ t(qe, {}) : /* @__PURE__ */ t(Ue, {}) });
1007
1007
  case "seekForward":
1008
1008
  case "seekForward10":
1009
1009
  return /* @__PURE__ */ t("i", { className: L.feedbackIcon, children: /* @__PURE__ */ t(Qn, { className: "right" }) });
@@ -1042,31 +1042,31 @@ function o1() {
1042
1042
  return null;
1043
1043
  }
1044
1044
  }
1045
- const i1 = $e(n1, 500), s1 = $e(o1, 1e3);
1046
- function We() {
1047
- return /* @__PURE__ */ a("div", { className: L.feedbackOverlay, children: [
1045
+ const i1 = De(n1, 500), a1 = De(o1, 1e3);
1046
+ function Ge() {
1047
+ return /* @__PURE__ */ s("div", { className: L.feedbackOverlay, children: [
1048
1048
  /* @__PURE__ */ t(i1, {}),
1049
- /* @__PURE__ */ t(s1, {})
1049
+ /* @__PURE__ */ t(a1, {})
1050
1050
  ] });
1051
1051
  }
1052
- const a1 = (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" }) }), c1 = (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" }) }), l1 = "_full-screen-button_1xm32_2", r1 = {
1052
+ const s1 = (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" }) }), c1 = (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" }) }), l1 = "_full-screen-button_1xm32_2", r1 = {
1053
1053
  "full-screen-button": "_full-screen-button_1xm32_2",
1054
1054
  fullScreenButton: l1
1055
1055
  };
1056
1056
  function u1() {
1057
- const e = C("fullscreen"), n = z(), o = g(), i = V(), { t: s } = f();
1057
+ const e = C("fullscreen"), n = z(), o = g(), i = V(), { t: a } = f();
1058
1058
  return i.hideFullScreen ? null : /* @__PURE__ */ t(
1059
1059
  "button",
1060
1060
  {
1061
1061
  role: "button",
1062
1062
  type: "button",
1063
- "aria-label": s(e ? "EXIT_FULLSCREEN" : "ENTER_FULLSCREEN"),
1063
+ "aria-label": a(e ? "EXIT_FULLSCREEN" : "ENTER_FULLSCREEN"),
1064
1064
  tabIndex: o.state.interactionsDisabled ? -1 : 0,
1065
1065
  className: `controls-button ${r1.fullScreenButton}`,
1066
1066
  onClick: () => {
1067
1067
  e ? n == null || n.exitFullscreen() : n == null || n.enterFullscreen();
1068
1068
  },
1069
- children: e ? /* @__PURE__ */ t(c1, { className: "controls-button-icon" }) : /* @__PURE__ */ t(a1, { className: "controls-button-icon" })
1069
+ children: e ? /* @__PURE__ */ t(c1, { className: "controls-button-icon" }) : /* @__PURE__ */ t(s1, { className: "controls-button-icon" })
1070
1070
  }
1071
1071
  );
1072
1072
  }
@@ -1081,7 +1081,7 @@ function h1() {
1081
1081
  };
1082
1082
  return /* @__PURE__ */ t("div", { className: Me.gesturesContainer, children: /* @__PURE__ */ t("div", { "aria-hidden": !0, className: Me.gesture, onClick: n }) });
1083
1083
  }
1084
- const je = (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: "M8.94968 7.74766L3.99993 2.79791L2.79785 3.99999L7.7476 8.94974L2.79785 13.8995L3.99993 15.1016L8.94968 10.1518L13.8994 15.1016L15.1015 13.8995L10.1518 8.94974L15.1015 3.99999L13.8994 2.79791L8.94968 7.74766Z", fill: "currentColor" }) }), p1 = "_controls-overlay_poi8b_1", _1 = "_keyboard-shortcuts-overlay_poi8b_11", C1 = "_screen-reader-content_poi8b_75", f1 = "_controls-button_poi8b_89", b1 = "_keyboard-shortcuts-button_poi8b_101", g1 = "_kebab-menu-button_poi8b_110", v1 = "_kebab-menu_poi8b_110", w1 = "_kebab-menu-item_poi8b_139", y1 = "_close-button_poi8b_178", k1 = "_arrow_poi8b_192", P = {
1084
+ const We = (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: "M8.94968 7.74766L3.99993 2.79791L2.79785 3.99999L7.7476 8.94974L2.79785 13.8995L3.99993 15.1016L8.94968 10.1518L13.8994 15.1016L15.1015 13.8995L10.1518 8.94974L15.1015 3.99999L13.8994 2.79791L8.94968 7.74766Z", fill: "currentColor" }) }), p1 = "_controls-overlay_poi8b_1", _1 = "_keyboard-shortcuts-overlay_poi8b_11", C1 = "_screen-reader-content_poi8b_75", f1 = "_controls-button_poi8b_89", b1 = "_keyboard-shortcuts-button_poi8b_101", g1 = "_kebab-menu-button_poi8b_110", v1 = "_kebab-menu_poi8b_110", w1 = "_kebab-menu-item_poi8b_139", y1 = "_close-button_poi8b_178", k1 = "_arrow_poi8b_192", P = {
1085
1085
  "controls-overlay": "_controls-overlay_poi8b_1",
1086
1086
  controlsOverlay: p1,
1087
1087
  "keyboard-shortcuts-overlay": "_keyboard-shortcuts-overlay_poi8b_11",
@@ -1108,7 +1108,7 @@ function L1({ onClose: e }) {
1108
1108
  const o = (i) => {
1109
1109
  i && i.focus();
1110
1110
  };
1111
- return /* @__PURE__ */ a(
1111
+ return /* @__PURE__ */ s(
1112
1112
  "div",
1113
1113
  {
1114
1114
  className: P.keyboardShortcutsOverlay,
@@ -1117,7 +1117,7 @@ function L1({ onClose: e }) {
1117
1117
  role: "dialog",
1118
1118
  "aria-label": n("KEYBOARD_SHORTCUTS"),
1119
1119
  children: [
1120
- /* @__PURE__ */ a("header", { children: [
1120
+ /* @__PURE__ */ s("header", { children: [
1121
1121
  /* @__PURE__ */ t("h2", { children: n("KEYBOARD_SHORTCUTS") }),
1122
1122
  /* @__PURE__ */ t(
1123
1123
  "button",
@@ -1126,89 +1126,89 @@ function L1({ onClose: e }) {
1126
1126
  className: P.closeButton,
1127
1127
  onClick: e,
1128
1128
  "aria-label": n("CLOSE"),
1129
- children: /* @__PURE__ */ t(je, {})
1129
+ children: /* @__PURE__ */ t(We, {})
1130
1130
  }
1131
1131
  )
1132
1132
  ] }),
1133
- /* @__PURE__ */ a("table", { children: [
1133
+ /* @__PURE__ */ s("table", { children: [
1134
1134
  /* @__PURE__ */ t("caption", { className: P.screenReaderContent, children: n("KEYBOARD_SHORTCUTS") }),
1135
- /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ a("tr", { children: [
1135
+ /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ s("tr", { children: [
1136
1136
  /* @__PURE__ */ t("th", { children: n("ACTION") }),
1137
1137
  /* @__PURE__ */ t("th", { children: n("SHORTCUT") })
1138
1138
  ] }) }),
1139
- /* @__PURE__ */ a("tbody", { children: [
1140
- /* @__PURE__ */ a("tr", { children: [
1139
+ /* @__PURE__ */ s("tbody", { children: [
1140
+ /* @__PURE__ */ s("tr", { children: [
1141
1141
  /* @__PURE__ */ t("td", { children: n("SEEK_BACKWARD", { seconds: 5 }) }),
1142
1142
  /* @__PURE__ */ t("td", { children: n("LEFT_ARROW") })
1143
1143
  ] }),
1144
- /* @__PURE__ */ a("tr", { children: [
1144
+ /* @__PURE__ */ s("tr", { children: [
1145
1145
  /* @__PURE__ */ t("td", { children: n("SEEK_FORWARD", { seconds: 5 }) }),
1146
1146
  /* @__PURE__ */ t("td", { children: n("RIGHT_ARROW") })
1147
1147
  ] }),
1148
- /* @__PURE__ */ a("tr", { children: [
1148
+ /* @__PURE__ */ s("tr", { children: [
1149
1149
  /* @__PURE__ */ t("td", { children: n("SEEK_BACKWARD", { seconds: 10 }) }),
1150
1150
  /* @__PURE__ */ t("td", { children: "J" })
1151
1151
  ] }),
1152
- /* @__PURE__ */ a("tr", { children: [
1152
+ /* @__PURE__ */ s("tr", { children: [
1153
1153
  /* @__PURE__ */ t("td", { children: n("SEEK_FORWARD", { seconds: 10 }) }),
1154
1154
  /* @__PURE__ */ t("td", { children: "L" })
1155
1155
  ] }),
1156
- /* @__PURE__ */ a("tr", { children: [
1156
+ /* @__PURE__ */ s("tr", { children: [
1157
1157
  /* @__PURE__ */ t("td", { children: n("INCREASE_VOLUME", { percent: 5 }) }),
1158
1158
  /* @__PURE__ */ t("td", { children: n("UP_ARROW") })
1159
1159
  ] }),
1160
- /* @__PURE__ */ a("tr", { children: [
1160
+ /* @__PURE__ */ s("tr", { children: [
1161
1161
  /* @__PURE__ */ t("td", { children: n("DECREASE_VOLUME", { percent: 5 }) }),
1162
1162
  /* @__PURE__ */ t("td", { children: n("DOWN_ARROW") })
1163
1163
  ] }),
1164
- /* @__PURE__ */ a("tr", { children: [
1164
+ /* @__PURE__ */ s("tr", { children: [
1165
1165
  /* @__PURE__ */ t("td", { children: n("TOGGLE_MUTED") }),
1166
1166
  /* @__PURE__ */ t("td", { children: "M" })
1167
1167
  ] }),
1168
- /* @__PURE__ */ a("tr", { children: [
1168
+ /* @__PURE__ */ s("tr", { children: [
1169
1169
  /* @__PURE__ */ t("td", { children: n("TOGGLE_PLAY_PAUSE") }),
1170
- /* @__PURE__ */ a("td", { children: [
1170
+ /* @__PURE__ */ s("td", { children: [
1171
1171
  n("SPACE"),
1172
1172
  ", K"
1173
1173
  ] })
1174
1174
  ] }),
1175
- /* @__PURE__ */ a("tr", { children: [
1175
+ /* @__PURE__ */ s("tr", { children: [
1176
1176
  /* @__PURE__ */ t("td", { children: n("ENTER_FULLSCREEN") }),
1177
1177
  /* @__PURE__ */ t("td", { children: "F" })
1178
1178
  ] }),
1179
- /* @__PURE__ */ a("tr", { children: [
1179
+ /* @__PURE__ */ s("tr", { children: [
1180
1180
  /* @__PURE__ */ t("td", { children: n("EXIT_FULLSCREEN") }),
1181
1181
  /* @__PURE__ */ t("td", { children: "Esc, F" })
1182
1182
  ] }),
1183
- /* @__PURE__ */ a("tr", { children: [
1183
+ /* @__PURE__ */ s("tr", { children: [
1184
1184
  /* @__PURE__ */ t("td", { children: n("TOGGLE_CAPTIONS") }),
1185
1185
  /* @__PURE__ */ t("td", { children: "C" })
1186
1186
  ] }),
1187
- /* @__PURE__ */ a("tr", { children: [
1187
+ /* @__PURE__ */ s("tr", { children: [
1188
1188
  /* @__PURE__ */ t("td", { children: n("NEXT_CAPTION_LANGUAGE") }),
1189
1189
  /* @__PURE__ */ t("td", { children: "V" })
1190
1190
  ] }),
1191
- /* @__PURE__ */ a("tr", { children: [
1191
+ /* @__PURE__ */ s("tr", { children: [
1192
1192
  /* @__PURE__ */ t("td", { children: n("PREVIOUS_CAPTION_LANGUAGE") }),
1193
1193
  /* @__PURE__ */ t("td", { children: "X" })
1194
1194
  ] }),
1195
- /* @__PURE__ */ a("tr", { children: [
1195
+ /* @__PURE__ */ s("tr", { children: [
1196
1196
  /* @__PURE__ */ t("td", { children: n("DECREASE_PLAYBACK_SPEED") }),
1197
1197
  /* @__PURE__ */ t("td", { children: "A" })
1198
1198
  ] }),
1199
- /* @__PURE__ */ a("tr", { children: [
1199
+ /* @__PURE__ */ s("tr", { children: [
1200
1200
  /* @__PURE__ */ t("td", { children: n("RESET_PLAYBACK_SPEED") }),
1201
1201
  /* @__PURE__ */ t("td", { children: "S" })
1202
1202
  ] }),
1203
- /* @__PURE__ */ a("tr", { children: [
1203
+ /* @__PURE__ */ s("tr", { children: [
1204
1204
  /* @__PURE__ */ t("td", { children: n("INCREASE_PLAYBACK_SPEED") }),
1205
1205
  /* @__PURE__ */ t("td", { children: "D" })
1206
1206
  ] }),
1207
- /* @__PURE__ */ a("tr", { children: [
1207
+ /* @__PURE__ */ s("tr", { children: [
1208
1208
  /* @__PURE__ */ t("td", { children: n("JUMP_TO_START") }),
1209
1209
  /* @__PURE__ */ t("td", { children: "0" })
1210
1210
  ] }),
1211
- /* @__PURE__ */ a("tr", { children: [
1211
+ /* @__PURE__ */ s("tr", { children: [
1212
1212
  /* @__PURE__ */ t("td", { children: n("JUMP_TO_PERCENTAGE") }),
1213
1213
  /* @__PURE__ */ t("td", { children: "1-9" })
1214
1214
  ] })
@@ -1225,8 +1225,8 @@ const x1 = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0
1225
1225
  delete: /* @__PURE__ */ t(I1, {})
1226
1226
  }, V1 = (e) => typeof e != "string";
1227
1227
  function S1() {
1228
- const [e, n] = x(!1), [o, i] = x(null), s = g(), c = V(), l = () => {
1229
- n(!e), s.setGlobalKeysDisabled(!e);
1228
+ const [e, n] = x(!1), [o, i] = x(null), a = g(), c = V(), l = () => {
1229
+ n(!e), a.setGlobalKeysDisabled(!e);
1230
1230
  }, r = W(null), u = W([]), { refs: p, floatingStyles: v, context: y } = re({
1231
1231
  open: e,
1232
1232
  onOpenChange: l,
@@ -1240,21 +1240,21 @@ function S1() {
1240
1240
  element: r
1241
1241
  })
1242
1242
  ]
1243
- }), k = bt(y, {
1243
+ }), k = ft(y, {
1244
1244
  listRef: u,
1245
1245
  activeIndex: o,
1246
1246
  onNavigate: i
1247
1247
  }), w = he(y), { getReferenceProps: M, getFloatingProps: m, getItemProps: b } = pe(
1248
1248
  [w, k]
1249
1249
  ), { t: N } = f();
1250
- return c.kebabMenuElements.length > 0 ? /* @__PURE__ */ a(j, { children: [
1250
+ return c.kebabMenuElements.length > 0 ? /* @__PURE__ */ s(j, { children: [
1251
1251
  /* @__PURE__ */ t(
1252
1252
  "button",
1253
1253
  {
1254
1254
  "aria-label": N("KEBAB_MENU"),
1255
1255
  type: "button",
1256
1256
  className: `${P.controlsButton} ${P.kebabMenuButton}`,
1257
- tabIndex: s.state.interactionsDisabled ? -1 : 0,
1257
+ tabIndex: a.state.interactionsDisabled ? -1 : 0,
1258
1258
  ref: p.setReference,
1259
1259
  ...M({
1260
1260
  onClick: () => l()
@@ -1262,7 +1262,7 @@ function S1() {
1262
1262
  children: /* @__PURE__ */ t(x1, {})
1263
1263
  }
1264
1264
  ),
1265
- e && /* @__PURE__ */ t(Se, { context: y, modal: !1, children: /* @__PURE__ */ a(
1265
+ e && /* @__PURE__ */ t(Se, { context: y, modal: !1, children: /* @__PURE__ */ s(
1266
1266
  "div",
1267
1267
  {
1268
1268
  ref: p.setFloating,
@@ -1271,7 +1271,7 @@ function S1() {
1271
1271
  ...m(),
1272
1272
  children: [
1273
1273
  c.kebabMenuElements.map(
1274
- ({ id: T, text: D, icon: B, onClick: ie }, X) => /* @__PURE__ */ a(
1274
+ ({ id: T, text: D, icon: B, onClick: ie }, X) => /* @__PURE__ */ s(
1275
1275
  "button",
1276
1276
  {
1277
1277
  tabIndex: o === X ? 0 : -1,
@@ -1308,15 +1308,15 @@ function S1() {
1308
1308
  }
1309
1309
  const T1 = (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: "M4.76472 10.5294C5.05696 10.5294 5.29413 10.2922 5.29413 9.99999V8.94117C5.29413 8.64893 5.05696 8.41175 4.76472 8.41175H3.7059C3.41366 8.41175 3.17649 8.64893 3.17649 8.94117V9.99999C3.17649 10.2922 3.41366 10.5294 3.7059 10.5294H4.76472ZM11.1177 10.5294C11.4099 10.5294 11.6471 10.2922 11.6471 9.99999V8.94117C11.6471 8.64893 11.4099 8.41175 11.1177 8.41175H10.0588C9.76661 8.41175 9.52944 8.64893 9.52944 8.94117V9.99999C9.52944 10.2922 9.76661 10.5294 10.0588 10.5294H11.1177ZM14.8235 9.99999C14.8235 10.2922 14.5864 10.5294 14.2941 10.5294H13.2353C12.9431 10.5294 12.7059 10.2922 12.7059 9.99999V8.94117C12.7059 8.64893 12.9431 8.41175 13.2353 8.41175H14.2941C14.5864 8.41175 14.8235 8.64893 14.8235 8.94117V9.99999ZM14.8235 13.1765C14.8235 13.4687 14.5864 13.7059 14.2941 13.7059H13.2353C12.9431 13.7059 12.7059 13.4687 12.7059 13.1765V12.1176C12.7059 11.8254 12.9431 11.5882 13.2353 11.5882H14.2941C14.5864 11.5882 14.8235 11.8254 14.8235 12.1176V13.1765ZM11.6471 13.1765C11.6471 13.4687 11.4099 13.7059 11.1177 13.7059H6.88239C6.59015 13.7059 6.35297 13.4687 6.35297 13.1765V12.1176C6.35297 11.8254 6.59015 11.5882 6.88239 11.5882H11.1177C11.4099 11.5882 11.6471 11.8254 11.6471 12.1176V13.1765ZM5.29413 13.1765C5.29413 13.4687 5.05696 13.7059 4.76472 13.7059H3.7059C3.41366 13.7059 3.17649 13.4687 3.17649 13.1765V12.1176C3.17649 11.8254 3.41366 11.5882 3.7059 11.5882H4.76472C5.05696 11.5882 5.29413 11.8254 5.29413 12.1176V13.1765ZM6.88238 8.41175C6.59015 8.41175 6.35297 8.64893 6.35297 8.94117V9.99999C6.35297 10.2922 6.59015 10.5294 6.88238 10.5294H7.94121C8.23344 10.5294 8.47062 10.2922 8.47062 9.99999V8.94117C8.47062 8.64893 8.23344 8.41175 7.94121 8.41175H6.88238ZM16.4118 5.23529H9.57494C9.71471 4.42 10.1933 4.17118 10.8254 3.85565C11.6629 3.43741 12.7059 2.91541 12.7059 1H11.6471C11.6471 2.26106 11.1039 2.53212 10.3511 2.90906C9.59824 3.28494 8.68659 3.75506 8.50871 5.23529H1.58824C0.712588 5.23529 0 5.94788 0 6.82353V15.2941C0 16.1698 0.712588 16.8824 1.58824 16.8824H16.4118C17.2874 16.8824 18 16.1698 18 15.2941V6.82353C18 5.94788 17.2874 5.23529 16.4118 5.23529Z", fill: "currentColor" }) });
1310
1310
  function E1() {
1311
- const [e, n] = x(!1), [o, i] = x(!1), [s, c] = x(!1), l = g(), r = C("playing"), u = ne(), { t: p } = f(), v = _(() => {
1311
+ const [e, n] = x(!1), [o, i] = x(!1), [a, c] = x(!1), l = g(), r = C("playing"), u = ne(), { t: p } = f(), v = _(() => {
1312
1312
  n(!0), l.disableInteractions(), r && (c(!0), u.pause());
1313
1313
  }, [r, u, l]), y = _(() => {
1314
- n(!1), i(!0), l.enableInteractions(), s && (c(!1), u.play());
1315
- }, [s, u, l]), k = _(
1314
+ n(!1), i(!0), l.enableInteractions(), a && (c(!1), u.play());
1315
+ }, [a, u, l]), k = _(
1316
1316
  (w) => o && (w == null ? void 0 : w.focus()),
1317
1317
  [o]
1318
1318
  );
1319
- return e ? /* @__PURE__ */ t(L1, { onClose: y }) : /* @__PURE__ */ a("div", { className: P.controlsOverlay, children: [
1319
+ return e ? /* @__PURE__ */ t(L1, { onClose: y }) : /* @__PURE__ */ s("div", { className: P.controlsOverlay, children: [
1320
1320
  /* @__PURE__ */ t(
1321
1321
  "button",
1322
1322
  {
@@ -1358,7 +1358,7 @@ const O1 = "_poster_195hi_1", F1 = {
1358
1358
  };
1359
1359
  function Z1({ src: e }) {
1360
1360
  const n = C("source");
1361
- return n.type === "video/youtube" || n.type === "video/vimeo" ? null : /* @__PURE__ */ t(rt, { src: e, className: F1.poster });
1361
+ return n.type === "video/youtube" || n.type === "video/vimeo" ? null : /* @__PURE__ */ t(lt, { src: e, className: F1.poster });
1362
1362
  }
1363
1363
  const z1 = "_small-layout-overlay_1pd49_1", K1 = "_small-layout-button_1pd49_14", D1 = "_small-layout-icon-play_1pd49_24", $1 = "_small-layout-icon-pause_1pd49_30", U1 = "_full-screen-close-icon_1pd49_36", q1 = "_fade-out_1pd49_1", q = {
1364
1364
  "small-layout-overlay": "_small-layout-overlay_1pd49_1",
@@ -1376,8 +1376,8 @@ const z1 = "_small-layout-overlay_1pd49_1", K1 = "_small-layout-button_1pd49_14"
1376
1376
  };
1377
1377
  function G1() {
1378
1378
  const e = C("paused");
1379
- return /* @__PURE__ */ a("div", { className: q.smallLayoutOverlay, children: [
1380
- /* @__PURE__ */ t(ut, { className: q.fullScreenCloseIcon, children: /* @__PURE__ */ t(je, {}) }),
1379
+ return /* @__PURE__ */ s("div", { className: q.smallLayoutOverlay, children: [
1380
+ /* @__PURE__ */ t(rt, { className: q.fullScreenCloseIcon, children: /* @__PURE__ */ t(We, {}) }),
1381
1381
  /* @__PURE__ */ t("i", { className: q.smallLayoutButton, children: e ? /* @__PURE__ */ t(be, { className: q.smallLayoutIconPlay }) : /* @__PURE__ */ t(fe, { className: q.smallLayoutIconPause }) })
1382
1382
  ] });
1383
1383
  }
@@ -1386,75 +1386,75 @@ const W1 = "_time-indicator_1rlpb_1", j1 = {
1386
1386
  timeIndicator: W1
1387
1387
  };
1388
1388
  function Q1() {
1389
- return /* @__PURE__ */ a("div", { className: j1.timeIndicator, children: [
1389
+ return /* @__PURE__ */ s("div", { className: j1.timeIndicator, children: [
1390
1390
  /* @__PURE__ */ t(ke, { type: "current" }),
1391
1391
  "/",
1392
1392
  /* @__PURE__ */ t(ke, { type: "duration" })
1393
1393
  ] });
1394
1394
  }
1395
- const Y1 = "_comment-markers_49pse_1", X1 = "_comment-marker_49pse_1", J1 = "_timeline-wrapper_49pse_21", eo = "_track_49pse_35", to = "_thumb_49pse_48", no = "_root_49pse_62", oo = "_track-inner_49pse_92", io = "_progress_49pse_98", so = "_track-fill_49pse_104", ao = "_pins_49pse_121", co = "_pin-button_49pse_134", lo = "_annotation-pin_49pse_154", ro = "_quiz-pin_49pse_159", uo = "_annotation-pin-child_49pse_164", mo = "_quiz-pin-child_49pse_168", ho = "_interactive-pin-container_49pse_173", po = "_interactive-pin-wrapper_49pse_183", _o = "_interactive-pin-icon_49pse_189", Co = "_interactive-pin_49pse_173", fo = "_bg_49pse_203", bo = "_symbol_49pse_207", go = "_interactive-pin-button_49pse_212", vo = "_interactive-pin-menu_49pse_232", wo = "_interactive-pin-menu-item_49pse_246", yo = "_arrow_49pse_267", d = {
1396
- "comment-markers": "_comment-markers_49pse_1",
1395
+ const Y1 = "_comment-markers_1pad4_1", X1 = "_comment-marker_1pad4_1", J1 = "_timeline-wrapper_1pad4_27", eo = "_track_1pad4_41", to = "_thumb_1pad4_54", no = "_root_1pad4_68", oo = "_track-inner_1pad4_98", io = "_progress_1pad4_104", ao = "_track-fill_1pad4_110", so = "_pins_1pad4_127", co = "_pin-button_1pad4_140", lo = "_annotation-pin_1pad4_160", ro = "_quiz-pin_1pad4_165", uo = "_annotation-pin-child_1pad4_170", mo = "_quiz-pin-child_1pad4_174", ho = "_interactive-pin-container_1pad4_179", po = "_interactive-pin-wrapper_1pad4_189", _o = "_interactive-pin-icon_1pad4_195", Co = "_interactive-pin_1pad4_179", fo = "_bg_1pad4_209", bo = "_symbol_1pad4_213", go = "_interactive-pin-button_1pad4_218", vo = "_interactive-pin-menu_1pad4_238", wo = "_interactive-pin-menu-item_1pad4_252", yo = "_arrow_1pad4_273", d = {
1396
+ "comment-markers": "_comment-markers_1pad4_1",
1397
1397
  commentMarkers: Y1,
1398
- "comment-marker": "_comment-marker_49pse_1",
1398
+ "comment-marker": "_comment-marker_1pad4_1",
1399
1399
  commentMarker: X1,
1400
- "timeline-wrapper": "_timeline-wrapper_49pse_21",
1400
+ "timeline-wrapper": "_timeline-wrapper_1pad4_27",
1401
1401
  timelineWrapper: J1,
1402
1402
  track: eo,
1403
1403
  thumb: to,
1404
1404
  root: no,
1405
- "track-inner": "_track-inner_49pse_92",
1405
+ "track-inner": "_track-inner_1pad4_98",
1406
1406
  trackInner: oo,
1407
1407
  progress: io,
1408
- "track-fill": "_track-fill_49pse_104",
1409
- trackFill: so,
1410
- pins: ao,
1411
- "pin-button": "_pin-button_49pse_134",
1408
+ "track-fill": "_track-fill_1pad4_110",
1409
+ trackFill: ao,
1410
+ pins: so,
1411
+ "pin-button": "_pin-button_1pad4_140",
1412
1412
  pinButton: co,
1413
- "annotation-pin": "_annotation-pin_49pse_154",
1413
+ "annotation-pin": "_annotation-pin_1pad4_160",
1414
1414
  annotationPin: lo,
1415
- "quiz-pin": "_quiz-pin_49pse_159",
1415
+ "quiz-pin": "_quiz-pin_1pad4_165",
1416
1416
  quizPin: ro,
1417
- "annotation-pin-child": "_annotation-pin-child_49pse_164",
1417
+ "annotation-pin-child": "_annotation-pin-child_1pad4_170",
1418
1418
  annotationPinChild: uo,
1419
- "quiz-pin-child": "_quiz-pin-child_49pse_168",
1419
+ "quiz-pin-child": "_quiz-pin-child_1pad4_174",
1420
1420
  quizPinChild: mo,
1421
- "interactive-pin-container": "_interactive-pin-container_49pse_173",
1421
+ "interactive-pin-container": "_interactive-pin-container_1pad4_179",
1422
1422
  interactivePinContainer: ho,
1423
- "interactive-pin-wrapper": "_interactive-pin-wrapper_49pse_183",
1423
+ "interactive-pin-wrapper": "_interactive-pin-wrapper_1pad4_189",
1424
1424
  interactivePinWrapper: po,
1425
- "interactive-pin-icon": "_interactive-pin-icon_49pse_189",
1425
+ "interactive-pin-icon": "_interactive-pin-icon_1pad4_195",
1426
1426
  interactivePinIcon: _o,
1427
- "interactive-pin": "_interactive-pin_49pse_173",
1427
+ "interactive-pin": "_interactive-pin_1pad4_179",
1428
1428
  interactivePin: Co,
1429
1429
  bg: fo,
1430
1430
  symbol: bo,
1431
- "interactive-pin-button": "_interactive-pin-button_49pse_212",
1431
+ "interactive-pin-button": "_interactive-pin-button_1pad4_218",
1432
1432
  interactivePinButton: go,
1433
- "interactive-pin-menu": "_interactive-pin-menu_49pse_232",
1433
+ "interactive-pin-menu": "_interactive-pin-menu_1pad4_238",
1434
1434
  interactivePinMenu: vo,
1435
- "interactive-pin-menu-item": "_interactive-pin-menu-item_49pse_246",
1435
+ "interactive-pin-menu-item": "_interactive-pin-menu-item_1pad4_252",
1436
1436
  interactivePinMenuItem: wo,
1437
1437
  arrow: yo
1438
1438
  }, ko = {
1439
1439
  annotation: d.annotationPin,
1440
1440
  quiz: d.quizPin
1441
1441
  };
1442
- function Qe({
1442
+ function je({
1443
1443
  type: e,
1444
1444
  position: n,
1445
1445
  children: o,
1446
1446
  onClick: i
1447
1447
  }) {
1448
- const s = g();
1448
+ const a = g();
1449
1449
  return /* @__PURE__ */ t(
1450
1450
  "button",
1451
1451
  {
1452
1452
  type: "button",
1453
- tabIndex: s.state.interactionsDisabled ? -1 : 0,
1453
+ tabIndex: a.state.interactionsDisabled ? -1 : 0,
1454
1454
  className: d.pinButton,
1455
1455
  style: { left: `${n}%` },
1456
1456
  onClick: i,
1457
- children: /* @__PURE__ */ a(
1457
+ children: /* @__PURE__ */ s(
1458
1458
  "svg",
1459
1459
  {
1460
1460
  className: ko[e],
@@ -1472,7 +1472,7 @@ function Qe({
1472
1472
  );
1473
1473
  }
1474
1474
  function Lo(e) {
1475
- return /* @__PURE__ */ t(Qe, { type: "annotation", ...e, children: /* @__PURE__ */ t(
1475
+ return /* @__PURE__ */ t(je, { type: "annotation", ...e, children: /* @__PURE__ */ t(
1476
1476
  "path",
1477
1477
  {
1478
1478
  className: d.annotationPinChild,
@@ -1485,7 +1485,7 @@ function Lo(e) {
1485
1485
  ) });
1486
1486
  }
1487
1487
  function xo(e) {
1488
- return /* @__PURE__ */ t(Qe, { type: "quiz", ...e, children: e.multiple ? /* @__PURE__ */ t("circle", { className: d.quizPinChild, cx: "13", cy: "13", r: "6" }) : /* @__PURE__ */ t(
1488
+ return /* @__PURE__ */ t(je, { type: "quiz", ...e, children: e.multiple ? /* @__PURE__ */ t("circle", { className: d.quizPinChild, cx: "13", cy: "13", r: "6" }) : /* @__PURE__ */ t(
1489
1489
  "text",
1490
1490
  {
1491
1491
  className: d.quizPinChild,
@@ -1515,27 +1515,27 @@ function No(e, n) {
1515
1515
  o.has(l) || o.set(l, []), (r = o.get(l)) == null || r.push(c);
1516
1516
  });
1517
1517
  const i = [];
1518
- let s = 1;
1518
+ let a = 1;
1519
1519
  return o.forEach((c, l) => {
1520
1520
  i.push({
1521
1521
  id: c.map((r) => r.id).join("-"),
1522
1522
  time: l,
1523
1523
  type: "quiz",
1524
- ordinal: s + 1,
1524
+ ordinal: a + 1,
1525
1525
  onClick: () => n(c),
1526
1526
  multiple: c.length > 1
1527
- }), s++;
1527
+ }), a++;
1528
1528
  }), i;
1529
1529
  }
1530
1530
  function Po(e, n, o, i) {
1531
1531
  switch (e.type) {
1532
1532
  case "annotation": {
1533
- const s = () => i ? e.onClick() : o.seek(e.time);
1533
+ const a = () => i ? e.onClick() : o.seek(e.time);
1534
1534
  return /* @__PURE__ */ t(
1535
1535
  Lo,
1536
1536
  {
1537
1537
  position: e.time / n * 100,
1538
- onClick: s
1538
+ onClick: a
1539
1539
  },
1540
1540
  e.id
1541
1541
  );
@@ -1567,28 +1567,21 @@ function Io() {
1567
1567
  }
1568
1568
  function Ho() {
1569
1569
  const e = C("duration"), n = V(), o = g();
1570
- return n.hasComments && o.state.commentsEnabled ? /* @__PURE__ */ t("div", { className: d.commentMarkers, children: n.comments.map((i) => {
1571
- const s = Math.min(
1572
- Math.abs(e - i.timestamp),
1573
- ze
1574
- );
1575
- return /* @__PURE__ */ t(
1576
- "span",
1577
- {
1578
- className: d.commentMarker,
1579
- style: {
1580
- left: `${i.timestamp / e * 100}%`,
1581
- width: `${s / e * 100}%`
1582
- }
1583
- },
1584
- i.id
1585
- );
1586
- }) }) : null;
1570
+ return n.hasComments && o.state.commentsEnabled ? /* @__PURE__ */ t("div", { className: d.commentMarkers, children: n.comments.map((i) => /* @__PURE__ */ t(
1571
+ "span",
1572
+ {
1573
+ className: d.commentMarker,
1574
+ style: {
1575
+ left: `${i.timestamp / e * 100}%`
1576
+ }
1577
+ },
1578
+ i.id
1579
+ )) }) : null;
1587
1580
  }
1588
1581
  function Vo({ currentTime: e, position: n }) {
1589
- const [o, i] = x(!1), s = V(), c = _(() => s.interactiveMenuElements.length > 0 ? i((w) => !w) : s.onInteractivePinClick(e), [
1590
- s.interactiveMenuElements,
1591
- s.onInteractivePinClick,
1582
+ const [o, i] = x(!1), a = V(), c = _(() => a.interactiveMenuElements.length > 0 ? i((w) => !w) : a.onInteractivePinClick(e), [
1583
+ a.interactiveMenuElements,
1584
+ a.onInteractivePinClick,
1592
1585
  e
1593
1586
  ]), l = W(null), { refs: r, floatingStyles: u, context: p } = re({
1594
1587
  open: o,
@@ -1604,7 +1597,7 @@ function Vo({ currentTime: e, position: n }) {
1604
1597
  })
1605
1598
  ]
1606
1599
  }), v = he(p), { getReferenceProps: y, getFloatingProps: k } = pe([v]);
1607
- return /* @__PURE__ */ a(j, { children: [
1600
+ return /* @__PURE__ */ s(j, { children: [
1608
1601
  /* @__PURE__ */ t(
1609
1602
  "button",
1610
1603
  {
@@ -1614,7 +1607,7 @@ function Vo({ currentTime: e, position: n }) {
1614
1607
  ref: r.setReference,
1615
1608
  style: { left: `${n}%` },
1616
1609
  ...y(),
1617
- children: /* @__PURE__ */ a(
1610
+ children: /* @__PURE__ */ s(
1618
1611
  "svg",
1619
1612
  {
1620
1613
  className: d.interactivePin,
@@ -1654,7 +1647,7 @@ function Vo({ currentTime: e, position: n }) {
1654
1647
  )
1655
1648
  }
1656
1649
  ),
1657
- o && /* @__PURE__ */ a(
1650
+ o && /* @__PURE__ */ s(
1658
1651
  "div",
1659
1652
  {
1660
1653
  ref: r.setFloating,
@@ -1662,7 +1655,7 @@ function Vo({ currentTime: e, position: n }) {
1662
1655
  className: d.interactivePinMenu,
1663
1656
  ...k(),
1664
1657
  children: [
1665
- s.interactiveMenuElements.map(({ id: w, text: M, onClick: m }) => /* @__PURE__ */ a(
1658
+ a.interactiveMenuElements.map(({ id: w, text: M, onClick: m }) => /* @__PURE__ */ s(
1666
1659
  "button",
1667
1660
  {
1668
1661
  type: "button",
@@ -1718,25 +1711,25 @@ function To() {
1718
1711
  }
1719
1712
  const Eo = `${d.progress} ${d.trackInner}`, Ro = `${d.trackFill} ${d.trackInner}`;
1720
1713
  function Ne({ className: e }) {
1721
- const n = g(), { hasAnnotations: o, hasQuizmarkers: i, interactive: s } = V(), c = e ? `${d.timelineWrapper} ${e}` : d.timelineWrapper;
1722
- return /* @__PURE__ */ a("div", { className: c, children: [
1723
- s ? /* @__PURE__ */ t(To, {}) : null,
1724
- s || o || i ? /* @__PURE__ */ t(Io, {}) : null,
1725
- /* @__PURE__ */ a(
1714
+ const n = g(), { hasAnnotations: o, hasQuizmarkers: i, interactive: a } = V(), c = e ? `${d.timelineWrapper} ${e}` : d.timelineWrapper;
1715
+ return /* @__PURE__ */ s("div", { className: c, children: [
1716
+ a ? /* @__PURE__ */ t(To, {}) : null,
1717
+ a || o || i ? /* @__PURE__ */ t(Io, {}) : null,
1718
+ /* @__PURE__ */ t(Ho, {}),
1719
+ /* @__PURE__ */ s(
1726
1720
  U.Root,
1727
1721
  {
1728
1722
  className: d.root,
1729
1723
  tabIndex: n.state.interactionsDisabled ? -1 : 0,
1730
1724
  children: [
1731
- /* @__PURE__ */ a(U.Track, { className: d.track, children: [
1725
+ /* @__PURE__ */ s(U.Track, { className: d.track, children: [
1732
1726
  /* @__PURE__ */ t(U.Progress, { className: Eo }),
1733
1727
  /* @__PURE__ */ t(U.TrackFill, { className: Ro })
1734
1728
  ] }),
1735
1729
  /* @__PURE__ */ t(U.Thumb, { className: d.thumb })
1736
1730
  ]
1737
1731
  }
1738
- ),
1739
- /* @__PURE__ */ t(Ho, {})
1732
+ )
1740
1733
  ] });
1741
1734
  }
1742
1735
  const Ao = "_wrapper_12cb0_1", Bo = "_track_12cb0_6", Oo = "_thumb_12cb0_18", Fo = "_track-fill_12cb0_32", Zo = "_root_12cb0_51", G = {
@@ -1748,8 +1741,8 @@ const Ao = "_wrapper_12cb0_1", Bo = "_track_12cb0_6", Oo = "_thumb_12cb0_18", Fo
1748
1741
  root: Zo
1749
1742
  };
1750
1743
  function zo() {
1751
- const e = z(), n = C("volume"), o = C("muted"), i = g(), s = o || n === 0, { t: c } = f();
1752
- return /* @__PURE__ */ a("div", { className: G.wrapper, children: [
1744
+ const e = z(), n = C("volume"), o = C("muted"), i = g(), a = o || n === 0, { t: c } = f();
1745
+ return /* @__PURE__ */ s("div", { className: G.wrapper, children: [
1753
1746
  /* @__PURE__ */ t(
1754
1747
  "button",
1755
1748
  {
@@ -1757,14 +1750,14 @@ function zo() {
1757
1750
  type: "button",
1758
1751
  tabIndex: i.state.interactionsDisabled ? -1 : 0,
1759
1752
  className: "controls-button",
1760
- "aria-label": c(s ? "VOLUME" : "MUTE"),
1753
+ "aria-label": c(a ? "VOLUME" : "MUTE"),
1761
1754
  onClick: () => {
1762
- s ? e == null || e.remoteControl.unmute() : e == null || e.remoteControl.mute();
1755
+ a ? e == null || e.remoteControl.unmute() : e == null || e.remoteControl.mute();
1763
1756
  },
1764
- children: s ? /* @__PURE__ */ t(Ue, { className: "controls-button-icon" }) : n < 0.5 ? /* @__PURE__ */ t(qe, { className: "controls-button-icon" }) : /* @__PURE__ */ t(Ge, { className: "controls-button-icon" })
1757
+ children: a ? /* @__PURE__ */ t($e, { className: "controls-button-icon" }) : n < 0.5 ? /* @__PURE__ */ t(Ue, { className: "controls-button-icon" }) : /* @__PURE__ */ t(qe, { className: "controls-button-icon" })
1765
1758
  }
1766
1759
  ),
1767
- /* @__PURE__ */ a(
1760
+ /* @__PURE__ */ s(
1768
1761
  J.Root,
1769
1762
  {
1770
1763
  className: G.root,
@@ -1798,9 +1791,9 @@ const Pe = {
1798
1791
  nextCaptionLanguage: {
1799
1792
  keys: ["v"],
1800
1793
  onKeyUp({ event: e, player: n, remote: o }) {
1801
- const i = n.textTracks.selectedIndex, s = i + 1;
1794
+ const i = n.textTracks.selectedIndex, a = i + 1;
1802
1795
  o.changeTextTrackMode(i, "hidden"), o.changeTextTrackMode(
1803
- s >= n.textTracks.length ? 0 : s,
1796
+ a >= n.textTracks.length ? 0 : a,
1804
1797
  "showing"
1805
1798
  ), n.$state.lastKeyboardAction.set({
1806
1799
  action: "nextCaptionLanguage",
@@ -1811,9 +1804,9 @@ const Pe = {
1811
1804
  previousCaptionLanguage: {
1812
1805
  keys: ["x"],
1813
1806
  onKeyUp({ event: e, player: n, remote: o }) {
1814
- const i = n.textTracks.selectedIndex, s = i - 1;
1807
+ const i = n.textTracks.selectedIndex, a = i - 1;
1815
1808
  o.changeTextTrackMode(i, "hidden"), o.changeTextTrackMode(
1816
- s < 0 ? n.textTracks.length - 1 : s,
1809
+ a < 0 ? n.textTracks.length - 1 : a,
1817
1810
  "showing"
1818
1811
  ), n.$state.lastKeyboardAction.set({
1819
1812
  action: "previousCaptionLanguage",
@@ -1824,8 +1817,8 @@ const Pe = {
1824
1817
  decreasePlaybackRate: {
1825
1818
  keys: ["a"],
1826
1819
  onKeyUp({ event: e, player: n, remote: o }) {
1827
- const s = F.indexOf(n.playbackRate) - 1;
1828
- s >= 0 && (o.changePlaybackRate(F[s]), n.$state.lastKeyboardAction.set({
1820
+ const a = F.indexOf(n.playbackRate) - 1;
1821
+ a >= 0 && (o.changePlaybackRate(F[a]), n.$state.lastKeyboardAction.set({
1829
1822
  action: "decreasePlaybackRate",
1830
1823
  event: e
1831
1824
  }));
@@ -1834,8 +1827,8 @@ const Pe = {
1834
1827
  increasePlaybackRate: {
1835
1828
  keys: ["d"],
1836
1829
  onKeyUp({ event: e, player: n, remote: o }) {
1837
- const s = F.indexOf(n.playbackRate) + 1;
1838
- s < F.length && (o.changePlaybackRate(F[s]), n.$state.lastKeyboardAction.set({
1830
+ const a = F.indexOf(n.playbackRate) + 1;
1831
+ a < F.length && (o.changePlaybackRate(F[a]), n.$state.lastKeyboardAction.set({
1839
1832
  action: "increasePlaybackRate",
1840
1833
  event: e
1841
1834
  }));
@@ -1973,12 +1966,12 @@ class Do {
1973
1966
  this.data.rate = n, this.save();
1974
1967
  }
1975
1968
  onChange(n, o, i = "studio-player") {
1976
- const s = i ? localStorage.getItem(i) : null, c = o ? localStorage.getItem(o) : null;
1969
+ const a = i ? localStorage.getItem(i) : null, c = o ? localStorage.getItem(o) : null;
1977
1970
  this.playerId = i, this.mediaId = o;
1978
1971
  let l = {};
1979
- if (s)
1972
+ if (a)
1980
1973
  try {
1981
- l = JSON.parse(s);
1974
+ l = JSON.parse(a);
1982
1975
  } catch {
1983
1976
  }
1984
1977
  this.data = {
@@ -1993,41 +1986,41 @@ class Do {
1993
1986
  }
1994
1987
  }
1995
1988
  function $o(e, n, o, i) {
1996
- const s = S(() => new Do(), []), [c, l] = x(
1997
- s.initializeState(i)
1989
+ const a = S(() => new Do(), []), [c, l] = x(
1990
+ a.initializeState(i)
1998
1991
  ), r = _(
1999
1992
  (m) => {
2000
- l((b) => (s.saveData("multiplier", m), {
1993
+ l((b) => (a.saveData("multiplier", m), {
2001
1994
  ...b,
2002
1995
  captionsFontSizeMultiplier: m
2003
1996
  }));
2004
1997
  },
2005
- [s]
1998
+ [a]
2006
1999
  ), u = _(() => {
2007
2000
  l((m) => {
2008
2001
  const b = !m.captionPositionOnTop;
2009
- return s.saveData("ontop", b), {
2002
+ return a.saveData("ontop", b), {
2010
2003
  ...m,
2011
2004
  captionPositionOnTop: b
2012
2005
  };
2013
2006
  });
2014
- }, [s]), p = _(() => {
2007
+ }, [a]), p = _(() => {
2015
2008
  l((m) => {
2016
2009
  const b = !m.captionsInvertColors;
2017
- return s.saveData("invert", b), {
2010
+ return a.saveData("invert", b), {
2018
2011
  ...m,
2019
2012
  captionsInvertColors: b
2020
2013
  };
2021
2014
  });
2022
- }, [s]), v = _(() => {
2015
+ }, [a]), v = _(() => {
2023
2016
  l((m) => {
2024
2017
  const b = !m.commentsEnabled;
2025
- return s.saveData("comments", b), {
2018
+ return a.saveData("comments", b), {
2026
2019
  ...m,
2027
2020
  commentsEnabled: b
2028
2021
  };
2029
2022
  });
2030
- }, [s]), y = _(() => {
2023
+ }, [a]), y = _(() => {
2031
2024
  l((m) => ({
2032
2025
  ...m,
2033
2026
  interactionsDisabled: !1
@@ -2062,15 +2055,15 @@ function $o(e, n, o, i) {
2062
2055
  disableCaptionSettings: o
2063
2056
  },
2064
2057
  shortcuts: M,
2065
- storage: s
2058
+ storage: a
2066
2059
  };
2067
2060
  }
2068
2061
  const Uo = {};
2069
2062
  function qo() {
2070
2063
  const e = V();
2071
- return /* @__PURE__ */ a(j, { children: [
2064
+ return /* @__PURE__ */ s(j, { children: [
2072
2065
  /* @__PURE__ */ t(Z1, { src: e.thumbnail }),
2073
- /* @__PURE__ */ t(We, {}),
2066
+ /* @__PURE__ */ t(Ge, {}),
2074
2067
  /* @__PURE__ */ t(Be, {}),
2075
2068
  /* @__PURE__ */ t(Ze, { captions: e.captions }),
2076
2069
  /* @__PURE__ */ t(G1, {}),
@@ -2078,8 +2071,8 @@ function qo() {
2078
2071
  /* @__PURE__ */ t(qt, { comments: e.comments })
2079
2072
  ] });
2080
2073
  }
2081
- const Go = (e) => /* @__PURE__ */ t("svg", { width: 56, height: 72, viewBox: "0 0 28 36", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("g", { id: "Icons", stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ a("g", { id: "audio", children: [
2082
- /* @__PURE__ */ a("g", { id: "icon-file-base-2", children: [
2074
+ const Go = (e) => /* @__PURE__ */ t("svg", { width: 56, height: 72, viewBox: "0 0 28 36", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("g", { id: "Icons", stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ s("g", { id: "audio", children: [
2075
+ /* @__PURE__ */ s("g", { id: "icon-file-base-2", children: [
2083
2076
  /* @__PURE__ */ t("path", { d: "M0,2 L0,34 C0,35.105 0.899,36 1.993,36 L26.006,36 C27.107,36 28,35.11 28,34 L28,10 L18,0 L1.993,0 C0.892,0 0,0.89 0,2 Z", fill: "#FFFFFF" }),
2084
2077
  /* @__PURE__ */ t("path", { d: "M0,2 L0,34 C0,35.105 0.899,36 1.993,36 L26.006,36 C27.107,36 28,35.11 28,34 L28,10 L18,0 L1.993,0 C0.892,0 0,0.89 0,2 Z M1.993,35 C1.445,35 1,34.552 1,34 L1,2 C1,1.448 1.445,1 1.993,1 L16.5,1 L16.5,9 C16.5,10.379 17.621,11.5 18.999,11.5 L27,11.5 L27,34 C27,34.552 26.554,35 26.006,35 L1.993,35 Z M27,10.5 L18.999,10.5 C18.173,10.5 17.5,9.827 17.5,9 L17.5,1 L17.585,1 L27,10.414 L27,10.5 L27,10.5 Z", id: "icon-file-base", fill: "#FFFFFF" }),
2085
2078
  /* @__PURE__ */ t("path", { d: "M0,2 L0,34 C0,35.105 0.899,36 1.993,36 L26.006,36 C27.107,36 28,35.11 28,34 L28,10 L18,0 L1.993,0 C0.892,0 0,0.89 0,2 Z M1.993,35 C1.445,35 1,34.552 1,34 L1,2 C1,1.448 1.445,1 1.993,1 L16.5,1 L16.5,9 C16.5,10.379 17.621,11.5 18.999,11.5 L27,11.5 L27,34 C27,34.552 26.554,35 26.006,35 L1.993,35 Z M27,10.5 L18.999,10.5 C18.173,10.5 17.5,9.827 17.5,9 L17.5,1 L17.585,1 L27,10.414 L27,10.5 L27,10.5 Z", fill: "#384A58" })
@@ -2088,30 +2081,30 @@ const Go = (e) => /* @__PURE__ */ t("svg", { width: 56, height: 72, viewBox: "0
2088
2081
  ] }) }) });
2089
2082
  function Wo() {
2090
2083
  const e = V();
2091
- return /* @__PURE__ */ a("div", { className: "audio-layout-wrapper", children: [
2084
+ return /* @__PURE__ */ s("div", { className: "audio-layout-wrapper", children: [
2092
2085
  /* @__PURE__ */ t(Go, {}),
2093
- /* @__PURE__ */ t(We, {}),
2086
+ /* @__PURE__ */ t(Ge, {}),
2094
2087
  /* @__PURE__ */ t(Be, {}),
2095
2088
  /* @__PURE__ */ t(Ze, { captions: e.captions })
2096
2089
  ] });
2097
2090
  }
2098
- const ae = () => {
2091
+ const se = () => {
2099
2092
  };
2100
2093
  function oi({
2101
2094
  title: e,
2102
2095
  playerRef: n,
2103
2096
  src: o,
2104
2097
  captions: i = [],
2105
- thumbnail: s,
2098
+ thumbnail: a,
2106
2099
  hideFullScreen: c = !1,
2107
2100
  comments: l = [],
2108
2101
  locale: r = "en",
2109
2102
  annotations: u = [],
2110
2103
  quizMarkers: p = [],
2111
2104
  interactive: v = !1,
2112
- onAnnotationClick: y = ae,
2113
- onQuizMarkerClick: k = ae,
2114
- onInteractivePinClick: w = ae,
2105
+ onAnnotationClick: y = se,
2106
+ onQuizMarkerClick: k = se,
2107
+ onInteractivePinClick: w = se,
2115
2108
  interactiveMenuElements: M = [],
2116
2109
  kebabMenuElements: m = [],
2117
2110
  darkMode: b = !1,
@@ -2122,7 +2115,7 @@ function oi({
2122
2115
  startAt: ie,
2123
2116
  crossOrigin: X
2124
2117
  }) {
2125
- const { contextValue: $, shortcuts: Ye, storage: Xe } = $o(
2118
+ const { contextValue: $, shortcuts: Qe, storage: Ye } = $o(
2126
2119
  c,
2127
2120
  T,
2128
2121
  D,
@@ -2131,16 +2124,16 @@ function oi({
2131
2124
  Z(() => {
2132
2125
  ge.changeLanguage(r);
2133
2126
  }, [ge, r]);
2134
- const [ve, we] = x("none"), Je = _((E) => {
2135
- dt(E) ? we("audio") : mt(E) && we("video");
2127
+ const [ve, we] = x("none"), Xe = _((E) => {
2128
+ ut(E) ? we("audio") : dt(E) && we("video");
2136
2129
  }, []);
2137
2130
  return /* @__PURE__ */ t(
2138
- wt,
2131
+ vt,
2139
2132
  {
2140
2133
  hideFullScreen: c,
2141
2134
  comments: l,
2142
2135
  captions: i,
2143
- thumbnail: s,
2136
+ thumbnail: a,
2144
2137
  annotations: u,
2145
2138
  quizMarkers: p,
2146
2139
  interactive: v,
@@ -2153,25 +2146,25 @@ function oi({
2153
2146
  forceComments: T,
2154
2147
  disableCaptionSettings: D,
2155
2148
  disableStorage: B,
2156
- children: /* @__PURE__ */ t(vt, { contextValue: $, children: /* @__PURE__ */ a(
2157
- ht,
2149
+ children: /* @__PURE__ */ t(gt, { contextValue: $, children: /* @__PURE__ */ s(
2150
+ mt,
2158
2151
  {
2159
2152
  crossOrigin: X,
2160
- storage: B ? null : Xe,
2153
+ storage: B ? null : Ye,
2161
2154
  title: e,
2162
2155
  src: o,
2163
- keyShortcuts: Ye,
2156
+ keyShortcuts: Qe,
2164
2157
  playsInline: !0,
2165
2158
  keyDisabled: $.state.interactionsDisabled || $.state.globalKeysDisabled,
2166
2159
  onTextTracksChange: (E) => {
2167
2160
  const ye = E == null ? void 0 : E.findIndex(
2168
- (et) => et.src === N
2161
+ (Je) => Je.src === N
2169
2162
  );
2170
2163
  ye > -1 && (E[ye].mode = "showing");
2171
2164
  },
2172
- onProviderSetup: Je,
2165
+ onProviderSetup: Xe,
2173
2166
  children: [
2174
- /* @__PURE__ */ a(pt, { className: Uo.mediaProvider, children: [
2167
+ /* @__PURE__ */ s(ht, { className: Uo.mediaProvider, children: [
2175
2168
  ve === "audio" && /* @__PURE__ */ t(Wo, {}),
2176
2169
  ve === "video" && /* @__PURE__ */ t(qo, {})
2177
2170
  ] }),
@@ -2184,7 +2177,7 @@ function oi({
2184
2177
  showCaptionsButton: !D
2185
2178
  }
2186
2179
  ),
2187
- /* @__PURE__ */ t(xt, { annotations: u })
2180
+ /* @__PURE__ */ t(Lt, { annotations: u })
2188
2181
  ]
2189
2182
  }
2190
2183
  ) })
@@ -2192,10 +2185,10 @@ function oi({
2192
2185
  );
2193
2186
  }
2194
2187
  export {
2195
- Et as CAPTION_FONT_SIZE_MULTIPLIERS,
2196
- ze as COMMENT_DURATION,
2188
+ Tt as CAPTION_FONT_SIZE_MULTIPLIERS,
2189
+ Et as COMMENT_DURATION,
2197
2190
  F as PLAYBACK_RATES,
2198
2191
  oi as StudioPlayer,
2199
- ai as useMediaState,
2192
+ si as useMediaState,
2200
2193
  ci as useMediaStore
2201
2194
  };