@tempots/beatui 0.61.13 → 0.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,22 +1,22 @@
1
- import { prop as G, html as d, attr as o, computedOf as I, Fragment as U, OnDispose as oe, style as C, on as L, WithElement as ne, When as Q, Value as h, Use as ae, Empty as W, input as pe, emitValue as X, aria as M, OneOfValue as bn, Unless as gn, coalesce as Pe, ForEach as Le, Ensure as Ue, OneOfType as Et, dataAttr as lt, NotEmpty as mn, emitValueAsDate as hn, Portal as st, makeProviderMark as Ot, WithBrowserCtx as vn, renderWithContext as yn, WithProvider as wn, Task as xn, Provide as Nt, MapSignal as Rt, svg as mt, svgAttr as ht, delaySignal as kn } from "@tempots/dom";
2
- import { Use as Po } from "@tempots/dom";
1
+ import { prop as G, html as d, attr as o, computedOf as I, Fragment as U, OnDispose as oe, style as C, on as P, WithElement as ne, When as Q, Value as h, Use as ae, Empty as W, input as pe, emitValue as X, aria as M, OneOfValue as bn, Unless as gn, coalesce as Le, ForEach as Pe, Ensure as Ue, OneOfType as Et, dataAttr as lt, NotEmpty as mn, emitValueAsDate as hn, Portal as st, makeProviderMark as Ot, WithBrowserCtx as vn, renderWithContext as yn, WithProvider as wn, Task as xn, Provide as Nt, MapSignal as Rt, svg as mt, svgAttr as ht, delaySignal as kn } from "@tempots/dom";
2
+ import { Use as Lo } from "@tempots/dom";
3
3
  import { PopOver as Sn, ElementRect as Be, WindowSize as Cn, Query as Ut, Location as Ne, NavigationService as In, Anchor as it } from "@tempots/ui";
4
4
  import { i as le, t as Se, h as vt, e as ue, a as ie, I as ee, b as ce, C as fe, B as yt, c as Ye, L as ct, j as wt, k as xt } from "./translations-BUTBIDsS.js";
5
5
  import { x as Do, T as Ao, l as Vo, d as Bo, f as Mo, g as Eo, u as Oo, q as No, o as Ro, w as Uo, y as Fo, n as jo, v as Ho, m as Wo, p as zo, r as Yo, s as Zo } from "./translations-BUTBIDsS.js";
6
6
  import { g as ut } from "./colors-pQZlNrwM.js";
7
7
  import { b as qo, e as Jo, i as Ko, a as Qo, c as Xo, o as el, l as tl, m as nl, k as al, j as rl, n as ol, r as ll, s as sl, d as il, h as cl, t as ul } from "./colors-pQZlNrwM.js";
8
8
  import { b as Tn } from "./index-CpZh_Snx.js";
9
- import { t as pl, am as fl, h as bl, J as gl, c as ml, N as hl, I as vl, K as yl, e as wl, l as xl, d as kl, a as Sl, ab as Cl, o as Il, a0 as Tl, ae as $l, q as _l, H as Pl, A as Ll, al as Dl, g as Al, E as Vl, x as Bl, aj as Ml, $ as El, a4 as Ol, k as Nl, j as Rl, i as Ul, Y as Fl, X as jl, Q as Hl, P as Wl, S as zl, R as Yl, W as Zl, V as Gl, U as ql, T as Jl, a8 as Kl, a7 as Ql, aa as Xl, a9 as es, n as ts, m as ns, _ as as, Z as rs, ad as os, p as ls, G as ss, z as is, ak as cs, D as us, C as ds, w as ps, v as fs, ai as bs, ah as gs, f as ms, a3 as hs, a2 as vs, M as ys, L as ws, a5 as xs, a6 as ks, r as Ss, O as Cs, ac as Is, s as Ts, F as $s, y as _s, ag as Ps, B as Ls, u as Ds, af as As, a1 as Vs } from "./index-CpZh_Snx.js";
10
- import { C as Fe, s as he, m as Ft, d as jt, I as dt, B as Ht, c as Wt, S as pt, e as $n } from "./notice-BH_pePhd.js";
11
- import { A as Ms, g as Es, b as Os, D as Ns, E as Rs, v as Us, L as Fs, M as js, x as Hs, N as Ws, i as zs, P as Ys, R as Zs, n as Gs, q as qs, o as Js, k as Ks, j as Qs, f as Xs, p as ei, h as ti, r as ni, t as ai, l as ri, u as oi, w as li } from "./notice-BH_pePhd.js";
12
- import { u as Re, A as ot, a as _n, O as zt, F as Pn } from "./modal-DQ9LXrC4.js";
13
- import { B as ii, C as ci, M as ui, c as di, S as pi, b as fi, d as bi, o as gi, s as mi, f as hi, e as vi, g as yi } from "./modal-DQ9LXrC4.js";
14
- import { T as Yt, a as Ln } from "./theme-B5pmbvQ_.js";
15
- import { S as Dn, G as Zt, E as An, F as Vn, N as Gt, a as Me, M as Ee, e as kt, n as Bn, W as ve, d as Mn, i as En, b as St, c as Ve } from "./utils-sMnCjVjS.js";
16
- import { j as xi, l as ki, B as Si, p as Ci, V as Ii, C as Ti, m as $i, L as _i, o as Pi, q as Li, r as Di, s as Ai, O as Vi, u as Bi, z as Mi, v as Ei, I as Oi, K as Ni, w as Ri, x as Ui, H as Fi, Q as ji, y as Hi, R as Wi, J as zi, A as Yi, T as Zi, D as Gi, f as qi, U as Ji, P as Ki, X as Qi, Y as Xi, ag as ec, k as tc, ae as nc, a2 as ac, a1 as rc, a6 as oc, a7 as lc, $ as sc, Z as ic, _ as cc, ab as uc, a5 as dc, ac as pc, a3 as fc, af as bc, a0 as gc, a8 as mc, a9 as hc, ad as vc, aa as yc, a4 as wc, g as xc, t as kc, h as Sc } from "./utils-sMnCjVjS.js";
9
+ import { t as pl, am as fl, h as bl, J as gl, c as ml, N as hl, I as vl, K as yl, e as wl, l as xl, d as kl, a as Sl, ab as Cl, o as Il, a0 as Tl, ae as $l, q as _l, H as Ll, A as Pl, al as Dl, g as Al, E as Vl, x as Bl, aj as Ml, $ as El, a4 as Ol, k as Nl, j as Rl, i as Ul, Y as Fl, X as jl, Q as Hl, P as Wl, S as zl, R as Yl, W as Zl, V as Gl, U as ql, T as Jl, a8 as Kl, a7 as Ql, aa as Xl, a9 as es, n as ts, m as ns, _ as as, Z as rs, ad as os, p as ls, G as ss, z as is, ak as cs, D as us, C as ds, w as ps, v as fs, ai as bs, ah as gs, f as ms, a3 as hs, a2 as vs, M as ys, L as ws, a5 as xs, a6 as ks, r as Ss, O as Cs, ac as Is, s as Ts, F as $s, y as _s, ag as Ls, B as Ps, u as Ds, af as As, a1 as Vs } from "./index-CpZh_Snx.js";
10
+ import { C as Fe, s as he, m as Ft, d as jt, I as dt, B as Ht, c as Wt, S as pt, e as $n } from "./notice-DUpqtjgC.js";
11
+ import { A as Ms, g as Es, b as Os, D as Ns, E as Rs, v as Us, L as Fs, M as js, x as Hs, N as Ws, i as zs, P as Ys, R as Zs, n as Gs, q as qs, o as Js, k as Ks, j as Qs, f as Xs, p as ei, h as ti, r as ni, t as ai, l as ri, u as oi, w as li } from "./notice-DUpqtjgC.js";
12
+ import { u as Re, A as ot, a as _n, O as zt, F as Ln } from "./modal-D137b7S7.js";
13
+ import { B as ii, C as ci, M as ui, c as di, S as pi, b as fi, d as bi, o as gi, s as mi, f as hi, e as vi, g as yi } from "./modal-D137b7S7.js";
14
+ import { T as Yt, a as Pn } from "./theme-B5pmbvQ_.js";
15
+ import { S as Dn, G as Zt, E as An, F as Vn, N as Gt, a as Me, M as Ee, e as kt, n as Bn, W as ve, d as Mn, i as En, b as St, c as Ve } from "./utils-Lx2CyUUf.js";
16
+ import { j as xi, l as ki, B as Si, p as Ci, V as Ii, C as Ti, m as $i, L as _i, o as Li, q as Pi, r as Di, s as Ai, O as Vi, u as Bi, z as Mi, v as Ei, I as Oi, K as Ni, w as Ri, x as Ui, H as Fi, Q as ji, y as Hi, R as Wi, J as zi, A as Yi, T as Zi, D as Gi, f as qi, U as Ji, P as Ki, X as Qi, Y as Xi, ag as ec, k as tc, ae as nc, a2 as ac, a1 as rc, a6 as oc, a7 as lc, $ as sc, Z as ic, _ as cc, ab as uc, a5 as dc, ac as pc, a3 as fc, af as bc, a0 as gc, a8 as mc, a9 as hc, ad as vc, aa as yc, a4 as wc, g as xc, t as kc, h as Sc } from "./utils-Lx2CyUUf.js";
17
17
  import { g as Ze, x as Ct } from "./timer-DzWb416P.js";
18
18
  import { L as Ic } from "./link-portal-Cr2l9f3k.js";
19
- import { T as $c, a as _c, c as Pc, b as Lc, d as Dc } from "./toolbar-Bk5-22ln.js";
19
+ import { T as $c, a as _c, c as Lc, b as Pc, d as Dc } from "./toolbar-Bk5-22ln.js";
20
20
  function cr(e, t = 0, n = () => !0) {
21
21
  let a = null, r;
22
22
  const s = G(e.value);
@@ -259,7 +259,7 @@ function gr({
259
259
  C.pointerEvents("none"),
260
260
  C.width("0"),
261
261
  C.height("0"),
262
- L.change(m),
262
+ P.change(m),
263
263
  ne((v) => (u = v, oe(() => {
264
264
  u != null && (u.value = "");
265
265
  })))
@@ -421,14 +421,14 @@ function zn({
421
421
  o.class("bc-color-input__swatch-container"),
422
422
  d.span(
423
423
  o.class("bc-color-input__swatch"),
424
- L.click(() => a?.showPicker()),
424
+ P.click(() => a?.showPicker()),
425
425
  pe.color(
426
426
  ne((r) => (a = r, W)),
427
427
  o.value(e),
428
428
  C.width("4px"),
429
429
  C.height("4px"),
430
- t != null ? L.change(X(t)) : W,
431
- n != null ? L.input(X(n)) : W
430
+ t != null ? P.change(X(t)) : W,
431
+ n != null ? P.input(X(n)) : W
432
432
  ),
433
433
  o.style(h.map(e, (r) => `background-color: ${r}`))
434
434
  )
@@ -442,9 +442,9 @@ function vr(e) {
442
442
  input: pe.text(
443
443
  fe(e),
444
444
  o.value(t),
445
- n != null ? L.blur(X(n)) : W,
446
- a != null ? L.change(X(a)) : W,
447
- r != null ? L.input(X(r)) : W
445
+ n != null ? P.blur(X(n)) : W,
446
+ a != null ? P.change(X(a)) : W,
447
+ r != null ? P.input(X(r)) : W
448
448
  )
449
449
  },
450
450
  o.class("bc-color-input"),
@@ -562,18 +562,18 @@ function Ge(e) {
562
562
  te,
563
563
  bn(c, {
564
564
  "hover-focus": () => U(
565
- L.mouseenter(() => E()),
566
- L.mouseleave(() => N()),
567
- L.focus(() => E()),
568
- L.blur(() => N())
565
+ P.mouseenter(() => E()),
566
+ P.mouseleave(() => N()),
567
+ P.focus(() => E()),
568
+ P.blur(() => N())
569
569
  ),
570
570
  hover: () => U(
571
- L.mouseenter(() => E()),
572
- L.mouseleave(() => N())
571
+ P.mouseenter(() => E()),
572
+ P.mouseleave(() => N())
573
573
  ),
574
574
  focus: () => U(
575
- L.focus(() => E()),
576
- L.blur(() => N())
575
+ P.focus(() => E()),
576
+ P.blur(() => N())
577
577
  ),
578
578
  click: () => {
579
579
  function F() {
@@ -584,7 +584,7 @@ function Ge(e) {
584
584
  }
585
585
  return U(
586
586
  oe(F),
587
- L.click(() => {
587
+ P.click(() => {
588
588
  E(), Ze(() => {
589
589
  document.addEventListener("click", Y, {
590
590
  once: !0
@@ -655,7 +655,7 @@ function yr({
655
655
  gn(
656
656
  r,
657
657
  () => U(
658
- L.click(() => s?.()),
658
+ P.click(() => s?.()),
659
659
  o.tabindex(0)
660
660
  )
661
661
  ),
@@ -1143,7 +1143,7 @@ function kr({
1143
1143
  g.status
1144
1144
  )((m, v) => m === "block" ? "opened" : v)
1145
1145
  }),
1146
- C.width(Pe(n.menu?.width, l.$.menuWidth)),
1146
+ C.width(Le(n.menu?.width, l.$.menuWidth)),
1147
1147
  C.bottom("0"),
1148
1148
  n.menu?.content
1149
1149
  ) : null,
@@ -1218,7 +1218,7 @@ function kr({
1218
1218
  )((m, v) => m === "block" ? "opened" : v)
1219
1219
  }),
1220
1220
  C.width(
1221
- Pe(n.aside?.width, l.$.asideWidth)
1221
+ Le(n.aside?.width, l.$.asideWidth)
1222
1222
  ),
1223
1223
  C.bottom(b.map((m) => `${m}px`)),
1224
1224
  n.aside.content
@@ -1348,9 +1348,9 @@ function Ir({
1348
1348
  t,
1349
1349
  O,
1350
1350
  y
1351
- )((A, R, K, P) => {
1351
+ )((A, R, K, L) => {
1352
1352
  const B = A + Number(R), j = A + K, J = Math.min(B, j);
1353
- return `${Math.max(A + P, J)}px`;
1353
+ return `${Math.max(A + L, J)}px`;
1354
1354
  })
1355
1355
  ),
1356
1356
  () => C.right("0")
@@ -1365,9 +1365,9 @@ function Ir({
1365
1365
  n,
1366
1366
  E,
1367
1367
  u
1368
- )((A, R, K, P) => {
1368
+ )((A, R, K, L) => {
1369
1369
  const B = A + Number(R), j = A + K, J = Math.min(B, j);
1370
- return `${Math.max(A + P, J)}px`;
1370
+ return `${Math.max(A + L, J)}px`;
1371
1371
  })
1372
1372
  ),
1373
1373
  () => C.bottom("0")
@@ -1383,8 +1383,8 @@ function Ir({
1383
1383
  k,
1384
1384
  T,
1385
1385
  V
1386
- )((A, R, K, P) => {
1387
- const B = K ? `translateX(-${A}px)` : "", j = P ? `translateY(-${R}px)` : "";
1386
+ )((A, R, K, L) => {
1387
+ const B = K ? `translateX(-${A}px)` : "", j = L ? `translateY(-${R}px)` : "";
1388
1388
  return `${B} ${j}`.trim() || "none";
1389
1389
  })
1390
1390
  ), ye = C.transform(
@@ -1400,7 +1400,7 @@ function Ir({
1400
1400
  )((A, R) => A - BigInt(Math.max(1, R)));
1401
1401
  let z = null, Te = 0, $e = 0;
1402
1402
  const Ke = () => {
1403
- const A = De.value, R = Ae.value, K = V.value, P = T.value;
1403
+ const A = De.value, R = Ae.value, K = V.value, L = T.value;
1404
1404
  if (K && $e !== 0) {
1405
1405
  const B = It(
1406
1406
  je(0n, A),
@@ -1411,7 +1411,7 @@ function Ir({
1411
1411
  );
1412
1412
  k.set(B);
1413
1413
  }
1414
- if (P && Te !== 0) {
1414
+ if (L && Te !== 0) {
1415
1415
  const B = It(
1416
1416
  je(0n, R),
1417
1417
  je(
@@ -1431,7 +1431,7 @@ function Ir({
1431
1431
  oe(() => {
1432
1432
  z && clearTimeout(z);
1433
1433
  }),
1434
- L.wheel((A) => {
1434
+ P.wheel((A) => {
1435
1435
  A.preventDefault();
1436
1436
  const { deltaX: R, deltaY: K } = A;
1437
1437
  Te += R, $e += K, z || (z = setTimeout(Ke, 16));
@@ -1569,10 +1569,10 @@ function Ir({
1569
1569
  C.height("100%"),
1570
1570
  C.backgroundColor("#ff000066")
1571
1571
  ),
1572
- L.scroll((A) => {
1573
- const R = A.target, K = R.scrollLeft, P = R.scrollWidth - R.clientWidth;
1574
- if (P > 0) {
1575
- const B = K / P, j = Ae.value;
1572
+ P.scroll((A) => {
1573
+ const R = A.target, K = R.scrollLeft, L = R.scrollWidth - R.clientWidth;
1574
+ if (L > 0) {
1575
+ const B = K / L, j = Ae.value;
1576
1576
  x.set(
1577
1577
  BigInt(Math.round(Number(j) * B))
1578
1578
  );
@@ -1607,14 +1607,14 @@ function Ir({
1607
1607
  u,
1608
1608
  n,
1609
1609
  te
1610
- )((A, R, K, P) => `${100 / Math.max(1, P)}%`)
1610
+ )((A, R, K, L) => `${100 / Math.max(1, L)}%`)
1611
1611
  ),
1612
1612
  C.backgroundColor("#ff000066")
1613
1613
  ),
1614
- L.scroll((A) => {
1615
- const R = A.target, K = R.scrollTop, P = R.scrollHeight - R.clientHeight;
1616
- if (P > 0) {
1617
- const B = K / P, j = De.value;
1614
+ P.scroll((A) => {
1615
+ const R = A.target, K = R.scrollTop, L = R.scrollHeight - R.clientHeight;
1616
+ if (L > 0) {
1617
+ const B = K / L, j = De.value;
1618
1618
  k.set(
1619
1619
  BigInt(Math.round(Number(j) * B))
1620
1620
  );
@@ -1658,7 +1658,7 @@ function _t({ header: e, footer: t, body: n, shadowOnScroll: a = !0 }, ...r) {
1658
1658
  ne(
1659
1659
  (u) => oe(Ze(() => i(u)))
1660
1660
  ),
1661
- L.scroll((u) => {
1661
+ P.scroll((u) => {
1662
1662
  const l = u.target;
1663
1663
  i(l);
1664
1664
  }),
@@ -1814,7 +1814,7 @@ const Ce = {
1814
1814
  (w, $) => w && $ != null ? `dropdown-option-${String($)}` : ""
1815
1815
  )
1816
1816
  ),
1817
- n != null ? L.blur(() => {
1817
+ n != null ? P.blur(() => {
1818
1818
  setTimeout(() => {
1819
1819
  k?.contains(document.activeElement) || (p.set(!1), f.set(-1), n());
1820
1820
  }, 100);
@@ -1854,7 +1854,7 @@ const Ce = {
1854
1854
  p.set(!0), T.length > 0 && (f.set(0), S.set(T[0])), w(), setTimeout(() => u?.(), 0);
1855
1855
  }
1856
1856
  };
1857
- return L.click(_);
1857
+ return P.click(_);
1858
1858
  },
1859
1859
  showDelay: 0,
1860
1860
  hideDelay: 0,
@@ -1891,7 +1891,7 @@ const Ce = {
1891
1891
  An("value", i.$.value),
1892
1892
  Q(
1893
1893
  i.map((l) => !l.disabled),
1894
- () => L.click(() => a(i.value.value)),
1894
+ () => P.click(() => a(i.value.value)),
1895
1895
  () => W
1896
1896
  ),
1897
1897
  d.div(
@@ -1913,7 +1913,7 @@ const Ce = {
1913
1913
  o.role("group"),
1914
1914
  M.label(i.$.group),
1915
1915
  d.div(o.class("bc-dropdown__group-label"), i.$.group),
1916
- Le(
1916
+ Pe(
1917
1917
  i.$.options,
1918
1918
  (c) => Xt(
1919
1919
  c,
@@ -1959,12 +1959,12 @@ const Ce = {
1959
1959
  () => c,
1960
1960
  () => ae(
1961
1961
  ie,
1962
- (l) => Pe(s, a, l.$.selectOne)
1962
+ (l) => Le(s, a, l.$.selectOne)
1963
1963
  )
1964
1964
  ),
1965
1965
  optionsSource: n,
1966
1966
  allowSpaceToggle: u,
1967
- buildListboxContent: ({ focusedValue: l, onSelect: p }) => Le(
1967
+ buildListboxContent: ({ focusedValue: l, onSelect: p }) => Pe(
1968
1968
  n,
1969
1969
  (f) => Xt(f, r, t, p, l)
1970
1970
  )
@@ -2010,7 +2010,7 @@ const Ce = {
2010
2010
  M.selected(u),
2011
2011
  Q(
2012
2012
  c.map((p) => !p.disabled),
2013
- () => L.click(() => a(c.value.value)),
2013
+ () => P.click(() => a(c.value.value)),
2014
2014
  () => W
2015
2015
  ),
2016
2016
  d.div(
@@ -2035,7 +2035,7 @@ const Ce = {
2035
2035
  o.role("group"),
2036
2036
  M.label(c.$.group),
2037
2037
  d.div(o.class("bc-dropdown__group-label"), c.$.group),
2038
- Le(
2038
+ Pe(
2039
2039
  c.$.options,
2040
2040
  (u) => en(
2041
2041
  u,
@@ -2108,11 +2108,11 @@ const Ce = {
2108
2108
  ),
2109
2109
  o.value(l),
2110
2110
  ne(($) => (S = $, W)),
2111
- L.input(($) => {
2111
+ P.input(($) => {
2112
2112
  const D = $.target;
2113
2113
  l.set(D.value), x(D.value);
2114
2114
  }),
2115
- L.keydown(v)
2115
+ P.keydown(v)
2116
2116
  )
2117
2117
  ),
2118
2118
  Q(
@@ -2121,7 +2121,7 @@ const Ce = {
2121
2121
  o.class("bc-dropdown__loading"),
2122
2122
  ee({ icon: "ph:spinner-bold", color: "neutral" })
2123
2123
  ),
2124
- () => Le(
2124
+ () => Pe(
2125
2125
  f,
2126
2126
  ($) => en(
2127
2127
  $,
@@ -2256,7 +2256,7 @@ function tn(e) {
2256
2256
  return _ >= 0 && T[_] ? T[_].id || `${g}-item-${_}` : "";
2257
2257
  })
2258
2258
  ),
2259
- L.click((_) => {
2259
+ P.click((_) => {
2260
2260
  const V = _.target.closest(
2261
2261
  '[role="menuitem"]'
2262
2262
  );
@@ -2293,7 +2293,7 @@ function tn(e) {
2293
2293
  })
2294
2294
  );
2295
2295
  }
2296
- function Pr(e) {
2296
+ function Lr(e) {
2297
2297
  const {
2298
2298
  key: t,
2299
2299
  content: n,
@@ -2320,7 +2320,7 @@ function Pr(e) {
2320
2320
  // Will be updated by focus management
2321
2321
  S ? M.expanded(!1) : U(),
2322
2322
  c ? M.label(c) : U(),
2323
- L.click((g) => {
2323
+ P.click((g) => {
2324
2324
  if (h.get(s)) {
2325
2325
  g.preventDefault(), g.stopPropagation();
2326
2326
  return;
@@ -2406,7 +2406,7 @@ function cn(e) {
2406
2406
  const { values: t, options: n, equality: a, disabled: r, onRemove: s } = e;
2407
2407
  return mn(
2408
2408
  t,
2409
- () => Le(
2409
+ () => Pe(
2410
2410
  t,
2411
2411
  (i) => Jt({
2412
2412
  value: I(
@@ -2446,7 +2446,7 @@ function un(e) {
2446
2446
  M.checked(S),
2447
2447
  o.class("bc-menu-item"),
2448
2448
  d.span(o.class("bc-menu-item__content"), f.label),
2449
- L.click(() => i(f.value))
2449
+ P.click(() => i(f.value))
2450
2450
  )
2451
2451
  );
2452
2452
  } else f.type === "group" ? p.push(
@@ -2463,7 +2463,7 @@ function un(e) {
2463
2463
  M.checked(g),
2464
2464
  o.class("bc-menu-item"),
2465
2465
  d.span(o.class("bc-menu-item__content"), S.label),
2466
- L.click(() => i(S.value))
2466
+ P.click(() => i(S.value))
2467
2467
  );
2468
2468
  }
2469
2469
  return U();
@@ -2509,7 +2509,7 @@ function un(e) {
2509
2509
  })
2510
2510
  });
2511
2511
  }
2512
- function Lr(e) {
2512
+ function Pr(e) {
2513
2513
  return Ht(un, e);
2514
2514
  }
2515
2515
  function Dr(e) {
@@ -2553,7 +2553,7 @@ function dn(e) {
2553
2553
  M.checked(k),
2554
2554
  o.class("bc-menu-item"),
2555
2555
  d.span(o.class("bc-menu-item__content"), b.label),
2556
- L.click(() => l(b.value))
2556
+ P.click(() => l(b.value))
2557
2557
  )
2558
2558
  );
2559
2559
  } else b.type === "group" ? g.push(
@@ -2570,7 +2570,7 @@ function dn(e) {
2570
2570
  M.checked(x),
2571
2571
  o.class("bc-menu-item"),
2572
2572
  d.span(o.class("bc-menu-item__content"), k.label),
2573
- L.click(() => l(k.value))
2573
+ P.click(() => l(k.value))
2574
2574
  );
2575
2575
  }
2576
2576
  return U();
@@ -2625,11 +2625,11 @@ function dn(e) {
2625
2625
  )((g, y) => g ?? y ?? "")
2626
2626
  ),
2627
2627
  o.value(c),
2628
- L.input((g) => {
2628
+ P.input((g) => {
2629
2629
  const y = g.target;
2630
2630
  c.set(y.value);
2631
2631
  }),
2632
- L.keydown((g) => {
2632
+ P.keydown((g) => {
2633
2633
  (g.key === "ArrowUp" || g.key === "ArrowDown" || g.key === "Enter" || g.key === " ") && g.stopPropagation();
2634
2634
  })
2635
2635
  ),
@@ -2652,8 +2652,8 @@ const Br = (e) => {
2652
2652
  fe(e),
2653
2653
  o.valueAsDate(t),
2654
2654
  o.class("bc-input"),
2655
- n != null ? L.blur(X(n)) : W,
2656
- a != null ? L.change(hn(a)) : W
2655
+ n != null ? P.blur(X(n)) : W,
2656
+ a != null ? P.change(hn(a)) : W
2657
2657
  )
2658
2658
  });
2659
2659
  }, ba = (e) => {
@@ -2667,8 +2667,8 @@ const Br = (e) => {
2667
2667
  fe(e),
2668
2668
  o.value(h.map(t, ba)),
2669
2669
  o.class("bc-input"),
2670
- n != null ? L.blur(X(n)) : W,
2671
- a != null ? L.change(X((r) => a(new Date(r)))) : W
2670
+ n != null ? P.blur(X(n)) : W,
2671
+ a != null ? P.change(X((r) => a(new Date(r)))) : W
2672
2672
  )
2673
2673
  });
2674
2674
  }, Er = (e) => {
@@ -2723,7 +2723,7 @@ const Br = (e) => {
2723
2723
  onBlur: n,
2724
2724
  after: s != null ? U(u, s) : u
2725
2725
  });
2726
- }, Pt = (e) => {
2726
+ }, Lt = (e) => {
2727
2727
  try {
2728
2728
  return BigInt(e);
2729
2729
  } catch {
@@ -2759,7 +2759,7 @@ const Br = (e) => {
2759
2759
  e.disabled ?? !1
2760
2760
  )((x, m) => !x || m)
2761
2761
  ),
2762
- L.click((x) => k(1n, x)),
2762
+ P.click((x) => k(1n, x)),
2763
2763
  M.label(g.$.incrementValue),
2764
2764
  ee({ icon: "line-md:plus", size: "xs" })
2765
2765
  ),
@@ -2774,16 +2774,16 @@ const Br = (e) => {
2774
2774
  e.disabled ?? !1
2775
2775
  )((x, m) => !x || m)
2776
2776
  ),
2777
- L.click((x) => k(-1n, x)),
2777
+ P.click((x) => k(-1n, x)),
2778
2778
  M.label(g.$.decrementValue),
2779
2779
  ee({ icon: "line-md:minus", size: "xs" })
2780
2780
  )
2781
2781
  );
2782
2782
  }) : null, p = c != null && l != null ? U(l, c) : c ?? l, f = s ? (g) => {
2783
- const y = Pt(g);
2783
+ const y = Lt(g);
2784
2784
  y != null && s(u(y));
2785
2785
  } : void 0, S = i ? (g) => {
2786
- const y = Pt(g);
2786
+ const y = Lt(g);
2787
2787
  y != null && i(u(y));
2788
2788
  } : void 0;
2789
2789
  return Ee({
@@ -2796,7 +2796,7 @@ const Br = (e) => {
2796
2796
  allowMode: "digits",
2797
2797
  class: "bc-number-input"
2798
2798
  });
2799
- }, Lt = (e) => {
2799
+ }, Pt = (e) => {
2800
2800
  if (e == null || e === "") return null;
2801
2801
  try {
2802
2802
  return BigInt(e);
@@ -2839,7 +2839,7 @@ const Br = (e) => {
2839
2839
  e.disabled ?? !1
2840
2840
  )((m, v) => !m || v)
2841
2841
  ),
2842
- L.click((m) => x(1n, m)),
2842
+ P.click((m) => x(1n, m)),
2843
2843
  M.label(y.$.incrementValue),
2844
2844
  ee({ icon: "line-md:plus", size: "xs" })
2845
2845
  ),
@@ -2854,7 +2854,7 @@ const Br = (e) => {
2854
2854
  e.disabled ?? !1
2855
2855
  )((m, v) => !m || v)
2856
2856
  ),
2857
- L.click((m) => x(-1n, m)),
2857
+ P.click((m) => x(-1n, m)),
2858
2858
  M.label(y.$.decrementValue),
2859
2859
  ee({ icon: "line-md:minus", size: "xs" })
2860
2860
  )
@@ -2864,10 +2864,10 @@ const Br = (e) => {
2864
2864
  e.disabled,
2865
2865
  s ?? i
2866
2866
  ), f = c != null && l != null ? U(l, p, c) : c != null ? U(p, c) : l != null ? U(l, p) : p, S = s ? (y) => {
2867
- const b = Lt(y);
2867
+ const b = Pt(y);
2868
2868
  s(b === null ? null : u(b));
2869
2869
  } : void 0, g = i ? (y) => {
2870
- const b = Lt(y);
2870
+ const b = Pt(y);
2871
2871
  i(b === null ? null : u(b));
2872
2872
  } : void 0;
2873
2873
  return Ee({
@@ -2896,7 +2896,7 @@ const Br = (e) => {
2896
2896
  }),
2897
2897
  input: U(
2898
2898
  o.class("bc-input-container__tags"),
2899
- Le(
2899
+ Pe(
2900
2900
  t,
2901
2901
  (u) => Jt({
2902
2902
  value: u,
@@ -2908,9 +2908,9 @@ const Br = (e) => {
2908
2908
  fe(e),
2909
2909
  o.value(s),
2910
2910
  o.class("bc-input bc-input-container__tags-input"),
2911
- L.input(X(s.set)),
2912
- n != null ? L.change(c) : W,
2913
- a != null ? L.blur(a) : W
2911
+ P.input(X(s.set)),
2912
+ n != null ? P.change(c) : W,
2913
+ a != null ? P.blur(a) : W
2914
2914
  )
2915
2915
  )
2916
2916
  });
@@ -2925,8 +2925,8 @@ function qe(e) {
2925
2925
  fe(t),
2926
2926
  o.value(h.map(n, e.valueToString)),
2927
2927
  o.class("bc-input"),
2928
- a != null ? L.blur(X(a)) : W,
2929
- r != null ? L.change(X((i) => r(e.parseValue(s, i)))) : W
2928
+ a != null ? P.blur(X(a)) : W,
2929
+ r != null ? P.change(X((i) => r(e.parseValue(s, i)))) : W
2930
2930
  )
2931
2931
  })
2932
2932
  );
@@ -2944,13 +2944,13 @@ function Je(e) {
2944
2944
  h.map(n, (p) => p == null ? "" : e.valueToString(p))
2945
2945
  ),
2946
2946
  o.class("bc-input"),
2947
- a != null ? L.blur(X(a)) : W,
2948
- r != null ? L.change(
2947
+ a != null ? P.blur(X(a)) : W,
2948
+ r != null ? P.change(
2949
2949
  X(
2950
2950
  (p) => r(p === "" ? null : e.parseValue(l, p))
2951
2951
  )
2952
2952
  ) : W,
2953
- s != null ? L.input(
2953
+ s != null ? P.input(
2954
2954
  X(
2955
2955
  (p) => s(p === "" ? null : e.parseValue(l, p))
2956
2956
  )
@@ -2999,8 +2999,8 @@ const jr = qe({
2999
2999
  h.map(t, (s) => ga(Number(s.epochMilliseconds)))
3000
3000
  ),
3001
3001
  o.class("bc-input"),
3002
- n != null ? L.blur(X(n)) : W,
3003
- a != null ? L.change(
3002
+ n != null ? P.blur(X(n)) : W,
3003
+ a != null ? P.change(
3004
3004
  X(
3005
3005
  (s) => a(r.Instant.from(new Date(s).toISOString()))
3006
3006
  )
@@ -3025,13 +3025,13 @@ const jr = qe({
3025
3025
  )
3026
3026
  ),
3027
3027
  o.class("bc-input"),
3028
- n != null ? L.blur(X(n)) : W,
3029
- a != null ? L.change(
3028
+ n != null ? P.blur(X(n)) : W,
3029
+ a != null ? P.change(
3030
3030
  X(
3031
3031
  (l) => a(l === "" ? null : u.Instant.from(new Date(l).toISOString()))
3032
3032
  )
3033
3033
  ) : W,
3034
- r != null ? L.input(
3034
+ r != null ? P.input(
3035
3035
  X(
3036
3036
  (l) => r(l === "" ? null : u.Instant.from(new Date(l).toISOString()))
3037
3037
  )
@@ -3049,8 +3049,8 @@ const jr = qe({
3049
3049
  fe(e),
3050
3050
  o.value(h.map(t, (s) => s.toJSON())),
3051
3051
  o.class("bc-input"),
3052
- n != null ? L.blur(X(n)) : W,
3053
- a != null ? L.change(
3052
+ n != null ? P.blur(X(n)) : W,
3053
+ a != null ? P.change(
3054
3054
  X((s) => {
3055
3055
  const i = r.PlainDateTime.from(s), c = h.get(e.placeholder) ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
3056
3056
  return a(r.ZonedDateTime.from({ ...i, timeZone: c }));
@@ -3068,15 +3068,15 @@ const jr = qe({
3068
3068
  fe(e),
3069
3069
  o.value(h.map(t, (l) => l?.toJSON())),
3070
3070
  o.class("bc-input"),
3071
- n != null ? L.blur(X(n)) : W,
3072
- a != null ? L.change(
3071
+ n != null ? P.blur(X(n)) : W,
3072
+ a != null ? P.change(
3073
3073
  X((l) => {
3074
3074
  if (l === "") return a(null);
3075
3075
  const p = u.PlainDateTime.from(l), f = h.get(e.placeholder) ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
3076
3076
  return a(u.ZonedDateTime.from({ ...p, timeZone: f }));
3077
3077
  })
3078
3078
  ) : W,
3079
- r != null ? L.input(
3079
+ r != null ? P.input(
3080
3080
  X((l) => {
3081
3081
  if (l === "") return r(null);
3082
3082
  const p = u.PlainDateTime.from(l), f = h.get(e.placeholder) ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -3518,7 +3518,7 @@ function io({
3518
3518
  appearancePreferenceKey: a
3519
3519
  }), r && c(pn, { position: s }), In.attach(u(Ne));
3520
3520
  const l = U(
3521
- t ? Ln() : W,
3521
+ t ? Pn() : W,
3522
3522
  va(),
3523
3523
  r ? Ca() : W,
3524
3524
  ...i
@@ -3699,7 +3699,7 @@ function Z(e, t) {
3699
3699
  );
3700
3700
  }
3701
3701
  function ze(e, t) {
3702
- return t == null ? null : Le(t, (n) => Z(e, n));
3702
+ return t == null ? null : Pe(t, (n) => Z(e, n));
3703
3703
  }
3704
3704
  function Ia(e, t) {
3705
3705
  return t == null ? null : Q(
@@ -3723,18 +3723,18 @@ const fo = (e) => {
3723
3723
  n != null && t.push(n);
3724
3724
  }
3725
3725
  return t.push(Z("profile:first_name", e.firstName)), t.push(Z("profile:last_name", e.lastName)), t.push(Z("profile:username", e.username)), t.push(Z("profile:gender", e.gender)), t.push(ge("twitter:card", e.twitterCard)), t.push(ge("twitter:site", e.twitterSite)), t.push(ge("twitter:creator", e.twitterCreator)), t.push(
3726
- ge("twitter:title", Pe(e.twitterTitle, e.title))
3726
+ ge("twitter:title", Le(e.twitterTitle, e.title))
3727
3727
  ), t.push(
3728
3728
  ge(
3729
3729
  "twitter:description",
3730
- Pe(e.twitterDescription, e.description)
3730
+ Le(e.twitterDescription, e.description)
3731
3731
  )
3732
3732
  ), t.push(
3733
- ge("twitter:image", Pe(e.twitterImage, e.image))
3733
+ ge("twitter:image", Le(e.twitterImage, e.image))
3734
3734
  ), t.push(
3735
3735
  ge(
3736
3736
  "twitter:image:alt",
3737
- Pe(e.twitterImageAlt, e.imageAlt)
3737
+ Le(e.twitterImageAlt, e.imageAlt)
3738
3738
  )
3739
3739
  ), e.canonical != null && h.get(e.canonical) != null && t.push(d.link(o.rel("canonical"), o.href(e.canonical))), t.push(ge("robots", e.robots)), t.push(ge("keywords", e.keywords)), t.push(ge("author", e.metaAuthor)), st("head", t.filter((n) => n != null).flat());
3740
3740
  }, ft = ({
@@ -3836,7 +3836,7 @@ const $a = (e) => e ? e.startsWith("#") ? e : `#${e}` : "", _a = (e) => {
3836
3836
  }
3837
3837
  return e instanceof URLSearchParams ? new URLSearchParams(e) : new URLSearchParams(e);
3838
3838
  };
3839
- function Pa(e, t, n) {
3839
+ function La(e, t, n) {
3840
3840
  const a = _a(e.search), r = a.toString(), s = r ? `?${r}` : "", i = $a(e.hash);
3841
3841
  switch (n) {
3842
3842
  case "exact":
@@ -3864,7 +3864,7 @@ function Pa(e, t, n) {
3864
3864
  }
3865
3865
  function bt(e, t) {
3866
3866
  return t === "exact" ? I(e)((n) => n) : I(e)(
3867
- (n) => (a) => Pa(a, n, t)
3867
+ (n) => (a) => La(a, n, t)
3868
3868
  );
3869
3869
  }
3870
3870
  function bo({
@@ -4028,7 +4028,7 @@ function Vt({
4028
4028
  )
4029
4029
  );
4030
4030
  }
4031
- const La = {
4031
+ const Pa = {
4032
4032
  mark: Ot("SidebarContext"),
4033
4033
  create: (e) => ({
4034
4034
  value: {
@@ -4040,7 +4040,7 @@ const La = {
4040
4040
  };
4041
4041
  function mo({ backgroundMode: e = "light" }, ...t) {
4042
4042
  return Nt(
4043
- La,
4043
+ Pa,
4044
4044
  h.map(
4045
4045
  e,
4046
4046
  (n) => ({
@@ -4089,7 +4089,7 @@ function Aa(...e) {
4089
4089
  function Va(e, ...t) {
4090
4090
  return d.button(
4091
4091
  o.type("button"),
4092
- L.click(e.onClick),
4092
+ P.click(e.onClick),
4093
4093
  e.ariaExpanded != null ? M.expanded(
4094
4094
  h.map(
4095
4095
  e.ariaExpanded,
@@ -4116,7 +4116,7 @@ function Ba(e) {
4116
4116
  d.button(
4117
4117
  o.type("button"),
4118
4118
  o.class("bc-sidebar-link--action"),
4119
- L.click((n, a) => {
4119
+ P.click((n, a) => {
4120
4120
  e.action?.onClick?.(a);
4121
4121
  }),
4122
4122
  ee({ icon: e.action?.icon })
@@ -4281,7 +4281,7 @@ function yo(e) {
4281
4281
  u ?? "horizontal"
4282
4282
  ),
4283
4283
  p ? M.label(p) : U(),
4284
- L.keydown(y),
4284
+ P.keydown(y),
4285
4285
  ...t.map((b, k) => {
4286
4286
  const x = I(n)(($) => $ === b.key), m = I(
4287
4287
  c,
@@ -4316,10 +4316,10 @@ function yo(e) {
4316
4316
  o.disabled(m),
4317
4317
  lt["tab-index"](String(k)),
4318
4318
  b.ariaLabel ? M.label(b.ariaLabel) : U(),
4319
- L.click(($) => {
4319
+ P.click(($) => {
4320
4320
  $.preventDefault(), h.get(b.disabled ?? !1) || h.get(c) || (a?.(b.key), S.set(k));
4321
4321
  }),
4322
- L.focus(() => {
4322
+ P.focus(() => {
4323
4323
  S.set(k);
4324
4324
  }),
4325
4325
  b.label
@@ -4403,7 +4403,7 @@ function wo(e) {
4403
4403
  lt.focusTrap("true"),
4404
4404
  // Mark as focus trap container
4405
4405
  // Focus trap for keyboard navigation
4406
- Pn({
4406
+ Ln({
4407
4407
  active: !0,
4408
4408
  escapeDeactivates: !1,
4409
4409
  // Let Overlay handle escape key
@@ -4411,7 +4411,7 @@ function wo(e) {
4411
4411
  `#${T} [aria-label="Close drawer"]`
4412
4412
  ) || null
4413
4413
  }),
4414
- L.mousedown((E) => E.stopPropagation()),
4414
+ P.mousedown((E) => E.stopPropagation()),
4415
4415
  // Prevent overlay click-outside when clicking drawer content
4416
4416
  // Drawer content container
4417
4417
  Rt(v, (E) => _t(E ? {
@@ -4741,12 +4741,12 @@ function Io(e) {
4741
4741
  onPlaybackRateChange: O,
4742
4742
  onPlaybackQualityChange: E
4743
4743
  } = e;
4744
- function N(P) {
4745
- return /\.m3u8(\?|$)/i.test(P);
4744
+ function N(L) {
4745
+ return /\.m3u8(\?|$)/i.test(L);
4746
4746
  }
4747
- function te(P) {
4747
+ function te(L) {
4748
4748
  try {
4749
- const B = P.canPlayType("application/vnd.apple.mpegurl");
4749
+ const B = L.canPlayType("application/vnd.apple.mpegurl");
4750
4750
  return B === "probably" || B === "maybe";
4751
4751
  } catch {
4752
4752
  return !1;
@@ -4763,22 +4763,22 @@ function Io(e) {
4763
4763
  }
4764
4764
  const q = [];
4765
4765
  q.push(
4766
- h.on(t, (P) => {
4767
- typeof P == "string" && P.length > 0 && ja(P) ? H.value = "youtube" : (H.value = "file", F && de());
4766
+ h.on(t, (L) => {
4767
+ typeof L == "string" && L.length > 0 && ja(L) ? H.value = "youtube" : (H.value = "file", F && de());
4768
4768
  })
4769
4769
  );
4770
4770
  async function de() {
4771
- const P = F;
4772
- if (!P) return;
4771
+ const L = F;
4772
+ if (!L) return;
4773
4773
  const B = h.get(t);
4774
4774
  if (typeof B != "string" || B.length === 0) return;
4775
4775
  Ie();
4776
4776
  const j = y?.file?.forceHLS ?? !1;
4777
4777
  if (N(B) || j) {
4778
- if (te(P)) {
4779
- P.setAttribute("src", B);
4778
+ if (te(L)) {
4779
+ L.setAttribute("src", B);
4780
4780
  try {
4781
- P.load();
4781
+ L.load();
4782
4782
  } catch {
4783
4783
  }
4784
4784
  return;
@@ -4792,45 +4792,45 @@ function Io(e) {
4792
4792
  if (typeof _e == "function") {
4793
4793
  const xe = _e;
4794
4794
  if (typeof xe.isSupported == "function" && xe.isSupported()) {
4795
- P.removeAttribute("src");
4795
+ L.removeAttribute("src");
4796
4796
  try {
4797
- P.load();
4797
+ L.load();
4798
4798
  } catch {
4799
4799
  }
4800
4800
  const Qe = new xe(y?.hls);
4801
- se = Qe, Qe.attachMedia(P), Qe.loadSource(B);
4801
+ se = Qe, Qe.attachMedia(L), Qe.loadSource(B);
4802
4802
  } else {
4803
- P.setAttribute("src", B);
4803
+ L.setAttribute("src", B);
4804
4804
  try {
4805
- P.load();
4805
+ L.load();
4806
4806
  } catch {
4807
4807
  }
4808
4808
  }
4809
4809
  } else {
4810
- P.setAttribute("src", B);
4810
+ L.setAttribute("src", B);
4811
4811
  try {
4812
- P.load();
4812
+ L.load();
4813
4813
  } catch {
4814
4814
  }
4815
4815
  }
4816
4816
  } catch (J) {
4817
- D?.(J), P.setAttribute("src", B);
4817
+ D?.(J), L.setAttribute("src", B);
4818
4818
  try {
4819
- P.load();
4819
+ L.load();
4820
4820
  } catch {
4821
4821
  }
4822
4822
  }
4823
4823
  return;
4824
4824
  }
4825
- P.setAttribute("src", B);
4825
+ L.setAttribute("src", B);
4826
4826
  try {
4827
- P.load();
4827
+ L.load();
4828
4828
  } catch {
4829
4829
  }
4830
4830
  }
4831
4831
  function ye() {
4832
4832
  Y?.();
4833
- const P = h.get(S) ?? 1e3;
4833
+ const L = h.get(S) ?? 1e3;
4834
4834
  Y = Ct(() => {
4835
4835
  const B = F;
4836
4836
  if (!B) return;
@@ -4841,15 +4841,15 @@ function Io(e) {
4841
4841
  loaded: j > 0 ? Math.min(Oe, j) / j : 0,
4842
4842
  loadedSeconds: Math.min(Oe, j)
4843
4843
  });
4844
- }, P);
4844
+ }, L);
4845
4845
  }
4846
- function we(P) {
4847
- if (P != null)
4848
- return typeof P == "number" ? `${P}px` : P;
4846
+ function we(L) {
4847
+ if (L != null)
4848
+ return typeof L == "number" ? `${L}px` : L;
4849
4849
  }
4850
4850
  const De = d.video(
4851
- ne((P) => {
4852
- F = P, b?.();
4851
+ ne((L) => {
4852
+ F = L, b?.();
4853
4853
  try {
4854
4854
  F.playbackRate = h.get(c) ?? 1;
4855
4855
  } catch {
@@ -4873,26 +4873,26 @@ function Io(e) {
4873
4873
  h.map(f, we)
4874
4874
  ),
4875
4875
  // Events
4876
- L.play(() => x?.()),
4877
- L.playing(() => {
4876
+ P.play(() => x?.()),
4877
+ P.playing(() => {
4878
4878
  k?.(), w?.();
4879
4879
  }),
4880
- L.pause(() => m?.()),
4881
- L.waiting(() => v?.()),
4882
- L.canplay(() => {
4883
- const P = F?.duration;
4884
- P != null && Number.isFinite(P) && _?.(P);
4880
+ P.pause(() => m?.()),
4881
+ P.waiting(() => v?.()),
4882
+ P.canplay(() => {
4883
+ const L = F?.duration;
4884
+ L != null && Number.isFinite(L) && _?.(L);
4885
4885
  }),
4886
- L.ended(() => $?.()),
4887
- L.error((P) => {
4888
- se || D?.(P);
4886
+ P.ended(() => $?.()),
4887
+ P.error((L) => {
4888
+ se || D?.(L);
4889
4889
  })
4890
4890
  );
4891
4891
  let Ae = null, z = null, Te = null;
4892
4892
  function $e() {
4893
- const P = h.get(t);
4894
- !Ae || typeof P != "string" || Ha().then((B) => {
4895
- const j = fn(P);
4893
+ const L = h.get(t);
4894
+ !Ae || typeof L != "string" || Ha().then((B) => {
4895
+ const j = fn(L);
4896
4896
  if (j) {
4897
4897
  if (z) {
4898
4898
  z.loadVideoById({ videoId: j });
@@ -4931,7 +4931,7 @@ function Io(e) {
4931
4931
  }
4932
4932
  function Ke() {
4933
4933
  Te?.();
4934
- const P = h.get(S) ?? 1e3;
4934
+ const L = h.get(S) ?? 1e3;
4935
4935
  Te = Ct(() => {
4936
4936
  if (!z) return;
4937
4937
  const B = z.getDuration?.() ?? 0, j = z.getCurrentTime?.() ?? 0, J = z.getVideoLoadedFraction?.() ?? 0;
@@ -4941,7 +4941,7 @@ function Io(e) {
4941
4941
  loaded: J,
4942
4942
  loadedSeconds: J * B
4943
4943
  });
4944
- }, P);
4944
+ }, L);
4945
4945
  }
4946
4946
  function A() {
4947
4947
  if (!z) return;
@@ -4966,8 +4966,8 @@ function Io(e) {
4966
4966
  typeof B == "number" && Number.isFinite(B) && (z.seekTo?.(B, !0), T?.(B));
4967
4967
  }
4968
4968
  const R = d.div(
4969
- ne((P) => {
4970
- Ae = P, $e(), b?.();
4969
+ ne((L) => {
4970
+ Ae = L, $e(), b?.();
4971
4971
  })
4972
4972
  );
4973
4973
  q.push(
@@ -4984,10 +4984,10 @@ function Io(e) {
4984
4984
  if (H.value === "file" && F)
4985
4985
  F.volume = Math.min(Math.max(h.get(s) ?? 1, 0), 1);
4986
4986
  else if (H.value === "youtube" && z) {
4987
- const P = Math.round(
4987
+ const L = Math.round(
4988
4988
  Math.min(Math.max(h.get(s) ?? 1, 0), 1) * 100
4989
4989
  );
4990
- z.setVolume?.(P);
4990
+ z.setVolume?.(L);
4991
4991
  }
4992
4992
  })
4993
4993
  ), q.push(
@@ -5007,8 +5007,8 @@ function Io(e) {
5007
5007
  h.on(u, async () => {
5008
5008
  if (!(H.value !== "file" || !F))
5009
5009
  try {
5010
- const P = !!(h.get(u) ?? !1), B = document, j = F;
5011
- P ? typeof j.requestPictureInPicture == "function" && B.pictureInPictureElement !== F && await j.requestPictureInPicture()?.catch(() => {
5010
+ const L = !!(h.get(u) ?? !1), B = document, j = F;
5011
+ L ? typeof j.requestPictureInPicture == "function" && B.pictureInPictureElement !== F && await j.requestPictureInPicture()?.catch(() => {
5012
5012
  }) : B.pictureInPictureElement === F && typeof B.exitPictureInPicture == "function" && await B.exitPictureInPicture()?.catch(() => {
5013
5013
  });
5014
5014
  } catch {
@@ -5016,14 +5016,14 @@ function Io(e) {
5016
5016
  })
5017
5017
  ), q.push(
5018
5018
  h.on(g ?? null, () => {
5019
- const P = h.get(g);
5020
- if (P != null)
5019
+ const L = h.get(g);
5020
+ if (L != null)
5021
5021
  if (H.value === "file" && F)
5022
5022
  try {
5023
- F.currentTime = P, T?.(P);
5023
+ F.currentTime = L, T?.(L);
5024
5024
  } catch {
5025
5025
  }
5026
- else H.value === "youtube" && z && (z.seekTo?.(P, !0), T?.(P));
5026
+ else H.value === "youtube" && z && (z.seekTo?.(L, !0), T?.(L));
5027
5027
  })
5028
5028
  );
5029
5029
  const K = d.div(
@@ -5035,7 +5035,7 @@ function Io(e) {
5035
5035
  h.map(f, we)
5036
5036
  ),
5037
5037
  Q(
5038
- h.map(H, (P) => P === "youtube"),
5038
+ h.map(H, (L) => L === "youtube"),
5039
5039
  () => R,
5040
5040
  () => De
5041
5041
  )
@@ -5180,7 +5180,7 @@ function To({
5180
5180
  })),
5181
5181
  load: async ({ request: w }) => {
5182
5182
  const $ = await f, D = w.source, _ = rt(D), T = rt(D);
5183
- (g == null || !Qa(S, _)) && (g != null && (g.destroy(), g = null), S = _, g = await $.getDocument(T).promise, l?.({ numPages: g.numPages }));
5183
+ (g == null || !Qa(S, _)) && (g != null && (g.destroy(), g = null), S = _, g = await $.getDocument(T).promise, l?.({ pdfDoc: g }));
5184
5184
  const V = w.page < 1 || w.page > g.numPages ? 1 : w.page;
5185
5185
  u != null && V !== y && (y = V, u(V));
5186
5186
  const O = await g.getPage(V);
@@ -5394,7 +5394,7 @@ export {
5394
5394
  Si as BaseListControl,
5395
5395
  Es as BaseMappedControl,
5396
5396
  Ci as BaseNativeSelectControl,
5397
- Lr as BaseSelectTagsControl,
5397
+ Pr as BaseSelectTagsControl,
5398
5398
  Io as BaseVideoPlayer,
5399
5399
  io as BeatUI,
5400
5400
  ie as BeatUII18n,
@@ -5437,7 +5437,7 @@ export {
5437
5437
  Er as FileInput,
5438
5438
  Vn as FilesInput,
5439
5439
  Ge as Flyout,
5440
- Pn as FocusTrap,
5440
+ Ln as FocusTrap,
5441
5441
  ro as FormStatus,
5442
5442
  Zt as Group,
5443
5443
  ee as Icon,
@@ -5452,19 +5452,19 @@ export {
5452
5452
  Ta as Link,
5453
5453
  Ic as LinkPortal,
5454
5454
  _i as ListControl,
5455
- Pi as ListInput,
5455
+ Li as ListInput,
5456
5456
  ct as Locale,
5457
5457
  so as LocaleSelector,
5458
5458
  js as MappedControl,
5459
5459
  Ee as MaskInput,
5460
5460
  tn as Menu,
5461
- Pr as MenuItem,
5461
+ Lr as MenuItem,
5462
5462
  nn as MenuSeparator,
5463
5463
  ui as Modal,
5464
5464
  Hs as MutedLabel,
5465
5465
  co as NativePdfPreview,
5466
5466
  Gt as NativeSelect,
5467
- Li as NativeSelectControl,
5467
+ Pi as NativeSelectControl,
5468
5468
  bo as NavigationLink,
5469
5469
  Ir as NineSliceScrollView,
5470
5470
  Ws as Notice,
@@ -5518,7 +5518,7 @@ export {
5518
5518
  mo as Sidebar,
5519
5519
  Aa as SidebarActiveLink,
5520
5520
  Va as SidebarClickLink,
5521
- La as SidebarContext,
5521
+ Pa as SidebarContext,
5522
5522
  Bt as SidebarGroup,
5523
5523
  Ba as SidebarLink,
5524
5524
  vo as SidebarSeparator,
@@ -5537,18 +5537,18 @@ export {
5537
5537
  Zi as TextArea,
5538
5538
  Ao as TextInput,
5539
5539
  Yt as Theme,
5540
- Ln as ThemeAppearance,
5540
+ Pn as ThemeAppearance,
5541
5541
  $c as Toolbar,
5542
5542
  _c as ToolbarButton,
5543
- Pc as ToolbarDivider,
5544
- Lc as ToolbarGroup,
5543
+ Lc as ToolbarDivider,
5544
+ Pc as ToolbarGroup,
5545
5545
  Dc as ToolbarSpacer,
5546
5546
  xo as Tooltip,
5547
5547
  Gi as UUIDInput,
5548
5548
  qi as UnionController,
5549
5549
  Ji as UnstyledDropZone,
5550
5550
  Ki as UrlInput,
5551
- Po as Use,
5551
+ Lo as Use,
5552
5552
  Xn as WithBeatUIBreakpoint,
5553
5553
  xr as WithBeatUIElementBreakpoint,
5554
5554
  Kt as WithBreakpoint,
@@ -5614,8 +5614,8 @@ export {
5614
5614
  Tl as generateSemanticFontVariables,
5615
5615
  $l as generateSemanticMotionVariables,
5616
5616
  _l as generateSemanticRadiusVariables,
5617
- Pl as generateSemanticShadowVariables,
5618
- Ll as generateSemanticSpacingVariables,
5617
+ Ll as generateSemanticShadowVariables,
5618
+ Pl as generateSemanticSpacingVariables,
5619
5619
  Dl as generateSemanticTextShadowVariables,
5620
5620
  Al as generateSemanticTokenVariables,
5621
5621
  Vl as generateShadowVariables,
@@ -5674,7 +5674,7 @@ export {
5674
5674
  rl as interactiveColors,
5675
5675
  jo as isIndexedDBAvailable,
5676
5676
  Ho as isRTLLocale,
5677
- Pa as isUrlMatch,
5677
+ La as isUrlMatch,
5678
5678
  En as isValidColor,
5679
5679
  St as isValidHexColor,
5680
5680
  sc as isValidHslColor,
@@ -5714,9 +5714,9 @@ export {
5714
5714
  Ts as semanticRadiusNames,
5715
5715
  $s as semanticShadowNames,
5716
5716
  _s as semanticSpacingNames,
5717
- Ps as semanticTextShadowNames,
5717
+ Ls as semanticTextShadowNames,
5718
5718
  he as sessionId,
5719
- Ls as shadows,
5719
+ Ps as shadows,
5720
5720
  Ds as spacing,
5721
5721
  yc as srgbToLinear,
5722
5722
  ni as standardSchemaResultToValidation,