@krosoft/react 0.0.199 → 0.0.201

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/{AppActions-DeBcK3cv.js → AppActions-ViFjSupi.js} +6 -6
  2. package/dist/{AppSubTitle-CdIM6aXB.js → AppSubTitle-ClHzadQW.js} +1 -1
  3. package/dist/{AppVerticalTabs-BlgIZ0mf.js → AppVerticalTabs-Cj66X8_R.js} +7 -7
  4. package/dist/{ConfirmationDialog-DZ6tvSwP.js → ConfirmationDialog-BoajNW2s.js} +15 -15
  5. package/dist/{DataTable-BDW0AEsH.js → DataTable-BUcnJCi6.js} +22 -22
  6. package/dist/{GenericForm-DFTUIw-X.js → GenericForm-BPY5O-B6.js} +43 -43
  7. package/dist/{ImageInput-MzY2W495.js → ImageInput-DOIglcpv.js} +2 -2
  8. package/dist/{KpiCardsLayout-fcfJK4ts.js → KpiCardsLayout-D9NSC5Fb.js} +4 -4
  9. package/dist/{MultiSelect-V-RantiK.js → MultiSelect-B60y82TF.js} +16 -16
  10. package/dist/{SearchInput-tz8UERbu.js → SearchInput-C-jCOSoi.js} +49 -49
  11. package/dist/{SkeletonCards-CyP7ZysR.js → SkeletonCards-63vDljXy.js} +2 -2
  12. package/dist/{TableFilter-BXf-oSjf.js → TableFilter-DP7cq0PU.js} +26 -26
  13. package/dist/Topbar-0EBMHLwG.js +301 -0
  14. package/dist/components/core/cards/index.js +1 -1
  15. package/dist/components/core/dialogs/index.js +8 -7
  16. package/dist/components/core/filters/index.js +1 -1
  17. package/dist/components/core/forms/index.js +1 -1
  18. package/dist/components/core/index.js +66 -64
  19. package/dist/components/core/inputs/index.js +3 -3
  20. package/dist/components/core/layouts/index.js +3 -3
  21. package/dist/components/core/navbar/GlobalSearch.d.ts +52 -0
  22. package/dist/components/core/navbar/GlobalSearch.d.ts.map +1 -0
  23. package/dist/components/core/navbar/index.d.ts +2 -0
  24. package/dist/components/core/navbar/index.d.ts.map +1 -1
  25. package/dist/components/core/navbar/index.js +6 -5
  26. package/dist/components/core/table/index.js +1 -1
  27. package/dist/components/core/tabs/index.js +1 -1
  28. package/dist/components/index.js +293 -292
  29. package/dist/components/ui/command.d.ts +20 -2
  30. package/dist/components/ui/command.d.ts.map +1 -1
  31. package/dist/components/ui/index.d.ts +1 -0
  32. package/dist/components/ui/index.d.ts.map +1 -1
  33. package/dist/components/ui/index.js +187 -187
  34. package/dist/hooks/behavior/index.d.ts +1 -0
  35. package/dist/hooks/behavior/index.d.ts.map +1 -1
  36. package/dist/hooks/behavior/index.js +6 -5
  37. package/dist/hooks/behavior/useDebouncedValue.d.ts +6 -0
  38. package/dist/hooks/behavior/useDebouncedValue.d.ts.map +1 -0
  39. package/dist/hooks/index.js +20 -19
  40. package/dist/sheet-C-QvdRNi.js +245 -0
  41. package/dist/{toaster-DG7IvN3o.js → toaster-D6OHn49K.js} +9 -9
  42. package/dist/{toggle-group-CKCJXGta.js → toggle-group-DLLrEwv2.js} +576 -714
  43. package/dist/usePage-BFE9lxI1.js +84 -0
  44. package/package.json +2 -2
  45. package/dist/Topbar-CFmKB_S2.js +0 -217
  46. package/dist/sheet-B_uq6-K_.js +0 -87
  47. package/dist/usePage-u2gRhvQ0.js +0 -72
@@ -1,58 +1,56 @@
1
- import { jsx as o, jsxs as d } from "react/jsx-runtime";
1
+ import { jsx as o, jsxs as u } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
- import * as C from "@radix-ui/react-accordion";
4
- import { ChevronDown as q, MoreHorizontal as xe, ChevronRight as F, ChevronLeft as ye, ArrowLeft as he, ArrowRight as ve, CheckIcon as K, X as we, SearchIcon as Re, Check as X, Circle as E, ChevronRightIcon as J, CircleIcon as Ce, Dot as ke, MoreHorizontalIcon as Ie, ChevronLeftIcon as Se, XIcon as Te } from "lucide-react";
3
+ import * as w from "@radix-ui/react-accordion";
4
+ import { ChevronDown as E, MoreHorizontal as fe, ChevronRight as M, ChevronLeft as pe, ArrowLeft as ge, ArrowRight as be, CheckIcon as $, Check as q, Circle as V, ChevronRightIcon as K, CircleIcon as Ne, Dot as xe, MoreHorizontalIcon as ye, ChevronLeftIcon as ve, XIcon as he } from "lucide-react";
5
5
  import { c as r } from "./tailwind.helper-B6yFEsav.js";
6
6
  import * as g from "@radix-ui/react-alert-dialog";
7
- import { d as I, B as Q } from "./tooltip-DVeqVwqV.js";
8
- import * as S from "@radix-ui/react-avatar";
9
- import { cva as M } from "class-variance-authority";
7
+ import { d as C, B as X } from "./tooltip-DVeqVwqV.js";
8
+ import * as I from "@radix-ui/react-avatar";
9
+ import { cva as z } from "class-variance-authority";
10
10
  import { Slot as W } from "@radix-ui/react-slot";
11
- import { DayPicker as Pe } from "react-day-picker";
12
- import ze from "embla-carousel-react";
13
- import * as O from "@radix-ui/react-checkbox";
14
- import { Command as b } from "cmdk";
15
- import * as x from "@radix-ui/react-dialog";
16
- import * as m from "@radix-ui/react-context-menu";
17
- import { Drawer as v } from "vaul";
18
- import * as u from "@radix-ui/react-dropdown-menu";
19
- import { useFormContext as De, FormProvider as Me, Controller as Fe } from "react-hook-form";
20
- import * as Ae from "@radix-ui/react-label";
21
- import * as A from "@radix-ui/react-hover-card";
22
- import { OTPInput as Le, OTPInputContext as je } from "input-otp";
11
+ import { DayPicker as we } from "react-day-picker";
12
+ import Re from "embla-carousel-react";
13
+ import * as B from "@radix-ui/react-checkbox";
14
+ import * as c from "@radix-ui/react-context-menu";
15
+ import { Drawer as y } from "vaul";
16
+ import * as m from "@radix-ui/react-dropdown-menu";
17
+ import { useFormContext as Ce, FormProvider as Ie, Controller as Se } from "react-hook-form";
18
+ import * as Te from "@radix-ui/react-label";
19
+ import * as D from "@radix-ui/react-hover-card";
20
+ import { OTPInput as Pe, OTPInputContext as ke } from "input-otp";
23
21
  import * as l from "@radix-ui/react-menubar";
24
- import * as N from "@radix-ui/react-navigation-menu";
25
- import * as z from "@radix-ui/react-popover";
26
- import * as H from "@radix-ui/react-progress";
27
- import * as D from "@radix-ui/react-radio-group";
28
- import * as R from "@radix-ui/react-scroll-area";
29
- import * as U from "@radix-ui/react-separator";
30
- import * as P from "@radix-ui/react-slider";
31
- import * as V from "@radix-ui/react-switch";
32
- import * as k from "@radix-ui/react-tabs";
33
- import { u as _e } from "./useScrollFade-BA4KqJYp.js";
34
- import * as y from "@radix-ui/react-toast";
35
- import * as L from "@radix-ui/react-toggle-group";
36
- import * as Y from "@radix-ui/react-toggle";
37
- const wo = C.Root, Ge = s.forwardRef(
38
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(C.Item, { ref: t, className: r("border-b", e), ...a })
22
+ import * as b from "@radix-ui/react-navigation-menu";
23
+ import * as P from "@radix-ui/react-popover";
24
+ import * as O from "@radix-ui/react-progress";
25
+ import * as k from "@radix-ui/react-radio-group";
26
+ import * as h from "@radix-ui/react-scroll-area";
27
+ import * as J from "@radix-ui/react-separator";
28
+ import * as T from "@radix-ui/react-slider";
29
+ import * as H from "@radix-ui/react-switch";
30
+ import * as R from "@radix-ui/react-tabs";
31
+ import { u as ze } from "./useScrollFade-BA4KqJYp.js";
32
+ import * as N from "@radix-ui/react-toast";
33
+ import * as A from "@radix-ui/react-toggle-group";
34
+ import * as Q from "@radix-ui/react-toggle";
35
+ const Zt = w.Root, Me = s.forwardRef(
36
+ ({ className: e, ...a }, t) => /* @__PURE__ */ o(w.Item, { ref: t, className: r("border-b", e), ...a })
39
37
  );
40
- Ge.displayName = "AccordionItem";
41
- const Be = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ o(C.Header, { className: "flex", children: /* @__PURE__ */ d(
42
- C.Trigger,
38
+ Me.displayName = "AccordionItem";
39
+ const De = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ o(w.Header, { className: "flex", children: /* @__PURE__ */ u(
40
+ w.Trigger,
43
41
  {
44
42
  ref: n,
45
43
  className: r("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", e),
46
44
  ...t,
47
45
  children: [
48
46
  a,
49
- /* @__PURE__ */ o(q, { className: "size-4 shrink-0 transition-transform duration-200" })
47
+ /* @__PURE__ */ o(E, { className: "size-4 shrink-0 transition-transform duration-200" })
50
48
  ]
51
49
  }
52
50
  ) }));
53
- Be.displayName = C.Trigger.displayName;
54
- const Oe = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ o(
55
- C.Content,
51
+ De.displayName = w.Trigger.displayName;
52
+ const Ae = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ o(
53
+ w.Content,
56
54
  {
57
55
  ref: n,
58
56
  className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
@@ -60,8 +58,8 @@ const Oe = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__
60
58
  children: /* @__PURE__ */ o("div", { className: r("pb-4 pt-0", e), children: a })
61
59
  }
62
60
  ));
63
- Oe.displayName = C.Content.displayName;
64
- const Ro = g.Root, Co = g.Trigger, He = g.Portal, Z = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
61
+ Ae.displayName = w.Content.displayName;
62
+ const eo = g.Root, ao = g.Trigger, Fe = g.Portal, U = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
65
63
  g.Overlay,
66
64
  {
67
65
  className: r(
@@ -72,9 +70,9 @@ const Ro = g.Root, Co = g.Trigger, He = g.Portal, Z = s.forwardRef(({ className:
72
70
  ref: t
73
71
  }
74
72
  ));
75
- Z.displayName = g.Overlay.displayName;
76
- const Ve = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ d(He, { children: [
77
- /* @__PURE__ */ o(Z, {}),
73
+ U.displayName = g.Overlay.displayName;
74
+ const je = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ u(Fe, { children: [
75
+ /* @__PURE__ */ o(U, {}),
78
76
  /* @__PURE__ */ o(
79
77
  g.Content,
80
78
  {
@@ -87,32 +85,32 @@ const Ve = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ d(He, { c
87
85
  }
88
86
  )
89
87
  ] }));
90
- Ve.displayName = g.Content.displayName;
91
- const Ee = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...a });
92
- Ee.displayName = "AlertDialogHeader";
93
- const $e = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
94
- $e.displayName = "AlertDialogFooter";
95
- const qe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(g.Title, { ref: t, className: r("text-lg font-semibold", e), ...a }));
96
- qe.displayName = g.Title.displayName;
97
- const Ke = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(g.Description, { ref: t, className: r("text-sm text-muted-foreground", e), ...a }));
98
- Ke.displayName = g.Description.displayName;
99
- const Xe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(g.Action, { ref: t, className: r(I(), e), ...a }));
100
- Xe.displayName = g.Action.displayName;
101
- const Je = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(g.Cancel, { ref: t, className: r(I({ variant: "outline" }), "mt-2 sm:mt-0", e), ...a }));
102
- Je.displayName = g.Cancel.displayName;
103
- const Qe = s.forwardRef(
104
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(S.Root, { ref: t, className: r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e), ...a })
88
+ je.displayName = g.Content.displayName;
89
+ const Le = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...a });
90
+ Le.displayName = "AlertDialogHeader";
91
+ const Ge = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
92
+ Ge.displayName = "AlertDialogFooter";
93
+ const Be = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(g.Title, { ref: t, className: r("text-lg font-semibold", e), ...a }));
94
+ Be.displayName = g.Title.displayName;
95
+ const Oe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(g.Description, { ref: t, className: r("text-sm text-muted-foreground", e), ...a }));
96
+ Oe.displayName = g.Description.displayName;
97
+ const He = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(g.Action, { ref: t, className: r(C(), e), ...a }));
98
+ He.displayName = g.Action.displayName;
99
+ const Ve = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(g.Cancel, { ref: t, className: r(C({ variant: "outline" }), "mt-2 sm:mt-0", e), ...a }));
100
+ Ve.displayName = g.Cancel.displayName;
101
+ const _e = s.forwardRef(
102
+ ({ className: e, ...a }, t) => /* @__PURE__ */ o(I.Root, { ref: t, className: r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e), ...a })
105
103
  );
106
- Qe.displayName = S.Root.displayName;
107
- const We = s.forwardRef(
108
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(S.Image, { ref: t, className: r("aspect-square h-full w-full", e), ...a })
104
+ _e.displayName = I.Root.displayName;
105
+ const Ee = s.forwardRef(
106
+ ({ className: e, ...a }, t) => /* @__PURE__ */ o(I.Image, { ref: t, className: r("aspect-square h-full w-full", e), ...a })
109
107
  );
110
- We.displayName = S.Image.displayName;
111
- const Ue = s.forwardRef(
112
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(S.Fallback, { ref: t, className: r("flex h-full w-full items-center justify-center rounded-full bg-muted", e), ...a })
108
+ Ee.displayName = I.Image.displayName;
109
+ const $e = s.forwardRef(
110
+ ({ className: e, ...a }, t) => /* @__PURE__ */ o(I.Fallback, { ref: t, className: r("flex h-full w-full items-center justify-center rounded-full bg-muted", e), ...a })
113
111
  );
114
- Ue.displayName = S.Fallback.displayName;
115
- const Ye = M(
112
+ $e.displayName = I.Fallback.displayName;
113
+ const qe = z(
116
114
  "inline-flex items-center rounded-control border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
117
115
  {
118
116
  variants: {
@@ -128,29 +126,29 @@ const Ye = M(
128
126
  }
129
127
  }
130
128
  );
131
- function ko({ className: e, variant: a, ...t }) {
132
- return /* @__PURE__ */ o("div", { className: r(Ye({ variant: a }), e), ...t });
129
+ function to({ className: e, variant: a, ...t }) {
130
+ return /* @__PURE__ */ o("div", { className: r(qe({ variant: a }), e), ...t });
133
131
  }
134
- const Ze = s.forwardRef(({ ...e }, a) => /* @__PURE__ */ o("nav", { ref: a, "aria-label": "breadcrumb", ...e }));
135
- Ze.displayName = "Breadcrumb";
136
- const ea = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("ol", { ref: t, className: r("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5", e), ...a }));
137
- ea.displayName = "BreadcrumbList";
138
- const aa = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("li", { ref: t, className: r("inline-flex items-center gap-1.5", e), ...a }));
139
- aa.displayName = "BreadcrumbItem";
140
- const ta = s.forwardRef(({ asChild: e, className: a, ...t }, n) => /* @__PURE__ */ o(e ? W : "a", { ref: n, className: r("transition-colors hover:text-foreground", a), ...t }));
141
- ta.displayName = "BreadcrumbLink";
142
- const oa = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("span", { ref: t, role: "link", "aria-disabled": "true", "aria-current": "page", className: r("font-normal text-foreground", e), ...a }));
143
- oa.displayName = "BreadcrumbPage";
144
- const ra = ({ children: e, className: a, ...t }) => /* @__PURE__ */ o("li", { role: "presentation", "aria-hidden": "true", className: r("[&>svg]:size-3.5", a), ...t, children: e ?? /* @__PURE__ */ o(F, {}) });
145
- ra.displayName = "BreadcrumbSeparator";
146
- const sa = ({ className: e, ...a }) => /* @__PURE__ */ d("span", { role: "presentation", "aria-hidden": "true", className: r("flex h-9 w-9 items-center justify-center", e), ...a, children: [
147
- /* @__PURE__ */ o(xe, { className: "size-4" }),
132
+ const Ke = s.forwardRef(({ ...e }, a) => /* @__PURE__ */ o("nav", { ref: a, "aria-label": "breadcrumb", ...e }));
133
+ Ke.displayName = "Breadcrumb";
134
+ const Xe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("ol", { ref: t, className: r("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5", e), ...a }));
135
+ Xe.displayName = "BreadcrumbList";
136
+ const We = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("li", { ref: t, className: r("inline-flex items-center gap-1.5", e), ...a }));
137
+ We.displayName = "BreadcrumbItem";
138
+ const Je = s.forwardRef(({ asChild: e, className: a, ...t }, n) => /* @__PURE__ */ o(e ? W : "a", { ref: n, className: r("transition-colors hover:text-foreground", a), ...t }));
139
+ Je.displayName = "BreadcrumbLink";
140
+ const Qe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("span", { ref: t, role: "link", "aria-disabled": "true", "aria-current": "page", className: r("font-normal text-foreground", e), ...a }));
141
+ Qe.displayName = "BreadcrumbPage";
142
+ const Ue = ({ children: e, className: a, ...t }) => /* @__PURE__ */ o("li", { role: "presentation", "aria-hidden": "true", className: r("[&>svg]:size-3.5", a), ...t, children: e ?? /* @__PURE__ */ o(M, {}) });
143
+ Ue.displayName = "BreadcrumbSeparator";
144
+ const Ye = ({ className: e, ...a }) => /* @__PURE__ */ u("span", { role: "presentation", "aria-hidden": "true", className: r("flex h-9 w-9 items-center justify-center", e), ...a, children: [
145
+ /* @__PURE__ */ o(fe, { className: "size-4" }),
148
146
  /* @__PURE__ */ o("span", { className: "sr-only", children: "More" })
149
147
  ] });
150
- sa.displayName = "BreadcrumbElipssis";
151
- function na({ className: e, classNames: a, showOutsideDays: t = !0, ...n }) {
148
+ Ye.displayName = "BreadcrumbElipssis";
149
+ function Ze({ className: e, classNames: a, showOutsideDays: t = !0, ...n }) {
152
150
  return /* @__PURE__ */ o(
153
- Pe,
151
+ we,
154
152
  {
155
153
  showOutsideDays: t,
156
154
  className: r("p-3 pointer-events-auto", e),
@@ -160,8 +158,8 @@ function na({ className: e, classNames: a, showOutsideDays: t = !0, ...n }) {
160
158
  month_caption: "flex justify-center pt-1 relative items-center w-full",
161
159
  caption_label: "text-sm font-medium",
162
160
  nav: "flex items-center gap-1 absolute h-7 w-full z-10",
163
- button_previous: r(I({ variant: "outline" }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100", "absolute left-1"),
164
- button_next: r(I({ variant: "outline" }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100", "absolute right-1"),
161
+ button_previous: r(C({ variant: "outline" }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100", "absolute left-1"),
162
+ button_next: r(C({ variant: "outline" }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100", "absolute right-1"),
165
163
  weekdays: "flex justify-center",
166
164
  weekday: "text-muted-foreground rounded-control w-9 font-normal text-[0.8rem] text-center flex items-center justify-center",
167
165
  week: "flex w-full mt-2",
@@ -173,7 +171,7 @@ function na({ className: e, classNames: a, showOutsideDays: t = !0, ...n }) {
173
171
  "last:[&:has([aria-selected])]:rounded-r-control",
174
172
  "[&:has([aria-selected].day-outside)]:bg-accent/50"
175
173
  ),
176
- day_button: r(I({ variant: "ghost" }), "size-9 p-0 font-normal aria-selected:opacity-100"),
174
+ day_button: r(C({ variant: "ghost" }), "size-9 p-0 font-normal aria-selected:opacity-100"),
177
175
  range_start: "day-range-start rounded-l-control",
178
176
  range_end: "day-range-end rounded-r-control",
179
177
  selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
@@ -185,73 +183,73 @@ function na({ className: e, classNames: a, showOutsideDays: t = !0, ...n }) {
185
183
  ...a
186
184
  },
187
185
  components: {
188
- Chevron: ({ orientation: i, ...c }) => /* @__PURE__ */ o(i === "left" ? ye : F, { className: "size-4", ...c })
186
+ Chevron: ({ orientation: i, ...d }) => /* @__PURE__ */ o(i === "left" ? pe : M, { className: "size-4", ...d })
189
187
  },
190
188
  ...n
191
189
  }
192
190
  );
193
191
  }
194
- na.displayName = "Calendar";
195
- const ee = s.createContext(null);
196
- function j() {
197
- const e = s.useContext(ee);
192
+ Ze.displayName = "Calendar";
193
+ const Y = s.createContext(null);
194
+ function F() {
195
+ const e = s.useContext(Y);
198
196
  if (!e)
199
197
  throw new Error("useCarousel must be used within a <Carousel />");
200
198
  return e;
201
199
  }
202
- const ia = s.forwardRef(
203
- ({ orientation: e = "horizontal", opts: a, setApi: t, plugins: n, className: i, children: c, ...p }, h) => {
204
- const [ue, f] = ze(
200
+ const ea = s.forwardRef(
201
+ ({ orientation: e = "horizontal", opts: a, setApi: t, plugins: n, className: i, children: d, ...p }, x) => {
202
+ const [ie, f] = Re(
205
203
  {
206
204
  ...a,
207
205
  axis: e === "horizontal" ? "x" : "y"
208
206
  },
209
207
  n
210
- ), [fe, pe] = s.useState(!1), [ge, be] = s.useState(!1), T = s.useCallback((w) => {
211
- w && (pe(w.canScrollPrev()), be(w.canScrollNext()));
212
- }, []), G = s.useCallback(() => {
208
+ ), [le, de] = s.useState(!1), [ce, me] = s.useState(!1), S = s.useCallback((v) => {
209
+ v && (de(v.canScrollPrev()), me(v.canScrollNext()));
210
+ }, []), L = s.useCallback(() => {
213
211
  f == null || f.scrollPrev();
214
- }, [f]), B = s.useCallback(() => {
212
+ }, [f]), G = s.useCallback(() => {
215
213
  f == null || f.scrollNext();
216
- }, [f]), Ne = s.useCallback(
217
- (w) => {
218
- w.key === "ArrowLeft" ? (w.preventDefault(), G()) : w.key === "ArrowRight" && (w.preventDefault(), B());
214
+ }, [f]), ue = s.useCallback(
215
+ (v) => {
216
+ v.key === "ArrowLeft" ? (v.preventDefault(), L()) : v.key === "ArrowRight" && (v.preventDefault(), G());
219
217
  },
220
- [G, B]
218
+ [L, G]
221
219
  );
222
220
  return s.useEffect(() => {
223
221
  !f || !t || t(f);
224
222
  }, [f, t]), s.useEffect(() => {
225
223
  if (f)
226
- return T(f), f.on("reInit", T), f.on("select", T), () => {
227
- f == null || f.off("select", T);
224
+ return S(f), f.on("reInit", S), f.on("select", S), () => {
225
+ f == null || f.off("select", S);
228
226
  };
229
- }, [f, T]), /* @__PURE__ */ o(
230
- ee.Provider,
227
+ }, [f, S]), /* @__PURE__ */ o(
228
+ Y.Provider,
231
229
  {
232
230
  value: {
233
- carouselRef: ue,
231
+ carouselRef: ie,
234
232
  api: f,
235
233
  opts: a,
236
234
  orientation: e || ((a == null ? void 0 : a.axis) === "y" ? "vertical" : "horizontal"),
237
- scrollPrev: G,
238
- scrollNext: B,
239
- canScrollPrev: fe,
240
- canScrollNext: ge
235
+ scrollPrev: L,
236
+ scrollNext: G,
237
+ canScrollPrev: le,
238
+ canScrollNext: ce
241
239
  },
242
- children: /* @__PURE__ */ o("div", { ref: h, onKeyDownCapture: Ne, className: r("relative", i), role: "region", "aria-roledescription": "carousel", ...p, children: c })
240
+ children: /* @__PURE__ */ o("div", { ref: x, onKeyDownCapture: ue, className: r("relative", i), role: "region", "aria-roledescription": "carousel", ...p, children: d })
243
241
  }
244
242
  );
245
243
  }
246
244
  );
247
- ia.displayName = "Carousel";
248
- const da = s.forwardRef(({ className: e, ...a }, t) => {
249
- const { carouselRef: n, orientation: i } = j();
245
+ ea.displayName = "Carousel";
246
+ const aa = s.forwardRef(({ className: e, ...a }, t) => {
247
+ const { carouselRef: n, orientation: i } = F();
250
248
  return /* @__PURE__ */ o("div", { ref: n, className: "overflow-hidden", children: /* @__PURE__ */ o("div", { ref: t, className: r("flex", i === "horizontal" ? "-ml-4" : "-mt-4 flex-col", e), ...a }) });
251
249
  });
252
- da.displayName = "CarouselContent";
253
- const la = s.forwardRef(({ className: e, ...a }, t) => {
254
- const { orientation: n } = j();
250
+ aa.displayName = "CarouselContent";
251
+ const ta = s.forwardRef(({ className: e, ...a }, t) => {
252
+ const { orientation: n } = F();
255
253
  return /* @__PURE__ */ o(
256
254
  "div",
257
255
  {
@@ -263,62 +261,62 @@ const la = s.forwardRef(({ className: e, ...a }, t) => {
263
261
  }
264
262
  );
265
263
  });
266
- la.displayName = "CarouselItem";
267
- const ca = s.forwardRef(
264
+ ta.displayName = "CarouselItem";
265
+ const oa = s.forwardRef(
268
266
  ({ className: e, variant: a = "outline", size: t = "icon", ...n }, i) => {
269
- const { orientation: c, scrollPrev: p, canScrollPrev: h } = j();
270
- return /* @__PURE__ */ d(
271
- Q,
267
+ const { orientation: d, scrollPrev: p, canScrollPrev: x } = F();
268
+ return /* @__PURE__ */ u(
269
+ X,
272
270
  {
273
271
  ref: i,
274
272
  variant: a,
275
273
  size: t,
276
274
  className: r(
277
275
  "absolute h-8 w-8 rounded-control",
278
- c === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
276
+ d === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
279
277
  e
280
278
  ),
281
- disabled: !h,
279
+ disabled: !x,
282
280
  onClick: p,
283
281
  ...n,
284
282
  children: [
285
- /* @__PURE__ */ o(he, { className: "size-4" }),
283
+ /* @__PURE__ */ o(ge, { className: "size-4" }),
286
284
  /* @__PURE__ */ o("span", { className: "sr-only", children: "Previous slide" })
287
285
  ]
288
286
  }
289
287
  );
290
288
  }
291
289
  );
292
- ca.displayName = "CarouselPrevious";
293
- const ma = s.forwardRef(
290
+ oa.displayName = "CarouselPrevious";
291
+ const ra = s.forwardRef(
294
292
  ({ className: e, variant: a = "outline", size: t = "icon", ...n }, i) => {
295
- const { orientation: c, scrollNext: p, canScrollNext: h } = j();
296
- return /* @__PURE__ */ d(
297
- Q,
293
+ const { orientation: d, scrollNext: p, canScrollNext: x } = F();
294
+ return /* @__PURE__ */ u(
295
+ X,
298
296
  {
299
297
  ref: i,
300
298
  variant: a,
301
299
  size: t,
302
300
  className: r(
303
301
  "absolute h-8 w-8 rounded-control",
304
- c === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
302
+ d === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
305
303
  e
306
304
  ),
307
- disabled: !h,
305
+ disabled: !x,
308
306
  onClick: p,
309
307
  ...n,
310
308
  children: [
311
- /* @__PURE__ */ o(ve, { className: "size-4" }),
309
+ /* @__PURE__ */ o(be, { className: "size-4" }),
312
310
  /* @__PURE__ */ o("span", { className: "sr-only", children: "Next slide" })
313
311
  ]
314
312
  }
315
313
  );
316
314
  }
317
315
  );
318
- ma.displayName = "CarouselNext";
319
- const ua = s.forwardRef(
316
+ ra.displayName = "CarouselNext";
317
+ const sa = s.forwardRef(
320
318
  ({ className: e, ...a }, t) => /* @__PURE__ */ o(
321
- O.Root,
319
+ B.Root,
322
320
  {
323
321
  ref: t,
324
322
  className: r(
@@ -326,130 +324,13 @@ const ua = s.forwardRef(
326
324
  e
327
325
  ),
328
326
  ...a,
329
- children: /* @__PURE__ */ o(O.Indicator, { className: r("flex items-center justify-center text-current"), children: a.checked === "indeterminate" ? /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 3, className: "size-3", children: /* @__PURE__ */ o("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) }) : /* @__PURE__ */ o(K, { className: "size-3" }) })
330
- }
331
- )
332
- );
333
- ua.displayName = O.Root.displayName;
334
- const fa = x.Root, Io = x.Trigger, pa = x.Portal, So = x.Close, ae = s.forwardRef(
335
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(
336
- x.Overlay,
337
- {
338
- ref: t,
339
- className: r(
340
- "fixed inset-0 z-[70] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
341
- e
342
- ),
343
- ...a
327
+ children: /* @__PURE__ */ o(B.Indicator, { className: r("flex items-center justify-center text-current"), children: a.checked === "indeterminate" ? /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 3, className: "size-3", children: /* @__PURE__ */ o("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) }) : /* @__PURE__ */ o($, { className: "size-3" }) })
344
328
  }
345
329
  )
346
330
  );
347
- ae.displayName = x.Overlay.displayName;
348
- const ga = "w-full max-w-none h-[100dvh] max-h-[100dvh] content-start rounded-none sm:h-auto sm:max-h-[95vh] sm:max-w-lg sm:rounded-surface", te = s.forwardRef(
349
- ({ className: e, children: a, ...t }, n) => /* @__PURE__ */ d(pa, { children: [
350
- /* @__PURE__ */ o(ae, {}),
351
- /* @__PURE__ */ d(
352
- x.Content,
353
- {
354
- ref: n,
355
- className: r(
356
- "fixed left-[50%] top-[50%] z-[70] grid overflow-y-auto translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
357
- ga,
358
- e
359
- ),
360
- ...t,
361
- children: [
362
- a,
363
- /* @__PURE__ */ d(x.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", children: [
364
- /* @__PURE__ */ o(we, { className: "size-4" }),
365
- /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
366
- ] })
367
- ]
368
- }
369
- )
370
- ] })
371
- );
372
- te.displayName = x.Content.displayName;
373
- const ba = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-1.5 text-center sm:text-left", e), ...a });
374
- ba.displayName = "DialogHeader";
375
- const Na = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
376
- Na.displayName = "DialogFooter";
377
- const xa = s.forwardRef(
378
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(x.Title, { ref: t, className: r("text-lg font-semibold leading-none tracking-tight", e), ...a })
379
- );
380
- xa.displayName = x.Title.displayName;
381
- const ya = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(x.Description, { ref: t, className: r("text-sm text-muted-foreground", e), ...a }));
382
- ya.displayName = x.Description.displayName;
383
- const oe = s.forwardRef(
384
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(
385
- b,
386
- {
387
- ref: t,
388
- className: r("flex h-full w-full flex-col overflow-hidden rounded-surface bg-popover text-popover-foreground", e),
389
- ...a
390
- }
391
- )
392
- );
393
- oe.displayName = b.displayName;
394
- const To = ({ children: e, ...a }) => /* @__PURE__ */ o(fa, { ...a, children: /* @__PURE__ */ o(te, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ o(oe, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[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", children: e }) }) }), ha = s.forwardRef(
395
- ({ className: e, ...a }, t) => /* @__PURE__ */ d("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
396
- /* @__PURE__ */ o(Re, { className: "mr-2 size-4 shrink-0 opacity-50" }),
397
- /* @__PURE__ */ o(
398
- b.Input,
399
- {
400
- ref: t,
401
- className: r(
402
- "flex h-11 w-full rounded-control bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
403
- e
404
- ),
405
- ...a
406
- }
407
- )
408
- ] })
409
- );
410
- ha.displayName = b.Input.displayName;
411
- const va = s.forwardRef(
412
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(b.List, { ref: t, className: r("max-h-[300px] overflow-y-auto overflow-x-hidden", e), ...a })
413
- );
414
- va.displayName = b.List.displayName;
415
- const wa = s.forwardRef(
416
- (e, a) => /* @__PURE__ */ o(b.Empty, { ref: a, className: "py-6 text-center text-sm", ...e })
417
- );
418
- wa.displayName = b.Empty.displayName;
419
- const Ra = s.forwardRef(
420
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(
421
- b.Group,
422
- {
423
- ref: t,
424
- className: r(
425
- "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",
426
- e
427
- ),
428
- ...a
429
- }
430
- )
431
- );
432
- Ra.displayName = b.Group.displayName;
433
- const Ca = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(b.Separator, { ref: t, className: r("-mx-1 h-px bg-border", e), ...a }));
434
- Ca.displayName = b.Separator.displayName;
435
- const ka = s.forwardRef(
436
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(
437
- b.Item,
438
- {
439
- ref: t,
440
- className: r(
441
- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",
442
- e
443
- ),
444
- ...a
445
- }
446
- )
447
- );
448
- ka.displayName = b.Item.displayName;
449
- const Ia = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
450
- Ia.displayName = "CommandShortcut";
451
- const Po = m.Root, zo = m.Trigger, Do = m.Group, Mo = m.Portal, Fo = m.Sub, Ao = m.RadioGroup, Sa = s.forwardRef(({ className: e, inset: a, children: t, ...n }, i) => /* @__PURE__ */ d(
452
- m.SubTrigger,
331
+ sa.displayName = B.Root.displayName;
332
+ const oo = c.Root, ro = c.Trigger, so = c.Group, no = c.Portal, io = c.Sub, lo = c.RadioGroup, na = s.forwardRef(({ className: e, inset: a, children: t, ...n }, i) => /* @__PURE__ */ u(
333
+ c.SubTrigger,
453
334
  {
454
335
  ref: i,
455
336
  className: r(
@@ -460,13 +341,13 @@ const Po = m.Root, zo = m.Trigger, Do = m.Group, Mo = m.Portal, Fo = m.Sub, Ao =
460
341
  ...n,
461
342
  children: [
462
343
  t,
463
- /* @__PURE__ */ o(F, { className: "ml-auto size-4" })
344
+ /* @__PURE__ */ o(M, { className: "ml-auto size-4" })
464
345
  ]
465
346
  }
466
347
  ));
467
- Sa.displayName = m.SubTrigger.displayName;
468
- const Ta = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
469
- m.SubContent,
348
+ na.displayName = c.SubTrigger.displayName;
349
+ const ia = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
350
+ c.SubContent,
470
351
  {
471
352
  ref: t,
472
353
  className: r(
@@ -476,9 +357,9 @@ const Ta = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
476
357
  ...a
477
358
  }
478
359
  ));
479
- Ta.displayName = m.SubContent.displayName;
480
- const Pa = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(m.Portal, { children: /* @__PURE__ */ o(
481
- m.Content,
360
+ ia.displayName = c.SubContent.displayName;
361
+ const la = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(c.Portal, { children: /* @__PURE__ */ o(
362
+ c.Content,
482
363
  {
483
364
  ref: t,
484
365
  className: r(
@@ -488,9 +369,9 @@ const Pa = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(m.Porta
488
369
  ...a
489
370
  }
490
371
  ) }));
491
- Pa.displayName = m.Content.displayName;
492
- const za = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
493
- m.Item,
372
+ la.displayName = c.Content.displayName;
373
+ const da = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
374
+ c.Item,
494
375
  {
495
376
  ref: n,
496
377
  className: r(
@@ -501,9 +382,9 @@ const za = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */
501
382
  ...t
502
383
  }
503
384
  ));
504
- za.displayName = m.Item.displayName;
505
- const Da = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) => /* @__PURE__ */ d(
506
- m.CheckboxItem,
385
+ da.displayName = c.Item.displayName;
386
+ const ca = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) => /* @__PURE__ */ u(
387
+ c.CheckboxItem,
507
388
  {
508
389
  ref: i,
509
390
  className: r(
@@ -513,14 +394,14 @@ const Da = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) =>
513
394
  checked: t,
514
395
  ...n,
515
396
  children: [
516
- /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(m.ItemIndicator, { children: /* @__PURE__ */ o(X, { className: "size-4" }) }) }),
397
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(c.ItemIndicator, { children: /* @__PURE__ */ o(q, { className: "size-4" }) }) }),
517
398
  a
518
399
  ]
519
400
  }
520
401
  ));
521
- Da.displayName = m.CheckboxItem.displayName;
522
- const Ma = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ d(
523
- m.RadioItem,
402
+ ca.displayName = c.CheckboxItem.displayName;
403
+ const ma = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(
404
+ c.RadioItem,
524
405
  {
525
406
  ref: n,
526
407
  className: r(
@@ -529,29 +410,29 @@ const Ma = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__
529
410
  ),
530
411
  ...t,
531
412
  children: [
532
- /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(m.ItemIndicator, { children: /* @__PURE__ */ o(E, { className: "h-2 w-2 fill-current" }) }) }),
413
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(c.ItemIndicator, { children: /* @__PURE__ */ o(V, { className: "h-2 w-2 fill-current" }) }) }),
533
414
  a
534
415
  ]
535
416
  }
536
417
  ));
537
- Ma.displayName = m.RadioItem.displayName;
538
- const Fa = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(m.Label, { ref: n, className: r("px-2 py-1.5 text-sm font-semibold text-foreground", a && "pl-8", e), ...t }));
539
- Fa.displayName = m.Label.displayName;
540
- const Aa = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(m.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-border", e), ...a }));
541
- Aa.displayName = m.Separator.displayName;
542
- const La = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
543
- La.displayName = "ContextMenuShortcut";
544
- const ja = ({ shouldScaleBackground: e = !0, ...a }) => /* @__PURE__ */ o(v.Root, { shouldScaleBackground: e, ...a });
545
- ja.displayName = "Drawer";
546
- const Lo = v.Trigger, _a = v.Portal, jo = v.Close, re = s.forwardRef(
547
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(v.Overlay, { ref: t, className: r("fixed inset-0 z-50 bg-black/80", e), ...a })
418
+ ma.displayName = c.RadioItem.displayName;
419
+ const ua = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(c.Label, { ref: n, className: r("px-2 py-1.5 text-sm font-semibold text-foreground", a && "pl-8", e), ...t }));
420
+ ua.displayName = c.Label.displayName;
421
+ const fa = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(c.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-border", e), ...a }));
422
+ fa.displayName = c.Separator.displayName;
423
+ const pa = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
424
+ pa.displayName = "ContextMenuShortcut";
425
+ const ga = ({ shouldScaleBackground: e = !0, ...a }) => /* @__PURE__ */ o(y.Root, { shouldScaleBackground: e, ...a });
426
+ ga.displayName = "Drawer";
427
+ const co = y.Trigger, ba = y.Portal, mo = y.Close, Z = s.forwardRef(
428
+ ({ className: e, ...a }, t) => /* @__PURE__ */ o(y.Overlay, { ref: t, className: r("fixed inset-0 z-50 bg-black/80", e), ...a })
548
429
  );
549
- re.displayName = v.Overlay.displayName;
550
- const Ga = s.forwardRef(
551
- ({ className: e, children: a, ...t }, n) => /* @__PURE__ */ d(_a, { children: [
552
- /* @__PURE__ */ o(re, {}),
553
- /* @__PURE__ */ d(
554
- v.Content,
430
+ Z.displayName = y.Overlay.displayName;
431
+ const Na = s.forwardRef(
432
+ ({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(ba, { children: [
433
+ /* @__PURE__ */ o(Z, {}),
434
+ /* @__PURE__ */ u(
435
+ y.Content,
555
436
  {
556
437
  ref: n,
557
438
  className: r("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-surface border bg-background", e),
@@ -564,19 +445,19 @@ const Ga = s.forwardRef(
564
445
  )
565
446
  ] })
566
447
  );
567
- Ga.displayName = "DrawerContent";
568
- const Ba = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("grid gap-1.5 p-4 text-center sm:text-left", e), ...a });
569
- Ba.displayName = "DrawerHeader";
570
- const Oa = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("mt-auto flex flex-col gap-2 p-4", e), ...a });
571
- Oa.displayName = "DrawerFooter";
572
- const Ha = s.forwardRef(
573
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(v.Title, { ref: t, className: r("text-lg font-semibold leading-none tracking-tight", e), ...a })
448
+ Na.displayName = "DrawerContent";
449
+ const xa = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("grid gap-1.5 p-4 text-center sm:text-left", e), ...a });
450
+ xa.displayName = "DrawerHeader";
451
+ const ya = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("mt-auto flex flex-col gap-2 p-4", e), ...a });
452
+ ya.displayName = "DrawerFooter";
453
+ const va = s.forwardRef(
454
+ ({ className: e, ...a }, t) => /* @__PURE__ */ o(y.Title, { ref: t, className: r("text-lg font-semibold leading-none tracking-tight", e), ...a })
574
455
  );
575
- Ha.displayName = v.Title.displayName;
576
- const Va = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(v.Description, { ref: t, className: r("text-sm text-muted-foreground", e), ...a }));
577
- Va.displayName = v.Description.displayName;
578
- const _o = u.Root, Go = u.Trigger, Bo = u.Group, Oo = u.Portal, Ho = u.Sub, Vo = u.RadioGroup, Ea = s.forwardRef(({ className: e, inset: a, children: t, ...n }, i) => /* @__PURE__ */ d(
579
- u.SubTrigger,
456
+ va.displayName = y.Title.displayName;
457
+ const ha = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(y.Description, { ref: t, className: r("text-sm text-muted-foreground", e), ...a }));
458
+ ha.displayName = y.Description.displayName;
459
+ const uo = m.Root, fo = m.Trigger, po = m.Group, go = m.Portal, bo = m.Sub, No = m.RadioGroup, wa = s.forwardRef(({ className: e, inset: a, children: t, ...n }, i) => /* @__PURE__ */ u(
460
+ m.SubTrigger,
580
461
  {
581
462
  ref: i,
582
463
  className: r(
@@ -587,13 +468,13 @@ const _o = u.Root, Go = u.Trigger, Bo = u.Group, Oo = u.Portal, Ho = u.Sub, Vo =
587
468
  ...n,
588
469
  children: [
589
470
  t,
590
- /* @__PURE__ */ o(J, { className: "ml-auto size-4" })
471
+ /* @__PURE__ */ o(K, { className: "ml-auto size-4" })
591
472
  ]
592
473
  }
593
474
  ));
594
- Ea.displayName = u.SubTrigger.displayName;
595
- const $a = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
596
- u.SubContent,
475
+ wa.displayName = m.SubTrigger.displayName;
476
+ const Ra = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
477
+ m.SubContent,
597
478
  {
598
479
  ref: t,
599
480
  className: r(
@@ -603,9 +484,9 @@ const $a = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
603
484
  ...a
604
485
  }
605
486
  ));
606
- $a.displayName = u.SubContent.displayName;
607
- const qa = s.forwardRef(({ className: e, sideOffset: a = 4, ...t }, n) => /* @__PURE__ */ o(u.Portal, { children: /* @__PURE__ */ o(
608
- u.Content,
487
+ Ra.displayName = m.SubContent.displayName;
488
+ const Ca = s.forwardRef(({ className: e, sideOffset: a = 4, ...t }, n) => /* @__PURE__ */ o(m.Portal, { children: /* @__PURE__ */ o(
489
+ m.Content,
609
490
  {
610
491
  ref: n,
611
492
  sideOffset: a,
@@ -616,9 +497,9 @@ const qa = s.forwardRef(({ className: e, sideOffset: a = 4, ...t }, n) => /* @__
616
497
  ...t
617
498
  }
618
499
  ) }));
619
- qa.displayName = u.Content.displayName;
620
- const Ka = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
621
- u.Item,
500
+ Ca.displayName = m.Content.displayName;
501
+ const Ia = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
502
+ m.Item,
622
503
  {
623
504
  ref: n,
624
505
  className: r(
@@ -629,9 +510,9 @@ const Ka = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */
629
510
  ...t
630
511
  }
631
512
  ));
632
- Ka.displayName = u.Item.displayName;
633
- const Xa = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) => /* @__PURE__ */ d(
634
- u.CheckboxItem,
513
+ Ia.displayName = m.Item.displayName;
514
+ const Sa = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) => /* @__PURE__ */ u(
515
+ m.CheckboxItem,
635
516
  {
636
517
  ref: i,
637
518
  className: r(
@@ -641,14 +522,14 @@ const Xa = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) =>
641
522
  checked: t,
642
523
  ...n,
643
524
  children: [
644
- /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(u.ItemIndicator, { children: /* @__PURE__ */ o(K, { className: "size-4" }) }) }),
525
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(m.ItemIndicator, { children: /* @__PURE__ */ o($, { className: "size-4" }) }) }),
645
526
  a
646
527
  ]
647
528
  }
648
529
  ));
649
- Xa.displayName = u.CheckboxItem.displayName;
650
- const Ja = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ d(
651
- u.RadioItem,
530
+ Sa.displayName = m.CheckboxItem.displayName;
531
+ const Ta = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(
532
+ m.RadioItem,
652
533
  {
653
534
  ref: n,
654
535
  className: r(
@@ -657,73 +538,73 @@ const Ja = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__
657
538
  ),
658
539
  ...t,
659
540
  children: [
660
- /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(u.ItemIndicator, { children: /* @__PURE__ */ o(Ce, { className: "h-2 w-2 fill-current" }) }) }),
541
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(m.ItemIndicator, { children: /* @__PURE__ */ o(Ne, { className: "h-2 w-2 fill-current" }) }) }),
661
542
  a
662
543
  ]
663
544
  }
664
545
  ));
665
- Ja.displayName = u.RadioItem.displayName;
666
- const Qa = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(u.Label, { ref: n, className: r("px-2 py-1.5 text-sm font-semibold", a === !0 && "pl-8", e), ...t }));
667
- Qa.displayName = u.Label.displayName;
668
- const Wa = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(u.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-muted", e), ...a }));
669
- Wa.displayName = u.Separator.displayName;
670
- const Ua = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest opacity-60", e), ...a });
671
- Ua.displayName = "DropdownMenuShortcut";
672
- const Ya = M("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), se = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(Ae.Root, { ref: t, className: r(Ya(), e), ...a }));
673
- se.displayName = "Label";
674
- const Eo = Me, ne = s.createContext({}), $o = ({
546
+ Ta.displayName = m.RadioItem.displayName;
547
+ const Pa = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(m.Label, { ref: n, className: r("px-2 py-1.5 text-sm font-semibold", a === !0 && "pl-8", e), ...t }));
548
+ Pa.displayName = m.Label.displayName;
549
+ const ka = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(m.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-muted", e), ...a }));
550
+ ka.displayName = m.Separator.displayName;
551
+ const za = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest opacity-60", e), ...a });
552
+ za.displayName = "DropdownMenuShortcut";
553
+ const Ma = z("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), ee = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(Te.Root, { ref: t, className: r(Ma(), e), ...a }));
554
+ ee.displayName = "Label";
555
+ const xo = Ie, ae = s.createContext({}), yo = ({
675
556
  ...e
676
- }) => /* @__PURE__ */ o(ne.Provider, { value: { name: e.name }, children: /* @__PURE__ */ o(Fe, { ...e }) }), _ = () => {
677
- const e = s.useContext(ne), a = s.useContext(ie), { getFieldState: t, formState: n } = De(), i = t(e.name, n);
557
+ }) => /* @__PURE__ */ o(ae.Provider, { value: { name: e.name }, children: /* @__PURE__ */ o(Se, { ...e }) }), j = () => {
558
+ const e = s.useContext(ae), a = s.useContext(te), { getFieldState: t, formState: n } = Ce(), i = t(e.name, n);
678
559
  if (!e)
679
560
  throw new Error("useFormField should be used within <FormField>");
680
- const { id: c } = a;
561
+ const { id: d } = a;
681
562
  return {
682
- id: c,
563
+ id: d,
683
564
  name: e.name,
684
- formItemId: `${c}-form-item`,
685
- formDescriptionId: `${c}-form-item-description`,
686
- formMessageId: `${c}-form-item-message`,
565
+ formItemId: `${d}-form-item`,
566
+ formDescriptionId: `${d}-form-item-description`,
567
+ formMessageId: `${d}-form-item-message`,
687
568
  ...i
688
569
  };
689
- }, ie = s.createContext({}), Za = s.forwardRef(({ className: e, ...a }, t) => {
570
+ }, te = s.createContext({}), Da = s.forwardRef(({ className: e, ...a }, t) => {
690
571
  const n = s.useId();
691
- return /* @__PURE__ */ o(ie.Provider, { value: { id: n }, children: /* @__PURE__ */ o("div", { ref: t, className: r("space-y-2", e), ...a }) });
572
+ return /* @__PURE__ */ o(te.Provider, { value: { id: n }, children: /* @__PURE__ */ o("div", { ref: t, className: r("space-y-2", e), ...a }) });
692
573
  });
693
- Za.displayName = "FormItem";
694
- const et = s.forwardRef(
574
+ Da.displayName = "FormItem";
575
+ const Aa = s.forwardRef(
695
576
  ({ className: e, ...a }, t) => {
696
- const { error: n, formItemId: i } = _();
697
- return /* @__PURE__ */ o(se, { ref: t, className: r(n && "text-destructive", e), htmlFor: i, ...a });
577
+ const { error: n, formItemId: i } = j();
578
+ return /* @__PURE__ */ o(ee, { ref: t, className: r(n && "text-destructive", e), htmlFor: i, ...a });
698
579
  }
699
580
  );
700
- et.displayName = "FormLabel";
701
- const at = s.forwardRef(({ ...e }, a) => {
702
- const { error: t, formItemId: n, formDescriptionId: i, formMessageId: c } = _();
581
+ Aa.displayName = "FormLabel";
582
+ const Fa = s.forwardRef(({ ...e }, a) => {
583
+ const { error: t, formItemId: n, formDescriptionId: i, formMessageId: d } = j();
703
584
  return /* @__PURE__ */ o(
704
585
  W,
705
586
  {
706
587
  ref: a,
707
588
  id: n,
708
- "aria-describedby": t ? `${i} ${c}` : `${i}`,
589
+ "aria-describedby": t ? `${i} ${d}` : `${i}`,
709
590
  "aria-invalid": !!t,
710
591
  ...e
711
592
  }
712
593
  );
713
594
  });
714
- at.displayName = "FormControl";
715
- const tt = s.forwardRef(({ className: e, ...a }, t) => {
716
- const { formDescriptionId: n } = _();
595
+ Fa.displayName = "FormControl";
596
+ const ja = s.forwardRef(({ className: e, ...a }, t) => {
597
+ const { formDescriptionId: n } = j();
717
598
  return /* @__PURE__ */ o("p", { ref: t, id: n, className: r("text-sm text-muted-foreground", e), ...a });
718
599
  });
719
- tt.displayName = "FormDescription";
720
- const ot = s.forwardRef(({ className: e, children: a, ...t }, n) => {
721
- const { error: i, formMessageId: c } = _(), p = i ? String(i == null ? void 0 : i.message) : a;
722
- return p ? /* @__PURE__ */ o("p", { ref: n, id: c, className: r("text-sm font-medium text-destructive", e), ...t, children: p }) : null;
600
+ ja.displayName = "FormDescription";
601
+ const La = s.forwardRef(({ className: e, children: a, ...t }, n) => {
602
+ const { error: i, formMessageId: d } = j(), p = i ? String(i == null ? void 0 : i.message) : a;
603
+ return p ? /* @__PURE__ */ o("p", { ref: n, id: d, className: r("text-sm font-medium text-destructive", e), ...t, children: p }) : null;
723
604
  });
724
- ot.displayName = "FormMessage";
725
- const qo = A.Root, Ko = A.Trigger, rt = s.forwardRef(({ className: e, align: a = "center", sideOffset: t = 4, ...n }, i) => /* @__PURE__ */ o(
726
- A.Content,
605
+ La.displayName = "FormMessage";
606
+ const vo = D.Root, ho = D.Trigger, Ga = s.forwardRef(({ className: e, align: a = "center", sideOffset: t = 4, ...n }, i) => /* @__PURE__ */ o(
607
+ D.Content,
727
608
  {
728
609
  ref: i,
729
610
  align: a,
@@ -735,10 +616,10 @@ const qo = A.Root, Ko = A.Trigger, rt = s.forwardRef(({ className: e, align: a =
735
616
  ...n
736
617
  }
737
618
  ));
738
- rt.displayName = A.Content.displayName;
739
- const st = s.forwardRef(
619
+ Ga.displayName = D.Content.displayName;
620
+ const Ba = s.forwardRef(
740
621
  ({ className: e, containerClassName: a, ...t }, n) => /* @__PURE__ */ o(
741
- Le,
622
+ Pe,
742
623
  {
743
624
  ref: n,
744
625
  containerClassName: r("flex items-center gap-2 has-[:disabled]:opacity-50", a),
@@ -747,38 +628,38 @@ const st = s.forwardRef(
747
628
  }
748
629
  )
749
630
  );
750
- st.displayName = "InputOTP";
751
- const nt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("div", { ref: t, className: r("flex items-center", e), ...a }));
752
- nt.displayName = "InputOTPGroup";
753
- const it = s.forwardRef(
631
+ Ba.displayName = "InputOTP";
632
+ const Oa = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("div", { ref: t, className: r("flex items-center", e), ...a }));
633
+ Oa.displayName = "InputOTPGroup";
634
+ const Ha = s.forwardRef(
754
635
  ({ index: e, className: a, ...t }, n) => {
755
- const i = s.useContext(je), { char: c, hasFakeCaret: p, isActive: h } = i.slots[e];
756
- return /* @__PURE__ */ d(
636
+ const i = s.useContext(ke), { char: d, hasFakeCaret: p, isActive: x } = i.slots[e];
637
+ return /* @__PURE__ */ u(
757
638
  "div",
758
639
  {
759
640
  ref: n,
760
641
  className: r(
761
642
  "relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-control first:border-l last:rounded-r-control",
762
- h && "z-10 ring-2 ring-ring ring-offset-background",
643
+ x && "z-10 ring-2 ring-ring ring-offset-background",
763
644
  a
764
645
  ),
765
646
  ...t,
766
647
  children: [
767
- c,
648
+ d,
768
649
  p && /* @__PURE__ */ o("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ o("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
769
650
  ]
770
651
  }
771
652
  );
772
653
  }
773
654
  );
774
- it.displayName = "InputOTPSlot";
775
- const dt = s.forwardRef(({ ...e }, a) => /* @__PURE__ */ o("div", { ref: a, role: "separator", ...e, children: /* @__PURE__ */ o(ke, {}) }));
776
- dt.displayName = "InputOTPSeparator";
777
- const Xo = l.Menu, Jo = l.Group, Qo = l.Portal, Wo = l.Sub, Uo = l.RadioGroup, lt = s.forwardRef(
655
+ Ha.displayName = "InputOTPSlot";
656
+ const Va = s.forwardRef(({ ...e }, a) => /* @__PURE__ */ o("div", { ref: a, role: "separator", ...e, children: /* @__PURE__ */ o(xe, {}) }));
657
+ Va.displayName = "InputOTPSeparator";
658
+ const wo = l.Menu, Ro = l.Group, Co = l.Portal, Io = l.Sub, So = l.RadioGroup, _a = s.forwardRef(
778
659
  ({ className: e, ...a }, t) => /* @__PURE__ */ o(l.Root, { ref: t, className: r("flex h-10 items-center space-x-1 rounded-surface border bg-background p-1", e), ...a })
779
660
  );
780
- lt.displayName = l.Root.displayName;
781
- const ct = s.forwardRef(
661
+ _a.displayName = l.Root.displayName;
662
+ const Ea = s.forwardRef(
782
663
  ({ className: e, ...a }, t) => /* @__PURE__ */ o(
783
664
  l.Trigger,
784
665
  {
@@ -791,8 +672,8 @@ const ct = s.forwardRef(
791
672
  }
792
673
  )
793
674
  );
794
- ct.displayName = l.Trigger.displayName;
795
- const mt = s.forwardRef(({ className: e, inset: a, children: t, ...n }, i) => /* @__PURE__ */ d(
675
+ Ea.displayName = l.Trigger.displayName;
676
+ const $a = s.forwardRef(({ className: e, inset: a, children: t, ...n }, i) => /* @__PURE__ */ u(
796
677
  l.SubTrigger,
797
678
  {
798
679
  ref: i,
@@ -804,12 +685,12 @@ const mt = s.forwardRef(({ className: e, inset: a, children: t, ...n }, i) => /*
804
685
  ...n,
805
686
  children: [
806
687
  t,
807
- /* @__PURE__ */ o(F, { className: "ml-auto size-4" })
688
+ /* @__PURE__ */ o(M, { className: "ml-auto size-4" })
808
689
  ]
809
690
  }
810
691
  ));
811
- mt.displayName = l.SubTrigger.displayName;
812
- const ut = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
692
+ $a.displayName = l.SubTrigger.displayName;
693
+ const qa = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
813
694
  l.SubContent,
814
695
  {
815
696
  ref: t,
@@ -820,12 +701,12 @@ const ut = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
820
701
  ...a
821
702
  }
822
703
  ));
823
- ut.displayName = l.SubContent.displayName;
824
- const ft = s.forwardRef(
825
- ({ className: e, align: a = "start", alignOffset: t = -4, sideOffset: n = 8, ...i }, c) => /* @__PURE__ */ o(l.Portal, { children: /* @__PURE__ */ o(
704
+ qa.displayName = l.SubContent.displayName;
705
+ const Ka = s.forwardRef(
706
+ ({ className: e, align: a = "start", alignOffset: t = -4, sideOffset: n = 8, ...i }, d) => /* @__PURE__ */ o(l.Portal, { children: /* @__PURE__ */ o(
826
707
  l.Content,
827
708
  {
828
- ref: c,
709
+ ref: d,
829
710
  align: a,
830
711
  alignOffset: t,
831
712
  sideOffset: n,
@@ -837,8 +718,8 @@ const ft = s.forwardRef(
837
718
  }
838
719
  ) })
839
720
  );
840
- ft.displayName = l.Content.displayName;
841
- const pt = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
721
+ Ka.displayName = l.Content.displayName;
722
+ const Xa = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
842
723
  l.Item,
843
724
  {
844
725
  ref: n,
@@ -850,8 +731,8 @@ const pt = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */
850
731
  ...t
851
732
  }
852
733
  ));
853
- pt.displayName = l.Item.displayName;
854
- const gt = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) => /* @__PURE__ */ d(
734
+ Xa.displayName = l.Item.displayName;
735
+ const Wa = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) => /* @__PURE__ */ u(
855
736
  l.CheckboxItem,
856
737
  {
857
738
  ref: i,
@@ -862,13 +743,13 @@ const gt = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) =>
862
743
  checked: t,
863
744
  ...n,
864
745
  children: [
865
- /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(X, { className: "size-4" }) }) }),
746
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(q, { className: "size-4" }) }) }),
866
747
  a
867
748
  ]
868
749
  }
869
750
  ));
870
- gt.displayName = l.CheckboxItem.displayName;
871
- const bt = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ d(
751
+ Wa.displayName = l.CheckboxItem.displayName;
752
+ const Ja = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(
872
753
  l.RadioItem,
873
754
  {
874
755
  ref: n,
@@ -878,35 +759,35 @@ const bt = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__
878
759
  ),
879
760
  ...t,
880
761
  children: [
881
- /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(E, { className: "h-2 w-2 fill-current" }) }) }),
762
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(V, { className: "h-2 w-2 fill-current" }) }) }),
882
763
  a
883
764
  ]
884
765
  }
885
766
  ));
886
- bt.displayName = l.RadioItem.displayName;
887
- const Nt = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(l.Label, { ref: n, className: r("px-2 py-1.5 text-sm font-semibold", a && "pl-8", e), ...t }));
888
- Nt.displayName = l.Label.displayName;
889
- const xt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(l.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-muted", e), ...a }));
890
- xt.displayName = l.Separator.displayName;
891
- const yt = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
892
- yt.displayname = "MenubarShortcut";
893
- const ht = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ d(N.Root, { ref: n, className: r("relative z-10 flex max-w-max flex-1 items-center justify-center", e), ...t, children: [
767
+ Ja.displayName = l.RadioItem.displayName;
768
+ const Qa = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(l.Label, { ref: n, className: r("px-2 py-1.5 text-sm font-semibold", a && "pl-8", e), ...t }));
769
+ Qa.displayName = l.Label.displayName;
770
+ const Ua = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(l.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-muted", e), ...a }));
771
+ Ua.displayName = l.Separator.displayName;
772
+ const Ya = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
773
+ Ya.displayname = "MenubarShortcut";
774
+ const Za = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(b.Root, { ref: n, className: r("relative z-10 flex max-w-max flex-1 items-center justify-center", e), ...t, children: [
894
775
  a,
895
- /* @__PURE__ */ o(de, {})
776
+ /* @__PURE__ */ o(oe, {})
896
777
  ] }));
897
- ht.displayName = N.Root.displayName;
898
- const vt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(N.List, { ref: t, className: r("group flex flex-1 list-none items-center justify-center space-x-1", e), ...a }));
899
- vt.displayName = N.List.displayName;
900
- const Yo = N.Item, wt = M(
778
+ Za.displayName = b.Root.displayName;
779
+ const et = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(b.List, { ref: t, className: r("group flex flex-1 list-none items-center justify-center space-x-1", e), ...a }));
780
+ et.displayName = b.List.displayName;
781
+ const To = b.Item, at = z(
901
782
  "group inline-flex h-10 w-max items-center justify-center rounded-control bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
902
- ), Rt = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ d(N.Trigger, { ref: n, className: r(wt(), "group", e), ...t, children: [
783
+ ), tt = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(b.Trigger, { ref: n, className: r(at(), "group", e), ...t, children: [
903
784
  a,
904
785
  " ",
905
- /* @__PURE__ */ o(q, { className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180", "aria-hidden": "true" })
786
+ /* @__PURE__ */ o(E, { className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180", "aria-hidden": "true" })
906
787
  ] }));
907
- Rt.displayName = N.Trigger.displayName;
908
- const Ct = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
909
- N.Content,
788
+ tt.displayName = b.Trigger.displayName;
789
+ const ot = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
790
+ b.Content,
910
791
  {
911
792
  ref: t,
912
793
  className: r(
@@ -916,9 +797,9 @@ const Ct = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
916
797
  ...a
917
798
  }
918
799
  ));
919
- Ct.displayName = N.Content.displayName;
920
- const Zo = N.Link, de = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("div", { className: r("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ o(
921
- N.Viewport,
800
+ ot.displayName = b.Content.displayName;
801
+ const Po = b.Link, oe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("div", { className: r("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ o(
802
+ b.Viewport,
922
803
  {
923
804
  className: r(
924
805
  "origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-surface border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
@@ -928,9 +809,9 @@ const Zo = N.Link, de = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__
928
809
  ...a
929
810
  }
930
811
  ) }));
931
- de.displayName = N.Viewport.displayName;
932
- const kt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
933
- N.Indicator,
812
+ oe.displayName = b.Viewport.displayName;
813
+ const rt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
814
+ b.Indicator,
934
815
  {
935
816
  ref: t,
936
817
  className: r(
@@ -941,19 +822,19 @@ const kt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
941
822
  children: /* @__PURE__ */ o("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
942
823
  }
943
824
  ));
944
- kt.displayName = N.Indicator.displayName;
945
- const It = ({ className: e, ...a }) => /* @__PURE__ */ o("nav", { role: "navigation", "aria-label": "pagination", className: r("mx-auto flex w-full justify-center", e), ...a });
946
- It.displayName = "Pagination";
947
- const St = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("ul", { ref: t, className: r("flex flex-row items-center gap-1", e), ...a }));
948
- St.displayName = "PaginationContent";
949
- const Tt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("li", { ref: t, className: r("", e), ...a }));
950
- Tt.displayName = "PaginationItem";
951
- const $ = ({ className: e, isActive: a, size: t = "icon", ...n }) => /* @__PURE__ */ o(
825
+ rt.displayName = b.Indicator.displayName;
826
+ const st = ({ className: e, ...a }) => /* @__PURE__ */ o("nav", { role: "navigation", "aria-label": "pagination", className: r("mx-auto flex w-full justify-center", e), ...a });
827
+ st.displayName = "Pagination";
828
+ const nt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("ul", { ref: t, className: r("flex flex-row items-center gap-1", e), ...a }));
829
+ nt.displayName = "PaginationContent";
830
+ const it = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("li", { ref: t, className: r("", e), ...a }));
831
+ it.displayName = "PaginationItem";
832
+ const _ = ({ className: e, isActive: a, size: t = "icon", ...n }) => /* @__PURE__ */ o(
952
833
  "a",
953
834
  {
954
835
  "aria-current": a ? "page" : void 0,
955
836
  className: r(
956
- I({
837
+ C({
957
838
  variant: a ? "outline" : "ghost",
958
839
  size: t
959
840
  }),
@@ -962,25 +843,25 @@ const $ = ({ className: e, isActive: a, size: t = "icon", ...n }) => /* @__PURE_
962
843
  ...n
963
844
  }
964
845
  );
965
- $.displayName = "PaginationLink";
966
- const Pt = ({ className: e, label: a = "Previous", ...t }) => /* @__PURE__ */ d($, { "aria-label": "Go to previous page", size: "default", className: r("gap-1 pl-2.5", e), ...t, children: [
967
- /* @__PURE__ */ o(Se, { className: "size-4" }),
846
+ _.displayName = "PaginationLink";
847
+ const lt = ({ className: e, label: a = "Previous", ...t }) => /* @__PURE__ */ u(_, { "aria-label": "Go to previous page", size: "default", className: r("gap-1 pl-2.5", e), ...t, children: [
848
+ /* @__PURE__ */ o(ve, { className: "size-4" }),
968
849
  /* @__PURE__ */ o("span", { children: a })
969
850
  ] });
970
- Pt.displayName = "PaginationPrevious";
971
- const zt = ({ className: e, label: a = "Next", ...t }) => /* @__PURE__ */ d($, { "aria-label": "Go to next page", size: "default", className: r("gap-1 pr-2.5", e), ...t, children: [
851
+ lt.displayName = "PaginationPrevious";
852
+ const dt = ({ className: e, label: a = "Next", ...t }) => /* @__PURE__ */ u(_, { "aria-label": "Go to next page", size: "default", className: r("gap-1 pr-2.5", e), ...t, children: [
972
853
  /* @__PURE__ */ o("span", { children: a }),
973
- /* @__PURE__ */ o(J, { className: "size-4" })
854
+ /* @__PURE__ */ o(K, { className: "size-4" })
974
855
  ] });
975
- zt.displayName = "PaginationNext";
976
- const Dt = ({ className: e, ...a }) => /* @__PURE__ */ d("span", { "aria-hidden": !0, className: r("flex h-9 w-9 items-center justify-center", e), ...a, children: [
977
- /* @__PURE__ */ o(Ie, { className: "size-4" }),
856
+ dt.displayName = "PaginationNext";
857
+ const ct = ({ className: e, ...a }) => /* @__PURE__ */ u("span", { "aria-hidden": !0, className: r("flex h-9 w-9 items-center justify-center", e), ...a, children: [
858
+ /* @__PURE__ */ o(ye, { className: "size-4" }),
978
859
  /* @__PURE__ */ o("span", { className: "sr-only", children: "More pages" })
979
860
  ] });
980
- Dt.displayName = "PaginationEllipsis";
981
- const er = z.Root, ar = z.Trigger, Mt = s.forwardRef(
982
- ({ className: e, align: a = "center", sideOffset: t = 4, ...n }, i) => /* @__PURE__ */ o(z.Portal, { children: /* @__PURE__ */ o(
983
- z.Content,
861
+ ct.displayName = "PaginationEllipsis";
862
+ const ko = P.Root, zo = P.Trigger, mt = s.forwardRef(
863
+ ({ className: e, align: a = "center", sideOffset: t = 4, ...n }, i) => /* @__PURE__ */ o(P.Portal, { children: /* @__PURE__ */ o(
864
+ P.Content,
984
865
  {
985
866
  ref: i,
986
867
  align: a,
@@ -993,24 +874,24 @@ const er = z.Root, ar = z.Trigger, Mt = s.forwardRef(
993
874
  }
994
875
  ) })
995
876
  );
996
- Mt.displayName = z.Content.displayName;
997
- const Ft = s.forwardRef(
998
- ({ className: e, value: a, indeterminate: t = !1, ...n }, i) => /* @__PURE__ */ o(H.Root, { ref: i, className: r("relative h-4 w-full overflow-hidden rounded-full bg-secondary", e), ...n, children: /* @__PURE__ */ o(
999
- H.Indicator,
877
+ mt.displayName = P.Content.displayName;
878
+ const ut = s.forwardRef(
879
+ ({ className: e, value: a, indeterminate: t = !1, ...n }, i) => /* @__PURE__ */ o(O.Root, { ref: i, className: r("relative h-4 w-full overflow-hidden rounded-full bg-secondary", e), ...n, children: /* @__PURE__ */ o(
880
+ O.Indicator,
1000
881
  {
1001
882
  className: r("h-full w-full flex-1 bg-primary transition-all", t && "animate-progress origin-left"),
1002
883
  style: t ? void 0 : { transform: `translateX(-${(100 - (a ?? 0)).toString()}%)` }
1003
884
  }
1004
885
  ) })
1005
886
  );
1006
- Ft.displayName = H.Root.displayName;
1007
- const At = s.forwardRef(
1008
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(D.Root, { className: r("grid gap-2", e), ...a, ref: t })
887
+ ut.displayName = O.Root.displayName;
888
+ const ft = s.forwardRef(
889
+ ({ className: e, ...a }, t) => /* @__PURE__ */ o(k.Root, { className: r("grid gap-2", e), ...a, ref: t })
1009
890
  );
1010
- At.displayName = D.Root.displayName;
1011
- const Lt = s.forwardRef(
891
+ ft.displayName = k.Root.displayName;
892
+ const pt = s.forwardRef(
1012
893
  ({ className: e, ...a }, t) => /* @__PURE__ */ o(
1013
- D.Item,
894
+ k.Item,
1014
895
  {
1015
896
  ref: t,
1016
897
  className: r(
@@ -1018,21 +899,21 @@ const Lt = s.forwardRef(
1018
899
  e
1019
900
  ),
1020
901
  ...a,
1021
- children: /* @__PURE__ */ o(D.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ o(E, { className: "h-2.5 w-2.5 fill-current text-current" }) })
902
+ children: /* @__PURE__ */ o(k.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ o(V, { className: "h-2.5 w-2.5 fill-current text-current" }) })
1022
903
  }
1023
904
  )
1024
905
  );
1025
- Lt.displayName = D.Item.displayName;
1026
- const jt = s.forwardRef(
1027
- ({ className: e, children: a, ...t }, n) => /* @__PURE__ */ d(R.Root, { ref: n, className: r("relative overflow-hidden", e), ...t, children: [
1028
- /* @__PURE__ */ o(R.Viewport, { className: "h-full w-full rounded-[inherit]", children: a }),
1029
- /* @__PURE__ */ o(le, {}),
1030
- /* @__PURE__ */ o(R.Corner, {})
906
+ pt.displayName = k.Item.displayName;
907
+ const gt = s.forwardRef(
908
+ ({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(h.Root, { ref: n, className: r("relative overflow-hidden", e), ...t, children: [
909
+ /* @__PURE__ */ o(h.Viewport, { className: "h-full w-full rounded-[inherit]", children: a }),
910
+ /* @__PURE__ */ o(re, {}),
911
+ /* @__PURE__ */ o(h.Corner, {})
1031
912
  ] })
1032
913
  );
1033
- jt.displayName = R.Root.displayName;
1034
- const le = s.forwardRef(({ className: e, orientation: a = "vertical", ...t }, n) => /* @__PURE__ */ o(
1035
- R.ScrollAreaScrollbar,
914
+ gt.displayName = h.Root.displayName;
915
+ const re = s.forwardRef(({ className: e, orientation: a = "vertical", ...t }, n) => /* @__PURE__ */ o(
916
+ h.ScrollAreaScrollbar,
1036
917
  {
1037
918
  ref: n,
1038
919
  orientation: a,
@@ -1043,13 +924,13 @@ const le = s.forwardRef(({ className: e, orientation: a = "vertical", ...t }, n)
1043
924
  e
1044
925
  ),
1045
926
  ...t,
1046
- children: /* @__PURE__ */ o(R.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
927
+ children: /* @__PURE__ */ o(h.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
1047
928
  }
1048
929
  ));
1049
- le.displayName = R.ScrollAreaScrollbar.displayName;
1050
- const _t = s.forwardRef(
930
+ re.displayName = h.ScrollAreaScrollbar.displayName;
931
+ const bt = s.forwardRef(
1051
932
  ({ className: e, orientation: a = "horizontal", decorative: t = !0, ...n }, i) => /* @__PURE__ */ o(
1052
- U.Root,
933
+ J.Root,
1053
934
  {
1054
935
  ref: i,
1055
936
  decorative: t,
@@ -1059,33 +940,33 @@ const _t = s.forwardRef(
1059
940
  }
1060
941
  )
1061
942
  );
1062
- _t.displayName = U.Root.displayName;
1063
- const Gt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("div", { className: "relative w-full max-w-full overflow-auto", children: /* @__PURE__ */ o("table", { ref: t, className: r("w-full caption-bottom text-sm", e), ...a }) }));
1064
- Gt.displayName = "SimpleTable";
1065
- const Bt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("thead", { ref: t, className: r("[&_tr]:border-b", e), ...a }));
1066
- Bt.displayName = "SimpleTableHeader";
1067
- const Ot = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("tbody", { ref: t, className: r("[&_tr:last-child]:border-0", e), ...a }));
1068
- Ot.displayName = "SimpleTableBody";
1069
- const Ht = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("tfoot", { ref: t, className: r("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", e), ...a }));
1070
- Ht.displayName = "SimpleTableFooter";
1071
- const Vt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("tr", { ref: t, className: r("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", e), ...a }));
1072
- Vt.displayName = "SimpleTableRow";
1073
- const Et = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("th", { ref: t, className: r("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", e), ...a }));
1074
- Et.displayName = "SimpleTableHead";
1075
- const $t = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("td", { ref: t, className: r("p-4 align-middle [&:has([role=checkbox])]:pr-0", e), ...a }));
1076
- $t.displayName = "SimpleTableCell";
1077
- const qt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("caption", { ref: t, className: r("mt-4 text-sm text-muted-foreground", e), ...a }));
1078
- qt.displayName = "SimpleTableCaption";
1079
- const Kt = s.forwardRef(
1080
- ({ className: e, ...a }, t) => /* @__PURE__ */ d(P.Root, { ref: t, className: r("relative flex w-full touch-none select-none items-center", e), ...a, children: [
1081
- /* @__PURE__ */ o(P.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ o(P.Range, { className: "absolute h-full bg-primary" }) }),
1082
- /* @__PURE__ */ o(P.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
943
+ bt.displayName = J.Root.displayName;
944
+ const Nt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("div", { className: "relative w-full max-w-full overflow-auto", children: /* @__PURE__ */ o("table", { ref: t, className: r("w-full caption-bottom text-sm", e), ...a }) }));
945
+ Nt.displayName = "SimpleTable";
946
+ const xt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("thead", { ref: t, className: r("[&_tr]:border-b", e), ...a }));
947
+ xt.displayName = "SimpleTableHeader";
948
+ const yt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("tbody", { ref: t, className: r("[&_tr:last-child]:border-0", e), ...a }));
949
+ yt.displayName = "SimpleTableBody";
950
+ const vt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("tfoot", { ref: t, className: r("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", e), ...a }));
951
+ vt.displayName = "SimpleTableFooter";
952
+ const ht = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("tr", { ref: t, className: r("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", e), ...a }));
953
+ ht.displayName = "SimpleTableRow";
954
+ const wt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("th", { ref: t, className: r("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", e), ...a }));
955
+ wt.displayName = "SimpleTableHead";
956
+ const Rt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("td", { ref: t, className: r("p-4 align-middle [&:has([role=checkbox])]:pr-0", e), ...a }));
957
+ Rt.displayName = "SimpleTableCell";
958
+ const Ct = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("caption", { ref: t, className: r("mt-4 text-sm text-muted-foreground", e), ...a }));
959
+ Ct.displayName = "SimpleTableCaption";
960
+ const It = s.forwardRef(
961
+ ({ className: e, ...a }, t) => /* @__PURE__ */ u(T.Root, { ref: t, className: r("relative flex w-full touch-none select-none items-center", e), ...a, children: [
962
+ /* @__PURE__ */ o(T.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ o(T.Range, { className: "absolute h-full bg-primary" }) }),
963
+ /* @__PURE__ */ o(T.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
1083
964
  ] })
1084
965
  );
1085
- Kt.displayName = P.Root.displayName;
1086
- const Xt = s.forwardRef(
966
+ It.displayName = T.Root.displayName;
967
+ const St = s.forwardRef(
1087
968
  ({ className: e, ...a }, t) => /* @__PURE__ */ o(
1088
- V.Root,
969
+ H.Root,
1089
970
  {
1090
971
  className: r(
1091
972
  "peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
@@ -1094,7 +975,7 @@ const Xt = s.forwardRef(
1094
975
  ...a,
1095
976
  ref: t,
1096
977
  children: /* @__PURE__ */ o(
1097
- V.Thumb,
978
+ H.Thumb,
1098
979
  {
1099
980
  className: r(
1100
981
  "pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
@@ -1104,19 +985,19 @@ const Xt = s.forwardRef(
1104
985
  }
1105
986
  )
1106
987
  );
1107
- Xt.displayName = V.Root.displayName;
1108
- const tr = k.Root, Jt = s.forwardRef(
988
+ St.displayName = H.Root.displayName;
989
+ const Mo = R.Root, Tt = s.forwardRef(
1109
990
  ({ className: e, style: a, ...t }, n) => {
1110
- const i = s.useRef(null), c = s.useCallback(
1111
- (h) => {
1112
- i.current = h, typeof n == "function" ? n(h) : n && (n.current = h);
991
+ const i = s.useRef(null), d = s.useCallback(
992
+ (x) => {
993
+ i.current = x, typeof n == "function" ? n(x) : n && (n.current = x);
1113
994
  },
1114
995
  [n]
1115
- ), p = _e(i);
996
+ ), p = ze(i);
1116
997
  return /* @__PURE__ */ o(
1117
- k.List,
998
+ R.List,
1118
999
  {
1119
- ref: c,
1000
+ ref: d,
1120
1001
  style: { ...a, ...p },
1121
1002
  className: r(
1122
1003
  // Les onglets qui ne tiennent pas dans la largeur défilent dans la liste au lieu d'élargir
@@ -1132,10 +1013,10 @@ const tr = k.Root, Jt = s.forwardRef(
1132
1013
  );
1133
1014
  }
1134
1015
  );
1135
- Jt.displayName = k.List.displayName;
1136
- const Qt = s.forwardRef(
1016
+ Tt.displayName = R.List.displayName;
1017
+ const Pt = s.forwardRef(
1137
1018
  ({ className: e, ...a }, t) => /* @__PURE__ */ o(
1138
- k.Trigger,
1019
+ R.Trigger,
1139
1020
  {
1140
1021
  ref: t,
1141
1022
  className: r(
@@ -1146,10 +1027,10 @@ const Qt = s.forwardRef(
1146
1027
  }
1147
1028
  )
1148
1029
  );
1149
- Qt.displayName = k.Trigger.displayName;
1150
- const Wt = s.forwardRef(
1030
+ Pt.displayName = R.Trigger.displayName;
1031
+ const kt = s.forwardRef(
1151
1032
  ({ className: e, ...a }, t) => /* @__PURE__ */ o(
1152
- k.Content,
1033
+ R.Content,
1153
1034
  {
1154
1035
  ref: t,
1155
1036
  className: r(
@@ -1160,8 +1041,8 @@ const Wt = s.forwardRef(
1160
1041
  }
1161
1042
  )
1162
1043
  );
1163
- Wt.displayName = k.Content.displayName;
1164
- const Ut = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
1044
+ kt.displayName = R.Content.displayName;
1045
+ const zt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
1165
1046
  "textarea",
1166
1047
  {
1167
1048
  className: r(
@@ -1172,10 +1053,10 @@ const Ut = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
1172
1053
  ...a
1173
1054
  }
1174
1055
  ));
1175
- Ut.displayName = "Textarea";
1176
- const or = y.Provider, Yt = s.forwardRef(
1056
+ zt.displayName = "Textarea";
1057
+ const Do = N.Provider, Mt = s.forwardRef(
1177
1058
  ({ className: e, ...a }, t) => /* @__PURE__ */ o(
1178
- y.Viewport,
1059
+ N.Viewport,
1179
1060
  {
1180
1061
  ref: t,
1181
1062
  className: r(
@@ -1186,8 +1067,8 @@ const or = y.Provider, Yt = s.forwardRef(
1186
1067
  }
1187
1068
  )
1188
1069
  );
1189
- Yt.displayName = y.Viewport.displayName;
1190
- const Zt = M(
1070
+ Mt.displayName = N.Viewport.displayName;
1071
+ const Dt = z(
1191
1072
  "group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-surface border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
1192
1073
  {
1193
1074
  variants: {
@@ -1200,11 +1081,11 @@ const Zt = M(
1200
1081
  variant: "default"
1201
1082
  }
1202
1083
  }
1203
- ), eo = s.forwardRef(({ className: e, variant: a, ...t }, n) => /* @__PURE__ */ o(y.Root, { ref: n, className: r(Zt({ variant: a }), e), ...t }));
1204
- eo.displayName = y.Root.displayName;
1205
- const ao = s.forwardRef(
1084
+ ), At = s.forwardRef(({ className: e, variant: a, ...t }, n) => /* @__PURE__ */ o(N.Root, { ref: n, className: r(Dt({ variant: a }), e), ...t }));
1085
+ At.displayName = N.Root.displayName;
1086
+ const Ft = s.forwardRef(
1206
1087
  ({ className: e, ...a }, t) => /* @__PURE__ */ o(
1207
- y.Action,
1088
+ N.Action,
1208
1089
  {
1209
1090
  ref: t,
1210
1091
  className: r(
@@ -1215,10 +1096,10 @@ const ao = s.forwardRef(
1215
1096
  }
1216
1097
  )
1217
1098
  );
1218
- ao.displayName = y.Action.displayName;
1219
- const to = s.forwardRef(
1099
+ Ft.displayName = N.Action.displayName;
1100
+ const jt = s.forwardRef(
1220
1101
  ({ className: e, ...a }, t) => /* @__PURE__ */ o(
1221
- y.Close,
1102
+ N.Close,
1222
1103
  {
1223
1104
  ref: t,
1224
1105
  className: r(
@@ -1227,18 +1108,18 @@ const to = s.forwardRef(
1227
1108
  ),
1228
1109
  "toast-close": "",
1229
1110
  ...a,
1230
- children: /* @__PURE__ */ o(Te, { className: "size-4" })
1111
+ children: /* @__PURE__ */ o(he, { className: "size-4" })
1231
1112
  }
1232
1113
  )
1233
1114
  );
1234
- to.displayName = y.Close.displayName;
1235
- const oo = s.forwardRef(
1236
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(y.Title, { ref: t, className: r("text-sm font-semibold", e), ...a })
1115
+ jt.displayName = N.Close.displayName;
1116
+ const Lt = s.forwardRef(
1117
+ ({ className: e, ...a }, t) => /* @__PURE__ */ o(N.Title, { ref: t, className: r("text-sm font-semibold", e), ...a })
1237
1118
  );
1238
- oo.displayName = y.Title.displayName;
1239
- const ro = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(y.Description, { ref: t, className: r("text-sm opacity-90", e), ...a }));
1240
- ro.displayName = y.Description.displayName;
1241
- const ce = M(
1119
+ Lt.displayName = N.Title.displayName;
1120
+ const Gt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(N.Description, { ref: t, className: r("text-sm opacity-90", e), ...a }));
1121
+ Gt.displayName = N.Description.displayName;
1122
+ const se = z(
1242
1123
  "inline-flex items-center justify-center rounded-control text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
1243
1124
  {
1244
1125
  variants: {
@@ -1257,21 +1138,21 @@ const ce = M(
1257
1138
  size: "default"
1258
1139
  }
1259
1140
  }
1260
- ), so = s.forwardRef(({ className: e, variant: a, size: t, ...n }, i) => /* @__PURE__ */ o(Y.Root, { ref: i, className: r(ce({ variant: a, size: t, className: e })), ...n }));
1261
- so.displayName = Y.Root.displayName;
1262
- const me = s.createContext({
1141
+ ), Bt = s.forwardRef(({ className: e, variant: a, size: t, ...n }, i) => /* @__PURE__ */ o(Q.Root, { ref: i, className: r(se({ variant: a, size: t, className: e })), ...n }));
1142
+ Bt.displayName = Q.Root.displayName;
1143
+ const ne = s.createContext({
1263
1144
  size: "default",
1264
1145
  variant: "default"
1265
- }), no = s.forwardRef(({ className: e, variant: a, size: t, children: n, ...i }, c) => /* @__PURE__ */ o(L.Root, { ref: c, className: r("flex items-center justify-center gap-1", e), ...i, children: /* @__PURE__ */ o(me.Provider, { value: { variant: a, size: t }, children: n }) }));
1266
- no.displayName = L.Root.displayName;
1267
- const io = s.forwardRef(({ className: e, children: a, variant: t, size: n, ...i }, c) => {
1268
- const p = s.useContext(me);
1146
+ }), Ot = s.forwardRef(({ className: e, variant: a, size: t, children: n, ...i }, d) => /* @__PURE__ */ o(A.Root, { ref: d, className: r("flex items-center justify-center gap-1", e), ...i, children: /* @__PURE__ */ o(ne.Provider, { value: { variant: a, size: t }, children: n }) }));
1147
+ Ot.displayName = A.Root.displayName;
1148
+ const Ht = s.forwardRef(({ className: e, children: a, variant: t, size: n, ...i }, d) => {
1149
+ const p = s.useContext(ne);
1269
1150
  return /* @__PURE__ */ o(
1270
- L.Item,
1151
+ A.Item,
1271
1152
  {
1272
- ref: c,
1153
+ ref: d,
1273
1154
  className: r(
1274
- ce({
1155
+ se({
1275
1156
  variant: p.variant || t,
1276
1157
  size: p.size || n
1277
1158
  }),
@@ -1282,180 +1163,161 @@ const io = s.forwardRef(({ className: e, children: a, variant: t, size: n, ...i
1282
1163
  }
1283
1164
  );
1284
1165
  });
1285
- io.displayName = L.Item.displayName;
1166
+ Ht.displayName = A.Item.displayName;
1286
1167
  export {
1287
- Pa as $,
1288
- wo as A,
1289
- ko as B,
1290
- aa as C,
1291
- fa as D,
1292
- ta as E,
1293
- ea as F,
1294
- oa as G,
1295
- ra as H,
1296
- na as I,
1297
- ia as J,
1298
- da as K,
1299
- la as L,
1300
- ma as M,
1301
- ca as N,
1302
- ua as O,
1303
- Ft as P,
1304
- oe as Q,
1305
- To as R,
1306
- wa as S,
1307
- Ra as T,
1308
- ha as U,
1309
- ka as V,
1310
- va as W,
1311
- Ca as X,
1312
- Ia as Y,
1313
- Po as Z,
1314
- Da as _,
1315
- So as a,
1316
- yt as a$,
1317
- Do as a0,
1318
- za as a1,
1319
- Fa as a2,
1320
- Mo as a3,
1321
- Ao as a4,
1322
- Ma as a5,
1323
- Aa as a6,
1324
- La as a7,
1325
- Fo as a8,
1326
- Ta as a9,
1327
- Go as aA,
1328
- Eo as aB,
1329
- at as aC,
1330
- tt as aD,
1331
- $o as aE,
1332
- Za as aF,
1333
- et as aG,
1334
- ot as aH,
1335
- qo as aI,
1336
- rt as aJ,
1337
- Ko as aK,
1338
- st as aL,
1339
- nt as aM,
1340
- dt as aN,
1341
- it as aO,
1342
- se as aP,
1343
- lt as aQ,
1344
- gt as aR,
1345
- ft as aS,
1346
- Jo as aT,
1347
- pt as aU,
1348
- Nt as aV,
1349
- Xo as aW,
1350
- Qo as aX,
1351
- Uo as aY,
1352
- bt as aZ,
1353
- xt as a_,
1354
- Sa as aa,
1355
- zo as ab,
1356
- ja as ac,
1357
- jo as ad,
1358
- Ga as ae,
1359
- Va as af,
1360
- Oa as ag,
1361
- Ba as ah,
1362
- re as ai,
1363
- _a as aj,
1364
- Ha as ak,
1365
- Lo as al,
1366
- _o as am,
1367
- Xa as an,
1368
- qa as ao,
1369
- Bo as ap,
1370
- Ka as aq,
1371
- Qa as ar,
1372
- Oo as as,
1373
- Vo as at,
1374
- Ja as au,
1375
- Wa as av,
1376
- Ua as aw,
1377
- Ho as ax,
1378
- $a as ay,
1379
- Ea as az,
1380
- te as b,
1381
- Wo as b0,
1382
- ut as b1,
1383
- mt as b2,
1384
- ct as b3,
1385
- ht as b4,
1386
- Ct as b5,
1387
- kt as b6,
1388
- Yo as b7,
1389
- Zo as b8,
1390
- vt as b9,
1391
- Xt as bA,
1392
- tr as bB,
1393
- Wt as bC,
1394
- Jt as bD,
1395
- Qt as bE,
1396
- Ut as bF,
1397
- eo as bG,
1398
- ao as bH,
1399
- to as bI,
1400
- ro as bJ,
1401
- or as bK,
1402
- oo as bL,
1403
- Yt as bM,
1404
- so as bN,
1405
- no as bO,
1406
- io as bP,
1407
- Ye as bQ,
1408
- wt as bR,
1409
- ce as bS,
1410
- _ as bT,
1411
- Rt as ba,
1412
- de as bb,
1413
- It as bc,
1414
- St as bd,
1415
- Dt as be,
1416
- Tt as bf,
1417
- $ as bg,
1418
- zt as bh,
1419
- Pt as bi,
1420
- er as bj,
1421
- Mt as bk,
1422
- ar as bl,
1423
- At as bm,
1424
- Lt as bn,
1425
- jt as bo,
1426
- le as bp,
1427
- _t as bq,
1428
- Gt as br,
1429
- Ot as bs,
1430
- qt as bt,
1431
- $t as bu,
1432
- Ht as bv,
1433
- Et as bw,
1434
- Bt as bx,
1435
- Vt as by,
1436
- Kt as bz,
1437
- ya as c,
1438
- Na as d,
1439
- ba as e,
1440
- ae as f,
1441
- pa as g,
1442
- xa as h,
1443
- Io as i,
1444
- Oe as j,
1445
- Ge as k,
1446
- Be as l,
1447
- Ro as m,
1448
- Xe as n,
1449
- Je as o,
1450
- Ve as p,
1451
- Ke as q,
1452
- $e as r,
1453
- Ee as s,
1454
- qe as t,
1455
- Co as u,
1456
- Qe as v,
1457
- Ue as w,
1458
- We as x,
1459
- Ze as y,
1460
- sa as z
1168
+ Z as $,
1169
+ Zt as A,
1170
+ to as B,
1171
+ Ze as C,
1172
+ oa as D,
1173
+ sa as E,
1174
+ oo as F,
1175
+ ca as G,
1176
+ la as H,
1177
+ so as I,
1178
+ da as J,
1179
+ ua as K,
1180
+ no as L,
1181
+ lo as M,
1182
+ ma as N,
1183
+ fa as O,
1184
+ ut as P,
1185
+ pa as Q,
1186
+ io as R,
1187
+ ia as S,
1188
+ na as T,
1189
+ ro as U,
1190
+ ga as V,
1191
+ mo as W,
1192
+ Na as X,
1193
+ ha as Y,
1194
+ ya as Z,
1195
+ xa as _,
1196
+ Ae as a,
1197
+ lt as a$,
1198
+ ba as a0,
1199
+ va as a1,
1200
+ co as a2,
1201
+ uo as a3,
1202
+ Sa as a4,
1203
+ Ca as a5,
1204
+ po as a6,
1205
+ Ia as a7,
1206
+ Pa as a8,
1207
+ go as a9,
1208
+ Ro as aA,
1209
+ Xa as aB,
1210
+ Qa as aC,
1211
+ wo as aD,
1212
+ Co as aE,
1213
+ So as aF,
1214
+ Ja as aG,
1215
+ Ua as aH,
1216
+ Ya as aI,
1217
+ Io as aJ,
1218
+ qa as aK,
1219
+ $a as aL,
1220
+ Ea as aM,
1221
+ Za as aN,
1222
+ ot as aO,
1223
+ rt as aP,
1224
+ To as aQ,
1225
+ Po as aR,
1226
+ et as aS,
1227
+ tt as aT,
1228
+ oe as aU,
1229
+ st as aV,
1230
+ nt as aW,
1231
+ ct as aX,
1232
+ it as aY,
1233
+ _ as aZ,
1234
+ dt as a_,
1235
+ No as aa,
1236
+ Ta as ab,
1237
+ ka as ac,
1238
+ za as ad,
1239
+ bo as ae,
1240
+ Ra as af,
1241
+ wa as ag,
1242
+ fo as ah,
1243
+ xo as ai,
1244
+ Fa as aj,
1245
+ ja as ak,
1246
+ yo as al,
1247
+ Da as am,
1248
+ Aa as an,
1249
+ La as ao,
1250
+ vo as ap,
1251
+ Ga as aq,
1252
+ ho as ar,
1253
+ Ba as as,
1254
+ Oa as at,
1255
+ Va as au,
1256
+ Ha as av,
1257
+ ee as aw,
1258
+ _a as ax,
1259
+ Wa as ay,
1260
+ Ka as az,
1261
+ Me as b,
1262
+ ko as b0,
1263
+ mt as b1,
1264
+ zo as b2,
1265
+ ft as b3,
1266
+ pt as b4,
1267
+ gt as b5,
1268
+ re as b6,
1269
+ bt as b7,
1270
+ Nt as b8,
1271
+ yt as b9,
1272
+ j as bA,
1273
+ Ct as ba,
1274
+ Rt as bb,
1275
+ vt as bc,
1276
+ wt as bd,
1277
+ xt as be,
1278
+ ht as bf,
1279
+ It as bg,
1280
+ St as bh,
1281
+ Mo as bi,
1282
+ kt as bj,
1283
+ Tt as bk,
1284
+ Pt as bl,
1285
+ zt as bm,
1286
+ At as bn,
1287
+ Ft as bo,
1288
+ jt as bp,
1289
+ Gt as bq,
1290
+ Do as br,
1291
+ Lt as bs,
1292
+ Mt as bt,
1293
+ Bt as bu,
1294
+ Ot as bv,
1295
+ Ht as bw,
1296
+ qe as bx,
1297
+ at as by,
1298
+ se as bz,
1299
+ De as c,
1300
+ eo as d,
1301
+ He as e,
1302
+ Ve as f,
1303
+ je as g,
1304
+ Oe as h,
1305
+ Ge as i,
1306
+ Le as j,
1307
+ Be as k,
1308
+ ao as l,
1309
+ _e as m,
1310
+ $e as n,
1311
+ Ee as o,
1312
+ Ke as p,
1313
+ Ye as q,
1314
+ We as r,
1315
+ Je as s,
1316
+ Xe as t,
1317
+ Qe as u,
1318
+ Ue as v,
1319
+ ea as w,
1320
+ aa as x,
1321
+ ta as y,
1322
+ ra as z
1461
1323
  };