@halibegic/react-video-player 0.0.47 → 0.0.49

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.
@@ -24,7 +24,7 @@ import { create as Lt, useStore as It } from "zustand";
24
24
  import Hn from "mitt";
25
25
  import re from "hls.js";
26
26
  import * as je from "@radix-ui/react-slider";
27
- import * as Te from "@radix-ui/react-popover";
27
+ import * as _e from "@radix-ui/react-popover";
28
28
  import * as Pe from "@radix-ui/react-scroll-area";
29
29
  function kt(e) {
30
30
  var t = this.constructor;
@@ -287,11 +287,11 @@ var we = {};
287
287
  var wt;
288
288
  function Zn() {
289
289
  return wt || (wt = 1, process.env.NODE_ENV !== "production" && (function() {
290
- var e = St, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), i = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), k = Symbol.iterator, _ = "@@iterator";
290
+ var e = St, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), i = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), k = Symbol.iterator, T = "@@iterator";
291
291
  function S(r) {
292
292
  if (r === null || typeof r != "object")
293
293
  return null;
294
- var h = k && r[k] || r[_];
294
+ var h = k && r[k] || r[T];
295
295
  return typeof h == "function" ? h : null;
296
296
  }
297
297
  var V = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -369,7 +369,7 @@ function Zn() {
369
369
  var E = r, b = E._payload, C = E._init;
370
370
  try {
371
371
  return K(C(b));
372
- } catch (T) {
372
+ } catch (_) {
373
373
  return null;
374
374
  }
375
375
  }
@@ -505,17 +505,17 @@ function Zn() {
505
505
  }
506
506
  } catch (J) {
507
507
  if (J && w && typeof J.stack == "string") {
508
- for (var T = J.stack.split(`
508
+ for (var _ = J.stack.split(`
509
509
  `), X = w.stack.split(`
510
- `), H = T.length - 1, $ = X.length - 1; H >= 1 && $ >= 0 && T[H] !== X[$]; )
510
+ `), H = _.length - 1, $ = X.length - 1; H >= 1 && $ >= 0 && _[H] !== X[$]; )
511
511
  $--;
512
512
  for (; H >= 1 && $ >= 0; H--, $--)
513
- if (T[H] !== X[$]) {
513
+ if (_[H] !== X[$]) {
514
514
  if (H !== 1 || $ !== 1)
515
515
  do
516
- if (H--, $--, $ < 0 || T[H] !== X[$]) {
516
+ if (H--, $--, $ < 0 || _[H] !== X[$]) {
517
517
  var ee = `
518
- ` + T[H].replace(" at new ", " at ");
518
+ ` + _[H].replace(" at new ", " at ");
519
519
  return r.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", r.displayName)), typeof r == "function" && Ee.set(r, ee), ee;
520
520
  }
521
521
  while (H >= 1 && $ >= 0);
@@ -577,17 +577,17 @@ function Zn() {
577
577
  var b = Function.call.bind(ye);
578
578
  for (var C in r)
579
579
  if (b(r, C)) {
580
- var T = void 0;
580
+ var _ = void 0;
581
581
  try {
582
582
  if (typeof r[C] != "function") {
583
583
  var X = Error((w || "React class") + ": " + m + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
584
584
  throw X.name = "Invariant Violation", X;
585
585
  }
586
- T = r[C](h, C, w, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
586
+ _ = r[C](h, C, w, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
587
587
  } catch (H) {
588
- T = H;
588
+ _ = H;
589
589
  }
590
- T && !(T instanceof Error) && (be(E), R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", w || "React class", m, C, typeof T), be(null)), T instanceof Error && !(T.message in tt) && (tt[T.message] = !0, be(E), R("Failed %s type: %s", m, T.message), be(null));
590
+ _ && !(_ instanceof Error) && (be(E), R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", w || "React class", m, C, typeof _), be(null)), _ instanceof Error && !(_.message in tt) && (tt[_.message] = !0, be(E), R("Failed %s type: %s", m, _.message), be(null));
591
591
  }
592
592
  }
593
593
  }
@@ -637,10 +637,10 @@ function Zn() {
637
637
  }
638
638
  return r.key !== void 0;
639
639
  }
640
- function _n(r, h) {
640
+ function Tn(r, h) {
641
641
  typeof r.ref == "string" && it.current;
642
642
  }
643
- function Tn(r, h) {
643
+ function _n(r, h) {
644
644
  {
645
645
  var m = function() {
646
646
  st || (st = !0, R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
@@ -663,7 +663,7 @@ function Zn() {
663
663
  }
664
664
  }
665
665
  var En = function(r, h, m, w, E, b, C) {
666
- var T = {
666
+ var _ = {
667
667
  // This tag allows us to uniquely identify this as a React Element
668
668
  $$typeof: t,
669
669
  // Built-in properties that belong on the element
@@ -674,27 +674,27 @@ function Zn() {
674
674
  // Record the component responsible for creating this element.
675
675
  _owner: b
676
676
  };
677
- return T._store = {}, Object.defineProperty(T._store, "validated", {
677
+ return _._store = {}, Object.defineProperty(_._store, "validated", {
678
678
  configurable: !1,
679
679
  enumerable: !1,
680
680
  writable: !0,
681
681
  value: !1
682
- }), Object.defineProperty(T, "_self", {
682
+ }), Object.defineProperty(_, "_self", {
683
683
  configurable: !1,
684
684
  enumerable: !1,
685
685
  writable: !1,
686
686
  value: w
687
- }), Object.defineProperty(T, "_source", {
687
+ }), Object.defineProperty(_, "_source", {
688
688
  configurable: !1,
689
689
  enumerable: !1,
690
690
  writable: !1,
691
691
  value: E
692
- }), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
692
+ }), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
693
693
  };
694
694
  function Rn(r, h, m, w, E) {
695
695
  {
696
- var b, C = {}, T = null, X = null;
697
- m !== void 0 && (ot(m), T = "" + m), xn(h) && (ot(h.key), T = "" + h.key), wn(h) && (X = h.ref, _n(h, E));
696
+ var b, C = {}, _ = null, X = null;
697
+ m !== void 0 && (ot(m), _ = "" + m), xn(h) && (ot(h.key), _ = "" + h.key), wn(h) && (X = h.ref, Tn(h, E));
698
698
  for (b in h)
699
699
  ye.call(h, b) && !gn.hasOwnProperty(b) && (C[b] = h[b]);
700
700
  if (r && r.defaultProps) {
@@ -702,11 +702,11 @@ function Zn() {
702
702
  for (b in H)
703
703
  C[b] === void 0 && (C[b] = H[b]);
704
704
  }
705
- if (T || X) {
705
+ if (_ || X) {
706
706
  var $ = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
707
- T && Tn(C, $), X && Cn(C, $);
707
+ _ && _n(C, $), X && Cn(C, $);
708
708
  }
709
- return En(r, T, X, E, w, it.current, C);
709
+ return En(r, _, X, E, w, it.current, C);
710
710
  }
711
711
  }
712
712
  var Be = V.ReactCurrentOwner, lt = V.ReactDebugCurrentFrame;
@@ -824,12 +824,12 @@ Check the top-level render call using <` + m + ">.");
824
824
  {
825
825
  var C = O(r);
826
826
  if (!C) {
827
- var T = "";
828
- (r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
827
+ var _ = "";
828
+ (r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
829
829
  var X = bn();
830
- X ? T += X : T += ct();
830
+ X ? _ += X : _ += ct();
831
831
  var H;
832
- r === null ? H = "null" : Ue(r) ? H = "array" : r !== void 0 && r.$$typeof === t ? (H = "<" + (K(r.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : H = typeof r, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, T);
832
+ r === null ? H = "null" : Ue(r) ? H = "array" : r !== void 0 && r.$$typeof === t ? (H = "<" + (K(r.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : H = typeof r, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, _);
833
833
  }
834
834
  var $ = Rn(r, h, m, E, b);
835
835
  if ($ == null)
@@ -937,7 +937,7 @@ function tr(e, t, n) {
937
937
  function nr(e) {
938
938
  return tr(e, "milliseconds", "seconds");
939
939
  }
940
- const _e = (e) => {
940
+ const Te = (e) => {
941
941
  if (isNaN(e) || e === 1 / 0) return "0:00";
942
942
  const t = (l) => (l < 10 ? "0" : "") + l, n = Math.floor(e / 3600), o = Math.floor(e % 3600 / 60), a = Math.floor(e % 60);
943
943
  return n === 0 ? `${o}:${t(a)}` : `${n}:${t(o)}:${t(a)}`;
@@ -970,11 +970,11 @@ function rr(e, t) {
970
970
  ), k = parseInt(
971
971
  ((u = d.find((S) => S.type === "minute")) == null ? void 0 : u.value) || "0",
972
972
  10
973
- ), _ = parseInt(
973
+ ), T = parseInt(
974
974
  ((i = d.find((S) => S.type === "second")) == null ? void 0 : i.value) || "0",
975
975
  10
976
976
  );
977
- return new Date(v, y, g, P, k, _);
977
+ return new Date(v, y, g, P, k, T);
978
978
  } catch (c) {
979
979
  return console.warn(
980
980
  `Failed to convert date to timezone ${t}, returning original date:`,
@@ -1232,7 +1232,7 @@ function xr(e) {
1232
1232
  }
1233
1233
  return null;
1234
1234
  }
1235
- function _r(e, t) {
1235
+ function Tr(e, t) {
1236
1236
  const n = e.split(`
1237
1237
  `);
1238
1238
  let o = !1;
@@ -1259,19 +1259,19 @@ function _r(e, t) {
1259
1259
  }
1260
1260
  return null;
1261
1261
  }
1262
- function Tr(e) {
1262
+ function _r(e) {
1263
1263
  return e.replace("playlist.m3u8", "playlist_fmp4_dvr.m3u8");
1264
1264
  }
1265
1265
  async function Cr(e) {
1266
1266
  try {
1267
- const t = Tr(e);
1267
+ const t = _r(e);
1268
1268
  console.log("Converting to DVR URL:", t);
1269
1269
  const n = await fetch(t);
1270
1270
  if (!n.ok)
1271
1271
  throw new Error(
1272
1272
  `Failed to fetch master playlist: ${n.status} ${n.statusText}`
1273
1273
  );
1274
- const o = await n.text(), a = _r(
1274
+ const o = await n.text(), a = Tr(
1275
1275
  o,
1276
1276
  t
1277
1277
  );
@@ -1332,7 +1332,7 @@ function br({ startDate: e, title: t, message: n }) {
1332
1332
  function zt({ callback: e }) {
1333
1333
  const t = f((n) => n.eventEmitter);
1334
1334
  return D(() => {
1335
- const n = () => e("play", void 0), o = () => e("pause", void 0), a = () => e("ended", void 0), l = () => e("seeking", void 0), u = () => e("seeked", void 0), i = (_) => e("volumeChange", _), c = (_) => e("fullscreenChange", _), d = (_) => e("qualityChange", _), v = (_) => e("loadedMetadata", _), y = () => e("loadStart", void 0), g = () => e("playing", void 0), P = () => e("waiting", void 0), k = () => e("error", void 0);
1335
+ const n = () => e("play", void 0), o = () => e("pause", void 0), a = () => e("ended", void 0), l = () => e("seeking", void 0), u = () => e("seeked", void 0), i = (T) => e("volumeChange", T), c = (T) => e("fullscreenChange", T), d = (T) => e("qualityChange", T), v = (T) => e("loadedMetadata", T), y = () => e("loadStart", void 0), g = () => e("playing", void 0), P = () => e("waiting", void 0), k = () => e("error", void 0);
1336
1336
  return t.on("play", n), t.on("pause", o), t.on("ended", a), t.on("seeking", l), t.on("seeked", u), t.on("volumeChange", i), t.on("fullscreenChange", c), t.on("qualityChange", d), t.on("loadedMetadata", v), t.on("loadStart", y), t.on("playing", g), t.on("waiting", P), t.on("error", k), () => {
1337
1337
  t.off("play", n), t.off("pause", o), t.off("ended", a), t.off("seeking", l), t.off("seeked", u), t.off("volumeChange", i), t.off("fullscreenChange", c), t.off("qualityChange", d), t.off("loadedMetadata", v), t.off("loadStart", y), t.off("playing", g), t.off("waiting", P), t.off("error", k);
1338
1338
  };
@@ -1463,7 +1463,7 @@ function Dr({ url: e, isLive: t, messages: n }) {
1463
1463
  }
1464
1464
  },
1465
1465
  [l, u, i, o]
1466
- ), _ = W(() => {
1466
+ ), T = W(() => {
1467
1467
  o.current && (console.log("[Player][HLS] MEDIA_ATTACHED"), o.current.loadSource(e));
1468
1468
  }, [e]), S = W(() => {
1469
1469
  if (!o.current) return;
@@ -1516,20 +1516,20 @@ function Dr({ url: e, isLive: t, messages: n }) {
1516
1516
  };
1517
1517
  or ? (x.backBufferLength = -1, x.enableWorker = !1) : t ? x.backBufferLength = 10 : x.backBufferLength = 60;
1518
1518
  try {
1519
- console.log("[Player][HLS] URL", e), console.log("[Player][HLS] Config", JSON.stringify(x)), console.log("[Player][HLS] Version", re.version), o.current = new re(x), o.current.attachMedia(c.current), o.current.on(re.Events.MEDIA_ATTACHED, _), o.current.on(re.Events.MANIFEST_LOADED, S), o.current.on(re.Events.ERROR, V);
1519
+ console.log("[Player][HLS] URL", e), console.log("[Player][HLS] Config", JSON.stringify(x)), console.log("[Player][HLS] Version", re.version), o.current = new re(x), o.current.attachMedia(c.current), o.current.on(re.Events.MEDIA_ATTACHED, T), o.current.on(re.Events.MANIFEST_LOADED, S), o.current.on(re.Events.ERROR, V);
1520
1520
  } catch (M) {
1521
1521
  throw new Error(`Error initializing Hls: ${M}`);
1522
1522
  }
1523
1523
  }, [
1524
1524
  S,
1525
- _,
1525
+ T,
1526
1526
  V,
1527
1527
  t,
1528
1528
  c,
1529
1529
  e
1530
1530
  ]), L = W(() => {
1531
- o.current && (o.current.off(re.Events.MEDIA_ATTACHED, _), o.current.off(re.Events.MANIFEST_LOADED, S), o.current.off(re.Events.ERROR, V), o.current.destroy(), o.current = null), y.current && (clearTimeout(y.current), y.current = null), v.current = 0;
1532
- }, [S, _, V]);
1531
+ o.current && (o.current.off(re.Events.MEDIA_ATTACHED, T), o.current.off(re.Events.MANIFEST_LOADED, S), o.current.off(re.Events.ERROR, V), o.current.destroy(), o.current = null), y.current && (clearTimeout(y.current), y.current = null), v.current = 0;
1532
+ }, [S, T, V]);
1533
1533
  return D(() => {
1534
1534
  a !== null && k(a);
1535
1535
  }, [a, k]), D(() => (re.isSupported() && R(), L), [L, R]), null;
@@ -1543,7 +1543,7 @@ function Yt({
1543
1543
  isMuted: n = !1,
1544
1544
  messages: o = {}
1545
1545
  }) {
1546
- const a = f((p) => p.handleDurationChange), l = f((p) => p.handleEnd), u = f((p) => p.handleLoadedMetadata), i = f((p) => p.handleLoadStart), c = f((p) => p.handlePause), d = f((p) => p.handlePlay), v = f((p) => p.handlePlaying), y = f((p) => p.handleSeeked), g = f((p) => p.handleSeeking), P = f((p) => p.handleTimeUpdate), k = f((p) => p.handleWaiting), _ = f((p) => p.handleVolumeChange), S = f((p) => p.handleError), V = f((p) => p.techRef), R = N(null), L = () => t ? {
1546
+ const a = f((p) => p.handleDurationChange), l = f((p) => p.handleEnd), u = f((p) => p.handleLoadedMetadata), i = f((p) => p.handleLoadStart), c = f((p) => p.handlePause), d = f((p) => p.handlePlay), v = f((p) => p.handlePlaying), y = f((p) => p.handleSeeked), g = f((p) => p.handleSeeking), P = f((p) => p.handleTimeUpdate), k = f((p) => p.handleWaiting), T = f((p) => p.handleVolumeChange), S = f((p) => p.handleError), V = f((p) => p.techRef), R = N(null), L = () => t ? {
1547
1547
  onTimeUpdate: x
1548
1548
  } : {
1549
1549
  onDurationChange: a,
@@ -1574,7 +1574,7 @@ function Yt({
1574
1574
  onPlay: d,
1575
1575
  onPlaying: v,
1576
1576
  onWaiting: k,
1577
- onVolumeChange: _,
1577
+ onVolumeChange: T,
1578
1578
  tabIndex: -1
1579
1579
  }, M)
1580
1580
  )
@@ -1667,7 +1667,7 @@ function Xt(i) {
1667
1667
  "maxForwardTime",
1668
1668
  "maxBackwardTime"
1669
1669
  ]);
1670
- return Or("(min-width: 1024px)") ? /* @__PURE__ */ s.jsx(Zr, j({ className: e, onClick: t }, u)) : /* @__PURE__ */ s.jsx(
1670
+ return Or("(pointer: coarse)") ? /* @__PURE__ */ s.jsx(
1671
1671
  qr,
1672
1672
  j({
1673
1673
  className: e,
@@ -1676,15 +1676,15 @@ function Xt(i) {
1676
1676
  onForwardSeek: n,
1677
1677
  onBackwardSeek: o
1678
1678
  }, u)
1679
- );
1679
+ ) : /* @__PURE__ */ s.jsx(Zr, j({ className: e, onClick: t }, u));
1680
1680
  }
1681
1681
  function Zr(o) {
1682
1682
  var a = o, { className: e, onClick: t } = a, n = ne(a, ["className", "onClick"]);
1683
- const l = N(null), u = f((_) => _.exitFullscreen), i = f((_) => _.isFullscreen), c = f((_) => _.requestFullscreen), d = f((_) => _.resetIdle), v = (_) => {
1684
- P() ? (g(), i ? u() : c()) : y(_);
1685
- }, y = (_) => {
1683
+ const l = N(null), u = f((T) => T.exitFullscreen), i = f((T) => T.isFullscreen), c = f((T) => T.requestFullscreen), d = f((T) => T.resetIdle), v = (T) => {
1684
+ P() ? (g(), i ? u() : c()) : y(T);
1685
+ }, y = (T) => {
1686
1686
  l.current = window.setTimeout(() => {
1687
- t == null || t(_), g();
1687
+ t == null || t(T), g();
1688
1688
  }, 200);
1689
1689
  }, g = () => {
1690
1690
  l.current !== null && (window.clearTimeout(l.current), l.current = null);
@@ -1721,7 +1721,7 @@ function qr(u) {
1721
1721
  single: null,
1722
1722
  indicator: null,
1723
1723
  accumulate: null
1724
- }), v = N(null), y = N(0), g = N(null), [P, k] = G({ visible: !1, direction: null, time: 0 }), _ = f((p) => p.isIdle), S = f((p) => p.setIsIdle), V = f((p) => p.resetIdle), R = (p, U) => p < U / 2 ? "backward" : "forward", L = (p) => {
1724
+ }), v = N(null), y = N(0), g = N(null), [P, k] = G({ visible: !1, direction: null, time: 0 }), T = f((p) => p.isIdle), S = f((p) => p.setIsIdle), V = f((p) => p.resetIdle), R = (p, U) => p < U / 2 ? "backward" : "forward", L = (p) => {
1725
1725
  if (!v.current) return;
1726
1726
  const U = p.changedTouches[0];
1727
1727
  if (!U) return;
@@ -1745,7 +1745,7 @@ function qr(u) {
1745
1745
  d.current.single = window.setTimeout(() => {
1746
1746
  if (g.current === null) {
1747
1747
  d.current.single = null;
1748
- const q = _;
1748
+ const q = T;
1749
1749
  S(!q), q && V();
1750
1750
  }
1751
1751
  c.current = null;
@@ -1776,7 +1776,7 @@ function qr(u) {
1776
1776
  className: `${me.seekIndicator} ${me.seekIndicatorVisible} ${P.direction === "backward" ? me.seekIndicatorLeft : me.seekIndicatorRight}`,
1777
1777
  children: [
1778
1778
  P.direction === "backward" ? "-" : "+",
1779
- _e(P.time)
1779
+ Te(P.time)
1780
1780
  ]
1781
1781
  }
1782
1782
  )
@@ -1808,13 +1808,13 @@ function Kr() {
1808
1808
  }
1809
1809
  );
1810
1810
  }
1811
- const Yr = "_playerButton_izwqq_1", Xr = "_playerButtonCircle_izwqq_42", _t = {
1811
+ const Yr = "_playerButton_izwqq_1", Xr = "_playerButtonCircle_izwqq_42", Tt = {
1812
1812
  playerButton: Yr,
1813
1813
  playerButtonCircle: Xr
1814
1814
  }, le = Ve(
1815
1815
  (a, o) => {
1816
1816
  var l = a, { shape: e = "circle", className: t } = l, n = ne(l, ["shape", "className"]);
1817
- const u = e === "circle" ? _t.playerButtonCircle : "", i = [_t.playerButton, u, t].filter(Boolean).join(" ");
1817
+ const u = e === "circle" ? Tt.playerButtonCircle : "", i = [Tt.playerButton, u, t].filter(Boolean).join(" ");
1818
1818
  return /* @__PURE__ */ s.jsx("button", j({ ref: o, className: i }, n));
1819
1819
  }
1820
1820
  );
@@ -1913,18 +1913,18 @@ function Fe(e) {
1913
1913
  height: t.height * 100
1914
1914
  } : t;
1915
1915
  }
1916
- const Tt = "vod-player-progress-bar";
1916
+ const _t = "vod-player-progress-bar";
1917
1917
  function fo() {
1918
- const e = N(null), t = N(null), [n, o] = G(0), [a, l] = G(0), [u, i] = G(!1), [c, d] = G(-1), [v, y] = G(-1), g = A((I) => I.delay), P = A((I) => I.startDate), k = P ? P.getTime() : 0, _ = (/* @__PURE__ */ new Date()).getTime(), S = A((I) => I.setDelay), V = f((I) => I.isPlaying), R = f((I) => I.addIdleLock), L = f((I) => I.removeIdleLock), x = W(() => {
1919
- o(Zt(k, g)), l(Sr(k, _));
1920
- }, [g, _, k]), M = parseFloat(
1918
+ const e = N(null), t = N(null), [n, o] = G(0), [a, l] = G(0), [u, i] = G(!1), [c, d] = G(-1), [v, y] = G(-1), g = A((I) => I.delay), P = A((I) => I.startDate), k = P ? P.getTime() : 0, T = (/* @__PURE__ */ new Date()).getTime(), S = A((I) => I.setDelay), V = f((I) => I.isPlaying), R = f((I) => I.addIdleLock), L = f((I) => I.removeIdleLock), x = W(() => {
1919
+ o(Zt(k, g)), l(Sr(k, T));
1920
+ }, [g, T, k]), M = parseFloat(
1921
1921
  (a ? (v !== -1 ? v : n) / a * 100 : 0).toFixed(1)
1922
1922
  ), p = (I) => {
1923
- y(a * (I[0] / 100)), R(Tt);
1923
+ y(a * (I[0] / 100)), R(_t);
1924
1924
  }, U = () => {
1925
1925
  if (v !== -1) {
1926
1926
  const I = Wt(k, v);
1927
- S(I), y(-1), L(Tt);
1927
+ S(I), y(-1), L(_t);
1928
1928
  }
1929
1929
  }, Y = () => i(!0), z = () => i(!1), O = W(
1930
1930
  (I) => {
@@ -1962,7 +1962,7 @@ function fo() {
1962
1962
  {
1963
1963
  ref: t,
1964
1964
  className: `${se.tipContainer} ${u ? se.tipContainerVisible : se.tipContainerHidden}`,
1965
- children: /* @__PURE__ */ s.jsx("p", { className: se.tipContent, children: `-${_e(c)}` })
1965
+ children: /* @__PURE__ */ s.jsx("p", { className: se.tipContent, children: `-${Te(c)}` })
1966
1966
  }
1967
1967
  )
1968
1968
  ] });
@@ -2034,10 +2034,10 @@ function Qt() {
2034
2034
  }
2035
2035
  );
2036
2036
  }
2037
- const xo = "_playerContainer_146tx_1", _o = "_controlsTop_146tx_12", To = "_controlsBottom_146tx_29", Co = "_controlsContainer_146tx_45", Eo = "_controlsRow_146tx_61", Ro = "_controlsSection_146tx_68", bo = "_controlsSectionStart_146tx_78", So = "_controlsSectionEnd_146tx_82", B = {
2037
+ const xo = "_playerContainer_146tx_1", To = "_controlsTop_146tx_12", _o = "_controlsBottom_146tx_29", Co = "_controlsContainer_146tx_45", Eo = "_controlsRow_146tx_61", Ro = "_controlsSection_146tx_68", bo = "_controlsSectionStart_146tx_78", So = "_controlsSectionEnd_146tx_82", B = {
2038
2038
  playerContainer: xo,
2039
- controlsTop: _o,
2040
- controlsBottom: To,
2039
+ controlsTop: To,
2040
+ controlsBottom: _o,
2041
2041
  controlsContainer: Co,
2042
2042
  controlsRow: Eo,
2043
2043
  controlsSection: Ro,
@@ -2159,10 +2159,10 @@ const Uo = "_dropdownMenuContent_b7j6b_1", Bo = "_dropdownMenuItem_b7j6b_83", zo
2159
2159
  scrollAreaViewport: Wo,
2160
2160
  scrollAreaScrollbar: Zo,
2161
2161
  scrollAreaThumb: qo
2162
- }, Ko = Te.Root, Yo = Te.Trigger, Xo = Te.Portal, rn = Ve((l, a) => {
2162
+ }, Ko = _e.Root, Yo = _e.Trigger, Xo = _e.Portal, rn = Ve((l, a) => {
2163
2163
  var u = l, { sideOffset: e = 4, className: t, children: n } = u, o = ne(u, ["sideOffset", "className", "children"]);
2164
2164
  return /* @__PURE__ */ s.jsx(
2165
- Te.Content,
2165
+ _e.Content,
2166
2166
  he(j({
2167
2167
  ref: a,
2168
2168
  sideOffset: e,
@@ -2204,7 +2204,7 @@ const on = Ve((a, o) => {
2204
2204
  }, i = (c) => {
2205
2205
  (c.key === "Enter" || c.key === " ") && (c.preventDefault(), t == null || t(c));
2206
2206
  };
2207
- return /* @__PURE__ */ s.jsx(Te.Close, { asChild: !0, children: /* @__PURE__ */ s.jsx(
2207
+ return /* @__PURE__ */ s.jsx(_e.Close, { asChild: !0, children: /* @__PURE__ */ s.jsx(
2208
2208
  "div",
2209
2209
  j({
2210
2210
  ref: o,
@@ -2295,7 +2295,7 @@ function an() {
2295
2295
  ) })
2296
2296
  ] });
2297
2297
  }
2298
- const ni = "0.0.47", ln = {
2298
+ const ni = "0.0.49", ln = {
2299
2299
  version: ni
2300
2300
  };
2301
2301
  function wi(e) {
@@ -2407,7 +2407,7 @@ function si() {
2407
2407
  (d ? (u !== -1 ? u : c) / d * 100 : 0).toFixed(1)
2408
2408
  ), k = (L) => {
2409
2409
  i(d * (L[0] / 100)), y(bt);
2410
- }, _ = () => {
2410
+ }, T = () => {
2411
2411
  u !== -1 && (v(u), i(-1), g(bt));
2412
2412
  }, S = () => o(!0), V = () => o(!1), R = W(
2413
2413
  (L) => {
@@ -2432,7 +2432,7 @@ function si() {
2432
2432
  onPointerDown: V,
2433
2433
  onPointerMove: R,
2434
2434
  onValueChange: k,
2435
- onValueCommit: _,
2435
+ onValueCommit: T,
2436
2436
  step: 0.1
2437
2437
  }
2438
2438
  ),
@@ -2441,7 +2441,7 @@ function si() {
2441
2441
  {
2442
2442
  ref: t,
2443
2443
  className: `${se.tipContainer} ${n ? se.tipContainerVisible : se.tipContainerHidden}`,
2444
- children: /* @__PURE__ */ s.jsx("p", { className: se.tipContent, children: _e(a) })
2444
+ children: /* @__PURE__ */ s.jsx("p", { className: se.tipContent, children: Te(a) })
2445
2445
  }
2446
2446
  )
2447
2447
  ] });
@@ -2454,9 +2454,9 @@ const ai = "_remainingTimeContainer_1yyhb_1", li = "_remainingTime_1yyhb_1", ci
2454
2454
  function ui() {
2455
2455
  const e = f((n) => n.currentTime), t = f((n) => n.duration);
2456
2456
  return /* @__PURE__ */ s.jsxs("div", { className: Me.remainingTimeContainer, children: [
2457
- /* @__PURE__ */ s.jsx("p", { className: Me.remainingTime, children: _e(e) }),
2457
+ /* @__PURE__ */ s.jsx("p", { className: Me.remainingTime, children: Te(e) }),
2458
2458
  /* @__PURE__ */ s.jsx("p", { className: Me.remainingSeparator }),
2459
- /* @__PURE__ */ s.jsx("p", { className: Me.remainingTime, children: _e(t) })
2459
+ /* @__PURE__ */ s.jsx("p", { className: Me.remainingTime, children: Te(t) })
2460
2460
  ] });
2461
2461
  }
2462
2462
  function di({ callback: e }) {