burne-ui 1.8.0 → 1.8.1

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.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { a as ie, av as rt, aw as m, ax as Kn, a6 as Be, ay as He, ao as Rb, b as Nb, az as zt, a3 as j, $ as wb, aA as Ya, r as ze, aj as $n, aB as Qc, q as Wn, a2 as eo, aC as Db, aD as Oe, aE as Pb, aF as Ob, I as Bb, aG as kb, aH as Fb, aI as Mb, aJ as Hb, aK as Gb, aL as Vb, aM as cd, aN as zb, aO as Ub, aP as We, aQ as Qe, V as Kb, aR as $b, aS as Wb, aT as Xb, z as tn, A as to, aU as Yb, aV as jb, aW as qb, H as ud, aX as Zb, aY as Qb, aZ as Jb, a_ as ev, a$ as tv, b0 as Ze, k as Hr, b1 as Ut, as as Ue, b2 as Jc, b3 as no, b4 as St, b5 as yo, at as Gr, b6 as Ks, b7 as oo, ar as dd, b8 as Xn, ae as Vr, _ as ro, b9 as Eo, e as so, ba as xo, ap as Ro, bb as ao, bc as ja, bd as qa, be as mt, p as nv, o as Jt, F as ov, bf as rv, a7 as mr, ai as sv, bg as fd, bh as md, bi as av, bj as lv, bk as iv, bl as eu, bm as cv, bn as tu, bo as uv, bp as pd, bq as dv, br as fv, bs as mv, au as gd, bt as Cd, a1 as pv, bu as gv, bv as Cv, bw as hv, bx as Za, by as Sv, bz as bv, w as nu, R as ou, K as ru, J as su, v as vv, s as Av, bA as _v } from "./themeRuntimeContext-BYM_xa2F.js";
3
- import { f as t5, g as n5, M as o5, bB as r5, bC as s5, bD as a5, bE as l5, bF as i5, bG as c5, G as u5, bH as d5, bI as f5, bJ as m5, bK as p5, bL as g5, bM as C5, bN as h5 } from "./themeRuntimeContext-BYM_xa2F.js";
2
+ import { a as ie, av as ot, aw as m, ax as Kn, a6 as Be, ay as He, ao as Rb, b as Nb, az as zt, a3 as j, $ as wb, aA as Ya, r as ze, aj as $n, aB as Qc, q as Wn, a2 as eo, aC as Db, aD as Oe, aE as Pb, aF as Ob, I as Bb, aG as kb, aH as Fb, aI as Mb, aJ as Hb, aK as Gb, aL as Vb, aM as cd, aN as zb, aO as Ub, aP as Ye, aQ as at, V as Kb, aR as $b, aS as Wb, aT as Xb, z as tn, A as to, aU as Yb, aV as jb, aW as qb, H as ud, aX as Zb, aY as Qb, aZ as Jb, a_ as ev, a$ as tv, b0 as Ze, k as Hr, b1 as Ut, as as Ue, b2 as Jc, b3 as no, b4 as St, b5 as yo, at as Gr, b6 as Ks, b7 as oo, ar as dd, b8 as Xn, ae as Vr, _ as ro, b9 as Eo, e as so, ba as xo, ap as Ro, bb as ao, bc as ja, bd as qa, be as mt, p as nv, o as Jt, F as ov, bf as rv, a7 as mr, ai as sv, bg as fd, bh as md, bi as av, bj as lv, bk as iv, bl as eu, bm as cv, bn as tu, bo as uv, bp as pd, bq as dv, br as fv, bs as mv, au as gd, bt as Cd, a1 as pv, bu as gv, bv as Cv, bw as hv, bx as Za, by as Sv, bz as bv, w as nu, R as ou, K as ru, J as su, v as vv, s as Av, bA as _v } from "./themeRuntimeContext-Ba-UDP4h.js";
3
+ import { f as t5, g as n5, M as o5, bB as r5, bC as s5, bD as a5, bE as l5, bF as i5, bG as c5, G as u5, bH as d5, bI as f5, bJ as m5, bK as p5, bL as g5, bM as C5, bN as h5 } from "./themeRuntimeContext-Ba-UDP4h.js";
4
4
  import { jsx as i, jsxs as X, Fragment as Ae } from "react/jsx-runtime";
5
- import { useRef as B, useLayoutEffect as ae, memo as vn, forwardRef as k, useImperativeHandle as hd, useMemo as O, useCallback as x, useEffect as Le, Children as fe, isValidElement as re, useState as Q, useContext as F, createContext as W, createElement as Yn, cloneElement as Ge, useId as Te, useSyncExternalStore as zr, Fragment as at } from "react";
5
+ import { useRef as B, useLayoutEffect as ae, memo as vn, forwardRef as k, useImperativeHandle as hd, useMemo as O, useCallback as x, useEffect as Le, Children as fe, isValidElement as re, useState as Q, useContext as F, createContext as W, createElement as Yn, cloneElement as Ge, useId as Te, useSyncExternalStore as zr, Fragment as st } from "react";
6
6
  import te from "gsap";
7
7
  import "gsap/CustomEase";
8
8
  import { IoClose as Qa, IoWarning as Lv, IoInformationCircleOutline as Tv, IoCheckmarkCircleOutline as Iv, IoCloseCircleOutline as yv, IoHelpCircleOutline as Ev, IoCheckmarkSharp as xv, IoChevronDown as Ur, IoChevronForward as No, IoFolderOpen as Sd, IoEyeOff as Rv, IoEye as Nv, IoSearch as wv, IoArrowForward as Dv, IoChevronBack as bd, IoChevronUp as Pv } from "react-icons/io5";
@@ -27,7 +27,7 @@ const sj = {
27
27
  function wo(e) {
28
28
  return e ?? "base";
29
29
  }
30
- const Ye = {
30
+ const Xe = {
31
31
  small: {
32
32
  title: "small",
33
33
  desc: "xsmall",
@@ -286,13 +286,13 @@ function mj(e) {
286
286
  return `var(--z-${e})`;
287
287
  }
288
288
  const ks = {
289
- primarySolid: rt("converge-ripple-primary-fill"),
290
- neutral: rt("converge-ripple-neutral"),
291
- neutralMuted: rt("converge-ripple-neutral-muted"),
292
- danger: rt("converge-ripple-danger"),
293
- success: rt("converge-ripple-success"),
294
- info: rt("converge-ripple-info"),
295
- warning: rt("converge-ripple-warning")
289
+ primarySolid: ot("converge-ripple-primary-fill"),
290
+ neutral: ot("converge-ripple-neutral"),
291
+ neutralMuted: ot("converge-ripple-neutral-muted"),
292
+ danger: ot("converge-ripple-danger"),
293
+ success: ot("converge-ripple-success"),
294
+ info: ot("converge-ripple-info"),
295
+ warning: ot("converge-ripple-warning")
296
296
  };
297
297
  function Gv(e) {
298
298
  return e == null || e === "" ? ks.neutral : e in ks ? ks[e] : e;
@@ -807,7 +807,7 @@ function iA({
807
807
  r.current();
808
808
  return;
809
809
  }
810
- We(s, !0);
810
+ Ye(s, !0);
811
811
  const c = te.fromTo(
812
812
  s,
813
813
  { scale: 0, autoAlpha: 0.5 },
@@ -817,7 +817,7 @@ function iA({
817
817
  ...$b(),
818
818
  ease: Kb(),
819
819
  overwrite: "auto",
820
- onComplete: Qe(s, () => {
820
+ onComplete: at(s, () => {
821
821
  a || r.current();
822
822
  })
823
823
  }
@@ -1376,22 +1376,22 @@ const jn = Object.assign(Pd, {
1376
1376
  gloss: "default"
1377
1377
  }, bA = {
1378
1378
  default: {
1379
- convergeBg: rt("converge-ripple-neutral")
1379
+ convergeBg: ot("converge-ripple-neutral")
1380
1380
  },
1381
1381
  primary: {
1382
- convergeBg: rt("converge-ripple-primary-fill")
1382
+ convergeBg: ot("converge-ripple-primary-fill")
1383
1383
  },
1384
1384
  outline: {
1385
- convergeBg: rt("converge-ripple-neutral")
1385
+ convergeBg: ot("converge-ripple-neutral")
1386
1386
  },
1387
1387
  secondary: {
1388
- convergeBg: rt("converge-ripple-neutral")
1388
+ convergeBg: ot("converge-ripple-neutral")
1389
1389
  },
1390
1390
  ghost: {
1391
- convergeBg: rt("converge-ripple-neutral")
1391
+ convergeBg: ot("converge-ripple-neutral")
1392
1392
  },
1393
1393
  gloss: {
1394
- convergeBg: rt("converge-ripple-neutral")
1394
+ convergeBg: ot("converge-ripple-neutral")
1395
1395
  }
1396
1396
  }, Od = {
1397
1397
  small: {
@@ -6103,7 +6103,7 @@ const Dy = k(
6103
6103
  }),
6104
6104
  gm(
6105
6105
  _,
6106
- Ye[C].listItemGapX,
6106
+ Xe[C].listItemGapX,
6107
6107
  y,
6108
6108
  A
6109
6109
  ),
@@ -6605,7 +6605,7 @@ function Fm(e, t, n) {
6605
6605
  }
6606
6606
  e.style.position = "fixed", e.style.left = `${t.left}px`, e.style.top = `${t.top}px`;
6607
6607
  }
6608
- function Je({
6608
+ function Qe({
6609
6609
  triggerRef: e,
6610
6610
  openingRef: t,
6611
6611
  setOpen: n,
@@ -6731,10 +6731,10 @@ function pE({
6731
6731
  panelFrom: o = { scale: is },
6732
6732
  panelTo: r = { scale: 1 }
6733
6733
  }) {
6734
- j(e, t), te.fromTo(e, { opacity: 0 }, { opacity: 1, ...n }), We(t, !0), te.fromTo(t, o, {
6734
+ j(e, t), te.fromTo(e, { opacity: 0 }, { opacity: 1, ...n }), Ye(t, !0), te.fromTo(t, o, {
6735
6735
  ...r,
6736
6736
  ...n,
6737
- onComplete: Qe(t, n.onComplete)
6737
+ onComplete: at(t, n.onComplete)
6738
6738
  });
6739
6739
  }
6740
6740
  function gE({
@@ -6744,10 +6744,10 @@ function gE({
6744
6744
  onComplete: o,
6745
6745
  panelExit: r = { autoAlpha: 0, scale: is }
6746
6746
  }) {
6747
- j(e, t), We(t, !0);
6747
+ j(e, t), Ye(t, !0);
6748
6748
  const s = te.timeline({
6749
6749
  onComplete: () => {
6750
- We(t, !1), o();
6750
+ Ye(t, !1), o();
6751
6751
  }
6752
6752
  });
6753
6753
  return s.to(e, { opacity: 0, ...n }, 0), s.to(t, { ...r, ...n }, 0), s;
@@ -6764,10 +6764,10 @@ function us({
6764
6764
  from: n = { scale: is },
6765
6765
  to: o = { scale: 1 }
6766
6766
  }) {
6767
- j(e), CE(e), We(e, !0), te.fromTo(e, n, {
6767
+ j(e), CE(e), Ye(e, !0), te.fromTo(e, n, {
6768
6768
  ...o,
6769
6769
  ...t,
6770
- onComplete: Qe(e, t.onComplete)
6770
+ onComplete: at(e, t.onComplete)
6771
6771
  });
6772
6772
  }
6773
6773
  function ds({
@@ -6776,7 +6776,7 @@ function ds({
6776
6776
  onComplete: n,
6777
6777
  exit: o = {}
6778
6778
  }) {
6779
- j(e), We(e, !0);
6779
+ j(e), Ye(e, !0);
6780
6780
  const r = Number.parseFloat(getComputedStyle(e).opacity), s = Number.isFinite(r) && r > 0 ? r : 1;
6781
6781
  return te.fromTo(
6782
6782
  e,
@@ -6785,7 +6785,7 @@ function ds({
6785
6785
  autoAlpha: 0,
6786
6786
  ...o,
6787
6787
  ...t,
6788
- onComplete: Qe(e, n ?? t.onComplete)
6788
+ onComplete: at(e, n ?? t.onComplete)
6789
6789
  }
6790
6790
  );
6791
6791
  }
@@ -7057,7 +7057,7 @@ const Um = k(
7057
7057
  [c, f]
7058
7058
  ), b = x(
7059
7059
  (_) => {
7060
- u || g.current || _.button !== 0 || (_.preventDefault(), Je({ triggerRef: f, openingRef: g, setOpen: () => d(!0) }));
7060
+ u || g.current || _.button !== 0 || (_.preventDefault(), Qe({ triggerRef: f, openingRef: g, setOpen: () => d(!0) }));
7061
7061
  },
7062
7062
  [u, g, f, d]
7063
7063
  ), v = x(
@@ -7067,7 +7067,7 @@ const Um = k(
7067
7067
  [r, u, d]
7068
7068
  ), S = x(
7069
7069
  (_) => {
7070
- a == null || a(_), !_.defaultPrevented && (_.key === "Enter" || _.key === " ") && (_.preventDefault(), u ? d(!1) : Je({ triggerRef: f, openingRef: g, setOpen: () => d(!0) }));
7070
+ a == null || a(_), !_.defaultPrevented && (_.key === "Enter" || _.key === " ") && (_.preventDefault(), u ? d(!1) : Qe({ triggerRef: f, openingRef: g, setOpen: () => d(!0) }));
7071
7071
  },
7072
7072
  [a, u, g, d, f]
7073
7073
  ), L = fe.count(n) === 1 && re(n) ? n : null;
@@ -7476,7 +7476,7 @@ function ti({
7476
7476
  );
7477
7477
  }
7478
7478
  ti.displayName = "ComboBoxError";
7479
- const et = "field-control-mobile-no-zoom", ex = {
7479
+ const Je = "field-control-mobile-no-zoom", ex = {
7480
7480
  small: ie.small.controlPad,
7481
7481
  base: ie.base.controlPad,
7482
7482
  mid: ie.mid.controlPad,
@@ -7486,7 +7486,7 @@ const et = "field-control-mobile-no-zoom", ex = {
7486
7486
  base: ie.base.chevronIcon,
7487
7487
  mid: ie.mid.chevronIcon,
7488
7488
  large: ie.large.chevronIcon
7489
- }, nx = "relative z-0 flex min-w-0 items-stretch border-1 text-left overflow-hidden motion-reduce:transition-none", ox = `min-w-0 flex-1 bg-transparent text-foreground outline-none placeholder:text-muted ${et}`, rx = "text-muted", sx = "flex shrink-0 origin-center items-center justify-center self-stretch px-small outline-none text-muted hover:text-foreground focus-ring-inset", ax = "pointer-events-none", lx = "z-popover", ix = "gap-0 p-base", cx = "overflow-y-auto overflow-x-hidden", ux = "cursor-not-allowed opacity-55 shadow-token-base", dx = "cursor-pointer";
7489
+ }, nx = "relative z-0 flex min-w-0 items-stretch border-1 text-left overflow-hidden motion-reduce:transition-none", ox = `min-w-0 flex-1 bg-transparent text-foreground outline-none placeholder:text-muted ${Je}`, rx = "text-muted", sx = "flex shrink-0 origin-center items-center justify-center self-stretch px-small outline-none text-muted hover:text-foreground focus-ring-inset", ax = "pointer-events-none", lx = "z-popover", ix = "gap-0 p-base", cx = "overflow-y-auto overflow-x-hidden", ux = "cursor-not-allowed opacity-55 shadow-token-base", dx = "cursor-pointer";
7490
7490
  function fx({
7491
7491
  variant: e
7492
7492
  }) {
@@ -7532,7 +7532,7 @@ function gx({
7532
7532
  ox,
7533
7533
  ex[e],
7534
7534
  t && rx,
7535
- et,
7535
+ Je,
7536
7536
  o,
7537
7537
  n
7538
7538
  );
@@ -7654,7 +7654,7 @@ function Ix({
7654
7654
  ne.setSelectionRange(q, q);
7655
7655
  });
7656
7656
  }, [C, v, g, f, c]), U = x(() => {
7657
- Je({
7657
+ Qe({
7658
7658
  triggerRef: b,
7659
7659
  disabled: L,
7660
7660
  setOpen: l,
@@ -7798,7 +7798,7 @@ const ni = k(
7798
7798
  },
7799
7799
  [S, g, y, _]
7800
7800
  ), w = x(() => {
7801
- Je({
7801
+ Qe({
7802
7802
  triggerRef: S,
7803
7803
  disabled: g,
7804
7804
  setOpen: h,
@@ -8085,7 +8085,7 @@ function yx({
8085
8085
  n != null ? /* @__PURE__ */ i(ti, { children: n }) : null
8086
8086
  ] });
8087
8087
  }
8088
- function Xe({
8088
+ function We({
8089
8089
  value: e,
8090
8090
  defaultValue: t,
8091
8091
  onChange: n
@@ -8140,7 +8140,7 @@ function Ex({
8140
8140
  M || Y(be), p == null || p(be), _ && T.setValue(be);
8141
8141
  },
8142
8142
  [_, T, M, p]
8143
- ), [Z, pe] = Xe({
8143
+ ), [Z, pe] = We({
8144
8144
  value: h,
8145
8145
  defaultValue: g,
8146
8146
  onChange: C
@@ -8604,7 +8604,7 @@ function iR({
8604
8604
  sR,
8605
8605
  gm(
8606
8606
  n,
8607
- Ye.base.listItemGapX,
8607
+ Xe.base.listItemGapX,
8608
8608
  o,
8609
8609
  r
8610
8610
  ),
@@ -9162,7 +9162,7 @@ const gp = k(
9162
9162
  function({ children: t, className: n, asChild: o, onClick: r, onPointerDown: s, onKeyDown: a, ...l }, c) {
9163
9163
  const { open: u, setOpen: d, triggerRef: f, contentId: p } = zo(), h = lt(), g = Xt(), C = x(
9164
9164
  (S) => {
9165
- u || g.current || S.button !== 0 || (S.preventDefault(), Je({ triggerRef: f, openingRef: g, setOpen: () => d(!0) }));
9165
+ u || g.current || S.button !== 0 || (S.preventDefault(), Qe({ triggerRef: f, openingRef: g, setOpen: () => d(!0) }));
9166
9166
  },
9167
9167
  [u, g, f, d]
9168
9168
  ), b = x(
@@ -9172,7 +9172,7 @@ const gp = k(
9172
9172
  [r, u, d]
9173
9173
  ), v = x(
9174
9174
  (S) => {
9175
- a == null || a(S), !S.defaultPrevented && (S.key === "Enter" || S.key === " ") && (S.preventDefault(), u ? d(!1) : Je({ triggerRef: f, openingRef: g, setOpen: () => d(!0) }));
9175
+ a == null || a(S), !S.defaultPrevented && (S.key === "Enter" || S.key === " ") && (S.preventDefault(), u ? d(!1) : Qe({ triggerRef: f, openingRef: g, setOpen: () => d(!0) }));
9176
9176
  },
9177
9177
  [a, u, g, d, f]
9178
9178
  );
@@ -9602,7 +9602,7 @@ function IR(e = we.hidePassword) {
9602
9602
  function yR(e = we.removeFile) {
9603
9603
  return e;
9604
9604
  }
9605
- const ER = "bg-primary-tint", xR = "flex items-stretch overflow-hidden", RR = "relative", NR = `min-w-0 flex-1 bg-transparent text-foreground outline-none placeholder:text-muted ${et}`, wR = `absolute inset-0 cursor-pointer opacity-0 disabled:cursor-not-allowed ${et}`, DR = "pointer-events-none size-12 shrink-0 text-muted", PR = "flex size-9 shrink-0 items-center justify-center rounded-base bg-surface text-muted border-token", OR = "icon-mid shrink-0", BR = "icon-mid shrink-0", vu = "shrink-0", kR = "pointer-events-none max-w-[18rem] text-center text-muted", Au = "size-9 shrink-0 rounded-base border-token object-cover", FR = "flex min-w-0 items-center gap-base", MR = "flex h-full min-w-0 flex-1 items-center gap-base", _u = "min-w-0 flex-1 truncate", HR = "relative z-10 flex size-8 shrink-0 items-center justify-center rounded-base text-danger outline-none", GR = "flex self-stretch shrink-0 items-stretch border-l-token", VR = "relative z-10 flex h-full items-center justify-center text-muted outline-none hover:text-foreground focus-ring-inset", zR = "border-r-token", UR = "border-l-token", KR = {
9605
+ const ER = "bg-primary-tint", xR = "flex items-stretch overflow-hidden", RR = "relative", NR = `min-w-0 flex-1 bg-transparent text-foreground outline-none placeholder:text-muted ${Je}`, wR = `absolute inset-0 cursor-pointer opacity-0 disabled:cursor-not-allowed ${Je}`, DR = "pointer-events-none size-12 shrink-0 text-muted", PR = "flex size-9 shrink-0 items-center justify-center rounded-base bg-surface text-muted border-token", OR = "icon-mid shrink-0", BR = "icon-mid shrink-0", vu = "shrink-0", kR = "pointer-events-none max-w-[18rem] text-center text-muted", Au = "size-9 shrink-0 rounded-base border-token object-cover", FR = "flex min-w-0 items-center gap-base", MR = "flex h-full min-w-0 flex-1 items-center gap-base", _u = "min-w-0 flex-1 truncate", HR = "relative z-10 flex size-8 shrink-0 items-center justify-center rounded-base text-danger outline-none", GR = "flex self-stretch shrink-0 items-stretch border-l-token", VR = "relative z-10 flex h-full items-center justify-center text-muted outline-none hover:text-foreground focus-ring-inset", zR = "border-r-token", UR = "border-l-token", KR = {
9606
9606
  small: Jt("small"),
9607
9607
  base: Jt("base"),
9608
9608
  mid: Jt("mid"),
@@ -10091,7 +10091,7 @@ const ii = k(
10091
10091
  NR,
10092
10092
  $R[z],
10093
10093
  P.control,
10094
- et
10094
+ Je
10095
10095
  ),
10096
10096
  ...L
10097
10097
  }
@@ -10413,7 +10413,7 @@ function HN({
10413
10413
  return m(
10414
10414
  dN,
10415
10415
  e,
10416
- et,
10416
+ Je,
10417
10417
  t ? fN : mN,
10418
10418
  n
10419
10419
  );
@@ -10703,7 +10703,7 @@ function XN({
10703
10703
  classNames: T,
10704
10704
  forwardedRef: _
10705
10705
  }) {
10706
- const A = je(), I = Tn(), y = xt(), E = I != null && I.segmented ? void 0 : S ?? (y == null ? void 0 : y.segment), w = t ?? ((y == null ? void 0 : y.variant) != null ? ja(y.variant) : "default"), D = Te(), R = C ?? D, [N, P] = Xe({
10706
+ const A = je(), I = Tn(), y = xt(), E = I != null && I.segmented ? void 0 : S ?? (y == null ? void 0 : y.segment), w = t ?? ((y == null ? void 0 : y.variant) != null ? ja(y.variant) : "default"), D = Te(), R = C ?? D, [N, P] = We({
10707
10707
  value: r,
10708
10708
  defaultValue: o,
10709
10709
  onChange: s
@@ -11260,7 +11260,7 @@ const mi = k(
11260
11260
  const Ce = _.indexOf(T);
11261
11261
  A(Ce >= 0 ? T : _[0] ?? null), requestAnimationFrame(() => Fe(L.current));
11262
11262
  }, [_, A, T, L]), J = x(() => {
11263
- Je({
11263
+ Qe({
11264
11264
  triggerRef: v,
11265
11265
  disabled: g,
11266
11266
  setOpen: h,
@@ -11344,7 +11344,7 @@ const pi = k(
11344
11344
  const U = T.indexOf(h);
11345
11345
  b(U >= 0 ? h : T[0] ?? null), requestAnimationFrame(() => Fe(v.current));
11346
11346
  }, [T, b, h, v]), H = x(() => {
11347
- Je({
11347
+ Qe({
11348
11348
  triggerRef: S,
11349
11349
  disabled: _,
11350
11350
  setOpen: p,
@@ -11690,7 +11690,7 @@ function Rw({
11690
11690
  M || Y(q), p == null || p(q), _ && T.setValue(q);
11691
11691
  },
11692
11692
  [_, T, M, p]
11693
- ), [Z, pe] = Xe({
11693
+ ), [Z, pe] = We({
11694
11694
  value: h,
11695
11695
  defaultValue: g,
11696
11696
  onChange: C
@@ -11849,7 +11849,7 @@ function hi(e) {
11849
11849
  const t = [];
11850
11850
  return fe.forEach(e, (n) => {
11851
11851
  if (re(n)) {
11852
- if (n.type === at) {
11852
+ if (n.type === st) {
11853
11853
  const { children: o } = n.props;
11854
11854
  t.push(...hi(o));
11855
11855
  return;
@@ -11925,12 +11925,12 @@ const Bp = k(
11925
11925
  ...c,
11926
11926
  children: d.map((g, C) => {
11927
11927
  if (!Dp(g))
11928
- return /* @__PURE__ */ i(at, { children: g }, g.key ?? `bg-wrap-${C}`);
11928
+ return /* @__PURE__ */ i(st, { children: g }, g.key ?? `bg-wrap-${C}`);
11929
11929
  if (s)
11930
- return /* @__PURE__ */ i(at, { children: g }, g.key ?? `bg-item-${C}`);
11930
+ return /* @__PURE__ */ i(st, { children: g }, g.key ?? `bg-item-${C}`);
11931
11931
  h += 1;
11932
11932
  const b = Pp(h, f), v = Op(r, b);
11933
- return /* @__PURE__ */ X(at, { children: [
11933
+ return /* @__PURE__ */ X(st, { children: [
11934
11934
  /* @__PURE__ */ i(
11935
11935
  Nd,
11936
11936
  {
@@ -12032,7 +12032,7 @@ function yu(e, t, n = Be() || !He("enableToggleButtonFill")) {
12032
12032
  return;
12033
12033
  }
12034
12034
  const o = Ks();
12035
- t ? (We(e, !0), te.fromTo(
12035
+ t ? (Ye(e, !0), te.fromTo(
12036
12036
  e,
12037
12037
  { scale: 0, autoAlpha: 0 },
12038
12038
  {
@@ -12040,14 +12040,14 @@ function yu(e, t, n = Be() || !He("enableToggleButtonFill")) {
12040
12040
  autoAlpha: 1,
12041
12041
  ...o,
12042
12042
  overwrite: "auto",
12043
- onComplete: Qe(e)
12043
+ onComplete: at(e)
12044
12044
  }
12045
- )) : (We(e, !0), te.to(e, {
12045
+ )) : (Ye(e, !0), te.to(e, {
12046
12046
  scale: 0,
12047
12047
  autoAlpha: 0,
12048
12048
  ...o,
12049
12049
  overwrite: "auto",
12050
- onComplete: Qe(e)
12050
+ onComplete: at(e)
12051
12051
  }));
12052
12052
  }
12053
12053
  function Vp(e, t, n) {
@@ -12438,7 +12438,7 @@ function p0({
12438
12438
  onClick: h,
12439
12439
  onFocus: g
12440
12440
  }) {
12441
- const C = Bw(), b = xt(), v = t ?? (b == null ? void 0 : b.segment), S = C != null && e != null, L = (C == null ? void 0 : C.type) === "single", T = c ?? (C == null ? void 0 : C.size) ?? (b == null ? void 0 : b.buttonSize) ?? "base", _ = a ?? (C == null ? void 0 : C.variant) ?? "default", A = u || !!(C != null && C.disabled), [I, y] = Xe({
12441
+ const C = Bw(), b = xt(), v = t ?? (b == null ? void 0 : b.segment), S = C != null && e != null, L = (C == null ? void 0 : C.type) === "single", T = c ?? (C == null ? void 0 : C.size) ?? (b == null ? void 0 : b.buttonSize) ?? "base", _ = a ?? (C == null ? void 0 : C.variant) ?? "default", A = u || !!(C != null && C.disabled), [I, y] = We({
12442
12442
  value: S ? void 0 : n,
12443
12443
  defaultValue: !!(!S && o)
12444
12444
  }), E = S ? C.isSelected(e) : I, w = S ? n !== void 0 ? !!n : E : n !== void 0 ? !!n : I, D = c0(v, T), R = O(() => Gw(p), [p]), N = R ? void 0 : d, P = x(
@@ -12824,12 +12824,12 @@ const Xp = k(
12824
12824
  ...b,
12825
12825
  children: v.map((A, I) => {
12826
12826
  if (!Li(A))
12827
- return /* @__PURE__ */ i(at, { children: A }, A.key ?? `tbg-wrap-${I}`);
12827
+ return /* @__PURE__ */ i(st, { children: A }, A.key ?? `tbg-wrap-${I}`);
12828
12828
  if (l)
12829
- return /* @__PURE__ */ i(at, { children: A }, A.key ?? `tbg-item-${I}`);
12829
+ return /* @__PURE__ */ i(st, { children: A }, A.key ?? `tbg-item-${I}`);
12830
12830
  _ += 1;
12831
12831
  const y = Pp(_, S), E = Op(a, y);
12832
- return /* @__PURE__ */ X(at, { children: [
12832
+ return /* @__PURE__ */ X(st, { children: [
12833
12833
  /* @__PURE__ */ i(Nd, { segment: E, buttonSize: u, children: A }),
12834
12834
  d !== "gloss" && y !== "last" && y !== "only" ? /* @__PURE__ */ i(_0, { orientation: a }) : null
12835
12835
  ] }, A.key ?? `tbg-seg-${I}`);
@@ -12976,7 +12976,7 @@ function Jp(e, t) {
12976
12976
  size: o.size ?? t
12977
12977
  });
12978
12978
  }
12979
- if (n.type === at) {
12979
+ if (n.type === st) {
12980
12980
  const o = n;
12981
12981
  return Ge(
12982
12982
  o,
@@ -13492,12 +13492,12 @@ const dg = k(
13492
13492
  [c]
13493
13493
  ), C = x(
13494
13494
  (L) => {
13495
- u || h.current || L.button !== 0 || (L.preventDefault(), Fe(p.current), Je({ triggerRef: p, openingRef: h, setOpen: () => d(!0) }));
13495
+ u || h.current || L.button !== 0 || (L.preventDefault(), Fe(p.current), Qe({ triggerRef: p, openingRef: h, setOpen: () => d(!0) }));
13496
13496
  },
13497
13497
  [u, h, d]
13498
13498
  ), b = x(
13499
13499
  (L) => {
13500
- a == null || a(L), !(L.defaultPrevented || u || h.current) && (L.key !== "Enter" && L.key !== " " || (L.preventDefault(), Je({ triggerRef: p, openingRef: h, setOpen: () => d(!0) })));
13500
+ a == null || a(L), !(L.defaultPrevented || u || h.current) && (L.key !== "Enter" && L.key !== " " || (L.preventDefault(), Qe({ triggerRef: p, openingRef: h, setOpen: () => d(!0) })));
13501
13501
  },
13502
13502
  [a, u, h, d]
13503
13503
  ), v = x(
@@ -13694,7 +13694,7 @@ function BD({
13694
13694
  closeOnEscape: a = !0,
13695
13695
  portalContainer: l
13696
13696
  }) {
13697
- const [c, u] = Xe({
13697
+ const [c, u] = We({
13698
13698
  value: e,
13699
13699
  defaultValue: t,
13700
13700
  onChange: n
@@ -13818,7 +13818,7 @@ function gg(e, t) {
13818
13818
  size: o.size ?? t
13819
13819
  });
13820
13820
  }
13821
- if (n.type === at) {
13821
+ if (n.type === st) {
13822
13822
  const o = n;
13823
13823
  return Ge(
13824
13824
  o,
@@ -14008,12 +14008,12 @@ const Lg = k(
14008
14008
  [c]
14009
14009
  ), C = x(
14010
14010
  (S) => {
14011
- u || h.current || S.button !== 0 || (S.preventDefault(), Fe(p.current), Je({ triggerRef: p, openingRef: h, setOpen: () => d(!0) }));
14011
+ u || h.current || S.button !== 0 || (S.preventDefault(), Fe(p.current), Qe({ triggerRef: p, openingRef: h, setOpen: () => d(!0) }));
14012
14012
  },
14013
14013
  [u, h, p, d]
14014
14014
  ), b = x(
14015
14015
  (S) => {
14016
- a == null || a(S), !(S.defaultPrevented || u || h.current) && (S.key !== "Enter" && S.key !== " " || (S.preventDefault(), Je({ triggerRef: p, openingRef: h, setOpen: () => d(!0) })));
14016
+ a == null || a(S), !(S.defaultPrevented || u || h.current) && (S.key !== "Enter" && S.key !== " " || (S.preventDefault(), Qe({ triggerRef: p, openingRef: h, setOpen: () => d(!0) })));
14017
14017
  },
14018
14018
  [a, u, h, d, p]
14019
14019
  ), v = x(
@@ -14228,7 +14228,7 @@ function VD({
14228
14228
  size: o = "base",
14229
14229
  portalContainer: r
14230
14230
  }) {
14231
- const [s, a] = Xe({
14231
+ const [s, a] = We({
14232
14232
  value: e,
14233
14233
  defaultValue: t,
14234
14234
  onChange: n
@@ -14921,13 +14921,13 @@ function HP({
14921
14921
  _,
14922
14922
  { opacity: 0 },
14923
14923
  { opacity: v, ...Oe(), overwrite: "auto" }
14924
- ) : (We(_, !0), te.to(_, {
14924
+ ) : (Ye(_, !0), te.to(_, {
14925
14925
  y: b,
14926
14926
  scale: C,
14927
14927
  autoAlpha: v,
14928
14928
  ...Oe(),
14929
14929
  overwrite: "auto",
14930
- onComplete: Qe(_)
14930
+ onComplete: at(_)
14931
14931
  }));
14932
14932
  }, [e.variant, b, h, v, C]), ae(() => {
14933
14933
  const _ = d.current;
@@ -15460,7 +15460,7 @@ function Vg(e, t) {
15460
15460
  size: o.size ?? t
15461
15461
  });
15462
15462
  }
15463
- if (n.type === at) {
15463
+ if (n.type === st) {
15464
15464
  const o = n;
15465
15465
  return Ge(
15466
15466
  o,
@@ -16022,12 +16022,12 @@ const Jg = k(
16022
16022
  [c]
16023
16023
  ), C = x(
16024
16024
  (S) => {
16025
- u || h.current || S.button !== 0 || (S.preventDefault(), Fe(p.current), Je({ triggerRef: p, openingRef: h, setOpen: () => d(!0) }));
16025
+ u || h.current || S.button !== 0 || (S.preventDefault(), Fe(p.current), Qe({ triggerRef: p, openingRef: h, setOpen: () => d(!0) }));
16026
16026
  },
16027
16027
  [u, h, p, d]
16028
16028
  ), b = x(
16029
16029
  (S) => {
16030
- a == null || a(S), !(S.defaultPrevented || u || h.current) && (S.key !== "Enter" && S.key !== " " || (S.preventDefault(), Je({ triggerRef: p, openingRef: h, setOpen: () => d(!0) })));
16030
+ a == null || a(S), !(S.defaultPrevented || u || h.current) && (S.key !== "Enter" && S.key !== " " || (S.preventDefault(), Qe({ triggerRef: p, openingRef: h, setOpen: () => d(!0) })));
16031
16031
  },
16032
16032
  [a, u, h, d, p]
16033
16033
  ), v = x(
@@ -16258,7 +16258,7 @@ function jO({
16258
16258
  size: r = "base",
16259
16259
  portalContainer: s
16260
16260
  }) {
16261
- const [a, l] = Xe({
16261
+ const [a, l] = We({
16262
16262
  value: e,
16263
16263
  defaultValue: t,
16264
16264
  onChange: n
@@ -16570,7 +16570,7 @@ function fB(e) {
16570
16570
  }
16571
16571
  t.push(r);
16572
16572
  }), {
16573
- textChildren: t.length === 1 ? t[0] : Yn(at, null, ...t),
16573
+ textChildren: t.length === 1 ? t[0] : Yn(st, null, ...t),
16574
16574
  startIcon: n,
16575
16575
  endIcon: o
16576
16576
  };
@@ -16815,7 +16815,7 @@ const AB = {
16815
16815
  base: "min-h-control-base",
16816
16816
  mid: "min-h-control-mid",
16817
16817
  large: "min-h-control-large"
16818
- }, _B = "flex flex-col items-stretch", LB = `box-border block min-h-0 w-full flex-1 resize-none overflow-auto bg-transparent font-inherit text-foreground outline-none placeholder:text-muted appearance-none [field-sizing:content] ${et}`, TB = "absolute bottom-[length:calc(var(--border-width)*2)] right-0 block h-[length:var(--border-width)] w-[length:calc(var(--border-width)*9)] origin-bottom-right rotate-[135deg] bg-muted-foreground", IB = "absolute bottom-[length:calc(var(--border-width)*6)] right-0 block h-[length:var(--border-width)] w-[length:calc(var(--border-width)*6)] origin-bottom-right rotate-[135deg] bg-muted-foreground", yB = "relative block size-[length:var(--size-scale-small)] shrink-0", EB = "absolute bottom-0 right-0 z-[2] m-0 flex touch-none select-none appearance-none border-0 bg-transparent items-end justify-end p-xsmall outline-none focus-ring-inset", xB = "cursor-not-allowed opacity-45", RB = "cursor-ns-resize";
16818
+ }, _B = "flex flex-col items-stretch", LB = `box-border block min-h-0 w-full flex-1 resize-none overflow-auto bg-transparent font-inherit text-foreground outline-none placeholder:text-muted appearance-none [field-sizing:content] ${Je}`, TB = "absolute bottom-[length:calc(var(--border-width)*2)] right-0 block h-[length:var(--border-width)] w-[length:calc(var(--border-width)*9)] origin-bottom-right rotate-[135deg] bg-muted-foreground", IB = "absolute bottom-[length:calc(var(--border-width)*6)] right-0 block h-[length:var(--border-width)] w-[length:calc(var(--border-width)*6)] origin-bottom-right rotate-[135deg] bg-muted-foreground", yB = "relative block size-[length:var(--size-scale-small)] shrink-0", EB = "absolute bottom-0 right-0 z-[2] m-0 flex touch-none select-none appearance-none border-0 bg-transparent items-end justify-end p-xsmall outline-none focus-ring-inset", xB = "cursor-not-allowed opacity-45", RB = "cursor-ns-resize";
16819
16819
  function NB(e) {
16820
16820
  return ie[e].controlPad;
16821
16821
  }
@@ -16861,7 +16861,7 @@ function PB({
16861
16861
  t && "pr-large",
16862
16862
  NB(e),
16863
16863
  n,
16864
- et
16864
+ Je
16865
16865
  );
16866
16866
  }
16867
16867
  function OB({
@@ -17326,7 +17326,7 @@ function KB(e) {
17326
17326
  function $B(e) {
17327
17327
  return !/\bflex-col\b/.test(e ?? "");
17328
17328
  }
17329
- const Xo = Ye, WB = "absolute m-[-1px] h-px w-px overflow-hidden border-0 p-0 opacity-0 [clip:rect(0,0,0,0)]", XB = "absolute inset-0 z-[2] m-0 h-full w-full cursor-pointer opacity-0", YB = "relative inline-flex shrink-0 items-center justify-center", jB = "relative inline-flex items-center justify-center has-focus-ring";
17329
+ const Xo = Xe, WB = "absolute m-[-1px] h-px w-px overflow-hidden border-0 p-0 opacity-0 [clip:rect(0,0,0,0)]", XB = "absolute inset-0 z-[2] m-0 h-full w-full cursor-pointer opacity-0", YB = "relative inline-flex shrink-0 items-center justify-center", jB = "relative inline-flex items-center justify-center has-focus-ring";
17330
17330
  function qB(e) {
17331
17331
  return m(jB, bt[e]);
17332
17332
  }
@@ -17684,7 +17684,7 @@ function Ck({
17684
17684
  disabled: r,
17685
17685
  readOnly: C,
17686
17686
  type: "checkbox"
17687
- }), R = D.bound && y == null, N = Te(), P = fk(c, N), G = mk(P), H = pk(P), $ = gk(P), V = s !== void 0, M = w ? y.selectedValue === E : void 0, z = R ? !!D.checked : void 0, Y = V ? s : z !== void 0 ? z : M !== void 0 ? M : void 0, [U, se, Z] = Xe({
17687
+ }), R = D.bound && y == null, N = Te(), P = fk(c, N), G = mk(P), H = pk(P), $ = gk(P), V = s !== void 0, M = w ? y.selectedValue === E : void 0, z = R ? !!D.checked : void 0, Y = V ? s : z !== void 0 ? z : M !== void 0 ? M : void 0, [U, se, Z] = We({
17688
17688
  value: Y,
17689
17689
  defaultValue: !!(!(w || V || R) && a)
17690
17690
  }), pe = !!(r ?? (y == null ? void 0 : y.disabled) ?? D.disabled), { isCompound: ue, hasCompoundLabel: ce, hasCompoundHint: _e, hasCompoundError: K } = O(() => {
@@ -18148,7 +18148,7 @@ function Ok({
18148
18148
  function Bk(e) {
18149
18149
  return !/\bflex-col\b/.test(e ?? "");
18150
18150
  }
18151
- const Yo = Ye, kk = "absolute m-[-1px] h-px w-px overflow-hidden border-0 p-0 opacity-0 [clip:rect(0,0,0,0)]", Fk = "relative inline-flex shrink-0 items-center justify-center has-focus-ring";
18151
+ const Yo = Xe, kk = "absolute m-[-1px] h-px w-px overflow-hidden border-0 p-0 opacity-0 [clip:rect(0,0,0,0)]", Fk = "relative inline-flex shrink-0 items-center justify-center has-focus-ring";
18152
18152
  function Mk(e) {
18153
18153
  return m(Fk, bt[e]);
18154
18154
  }
@@ -18469,7 +18469,7 @@ function Jk({
18469
18469
  hint: S,
18470
18470
  error: L
18471
18471
  }, T, _, A) {
18472
- const I = VT(), y = u != null ? String(u) : void 0, E = I != null && y != null, w = Te(), D = Nk(l, w), R = wk(D), N = Dk(D), P = r !== void 0, G = E ? I.selectedValue === y : void 0, H = P ? r : G !== void 0 ? G : void 0, [$, V, M] = Xe({
18472
+ const I = VT(), y = u != null ? String(u) : void 0, E = I != null && y != null, w = Te(), D = Nk(l, w), R = wk(D), N = Dk(D), P = r !== void 0, G = E ? I.selectedValue === y : void 0, H = P ? r : G !== void 0 ? G : void 0, [$, V, M] = We({
18473
18473
  value: H,
18474
18474
  defaultValue: !!(!(E || P) && s)
18475
18475
  }), z = c ?? (I == null ? void 0 : I.name), Y = !!(o ?? (I == null ? void 0 : I.disabled)), { isCompound: U, hasCompoundLabel: se, hasCompoundHint: Z, hasCompoundError: pe } = O(() => {
@@ -18781,30 +18781,30 @@ const ur = {
18781
18781
  small: {
18782
18782
  track: ur.small,
18783
18783
  travelPx: ct("small"),
18784
- title: Ye.small.title,
18785
- desc: Ye.small.desc,
18786
- gap: Ye.small.gridGap
18784
+ title: Xe.small.title,
18785
+ desc: Xe.small.desc,
18786
+ gap: Xe.small.gridGap
18787
18787
  },
18788
18788
  base: {
18789
18789
  track: ur.base,
18790
18790
  travelPx: ct("base"),
18791
- title: Ye.base.title,
18792
- desc: Ye.base.desc,
18793
- gap: Ye.base.gridGap
18791
+ title: Xe.base.title,
18792
+ desc: Xe.base.desc,
18793
+ gap: Xe.base.gridGap
18794
18794
  },
18795
18795
  mid: {
18796
18796
  track: ur.mid,
18797
18797
  travelPx: ct("mid"),
18798
- title: Ye.mid.title,
18799
- desc: Ye.mid.desc,
18800
- gap: Ye.mid.gridGap
18798
+ title: Xe.mid.title,
18799
+ desc: Xe.mid.desc,
18800
+ gap: Xe.mid.gridGap
18801
18801
  },
18802
18802
  large: {
18803
18803
  track: ur.large,
18804
18804
  travelPx: ct("large"),
18805
- title: Ye.large.title,
18806
- desc: Ye.large.desc,
18807
- gap: Ye.large.gridGap
18805
+ title: Xe.large.title,
18806
+ desc: Xe.large.desc,
18807
+ gap: Xe.large.gridGap
18808
18808
  }
18809
18809
  };
18810
18810
  function cF({
@@ -18844,11 +18844,12 @@ function uF({
18844
18844
  b.current = !1, j(T), T.style.transform = `translate(${_}px, 0)`;
18845
18845
  return;
18846
18846
  }
18847
- j(T), We(T, !0), te.to(T, {
18847
+ j(T), te.to(T, {
18848
18848
  x: _,
18849
18849
  ...dv(),
18850
18850
  overwrite: "auto",
18851
- onComplete: Qe(T)
18851
+ // 2D path — avoid will-change / force3D layer snap on fractional sizes.
18852
+ force3D: !1
18852
18853
  });
18853
18854
  },
18854
18855
  [p, l]
@@ -18904,20 +18905,22 @@ function uF({
18904
18905
  autoAlpha: 0,
18905
18906
  scale: 0.88,
18906
18907
  ...Oe(),
18907
- overwrite: "auto"
18908
+ overwrite: "auto",
18909
+ force3D: !1
18908
18910
  }) : te.fromTo(
18909
18911
  u.current,
18910
18912
  { autoAlpha: 0, scale: 0.88 },
18911
- { autoAlpha: 1, scale: 1, ...Oe(), overwrite: "auto" }
18913
+ { autoAlpha: 1, scale: 1, ...Oe(), overwrite: "auto", force3D: !1 }
18912
18914
  )), d.current && (j(d.current), e ? te.fromTo(
18913
18915
  d.current,
18914
18916
  { autoAlpha: 0, scale: 0.88 },
18915
- { autoAlpha: 1, scale: 1, ...Oe(), overwrite: "auto" }
18917
+ { autoAlpha: 1, scale: 1, ...Oe(), overwrite: "auto", force3D: !1 }
18916
18918
  ) : te.to(d.current, {
18917
18919
  autoAlpha: 0,
18918
18920
  scale: 0.88,
18919
18921
  ...Oe(),
18920
- overwrite: "auto"
18922
+ overwrite: "auto",
18923
+ force3D: !1
18921
18924
  }));
18922
18925
  }
18923
18926
  }, [e, u, d, p]), ae(() => {
@@ -19682,10 +19685,10 @@ function yM(e, t) {
19682
19685
  return ce != null && ce.length ? yF(he, ce) : IF(he, s, a, l);
19683
19686
  },
19684
19687
  [ce, s, a, l]
19685
- ), [K, J] = Xe({
19688
+ ), [K, J] = We({
19686
19689
  value: S ? void 0 : e.value,
19687
19690
  defaultValue: (S ? void 0 : e.defaultValue) ?? s
19688
- }), [ee, Ce] = Xe({
19691
+ }), [ee, Ce] = We({
19689
19692
  value: S ? e.value : void 0,
19690
19693
  defaultValue: (S ? e.defaultValue : void 0) ?? [s, a]
19691
19694
  }), ne = S ? void 0 : e.onValueChange, q = S ? e.onValueChange : void 0, de = x(
@@ -19698,16 +19701,16 @@ function yM(e, t) {
19698
19701
  (ge) => {
19699
19702
  let [he, Re] = ge.map(_e);
19700
19703
  he > Re && ([he, Re] = [Re, he]);
19701
- const [Ke, nt] = ee;
19702
- he === Ke && Re === nt || (Ce([he, Re]), q == null || q([he, Re]));
19704
+ const [Ke, tt] = ee;
19705
+ he === Ke && Re === tt || (Ce([he, Re]), q == null || q([he, Re]));
19703
19706
  },
19704
19707
  [q, ee, Ce, _e]
19705
19708
  ), ke = x(
19706
19709
  (ge = K, he = ee) => {
19707
19710
  const Re = $.current, Ke = V.current;
19708
19711
  if (!Re || !Ke) return;
19709
- const nt = Re.getBoundingClientRect(), { trackSpanPx: kt, thumbSpanPx: it } = hr(
19710
- nt,
19712
+ const tt = Re.getBoundingClientRect(), { trackSpanPx: kt, thumbSpanPx: it } = hr(
19713
+ tt,
19711
19714
  R
19712
19715
  );
19713
19716
  z((Mt) => Mt === kt ? Mt : kt), it > 0 && se((Mt) => Mt === it ? Mt : it);
@@ -19736,10 +19739,10 @@ function yM(e, t) {
19736
19739
  (ge, he, Re) => {
19737
19740
  const Ke = $.current;
19738
19741
  if (!Ke || h) return;
19739
- const nt = Ke.getBoundingClientRect(), { thumbSpanPx: kt } = hr(nt, R), it = Ia(
19742
+ const tt = Ke.getBoundingClientRect(), { thumbSpanPx: kt } = hr(tt, R), it = Ia(
19740
19743
  ge,
19741
19744
  he,
19742
- nt,
19745
+ tt,
19743
19746
  R,
19744
19747
  s,
19745
19748
  a,
@@ -19777,14 +19780,14 @@ function yM(e, t) {
19777
19780
  (ge, he) => {
19778
19781
  const Re = $.current;
19779
19782
  if (!Re) return "start";
19780
- const Ke = Re.getBoundingClientRect(), { thumbSpanPx: nt } = hr(Ke, R), kt = Ia(
19783
+ const Ke = Re.getBoundingClientRect(), { thumbSpanPx: tt } = hr(Ke, R), kt = Ia(
19781
19784
  ge,
19782
19785
  he,
19783
19786
  Ke,
19784
19787
  R,
19785
19788
  s,
19786
19789
  a,
19787
- nt > 0 ? nt : Y
19790
+ tt > 0 ? tt : Y
19788
19791
  ), [it, Ft] = ee;
19789
19792
  return Math.abs(kt - it) <= Math.abs(kt - Ft) ? "start" : "end";
19790
19793
  },
@@ -19840,8 +19843,8 @@ function yM(e, t) {
19840
19843
  }
19841
19844
  if (Re === "mark-next" || Re === "mark-prev") {
19842
19845
  if (!(ce != null && ce.length)) return;
19843
- const nt = xF(Ke, ce, Re === "mark-next" ? 1 : -1);
19844
- S ? be(ge === "start" ? [nt, ee[1]] : [ee[0], nt]) : de(nt);
19846
+ const tt = xF(Ke, ce, Re === "mark-next" ? 1 : -1);
19847
+ S ? be(ge === "start" ? [tt, ee[1]] : [ee[0], tt]) : de(tt);
19845
19848
  return;
19846
19849
  }
19847
19850
  typeof Re == "number" && Re !== 0 && Pe(ge, Re);
@@ -20521,7 +20524,7 @@ const nc = k(
20521
20524
  const R = fF(), N = Dt(), P = O(
20522
20525
  () => ({ ...N, ...c }),
20523
20526
  [c, N]
20524
- ), G = Te(), H = gF(h, G, R == null ? void 0 : R.switchId), $ = (R == null ? void 0 : R.hintId) ?? `${H}-hint`, V = (R == null ? void 0 : R.errorId) ?? `${H}-error`, M = t ?? (R == null ? void 0 : R.size) ?? "base", [z, Y, U] = Xe({
20527
+ ), G = Te(), H = gF(h, G, R == null ? void 0 : R.switchId), $ = (R == null ? void 0 : R.hintId) ?? `${H}-hint`, V = (R == null ? void 0 : R.errorId) ?? `${H}-error`, M = t ?? (R == null ? void 0 : R.size) ?? "base", [z, Y, U] = We({
20525
20528
  value: d,
20526
20529
  defaultValue: !!f
20527
20530
  }), [se, Z] = Q(0), pe = x(
@@ -21162,7 +21165,7 @@ function yH(e, t, n, o, r, s, a) {
21162
21165
  return;
21163
21166
  }
21164
21167
  const S = v.left - g.left, L = v.top - g.top, T = g.width > 0 ? v.width / g.width : 1, _ = g.height > 0 ? v.height / g.height : 1;
21165
- We(p, !0), te.fromTo(
21168
+ Ye(p, !0), te.fromTo(
21166
21169
  p,
21167
21170
  { x: S, y: L, scaleX: T, scaleY: _, transformOrigin: "0 0" },
21168
21171
  {
@@ -21172,7 +21175,7 @@ function yH(e, t, n, o, r, s, a) {
21172
21175
  scaleY: 1,
21173
21176
  ...Oe(),
21174
21177
  overwrite: "auto",
21175
- onComplete: Qe(p)
21178
+ onComplete: at(p)
21176
21179
  }
21177
21180
  );
21178
21181
  }, [
@@ -21461,7 +21464,7 @@ function xH({
21461
21464
  variant: s = "default",
21462
21465
  disabled: a = !1
21463
21466
  }) {
21464
- const l = Te(), [c, u] = Xe({
21467
+ const l = Te(), [c, u] = We({
21465
21468
  value: e,
21466
21469
  defaultValue: t ?? ""
21467
21470
  }), d = B(null);
@@ -22164,12 +22167,12 @@ function mG({
22164
22167
  r.current = !1, d();
22165
22168
  return;
22166
22169
  }
22167
- r.current = !1, j(a), We(a, !0), te.to(a, {
22170
+ r.current = !1, j(a), Ye(a, !0), te.to(a, {
22168
22171
  ...u,
22169
22172
  transformOrigin: c,
22170
22173
  ...fv(),
22171
22174
  overwrite: "auto",
22172
- onComplete: Qe(a)
22175
+ onComplete: at(a)
22173
22176
  });
22174
22177
  }, [e, n, t, s]), ae(() => {
22175
22178
  if (!e) return;
@@ -22181,7 +22184,7 @@ function mG({
22181
22184
  }
22182
22185
  const c = () => {
22183
22186
  const d = n ? l.offsetWidth : l.offsetHeight, f = n ? a.offsetWidth : a.offsetHeight;
22184
- d <= 0 || f <= 0 || (j(a), We(a, !0), te.fromTo(
22187
+ d <= 0 || f <= 0 || (j(a), Ye(a, !0), te.fromTo(
22185
22188
  a,
22186
22189
  n ? { x: -f } : { y: f },
22187
22190
  {
@@ -24047,12 +24050,12 @@ function TV(e) {
24047
24050
  r.style.transform = "";
24048
24051
  return;
24049
24052
  }
24050
- We(r, !0), te.to(r, {
24053
+ Ye(r, !0), te.to(r, {
24051
24054
  y: 0,
24052
24055
  scale: 1,
24053
24056
  ...Oe(),
24054
24057
  overwrite: "auto",
24055
- onComplete: Qe(r)
24058
+ onComplete: at(r)
24056
24059
  });
24057
24060
  }
24058
24061
  }, [t, e]), o = x(() => {
@@ -24062,12 +24065,12 @@ function TV(e) {
24062
24065
  r.style.transform = `translateY(${Wu}px) scale(${Xu})`;
24063
24066
  return;
24064
24067
  }
24065
- We(r, !0), te.to(r, {
24068
+ Ye(r, !0), te.to(r, {
24066
24069
  y: Wu,
24067
24070
  scale: Xu,
24068
24071
  ...Oe(),
24069
24072
  overwrite: "auto",
24070
- onComplete: Qe(r)
24073
+ onComplete: at(r)
24071
24074
  });
24072
24075
  }
24073
24076
  }, [t, e]);
@@ -24931,18 +24934,18 @@ function xz(e, { page: t, totalPages: n, siblingCount: o, children: r }) {
24931
24934
  const L = g.get(b);
24932
24935
  if (L) {
24933
24936
  const T = L.x - S.x;
24934
- Math.abs(T) > 0.5 && (j(C), We(C, !0), te.fromTo(
24937
+ Math.abs(T) > 0.5 && (j(C), Ye(C, !0), te.fromTo(
24935
24938
  C,
24936
24939
  { x: T },
24937
24940
  {
24938
24941
  x: 0,
24939
24942
  ...Oe(),
24940
24943
  overwrite: "auto",
24941
- onComplete: Qe(C)
24944
+ onComplete: at(C)
24942
24945
  }
24943
24946
  ));
24944
24947
  } else
24945
- j(C), We(C, !0), te.fromTo(
24948
+ j(C), Ye(C, !0), te.fromTo(
24946
24949
  C,
24947
24950
  { autoAlpha: 0, scale: 0.82 },
24948
24951
  {
@@ -24950,7 +24953,7 @@ function xz(e, { page: t, totalPages: n, siblingCount: o, children: r }) {
24950
24953
  scale: 1,
24951
24954
  ...Oe(),
24952
24955
  overwrite: "auto",
24953
- onComplete: Qe(C)
24956
+ onComplete: at(C)
24954
24957
  }
24955
24958
  );
24956
24959
  }
@@ -25444,7 +25447,7 @@ function t2({
25444
25447
  siblingCount: r = 1,
25445
25448
  "aria-label": s
25446
25449
  }) {
25447
- const a = an("pagination"), [l, c] = Xe({
25450
+ const a = an("pagination"), [l, c] = We({
25448
25451
  value: e,
25449
25452
  defaultValue: t,
25450
25453
  onChange: o ? (f) => {
@@ -25830,7 +25833,7 @@ function AS(e) {
25830
25833
  return e == null || e === !1 ? !1 : typeof e == "string" ? e.trim().length > 0 : typeof e == "number" ? !0 : Array.isArray(e) ? e.some(AS) : re(e);
25831
25834
  }
25832
25835
  function W2(e, t) {
25833
- return fe.map(fe.toArray(e), (n, o) => /* @__PURE__ */ i(at, { children: /* @__PURE__ */ i(z2, { node: n, size: t }) }, o));
25836
+ return fe.map(fe.toArray(e), (n, o) => /* @__PURE__ */ i(st, { children: /* @__PURE__ */ i(z2, { node: n, size: t }) }, o));
25834
25837
  }
25835
25838
  function X2(e) {
25836
25839
  return e.type.displayName === "BadgeRoot";
@@ -26364,7 +26367,7 @@ function ES({
26364
26367
  {
26365
26368
  className: cU(e, (t == null ? void 0 : t.group) ?? s.group),
26366
26369
  ...r,
26367
- children: a.map((l, c) => /* @__PURE__ */ X(at, { children: [
26370
+ children: a.map((l, c) => /* @__PURE__ */ X(st, { children: [
26368
26371
  c > 0 && n != null ? /* @__PURE__ */ i(
26369
26372
  le,
26370
26373
  {
@@ -26772,7 +26775,7 @@ function TK({
26772
26775
  f.current = e, ae(() => {
26773
26776
  t !== void 0 && c.setSelectedKeys(t);
26774
26777
  }, [t, c]);
26775
- const [p, h] = Xe({
26778
+ const [p, h] = We({
26776
26779
  value: r,
26777
26780
  defaultValue: s,
26778
26781
  onChange: a ? (v) => {
@@ -27217,7 +27220,7 @@ function NK({
27217
27220
  );
27218
27221
  return /* @__PURE__ */ i(Va.Provider, { value: o, children: t });
27219
27222
  }
27220
- function tt() {
27223
+ function et() {
27221
27224
  const e = F(US);
27222
27225
  if (!e) throw new Error("Calendar compound parts must be inside <Calendar>.");
27223
27226
  return e;
@@ -27246,7 +27249,7 @@ function kK(e) {
27246
27249
  function qu(e) {
27247
27250
  return `${e.getFullYear()}-${e.getMonth()}-${e.getDate()}`;
27248
27251
  }
27249
- function st(e, t) {
27252
+ function rt(e, t) {
27250
27253
  return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
27251
27254
  }
27252
27255
  function en(e) {
@@ -27309,7 +27312,7 @@ function zK({
27309
27312
  return S !== 0 && v.push(...Array(7 - S).fill(null)), v.map((L, T) => {
27310
27313
  if (L === null)
27311
27314
  return { key: `empty-${d}-${f}-${T}`, day: null };
27312
- const _ = new Date(d, f, L), A = `${d}-${f}-${L}`, I = st(_, u), y = s !== "range" && t.some(($) => st($, _)), E = s === "range" && !!n && st(_, n), w = s === "range" && !!g && st(_, g), D = s === "range" && C && b ? _ > C && _ < b : !1, R = s === "range" && !!n && !!g && st(n, g), N = !R && (D || w), P = !R && (D || E), G = !!l && _ < l || !!c && _ > c;
27315
+ const _ = new Date(d, f, L), A = `${d}-${f}-${L}`, I = rt(_, u), y = s !== "range" && t.some(($) => rt($, _)), E = s === "range" && !!n && rt(_, n), w = s === "range" && !!g && rt(_, g), D = s === "range" && C && b ? _ > C && _ < b : !1, R = s === "range" && !!n && !!g && rt(n, g), N = !R && (D || w), P = !R && (D || E), G = !!l && _ < l || !!c && _ > c;
27313
27316
  return {
27314
27317
  key: A,
27315
27318
  day: L,
@@ -27372,7 +27375,7 @@ function Mr(e, t) {
27372
27375
  function Zu(e, t, n) {
27373
27376
  return !!t && e < t || !!n && e > n;
27374
27377
  }
27375
- function ot(e, t, n) {
27378
+ function nt(e, t, n) {
27376
27379
  let o = en(e);
27377
27380
  return t && o < t && (o = en(t)), n && o > n && (o = en(n)), o;
27378
27381
  }
@@ -27384,12 +27387,12 @@ function WK({
27384
27387
  maxDate: r
27385
27388
  }) {
27386
27389
  const s = KS(e, t)[0];
27387
- if (s) return ot(s, o, r);
27390
+ if (s) return nt(s, o, r);
27388
27391
  if (e === "range") {
27389
27392
  const a = $S(e, null, t);
27390
- if (a) return ot(a, o, r);
27393
+ if (a) return nt(a, o, r);
27391
27394
  }
27392
- return ot(n, o, r);
27395
+ return nt(n, o, r);
27393
27396
  }
27394
27397
  function XK(e, t, n, o, r) {
27395
27398
  let s = null;
@@ -27425,12 +27428,12 @@ function XK(e, t, n, o, r) {
27425
27428
  default:
27426
27429
  return null;
27427
27430
  }
27428
- if (s = ot(s, o, r), Zu(s, o, r)) {
27431
+ if (s = nt(s, o, r), Zu(s, o, r)) {
27429
27432
  const a = t === "ArrowLeft" || t === "ArrowUp" || t === "Home" || t === "PageUp" ? -1 : 1;
27430
27433
  let l = s;
27431
27434
  for (let c = 0; c < 366; c++) {
27432
- if (l = hn(l, a), l = ot(l, o, r), !Zu(l, o, r)) return l;
27433
- if (a < 0 && o && st(l, o) || a > 0 && r && st(l, r))
27435
+ if (l = hn(l, a), l = nt(l, o, r), !Zu(l, o, r)) return l;
27436
+ if (a < 0 && o && rt(l, o) || a > 0 && r && rt(l, r))
27434
27437
  break;
27435
27438
  }
27436
27439
  return e;
@@ -27639,7 +27642,7 @@ function j$() {
27639
27642
  minDate: l,
27640
27643
  maxDate: c,
27641
27644
  today: u
27642
- } = tt();
27645
+ } = et();
27643
27646
  return O(
27644
27647
  () => zK({
27645
27648
  viewDate: e,
@@ -27668,21 +27671,21 @@ function j$() {
27668
27671
  );
27669
27672
  }
27670
27673
  function q$() {
27671
- const { viewDate: e, selectedDates: t, locale: n, today: o } = tt();
27674
+ const { viewDate: e, selectedDates: t, locale: n, today: o } = et();
27672
27675
  return O(
27673
27676
  () => UK(e, t, n, o),
27674
27677
  [e, t, n, o]
27675
27678
  );
27676
27679
  }
27677
27680
  function Z$() {
27678
- const { viewDate: e, selectedDates: t, today: n } = tt();
27681
+ const { viewDate: e, selectedDates: t, today: n } = et();
27679
27682
  return O(
27680
27683
  () => KK(e, t, n),
27681
27684
  [e, t, n]
27682
27685
  );
27683
27686
  }
27684
27687
  function Q$() {
27685
- const { view: e, viewDate: t, locale: n } = tt();
27688
+ const { view: e, viewDate: t, locale: n } = et();
27686
27689
  return O(
27687
27690
  () => MK(e, t, n),
27688
27691
  [e, t, n]
@@ -27724,7 +27727,7 @@ function Ju({ visible: e, side: t }) {
27724
27727
  }
27725
27728
  const Fc = k(
27726
27729
  function({ direction: t, size: n, onClick: o, disabled: r, children: s, className: a, ...l }, c) {
27727
- const { navPrevIcon: u, navNextIcon: d } = tt(), f = Ot(), p = WS(r), h = t === "prev" ? wK() : DK(), g = t === "prev" ? f.navPrev : f.navNext, C = t === "prev" ? u : d, b = x(
27730
+ const { navPrevIcon: u, navNextIcon: d } = et(), f = Ot(), p = WS(r), h = t === "prev" ? wK() : DK(), g = t === "prev" ? f.navPrev : f.navNext, C = t === "prev" ? u : d, b = x(
27728
27731
  (S) => {
27729
27732
  p.buttonRef.current = S, Ie(c, S);
27730
27733
  },
@@ -27762,7 +27765,7 @@ const Fc = k(
27762
27765
  Fc.displayName = "Calendar.NavButton";
27763
27766
  const Mc = k(
27764
27767
  function({ size: t, onClick: n, ...o }, r) {
27765
- const { navigate: s, size: a } = tt();
27768
+ const { navigate: s, size: a } = et();
27766
27769
  return /* @__PURE__ */ i(
27767
27770
  Fc,
27768
27771
  {
@@ -27780,7 +27783,7 @@ const Mc = k(
27780
27783
  Mc.displayName = "Calendar.NavPrev";
27781
27784
  const Hc = k(
27782
27785
  function({ size: t, onClick: n, ...o }, r) {
27783
- const { navigate: s, size: a } = tt();
27786
+ const { navigate: s, size: a } = et();
27784
27787
  return /* @__PURE__ */ i(
27785
27788
  Fc,
27786
27789
  {
@@ -27896,7 +27899,7 @@ function eW(e, t) {
27896
27899
  }
27897
27900
  const Qo = vn(J$, eW), jS = k(
27898
27901
  function({ size: t, ...n }, o) {
27899
- const { size: r } = tt();
27902
+ const { size: r } = et();
27900
27903
  return /* @__PURE__ */ i(Qo, { ref: o, size: t ?? r, ...n });
27901
27904
  }
27902
27905
  );
@@ -27915,12 +27918,12 @@ function tW() {
27915
27918
  viewDate: u,
27916
27919
  minDate: d,
27917
27920
  maxDate: f
27918
- } = tt(), p = j$(), h = B(null), g = B(!1), C = qu(l), b = O(() => kc(p, 7), [p]), v = OK(
27921
+ } = et(), p = j$(), h = B(null), g = B(!1), C = qu(l), b = O(() => kc(p, 7), [p]), v = OK(
27919
27922
  u.getMonth(),
27920
27923
  u.getFullYear(),
27921
27924
  s
27922
27925
  ), L = p.some(
27923
- (A) => !!A.date && !A.isDisabled && st(A.date, l)
27926
+ (A) => !!A.date && !A.isDisabled && rt(A.date, l)
27924
27927
  ) ? null : ((_ = p.find((A) => A.date && !A.isDisabled)) == null ? void 0 : _.date) ?? null;
27925
27928
  ae(() => {
27926
27929
  var E;
@@ -28000,7 +28003,7 @@ function tW() {
28000
28003
  isRangeStart: !!y.isRangeStart,
28001
28004
  isRangeEnd: !!y.isRangeEnd,
28002
28005
  circleActive: !!y.circleActive
28003
- }) : y.day, D = !!y.date && st(y.date, l) || !!L && !!y.date && st(y.date, L);
28006
+ }) : y.day, D = !!y.date && rt(y.date, l) || !!L && !!y.date && rt(y.date, L);
28004
28007
  return /* @__PURE__ */ X(
28005
28008
  "div",
28006
28009
  {
@@ -28041,7 +28044,7 @@ function tW() {
28041
28044
  );
28042
28045
  }
28043
28046
  function nW() {
28044
- const e = Ot(), { onMonthPress: t, size: n, viewDate: o, focusedDate: r } = tt(), s = q$(), a = B(null), l = B(!1), [c, u] = Q(
28047
+ const e = Ot(), { onMonthPress: t, size: n, viewDate: o, focusedDate: r } = et(), s = q$(), a = B(null), l = B(!1), [c, u] = Q(
28045
28048
  () => Math.min(11, Math.max(0, r.getMonth()))
28046
28049
  ), d = O(() => kc(s, 3), [s]);
28047
28050
  ae(() => {
@@ -28102,7 +28105,7 @@ function nW() {
28102
28105
  );
28103
28106
  }
28104
28107
  function oW() {
28105
- const e = Ot(), { onYearPress: t, size: n, viewDate: o, focusedDate: r } = tt(), s = Z$(), a = B(null), l = B(!1), c = Math.max(
28108
+ const e = Ot(), { onYearPress: t, size: n, viewDate: o, focusedDate: r } = et(), s = Z$(), a = B(null), l = B(!1), c = Math.max(
28106
28109
  0,
28107
28110
  s.findIndex((g) => g.year === r.getFullYear())
28108
28111
  ), [u, d] = Q(
@@ -28175,7 +28178,7 @@ function oW() {
28175
28178
  }
28176
28179
  const Gc = k(
28177
28180
  function({ className: t = "", children: n, onClick: o, ...r }, s) {
28178
- const a = Ot(), { view: l, setView: c, size: u } = tt(), d = Q$();
28181
+ const a = Ot(), { view: l, setView: c, size: u } = et(), d = Q$();
28179
28182
  return /* @__PURE__ */ i(
28180
28183
  "button",
28181
28184
  {
@@ -28216,7 +28219,7 @@ const Vc = k(
28216
28219
  }
28217
28220
  ), zc = k(
28218
28221
  function({ className: t = "", ...n }, o) {
28219
- const r = Ot(), { view: s } = tt();
28222
+ const r = Ot(), { view: s } = et();
28220
28223
  return /* @__PURE__ */ X(
28221
28224
  "div",
28222
28225
  {
@@ -28233,7 +28236,7 @@ const Vc = k(
28233
28236
  }
28234
28237
  ), qS = k(
28235
28238
  function({ className: t = "", ...n }, o) {
28236
- const r = Ot(), { onClear: s, onToday: a, locale: l } = tt();
28239
+ const r = Ot(), { onClear: s, onToday: a, locale: l } = et();
28237
28240
  return /* @__PURE__ */ X(
28238
28241
  "div",
28239
28242
  {
@@ -28351,12 +28354,12 @@ function aW(e) {
28351
28354
  })
28352
28355
  ), $ = x(
28353
28356
  (K) => {
28354
- H(ot(K, l, c));
28357
+ H(nt(K, l, c));
28355
28358
  },
28356
28359
  [l, c]
28357
28360
  ), V = x(
28358
28361
  (K) => {
28359
- const J = ot(K, l, c);
28362
+ const J = nt(K, l, c);
28360
28363
  H(J), w(new Date(J.getFullYear(), J.getMonth(), 1));
28361
28364
  },
28362
28365
  [l, c]
@@ -28371,7 +28374,7 @@ function aW(e) {
28371
28374
  [t, D, T]
28372
28375
  ), U = x(
28373
28376
  (K) => {
28374
- w((J) => VK(J, I, K)), H((J) => ot(I === "days" ? za(J, K) : I === "months" ? Mr(J, K) : Mr(J, K * 10), l, c));
28377
+ w((J) => VK(J, I, K)), H((J) => nt(I === "days" ? za(J, K) : I === "months" ? Mr(J, K) : Mr(J, K * 10), l, c));
28375
28378
  },
28376
28379
  [I, l, c]
28377
28380
  ), se = x(
@@ -28380,16 +28383,16 @@ function aW(e) {
28380
28383
  if (H(J), t === "single")
28381
28384
  A((ee) => {
28382
28385
  const Ce = ee instanceof Date ? ee : null;
28383
- return Ce && st(Ce, J) ? null : J;
28386
+ return Ce && rt(Ce, J) ? null : J;
28384
28387
  });
28385
28388
  else if (t === "multiple")
28386
28389
  A((ee) => {
28387
- const Ce = Array.isArray(ee) ? ee : [], ne = Ce.findIndex((q) => st(q, J));
28390
+ const Ce = Array.isArray(ee) ? ee : [], ne = Ce.findIndex((q) => rt(q, J));
28388
28391
  return ne >= 0 ? Ce.filter((q, de) => de !== ne) : [...Ce, J];
28389
28392
  });
28390
28393
  else if (!D)
28391
28394
  R(J), A({ start: null, end: null });
28392
- else if (st(J, D))
28395
+ else if (rt(J, D))
28393
28396
  R(null);
28394
28397
  else {
28395
28398
  const ee = J <= D ? J : D, Ce = J <= D ? D : J;
@@ -28402,7 +28405,7 @@ function aW(e) {
28402
28405
  const J = E.getFullYear();
28403
28406
  w(new Date(J, K, 1)), H((ee) => {
28404
28407
  const Ce = ys(J, K);
28405
- return ot(
28408
+ return nt(
28406
28409
  new Date(J, K, Math.min(ee.getDate(), Ce)),
28407
28410
  l,
28408
28411
  c
@@ -28413,7 +28416,7 @@ function aW(e) {
28413
28416
  ), pe = x(
28414
28417
  (K) => {
28415
28418
  w(new Date(K, E.getMonth(), 1)), H(
28416
- (J) => ot(
28419
+ (J) => nt(
28417
28420
  new Date(K, J.getMonth(), J.getDate()),
28418
28421
  l,
28419
28422
  c
@@ -28424,7 +28427,7 @@ function aW(e) {
28424
28427
  ), ue = x(() => {
28425
28428
  R(null), P(null), A(t === "single" ? null : t === "multiple" ? [] : { start: null, end: null });
28426
28429
  }, [t, A]), ce = x(() => {
28427
- w(new Date(b.getFullYear(), b.getMonth(), 1)), H(ot(b, l, c)), y("days");
28430
+ w(new Date(b.getFullYear(), b.getMonth(), 1)), H(nt(b, l, c)), y("days");
28428
28431
  }, [b, l, c]), _e = O(
28429
28432
  () => ({
28430
28433
  mode: t,
@@ -28772,7 +28775,7 @@ const eb = {
28772
28775
  base: "p-mid gap-mid",
28773
28776
  mid: "p-large gap-large",
28774
28777
  large: "p-xlarge gap-xlarge"
28775
- }, xW = "relative w-full touch-none select-none rounded-small cursor-crosshair overflow-hidden", RW = "absolute z-10 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-white [box-shadow:0_0_0_1px_var(--color-foreground),var(--shadow-mid)] focus-ring", NW = "flex items-center gap-small", wW = "flex min-w-0 flex-1 flex-col gap-xsmall", DW = "flex min-w-0 items-center gap-small", PW = "flex min-w-0 shrink items-center gap-xsmall rounded-small border-token bg-secondary px-small py-xsmall focus-within-ring", OW = "text-small text-muted select-none", BW = `w-[8ch] bg-transparent text-small font-mono uppercase text-foreground outline-none ${et}`, kW = "flex shrink-0 items-center gap-xsmall rounded-small border-token bg-secondary px-small py-xsmall focus-within-ring", FW = `w-8 bg-transparent text-right text-small font-mono text-foreground outline-none ${et}`, MW = "text-small text-muted select-none", HW = "flex flex-wrap gap-xsmall border-t-token pt-small", GW = "flex flex-col text-foreground";
28778
+ }, xW = "relative w-full touch-none select-none rounded-small cursor-crosshair overflow-hidden", RW = "absolute z-10 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-white [box-shadow:0_0_0_1px_var(--color-foreground),var(--shadow-mid)] focus-ring", NW = "flex items-center gap-small", wW = "flex min-w-0 flex-1 flex-col gap-xsmall", DW = "flex min-w-0 items-center gap-small", PW = "flex min-w-0 shrink items-center gap-xsmall rounded-small border-token bg-secondary px-small py-xsmall focus-within-ring", OW = "text-small text-muted select-none", BW = `w-[8ch] bg-transparent text-small font-mono uppercase text-foreground outline-none ${Je}`, kW = "flex shrink-0 items-center gap-xsmall rounded-small border-token bg-secondary px-small py-xsmall focus-within-ring", FW = `w-8 bg-transparent text-right text-small font-mono text-foreground outline-none ${Je}`, MW = "text-small text-muted select-none", HW = "flex flex-wrap gap-xsmall border-t-token pt-small", GW = "flex flex-col text-foreground";
28776
28779
  function VW(e, t) {
28777
28780
  return m(
28778
28781
  GW,
@@ -28872,7 +28875,7 @@ const ZW = {
28872
28875
  className: u = "",
28873
28876
  ...d
28874
28877
  }, f) {
28875
- const { min: p, max: h, step: g } = ZW[t], [C, b] = Xe({
28878
+ const { min: p, max: h, step: g } = ZW[t], [C, b] = We({
28876
28879
  value: o,
28877
28880
  defaultValue: r ?? tb[t]
28878
28881
  }), v = B(!1), S = B(null), [L, T] = Q(!1), [_, A] = Q(0), I = O(
@@ -29215,7 +29218,7 @@ const Kc = k(
29215
29218
  className: m(
29216
29219
  BW,
29217
29220
  l.hexInputField,
29218
- et
29221
+ Je
29219
29222
  ),
29220
29223
  onFocus: () => {
29221
29224
  u(!0), f(s.slice(1));
@@ -29258,7 +29261,7 @@ const $c = k(
29258
29261
  className: m(
29259
29262
  FW,
29260
29263
  l.alphaInputField,
29261
- et
29264
+ Je
29262
29265
  ),
29263
29266
  onChange: (c) => {
29264
29267
  const u = parseInt(c.target.value, 10);
@@ -29589,7 +29592,7 @@ function lX(e) {
29589
29592
  function iX(e) {
29590
29593
  return e === "segmented" || e === "gloss" ? "default" : e;
29591
29594
  }
29592
- const cX = "bg-primary-tint", uX = "border-r-token", dX = "border-l-token", fX = `pointer-events-none absolute h-px w-px opacity-0 ${et}`, mX = "inline-flex min-w-[2ch] select-none items-center justify-center outline-none", pX = "h-[1.65em] min-w-[2.25ch] rounded-xsmall px-xsmall bg-default-hover", gX = "rounded-xsmall px-[length:calc(var(--border-width)*2)]", CX = "bg-primary text-primary-foreground", hX = "cursor-not-allowed", SX = "cursor-default", bX = "inline-flex w-[0.45em] shrink-0 select-none items-center justify-center self-center text-muted", vX = "mx-[length:var(--border-width)]", AX = "inline-flex items-center", _X = "relative flex min-w-0 flex-1 items-center font-mono tabular-nums leading-none", LX = "flex min-w-0 w-full items-stretch", TX = "gap-xsmall", IX = {
29595
+ const cX = "bg-primary-tint", uX = "border-r-token", dX = "border-l-token", fX = `pointer-events-none absolute h-px w-px opacity-0 ${Je}`, mX = "inline-flex min-w-[2ch] select-none items-center justify-center outline-none", pX = "h-[1.65em] min-w-[2.25ch] rounded-xsmall px-xsmall bg-default-hover", gX = "rounded-xsmall px-[length:calc(var(--border-width)*2)]", CX = "bg-primary text-primary-foreground", hX = "cursor-not-allowed", SX = "cursor-default", bX = "inline-flex w-[0.45em] shrink-0 select-none items-center justify-center self-center text-muted", vX = "mx-[length:var(--border-width)]", AX = "inline-flex items-center", _X = "relative flex min-w-0 flex-1 items-center font-mono tabular-nums leading-none", LX = "flex min-w-0 w-full items-stretch", TX = "gap-xsmall", IX = {
29593
29596
  small: Jt("small"),
29594
29597
  base: Jt("base"),
29595
29598
  mid: Jt("mid"),
@@ -29788,7 +29791,7 @@ function HX({
29788
29791
  onPointerLeave: p,
29789
29792
  ref: h
29790
29793
  }) {
29791
- const g = an("time"), C = oX(), b = s ?? (C == null ? void 0 : C.size) ?? "base", v = a ?? (C == null ? void 0 : C.status) ?? "default", S = l ?? (C == null ? void 0 : C.variant) ?? "default", L = c ?? (C == null ? void 0 : C.compact) ?? !1, T = S === "gloss", _ = C == null ? void 0 : C.fieldId, A = (C == null ? void 0 : C.labelId) ?? "", I = (C == null ? void 0 : C.labelConnected) ?? !1, y = (C == null ? void 0 : C.required) ?? !1, [E, w] = Xe({
29794
+ const g = an("time"), C = oX(), b = s ?? (C == null ? void 0 : C.size) ?? "base", v = a ?? (C == null ? void 0 : C.status) ?? "default", S = l ?? (C == null ? void 0 : C.variant) ?? "default", L = c ?? (C == null ? void 0 : C.compact) ?? !1, T = S === "gloss", _ = C == null ? void 0 : C.fieldId, A = (C == null ? void 0 : C.labelId) ?? "", I = (C == null ? void 0 : C.labelConnected) ?? !1, y = (C == null ? void 0 : C.required) ?? !1, [E, w] = We({
29792
29795
  value: e !== void 0 ? rd(e) : void 0,
29793
29796
  defaultValue: () => rd(t),
29794
29797
  onChange: (oe) => n == null ? void 0 : n(kX(oe, o))
@@ -30057,7 +30060,7 @@ const Yc = k(
30057
30060
  className: m(
30058
30061
  fX,
30059
30062
  A.keyboardInput,
30060
- et
30063
+ Je
30061
30064
  ),
30062
30065
  onInput: I.handleKeyboardInput,
30063
30066
  onKeyDown: I.handleKeyboardInputKeyDown,
@@ -31552,7 +31555,7 @@ export {
31552
31555
  uj as burneZIndexScale,
31553
31556
  u5 as buttonRippleTone,
31554
31557
  m as cn,
31555
- rt as colorToken,
31558
+ ot as colorToken,
31556
31559
  d5 as configureMotion,
31557
31560
  f5 as designTokenNames,
31558
31561
  _t as fieldErrorId,
@@ -31589,7 +31592,7 @@ export {
31589
31592
  je as useBurneLabels,
31590
31593
  bv as useBurneTheme,
31591
31594
  h5 as useBurneThemeOptional,
31592
- tt as useCalendar,
31595
+ et as useCalendar,
31593
31596
  Mn as useColorPicker,
31594
31597
  ts as useComboBoxContext,
31595
31598
  Hf as useFieldSetErrorId,