@quantlife/qlui 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as e from "react";
2
2
  import { createContext as t, createElement as n, forwardRef as r, useContext as i } from "react";
3
3
  import { cn as a } from "cn";
4
- import { Accordion as o, AlertDialog as s, AspectRatio as c, Checkbox as l, Collapsible as u, Dialog as d, DropdownMenu as f, HoverCard as p, Label as m, Popover as h, Progress as g, RadioGroup as _, Select as v, Separator as y, Slider as b, Slot as x, Switch as ee, Tabs as S, Tooltip as C } from "radix-ui";
5
- import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
6
- import { DayPicker as D, getDefaultClassNames as O } from "react-day-picker";
4
+ import { Accordion as o, AlertDialog as s, AspectRatio as c, Checkbox as l, Collapsible as u, Dialog as d, DropdownMenu as f, HoverCard as p, Label as m, Popover as h, Progress as g, RadioGroup as _, Select as v, Separator as y, Slider as b, Slot as x, Switch as S, Tabs as C, Tooltip as w } from "radix-ui";
5
+ import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
6
+ import { DayPicker as ee, getDefaultClassNames as O } from "react-day-picker";
7
7
  import { Command as k } from "cmdk";
8
8
  import { Controller as A, FormProvider as j, useFormContext as M, useFormState as te } from "react-hook-form";
9
9
  import { useTheme as ne } from "next-themes";
@@ -103,7 +103,7 @@ var be = (e) => {
103
103
  aliases: [],
104
104
  size: 24
105
105
  }, ...f }, p) => {
106
- let { size: m = 24, strokeWidth: h = 2, absoluteStrokeWidth: g = !1, nonScalingStroke: _ = !1, color: v = "currentColor", className: y = "" } = Se() ?? {}, b = !!l || be(f), [x, ee, S = []] = ye(d, {
106
+ let { size: m = 24, strokeWidth: h = 2, absoluteStrokeWidth: g = !1, nonScalingStroke: _ = !1, color: v = "currentColor", className: y = "" } = Se() ?? {}, b = !!l || be(f), [x, S, C = []] = ye(d, {
107
107
  color: e ?? v,
108
108
  width: r ?? t ?? m,
109
109
  height: i ?? t ?? m,
@@ -116,8 +116,8 @@ var be = (e) => {
116
116
  });
117
117
  return n(x, {
118
118
  ref: p,
119
- ...ee
120
- }, [...S.map(([e, t]) => n(e, t)), ...Array.isArray(l) ? l : [l]]);
119
+ ...S
120
+ }, [...C.map(([e, t]) => n(e, t)), ...Array.isArray(l) ? l : [l]]);
121
121
  });
122
122
  // node_modules/.pnpm/lucide-react@1.61.0_@types+react@19.3.0_react@19.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.mjs
123
123
  function z(e, t = [], i = []) {
@@ -600,35 +600,35 @@ kt.node;
600
600
  var V = z(kt);
601
601
  // src/components/ui/accordion.tsx
602
602
  function At({ ...e }) {
603
- return /* @__PURE__ */ T(o.Root, {
603
+ return /* @__PURE__ */ E(o.Root, {
604
604
  "data-slot": "accordion",
605
605
  ...e
606
606
  });
607
607
  }
608
608
  function jt({ className: e, ...t }) {
609
- return /* @__PURE__ */ T(o.Item, {
609
+ return /* @__PURE__ */ E(o.Item, {
610
610
  "data-slot": "accordion-item",
611
611
  className: a("border-b last:border-b-0", e),
612
612
  ...t
613
613
  });
614
614
  }
615
615
  function Mt({ className: e, children: t, ...n }) {
616
- return /* @__PURE__ */ T(o.Header, {
616
+ return /* @__PURE__ */ E(o.Header, {
617
617
  className: "flex",
618
- children: /* @__PURE__ */ E(o.Trigger, {
618
+ children: /* @__PURE__ */ D(o.Trigger, {
619
619
  "data-slot": "accordion-trigger",
620
620
  className: a("flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180", e),
621
621
  ...n,
622
- children: [t, /* @__PURE__ */ T(Fe, { className: "pointer-events-none size-4 shrink-0 translate-y-0.5 text-muted-foreground transition-transform duration-200" })]
622
+ children: [t, /* @__PURE__ */ E(Fe, { className: "pointer-events-none size-4 shrink-0 translate-y-0.5 text-muted-foreground transition-transform duration-200" })]
623
623
  })
624
624
  });
625
625
  }
626
626
  function Nt({ className: e, children: t, ...n }) {
627
- return /* @__PURE__ */ T(o.Content, {
627
+ return /* @__PURE__ */ E(o.Content, {
628
628
  "data-slot": "accordion-content",
629
629
  className: "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
630
630
  ...n,
631
- children: /* @__PURE__ */ T("div", {
631
+ children: /* @__PURE__ */ E("div", {
632
632
  className: a("pt-0 pb-4", e),
633
633
  children: t
634
634
  })
@@ -687,7 +687,7 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
687
687
  defaultVariants: { variant: "default" }
688
688
  });
689
689
  function Bt({ className: e, variant: t, ...n }) {
690
- return /* @__PURE__ */ T("div", {
690
+ return /* @__PURE__ */ E("div", {
691
691
  "data-slot": "alert",
692
692
  role: "alert",
693
693
  className: a(zt({ variant: t }), e),
@@ -695,14 +695,14 @@ function Bt({ className: e, variant: t, ...n }) {
695
695
  });
696
696
  }
697
697
  function Vt({ className: e, ...t }) {
698
- return /* @__PURE__ */ T("div", {
698
+ return /* @__PURE__ */ E("div", {
699
699
  "data-slot": "alert-title",
700
700
  className: a("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", e),
701
701
  ...t
702
702
  });
703
703
  }
704
704
  function Ht({ className: e, ...t }) {
705
- return /* @__PURE__ */ T("div", {
705
+ return /* @__PURE__ */ E("div", {
706
706
  "data-slot": "alert-description",
707
707
  className: a("col-start-2 grid justify-items-start gap-1 text-sm text-muted-foreground [&_p]:leading-relaxed", e),
708
708
  ...t
@@ -737,7 +737,7 @@ var Ut = Rt("inline-flex shrink-0 cursor-pointer items-center justify-center gap
737
737
  });
738
738
  function H({ className: e, variant: t = "default", size: n = "default", asChild: r = !1, ...i }) {
739
739
  let o = r ? x.Root : "button";
740
- return /* @__PURE__ */ T(o, {
740
+ return /* @__PURE__ */ E(o, {
741
741
  "data-slot": "button",
742
742
  "data-variant": t,
743
743
  "data-size": n,
@@ -751,32 +751,32 @@ function H({ className: e, variant: t = "default", size: n = "default", asChild:
751
751
  }
752
752
  // src/components/ui/alert-dialog.tsx
753
753
  function Wt({ ...e }) {
754
- return /* @__PURE__ */ T(s.Root, {
754
+ return /* @__PURE__ */ E(s.Root, {
755
755
  "data-slot": "alert-dialog",
756
756
  ...e
757
757
  });
758
758
  }
759
759
  function Gt({ ...e }) {
760
- return /* @__PURE__ */ T(s.Trigger, {
760
+ return /* @__PURE__ */ E(s.Trigger, {
761
761
  "data-slot": "alert-dialog-trigger",
762
762
  ...e
763
763
  });
764
764
  }
765
765
  function Kt({ ...e }) {
766
- return /* @__PURE__ */ T(s.Portal, {
766
+ return /* @__PURE__ */ E(s.Portal, {
767
767
  "data-slot": "alert-dialog-portal",
768
768
  ...e
769
769
  });
770
770
  }
771
771
  function qt({ className: e, ...t }) {
772
- return /* @__PURE__ */ T(s.Overlay, {
772
+ return /* @__PURE__ */ E(s.Overlay, {
773
773
  "data-slot": "alert-dialog-overlay",
774
- className: a("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0", e),
774
+ className: a("fixed inset-0 z-40 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0", e),
775
775
  ...t
776
776
  });
777
777
  }
778
778
  function Jt({ className: e, size: t = "default", ...n }) {
779
- return /* @__PURE__ */ E(Kt, { children: [/* @__PURE__ */ T(qt, {}), /* @__PURE__ */ T(s.Content, {
779
+ return /* @__PURE__ */ D(Kt, { children: [/* @__PURE__ */ E(qt, {}), /* @__PURE__ */ E(s.Content, {
780
780
  "data-slot": "alert-dialog-content",
781
781
  "data-size": t,
782
782
  className: a("group/alert-dialog-content 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 border bg-background p-6 shadow-lg duration-200 data-[size=sm]:max-w-xs data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[size=default]:sm:max-w-lg", e),
@@ -784,46 +784,46 @@ function Jt({ className: e, size: t = "default", ...n }) {
784
784
  })] });
785
785
  }
786
786
  function Yt({ className: e, ...t }) {
787
- return /* @__PURE__ */ T("div", {
787
+ return /* @__PURE__ */ E("div", {
788
788
  "data-slot": "alert-dialog-header",
789
789
  className: a("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-6 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", e),
790
790
  ...t
791
791
  });
792
792
  }
793
793
  function Xt({ className: e, ...t }) {
794
- return /* @__PURE__ */ T("div", {
794
+ return /* @__PURE__ */ E("div", {
795
795
  "data-slot": "alert-dialog-footer",
796
796
  className: a("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", e),
797
797
  ...t
798
798
  });
799
799
  }
800
800
  function Zt({ className: e, ...t }) {
801
- return /* @__PURE__ */ T(s.Title, {
801
+ return /* @__PURE__ */ E(s.Title, {
802
802
  "data-slot": "alert-dialog-title",
803
803
  className: a("text-lg font-semibold sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", e),
804
804
  ...t
805
805
  });
806
806
  }
807
807
  function Qt({ className: e, ...t }) {
808
- return /* @__PURE__ */ T(s.Description, {
808
+ return /* @__PURE__ */ E(s.Description, {
809
809
  "data-slot": "alert-dialog-description",
810
810
  className: a("text-sm text-muted-foreground", e),
811
811
  ...t
812
812
  });
813
813
  }
814
814
  function $t({ className: e, ...t }) {
815
- return /* @__PURE__ */ T("div", {
815
+ return /* @__PURE__ */ E("div", {
816
816
  "data-slot": "alert-dialog-media",
817
817
  className: a("mb-2 inline-flex size-16 items-center justify-center rounded-md bg-muted sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-8", e),
818
818
  ...t
819
819
  });
820
820
  }
821
821
  function en({ className: e, variant: t = "default", size: n = "default", ...r }) {
822
- return /* @__PURE__ */ T(H, {
822
+ return /* @__PURE__ */ E(H, {
823
823
  variant: t,
824
824
  size: n,
825
825
  asChild: !0,
826
- children: /* @__PURE__ */ T(s.Action, {
826
+ children: /* @__PURE__ */ E(s.Action, {
827
827
  "data-slot": "alert-dialog-action",
828
828
  className: a(e),
829
829
  ...r
@@ -831,11 +831,11 @@ function en({ className: e, variant: t = "default", size: n = "default", ...r })
831
831
  });
832
832
  }
833
833
  function tn({ className: e, variant: t = "outline", size: n = "default", ...r }) {
834
- return /* @__PURE__ */ T(H, {
834
+ return /* @__PURE__ */ E(H, {
835
835
  variant: t,
836
836
  size: n,
837
837
  asChild: !0,
838
- children: /* @__PURE__ */ T(s.Cancel, {
838
+ children: /* @__PURE__ */ E(s.Cancel, {
839
839
  "data-slot": "alert-dialog-cancel",
840
840
  className: a(e),
841
841
  ...r
@@ -856,7 +856,7 @@ var nn = Rt("inline-flex w-fit shrink-0 items-center justify-center gap-1 overfl
856
856
  });
857
857
  function rn({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
858
858
  let i = n ? x.Root : "span";
859
- return /* @__PURE__ */ T(i, {
859
+ return /* @__PURE__ */ E(i, {
860
860
  "data-slot": "badge",
861
861
  "data-variant": t,
862
862
  className: a(nn({ variant: t }), e),
@@ -866,7 +866,7 @@ function rn({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
866
866
  // src/components/ui/calendar.tsx
867
867
  function an({ className: e, classNames: t, showOutsideDays: n = !0, captionLayout: r = "label", buttonVariant: i = "ghost", formatters: o, components: s, ...c }) {
868
868
  let l = O();
869
- return /* @__PURE__ */ T(D, {
869
+ return /* @__PURE__ */ E(ee, {
870
870
  showOutsideDays: n,
871
871
  className: a("group/calendar bg-background p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, e),
872
872
  captionLayout: r,
@@ -903,20 +903,20 @@ function an({ className: e, classNames: t, showOutsideDays: n = !0, captionLayou
903
903
  ...t
904
904
  },
905
905
  components: {
906
- Root: ({ className: e, rootRef: t, ...n }) => /* @__PURE__ */ T("div", {
906
+ Root: ({ className: e, rootRef: t, ...n }) => /* @__PURE__ */ E("div", {
907
907
  "data-slot": "calendar",
908
908
  ref: t,
909
909
  className: a(e),
910
910
  ...n
911
911
  }),
912
- Chevron: ({ className: e, orientation: t, ...n }) => T(t === "left" ? Le : t === "right" ? ze : Fe, {
912
+ Chevron: ({ className: e, orientation: t, ...n }) => E(t === "left" ? Le : t === "right" ? ze : Fe, {
913
913
  className: a("size-4", e),
914
914
  ...n
915
915
  }),
916
916
  DayButton: on,
917
- WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ T("td", {
917
+ WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ E("td", {
918
918
  ...t,
919
- children: /* @__PURE__ */ T("div", {
919
+ children: /* @__PURE__ */ E("div", {
920
920
  className: "flex size-(--cell-size) items-center justify-center text-center",
921
921
  children: e
922
922
  })
@@ -930,7 +930,7 @@ function on({ className: t, day: n, modifiers: r, ...i }) {
930
930
  let o = O(), s = e.useRef(null);
931
931
  return e.useEffect(() => {
932
932
  r.focused && s.current?.focus();
933
- }, [r.focused]), /* @__PURE__ */ T(H, {
933
+ }, [r.focused]), /* @__PURE__ */ E(H, {
934
934
  ref: s,
935
935
  variant: "ghost",
936
936
  size: "icon",
@@ -945,49 +945,49 @@ function on({ className: t, day: n, modifiers: r, ...i }) {
945
945
  }
946
946
  // src/components/ui/card.tsx
947
947
  function sn({ className: e, ...t }) {
948
- return /* @__PURE__ */ T("div", {
948
+ return /* @__PURE__ */ E("div", {
949
949
  "data-slot": "card",
950
950
  className: a("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm", e),
951
951
  ...t
952
952
  });
953
953
  }
954
954
  function cn({ className: e, ...t }) {
955
- return /* @__PURE__ */ T("div", {
955
+ return /* @__PURE__ */ E("div", {
956
956
  "data-slot": "card-header",
957
957
  className: a("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", e),
958
958
  ...t
959
959
  });
960
960
  }
961
961
  function ln({ className: e, ...t }) {
962
- return /* @__PURE__ */ T("div", {
962
+ return /* @__PURE__ */ E("div", {
963
963
  "data-slot": "card-title",
964
964
  className: a("leading-none font-semibold", e),
965
965
  ...t
966
966
  });
967
967
  }
968
968
  function un({ className: e, ...t }) {
969
- return /* @__PURE__ */ T("div", {
969
+ return /* @__PURE__ */ E("div", {
970
970
  "data-slot": "card-description",
971
971
  className: a("text-sm text-muted-foreground", e),
972
972
  ...t
973
973
  });
974
974
  }
975
975
  function dn({ className: e, ...t }) {
976
- return /* @__PURE__ */ T("div", {
976
+ return /* @__PURE__ */ E("div", {
977
977
  "data-slot": "card-action",
978
978
  className: a("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
979
979
  ...t
980
980
  });
981
981
  }
982
982
  function fn({ className: e, ...t }) {
983
- return /* @__PURE__ */ T("div", {
983
+ return /* @__PURE__ */ E("div", {
984
984
  "data-slot": "card-content",
985
985
  className: a("px-6", e),
986
986
  ...t
987
987
  });
988
988
  }
989
989
  function pn({ className: e, ...t }) {
990
- return /* @__PURE__ */ T("div", {
990
+ return /* @__PURE__ */ E("div", {
991
991
  "data-slot": "card-footer",
992
992
  className: a("flex items-center px-6 [.border-t]:pt-6", e),
993
993
  ...t
@@ -995,79 +995,79 @@ function pn({ className: e, ...t }) {
995
995
  }
996
996
  // src/components/ui/checkbox.tsx
997
997
  function mn({ className: e, ...t }) {
998
- return /* @__PURE__ */ T(l.Root, {
998
+ return /* @__PURE__ */ E(l.Root, {
999
999
  "data-slot": "checkbox",
1000
1000
  className: a("peer size-4 shrink-0 rounded-[4px] border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary", e),
1001
1001
  ...t,
1002
- children: /* @__PURE__ */ T(l.Indicator, {
1002
+ children: /* @__PURE__ */ E(l.Indicator, {
1003
1003
  "data-slot": "checkbox-indicator",
1004
1004
  className: "grid place-content-center text-current transition-none",
1005
- children: /* @__PURE__ */ T(Ne, { className: "size-3.5" })
1005
+ children: /* @__PURE__ */ E(Ne, { className: "size-3.5" })
1006
1006
  })
1007
1007
  });
1008
1008
  }
1009
1009
  // src/components/ui/collapsible.tsx
1010
1010
  function hn({ ...e }) {
1011
- return /* @__PURE__ */ T(u.Root, {
1011
+ return /* @__PURE__ */ E(u.Root, {
1012
1012
  "data-slot": "collapsible",
1013
1013
  ...e
1014
1014
  });
1015
1015
  }
1016
1016
  function gn({ ...e }) {
1017
- return /* @__PURE__ */ T(u.CollapsibleTrigger, {
1017
+ return /* @__PURE__ */ E(u.CollapsibleTrigger, {
1018
1018
  "data-slot": "collapsible-trigger",
1019
1019
  ...e
1020
1020
  });
1021
1021
  }
1022
1022
  function _n({ ...e }) {
1023
- return /* @__PURE__ */ T(u.CollapsibleContent, {
1023
+ return /* @__PURE__ */ E(u.CollapsibleContent, {
1024
1024
  "data-slot": "collapsible-content",
1025
1025
  ...e
1026
1026
  });
1027
1027
  }
1028
1028
  // src/components/ui/dialog.tsx
1029
1029
  function vn({ ...e }) {
1030
- return /* @__PURE__ */ T(d.Root, {
1030
+ return /* @__PURE__ */ E(d.Root, {
1031
1031
  "data-slot": "dialog",
1032
1032
  ...e
1033
1033
  });
1034
1034
  }
1035
1035
  function yn({ ...e }) {
1036
- return /* @__PURE__ */ T(d.Trigger, {
1036
+ return /* @__PURE__ */ E(d.Trigger, {
1037
1037
  "data-slot": "dialog-trigger",
1038
1038
  ...e
1039
1039
  });
1040
1040
  }
1041
1041
  function bn({ ...e }) {
1042
- return /* @__PURE__ */ T(d.Portal, {
1042
+ return /* @__PURE__ */ E(d.Portal, {
1043
1043
  "data-slot": "dialog-portal",
1044
1044
  ...e
1045
1045
  });
1046
1046
  }
1047
1047
  function xn({ ...e }) {
1048
- return /* @__PURE__ */ T(d.Close, {
1048
+ return /* @__PURE__ */ E(d.Close, {
1049
1049
  "data-slot": "dialog-close",
1050
1050
  ...e
1051
1051
  });
1052
1052
  }
1053
1053
  function Sn({ className: e, ...t }) {
1054
- return /* @__PURE__ */ T(d.Overlay, {
1054
+ return /* @__PURE__ */ E(d.Overlay, {
1055
1055
  "data-slot": "dialog-overlay",
1056
- className: a("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0", e),
1056
+ className: a("fixed inset-0 z-40 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0", e),
1057
1057
  ...t
1058
1058
  });
1059
1059
  }
1060
1060
  function Cn({ className: e, children: t, showCloseButton: n = !0, ...r }) {
1061
- return /* @__PURE__ */ E(bn, {
1061
+ return /* @__PURE__ */ D(bn, {
1062
1062
  "data-slot": "dialog-portal",
1063
- children: [/* @__PURE__ */ T(Sn, {}), /* @__PURE__ */ E(d.Content, {
1063
+ children: [/* @__PURE__ */ E(Sn, {}), /* @__PURE__ */ D(d.Content, {
1064
1064
  "data-slot": "dialog-content",
1065
1065
  className: a("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 border bg-background p-6 shadow-lg duration-200 outline-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg", e),
1066
1066
  ...r,
1067
- children: [t, n && /* @__PURE__ */ E(d.Close, {
1067
+ children: [t, n && /* @__PURE__ */ D(d.Close, {
1068
1068
  "data-slot": "dialog-close",
1069
1069
  className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
1070
- children: [/* @__PURE__ */ T(V, {}), /* @__PURE__ */ T("span", {
1070
+ children: [/* @__PURE__ */ E(V, {}), /* @__PURE__ */ E("span", {
1071
1071
  className: "sr-only",
1072
1072
  children: "Close"
1073
1073
  })]
@@ -1076,20 +1076,20 @@ function Cn({ className: e, children: t, showCloseButton: n = !0, ...r }) {
1076
1076
  });
1077
1077
  }
1078
1078
  function wn({ className: e, ...t }) {
1079
- return /* @__PURE__ */ T("div", {
1079
+ return /* @__PURE__ */ E("div", {
1080
1080
  "data-slot": "dialog-header",
1081
1081
  className: a("flex flex-col gap-2 text-center sm:text-left", e),
1082
1082
  ...t
1083
1083
  });
1084
1084
  }
1085
1085
  function Tn({ className: e, showCloseButton: t = !1, children: n, ...r }) {
1086
- return /* @__PURE__ */ E("div", {
1086
+ return /* @__PURE__ */ D("div", {
1087
1087
  "data-slot": "dialog-footer",
1088
1088
  className: a("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
1089
1089
  ...r,
1090
- children: [n, t && /* @__PURE__ */ T(d.Close, {
1090
+ children: [n, t && /* @__PURE__ */ E(d.Close, {
1091
1091
  asChild: !0,
1092
- children: /* @__PURE__ */ T(H, {
1092
+ children: /* @__PURE__ */ E(H, {
1093
1093
  variant: "outline",
1094
1094
  children: "Close"
1095
1095
  })
@@ -1097,14 +1097,14 @@ function Tn({ className: e, showCloseButton: t = !1, children: n, ...r }) {
1097
1097
  });
1098
1098
  }
1099
1099
  function En({ className: e, ...t }) {
1100
- return /* @__PURE__ */ T(d.Title, {
1100
+ return /* @__PURE__ */ E(d.Title, {
1101
1101
  "data-slot": "dialog-title",
1102
1102
  className: a("text-lg leading-none font-semibold", e),
1103
1103
  ...t
1104
1104
  });
1105
1105
  }
1106
1106
  function Dn({ className: e, ...t }) {
1107
- return /* @__PURE__ */ T(d.Description, {
1107
+ return /* @__PURE__ */ E(d.Description, {
1108
1108
  "data-slot": "dialog-description",
1109
1109
  className: a("text-sm text-muted-foreground", e),
1110
1110
  ...t
@@ -1112,39 +1112,39 @@ function Dn({ className: e, ...t }) {
1112
1112
  }
1113
1113
  // src/components/ui/dropdown-menu.tsx
1114
1114
  function On({ ...e }) {
1115
- return /* @__PURE__ */ T(f.Root, {
1115
+ return /* @__PURE__ */ E(f.Root, {
1116
1116
  "data-slot": "dropdown-menu",
1117
1117
  ...e
1118
1118
  });
1119
1119
  }
1120
1120
  function kn({ ...e }) {
1121
- return /* @__PURE__ */ T(f.Portal, {
1121
+ return /* @__PURE__ */ E(f.Portal, {
1122
1122
  "data-slot": "dropdown-menu-portal",
1123
1123
  ...e
1124
1124
  });
1125
1125
  }
1126
1126
  function An({ ...e }) {
1127
- return /* @__PURE__ */ T(f.Trigger, {
1127
+ return /* @__PURE__ */ E(f.Trigger, {
1128
1128
  "data-slot": "dropdown-menu-trigger",
1129
1129
  ...e
1130
1130
  });
1131
1131
  }
1132
1132
  function jn({ className: e, sideOffset: t = 4, ...n }) {
1133
- return /* @__PURE__ */ T(f.Portal, { children: /* @__PURE__ */ T(f.Content, {
1133
+ return /* @__PURE__ */ E(f.Portal, { children: /* @__PURE__ */ E(f.Content, {
1134
1134
  "data-slot": "dropdown-menu-content",
1135
1135
  sideOffset: t,
1136
- className: a("z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", e),
1136
+ className: a("z-60 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", e),
1137
1137
  ...n
1138
1138
  }) });
1139
1139
  }
1140
1140
  function Mn({ ...e }) {
1141
- return /* @__PURE__ */ T(f.Group, {
1141
+ return /* @__PURE__ */ E(f.Group, {
1142
1142
  "data-slot": "dropdown-menu-group",
1143
1143
  ...e
1144
1144
  });
1145
1145
  }
1146
1146
  function Nn({ className: e, inset: t, variant: n = "default", ...r }) {
1147
- return /* @__PURE__ */ T(f.Item, {
1147
+ return /* @__PURE__ */ E(f.Item, {
1148
1148
  "data-slot": "dropdown-menu-item",
1149
1149
  "data-inset": t,
1150
1150
  "data-variant": n,
@@ -1153,36 +1153,36 @@ function Nn({ className: e, inset: t, variant: n = "default", ...r }) {
1153
1153
  });
1154
1154
  }
1155
1155
  function Pn({ className: e, children: t, checked: n, ...r }) {
1156
- return /* @__PURE__ */ E(f.CheckboxItem, {
1156
+ return /* @__PURE__ */ D(f.CheckboxItem, {
1157
1157
  "data-slot": "dropdown-menu-checkbox-item",
1158
1158
  className: a("relative flex cursor-pointer items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
1159
1159
  checked: n,
1160
1160
  ...r,
1161
- children: [/* @__PURE__ */ T("span", {
1161
+ children: [/* @__PURE__ */ E("span", {
1162
1162
  className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
1163
- children: /* @__PURE__ */ T(f.ItemIndicator, { children: /* @__PURE__ */ T(Ne, { className: "size-4" }) })
1163
+ children: /* @__PURE__ */ E(f.ItemIndicator, { children: /* @__PURE__ */ E(Ne, { className: "size-4" }) })
1164
1164
  }), t]
1165
1165
  });
1166
1166
  }
1167
1167
  function Fn({ ...e }) {
1168
- return /* @__PURE__ */ T(f.RadioGroup, {
1168
+ return /* @__PURE__ */ E(f.RadioGroup, {
1169
1169
  "data-slot": "dropdown-menu-radio-group",
1170
1170
  ...e
1171
1171
  });
1172
1172
  }
1173
1173
  function In({ className: e, children: t, ...n }) {
1174
- return /* @__PURE__ */ E(f.RadioItem, {
1174
+ return /* @__PURE__ */ D(f.RadioItem, {
1175
1175
  "data-slot": "dropdown-menu-radio-item",
1176
1176
  className: a("relative flex cursor-pointer items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
1177
1177
  ...n,
1178
- children: [/* @__PURE__ */ T("span", {
1178
+ children: [/* @__PURE__ */ E("span", {
1179
1179
  className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
1180
- children: /* @__PURE__ */ T(f.ItemIndicator, { children: /* @__PURE__ */ T(qe, { className: "size-2 fill-current" }) })
1180
+ children: /* @__PURE__ */ E(f.ItemIndicator, { children: /* @__PURE__ */ E(qe, { className: "size-2 fill-current" }) })
1181
1181
  }), t]
1182
1182
  });
1183
1183
  }
1184
1184
  function Ln({ className: e, inset: t, ...n }) {
1185
- return /* @__PURE__ */ T(f.Label, {
1185
+ return /* @__PURE__ */ E(f.Label, {
1186
1186
  "data-slot": "dropdown-menu-label",
1187
1187
  "data-inset": t,
1188
1188
  className: a("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", e),
@@ -1190,44 +1190,44 @@ function Ln({ className: e, inset: t, ...n }) {
1190
1190
  });
1191
1191
  }
1192
1192
  function Rn({ className: e, ...t }) {
1193
- return /* @__PURE__ */ T(f.Separator, {
1193
+ return /* @__PURE__ */ E(f.Separator, {
1194
1194
  "data-slot": "dropdown-menu-separator",
1195
1195
  className: a("-mx-1 my-1 h-px bg-border", e),
1196
1196
  ...t
1197
1197
  });
1198
1198
  }
1199
1199
  function zn({ className: e, ...t }) {
1200
- return /* @__PURE__ */ T("span", {
1200
+ return /* @__PURE__ */ E("span", {
1201
1201
  "data-slot": "dropdown-menu-shortcut",
1202
1202
  className: a("ml-auto text-xs tracking-widest text-muted-foreground", e),
1203
1203
  ...t
1204
1204
  });
1205
1205
  }
1206
1206
  function Bn({ ...e }) {
1207
- return /* @__PURE__ */ T(f.Sub, {
1207
+ return /* @__PURE__ */ E(f.Sub, {
1208
1208
  "data-slot": "dropdown-menu-sub",
1209
1209
  ...e
1210
1210
  });
1211
1211
  }
1212
1212
  function Vn({ className: e, inset: t, children: n, ...r }) {
1213
- return /* @__PURE__ */ E(f.SubTrigger, {
1213
+ return /* @__PURE__ */ D(f.SubTrigger, {
1214
1214
  "data-slot": "dropdown-menu-sub-trigger",
1215
1215
  "data-inset": t,
1216
1216
  className: a("flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground", e),
1217
1217
  ...r,
1218
- children: [n, /* @__PURE__ */ T(ze, { className: "ml-auto size-4" })]
1218
+ children: [n, /* @__PURE__ */ E(ze, { className: "ml-auto size-4" })]
1219
1219
  });
1220
1220
  }
1221
1221
  function Hn({ className: e, ...t }) {
1222
- return /* @__PURE__ */ T(f.SubContent, {
1222
+ return /* @__PURE__ */ E(f.SubContent, {
1223
1223
  "data-slot": "dropdown-menu-sub-content",
1224
- className: a("z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", e),
1224
+ className: a("z-60 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", e),
1225
1225
  ...t
1226
1226
  });
1227
1227
  }
1228
1228
  // src/components/ui/input.tsx
1229
1229
  function Un({ className: e, type: t, ...n }) {
1230
- return /* @__PURE__ */ T("input", {
1230
+ return /* @__PURE__ */ E("input", {
1231
1231
  type: t,
1232
1232
  "data-slot": "input",
1233
1233
  className: a("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,background-color,border-color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30 dark:hover:bg-input/40 hover:border-ring/50 hover:bg-muted/40", "focus-visible:border-ring focus-visible:ring-[2px] focus-visible:ring-ring/30", "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", e),
@@ -1236,7 +1236,7 @@ function Un({ className: e, type: t, ...n }) {
1236
1236
  }
1237
1237
  // src/components/ui/label.tsx
1238
1238
  function Wn({ className: e, ...t }) {
1239
- return /* @__PURE__ */ T(m.Root, {
1239
+ return /* @__PURE__ */ E(m.Root, {
1240
1240
  "data-slot": "label",
1241
1241
  className: a("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
1242
1242
  ...t
@@ -1244,48 +1244,48 @@ function Wn({ className: e, ...t }) {
1244
1244
  }
1245
1245
  // src/components/ui/popover.tsx
1246
1246
  function Gn({ ...e }) {
1247
- return /* @__PURE__ */ T(h.Root, {
1247
+ return /* @__PURE__ */ E(h.Root, {
1248
1248
  "data-slot": "popover",
1249
1249
  ...e
1250
1250
  });
1251
1251
  }
1252
1252
  function Kn({ ...e }) {
1253
- return /* @__PURE__ */ T(h.Trigger, {
1253
+ return /* @__PURE__ */ E(h.Trigger, {
1254
1254
  "data-slot": "popover-trigger",
1255
1255
  ...e
1256
1256
  });
1257
1257
  }
1258
1258
  function qn({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
1259
- return /* @__PURE__ */ T(h.Portal, { children: /* @__PURE__ */ T(h.Content, {
1259
+ return /* @__PURE__ */ E(h.Portal, { children: /* @__PURE__ */ E(h.Content, {
1260
1260
  "data-slot": "popover-content",
1261
1261
  align: t,
1262
1262
  sideOffset: n,
1263
- className: a("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", e),
1263
+ className: a("z-60 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", e),
1264
1264
  ...r
1265
1265
  }) });
1266
1266
  }
1267
1267
  function Jn({ ...e }) {
1268
- return /* @__PURE__ */ T(h.Anchor, {
1268
+ return /* @__PURE__ */ E(h.Anchor, {
1269
1269
  "data-slot": "popover-anchor",
1270
1270
  ...e
1271
1271
  });
1272
1272
  }
1273
1273
  function Yn({ className: e, ...t }) {
1274
- return /* @__PURE__ */ T("div", {
1274
+ return /* @__PURE__ */ E("div", {
1275
1275
  "data-slot": "popover-header",
1276
1276
  className: a("flex flex-col gap-1 text-sm", e),
1277
1277
  ...t
1278
1278
  });
1279
1279
  }
1280
1280
  function Xn({ className: e, ...t }) {
1281
- return /* @__PURE__ */ T("div", {
1281
+ return /* @__PURE__ */ E("div", {
1282
1282
  "data-slot": "popover-title",
1283
1283
  className: a("font-medium", e),
1284
1284
  ...t
1285
1285
  });
1286
1286
  }
1287
1287
  function Zn({ className: e, ...t }) {
1288
- return /* @__PURE__ */ T("p", {
1288
+ return /* @__PURE__ */ E("p", {
1289
1289
  "data-slot": "popover-description",
1290
1290
  className: a("text-muted-foreground", e),
1291
1291
  ...t
@@ -1293,11 +1293,11 @@ function Zn({ className: e, ...t }) {
1293
1293
  }
1294
1294
  // src/components/ui/progress.tsx
1295
1295
  function Qn({ className: e, value: t, ...n }) {
1296
- return /* @__PURE__ */ T(g.Root, {
1296
+ return /* @__PURE__ */ E(g.Root, {
1297
1297
  "data-slot": "progress",
1298
1298
  className: a("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", e),
1299
1299
  ...n,
1300
- children: /* @__PURE__ */ T(g.Indicator, {
1300
+ children: /* @__PURE__ */ E(g.Indicator, {
1301
1301
  "data-slot": "progress-indicator",
1302
1302
  className: "h-full w-full flex-1 bg-primary transition-all",
1303
1303
  style: { transform: `translateX(-${100 - (t || 0)}%)` }
@@ -1306,117 +1306,117 @@ function Qn({ className: e, value: t, ...n }) {
1306
1306
  }
1307
1307
  // src/components/ui/radio-group.tsx
1308
1308
  function $n({ className: e, ...t }) {
1309
- return /* @__PURE__ */ T(_.Root, {
1309
+ return /* @__PURE__ */ E(_.Root, {
1310
1310
  "data-slot": "radio-group",
1311
1311
  className: a("grid gap-3", e),
1312
1312
  ...t
1313
1313
  });
1314
1314
  }
1315
1315
  function er({ className: e, ...t }) {
1316
- return /* @__PURE__ */ T(_.Item, {
1316
+ return /* @__PURE__ */ E(_.Item, {
1317
1317
  "data-slot": "radio-group-item",
1318
1318
  className: a("aspect-square size-4 shrink-0 rounded-full border border-input text-primary shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:bg-input/30 dark:aria-invalid:ring-destructive/40", e),
1319
1319
  ...t,
1320
- children: /* @__PURE__ */ T(_.Indicator, {
1320
+ children: /* @__PURE__ */ E(_.Indicator, {
1321
1321
  "data-slot": "radio-group-indicator",
1322
1322
  className: "relative flex items-center justify-center",
1323
- children: /* @__PURE__ */ T(qe, { className: "absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 fill-primary" })
1323
+ children: /* @__PURE__ */ E(qe, { className: "absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 fill-primary" })
1324
1324
  })
1325
1325
  });
1326
1326
  }
1327
1327
  // src/components/ui/select.tsx
1328
1328
  function tr({ ...e }) {
1329
- return /* @__PURE__ */ T(v.Root, {
1329
+ return /* @__PURE__ */ E(v.Root, {
1330
1330
  "data-slot": "select",
1331
1331
  ...e
1332
1332
  });
1333
1333
  }
1334
1334
  function nr({ ...e }) {
1335
- return /* @__PURE__ */ T(v.Group, {
1335
+ return /* @__PURE__ */ E(v.Group, {
1336
1336
  "data-slot": "select-group",
1337
1337
  ...e
1338
1338
  });
1339
1339
  }
1340
1340
  function rr({ ...e }) {
1341
- return /* @__PURE__ */ T(v.Value, {
1341
+ return /* @__PURE__ */ E(v.Value, {
1342
1342
  "data-slot": "select-value",
1343
1343
  ...e
1344
1344
  });
1345
1345
  }
1346
1346
  function ir({ className: e, size: t = "default", children: n, ...r }) {
1347
- return /* @__PURE__ */ E(v.Trigger, {
1347
+ return /* @__PURE__ */ D(v.Trigger, {
1348
1348
  "data-slot": "select-trigger",
1349
1349
  "data-size": t,
1350
1350
  className: a("flex w-fit cursor-pointer items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground 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 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground", e),
1351
1351
  ...r,
1352
- children: [n, /* @__PURE__ */ T(v.Icon, {
1352
+ children: [n, /* @__PURE__ */ E(v.Icon, {
1353
1353
  asChild: !0,
1354
- children: /* @__PURE__ */ T(Fe, { className: "size-4 opacity-50" })
1354
+ children: /* @__PURE__ */ E(Fe, { className: "size-4 opacity-50" })
1355
1355
  })]
1356
1356
  });
1357
1357
  }
1358
1358
  function ar({ className: e, children: t, position: n = "item-aligned", align: r = "center", ...i }) {
1359
- return /* @__PURE__ */ T(v.Portal, { children: /* @__PURE__ */ E(v.Content, {
1359
+ return /* @__PURE__ */ E(v.Portal, { children: /* @__PURE__ */ D(v.Content, {
1360
1360
  "data-slot": "select-content",
1361
- className: a("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 border bg-popover text-popover-foreground shadow-md 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", 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", e),
1361
+ className: a("relative z-60 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground shadow-md 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", 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", e),
1362
1362
  position: n,
1363
1363
  align: r,
1364
1364
  ...i,
1365
1365
  children: [
1366
- /* @__PURE__ */ T(lr, {}),
1367
- /* @__PURE__ */ T(v.Viewport, {
1366
+ /* @__PURE__ */ E(lr, {}),
1367
+ /* @__PURE__ */ E(v.Viewport, {
1368
1368
  className: a("p-1", n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),
1369
1369
  children: t
1370
1370
  }),
1371
- /* @__PURE__ */ T(ur, {})
1371
+ /* @__PURE__ */ E(ur, {})
1372
1372
  ]
1373
1373
  }) });
1374
1374
  }
1375
1375
  function or({ className: e, ...t }) {
1376
- return /* @__PURE__ */ T(v.Label, {
1376
+ return /* @__PURE__ */ E(v.Label, {
1377
1377
  "data-slot": "select-label",
1378
1378
  className: a("px-2 py-1.5 text-xs text-muted-foreground", e),
1379
1379
  ...t
1380
1380
  });
1381
1381
  }
1382
1382
  function sr({ className: e, children: t, ...n }) {
1383
- return /* @__PURE__ */ E(v.Item, {
1383
+ return /* @__PURE__ */ D(v.Item, {
1384
1384
  "data-slot": "select-item",
1385
1385
  className: a("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 focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", e),
1386
1386
  ...n,
1387
- children: [/* @__PURE__ */ T("span", {
1387
+ children: [/* @__PURE__ */ E("span", {
1388
1388
  "data-slot": "select-item-indicator",
1389
1389
  className: "absolute right-2 flex size-3.5 items-center justify-center",
1390
- children: /* @__PURE__ */ T(v.ItemIndicator, { children: /* @__PURE__ */ T(Ne, { className: "size-4" }) })
1391
- }), /* @__PURE__ */ T(v.ItemText, { children: t })]
1390
+ children: /* @__PURE__ */ E(v.ItemIndicator, { children: /* @__PURE__ */ E(Ne, { className: "size-4" }) })
1391
+ }), /* @__PURE__ */ E(v.ItemText, { children: t })]
1392
1392
  });
1393
1393
  }
1394
1394
  function cr({ className: e, ...t }) {
1395
- return /* @__PURE__ */ T(v.Separator, {
1395
+ return /* @__PURE__ */ E(v.Separator, {
1396
1396
  "data-slot": "select-separator",
1397
1397
  className: a("pointer-events-none -mx-1 my-1 h-px bg-border", e),
1398
1398
  ...t
1399
1399
  });
1400
1400
  }
1401
1401
  function lr({ className: e, ...t }) {
1402
- return /* @__PURE__ */ T(v.ScrollUpButton, {
1402
+ return /* @__PURE__ */ E(v.ScrollUpButton, {
1403
1403
  "data-slot": "select-scroll-up-button",
1404
1404
  className: a("flex cursor-default items-center justify-center py-1", e),
1405
1405
  ...t,
1406
- children: /* @__PURE__ */ T(Ve, { className: "size-4" })
1406
+ children: /* @__PURE__ */ E(Ve, { className: "size-4" })
1407
1407
  });
1408
1408
  }
1409
1409
  function ur({ className: e, ...t }) {
1410
- return /* @__PURE__ */ T(v.ScrollDownButton, {
1410
+ return /* @__PURE__ */ E(v.ScrollDownButton, {
1411
1411
  "data-slot": "select-scroll-down-button",
1412
1412
  className: a("flex cursor-default items-center justify-center py-1", e),
1413
1413
  ...t,
1414
- children: /* @__PURE__ */ T(Fe, { className: "size-4" })
1414
+ children: /* @__PURE__ */ E(Fe, { className: "size-4" })
1415
1415
  });
1416
1416
  }
1417
1417
  // src/components/ui/separator.tsx
1418
1418
  function dr({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }) {
1419
- return /* @__PURE__ */ T(y.Root, {
1419
+ return /* @__PURE__ */ E(y.Root, {
1420
1420
  "data-slot": "separator",
1421
1421
  decorative: n,
1422
1422
  orientation: t,
@@ -1426,47 +1426,50 @@ function dr({ className: e, orientation: t = "horizontal", decorative: n = !0, .
1426
1426
  }
1427
1427
  // src/components/ui/sheet.tsx
1428
1428
  function fr({ ...e }) {
1429
- return /* @__PURE__ */ T(d.Root, {
1429
+ return /* @__PURE__ */ E(d.Root, {
1430
1430
  "data-slot": "sheet",
1431
1431
  ...e
1432
1432
  });
1433
1433
  }
1434
1434
  function pr({ ...e }) {
1435
- return /* @__PURE__ */ T(d.Trigger, {
1435
+ return /* @__PURE__ */ E(d.Trigger, {
1436
1436
  "data-slot": "sheet-trigger",
1437
1437
  ...e
1438
1438
  });
1439
1439
  }
1440
1440
  function mr({ ...e }) {
1441
- return /* @__PURE__ */ T(d.Close, {
1441
+ return /* @__PURE__ */ E(d.Close, {
1442
1442
  "data-slot": "sheet-close",
1443
1443
  ...e
1444
1444
  });
1445
1445
  }
1446
1446
  function hr({ ...e }) {
1447
- return /* @__PURE__ */ T(d.Portal, {
1447
+ return /* @__PURE__ */ E(d.Portal, {
1448
1448
  "data-slot": "sheet-portal",
1449
1449
  ...e
1450
1450
  });
1451
1451
  }
1452
1452
  function gr({ className: e, ...t }) {
1453
- return /* @__PURE__ */ T(d.Overlay, {
1453
+ return /* @__PURE__ */ E(d.Overlay, {
1454
1454
  "data-slot": "sheet-overlay",
1455
- className: a("fixed inset-0 z-[110] bg-black/50 backdrop-blur-[2px] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0", e),
1455
+ className: a("fixed inset-0 z-40 bg-black/50 backdrop-blur-[2px] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:duration-100 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:duration-[240ms]", e),
1456
1456
  ...t
1457
1457
  });
1458
1458
  }
1459
- function _r({ className: e, children: t, side: n = "right", showCloseButton: r = !0, maskClosable: i = !0, onInteractOutside: o, ...s }) {
1460
- return /* @__PURE__ */ E(hr, { children: [/* @__PURE__ */ T(gr, {}), /* @__PURE__ */ E(d.Content, {
1459
+ function _r({ className: e, children: t, side: n = "right", showCloseButton: r = !0, maskClosable: i = !0, onInteractOutside: o, onPointerDownOutside: s, ...c }) {
1460
+ return /* @__PURE__ */ D(hr, { children: [/* @__PURE__ */ E(gr, {}), /* @__PURE__ */ D(d.Content, {
1461
1461
  "data-slot": "sheet-content",
1462
- className: a("fixed z-[110] flex flex-col gap-4 bg-background/80 shadow-xl backdrop-blur-md", "data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:ease-out", "data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:duration-200 data-[state=closed]:ease-in", n === "right" && "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=closed]:duration-200 data-[state=open]:slide-in-from-right data-[state=open]:duration-300 sm:max-w-sm", n === "left" && "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=closed]:duration-200 data-[state=open]:slide-in-from-left data-[state=open]:duration-300 sm:max-w-sm", n === "top" && "inset-x-0 top-0 h-auto border-b data-[state=closed]:slide-out-to-top data-[state=closed]:duration-200 data-[state=open]:slide-in-from-top data-[state=open]:duration-250", n === "bottom" && "inset-x-0 bottom-0 h-auto border-t data-[state=closed]:slide-out-to-bottom data-[state=closed]:duration-200 data-[state=open]:slide-in-from-bottom data-[state=open]:duration-250", e),
1462
+ className: a("fixed z-50 flex flex-col gap-4 bg-background/85 shadow-xl backdrop-blur-[12px] saturate-[1.25]", "data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-[0.98] data-[state=open]:ease-[cubic-bezier(0.32,0.72,0,1)]", "data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:duration-200 data-[state=closed]:ease-in", n === "right" && "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=closed]:duration-200 data-[state=open]:slide-in-from-right data-[state=open]:duration-[320ms] sm:max-w-sm", n === "left" && "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=closed]:duration-200 data-[state=open]:slide-in-from-left data-[state=open]:duration-[320ms] sm:max-w-sm", n === "top" && "inset-x-0 top-0 h-auto border-b data-[state=closed]:slide-out-to-top data-[state=closed]:duration-200 data-[state=open]:slide-in-from-top data-[state=open]:duration-[280ms]", n === "bottom" && "inset-x-0 bottom-0 h-auto border-t data-[state=closed]:slide-out-to-bottom data-[state=closed]:duration-200 data-[state=open]:slide-in-from-bottom data-[state=open]:duration-[280ms]", e),
1463
1463
  onInteractOutside: (e) => {
1464
1464
  i || e.preventDefault(), o?.(e);
1465
1465
  },
1466
- ...s,
1467
- children: [t, r && /* @__PURE__ */ E(d.Close, {
1466
+ onPointerDownOutside: (e) => {
1467
+ i || e.preventDefault(), s?.(e);
1468
+ },
1469
+ ...c,
1470
+ children: [t, r && /* @__PURE__ */ D(d.Close, {
1468
1471
  className: "absolute top-4 right-4 cursor-pointer rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-secondary",
1469
- children: [/* @__PURE__ */ T(V, { className: "size-4" }), /* @__PURE__ */ T("span", {
1472
+ children: [/* @__PURE__ */ E(V, { className: "size-4" }), /* @__PURE__ */ E("span", {
1470
1473
  className: "sr-only",
1471
1474
  children: "Close"
1472
1475
  })]
@@ -1474,28 +1477,28 @@ function _r({ className: e, children: t, side: n = "right", showCloseButton: r =
1474
1477
  })] });
1475
1478
  }
1476
1479
  function vr({ className: e, ...t }) {
1477
- return /* @__PURE__ */ T("div", {
1480
+ return /* @__PURE__ */ E("div", {
1478
1481
  "data-slot": "sheet-header",
1479
1482
  className: a("flex flex-col gap-1.5 p-4", e),
1480
1483
  ...t
1481
1484
  });
1482
1485
  }
1483
1486
  function yr({ className: e, ...t }) {
1484
- return /* @__PURE__ */ T("div", {
1487
+ return /* @__PURE__ */ E("div", {
1485
1488
  "data-slot": "sheet-footer",
1486
1489
  className: a("mt-auto flex flex-col gap-2 p-4", e),
1487
1490
  ...t
1488
1491
  });
1489
1492
  }
1490
1493
  function br({ className: e, ...t }) {
1491
- return /* @__PURE__ */ T(d.Title, {
1494
+ return /* @__PURE__ */ E(d.Title, {
1492
1495
  "data-slot": "sheet-title",
1493
1496
  className: a("font-semibold text-foreground", e),
1494
1497
  ...t
1495
1498
  });
1496
1499
  }
1497
1500
  function xr({ className: e, ...t }) {
1498
- return /* @__PURE__ */ T(d.Description, {
1501
+ return /* @__PURE__ */ E(d.Description, {
1499
1502
  "data-slot": "sheet-description",
1500
1503
  className: a("text-sm text-muted-foreground", e),
1501
1504
  ...t
@@ -1503,7 +1506,7 @@ function xr({ className: e, ...t }) {
1503
1506
  }
1504
1507
  // src/components/ui/skeleton.tsx
1505
1508
  function Sr({ className: e, ...t }) {
1506
- return /* @__PURE__ */ T("div", {
1509
+ return /* @__PURE__ */ E("div", {
1507
1510
  "data-slot": "skeleton",
1508
1511
  className: a("animate-pulse rounded-md bg-accent", e),
1509
1512
  ...t
@@ -1517,7 +1520,7 @@ function Cr({ className: t, defaultValue: n, value: r, min: i = 0, max: o = 100,
1517
1520
  i,
1518
1521
  o
1519
1522
  ]);
1520
- return /* @__PURE__ */ E(b.Root, {
1523
+ return /* @__PURE__ */ D(b.Root, {
1521
1524
  "data-slot": "slider",
1522
1525
  defaultValue: n,
1523
1526
  value: r,
@@ -1525,14 +1528,14 @@ function Cr({ className: t, defaultValue: n, value: r, min: i = 0, max: o = 100,
1525
1528
  max: o,
1526
1529
  className: a("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col", t),
1527
1530
  ...s,
1528
- children: [/* @__PURE__ */ T(b.Track, {
1531
+ children: [/* @__PURE__ */ E(b.Track, {
1529
1532
  "data-slot": "slider-track",
1530
1533
  className: a("relative grow overflow-hidden rounded-full bg-muted data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),
1531
- children: /* @__PURE__ */ T(b.Range, {
1534
+ children: /* @__PURE__ */ E(b.Range, {
1532
1535
  "data-slot": "slider-range",
1533
1536
  className: a("absolute bg-primary data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")
1534
1537
  })
1535
- }), Array.from({ length: c.length }, (e, t) => /* @__PURE__ */ T(b.Thumb, {
1538
+ }), Array.from({ length: c.length }, (e, t) => /* @__PURE__ */ E(b.Thumb, {
1536
1539
  "data-slot": "slider-thumb",
1537
1540
  className: "block size-4 shrink-0 rounded-full border border-primary bg-white shadow-sm ring-ring/50 transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
1538
1541
  }, t))]
@@ -1540,73 +1543,74 @@ function Cr({ className: t, defaultValue: n, value: r, min: i = 0, max: o = 100,
1540
1543
  }
1541
1544
  // src/components/ui/switch.tsx
1542
1545
  function wr({ className: e, size: t = "default", ...n }) {
1543
- return /* @__PURE__ */ T(ee.Root, {
1546
+ return /* @__PURE__ */ E(S.Root, {
1544
1547
  "data-slot": "switch",
1545
1548
  "data-size": t,
1546
1549
  className: a("peer group/switch inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80", e),
1547
1550
  ...n,
1548
- children: /* @__PURE__ */ T(ee.Thumb, {
1551
+ children: /* @__PURE__ */ E(S.Thumb, {
1549
1552
  "data-slot": "switch-thumb",
1550
1553
  className: a("pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground")
1551
1554
  })
1552
1555
  });
1553
1556
  }
1554
1557
  // src/components/ui/table.tsx
1555
- function Tr({ className: e, ...t }) {
1556
- return /* @__PURE__ */ T("div", {
1558
+ function Tr({ className: e, size: t, ...n }) {
1559
+ return /* @__PURE__ */ E("div", {
1557
1560
  "data-slot": "table-container",
1558
- className: "relative w-full overflow-x-auto",
1559
- children: /* @__PURE__ */ T("table", {
1561
+ className: "relative w-full overflow-auto rounded-[16px] border border-[var(--line,var(--border))] bg-[rgba(255,255,255,0.015)]",
1562
+ children: /* @__PURE__ */ E("table", {
1560
1563
  "data-slot": "table",
1561
- className: a("w-full caption-bottom text-sm", e),
1562
- ...t
1564
+ "data-size": t ?? "default",
1565
+ className: a("w-full caption-bottom border-collapse-separate border-spacing-0 text-[13.5px]", t === "compact" && "[&_td]:!px-3.5 [&_td]:!py-[7px] [&_td]:!text-[12.5px] [&_th]:!px-3.5 [&_th]:!py-[9px]", e),
1566
+ ...n
1563
1567
  })
1564
1568
  });
1565
1569
  }
1566
1570
  function Er({ className: e, ...t }) {
1567
- return /* @__PURE__ */ T("thead", {
1571
+ return /* @__PURE__ */ E("thead", {
1568
1572
  "data-slot": "table-header",
1569
- className: a("[&_tr]:border-b [&_tr]:border-border sticky top-0 z-10 bg-muted/60 backdrop-blur-sm", e),
1573
+ className: a("sticky top-0 z-[2] [&_tr]:border-b [&_tr]:border-[var(--line,var(--border))] [&_th]:bg-[#161b26] [&_th]:px-4 [&_th]:py-[11px] [&_th]:text-left [&_th]:align-middle [&_th]:text-[11.5px] [&_th]:font-medium [&_th]:uppercase [&_th]:tracking-[0.6px] [&_th]:whitespace-nowrap [&_th]:text-muted-foreground", e),
1570
1574
  ...t
1571
1575
  });
1572
1576
  }
1573
1577
  function Dr({ className: e, ...t }) {
1574
- return /* @__PURE__ */ T("tbody", {
1578
+ return /* @__PURE__ */ E("tbody", {
1575
1579
  "data-slot": "table-body",
1576
1580
  className: a("[&_tr:last-child]:border-0", e),
1577
1581
  ...t
1578
1582
  });
1579
1583
  }
1580
1584
  function Or({ className: e, ...t }) {
1581
- return /* @__PURE__ */ T("tfoot", {
1585
+ return /* @__PURE__ */ E("tfoot", {
1582
1586
  "data-slot": "table-footer",
1583
- className: a("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
1587
+ className: a("border-t border-[var(--line,var(--border))] font-medium", e),
1584
1588
  ...t
1585
1589
  });
1586
1590
  }
1587
1591
  function kr({ className: e, ...t }) {
1588
- return /* @__PURE__ */ T("tr", {
1592
+ return /* @__PURE__ */ E("tr", {
1589
1593
  "data-slot": "table-row",
1590
- className: a("border-b border-border transition-colors odd:bg-muted/40 hover:bg-muted/60 has-aria-expanded:bg-muted/60 data-[state=selected]:bg-muted", e),
1594
+ className: a("border-b border-[var(--line-soft,var(--border-secondary))] transition-colors", "even:bg-[rgba(255,255,255,0.016)] hover:bg-[rgba(255,255,255,0.025)] even:hover:bg-[rgba(255,255,255,0.03)]", "data-[state=selected]:bg-[rgba(79,142,247,0.09)] has-data-[state=selected]:bg-[rgba(79,142,247,0.09)]", e),
1591
1595
  ...t
1592
1596
  });
1593
1597
  }
1594
1598
  function Ar({ className: e, ...t }) {
1595
- return /* @__PURE__ */ T("th", {
1599
+ return /* @__PURE__ */ E("th", {
1596
1600
  "data-slot": "table-head",
1597
- className: a("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
1601
+ className: a("bg-[#161b26]", e),
1598
1602
  ...t
1599
1603
  });
1600
1604
  }
1601
1605
  function jr({ className: e, ...t }) {
1602
- return /* @__PURE__ */ T("td", {
1606
+ return /* @__PURE__ */ E("td", {
1603
1607
  "data-slot": "table-cell",
1604
- className: a("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
1608
+ className: a("px-4 py-3 align-middle whitespace-nowrap text-[var(--text-2,var(--muted-foreground))] [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
1605
1609
  ...t
1606
1610
  });
1607
1611
  }
1608
1612
  function Mr({ className: e, ...t }) {
1609
- return /* @__PURE__ */ T("caption", {
1613
+ return /* @__PURE__ */ E("caption", {
1610
1614
  "data-slot": "table-caption",
1611
1615
  className: a("mt-4 text-sm text-muted-foreground", e),
1612
1616
  ...t
@@ -1614,7 +1618,7 @@ function Mr({ className: e, ...t }) {
1614
1618
  }
1615
1619
  // src/components/ui/tabs.tsx
1616
1620
  function Nr({ className: e, orientation: t = "horizontal", ...n }) {
1617
- return /* @__PURE__ */ T(S.Root, {
1621
+ return /* @__PURE__ */ E(C.Root, {
1618
1622
  "data-slot": "tabs",
1619
1623
  "data-orientation": t,
1620
1624
  orientation: t,
@@ -1630,7 +1634,7 @@ var Pr = Rt("group/tabs-list inline-flex w-fit items-center justify-center round
1630
1634
  defaultVariants: { variant: "default" }
1631
1635
  });
1632
1636
  function Fr({ className: e, variant: t = "default", ...n }) {
1633
- return /* @__PURE__ */ T(S.List, {
1637
+ return /* @__PURE__ */ E(C.List, {
1634
1638
  "data-slot": "tabs-list",
1635
1639
  "data-variant": t,
1636
1640
  className: a(Pr({ variant: t }), e),
@@ -1638,26 +1642,26 @@ function Fr({ className: e, variant: t = "default", ...n }) {
1638
1642
  });
1639
1643
  }
1640
1644
  function Ir({ className: e, ...t }) {
1641
- return /* @__PURE__ */ T(S.Trigger, {
1645
+ return /* @__PURE__ */ E(C.Trigger, {
1642
1646
  "data-slot": "tabs-trigger",
1643
1647
  className: a("relative inline-flex h-[calc(100%-1px)] flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent", "data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground", "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100", e),
1644
1648
  ...t
1645
1649
  });
1646
1650
  }
1647
1651
  function Lr({ className: e, ...t }) {
1648
- return /* @__PURE__ */ T(S.Content, {
1652
+ return /* @__PURE__ */ E(C.Content, {
1649
1653
  "data-slot": "tabs-content",
1650
1654
  className: a("flex-1 outline-none", e),
1651
1655
  ...t
1652
1656
  });
1653
1657
  }
1654
1658
  function Rr({ children: e, rightExtra: t, className: n }) {
1655
- return /* @__PURE__ */ E("div", {
1659
+ return /* @__PURE__ */ D("div", {
1656
1660
  className: a("flex items-center justify-between gap-2", n),
1657
- children: [/* @__PURE__ */ T("div", {
1661
+ children: [/* @__PURE__ */ E("div", {
1658
1662
  className: "flex min-w-0 flex-1 items-center",
1659
1663
  children: e
1660
- }), t ? /* @__PURE__ */ T("div", {
1664
+ }), t ? /* @__PURE__ */ E("div", {
1661
1665
  className: "flex shrink-0 items-center gap-2",
1662
1666
  children: t
1663
1667
  }) : null]
@@ -1665,7 +1669,7 @@ function Rr({ children: e, rightExtra: t, className: n }) {
1665
1669
  }
1666
1670
  // src/components/ui/textarea.tsx
1667
1671
  function zr({ className: e, ...t }) {
1668
- return /* @__PURE__ */ T("textarea", {
1672
+ return /* @__PURE__ */ E("textarea", {
1669
1673
  "data-slot": "textarea",
1670
1674
  className: a("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs transition-[color,background-color,border-color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 hover:border-ring/50 hover:bg-muted/40 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40", e),
1671
1675
  ...t
@@ -1673,31 +1677,31 @@ function zr({ className: e, ...t }) {
1673
1677
  }
1674
1678
  // src/components/ui/tooltip.tsx
1675
1679
  function Br({ delayDuration: e = 0, ...t }) {
1676
- return /* @__PURE__ */ T(C.Provider, {
1680
+ return /* @__PURE__ */ E(w.Provider, {
1677
1681
  "data-slot": "tooltip-provider",
1678
1682
  delayDuration: e,
1679
1683
  ...t
1680
1684
  });
1681
1685
  }
1682
1686
  function Vr({ ...e }) {
1683
- return /* @__PURE__ */ T(C.Root, {
1687
+ return /* @__PURE__ */ E(w.Root, {
1684
1688
  "data-slot": "tooltip",
1685
1689
  ...e
1686
1690
  });
1687
1691
  }
1688
1692
  function Hr({ ...e }) {
1689
- return /* @__PURE__ */ T(C.Trigger, {
1693
+ return /* @__PURE__ */ E(w.Trigger, {
1690
1694
  "data-slot": "tooltip-trigger",
1691
1695
  ...e
1692
1696
  });
1693
1697
  }
1694
1698
  function Ur({ className: e, sideOffset: t = 0, children: n, ...r }) {
1695
- return /* @__PURE__ */ T(C.Portal, { children: /* @__PURE__ */ E(C.Content, {
1699
+ return /* @__PURE__ */ E(w.Portal, { children: /* @__PURE__ */ D(w.Content, {
1696
1700
  "data-slot": "tooltip-content",
1697
1701
  sideOffset: t,
1698
- className: a("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md bg-foreground px-3 py-1.5 text-xs text-balance text-background fade-in-0 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95", e),
1702
+ className: a("z-60 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md bg-foreground px-3 py-1.5 text-xs text-balance text-background fade-in-0 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95", e),
1699
1703
  ...r,
1700
- children: [n, /* @__PURE__ */ T(C.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground" })]
1704
+ children: [n, /* @__PURE__ */ E(w.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground" })]
1701
1705
  }) });
1702
1706
  }
1703
1707
  // node_modules/.pnpm/tailwind-merge@3.7.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
@@ -1948,32 +1952,32 @@ var Wr = (e, t) => {
1948
1952
  ...b(),
1949
1953
  X,
1950
1954
  J
1951
- ], ee = () => [
1955
+ ], S = () => [
1952
1956
  "auto",
1953
1957
  "hidden",
1954
1958
  "clip",
1955
1959
  "visible",
1956
1960
  "scroll"
1957
- ], S = () => [
1961
+ ], C = () => [
1958
1962
  "auto",
1959
1963
  "contain",
1960
1964
  "none"
1961
- ], C = () => [
1965
+ ], w = () => [
1962
1966
  X,
1963
1967
  J,
1964
1968
  c
1965
- ], w = () => [
1969
+ ], T = () => [
1966
1970
  W,
1967
1971
  "full",
1968
1972
  "auto",
1969
- ...C()
1970
- ], T = () => [
1973
+ ...w()
1974
+ ], E = () => [
1971
1975
  K,
1972
1976
  "none",
1973
1977
  "subgrid",
1974
1978
  X,
1975
1979
  J
1976
- ], E = () => [
1980
+ ], D = () => [
1977
1981
  "auto",
1978
1982
  { span: [
1979
1983
  "full",
@@ -1984,7 +1988,7 @@ var Wr = (e, t) => {
1984
1988
  K,
1985
1989
  X,
1986
1990
  J
1987
- ], D = () => [
1991
+ ], ee = () => [
1988
1992
  K,
1989
1993
  "auto",
1990
1994
  X,
@@ -2014,7 +2018,7 @@ var Wr = (e, t) => {
2014
2018
  "stretch",
2015
2019
  "center-safe",
2016
2020
  "end-safe"
2017
- ], j = () => ["auto", ...C()], M = () => [
2021
+ ], j = () => ["auto", ...w()], M = () => [
2018
2022
  W,
2019
2023
  "auto",
2020
2024
  "full",
@@ -2027,7 +2031,7 @@ var Wr = (e, t) => {
2027
2031
  "min",
2028
2032
  "max",
2029
2033
  "fit",
2030
- ...C()
2034
+ ...w()
2031
2035
  ], te = () => [
2032
2036
  s,
2033
2037
  W,
@@ -2039,7 +2043,7 @@ var Wr = (e, t) => {
2039
2043
  "min",
2040
2044
  "max",
2041
2045
  "fit",
2042
- ...C()
2046
+ ...w()
2043
2047
  ], ne = () => [
2044
2048
  W,
2045
2049
  "screen",
@@ -2051,7 +2055,7 @@ var Wr = (e, t) => {
2051
2055
  "min",
2052
2056
  "max",
2053
2057
  "fit",
2054
- ...C()
2058
+ ...w()
2055
2059
  ], N = () => [
2056
2060
  e,
2057
2061
  X,
@@ -2140,7 +2144,7 @@ var Wr = (e, t) => {
2140
2144
  ], fe = () => [
2141
2145
  W,
2142
2146
  "full",
2143
- ...C()
2147
+ ...w()
2144
2148
  ];
2145
2149
  return {
2146
2150
  cacheSize: 500,
@@ -2288,12 +2292,12 @@ var Wr = (e, t) => {
2288
2292
  "scale-down"
2289
2293
  ] }],
2290
2294
  "object-position": [{ object: x() }],
2291
- overflow: [{ overflow: ee() }],
2292
- "overflow-x": [{ "overflow-x": ee() }],
2293
- "overflow-y": [{ "overflow-y": ee() }],
2294
- overscroll: [{ overscroll: S() }],
2295
- "overscroll-x": [{ "overscroll-x": S() }],
2296
- "overscroll-y": [{ "overscroll-y": S() }],
2295
+ overflow: [{ overflow: S() }],
2296
+ "overflow-x": [{ "overflow-x": S() }],
2297
+ "overflow-y": [{ "overflow-y": S() }],
2298
+ overscroll: [{ overscroll: C() }],
2299
+ "overscroll-x": [{ "overscroll-x": C() }],
2300
+ "overscroll-y": [{ "overscroll-y": C() }],
2297
2301
  position: [
2298
2302
  "static",
2299
2303
  "fixed",
@@ -2301,23 +2305,23 @@ var Wr = (e, t) => {
2301
2305
  "relative",
2302
2306
  "sticky"
2303
2307
  ],
2304
- inset: [{ inset: w() }],
2305
- "inset-x": [{ "inset-x": w() }],
2306
- "inset-y": [{ "inset-y": w() }],
2308
+ inset: [{ inset: T() }],
2309
+ "inset-x": [{ "inset-x": T() }],
2310
+ "inset-y": [{ "inset-y": T() }],
2307
2311
  start: [{
2308
- "inset-s": w(),
2309
- start: w()
2312
+ "inset-s": T(),
2313
+ start: T()
2310
2314
  }],
2311
2315
  end: [{
2312
- "inset-e": w(),
2313
- end: w()
2316
+ "inset-e": T(),
2317
+ end: T()
2314
2318
  }],
2315
- "inset-bs": [{ "inset-bs": w() }],
2316
- "inset-be": [{ "inset-be": w() }],
2317
- top: [{ top: w() }],
2318
- right: [{ right: w() }],
2319
- bottom: [{ bottom: w() }],
2320
- left: [{ left: w() }],
2319
+ "inset-bs": [{ "inset-bs": T() }],
2320
+ "inset-be": [{ "inset-be": T() }],
2321
+ top: [{ top: T() }],
2322
+ right: [{ right: T() }],
2323
+ bottom: [{ bottom: T() }],
2324
+ left: [{ left: T() }],
2321
2325
  visibility: [
2322
2326
  "visible",
2323
2327
  "invisible",
@@ -2334,7 +2338,7 @@ var Wr = (e, t) => {
2334
2338
  "full",
2335
2339
  "auto",
2336
2340
  s,
2337
- ...C()
2341
+ ...w()
2338
2342
  ] }],
2339
2343
  "flex-direction": [{ flex: [
2340
2344
  "row",
@@ -2375,14 +2379,14 @@ var Wr = (e, t) => {
2375
2379
  X,
2376
2380
  J
2377
2381
  ] }],
2378
- "grid-cols": [{ "grid-cols": T() }],
2379
- "col-start-end": [{ col: E() }],
2380
- "col-start": [{ "col-start": D() }],
2381
- "col-end": [{ "col-end": D() }],
2382
- "grid-rows": [{ "grid-rows": T() }],
2383
- "row-start-end": [{ row: E() }],
2384
- "row-start": [{ "row-start": D() }],
2385
- "row-end": [{ "row-end": D() }],
2382
+ "grid-cols": [{ "grid-cols": E() }],
2383
+ "col-start-end": [{ col: D() }],
2384
+ "col-start": [{ "col-start": ee() }],
2385
+ "col-end": [{ "col-end": ee() }],
2386
+ "grid-rows": [{ "grid-rows": E() }],
2387
+ "row-start-end": [{ row: D() }],
2388
+ "row-start": [{ "row-start": ee() }],
2389
+ "row-end": [{ "row-end": ee() }],
2386
2390
  "grid-flow": [{ "grid-flow": [
2387
2391
  "row",
2388
2392
  "col",
@@ -2392,9 +2396,9 @@ var Wr = (e, t) => {
2392
2396
  ] }],
2393
2397
  "auto-cols": [{ "auto-cols": O() }],
2394
2398
  "auto-rows": [{ "auto-rows": O() }],
2395
- gap: [{ gap: C() }],
2396
- "gap-x": [{ "gap-x": C() }],
2397
- "gap-y": [{ "gap-y": C() }],
2399
+ gap: [{ gap: w() }],
2400
+ "gap-x": [{ "gap-x": w() }],
2401
+ "gap-y": [{ "gap-y": w() }],
2398
2402
  "justify-content": [{ justify: [...k(), "normal"] }],
2399
2403
  "justify-items": [{ "justify-items": [...A(), "normal"] }],
2400
2404
  "justify-self": [{ "justify-self": ["auto", ...A()] }],
@@ -2408,17 +2412,17 @@ var Wr = (e, t) => {
2408
2412
  "place-content": [{ "place-content": k() }],
2409
2413
  "place-items": [{ "place-items": [...A(), "baseline"] }],
2410
2414
  "place-self": [{ "place-self": ["auto", ...A()] }],
2411
- p: [{ p: C() }],
2412
- px: [{ px: C() }],
2413
- py: [{ py: C() }],
2414
- ps: [{ ps: C() }],
2415
- pe: [{ pe: C() }],
2416
- pbs: [{ pbs: C() }],
2417
- pbe: [{ pbe: C() }],
2418
- pt: [{ pt: C() }],
2419
- pr: [{ pr: C() }],
2420
- pb: [{ pb: C() }],
2421
- pl: [{ pl: C() }],
2415
+ p: [{ p: w() }],
2416
+ px: [{ px: w() }],
2417
+ py: [{ py: w() }],
2418
+ ps: [{ ps: w() }],
2419
+ pe: [{ pe: w() }],
2420
+ pbs: [{ pbs: w() }],
2421
+ pbe: [{ pbe: w() }],
2422
+ pt: [{ pt: w() }],
2423
+ pr: [{ pr: w() }],
2424
+ pb: [{ pb: w() }],
2425
+ pl: [{ pl: w() }],
2422
2426
  m: [{ m: j() }],
2423
2427
  mx: [{ mx: j() }],
2424
2428
  my: [{ my: j() }],
@@ -2430,9 +2434,9 @@ var Wr = (e, t) => {
2430
2434
  mr: [{ mr: j() }],
2431
2435
  mb: [{ mb: j() }],
2432
2436
  ml: [{ ml: j() }],
2433
- "space-x": [{ "space-x": C() }],
2437
+ "space-x": [{ "space-x": w() }],
2434
2438
  "space-x-reverse": ["space-x-reverse"],
2435
- "space-y": [{ "space-y": C() }],
2439
+ "space-y": [{ "space-y": w() }],
2436
2440
  "space-y-reverse": ["space-y-reverse"],
2437
2441
  size: [{ size: M() }],
2438
2442
  "inline-size": [{ inline: ["auto", ...te()] }],
@@ -2529,7 +2533,7 @@ var Wr = (e, t) => {
2529
2533
  leading: [{ leading: [
2530
2534
  "none",
2531
2535
  a,
2532
- ...C()
2536
+ ...w()
2533
2537
  ] }],
2534
2538
  "list-image": [{ "list-image": [
2535
2539
  "none",
@@ -2592,7 +2596,7 @@ var Wr = (e, t) => {
2592
2596
  "balance",
2593
2597
  "pretty"
2594
2598
  ] }],
2595
- indent: [{ indent: C() }],
2599
+ indent: [{ indent: w() }],
2596
2600
  "tab-size": [{ tab: [
2597
2601
  K,
2598
2602
  X,
@@ -2993,9 +2997,9 @@ var Wr = (e, t) => {
2993
2997
  J
2994
2998
  ] }],
2995
2999
  "border-collapse": [{ border: ["collapse", "separate"] }],
2996
- "border-spacing": [{ "border-spacing": C() }],
2997
- "border-spacing-x": [{ "border-spacing-x": C() }],
2998
- "border-spacing-y": [{ "border-spacing-y": C() }],
3000
+ "border-spacing": [{ "border-spacing": w() }],
3001
+ "border-spacing-x": [{ "border-spacing-x": w() }],
3002
+ "border-spacing-y": [{ "border-spacing-y": w() }],
2999
3003
  "table-layout": [{ table: ["auto", "fixed"] }],
3000
3004
  caption: [{ caption: ["top", "bottom"] }],
3001
3005
  transition: [{ transition: [
@@ -3145,28 +3149,28 @@ var Wr = (e, t) => {
3145
3149
  "thin",
3146
3150
  "none"
3147
3151
  ] }],
3148
- "scroll-m": [{ "scroll-m": C() }],
3149
- "scroll-mx": [{ "scroll-mx": C() }],
3150
- "scroll-my": [{ "scroll-my": C() }],
3151
- "scroll-ms": [{ "scroll-ms": C() }],
3152
- "scroll-me": [{ "scroll-me": C() }],
3153
- "scroll-mbs": [{ "scroll-mbs": C() }],
3154
- "scroll-mbe": [{ "scroll-mbe": C() }],
3155
- "scroll-mt": [{ "scroll-mt": C() }],
3156
- "scroll-mr": [{ "scroll-mr": C() }],
3157
- "scroll-mb": [{ "scroll-mb": C() }],
3158
- "scroll-ml": [{ "scroll-ml": C() }],
3159
- "scroll-p": [{ "scroll-p": C() }],
3160
- "scroll-px": [{ "scroll-px": C() }],
3161
- "scroll-py": [{ "scroll-py": C() }],
3162
- "scroll-ps": [{ "scroll-ps": C() }],
3163
- "scroll-pe": [{ "scroll-pe": C() }],
3164
- "scroll-pbs": [{ "scroll-pbs": C() }],
3165
- "scroll-pbe": [{ "scroll-pbe": C() }],
3166
- "scroll-pt": [{ "scroll-pt": C() }],
3167
- "scroll-pr": [{ "scroll-pr": C() }],
3168
- "scroll-pb": [{ "scroll-pb": C() }],
3169
- "scroll-pl": [{ "scroll-pl": C() }],
3152
+ "scroll-m": [{ "scroll-m": w() }],
3153
+ "scroll-mx": [{ "scroll-mx": w() }],
3154
+ "scroll-my": [{ "scroll-my": w() }],
3155
+ "scroll-ms": [{ "scroll-ms": w() }],
3156
+ "scroll-me": [{ "scroll-me": w() }],
3157
+ "scroll-mbs": [{ "scroll-mbs": w() }],
3158
+ "scroll-mbe": [{ "scroll-mbe": w() }],
3159
+ "scroll-mt": [{ "scroll-mt": w() }],
3160
+ "scroll-mr": [{ "scroll-mr": w() }],
3161
+ "scroll-mb": [{ "scroll-mb": w() }],
3162
+ "scroll-ml": [{ "scroll-ml": w() }],
3163
+ "scroll-p": [{ "scroll-p": w() }],
3164
+ "scroll-px": [{ "scroll-px": w() }],
3165
+ "scroll-py": [{ "scroll-py": w() }],
3166
+ "scroll-ps": [{ "scroll-ps": w() }],
3167
+ "scroll-pe": [{ "scroll-pe": w() }],
3168
+ "scroll-pbs": [{ "scroll-pbs": w() }],
3169
+ "scroll-pbe": [{ "scroll-pbe": w() }],
3170
+ "scroll-pt": [{ "scroll-pt": w() }],
3171
+ "scroll-pr": [{ "scroll-pr": w() }],
3172
+ "scroll-pb": [{ "scroll-pb": w() }],
3173
+ "scroll-pl": [{ "scroll-pl": w() }],
3170
3174
  "snap-align": [{ snap: [
3171
3175
  "start",
3172
3176
  "end",
@@ -3481,22 +3485,22 @@ function $(...e) {
3481
3485
  }
3482
3486
  // src/components/ui/command.tsx
3483
3487
  function ca({ className: e, ...t }) {
3484
- return /* @__PURE__ */ T(k, {
3488
+ return /* @__PURE__ */ E(k, {
3485
3489
  "data-slot": "command",
3486
3490
  className: a("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", e),
3487
3491
  ...t
3488
3492
  });
3489
3493
  }
3490
3494
  function la({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !0, ...o }) {
3491
- return /* @__PURE__ */ E(vn, {
3495
+ return /* @__PURE__ */ D(vn, {
3492
3496
  ...o,
3493
- children: [/* @__PURE__ */ E(wn, {
3497
+ children: [/* @__PURE__ */ D(wn, {
3494
3498
  className: "sr-only",
3495
- children: [/* @__PURE__ */ T(En, { children: e }), /* @__PURE__ */ T(Dn, { children: t })]
3496
- }), /* @__PURE__ */ T(Cn, {
3499
+ children: [/* @__PURE__ */ E(En, { children: e }), /* @__PURE__ */ E(Dn, { children: t })]
3500
+ }), /* @__PURE__ */ E(Cn, {
3497
3501
  className: a("overflow-hidden p-0", r),
3498
3502
  showCloseButton: i,
3499
- children: /* @__PURE__ */ T(ca, {
3503
+ children: /* @__PURE__ */ E(ca, {
3500
3504
  className: "**:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",
3501
3505
  children: n
3502
3506
  })
@@ -3504,10 +3508,10 @@ function la({ title: e = "Command Palette", description: t = "Search for a comma
3504
3508
  });
3505
3509
  }
3506
3510
  function ua({ className: e, ...t }) {
3507
- return /* @__PURE__ */ E("div", {
3511
+ return /* @__PURE__ */ D("div", {
3508
3512
  "data-slot": "command-input-wrapper",
3509
3513
  className: "flex h-9 items-center gap-2 border-b px-3",
3510
- children: [/* @__PURE__ */ T(mt, { className: "size-4 shrink-0 opacity-50" }), /* @__PURE__ */ T(k.Input, {
3514
+ children: [/* @__PURE__ */ E(mt, { className: "size-4 shrink-0 opacity-50" }), /* @__PURE__ */ E(k.Input, {
3511
3515
  "data-slot": "command-input",
3512
3516
  className: a("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", e),
3513
3517
  ...t
@@ -3515,42 +3519,42 @@ function ua({ className: e, ...t }) {
3515
3519
  });
3516
3520
  }
3517
3521
  function da({ className: e, ...t }) {
3518
- return /* @__PURE__ */ T(k.List, {
3522
+ return /* @__PURE__ */ E(k.List, {
3519
3523
  "data-slot": "command-list",
3520
3524
  className: a("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", e),
3521
3525
  ...t
3522
3526
  });
3523
3527
  }
3524
3528
  function fa({ ...e }) {
3525
- return /* @__PURE__ */ T(k.Empty, {
3529
+ return /* @__PURE__ */ E(k.Empty, {
3526
3530
  "data-slot": "command-empty",
3527
3531
  className: "py-6 text-center text-sm",
3528
3532
  ...e
3529
3533
  });
3530
3534
  }
3531
3535
  function pa({ className: e, ...t }) {
3532
- return /* @__PURE__ */ T(k.Group, {
3536
+ return /* @__PURE__ */ E(k.Group, {
3533
3537
  "data-slot": "command-group",
3534
3538
  className: a("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", e),
3535
3539
  ...t
3536
3540
  });
3537
3541
  }
3538
3542
  function ma({ className: e, ...t }) {
3539
- return /* @__PURE__ */ T(k.Separator, {
3543
+ return /* @__PURE__ */ E(k.Separator, {
3540
3544
  "data-slot": "command-separator",
3541
3545
  className: a("-mx-1 h-px bg-border", e),
3542
3546
  ...t
3543
3547
  });
3544
3548
  }
3545
3549
  function ha({ className: e, ...t }) {
3546
- return /* @__PURE__ */ T(k.Item, {
3550
+ return /* @__PURE__ */ E(k.Item, {
3547
3551
  "data-slot": "command-item",
3548
3552
  className: a("relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground", e),
3549
3553
  ...t
3550
3554
  });
3551
3555
  }
3552
3556
  function ga({ className: e, ...t }) {
3553
- return /* @__PURE__ */ T("span", {
3557
+ return /* @__PURE__ */ E("span", {
3554
3558
  "data-slot": "command-shortcut",
3555
3559
  className: a("ml-auto text-xs tracking-widest text-muted-foreground", e),
3556
3560
  ...t
@@ -3559,34 +3563,34 @@ function ga({ className: e, ...t }) {
3559
3563
  // src/components/ui/combobox.tsx
3560
3564
  function _a({ options: t, value: n, onChange: r, placeholder: i = "请选择...", searchPlaceholder: a = "搜索...", onSearch: o, loading: s = !1, emptyText: c = "未找到结果", disabled: l, className: u }) {
3561
3565
  let [d, f] = e.useState(!1);
3562
- return /* @__PURE__ */ E(Gn, {
3566
+ return /* @__PURE__ */ D(Gn, {
3563
3567
  open: d,
3564
3568
  onOpenChange: f,
3565
- children: [/* @__PURE__ */ T(Kn, {
3569
+ children: [/* @__PURE__ */ E(Kn, {
3566
3570
  asChild: !0,
3567
- children: /* @__PURE__ */ E(H, {
3571
+ children: /* @__PURE__ */ D(H, {
3568
3572
  variant: "outline",
3569
3573
  role: "combobox",
3570
3574
  "aria-expanded": d,
3571
3575
  disabled: l,
3572
3576
  className: $("w-[200px] justify-between", u),
3573
- children: [n ? t.find((e) => e.value === n)?.label ?? n : i, /* @__PURE__ */ T(Ue, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })]
3577
+ children: [n ? t.find((e) => e.value === n)?.label ?? n : i, /* @__PURE__ */ E(Ue, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })]
3574
3578
  })
3575
- }), /* @__PURE__ */ T(qn, {
3579
+ }), /* @__PURE__ */ E(qn, {
3576
3580
  className: "w-[200px] p-0",
3577
- children: /* @__PURE__ */ E(ca, { children: [/* @__PURE__ */ T(ua, {
3581
+ children: /* @__PURE__ */ D(ca, { children: [/* @__PURE__ */ E(ua, {
3578
3582
  placeholder: a,
3579
3583
  onValueChange: o
3580
- }), /* @__PURE__ */ T(da, { children: s ? /* @__PURE__ */ T("div", {
3584
+ }), /* @__PURE__ */ E(da, { children: s ? /* @__PURE__ */ E("div", {
3581
3585
  className: "py-6 text-center text-sm text-muted-foreground",
3582
3586
  children: "加载中..."
3583
- }) : /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T(fa, { children: c }), /* @__PURE__ */ T(pa, { children: t.map((e) => /* @__PURE__ */ E(ha, {
3587
+ }) : /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E(fa, { children: c }), /* @__PURE__ */ E(pa, { children: t.map((e) => /* @__PURE__ */ D(ha, {
3584
3588
  value: e.value,
3585
3589
  disabled: e.disabled,
3586
3590
  onSelect: (e) => {
3587
3591
  r?.(e === n ? "" : e), f(!1);
3588
3592
  },
3589
- children: [/* @__PURE__ */ T(Ne, { className: $("mr-2 h-4 w-4", n === e.value ? "opacity-100" : "opacity-0") }), e.label]
3593
+ children: [/* @__PURE__ */ E(Ne, { className: $("mr-2 h-4 w-4", n === e.value ? "opacity-100" : "opacity-0") }), e.label]
3590
3594
  }, e.value)) })] }) })] })
3591
3595
  })]
3592
3596
  });
@@ -3597,63 +3601,63 @@ function ya({ options: t, value: n = [], onChange: r, placeholder: i = "请选
3597
3601
  let [u, d] = e.useState(!1), f = n.map((e) => t.find((t) => t.value === e)).filter(Boolean), p = (e) => {
3598
3602
  r && r(n.includes(e) ? n.filter((t) => t !== e) : [...n, e]);
3599
3603
  };
3600
- return /* @__PURE__ */ E(Gn, {
3604
+ return /* @__PURE__ */ D(Gn, {
3601
3605
  open: u,
3602
3606
  onOpenChange: d,
3603
- children: [/* @__PURE__ */ T(Kn, {
3607
+ children: [/* @__PURE__ */ E(Kn, {
3604
3608
  asChild: !0,
3605
- children: /* @__PURE__ */ E(H, {
3609
+ children: /* @__PURE__ */ D(H, {
3606
3610
  variant: "outline",
3607
3611
  role: "combobox",
3608
3612
  "aria-expanded": u,
3609
3613
  disabled: s,
3610
3614
  className: $("min-h-11 w-[200px] justify-between font-normal", l),
3611
- children: [/* @__PURE__ */ T("span", {
3615
+ children: [/* @__PURE__ */ E("span", {
3612
3616
  className: "flex flex-wrap items-center gap-1 overflow-hidden",
3613
- children: f.length === 0 ? /* @__PURE__ */ T("span", {
3617
+ children: f.length === 0 ? /* @__PURE__ */ E("span", {
3614
3618
  className: "text-muted-foreground",
3615
3619
  children: i
3616
- }) : /* @__PURE__ */ E(w, { children: [f.slice(0, c).map((e) => /* @__PURE__ */ T(rn, {
3620
+ }) : /* @__PURE__ */ D(T, { children: [f.slice(0, c).map((e) => /* @__PURE__ */ E(rn, {
3617
3621
  variant: "secondary",
3618
3622
  className: "font-normal",
3619
3623
  children: e.label
3620
- }, e.value)), f.length > c && /* @__PURE__ */ E(rn, {
3624
+ }, e.value)), f.length > c && /* @__PURE__ */ D(rn, {
3621
3625
  variant: "secondary",
3622
3626
  className: "font-normal",
3623
3627
  children: ["+", f.length - c]
3624
3628
  })] })
3625
- }), /* @__PURE__ */ T(Ue, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })]
3629
+ }), /* @__PURE__ */ E(Ue, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })]
3626
3630
  })
3627
- }), /* @__PURE__ */ T(qn, {
3631
+ }), /* @__PURE__ */ E(qn, {
3628
3632
  className: "w-[240px] p-0",
3629
3633
  align: "start",
3630
- children: /* @__PURE__ */ E(ca, { children: [
3631
- /* @__PURE__ */ T(ua, { placeholder: a }),
3632
- /* @__PURE__ */ E(da, { children: [/* @__PURE__ */ T(fa, { children: o }), /* @__PURE__ */ T(pa, { children: t.map((e) => {
3634
+ children: /* @__PURE__ */ D(ca, { children: [
3635
+ /* @__PURE__ */ E(ua, { placeholder: a }),
3636
+ /* @__PURE__ */ D(da, { children: [/* @__PURE__ */ E(fa, { children: o }), /* @__PURE__ */ E(pa, { children: t.map((e) => {
3633
3637
  let t = n.includes(e.value);
3634
- return /* @__PURE__ */ T(ha, {
3638
+ return /* @__PURE__ */ E(ha, {
3635
3639
  value: e.value,
3636
3640
  disabled: e.disabled,
3637
3641
  className: "min-h-11",
3638
3642
  onSelect: () => p(e.value),
3639
- children: /* @__PURE__ */ E("span", {
3643
+ children: /* @__PURE__ */ D("span", {
3640
3644
  className: "flex flex-1 items-center justify-between gap-2",
3641
- children: [e.label, /* @__PURE__ */ T("span", {
3645
+ children: [e.label, /* @__PURE__ */ E("span", {
3642
3646
  className: "flex items-center gap-1",
3643
- children: t && /* @__PURE__ */ T(Ne, { className: "h-4 w-4" })
3647
+ children: t && /* @__PURE__ */ E(Ne, { className: "h-4 w-4" })
3644
3648
  })]
3645
3649
  })
3646
3650
  }, e.value);
3647
3651
  }) })] }),
3648
- f.length > 0 && /* @__PURE__ */ T("div", {
3652
+ f.length > 0 && /* @__PURE__ */ E("div", {
3649
3653
  className: "border-t border-border p-1",
3650
- children: /* @__PURE__ */ E(H, {
3654
+ children: /* @__PURE__ */ D(H, {
3651
3655
  variant: "ghost",
3652
3656
  size: "sm",
3653
3657
  className: "h-11 w-full justify-start text-muted-foreground",
3654
3658
  onClick: () => r?.([]),
3655
3659
  children: [
3656
- /* @__PURE__ */ T(V, { className: "mr-2 h-4 w-4" }),
3660
+ /* @__PURE__ */ E(V, { className: "mr-2 h-4 w-4" }),
3657
3661
  "清空已选(",
3658
3662
  f.length,
3659
3663
  ")"
@@ -3670,21 +3674,21 @@ function ba(e) {
3670
3674
  }
3671
3675
  function xa({ value: t, onChange: n, placeholder: r = "选择日期", disabled: i, className: a }) {
3672
3676
  let [o, s] = e.useState(!1);
3673
- return /* @__PURE__ */ E(Gn, {
3677
+ return /* @__PURE__ */ D(Gn, {
3674
3678
  open: o,
3675
3679
  onOpenChange: s,
3676
- children: [/* @__PURE__ */ T(Kn, {
3680
+ children: [/* @__PURE__ */ E(Kn, {
3677
3681
  asChild: !0,
3678
- children: /* @__PURE__ */ E(H, {
3682
+ children: /* @__PURE__ */ D(H, {
3679
3683
  variant: "outline",
3680
3684
  disabled: i,
3681
3685
  className: $("w-[200px] justify-start font-normal", !t && "text-muted-foreground", a),
3682
- children: [/* @__PURE__ */ T(je, { className: "mr-2 h-4 w-4" }), t ? ba(t) : r]
3686
+ children: [/* @__PURE__ */ E(je, { className: "mr-2 h-4 w-4" }), t ? ba(t) : r]
3683
3687
  })
3684
- }), /* @__PURE__ */ T(qn, {
3688
+ }), /* @__PURE__ */ E(qn, {
3685
3689
  className: "w-auto p-0",
3686
3690
  align: "start",
3687
- children: /* @__PURE__ */ T(an, {
3691
+ children: /* @__PURE__ */ E(an, {
3688
3692
  mode: "single",
3689
3693
  selected: t,
3690
3694
  onSelect: (e) => {
@@ -3696,21 +3700,21 @@ function xa({ value: t, onChange: n, placeholder: r = "选择日期", disabled:
3696
3700
  }
3697
3701
  function Sa({ value: t, onChange: n, placeholder: r = "选择日期范围", disabled: i, className: a }) {
3698
3702
  let [o, s] = e.useState(!1), c = t?.from ? `${ba(t.from)}${t.to ? ` ~ ${ba(t.to)}` : ""}` : "";
3699
- return /* @__PURE__ */ E(Gn, {
3703
+ return /* @__PURE__ */ D(Gn, {
3700
3704
  open: o,
3701
3705
  onOpenChange: s,
3702
- children: [/* @__PURE__ */ T(Kn, {
3706
+ children: [/* @__PURE__ */ E(Kn, {
3703
3707
  asChild: !0,
3704
- children: /* @__PURE__ */ E(H, {
3708
+ children: /* @__PURE__ */ D(H, {
3705
3709
  variant: "outline",
3706
3710
  disabled: i,
3707
3711
  className: $("w-[280px] justify-start font-normal", !c && "text-muted-foreground", a),
3708
- children: [/* @__PURE__ */ T(je, { className: "mr-2 h-4 w-4" }), c || r]
3712
+ children: [/* @__PURE__ */ E(je, { className: "mr-2 h-4 w-4" }), c || r]
3709
3713
  })
3710
- }), /* @__PURE__ */ T(qn, {
3714
+ }), /* @__PURE__ */ E(qn, {
3711
3715
  className: "w-auto p-0",
3712
3716
  align: "start",
3713
- children: /* @__PURE__ */ T(an, {
3717
+ children: /* @__PURE__ */ E(an, {
3714
3718
  mode: "range",
3715
3719
  numberOfMonths: 2,
3716
3720
  selected: t,
@@ -3723,9 +3727,9 @@ function Sa({ value: t, onChange: n, placeholder: r = "选择日期范围", disa
3723
3727
  });
3724
3728
  }
3725
3729
  // src/components/ui/form.tsx
3726
- var Ca = j, wa = e.createContext({}), Ta = ({ ...e }) => /* @__PURE__ */ T(wa.Provider, {
3730
+ var Ca = j, wa = e.createContext({}), Ta = ({ ...e }) => /* @__PURE__ */ E(wa.Provider, {
3727
3731
  value: { name: e.name },
3728
- children: /* @__PURE__ */ T(A, { ...e })
3732
+ children: /* @__PURE__ */ E(A, { ...e })
3729
3733
  }), Ea = () => {
3730
3734
  let t = e.useContext(wa), n = e.useContext(Da), { getFieldState: r } = M(), i = te({ name: t.name }), a = r(t.name, i);
3731
3735
  if (!t) throw Error("useFormField should be used within <FormField>");
@@ -3741,9 +3745,9 @@ var Ca = j, wa = e.createContext({}), Ta = ({ ...e }) => /* @__PURE__ */ T(wa.Pr
3741
3745
  }, Da = e.createContext({});
3742
3746
  function Oa({ className: t, ...n }) {
3743
3747
  let r = e.useId();
3744
- return /* @__PURE__ */ T(Da.Provider, {
3748
+ return /* @__PURE__ */ E(Da.Provider, {
3745
3749
  value: { id: r },
3746
- children: /* @__PURE__ */ T("div", {
3750
+ children: /* @__PURE__ */ E("div", {
3747
3751
  "data-slot": "form-item",
3748
3752
  className: a("grid gap-2", t),
3749
3753
  ...n
@@ -3752,7 +3756,7 @@ function Oa({ className: t, ...n }) {
3752
3756
  }
3753
3757
  function ka({ className: e, ...t }) {
3754
3758
  let { error: n, formItemId: r } = Ea();
3755
- return /* @__PURE__ */ T(Wn, {
3759
+ return /* @__PURE__ */ E(Wn, {
3756
3760
  "data-slot": "form-label",
3757
3761
  "data-error": !!n,
3758
3762
  className: a("data-[error=true]:text-destructive", e),
@@ -3762,7 +3766,7 @@ function ka({ className: e, ...t }) {
3762
3766
  }
3763
3767
  function Aa({ ...e }) {
3764
3768
  let { error: t, formItemId: n, formDescriptionId: r, formMessageId: i } = Ea();
3765
- return /* @__PURE__ */ T(x.Root, {
3769
+ return /* @__PURE__ */ E(x.Root, {
3766
3770
  "data-slot": "form-control",
3767
3771
  id: n,
3768
3772
  "aria-describedby": t ? `${r} ${i}` : `${r}`,
@@ -3772,7 +3776,7 @@ function Aa({ ...e }) {
3772
3776
  }
3773
3777
  function ja({ className: e, ...t }) {
3774
3778
  let { formDescriptionId: n } = Ea();
3775
- return /* @__PURE__ */ T("p", {
3779
+ return /* @__PURE__ */ E("p", {
3776
3780
  "data-slot": "form-description",
3777
3781
  id: n,
3778
3782
  className: a("text-sm text-muted-foreground", e),
@@ -3781,7 +3785,7 @@ function ja({ className: e, ...t }) {
3781
3785
  }
3782
3786
  function Ma({ className: e, ...t }) {
3783
3787
  let { error: n, formMessageId: r } = Ea(), i = n ? String(n?.message ?? "") : t.children;
3784
- return i ? /* @__PURE__ */ T("p", {
3788
+ return i ? /* @__PURE__ */ E("p", {
3785
3789
  "data-slot": "form-message",
3786
3790
  id: r,
3787
3791
  className: a("text-sm text-destructive", e),
@@ -3792,15 +3796,15 @@ function Ma({ className: e, ...t }) {
3792
3796
  // src/components/ui/sonner.tsx
3793
3797
  var Na = ({ ...e }) => {
3794
3798
  let { theme: t = "system" } = ne();
3795
- return /* @__PURE__ */ T(N, {
3799
+ return /* @__PURE__ */ E(N, {
3796
3800
  theme: t,
3797
3801
  className: "toaster group",
3798
3802
  icons: {
3799
- success: /* @__PURE__ */ T(Ge, { className: "size-4" }),
3800
- info: /* @__PURE__ */ T(st, { className: "size-4" }),
3801
- warning: /* @__PURE__ */ T(wt, { className: "size-4" }),
3802
- error: /* @__PURE__ */ T(ft, { className: "size-4" }),
3803
- loading: /* @__PURE__ */ T(B, { className: "size-4 animate-spin" })
3803
+ success: /* @__PURE__ */ E(Ge, { className: "size-4" }),
3804
+ info: /* @__PURE__ */ E(st, { className: "size-4" }),
3805
+ warning: /* @__PURE__ */ E(wt, { className: "size-4" }),
3806
+ error: /* @__PURE__ */ E(ft, { className: "size-4" }),
3807
+ loading: /* @__PURE__ */ E(B, { className: "size-4 animate-spin" })
3804
3808
  },
3805
3809
  style: {
3806
3810
  "--normal-bg": "var(--popover)",
@@ -3820,23 +3824,23 @@ function Pa(t) {
3820
3824
  }, [t]), n;
3821
3825
  }
3822
3826
  // src/components/ui/standard-table.tsx
3823
- function Fa({ columns: t, data: n, searchable: r, searchPlaceholder: i = "搜索...", enableSorting: a = !0, renderExpanded: o, pageSize: s = 10, className: c, loading: l = !1, emptyDescription: u = "暂无数据", manualPagination: d = !1, pageCount: f, pageIndex: p, onPaginationChange: m, paginationExtra: h, mobileCard: g = !0, renderMobileCard: _ }) {
3824
- let [v, y] = e.useState([]), [b, x] = e.useState(""), [ee, S] = e.useState({}), C = Pa("(max-width: 767px)") && g, D = se({
3827
+ function Fa({ columns: t, data: n, searchable: r, searchPlaceholder: i = "搜索...", enableSorting: a = !0, renderExpanded: o, pageSize: s = 10, className: c, loading: l = !1, emptyDescription: u = "暂无数据", manualPagination: d = !1, pageCount: f, pageIndex: p, onPaginationChange: m, paginationExtra: h, mobileCard: g = !0, renderMobileCard: _, compact: v }) {
3828
+ let [y, b] = e.useState([]), [x, S] = e.useState(""), [C, w] = e.useState({}), ee = Pa("(max-width: 767px)") && g, O = se({
3825
3829
  data: n,
3826
3830
  columns: t,
3827
3831
  state: d ? {
3828
- sorting: v,
3829
- globalFilter: b,
3832
+ sorting: y,
3833
+ globalFilter: x,
3830
3834
  pagination: {
3831
3835
  pageIndex: p ?? 0,
3832
3836
  pageSize: s
3833
3837
  }
3834
3838
  } : {
3835
- sorting: v,
3836
- globalFilter: b
3839
+ sorting: y,
3840
+ globalFilter: x
3837
3841
  },
3838
- onSortingChange: y,
3839
- onGlobalFilterChange: x,
3842
+ onSortingChange: b,
3843
+ onGlobalFilterChange: S,
3840
3844
  getCoreRowModel: ie(),
3841
3845
  getSortedRowModel: a ? oe() : void 0,
3842
3846
  getFilteredRowModel: F(),
@@ -3853,186 +3857,189 @@ function Fa({ columns: t, data: n, searchable: r, searchPlaceholder: i = "搜索
3853
3857
  m?.(t.pageIndex, t.pageSize);
3854
3858
  } : void 0,
3855
3859
  initialState: d ? void 0 : { pagination: { pageSize: s } }
3856
- }), O = D.getRowModel().rows, k = d ? Math.max(1, f ?? 1) : Math.max(1, D.getPageCount()), A = d ? p ?? 0 : D.getState().pagination.pageIndex, j = /* @__PURE__ */ E("div", {
3857
- className: "flex flex-wrap items-center justify-between gap-2",
3858
- children: [/* @__PURE__ */ T("span", {
3860
+ }), k = O.getRowModel().rows, A = d ? Math.max(1, f ?? 1) : Math.max(1, O.getPageCount()), j = d ? p ?? 0 : O.getState().pagination.pageIndex, M = /* @__PURE__ */ D("div", {
3861
+ className: "flex shrink-0 flex-wrap items-center justify-between gap-2 border-t border-[var(--line-soft,var(--border-secondary))] pt-2",
3862
+ children: [/* @__PURE__ */ E("span", {
3859
3863
  className: "text-sm text-muted-foreground",
3860
3864
  children: h
3861
- }), /* @__PURE__ */ E("div", {
3865
+ }), /* @__PURE__ */ D("div", {
3862
3866
  className: "flex items-center gap-2",
3863
3867
  children: [
3864
- /* @__PURE__ */ E("span", {
3868
+ /* @__PURE__ */ D("span", {
3865
3869
  className: "text-sm text-muted-foreground",
3866
3870
  children: [
3867
3871
  "第 ",
3868
- A + 1,
3872
+ j + 1,
3869
3873
  " / ",
3870
- k,
3874
+ A,
3871
3875
  " 页"
3872
3876
  ]
3873
3877
  }),
3874
- /* @__PURE__ */ T(H, {
3878
+ /* @__PURE__ */ E(H, {
3875
3879
  variant: "outline",
3876
3880
  size: "sm",
3877
3881
  className: "min-h-9 cursor-pointer",
3878
- onClick: () => d ? m?.(A - 1, s) : D.previousPage(),
3879
- disabled: A <= 0,
3882
+ onClick: () => d ? m?.(j - 1, s) : O.previousPage(),
3883
+ disabled: j <= 0,
3880
3884
  "aria-label": "上一页",
3881
- children: /* @__PURE__ */ T(Le, { className: "size-4" })
3885
+ children: /* @__PURE__ */ E(Le, { className: "size-4" })
3882
3886
  }),
3883
- /* @__PURE__ */ T(H, {
3887
+ /* @__PURE__ */ E(H, {
3884
3888
  variant: "outline",
3885
3889
  size: "sm",
3886
3890
  className: "min-h-9 cursor-pointer",
3887
- onClick: () => d ? m?.(A + 1, s) : D.nextPage(),
3888
- disabled: A >= k - 1,
3891
+ onClick: () => d ? m?.(j + 1, s) : O.nextPage(),
3892
+ disabled: j >= A - 1,
3889
3893
  "aria-label": "下一页",
3890
- children: /* @__PURE__ */ T(ze, { className: "size-4" })
3894
+ children: /* @__PURE__ */ E(ze, { className: "size-4" })
3891
3895
  })
3892
3896
  ]
3893
3897
  })]
3894
3898
  });
3895
- return /* @__PURE__ */ E("div", {
3896
- className: $("space-y-2 rounded-lg border border-border/50 bg-card/50 p-3 backdrop-blur-sm", c),
3897
- children: [r && /* @__PURE__ */ T(Un, {
3898
- value: b,
3899
- onChange: (e) => x(e.target.value),
3899
+ return /* @__PURE__ */ D("div", {
3900
+ className: $("flex h-full min-h-0 flex-col gap-2", c),
3901
+ children: [r && /* @__PURE__ */ E(Un, {
3902
+ value: x,
3903
+ onChange: (e) => S(e.target.value),
3900
3904
  placeholder: i,
3901
3905
  className: "max-w-sm"
3902
- }), C ? /* @__PURE__ */ E("div", {
3906
+ }), ee ? /* @__PURE__ */ D("div", {
3903
3907
  className: "space-y-2",
3904
3908
  children: [
3905
- l && /* @__PURE__ */ E("div", {
3909
+ l && /* @__PURE__ */ D("div", {
3906
3910
  className: "flex items-center justify-center gap-2 py-4 text-sm text-muted-foreground",
3907
- children: [/* @__PURE__ */ T(B, { className: "size-4 animate-spin" }), "加载中..."]
3911
+ children: [/* @__PURE__ */ E(B, { className: "size-4 animate-spin" }), "加载中..."]
3908
3912
  }),
3909
- O.length ? /* @__PURE__ */ T("div", {
3913
+ k.length ? /* @__PURE__ */ E("div", {
3910
3914
  className: "flex flex-col gap-2",
3911
- children: O.map((t) => /* @__PURE__ */ E("div", {
3915
+ children: k.map((t) => /* @__PURE__ */ D("div", {
3912
3916
  className: "rounded-lg border bg-card p-3",
3913
- children: [_ ? _(t.original) : /* @__PURE__ */ T("dl", {
3917
+ children: [_ ? _(t.original) : /* @__PURE__ */ E("dl", {
3914
3918
  className: "grid grid-cols-[auto_1fr] gap-x-3 gap-y-1.5 text-sm",
3915
- children: t.getVisibleCells().filter((e) => !e.column.columnDef.meta?.cardHidden).map((n) => /* @__PURE__ */ E(e.Fragment, { children: [/* @__PURE__ */ T("dt", {
3919
+ children: t.getVisibleCells().filter((e) => !e.column.columnDef.meta?.cardHidden).map((n) => /* @__PURE__ */ D(e.Fragment, { children: [/* @__PURE__ */ E("dt", {
3916
3920
  className: "whitespace-nowrap text-muted-foreground",
3917
3921
  children: typeof n.column.columnDef.header == "string" ? n.column.columnDef.header : n.column.id
3918
- }), /* @__PURE__ */ T("dd", {
3922
+ }), /* @__PURE__ */ E("dd", {
3919
3923
  className: "break-all",
3920
3924
  children: n.column.columnDef.meta?.cardCell ? n.column.columnDef.meta.cardCell(t.original) : re(n.column.columnDef.cell, n.getContext())
3921
3925
  })] }, n.id))
3922
- }), o && /* @__PURE__ */ E("details", {
3926
+ }), o && /* @__PURE__ */ D("details", {
3923
3927
  className: "mt-2",
3924
- children: [/* @__PURE__ */ T("summary", {
3928
+ children: [/* @__PURE__ */ E("summary", {
3925
3929
  className: "cursor-pointer text-xs text-muted-foreground min-h-9 flex items-center",
3926
3930
  children: "详情"
3927
- }), /* @__PURE__ */ T("div", {
3931
+ }), /* @__PURE__ */ E("div", {
3928
3932
  className: "pt-2 text-sm",
3929
3933
  children: o(t.original)
3930
3934
  })]
3931
3935
  })]
3932
3936
  }, t.id))
3933
- }) : !l && /* @__PURE__ */ T("div", {
3937
+ }) : !l && /* @__PURE__ */ E("div", {
3934
3938
  className: "rounded-lg border border-dashed p-8 text-center text-sm text-muted-foreground",
3935
3939
  children: u
3936
3940
  }),
3937
- j
3941
+ M
3938
3942
  ]
3939
- }) : /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ E("div", {
3940
- className: $("relative rounded-md border overflow-x-auto", l && "pointer-events-none opacity-60"),
3941
- children: [l && /* @__PURE__ */ T("div", {
3943
+ }) : /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ D("div", {
3944
+ className: $("min-h-0 flex-1 [&>[data-slot=table-container]]:h-full", l && "pointer-events-none"),
3945
+ children: [l && /* @__PURE__ */ E("div", {
3942
3946
  className: "absolute inset-0 z-10 flex items-center justify-center bg-background/40",
3943
- children: /* @__PURE__ */ T(B, { className: "size-5 animate-spin text-muted-foreground" })
3944
- }), /* @__PURE__ */ E(Tr, { children: [/* @__PURE__ */ T(Er, { children: D.getHeaderGroups().map((e) => /* @__PURE__ */ E(kr, { children: [o && /* @__PURE__ */ T(Ar, { className: "w-8" }), e.headers.map((e) => /* @__PURE__ */ T(Ar, {
3945
- className: $(e.column.columnDef.meta?.hideBelowMd && "hidden md:table-cell"),
3946
- children: e.isPlaceholder ? null : e.column.getCanSort() ? /* @__PURE__ */ E("button", {
3947
- className: "flex items-center gap-1",
3948
- onClick: e.column.getToggleSortingHandler(),
3949
- children: [re(e.column.columnDef.header, e.getContext()), /* @__PURE__ */ T(Te, { className: "h-3 w-3 opacity-50" })]
3950
- }) : re(e.column.columnDef.header, e.getContext())
3951
- }, e.id))] }, e.id)) }), /* @__PURE__ */ T(Dr, { children: O.length ? O.map((t) => /* @__PURE__ */ E(e.Fragment, { children: [/* @__PURE__ */ E(kr, { children: [o && /* @__PURE__ */ T(jr, { children: /* @__PURE__ */ T(ze, {
3952
- className: $("h-4 w-4 cursor-pointer transition-transform", t.getIsExpanded() && "rotate-90"),
3953
- onClick: t.getToggleExpandedHandler()
3954
- }) }), t.getVisibleCells().map((e) => /* @__PURE__ */ T(jr, {
3955
- className: $(e.column.columnDef.meta?.hideBelowMd && "hidden md:table-cell"),
3956
- children: re(e.column.columnDef.cell, e.getContext())
3957
- }, e.id))] }), o && t.getIsExpanded() && /* @__PURE__ */ T(kr, { children: /* @__PURE__ */ T(jr, {
3958
- colSpan: t.getVisibleCells().length + 1,
3959
- className: "bg-muted/40",
3960
- children: o(t.original)
3961
- }) })] }, t.id)) : /* @__PURE__ */ T(kr, { children: /* @__PURE__ */ T(jr, {
3962
- colSpan: t.length + +!!o,
3963
- className: "h-24 text-center text-muted-foreground",
3964
- children: u
3965
- }) }) })] })]
3966
- }), j] })]
3947
+ children: /* @__PURE__ */ E(B, { className: "size-5 animate-spin text-muted-foreground" })
3948
+ }), /* @__PURE__ */ D(Tr, {
3949
+ size: v ? "compact" : "default",
3950
+ children: [/* @__PURE__ */ E(Er, { children: O.getHeaderGroups().map((e) => /* @__PURE__ */ D(kr, { children: [o && /* @__PURE__ */ E(Ar, { className: "w-8" }), e.headers.map((e) => /* @__PURE__ */ E(Ar, {
3951
+ className: $(e.column.columnDef.meta?.hideBelowMd && "hidden md:table-cell"),
3952
+ children: e.isPlaceholder ? null : e.column.getCanSort() ? /* @__PURE__ */ D("button", {
3953
+ className: "flex items-center gap-1",
3954
+ onClick: e.column.getToggleSortingHandler(),
3955
+ children: [re(e.column.columnDef.header, e.getContext()), /* @__PURE__ */ E(Te, { className: "h-3 w-3 opacity-50" })]
3956
+ }) : re(e.column.columnDef.header, e.getContext())
3957
+ }, e.id))] }, e.id)) }), /* @__PURE__ */ E(Dr, { children: k.length ? k.map((t) => /* @__PURE__ */ D(e.Fragment, { children: [/* @__PURE__ */ D(kr, { children: [o && /* @__PURE__ */ E(jr, { children: /* @__PURE__ */ E(ze, {
3958
+ className: $("h-4 w-4 cursor-pointer transition-transform", t.getIsExpanded() && "rotate-90"),
3959
+ onClick: t.getToggleExpandedHandler()
3960
+ }) }), t.getVisibleCells().map((e) => /* @__PURE__ */ E(jr, {
3961
+ className: $(e.column.columnDef.meta?.hideBelowMd && "hidden md:table-cell", e.column.columnDef.meta?.numeric && "text-right font-mono tabular-nums text-[var(--text,var(--foreground))]", e.column.columnDef.meta?.mono && "font-mono text-[var(--text,var(--foreground))]"),
3962
+ children: re(e.column.columnDef.cell, e.getContext())
3963
+ }, e.id))] }), o && t.getIsExpanded() && /* @__PURE__ */ E(kr, { children: /* @__PURE__ */ E(jr, {
3964
+ colSpan: t.getVisibleCells().length + 1,
3965
+ className: "bg-muted/40",
3966
+ children: o(t.original)
3967
+ }) })] }, t.id)) : /* @__PURE__ */ E(kr, { children: /* @__PURE__ */ E(jr, {
3968
+ colSpan: t.length + +!!o,
3969
+ className: "h-24 text-center text-muted-foreground",
3970
+ children: u
3971
+ }) }) })]
3972
+ })]
3973
+ }), M] })]
3967
3974
  });
3968
3975
  }
3969
3976
  // src/components/ui/drawer.tsx
3970
3977
  function Ia({ maskClosable: e = !0, ...t }) {
3971
- return /* @__PURE__ */ T(L.Root, {
3978
+ return /* @__PURE__ */ E(L.Root, {
3972
3979
  "data-slot": "drawer",
3973
3980
  dismissible: e,
3974
3981
  ...t
3975
3982
  });
3976
3983
  }
3977
3984
  function La({ ...e }) {
3978
- return /* @__PURE__ */ T(L.Trigger, {
3985
+ return /* @__PURE__ */ E(L.Trigger, {
3979
3986
  "data-slot": "drawer-trigger",
3980
3987
  ...e
3981
3988
  });
3982
3989
  }
3983
3990
  function Ra({ ...e }) {
3984
- return /* @__PURE__ */ T(L.Portal, {
3991
+ return /* @__PURE__ */ E(L.Portal, {
3985
3992
  "data-slot": "drawer-portal",
3986
3993
  ...e
3987
3994
  });
3988
3995
  }
3989
3996
  function za({ ...e }) {
3990
- return /* @__PURE__ */ T(L.Close, {
3997
+ return /* @__PURE__ */ E(L.Close, {
3991
3998
  "data-slot": "drawer-close",
3992
3999
  ...e
3993
4000
  });
3994
4001
  }
3995
4002
  function Ba({ className: e, ...t }) {
3996
- return /* @__PURE__ */ T(L.Overlay, {
4003
+ return /* @__PURE__ */ E(L.Overlay, {
3997
4004
  "data-slot": "drawer-overlay",
3998
- className: a("fixed inset-0 z-[110] bg-black/50 backdrop-blur-[2px] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0", e),
4005
+ className: a("fixed inset-0 z-40 bg-black/50 backdrop-blur-[2px] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0", e),
3999
4006
  ...t
4000
4007
  });
4001
4008
  }
4002
4009
  function Va({ className: e, children: t, ...n }) {
4003
- return /* @__PURE__ */ E(Ra, {
4010
+ return /* @__PURE__ */ D(Ra, {
4004
4011
  "data-slot": "drawer-portal",
4005
- children: [/* @__PURE__ */ T(Ba, {}), /* @__PURE__ */ E(L.Content, {
4012
+ children: [/* @__PURE__ */ E(Ba, {}), /* @__PURE__ */ D(L.Content, {
4006
4013
  "data-slot": "drawer-content",
4007
- className: a("group/drawer-content fixed z-[110] flex h-auto flex-col bg-background/80 shadow-xl backdrop-blur-md transition ease-in-out data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:animate-in data-[state=open]:duration-500", "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=top]:border-border data-[vaul-drawer-direction=top]:data-[state=closed]:slide-out-to-top data-[vaul-drawer-direction=top]:data-[state=open]:slide-in-from-top", "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=bottom]:border-border data-[vaul-drawer-direction=bottom]:data-[state=closed]:slide-out-to-bottom data-[vaul-drawer-direction=bottom]:data-[state=open]:slide-in-from-bottom", "data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:border-border data-[vaul-drawer-direction=right]:data-[state=closed]:slide-out-to-right data-[vaul-drawer-direction=right]:data-[state=open]:slide-in-from-right data-[vaul-drawer-direction=right]:sm:max-w-sm", "data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:border-border data-[vaul-drawer-direction=left]:data-[state=closed]:slide-out-to-left data-[vaul-drawer-direction=left]:data-[state=open]:slide-in-from-left data-[vaul-drawer-direction=left]:sm:max-w-sm", e),
4014
+ className: a("group/drawer-content fixed z-50 flex h-auto flex-col bg-background/80 shadow-xl backdrop-blur-md transition ease-in-out data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:animate-in data-[state=open]:duration-500", "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=top]:border-border data-[vaul-drawer-direction=top]:data-[state=closed]:slide-out-to-top data-[vaul-drawer-direction=top]:data-[state=open]:slide-in-from-top", "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=bottom]:border-border data-[vaul-drawer-direction=bottom]:data-[state=closed]:slide-out-to-bottom data-[vaul-drawer-direction=bottom]:data-[state=open]:slide-in-from-bottom", "data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:border-border data-[vaul-drawer-direction=right]:data-[state=closed]:slide-out-to-right data-[vaul-drawer-direction=right]:data-[state=open]:slide-in-from-right data-[vaul-drawer-direction=right]:sm:max-w-sm", "data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:border-border data-[vaul-drawer-direction=left]:data-[state=closed]:slide-out-to-left data-[vaul-drawer-direction=left]:data-[state=open]:slide-in-from-left data-[vaul-drawer-direction=left]:sm:max-w-sm", e),
4008
4015
  ...n,
4009
- children: [/* @__PURE__ */ T("div", { className: "mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full bg-muted group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }), t]
4016
+ children: [/* @__PURE__ */ E("div", { className: "mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full bg-muted group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }), t]
4010
4017
  })]
4011
4018
  });
4012
4019
  }
4013
4020
  function Ha({ className: e, ...t }) {
4014
- return /* @__PURE__ */ T("div", {
4021
+ return /* @__PURE__ */ E("div", {
4015
4022
  "data-slot": "drawer-header",
4016
4023
  className: a("flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left", e),
4017
4024
  ...t
4018
4025
  });
4019
4026
  }
4020
4027
  function Ua({ className: e, ...t }) {
4021
- return /* @__PURE__ */ T("div", {
4028
+ return /* @__PURE__ */ E("div", {
4022
4029
  "data-slot": "drawer-footer",
4023
4030
  className: a("mt-auto flex flex-col gap-2 p-4", e),
4024
4031
  ...t
4025
4032
  });
4026
4033
  }
4027
4034
  function Wa({ className: e, ...t }) {
4028
- return /* @__PURE__ */ T(L.Title, {
4035
+ return /* @__PURE__ */ E(L.Title, {
4029
4036
  "data-slot": "drawer-title",
4030
4037
  className: a("font-semibold text-foreground", e),
4031
4038
  ...t
4032
4039
  });
4033
4040
  }
4034
4041
  function Ga({ className: e, ...t }) {
4035
- return /* @__PURE__ */ T(L.Description, {
4042
+ return /* @__PURE__ */ E(L.Description, {
4036
4043
  "data-slot": "drawer-description",
4037
4044
  className: a("text-sm text-muted-foreground", e),
4038
4045
  ...t
@@ -4061,30 +4068,30 @@ function Ya({ data: t, defaultExpandedIds: n, onSelect: r, className: i }) {
4061
4068
  let a = e.useMemo(() => n ? new Set(n) : null, [n]), [o, s] = e.useState(() => Ka(t, a));
4062
4069
  return e.useEffect(() => {
4063
4070
  s(Ka(t, a));
4064
- }, [t, a]), /* @__PURE__ */ T("div", {
4071
+ }, [t, a]), /* @__PURE__ */ E("div", {
4065
4072
  className: $("text-sm", i),
4066
- children: /* @__PURE__ */ T(Ja, {
4073
+ children: /* @__PURE__ */ E(Ja, {
4067
4074
  treeData: o,
4068
4075
  onChange: s,
4069
4076
  onRenderItem: (e) => {
4070
4077
  let n = e.children && e.children.length > 0, i = String(e.title);
4071
- return /* @__PURE__ */ T("span", {
4078
+ return /* @__PURE__ */ E("span", {
4072
4079
  className: "flex items-center gap-1.5",
4073
- children: n ? /* @__PURE__ */ E(w, { children: [
4074
- /* @__PURE__ */ T(ze, { className: $("h-3 w-3 text-muted-foreground transition-transform", e.expanded && "rotate-90") }),
4075
- /* @__PURE__ */ T(rt, { className: "h-3.5 w-3.5 text-muted-foreground" }),
4076
- /* @__PURE__ */ T("span", {
4080
+ children: n ? /* @__PURE__ */ D(T, { children: [
4081
+ /* @__PURE__ */ E(ze, { className: $("h-3 w-3 text-muted-foreground transition-transform", e.expanded && "rotate-90") }),
4082
+ /* @__PURE__ */ E(rt, { className: "h-3.5 w-3.5 text-muted-foreground" }),
4083
+ /* @__PURE__ */ E("span", {
4077
4084
  className: "font-medium",
4078
4085
  children: i
4079
4086
  })
4080
- ] }) : /* @__PURE__ */ E("button", {
4087
+ ] }) : /* @__PURE__ */ D("button", {
4081
4088
  type: "button",
4082
4089
  className: "flex items-center gap-1.5 hover:text-primary",
4083
4090
  onClick: () => {
4084
4091
  let n = qa(t, String(e.id));
4085
4092
  n && r?.(n);
4086
4093
  },
4087
- children: [/* @__PURE__ */ T(tt, { className: "h-3.5 w-3.5 text-muted-foreground" }), i]
4094
+ children: [/* @__PURE__ */ E(tt, { className: "h-3.5 w-3.5 text-muted-foreground" }), i]
4088
4095
  })
4089
4096
  });
4090
4097
  }
@@ -4109,27 +4116,27 @@ function Xa({ accept: t, maxFiles: n = 1, maxSize: r, onFilesChange: i, classNam
4109
4116
  let t = o.filter((t) => t !== e);
4110
4117
  s(t), i?.(t);
4111
4118
  };
4112
- return /* @__PURE__ */ E("div", {
4119
+ return /* @__PURE__ */ D("div", {
4113
4120
  className: $("space-y-2", a),
4114
- children: [/* @__PURE__ */ E("div", {
4121
+ children: [/* @__PURE__ */ D("div", {
4115
4122
  ...l(),
4116
4123
  className: $("flex flex-col items-center justify-center gap-2 rounded-lg border border-dashed p-8 text-sm cursor-pointer", d ? "border-primary bg-primary/5" : "border-border text-muted-foreground"),
4117
4124
  children: [
4118
- /* @__PURE__ */ T("input", { ...u() }),
4119
- /* @__PURE__ */ T(Ye, { className: "h-6 w-6" }),
4120
- d ? /* @__PURE__ */ T("p", { children: "松开即上传" }) : /* @__PURE__ */ T("p", { children: "拖拽文件到此处,或点击选择" })
4125
+ /* @__PURE__ */ E("input", { ...u() }),
4126
+ /* @__PURE__ */ E(Ye, { className: "h-6 w-6" }),
4127
+ d ? /* @__PURE__ */ E("p", { children: "松开即上传" }) : /* @__PURE__ */ E("p", { children: "拖拽文件到此处,或点击选择" })
4121
4128
  ]
4122
- }), o.map((e) => /* @__PURE__ */ E("div", {
4129
+ }), o.map((e) => /* @__PURE__ */ D("div", {
4123
4130
  className: "flex items-center justify-between rounded-md border px-3 py-1.5 text-sm",
4124
- children: [/* @__PURE__ */ T("span", {
4131
+ children: [/* @__PURE__ */ E("span", {
4125
4132
  className: "truncate",
4126
4133
  children: e.name
4127
- }), /* @__PURE__ */ T(H, {
4134
+ }), /* @__PURE__ */ E(H, {
4128
4135
  variant: "ghost",
4129
4136
  size: "icon-sm",
4130
4137
  onClick: () => f(e),
4131
4138
  "aria-label": `移除 ${e.name}`,
4132
- children: /* @__PURE__ */ T(V, { className: "h-3.5 w-3.5" })
4139
+ children: /* @__PURE__ */ E(V, { className: "h-3.5 w-3.5" })
4133
4140
  })]
4134
4141
  }, e.name))]
4135
4142
  });
@@ -4164,37 +4171,37 @@ function Za(e, t) {
4164
4171
  }
4165
4172
  function Qa({ page: e, total: t = 0, pageSize: n = 10, onChange: r, className: i }) {
4166
4173
  let a = Math.max(1, Math.ceil(t / n));
4167
- return /* @__PURE__ */ E("nav", {
4174
+ return /* @__PURE__ */ D("nav", {
4168
4175
  className: $("flex items-center gap-1", i),
4169
4176
  "aria-label": "分页",
4170
4177
  children: [
4171
- /* @__PURE__ */ T(H, {
4178
+ /* @__PURE__ */ E(H, {
4172
4179
  variant: "outline",
4173
4180
  size: "icon-sm",
4174
4181
  disabled: e <= 1,
4175
4182
  onClick: () => r(e - 1),
4176
4183
  "aria-label": "上一页",
4177
- children: /* @__PURE__ */ T(Le, { className: "h-4 w-4" })
4184
+ children: /* @__PURE__ */ E(Le, { className: "h-4 w-4" })
4178
4185
  }),
4179
- Za(e, a).map((t, n) => t === "…" ? /* @__PURE__ */ T("span", {
4186
+ Za(e, a).map((t, n) => t === "…" ? /* @__PURE__ */ E("span", {
4180
4187
  className: "flex h-8 w-8 items-center justify-center text-muted-foreground",
4181
- children: /* @__PURE__ */ T(Ze, { className: "h-4 w-4" })
4182
- }, `e${n}`) : /* @__PURE__ */ T(H, {
4188
+ children: /* @__PURE__ */ E(Ze, { className: "h-4 w-4" })
4189
+ }, `e${n}`) : /* @__PURE__ */ E(H, {
4183
4190
  variant: t === e ? "default" : "outline",
4184
4191
  size: "icon-sm",
4185
4192
  onClick: () => r(t),
4186
4193
  "aria-current": t === e ? "page" : void 0,
4187
4194
  children: t
4188
4195
  }, t)),
4189
- /* @__PURE__ */ T(H, {
4196
+ /* @__PURE__ */ E(H, {
4190
4197
  variant: "outline",
4191
4198
  size: "icon-sm",
4192
4199
  disabled: e >= a,
4193
4200
  onClick: () => r(e + 1),
4194
4201
  "aria-label": "下一页",
4195
- children: /* @__PURE__ */ T(ze, { className: "h-4 w-4" })
4202
+ children: /* @__PURE__ */ E(ze, { className: "h-4 w-4" })
4196
4203
  }),
4197
- t > 0 && /* @__PURE__ */ E("span", {
4204
+ t > 0 && /* @__PURE__ */ D("span", {
4198
4205
  className: "ml-2 text-sm text-muted-foreground",
4199
4206
  children: [
4200
4207
  "共 ",
@@ -4207,48 +4214,48 @@ function Qa({ page: e, total: t = 0, pageSize: n = 10, onChange: r, className: i
4207
4214
  }
4208
4215
  // src/components/ui/steps.tsx
4209
4216
  function $a({ steps: t, current: n, onChange: r, className: i }) {
4210
- return /* @__PURE__ */ T("ol", {
4217
+ return /* @__PURE__ */ E("ol", {
4211
4218
  className: $("flex w-full items-center", i),
4212
4219
  children: t.map((i, a) => {
4213
4220
  let o = a < n, s = a === n;
4214
- return /* @__PURE__ */ E(e.Fragment, { children: [/* @__PURE__ */ E("li", {
4221
+ return /* @__PURE__ */ D(e.Fragment, { children: [/* @__PURE__ */ D("li", {
4215
4222
  className: "flex items-center gap-2",
4216
- children: [/* @__PURE__ */ T("button", {
4223
+ children: [/* @__PURE__ */ E("button", {
4217
4224
  type: "button",
4218
4225
  disabled: !r,
4219
4226
  onClick: () => r?.(a),
4220
4227
  className: $("flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-xs font-medium", o && "bg-primary text-primary-foreground", s && "border-2 border-primary text-primary", !o && !s && "border border-border text-muted-foreground"),
4221
- children: o ? /* @__PURE__ */ T(Ne, { className: "h-3.5 w-3.5" }) : a + 1
4222
- }), /* @__PURE__ */ T("span", {
4228
+ children: o ? /* @__PURE__ */ E(Ne, { className: "h-3.5 w-3.5" }) : a + 1
4229
+ }), /* @__PURE__ */ E("span", {
4223
4230
  className: $("text-sm", s ? "font-medium text-foreground" : "text-muted-foreground"),
4224
4231
  children: i
4225
4232
  })]
4226
- }), a < t.length - 1 && /* @__PURE__ */ T("li", { className: $("mx-3 h-px flex-1", a < n ? "bg-primary" : "bg-border") })] }, i);
4233
+ }), a < t.length - 1 && /* @__PURE__ */ E("li", { className: $("mx-3 h-px flex-1", a < n ? "bg-primary" : "bg-border") })] }, i);
4227
4234
  })
4228
4235
  });
4229
4236
  }
4230
4237
  // src/components/ui/timeline.tsx
4231
4238
  function eo({ title: e, description: t, time: n, dot: r, className: i }) {
4232
- return /* @__PURE__ */ E("div", {
4239
+ return /* @__PURE__ */ D("div", {
4233
4240
  className: $("relative flex gap-4 pb-6 pl-1", i),
4234
- children: [/* @__PURE__ */ E("div", {
4241
+ children: [/* @__PURE__ */ D("div", {
4235
4242
  className: "flex flex-col items-center",
4236
- children: [/* @__PURE__ */ T("div", {
4243
+ children: [/* @__PURE__ */ E("div", {
4237
4244
  className: "flex h-3 w-3 items-center justify-center rounded-full border-2 border-primary bg-background",
4238
4245
  children: r
4239
- }), /* @__PURE__ */ T("div", { className: "w-px flex-1 bg-border" })]
4240
- }), /* @__PURE__ */ E("div", {
4246
+ }), /* @__PURE__ */ E("div", { className: "w-px flex-1 bg-border" })]
4247
+ }), /* @__PURE__ */ D("div", {
4241
4248
  className: "flex-1 pb-1",
4242
- children: [/* @__PURE__ */ E("div", {
4249
+ children: [/* @__PURE__ */ D("div", {
4243
4250
  className: "flex items-center justify-between",
4244
- children: [/* @__PURE__ */ T("div", {
4251
+ children: [/* @__PURE__ */ E("div", {
4245
4252
  className: "text-sm font-medium",
4246
4253
  children: e
4247
- }), n && /* @__PURE__ */ T("div", {
4254
+ }), n && /* @__PURE__ */ E("div", {
4248
4255
  className: "text-xs text-muted-foreground",
4249
4256
  children: n
4250
4257
  })]
4251
- }), t && /* @__PURE__ */ T("div", {
4258
+ }), t && /* @__PURE__ */ E("div", {
4252
4259
  className: "mt-1 text-sm text-muted-foreground",
4253
4260
  children: t
4254
4261
  })]
@@ -4256,30 +4263,30 @@ function eo({ title: e, description: t, time: n, dot: r, className: i }) {
4256
4263
  });
4257
4264
  }
4258
4265
  function to({ children: e, className: t }) {
4259
- return /* @__PURE__ */ T("div", {
4266
+ return /* @__PURE__ */ E("div", {
4260
4267
  className: $("w-full", t),
4261
4268
  children: e
4262
4269
  });
4263
4270
  }
4264
4271
  // src/components/ui/descriptions.tsx
4265
4272
  function no({ title: e, items: t, column: n = 2, bordered: r, className: i }) {
4266
- return /* @__PURE__ */ E("div", {
4273
+ return /* @__PURE__ */ D("div", {
4267
4274
  className: $("w-full", i),
4268
- children: [e && /* @__PURE__ */ T("div", {
4275
+ children: [e && /* @__PURE__ */ E("div", {
4269
4276
  className: "mb-3 text-sm font-semibold",
4270
4277
  children: e
4271
- }), /* @__PURE__ */ T("dl", {
4278
+ }), /* @__PURE__ */ E("dl", {
4272
4279
  className: $("grid gap-x-6 gap-y-2", r && "divide-border rounded-md border border-border"),
4273
- children: t.map((e, t) => /* @__PURE__ */ E("div", {
4280
+ children: t.map((e, t) => /* @__PURE__ */ D("div", {
4274
4281
  className: $("flex flex-col gap-1 py-1.5", r && "border-b border-border px-3 last:border-b-0"),
4275
4282
  style: {
4276
4283
  gridColumn: `span ${e.span ?? 1} / span ${e.span ?? 1}`,
4277
4284
  gridTemplateColumns: `repeat(${n}, minmax(0, 1fr))`
4278
4285
  },
4279
- children: [/* @__PURE__ */ T("dt", {
4286
+ children: [/* @__PURE__ */ E("dt", {
4280
4287
  className: "text-xs text-muted-foreground",
4281
4288
  children: e.label
4282
- }), /* @__PURE__ */ T("dd", {
4289
+ }), /* @__PURE__ */ E("dd", {
4283
4290
  className: "text-sm",
4284
4291
  children: e.children
4285
4292
  })]
@@ -4289,18 +4296,18 @@ function no({ title: e, items: t, column: n = 2, bordered: r, className: i }) {
4289
4296
  }
4290
4297
  // src/components/ui/empty.tsx
4291
4298
  function ro({ description: e = "暂无数据", icon: t, action: n, className: r }) {
4292
- return /* @__PURE__ */ E("div", {
4299
+ return /* @__PURE__ */ D("div", {
4293
4300
  className: $("flex flex-col items-center justify-center gap-3 rounded-lg border border-dashed p-10 text-center", r),
4294
4301
  children: [
4295
- /* @__PURE__ */ T("div", {
4302
+ /* @__PURE__ */ E("div", {
4296
4303
  className: "text-muted-foreground/60",
4297
- children: t ?? /* @__PURE__ */ T(at, { className: "h-10 w-10" })
4304
+ children: t ?? /* @__PURE__ */ E(at, { className: "h-10 w-10" })
4298
4305
  }),
4299
- /* @__PURE__ */ T("div", {
4306
+ /* @__PURE__ */ E("div", {
4300
4307
  className: "text-sm text-muted-foreground",
4301
4308
  children: e
4302
4309
  }),
4303
- n && /* @__PURE__ */ T("div", {
4310
+ n && /* @__PURE__ */ E("div", {
4304
4311
  className: "mt-1",
4305
4312
  children: n
4306
4313
  })
@@ -4317,7 +4324,7 @@ var io = {
4317
4324
  };
4318
4325
  function ao({ className: e, color: t = "default", bordered: n = !0, closable: r, onClose: i, children: a, style: o, ...s }) {
4319
4326
  let c = t in io;
4320
- return /* @__PURE__ */ E("span", {
4327
+ return /* @__PURE__ */ D("span", {
4321
4328
  "data-slot": "tag",
4322
4329
  className: $("inline-flex w-fit items-center gap-1 rounded-md px-2 py-0.5 text-xs font-medium whitespace-nowrap [&>svg]:size-3", c ? io[t] : "border-transparent bg-muted", n && "border", e),
4323
4330
  style: c ? o : {
@@ -4325,7 +4332,7 @@ function ao({ className: e, color: t = "default", bordered: n = !0, closable: r,
4325
4332
  ...o
4326
4333
  },
4327
4334
  ...s,
4328
- children: [a, r && /* @__PURE__ */ T("span", {
4335
+ children: [a, r && /* @__PURE__ */ E("span", {
4329
4336
  role: "button",
4330
4337
  tabIndex: 0,
4331
4338
  "aria-label": "关闭",
@@ -4333,7 +4340,7 @@ function ao({ className: e, color: t = "default", bordered: n = !0, closable: r,
4333
4340
  onClick: (e) => {
4334
4341
  e.stopPropagation(), i?.(e);
4335
4342
  },
4336
- children: /* @__PURE__ */ T(V, { className: "size-3" })
4343
+ children: /* @__PURE__ */ E(V, { className: "size-3" })
4337
4344
  })]
4338
4345
  });
4339
4346
  }
@@ -4343,10 +4350,10 @@ function oo({ options: t, value: n, defaultValue: r, onChange: i, disabled: a, c
4343
4350
  label: e,
4344
4351
  value: e
4345
4352
  } : e), [t]), [c, l] = e.useState(r), u = n ?? c;
4346
- return /* @__PURE__ */ T("div", {
4353
+ return /* @__PURE__ */ E("div", {
4347
4354
  role: "radiogroup",
4348
4355
  className: $("inline-flex items-center rounded-lg bg-muted p-0.5", a && "opacity-50 pointer-events-none", o),
4349
- children: s.map((e) => /* @__PURE__ */ T("button", {
4356
+ children: s.map((e) => /* @__PURE__ */ E("button", {
4350
4357
  type: "button",
4351
4358
  role: "radio",
4352
4359
  "aria-checked": u === e.value,
@@ -4362,28 +4369,28 @@ function oo({ options: t, value: n, defaultValue: r, onChange: i, disabled: a, c
4362
4369
  // src/components/ui/statistic.tsx
4363
4370
  function so({ title: e, value: t, precision: n, prefix: r, suffix: i, direction: a, className: o }) {
4364
4371
  let s = n != null && typeof t == "number" ? t.toFixed(n) : t;
4365
- return /* @__PURE__ */ E("div", {
4372
+ return /* @__PURE__ */ D("div", {
4366
4373
  className: $("flex flex-col gap-1", o),
4367
- children: [/* @__PURE__ */ T("div", {
4374
+ children: [/* @__PURE__ */ E("div", {
4368
4375
  className: "text-xs text-muted-foreground",
4369
4376
  children: e
4370
- }), /* @__PURE__ */ E("div", {
4377
+ }), /* @__PURE__ */ D("div", {
4371
4378
  className: "flex items-baseline gap-1 text-2xl font-semibold tabular-nums",
4372
4379
  children: [
4373
4380
  r,
4374
4381
  s,
4375
- i && /* @__PURE__ */ T("span", {
4382
+ i && /* @__PURE__ */ E("span", {
4376
4383
  className: "text-sm font-normal text-muted-foreground",
4377
4384
  children: i
4378
4385
  }),
4379
- a && (a === "up" ? /* @__PURE__ */ T(St, { className: "h-4 w-4 self-center text-success" }) : /* @__PURE__ */ T(bt, { className: "h-4 w-4 self-center text-destructive" }))
4386
+ a && (a === "up" ? /* @__PURE__ */ E(St, { className: "h-4 w-4 self-center text-success" }) : /* @__PURE__ */ E(bt, { className: "h-4 w-4 self-center text-destructive" }))
4380
4387
  ]
4381
4388
  })]
4382
4389
  });
4383
4390
  }
4384
4391
  // src/components/ui/action-buttons.tsx
4385
4392
  function co({ icon: e, onClick: t, children: n, danger: r, disabled: i, loading: a, ...o }) {
4386
- return /* @__PURE__ */ E(H, {
4393
+ return /* @__PURE__ */ D(H, {
4387
4394
  variant: "ghost",
4388
4395
  size: "sm",
4389
4396
  className: $("h-7 gap-1 px-2", r && "text-destructive hover:text-destructive"),
@@ -4394,21 +4401,21 @@ function co({ icon: e, onClick: t, children: n, danger: r, disabled: i, loading:
4394
4401
  });
4395
4402
  }
4396
4403
  function lo({ onConfirm: e, title: t = "确定删除?", description: n = "删除后不可恢复", label: r = "删除" }) {
4397
- return /* @__PURE__ */ E(Wt, { children: [/* @__PURE__ */ T(Gt, {
4404
+ return /* @__PURE__ */ D(Wt, { children: [/* @__PURE__ */ E(Gt, {
4398
4405
  asChild: !0,
4399
- children: /* @__PURE__ */ T(co, {
4400
- icon: /* @__PURE__ */ T(vt, { className: "h-3.5 w-3.5" }),
4406
+ children: /* @__PURE__ */ E(co, {
4407
+ icon: /* @__PURE__ */ E(vt, { className: "h-3.5 w-3.5" }),
4401
4408
  danger: !0,
4402
4409
  children: r
4403
4410
  })
4404
- }), /* @__PURE__ */ E(Jt, { children: [/* @__PURE__ */ E(Yt, { children: [/* @__PURE__ */ T(Zt, { children: t }), /* @__PURE__ */ T(Qt, { children: n })] }), /* @__PURE__ */ E(Xt, { children: [/* @__PURE__ */ T(tn, { children: "取消" }), /* @__PURE__ */ T(en, {
4411
+ }), /* @__PURE__ */ D(Jt, { children: [/* @__PURE__ */ D(Yt, { children: [/* @__PURE__ */ E(Zt, { children: t }), /* @__PURE__ */ E(Qt, { children: n })] }), /* @__PURE__ */ D(Xt, { children: [/* @__PURE__ */ E(tn, { children: "取消" }), /* @__PURE__ */ E(en, {
4405
4412
  onClick: e,
4406
4413
  children: "确定"
4407
4414
  })] })] })] });
4408
4415
  }
4409
4416
  function uo({ onClick: e, label: t = "详情" }) {
4410
- return /* @__PURE__ */ T(co, {
4411
- icon: /* @__PURE__ */ T($e, { className: "h-3.5 w-3.5" }),
4417
+ return /* @__PURE__ */ E(co, {
4418
+ icon: /* @__PURE__ */ E($e, { className: "h-3.5 w-3.5" }),
4412
4419
  onClick: e,
4413
4420
  children: t
4414
4421
  });
@@ -4445,49 +4452,49 @@ function fo({ mode: t = "multiple", value: n, onChange: r, onSearch: i, options:
4445
4452
  let n = v.includes(e) ? v.filter((t) => t !== e) : [...v, e];
4446
4453
  r?.(n);
4447
4454
  }, b = (e) => _.find((t) => t.value === e)?.label ?? e;
4448
- return /* @__PURE__ */ E("div", {
4455
+ return /* @__PURE__ */ D("div", {
4449
4456
  className: $("flex flex-wrap items-center gap-1", c),
4450
- children: [t === "multiple" && v.map((e) => /* @__PURE__ */ E(rn, {
4457
+ children: [t === "multiple" && v.map((e) => /* @__PURE__ */ D(rn, {
4451
4458
  variant: "secondary",
4452
4459
  className: "gap-1 pr-1",
4453
- children: [b(e), /* @__PURE__ */ T("button", {
4460
+ children: [b(e), /* @__PURE__ */ E("button", {
4454
4461
  type: "button",
4455
4462
  className: "rounded-full hover:bg-muted-foreground/20",
4456
4463
  onClick: () => y(e),
4457
4464
  "aria-label": `移除 ${e}`,
4458
- children: /* @__PURE__ */ T(V, { className: "h-3 w-3" })
4465
+ children: /* @__PURE__ */ E(V, { className: "h-3 w-3" })
4459
4466
  })]
4460
- }, e)), /* @__PURE__ */ E(Gn, {
4467
+ }, e)), /* @__PURE__ */ D(Gn, {
4461
4468
  open: l,
4462
4469
  onOpenChange: u,
4463
- children: [/* @__PURE__ */ T(Kn, {
4470
+ children: [/* @__PURE__ */ E(Kn, {
4464
4471
  asChild: !0,
4465
- children: /* @__PURE__ */ E(H, {
4472
+ children: /* @__PURE__ */ D(H, {
4466
4473
  variant: "outline",
4467
4474
  size: t === "multiple" ? "sm" : "default",
4468
4475
  disabled: s,
4469
4476
  role: "combobox",
4470
4477
  className: "gap-1 font-normal",
4471
4478
  children: [
4472
- h && /* @__PURE__ */ T(B, { className: "h-3.5 w-3.5 animate-spin" }),
4479
+ h && /* @__PURE__ */ E(B, { className: "h-3.5 w-3.5 animate-spin" }),
4473
4480
  t === "single" && v[0] ? b(v[0]) : o,
4474
- /* @__PURE__ */ T(Ue, { className: "h-3.5 w-3.5 opacity-50" })
4481
+ /* @__PURE__ */ E(Ue, { className: "h-3.5 w-3.5 opacity-50" })
4475
4482
  ]
4476
4483
  })
4477
- }), /* @__PURE__ */ T(qn, {
4484
+ }), /* @__PURE__ */ E(qn, {
4478
4485
  className: "w-[240px] p-0",
4479
4486
  align: "start",
4480
- children: /* @__PURE__ */ E(ca, { children: [/* @__PURE__ */ T(ua, {
4487
+ children: /* @__PURE__ */ D(ca, { children: [/* @__PURE__ */ E(ua, {
4481
4488
  value: d,
4482
4489
  onValueChange: f,
4483
4490
  placeholder: o
4484
- }), /* @__PURE__ */ T(da, { children: h ? /* @__PURE__ */ T("div", {
4491
+ }), /* @__PURE__ */ E(da, { children: h ? /* @__PURE__ */ E("div", {
4485
4492
  className: "flex items-center justify-center py-6",
4486
- children: /* @__PURE__ */ T(B, { className: "h-4 w-4 animate-spin" })
4487
- }) : /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T(fa, { children: "未找到结果" }), /* @__PURE__ */ T(pa, { children: _.map((e) => /* @__PURE__ */ E(ha, {
4493
+ children: /* @__PURE__ */ E(B, { className: "h-4 w-4 animate-spin" })
4494
+ }) : /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E(fa, { children: "未找到结果" }), /* @__PURE__ */ E(pa, { children: _.map((e) => /* @__PURE__ */ D(ha, {
4488
4495
  value: e.value,
4489
4496
  onSelect: () => y(e.value),
4490
- children: [e.label, v.includes(e.value) && /* @__PURE__ */ T("span", {
4497
+ children: [e.label, v.includes(e.value) && /* @__PURE__ */ E("span", {
4491
4498
  className: "ml-auto text-primary",
4492
4499
  children: "✓"
4493
4500
  })]
@@ -4506,7 +4513,7 @@ function mo(e) {
4506
4513
  return new Date(t, n, r);
4507
4514
  }
4508
4515
  function ho({ value: e, onChange: t, placeholder: n = "选择日期", disabled: r, className: i }) {
4509
- return /* @__PURE__ */ T(xa, {
4516
+ return /* @__PURE__ */ E(xa, {
4510
4517
  value: e ? mo(e) : void 0,
4511
4518
  onChange: (e) => t?.(e ? po(e) : void 0),
4512
4519
  placeholder: n,
@@ -4523,7 +4530,7 @@ function go({ mode: e = "multiple", value: t, onChange: n, onSearch: r, options:
4523
4530
  ...e,
4524
4531
  label: e.label.toUpperCase()
4525
4532
  }));
4526
- return /* @__PURE__ */ T(fo, {
4533
+ return /* @__PURE__ */ E(fo, {
4527
4534
  mode: e,
4528
4535
  value: t,
4529
4536
  onChange: n,
@@ -4536,14 +4543,14 @@ function go({ mode: e = "multiple", value: t, onChange: n, onSearch: r, options:
4536
4543
  }
4537
4544
  // src/components/ui/exchange-select.tsx
4538
4545
  function _o({ options: e, value: t, onChange: n, loading: r, disabled: i, placeholder: a = "选择交易所", className: o }) {
4539
- return /* @__PURE__ */ E(tr, {
4546
+ return /* @__PURE__ */ D(tr, {
4540
4547
  value: t,
4541
4548
  onValueChange: n,
4542
4549
  disabled: i || r,
4543
- children: [/* @__PURE__ */ E(ir, {
4550
+ children: [/* @__PURE__ */ D(ir, {
4544
4551
  className: o,
4545
- children: [/* @__PURE__ */ T(rr, { placeholder: r ? "加载中..." : a }), r && /* @__PURE__ */ T(B, { className: "h-3.5 w-3.5 animate-spin" })]
4546
- }), /* @__PURE__ */ T(ar, { children: e.map((e) => /* @__PURE__ */ T(sr, {
4552
+ children: [/* @__PURE__ */ E(rr, { placeholder: r ? "加载中..." : a }), r && /* @__PURE__ */ E(B, { className: "h-3.5 w-3.5 animate-spin" })]
4553
+ }), /* @__PURE__ */ E(ar, { children: e.map((e) => /* @__PURE__ */ E(sr, {
4547
4554
  value: e,
4548
4555
  children: e.toUpperCase()
4549
4556
  }, e)) })]
@@ -4551,32 +4558,32 @@ function _o({ options: e, value: t, onChange: n, loading: r, disabled: i, placeh
4551
4558
  }
4552
4559
  // src/components/ui/mobile-card-list.tsx
4553
4560
  function vo({ dataSource: e, rowKey: t, titleRender: n, statusRender: r, bodyRender: i, actionsRender: a, extraTagRender: o, onCardClick: s, className: c }) {
4554
- return e.length ? /* @__PURE__ */ T("div", {
4561
+ return e.length ? /* @__PURE__ */ E("div", {
4555
4562
  className: $("flex flex-col gap-3", c),
4556
4563
  children: e.map((e) => {
4557
4564
  let c = r?.(e);
4558
- return /* @__PURE__ */ E("div", {
4565
+ return /* @__PURE__ */ D("div", {
4559
4566
  className: $("rounded-lg border bg-card p-3 shadow-sm", s && "cursor-pointer transition-colors hover:bg-accent/50"),
4560
4567
  onClick: () => s?.(e),
4561
4568
  children: [
4562
- /* @__PURE__ */ E("div", {
4569
+ /* @__PURE__ */ D("div", {
4563
4570
  className: "flex items-center justify-between gap-2",
4564
- children: [/* @__PURE__ */ T("span", {
4571
+ children: [/* @__PURE__ */ E("span", {
4565
4572
  className: "truncate text-sm font-medium",
4566
4573
  children: n(e)
4567
- }), /* @__PURE__ */ E("div", {
4574
+ }), /* @__PURE__ */ D("div", {
4568
4575
  className: "flex shrink-0 items-center gap-1.5",
4569
- children: [o?.(e), c && /* @__PURE__ */ T(rn, {
4576
+ children: [o?.(e), c && /* @__PURE__ */ E(rn, {
4570
4577
  variant: c.variant ?? "secondary",
4571
4578
  children: c.text
4572
4579
  })]
4573
4580
  })]
4574
4581
  }),
4575
- /* @__PURE__ */ T("div", {
4582
+ /* @__PURE__ */ E("div", {
4576
4583
  className: "mt-2 text-sm text-muted-foreground",
4577
4584
  children: i(e)
4578
4585
  }),
4579
- /* @__PURE__ */ T("div", {
4586
+ /* @__PURE__ */ E("div", {
4580
4587
  className: "mt-2 flex items-center gap-1",
4581
4588
  onClick: (e) => e.stopPropagation(),
4582
4589
  children: a(e)
@@ -4584,7 +4591,7 @@ function vo({ dataSource: e, rowKey: t, titleRender: n, statusRender: r, bodyRen
4584
4591
  ]
4585
4592
  }, t(e));
4586
4593
  })
4587
- }) : /* @__PURE__ */ T("div", {
4594
+ }) : /* @__PURE__ */ E("div", {
4588
4595
  className: "py-8 text-center text-sm text-muted-foreground",
4589
4596
  children: "暂无数据"
4590
4597
  });
@@ -4609,12 +4616,12 @@ var yo = e.lazy(() => import("@monaco-editor/react")), bo = {
4609
4616
  }
4610
4617
  };
4611
4618
  function xo({ value: t, onChange: n, language: r = "python", height: i = 300, width: a = "100%", fontSize: o = 14, tabSize: s = 4, readOnly: c, onMount: l, options: u }) {
4612
- return /* @__PURE__ */ T(e.Suspense, {
4613
- fallback: /* @__PURE__ */ T("div", {
4619
+ return /* @__PURE__ */ E(e.Suspense, {
4620
+ fallback: /* @__PURE__ */ E("div", {
4614
4621
  className: "flex h-full items-center justify-center bg-muted text-sm text-muted-foreground",
4615
4622
  children: "编辑器加载中..."
4616
4623
  }),
4617
- children: /* @__PURE__ */ T(yo, {
4624
+ children: /* @__PURE__ */ E(yo, {
4618
4625
  height: i,
4619
4626
  width: a,
4620
4627
  language: r,
@@ -4634,14 +4641,14 @@ function xo({ value: t, onChange: n, language: r = "python", height: i = 300, wi
4634
4641
  }
4635
4642
  // src/components/ui/pair-select.tsx
4636
4643
  function So({ options: e, value: t, onChange: n, loading: r, disabled: i, placeholder: a = "选择交易对", className: o }) {
4637
- return /* @__PURE__ */ E(tr, {
4644
+ return /* @__PURE__ */ D(tr, {
4638
4645
  value: t,
4639
4646
  onValueChange: n,
4640
4647
  disabled: i || r,
4641
- children: [/* @__PURE__ */ E(ir, {
4648
+ children: [/* @__PURE__ */ D(ir, {
4642
4649
  className: o,
4643
- children: [/* @__PURE__ */ T(rr, { placeholder: r ? "加载中..." : a }), r && /* @__PURE__ */ T(B, { className: "h-3.5 w-3.5 animate-spin" })]
4644
- }), /* @__PURE__ */ T(ar, { children: e.map((e) => /* @__PURE__ */ T(sr, {
4650
+ children: [/* @__PURE__ */ E(rr, { placeholder: r ? "加载中..." : a }), r && /* @__PURE__ */ E(B, { className: "h-3.5 w-3.5 animate-spin" })]
4651
+ }), /* @__PURE__ */ E(ar, { children: e.map((e) => /* @__PURE__ */ E(sr, {
4645
4652
  value: e.value,
4646
4653
  children: e.label
4647
4654
  }, e.value)) })]
@@ -4649,14 +4656,14 @@ function So({ options: e, value: t, onChange: n, loading: r, disabled: i, placeh
4649
4656
  }
4650
4657
  // src/components/ui/period-select.tsx
4651
4658
  function Co({ options: e, value: t, onChange: n, loading: r, disabled: i, placeholder: a = "选择K线周期", className: o }) {
4652
- return /* @__PURE__ */ E(tr, {
4659
+ return /* @__PURE__ */ D(tr, {
4653
4660
  value: t,
4654
4661
  onValueChange: n,
4655
4662
  disabled: i || r,
4656
- children: [/* @__PURE__ */ E(ir, {
4663
+ children: [/* @__PURE__ */ D(ir, {
4657
4664
  className: o,
4658
- children: [/* @__PURE__ */ T(rr, { placeholder: r ? "加载中..." : a }), r && /* @__PURE__ */ T(B, { className: "h-3.5 w-3.5 animate-spin" })]
4659
- }), /* @__PURE__ */ T(ar, { children: e.map((e) => /* @__PURE__ */ T(sr, {
4665
+ children: [/* @__PURE__ */ E(rr, { placeholder: r ? "加载中..." : a }), r && /* @__PURE__ */ E(B, { className: "h-3.5 w-3.5 animate-spin" })]
4666
+ }), /* @__PURE__ */ E(ar, { children: e.map((e) => /* @__PURE__ */ E(sr, {
4660
4667
  value: e,
4661
4668
  children: e
4662
4669
  }, e)) })]
@@ -4664,28 +4671,28 @@ function Co({ options: e, value: t, onChange: n, loading: r, disabled: i, placeh
4664
4671
  }
4665
4672
  // src/components/ui/aspect-ratio.tsx
4666
4673
  function wo({ ...e }) {
4667
- return /* @__PURE__ */ T(c.Root, {
4674
+ return /* @__PURE__ */ E(c.Root, {
4668
4675
  "data-slot": "aspect-ratio",
4669
4676
  ...e
4670
4677
  });
4671
4678
  }
4672
4679
  // src/components/ui/hover-card.tsx
4673
4680
  function To({ ...e }) {
4674
- return /* @__PURE__ */ T(p.Root, {
4681
+ return /* @__PURE__ */ E(p.Root, {
4675
4682
  "data-slot": "hover-card",
4676
4683
  ...e
4677
4684
  });
4678
4685
  }
4679
4686
  function Eo({ ...e }) {
4680
- return /* @__PURE__ */ T(p.Trigger, {
4687
+ return /* @__PURE__ */ E(p.Trigger, {
4681
4688
  "data-slot": "hover-card-trigger",
4682
4689
  ...e
4683
4690
  });
4684
4691
  }
4685
4692
  function Do({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
4686
- return /* @__PURE__ */ T(p.Portal, {
4693
+ return /* @__PURE__ */ E(p.Portal, {
4687
4694
  "data-slot": "hover-card-portal",
4688
- children: /* @__PURE__ */ T(p.Content, {
4695
+ children: /* @__PURE__ */ E(p.Content, {
4689
4696
  "data-slot": "hover-card-content",
4690
4697
  align: t,
4691
4698
  sideOffset: n,
@@ -4696,7 +4703,7 @@ function Do({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
4696
4703
  }
4697
4704
  // src/components/ui/input-otp.tsx
4698
4705
  function Oo({ className: e, containerClassName: t, ...n }) {
4699
- return /* @__PURE__ */ T(ue, {
4706
+ return /* @__PURE__ */ E(ue, {
4700
4707
  "data-slot": "input-otp",
4701
4708
  containerClassName: a("flex items-center gap-2 has-disabled:opacity-50", t),
4702
4709
  className: a("disabled:cursor-not-allowed", e),
@@ -4704,7 +4711,7 @@ function Oo({ className: e, containerClassName: t, ...n }) {
4704
4711
  });
4705
4712
  }
4706
4713
  function ko({ className: e, ...t }) {
4707
- return /* @__PURE__ */ T("div", {
4714
+ return /* @__PURE__ */ E("div", {
4708
4715
  "data-slot": "input-otp-group",
4709
4716
  className: a("flex items-center", e),
4710
4717
  ...t
@@ -4712,46 +4719,46 @@ function ko({ className: e, ...t }) {
4712
4719
  }
4713
4720
  function Ao({ index: t, className: n, ...r }) {
4714
4721
  let { char: i, hasFakeCaret: o, isActive: s } = e.useContext(de)?.slots[t] ?? {};
4715
- return /* @__PURE__ */ E("div", {
4722
+ return /* @__PURE__ */ D("div", {
4716
4723
  "data-slot": "input-otp-slot",
4717
4724
  "data-active": s,
4718
4725
  className: a("relative flex h-9 w-9 items-center justify-center border-y border-r border-input text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md aria-invalid:border-destructive data-[active=true]:z-10 data-[active=true]:border-ring data-[active=true]:ring-[3px] data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:border-destructive data-[active=true]:aria-invalid:ring-destructive/20 dark:bg-input/30 dark:data-[active=true]:aria-invalid:ring-destructive/40", n),
4719
4726
  ...r,
4720
- children: [i, o && /* @__PURE__ */ T("div", {
4727
+ children: [i, o && /* @__PURE__ */ E("div", {
4721
4728
  className: "pointer-events-none absolute inset-0 flex items-center justify-center",
4722
- children: /* @__PURE__ */ T("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" })
4729
+ children: /* @__PURE__ */ E("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" })
4723
4730
  })]
4724
4731
  });
4725
4732
  }
4726
4733
  function jo({ ...e }) {
4727
- return /* @__PURE__ */ T("div", {
4734
+ return /* @__PURE__ */ E("div", {
4728
4735
  "data-slot": "input-otp-separator",
4729
4736
  role: "separator",
4730
4737
  ...e,
4731
- children: /* @__PURE__ */ T(ut, {})
4738
+ children: /* @__PURE__ */ E(ut, {})
4732
4739
  });
4733
4740
  }
4734
4741
  // src/components/ui/chat-message.tsx
4735
4742
  var Mo = {
4736
- user: /* @__PURE__ */ T(Et, { className: "h-4 w-4" }),
4737
- assistant: /* @__PURE__ */ T(ke, { className: "h-4 w-4" }),
4738
- system: /* @__PURE__ */ T(Ot, { className: "h-4 w-4" })
4743
+ user: /* @__PURE__ */ E(Et, { className: "h-4 w-4" }),
4744
+ assistant: /* @__PURE__ */ E(ke, { className: "h-4 w-4" }),
4745
+ system: /* @__PURE__ */ E(Ot, { className: "h-4 w-4" })
4739
4746
  };
4740
4747
  function No({ role: e = "assistant", avatar: t, children: n, streaming: r = !1, className: i }) {
4741
4748
  let o = e === "user";
4742
- return /* @__PURE__ */ E("div", {
4749
+ return /* @__PURE__ */ D("div", {
4743
4750
  "data-slot": "chat-message",
4744
4751
  "data-role": e,
4745
4752
  className: a("flex w-full items-start gap-3", o && "flex-row-reverse", i),
4746
- children: [/* @__PURE__ */ T("div", {
4753
+ children: [/* @__PURE__ */ E("div", {
4747
4754
  className: a("flex h-8 w-8 shrink-0 items-center justify-center rounded-full border bg-muted text-muted-foreground", e === "assistant" && "bg-primary text-primary-foreground", e === "system" && "border-dashed"),
4748
4755
  "aria-hidden": "true",
4749
4756
  children: t ?? Mo[e]
4750
- }), /* @__PURE__ */ T("div", {
4757
+ }), /* @__PURE__ */ E("div", {
4751
4758
  className: a("max-w-[80%] rounded-lg border bg-background px-3 py-2 text-sm leading-relaxed text-foreground", o && "bg-primary text-primary-foreground", e === "system" && "border-dashed bg-muted/50 text-muted-foreground"),
4752
- children: /* @__PURE__ */ E("div", {
4759
+ children: /* @__PURE__ */ D("div", {
4753
4760
  className: a("[&>*:first-child]:mt-0 [&>*:last-child]:mb-0", "prose prose-sm max-w-none dark:prose-invert"),
4754
- children: [n, r && /* @__PURE__ */ T("span", {
4761
+ children: [n, r && /* @__PURE__ */ E("span", {
4755
4762
  "data-slot": "chat-message-cursor",
4756
4763
  className: "ml-0.5 inline-block h-4 w-[2px] translate-y-[3px] animate-pulse bg-foreground align-baseline"
4757
4764
  })]
@@ -4762,10 +4769,10 @@ function No({ role: e = "assistant", avatar: t, children: n, streaming: r = !1,
4762
4769
  // src/components/ui/chat-input.tsx
4763
4770
  function Po({ placeholder: t = "输入消息,Enter 发送,Shift+Enter 换行", disabled: n = !1, loading: r = !1, onSubmit: i, onStop: o, className: s, defaultValue: c = "" }) {
4764
4771
  let [l, u] = e.useState(c), d = !n && !r && l.trim().length > 0;
4765
- return /* @__PURE__ */ E("div", {
4772
+ return /* @__PURE__ */ D("div", {
4766
4773
  "data-slot": "chat-input",
4767
4774
  className: a("flex items-end gap-2 rounded-lg border bg-background p-2 focus-within:border-ring focus-within:ring-[3px] focus-within:ring-ring/50", n && "opacity-50", s),
4768
- children: [/* @__PURE__ */ T("textarea", {
4775
+ children: [/* @__PURE__ */ E("textarea", {
4769
4776
  "data-slot": "chat-input-textarea",
4770
4777
  className: "max-h-[160px] min-h-[36px] w-full resize-none bg-transparent px-2 py-1.5 text-sm text-foreground outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed",
4771
4778
  placeholder: t,
@@ -4776,14 +4783,14 @@ function Po({ placeholder: t = "输入消息,Enter 发送,Shift+Enter 换行
4776
4783
  onKeyDown: (e) => {
4777
4784
  e.key === "Enter" && !e.shiftKey && (e.preventDefault(), d && (i?.(l.trim()), u("")));
4778
4785
  }
4779
- }), r ? /* @__PURE__ */ T(H, {
4786
+ }), r ? /* @__PURE__ */ E(H, {
4780
4787
  type: "button",
4781
4788
  size: "icon",
4782
4789
  variant: "outline",
4783
4790
  "aria-label": "停止生成",
4784
4791
  onClick: () => o?.(),
4785
- children: /* @__PURE__ */ T(gt, { className: "h-4 w-4" })
4786
- }) : /* @__PURE__ */ T(H, {
4792
+ children: /* @__PURE__ */ E(gt, { className: "h-4 w-4" })
4793
+ }) : /* @__PURE__ */ E(H, {
4787
4794
  type: "button",
4788
4795
  size: "icon",
4789
4796
  "aria-label": "发送",
@@ -4791,7 +4798,7 @@ function Po({ placeholder: t = "输入消息,Enter 发送,Shift+Enter 换行
4791
4798
  onClick: () => {
4792
4799
  d && (i?.(l.trim()), u(""));
4793
4800
  },
4794
- children: /* @__PURE__ */ T(De, { className: "h-4 w-4" })
4801
+ children: /* @__PURE__ */ E(De, { className: "h-4 w-4" })
4795
4802
  })]
4796
4803
  });
4797
4804
  }
@@ -4807,17 +4814,17 @@ function Fo({ messages: t = [], autoScroll: n = !0, emptyDescription: r = "暂
4807
4814
  n,
4808
4815
  t.length,
4809
4816
  i
4810
- ]), /* @__PURE__ */ E("div", {
4817
+ ]), /* @__PURE__ */ D("div", {
4811
4818
  "data-slot": "chat-list",
4812
4819
  className: a("flex flex-col gap-4 overflow-y-auto rounded-lg border bg-background p-4", o),
4813
- children: [t.length === 0 && !i ? /* @__PURE__ */ T(ro, { description: r }) : /* @__PURE__ */ E(w, { children: [t.map((e, t) => /* @__PURE__ */ T("div", {
4820
+ children: [t.length === 0 && !i ? /* @__PURE__ */ E(ro, { description: r }) : /* @__PURE__ */ D(T, { children: [t.map((e, t) => /* @__PURE__ */ E("div", {
4814
4821
  "data-slot": "chat-list-item",
4815
4822
  children: e
4816
- }, t)), i && /* @__PURE__ */ T("div", {
4823
+ }, t)), i && /* @__PURE__ */ E("div", {
4817
4824
  "data-slot": "chat-list-footer",
4818
4825
  className: "px-11",
4819
4826
  children: i
4820
- })] }), /* @__PURE__ */ T("div", { ref: s })]
4827
+ })] }), /* @__PURE__ */ E("div", { ref: s })]
4821
4828
  });
4822
4829
  }
4823
4830
  // src/components/ui/inline-completion.tsx
@@ -4828,13 +4835,13 @@ function Io({ text: t, completion: n = "", onAccept: r, className: i }) {
4828
4835
  e.key === "Tab" && (e.preventDefault(), r(n));
4829
4836
  };
4830
4837
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
4831
- }, [n, r]), /* @__PURE__ */ E("div", {
4838
+ }, [n, r]), /* @__PURE__ */ D("div", {
4832
4839
  "data-slot": "inline-completion",
4833
4840
  className: a("inline font-mono text-sm leading-6", i),
4834
- children: [/* @__PURE__ */ T("span", {
4841
+ children: [/* @__PURE__ */ E("span", {
4835
4842
  className: "text-foreground",
4836
4843
  children: t
4837
- }), /* @__PURE__ */ T("span", {
4844
+ }), /* @__PURE__ */ E("span", {
4838
4845
  "data-slot": "inline-completion-ghost",
4839
4846
  className: "whitespace-pre text-muted-foreground/60",
4840
4847
  children: n
@@ -4843,11 +4850,11 @@ function Io({ text: t, completion: n = "", onAccept: r, className: i }) {
4843
4850
  }
4844
4851
  // src/components/ui/stream-text.tsx
4845
4852
  function Lo({ text: e = "", streaming: t = !1, className: n }) {
4846
- return /* @__PURE__ */ E("span", {
4853
+ return /* @__PURE__ */ D("span", {
4847
4854
  "data-slot": "stream-text",
4848
4855
  "data-streaming": t,
4849
4856
  className: a("whitespace-pre-wrap break-words text-sm leading-relaxed text-foreground", n),
4850
- children: [e, t && /* @__PURE__ */ T("span", {
4857
+ children: [e, t && /* @__PURE__ */ E("span", {
4851
4858
  "data-slot": "stream-text-cursor",
4852
4859
  className: "ml-0.5 inline-block h-4 w-[2px] translate-y-[3px] animate-pulse bg-foreground"
4853
4860
  })]
@@ -4855,23 +4862,23 @@ function Lo({ text: e = "", streaming: t = !1, className: n }) {
4855
4862
  }
4856
4863
  // src/components/ui/thinking-loader.tsx
4857
4864
  function Ro({ variant: e = "dots", label: t = "思考中...", className: n }) {
4858
- return /* @__PURE__ */ E("div", {
4865
+ return /* @__PURE__ */ D("div", {
4859
4866
  "data-slot": "thinking-loader",
4860
4867
  role: "status",
4861
4868
  "aria-label": t,
4862
4869
  className: a("flex items-center gap-2 text-sm text-muted-foreground", n),
4863
- children: [e === "spinner" ? /* @__PURE__ */ T(B, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ T("span", {
4870
+ children: [e === "spinner" ? /* @__PURE__ */ E(B, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ E("span", {
4864
4871
  className: "flex items-center gap-1",
4865
4872
  "aria-hidden": "true",
4866
4873
  children: [
4867
4874
  0,
4868
4875
  150,
4869
4876
  300
4870
- ].map((e) => /* @__PURE__ */ T("span", {
4877
+ ].map((e) => /* @__PURE__ */ E("span", {
4871
4878
  className: "h-1.5 w-1.5 animate-bounce rounded-full bg-muted-foreground/70",
4872
4879
  style: { animationDelay: `${e}ms` }
4873
4880
  }, e))
4874
- }), /* @__PURE__ */ T("span", { children: t })]
4881
+ }), /* @__PURE__ */ E("span", { children: t })]
4875
4882
  });
4876
4883
  }
4877
4884
  // src/providers/theme-provider.tsx
@@ -4882,7 +4889,7 @@ function Bo({ children: t, defaultTheme: n = "light", storageKey: r = "ql-ui-the
4882
4889
  document.documentElement.classList.toggle("dark", i === "dark"), localStorage.setItem(r, i);
4883
4890
  }, [i, r]);
4884
4891
  let o = e.useCallback((e) => a(e), []), s = e.useCallback(() => a((e) => e === "dark" ? "light" : "dark"), []);
4885
- return /* @__PURE__ */ T(zo.Provider, {
4892
+ return /* @__PURE__ */ E(zo.Provider, {
4886
4893
  value: {
4887
4894
  theme: i,
4888
4895
  setTheme: o,
@@ -4904,17 +4911,17 @@ function Uo({ children: t }) {
4904
4911
  })), []), c = (e) => {
4905
4912
  r(!1), o.current?.(e), o.current = null;
4906
4913
  };
4907
- return /* @__PURE__ */ E(Ho.Provider, {
4914
+ return /* @__PURE__ */ D(Ho.Provider, {
4908
4915
  value: s,
4909
- children: [t, /* @__PURE__ */ T(Wt, {
4916
+ children: [t, /* @__PURE__ */ E(Wt, {
4910
4917
  open: n,
4911
4918
  onOpenChange: (e) => {
4912
4919
  e || c(!1);
4913
4920
  },
4914
- children: /* @__PURE__ */ E(Jt, { children: [/* @__PURE__ */ E(Yt, { children: [/* @__PURE__ */ T(Zt, { children: i.title ?? "确认操作" }), /* @__PURE__ */ T(Qt, { children: i.content ?? "是否继续?" })] }), /* @__PURE__ */ E(Xt, { children: [/* @__PURE__ */ T(tn, {
4921
+ children: /* @__PURE__ */ D(Jt, { children: [/* @__PURE__ */ D(Yt, { children: [/* @__PURE__ */ E(Zt, { children: i.title ?? "确认操作" }), /* @__PURE__ */ E(Qt, { children: i.content ?? "是否继续?" })] }), /* @__PURE__ */ D(Xt, { children: [/* @__PURE__ */ E(tn, {
4915
4922
  onClick: () => c(!1),
4916
4923
  children: i.cancelText ?? "取消"
4917
- }), /* @__PURE__ */ T(en, {
4924
+ }), /* @__PURE__ */ E(en, {
4918
4925
  className: i.danger ? "bg-destructive text-white hover:bg-destructive/90" : void 0,
4919
4926
  onClick: () => c(!0),
4920
4927
  children: i.okText ?? "确定"
@@ -4929,7 +4936,7 @@ function Wo() {
4929
4936
  }
4930
4937
  // src/providers/toast-provider.tsx
4931
4938
  function Go({ children: e, position: t = "top-center", richColors: n = !0 }) {
4932
- return /* @__PURE__ */ E(w, { children: [e, /* @__PURE__ */ T(N, {
4939
+ return /* @__PURE__ */ D(T, { children: [e, /* @__PURE__ */ E(N, {
4933
4940
  position: t,
4934
4941
  richColors: n
4935
4942
  })] });