@spash/frontlib 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/main.js +162 -158
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1,4 +1,4 @@
1
- import { pushScopeId as o0, popScopeId as a0, defineComponent as fe, nextTick as l0, openBlock as N, createBlock as be, createElementBlock as W, normalizeClass as ve, renderSlot as vt, normalizeProps as c0, guardReactiveProps as u0, withScopeId as d0, resolveComponent as xe, normalizeStyle as It, withKeys as f0, createElementVNode as z, Fragment as Pt, createCommentVNode as Ve, withCtx as Pe, createVNode as ye, ref as j, createApp as h0, h as jn, mergeProps as rl, toDisplayString as Ie, getCurrentInstance as js, inject as m0, onMounted as vn, onUnmounted as il, shallowRef as nf, computed as ne, onBeforeMount as g0, watch as xt, effectScope as p0, isRef as sf, Text as v0, toRefs as We, Transition as y0, unref as H, createStaticVNode as ol, resolveDynamicComponent as Ji, Teleport as al, getCurrentScope as E0, onScopeDispose as A0, toRef as x0, readonly as S0, customRef as R0, reactive as ma, renderList as Js, createTextVNode as gt, useCssVars as T0, resolveDirective as C0, withDirectives as Us, vShow as pr, withModifiers as b0, onUpdated as rf } from "vue";
1
+ import { pushScopeId as o0, popScopeId as a0, defineComponent as fe, nextTick as l0, openBlock as N, createBlock as be, createElementBlock as W, normalizeClass as ve, renderSlot as vt, normalizeProps as c0, guardReactiveProps as u0, withScopeId as d0, resolveComponent as xe, normalizeStyle as It, withKeys as f0, createElementVNode as z, Fragment as Pt, createCommentVNode as Ve, withCtx as Pe, createVNode as ye, ref as j, createApp as h0, h as jn, mergeProps as rl, toDisplayString as Ie, getCurrentInstance as js, inject as m0, onMounted as tn, onUnmounted as il, shallowRef as nf, computed as ne, onBeforeMount as g0, watch as xt, effectScope as p0, isRef as sf, Text as v0, toRefs as We, Transition as y0, unref as H, createStaticVNode as ol, resolveDynamicComponent as Ji, Teleport as al, getCurrentScope as E0, onScopeDispose as A0, toRef as x0, readonly as S0, customRef as R0, reactive as ma, renderList as Js, createTextVNode as gt, useCssVars as T0, resolveDirective as C0, withDirectives as Us, vShow as pr, withModifiers as b0, onUpdated as rf } from "vue";
2
2
  const I0 = ["top", "right", "bottom", "left"], nc = ["start", "end"], sc = /* @__PURE__ */ I0.reduce((n, e) => n.concat(e, e + "-" + nc[0], e + "-" + nc[1]), []), os = Math.min, rs = Math.max, L0 = {
3
3
  left: "right",
4
4
  right: "left",
@@ -14,7 +14,7 @@ function ga(n, e, t) {
14
14
  function Es(n, e) {
15
15
  return typeof n == "function" ? n(e) : n;
16
16
  }
17
- function gn(n) {
17
+ function pn(n) {
18
18
  return n.split("-")[0];
19
19
  }
20
20
  function Jt(n) {
@@ -27,7 +27,7 @@ function ll(n) {
27
27
  return n === "y" ? "height" : "width";
28
28
  }
29
29
  function Ur(n) {
30
- return ["top", "bottom"].includes(gn(n)) ? "y" : "x";
30
+ return ["top", "bottom"].includes(pn(n)) ? "y" : "x";
31
31
  }
32
32
  function cl(n) {
33
33
  return of(Ur(n));
@@ -60,7 +60,7 @@ function P0(n, e, t) {
60
60
  }
61
61
  function F0(n, e, t, s) {
62
62
  const r = Jt(n);
63
- let i = P0(gn(n), t === "start", s);
63
+ let i = P0(pn(n), t === "start", s);
64
64
  return r && (i = i.map((o) => o + "-" + r), e && (i = i.concat(i.map(bi)))), i;
65
65
  }
66
66
  function Ii(n) {
@@ -106,7 +106,7 @@ function rc(n, e, t) {
106
106
  reference: s,
107
107
  floating: r
108
108
  } = n;
109
- const i = Ur(e), o = cl(e), a = ll(o), l = gn(e), c = i === "y", u = s.x + s.width / 2 - r.width / 2, d = s.y + s.height / 2 - r.height / 2, f = s[a] / 2 - r[a] / 2;
109
+ const i = Ur(e), o = cl(e), a = ll(o), l = pn(e), c = i === "y", u = s.x + s.width / 2 - r.width / 2, d = s.y + s.height / 2 - r.height / 2, f = s[a] / 2 - r[a] / 2;
110
110
  let h;
111
111
  switch (l) {
112
112
  case "top":
@@ -294,7 +294,7 @@ const D0 = (n) => ({
294
294
  }
295
295
  });
296
296
  function N0(n, e, t) {
297
- return (n ? [...t.filter((r) => Jt(r) === n), ...t.filter((r) => Jt(r) !== n)] : t.filter((r) => gn(r) === r)).filter((r) => n ? Jt(r) === n || (e ? bi(r) !== r : !1) : !0);
297
+ return (n ? [...t.filter((r) => Jt(r) === n), ...t.filter((r) => Jt(r) !== n)] : t.filter((r) => pn(r) === r)).filter((r) => n ? Jt(r) === n || (e ? bi(r) !== r : !1) : !0);
298
298
  }
299
299
  const U0 = function(n) {
300
300
  return n === void 0 && (n = {}), {
@@ -324,7 +324,7 @@ const U0 = function(n) {
324
324
  placement: g[0]
325
325
  }
326
326
  };
327
- const x = [p[gn(E)], p[v[0]], p[v[1]]], S = [...((s = o.autoPlacement) == null ? void 0 : s.overflows) || [], {
327
+ const x = [p[pn(E)], p[v[0]], p[v[1]]], S = [...((s = o.autoPlacement) == null ? void 0 : s.overflows) || [], {
328
328
  placement: E,
329
329
  overflows: x
330
330
  }], T = g[y + 1];
@@ -388,7 +388,7 @@ const U0 = function(n) {
388
388
  } = Es(n, e);
389
389
  if ((t = i.arrow) != null && t.alignmentOffset)
390
390
  return {};
391
- const y = gn(r), E = gn(a) === a, v = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), x = f || (E || !g ? [Ii(a)] : O0(a));
391
+ const y = pn(r), E = pn(a) === a, v = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), x = f || (E || !g ? [Ii(a)] : O0(a));
392
392
  !f && m !== "none" && x.push(...F0(a, g, m, v));
393
393
  const S = [a, ...x], T = await _i(e, p), R = [];
394
394
  let C = ((s = i.flip) == null ? void 0 : s.overflows) || [];
@@ -441,7 +441,7 @@ async function V0(n, e) {
441
441
  placement: t,
442
442
  platform: s,
443
443
  elements: r
444
- } = n, i = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), o = gn(t), a = Jt(t), l = Ur(t) === "y", c = ["left", "top"].includes(o) ? -1 : 1, u = i && l ? -1 : 1, d = Es(e, n);
444
+ } = n, i = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), o = pn(t), a = Jt(t), l = Ur(t) === "y", c = ["left", "top"].includes(o) ? -1 : 1, u = i && l ? -1 : 1, d = Es(e, n);
445
445
  let {
446
446
  mainAxis: f,
447
447
  crossAxis: h,
@@ -514,7 +514,7 @@ const B0 = function(n) {
514
514
  } = Es(n, e), c = {
515
515
  x: t,
516
516
  y: s
517
- }, u = await _i(e, l), d = Ur(gn(r)), f = of(d);
517
+ }, u = await _i(e, l), d = Ur(pn(r)), f = of(d);
518
518
  let h = c[f], m = c[d];
519
519
  if (i) {
520
520
  const p = f === "y" ? "top" : "left", y = f === "y" ? "bottom" : "right", E = h + u[p], v = h - u[y];
@@ -552,7 +552,7 @@ const B0 = function(n) {
552
552
  apply: o = () => {
553
553
  },
554
554
  ...a
555
- } = Es(n, e), l = await _i(e, a), c = gn(t), u = Jt(t), d = Ur(t) === "y", {
555
+ } = Es(n, e), l = await _i(e, a), c = pn(t), u = Jt(t), d = Ur(t) === "y", {
556
556
  width: f,
557
557
  height: h
558
558
  } = s.floating;
@@ -582,12 +582,12 @@ function Nt(n) {
582
582
  var e;
583
583
  return ((e = n.ownerDocument) == null ? void 0 : e.defaultView) || window;
584
584
  }
585
- function dn(n) {
585
+ function fn(n) {
586
586
  return Nt(n).getComputedStyle(n);
587
587
  }
588
588
  const ic = Math.min, yr = Math.max, Li = Math.round;
589
589
  function cf(n) {
590
- const e = dn(n);
590
+ const e = fn(n);
591
591
  let t = parseFloat(e.width), s = parseFloat(e.height);
592
592
  const r = n.offsetWidth, i = n.offsetHeight, o = Li(t) !== r || Li(s) !== i;
593
593
  return o && (t = r, s = i), { width: t, height: s, fallback: o };
@@ -602,7 +602,7 @@ function uf() {
602
602
  const n = navigator.userAgentData;
603
603
  return n && Array.isArray(n.brands) ? (Kr = n.brands.map((e) => e.brand + "/" + e.version).join(" "), Kr) : navigator.userAgent;
604
604
  }
605
- function fn(n) {
605
+ function hn(n) {
606
606
  return n instanceof Nt(n).HTMLElement;
607
607
  }
608
608
  function Wn(n) {
@@ -615,14 +615,14 @@ function oc(n) {
615
615
  return typeof ShadowRoot > "u" ? !1 : n instanceof Nt(n).ShadowRoot || n instanceof ShadowRoot;
616
616
  }
617
617
  function $i(n) {
618
- const { overflow: e, overflowX: t, overflowY: s, display: r } = dn(n);
618
+ const { overflow: e, overflowX: t, overflowY: s, display: r } = fn(n);
619
619
  return /auto|scroll|overlay|hidden|clip/.test(e + s + t) && !["inline", "contents"].includes(r);
620
620
  }
621
621
  function j0(n) {
622
622
  return ["table", "td", "th"].includes(Xn(n));
623
623
  }
624
624
  function pa(n) {
625
- const e = /firefox/i.test(uf()), t = dn(n), s = t.backdropFilter || t.WebkitBackdropFilter;
625
+ const e = /firefox/i.test(uf()), t = fn(n), s = t.backdropFilter || t.WebkitBackdropFilter;
626
626
  return t.transform !== "none" || t.perspective !== "none" || !!s && s !== "none" || e && t.willChange === "filter" || e && !!t.filter && t.filter !== "none" || ["transform", "perspective"].some((r) => t.willChange.includes(r)) || ["paint", "layout", "strict", "content"].some((r) => {
627
627
  const i = t.contain;
628
628
  return i != null && i.includes(r);
@@ -640,7 +640,7 @@ function hf(n) {
640
640
  const mf = { x: 1, y: 1 };
641
641
  function zs(n) {
642
642
  const e = hf(n);
643
- if (!fn(e))
643
+ if (!hn(e))
644
644
  return mf;
645
645
  const t = e.getBoundingClientRect(), { width: s, height: r, fallback: i } = cf(e);
646
646
  let o = (i ? Li(t.width) : t.width) / s, a = (i ? Li(t.height) : t.height) / r;
@@ -681,7 +681,7 @@ function Cr(n) {
681
681
  }
682
682
  function pf(n) {
683
683
  const e = Cr(n);
684
- return ul(e) ? e.ownerDocument.body : fn(e) && $i(e) ? e : pf(e);
684
+ return ul(e) ? e.ownerDocument.body : hn(e) && $i(e) ? e : pf(e);
685
685
  }
686
686
  function wi(n, e) {
687
687
  var t;
@@ -700,26 +700,26 @@ function ac(n, e, t) {
700
700
  }
701
701
  return { width: l, height: c, x: u, y: d };
702
702
  }(n, t)) : Wn(e) ? vr(function(s, r) {
703
- const i = Tr(s, !0, r === "fixed"), o = i.top + s.clientTop, a = i.left + s.clientLeft, l = fn(s) ? zs(s) : { x: 1, y: 1 };
703
+ const i = Tr(s, !0, r === "fixed"), o = i.top + s.clientTop, a = i.left + s.clientLeft, l = hn(s) ? zs(s) : { x: 1, y: 1 };
704
704
  return { width: s.clientWidth * l.x, height: s.clientHeight * l.y, x: a * l.x, y: o * l.y };
705
705
  }(e, t)) : vr(function(s) {
706
706
  const r = Kn(s), i = eo(s), o = s.ownerDocument.body, a = yr(r.scrollWidth, r.clientWidth, o.scrollWidth, o.clientWidth), l = yr(r.scrollHeight, r.clientHeight, o.scrollHeight, o.clientHeight);
707
707
  let c = -i.scrollLeft + gf(s);
708
708
  const u = -i.scrollTop;
709
- return dn(o).direction === "rtl" && (c += yr(r.clientWidth, o.clientWidth) - a), { width: a, height: l, x: c, y: u };
709
+ return fn(o).direction === "rtl" && (c += yr(r.clientWidth, o.clientWidth) - a), { width: a, height: l, x: c, y: u };
710
710
  }(Kn(n)));
711
711
  }
712
712
  function lc(n) {
713
- return fn(n) && dn(n).position !== "fixed" ? n.offsetParent : null;
713
+ return hn(n) && fn(n).position !== "fixed" ? n.offsetParent : null;
714
714
  }
715
715
  function cc(n) {
716
716
  const e = Nt(n);
717
717
  let t = lc(n);
718
- for (; t && j0(t) && dn(t).position === "static"; )
718
+ for (; t && j0(t) && fn(t).position === "static"; )
719
719
  t = lc(t);
720
- return t && (Xn(t) === "html" || Xn(t) === "body" && dn(t).position === "static" && !pa(t)) ? e : t || function(s) {
720
+ return t && (Xn(t) === "html" || Xn(t) === "body" && fn(t).position === "static" && !pa(t)) ? e : t || function(s) {
721
721
  let r = Cr(s);
722
- for (; fn(r) && !ul(r); ) {
722
+ for (; hn(r) && !ul(r); ) {
723
723
  if (pa(r))
724
724
  return r;
725
725
  r = Cr(r);
@@ -728,11 +728,11 @@ function cc(n) {
728
728
  }(n) || e;
729
729
  }
730
730
  function W0(n, e, t) {
731
- const s = fn(e), r = Kn(e), i = Tr(n, !0, t === "fixed", e);
731
+ const s = hn(e), r = Kn(e), i = Tr(n, !0, t === "fixed", e);
732
732
  let o = { scrollLeft: 0, scrollTop: 0 };
733
733
  const a = { x: 0, y: 0 };
734
734
  if (s || !s && t !== "fixed")
735
- if ((Xn(e) !== "body" || $i(r)) && (o = eo(e)), fn(e)) {
735
+ if ((Xn(e) !== "body" || $i(r)) && (o = eo(e)), hn(e)) {
736
736
  const l = Tr(e, !0);
737
737
  a.x = l.x + e.clientLeft, a.y = l.y + e.clientTop;
738
738
  } else
@@ -746,10 +746,10 @@ const K0 = { getClippingRect: function(n) {
746
746
  if (d)
747
747
  return d;
748
748
  let f = wi(c).filter((p) => Wn(p) && Xn(p) !== "body"), h = null;
749
- const m = dn(c).position === "fixed";
749
+ const m = fn(c).position === "fixed";
750
750
  let g = m ? Cr(c) : c;
751
751
  for (; Wn(g) && !ul(g); ) {
752
- const p = dn(g), y = pa(g);
752
+ const p = fn(g), y = pa(g);
753
753
  (m ? y || h : y || p.position !== "static" || !h || !["absolute", "fixed"].includes(h.position)) ? h = p : f = f.filter((E) => E !== g), g = Cr(g);
754
754
  }
755
755
  return u.set(c, f), f;
@@ -760,23 +760,23 @@ const K0 = { getClippingRect: function(n) {
760
760
  return { width: l.right - l.left, height: l.bottom - l.top, x: l.left, y: l.top };
761
761
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(n) {
762
762
  let { rect: e, offsetParent: t, strategy: s } = n;
763
- const r = fn(t), i = Kn(t);
763
+ const r = hn(t), i = Kn(t);
764
764
  if (t === i)
765
765
  return e;
766
766
  let o = { scrollLeft: 0, scrollTop: 0 }, a = { x: 1, y: 1 };
767
767
  const l = { x: 0, y: 0 };
768
- if ((r || !r && s !== "fixed") && ((Xn(t) !== "body" || $i(i)) && (o = eo(t)), fn(t))) {
768
+ if ((r || !r && s !== "fixed") && ((Xn(t) !== "body" || $i(i)) && (o = eo(t)), hn(t))) {
769
769
  const c = Tr(t);
770
770
  a = zs(t), l.x = c.x + t.clientLeft, l.y = c.y + t.clientTop;
771
771
  }
772
772
  return { width: e.width * a.x, height: e.height * a.y, x: e.x * a.x - o.scrollLeft * a.x + l.x, y: e.y * a.y - o.scrollTop * a.y + l.y };
773
773
  }, isElement: Wn, getDimensions: function(n) {
774
- return fn(n) ? cf(n) : n.getBoundingClientRect();
774
+ return hn(n) ? cf(n) : n.getBoundingClientRect();
775
775
  }, getOffsetParent: cc, getDocumentElement: Kn, getScale: zs, async getElementRects(n) {
776
776
  let { reference: e, floating: t, strategy: s } = n;
777
777
  const r = this.getOffsetParent || cc, i = this.getDimensions;
778
778
  return { reference: W0(e, await r(t), s), floating: { x: 0, y: 0, ...await i(t) } };
779
- }, getClientRects: (n) => Array.from(n.getClientRects()), isRTL: (n) => dn(n).direction === "rtl" }, X0 = (n, e, t) => {
779
+ }, getClientRects: (n) => Array.from(n.getClientRects()), isRTL: (n) => fn(n).direction === "rtl" }, X0 = (n, e, t) => {
780
780
  const s = /* @__PURE__ */ new Map(), r = { platform: K0, ...t }, i = { ...r.platform, _c: s };
781
781
  return M0(n, e, { ...r, platform: i });
782
782
  };
@@ -2604,7 +2604,7 @@ function tv(n, e = {}) {
2604
2604
  function at(I) {
2605
2605
  return I !== bc && I !== yt;
2606
2606
  }
2607
- function nn(I) {
2607
+ function sn(I) {
2608
2608
  p(I), m(I, "'");
2609
2609
  let L = "", G = "";
2610
2610
  for (; L = V(I, at); )
@@ -2701,7 +2701,7 @@ function tv(n, e = {}) {
2701
2701
  if (Ge = x(I, L))
2702
2702
  return G = f(L, 6, Qe(I)), p(I), G;
2703
2703
  if (De = S(I, L))
2704
- return G = f(L, 7, nn(I)), p(I), G;
2704
+ return G = f(L, 7, sn(I)), p(I), G;
2705
2705
  if (!Xe && !Ge && !De)
2706
2706
  return G = f(L, 13, or(I)), d(ue.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, G.value), p(I), G;
2707
2707
  break;
@@ -3627,7 +3627,7 @@ const Vf = ue.__EXTEND_POINT__, es = ro(Vf), ct = {
3627
3627
  __EXTEND_POINT__: es()
3628
3628
  // 24
3629
3629
  };
3630
- function ln(n) {
3630
+ function cn(n) {
3631
3631
  return _s(n, null, process.env.NODE_ENV !== "production" ? { messages: Bv } : void 0);
3632
3632
  }
3633
3633
  const Bv = {
@@ -3652,12 +3652,12 @@ function Pc(n) {
3652
3652
  if (n.constructor.name === "Function") {
3653
3653
  const e = n();
3654
3654
  if (Np(e))
3655
- throw ln(ct.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
3655
+ throw cn(ct.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
3656
3656
  return Io = e;
3657
3657
  } else
3658
- throw ln(ct.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
3658
+ throw cn(ct.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
3659
3659
  } else
3660
- throw ln(ct.NOT_SUPPORT_LOCALE_TYPE);
3660
+ throw cn(ct.NOT_SUPPORT_LOCALE_TYPE);
3661
3661
  }
3662
3662
  function Gv(n, e, t) {
3663
3663
  return [.../* @__PURE__ */ new Set([
@@ -3883,7 +3883,7 @@ function Jf(n, e = {}) {
3883
3883
  }
3884
3884
  const ty = /* @__NO_SIDE_EFFECTS__ */ (n, e) => {
3885
3885
  if (!Z(n))
3886
- throw ln(ct.NOT_SUPPORT_NON_STRING_MESSAGE);
3886
+ throw cn(ct.NOT_SUPPORT_NON_STRING_MESSAGE);
3887
3887
  process.env.NODE_ENV !== "production" && (e.onWarn = Zf);
3888
3888
  {
3889
3889
  const t = Ee(e.warnHtmlMessage) ? e.warnHtmlMessage : !0;
@@ -4045,7 +4045,7 @@ function ry(n, e, t) {
4045
4045
  function Aa(...n) {
4046
4046
  const [e, t, s] = n, r = {};
4047
4047
  if (!Z(e) && !rt(e) && !Dt(e) && !Yn(e))
4048
- throw ln(ct.INVALID_ARGUMENT);
4048
+ throw cn(ct.INVALID_ARGUMENT);
4049
4049
  const i = rt(e) ? String(e) : (Dt(e), e);
4050
4050
  return rt(t) ? r.plural = t : Z(t) ? r.default = t : de(t) && !so(t) ? r.named = t : je(t) && (r.list = t), rt(s) ? r.plural = s : Z(s) ? r.default = s : de(s) && ht(r, s), [i, r];
4051
4051
  }
@@ -4171,22 +4171,22 @@ function xa(...n) {
4171
4171
  if (Z(e)) {
4172
4172
  const l = e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
4173
4173
  if (!l)
4174
- throw ln(ct.INVALID_ISO_DATE_ARGUMENT);
4174
+ throw cn(ct.INVALID_ISO_DATE_ARGUMENT);
4175
4175
  const c = l[3] ? l[3].trim().startsWith("T") ? `${l[1].trim()}${l[3].trim()}` : `${l[1].trim()}T${l[3].trim()}` : l[1].trim();
4176
4176
  a = new Date(c);
4177
4177
  try {
4178
4178
  a.toISOString();
4179
4179
  } catch {
4180
- throw ln(ct.INVALID_ISO_DATE_ARGUMENT);
4180
+ throw cn(ct.INVALID_ISO_DATE_ARGUMENT);
4181
4181
  }
4182
4182
  } else if (Mp(e)) {
4183
4183
  if (isNaN(e.getTime()))
4184
- throw ln(ct.INVALID_DATE_ARGUMENT);
4184
+ throw cn(ct.INVALID_DATE_ARGUMENT);
4185
4185
  a = e;
4186
4186
  } else if (rt(e))
4187
4187
  a = e;
4188
4188
  else
4189
- throw ln(ct.INVALID_ARGUMENT);
4189
+ throw cn(ct.INVALID_ARGUMENT);
4190
4190
  return Z(t) ? i.key = t : de(t) && Object.keys(t).forEach((l) => {
4191
4191
  th.includes(l) ? o[l] = t[l] : i[l] = t[l];
4192
4192
  }), Z(s) ? i.locale = s : de(s) && (o = s), de(r) && (o = r), [i.key || "", a, i, o];
@@ -4263,7 +4263,7 @@ function Sa(...n) {
4263
4263
  const [e, t, s, r] = n, i = {};
4264
4264
  let o = {};
4265
4265
  if (!rt(e))
4266
- throw ln(ct.INVALID_ARGUMENT);
4266
+ throw cn(ct.INVALID_ARGUMENT);
4267
4267
  const a = e;
4268
4268
  return Z(t) ? i.key = t : de(t) && Object.keys(t).forEach((l) => {
4269
4269
  nh.includes(l) ? o[l] = t[l] : i[l] = t[l];
@@ -5783,7 +5783,7 @@ function _y(n, e = !1) {
5783
5783
  }
5784
5784
  function $y(n, e, t) {
5785
5785
  let s = null;
5786
- vn(() => {
5786
+ tn(() => {
5787
5787
  if (process.env.NODE_ENV !== "production" && e.vnode.el) {
5788
5788
  e.vnode.el.__VUE_I18N__ = t, s = hl();
5789
5789
  const r = t;
@@ -5875,7 +5875,7 @@ function e1(n, e, t, s = {}) {
5875
5875
  function at(Q, Fe) {
5876
5876
  i.value && (i.value.setDateTimeFormat(Q, Fe), u.value[Q] = Fe);
5877
5877
  }
5878
- function nn(Q, Fe) {
5878
+ function sn(Q, Fe) {
5879
5879
  i.value && i.value.mergeDateTimeFormat(Q, Fe);
5880
5880
  }
5881
5881
  function En(Q) {
@@ -5965,7 +5965,7 @@ function e1(n, e, t, s = {}) {
5965
5965
  mergeLocaleMessage: Ke,
5966
5966
  getDateTimeFormat: Qe,
5967
5967
  setDateTimeFormat: at,
5968
- mergeDateTimeFormat: nn,
5968
+ mergeDateTimeFormat: sn,
5969
5969
  getNumberFormat: En,
5970
5970
  setNumberFormat: xs,
5971
5971
  mergeNumberFormat: ir
@@ -6222,7 +6222,7 @@ const su = {
6222
6222
  l.value[a.value] = !0, s("ended-video");
6223
6223
  }, 1e3);
6224
6224
  };
6225
- return vn(() => {
6225
+ return tn(() => {
6226
6226
  l.value = new Array(r.value.length).fill(!1), setTimeout(() => l.value[a.value] = !0, 1e3);
6227
6227
  }), il(() => {
6228
6228
  clearInterval(u.value);
@@ -6292,7 +6292,7 @@ function Ln(n) {
6292
6292
  }
6293
6293
  const Al = typeof window < "u" && typeof document < "u";
6294
6294
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
6295
- const S1 = (n) => n != null, R1 = Object.prototype.toString, ph = (n) => R1.call(n) === "[object Object]", ru = () => +Date.now(), hn = () => {
6295
+ const S1 = (n) => n != null, R1 = Object.prototype.toString, ph = (n) => R1.call(n) === "[object Object]", ru = () => +Date.now(), mn = () => {
6296
6296
  }, iu = /* @__PURE__ */ T1();
6297
6297
  function T1() {
6298
6298
  var n, e;
@@ -6307,10 +6307,10 @@ function C1(n, e) {
6307
6307
  return t;
6308
6308
  }
6309
6309
  function b1(...n) {
6310
- let e = 0, t, s = !0, r = hn, i, o, a, l, c;
6310
+ let e = 0, t, s = !0, r = mn, i, o, a, l, c;
6311
6311
  !sf(n[0]) && typeof n[0] == "object" ? { delay: o, trailing: a = !0, leading: l = !0, rejectOnCancel: c = !1 } = n[0] : [o, a = !0, l = !0, c = !1] = n;
6312
6312
  const u = () => {
6313
- t && (clearTimeout(t), t = void 0, r(), r = hn);
6313
+ t && (clearTimeout(t), t = void 0, r(), r = mn);
6314
6314
  };
6315
6315
  return (f) => {
6316
6316
  const h = Ln(o), m = Date.now() - e, g = () => i = f();
@@ -6330,7 +6330,7 @@ function L1(...n) {
6330
6330
  if (n.length !== 1)
6331
6331
  return x0(...n);
6332
6332
  const e = n[0];
6333
- return typeof e == "function" ? S0(R0(() => ({ get: e, set: hn }))) : j(e);
6333
+ return typeof e == "function" ? S0(R0(() => ({ get: e, set: mn }))) : j(e);
6334
6334
  }
6335
6335
  function w1(n) {
6336
6336
  var e;
@@ -6341,7 +6341,7 @@ const xl = Al ? window : void 0;
6341
6341
  function xr(...n) {
6342
6342
  let e, t, s, r;
6343
6343
  if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([t, s, r] = n, e = xl) : [e, t, s, r] = n, !e)
6344
- return hn;
6344
+ return mn;
6345
6345
  Array.isArray(t) || (t = [t]), Array.isArray(s) || (s = [s]);
6346
6346
  const i = [], o = () => {
6347
6347
  i.forEach((u) => u()), i.length = 0;
@@ -6447,7 +6447,7 @@ function M1(n) {
6447
6447
  return e = !0, !1;
6448
6448
  }
6449
6449
  };
6450
- return n.addEventListener("x", hn, t), n.removeEventListener("x", hn), e;
6450
+ return n.addEventListener("x", mn, t), n.removeEventListener("x", mn), e;
6451
6451
  }
6452
6452
  const D1 = {
6453
6453
  key: 0,
@@ -6586,7 +6586,7 @@ const D1 = {
6586
6586
  ), d = ne(
6587
6587
  () => l.value ? `bg-background-lighter ${c.value.inner}` : ""
6588
6588
  );
6589
- vn(() => {
6589
+ tn(() => {
6590
6590
  l.value = r.value, i.value !== "" && o.value !== "" && (l.value = r.value === i.value);
6591
6591
  });
6592
6592
  const f = () => {
@@ -6700,7 +6700,7 @@ const D1 = {
6700
6700
  } else
6701
6701
  s("update:modelValue", m[t.itemKey]);
6702
6702
  };
6703
- return vn(() => {
6703
+ return tn(() => {
6704
6704
  t.popoverWidth ? a.value = t.popoverWidth : setTimeout(() => {
6705
6705
  var m;
6706
6706
  return a.value = `${(m = o.value) == null ? void 0 : m.offsetWidth}px`;
@@ -6877,7 +6877,7 @@ const yE = /* @__PURE__ */ we(mE, [["render", vE]]), EE = { class: "font-alt z-1
6877
6877
  __name: "SpashDisplayCurrentTime",
6878
6878
  setup(n) {
6879
6879
  const e = j(/* @__PURE__ */ new Date()), t = j(), { d: s } = On();
6880
- return vn(() => {
6880
+ return tn(() => {
6881
6881
  t.value = setInterval(() => {
6882
6882
  e.value = /* @__PURE__ */ new Date();
6883
6883
  }, 1e3);
@@ -7312,7 +7312,7 @@ const dS = {
7312
7312
  ], 2));
7313
7313
  }
7314
7314
  });
7315
- var Oe = /* @__PURE__ */ ((n) => (n.buzz = "buzz", n.layer = "layer", n.draw = "draw", n.field2D = "field2D", n))(Oe || {}), rn = /* @__PURE__ */ ((n) => (n.black = "--color-black", n.white = "--color-white", n.red = "--color-red-500", n.yellow = "--color-yellow-500", n.green = "--color-green-500", n.blue = "--color-blue-500", n))(rn || {}), Yt = /* @__PURE__ */ ((n) => (n.PLAY = "PLAY", n.PAUSE = "PAUSE", n))(Yt || {});
7315
+ var Oe = /* @__PURE__ */ ((n) => (n.buzz = "buzz", n.layer = "layer", n.draw = "draw", n.field2D = "field2D", n))(Oe || {}), on = /* @__PURE__ */ ((n) => (n.black = "--color-black", n.white = "--color-white", n.red = "--color-red-500", n.yellow = "--color-yellow-500", n.green = "--color-green-500", n.blue = "--color-blue-500", n))(on || {}), Yt = /* @__PURE__ */ ((n) => (n.PLAY = "PLAY", n.PAUSE = "PAUSE", n))(Yt || {});
7316
7316
  const hS = { class: "absolute left-0 top-1/2 -translate-y-1/2 flex flex-col gap-12 w-full" }, mS = ["onClick"], gS = /* @__PURE__ */ fe({
7317
7317
  __name: "SpashVideoCameras",
7318
7318
  props: {
@@ -8004,7 +8004,7 @@ const Tl = (n, e) => e + 10 <= n.length && n[e] === 73 && n[e + 1] === 68 && n[e
8004
8004
  }, VS = (n) => n.type === "PRIV" ? BS(n) : n.type[0] === "W" ? HS(n) : GS(n), BS = (n) => {
8005
8005
  if (n.size < 2)
8006
8006
  return;
8007
- const e = mn(n.data, !0), t = new Uint8Array(n.data.subarray(e.length + 1));
8007
+ const e = gn(n.data, !0), t = new Uint8Array(n.data.subarray(e.length + 1));
8008
8008
  return {
8009
8009
  key: n.type,
8010
8010
  info: e,
@@ -8015,16 +8015,16 @@ const Tl = (n, e) => e + 10 <= n.length && n[e] === 73 && n[e + 1] === 68 && n[e
8015
8015
  return;
8016
8016
  if (n.type === "TXXX") {
8017
8017
  let t = 1;
8018
- const s = mn(n.data.subarray(t), !0);
8018
+ const s = gn(n.data.subarray(t), !0);
8019
8019
  t += s.length + 1;
8020
- const r = mn(n.data.subarray(t));
8020
+ const r = gn(n.data.subarray(t));
8021
8021
  return {
8022
8022
  key: n.type,
8023
8023
  info: s,
8024
8024
  data: r
8025
8025
  };
8026
8026
  }
8027
- const e = mn(n.data.subarray(1));
8027
+ const e = gn(n.data.subarray(1));
8028
8028
  return {
8029
8029
  key: n.type,
8030
8030
  data: e
@@ -8034,16 +8034,16 @@ const Tl = (n, e) => e + 10 <= n.length && n[e] === 73 && n[e + 1] === 68 && n[e
8034
8034
  if (n.size < 2)
8035
8035
  return;
8036
8036
  let t = 1;
8037
- const s = mn(n.data.subarray(t), !0);
8037
+ const s = gn(n.data.subarray(t), !0);
8038
8038
  t += s.length + 1;
8039
- const r = mn(n.data.subarray(t));
8039
+ const r = gn(n.data.subarray(t));
8040
8040
  return {
8041
8041
  key: n.type,
8042
8042
  info: s,
8043
8043
  data: r
8044
8044
  };
8045
8045
  }
8046
- const e = mn(n.data);
8046
+ const e = gn(n.data);
8047
8047
  return {
8048
8048
  key: n.type,
8049
8049
  data: e
@@ -8054,7 +8054,7 @@ const Tl = (n, e) => e + 10 <= n.length && n[e] === 73 && n[e + 1] === 68 && n[e
8054
8054
  let s = (e[4] << 23) + (e[5] << 15) + (e[6] << 7) + e[7];
8055
8055
  return s /= 45, t && (s += 4772185884e-2), Math.round(s);
8056
8056
  }
8057
- }, mn = (n, e = !1) => {
8057
+ }, gn = (n, e = !1) => {
8058
8058
  const t = WS();
8059
8059
  if (t) {
8060
8060
  const c = t.decode(n);
@@ -8098,7 +8098,7 @@ function WS() {
8098
8098
  if (!navigator.userAgent.includes("PlayStation 4"))
8099
8099
  return !ko && typeof self.TextDecoder < "u" && (ko = new self.TextDecoder("utf-8")), ko;
8100
8100
  }
8101
- const on = {
8101
+ const an = {
8102
8102
  hexDump: function(n) {
8103
8103
  let e = "";
8104
8104
  for (let t = 0; t < n.length; t++) {
@@ -8302,17 +8302,17 @@ function YS(n) {
8302
8302
  case "dvh1":
8303
8303
  case "dvhe": {
8304
8304
  const o = me(t, ["dvcC"])[0], a = o[2] >> 1 & 127, l = o[2] << 5 & 32 | o[3] >> 3 & 31;
8305
- r += "." + sn(a) + "." + sn(l);
8305
+ r += "." + rn(a) + "." + rn(l);
8306
8306
  break;
8307
8307
  }
8308
8308
  case "vp09": {
8309
8309
  const o = me(t, ["vpcC"])[0], a = o[4], l = o[5], c = o[6] >> 4 & 15;
8310
- r += "." + sn(a) + "." + sn(l) + "." + sn(c);
8310
+ r += "." + rn(a) + "." + rn(l) + "." + rn(c);
8311
8311
  break;
8312
8312
  }
8313
8313
  case "av01": {
8314
8314
  const o = me(t, ["av1C"])[0], a = o[1] >>> 5, l = o[1] & 31, c = o[2] >>> 7 ? "H" : "M", u = (o[2] & 64) >> 6, d = (o[2] & 32) >> 5, f = a === 2 && u ? d ? 12 : 10 : u ? 10 : 8, h = (o[2] & 16) >> 4, m = (o[2] & 8) >> 3, g = (o[2] & 4) >> 2, p = o[2] & 3;
8315
- r += "." + a + "." + sn(l) + c + "." + sn(f) + "." + h + "." + m + g + p + "." + sn(1) + "." + sn(1) + "." + sn(1) + "." + 0;
8315
+ r += "." + a + "." + rn(l) + c + "." + rn(f) + "." + h + "." + m + g + p + "." + rn(1) + "." + rn(1) + "." + rn(1) + "." + 0;
8316
8316
  break;
8317
8317
  }
8318
8318
  }
@@ -8330,7 +8330,7 @@ function Do(n, e) {
8330
8330
  function Yr(n) {
8331
8331
  return ("0" + n.toString(16).toUpperCase()).slice(-2);
8332
8332
  }
8333
- function sn(n) {
8333
+ function rn(n) {
8334
8334
  return (n < 10 ? "0" : "") + n;
8335
8335
  }
8336
8336
  function QS(n, e) {
@@ -8347,7 +8347,7 @@ function QS(n, e) {
8347
8347
  const h = Ph(f);
8348
8348
  if (h) {
8349
8349
  const m = h.subarray(8, 24);
8350
- m.some((g) => g !== 0) || (O.log(`[eme] Patching keyId in 'enc${l ? "a" : "v"}>sinf>>tenc' box: ${on.hexDump(m)} -> ${on.hexDump(t)}`), h.set(t, 8));
8350
+ m.some((g) => g !== 0) || (O.log(`[eme] Patching keyId in 'enc${l ? "a" : "v"}>sinf>>tenc' box: ${an.hexDump(m)} -> ${an.hexDump(t)}`), h.set(t, 8));
8351
8351
  }
8352
8352
  });
8353
8353
  });
@@ -8596,7 +8596,7 @@ function Fh(n, e, t, s) {
8596
8596
  payloadType: o,
8597
8597
  pts: t,
8598
8598
  uuid: d.join(""),
8599
- userData: mn(h),
8599
+ userData: gn(h),
8600
8600
  userDataBytes: h
8601
8601
  });
8602
8602
  }
@@ -8693,7 +8693,7 @@ function oR(n) {
8693
8693
  }, t = new DataView(n), s = t.getUint32(0);
8694
8694
  if (n.byteLength !== s && s > 44 || t.getUint32(4) !== 1886614376 || (e.version = t.getUint32(8) >>> 24, e.version > 1))
8695
8695
  return null;
8696
- e.systemId = on.hexDump(new Uint8Array(n, 12, 16));
8696
+ e.systemId = an.hexDump(new Uint8Array(n, 12, 16));
8697
8697
  const i = t.getUint32(28);
8698
8698
  if (e.version === 0) {
8699
8699
  if (s - 32 < i)
@@ -8984,7 +8984,7 @@ const pu = /#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT
8984
8984
  /#.*/.source
8985
8985
  // All other non-segment oriented tags will match with all groups empty
8986
8986
  ].join("|"), "g"), gR = new RegExp([/#(EXTM3U)/.source, /#EXT-X-(DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source, /#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source, /#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source, /(#)([^:]*):(.*)/.source, /(#)(.*)(?:.*)\r?\n?/.source].join("|"));
8987
- class cn {
8987
+ class un {
8988
8988
  static findGroup(e, t) {
8989
8989
  for (let s = 0; s < e.length; s++) {
8990
8990
  const r = e[s];
@@ -9022,7 +9022,7 @@ class cn {
9022
9022
  attrs: c,
9023
9023
  bitrate: c.decimalInteger("BANDWIDTH") || c.decimalInteger("AVERAGE-BANDWIDTH"),
9024
9024
  name: c.NAME,
9025
- url: cn.resolve(u, t)
9025
+ url: un.resolve(u, t)
9026
9026
  }, f = c.decimalResolution("RESOLUTION");
9027
9027
  f && (d.width = f.width, d.height = f.height), pR(c.CODECS, d), (a = d.unknownCodecs) != null && a.length || i.push(d), r.levels.push(d);
9028
9028
  } else if (o[3]) {
@@ -9050,7 +9050,7 @@ class cn {
9050
9050
  case "CONTENT-STEERING": {
9051
9051
  const d = new Ze(u);
9052
9052
  Rt(r, d, ["SERVER-URI", "PATHWAY-ID"]), r.contentSteering = {
9053
- uri: cn.resolve(d["SERVER-URI"], t),
9053
+ uri: un.resolve(d["SERVER-URI"], t),
9054
9054
  pathwayId: d["PATHWAY-ID"] || "."
9055
9055
  };
9056
9056
  break;
@@ -9094,10 +9094,10 @@ class cn {
9094
9094
  autoselect: c.bool("AUTOSELECT"),
9095
9095
  forced: c.bool("FORCED"),
9096
9096
  lang: h,
9097
- url: c.URI ? cn.resolve(c.URI, t) : ""
9097
+ url: c.URI ? un.resolve(c.URI, t) : ""
9098
9098
  };
9099
9099
  if (m && (E.assocLang = m), g && (E.channels = g), p && (E.characteristics = p), y && (E.instreamId = y), d != null && d.length) {
9100
- const v = cn.findGroup(d, E.groupId) || d[0];
9100
+ const v = un.findGroup(d, E.groupId) || d[0];
9101
9101
  xu(E, v, "audioCodec"), xu(E, v, "textCodec");
9102
9102
  }
9103
9103
  f.push(E);
@@ -9279,7 +9279,7 @@ function Eu(n, e, t) {
9279
9279
  Rt(t, i, ["KEYFORMAT", "KEYFORMATVERSIONS", "URI", "IV", "URI"]);
9280
9280
  const o = (s = i.METHOD) != null ? s : "", a = i.URI, l = i.hexadecimalInteger("IV"), c = i.KEYFORMATVERSIONS, u = (r = i.KEYFORMAT) != null ? r : "identity";
9281
9281
  a && i.IV && !l && O.error(`Invalid IV: ${i.IV}`);
9282
- const d = a ? cn.resolve(a, e) : "", f = (c || "1").split("/").map(Number).filter(Number.isFinite);
9282
+ const d = a ? un.resolve(a, e) : "", f = (c || "1").split("/").map(Number).filter(Number.isFinite);
9283
9283
  return new kr(o, d, u, f, l);
9284
9284
  }
9285
9285
  function Au(n) {
@@ -9501,7 +9501,7 @@ class yR {
9501
9501
  this.handleManifestParsingError(c, d, new Error("no EXTM3U delimiter"), f || null, u);
9502
9502
  return;
9503
9503
  }
9504
- u.parsing.start = performance.now(), cn.isMediaPlaylist(m) ? this.handleTrackOrLevelPlaylist(c, u, d, f || null, h) : this.handleMasterPlaylist(c, u, d, f);
9504
+ u.parsing.start = performance.now(), un.isMediaPlaylist(m) ? this.handleTrackOrLevelPlaylist(c, u, d, f || null, h) : this.handleMasterPlaylist(c, u, d, f);
9505
9505
  },
9506
9506
  onError: (c, u, d, f) => {
9507
9507
  this.handleNetworkError(u, d, !1, c, f);
@@ -9513,7 +9513,7 @@ class yR {
9513
9513
  r.load(e, a, l);
9514
9514
  }
9515
9515
  handleMasterPlaylist(e, t, s, r) {
9516
- const i = this.hls, o = e.data, a = zo(e, s), l = cn.parseMasterPlaylist(o, a);
9516
+ const i = this.hls, o = e.data, a = zo(e, s), l = un.parseMasterPlaylist(o, a);
9517
9517
  if (l.playlistParsingError) {
9518
9518
  this.handleManifestParsingError(e, s, l.playlistParsingError, r, t);
9519
9519
  return;
@@ -9531,7 +9531,7 @@ class yR {
9531
9531
  AUDIO: g = [],
9532
9532
  SUBTITLES: p,
9533
9533
  "CLOSED-CAPTIONS": y
9534
- } = cn.parseMasterPlaylistMedia(o, a, l);
9534
+ } = un.parseMasterPlaylistMedia(o, a, l);
9535
9535
  g.length && !g.some((v) => !v.url) && u[0].audioCodec && !u[0].attrs.AUDIO && (O.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"), g.unshift({
9536
9536
  type: "main",
9537
9537
  name: "main",
@@ -9563,7 +9563,7 @@ class yR {
9563
9563
  id: a,
9564
9564
  level: l,
9565
9565
  type: c
9566
- } = s, u = zo(e, s), d = 0, f = te(l) ? l : te(a) ? a : 0, h = Cu(s), m = cn.parseLevelPlaylist(e.data, u, f, h, d, this.variableList);
9566
+ } = s, u = zo(e, s), d = 0, f = te(l) ? l : te(a) ? a : 0, h = Cu(s), m = un.parseLevelPlaylist(e.data, u, f, h, d, this.variableList);
9567
9567
  if (c === Re.MANIFEST) {
9568
9568
  const g = {
9569
9569
  attrs: new Ze({}),
@@ -11140,7 +11140,7 @@ function XR(n, e, t, s) {
11140
11140
  }), r;
11141
11141
  }, {});
11142
11142
  }
11143
- function un(n, e, t) {
11143
+ function dn(n, e, t) {
11144
11144
  if ("attrs" in n) {
11145
11145
  const s = e.indexOf(n);
11146
11146
  if (s !== -1)
@@ -11185,11 +11185,11 @@ function YR(n, e, t, s, r) {
11185
11185
  if (f.videoRange !== l || f.frameRate !== c || f.codecSet.substring(0, 4) !== u)
11186
11186
  return !1;
11187
11187
  const h = f.audioGroups, m = t.filter((g) => !h || h.indexOf(g.groupId) !== -1);
11188
- return un(n, m, r) > -1;
11188
+ return dn(n, m, r) > -1;
11189
11189
  });
11190
11190
  return d > -1 ? d : Mu(e, s, (f) => {
11191
11191
  const h = f.audioGroups, m = t.filter((g) => !h || h.indexOf(g.groupId) !== -1);
11192
- return un(n, m, r) > -1;
11192
+ return dn(n, m, r) > -1;
11193
11193
  });
11194
11194
  }
11195
11195
  function Mu(n, e, t) {
@@ -13142,7 +13142,7 @@ function hT(n) {
13142
13142
  scriptURL: e
13143
13143
  };
13144
13144
  }
13145
- function an(n = "", e = 9e4) {
13145
+ function ln(n = "", e = 9e4) {
13146
13146
  return {
13147
13147
  type: n,
13148
13148
  id: -1,
@@ -13209,9 +13209,9 @@ class Pl {
13209
13209
  }
13210
13210
  return {
13211
13211
  audioTrack: o,
13212
- videoTrack: an(),
13212
+ videoTrack: ln(),
13213
13213
  id3Track: a,
13214
- textTrack: an()
13214
+ textTrack: ln()
13215
13215
  };
13216
13216
  }
13217
13217
  demuxSampleAes(e, t, s) {
@@ -13221,9 +13221,9 @@ class Pl {
13221
13221
  const t = this.cachedData;
13222
13222
  return t && (this.cachedData = null, this.demux(t, 0)), {
13223
13223
  audioTrack: this._audioTrack,
13224
- videoTrack: an(),
13224
+ videoTrack: ln(),
13225
13225
  id3Track: this._id3Track,
13226
- textTrack: an()
13226
+ textTrack: ln()
13227
13227
  };
13228
13228
  }
13229
13229
  destroy() {
@@ -13499,8 +13499,8 @@ class IT {
13499
13499
  resetTimeStamp() {
13500
13500
  }
13501
13501
  resetInitSegment(e, t, s, r) {
13502
- const i = this.videoTrack = an("video", 1), o = this.audioTrack = an("audio", 1), a = this.txtTrack = an("text", 1);
13503
- if (this.id3Track = an("id3", 1), this.timeOffset = 0, !(e != null && e.byteLength))
13502
+ const i = this.videoTrack = ln("video", 1), o = this.audioTrack = ln("audio", 1), a = this.txtTrack = ln("text", 1);
13503
+ if (this.id3Track = ln("id3", 1), this.timeOffset = 0, !(e != null && e.byteLength))
13504
13504
  return;
13505
13505
  const l = Oh(e);
13506
13506
  if (l.video) {
@@ -13551,9 +13551,9 @@ class IT {
13551
13551
  const r = this.extractID3Track(t, this.timeOffset);
13552
13552
  return s.samples = du(e, t), {
13553
13553
  videoTrack: t,
13554
- audioTrack: an(),
13554
+ audioTrack: ln(),
13555
13555
  id3Track: r,
13556
- textTrack: an()
13556
+ textTrack: ln()
13557
13557
  };
13558
13558
  }
13559
13559
  extractID3Track(e, t) {
@@ -15759,8 +15759,8 @@ class pi {
15759
15759
  const K = o[q], pe = K.units;
15760
15760
  let ae = 0;
15761
15761
  for (let Ke = 0, Qe = pe.length; Ke < Qe; Ke++) {
15762
- const at = pe[Ke], nn = at.data, En = at.data.byteLength;
15763
- w.setUint32(d, En), d += 4, b.set(nn, d), d += En, ae += 4 + En;
15762
+ const at = pe[Ke], sn = at.data, En = at.data.byteLength;
15763
+ w.setUint32(d, En), d += 4, b.set(sn, d), d += En, ae += 4 + En;
15764
15764
  }
15765
15765
  let Ae;
15766
15766
  if (q < l - 1)
@@ -15768,8 +15768,8 @@ class pi {
15768
15768
  else {
15769
15769
  const Ke = this.config, Qe = q > 0 ? K.dts - o[q - 1].dts : x;
15770
15770
  if (Ae = q > 0 ? K.pts - o[q - 1].pts : x, Ke.stretchShortVideoTrack && this.nextAudioPts !== null) {
15771
- const at = Math.floor(Ke.maxBufferHole * i), nn = (r ? g + r * i : this.nextAudioPts) - K.pts;
15772
- nn > at ? (f = nn - Qe, f < 0 ? f = Qe : F = !0, O.log(`[mp4-remuxer]: It is approximately ${nn / 90} ms to the next segment; using duration ${f / 90} ms for the last video frame.`)) : f = Qe;
15771
+ const at = Math.floor(Ke.maxBufferHole * i), sn = (r ? g + r * i : this.nextAudioPts) - K.pts;
15772
+ sn > at ? (f = sn - Qe, f < 0 ? f = Qe : F = !0, O.log(`[mp4-remuxer]: It is approximately ${sn / 90} ms to the next segment; using duration ${f / 90} ms for the last video frame.`)) : f = Qe;
15773
15773
  } else
15774
15774
  f = Qe;
15775
15775
  }
@@ -17159,11 +17159,11 @@ class YT extends Il {
17159
17159
  this.tracksInGroup = a;
17160
17160
  const l = this.hls.config.audioPreference;
17161
17161
  if (!i && l) {
17162
- const f = un(l, a, Cs);
17162
+ const f = dn(l, a, Cs);
17163
17163
  if (f > -1)
17164
17164
  i = a[f];
17165
17165
  else {
17166
- const h = un(l, this.tracks);
17166
+ const h = dn(l, this.tracks);
17167
17167
  i = this.tracks[h];
17168
17168
  }
17169
17169
  }
@@ -17212,7 +17212,7 @@ class YT extends Il {
17212
17212
  const r = this.currentTrack;
17213
17213
  if (r && Vs(e, r, Cs))
17214
17214
  return r;
17215
- const i = un(e, this.tracksInGroup, Cs);
17215
+ const i = dn(e, this.tracksInGroup, Cs);
17216
17216
  if (i > -1) {
17217
17217
  const o = this.tracksInGroup[i];
17218
17218
  return this.setAudioTrack(i), o;
@@ -17225,7 +17225,7 @@ class YT extends Il {
17225
17225
  t.nextLoadLevel = a;
17226
17226
  }
17227
17227
  if (e.channels || e.audioCodec) {
17228
- const o = un(e, s);
17228
+ const o = dn(e, s);
17229
17229
  if (o > -1)
17230
17230
  return s[o];
17231
17231
  }
@@ -17650,11 +17650,11 @@ class JT extends Il {
17650
17650
  const a = this.hls.config.subtitlePreference;
17651
17651
  if (!i && a) {
17652
17652
  this.selectDefaultTrack = !1;
17653
- const u = un(a, o);
17653
+ const u = dn(a, o);
17654
17654
  if (u > -1)
17655
17655
  i = o[u];
17656
17656
  else {
17657
- const d = un(a, this.tracks);
17657
+ const d = dn(a, this.tracks);
17658
17658
  i = this.tracks[d];
17659
17659
  }
17660
17660
  }
@@ -17723,7 +17723,7 @@ class JT extends Il {
17723
17723
  const s = this.currentTrack;
17724
17724
  if (s && Vs(e, s))
17725
17725
  return s;
17726
- const r = un(e, this.tracksInGroup);
17726
+ const r = dn(e, this.tracksInGroup);
17727
17727
  if (r > -1) {
17728
17728
  const i = this.tracksInGroup[r];
17729
17729
  return this.setSubtitleTrack(r), i;
@@ -17731,7 +17731,7 @@ class JT extends Il {
17731
17731
  if (s)
17732
17732
  return null;
17733
17733
  {
17734
- const i = un(e, t);
17734
+ const i = dn(e, t);
17735
17735
  if (i > -1)
17736
17736
  return t[i];
17737
17737
  }
@@ -19634,7 +19634,7 @@ const gC = function(e, t, s) {
19634
19634
  e.presentationOffset = s;
19635
19635
  };
19636
19636
  function pC(n, e, t, s, r, i, o) {
19637
- const a = new fC(), l = mn(new Uint8Array(n)).trim().replace(hC, `
19637
+ const a = new fC(), l = gn(new Uint8Array(n)).trim().replace(hC, `
19638
19638
  `).split(`
19639
19639
  `), c = [], u = e ? NT(e.baseTime, e.timescale) : 0;
19640
19640
  let d = "00:00.000", f = 0, h = 0, m, g = !0;
@@ -19692,7 +19692,7 @@ function ed(n, e, t, s) {
19692
19692
  s(new Error("Could not parse IMSC1 mdat"));
19693
19693
  return;
19694
19694
  }
19695
- const i = r.map((a) => mn(a)), o = DT(e.baseTime, 1, e.timescale);
19695
+ const i = r.map((a) => gn(a)), o = DT(e.baseTime, 1, e.timescale);
19696
19696
  try {
19697
19697
  i.forEach((a) => t(yC(a, o)));
19698
19698
  } catch (a) {
@@ -20482,7 +20482,7 @@ class Bs {
20482
20482
  keySystem: t,
20483
20483
  mediaKeys: s
20484
20484
  }) {
20485
- this.log(`Creating key-system session "${t}" keyId: ${on.hexDump(e.keyId || [])}`);
20485
+ this.log(`Creating key-system session "${t}" keyId: ${an.hexDump(e.keyId || [])}`);
20486
20486
  const r = s.createSession(), i = {
20487
20487
  decryptdata: e,
20488
20488
  keySystem: t,
@@ -20506,12 +20506,12 @@ class Bs {
20506
20506
  throw new Error("Could not read keyId of undefined decryptdata");
20507
20507
  if (e.keyId === null)
20508
20508
  throw new Error("keyId is null");
20509
- return on.hexDump(e.keyId);
20509
+ return an.hexDump(e.keyId);
20510
20510
  }
20511
20511
  updateKeySession(e, t) {
20512
20512
  var s;
20513
20513
  const r = e.mediaKeysSession;
20514
- return this.log(`Updating key-session "${r.sessionId}" for keyID ${on.hexDump(((s = e.decryptdata) == null ? void 0 : s.keyId) || [])}
20514
+ return this.log(`Updating key-session "${r.sessionId}" for keyID ${an.hexDump(((s = e.decryptdata) == null ? void 0 : s.keyId) || [])}
20515
20515
  } (data length: ${t && t.byteLength})`), r.update(t);
20516
20516
  }
20517
20517
  selectKeySystemFormat(e) {
@@ -20604,7 +20604,7 @@ class Bs {
20604
20604
  }
20605
20605
  if (!i || !r)
20606
20606
  return;
20607
- const o = on.hexDump(r), {
20607
+ const o = an.hexDump(r), {
20608
20608
  keyIdToKeySessionPromise: a,
20609
20609
  mediaKeySessions: l
20610
20610
  } = this;
@@ -20613,7 +20613,7 @@ class Bs {
20613
20613
  const d = l[u], f = d.decryptdata;
20614
20614
  if (f.pssh || !f.keyId)
20615
20615
  continue;
20616
- const h = on.hexDump(f.keyId);
20616
+ const h = an.hexDump(f.keyId);
20617
20617
  if (o === h || f.uri.replace(/-/g, "").indexOf(o) !== -1) {
20618
20618
  c = a[h], delete a[h], f.pssh = new Uint8Array(s), f.keyId = r, c = a[o] = c.then(() => this.generateRequestWithPreferredKeySession(d, t, s, "encrypted-event-key-match"));
20619
20619
  break;
@@ -20722,7 +20722,7 @@ class Bs {
20722
20722
  }
20723
20723
  onKeyStatusChange(e) {
20724
20724
  e.mediaKeysSession.keyStatuses.forEach((t, s) => {
20725
- this.log(`key status change "${t}" for keyStatuses keyId: ${on.hexDump("buffer" in s ? new Uint8Array(s.buffer, s.byteOffset, s.byteLength) : new Uint8Array(s))} session keyId: ${on.hexDump(new Uint8Array(e.decryptdata.keyId || []))} uri: ${e.decryptdata.uri}`), e.keyStatus = t;
20725
+ this.log(`key status change "${t}" for keyStatuses keyId: ${an.hexDump("buffer" in s ? new Uint8Array(s.buffer, s.byteOffset, s.byteLength) : new Uint8Array(s))} session keyId: ${an.hexDump(new Uint8Array(e.decryptdata.keyId || []))} uri: ${e.decryptdata.uri}`), e.keyStatus = t;
20726
20726
  });
20727
20727
  }
20728
20728
  fetchServerCertificate(e) {
@@ -20976,12 +20976,12 @@ function kC(n) {
20976
20976
  return n < -999999999999999 || 999999999999999 < n;
20977
20977
  }
20978
20978
  const MC = /[\x00-\x1f\x7f]+/, DC = "Token", NC = "Key";
20979
- function pn(n, e, t) {
20979
+ function vn(n, e, t) {
20980
20980
  return LC("serialize", n, e, t);
20981
20981
  }
20982
20982
  function UC(n) {
20983
20983
  if (typeof n != "boolean")
20984
- throw pn(n, wC);
20984
+ throw vn(n, wC);
20985
20985
  return n ? "?1" : "?0";
20986
20986
  }
20987
20987
  function zC(n) {
@@ -20989,12 +20989,12 @@ function zC(n) {
20989
20989
  }
20990
20990
  function VC(n) {
20991
20991
  if (ArrayBuffer.isView(n) === !1)
20992
- throw pn(n, OC);
20992
+ throw vn(n, OC);
20993
20993
  return `:${zC(n)}:`;
20994
20994
  }
20995
20995
  function Em(n) {
20996
20996
  if (kC(n))
20997
- throw pn(n, FC);
20997
+ throw vn(n, FC);
20998
20998
  return n.toString();
20999
20999
  }
21000
21000
  function BC(n) {
@@ -21013,14 +21013,14 @@ function Am(n, e) {
21013
21013
  function GC(n) {
21014
21014
  const e = Am(n, 3);
21015
21015
  if (Math.floor(Math.abs(e)).toString().length > 12)
21016
- throw pn(n, PC);
21016
+ throw vn(n, PC);
21017
21017
  const t = e.toString();
21018
21018
  return t.includes(".") ? t : `${t}.0`;
21019
21019
  }
21020
21020
  const HC = "String";
21021
21021
  function jC(n) {
21022
21022
  if (MC.test(n))
21023
- throw pn(n, HC);
21023
+ throw vn(n, HC);
21024
21024
  return `"${n.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
21025
21025
  }
21026
21026
  function WC(n) {
@@ -21029,14 +21029,14 @@ function WC(n) {
21029
21029
  function od(n) {
21030
21030
  const e = WC(n);
21031
21031
  if (/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(e) === !1)
21032
- throw pn(e, DC);
21032
+ throw vn(e, DC);
21033
21033
  return e;
21034
21034
  }
21035
21035
  function Ha(n) {
21036
21036
  switch (typeof n) {
21037
21037
  case "number":
21038
21038
  if (!te(n))
21039
- throw pn(n, id);
21039
+ throw vn(n, id);
21040
21040
  return Number.isInteger(n) ? Em(n) : GC(n);
21041
21041
  case "string":
21042
21042
  return jC(n);
@@ -21052,12 +21052,12 @@ function Ha(n) {
21052
21052
  if (n instanceof ym)
21053
21053
  return od(n);
21054
21054
  default:
21055
- throw pn(n, id);
21055
+ throw vn(n, id);
21056
21056
  }
21057
21057
  }
21058
21058
  function ja(n) {
21059
21059
  if (/^[a-z*][a-z0-9\-_.*]*$/.test(n) === !1)
21060
- throw pn(n, NC);
21060
+ throw vn(n, NC);
21061
21061
  return n;
21062
21062
  }
21063
21063
  function Vl(n) {
@@ -21073,7 +21073,7 @@ function XC(n, e = {
21073
21073
  whitespace: !0
21074
21074
  }) {
21075
21075
  if (typeof n != "object")
21076
- throw pn(n, bC);
21076
+ throw vn(n, bC);
21077
21077
  const t = n instanceof Map ? n.entries() : Object.entries(n), s = e != null && e.whitespace ? " " : "";
21078
21078
  return Array.from(t).map(([r, i]) => {
21079
21079
  i instanceof Qs || (i = new Qs(i));
@@ -24250,7 +24250,7 @@ const kb = /* @__PURE__ */ fe({
24250
24250
  default: Pe(() => [
24251
24251
  gt(" - 5 "),
24252
24252
  Gb,
24253
- gt(" IMG ")
24253
+ gt(" SEC ")
24254
24254
  ]),
24255
24255
  _: 1
24256
24256
  })
@@ -24335,7 +24335,7 @@ const kb = /* @__PURE__ */ fe({
24335
24335
  }, y = () => {
24336
24336
  s("click:timecode");
24337
24337
  };
24338
- return vn(() => {
24338
+ return tn(() => {
24339
24339
  var E, v;
24340
24340
  u.value = ((E = l.value) == null ? void 0 : E.clientWidth) || 0, (v = c.value) == null || v.click();
24341
24341
  }), xt(
@@ -24460,7 +24460,7 @@ const Lm = Al ? window : void 0;
24460
24460
  function $b(...n) {
24461
24461
  let e, t, s, r;
24462
24462
  if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([t, s, r] = n, e = Lm) : [e, t, s, r] = n, !e)
24463
- return hn;
24463
+ return mn;
24464
24464
  Array.isArray(t) || (t = [t]), Array.isArray(s) || (s = [s]);
24465
24465
  const i = [], o = () => {
24466
24466
  i.forEach((u) => u()), i.length = 0;
@@ -24482,7 +24482,7 @@ function $b(...n) {
24482
24482
  }
24483
24483
  function eI() {
24484
24484
  const n = j(!1), e = js();
24485
- return e && vn(() => {
24485
+ return e && tn(() => {
24486
24486
  n.value = !0;
24487
24487
  }, e), n;
24488
24488
  }
@@ -24501,7 +24501,7 @@ function dd(n, e, t = {}) {
24501
24501
  const m = Ln(n);
24502
24502
  return (Array.isArray(m) ? m : [m]).map(xi).filter(S1);
24503
24503
  });
24504
- let u = hn;
24504
+ let u = mn;
24505
24505
  const d = j(a), f = l.value ? xt(
24506
24506
  () => [c.value, xi(s), d.value],
24507
24507
  ([m, g]) => {
@@ -24516,11 +24516,11 @@ function dd(n, e, t = {}) {
24516
24516
  }
24517
24517
  );
24518
24518
  m.forEach((y) => y && p.observe(y)), u = () => {
24519
- p.disconnect(), u = hn;
24519
+ p.disconnect(), u = mn;
24520
24520
  };
24521
24521
  },
24522
24522
  { immediate: a, flush: "post" }
24523
- ) : hn, h = () => {
24523
+ ) : mn, h = () => {
24524
24524
  u(), f(), d.value = !1;
24525
24525
  };
24526
24526
  return co(h), {
@@ -24627,7 +24627,8 @@ const oI = {
24627
24627
  }, E = () => {
24628
24628
  var k;
24629
24629
  Qt.isSupported() ? (a.value = new Qt(), g.value = !1, a.value.loadSource(i.value), a.value.attachMedia(l.value), a.value.on(Qt.Events.FRAG_BUFFERED, () => {
24630
- c.value = !0, l.value.play();
24630
+ const V = localStorage.getItem("cameraTimecode");
24631
+ V && (localStorage.removeItem("cameraTimecode"), l.value.currentTime = parseInt(V)), c.value = !0, l.value.play();
24631
24632
  }), a.value.on(Qt.Events.LEVEL_LOADED, (V, $) => {
24632
24633
  m.value = Math.floor($.details.totalduration), d.value = !0;
24633
24634
  }), a.value.on(Qt.Events.ERROR, () => {
@@ -24660,7 +24661,7 @@ const oI = {
24660
24661
  height: l.value.clientHeight
24661
24662
  }));
24662
24663
  };
24663
- return vn(() => {
24664
+ return tn(() => {
24664
24665
  const k = setTimeout(() => {
24665
24666
  y(), clearTimeout(k);
24666
24667
  }, 1500);
@@ -24891,7 +24892,7 @@ const MI = /* @__PURE__ */ we(wI, [["render", kI]]), DI = { class: "relative min
24891
24892
  else
24892
24893
  d.value = 0;
24893
24894
  };
24894
- return vn(() => {
24895
+ return tn(() => {
24895
24896
  c.value = h.value.filter((E) => !["-1", "game"].includes(E.id)).map((E) => E.id);
24896
24897
  }), xt(c, (E) => {
24897
24898
  g(), E.length || (c.value = ["-1"]);
@@ -24969,6 +24970,7 @@ const MI = /* @__PURE__ */ we(wI, [["render", kI]]), DI = { class: "relative min
24969
24970
  src: JI
24970
24971
  }, tL = {
24971
24972
  key: 1,
24973
+ class: "w-[60%]",
24972
24974
  src: _I
24973
24975
  }, nL = /* @__PURE__ */ fe({
24974
24976
  __name: "SpashVideoOptionsField2D",
@@ -25119,29 +25121,29 @@ const MI = /* @__PURE__ */ we(wI, [["render", kI]]), DI = { class: "relative min
25119
25121
  z("div", aL, [
25120
25122
  z("div", {
25121
25123
  class: ve(["relative w-20 h-20 rounded-full bg-red-500", [
25122
- H(r) === H(rn).red ? "border-4 border-background-alt" : ""
25124
+ H(r) === H(on).red ? "border-4 border-background-alt" : ""
25123
25125
  ]]),
25124
- onClick: a[0] || (a[0] = (u) => i(H(rn).red))
25126
+ onClick: a[0] || (a[0] = (u) => i(H(on).red))
25125
25127
  }, null, 2),
25126
25128
  z("div", {
25127
25129
  class: ve(["relative w-20 h-20 rounded-full bg-green-500", [
25128
- H(r) === H(rn).green ? "border-4 border-background-alt" : ""
25130
+ H(r) === H(on).green ? "border-4 border-background-alt" : ""
25129
25131
  ]]),
25130
- onClick: a[1] || (a[1] = (u) => i(H(rn).green))
25132
+ onClick: a[1] || (a[1] = (u) => i(H(on).green))
25131
25133
  }, null, 2)
25132
25134
  ]),
25133
25135
  z("div", lL, [
25134
25136
  z("div", {
25135
25137
  class: ve(["relative w-20 h-20 rounded-full bg-blue-500", [
25136
- H(r) === H(rn).blue ? "border-4 border-background-alt" : ""
25138
+ H(r) === H(on).blue ? "border-4 border-background-alt" : ""
25137
25139
  ]]),
25138
- onClick: a[2] || (a[2] = (u) => i(H(rn).blue))
25140
+ onClick: a[2] || (a[2] = (u) => i(H(on).blue))
25139
25141
  }, null, 2),
25140
25142
  z("div", {
25141
25143
  class: ve(["relative w-20 h-20 rounded-full bg-yellow-500", [
25142
- H(r) === H(rn).yellow ? "border-4 border-background-alt" : ""
25144
+ H(r) === H(on).yellow ? "border-4 border-background-alt" : ""
25143
25145
  ]]),
25144
- onClick: a[3] || (a[3] = (u) => i(H(rn).yellow))
25146
+ onClick: a[3] || (a[3] = (u) => i(H(on).yellow))
25145
25147
  }, null, 2)
25146
25148
  ])
25147
25149
  ]),
@@ -25243,7 +25245,7 @@ const MI = /* @__PURE__ */ we(wI, [["render", kI]]), DI = { class: "relative min
25243
25245
  C(Oe.draw);
25244
25246
  }
25245
25247
  }
25246
- ]), E = j(null), v = j(null), x = j(rn.red), S = ne(() => y.value.filter((Y) => Y.display)), T = ne(() => {
25248
+ ]), E = j(null), v = j(null), x = j(on.red), S = ne(() => y.value.filter((Y) => Y.display)), T = ne(() => {
25247
25249
  var Y;
25248
25250
  return ((Y = E.value) == null ? void 0 : Y.getTotalStrokes) || 0;
25249
25251
  }), R = ne(() => {
@@ -25405,7 +25407,7 @@ const MI = /* @__PURE__ */ we(wI, [["render", kI]]), DI = { class: "relative min
25405
25407
  setup(n, { expose: e, emit: t }) {
25406
25408
  const s = n, r = t, { session: i, use: o, optionsSelected: a } = We(s), l = j(), c = j(1), u = j(null), d = j(!1), f = j(!0), h = j(a.value), m = j(!1), g = j(0), p = (C) => {
25407
25409
  var w;
25408
- f.value = !1, (w = l.value) == null || w.destroyPlayer(), c.value = C, localStorage.setItem("selectedCamera", C.toString());
25410
+ f.value = !1, (w = l.value) == null || w.destroyPlayer(), c.value = C, localStorage.setItem("selectedCamera", C.toString()), localStorage.setItem("cameraTimecode", g.value.toString());
25409
25411
  const b = setTimeout(() => {
25410
25412
  f.value = !0, clearTimeout(b);
25411
25413
  }, 500);
@@ -25428,7 +25430,9 @@ const MI = /* @__PURE__ */ we(wI, [["render", kI]]), DI = { class: "relative min
25428
25430
  }, R = (C) => {
25429
25431
  r("update:optionsSelected", C);
25430
25432
  };
25431
- return e({
25433
+ return tn(() => {
25434
+ localStorage.removeItem("cameraTimecode");
25435
+ }), e({
25432
25436
  destroyPlayer: () => {
25433
25437
  var C;
25434
25438
  return (C = l.value) == null ? void 0 : C.destroyPlayer();
@@ -26072,7 +26076,7 @@ var Gl = {
26072
26076
  }
26073
26077
  }
26074
26078
  };
26075
- return vn(t), rf(t), function() {
26079
+ return tn(t), rf(t), function() {
26076
26080
  return jn("canvas", {
26077
26081
  ref: e,
26078
26082
  style: { width: "".concat(n.size, "px"), height: "".concat(n.size, "px") }
@@ -26178,11 +26182,11 @@ function km(n, e) {
26178
26182
  const { toString: DL } = Object.prototype, { getPrototypeOf: Hl } = Object, ho = /* @__PURE__ */ ((n) => (e) => {
26179
26183
  const t = DL.call(e);
26180
26184
  return n[t] || (n[t] = t.slice(8, -1).toLowerCase());
26181
- })(/* @__PURE__ */ Object.create(null)), tn = (n) => (n = n.toLowerCase(), (e) => ho(e) === n), mo = (n) => (e) => typeof e === n, { isArray: $s } = Array, Dr = mo("undefined");
26185
+ })(/* @__PURE__ */ Object.create(null)), nn = (n) => (n = n.toLowerCase(), (e) => ho(e) === n), mo = (n) => (e) => typeof e === n, { isArray: $s } = Array, Dr = mo("undefined");
26182
26186
  function NL(n) {
26183
26187
  return n !== null && !Dr(n) && n.constructor !== null && !Dr(n.constructor) && Vt(n.constructor.isBuffer) && n.constructor.isBuffer(n);
26184
26188
  }
26185
- const Mm = tn("ArrayBuffer");
26189
+ const Mm = nn("ArrayBuffer");
26186
26190
  function UL(n) {
26187
26191
  let e;
26188
26192
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(n) : e = n && n.buffer && Mm(n.buffer), e;
@@ -26192,11 +26196,11 @@ const zL = mo("string"), Vt = mo("function"), Dm = mo("number"), go = (n) => n !
26192
26196
  return !1;
26193
26197
  const e = Hl(n);
26194
26198
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in n) && !(Symbol.iterator in n);
26195
- }, BL = tn("Date"), GL = tn("File"), HL = tn("Blob"), jL = tn("FileList"), WL = (n) => go(n) && Vt(n.pipe), KL = (n) => {
26199
+ }, BL = nn("Date"), GL = nn("File"), HL = nn("Blob"), jL = nn("FileList"), WL = (n) => go(n) && Vt(n.pipe), KL = (n) => {
26196
26200
  let e;
26197
26201
  return n && (typeof FormData == "function" && n instanceof FormData || Vt(n.append) && ((e = ho(n)) === "formdata" || // detect form-data instance
26198
26202
  e === "object" && Vt(n.toString) && n.toString() === "[object FormData]"));
26199
- }, XL = tn("URLSearchParams"), [qL, YL, QL, ZL] = ["ReadableStream", "Request", "Response", "Headers"].map(tn), JL = (n) => n.trim ? n.trim() : n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
26203
+ }, XL = nn("URLSearchParams"), [qL, YL, QL, ZL] = ["ReadableStream", "Request", "Response", "Headers"].map(nn), JL = (n) => n.trim ? n.trim() : n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
26200
26204
  function zr(n, e, { allOwnKeys: t = !1 } = {}) {
26201
26205
  if (n === null || typeof n > "u")
26202
26206
  return;
@@ -26276,12 +26280,12 @@ const _L = (n, e, t, { allOwnKeys: s } = {}) => (zr(e, (r, i) => {
26276
26280
  for (; (t = n.exec(e)) !== null; )
26277
26281
  s.push(t);
26278
26282
  return s;
26279
- }, aw = tn("HTMLFormElement"), lw = (n) => n.toLowerCase().replace(
26283
+ }, aw = nn("HTMLFormElement"), lw = (n) => n.toLowerCase().replace(
26280
26284
  /[-_\s]([a-z\d])(\w*)/g,
26281
26285
  function(t, s, r) {
26282
26286
  return s.toUpperCase() + r;
26283
26287
  }
26284
- ), fd = (({ hasOwnProperty: n }) => (e, t) => n.call(e, t))(Object.prototype), cw = tn("RegExp"), Vm = (n, e) => {
26288
+ ), fd = (({ hasOwnProperty: n }) => (e, t) => n.call(e, t))(Object.prototype), cw = nn("RegExp"), Vm = (n, e) => {
26285
26289
  const t = Object.getOwnPropertyDescriptors(n), s = {};
26286
26290
  zr(t, (r, i) => {
26287
26291
  let o;
@@ -26341,7 +26345,7 @@ const pw = (n) => {
26341
26345
  return s;
26342
26346
  };
26343
26347
  return t(n, 0);
26344
- }, vw = tn("AsyncFunction"), yw = (n) => n && (go(n) || Vt(n)) && Vt(n.then) && Vt(n.catch), D = {
26348
+ }, vw = nn("AsyncFunction"), yw = (n) => n && (go(n) || Vt(n)) && Vt(n.then) && Vt(n.catch), D = {
26345
26349
  isArray: $s,
26346
26350
  isArrayBuffer: Mm,
26347
26351
  isBuffer: NL,
@@ -26374,7 +26378,7 @@ const pw = (n) => {
26374
26378
  inherits: ew,
26375
26379
  toFlatObject: tw,
26376
26380
  kindOf: ho,
26377
- kindOfTest: tn,
26381
+ kindOfTest: nn,
26378
26382
  endsWith: nw,
26379
26383
  toArray: sw,
26380
26384
  forEachEntry: iw,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spash/frontlib",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"