lizaui 3.0.55 → 3.0.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
1
  import { j as f } from "./jsx-runtime-BYq8_R6m.js";
2
2
  import * as l from "react";
3
- import je, { useId as Wo, useState as Me, useEffect as _e, forwardRef as Et, createElement as Re, createContext as Vo, useContext as Kn, useRef as he, useLayoutEffect as Uo, useImperativeHandle as Xn, useCallback as me, useMemo as Go } from "react";
3
+ import $e, { useId as Wo, useState as ze, useEffect as _e, forwardRef as Et, createElement as Ne, createContext as Vo, useContext as Kn, useRef as he, useLayoutEffect as Uo, useImperativeHandle as Xn, useCallback as me, useMemo as Go } from "react";
4
4
  import { c as re } from "./variants-DhZQjbsQ.js";
5
5
  import { t as Ko } from "./tv-DZSJk7A5.js";
6
6
  import { c as Yn } from "./index-D29mdTf5.js";
7
- import { t as Ee } from "./bundle-mjs-Cqr86QHt.js";
8
- import { c as ce } from "./utils-BGs5HNE9.js";
9
- import { c as Ze } from "./clsx-OuTLNxxd.js";
7
+ import { t as ve } from "./bundle-mjs-Cqr86QHt.js";
8
+ import { c as le } from "./utils-BGs5HNE9.js";
9
+ import { c as Me } from "./clsx-OuTLNxxd.js";
10
10
  import { v as Xo } from "./pattern-CdQavADx.js";
11
11
  import "./assertion-CrT8p68K.js";
12
12
  import { L as qn } from "./label-error-rDY2odbv.js";
13
- import { m as Lt } from "./proxy-m3TWH07-.js";
13
+ import { m as jt } from "./proxy-m3TWH07-.js";
14
14
  import { a as it, u as se } from "./index-BB1C6wGq.js";
15
15
  import { B as Yo } from "./button-aIjEqFjc.js";
16
16
  import { A as qo } from "./ripple-DRiO0JO0.js";
@@ -393,7 +393,7 @@ const ia = Ko({
393
393
  }
394
394
  }
395
395
  ]
396
- }), uc = l.forwardRef(
396
+ }), dc = l.forwardRef(
397
397
  ({ className: e, variant: t, size: n, color: r, children: o, content: a, shape: i, placement: s, ...c }, d) => {
398
398
  const { base: h, badge: m } = ia({ variant: t, size: n, color: r, shape: i, placement: s });
399
399
  return /* @__PURE__ */ f.jsxs("div", { className: h(), children: [
@@ -453,38 +453,38 @@ const ia = Ko({
453
453
  pattern: v,
454
454
  isErrorText: b = !0,
455
455
  label: S,
456
- required: P = !1,
457
- isClearable: T = !1,
458
- onChange: A,
456
+ required: E = !1,
457
+ isClearable: A = !1,
458
+ onChange: I,
459
459
  onClear: C,
460
460
  ...$
461
- } = e, _ = l.useId(), H = n || _, W = o !== void 0, z = !y && !!u && g, j = Ze("absolute top-0 h-full flex items-center cursor-pointer px-1.5 z-[1]", {
462
- "text-red-700": z,
461
+ } = e, M = l.useId(), H = n || M, W = o !== void 0, _ = !y && !!u && g, L = Me("absolute top-0 h-full flex items-center cursor-pointer px-1.5 z-[1]", {
462
+ "text-red-700": _,
463
463
  "text-gray-400": y,
464
464
  "text-green-700": !u && g,
465
- "text-gray-500": !z
466
- }), X = Ze(p && "pl-8", !p && "pl-2.5", x && "pr-8", !x && "pr-2.5"), V = ce(la({ size: h, radius: m }), X, i), B = ce("block font-normal text-sm text-foreground mb-1", {
467
- "text-danger": z
465
+ "text-gray-500": !_
466
+ }), X = Me(p && "pl-8", !p && "pl-2.5", x && "pr-8", !x && "pr-2.5"), V = le(la({ size: h, radius: m }), X, i), B = le("block font-normal text-sm text-foreground mb-1", {
467
+ "text-danger": _
468
468
  }), J = (Y) => {
469
469
  const de = Y.target.value;
470
- v && !Xo(v, de) || A?.(Y);
470
+ v && !Xo(v, de) || I?.(Y);
471
471
  }, q = (Y) => {
472
472
  Y.preventDefault(), C?.();
473
473
  };
474
- return /* @__PURE__ */ f.jsxs("div", { className: Ee("w-full relative flex flex-col", s), children: [
474
+ return /* @__PURE__ */ f.jsxs("div", { className: ve("w-full relative flex flex-col", s), children: [
475
475
  S && /* @__PURE__ */ f.jsxs("label", { htmlFor: H, className: B, children: [
476
476
  S,
477
477
  " ",
478
- P && /* @__PURE__ */ f.jsx("span", { className: "text-danger", children: "*" })
478
+ E && /* @__PURE__ */ f.jsx("span", { className: "text-danger", children: "*" })
479
479
  ] }),
480
480
  /* @__PURE__ */ f.jsxs("div", { className: "w-full relative", children: [
481
- p && /* @__PURE__ */ f.jsx("div", { className: Ee("left-1", j, c), children: p }),
481
+ p && /* @__PURE__ */ f.jsx("div", { className: ve("left-1", L, c), children: p }),
482
482
  /* @__PURE__ */ f.jsx(
483
483
  "input",
484
484
  {
485
485
  ref: t,
486
486
  id: H,
487
- ...y ? {} : { "aria-invalid": z },
487
+ ...y ? {} : { "aria-invalid": _ },
488
488
  type: r,
489
489
  autoComplete: "off",
490
490
  autoCapitalize: "off",
@@ -495,10 +495,10 @@ const ia = Ko({
495
495
  ...$
496
496
  }
497
497
  ),
498
- T && !y && o ? /* @__PURE__ */ f.jsx(
498
+ A && !y && o ? /* @__PURE__ */ f.jsx(
499
499
  "div",
500
500
  {
501
- className: Ee(
501
+ className: ve(
502
502
  "absolute top-0 h-full flex items-center px-1.5 z-[1] opacity-70 hover:opacity-100 cursor-pointer rounded-full",
503
503
  "right-1"
504
504
  ),
@@ -512,7 +512,7 @@ const ia = Ko({
512
512
  ) })
513
513
  }
514
514
  ) : null,
515
- x && /* @__PURE__ */ f.jsx("div", { className: Ee("right-1", j, d), children: x })
515
+ x && /* @__PURE__ */ f.jsx("div", { className: ve("right-1", L, d), children: x })
516
516
  ] }),
517
517
  !y && u && g && b && /* @__PURE__ */ f.jsx(qn, { text: u })
518
518
  ] });
@@ -585,17 +585,17 @@ const fa = Yn(["flex items-center cursor-pointer relative rounded-full p-0.5 px-
585
585
  onChange: u,
586
586
  ...g
587
587
  }) => {
588
- const v = Wo(), b = e || v, [S, P] = Me(!1);
588
+ const v = Wo(), b = e || v, [S, E] = ze(!1);
589
589
  _e(() => {
590
- P(m);
590
+ E(m);
591
591
  }, [m]);
592
- const T = (W) => {
592
+ const A = (W) => {
593
593
  u(W.target.checked);
594
- }, A = () => {
594
+ }, I = () => {
595
595
  o || u(!S);
596
- }, C = Ee(
596
+ }, C = ve(
597
597
  "transition transform bg-white rounded-full shadow-sm flex justify-center items-center",
598
- Ze(
598
+ Me(
599
599
  n === "sm" && "w-4 h-4",
600
600
  n === "md" && "w-5 h-5",
601
601
  n === "lg" && "w-6 h-6",
@@ -603,25 +603,25 @@ const fa = Yn(["flex items-center cursor-pointer relative rounded-full p-0.5 px-
603
603
  n === "md" && S && "translate-x-5",
604
604
  n === "lg" && S && "translate-x-6"
605
605
  )
606
- ), $ = Ee(Ze(!S && "bg-default-200", o && "bg-default-100 hover:bg-default-100")), _ = Ee(
606
+ ), $ = ve(Me(!S && "bg-default-200", o && "bg-default-100 hover:bg-default-100")), M = ve(
607
607
  "text-gray-500 leading-none",
608
- Ze({
608
+ Me({
609
609
  "text-sm": n === "sm" || n === "md",
610
610
  "after:content-['*'] after:ml-0.5 after:text-green-500": c,
611
611
  "after:text-gray-400 text-gray-400": o
612
612
  })
613
- ), H = Ee("text-xs text-gray-500 mt-1", o && "text-gray-400");
614
- return /* @__PURE__ */ f.jsxs("div", { className: Ee(r), children: [
615
- /* @__PURE__ */ f.jsxs("div", { className: Ze("flex gap-2", i && a ? "items-start" : "items-center"), children: [
616
- s === "start" && (a || i) && /* @__PURE__ */ f.jsxs("div", { onClick: A, className: "cursor-pointer", children: [
617
- a && /* @__PURE__ */ f.jsx("p", { className: _, children: a }),
613
+ ), H = ve("text-xs text-gray-500 mt-1", o && "text-gray-400");
614
+ return /* @__PURE__ */ f.jsxs("div", { className: ve(r), children: [
615
+ /* @__PURE__ */ f.jsxs("div", { className: Me("flex gap-2", i && a ? "items-start" : "items-center"), children: [
616
+ s === "start" && (a || i) && /* @__PURE__ */ f.jsxs("div", { onClick: I, className: "cursor-pointer", children: [
617
+ a && /* @__PURE__ */ f.jsx("p", { className: M, children: a }),
618
618
  i && /* @__PURE__ */ f.jsx("p", { className: H, children: i })
619
619
  ] }),
620
620
  /* @__PURE__ */ f.jsxs(
621
621
  "label",
622
622
  {
623
623
  htmlFor: b,
624
- className: ce(fa({ size: n, color: t }), $),
624
+ className: le(fa({ size: n, color: t }), $),
625
625
  children: [
626
626
  /* @__PURE__ */ f.jsx(
627
627
  "input",
@@ -629,7 +629,7 @@ const fa = Yn(["flex items-center cursor-pointer relative rounded-full p-0.5 px-
629
629
  type: "checkbox",
630
630
  id: b,
631
631
  className: "sr-only peer",
632
- onChange: T,
632
+ onChange: A,
633
633
  disabled: o,
634
634
  checked: S,
635
635
  "data-state": S ? "checked" : "unchecked",
@@ -637,7 +637,7 @@ const fa = Yn(["flex items-center cursor-pointer relative rounded-full p-0.5 px-
637
637
  }
638
638
  ),
639
639
  p && /* @__PURE__ */ f.jsx(
640
- Lt.div,
640
+ jt.div,
641
641
  {
642
642
  initial: !1,
643
643
  animate: S ? { scale: 1, opacity: 1 } : { scale: 0, opacity: 0 },
@@ -647,7 +647,7 @@ const fa = Yn(["flex items-center cursor-pointer relative rounded-full p-0.5 px-
647
647
  }
648
648
  ),
649
649
  x && /* @__PURE__ */ f.jsx(
650
- Lt.div,
650
+ jt.div,
651
651
  {
652
652
  initial: !1,
653
653
  animate: S ? { scale: 0, opacity: 0 } : { scale: 1, opacity: 1 },
@@ -657,7 +657,7 @@ const fa = Yn(["flex items-center cursor-pointer relative rounded-full p-0.5 px-
657
657
  }
658
658
  ),
659
659
  /* @__PURE__ */ f.jsx("span", { className: C, children: y && /* @__PURE__ */ f.jsx(
660
- Lt.div,
660
+ jt.div,
661
661
  {
662
662
  initial: !1,
663
663
  animate: { scale: 1 },
@@ -668,8 +668,8 @@ const fa = Yn(["flex items-center cursor-pointer relative rounded-full p-0.5 px-
668
668
  ]
669
669
  }
670
670
  ),
671
- s === "end" && (a || i) && /* @__PURE__ */ f.jsxs("div", { onClick: A, className: "cursor-pointer", children: [
672
- a && /* @__PURE__ */ f.jsx("p", { className: _, children: a }),
671
+ s === "end" && (a || i) && /* @__PURE__ */ f.jsxs("div", { onClick: I, className: "cursor-pointer", children: [
672
+ a && /* @__PURE__ */ f.jsx("p", { className: M, children: a }),
673
673
  i && /* @__PURE__ */ f.jsx("p", { className: H, children: i })
674
674
  ] })
675
675
  ] }),
@@ -799,32 +799,32 @@ function ya(e) {
799
799
  t,
800
800
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
801
801
  ), i = (u) => {
802
- const { scope: g, children: v } = u, b = je.useRef(null), S = je.useRef(/* @__PURE__ */ new Map()).current;
802
+ const { scope: g, children: v } = u, b = $e.useRef(null), S = $e.useRef(/* @__PURE__ */ new Map()).current;
803
803
  return /* @__PURE__ */ f.jsx(o, { scope: g, itemMap: S, collectionRef: b, children: v });
804
804
  };
805
805
  i.displayName = t;
806
- const s = e + "CollectionSlot", c = it(s), d = je.forwardRef(
806
+ const s = e + "CollectionSlot", c = it(s), d = $e.forwardRef(
807
807
  (u, g) => {
808
- const { scope: v, children: b } = u, S = a(s, v), P = se(g, S.collectionRef);
809
- return /* @__PURE__ */ f.jsx(c, { ref: P, children: b });
808
+ const { scope: v, children: b } = u, S = a(s, v), E = se(g, S.collectionRef);
809
+ return /* @__PURE__ */ f.jsx(c, { ref: E, children: b });
810
810
  }
811
811
  );
812
812
  d.displayName = s;
813
- const h = e + "CollectionItemSlot", m = "data-radix-collection-item", p = it(h), x = je.forwardRef(
813
+ const h = e + "CollectionItemSlot", m = "data-radix-collection-item", p = it(h), x = $e.forwardRef(
814
814
  (u, g) => {
815
- const { scope: v, children: b, ...S } = u, P = je.useRef(null), T = se(g, P), A = a(h, v);
816
- return je.useEffect(() => (A.itemMap.set(P, { ref: P, ...S }), () => void A.itemMap.delete(P))), /* @__PURE__ */ f.jsx(p, { [m]: "", ref: T, children: b });
815
+ const { scope: v, children: b, ...S } = u, E = $e.useRef(null), A = se(g, E), I = a(h, v);
816
+ return $e.useEffect(() => (I.itemMap.set(E, { ref: E, ...S }), () => void I.itemMap.delete(E))), /* @__PURE__ */ f.jsx(p, { [m]: "", ref: A, children: b });
817
817
  }
818
818
  );
819
819
  x.displayName = h;
820
820
  function y(u) {
821
821
  const g = a(e + "CollectionConsumer", u);
822
- return je.useCallback(() => {
822
+ return $e.useCallback(() => {
823
823
  const b = g.collectionRef.current;
824
824
  if (!b) return [];
825
825
  const S = Array.from(b.querySelectorAll(`[${m}]`));
826
826
  return Array.from(g.itemMap.values()).sort(
827
- (A, C) => S.indexOf(A.ref.current) - S.indexOf(C.ref.current)
827
+ (I, C) => S.indexOf(I.ref.current) - S.indexOf(C.ref.current)
828
828
  );
829
829
  }, [g.collectionRef, g.itemMap]);
830
830
  }
@@ -839,14 +839,14 @@ function wa(e) {
839
839
  const t = l.useContext(ba);
840
840
  return e || t || "ltr";
841
841
  }
842
- function Fe(e) {
842
+ function Be(e) {
843
843
  const t = l.useRef(e);
844
844
  return l.useEffect(() => {
845
845
  t.current = e;
846
846
  }), l.useMemo(() => (...n) => t.current?.(...n), []);
847
847
  }
848
848
  function Sa(e, t = globalThis?.document) {
849
- const n = Fe(e);
849
+ const n = Be(e);
850
850
  l.useEffect(() => {
851
851
  const r = (o) => {
852
852
  o.key === "Escape" && n(o);
@@ -868,10 +868,10 @@ var Ca = "DismissableLayer", Zt = "dismissableLayer.update", Ea = "dismissableLa
868
868
  onInteractOutside: i,
869
869
  onDismiss: s,
870
870
  ...c
871
- } = e, d = l.useContext(Zn), [h, m] = l.useState(null), p = h?.ownerDocument ?? globalThis?.document, [, x] = l.useState({}), y = se(t, (C) => m(C)), u = Array.from(d.layers), [g] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), v = u.indexOf(g), b = h ? u.indexOf(h) : -1, S = d.layersWithOutsidePointerEventsDisabled.size > 0, P = b >= v, T = Na((C) => {
872
- const $ = C.target, _ = [...d.branches].some((H) => H.contains($));
873
- !P || _ || (o?.(C), i?.(C), C.defaultPrevented || s?.());
874
- }, p), A = Aa((C) => {
871
+ } = e, d = l.useContext(Zn), [h, m] = l.useState(null), p = h?.ownerDocument ?? globalThis?.document, [, x] = l.useState({}), y = se(t, (C) => m(C)), u = Array.from(d.layers), [g] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), v = u.indexOf(g), b = h ? u.indexOf(h) : -1, S = d.layersWithOutsidePointerEventsDisabled.size > 0, E = b >= v, A = Ia((C) => {
872
+ const $ = C.target, M = [...d.branches].some((H) => H.contains($));
873
+ !E || M || (o?.(C), i?.(C), C.defaultPrevented || s?.());
874
+ }, p), I = Aa((C) => {
875
875
  const $ = C.target;
876
876
  [...d.branches].some((H) => H.contains($)) || (a?.(C), i?.(C), C.defaultPrevented || s?.());
877
877
  }, p);
@@ -893,21 +893,21 @@ var Ca = "DismissableLayer", Zt = "dismissableLayer.update", Ea = "dismissableLa
893
893
  ...c,
894
894
  ref: y,
895
895
  style: {
896
- pointerEvents: S ? P ? "auto" : "none" : void 0,
896
+ pointerEvents: S ? E ? "auto" : "none" : void 0,
897
897
  ...e.style
898
898
  },
899
- onFocusCapture: te(e.onFocusCapture, A.onFocusCapture),
900
- onBlurCapture: te(e.onBlurCapture, A.onBlurCapture),
899
+ onFocusCapture: te(e.onFocusCapture, I.onFocusCapture),
900
+ onBlurCapture: te(e.onBlurCapture, I.onBlurCapture),
901
901
  onPointerDownCapture: te(
902
902
  e.onPointerDownCapture,
903
- T.onPointerDownCapture
903
+ A.onPointerDownCapture
904
904
  )
905
905
  }
906
906
  );
907
907
  }
908
908
  );
909
909
  sn.displayName = Ca;
910
- var Ra = "DismissableLayerBranch", Ia = l.forwardRef((e, t) => {
910
+ var Na = "DismissableLayerBranch", Ra = l.forwardRef((e, t) => {
911
911
  const n = l.useContext(Zn), r = l.useRef(null), o = se(t, r);
912
912
  return l.useEffect(() => {
913
913
  const a = r.current;
@@ -917,9 +917,9 @@ var Ra = "DismissableLayerBranch", Ia = l.forwardRef((e, t) => {
917
917
  };
918
918
  }, [n.branches]), /* @__PURE__ */ f.jsx(ee.div, { ...e, ref: o });
919
919
  });
920
- Ia.displayName = Ra;
921
- function Na(e, t = globalThis?.document) {
922
- const n = Fe(e), r = l.useRef(!1), o = l.useRef(() => {
920
+ Ra.displayName = Na;
921
+ function Ia(e, t = globalThis?.document) {
922
+ const n = Be(e), r = l.useRef(!1), o = l.useRef(() => {
923
923
  });
924
924
  return l.useEffect(() => {
925
925
  const a = (s) => {
@@ -949,7 +949,7 @@ function Na(e, t = globalThis?.document) {
949
949
  };
950
950
  }
951
951
  function Aa(e, t = globalThis?.document) {
952
- const n = Fe(e), r = l.useRef(!1);
952
+ const n = Be(e), r = l.useRef(!1);
953
953
  return l.useEffect(() => {
954
954
  const o = (a) => {
955
955
  a.target && !r.current && Jn(Pa, n, { originalEvent: a }, {
@@ -970,27 +970,27 @@ function Jn(e, t, n, { discrete: r }) {
970
970
  const o = n.originalEvent.target, a = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
971
971
  t && o.addEventListener(e, t, { once: !0 }), r ? da(o, a) : o.dispatchEvent(a);
972
972
  }
973
- var jt = 0;
973
+ var Lt = 0;
974
974
  function Qn() {
975
975
  l.useEffect(() => {
976
976
  const e = document.querySelectorAll("[data-radix-focus-guard]");
977
- return document.body.insertAdjacentElement("afterbegin", e[0] ?? Rn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Rn()), jt++, () => {
978
- jt === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), jt--;
977
+ return document.body.insertAdjacentElement("afterbegin", e[0] ?? Nn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Nn()), Lt++, () => {
978
+ Lt === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), Lt--;
979
979
  };
980
980
  }, []);
981
981
  }
982
- function Rn() {
982
+ function Nn() {
983
983
  const e = document.createElement("span");
984
984
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
985
985
  }
986
- var $t = "focusScope.autoFocusOnMount", Ht = "focusScope.autoFocusOnUnmount", In = { bubbles: !1, cancelable: !0 }, Da = "FocusScope", ln = l.forwardRef((e, t) => {
986
+ var $t = "focusScope.autoFocusOnMount", Ht = "focusScope.autoFocusOnUnmount", Rn = { bubbles: !1, cancelable: !0 }, Da = "FocusScope", ln = l.forwardRef((e, t) => {
987
987
  const {
988
988
  loop: n = !1,
989
989
  trapped: r = !1,
990
990
  onMountAutoFocus: o,
991
991
  onUnmountAutoFocus: a,
992
992
  ...i
993
- } = e, [s, c] = l.useState(null), d = Fe(o), h = Fe(a), m = l.useRef(null), p = se(t, (u) => c(u)), x = l.useRef({
993
+ } = e, [s, c] = l.useState(null), d = Be(o), h = Be(a), m = l.useRef(null), p = se(t, (u) => c(u)), x = l.useRef({
994
994
  paused: !1,
995
995
  pause() {
996
996
  this.paused = !0;
@@ -1003,16 +1003,16 @@ var $t = "focusScope.autoFocusOnMount", Ht = "focusScope.autoFocusOnUnmount", In
1003
1003
  if (r) {
1004
1004
  let u = function(S) {
1005
1005
  if (x.paused || !s) return;
1006
- const P = S.target;
1007
- s.contains(P) ? m.current = P : Ae(m.current, { select: !0 });
1006
+ const E = S.target;
1007
+ s.contains(E) ? m.current = E : Ae(m.current, { select: !0 });
1008
1008
  }, g = function(S) {
1009
1009
  if (x.paused || !s) return;
1010
- const P = S.relatedTarget;
1011
- P !== null && (s.contains(P) || Ae(m.current, { select: !0 }));
1010
+ const E = S.relatedTarget;
1011
+ E !== null && (s.contains(E) || Ae(m.current, { select: !0 }));
1012
1012
  }, v = function(S) {
1013
1013
  if (document.activeElement === document.body)
1014
- for (const T of S)
1015
- T.removedNodes.length > 0 && Ae(s);
1014
+ for (const A of S)
1015
+ A.removedNodes.length > 0 && Ae(s);
1016
1016
  };
1017
1017
  document.addEventListener("focusin", u), document.addEventListener("focusout", g);
1018
1018
  const b = new MutationObserver(v);
@@ -1025,12 +1025,12 @@ var $t = "focusScope.autoFocusOnMount", Ht = "focusScope.autoFocusOnUnmount", In
1025
1025
  An.add(x);
1026
1026
  const u = document.activeElement;
1027
1027
  if (!s.contains(u)) {
1028
- const v = new CustomEvent($t, In);
1028
+ const v = new CustomEvent($t, Rn);
1029
1029
  s.addEventListener($t, d), s.dispatchEvent(v), v.defaultPrevented || (Ta(ka(er(s)), { select: !0 }), document.activeElement === u && Ae(s));
1030
1030
  }
1031
1031
  return () => {
1032
1032
  s.removeEventListener($t, d), setTimeout(() => {
1033
- const v = new CustomEvent(Ht, In);
1033
+ const v = new CustomEvent(Ht, Rn);
1034
1034
  s.addEventListener(Ht, h), s.dispatchEvent(v), v.defaultPrevented || Ae(u ?? document.body, { select: !0 }), s.removeEventListener(Ht, h), An.remove(x);
1035
1035
  }, 0);
1036
1036
  };
@@ -1041,8 +1041,8 @@ var $t = "focusScope.autoFocusOnMount", Ht = "focusScope.autoFocusOnUnmount", In
1041
1041
  if (!n && !r || x.paused) return;
1042
1042
  const g = u.key === "Tab" && !u.altKey && !u.ctrlKey && !u.metaKey, v = document.activeElement;
1043
1043
  if (g && v) {
1044
- const b = u.currentTarget, [S, P] = Ma(b);
1045
- S && P ? !u.shiftKey && v === P ? (u.preventDefault(), n && Ae(S, { select: !0 })) : u.shiftKey && v === S && (u.preventDefault(), n && Ae(P, { select: !0 })) : v === b && u.preventDefault();
1044
+ const b = u.currentTarget, [S, E] = Ma(b);
1045
+ S && E ? !u.shiftKey && v === E ? (u.preventDefault(), n && Ae(S, { select: !0 })) : u.shiftKey && v === S && (u.preventDefault(), n && Ae(E, { select: !0 })) : v === b && u.preventDefault();
1046
1046
  }
1047
1047
  },
1048
1048
  [n, r, x.paused]
@@ -1056,7 +1056,7 @@ function Ta(e, { select: t = !1 } = {}) {
1056
1056
  if (Ae(r, { select: t }), document.activeElement !== n) return;
1057
1057
  }
1058
1058
  function Ma(e) {
1059
- const t = er(e), n = Nn(t, e), r = Nn(t.reverse(), e);
1059
+ const t = er(e), n = In(t, e), r = In(t.reverse(), e);
1060
1060
  return [n, r];
1061
1061
  }
1062
1062
  function er(e) {
@@ -1069,11 +1069,11 @@ function er(e) {
1069
1069
  for (; n.nextNode(); ) t.push(n.currentNode);
1070
1070
  return t;
1071
1071
  }
1072
- function Nn(e, t) {
1072
+ function In(e, t) {
1073
1073
  for (const n of e)
1074
- if (!_a(n, { upTo: t })) return n;
1074
+ if (!za(n, { upTo: t })) return n;
1075
1075
  }
1076
- function _a(e, { upTo: t }) {
1076
+ function za(e, { upTo: t }) {
1077
1077
  if (getComputedStyle(e).visibility === "hidden") return !0;
1078
1078
  for (; e; ) {
1079
1079
  if (t !== void 0 && e === t) return !1;
@@ -1082,13 +1082,13 @@ function _a(e, { upTo: t }) {
1082
1082
  }
1083
1083
  return !1;
1084
1084
  }
1085
- function za(e) {
1085
+ function _a(e) {
1086
1086
  return e instanceof HTMLInputElement && "select" in e;
1087
1087
  }
1088
1088
  function Ae(e, { select: t = !1 } = {}) {
1089
1089
  if (e && e.focus) {
1090
1090
  const n = document.activeElement;
1091
- e.focus({ preventScroll: !0 }), e !== n && za(e) && t && e.select();
1091
+ e.focus({ preventScroll: !0 }), e !== n && _a(e) && t && e.select();
1092
1092
  }
1093
1093
  }
1094
1094
  var An = Oa();
@@ -1111,12 +1111,12 @@ function Dn(e, t) {
1111
1111
  function ka(e) {
1112
1112
  return e.filter((t) => t.tagName !== "A");
1113
1113
  }
1114
- var La = l[" useId ".trim().toString()] || (() => {
1115
- }), ja = 0;
1114
+ var ja = l[" useId ".trim().toString()] || (() => {
1115
+ }), La = 0;
1116
1116
  function Qe(e) {
1117
- const [t, n] = l.useState(La());
1117
+ const [t, n] = l.useState(ja());
1118
1118
  return ue(() => {
1119
- n((r) => r ?? String(ja++));
1119
+ n((r) => r ?? String(La++));
1120
1120
  }, [e]), e || (t ? `radix-${t}` : "");
1121
1121
  }
1122
1122
  var $a = "Arrow", tr = l.forwardRef((e, t) => {
@@ -1189,15 +1189,15 @@ var un = "PopperContent", [Wa, Va] = nr(un), lr = l.forwardRef(
1189
1189
  updatePositionStrategy: x = "optimized",
1190
1190
  onPlaced: y,
1191
1191
  ...u
1192
- } = e, g = or(un, n), [v, b] = l.useState(null), S = se(t, (w) => b(w)), [P, T] = l.useState(null), A = Fa(P), C = A?.width ?? 0, $ = A?.height ?? 0, _ = r + (a !== "center" ? "-" + a : ""), H = typeof h == "number" ? h : { top: 0, right: 0, bottom: 0, left: 0, ...h }, W = Array.isArray(d) ? d : [d], z = W.length > 0, j = {
1192
+ } = e, g = or(un, n), [v, b] = l.useState(null), S = se(t, (w) => b(w)), [E, A] = l.useState(null), I = Fa(E), C = I?.width ?? 0, $ = I?.height ?? 0, M = r + (a !== "center" ? "-" + a : ""), H = typeof h == "number" ? h : { top: 0, right: 0, bottom: 0, left: 0, ...h }, W = Array.isArray(d) ? d : [d], _ = W.length > 0, L = {
1193
1193
  padding: H,
1194
1194
  boundary: W.filter(Ga),
1195
1195
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
1196
- altBoundary: z
1196
+ altBoundary: _
1197
1197
  }, { refs: X, floatingStyles: V, placement: B, isPositioned: J, middlewareData: q } = Jo({
1198
1198
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
1199
1199
  strategy: "fixed",
1200
- placement: _,
1200
+ placement: M,
1201
1201
  whileElementsMounted: (...w) => sa(...w, {
1202
1202
  animationFrame: x === "always"
1203
1203
  }),
@@ -1210,27 +1210,27 @@ var un = "PopperContent", [Wa, Va] = nr(un), lr = l.forwardRef(
1210
1210
  mainAxis: !0,
1211
1211
  crossAxis: !1,
1212
1212
  limiter: m === "partial" ? aa() : void 0,
1213
- ...j
1213
+ ...L
1214
1214
  }),
1215
- c && ta({ ...j }),
1215
+ c && ta({ ...L }),
1216
1216
  na({
1217
- ...j,
1218
- apply: ({ elements: w, rects: R, availableWidth: L, availableHeight: O }) => {
1219
- const { width: U, height: K } = R.reference, G = w.floating.style;
1220
- G.setProperty("--radix-popper-available-width", `${L}px`), G.setProperty("--radix-popper-available-height", `${O}px`), G.setProperty("--radix-popper-anchor-width", `${U}px`), G.setProperty("--radix-popper-anchor-height", `${K}px`);
1217
+ ...L,
1218
+ apply: ({ elements: w, rects: N, availableWidth: j, availableHeight: O }) => {
1219
+ const { width: U, height: K } = N.reference, G = w.floating.style;
1220
+ G.setProperty("--radix-popper-available-width", `${j}px`), G.setProperty("--radix-popper-available-height", `${O}px`), G.setProperty("--radix-popper-anchor-width", `${U}px`), G.setProperty("--radix-popper-anchor-height", `${K}px`);
1221
1221
  }
1222
1222
  }),
1223
- P && ra({ element: P, padding: s }),
1223
+ E && ra({ element: E, padding: s }),
1224
1224
  Ka({ arrowWidth: C, arrowHeight: $ }),
1225
- p && oa({ strategy: "referenceHidden", ...j })
1225
+ p && oa({ strategy: "referenceHidden", ...L })
1226
1226
  ]
1227
- }), [Y, de] = dr(B), oe = Fe(y);
1227
+ }), [Y, de] = dr(B), oe = Be(y);
1228
1228
  ue(() => {
1229
1229
  J && oe?.();
1230
1230
  }, [J, oe]);
1231
- const le = q.arrow?.x, E = q.arrow?.y, N = q.arrow?.centerOffset !== 0, [M, D] = l.useState();
1231
+ const ce = q.arrow?.x, P = q.arrow?.y, D = q.arrow?.centerOffset !== 0, [z, T] = l.useState();
1232
1232
  return ue(() => {
1233
- v && D(window.getComputedStyle(v).zIndex);
1233
+ v && T(window.getComputedStyle(v).zIndex);
1234
1234
  }, [v]), /* @__PURE__ */ f.jsx(
1235
1235
  "div",
1236
1236
  {
@@ -1241,7 +1241,7 @@ var un = "PopperContent", [Wa, Va] = nr(un), lr = l.forwardRef(
1241
1241
  transform: J ? V.transform : "translate(0, -200%)",
1242
1242
  // keep off the page when measuring
1243
1243
  minWidth: "max-content",
1244
- zIndex: M,
1244
+ zIndex: z,
1245
1245
  "--radix-popper-transform-origin": [
1246
1246
  q.transformOrigin?.x,
1247
1247
  q.transformOrigin?.y
@@ -1260,10 +1260,10 @@ var un = "PopperContent", [Wa, Va] = nr(un), lr = l.forwardRef(
1260
1260
  {
1261
1261
  scope: n,
1262
1262
  placedSide: Y,
1263
- onArrowChange: T,
1264
- arrowX: le,
1265
- arrowY: E,
1266
- shouldHideArrow: N,
1263
+ onArrowChange: A,
1264
+ arrowX: ce,
1265
+ arrowY: P,
1266
+ shouldHideArrow: D,
1267
1267
  children: /* @__PURE__ */ f.jsx(
1268
1268
  ee.div,
1269
1269
  {
@@ -1363,11 +1363,11 @@ dn.displayName = Ja;
1363
1363
  function Qa(e, t) {
1364
1364
  return l.useReducer((n, r) => t[n][r] ?? n, e);
1365
1365
  }
1366
- var Rt = (e) => {
1366
+ var Nt = (e) => {
1367
1367
  const { present: t, children: n } = e, r = es(t), o = typeof n == "function" ? n({ present: r.isPresent }) : l.Children.only(n), a = se(r.ref, ts(o));
1368
1368
  return typeof n == "function" || r.isPresent ? l.cloneElement(o, { ref: a }) : null;
1369
1369
  };
1370
- Rt.displayName = "Presence";
1370
+ Nt.displayName = "Presence";
1371
1371
  function es(e) {
1372
1372
  const [t, n] = l.useState(), r = l.useRef(null), o = l.useRef(e), a = l.useRef("none"), i = e ? "mounted" : "unmounted", [s, c] = Qa(i, {
1373
1373
  mounted: {
@@ -1429,7 +1429,7 @@ var ns = function(e) {
1429
1429
  return null;
1430
1430
  var t = Array.isArray(e) ? e[0] : e;
1431
1431
  return t.ownerDocument.body;
1432
- }, Ge = /* @__PURE__ */ new WeakMap(), dt = /* @__PURE__ */ new WeakMap(), ft = {}, Ft = 0, fr = function(e) {
1432
+ }, Ke = /* @__PURE__ */ new WeakMap(), dt = /* @__PURE__ */ new WeakMap(), ft = {}, Ft = 0, fr = function(e) {
1433
1433
  return e && (e.host || fr(e.parentNode));
1434
1434
  }, rs = function(e, t) {
1435
1435
  return t.map(function(n) {
@@ -1453,17 +1453,17 @@ var ns = function(e) {
1453
1453
  h(p);
1454
1454
  else
1455
1455
  try {
1456
- var x = p.getAttribute(r), y = x !== null && x !== "false", u = (Ge.get(p) || 0) + 1, g = (a.get(p) || 0) + 1;
1457
- Ge.set(p, u), a.set(p, g), i.push(p), u === 1 && y && dt.set(p, !0), g === 1 && p.setAttribute(n, "true"), y || p.setAttribute(r, "true");
1456
+ var x = p.getAttribute(r), y = x !== null && x !== "false", u = (Ke.get(p) || 0) + 1, g = (a.get(p) || 0) + 1;
1457
+ Ke.set(p, u), a.set(p, g), i.push(p), u === 1 && y && dt.set(p, !0), g === 1 && p.setAttribute(n, "true"), y || p.setAttribute(r, "true");
1458
1458
  } catch {
1459
1459
  }
1460
1460
  });
1461
1461
  };
1462
1462
  return h(t), s.clear(), Ft++, function() {
1463
1463
  i.forEach(function(m) {
1464
- var p = Ge.get(m) - 1, x = a.get(m) - 1;
1465
- Ge.set(m, p), a.set(m, x), p || (dt.has(m) || m.removeAttribute(r), dt.delete(m)), x || m.removeAttribute(n);
1466
- }), Ft--, Ft || (Ge = /* @__PURE__ */ new WeakMap(), Ge = /* @__PURE__ */ new WeakMap(), dt = /* @__PURE__ */ new WeakMap(), ft = {});
1464
+ var p = Ke.get(m) - 1, x = a.get(m) - 1;
1465
+ Ke.set(m, p), a.set(m, x), p || (dt.has(m) || m.removeAttribute(r), dt.delete(m)), x || m.removeAttribute(n);
1466
+ }), Ft--, Ft || (Ke = /* @__PURE__ */ new WeakMap(), Ke = /* @__PURE__ */ new WeakMap(), dt = /* @__PURE__ */ new WeakMap(), ft = {});
1467
1467
  };
1468
1468
  }, pr = function(e, t, n) {
1469
1469
  n === void 0 && (n = "data-aria-hidden");
@@ -1471,14 +1471,14 @@ var ns = function(e) {
1471
1471
  return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live], script"))), os(r, o, n, "aria-hidden")) : function() {
1472
1472
  return null;
1473
1473
  };
1474
- }, we = function() {
1475
- return we = Object.assign || function(t) {
1474
+ }, Se = function() {
1475
+ return Se = Object.assign || function(t) {
1476
1476
  for (var n, r = 1, o = arguments.length; r < o; r++) {
1477
1477
  n = arguments[r];
1478
1478
  for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
1479
1479
  }
1480
1480
  return t;
1481
- }, we.apply(this, arguments);
1481
+ }, Se.apply(this, arguments);
1482
1482
  };
1483
1483
  function mr(e, t) {
1484
1484
  var n = {};
@@ -1498,7 +1498,7 @@ function Bt(e, t) {
1498
1498
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
1499
1499
  }
1500
1500
  function ls(e, t) {
1501
- var n = Me(function() {
1501
+ var n = ze(function() {
1502
1502
  return {
1503
1503
  // value
1504
1504
  value: e,
@@ -1599,7 +1599,7 @@ function fs(e, t) {
1599
1599
  function ps(e) {
1600
1600
  e === void 0 && (e = {});
1601
1601
  var t = fs(null);
1602
- return t.options = we({ async: !0, ssr: !1 }, e), t;
1602
+ return t.options = Se({ async: !0, ssr: !1 }, e), t;
1603
1603
  }
1604
1604
  var hr = function(e) {
1605
1605
  var t = e.sideCar, n = mr(e, ["sideCar"]);
@@ -1608,32 +1608,32 @@ var hr = function(e) {
1608
1608
  var r = t.read();
1609
1609
  if (!r)
1610
1610
  throw new Error("Sidecar medium not found");
1611
- return l.createElement(r, we({}, n));
1611
+ return l.createElement(r, Se({}, n));
1612
1612
  };
1613
1613
  hr.isSideCarExport = !0;
1614
1614
  function ms(e, t) {
1615
1615
  return e.useMedium(t), hr;
1616
1616
  }
1617
1617
  var gr = ps(), Wt = function() {
1618
- }, It = l.forwardRef(function(e, t) {
1618
+ }, Rt = l.forwardRef(function(e, t) {
1619
1619
  var n = l.useRef(null), r = l.useState({
1620
1620
  onScrollCapture: Wt,
1621
1621
  onWheelCapture: Wt,
1622
1622
  onTouchMoveCapture: Wt
1623
- }), o = r[0], a = r[1], i = e.forwardProps, s = e.children, c = e.className, d = e.removeScrollBar, h = e.enabled, m = e.shards, p = e.sideCar, x = e.noRelative, y = e.noIsolation, u = e.inert, g = e.allowPinchZoom, v = e.as, b = v === void 0 ? "div" : v, S = e.gapMode, P = mr(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), T = p, A = us([n, t]), C = we(we({}, P), o);
1623
+ }), o = r[0], a = r[1], i = e.forwardProps, s = e.children, c = e.className, d = e.removeScrollBar, h = e.enabled, m = e.shards, p = e.sideCar, x = e.noRelative, y = e.noIsolation, u = e.inert, g = e.allowPinchZoom, v = e.as, b = v === void 0 ? "div" : v, S = e.gapMode, E = mr(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), A = p, I = us([n, t]), C = Se(Se({}, E), o);
1624
1624
  return l.createElement(
1625
1625
  l.Fragment,
1626
1626
  null,
1627
- h && l.createElement(T, { sideCar: gr, removeScrollBar: d, shards: m, noRelative: x, noIsolation: y, inert: u, setCallbacks: a, allowPinchZoom: !!g, lockRef: n, gapMode: S }),
1628
- i ? l.cloneElement(l.Children.only(s), we(we({}, C), { ref: A })) : l.createElement(b, we({}, C, { className: c, ref: A }), s)
1627
+ h && l.createElement(A, { sideCar: gr, removeScrollBar: d, shards: m, noRelative: x, noIsolation: y, inert: u, setCallbacks: a, allowPinchZoom: !!g, lockRef: n, gapMode: S }),
1628
+ i ? l.cloneElement(l.Children.only(s), Se(Se({}, C), { ref: I })) : l.createElement(b, Se({}, C, { className: c, ref: I }), s)
1629
1629
  );
1630
1630
  });
1631
- It.defaultProps = {
1631
+ Rt.defaultProps = {
1632
1632
  enabled: !0,
1633
1633
  removeScrollBar: !0,
1634
1634
  inert: !1
1635
1635
  };
1636
- It.classNames = {
1636
+ Rt.classNames = {
1637
1637
  fullWidth: vt,
1638
1638
  zeroRight: gt
1639
1639
  };
@@ -1748,16 +1748,16 @@ var ys = function() {
1748
1748
  }, Mn = function() {
1749
1749
  var e = parseInt(document.body.getAttribute(et) || "0", 10);
1750
1750
  return isFinite(e) ? e : 0;
1751
- }, Rs = function() {
1751
+ }, Ns = function() {
1752
1752
  l.useEffect(function() {
1753
1753
  return document.body.setAttribute(et, (Mn() + 1).toString()), function() {
1754
1754
  var e = Mn() - 1;
1755
1755
  e <= 0 ? document.body.removeAttribute(et) : document.body.setAttribute(et, e.toString());
1756
1756
  };
1757
1757
  }, []);
1758
- }, Is = function(e) {
1758
+ }, Rs = function(e) {
1759
1759
  var t = e.noRelative, n = e.noImportant, r = e.gapMode, o = r === void 0 ? "margin" : r;
1760
- Rs();
1760
+ Ns();
1761
1761
  var a = l.useMemo(function() {
1762
1762
  return Cs(o);
1763
1763
  }, [o]);
@@ -1774,7 +1774,7 @@ if (typeof window < "u")
1774
1774
  } catch {
1775
1775
  Jt = !1;
1776
1776
  }
1777
- var Ke = Jt ? { passive: !1 } : !1, Ns = function(e) {
1777
+ var Xe = Jt ? { passive: !1 } : !1, Is = function(e) {
1778
1778
  return e.tagName === "TEXTAREA";
1779
1779
  }, xr = function(e, t) {
1780
1780
  if (!(e instanceof Element))
@@ -1783,13 +1783,13 @@ var Ke = Jt ? { passive: !1 } : !1, Ns = function(e) {
1783
1783
  return (
1784
1784
  // not-not-scrollable
1785
1785
  n[t] !== "hidden" && // contains scroll inside self
1786
- !(n.overflowY === n.overflowX && !Ns(e) && n[t] === "visible")
1786
+ !(n.overflowY === n.overflowX && !Is(e) && n[t] === "visible")
1787
1787
  );
1788
1788
  }, As = function(e) {
1789
1789
  return xr(e, "overflowY");
1790
1790
  }, Ds = function(e) {
1791
1791
  return xr(e, "overflowX");
1792
- }, _n = function(e, t) {
1792
+ }, zn = function(e, t) {
1793
1793
  var n = t.ownerDocument, r = t;
1794
1794
  do {
1795
1795
  typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
@@ -1820,10 +1820,10 @@ var Ke = Jt ? { passive: !1 } : !1, Ns = function(e) {
1820
1820
  return e === "v" ? As(t) : Ds(t);
1821
1821
  }, br = function(e, t) {
1822
1822
  return e === "v" ? Ts(t) : Ms(t);
1823
- }, _s = function(e, t) {
1823
+ }, zs = function(e, t) {
1824
1824
  return e === "h" && t === "rtl" ? -1 : 1;
1825
- }, zs = function(e, t, n, r, o) {
1826
- var a = _s(e, window.getComputedStyle(t).direction), i = a * r, s = n.target, c = t.contains(s), d = !1, h = i > 0, m = 0, p = 0;
1825
+ }, _s = function(e, t, n, r, o) {
1826
+ var a = zs(e, window.getComputedStyle(t).direction), i = a * r, s = n.target, c = t.contains(s), d = !1, h = i > 0, m = 0, p = 0;
1827
1827
  do {
1828
1828
  if (!s)
1829
1829
  break;
@@ -1839,7 +1839,7 @@ var Ke = Jt ? { passive: !1 } : !1, Ns = function(e) {
1839
1839
  return (h && Math.abs(m) < 1 || !h && Math.abs(p) < 1) && (d = !0), d;
1840
1840
  }, mt = function(e) {
1841
1841
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
1842
- }, zn = function(e) {
1842
+ }, _n = function(e) {
1843
1843
  return [e.deltaX, e.deltaY];
1844
1844
  }, On = function(e) {
1845
1845
  return e && "current" in e ? e.current : e;
@@ -1850,9 +1850,9 @@ var Ke = Jt ? { passive: !1 } : !1, Ns = function(e) {
1850
1850
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
1851
1851
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
1852
1852
  `);
1853
- }, Ls = 0, Xe = [];
1854
- function js(e) {
1855
- var t = l.useRef([]), n = l.useRef([0, 0]), r = l.useRef(), o = l.useState(Ls++)[0], a = l.useState(vr)[0], i = l.useRef(e);
1853
+ }, js = 0, Ye = [];
1854
+ function Ls(e) {
1855
+ var t = l.useRef([]), n = l.useRef([0, 0]), r = l.useRef(), o = l.useState(js++)[0], a = l.useState(vr)[0], i = l.useRef(e);
1856
1856
  l.useEffect(function() {
1857
1857
  i.current = e;
1858
1858
  }, [e]), l.useEffect(function() {
@@ -1871,58 +1871,58 @@ function js(e) {
1871
1871
  var s = l.useCallback(function(u, g) {
1872
1872
  if ("touches" in u && u.touches.length === 2 || u.type === "wheel" && u.ctrlKey)
1873
1873
  return !i.current.allowPinchZoom;
1874
- var v = mt(u), b = n.current, S = "deltaX" in u ? u.deltaX : b[0] - v[0], P = "deltaY" in u ? u.deltaY : b[1] - v[1], T, A = u.target, C = Math.abs(S) > Math.abs(P) ? "h" : "v";
1875
- if ("touches" in u && C === "h" && A.type === "range")
1874
+ var v = mt(u), b = n.current, S = "deltaX" in u ? u.deltaX : b[0] - v[0], E = "deltaY" in u ? u.deltaY : b[1] - v[1], A, I = u.target, C = Math.abs(S) > Math.abs(E) ? "h" : "v";
1875
+ if ("touches" in u && C === "h" && I.type === "range")
1876
1876
  return !1;
1877
- var $ = _n(C, A);
1877
+ var $ = zn(C, I);
1878
1878
  if (!$)
1879
1879
  return !0;
1880
- if ($ ? T = C : (T = C === "v" ? "h" : "v", $ = _n(C, A)), !$)
1880
+ if ($ ? A = C : (A = C === "v" ? "h" : "v", $ = zn(C, I)), !$)
1881
1881
  return !1;
1882
- if (!r.current && "changedTouches" in u && (S || P) && (r.current = T), !T)
1882
+ if (!r.current && "changedTouches" in u && (S || E) && (r.current = A), !A)
1883
1883
  return !0;
1884
- var _ = r.current || T;
1885
- return zs(_, g, u, _ === "h" ? S : P);
1884
+ var M = r.current || A;
1885
+ return _s(M, g, u, M === "h" ? S : E);
1886
1886
  }, []), c = l.useCallback(function(u) {
1887
1887
  var g = u;
1888
- if (!(!Xe.length || Xe[Xe.length - 1] !== a)) {
1889
- var v = "deltaY" in g ? zn(g) : mt(g), b = t.current.filter(function(T) {
1890
- return T.name === g.type && (T.target === g.target || g.target === T.shadowParent) && Os(T.delta, v);
1888
+ if (!(!Ye.length || Ye[Ye.length - 1] !== a)) {
1889
+ var v = "deltaY" in g ? _n(g) : mt(g), b = t.current.filter(function(A) {
1890
+ return A.name === g.type && (A.target === g.target || g.target === A.shadowParent) && Os(A.delta, v);
1891
1891
  })[0];
1892
1892
  if (b && b.should) {
1893
1893
  g.cancelable && g.preventDefault();
1894
1894
  return;
1895
1895
  }
1896
1896
  if (!b) {
1897
- var S = (i.current.shards || []).map(On).filter(Boolean).filter(function(T) {
1898
- return T.contains(g.target);
1899
- }), P = S.length > 0 ? s(g, S[0]) : !i.current.noIsolation;
1900
- P && g.cancelable && g.preventDefault();
1897
+ var S = (i.current.shards || []).map(On).filter(Boolean).filter(function(A) {
1898
+ return A.contains(g.target);
1899
+ }), E = S.length > 0 ? s(g, S[0]) : !i.current.noIsolation;
1900
+ E && g.cancelable && g.preventDefault();
1901
1901
  }
1902
1902
  }
1903
1903
  }, []), d = l.useCallback(function(u, g, v, b) {
1904
1904
  var S = { name: u, delta: g, target: v, should: b, shadowParent: $s(v) };
1905
1905
  t.current.push(S), setTimeout(function() {
1906
- t.current = t.current.filter(function(P) {
1907
- return P !== S;
1906
+ t.current = t.current.filter(function(E) {
1907
+ return E !== S;
1908
1908
  });
1909
1909
  }, 1);
1910
1910
  }, []), h = l.useCallback(function(u) {
1911
1911
  n.current = mt(u), r.current = void 0;
1912
1912
  }, []), m = l.useCallback(function(u) {
1913
- d(u.type, zn(u), u.target, s(u, e.lockRef.current));
1913
+ d(u.type, _n(u), u.target, s(u, e.lockRef.current));
1914
1914
  }, []), p = l.useCallback(function(u) {
1915
1915
  d(u.type, mt(u), u.target, s(u, e.lockRef.current));
1916
1916
  }, []);
1917
1917
  l.useEffect(function() {
1918
- return Xe.push(a), e.setCallbacks({
1918
+ return Ye.push(a), e.setCallbacks({
1919
1919
  onScrollCapture: m,
1920
1920
  onWheelCapture: m,
1921
1921
  onTouchMoveCapture: p
1922
- }), document.addEventListener("wheel", c, Ke), document.addEventListener("touchmove", c, Ke), document.addEventListener("touchstart", h, Ke), function() {
1923
- Xe = Xe.filter(function(u) {
1922
+ }), document.addEventListener("wheel", c, Xe), document.addEventListener("touchmove", c, Xe), document.addEventListener("touchstart", h, Xe), function() {
1923
+ Ye = Ye.filter(function(u) {
1924
1924
  return u !== a;
1925
- }), document.removeEventListener("wheel", c, Ke), document.removeEventListener("touchmove", c, Ke), document.removeEventListener("touchstart", h, Ke);
1925
+ }), document.removeEventListener("wheel", c, Xe), document.removeEventListener("touchmove", c, Xe), document.removeEventListener("touchstart", h, Xe);
1926
1926
  };
1927
1927
  }, []);
1928
1928
  var x = e.removeScrollBar, y = e.inert;
@@ -1930,7 +1930,7 @@ function js(e) {
1930
1930
  l.Fragment,
1931
1931
  null,
1932
1932
  y ? l.createElement(a, { styles: ks(o) }) : null,
1933
- x ? l.createElement(Is, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
1933
+ x ? l.createElement(Rs, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
1934
1934
  );
1935
1935
  }
1936
1936
  function $s(e) {
@@ -1938,11 +1938,11 @@ function $s(e) {
1938
1938
  e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
1939
1939
  return t;
1940
1940
  }
1941
- const Hs = ms(gr, js);
1941
+ const Hs = ms(gr, Ls);
1942
1942
  var fn = l.forwardRef(function(e, t) {
1943
- return l.createElement(It, we({}, e, { ref: t, sideCar: Hs }));
1943
+ return l.createElement(Rt, Se({}, e, { ref: t, sideCar: Hs }));
1944
1944
  });
1945
- fn.classNames = It.classNames;
1945
+ fn.classNames = Rt.classNames;
1946
1946
  const Fs = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Bs = (e) => e.replace(
1947
1947
  /^([A-Z])|[\s-_]+(\w)/g,
1948
1948
  (t, n, r) => r ? r.toUpperCase() : n.toLowerCase()
@@ -1975,7 +1975,7 @@ const Us = Et(
1975
1975
  children: a,
1976
1976
  iconNode: i,
1977
1977
  ...s
1978
- }, c) => Re(
1978
+ }, c) => Ne(
1979
1979
  "svg",
1980
1980
  {
1981
1981
  ref: c,
@@ -1989,14 +1989,14 @@ const Us = Et(
1989
1989
  ...s
1990
1990
  },
1991
1991
  [
1992
- ...i.map(([d, h]) => Re(d, h)),
1992
+ ...i.map(([d, h]) => Ne(d, h)),
1993
1993
  ...Array.isArray(a) ? a : [a]
1994
1994
  ]
1995
1995
  )
1996
1996
  );
1997
1997
  const pn = (e, t) => {
1998
1998
  const n = Et(
1999
- ({ className: r, ...o }, a) => Re(Us, {
1999
+ ({ className: r, ...o }, a) => Ne(Us, {
2000
2000
  ref: a,
2001
2001
  iconNode: t,
2002
2002
  className: wr(
@@ -2011,8 +2011,8 @@ const pn = (e, t) => {
2011
2011
  };
2012
2012
  const Gs = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], Ks = pn("check", Gs);
2013
2013
  const Xs = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Sr = pn("chevron-down", Xs);
2014
- const Ys = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], qs = pn("chevron-up", Ys), Nt = Vo(null);
2015
- Nt.displayName = "PanelGroupContext";
2014
+ const Ys = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], qs = pn("chevron-up", Ys), It = Vo(null);
2015
+ It.displayName = "PanelGroupContext";
2016
2016
  const ae = {
2017
2017
  group: "data-panel-group",
2018
2018
  groupDirection: "data-panel-group-direction",
@@ -2026,7 +2026,7 @@ const ae = {
2026
2026
  resizeHandleEnabled: "data-panel-resize-handle-enabled",
2027
2027
  resizeHandleId: "data-panel-resize-handle-id",
2028
2028
  resizeHandleState: "data-resize-handle-state"
2029
- }, mn = 10, He = Uo, Ln = l.useId, Zs = typeof Ln == "function" ? Ln : () => null;
2029
+ }, mn = 10, Fe = Uo, jn = l.useId, Zs = typeof jn == "function" ? jn : () => null;
2030
2030
  let Js = 0;
2031
2031
  function hn(e = null) {
2032
2032
  const t = Zs(), n = he(e || t || null);
@@ -2050,21 +2050,21 @@ function Cr({
2050
2050
  tagName: y = "div",
2051
2051
  ...u
2052
2052
  }) {
2053
- const g = Kn(Nt);
2053
+ const g = Kn(It);
2054
2054
  if (g === null)
2055
2055
  throw Error("Panel components must be rendered within a PanelGroup container");
2056
2056
  const {
2057
2057
  collapsePanel: v,
2058
2058
  expandPanel: b,
2059
2059
  getPanelSize: S,
2060
- getPanelStyle: P,
2061
- groupId: T,
2062
- isPanelCollapsed: A,
2060
+ getPanelStyle: E,
2061
+ groupId: A,
2062
+ isPanelCollapsed: I,
2063
2063
  reevaluatePanelConstraints: C,
2064
2064
  registerPanel: $,
2065
- resizePanel: _,
2065
+ resizePanel: M,
2066
2066
  unregisterPanel: H
2067
- } = g, W = hn(i), z = he({
2067
+ } = g, W = hn(i), _ = he({
2068
2068
  callbacks: {
2069
2069
  onCollapse: d,
2070
2070
  onExpand: h,
@@ -2083,61 +2083,61 @@ function Cr({
2083
2083
  });
2084
2084
  he({
2085
2085
  didLogMissingDefaultSizeWarning: !1
2086
- }), He(() => {
2086
+ }), Fe(() => {
2087
2087
  const {
2088
2088
  callbacks: X,
2089
2089
  constraints: V
2090
- } = z.current, B = {
2090
+ } = _.current, B = {
2091
2091
  ...V
2092
2092
  };
2093
- z.current.id = W, z.current.idIsFromProps = i !== void 0, z.current.order = p, X.onCollapse = d, X.onExpand = h, X.onResize = m, V.collapsedSize = n, V.collapsible = r, V.defaultSize = o, V.maxSize = s, V.minSize = c, (B.collapsedSize !== V.collapsedSize || B.collapsible !== V.collapsible || B.maxSize !== V.maxSize || B.minSize !== V.minSize) && C(z.current, B);
2094
- }), He(() => {
2095
- const X = z.current;
2093
+ _.current.id = W, _.current.idIsFromProps = i !== void 0, _.current.order = p, X.onCollapse = d, X.onExpand = h, X.onResize = m, V.collapsedSize = n, V.collapsible = r, V.defaultSize = o, V.maxSize = s, V.minSize = c, (B.collapsedSize !== V.collapsedSize || B.collapsible !== V.collapsible || B.maxSize !== V.maxSize || B.minSize !== V.minSize) && C(_.current, B);
2094
+ }), Fe(() => {
2095
+ const X = _.current;
2096
2096
  return $(X), () => {
2097
2097
  H(X);
2098
2098
  };
2099
2099
  }, [p, W, $, H]), Xn(a, () => ({
2100
2100
  collapse: () => {
2101
- v(z.current);
2101
+ v(_.current);
2102
2102
  },
2103
2103
  expand: (X) => {
2104
- b(z.current, X);
2104
+ b(_.current, X);
2105
2105
  },
2106
2106
  getId() {
2107
2107
  return W;
2108
2108
  },
2109
2109
  getSize() {
2110
- return S(z.current);
2110
+ return S(_.current);
2111
2111
  },
2112
2112
  isCollapsed() {
2113
- return A(z.current);
2113
+ return I(_.current);
2114
2114
  },
2115
2115
  isExpanded() {
2116
- return !A(z.current);
2116
+ return !I(_.current);
2117
2117
  },
2118
2118
  resize: (X) => {
2119
- _(z.current, X);
2119
+ M(_.current, X);
2120
2120
  }
2121
- }), [v, b, S, A, W, _]);
2122
- const j = P(z.current, o);
2123
- return Re(y, {
2121
+ }), [v, b, S, I, W, M]);
2122
+ const L = E(_.current, o);
2123
+ return Ne(y, {
2124
2124
  ...u,
2125
2125
  children: e,
2126
2126
  className: t,
2127
2127
  id: W,
2128
2128
  style: {
2129
- ...j,
2129
+ ...L,
2130
2130
  ...x
2131
2131
  },
2132
2132
  // CSS selectors
2133
- [ae.groupId]: T,
2133
+ [ae.groupId]: A,
2134
2134
  [ae.panel]: "",
2135
2135
  [ae.panelCollapsible]: r || void 0,
2136
2136
  [ae.panelId]: W,
2137
- [ae.panelSize]: parseFloat("" + j.flexGrow).toFixed(1)
2137
+ [ae.panelSize]: parseFloat("" + L.flexGrow).toFixed(1)
2138
2138
  });
2139
2139
  }
2140
- const Qs = Et((e, t) => Re(Cr, {
2140
+ const Qs = Et((e, t) => Ne(Cr, {
2141
2141
  ...e,
2142
2142
  forwardedRef: t
2143
2143
  }));
@@ -2146,7 +2146,7 @@ Qs.displayName = "forwardRef(Panel)";
2146
2146
  let Qt = null, xt = -1, De = null;
2147
2147
  function ei(e, t) {
2148
2148
  if (t) {
2149
- const n = (t & Nr) !== 0, r = (t & Ar) !== 0, o = (t & Dr) !== 0, a = (t & Tr) !== 0;
2149
+ const n = (t & Ir) !== 0, r = (t & Ar) !== 0, o = (t & Dr) !== 0, a = (t & Tr) !== 0;
2150
2150
  if (n)
2151
2151
  return o ? "se-resize" : a ? "ne-resize" : "e-resize";
2152
2152
  if (r)
@@ -2185,7 +2185,7 @@ function Er(e) {
2185
2185
  function Pr(e) {
2186
2186
  return e.type.startsWith("pointer");
2187
2187
  }
2188
- function Rr(e) {
2188
+ function Nr(e) {
2189
2189
  return e.type.startsWith("mouse");
2190
2190
  }
2191
2191
  function At(e) {
@@ -2195,7 +2195,7 @@ function At(e) {
2195
2195
  x: e.clientX,
2196
2196
  y: e.clientY
2197
2197
  };
2198
- } else if (Rr(e))
2198
+ } else if (Nr(e))
2199
2199
  return {
2200
2200
  x: e.clientX,
2201
2201
  y: e.clientY
@@ -2223,8 +2223,8 @@ function oi(e, t) {
2223
2223
  e = n.a.pop(), t = n.b.pop(), r = e;
2224
2224
  F(r, "Stacking order can only be calculated for elements with a common ancestor");
2225
2225
  const o = {
2226
- a: $n(jn(n.a)),
2227
- b: $n(jn(n.b))
2226
+ a: $n(Ln(n.a)),
2227
+ b: $n(Ln(n.b))
2228
2228
  };
2229
2229
  if (o.a === o.b) {
2230
2230
  const a = r.childNodes, i = {
@@ -2243,14 +2243,14 @@ function oi(e, t) {
2243
2243
  const ai = /\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;
2244
2244
  function si(e) {
2245
2245
  var t;
2246
- const n = getComputedStyle((t = Ir(e)) !== null && t !== void 0 ? t : e).display;
2246
+ const n = getComputedStyle((t = Rr(e)) !== null && t !== void 0 ? t : e).display;
2247
2247
  return n === "flex" || n === "inline-flex";
2248
2248
  }
2249
2249
  function ii(e) {
2250
2250
  const t = getComputedStyle(e);
2251
2251
  return !!(t.position === "fixed" || t.zIndex !== "auto" && (t.position !== "static" || si(e)) || +t.opacity < 1 || "transform" in t && t.transform !== "none" || "webkitTransform" in t && t.webkitTransform !== "none" || "mixBlendMode" in t && t.mixBlendMode !== "normal" || "filter" in t && t.filter !== "none" || "webkitFilter" in t && t.webkitFilter !== "none" || "isolation" in t && t.isolation === "isolate" || ai.test(t.willChange) || t.webkitOverflowScrolling === "touch");
2252
2252
  }
2253
- function jn(e) {
2253
+ function Ln(e) {
2254
2254
  let t = e.length;
2255
2255
  for (; t--; ) {
2256
2256
  const n = e[t];
@@ -2264,17 +2264,17 @@ function $n(e) {
2264
2264
  function Hn(e) {
2265
2265
  const t = [];
2266
2266
  for (; e; )
2267
- t.push(e), e = Ir(e);
2267
+ t.push(e), e = Rr(e);
2268
2268
  return t;
2269
2269
  }
2270
- function Ir(e) {
2270
+ function Rr(e) {
2271
2271
  const {
2272
2272
  parentNode: t
2273
2273
  } = e;
2274
2274
  return t && t instanceof ShadowRoot ? t.host : t;
2275
2275
  }
2276
- const Nr = 1, Ar = 2, Dr = 4, Tr = 8, li = ni() === "coarse";
2277
- let xe = [], tt = !1, Te = /* @__PURE__ */ new Map(), Dt = /* @__PURE__ */ new Map();
2276
+ const Ir = 1, Ar = 2, Dr = 4, Tr = 8, li = ni() === "coarse";
2277
+ let ye = [], tt = !1, Te = /* @__PURE__ */ new Map(), Dt = /* @__PURE__ */ new Map();
2278
2278
  const lt = /* @__PURE__ */ new Set();
2279
2279
  function ci(e, t, n, r, o) {
2280
2280
  var a;
@@ -2290,9 +2290,9 @@ function ci(e, t, n, r, o) {
2290
2290
  var h;
2291
2291
  Dt.delete(e), lt.delete(s);
2292
2292
  const m = (h = Te.get(i)) !== null && h !== void 0 ? h : 1;
2293
- if (Te.set(i, m - 1), yt(), m === 1 && Te.delete(i), xe.includes(s)) {
2294
- const p = xe.indexOf(s);
2295
- p >= 0 && xe.splice(p, 1), vn(), o("up", !0, null);
2293
+ if (Te.set(i, m - 1), yt(), m === 1 && Te.delete(i), ye.includes(s)) {
2294
+ const p = ye.indexOf(s);
2295
+ p >= 0 && ye.splice(p, 1), vn(), o("up", !0, null);
2296
2296
  }
2297
2297
  };
2298
2298
  }
@@ -2307,7 +2307,7 @@ function ui(e) {
2307
2307
  target: t,
2308
2308
  x: n,
2309
2309
  y: r
2310
- }), yt(), xe.length > 0 && (bt("down", e), e.preventDefault(), Mr(t) || e.stopImmediatePropagation());
2310
+ }), yt(), ye.length > 0 && (bt("down", e), e.preventDefault(), Mr(t) || e.stopImmediatePropagation());
2311
2311
  }
2312
2312
  function Gt(e) {
2313
2313
  const {
@@ -2324,7 +2324,7 @@ function Gt(e) {
2324
2324
  y: n
2325
2325
  });
2326
2326
  }
2327
- bt("move", e), vn(), xe.length > 0 && e.preventDefault();
2327
+ bt("move", e), vn(), ye.length > 0 && e.preventDefault();
2328
2328
  }
2329
2329
  function Kt(e) {
2330
2330
  const {
@@ -2333,7 +2333,7 @@ function Kt(e) {
2333
2333
  x: n,
2334
2334
  y: r
2335
2335
  } = At(e);
2336
- Dt.clear(), tt = !1, xe.length > 0 && (e.preventDefault(), Mr(t) || e.stopImmediatePropagation()), bt("up", e), gn({
2336
+ Dt.clear(), tt = !1, ye.length > 0 && (e.preventDefault(), Mr(t) || e.stopImmediatePropagation()), bt("up", e), gn({
2337
2337
  target: t,
2338
2338
  x: n,
2339
2339
  y: r
@@ -2353,7 +2353,7 @@ function gn({
2353
2353
  x: t,
2354
2354
  y: n
2355
2355
  }) {
2356
- xe.splice(0);
2356
+ ye.splice(0);
2357
2357
  let r = null;
2358
2358
  (e instanceof HTMLElement || e instanceof SVGElement) && (r = e), lt.forEach((o) => {
2359
2359
  const {
@@ -2381,7 +2381,7 @@ function gn({
2381
2381
  if (u)
2382
2382
  return;
2383
2383
  }
2384
- xe.push(o);
2384
+ ye.push(o);
2385
2385
  }
2386
2386
  });
2387
2387
  }
@@ -2390,7 +2390,7 @@ function Xt(e, t) {
2390
2390
  }
2391
2391
  function vn() {
2392
2392
  let e = !1, t = !1;
2393
- xe.forEach((r) => {
2393
+ ye.forEach((r) => {
2394
2394
  const {
2395
2395
  direction: o
2396
2396
  } = r;
@@ -2409,7 +2409,7 @@ function yt() {
2409
2409
  capture: !0,
2410
2410
  signal: Yt.signal
2411
2411
  };
2412
- lt.size && (tt ? (xe.length > 0 && Te.forEach((n, r) => {
2412
+ lt.size && (tt ? (ye.length > 0 && Te.forEach((n, r) => {
2413
2413
  const {
2414
2414
  body: o
2415
2415
  } = r;
@@ -2430,26 +2430,26 @@ function bt(e, t) {
2430
2430
  lt.forEach((n) => {
2431
2431
  const {
2432
2432
  setResizeHandlerState: r
2433
- } = n, o = xe.includes(n);
2433
+ } = n, o = ye.includes(n);
2434
2434
  r(e, o, t);
2435
2435
  });
2436
2436
  }
2437
2437
  function di() {
2438
- const [e, t] = Me(0);
2438
+ const [e, t] = ze(0);
2439
2439
  return me(() => t((n) => n + 1), []);
2440
2440
  }
2441
2441
  function F(e, t) {
2442
2442
  if (!e)
2443
2443
  throw Error(t);
2444
2444
  }
2445
- function Be(e, t, n = mn) {
2445
+ function We(e, t, n = mn) {
2446
2446
  return e.toFixed(n) === t.toFixed(n) ? 0 : e > t ? 1 : -1;
2447
2447
  }
2448
2448
  function Pe(e, t, n = mn) {
2449
- return Be(e, t, n) === 0;
2449
+ return We(e, t, n) === 0;
2450
2450
  }
2451
2451
  function ge(e, t, n) {
2452
- return Be(e, t, n) === 0;
2452
+ return We(e, t, n) === 0;
2453
2453
  }
2454
2454
  function fi(e, t, n) {
2455
2455
  if (e.length !== t.length)
@@ -2474,10 +2474,10 @@ function Je({
2474
2474
  maxSize: i = 100,
2475
2475
  minSize: s = 0
2476
2476
  } = r;
2477
- if (Be(n, s) < 0)
2477
+ if (We(n, s) < 0)
2478
2478
  if (a) {
2479
2479
  const c = (o + s) / 2;
2480
- Be(n, c) < 0 ? n = o : n = s;
2480
+ We(n, c) < 0 ? n = o : n = s;
2481
2481
  } else
2482
2482
  n = s;
2483
2483
  return n = Math.min(i, n), n = parseFloat(n.toFixed(mn)), n;
@@ -2508,7 +2508,7 @@ function ot({
2508
2508
  const g = t[m];
2509
2509
  if (F(g != null, `Previous layout not found for panel index ${m}`), ge(g, x)) {
2510
2510
  const v = u - g;
2511
- Be(v, Math.abs(e)) > 0 && (e = e < 0 ? 0 - v : v);
2511
+ We(v, Math.abs(e)) > 0 && (e = e < 0 ? 0 - v : v);
2512
2512
  }
2513
2513
  }
2514
2514
  }
@@ -2524,7 +2524,7 @@ function ot({
2524
2524
  const g = t[m];
2525
2525
  if (F(g != null, `Previous layout not found for panel index ${m}`), ge(g, u)) {
2526
2526
  const v = g - x;
2527
- Be(v, Math.abs(e)) > 0 && (e = e < 0 ? 0 - v : v);
2527
+ We(v, Math.abs(e)) > 0 && (e = e < 0 ? 0 - v : v);
2528
2528
  }
2529
2529
  }
2530
2530
  }
@@ -2578,12 +2578,12 @@ function ot({
2578
2578
  for (; v >= 0 && v < n.length; ) {
2579
2579
  const b = i[v];
2580
2580
  F(b != null, `Previous layout not found for panel index ${v}`);
2581
- const S = b + u, P = Je({
2581
+ const S = b + u, E = Je({
2582
2582
  panelConstraints: n,
2583
2583
  panelIndex: v,
2584
2584
  size: S
2585
2585
  });
2586
- if (ge(b, P) || (u -= P - b, i[v] = P), ge(u, 0))
2586
+ if (ge(b, E) || (u -= E - b, i[v] = E), ge(u, 0))
2587
2587
  break;
2588
2588
  e > 0 ? v-- : v++;
2589
2589
  }
@@ -2618,12 +2618,12 @@ function pi({
2618
2618
  function ct(e, t = document) {
2619
2619
  return Array.from(t.querySelectorAll(`[${ae.resizeHandleId}][data-panel-group-id="${e}"]`));
2620
2620
  }
2621
- function _r(e, t, n = document) {
2621
+ function zr(e, t, n = document) {
2622
2622
  const o = ct(e, n).findIndex((a) => a.getAttribute(ae.resizeHandleId) === t);
2623
2623
  return o ?? null;
2624
2624
  }
2625
- function zr(e, t, n) {
2626
- const r = _r(e, t, n);
2625
+ function _r(e, t, n) {
2626
+ const r = zr(e, t, n);
2627
2627
  return r != null ? [r, r + 1] : [-1, -1];
2628
2628
  }
2629
2629
  function mi(e) {
@@ -2655,7 +2655,7 @@ function gi({
2655
2655
  }) {
2656
2656
  he({
2657
2657
  didWarnAboutMissingResizeHandle: !1
2658
- }), He(() => {
2658
+ }), Fe(() => {
2659
2659
  if (!a)
2660
2660
  return;
2661
2661
  const s = ct(n, a);
@@ -2706,17 +2706,17 @@ function gi({
2706
2706
  if (b >= 0) {
2707
2707
  const S = c[b];
2708
2708
  F(S, `No panel data found for index ${b}`);
2709
- const P = r[b], {
2710
- collapsedSize: T = 0,
2711
- collapsible: A,
2709
+ const E = r[b], {
2710
+ collapsedSize: A = 0,
2711
+ collapsible: I,
2712
2712
  minSize: C = 0
2713
2713
  } = S.constraints;
2714
- if (P != null && A) {
2714
+ if (E != null && I) {
2715
2715
  const $ = ot({
2716
- delta: ge(P, T) ? C - T : T - P,
2716
+ delta: ge(E, A) ? C - A : A - E,
2717
2717
  initialLayout: r,
2718
- panelConstraints: c.map((_) => _.constraints),
2719
- pivotIndices: zr(n, x, a),
2718
+ panelConstraints: c.map((M) => M.constraints),
2719
+ pivotIndices: _r(n, x, a),
2720
2720
  prevLayout: r,
2721
2721
  trigger: "keyboard"
2722
2722
  });
@@ -2820,7 +2820,7 @@ function yi({
2820
2820
  }
2821
2821
  return t;
2822
2822
  }
2823
- function Ye(e, t, n) {
2823
+ function qe(e, t, n) {
2824
2824
  t.forEach((r, o) => {
2825
2825
  const a = e[o];
2826
2826
  F(a, `Panel data not found for index ${o}`);
@@ -2893,10 +2893,10 @@ function Bn(e) {
2893
2893
  };
2894
2894
  }
2895
2895
  }
2896
- function Lr(e) {
2896
+ function jr(e) {
2897
2897
  return `react-resizable-panels:${e}`;
2898
2898
  }
2899
- function jr(e) {
2899
+ function Lr(e) {
2900
2900
  return e.map((t) => {
2901
2901
  const {
2902
2902
  constraints: n,
@@ -2909,7 +2909,7 @@ function jr(e) {
2909
2909
  }
2910
2910
  function $r(e, t) {
2911
2911
  try {
2912
- const n = Lr(e), r = t.getItem(n);
2912
+ const n = jr(e), r = t.getItem(n);
2913
2913
  if (r) {
2914
2914
  const o = JSON.parse(r);
2915
2915
  if (typeof o == "object" && o != null)
@@ -2921,12 +2921,12 @@ function $r(e, t) {
2921
2921
  }
2922
2922
  function Si(e, t, n) {
2923
2923
  var r, o;
2924
- const a = (r = $r(e, n)) !== null && r !== void 0 ? r : {}, i = jr(t);
2924
+ const a = (r = $r(e, n)) !== null && r !== void 0 ? r : {}, i = Lr(t);
2925
2925
  return (o = a[i]) !== null && o !== void 0 ? o : null;
2926
2926
  }
2927
2927
  function Ci(e, t, n, r, o) {
2928
2928
  var a;
2929
- const i = Lr(e), s = jr(t), c = (a = $r(e, o)) !== null && a !== void 0 ? a : {};
2929
+ const i = jr(e), s = Lr(t), c = (a = $r(e, o)) !== null && a !== void 0 ? a : {};
2930
2930
  c[s] = {
2931
2931
  expandToSizes: Object.fromEntries(n.entries()),
2932
2932
  layout: r
@@ -2995,7 +2995,7 @@ function Hr({
2995
2995
  tagName: h = "div",
2996
2996
  ...m
2997
2997
  }) {
2998
- const p = hn(a), x = he(null), [y, u] = Me(null), [g, v] = Me([]), b = di(), S = he({}), P = he(/* @__PURE__ */ new Map()), T = he(0), A = he({
2998
+ const p = hn(a), x = he(null), [y, u] = ze(null), [g, v] = ze([]), b = di(), S = he({}), E = he(/* @__PURE__ */ new Map()), A = he(0), I = he({
2999
2999
  autoSaveId: e,
3000
3000
  direction: r,
3001
3001
  dragState: y,
@@ -3013,29 +3013,29 @@ function Hr({
3013
3013
  didLogPanelConstraintsWarning: !1,
3014
3014
  prevPanelIds: []
3015
3015
  }), Xn(o, () => ({
3016
- getId: () => A.current.id,
3016
+ getId: () => I.current.id,
3017
3017
  getLayout: () => {
3018
3018
  const {
3019
- layout: E
3019
+ layout: P
3020
3020
  } = C.current;
3021
- return E;
3021
+ return P;
3022
3022
  },
3023
- setLayout: (E) => {
3023
+ setLayout: (P) => {
3024
3024
  const {
3025
- onLayout: N
3026
- } = A.current, {
3027
- layout: M,
3028
- panelDataArray: D
3025
+ onLayout: D
3026
+ } = I.current, {
3027
+ layout: z,
3028
+ panelDataArray: T
3029
3029
  } = C.current, w = Wn({
3030
- layout: E,
3031
- panelConstraints: D.map((R) => R.constraints)
3030
+ layout: P,
3031
+ panelConstraints: T.map((N) => N.constraints)
3032
3032
  });
3033
- Fn(M, w) || (v(w), C.current.layout = w, N && N(w), Ye(D, w, S.current));
3033
+ Fn(z, w) || (v(w), C.current.layout = w, D && D(w), qe(T, w, S.current));
3034
3034
  }
3035
- }), []), He(() => {
3036
- A.current.autoSaveId = e, A.current.direction = r, A.current.dragState = y, A.current.id = p, A.current.onLayout = i, A.current.storage = c;
3035
+ }), []), Fe(() => {
3036
+ I.current.autoSaveId = e, I.current.direction = r, I.current.dragState = y, I.current.id = p, I.current.onLayout = i, I.current.storage = c;
3037
3037
  }), gi({
3038
- committedValuesRef: A,
3038
+ committedValuesRef: I,
3039
3039
  eagerValuesRef: C,
3040
3040
  groupId: p,
3041
3041
  layout: g,
@@ -3044,252 +3044,252 @@ function Hr({
3044
3044
  panelGroupElement: x.current
3045
3045
  }), _e(() => {
3046
3046
  const {
3047
- panelDataArray: E
3047
+ panelDataArray: P
3048
3048
  } = C.current;
3049
3049
  if (e) {
3050
- if (g.length === 0 || g.length !== E.length)
3050
+ if (g.length === 0 || g.length !== P.length)
3051
3051
  return;
3052
- let N = Vn[e];
3053
- N == null && (N = wi(Ci, Ei), Vn[e] = N);
3054
- const M = [...E], D = new Map(P.current);
3055
- N(e, M, D, g, c);
3052
+ let D = Vn[e];
3053
+ D == null && (D = wi(Ci, Ei), Vn[e] = D);
3054
+ const z = [...P], T = new Map(E.current);
3055
+ D(e, z, T, g, c);
3056
3056
  }
3057
3057
  }, [e, g, c]), _e(() => {
3058
3058
  });
3059
- const $ = me((E) => {
3059
+ const $ = me((P) => {
3060
3060
  const {
3061
- onLayout: N
3062
- } = A.current, {
3063
- layout: M,
3064
- panelDataArray: D
3061
+ onLayout: D
3062
+ } = I.current, {
3063
+ layout: z,
3064
+ panelDataArray: T
3065
3065
  } = C.current;
3066
- if (E.constraints.collapsible) {
3067
- const w = D.map((U) => U.constraints), {
3068
- collapsedSize: R = 0,
3069
- panelSize: L,
3066
+ if (P.constraints.collapsible) {
3067
+ const w = T.map((U) => U.constraints), {
3068
+ collapsedSize: N = 0,
3069
+ panelSize: j,
3070
3070
  pivotIndices: O
3071
- } = $e(D, E, M);
3072
- if (F(L != null, `Panel size not found for panel "${E.id}"`), !Pe(L, R)) {
3073
- P.current.set(E.id, L);
3074
- const K = qe(D, E) === D.length - 1 ? L - R : R - L, G = ot({
3071
+ } = He(T, P, z);
3072
+ if (F(j != null, `Panel size not found for panel "${P.id}"`), !Pe(j, N)) {
3073
+ E.current.set(P.id, j);
3074
+ const K = Ze(T, P) === T.length - 1 ? j - N : N - j, G = ot({
3075
3075
  delta: K,
3076
- initialLayout: M,
3076
+ initialLayout: z,
3077
3077
  panelConstraints: w,
3078
3078
  pivotIndices: O,
3079
- prevLayout: M,
3079
+ prevLayout: z,
3080
3080
  trigger: "imperative-api"
3081
3081
  });
3082
- ht(M, G) || (v(G), C.current.layout = G, N && N(G), Ye(D, G, S.current));
3082
+ ht(z, G) || (v(G), C.current.layout = G, D && D(G), qe(T, G, S.current));
3083
3083
  }
3084
3084
  }
3085
- }, []), _ = me((E, N) => {
3085
+ }, []), M = me((P, D) => {
3086
3086
  const {
3087
- onLayout: M
3088
- } = A.current, {
3089
- layout: D,
3087
+ onLayout: z
3088
+ } = I.current, {
3089
+ layout: T,
3090
3090
  panelDataArray: w
3091
3091
  } = C.current;
3092
- if (E.constraints.collapsible) {
3093
- const R = w.map((I) => I.constraints), {
3094
- collapsedSize: L = 0,
3092
+ if (P.constraints.collapsible) {
3093
+ const N = w.map((R) => R.constraints), {
3094
+ collapsedSize: j = 0,
3095
3095
  panelSize: O = 0,
3096
3096
  minSize: U = 0,
3097
3097
  pivotIndices: K
3098
- } = $e(w, E, D), G = N ?? U;
3099
- if (Pe(O, L)) {
3100
- const I = P.current.get(E.id), k = I != null && I >= G ? I : G, ie = qe(w, E) === w.length - 1 ? O - k : k - O, Z = ot({
3098
+ } = He(w, P, T), G = D ?? U;
3099
+ if (Pe(O, j)) {
3100
+ const R = E.current.get(P.id), k = R != null && R >= G ? R : G, ie = Ze(w, P) === w.length - 1 ? O - k : k - O, Z = ot({
3101
3101
  delta: ie,
3102
- initialLayout: D,
3103
- panelConstraints: R,
3102
+ initialLayout: T,
3103
+ panelConstraints: N,
3104
3104
  pivotIndices: K,
3105
- prevLayout: D,
3105
+ prevLayout: T,
3106
3106
  trigger: "imperative-api"
3107
3107
  });
3108
- ht(D, Z) || (v(Z), C.current.layout = Z, M && M(Z), Ye(w, Z, S.current));
3108
+ ht(T, Z) || (v(Z), C.current.layout = Z, z && z(Z), qe(w, Z, S.current));
3109
3109
  }
3110
3110
  }
3111
- }, []), H = me((E) => {
3111
+ }, []), H = me((P) => {
3112
3112
  const {
3113
- layout: N,
3114
- panelDataArray: M
3113
+ layout: D,
3114
+ panelDataArray: z
3115
3115
  } = C.current, {
3116
- panelSize: D
3117
- } = $e(M, E, N);
3118
- return F(D != null, `Panel size not found for panel "${E.id}"`), D;
3119
- }, []), W = me((E, N) => {
3116
+ panelSize: T
3117
+ } = He(z, P, D);
3118
+ return F(T != null, `Panel size not found for panel "${P.id}"`), T;
3119
+ }, []), W = me((P, D) => {
3120
3120
  const {
3121
- panelDataArray: M
3122
- } = C.current, D = qe(M, E);
3121
+ panelDataArray: z
3122
+ } = C.current, T = Ze(z, P);
3123
3123
  return bi({
3124
- defaultSize: N,
3124
+ defaultSize: D,
3125
3125
  dragState: y,
3126
3126
  layout: g,
3127
- panelData: M,
3128
- panelIndex: D
3127
+ panelData: z,
3128
+ panelIndex: T
3129
3129
  });
3130
- }, [y, g]), z = me((E) => {
3130
+ }, [y, g]), _ = me((P) => {
3131
3131
  const {
3132
- layout: N,
3133
- panelDataArray: M
3132
+ layout: D,
3133
+ panelDataArray: z
3134
3134
  } = C.current, {
3135
- collapsedSize: D = 0,
3135
+ collapsedSize: T = 0,
3136
3136
  collapsible: w,
3137
- panelSize: R
3138
- } = $e(M, E, N);
3139
- return F(R != null, `Panel size not found for panel "${E.id}"`), w === !0 && Pe(R, D);
3140
- }, []), j = me((E) => {
3137
+ panelSize: N
3138
+ } = He(z, P, D);
3139
+ return F(N != null, `Panel size not found for panel "${P.id}"`), w === !0 && Pe(N, T);
3140
+ }, []), L = me((P) => {
3141
3141
  const {
3142
- layout: N,
3143
- panelDataArray: M
3142
+ layout: D,
3143
+ panelDataArray: z
3144
3144
  } = C.current, {
3145
- collapsedSize: D = 0,
3145
+ collapsedSize: T = 0,
3146
3146
  collapsible: w,
3147
- panelSize: R
3148
- } = $e(M, E, N);
3149
- return F(R != null, `Panel size not found for panel "${E.id}"`), !w || Be(R, D) > 0;
3150
- }, []), X = me((E) => {
3147
+ panelSize: N
3148
+ } = He(z, P, D);
3149
+ return F(N != null, `Panel size not found for panel "${P.id}"`), !w || We(N, T) > 0;
3150
+ }, []), X = me((P) => {
3151
3151
  const {
3152
- panelDataArray: N
3152
+ panelDataArray: D
3153
3153
  } = C.current;
3154
- N.push(E), N.sort((M, D) => {
3155
- const w = M.order, R = D.order;
3156
- return w == null && R == null ? 0 : w == null ? -1 : R == null ? 1 : w - R;
3154
+ D.push(P), D.sort((z, T) => {
3155
+ const w = z.order, N = T.order;
3156
+ return w == null && N == null ? 0 : w == null ? -1 : N == null ? 1 : w - N;
3157
3157
  }), C.current.panelDataArrayChanged = !0, b();
3158
3158
  }, [b]);
3159
- He(() => {
3159
+ Fe(() => {
3160
3160
  if (C.current.panelDataArrayChanged) {
3161
3161
  C.current.panelDataArrayChanged = !1;
3162
3162
  const {
3163
- autoSaveId: E,
3164
- onLayout: N,
3165
- storage: M
3166
- } = A.current, {
3167
- layout: D,
3163
+ autoSaveId: P,
3164
+ onLayout: D,
3165
+ storage: z
3166
+ } = I.current, {
3167
+ layout: T,
3168
3168
  panelDataArray: w
3169
3169
  } = C.current;
3170
- let R = null;
3171
- if (E) {
3172
- const O = Si(E, w, M);
3173
- O && (P.current = new Map(Object.entries(O.expandToSizes)), R = O.layout);
3170
+ let N = null;
3171
+ if (P) {
3172
+ const O = Si(P, w, z);
3173
+ O && (E.current = new Map(Object.entries(O.expandToSizes)), N = O.layout);
3174
3174
  }
3175
- R == null && (R = yi({
3175
+ N == null && (N = yi({
3176
3176
  panelDataArray: w
3177
3177
  }));
3178
- const L = Wn({
3179
- layout: R,
3178
+ const j = Wn({
3179
+ layout: N,
3180
3180
  panelConstraints: w.map((O) => O.constraints)
3181
3181
  });
3182
- Fn(D, L) || (v(L), C.current.layout = L, N && N(L), Ye(w, L, S.current));
3182
+ Fn(T, j) || (v(j), C.current.layout = j, D && D(j), qe(w, j, S.current));
3183
3183
  }
3184
- }), He(() => {
3185
- const E = C.current;
3184
+ }), Fe(() => {
3185
+ const P = C.current;
3186
3186
  return () => {
3187
- E.layout = [];
3187
+ P.layout = [];
3188
3188
  };
3189
3189
  }, []);
3190
- const V = me((E) => {
3191
- let N = !1;
3192
- const M = x.current;
3193
- return M && window.getComputedStyle(M, null).getPropertyValue("direction") === "rtl" && (N = !0), function(w) {
3190
+ const V = me((P) => {
3191
+ let D = !1;
3192
+ const z = x.current;
3193
+ return z && window.getComputedStyle(z, null).getPropertyValue("direction") === "rtl" && (D = !0), function(w) {
3194
3194
  w.preventDefault();
3195
- const R = x.current;
3196
- if (!R)
3195
+ const N = x.current;
3196
+ if (!N)
3197
3197
  return () => null;
3198
3198
  const {
3199
- direction: L,
3199
+ direction: j,
3200
3200
  dragState: O,
3201
3201
  id: U,
3202
3202
  keyboardResizeBy: K,
3203
3203
  onLayout: G
3204
- } = A.current, {
3205
- layout: I,
3204
+ } = I.current, {
3205
+ layout: R,
3206
3206
  panelDataArray: k
3207
3207
  } = C.current, {
3208
3208
  initialLayout: ne
3209
- } = O ?? {}, ie = zr(U, E, R);
3210
- let Z = xi(w, E, L, O, K, R);
3211
- const Q = L === "horizontal";
3212
- Q && N && (Z = -Z);
3213
- const fe = k.map((Se) => Se.constraints), be = ot({
3209
+ } = O ?? {}, ie = _r(U, P, N);
3210
+ let Z = xi(w, P, j, O, K, N);
3211
+ const Q = j === "horizontal";
3212
+ Q && D && (Z = -Z);
3213
+ const fe = k.map((Ce) => Ce.constraints), we = ot({
3214
3214
  delta: Z,
3215
- initialLayout: ne ?? I,
3215
+ initialLayout: ne ?? R,
3216
3216
  panelConstraints: fe,
3217
3217
  pivotIndices: ie,
3218
- prevLayout: I,
3218
+ prevLayout: R,
3219
3219
  trigger: Er(w) ? "keyboard" : "mouse-or-touch"
3220
- }), pe = !ht(I, be);
3221
- (Pr(w) || Rr(w)) && T.current != Z && (T.current = Z, !pe && Z !== 0 ? Q ? Xt(E, Z < 0 ? Nr : Ar) : Xt(E, Z < 0 ? Dr : Tr) : Xt(E, 0)), pe && (v(be), C.current.layout = be, G && G(be), Ye(k, be, S.current));
3220
+ }), pe = !ht(R, we);
3221
+ (Pr(w) || Nr(w)) && A.current != Z && (A.current = Z, !pe && Z !== 0 ? Q ? Xt(P, Z < 0 ? Ir : Ar) : Xt(P, Z < 0 ? Dr : Tr) : Xt(P, 0)), pe && (v(we), C.current.layout = we, G && G(we), qe(k, we, S.current));
3222
3222
  };
3223
- }, []), B = me((E, N) => {
3223
+ }, []), B = me((P, D) => {
3224
3224
  const {
3225
- onLayout: M
3226
- } = A.current, {
3227
- layout: D,
3225
+ onLayout: z
3226
+ } = I.current, {
3227
+ layout: T,
3228
3228
  panelDataArray: w
3229
- } = C.current, R = w.map((I) => I.constraints), {
3230
- panelSize: L,
3229
+ } = C.current, N = w.map((R) => R.constraints), {
3230
+ panelSize: j,
3231
3231
  pivotIndices: O
3232
- } = $e(w, E, D);
3233
- F(L != null, `Panel size not found for panel "${E.id}"`);
3234
- const K = qe(w, E) === w.length - 1 ? L - N : N - L, G = ot({
3232
+ } = He(w, P, T);
3233
+ F(j != null, `Panel size not found for panel "${P.id}"`);
3234
+ const K = Ze(w, P) === w.length - 1 ? j - D : D - j, G = ot({
3235
3235
  delta: K,
3236
- initialLayout: D,
3237
- panelConstraints: R,
3236
+ initialLayout: T,
3237
+ panelConstraints: N,
3238
3238
  pivotIndices: O,
3239
- prevLayout: D,
3239
+ prevLayout: T,
3240
3240
  trigger: "imperative-api"
3241
3241
  });
3242
- ht(D, G) || (v(G), C.current.layout = G, M && M(G), Ye(w, G, S.current));
3243
- }, []), J = me((E, N) => {
3242
+ ht(T, G) || (v(G), C.current.layout = G, z && z(G), qe(w, G, S.current));
3243
+ }, []), J = me((P, D) => {
3244
3244
  const {
3245
- layout: M,
3246
- panelDataArray: D
3245
+ layout: z,
3246
+ panelDataArray: T
3247
3247
  } = C.current, {
3248
3248
  collapsedSize: w = 0,
3249
- collapsible: R
3250
- } = N, {
3251
- collapsedSize: L = 0,
3249
+ collapsible: N
3250
+ } = D, {
3251
+ collapsedSize: j = 0,
3252
3252
  collapsible: O,
3253
3253
  maxSize: U = 100,
3254
3254
  minSize: K = 0
3255
- } = E.constraints, {
3255
+ } = P.constraints, {
3256
3256
  panelSize: G
3257
- } = $e(D, E, M);
3258
- G != null && (R && O && Pe(G, w) ? Pe(w, L) || B(E, L) : G < K ? B(E, K) : G > U && B(E, U));
3259
- }, [B]), q = me((E, N) => {
3257
+ } = He(T, P, z);
3258
+ G != null && (N && O && Pe(G, w) ? Pe(w, j) || B(P, j) : G < K ? B(P, K) : G > U && B(P, U));
3259
+ }, [B]), q = me((P, D) => {
3260
3260
  const {
3261
- direction: M
3262
- } = A.current, {
3263
- layout: D
3261
+ direction: z
3262
+ } = I.current, {
3263
+ layout: T
3264
3264
  } = C.current;
3265
3265
  if (!x.current)
3266
3266
  return;
3267
- const w = Tt(E, x.current);
3268
- F(w, `Drag handle element not found for id "${E}"`);
3269
- const R = kr(M, N);
3267
+ const w = Tt(P, x.current);
3268
+ F(w, `Drag handle element not found for id "${P}"`);
3269
+ const N = kr(z, D);
3270
3270
  u({
3271
- dragHandleId: E,
3271
+ dragHandleId: P,
3272
3272
  dragHandleRect: w.getBoundingClientRect(),
3273
- initialCursorPosition: R,
3274
- initialLayout: D
3273
+ initialCursorPosition: N,
3274
+ initialLayout: T
3275
3275
  });
3276
3276
  }, []), Y = me(() => {
3277
3277
  u(null);
3278
- }, []), de = me((E) => {
3278
+ }, []), de = me((P) => {
3279
3279
  const {
3280
- panelDataArray: N
3281
- } = C.current, M = qe(N, E);
3282
- M >= 0 && (N.splice(M, 1), delete S.current[E.id], C.current.panelDataArrayChanged = !0, b());
3280
+ panelDataArray: D
3281
+ } = C.current, z = Ze(D, P);
3282
+ z >= 0 && (D.splice(z, 1), delete S.current[P.id], C.current.panelDataArrayChanged = !0, b());
3283
3283
  }, [b]), oe = Go(() => ({
3284
3284
  collapsePanel: $,
3285
3285
  direction: r,
3286
3286
  dragState: y,
3287
- expandPanel: _,
3287
+ expandPanel: M,
3288
3288
  getPanelSize: H,
3289
3289
  getPanelStyle: W,
3290
3290
  groupId: p,
3291
- isPanelCollapsed: z,
3292
- isPanelExpanded: j,
3291
+ isPanelCollapsed: _,
3292
+ isPanelExpanded: L,
3293
3293
  reevaluatePanelConstraints: J,
3294
3294
  registerPanel: X,
3295
3295
  registerResizeHandle: V,
@@ -3298,23 +3298,23 @@ function Hr({
3298
3298
  stopDragging: Y,
3299
3299
  unregisterPanel: de,
3300
3300
  panelGroupElement: x.current
3301
- }), [$, y, r, _, H, W, p, z, j, J, X, V, B, q, Y, de]), le = {
3301
+ }), [$, y, r, M, H, W, p, _, L, J, X, V, B, q, Y, de]), ce = {
3302
3302
  display: "flex",
3303
3303
  flexDirection: r === "horizontal" ? "row" : "column",
3304
3304
  height: "100%",
3305
3305
  overflow: "hidden",
3306
3306
  width: "100%"
3307
3307
  };
3308
- return Re(Nt.Provider, {
3308
+ return Ne(It.Provider, {
3309
3309
  value: oe
3310
- }, Re(h, {
3310
+ }, Ne(h, {
3311
3311
  ...m,
3312
3312
  children: t,
3313
3313
  className: n,
3314
3314
  id: a,
3315
3315
  ref: x,
3316
3316
  style: {
3317
- ...le,
3317
+ ...ce,
3318
3318
  ...d
3319
3319
  },
3320
3320
  // CSS selectors
@@ -3323,24 +3323,24 @@ function Hr({
3323
3323
  [ae.groupId]: p
3324
3324
  }));
3325
3325
  }
3326
- const Pi = Et((e, t) => Re(Hr, {
3326
+ const Pi = Et((e, t) => Ne(Hr, {
3327
3327
  ...e,
3328
3328
  forwardedRef: t
3329
3329
  }));
3330
3330
  Hr.displayName = "PanelGroup";
3331
3331
  Pi.displayName = "forwardRef(PanelGroup)";
3332
- function qe(e, t) {
3332
+ function Ze(e, t) {
3333
3333
  return e.findIndex((n) => n === t || n.id === t.id);
3334
3334
  }
3335
- function $e(e, t, n) {
3336
- const r = qe(e, t), a = r === e.length - 1 ? [r - 1, r] : [r, r + 1], i = n[r];
3335
+ function He(e, t, n) {
3336
+ const r = Ze(e, t), a = r === e.length - 1 ? [r - 1, r] : [r, r + 1], i = n[r];
3337
3337
  return {
3338
3338
  ...t.constraints,
3339
3339
  panelSize: i,
3340
3340
  pivotIndices: a
3341
3341
  };
3342
3342
  }
3343
- function Ri({
3343
+ function Ni({
3344
3344
  disabled: e,
3345
3345
  handleId: t,
3346
3346
  resizeHandler: n,
@@ -3368,7 +3368,7 @@ function Ri({
3368
3368
  i.preventDefault();
3369
3369
  const s = o.getAttribute(ae.groupId);
3370
3370
  F(s, `No group element found for id "${s}"`);
3371
- const c = ct(s, r), d = _r(s, t, r);
3371
+ const c = ct(s, r), d = zr(s, t, r);
3372
3372
  F(d !== null, `No resize element found for id "${t}"`);
3373
3373
  const h = i.shiftKey ? d > 0 ? d - 1 : c.length - 1 : d + 1 < c.length ? d + 1 : 0;
3374
3374
  c[h].focus();
@@ -3381,7 +3381,7 @@ function Ri({
3381
3381
  };
3382
3382
  }, [r, e, t, n]);
3383
3383
  }
3384
- function Ii({
3384
+ function Ri({
3385
3385
  children: e = null,
3386
3386
  className: t = "",
3387
3387
  disabled: n = !1,
@@ -3408,79 +3408,79 @@ function Ii({
3408
3408
  _e(() => {
3409
3409
  b.current.onClick = i, b.current.onDragging = s, b.current.onPointerDown = d, b.current.onPointerUp = h;
3410
3410
  });
3411
- const S = Kn(Nt);
3411
+ const S = Kn(It);
3412
3412
  if (S === null)
3413
3413
  throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
3414
3414
  const {
3415
- direction: P,
3416
- groupId: T,
3417
- registerResizeHandle: A,
3415
+ direction: E,
3416
+ groupId: A,
3417
+ registerResizeHandle: I,
3418
3418
  startDragging: C,
3419
3419
  stopDragging: $,
3420
- panelGroupElement: _
3421
- } = S, H = hn(o), [W, z] = Me("inactive"), [j, X] = Me(!1), [V, B] = Me(null), J = he({
3420
+ panelGroupElement: M
3421
+ } = S, H = hn(o), [W, _] = ze("inactive"), [L, X] = ze(!1), [V, B] = ze(null), J = he({
3422
3422
  state: W
3423
3423
  });
3424
- He(() => {
3424
+ Fe(() => {
3425
3425
  J.current.state = W;
3426
3426
  }), _e(() => {
3427
3427
  if (n)
3428
3428
  B(null);
3429
3429
  else {
3430
- const oe = A(H);
3430
+ const oe = I(H);
3431
3431
  B(() => oe);
3432
3432
  }
3433
- }, [n, H, A]);
3433
+ }, [n, H, I]);
3434
3434
  const q = (u = r?.coarse) !== null && u !== void 0 ? u : 15, Y = (g = r?.fine) !== null && g !== void 0 ? g : 5;
3435
3435
  return _e(() => {
3436
3436
  if (n || V == null)
3437
3437
  return;
3438
3438
  const oe = v.current;
3439
3439
  F(oe, "Element ref not attached");
3440
- let le = !1;
3441
- return ci(H, oe, P, {
3440
+ let ce = !1;
3441
+ return ci(H, oe, E, {
3442
3442
  coarse: q,
3443
3443
  fine: Y
3444
- }, (N, M, D) => {
3445
- if (!M) {
3446
- z("inactive");
3444
+ }, (D, z, T) => {
3445
+ if (!z) {
3446
+ _("inactive");
3447
3447
  return;
3448
3448
  }
3449
- switch (N) {
3449
+ switch (D) {
3450
3450
  case "down": {
3451
- z("drag"), le = !1, F(D, 'Expected event to be defined for "down" action'), C(H, D);
3451
+ _("drag"), ce = !1, F(T, 'Expected event to be defined for "down" action'), C(H, T);
3452
3452
  const {
3453
3453
  onDragging: w,
3454
- onPointerDown: R
3454
+ onPointerDown: N
3455
3455
  } = b.current;
3456
- w?.(!0), R?.();
3456
+ w?.(!0), N?.();
3457
3457
  break;
3458
3458
  }
3459
3459
  case "move": {
3460
3460
  const {
3461
3461
  state: w
3462
3462
  } = J.current;
3463
- le = !0, w !== "drag" && z("hover"), F(D, 'Expected event to be defined for "move" action'), V(D);
3463
+ ce = !0, w !== "drag" && _("hover"), F(T, 'Expected event to be defined for "move" action'), V(T);
3464
3464
  break;
3465
3465
  }
3466
3466
  case "up": {
3467
- z("hover"), $();
3467
+ _("hover"), $();
3468
3468
  const {
3469
3469
  onClick: w,
3470
- onDragging: R,
3471
- onPointerUp: L
3470
+ onDragging: N,
3471
+ onPointerUp: j
3472
3472
  } = b.current;
3473
- R?.(!1), L?.(), le || w?.();
3473
+ N?.(!1), j?.(), ce || w?.();
3474
3474
  break;
3475
3475
  }
3476
3476
  }
3477
3477
  });
3478
- }, [q, P, n, Y, A, H, V, C, $]), Ri({
3478
+ }, [q, E, n, Y, I, H, V, C, $]), Ni({
3479
3479
  disabled: n,
3480
3480
  handleId: H,
3481
3481
  resizeHandler: V,
3482
- panelGroupElement: _
3483
- }), Re(x, {
3482
+ panelGroupElement: M
3483
+ }), Ne(x, {
3484
3484
  ...y,
3485
3485
  children: e,
3486
3486
  className: t,
@@ -3502,17 +3502,17 @@ function Ii({
3502
3502
  },
3503
3503
  tabIndex: p,
3504
3504
  // CSS selectors
3505
- [ae.groupDirection]: P,
3506
- [ae.groupId]: T,
3505
+ [ae.groupDirection]: E,
3506
+ [ae.groupId]: A,
3507
3507
  [ae.resizeHandle]: "",
3508
- [ae.resizeHandleActive]: W === "drag" ? "pointer" : j ? "keyboard" : void 0,
3508
+ [ae.resizeHandleActive]: W === "drag" ? "pointer" : L ? "keyboard" : void 0,
3509
3509
  [ae.resizeHandleEnabled]: !n,
3510
3510
  [ae.resizeHandleId]: H,
3511
3511
  [ae.resizeHandleState]: W
3512
3512
  });
3513
3513
  }
3514
- Ii.displayName = "PanelResizeHandle";
3515
- var Mt = "Dialog", [Fr, dc] = Pt(Mt), [Ni, ye] = Fr(Mt), Br = (e) => {
3514
+ Ri.displayName = "PanelResizeHandle";
3515
+ var Mt = "Dialog", [Fr, fc] = Pt(Mt), [Ii, be] = Fr(Mt), Br = (e) => {
3516
3516
  const {
3517
3517
  __scopeDialog: t,
3518
3518
  children: n,
@@ -3527,7 +3527,7 @@ var Mt = "Dialog", [Fr, dc] = Pt(Mt), [Ni, ye] = Fr(Mt), Br = (e) => {
3527
3527
  caller: Mt
3528
3528
  });
3529
3529
  return /* @__PURE__ */ f.jsx(
3530
- Ni,
3530
+ Ii,
3531
3531
  {
3532
3532
  scope: t,
3533
3533
  triggerRef: s,
@@ -3546,7 +3546,7 @@ var Mt = "Dialog", [Fr, dc] = Pt(Mt), [Ni, ye] = Fr(Mt), Br = (e) => {
3546
3546
  Br.displayName = Mt;
3547
3547
  var Wr = "DialogTrigger", Vr = l.forwardRef(
3548
3548
  (e, t) => {
3549
- const { __scopeDialog: n, ...r } = e, o = ye(Wr, n), a = se(t, o.triggerRef);
3549
+ const { __scopeDialog: n, ...r } = e, o = be(Wr, n), a = se(t, o.triggerRef);
3550
3550
  return /* @__PURE__ */ f.jsx(
3551
3551
  ee.button,
3552
3552
  {
@@ -3566,20 +3566,20 @@ Vr.displayName = Wr;
3566
3566
  var xn = "DialogPortal", [Ai, Ur] = Fr(xn, {
3567
3567
  forceMount: void 0
3568
3568
  }), Gr = (e) => {
3569
- const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, a = ye(xn, t);
3570
- return /* @__PURE__ */ f.jsx(Ai, { scope: t, forceMount: n, children: l.Children.map(r, (i) => /* @__PURE__ */ f.jsx(Rt, { present: n || a.open, children: /* @__PURE__ */ f.jsx(dn, { asChild: !0, container: o, children: i }) })) });
3569
+ const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, a = be(xn, t);
3570
+ return /* @__PURE__ */ f.jsx(Ai, { scope: t, forceMount: n, children: l.Children.map(r, (i) => /* @__PURE__ */ f.jsx(Nt, { present: n || a.open, children: /* @__PURE__ */ f.jsx(dn, { asChild: !0, container: o, children: i }) })) });
3571
3571
  };
3572
3572
  Gr.displayName = xn;
3573
3573
  var wt = "DialogOverlay", Kr = l.forwardRef(
3574
3574
  (e, t) => {
3575
- const n = Ur(wt, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = ye(wt, e.__scopeDialog);
3576
- return a.modal ? /* @__PURE__ */ f.jsx(Rt, { present: r || a.open, children: /* @__PURE__ */ f.jsx(Ti, { ...o, ref: t }) }) : null;
3575
+ const n = Ur(wt, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = be(wt, e.__scopeDialog);
3576
+ return a.modal ? /* @__PURE__ */ f.jsx(Nt, { present: r || a.open, children: /* @__PURE__ */ f.jsx(Ti, { ...o, ref: t }) }) : null;
3577
3577
  }
3578
3578
  );
3579
3579
  Kr.displayName = wt;
3580
3580
  var Di = it("DialogOverlay.RemoveScroll"), Ti = l.forwardRef(
3581
3581
  (e, t) => {
3582
- const { __scopeDialog: n, ...r } = e, o = ye(wt, n);
3582
+ const { __scopeDialog: n, ...r } = e, o = be(wt, n);
3583
3583
  return (
3584
3584
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
3585
3585
  // ie. when `Overlay` and `Content` are siblings
@@ -3594,16 +3594,16 @@ var Di = it("DialogOverlay.RemoveScroll"), Ti = l.forwardRef(
3594
3594
  ) })
3595
3595
  );
3596
3596
  }
3597
- ), We = "DialogContent", Xr = l.forwardRef(
3597
+ ), Ve = "DialogContent", Xr = l.forwardRef(
3598
3598
  (e, t) => {
3599
- const n = Ur(We, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = ye(We, e.__scopeDialog);
3600
- return /* @__PURE__ */ f.jsx(Rt, { present: r || a.open, children: a.modal ? /* @__PURE__ */ f.jsx(Mi, { ...o, ref: t }) : /* @__PURE__ */ f.jsx(_i, { ...o, ref: t }) });
3599
+ const n = Ur(Ve, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = be(Ve, e.__scopeDialog);
3600
+ return /* @__PURE__ */ f.jsx(Nt, { present: r || a.open, children: a.modal ? /* @__PURE__ */ f.jsx(Mi, { ...o, ref: t }) : /* @__PURE__ */ f.jsx(zi, { ...o, ref: t }) });
3601
3601
  }
3602
3602
  );
3603
- Xr.displayName = We;
3603
+ Xr.displayName = Ve;
3604
3604
  var Mi = l.forwardRef(
3605
3605
  (e, t) => {
3606
- const n = ye(We, e.__scopeDialog), r = l.useRef(null), o = se(t, n.contentRef, r);
3606
+ const n = be(Ve, e.__scopeDialog), r = l.useRef(null), o = se(t, n.contentRef, r);
3607
3607
  return l.useEffect(() => {
3608
3608
  const a = r.current;
3609
3609
  if (a) return pr(a);
@@ -3628,9 +3628,9 @@ var Mi = l.forwardRef(
3628
3628
  }
3629
3629
  );
3630
3630
  }
3631
- ), _i = l.forwardRef(
3631
+ ), zi = l.forwardRef(
3632
3632
  (e, t) => {
3633
- const n = ye(We, e.__scopeDialog), r = l.useRef(!1), o = l.useRef(!1);
3633
+ const n = be(Ve, e.__scopeDialog), r = l.useRef(!1), o = l.useRef(!1);
3634
3634
  return /* @__PURE__ */ f.jsx(
3635
3635
  Yr,
3636
3636
  {
@@ -3651,7 +3651,7 @@ var Mi = l.forwardRef(
3651
3651
  }
3652
3652
  ), Yr = l.forwardRef(
3653
3653
  (e, t) => {
3654
- const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: a, ...i } = e, s = ye(We, n), c = l.useRef(null), d = se(t, c);
3654
+ const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: a, ...i } = e, s = be(Ve, n), c = l.useRef(null), d = se(t, c);
3655
3655
  return Qn(), /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
3656
3656
  /* @__PURE__ */ f.jsx(
3657
3657
  ln,
@@ -3677,28 +3677,28 @@ var Mi = l.forwardRef(
3677
3677
  }
3678
3678
  ),
3679
3679
  /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
3680
- /* @__PURE__ */ f.jsx(zi, { titleId: s.titleId }),
3680
+ /* @__PURE__ */ f.jsx(_i, { titleId: s.titleId }),
3681
3681
  /* @__PURE__ */ f.jsx(ki, { contentRef: c, descriptionId: s.descriptionId })
3682
3682
  ] })
3683
3683
  ] });
3684
3684
  }
3685
3685
  ), yn = "DialogTitle", qr = l.forwardRef(
3686
3686
  (e, t) => {
3687
- const { __scopeDialog: n, ...r } = e, o = ye(yn, n);
3687
+ const { __scopeDialog: n, ...r } = e, o = be(yn, n);
3688
3688
  return /* @__PURE__ */ f.jsx(ee.h2, { id: o.titleId, ...r, ref: t });
3689
3689
  }
3690
3690
  );
3691
3691
  qr.displayName = yn;
3692
3692
  var Zr = "DialogDescription", Jr = l.forwardRef(
3693
3693
  (e, t) => {
3694
- const { __scopeDialog: n, ...r } = e, o = ye(Zr, n);
3694
+ const { __scopeDialog: n, ...r } = e, o = be(Zr, n);
3695
3695
  return /* @__PURE__ */ f.jsx(ee.p, { id: o.descriptionId, ...r, ref: t });
3696
3696
  }
3697
3697
  );
3698
3698
  Jr.displayName = Zr;
3699
3699
  var Qr = "DialogClose", eo = l.forwardRef(
3700
3700
  (e, t) => {
3701
- const { __scopeDialog: n, ...r } = e, o = ye(Qr, n);
3701
+ const { __scopeDialog: n, ...r } = e, o = be(Qr, n);
3702
3702
  return /* @__PURE__ */ f.jsx(
3703
3703
  ee.button,
3704
3704
  {
@@ -3714,11 +3714,11 @@ eo.displayName = Qr;
3714
3714
  function bn(e) {
3715
3715
  return e ? "open" : "closed";
3716
3716
  }
3717
- var to = "DialogTitleWarning", [fc, no] = ma(to, {
3718
- contentName: We,
3717
+ var to = "DialogTitleWarning", [pc, no] = ma(to, {
3718
+ contentName: Ve,
3719
3719
  titleName: yn,
3720
3720
  docsSlug: "dialog"
3721
- }), zi = ({ titleId: e }) => {
3721
+ }), _i = ({ titleId: e }) => {
3722
3722
  const t = no(to), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
3723
3723
 
3724
3724
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
@@ -3737,17 +3737,17 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
3737
3737
  const a = document.getElementById(t);
3738
3738
  }
3739
3739
  }, [r, e, t]), null;
3740
- }, Li = Br, ji = Vr, $i = Gr, Hi = Kr, Fi = Xr, Bi = qr, Wi = Jr, ro = eo;
3741
- function pc({ ...e }) {
3742
- return /* @__PURE__ */ f.jsx(Li, { "data-slot": "dialog", ...e });
3743
- }
3740
+ }, ji = Br, Li = Vr, $i = Gr, Hi = Kr, Fi = Xr, Bi = qr, Wi = Jr, ro = eo;
3744
3741
  function mc({ ...e }) {
3745
- return /* @__PURE__ */ f.jsx(ji, { "data-slot": "dialog-trigger", ...e });
3742
+ return /* @__PURE__ */ f.jsx(ji, { "data-slot": "dialog", ...e });
3743
+ }
3744
+ function hc({ ...e }) {
3745
+ return /* @__PURE__ */ f.jsx(Li, { "data-slot": "dialog-trigger", ...e });
3746
3746
  }
3747
3747
  function Vi({ ...e }) {
3748
3748
  return /* @__PURE__ */ f.jsx($i, { "data-slot": "dialog-portal", ...e });
3749
3749
  }
3750
- function hc({ ...e }) {
3750
+ function gc({ ...e }) {
3751
3751
  return /* @__PURE__ */ f.jsx(ro, { "data-slot": "dialog-close", ...e });
3752
3752
  }
3753
3753
  function Ui({ className: e, backdrop: t, ...n }) {
@@ -3767,7 +3767,7 @@ function Ui({ className: e, backdrop: t, ...n }) {
3767
3767
  Hi,
3768
3768
  {
3769
3769
  "data-slot": "dialog-overlay",
3770
- className: ce(
3770
+ className: le(
3771
3771
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
3772
3772
  r,
3773
3773
  e
@@ -3776,7 +3776,7 @@ function Ui({ className: e, backdrop: t, ...n }) {
3776
3776
  }
3777
3777
  );
3778
3778
  }
3779
- const gc = l.forwardRef(
3779
+ const vc = l.forwardRef(
3780
3780
  ({ className: e, children: t, showCloseButton: n = !0, disabled: r = !1, backdrop: o = "opaque", ...a }, i) => /* @__PURE__ */ f.jsx(qo, { children: /* @__PURE__ */ f.jsxs(Vi, { "data-slot": "dialog-portal", children: [
3781
3781
  /* @__PURE__ */ f.jsx(Ui, { backdrop: o }),
3782
3782
  /* @__PURE__ */ f.jsxs(
@@ -3784,7 +3784,7 @@ const gc = l.forwardRef(
3784
3784
  {
3785
3785
  "data-slot": "dialog-content",
3786
3786
  ref: i,
3787
- className: ce(
3787
+ className: le(
3788
3788
  "bg-content1 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg p-6 shadow-lg duration-200 sm:max-w-lg",
3789
3789
  e
3790
3790
  ),
@@ -3814,17 +3814,17 @@ const gc = l.forwardRef(
3814
3814
  )
3815
3815
  ] }) })
3816
3816
  );
3817
- function vc({ className: e, ...t }) {
3818
- return /* @__PURE__ */ f.jsx("div", { "data-slot": "dialog-header", className: ce("flex flex-col gap-2 text-center sm:text-left", e), ...t });
3819
- }
3820
3817
  function xc({ className: e, ...t }) {
3821
- return /* @__PURE__ */ f.jsx("div", { "data-slot": "dialog-footer", className: ce("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e), ...t });
3818
+ return /* @__PURE__ */ f.jsx("div", { "data-slot": "dialog-header", className: le("flex flex-col gap-2 text-center sm:text-left", e), ...t });
3822
3819
  }
3823
3820
  function yc({ className: e, ...t }) {
3824
- return /* @__PURE__ */ f.jsx(Bi, { "data-slot": "dialog-title", className: ce("text-lg leading-none font-semibold", e), ...t });
3821
+ return /* @__PURE__ */ f.jsx("div", { "data-slot": "dialog-footer", className: le("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e), ...t });
3825
3822
  }
3826
3823
  function bc({ className: e, ...t }) {
3827
- return /* @__PURE__ */ f.jsx(Wi, { "data-slot": "dialog-description", className: ce("text-muted-foreground text-sm", e), ...t });
3824
+ return /* @__PURE__ */ f.jsx(Bi, { "data-slot": "dialog-title", className: le("text-lg leading-none font-semibold", e), ...t });
3825
+ }
3826
+ function wc({ className: e, ...t }) {
3827
+ return /* @__PURE__ */ f.jsx(Wi, { "data-slot": "dialog-description", className: le("text-muted-foreground text-sm", e), ...t });
3828
3828
  }
3829
3829
  function Gi(e) {
3830
3830
  const t = l.useRef({ value: e, previous: e });
@@ -3853,14 +3853,14 @@ var oo = Object.freeze({
3853
3853
  )
3854
3854
  );
3855
3855
  ao.displayName = Ki;
3856
- var wc = ao;
3856
+ var Sc = ao;
3857
3857
  function Un(e, [t, n]) {
3858
3858
  return Math.min(n, Math.max(t, e));
3859
3859
  }
3860
- var Xi = [" ", "Enter", "ArrowUp", "ArrowDown"], Yi = [" ", "Enter"], Ve = "Select", [_t, zt, qi] = ya(Ve), [nt, Sc] = Pt(Ve, [
3860
+ var Xi = [" ", "Enter", "ArrowUp", "ArrowDown"], Yi = [" ", "Enter"], Ue = "Select", [zt, _t, qi] = ya(Ue), [nt, Cc] = Pt(Ue, [
3861
3861
  qi,
3862
3862
  rr
3863
- ]), Ot = rr(), [Zi, ze] = nt(Ve), [Ji, Qi] = nt(Ve), so = (e) => {
3863
+ ]), Ot = rr(), [Zi, Oe] = nt(Ue), [Ji, Qi] = nt(Ue), so = (e) => {
3864
3864
  const {
3865
3865
  __scopeSelect: t,
3866
3866
  children: n,
@@ -3876,17 +3876,17 @@ var Xi = [" ", "Enter", "ArrowUp", "ArrowDown"], Yi = [" ", "Enter"], Ve = "Sele
3876
3876
  disabled: p,
3877
3877
  required: x,
3878
3878
  form: y
3879
- } = e, u = Ot(t), [g, v] = l.useState(null), [b, S] = l.useState(null), [P, T] = l.useState(!1), A = wa(d), [C, $] = qt({
3879
+ } = e, u = Ot(t), [g, v] = l.useState(null), [b, S] = l.useState(null), [E, A] = l.useState(!1), I = wa(d), [C, $] = qt({
3880
3880
  prop: r,
3881
3881
  defaultProp: o ?? !1,
3882
3882
  onChange: a,
3883
- caller: Ve
3884
- }), [_, H] = qt({
3883
+ caller: Ue
3884
+ }), [M, H] = qt({
3885
3885
  prop: i,
3886
3886
  defaultProp: s,
3887
3887
  onChange: c,
3888
- caller: Ve
3889
- }), W = l.useRef(null), z = g ? y || !!g.closest("form") : !0, [j, X] = l.useState(/* @__PURE__ */ new Set()), V = Array.from(j).map((B) => B.props.value).join(";");
3888
+ caller: Ue
3889
+ }), W = l.useRef(null), _ = g ? y || !!g.closest("form") : !0, [L, X] = l.useState(/* @__PURE__ */ new Set()), V = Array.from(L).map((B) => B.props.value).join(";");
3890
3890
  return /* @__PURE__ */ f.jsx(Xa, { ...u, children: /* @__PURE__ */ f.jsxs(
3891
3891
  Zi,
3892
3892
  {
@@ -3896,18 +3896,18 @@ var Xi = [" ", "Enter", "ArrowUp", "ArrowDown"], Yi = [" ", "Enter"], Ve = "Sele
3896
3896
  onTriggerChange: v,
3897
3897
  valueNode: b,
3898
3898
  onValueNodeChange: S,
3899
- valueNodeHasChildren: P,
3900
- onValueNodeHasChildrenChange: T,
3899
+ valueNodeHasChildren: E,
3900
+ onValueNodeHasChildrenChange: A,
3901
3901
  contentId: Qe(),
3902
- value: _,
3902
+ value: M,
3903
3903
  onValueChange: H,
3904
3904
  open: C,
3905
3905
  onOpenChange: $,
3906
- dir: A,
3906
+ dir: I,
3907
3907
  triggerPointerDownPosRef: W,
3908
3908
  disabled: p,
3909
3909
  children: [
3910
- /* @__PURE__ */ f.jsx(_t.Provider, { scope: t, children: /* @__PURE__ */ f.jsx(
3910
+ /* @__PURE__ */ f.jsx(zt.Provider, { scope: t, children: /* @__PURE__ */ f.jsx(
3911
3911
  Ji,
3912
3912
  {
3913
3913
  scope: e.__scopeSelect,
@@ -3923,7 +3923,7 @@ var Xi = [" ", "Enter", "ArrowUp", "ArrowDown"], Yi = [" ", "Enter"], Ve = "Sele
3923
3923
  children: n
3924
3924
  }
3925
3925
  ) }),
3926
- z ? /* @__PURE__ */ f.jsxs(
3926
+ _ ? /* @__PURE__ */ f.jsxs(
3927
3927
  Mo,
3928
3928
  {
3929
3929
  "aria-hidden": !0,
@@ -3931,13 +3931,13 @@ var Xi = [" ", "Enter", "ArrowUp", "ArrowDown"], Yi = [" ", "Enter"], Ve = "Sele
3931
3931
  tabIndex: -1,
3932
3932
  name: h,
3933
3933
  autoComplete: m,
3934
- value: _,
3934
+ value: M,
3935
3935
  onChange: (B) => H(B.target.value),
3936
3936
  disabled: p,
3937
3937
  form: y,
3938
3938
  children: [
3939
- _ === void 0 ? /* @__PURE__ */ f.jsx("option", { value: "" }) : null,
3940
- Array.from(j)
3939
+ M === void 0 ? /* @__PURE__ */ f.jsx("option", { value: "" }) : null,
3940
+ Array.from(L)
3941
3941
  ]
3942
3942
  },
3943
3943
  V
@@ -3946,10 +3946,10 @@ var Xi = [" ", "Enter", "ArrowUp", "ArrowDown"], Yi = [" ", "Enter"], Ve = "Sele
3946
3946
  }
3947
3947
  ) });
3948
3948
  };
3949
- so.displayName = Ve;
3949
+ so.displayName = Ue;
3950
3950
  var io = "SelectTrigger", lo = l.forwardRef(
3951
3951
  (e, t) => {
3952
- const { __scopeSelect: n, disabled: r = !1, ...o } = e, a = Ot(n), i = ze(io, n), s = i.disabled || r, c = se(t, i.onTriggerChange), d = zt(n), h = l.useRef("touch"), [m, p, x] = zo((u) => {
3952
+ const { __scopeSelect: n, disabled: r = !1, ...o } = e, a = Ot(n), i = Oe(io, n), s = i.disabled || r, c = se(t, i.onTriggerChange), d = _t(n), h = l.useRef("touch"), [m, p, x] = _o((u) => {
3953
3953
  const g = d().filter((S) => !S.disabled), v = g.find((S) => S.value === i.value), b = Oo(g, u, v);
3954
3954
  b !== void 0 && i.onValueChange(b.value);
3955
3955
  }), y = (u) => {
@@ -3971,7 +3971,7 @@ var io = "SelectTrigger", lo = l.forwardRef(
3971
3971
  "data-state": i.open ? "open" : "closed",
3972
3972
  disabled: s,
3973
3973
  "data-disabled": s ? "" : void 0,
3974
- "data-placeholder": _o(i.value) ? "" : void 0,
3974
+ "data-placeholder": zo(i.value) ? "" : void 0,
3975
3975
  ...o,
3976
3976
  ref: c,
3977
3977
  onClick: te(o.onClick, (u) => {
@@ -3993,7 +3993,7 @@ var io = "SelectTrigger", lo = l.forwardRef(
3993
3993
  lo.displayName = io;
3994
3994
  var co = "SelectValue", uo = l.forwardRef(
3995
3995
  (e, t) => {
3996
- const { __scopeSelect: n, className: r, style: o, children: a, placeholder: i = "", ...s } = e, c = ze(co, n), { onValueNodeHasChildrenChange: d } = c, h = a !== void 0, m = se(t, c.onValueNodeChange);
3996
+ const { __scopeSelect: n, className: r, style: o, children: a, placeholder: i = "", ...s } = e, c = Oe(co, n), { onValueNodeHasChildrenChange: d } = c, h = a !== void 0, m = se(t, c.onValueNodeChange);
3997
3997
  return ue(() => {
3998
3998
  d(h);
3999
3999
  }, [d, h]), /* @__PURE__ */ f.jsx(
@@ -4002,7 +4002,7 @@ var co = "SelectValue", uo = l.forwardRef(
4002
4002
  ...s,
4003
4003
  ref: m,
4004
4004
  style: { pointerEvents: "none" },
4005
- children: _o(c.value) ? /* @__PURE__ */ f.jsx(f.Fragment, { children: i }) : a
4005
+ children: zo(c.value) ? /* @__PURE__ */ f.jsx(f.Fragment, { children: i }) : a
4006
4006
  }
4007
4007
  );
4008
4008
  }
@@ -4017,23 +4017,23 @@ var el = "SelectIcon", fo = l.forwardRef(
4017
4017
  fo.displayName = el;
4018
4018
  var tl = "SelectPortal", po = (e) => /* @__PURE__ */ f.jsx(dn, { asChild: !0, ...e });
4019
4019
  po.displayName = tl;
4020
- var Ue = "SelectContent", mo = l.forwardRef(
4020
+ var Ge = "SelectContent", mo = l.forwardRef(
4021
4021
  (e, t) => {
4022
- const n = ze(Ue, e.__scopeSelect), [r, o] = l.useState();
4022
+ const n = Oe(Ge, e.__scopeSelect), [r, o] = l.useState();
4023
4023
  if (ue(() => {
4024
4024
  o(new DocumentFragment());
4025
4025
  }, []), !n.open) {
4026
4026
  const a = r;
4027
4027
  return a ? an.createPortal(
4028
- /* @__PURE__ */ f.jsx(ho, { scope: e.__scopeSelect, children: /* @__PURE__ */ f.jsx(_t.Slot, { scope: e.__scopeSelect, children: /* @__PURE__ */ f.jsx("div", { children: e.children }) }) }),
4028
+ /* @__PURE__ */ f.jsx(ho, { scope: e.__scopeSelect, children: /* @__PURE__ */ f.jsx(zt.Slot, { scope: e.__scopeSelect, children: /* @__PURE__ */ f.jsx("div", { children: e.children }) }) }),
4029
4029
  a
4030
4030
  ) : null;
4031
4031
  }
4032
4032
  return /* @__PURE__ */ f.jsx(go, { ...e, ref: t });
4033
4033
  }
4034
4034
  );
4035
- mo.displayName = Ue;
4036
- var ve = 10, [ho, Oe] = nt(Ue), nl = "SelectContentImpl", rl = it("SelectContent.RemoveScroll"), go = l.forwardRef(
4035
+ mo.displayName = Ge;
4036
+ var xe = 10, [ho, ke] = nt(Ge), nl = "SelectContentImpl", rl = it("SelectContent.RemoveScroll"), go = l.forwardRef(
4037
4037
  (e, t) => {
4038
4038
  const {
4039
4039
  __scopeSelect: n,
@@ -4055,40 +4055,40 @@ var ve = 10, [ho, Oe] = nt(Ue), nl = "SelectContentImpl", rl = it("SelectContent
4055
4055
  avoidCollisions: g,
4056
4056
  //
4057
4057
  ...v
4058
- } = e, b = ze(Ue, n), [S, P] = l.useState(null), [T, A] = l.useState(null), C = se(t, (w) => P(w)), [$, _] = l.useState(null), [H, W] = l.useState(
4058
+ } = e, b = Oe(Ge, n), [S, E] = l.useState(null), [A, I] = l.useState(null), C = se(t, (w) => E(w)), [$, M] = l.useState(null), [H, W] = l.useState(
4059
4059
  null
4060
- ), z = zt(n), [j, X] = l.useState(!1), V = l.useRef(!1);
4060
+ ), _ = _t(n), [L, X] = l.useState(!1), V = l.useRef(!1);
4061
4061
  l.useEffect(() => {
4062
4062
  if (S) return pr(S);
4063
4063
  }, [S]), Qn();
4064
4064
  const B = l.useCallback(
4065
4065
  (w) => {
4066
- const [R, ...L] = z().map((K) => K.ref.current), [O] = L.slice(-1), U = document.activeElement;
4066
+ const [N, ...j] = _().map((K) => K.ref.current), [O] = j.slice(-1), U = document.activeElement;
4067
4067
  for (const K of w)
4068
- if (K === U || (K?.scrollIntoView({ block: "nearest" }), K === R && T && (T.scrollTop = 0), K === O && T && (T.scrollTop = T.scrollHeight), K?.focus(), document.activeElement !== U)) return;
4068
+ if (K === U || (K?.scrollIntoView({ block: "nearest" }), K === N && A && (A.scrollTop = 0), K === O && A && (A.scrollTop = A.scrollHeight), K?.focus(), document.activeElement !== U)) return;
4069
4069
  },
4070
- [z, T]
4070
+ [_, A]
4071
4071
  ), J = l.useCallback(
4072
4072
  () => B([$, S]),
4073
4073
  [B, $, S]
4074
4074
  );
4075
4075
  l.useEffect(() => {
4076
- j && J();
4077
- }, [j, J]);
4076
+ L && J();
4077
+ }, [L, J]);
4078
4078
  const { onOpenChange: q, triggerPointerDownPosRef: Y } = b;
4079
4079
  l.useEffect(() => {
4080
4080
  if (S) {
4081
4081
  let w = { x: 0, y: 0 };
4082
- const R = (O) => {
4082
+ const N = (O) => {
4083
4083
  w = {
4084
4084
  x: Math.abs(Math.round(O.pageX) - (Y.current?.x ?? 0)),
4085
4085
  y: Math.abs(Math.round(O.pageY) - (Y.current?.y ?? 0))
4086
4086
  };
4087
- }, L = (O) => {
4088
- w.x <= 10 && w.y <= 10 ? O.preventDefault() : S.contains(O.target) || q(!1), document.removeEventListener("pointermove", R), Y.current = null;
4087
+ }, j = (O) => {
4088
+ w.x <= 10 && w.y <= 10 ? O.preventDefault() : S.contains(O.target) || q(!1), document.removeEventListener("pointermove", N), Y.current = null;
4089
4089
  };
4090
- return Y.current !== null && (document.addEventListener("pointermove", R), document.addEventListener("pointerup", L, { capture: !0, once: !0 })), () => {
4091
- document.removeEventListener("pointermove", R), document.removeEventListener("pointerup", L, { capture: !0 });
4090
+ return Y.current !== null && (document.addEventListener("pointermove", N), document.addEventListener("pointerup", j, { capture: !0, once: !0 })), () => {
4091
+ document.removeEventListener("pointermove", N), document.removeEventListener("pointerup", j, { capture: !0 });
4092
4092
  };
4093
4093
  }
4094
4094
  }, [S, q, Y]), l.useEffect(() => {
@@ -4097,22 +4097,22 @@ var ve = 10, [ho, Oe] = nt(Ue), nl = "SelectContentImpl", rl = it("SelectContent
4097
4097
  window.removeEventListener("blur", w), window.removeEventListener("resize", w);
4098
4098
  };
4099
4099
  }, [q]);
4100
- const [de, oe] = zo((w) => {
4101
- const R = z().filter((U) => !U.disabled), L = R.find((U) => U.ref.current === document.activeElement), O = Oo(R, w, L);
4100
+ const [de, oe] = _o((w) => {
4101
+ const N = _().filter((U) => !U.disabled), j = N.find((U) => U.ref.current === document.activeElement), O = Oo(N, w, j);
4102
4102
  O && setTimeout(() => O.ref.current.focus());
4103
- }), le = l.useCallback(
4104
- (w, R, L) => {
4105
- const O = !V.current && !L;
4106
- (b.value !== void 0 && b.value === R || O) && (_(w), O && (V.current = !0));
4103
+ }), ce = l.useCallback(
4104
+ (w, N, j) => {
4105
+ const O = !V.current && !j;
4106
+ (b.value !== void 0 && b.value === N || O) && (M(w), O && (V.current = !0));
4107
4107
  },
4108
4108
  [b.value]
4109
- ), E = l.useCallback(() => S?.focus(), [S]), N = l.useCallback(
4110
- (w, R, L) => {
4111
- const O = !V.current && !L;
4112
- (b.value !== void 0 && b.value === R || O) && W(w);
4109
+ ), P = l.useCallback(() => S?.focus(), [S]), D = l.useCallback(
4110
+ (w, N, j) => {
4111
+ const O = !V.current && !j;
4112
+ (b.value !== void 0 && b.value === N || O) && W(w);
4113
4113
  },
4114
4114
  [b.value]
4115
- ), M = r === "popper" ? en : vo, D = M === en ? {
4115
+ ), z = r === "popper" ? en : vo, T = z === en ? {
4116
4116
  side: s,
4117
4117
  sideOffset: c,
4118
4118
  align: d,
@@ -4129,16 +4129,16 @@ var ve = 10, [ho, Oe] = nt(Ue), nl = "SelectContentImpl", rl = it("SelectContent
4129
4129
  {
4130
4130
  scope: n,
4131
4131
  content: S,
4132
- viewport: T,
4133
- onViewportChange: A,
4134
- itemRefCallback: le,
4132
+ viewport: A,
4133
+ onViewportChange: I,
4134
+ itemRefCallback: ce,
4135
4135
  selectedItem: $,
4136
- onItemLeave: E,
4137
- itemTextRefCallback: N,
4136
+ onItemLeave: P,
4137
+ itemTextRefCallback: D,
4138
4138
  focusSelectedItem: J,
4139
4139
  selectedItemText: H,
4140
4140
  position: r,
4141
- isPositioned: j,
4141
+ isPositioned: L,
4142
4142
  searchRef: de,
4143
4143
  children: /* @__PURE__ */ f.jsx(fn, { as: rl, allowPinchZoom: !0, children: /* @__PURE__ */ f.jsx(
4144
4144
  ln,
@@ -4161,7 +4161,7 @@ var ve = 10, [ho, Oe] = nt(Ue), nl = "SelectContentImpl", rl = it("SelectContent
4161
4161
  onFocusOutside: (w) => w.preventDefault(),
4162
4162
  onDismiss: () => b.onOpenChange(!1),
4163
4163
  children: /* @__PURE__ */ f.jsx(
4164
- M,
4164
+ z,
4165
4165
  {
4166
4166
  role: "listbox",
4167
4167
  id: b.contentId,
@@ -4169,7 +4169,7 @@ var ve = 10, [ho, Oe] = nt(Ue), nl = "SelectContentImpl", rl = it("SelectContent
4169
4169
  dir: b.dir,
4170
4170
  onContextMenu: (w) => w.preventDefault(),
4171
4171
  ...v,
4172
- ...D,
4172
+ ...T,
4173
4173
  onPlaced: () => X(!0),
4174
4174
  ref: C,
4175
4175
  style: {
@@ -4181,9 +4181,9 @@ var ve = 10, [ho, Oe] = nt(Ue), nl = "SelectContentImpl", rl = it("SelectContent
4181
4181
  ...v.style
4182
4182
  },
4183
4183
  onKeyDown: te(v.onKeyDown, (w) => {
4184
- const R = w.ctrlKey || w.altKey || w.metaKey;
4185
- if (w.key === "Tab" && w.preventDefault(), !R && w.key.length === 1 && oe(w.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(w.key)) {
4186
- let O = z().filter((U) => !U.disabled).map((U) => U.ref.current);
4184
+ const N = w.ctrlKey || w.altKey || w.metaKey;
4185
+ if (w.key === "Tab" && w.preventDefault(), !N && w.key.length === 1 && oe(w.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(w.key)) {
4186
+ let O = _().filter((U) => !U.disabled).map((U) => U.ref.current);
4187
4187
  if (["ArrowUp", "End"].includes(w.key) && (O = O.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(w.key)) {
4188
4188
  const U = w.target, K = O.indexOf(U);
4189
4189
  O = O.slice(K + 1);
@@ -4203,48 +4203,48 @@ var ve = 10, [ho, Oe] = nt(Ue), nl = "SelectContentImpl", rl = it("SelectContent
4203
4203
  );
4204
4204
  go.displayName = nl;
4205
4205
  var ol = "SelectItemAlignedPosition", vo = l.forwardRef((e, t) => {
4206
- const { __scopeSelect: n, onPlaced: r, ...o } = e, a = ze(Ue, n), i = Oe(Ue, n), [s, c] = l.useState(null), [d, h] = l.useState(null), m = se(t, (C) => h(C)), p = zt(n), x = l.useRef(!1), y = l.useRef(!0), { viewport: u, selectedItem: g, selectedItemText: v, focusSelectedItem: b } = i, S = l.useCallback(() => {
4206
+ const { __scopeSelect: n, onPlaced: r, ...o } = e, a = Oe(Ge, n), i = ke(Ge, n), [s, c] = l.useState(null), [d, h] = l.useState(null), m = se(t, (C) => h(C)), p = _t(n), x = l.useRef(!1), y = l.useRef(!0), { viewport: u, selectedItem: g, selectedItemText: v, focusSelectedItem: b } = i, S = l.useCallback(() => {
4207
4207
  if (a.trigger && a.valueNode && s && d && u && g && v) {
4208
- const C = a.trigger.getBoundingClientRect(), $ = d.getBoundingClientRect(), _ = a.valueNode.getBoundingClientRect(), H = v.getBoundingClientRect();
4208
+ const C = a.trigger.getBoundingClientRect(), $ = d.getBoundingClientRect(), M = a.valueNode.getBoundingClientRect(), H = v.getBoundingClientRect();
4209
4209
  if (a.dir !== "rtl") {
4210
- const U = H.left - $.left, K = _.left - U, G = C.left - K, I = C.width + G, k = Math.max(I, $.width), ne = window.innerWidth - ve, ie = Un(K, [
4211
- ve,
4210
+ const U = H.left - $.left, K = M.left - U, G = C.left - K, R = C.width + G, k = Math.max(R, $.width), ne = window.innerWidth - xe, ie = Un(K, [
4211
+ xe,
4212
4212
  // Prevents the content from going off the starting edge of the
4213
4213
  // viewport. It may still go off the ending edge, but this can be
4214
4214
  // controlled by the user since they may want to manage overflow in a
4215
4215
  // specific way.
4216
4216
  // https://github.com/radix-ui/primitives/issues/2049
4217
- Math.max(ve, ne - k)
4217
+ Math.max(xe, ne - k)
4218
4218
  ]);
4219
- s.style.minWidth = I + "px", s.style.left = ie + "px";
4219
+ s.style.minWidth = R + "px", s.style.left = ie + "px";
4220
4220
  } else {
4221
- const U = $.right - H.right, K = window.innerWidth - _.right - U, G = window.innerWidth - C.right - K, I = C.width + G, k = Math.max(I, $.width), ne = window.innerWidth - ve, ie = Un(K, [
4222
- ve,
4223
- Math.max(ve, ne - k)
4221
+ const U = $.right - H.right, K = window.innerWidth - M.right - U, G = window.innerWidth - C.right - K, R = C.width + G, k = Math.max(R, $.width), ne = window.innerWidth - xe, ie = Un(K, [
4222
+ xe,
4223
+ Math.max(xe, ne - k)
4224
4224
  ]);
4225
- s.style.minWidth = I + "px", s.style.right = ie + "px";
4225
+ s.style.minWidth = R + "px", s.style.right = ie + "px";
4226
4226
  }
4227
- const W = p(), z = window.innerHeight - ve * 2, j = u.scrollHeight, X = window.getComputedStyle(d), V = parseInt(X.borderTopWidth, 10), B = parseInt(X.paddingTop, 10), J = parseInt(X.borderBottomWidth, 10), q = parseInt(X.paddingBottom, 10), Y = V + B + j + q + J, de = Math.min(g.offsetHeight * 5, Y), oe = window.getComputedStyle(u), le = parseInt(oe.paddingTop, 10), E = parseInt(oe.paddingBottom, 10), N = C.top + C.height / 2 - ve, M = z - N, D = g.offsetHeight / 2, w = g.offsetTop + D, R = V + B + w, L = Y - R;
4228
- if (R <= N) {
4227
+ const W = p(), _ = window.innerHeight - xe * 2, L = u.scrollHeight, X = window.getComputedStyle(d), V = parseInt(X.borderTopWidth, 10), B = parseInt(X.paddingTop, 10), J = parseInt(X.borderBottomWidth, 10), q = parseInt(X.paddingBottom, 10), Y = V + B + L + q + J, de = Math.min(g.offsetHeight * 5, Y), oe = window.getComputedStyle(u), ce = parseInt(oe.paddingTop, 10), P = parseInt(oe.paddingBottom, 10), D = C.top + C.height / 2 - xe, z = _ - D, T = g.offsetHeight / 2, w = g.offsetTop + T, N = V + B + w, j = Y - N;
4228
+ if (N <= D) {
4229
4229
  const U = W.length > 0 && g === W[W.length - 1].ref.current;
4230
4230
  s.style.bottom = "0px";
4231
4231
  const K = d.clientHeight - u.offsetTop - u.offsetHeight, G = Math.max(
4232
- M,
4233
- D + // viewport might have padding bottom, include it to avoid a scrollable viewport
4234
- (U ? E : 0) + K + J
4235
- ), I = R + G;
4236
- s.style.height = I + "px";
4232
+ z,
4233
+ T + // viewport might have padding bottom, include it to avoid a scrollable viewport
4234
+ (U ? P : 0) + K + J
4235
+ ), R = N + G;
4236
+ s.style.height = R + "px";
4237
4237
  } else {
4238
4238
  const U = W.length > 0 && g === W[0].ref.current;
4239
4239
  s.style.top = "0px";
4240
4240
  const G = Math.max(
4241
- N,
4241
+ D,
4242
4242
  V + u.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
4243
- (U ? le : 0) + D
4244
- ) + L;
4245
- s.style.height = G + "px", u.scrollTop = R - N + u.offsetTop;
4243
+ (U ? ce : 0) + T
4244
+ ) + j;
4245
+ s.style.height = G + "px", u.scrollTop = N - D + u.offsetTop;
4246
4246
  }
4247
- s.style.margin = `${ve}px 0`, s.style.minHeight = de + "px", s.style.maxHeight = z + "px", r?.(), requestAnimationFrame(() => x.current = !0);
4247
+ s.style.margin = `${xe}px 0`, s.style.minHeight = de + "px", s.style.maxHeight = _ + "px", r?.(), requestAnimationFrame(() => x.current = !0);
4248
4248
  }
4249
4249
  }, [
4250
4250
  p,
@@ -4259,11 +4259,11 @@ var ol = "SelectItemAlignedPosition", vo = l.forwardRef((e, t) => {
4259
4259
  r
4260
4260
  ]);
4261
4261
  ue(() => S(), [S]);
4262
- const [P, T] = l.useState();
4262
+ const [E, A] = l.useState();
4263
4263
  ue(() => {
4264
- d && T(window.getComputedStyle(d).zIndex);
4264
+ d && A(window.getComputedStyle(d).zIndex);
4265
4265
  }, [d]);
4266
- const A = l.useCallback(
4266
+ const I = l.useCallback(
4267
4267
  (C) => {
4268
4268
  C && y.current === !0 && (S(), b?.(), y.current = !1);
4269
4269
  },
@@ -4275,7 +4275,7 @@ var ol = "SelectItemAlignedPosition", vo = l.forwardRef((e, t) => {
4275
4275
  scope: n,
4276
4276
  contentWrapper: s,
4277
4277
  shouldExpandOnScrollRef: x,
4278
- onScrollButtonChange: A,
4278
+ onScrollButtonChange: I,
4279
4279
  children: /* @__PURE__ */ f.jsx(
4280
4280
  "div",
4281
4281
  {
@@ -4284,7 +4284,7 @@ var ol = "SelectItemAlignedPosition", vo = l.forwardRef((e, t) => {
4284
4284
  display: "flex",
4285
4285
  flexDirection: "column",
4286
4286
  position: "fixed",
4287
- zIndex: P
4287
+ zIndex: E
4288
4288
  },
4289
4289
  children: /* @__PURE__ */ f.jsx(
4290
4290
  ee.div,
@@ -4311,7 +4311,7 @@ var al = "SelectPopperPosition", en = l.forwardRef((e, t) => {
4311
4311
  const {
4312
4312
  __scopeSelect: n,
4313
4313
  align: r = "start",
4314
- collisionPadding: o = ve,
4314
+ collisionPadding: o = xe,
4315
4315
  ...a
4316
4316
  } = e, i = Ot(n);
4317
4317
  return /* @__PURE__ */ f.jsx(
@@ -4336,9 +4336,9 @@ var al = "SelectPopperPosition", en = l.forwardRef((e, t) => {
4336
4336
  );
4337
4337
  });
4338
4338
  en.displayName = al;
4339
- var [sl, wn] = nt(Ue, {}), tn = "SelectViewport", xo = l.forwardRef(
4339
+ var [sl, wn] = nt(Ge, {}), tn = "SelectViewport", xo = l.forwardRef(
4340
4340
  (e, t) => {
4341
- const { __scopeSelect: n, nonce: r, ...o } = e, a = Oe(tn, n), i = wn(tn, n), s = se(t, a.onViewportChange), c = l.useRef(0);
4341
+ const { __scopeSelect: n, nonce: r, ...o } = e, a = ke(tn, n), i = wn(tn, n), s = se(t, a.onViewportChange), c = l.useRef(0);
4342
4342
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
4343
4343
  /* @__PURE__ */ f.jsx(
4344
4344
  "style",
@@ -4349,7 +4349,7 @@ var [sl, wn] = nt(Ue, {}), tn = "SelectViewport", xo = l.forwardRef(
4349
4349
  nonce: r
4350
4350
  }
4351
4351
  ),
4352
- /* @__PURE__ */ f.jsx(_t.Slot, { scope: n, children: /* @__PURE__ */ f.jsx(
4352
+ /* @__PURE__ */ f.jsx(zt.Slot, { scope: n, children: /* @__PURE__ */ f.jsx(
4353
4353
  ee.div,
4354
4354
  {
4355
4355
  "data-radix-select-viewport": "",
@@ -4374,10 +4374,10 @@ var [sl, wn] = nt(Ue, {}), tn = "SelectViewport", xo = l.forwardRef(
4374
4374
  if (p?.current && m) {
4375
4375
  const x = Math.abs(c.current - h.scrollTop);
4376
4376
  if (x > 0) {
4377
- const y = window.innerHeight - ve * 2, u = parseFloat(m.style.minHeight), g = parseFloat(m.style.height), v = Math.max(u, g);
4377
+ const y = window.innerHeight - xe * 2, u = parseFloat(m.style.minHeight), g = parseFloat(m.style.height), v = Math.max(u, g);
4378
4378
  if (v < y) {
4379
- const b = v + x, S = Math.min(y, b), P = b - S;
4380
- m.style.height = S + "px", m.style.bottom === "0px" && (h.scrollTop = P > 0 ? P : 0, m.style.justifyContent = "flex-end");
4379
+ const b = v + x, S = Math.min(y, b), E = b - S;
4380
+ m.style.height = S + "px", m.style.bottom === "0px" && (h.scrollTop = E > 0 ? E : 0, m.style.justifyContent = "flex-end");
4381
4381
  }
4382
4382
  }
4383
4383
  }
@@ -4411,7 +4411,7 @@ var St = "SelectItem", [cl, Co] = nt(St), Eo = l.forwardRef(
4411
4411
  disabled: o = !1,
4412
4412
  textValue: a,
4413
4413
  ...i
4414
- } = e, s = ze(St, n), c = Oe(St, n), d = s.value === r, [h, m] = l.useState(a ?? ""), [p, x] = l.useState(!1), y = se(
4414
+ } = e, s = Oe(St, n), c = ke(St, n), d = s.value === r, [h, m] = l.useState(a ?? ""), [p, x] = l.useState(!1), y = se(
4415
4415
  t,
4416
4416
  (b) => c.itemRefCallback?.(b, r, o)
4417
4417
  ), u = Qe(), g = l.useRef("touch"), v = () => {
@@ -4433,7 +4433,7 @@ var St = "SelectItem", [cl, Co] = nt(St), Eo = l.forwardRef(
4433
4433
  m((S) => S || (b?.textContent ?? "").trim());
4434
4434
  }, []),
4435
4435
  children: /* @__PURE__ */ f.jsx(
4436
- _t.ItemSlot,
4436
+ zt.ItemSlot,
4437
4437
  {
4438
4438
  scope: n,
4439
4439
  value: r,
@@ -4483,7 +4483,7 @@ var St = "SelectItem", [cl, Co] = nt(St), Eo = l.forwardRef(
4483
4483
  Eo.displayName = St;
4484
4484
  var st = "SelectItemText", Po = l.forwardRef(
4485
4485
  (e, t) => {
4486
- const { __scopeSelect: n, className: r, style: o, ...a } = e, i = ze(st, n), s = Oe(st, n), c = Co(st, n), d = Qi(st, n), [h, m] = l.useState(null), p = se(
4486
+ const { __scopeSelect: n, className: r, style: o, ...a } = e, i = Oe(st, n), s = ke(st, n), c = Co(st, n), d = Qi(st, n), [h, m] = l.useState(null), p = se(
4487
4487
  t,
4488
4488
  (v) => m(v),
4489
4489
  c.onItemTextChange,
@@ -4499,15 +4499,15 @@ var st = "SelectItemText", Po = l.forwardRef(
4499
4499
  }
4500
4500
  );
4501
4501
  Po.displayName = st;
4502
- var Ro = "SelectItemIndicator", Io = l.forwardRef(
4502
+ var No = "SelectItemIndicator", Ro = l.forwardRef(
4503
4503
  (e, t) => {
4504
4504
  const { __scopeSelect: n, ...r } = e;
4505
- return Co(Ro, n).isSelected ? /* @__PURE__ */ f.jsx(ee.span, { "aria-hidden": !0, ...r, ref: t }) : null;
4505
+ return Co(No, n).isSelected ? /* @__PURE__ */ f.jsx(ee.span, { "aria-hidden": !0, ...r, ref: t }) : null;
4506
4506
  }
4507
4507
  );
4508
- Io.displayName = Ro;
4509
- var nn = "SelectScrollUpButton", No = l.forwardRef((e, t) => {
4510
- const n = Oe(nn, e.__scopeSelect), r = wn(nn, e.__scopeSelect), [o, a] = l.useState(!1), i = se(t, r.onScrollButtonChange);
4508
+ Ro.displayName = No;
4509
+ var nn = "SelectScrollUpButton", Io = l.forwardRef((e, t) => {
4510
+ const n = ke(nn, e.__scopeSelect), r = wn(nn, e.__scopeSelect), [o, a] = l.useState(!1), i = se(t, r.onScrollButtonChange);
4511
4511
  return ue(() => {
4512
4512
  if (n.viewport && n.isPositioned) {
4513
4513
  let s = function() {
@@ -4529,9 +4529,9 @@ var nn = "SelectScrollUpButton", No = l.forwardRef((e, t) => {
4529
4529
  }
4530
4530
  ) : null;
4531
4531
  });
4532
- No.displayName = nn;
4532
+ Io.displayName = nn;
4533
4533
  var rn = "SelectScrollDownButton", Ao = l.forwardRef((e, t) => {
4534
- const n = Oe(rn, e.__scopeSelect), r = wn(rn, e.__scopeSelect), [o, a] = l.useState(!1), i = se(t, r.onScrollButtonChange);
4534
+ const n = ke(rn, e.__scopeSelect), r = wn(rn, e.__scopeSelect), [o, a] = l.useState(!1), i = se(t, r.onScrollButtonChange);
4535
4535
  return ue(() => {
4536
4536
  if (n.viewport && n.isPositioned) {
4537
4537
  let s = function() {
@@ -4555,7 +4555,7 @@ var rn = "SelectScrollDownButton", Ao = l.forwardRef((e, t) => {
4555
4555
  });
4556
4556
  Ao.displayName = rn;
4557
4557
  var Do = l.forwardRef((e, t) => {
4558
- const { __scopeSelect: n, onAutoScroll: r, ...o } = e, a = Oe("SelectScrollButton", n), i = l.useRef(null), s = zt(n), c = l.useCallback(() => {
4558
+ const { __scopeSelect: n, onAutoScroll: r, ...o } = e, a = ke("SelectScrollButton", n), i = l.useRef(null), s = _t(n), c = l.useCallback(() => {
4559
4559
  i.current !== null && (window.clearInterval(i.current), i.current = null);
4560
4560
  }, []);
4561
4561
  return l.useEffect(() => () => c(), [c]), ue(() => {
@@ -4587,7 +4587,7 @@ var Do = l.forwardRef((e, t) => {
4587
4587
  To.displayName = ul;
4588
4588
  var on = "SelectArrow", dl = l.forwardRef(
4589
4589
  (e, t) => {
4590
- const { __scopeSelect: n, ...r } = e, o = Ot(n), a = ze(on, n), i = Oe(on, n);
4590
+ const { __scopeSelect: n, ...r } = e, o = Ot(n), a = Oe(on, n), i = ke(on, n);
4591
4591
  return a.open && i.position === "popper" ? /* @__PURE__ */ f.jsx(Za, { ...o, ...r, ref: t }) : null;
4592
4592
  }
4593
4593
  );
@@ -4618,11 +4618,11 @@ var fl = "SelectBubbleInput", Mo = l.forwardRef(
4618
4618
  }
4619
4619
  );
4620
4620
  Mo.displayName = fl;
4621
- function _o(e) {
4621
+ function zo(e) {
4622
4622
  return e === "" || e === void 0;
4623
4623
  }
4624
- function zo(e) {
4625
- const t = Fe(e), n = l.useRef(""), r = l.useRef(0), o = l.useCallback(
4624
+ function _o(e) {
4625
+ const t = Be(e), n = l.useRef(""), r = l.useRef(0), o = l.useCallback(
4626
4626
  (i) => {
4627
4627
  const s = n.current + i;
4628
4628
  t(s), function c(d) {
@@ -4647,14 +4647,14 @@ function Oo(e, t, n) {
4647
4647
  function pl(e, t) {
4648
4648
  return e.map((n, r) => e[(t + r) % e.length]);
4649
4649
  }
4650
- var ml = so, hl = lo, gl = uo, vl = fo, xl = po, yl = mo, bl = xo, wl = bo, Sl = So, Cl = Eo, El = Po, Pl = Io, Rl = No, Il = Ao, Nl = To;
4651
- function Cc({ ...e }) {
4650
+ var ml = so, hl = lo, gl = uo, vl = fo, xl = po, yl = mo, bl = xo, wl = bo, Sl = So, Cl = Eo, El = Po, Pl = Ro, Nl = Io, Rl = Ao, Il = To;
4651
+ function Ec({ ...e }) {
4652
4652
  return /* @__PURE__ */ f.jsx(ml, { "data-slot": "select", ...e });
4653
4653
  }
4654
- function Ec({ ...e }) {
4654
+ function Pc({ ...e }) {
4655
4655
  return /* @__PURE__ */ f.jsx(wl, { "data-slot": "select-group", ...e });
4656
4656
  }
4657
- function Pc({ ...e }) {
4657
+ function Nc({ ...e }) {
4658
4658
  return /* @__PURE__ */ f.jsx(gl, { "data-slot": "select-value", ...e });
4659
4659
  }
4660
4660
  function Rc({
@@ -4668,7 +4668,7 @@ function Rc({
4668
4668
  {
4669
4669
  "data-slot": "select-trigger",
4670
4670
  "data-size": t,
4671
- className: ce(
4671
+ className: le(
4672
4672
  "border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
4673
4673
  e
4674
4674
  ),
@@ -4685,7 +4685,7 @@ function Ic({ className: e, children: t, position: n = "popper", ...r }) {
4685
4685
  yl,
4686
4686
  {
4687
4687
  "data-slot": "select-content",
4688
- className: ce(
4688
+ className: le(
4689
4689
  "bg-content1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md shadow-medium",
4690
4690
  n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
4691
4691
  e
@@ -4697,7 +4697,7 @@ function Ic({ className: e, children: t, position: n = "popper", ...r }) {
4697
4697
  /* @__PURE__ */ f.jsx(
4698
4698
  bl,
4699
4699
  {
4700
- className: ce(
4700
+ className: le(
4701
4701
  "p-1",
4702
4702
  n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
4703
4703
  ),
@@ -4709,15 +4709,15 @@ function Ic({ className: e, children: t, position: n = "popper", ...r }) {
4709
4709
  }
4710
4710
  ) });
4711
4711
  }
4712
- function Nc({ className: e, ...t }) {
4713
- return /* @__PURE__ */ f.jsx(Sl, { "data-slot": "select-label", className: ce("text-muted-foreground px-2 py-1.5 text-xs", e), ...t });
4712
+ function Ac({ className: e, ...t }) {
4713
+ return /* @__PURE__ */ f.jsx(Sl, { "data-slot": "select-label", className: le("text-muted-foreground px-2 py-1.5 text-xs", e), ...t });
4714
4714
  }
4715
- function Ac({ className: e, children: t, ...n }) {
4715
+ function Dc({ className: e, children: t, ...n }) {
4716
4716
  return /* @__PURE__ */ f.jsxs(
4717
4717
  Cl,
4718
4718
  {
4719
4719
  "data-slot": "select-item",
4720
- className: ce(
4720
+ className: le(
4721
4721
  "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
4722
4722
  e
4723
4723
  ),
@@ -4729,22 +4729,22 @@ function Ac({ className: e, children: t, ...n }) {
4729
4729
  }
4730
4730
  );
4731
4731
  }
4732
- function Dc({ className: e, ...t }) {
4732
+ function Tc({ className: e, ...t }) {
4733
4733
  return /* @__PURE__ */ f.jsx(
4734
- Nl,
4734
+ Il,
4735
4735
  {
4736
4736
  "data-slot": "select-separator",
4737
- className: ce("bg-border pointer-events-none -mx-1 my-1 h-px", e),
4737
+ className: le("bg-border pointer-events-none -mx-1 my-1 h-px", e),
4738
4738
  ...t
4739
4739
  }
4740
4740
  );
4741
4741
  }
4742
4742
  function Al({ className: e, ...t }) {
4743
4743
  return /* @__PURE__ */ f.jsx(
4744
- Rl,
4744
+ Nl,
4745
4745
  {
4746
4746
  "data-slot": "select-scroll-up-button",
4747
- className: ce("flex cursor-default items-center justify-center py-1", e),
4747
+ className: le("flex cursor-default items-center justify-center py-1", e),
4748
4748
  ...t,
4749
4749
  children: /* @__PURE__ */ f.jsx(qs, { className: "size-4" })
4750
4750
  }
@@ -4752,36 +4752,36 @@ function Al({ className: e, ...t }) {
4752
4752
  }
4753
4753
  function Dl({ className: e, ...t }) {
4754
4754
  return /* @__PURE__ */ f.jsx(
4755
- Il,
4755
+ Rl,
4756
4756
  {
4757
4757
  "data-slot": "select-scroll-down-button",
4758
- className: ce("flex cursor-default items-center justify-center py-1", e),
4758
+ className: le("flex cursor-default items-center justify-center py-1", e),
4759
4759
  ...t,
4760
4760
  children: /* @__PURE__ */ f.jsx(Sr, { className: "size-4" })
4761
4761
  }
4762
4762
  );
4763
4763
  }
4764
- var Tl = Object.defineProperty, Ml = Object.defineProperties, _l = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, ko = Object.prototype.hasOwnProperty, Lo = Object.prototype.propertyIsEnumerable, Gn = (e, t, n) => t in e ? Tl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, zl = (e, t) => {
4764
+ var Tl = Object.defineProperty, Ml = Object.defineProperties, zl = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, ko = Object.prototype.hasOwnProperty, jo = Object.prototype.propertyIsEnumerable, Gn = (e, t, n) => t in e ? Tl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, _l = (e, t) => {
4765
4765
  for (var n in t || (t = {})) ko.call(t, n) && Gn(e, n, t[n]);
4766
- if (Ct) for (var n of Ct(t)) Lo.call(t, n) && Gn(e, n, t[n]);
4766
+ if (Ct) for (var n of Ct(t)) jo.call(t, n) && Gn(e, n, t[n]);
4767
4767
  return e;
4768
- }, Ol = (e, t) => Ml(e, _l(t)), kl = (e, t) => {
4768
+ }, Ol = (e, t) => Ml(e, zl(t)), kl = (e, t) => {
4769
4769
  var n = {};
4770
4770
  for (var r in e) ko.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4771
- if (e != null && Ct) for (var r of Ct(e)) t.indexOf(r) < 0 && Lo.call(e, r) && (n[r] = e[r]);
4771
+ if (e != null && Ct) for (var r of Ct(e)) t.indexOf(r) < 0 && jo.call(e, r) && (n[r] = e[r]);
4772
4772
  return n;
4773
4773
  };
4774
- function Ll(e) {
4774
+ function jl(e) {
4775
4775
  let t = setTimeout(e, 0), n = setTimeout(e, 10), r = setTimeout(e, 50);
4776
4776
  return [t, n, r];
4777
4777
  }
4778
- function jl(e) {
4778
+ function Ll(e) {
4779
4779
  let t = l.useRef();
4780
4780
  return l.useEffect(() => {
4781
4781
  t.current = e;
4782
4782
  }), t.current;
4783
4783
  }
4784
- var $l = 18, jo = 40, Hl = `${jo}px`, Fl = ["[data-lastpass-icon-root]", "com-1password-button", "[data-dashlanecreated]", '[style$="2147483647 !important;"]'].join(",");
4784
+ var $l = 18, Lo = 40, Hl = `${Lo}px`, Fl = ["[data-lastpass-icon-root]", "com-1password-button", "[data-dashlanecreated]", '[style$="2147483647 !important;"]'].join(",");
4785
4785
  function Bl({ containerRef: e, inputRef: t, pushPasswordManagerStrategy: n, isFocused: r }) {
4786
4786
  let [o, a] = l.useState(!1), [i, s] = l.useState(!1), [c, d] = l.useState(!1), h = l.useMemo(() => n === "none" ? !1 : (n === "increase-width" || n === "experimental-no-flickering") && o && i, [o, i, n]), m = l.useCallback(() => {
4787
4787
  let p = e.current, x = t.current;
@@ -4794,7 +4794,7 @@ function Bl({ containerRef: e, inputRef: t, pushPasswordManagerStrategy: n, isFo
4794
4794
  if (!p || n === "none") return;
4795
4795
  function x() {
4796
4796
  let u = window.innerWidth - p.getBoundingClientRect().right;
4797
- s(u >= jo);
4797
+ s(u >= Lo);
4798
4798
  }
4799
4799
  x();
4800
4800
  let y = setInterval(x, 1e3);
@@ -4813,42 +4813,42 @@ function Bl({ containerRef: e, inputRef: t, pushPasswordManagerStrategy: n, isFo
4813
4813
  }, [t, r, n, m]), { hasPWMBadge: o, willPushPWMBadge: h, PWM_BADGE_SPACE_WIDTH: Hl };
4814
4814
  }
4815
4815
  var Wl = l.createContext({}), Vl = l.forwardRef((e, t) => {
4816
- var n = e, { value: r, onChange: o, maxLength: a, textAlign: i = "left", pattern: s, placeholder: c, inputMode: d = "numeric", onComplete: h, pushPasswordManagerStrategy: m = "increase-width", pasteTransformer: p, containerClassName: x, noScriptCSSFallback: y = Ul, render: u, children: g } = n, v = kl(n, ["value", "onChange", "maxLength", "textAlign", "pattern", "placeholder", "inputMode", "onComplete", "pushPasswordManagerStrategy", "pasteTransformer", "containerClassName", "noScriptCSSFallback", "render", "children"]), b, S, P, T, A;
4817
- let [C, $] = l.useState(typeof v.defaultValue == "string" ? v.defaultValue : ""), _ = r ?? C, H = jl(_), W = l.useCallback((I) => {
4818
- o?.(I), $(I);
4819
- }, [o]), z = l.useMemo(() => s ? typeof s == "string" ? new RegExp(s) : s : null, [s]), j = l.useRef(null), X = l.useRef(null), V = l.useRef({ value: _, onChange: W, isIOS: typeof window < "u" && ((S = (b = window?.CSS) == null ? void 0 : b.supports) == null ? void 0 : S.call(b, "-webkit-touch-callout", "none")) }), B = l.useRef({ prev: [(P = j.current) == null ? void 0 : P.selectionStart, (T = j.current) == null ? void 0 : T.selectionEnd, (A = j.current) == null ? void 0 : A.selectionDirection] });
4820
- l.useImperativeHandle(t, () => j.current, []), l.useEffect(() => {
4821
- let I = j.current, k = X.current;
4822
- if (!I || !k) return;
4823
- V.current.value !== I.value && V.current.onChange(I.value), B.current.prev = [I.selectionStart, I.selectionEnd, I.selectionDirection];
4816
+ var n = e, { value: r, onChange: o, maxLength: a, textAlign: i = "left", pattern: s, placeholder: c, inputMode: d = "numeric", onComplete: h, pushPasswordManagerStrategy: m = "increase-width", pasteTransformer: p, containerClassName: x, noScriptCSSFallback: y = Ul, render: u, children: g } = n, v = kl(n, ["value", "onChange", "maxLength", "textAlign", "pattern", "placeholder", "inputMode", "onComplete", "pushPasswordManagerStrategy", "pasteTransformer", "containerClassName", "noScriptCSSFallback", "render", "children"]), b, S, E, A, I;
4817
+ let [C, $] = l.useState(typeof v.defaultValue == "string" ? v.defaultValue : ""), M = r ?? C, H = Ll(M), W = l.useCallback((R) => {
4818
+ o?.(R), $(R);
4819
+ }, [o]), _ = l.useMemo(() => s ? typeof s == "string" ? new RegExp(s) : s : null, [s]), L = l.useRef(null), X = l.useRef(null), V = l.useRef({ value: M, onChange: W, isIOS: typeof window < "u" && ((S = (b = window?.CSS) == null ? void 0 : b.supports) == null ? void 0 : S.call(b, "-webkit-touch-callout", "none")) }), B = l.useRef({ prev: [(E = L.current) == null ? void 0 : E.selectionStart, (A = L.current) == null ? void 0 : A.selectionEnd, (I = L.current) == null ? void 0 : I.selectionDirection] });
4820
+ l.useImperativeHandle(t, () => L.current, []), l.useEffect(() => {
4821
+ let R = L.current, k = X.current;
4822
+ if (!R || !k) return;
4823
+ V.current.value !== R.value && V.current.onChange(R.value), B.current.prev = [R.selectionStart, R.selectionEnd, R.selectionDirection];
4824
4824
  function ne() {
4825
- if (document.activeElement !== I) {
4826
- le(null), N(null);
4825
+ if (document.activeElement !== R) {
4826
+ ce(null), D(null);
4827
4827
  return;
4828
4828
  }
4829
- let Q = I.selectionStart, fe = I.selectionEnd, be = I.selectionDirection, pe = I.maxLength, Se = I.value, Ce = B.current.prev, Ie = -1, Ne = -1, ke;
4830
- if (Se.length !== 0 && Q !== null && fe !== null) {
4831
- let Ho = Q === fe, Fo = Q === Se.length && Se.length < pe;
4829
+ let Q = R.selectionStart, fe = R.selectionEnd, we = R.selectionDirection, pe = R.maxLength, Ce = R.value, Ee = B.current.prev, Re = -1, Ie = -1, je;
4830
+ if (Ce.length !== 0 && Q !== null && fe !== null) {
4831
+ let Ho = Q === fe, Fo = Q === Ce.length && Ce.length < pe;
4832
4832
  if (Ho && !Fo) {
4833
4833
  let Le = Q;
4834
- if (Le === 0) Ie = 0, Ne = 1, ke = "forward";
4835
- else if (Le === pe) Ie = Le - 1, Ne = Le, ke = "backward";
4836
- else if (pe > 1 && Se.length > 1) {
4834
+ if (Le === 0) Re = 0, Ie = 1, je = "forward";
4835
+ else if (Le === pe) Re = Le - 1, Ie = Le, je = "backward";
4836
+ else if (pe > 1 && Ce.length > 1) {
4837
4837
  let kt = 0;
4838
- if (Ce[0] !== null && Ce[1] !== null) {
4839
- ke = Le < Ce[1] ? "backward" : "forward";
4840
- let Bo = Ce[0] === Ce[1] && Ce[0] < pe;
4841
- ke === "backward" && !Bo && (kt = -1);
4838
+ if (Ee[0] !== null && Ee[1] !== null) {
4839
+ je = Le < Ee[1] ? "backward" : "forward";
4840
+ let Bo = Ee[0] === Ee[1] && Ee[0] < pe;
4841
+ je === "backward" && !Bo && (kt = -1);
4842
4842
  }
4843
- Ie = kt + Le, Ne = kt + Le + 1;
4843
+ Re = kt + Le, Ie = kt + Le + 1;
4844
4844
  }
4845
4845
  }
4846
- Ie !== -1 && Ne !== -1 && Ie !== Ne && j.current.setSelectionRange(Ie, Ne, ke);
4846
+ Re !== -1 && Ie !== -1 && Re !== Ie && L.current.setSelectionRange(Re, Ie, je);
4847
4847
  }
4848
- let Sn = Ie !== -1 ? Ie : Q, Cn = Ne !== -1 ? Ne : fe, $o = ke ?? be;
4849
- le(Sn), N(Cn), B.current.prev = [Sn, Cn, $o];
4848
+ let Sn = Re !== -1 ? Re : Q, Cn = Ie !== -1 ? Ie : fe, $o = je ?? we;
4849
+ ce(Sn), D(Cn), B.current.prev = [Sn, Cn, $o];
4850
4850
  }
4851
- if (document.addEventListener("selectionchange", ne, { capture: !0 }), ne(), document.activeElement === I && de(!0), !document.getElementById("input-otp-style")) {
4851
+ if (document.addEventListener("selectionchange", ne, { capture: !0 }), ne(), document.activeElement === R && de(!0), !document.getElementById("input-otp-style")) {
4852
4852
  let Q = document.createElement("style");
4853
4853
  if (Q.id = "input-otp-style", document.head.appendChild(Q), Q.sheet) {
4854
4854
  let fe = "background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";
@@ -4856,71 +4856,71 @@ var Wl = l.createContext({}), Vl = l.forwardRef((e, t) => {
4856
4856
  }
4857
4857
  }
4858
4858
  let ie = () => {
4859
- k && k.style.setProperty("--root-height", `${I.clientHeight}px`);
4859
+ k && k.style.setProperty("--root-height", `${R.clientHeight}px`);
4860
4860
  };
4861
4861
  ie();
4862
4862
  let Z = new ResizeObserver(ie);
4863
- return Z.observe(I), () => {
4863
+ return Z.observe(R), () => {
4864
4864
  document.removeEventListener("selectionchange", ne, { capture: !0 }), Z.disconnect();
4865
4865
  };
4866
4866
  }, []);
4867
- let [J, q] = l.useState(!1), [Y, de] = l.useState(!1), [oe, le] = l.useState(null), [E, N] = l.useState(null);
4867
+ let [J, q] = l.useState(!1), [Y, de] = l.useState(!1), [oe, ce] = l.useState(null), [P, D] = l.useState(null);
4868
4868
  l.useEffect(() => {
4869
- Ll(() => {
4870
- var I, k, ne, ie;
4871
- (I = j.current) == null || I.dispatchEvent(new Event("input"));
4872
- let Z = (k = j.current) == null ? void 0 : k.selectionStart, Q = (ne = j.current) == null ? void 0 : ne.selectionEnd, fe = (ie = j.current) == null ? void 0 : ie.selectionDirection;
4873
- Z !== null && Q !== null && (le(Z), N(Q), B.current.prev = [Z, Q, fe]);
4869
+ jl(() => {
4870
+ var R, k, ne, ie;
4871
+ (R = L.current) == null || R.dispatchEvent(new Event("input"));
4872
+ let Z = (k = L.current) == null ? void 0 : k.selectionStart, Q = (ne = L.current) == null ? void 0 : ne.selectionEnd, fe = (ie = L.current) == null ? void 0 : ie.selectionDirection;
4873
+ Z !== null && Q !== null && (ce(Z), D(Q), B.current.prev = [Z, Q, fe]);
4874
4874
  });
4875
- }, [_, Y]), l.useEffect(() => {
4876
- H !== void 0 && _ !== H && H.length < a && _.length === a && h?.(_);
4877
- }, [a, h, H, _]);
4878
- let M = Bl({ containerRef: X, inputRef: j, pushPasswordManagerStrategy: m, isFocused: Y }), D = l.useCallback((I) => {
4879
- let k = I.currentTarget.value.slice(0, a);
4880
- if (k.length > 0 && z && !z.test(k)) {
4881
- I.preventDefault();
4875
+ }, [M, Y]), l.useEffect(() => {
4876
+ H !== void 0 && M !== H && H.length < a && M.length === a && h?.(M);
4877
+ }, [a, h, H, M]);
4878
+ let z = Bl({ containerRef: X, inputRef: L, pushPasswordManagerStrategy: m, isFocused: Y }), T = l.useCallback((R) => {
4879
+ let k = R.currentTarget.value.slice(0, a);
4880
+ if (k.length > 0 && _ && !_.test(k)) {
4881
+ R.preventDefault();
4882
4882
  return;
4883
4883
  }
4884
4884
  typeof H == "string" && k.length < H.length && document.dispatchEvent(new Event("selectionchange")), W(k);
4885
- }, [a, W, H, z]), w = l.useCallback(() => {
4886
- var I;
4887
- if (j.current) {
4888
- let k = Math.min(j.current.value.length, a - 1), ne = j.current.value.length;
4889
- (I = j.current) == null || I.setSelectionRange(k, ne), le(k), N(ne);
4885
+ }, [a, W, H, _]), w = l.useCallback(() => {
4886
+ var R;
4887
+ if (L.current) {
4888
+ let k = Math.min(L.current.value.length, a - 1), ne = L.current.value.length;
4889
+ (R = L.current) == null || R.setSelectionRange(k, ne), ce(k), D(ne);
4890
4890
  }
4891
4891
  de(!0);
4892
- }, [a]), R = l.useCallback((I) => {
4892
+ }, [a]), N = l.useCallback((R) => {
4893
4893
  var k, ne;
4894
- let ie = j.current;
4895
- if (!p && (!V.current.isIOS || !I.clipboardData || !ie)) return;
4896
- let Z = I.clipboardData.getData("text/plain"), Q = p ? p(Z) : Z;
4897
- I.preventDefault();
4898
- let fe = (k = j.current) == null ? void 0 : k.selectionStart, be = (ne = j.current) == null ? void 0 : ne.selectionEnd, pe = (fe !== be ? _.slice(0, fe) + Q + _.slice(be) : _.slice(0, fe) + Q + _.slice(fe)).slice(0, a);
4899
- if (pe.length > 0 && z && !z.test(pe)) return;
4894
+ let ie = L.current;
4895
+ if (!p && (!V.current.isIOS || !R.clipboardData || !ie)) return;
4896
+ let Z = R.clipboardData.getData("text/plain"), Q = p ? p(Z) : Z;
4897
+ R.preventDefault();
4898
+ let fe = (k = L.current) == null ? void 0 : k.selectionStart, we = (ne = L.current) == null ? void 0 : ne.selectionEnd, pe = (fe !== we ? M.slice(0, fe) + Q + M.slice(we) : M.slice(0, fe) + Q + M.slice(fe)).slice(0, a);
4899
+ if (pe.length > 0 && _ && !_.test(pe)) return;
4900
4900
  ie.value = pe, W(pe);
4901
- let Se = Math.min(pe.length, a - 1), Ce = pe.length;
4902
- ie.setSelectionRange(Se, Ce), le(Se), N(Ce);
4903
- }, [a, W, z, _]), L = l.useMemo(() => ({ position: "relative", cursor: v.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [v.disabled]), O = l.useMemo(() => ({ position: "absolute", inset: 0, width: M.willPushPWMBadge ? `calc(100% + ${M.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: M.willPushPWMBadge ? `inset(0 ${M.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: i, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [M.PWM_BADGE_SPACE_WIDTH, M.willPushPWMBadge, i]), U = l.useMemo(() => l.createElement("input", Ol(zl({ autoComplete: v.autoComplete || "one-time-code" }, v), { "data-input-otp": !0, "data-input-otp-placeholder-shown": _.length === 0 || void 0, "data-input-otp-mss": oe, "data-input-otp-mse": E, inputMode: d, pattern: z?.source, "aria-placeholder": c, style: O, maxLength: a, value: _, ref: j, onPaste: (I) => {
4901
+ let Ce = Math.min(pe.length, a - 1), Ee = pe.length;
4902
+ ie.setSelectionRange(Ce, Ee), ce(Ce), D(Ee);
4903
+ }, [a, W, _, M]), j = l.useMemo(() => ({ position: "relative", cursor: v.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [v.disabled]), O = l.useMemo(() => ({ position: "absolute", inset: 0, width: z.willPushPWMBadge ? `calc(100% + ${z.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: z.willPushPWMBadge ? `inset(0 ${z.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: i, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [z.PWM_BADGE_SPACE_WIDTH, z.willPushPWMBadge, i]), U = l.useMemo(() => l.createElement("input", Ol(_l({ autoComplete: v.autoComplete || "one-time-code" }, v), { "data-input-otp": !0, "data-input-otp-placeholder-shown": M.length === 0 || void 0, "data-input-otp-mss": oe, "data-input-otp-mse": P, inputMode: d, pattern: _?.source, "aria-placeholder": c, style: O, maxLength: a, value: M, ref: L, onPaste: (R) => {
4904
4904
  var k;
4905
- R(I), (k = v.onPaste) == null || k.call(v, I);
4906
- }, onChange: D, onMouseOver: (I) => {
4905
+ N(R), (k = v.onPaste) == null || k.call(v, R);
4906
+ }, onChange: T, onMouseOver: (R) => {
4907
4907
  var k;
4908
- q(!0), (k = v.onMouseOver) == null || k.call(v, I);
4909
- }, onMouseLeave: (I) => {
4908
+ q(!0), (k = v.onMouseOver) == null || k.call(v, R);
4909
+ }, onMouseLeave: (R) => {
4910
4910
  var k;
4911
- q(!1), (k = v.onMouseLeave) == null || k.call(v, I);
4912
- }, onFocus: (I) => {
4911
+ q(!1), (k = v.onMouseLeave) == null || k.call(v, R);
4912
+ }, onFocus: (R) => {
4913
4913
  var k;
4914
- w(), (k = v.onFocus) == null || k.call(v, I);
4915
- }, onBlur: (I) => {
4914
+ w(), (k = v.onFocus) == null || k.call(v, R);
4915
+ }, onBlur: (R) => {
4916
4916
  var k;
4917
- de(!1), (k = v.onBlur) == null || k.call(v, I);
4918
- } })), [D, w, R, d, O, a, E, oe, v, z?.source, _]), K = l.useMemo(() => ({ slots: Array.from({ length: a }).map((I, k) => {
4917
+ de(!1), (k = v.onBlur) == null || k.call(v, R);
4918
+ } })), [T, w, N, d, O, a, P, oe, v, _?.source, M]), K = l.useMemo(() => ({ slots: Array.from({ length: a }).map((R, k) => {
4919
4919
  var ne;
4920
- let ie = Y && oe !== null && E !== null && (oe === E && k === oe || k >= oe && k < E), Z = _[k] !== void 0 ? _[k] : null, Q = _[0] !== void 0 ? null : (ne = c?.[k]) != null ? ne : null;
4920
+ let ie = Y && oe !== null && P !== null && (oe === P && k === oe || k >= oe && k < P), Z = M[k] !== void 0 ? M[k] : null, Q = M[0] !== void 0 ? null : (ne = c?.[k]) != null ? ne : null;
4921
4921
  return { char: Z, placeholderChar: Q, isActive: ie, hasFakeCaret: ie && Z === null };
4922
- }), isFocused: Y, isHovering: !v.disabled && J }), [Y, J, a, E, oe, v.disabled, _]), G = l.useMemo(() => u ? u(K) : l.createElement(Wl.Provider, { value: K }, g), [g, K, u]);
4923
- return l.createElement(l.Fragment, null, y !== null && l.createElement("noscript", null, l.createElement("style", null, y)), l.createElement("div", { ref: X, "data-input-otp-container": !0, style: L, className: x }, G, l.createElement("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" } }, U)));
4922
+ }), isFocused: Y, isHovering: !v.disabled && J }), [Y, J, a, P, oe, v.disabled, M]), G = l.useMemo(() => u ? u(K) : l.createElement(Wl.Provider, { value: K }, g), [g, K, u]);
4923
+ return l.createElement(l.Fragment, null, y !== null && l.createElement("noscript", null, l.createElement("style", null, y)), l.createElement("div", { ref: X, "data-input-otp-container": !0, style: j, className: x }, G, l.createElement("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" } }, U)));
4924
4924
  });
4925
4925
  Vl.displayName = "Input";
4926
4926
  function rt(e, t) {
@@ -4949,62 +4949,141 @@ var Ul = `
4949
4949
  --nojs-fg: white !important;
4950
4950
  }
4951
4951
  }`;
4952
+ const Gl = l.forwardRef(
4953
+ ({
4954
+ className: e,
4955
+ classNameContainer: t,
4956
+ label: n,
4957
+ id: r,
4958
+ disabled: o,
4959
+ error: a,
4960
+ touched: i,
4961
+ startContent: s,
4962
+ endContent: c,
4963
+ startClassName: d,
4964
+ endClassName: h,
4965
+ onClear: m,
4966
+ required: p = !1,
4967
+ isClearable: x = !1,
4968
+ value: y,
4969
+ defaultValue: u,
4970
+ ...g
4971
+ }, v) => {
4972
+ const b = l.useId(), S = r || b, E = y !== void 0, A = !o && !!a && i, I = le("block font-normal text-sm text-foreground mb-1", {
4973
+ "text-danger": A
4974
+ }), C = Me("absolute top-0 h-full flex items-center cursor-pointer px-1.5 z-[1]", {
4975
+ "text-red-700": A,
4976
+ "text-gray-400": o,
4977
+ "text-green-700": !a && i,
4978
+ "text-gray-500": !A
4979
+ }), $ = Me(s && "pl-8", !s && "pl-2.5", c && "pr-8", !c && "pr-2.5"), M = (H) => {
4980
+ o || (H.preventDefault(), m?.());
4981
+ };
4982
+ return /* @__PURE__ */ f.jsxs("div", { className: ve("w-full relative flex flex-col", t), children: [
4983
+ n && /* @__PURE__ */ f.jsxs("label", { htmlFor: S, className: I, children: [
4984
+ n,
4985
+ " ",
4986
+ p && /* @__PURE__ */ f.jsx("span", { className: "text-danger", children: "*" })
4987
+ ] }),
4988
+ /* @__PURE__ */ f.jsxs("div", { className: "w-full relative", children: [
4989
+ s && /* @__PURE__ */ f.jsx("div", { className: ve("left-1", C, d), children: s }),
4990
+ /* @__PURE__ */ f.jsx(
4991
+ "textarea",
4992
+ {
4993
+ "data-slot": "textarea",
4994
+ id: S,
4995
+ ref: v,
4996
+ ...E ? { value: y } : { defaultValue: u },
4997
+ className: le(
4998
+ "border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
4999
+ $,
5000
+ e
5001
+ ),
5002
+ ...g
5003
+ }
5004
+ ),
5005
+ x && !o && y ? /* @__PURE__ */ f.jsx(
5006
+ "div",
5007
+ {
5008
+ className: ve(
5009
+ "absolute top-0 h-full flex items-center px-1.5 z-[1] opacity-70 hover:opacity-100 cursor-pointer rounded-full",
5010
+ "right-1",
5011
+ o ? "opacity-50 cursor-not-allowed" : "opacity-70 hover:opacity-100 cursor-pointer"
5012
+ // Estilo normal
5013
+ ),
5014
+ onClick: M,
5015
+ children: /* @__PURE__ */ f.jsx("svg", { "aria-hidden": "true", focusable: "false", height: "18", viewBox: "0 0 24 24", width: "18", children: /* @__PURE__ */ f.jsx(
5016
+ "path",
5017
+ {
5018
+ d: "M12 2a10 10 0 1010 10A10.016 10.016 0 0012 2zm3.36 12.3a.754.754 0 010 1.06.748.748 0 01-1.06 0l-2.3-2.3-2.3 2.3a.748.748 0 01-1.06 0 .754.754 0 010-1.06l2.3-2.3-2.3-2.3A.75.75 0 019.7 8.64l2.3 2.3 2.3-2.3a.75.75 0 011.06 1.06l-2.3 2.3z",
5019
+ fill: "currentColor"
5020
+ }
5021
+ ) })
5022
+ }
5023
+ ) : null,
5024
+ c && /* @__PURE__ */ f.jsx("div", { className: ve("right-1", C, h), children: c })
5025
+ ] })
5026
+ ] });
5027
+ }
5028
+ );
5029
+ Gl.displayName = "Textarea";
4952
5030
  export {
4953
5031
  Wi as $,
4954
5032
  Ya as A,
4955
5033
  ue as B,
4956
5034
  qa as C,
4957
5035
  sn as D,
4958
- Li as E,
5036
+ ji as E,
4959
5037
  ln as F,
4960
5038
  $i as G,
4961
5039
  Fi as H,
4962
- pc as I,
4963
- vc as J,
4964
- yc as K,
4965
- bc as L,
4966
- gc as M,
5040
+ mc as I,
5041
+ xc as J,
5042
+ bc as K,
5043
+ wc as L,
5044
+ vc as M,
4967
5045
  Sr as N,
4968
5046
  Hi as O,
4969
5047
  ee as P,
4970
- wc as Q,
5048
+ Sc as Q,
4971
5049
  Xa as R,
4972
- Cc as S,
5050
+ Ec as S,
4973
5051
  Gi as T,
4974
5052
  Un as U,
4975
5053
  Vl as V,
4976
5054
  Wl as W,
4977
5055
  Fa as X,
4978
- ji as Y,
5056
+ Li as Y,
4979
5057
  ro as Z,
4980
5058
  Bi as _,
4981
5059
  Rc as a,
4982
- dc as a0,
4983
- fc as a1,
4984
- uc as a2,
5060
+ fc as a0,
5061
+ pc as a1,
5062
+ dc as a2,
4985
5063
  ca as a3,
4986
5064
  pa as a4,
4987
- hc as a5,
4988
- xc as a6,
5065
+ gc as a5,
5066
+ yc as a6,
4989
5067
  Ui as a7,
4990
5068
  Vi as a8,
4991
- mc as a9,
5069
+ hc as a9,
4992
5070
  Dl as aa,
4993
5071
  Al as ab,
4994
- Dc as ac,
4995
- Pc as b,
5072
+ Tc as ac,
5073
+ Gl as ad,
5074
+ Nc as b,
4996
5075
  Ic as c,
4997
- Ec as d,
4998
- Nc as e,
4999
- Ac as f,
5076
+ Pc as d,
5077
+ Ac as e,
5078
+ Dc as f,
5000
5079
  Pt as g,
5001
5080
  ya as h,
5002
5081
  te as i,
5003
5082
  wa as j,
5004
5083
  qt as k,
5005
- Fe as l,
5084
+ Be as l,
5006
5085
  rr as m,
5007
- Rt as n,
5086
+ Nt as n,
5008
5087
  dn as o,
5009
5088
  pr as p,
5010
5089
  da as q,
@@ -5016,6 +5095,6 @@ export {
5016
5095
  Ks as w,
5017
5096
  Pi as x,
5018
5097
  Qs as y,
5019
- Ii as z
5098
+ Ri as z
5020
5099
  };
5021
- //# sourceMappingURL=index-7a3kSUTE.js.map
5100
+ //# sourceMappingURL=textarea-CVB3CdVe.js.map