@aotter/mantle-admin-ui 0.1.0-alpha.8 → 0.1.2-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/README.md +65 -3
  2. package/dist/assets/developer-workspace-Bq6mqyTQ.js +9 -0
  3. package/dist/assets/developer-workspace-DLioOiRN.css +1 -0
  4. package/dist/assets/html-editor-Cx82YO89.js +129 -0
  5. package/dist/assets/index-BDekiLgG.js +71 -0
  6. package/dist/assets/index-GjroVjQW.css +2 -0
  7. package/dist/assets/markdown-editor-DRkrrStR.js +29 -0
  8. package/dist/assets/with-selector-Dv-JskCB.js +1 -0
  9. package/dist/components/one-time-code-input.d.ts +4 -0
  10. package/dist/components/one-time-code-input.d.ts.map +1 -0
  11. package/dist/components/ui/alert-dialog.d.ts +19 -0
  12. package/dist/components/ui/alert-dialog.d.ts.map +1 -0
  13. package/dist/components/ui/avatar.d.ts +12 -0
  14. package/dist/components/ui/avatar.d.ts.map +1 -0
  15. package/dist/components/ui/badge.d.ts +10 -0
  16. package/dist/components/ui/badge.d.ts.map +1 -0
  17. package/dist/components/ui/breadcrumb.d.ts +13 -0
  18. package/dist/components/ui/breadcrumb.d.ts.map +1 -0
  19. package/dist/components/ui/button.d.ts +11 -0
  20. package/dist/components/ui/button.d.ts.map +1 -0
  21. package/dist/components/ui/calendar.d.ts +11 -0
  22. package/dist/components/ui/calendar.d.ts.map +1 -0
  23. package/dist/components/ui/card.d.ts +12 -0
  24. package/dist/components/ui/card.d.ts.map +1 -0
  25. package/dist/components/ui/checkbox.d.ts +5 -0
  26. package/dist/components/ui/checkbox.d.ts.map +1 -0
  27. package/dist/components/ui/collapsible.d.ts +6 -0
  28. package/dist/components/ui/collapsible.d.ts.map +1 -0
  29. package/dist/components/ui/dialog.d.ts +17 -0
  30. package/dist/components/ui/dialog.d.ts.map +1 -0
  31. package/dist/components/ui/dropdown-menu.d.ts +30 -0
  32. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  33. package/dist/components/ui/input-otp.d.ts +11 -0
  34. package/dist/components/ui/input-otp.d.ts.map +1 -0
  35. package/dist/components/ui/input.d.ts +4 -0
  36. package/dist/components/ui/input.d.ts.map +1 -0
  37. package/dist/components/ui/label.d.ts +5 -0
  38. package/dist/components/ui/label.d.ts.map +1 -0
  39. package/dist/components/ui/pagination.d.ts +19 -0
  40. package/dist/components/ui/pagination.d.ts.map +1 -0
  41. package/dist/components/ui/popover.d.ts +11 -0
  42. package/dist/components/ui/popover.d.ts.map +1 -0
  43. package/dist/components/ui/select.d.ts +16 -0
  44. package/dist/components/ui/select.d.ts.map +1 -0
  45. package/dist/components/ui/separator.d.ts +5 -0
  46. package/dist/components/ui/separator.d.ts.map +1 -0
  47. package/dist/components/ui/sheet.d.ts +16 -0
  48. package/dist/components/ui/sheet.d.ts.map +1 -0
  49. package/dist/components/ui/sidebar.d.ts +77 -0
  50. package/dist/components/ui/sidebar.d.ts.map +1 -0
  51. package/dist/components/ui/skeleton.d.ts +3 -0
  52. package/dist/components/ui/skeleton.d.ts.map +1 -0
  53. package/dist/components/ui/sonner.d.ts +4 -0
  54. package/dist/components/ui/sonner.d.ts.map +1 -0
  55. package/dist/components/ui/table.d.ts +11 -0
  56. package/dist/components/ui/table.d.ts.map +1 -0
  57. package/dist/components/ui/tabs.d.ts +12 -0
  58. package/dist/components/ui/tabs.d.ts.map +1 -0
  59. package/dist/components/ui/textarea.d.ts +4 -0
  60. package/dist/components/ui/textarea.d.ts.map +1 -0
  61. package/dist/components/ui/tooltip.d.ts +8 -0
  62. package/dist/components/ui/tooltip.d.ts.map +1 -0
  63. package/dist/favicon.svg +18 -2
  64. package/dist/hooks/use-mobile.d.ts +2 -0
  65. package/dist/hooks/use-mobile.d.ts.map +1 -0
  66. package/dist/index.html +4 -77
  67. package/dist/kit.css +3 -0
  68. package/dist/kit.d.ts +28 -0
  69. package/dist/kit.d.ts.map +1 -0
  70. package/dist/kit.js +1535 -0
  71. package/dist/lib/utils.d.ts +3 -0
  72. package/dist/lib/utils.d.ts.map +1 -0
  73. package/dist/preview.html +18 -0
  74. package/dist/r/auth-page.json +18 -0
  75. package/dist/r/registry.json +21 -0
  76. package/dist/server.js +1 -1
  77. package/dist/theme.js +64 -0
  78. package/dist/tokens.css +88 -0
  79. package/package.json +27 -10
  80. package/dist/assets/index-BZ7kdRYa.css +0 -2
  81. package/dist/assets/index-DiyKzLro.js +0 -54
package/dist/kit.js ADDED
@@ -0,0 +1,1535 @@
1
+ import { OTPInput as e, OTPInputContext as t, REGEXP_ONLY_DIGITS as n } from "input-otp";
2
+ import * as r from "react";
3
+ import { clsx as i } from "clsx";
4
+ import { twMerge as a } from "tailwind-merge";
5
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
6
+ import { AlertDialog as c, Avatar as l, Checkbox as u, Collapsible as d, Dialog as f, DropdownMenu as p, Label as m, Popover as h, Select as g, Separator as _, Slot as v, Tabs as y, Tooltip as b } from "radix-ui";
7
+ import { cva as x } from "class-variance-authority";
8
+ import { CheckIcon as S, ChevronDownIcon as C, ChevronLeftIcon as ee, ChevronRightIcon as w, ChevronUpIcon as te, CircleCheckIcon as ne, InfoIcon as re, Loader2Icon as ie, OctagonXIcon as ae, PanelLeftIcon as oe, TriangleAlertIcon as se, XIcon as T } from "lucide-react";
9
+ import { DayPicker as ce, getDefaultClassNames as le } from "react-day-picker";
10
+ import { Toaster as ue } from "sonner";
11
+ //#region src/lib/utils.ts
12
+ function E(...e) {
13
+ return a(i(e));
14
+ }
15
+ //#endregion
16
+ //#region src/components/ui/input-otp.tsx
17
+ function D({ className: t, containerClassName: n, ...r }) {
18
+ return /* @__PURE__ */ o(e, {
19
+ "data-slot": "input-otp",
20
+ containerClassName: E("flex items-center has-disabled:opacity-50", n),
21
+ spellCheck: !1,
22
+ className: E("disabled:cursor-not-allowed", t),
23
+ ...r
24
+ });
25
+ }
26
+ function O({ className: e, ...t }) {
27
+ return /* @__PURE__ */ o("div", {
28
+ "data-slot": "input-otp-group",
29
+ className: E("flex items-center rounded-lg has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40", e),
30
+ ...t
31
+ });
32
+ }
33
+ function k({ index: e, className: n, ...i }) {
34
+ let { char: a, hasFakeCaret: c, isActive: l } = r.useContext(t)?.slots[e] ?? {};
35
+ return /* @__PURE__ */ s("div", {
36
+ "data-slot": "input-otp-slot",
37
+ "data-active": l,
38
+ className: E("relative flex size-8 items-center justify-center border-y border-r border-input text-sm transition-all outline-none first:rounded-l-lg first:border-l last:rounded-r-lg aria-invalid:border-destructive data-[active=true]:z-10 data-[active=true]:border-ring data-[active=true]:ring-3 data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:border-destructive data-[active=true]:aria-invalid:ring-destructive/20 dark:bg-input/30 dark:data-[active=true]:aria-invalid:ring-destructive/40", n),
39
+ ...i,
40
+ children: [a, c ? /* @__PURE__ */ o("div", {
41
+ className: "pointer-events-none absolute inset-0 flex items-center justify-center",
42
+ children: /* @__PURE__ */ o("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" })
43
+ }) : null]
44
+ });
45
+ }
46
+ //#endregion
47
+ //#region src/components/one-time-code-input.tsx
48
+ function de(e) {
49
+ return /* @__PURE__ */ o(D, {
50
+ "aria-label": "One-time code",
51
+ containerClassName: "justify-center",
52
+ maxLength: 6,
53
+ minLength: 6,
54
+ pattern: n,
55
+ ...e,
56
+ children: /* @__PURE__ */ s(O, { children: [
57
+ /* @__PURE__ */ o(k, { index: 0 }),
58
+ /* @__PURE__ */ o(k, { index: 1 }),
59
+ /* @__PURE__ */ o(k, { index: 2 }),
60
+ /* @__PURE__ */ o(k, { index: 3 }),
61
+ /* @__PURE__ */ o(k, { index: 4 }),
62
+ /* @__PURE__ */ o(k, { index: 5 })
63
+ ] })
64
+ });
65
+ }
66
+ //#endregion
67
+ //#region src/components/ui/button.tsx
68
+ var A = x("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
69
+ variants: {
70
+ variant: {
71
+ default: "bg-primary text-primary-foreground hover:bg-primary/80",
72
+ outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
73
+ secondary: "bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
74
+ ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
75
+ destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
76
+ link: "text-primary underline-offset-4 hover:underline"
77
+ },
78
+ size: {
79
+ default: "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2",
80
+ xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&_svg:not([class*='size-'])]:size-3",
81
+ sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&_svg:not([class*='size-'])]:size-3.5",
82
+ lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2",
83
+ icon: "size-8",
84
+ "icon-xs": "size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",
85
+ "icon-sm": "size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg",
86
+ "icon-lg": "size-9"
87
+ }
88
+ },
89
+ defaultVariants: {
90
+ variant: "default",
91
+ size: "default"
92
+ }
93
+ });
94
+ function j({ className: e, variant: t = "default", size: n = "default", asChild: r = !1, ...i }) {
95
+ let a = r ? v.Root : "button";
96
+ return /* @__PURE__ */ o(a, {
97
+ "data-slot": "button",
98
+ "data-variant": t,
99
+ "data-size": n,
100
+ className: E(A({
101
+ variant: t,
102
+ size: n,
103
+ className: e
104
+ })),
105
+ ...i
106
+ });
107
+ }
108
+ //#endregion
109
+ //#region src/components/ui/alert-dialog.tsx
110
+ function fe({ ...e }) {
111
+ return /* @__PURE__ */ o(c.Root, {
112
+ "data-slot": "alert-dialog",
113
+ ...e
114
+ });
115
+ }
116
+ function pe({ ...e }) {
117
+ return /* @__PURE__ */ o(c.Trigger, {
118
+ "data-slot": "alert-dialog-trigger",
119
+ ...e
120
+ });
121
+ }
122
+ function M({ ...e }) {
123
+ return /* @__PURE__ */ o(c.Portal, {
124
+ "data-slot": "alert-dialog-portal",
125
+ ...e
126
+ });
127
+ }
128
+ function N({ className: e, ...t }) {
129
+ return /* @__PURE__ */ o(c.Overlay, {
130
+ "data-slot": "alert-dialog-overlay",
131
+ className: E("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", e),
132
+ ...t
133
+ });
134
+ }
135
+ function me({ className: e, size: t = "default", ...n }) {
136
+ return /* @__PURE__ */ s(M, { children: [/* @__PURE__ */ o(N, {}), /* @__PURE__ */ o(c.Content, {
137
+ "data-slot": "alert-dialog-content",
138
+ "data-size": t,
139
+ className: E("group/alert-dialog-content fixed top-1/2 start-1/2 z-50 grid w-full -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
140
+ ...n
141
+ })] });
142
+ }
143
+ function he({ className: e, ...t }) {
144
+ return /* @__PURE__ */ o("div", {
145
+ "data-slot": "alert-dialog-header",
146
+ className: E("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-start sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", e),
147
+ ...t
148
+ });
149
+ }
150
+ function ge({ className: e, ...t }) {
151
+ return /* @__PURE__ */ o("div", {
152
+ "data-slot": "alert-dialog-footer",
153
+ className: E("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", e),
154
+ ...t
155
+ });
156
+ }
157
+ function _e({ className: e, ...t }) {
158
+ return /* @__PURE__ */ o("div", {
159
+ "data-slot": "alert-dialog-media",
160
+ className: E("mb-2 inline-flex size-10 items-center justify-center rounded-md bg-muted sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-6", e),
161
+ ...t
162
+ });
163
+ }
164
+ function ve({ className: e, ...t }) {
165
+ return /* @__PURE__ */ o(c.Title, {
166
+ "data-slot": "alert-dialog-title",
167
+ className: E("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", e),
168
+ ...t
169
+ });
170
+ }
171
+ function ye({ className: e, ...t }) {
172
+ return /* @__PURE__ */ o(c.Description, {
173
+ "data-slot": "alert-dialog-description",
174
+ className: E("text-sm text-balance text-muted-foreground dark:text-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", e),
175
+ ...t
176
+ });
177
+ }
178
+ function be({ className: e, variant: t = "default", size: n = "default", ...r }) {
179
+ return /* @__PURE__ */ o(j, {
180
+ variant: t,
181
+ size: n,
182
+ asChild: !0,
183
+ children: /* @__PURE__ */ o(c.Action, {
184
+ "data-slot": "alert-dialog-action",
185
+ className: E(e),
186
+ ...r
187
+ })
188
+ });
189
+ }
190
+ function xe({ className: e, variant: t = "outline", size: n = "default", ...r }) {
191
+ return /* @__PURE__ */ o(j, {
192
+ variant: t,
193
+ size: n,
194
+ asChild: !0,
195
+ children: /* @__PURE__ */ o(c.Cancel, {
196
+ "data-slot": "alert-dialog-cancel",
197
+ className: E(e),
198
+ ...r
199
+ })
200
+ });
201
+ }
202
+ //#endregion
203
+ //#region src/components/ui/avatar.tsx
204
+ function Se({ className: e, size: t = "default", ...n }) {
205
+ return /* @__PURE__ */ o(l.Root, {
206
+ "data-slot": "avatar",
207
+ "data-size": t,
208
+ className: E("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten", e),
209
+ ...n
210
+ });
211
+ }
212
+ function Ce({ className: e, ...t }) {
213
+ return /* @__PURE__ */ o(l.Image, {
214
+ "data-slot": "avatar-image",
215
+ className: E("aspect-square size-full rounded-full object-cover", e),
216
+ ...t
217
+ });
218
+ }
219
+ function we({ className: e, ...t }) {
220
+ return /* @__PURE__ */ o(l.Fallback, {
221
+ "data-slot": "avatar-fallback",
222
+ className: E("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs", e),
223
+ ...t
224
+ });
225
+ }
226
+ function Te({ className: e, ...t }) {
227
+ return /* @__PURE__ */ o("span", {
228
+ "data-slot": "avatar-badge",
229
+ className: E("absolute end-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-primary text-primary-foreground bg-blend-color ring-2 ring-background select-none", "group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden", "group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2", "group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2", e),
230
+ ...t
231
+ });
232
+ }
233
+ function Ee({ className: e, ...t }) {
234
+ return /* @__PURE__ */ o("div", {
235
+ "data-slot": "avatar-group",
236
+ className: E("group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:ring-background", e),
237
+ ...t
238
+ });
239
+ }
240
+ function De({ className: e, ...t }) {
241
+ return /* @__PURE__ */ o("div", {
242
+ "data-slot": "avatar-group-count",
243
+ className: E("relative flex size-8 shrink-0 items-center justify-center rounded-full bg-muted text-sm text-muted-foreground ring-2 ring-background group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3", e),
244
+ ...t
245
+ });
246
+ }
247
+ //#endregion
248
+ //#region src/components/ui/badge.tsx
249
+ var P = x("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!", {
250
+ variants: { variant: {
251
+ default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
252
+ secondary: "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
253
+ destructive: "bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",
254
+ outline: "border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",
255
+ ghost: "hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",
256
+ link: "text-primary underline-offset-4 hover:underline"
257
+ } },
258
+ defaultVariants: { variant: "default" }
259
+ });
260
+ function Oe({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
261
+ let i = n ? v.Root : "span";
262
+ return /* @__PURE__ */ o(i, {
263
+ "data-slot": "badge",
264
+ "data-variant": t,
265
+ className: E(P({ variant: t }), e),
266
+ ...r
267
+ });
268
+ }
269
+ //#endregion
270
+ //#region src/components/ui/breadcrumb.tsx
271
+ function ke({ className: e, ...t }) {
272
+ return /* @__PURE__ */ o("nav", {
273
+ "data-slot": "breadcrumb",
274
+ className: E(e),
275
+ ...t
276
+ });
277
+ }
278
+ function Ae({ className: e, ...t }) {
279
+ return /* @__PURE__ */ o("ol", {
280
+ "data-slot": "breadcrumb-list",
281
+ className: E("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground", e),
282
+ ...t
283
+ });
284
+ }
285
+ function je({ className: e, ...t }) {
286
+ return /* @__PURE__ */ o("li", {
287
+ "data-slot": "breadcrumb-item",
288
+ className: E("inline-flex items-center gap-1", e),
289
+ ...t
290
+ });
291
+ }
292
+ function Me({ asChild: e, className: t, ...n }) {
293
+ let r = e ? v.Root : "a";
294
+ return /* @__PURE__ */ o(r, {
295
+ "data-slot": "breadcrumb-link",
296
+ className: E("transition-colors hover:text-foreground", t),
297
+ ...n
298
+ });
299
+ }
300
+ function Ne({ className: e, ...t }) {
301
+ return /* @__PURE__ */ o("span", {
302
+ "data-slot": "breadcrumb-page",
303
+ role: "link",
304
+ "aria-disabled": "true",
305
+ "aria-current": "page",
306
+ className: E("font-normal text-foreground", e),
307
+ ...t
308
+ });
309
+ }
310
+ function Pe({ children: e, className: t, ...n }) {
311
+ return /* @__PURE__ */ o("li", {
312
+ "data-slot": "breadcrumb-separator",
313
+ role: "presentation",
314
+ "aria-hidden": "true",
315
+ className: E("[&>svg]:size-3.5", t),
316
+ ...n,
317
+ children: e ?? /* @__PURE__ */ o(w, { className: "rtl:rotate-180" })
318
+ });
319
+ }
320
+ //#endregion
321
+ //#region src/components/ui/calendar.tsx
322
+ function Fe({ className: e, classNames: t, showOutsideDays: n = !0, captionLayout: r = "label", buttonVariant: i = "ghost", locale: a, formatters: s, components: c, ...l }) {
323
+ let u = le();
324
+ return /* @__PURE__ */ o(ce, {
325
+ showOutsideDays: n,
326
+ className: E("group/calendar bg-background p-2 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(7)] in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, e),
327
+ captionLayout: r,
328
+ locale: a,
329
+ formatters: {
330
+ formatMonthDropdown: (e) => e.toLocaleString(a?.code, { month: "short" }),
331
+ ...s
332
+ },
333
+ classNames: {
334
+ root: E("w-fit", u.root),
335
+ months: E("relative flex flex-col gap-4 md:flex-row", u.months),
336
+ month: E("flex w-full flex-col gap-4", u.month),
337
+ nav: E("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1", u.nav),
338
+ button_previous: E(A({ variant: i }), "size-(--cell-size) p-0 select-none aria-disabled:opacity-50", u.button_previous),
339
+ button_next: E(A({ variant: i }), "size-(--cell-size) p-0 select-none aria-disabled:opacity-50", u.button_next),
340
+ month_caption: E("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)", u.month_caption),
341
+ dropdowns: E("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium", u.dropdowns),
342
+ dropdown_root: E("relative rounded-(--cell-radius)", u.dropdown_root),
343
+ dropdown: E("absolute inset-0 bg-popover opacity-0", u.dropdown),
344
+ caption_label: E("font-medium select-none", r === "label" ? "text-sm" : "flex items-center gap-1 rounded-(--cell-radius) text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground", u.caption_label),
345
+ month_grid: E("w-full border-collapse", u.month_grid),
346
+ weekdays: E("flex", u.weekdays),
347
+ weekday: E("flex-1 rounded-(--cell-radius) text-[0.8rem] font-normal text-muted-foreground select-none", u.weekday),
348
+ week: E("mt-2 flex w-full", u.week),
349
+ week_number_header: E("w-(--cell-size) select-none", u.week_number_header),
350
+ week_number: E("text-[0.8rem] text-muted-foreground select-none", u.week_number),
351
+ day: E("group/day relative aspect-square h-full w-full rounded-(--cell-radius) p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-e-(--cell-radius)", l.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-s-(--cell-radius)" : "[&:first-child[data-selected=true]_button]:rounded-s-(--cell-radius)", u.day),
352
+ range_start: E("relative isolate z-0 rounded-s-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:end-0 after:w-4 after:bg-muted", u.range_start),
353
+ range_middle: E("rounded-none", u.range_middle),
354
+ range_end: E("relative isolate z-0 rounded-e-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:start-0 after:w-4 after:bg-muted", u.range_end),
355
+ today: E("rounded-(--cell-radius) bg-muted text-foreground data-[selected=true]:rounded-none", u.today),
356
+ outside: E("text-muted-foreground aria-selected:text-muted-foreground", u.outside),
357
+ disabled: E("text-muted-foreground opacity-50", u.disabled),
358
+ hidden: E("invisible", u.hidden),
359
+ ...t
360
+ },
361
+ components: {
362
+ Root: ({ className: e, rootRef: t, ...n }) => /* @__PURE__ */ o("div", {
363
+ "data-slot": "calendar",
364
+ ref: t,
365
+ className: E(e),
366
+ ...n
367
+ }),
368
+ Chevron: ({ className: e, orientation: t, ...n }) => t === "left" ? /* @__PURE__ */ o(ee, {
369
+ className: E("rtl:rotate-180 size-4", e),
370
+ ...n
371
+ }) : t === "right" ? /* @__PURE__ */ o(w, {
372
+ className: E("rtl:rotate-180 size-4", e),
373
+ ...n
374
+ }) : /* @__PURE__ */ o(C, {
375
+ className: E("size-4", e),
376
+ ...n
377
+ }),
378
+ DayButton: ({ ...e }) => /* @__PURE__ */ o(F, {
379
+ locale: a,
380
+ ...e
381
+ }),
382
+ WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ o("td", {
383
+ ...t,
384
+ children: /* @__PURE__ */ o("div", {
385
+ className: "flex size-(--cell-size) items-center justify-center text-center",
386
+ children: e
387
+ })
388
+ }),
389
+ ...c
390
+ },
391
+ ...l
392
+ });
393
+ }
394
+ function F({ className: e, day: t, modifiers: n, locale: i, ...a }) {
395
+ let s = le(), c = r.useRef(null);
396
+ return r.useEffect(() => {
397
+ n.focused && c.current?.focus();
398
+ }, [n.focused]), /* @__PURE__ */ o(j, {
399
+ ref: c,
400
+ variant: "ghost",
401
+ size: "icon",
402
+ "data-day": t.date.toLocaleDateString(i?.code),
403
+ "data-selected-single": n.selected && !n.range_start && !n.range_end && !n.range_middle,
404
+ "data-range-start": n.range_start,
405
+ "data-range-end": n.range_end,
406
+ "data-range-middle": n.range_middle,
407
+ className: E("relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-e-(--cell-radius) data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-s-(--cell-radius) data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-foreground [&>span]:text-xs [&>span]:opacity-70", s.day, e),
408
+ ...a
409
+ });
410
+ }
411
+ //#endregion
412
+ //#region src/components/ui/card.tsx
413
+ function Ie({ className: e, size: t = "default", ...n }) {
414
+ return /* @__PURE__ */ o("div", {
415
+ "data-slot": "card",
416
+ "data-size": t,
417
+ className: E("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", e),
418
+ ...n
419
+ });
420
+ }
421
+ function Le({ className: e, ...t }) {
422
+ return /* @__PURE__ */ o("div", {
423
+ "data-slot": "card-header",
424
+ className: E("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)", e),
425
+ ...t
426
+ });
427
+ }
428
+ function Re({ className: e, ...t }) {
429
+ return /* @__PURE__ */ o("div", {
430
+ "data-slot": "card-title",
431
+ className: E("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm", e),
432
+ ...t
433
+ });
434
+ }
435
+ function ze({ className: e, ...t }) {
436
+ return /* @__PURE__ */ o("div", {
437
+ "data-slot": "card-description",
438
+ className: E("text-sm text-muted-foreground dark:text-foreground", e),
439
+ ...t
440
+ });
441
+ }
442
+ function Be({ className: e, ...t }) {
443
+ return /* @__PURE__ */ o("div", {
444
+ "data-slot": "card-action",
445
+ className: E("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
446
+ ...t
447
+ });
448
+ }
449
+ function Ve({ className: e, ...t }) {
450
+ return /* @__PURE__ */ o("div", {
451
+ "data-slot": "card-content",
452
+ className: E("px-(--card-spacing)", e),
453
+ ...t
454
+ });
455
+ }
456
+ function He({ className: e, ...t }) {
457
+ return /* @__PURE__ */ o("div", {
458
+ "data-slot": "card-footer",
459
+ className: E("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)", e),
460
+ ...t
461
+ });
462
+ }
463
+ //#endregion
464
+ //#region src/components/ui/checkbox.tsx
465
+ function Ue({ className: e, ...t }) {
466
+ return /* @__PURE__ */ o(u.Root, {
467
+ "data-slot": "checkbox",
468
+ className: E("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary", e),
469
+ ...t,
470
+ children: /* @__PURE__ */ o(u.Indicator, {
471
+ "data-slot": "checkbox-indicator",
472
+ className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
473
+ children: /* @__PURE__ */ o(S, {})
474
+ })
475
+ });
476
+ }
477
+ //#endregion
478
+ //#region src/components/ui/collapsible.tsx
479
+ function We({ ...e }) {
480
+ return /* @__PURE__ */ o(d.Root, {
481
+ "data-slot": "collapsible",
482
+ ...e
483
+ });
484
+ }
485
+ function Ge({ ...e }) {
486
+ return /* @__PURE__ */ o(d.CollapsibleTrigger, {
487
+ "data-slot": "collapsible-trigger",
488
+ ...e
489
+ });
490
+ }
491
+ function Ke({ ...e }) {
492
+ return /* @__PURE__ */ o(d.CollapsibleContent, {
493
+ "data-slot": "collapsible-content",
494
+ ...e
495
+ });
496
+ }
497
+ //#endregion
498
+ //#region src/components/ui/dialog.tsx
499
+ function qe({ ...e }) {
500
+ return /* @__PURE__ */ o(f.Root, {
501
+ "data-slot": "dialog",
502
+ ...e
503
+ });
504
+ }
505
+ function Je({ ...e }) {
506
+ return /* @__PURE__ */ o(f.Trigger, {
507
+ "data-slot": "dialog-trigger",
508
+ ...e
509
+ });
510
+ }
511
+ function I({ ...e }) {
512
+ return /* @__PURE__ */ o(f.Portal, {
513
+ "data-slot": "dialog-portal",
514
+ ...e
515
+ });
516
+ }
517
+ function Ye({ ...e }) {
518
+ return /* @__PURE__ */ o(f.Close, {
519
+ "data-slot": "dialog-close",
520
+ ...e
521
+ });
522
+ }
523
+ function L({ className: e, ...t }) {
524
+ return /* @__PURE__ */ o(f.Overlay, {
525
+ "data-slot": "dialog-overlay",
526
+ className: E("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", e),
527
+ ...t
528
+ });
529
+ }
530
+ function Xe({ className: e, children: t, showCloseButton: n = !0, closeLabel: r, ...i }) {
531
+ return /* @__PURE__ */ s(I, { children: [/* @__PURE__ */ o(L, {}), /* @__PURE__ */ s(f.Content, {
532
+ "data-slot": "dialog-content",
533
+ className: E("fixed top-1/2 start-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
534
+ ...i,
535
+ children: [t, n && /* @__PURE__ */ o(f.Close, {
536
+ "data-slot": "dialog-close",
537
+ asChild: !0,
538
+ children: /* @__PURE__ */ s(j, {
539
+ variant: "ghost",
540
+ className: "absolute top-2 end-2",
541
+ size: "icon-sm",
542
+ children: [/* @__PURE__ */ o(T, {}), /* @__PURE__ */ o("span", {
543
+ className: "sr-only",
544
+ children: r
545
+ })]
546
+ })
547
+ })]
548
+ })] });
549
+ }
550
+ function Ze({ className: e, ...t }) {
551
+ return /* @__PURE__ */ o("div", {
552
+ "data-slot": "dialog-header",
553
+ className: E("flex flex-col gap-2", e),
554
+ ...t
555
+ });
556
+ }
557
+ function Qe({ className: e, children: t, ...n }) {
558
+ return /* @__PURE__ */ o("div", {
559
+ "data-slot": "dialog-footer",
560
+ className: E("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end", e),
561
+ ...n,
562
+ children: t
563
+ });
564
+ }
565
+ function $e({ className: e, ...t }) {
566
+ return /* @__PURE__ */ o(f.Title, {
567
+ "data-slot": "dialog-title",
568
+ className: E("font-heading text-base leading-none font-medium", e),
569
+ ...t
570
+ });
571
+ }
572
+ function et({ className: e, ...t }) {
573
+ return /* @__PURE__ */ o(f.Description, {
574
+ "data-slot": "dialog-description",
575
+ className: E("text-sm text-muted-foreground dark:text-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", e),
576
+ ...t
577
+ });
578
+ }
579
+ //#endregion
580
+ //#region src/components/ui/dropdown-menu.tsx
581
+ function tt({ ...e }) {
582
+ return /* @__PURE__ */ o(p.Root, {
583
+ "data-slot": "dropdown-menu",
584
+ ...e
585
+ });
586
+ }
587
+ function nt({ ...e }) {
588
+ return /* @__PURE__ */ o(p.Portal, {
589
+ "data-slot": "dropdown-menu-portal",
590
+ ...e
591
+ });
592
+ }
593
+ function rt({ ...e }) {
594
+ return /* @__PURE__ */ o(p.Trigger, {
595
+ "data-slot": "dropdown-menu-trigger",
596
+ ...e
597
+ });
598
+ }
599
+ function it({ className: e, align: t = "start", sideOffset: n = 4, ...r }) {
600
+ return /* @__PURE__ */ o(p.Portal, { children: /* @__PURE__ */ o(p.Content, {
601
+ "data-slot": "dropdown-menu-content",
602
+ sideOffset: n,
603
+ align: t,
604
+ className: E("z-50 max-h-(--radix-dropdown-menu-content-available-height) w-(--radix-dropdown-menu-trigger-width) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:overflow-hidden data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
605
+ ...r
606
+ }) });
607
+ }
608
+ function at({ ...e }) {
609
+ return /* @__PURE__ */ o(p.Group, {
610
+ "data-slot": "dropdown-menu-group",
611
+ ...e
612
+ });
613
+ }
614
+ function ot({ className: e, inset: t, variant: n = "default", ...r }) {
615
+ return /* @__PURE__ */ o(p.Item, {
616
+ "data-slot": "dropdown-menu-item",
617
+ "data-inset": t,
618
+ "data-variant": n,
619
+ className: E("group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:ps-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive", e),
620
+ ...r
621
+ });
622
+ }
623
+ function st({ className: e, children: t, checked: n, inset: r, ...i }) {
624
+ return /* @__PURE__ */ s(p.CheckboxItem, {
625
+ "data-slot": "dropdown-menu-checkbox-item",
626
+ "data-inset": r,
627
+ className: E("relative flex cursor-default items-center gap-1.5 rounded-md py-1 pe-8 ps-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:ps-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
628
+ checked: n,
629
+ ...i,
630
+ children: [/* @__PURE__ */ o("span", {
631
+ className: "pointer-events-none absolute end-2 flex items-center justify-center",
632
+ "data-slot": "dropdown-menu-checkbox-item-indicator",
633
+ children: /* @__PURE__ */ o(p.ItemIndicator, { children: /* @__PURE__ */ o(S, {}) })
634
+ }), t]
635
+ });
636
+ }
637
+ function ct({ ...e }) {
638
+ return /* @__PURE__ */ o(p.RadioGroup, {
639
+ "data-slot": "dropdown-menu-radio-group",
640
+ ...e
641
+ });
642
+ }
643
+ function lt({ className: e, children: t, inset: n, ...r }) {
644
+ return /* @__PURE__ */ s(p.RadioItem, {
645
+ "data-slot": "dropdown-menu-radio-item",
646
+ "data-inset": n,
647
+ className: E("relative flex cursor-default items-center gap-1.5 rounded-md py-1 pe-8 ps-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:ps-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
648
+ ...r,
649
+ children: [/* @__PURE__ */ o("span", {
650
+ className: "pointer-events-none absolute end-2 flex items-center justify-center",
651
+ "data-slot": "dropdown-menu-radio-item-indicator",
652
+ children: /* @__PURE__ */ o(p.ItemIndicator, { children: /* @__PURE__ */ o(S, {}) })
653
+ }), t]
654
+ });
655
+ }
656
+ function ut({ className: e, inset: t, ...n }) {
657
+ return /* @__PURE__ */ o(p.Label, {
658
+ "data-slot": "dropdown-menu-label",
659
+ "data-inset": t,
660
+ className: E("px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:ps-7", e),
661
+ ...n
662
+ });
663
+ }
664
+ function dt({ className: e, ...t }) {
665
+ return /* @__PURE__ */ o(p.Separator, {
666
+ "data-slot": "dropdown-menu-separator",
667
+ className: E("-mx-1 my-1 h-px bg-border", e),
668
+ ...t
669
+ });
670
+ }
671
+ function ft({ className: e, ...t }) {
672
+ return /* @__PURE__ */ o("span", {
673
+ "data-slot": "dropdown-menu-shortcut",
674
+ className: E("ms-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground", e),
675
+ ...t
676
+ });
677
+ }
678
+ function pt({ ...e }) {
679
+ return /* @__PURE__ */ o(p.Sub, {
680
+ "data-slot": "dropdown-menu-sub",
681
+ ...e
682
+ });
683
+ }
684
+ function mt({ className: e, inset: t, children: n, ...r }) {
685
+ return /* @__PURE__ */ s(p.SubTrigger, {
686
+ "data-slot": "dropdown-menu-sub-trigger",
687
+ "data-inset": t,
688
+ className: E("flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:ps-7 data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
689
+ ...r,
690
+ children: [n, /* @__PURE__ */ o(w, { className: "rtl:rotate-180 ms-auto" })]
691
+ });
692
+ }
693
+ function ht({ className: e, ...t }) {
694
+ return /* @__PURE__ */ o(p.SubContent, {
695
+ "data-slot": "dropdown-menu-sub-content",
696
+ className: E("z-50 min-w-[96px] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-lg bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
697
+ ...t
698
+ });
699
+ }
700
+ //#endregion
701
+ //#region src/components/ui/input.tsx
702
+ function R({ className: e, type: t, ...n }) {
703
+ return /* @__PURE__ */ o("input", {
704
+ type: t,
705
+ "data-slot": "input",
706
+ className: E("h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground/70 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", e),
707
+ ...n
708
+ });
709
+ }
710
+ //#endregion
711
+ //#region src/components/ui/label.tsx
712
+ function gt({ className: e, ...t }) {
713
+ return /* @__PURE__ */ o(m.Root, {
714
+ "data-slot": "label",
715
+ className: E("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
716
+ ...t
717
+ });
718
+ }
719
+ //#endregion
720
+ //#region src/components/ui/pagination.tsx
721
+ function _t({ className: e, ...t }) {
722
+ return /* @__PURE__ */ o("nav", {
723
+ role: "navigation",
724
+ "data-slot": "pagination",
725
+ className: E("mx-auto flex w-full justify-center", e),
726
+ ...t
727
+ });
728
+ }
729
+ function vt({ className: e, ...t }) {
730
+ return /* @__PURE__ */ o("ul", {
731
+ "data-slot": "pagination-content",
732
+ className: E("flex items-center gap-0.5", e),
733
+ ...t
734
+ });
735
+ }
736
+ function yt({ ...e }) {
737
+ return /* @__PURE__ */ o("li", {
738
+ "data-slot": "pagination-item",
739
+ ...e
740
+ });
741
+ }
742
+ function z({ className: e, isActive: t, size: n = "icon", ...r }) {
743
+ return /* @__PURE__ */ o(j, {
744
+ asChild: !0,
745
+ variant: t ? "outline" : "ghost",
746
+ size: n,
747
+ className: E(e),
748
+ children: /* @__PURE__ */ o("a", {
749
+ "aria-current": t ? "page" : void 0,
750
+ "data-slot": "pagination-link",
751
+ "data-active": t,
752
+ ...r
753
+ })
754
+ });
755
+ }
756
+ function bt({ className: e, text: t, ...n }) {
757
+ return /* @__PURE__ */ s(z, {
758
+ size: "default",
759
+ className: E("ps-1.5!", e),
760
+ ...n,
761
+ children: [/* @__PURE__ */ o(ee, {
762
+ "data-icon": "inline-start",
763
+ className: "rtl:rotate-180"
764
+ }), /* @__PURE__ */ o("span", {
765
+ className: "hidden sm:block",
766
+ children: t
767
+ })]
768
+ });
769
+ }
770
+ function xt({ className: e, text: t, ...n }) {
771
+ return /* @__PURE__ */ s(z, {
772
+ size: "default",
773
+ className: E("pe-1.5!", e),
774
+ ...n,
775
+ children: [/* @__PURE__ */ o("span", {
776
+ className: "hidden sm:block",
777
+ children: t
778
+ }), /* @__PURE__ */ o(w, {
779
+ "data-icon": "inline-end",
780
+ className: "rtl:rotate-180"
781
+ })]
782
+ });
783
+ }
784
+ //#endregion
785
+ //#region src/components/ui/popover.tsx
786
+ function St({ ...e }) {
787
+ return /* @__PURE__ */ o(h.Root, {
788
+ "data-slot": "popover",
789
+ ...e
790
+ });
791
+ }
792
+ function Ct({ ...e }) {
793
+ return /* @__PURE__ */ o(h.Trigger, {
794
+ "data-slot": "popover-trigger",
795
+ ...e
796
+ });
797
+ }
798
+ function wt({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
799
+ return /* @__PURE__ */ o(h.Portal, { children: /* @__PURE__ */ o(h.Content, {
800
+ "data-slot": "popover-content",
801
+ align: t,
802
+ sideOffset: n,
803
+ className: E("z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
804
+ ...r
805
+ }) });
806
+ }
807
+ function Tt({ ...e }) {
808
+ return /* @__PURE__ */ o(h.Anchor, {
809
+ "data-slot": "popover-anchor",
810
+ ...e
811
+ });
812
+ }
813
+ function Et({ className: e, ...t }) {
814
+ return /* @__PURE__ */ o("div", {
815
+ "data-slot": "popover-header",
816
+ className: E("flex flex-col gap-0.5 text-sm", e),
817
+ ...t
818
+ });
819
+ }
820
+ function Dt({ className: e, ...t }) {
821
+ return /* @__PURE__ */ o("div", {
822
+ "data-slot": "popover-title",
823
+ className: E("font-medium", e),
824
+ ...t
825
+ });
826
+ }
827
+ function Ot({ className: e, ...t }) {
828
+ return /* @__PURE__ */ o("p", {
829
+ "data-slot": "popover-description",
830
+ className: E("text-muted-foreground", e),
831
+ ...t
832
+ });
833
+ }
834
+ //#endregion
835
+ //#region src/components/ui/select.tsx
836
+ function kt({ ...e }) {
837
+ return /* @__PURE__ */ o(g.Root, {
838
+ "data-slot": "select",
839
+ ...e
840
+ });
841
+ }
842
+ function At({ className: e, ...t }) {
843
+ return /* @__PURE__ */ o(g.Group, {
844
+ "data-slot": "select-group",
845
+ className: E("scroll-my-1 p-1", e),
846
+ ...t
847
+ });
848
+ }
849
+ function jt({ ...e }) {
850
+ return /* @__PURE__ */ o(g.Value, {
851
+ "data-slot": "select-value",
852
+ ...e
853
+ });
854
+ }
855
+ function Mt({ className: e, size: t = "default", children: n, ...r }) {
856
+ return /* @__PURE__ */ s(g.Trigger, {
857
+ "data-slot": "select-trigger",
858
+ "data-size": t,
859
+ className: E("flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pe-2 ps-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground/70 data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
860
+ ...r,
861
+ children: [n, /* @__PURE__ */ o(g.Icon, {
862
+ asChild: !0,
863
+ children: /* @__PURE__ */ o(C, { className: "pointer-events-none size-4 text-muted-foreground" })
864
+ })]
865
+ });
866
+ }
867
+ function Nt({ className: e, children: t, position: n = "item-aligned", align: r = "center", ...i }) {
868
+ return /* @__PURE__ */ o(g.Portal, { children: /* @__PURE__ */ s(g.Content, {
869
+ "data-slot": "select-content",
870
+ "data-align-trigger": n === "item-aligned",
871
+ className: E("relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 rtl:data-[side=left]:translate-x-1 data-[side=right]:translate-x-1 rtl:data-[side=right]:-translate-x-1 data-[side=top]:-translate-y-1", e),
872
+ position: n,
873
+ align: r,
874
+ ...i,
875
+ children: [
876
+ /* @__PURE__ */ o(B, {}),
877
+ /* @__PURE__ */ o(g.Viewport, {
878
+ "data-position": n,
879
+ className: E("data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)", n === "popper" && ""),
880
+ children: t
881
+ }),
882
+ /* @__PURE__ */ o(V, {})
883
+ ]
884
+ }) });
885
+ }
886
+ function Pt({ className: e, ...t }) {
887
+ return /* @__PURE__ */ o(g.Label, {
888
+ "data-slot": "select-label",
889
+ className: E("px-1.5 py-1 text-xs text-muted-foreground", e),
890
+ ...t
891
+ });
892
+ }
893
+ function Ft({ className: e, children: t, ...n }) {
894
+ return /* @__PURE__ */ s(g.Item, {
895
+ "data-slot": "select-item",
896
+ className: E("relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pe-8 ps-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", e),
897
+ ...n,
898
+ children: [/* @__PURE__ */ o("span", {
899
+ className: "pointer-events-none absolute end-2 flex size-4 items-center justify-center",
900
+ children: /* @__PURE__ */ o(g.ItemIndicator, { children: /* @__PURE__ */ o(S, { className: "pointer-events-none" }) })
901
+ }), /* @__PURE__ */ o(g.ItemText, { children: t })]
902
+ });
903
+ }
904
+ function It({ className: e, ...t }) {
905
+ return /* @__PURE__ */ o(g.Separator, {
906
+ "data-slot": "select-separator",
907
+ className: E("pointer-events-none -mx-1 my-1 h-px bg-border", e),
908
+ ...t
909
+ });
910
+ }
911
+ function B({ className: e, ...t }) {
912
+ return /* @__PURE__ */ o(g.ScrollUpButton, {
913
+ "data-slot": "select-scroll-up-button",
914
+ className: E("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
915
+ ...t,
916
+ children: /* @__PURE__ */ o(te, {})
917
+ });
918
+ }
919
+ function V({ className: e, ...t }) {
920
+ return /* @__PURE__ */ o(g.ScrollDownButton, {
921
+ "data-slot": "select-scroll-down-button",
922
+ className: E("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
923
+ ...t,
924
+ children: /* @__PURE__ */ o(C, {})
925
+ });
926
+ }
927
+ //#endregion
928
+ //#region src/components/ui/separator.tsx
929
+ function H({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }) {
930
+ return /* @__PURE__ */ o(_.Root, {
931
+ "data-slot": "separator",
932
+ decorative: n,
933
+ orientation: t,
934
+ className: E("shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch", e),
935
+ ...r
936
+ });
937
+ }
938
+ //#endregion
939
+ //#region src/components/ui/sheet.tsx
940
+ function U({ ...e }) {
941
+ return /* @__PURE__ */ o(f.Root, {
942
+ "data-slot": "sheet",
943
+ ...e
944
+ });
945
+ }
946
+ function Lt({ ...e }) {
947
+ return /* @__PURE__ */ o(f.Trigger, {
948
+ "data-slot": "sheet-trigger",
949
+ ...e
950
+ });
951
+ }
952
+ function Rt({ ...e }) {
953
+ return /* @__PURE__ */ o(f.Close, {
954
+ "data-slot": "sheet-close",
955
+ ...e
956
+ });
957
+ }
958
+ function zt({ ...e }) {
959
+ return /* @__PURE__ */ o(f.Portal, {
960
+ "data-slot": "sheet-portal",
961
+ ...e
962
+ });
963
+ }
964
+ function Bt({ className: e, ...t }) {
965
+ return /* @__PURE__ */ o(f.Overlay, {
966
+ "data-slot": "sheet-overlay",
967
+ className: E("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", e),
968
+ ...t
969
+ });
970
+ }
971
+ function W({ className: e, children: t, side: n = "right", showCloseButton: r = !0, closeLabel: i, ...a }) {
972
+ return /* @__PURE__ */ s(zt, { children: [/* @__PURE__ */ o(Bt, {}), /* @__PURE__ */ s(f.Content, {
973
+ "data-slot": "sheet-content",
974
+ "data-side": n,
975
+ className: E("fixed z-50 flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-e data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-s data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-[side=bottom]:data-open:slide-in-from-bottom-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:animate-out data-closed:fade-out-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=right]:data-closed:slide-out-to-right-10 data-[side=top]:data-closed:slide-out-to-top-10", e),
976
+ ...a,
977
+ children: [t, r && /* @__PURE__ */ o(f.Close, {
978
+ "data-slot": "sheet-close",
979
+ asChild: !0,
980
+ children: /* @__PURE__ */ s(j, {
981
+ variant: "ghost",
982
+ className: "absolute top-3 end-3",
983
+ size: "icon-sm",
984
+ children: [/* @__PURE__ */ o(T, {}), /* @__PURE__ */ o("span", {
985
+ className: "sr-only",
986
+ children: i
987
+ })]
988
+ })
989
+ })]
990
+ })] });
991
+ }
992
+ function G({ className: e, ...t }) {
993
+ return /* @__PURE__ */ o("div", {
994
+ "data-slot": "sheet-header",
995
+ className: E("flex flex-col gap-0.5 p-4", e),
996
+ ...t
997
+ });
998
+ }
999
+ function Vt({ className: e, ...t }) {
1000
+ return /* @__PURE__ */ o("div", {
1001
+ "data-slot": "sheet-footer",
1002
+ className: E("mt-auto flex flex-col gap-2 p-4", e),
1003
+ ...t
1004
+ });
1005
+ }
1006
+ function K({ className: e, ...t }) {
1007
+ return /* @__PURE__ */ o(f.Title, {
1008
+ "data-slot": "sheet-title",
1009
+ className: E("font-heading text-base font-medium text-foreground", e),
1010
+ ...t
1011
+ });
1012
+ }
1013
+ function q({ className: e, ...t }) {
1014
+ return /* @__PURE__ */ o(f.Description, {
1015
+ "data-slot": "sheet-description",
1016
+ className: E("text-sm text-muted-foreground", e),
1017
+ ...t
1018
+ });
1019
+ }
1020
+ //#endregion
1021
+ //#region src/hooks/use-mobile.ts
1022
+ var J = 768;
1023
+ function Ht() {
1024
+ let [e, t] = r.useState(void 0);
1025
+ return r.useEffect(() => {
1026
+ let e = window.matchMedia("(max-width: 767px)"), n = () => {
1027
+ t(window.innerWidth < J);
1028
+ };
1029
+ return e.addEventListener("change", n), t(window.innerWidth < J), () => e.removeEventListener("change", n);
1030
+ }, []), !!e;
1031
+ }
1032
+ //#endregion
1033
+ //#region src/components/ui/skeleton.tsx
1034
+ function Y({ className: e, ...t }) {
1035
+ return /* @__PURE__ */ o("div", {
1036
+ "data-slot": "skeleton",
1037
+ className: E("animate-pulse rounded-md bg-muted", e),
1038
+ ...t
1039
+ });
1040
+ }
1041
+ //#endregion
1042
+ //#region src/components/ui/tooltip.tsx
1043
+ function Ut({ delayDuration: e = 0, ...t }) {
1044
+ return /* @__PURE__ */ o(b.Provider, {
1045
+ "data-slot": "tooltip-provider",
1046
+ delayDuration: e,
1047
+ ...t
1048
+ });
1049
+ }
1050
+ function X({ ...e }) {
1051
+ return /* @__PURE__ */ o(b.Root, {
1052
+ "data-slot": "tooltip",
1053
+ ...e
1054
+ });
1055
+ }
1056
+ function Z({ ...e }) {
1057
+ return /* @__PURE__ */ o(b.Trigger, {
1058
+ "data-slot": "tooltip-trigger",
1059
+ ...e
1060
+ });
1061
+ }
1062
+ function Q({ className: e, sideOffset: t = 0, children: n, ...r }) {
1063
+ return /* @__PURE__ */ o(b.Portal, { children: /* @__PURE__ */ s(b.Content, {
1064
+ "data-slot": "tooltip-content",
1065
+ sideOffset: t,
1066
+ className: E("z-50 inline-flex w-fit max-w-xs origin-(--radix-tooltip-content-transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pe-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
1067
+ ...r,
1068
+ children: [n, /* @__PURE__ */ o(b.Arrow, { className: "z-50 fill-foreground" })]
1069
+ }) });
1070
+ }
1071
+ //#endregion
1072
+ //#region src/components/ui/sidebar.tsx
1073
+ var Wt = "sidebar_state", Gt = 604800, Kt = "16rem", qt = "18rem", Jt = "3rem", Yt = "b", Xt = r.createContext(null);
1074
+ function $() {
1075
+ let e = r.useContext(Xt);
1076
+ if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
1077
+ return e;
1078
+ }
1079
+ function Zt({ defaultOpen: e = !0, open: t, onOpenChange: n, className: i, style: a, children: s, ...c }) {
1080
+ let l = Ht(), [u, d] = r.useState(!1), [f, p] = r.useState(e), m = t ?? f, h = r.useCallback((e) => {
1081
+ let t = typeof e == "function" ? e(m) : e;
1082
+ n ? n(t) : p(t), document.cookie = `${Wt}=${t}; path=/; max-age=${Gt}`;
1083
+ }, [n, m]), g = r.useCallback(() => l ? d((e) => !e) : h((e) => !e), [
1084
+ l,
1085
+ h,
1086
+ d
1087
+ ]);
1088
+ r.useEffect(() => {
1089
+ let e = (e) => {
1090
+ e.key === Yt && (e.metaKey || e.ctrlKey) && (e.preventDefault(), g());
1091
+ };
1092
+ return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
1093
+ }, [g]);
1094
+ let _ = m ? "expanded" : "collapsed", v = r.useMemo(() => ({
1095
+ state: _,
1096
+ open: m,
1097
+ setOpen: h,
1098
+ isMobile: l,
1099
+ openMobile: u,
1100
+ setOpenMobile: d,
1101
+ toggleSidebar: g
1102
+ }), [
1103
+ _,
1104
+ m,
1105
+ h,
1106
+ l,
1107
+ u,
1108
+ d,
1109
+ g
1110
+ ]);
1111
+ return /* @__PURE__ */ o(Xt.Provider, {
1112
+ value: v,
1113
+ children: /* @__PURE__ */ o("div", {
1114
+ "data-slot": "sidebar-wrapper",
1115
+ style: {
1116
+ "--sidebar-width": Kt,
1117
+ "--sidebar-width-icon": Jt,
1118
+ ...a
1119
+ },
1120
+ className: E("group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar", i),
1121
+ ...c,
1122
+ children: s
1123
+ })
1124
+ });
1125
+ }
1126
+ function Qt({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: a, mobileTitle: c, mobileDescription: l, closeLabel: u, ...d }) {
1127
+ let { isMobile: f, state: p, openMobile: m, setOpenMobile: h } = $();
1128
+ return n === "none" ? /* @__PURE__ */ o("div", {
1129
+ "data-slot": "sidebar",
1130
+ className: E("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground", r),
1131
+ ...d,
1132
+ children: i
1133
+ }) : f ? /* @__PURE__ */ o(U, {
1134
+ open: m,
1135
+ onOpenChange: h,
1136
+ ...d,
1137
+ children: /* @__PURE__ */ s(W, {
1138
+ dir: a,
1139
+ "data-sidebar": "sidebar",
1140
+ "data-slot": "sidebar",
1141
+ "data-mobile": "true",
1142
+ className: "w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",
1143
+ style: { "--sidebar-width": qt },
1144
+ side: e,
1145
+ closeLabel: u,
1146
+ children: [/* @__PURE__ */ s(G, {
1147
+ className: "sr-only",
1148
+ children: [/* @__PURE__ */ o(K, { children: c }), /* @__PURE__ */ o(q, { children: l })]
1149
+ }), /* @__PURE__ */ o("div", {
1150
+ className: "flex h-full w-full flex-col",
1151
+ children: i
1152
+ })]
1153
+ })
1154
+ }) : /* @__PURE__ */ s("div", {
1155
+ className: "group peer hidden text-sidebar-foreground md:block",
1156
+ "data-state": p,
1157
+ "data-collapsible": p === "collapsed" ? n : "",
1158
+ "data-variant": t,
1159
+ "data-side": e,
1160
+ "data-slot": "sidebar",
1161
+ children: [/* @__PURE__ */ o("div", {
1162
+ "data-slot": "sidebar-gap",
1163
+ className: E("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear", "group-data-[collapsible=offcanvas]:w-0", "group-data-[side=right]:rotate-180", t === "floating" || t === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)")
1164
+ }), /* @__PURE__ */ o("div", {
1165
+ "data-slot": "sidebar-container",
1166
+ "data-side": e,
1167
+ className: E("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex", t === "floating" || t === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-e group-data-[side=right]:border-s", r),
1168
+ ...d,
1169
+ children: /* @__PURE__ */ o("div", {
1170
+ "data-sidebar": "sidebar",
1171
+ "data-slot": "sidebar-inner",
1172
+ className: "flex size-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border",
1173
+ children: i
1174
+ })
1175
+ })]
1176
+ });
1177
+ }
1178
+ function $t({ className: e, onClick: t, "aria-label": n, ...r }) {
1179
+ let { toggleSidebar: i } = $();
1180
+ return /* @__PURE__ */ o(j, {
1181
+ "data-sidebar": "trigger",
1182
+ "data-slot": "sidebar-trigger",
1183
+ variant: "ghost",
1184
+ size: "icon-sm",
1185
+ "aria-label": n,
1186
+ className: E(e),
1187
+ onClick: (e) => {
1188
+ t?.(e), i();
1189
+ },
1190
+ ...r,
1191
+ children: /* @__PURE__ */ o(oe, { className: "rtl:rotate-180" })
1192
+ });
1193
+ }
1194
+ function en({ className: e, "aria-label": t, ...n }) {
1195
+ let { toggleSidebar: r } = $();
1196
+ return /* @__PURE__ */ o("button", {
1197
+ "data-sidebar": "rail",
1198
+ "data-slot": "sidebar-rail",
1199
+ "aria-label": t,
1200
+ tabIndex: -1,
1201
+ onClick: r,
1202
+ title: t,
1203
+ className: E("absolute inset-y-0 z-20 hidden w-4 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:start-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex ltr:-translate-x-1/2 rtl:-translate-x-1/2", "in-data-[side=left]:cursor-w-resize rtl:in-data-[side=left]:cursor-e-resize in-data-[side=right]:cursor-e-resize rtl:in-data-[side=right]:cursor-w-resize", "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize rtl:[[data-side=left][data-state=collapsed]_&]:cursor-w-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize rtl:[[data-side=right][data-state=collapsed]_&]:cursor-e-resize", "group-data-[collapsible=offcanvas]:translate-x-0 rtl:group-data-[collapsible=offcanvas]:-translate-x-0 group-data-[collapsible=offcanvas]:after:start-full hover:group-data-[collapsible=offcanvas]:bg-sidebar", "[[data-side=left][data-collapsible=offcanvas]_&]:-end-2", "[[data-side=right][data-collapsible=offcanvas]_&]:-start-2", e),
1204
+ ...n
1205
+ });
1206
+ }
1207
+ function tn({ className: e, ...t }) {
1208
+ return /* @__PURE__ */ o("main", {
1209
+ "data-slot": "sidebar-inset",
1210
+ className: E("relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ms-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ms-2", e),
1211
+ ...t
1212
+ });
1213
+ }
1214
+ function nn({ className: e, ...t }) {
1215
+ return /* @__PURE__ */ o(R, {
1216
+ "data-slot": "sidebar-input",
1217
+ "data-sidebar": "input",
1218
+ className: E("h-8 w-full bg-background shadow-none", e),
1219
+ ...t
1220
+ });
1221
+ }
1222
+ function rn({ className: e, ...t }) {
1223
+ return /* @__PURE__ */ o("div", {
1224
+ "data-slot": "sidebar-header",
1225
+ "data-sidebar": "header",
1226
+ className: E("flex flex-col gap-2 p-2", e),
1227
+ ...t
1228
+ });
1229
+ }
1230
+ function an({ className: e, ...t }) {
1231
+ return /* @__PURE__ */ o("div", {
1232
+ "data-slot": "sidebar-footer",
1233
+ "data-sidebar": "footer",
1234
+ className: E("flex flex-col gap-2 p-2", e),
1235
+ ...t
1236
+ });
1237
+ }
1238
+ function on({ className: e, ...t }) {
1239
+ return /* @__PURE__ */ o(H, {
1240
+ "data-slot": "sidebar-separator",
1241
+ "data-sidebar": "separator",
1242
+ className: E("mx-2 w-auto bg-sidebar-border", e),
1243
+ ...t
1244
+ });
1245
+ }
1246
+ function sn({ className: e, ...t }) {
1247
+ return /* @__PURE__ */ o("div", {
1248
+ "data-slot": "sidebar-content",
1249
+ "data-sidebar": "content",
1250
+ className: E("no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden", e),
1251
+ ...t
1252
+ });
1253
+ }
1254
+ function cn({ className: e, ...t }) {
1255
+ return /* @__PURE__ */ o("div", {
1256
+ "data-slot": "sidebar-group",
1257
+ "data-sidebar": "group",
1258
+ className: E("relative flex w-full min-w-0 flex-col p-2", e),
1259
+ ...t
1260
+ });
1261
+ }
1262
+ function ln({ className: e, asChild: t = !1, ...n }) {
1263
+ let r = t ? v.Root : "div";
1264
+ return /* @__PURE__ */ o(r, {
1265
+ "data-slot": "sidebar-group-label",
1266
+ "data-sidebar": "group-label",
1267
+ className: E("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", e),
1268
+ ...n
1269
+ });
1270
+ }
1271
+ function un({ className: e, asChild: t = !1, ...n }) {
1272
+ let r = t ? v.Root : "button";
1273
+ return /* @__PURE__ */ o(r, {
1274
+ "data-slot": "sidebar-group-action",
1275
+ "data-sidebar": "group-action",
1276
+ className: E("absolute top-3.5 end-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0", e),
1277
+ ...n
1278
+ });
1279
+ }
1280
+ function dn({ className: e, ...t }) {
1281
+ return /* @__PURE__ */ o("div", {
1282
+ "data-slot": "sidebar-group-content",
1283
+ "data-sidebar": "group-content",
1284
+ className: E("w-full text-sm", e),
1285
+ ...t
1286
+ });
1287
+ }
1288
+ function fn({ className: e, ...t }) {
1289
+ return /* @__PURE__ */ o("ul", {
1290
+ "data-slot": "sidebar-menu",
1291
+ "data-sidebar": "menu",
1292
+ className: E("flex w-full min-w-0 flex-col gap-0", e),
1293
+ ...t
1294
+ });
1295
+ }
1296
+ function pn({ className: e, ...t }) {
1297
+ return /* @__PURE__ */ o("li", {
1298
+ "data-slot": "sidebar-menu-item",
1299
+ "data-sidebar": "menu-item",
1300
+ className: E("group/menu-item relative", e),
1301
+ ...t
1302
+ });
1303
+ }
1304
+ var mn = x("peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-start text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate", {
1305
+ variants: {
1306
+ variant: {
1307
+ default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
1308
+ outline: "bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)]"
1309
+ },
1310
+ size: {
1311
+ default: "h-8 text-sm",
1312
+ sm: "h-7 text-xs",
1313
+ lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!"
1314
+ }
1315
+ },
1316
+ defaultVariants: {
1317
+ variant: "default",
1318
+ size: "default"
1319
+ }
1320
+ });
1321
+ function hn({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: a, ...c }) {
1322
+ let l = e ? v.Root : "button", { isMobile: u, state: d } = $(), f = /* @__PURE__ */ o(l, {
1323
+ "data-slot": "sidebar-menu-button",
1324
+ "data-sidebar": "menu-button",
1325
+ "data-size": r,
1326
+ "data-active": t,
1327
+ className: E(mn({
1328
+ variant: n,
1329
+ size: r
1330
+ }), a),
1331
+ ...c
1332
+ });
1333
+ return i ? (typeof i == "string" && (i = { children: i }), /* @__PURE__ */ s(X, { children: [/* @__PURE__ */ o(Z, {
1334
+ asChild: !0,
1335
+ children: f
1336
+ }), /* @__PURE__ */ o(Q, {
1337
+ side: "right",
1338
+ align: "center",
1339
+ hidden: d !== "collapsed" || u,
1340
+ ...i
1341
+ })] })) : f;
1342
+ }
1343
+ function gn({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
1344
+ let i = t ? v.Root : "button";
1345
+ return /* @__PURE__ */ o(i, {
1346
+ "data-slot": "sidebar-menu-action",
1347
+ "data-sidebar": "menu-action",
1348
+ className: E("absolute top-1.5 end-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0", n && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-active/menu-button:text-sidebar-accent-foreground aria-expanded:opacity-100 md:opacity-0", e),
1349
+ ...r
1350
+ });
1351
+ }
1352
+ function _n({ className: e, ...t }) {
1353
+ return /* @__PURE__ */ o("div", {
1354
+ "data-slot": "sidebar-menu-badge",
1355
+ "data-sidebar": "menu-badge",
1356
+ className: E("pointer-events-none absolute end-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-accent-foreground", e),
1357
+ ...t
1358
+ });
1359
+ }
1360
+ function vn({ className: e, showIcon: t = !1, ...n }) {
1361
+ let [i] = r.useState(() => `${Math.floor(Math.random() * 40) + 50}%`);
1362
+ return /* @__PURE__ */ s("div", {
1363
+ "data-slot": "sidebar-menu-skeleton",
1364
+ "data-sidebar": "menu-skeleton",
1365
+ className: E("flex h-8 items-center gap-2 rounded-md px-2", e),
1366
+ ...n,
1367
+ children: [t && /* @__PURE__ */ o(Y, {
1368
+ className: "size-4 rounded-md",
1369
+ "data-sidebar": "menu-skeleton-icon"
1370
+ }), /* @__PURE__ */ o(Y, {
1371
+ className: "h-4 max-w-(--skeleton-width) flex-1",
1372
+ "data-sidebar": "menu-skeleton-text",
1373
+ style: { "--skeleton-width": i }
1374
+ })]
1375
+ });
1376
+ }
1377
+ function yn({ className: e, ...t }) {
1378
+ return /* @__PURE__ */ o("ul", {
1379
+ "data-slot": "sidebar-menu-sub",
1380
+ "data-sidebar": "menu-sub",
1381
+ className: E("mx-3.5 flex min-w-0 translate-x-px rtl:-translate-x-px flex-col gap-1 border-s border-sidebar-border px-2.5 py-0.5 group-data-[collapsible=icon]:hidden", e),
1382
+ ...t
1383
+ });
1384
+ }
1385
+ function bn({ className: e, ...t }) {
1386
+ return /* @__PURE__ */ o("li", {
1387
+ "data-slot": "sidebar-menu-sub-item",
1388
+ "data-sidebar": "menu-sub-item",
1389
+ className: E("group/menu-sub-item relative", e),
1390
+ ...t
1391
+ });
1392
+ }
1393
+ function xn({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
1394
+ let a = e ? v.Root : "a";
1395
+ return /* @__PURE__ */ o(a, {
1396
+ "data-slot": "sidebar-menu-sub-button",
1397
+ "data-sidebar": "menu-sub-button",
1398
+ "data-size": t,
1399
+ "data-active": n,
1400
+ className: E("flex h-7 min-w-0 -translate-x-px rtl:translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground ring-sidebar-ring outline-hidden group-data-[collapsible=icon]:hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[size=md]:text-sm data-[size=sm]:text-xs data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground", r),
1401
+ ...i
1402
+ });
1403
+ }
1404
+ //#endregion
1405
+ //#region src/components/ui/sonner.tsx
1406
+ var Sn = ({ ...e }) => /* @__PURE__ */ o(ue, {
1407
+ className: "toaster group",
1408
+ icons: {
1409
+ success: /* @__PURE__ */ o(ne, { className: "size-4" }),
1410
+ info: /* @__PURE__ */ o(re, { className: "size-4" }),
1411
+ warning: /* @__PURE__ */ o(se, { className: "size-4" }),
1412
+ error: /* @__PURE__ */ o(ae, { className: "size-4" }),
1413
+ loading: /* @__PURE__ */ o(ie, { className: "size-4 animate-spin" })
1414
+ },
1415
+ style: {
1416
+ "--normal-bg": "var(--popover)",
1417
+ "--normal-text": "var(--popover-foreground)",
1418
+ "--normal-border": "var(--border)",
1419
+ "--border-radius": "var(--radius)"
1420
+ },
1421
+ toastOptions: { classNames: { toast: "cn-toast" } },
1422
+ ...e
1423
+ });
1424
+ //#endregion
1425
+ //#region src/components/ui/table.tsx
1426
+ function Cn({ className: e, ...t }) {
1427
+ return /* @__PURE__ */ o("div", {
1428
+ "data-slot": "table-container",
1429
+ className: "relative w-full overflow-x-auto",
1430
+ children: /* @__PURE__ */ o("table", {
1431
+ "data-slot": "table",
1432
+ className: E("w-full caption-bottom text-sm", e),
1433
+ ...t
1434
+ })
1435
+ });
1436
+ }
1437
+ function wn({ className: e, ...t }) {
1438
+ return /* @__PURE__ */ o("thead", {
1439
+ "data-slot": "table-header",
1440
+ className: E("[&_tr]:border-b", e),
1441
+ ...t
1442
+ });
1443
+ }
1444
+ function Tn({ className: e, ...t }) {
1445
+ return /* @__PURE__ */ o("tbody", {
1446
+ "data-slot": "table-body",
1447
+ className: E("[&_tr:last-child]:border-0", e),
1448
+ ...t
1449
+ });
1450
+ }
1451
+ function En({ className: e, ...t }) {
1452
+ return /* @__PURE__ */ o("tfoot", {
1453
+ "data-slot": "table-footer",
1454
+ className: E("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
1455
+ ...t
1456
+ });
1457
+ }
1458
+ function Dn({ className: e, ...t }) {
1459
+ return /* @__PURE__ */ o("tr", {
1460
+ "data-slot": "table-row",
1461
+ className: E("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted", e),
1462
+ ...t
1463
+ });
1464
+ }
1465
+ function On({ className: e, ...t }) {
1466
+ return /* @__PURE__ */ o("th", {
1467
+ "data-slot": "table-head",
1468
+ className: E("h-10 px-2 text-start align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pe-0", e),
1469
+ ...t
1470
+ });
1471
+ }
1472
+ function kn({ className: e, ...t }) {
1473
+ return /* @__PURE__ */ o("td", {
1474
+ "data-slot": "table-cell",
1475
+ className: E("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pe-0", e),
1476
+ ...t
1477
+ });
1478
+ }
1479
+ function An({ className: e, ...t }) {
1480
+ return /* @__PURE__ */ o("caption", {
1481
+ "data-slot": "table-caption",
1482
+ className: E("mt-4 text-sm text-muted-foreground", e),
1483
+ ...t
1484
+ });
1485
+ }
1486
+ //#endregion
1487
+ //#region src/components/ui/tabs.tsx
1488
+ function jn({ className: e, orientation: t = "horizontal", ...n }) {
1489
+ return /* @__PURE__ */ o(y.Root, {
1490
+ "data-slot": "tabs",
1491
+ "data-orientation": t,
1492
+ className: E("group/tabs flex gap-2 data-horizontal:flex-col", e),
1493
+ ...n
1494
+ });
1495
+ }
1496
+ var Mn = x("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none", {
1497
+ variants: { variant: {
1498
+ default: "bg-muted",
1499
+ line: "gap-1 bg-transparent"
1500
+ } },
1501
+ defaultVariants: { variant: "default" }
1502
+ });
1503
+ function Nn({ className: e, variant: t = "default", ...n }) {
1504
+ return /* @__PURE__ */ o(y.List, {
1505
+ "data-slot": "tabs-list",
1506
+ "data-variant": t,
1507
+ className: E(Mn({ variant: t }), e),
1508
+ ...n
1509
+ });
1510
+ }
1511
+ function Pn({ className: e, ...t }) {
1512
+ return /* @__PURE__ */ o(y.Trigger, {
1513
+ "data-slot": "tabs-trigger",
1514
+ className: E("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 whitespace-nowrap rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium text-foreground/60 transition-all hover:text-foreground focus-visible:border-ring focus-visible:outline-1 focus-visible:outline-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 data-active:bg-background data-active:text-foreground group-data-[variant=line]/tabs-list:data-active:bg-transparent group-data-[variant=line]/tabs-list:data-active:shadow-none after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
1515
+ ...t
1516
+ });
1517
+ }
1518
+ function Fn({ className: e, ...t }) {
1519
+ return /* @__PURE__ */ o(y.Content, {
1520
+ "data-slot": "tabs-content",
1521
+ className: E("flex-1 text-sm outline-none", e),
1522
+ ...t
1523
+ });
1524
+ }
1525
+ //#endregion
1526
+ //#region src/components/ui/textarea.tsx
1527
+ function In({ className: e, ...t }) {
1528
+ return /* @__PURE__ */ o("textarea", {
1529
+ "data-slot": "textarea",
1530
+ className: E("flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground/70 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", e),
1531
+ ...t
1532
+ });
1533
+ }
1534
+ //#endregion
1535
+ export { fe as AlertDialog, be as AlertDialogAction, xe as AlertDialogCancel, me as AlertDialogContent, ye as AlertDialogDescription, ge as AlertDialogFooter, he as AlertDialogHeader, _e as AlertDialogMedia, N as AlertDialogOverlay, M as AlertDialogPortal, ve as AlertDialogTitle, pe as AlertDialogTrigger, Se as Avatar, Te as AvatarBadge, we as AvatarFallback, Ee as AvatarGroup, De as AvatarGroupCount, Ce as AvatarImage, Oe as Badge, ke as Breadcrumb, je as BreadcrumbItem, Me as BreadcrumbLink, Ae as BreadcrumbList, Ne as BreadcrumbPage, Pe as BreadcrumbSeparator, j as Button, Fe as Calendar, F as CalendarDayButton, Ie as Card, Be as CardAction, Ve as CardContent, ze as CardDescription, He as CardFooter, Le as CardHeader, Re as CardTitle, Ue as Checkbox, We as Collapsible, Ke as CollapsibleContent, Ge as CollapsibleTrigger, qe as Dialog, Ye as DialogClose, Xe as DialogContent, et as DialogDescription, Qe as DialogFooter, Ze as DialogHeader, L as DialogOverlay, I as DialogPortal, $e as DialogTitle, Je as DialogTrigger, tt as DropdownMenu, st as DropdownMenuCheckboxItem, it as DropdownMenuContent, at as DropdownMenuGroup, ot as DropdownMenuItem, ut as DropdownMenuLabel, nt as DropdownMenuPortal, ct as DropdownMenuRadioGroup, lt as DropdownMenuRadioItem, dt as DropdownMenuSeparator, ft as DropdownMenuShortcut, pt as DropdownMenuSub, ht as DropdownMenuSubContent, mt as DropdownMenuSubTrigger, rt as DropdownMenuTrigger, R as Input, D as InputOTP, O as InputOTPGroup, k as InputOTPSlot, gt as Label, de as OneTimeCodeInput, _t as Pagination, vt as PaginationContent, yt as PaginationItem, z as PaginationLink, xt as PaginationNext, bt as PaginationPrevious, St as Popover, Tt as PopoverAnchor, wt as PopoverContent, Ot as PopoverDescription, Et as PopoverHeader, Dt as PopoverTitle, Ct as PopoverTrigger, kt as Select, Nt as SelectContent, At as SelectGroup, Ft as SelectItem, Pt as SelectLabel, V as SelectScrollDownButton, B as SelectScrollUpButton, It as SelectSeparator, Mt as SelectTrigger, jt as SelectValue, H as Separator, U as Sheet, Rt as SheetClose, W as SheetContent, q as SheetDescription, Vt as SheetFooter, G as SheetHeader, K as SheetTitle, Lt as SheetTrigger, Qt as Sidebar, sn as SidebarContent, an as SidebarFooter, cn as SidebarGroup, un as SidebarGroupAction, dn as SidebarGroupContent, ln as SidebarGroupLabel, rn as SidebarHeader, nn as SidebarInput, tn as SidebarInset, fn as SidebarMenu, gn as SidebarMenuAction, _n as SidebarMenuBadge, hn as SidebarMenuButton, pn as SidebarMenuItem, vn as SidebarMenuSkeleton, yn as SidebarMenuSub, xn as SidebarMenuSubButton, bn as SidebarMenuSubItem, Zt as SidebarProvider, en as SidebarRail, on as SidebarSeparator, $t as SidebarTrigger, Y as Skeleton, Cn as Table, Tn as TableBody, An as TableCaption, kn as TableCell, En as TableFooter, On as TableHead, wn as TableHeader, Dn as TableRow, jn as Tabs, Fn as TabsContent, Nn as TabsList, Pn as TabsTrigger, In as Textarea, Sn as Toaster, X as Tooltip, Q as TooltipContent, Ut as TooltipProvider, Z as TooltipTrigger, P as badgeVariants, A as buttonVariants, $ as useSidebar };