@gv-tech/design-system 2.3.0 → 2.4.0

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 (245) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/CHANGELOG.md +8 -0
  3. package/dist/App.d.ts +1 -2
  4. package/dist/App.d.ts.map +1 -1
  5. package/dist/accordion.cjs.js +2 -0
  6. package/dist/accordion.cjs.js.map +1 -0
  7. package/dist/accordion.es.js +38 -0
  8. package/dist/accordion.es.js.map +1 -0
  9. package/dist/alert-dialog.cjs.js +2 -0
  10. package/dist/alert-dialog.cjs.js.map +1 -0
  11. package/dist/alert-dialog.es.js +64 -0
  12. package/dist/alert-dialog.es.js.map +1 -0
  13. package/dist/alert.cjs.js +2 -0
  14. package/dist/alert.cjs.js.map +1 -0
  15. package/dist/alert.es.js +32 -0
  16. package/dist/alert.es.js.map +1 -0
  17. package/dist/aspect-ratio.cjs.js +2 -0
  18. package/dist/aspect-ratio.cjs.js.map +1 -0
  19. package/dist/aspect-ratio.es.js +6 -0
  20. package/dist/aspect-ratio.es.js.map +1 -0
  21. package/dist/avatar.cjs.js +2 -0
  22. package/dist/avatar.cjs.js.map +1 -0
  23. package/dist/avatar.es.js +29 -0
  24. package/dist/avatar.es.js.map +1 -0
  25. package/dist/badge.cjs.js +2 -0
  26. package/dist/badge.cjs.js.map +1 -0
  27. package/dist/badge.es.js +26 -0
  28. package/dist/badge.es.js.map +1 -0
  29. package/dist/breadcrumb.cjs.js +2 -0
  30. package/dist/breadcrumb.cjs.js.map +1 -0
  31. package/dist/breadcrumb.es.js +68 -0
  32. package/dist/breadcrumb.es.js.map +1 -0
  33. package/dist/button.cjs.js +2 -0
  34. package/dist/button.cjs.js.map +1 -0
  35. package/dist/button.es.js +39 -0
  36. package/dist/button.es.js.map +1 -0
  37. package/dist/calendar.cjs.js +2 -0
  38. package/dist/calendar.cjs.js.map +1 -0
  39. package/dist/calendar.es.js +132 -0
  40. package/dist/calendar.es.js.map +1 -0
  41. package/dist/card.cjs.js +2 -0
  42. package/dist/card.cjs.js.map +1 -0
  43. package/dist/card.es.js +34 -0
  44. package/dist/card.es.js.map +1 -0
  45. package/dist/carousel.cjs.js +2 -0
  46. package/dist/carousel.cjs.js.map +1 -0
  47. package/dist/carousel.es.js +158 -0
  48. package/dist/carousel.es.js.map +1 -0
  49. package/dist/chart.cjs.js +8 -0
  50. package/dist/chart.cjs.js.map +1 -0
  51. package/dist/chart.es.js +187 -0
  52. package/dist/chart.es.js.map +1 -0
  53. package/dist/checkbox.cjs.js +2 -0
  54. package/dist/checkbox.cjs.js.map +1 -0
  55. package/dist/checkbox.es.js +20 -0
  56. package/dist/checkbox.es.js.map +1 -0
  57. package/dist/collapsible.cjs.js +2 -0
  58. package/dist/collapsible.cjs.js.map +1 -0
  59. package/dist/collapsible.es.js +8 -0
  60. package/dist/collapsible.es.js.map +1 -0
  61. package/dist/command.cjs.js +2 -0
  62. package/dist/command.cjs.js.map +1 -0
  63. package/dist/command.es.js +86 -0
  64. package/dist/command.es.js.map +1 -0
  65. package/dist/components/docs/Sidebar.d.ts +2 -1
  66. package/dist/components/docs/Sidebar.d.ts.map +1 -1
  67. package/dist/components/ui/command.d.ts.map +1 -1
  68. package/dist/context-menu.cjs.js +2 -0
  69. package/dist/context-menu.cjs.js.map +1 -0
  70. package/dist/context-menu.es.js +121 -0
  71. package/dist/context-menu.es.js.map +1 -0
  72. package/dist/design-system.css +1 -1
  73. package/dist/dialog.cjs.js +2 -0
  74. package/dist/dialog.cjs.js.map +1 -0
  75. package/dist/dialog.es.js +65 -0
  76. package/dist/dialog.es.js.map +1 -0
  77. package/dist/drawer.cjs.js +2 -0
  78. package/dist/drawer.cjs.js.map +1 -0
  79. package/dist/drawer.es.js +54 -0
  80. package/dist/drawer.es.js.map +1 -0
  81. package/dist/dropdown-menu.cjs.js +2 -0
  82. package/dist/dropdown-menu.cjs.js.map +1 -0
  83. package/dist/dropdown-menu.es.js +123 -0
  84. package/dist/dropdown-menu.es.js.map +1 -0
  85. package/dist/form.cjs.js +2 -0
  86. package/dist/form.cjs.js.map +1 -0
  87. package/dist/form.es.js +83 -0
  88. package/dist/form.es.js.map +1 -0
  89. package/dist/hover-card.cjs.js +2 -0
  90. package/dist/hover-card.cjs.js.map +1 -0
  91. package/dist/hover-card.es.js +23 -0
  92. package/dist/hover-card.es.js.map +1 -0
  93. package/dist/index.cjs.js +1 -7
  94. package/dist/index.cjs.js.map +1 -1
  95. package/dist/index.es.js +285 -2451
  96. package/dist/index.es.js.map +1 -1
  97. package/dist/input.cjs.js +2 -0
  98. package/dist/input.cjs.js.map +1 -0
  99. package/dist/input.es.js +22 -0
  100. package/dist/input.es.js.map +1 -0
  101. package/dist/label.cjs.js +2 -0
  102. package/dist/label.cjs.js.map +1 -0
  103. package/dist/label.es.js +9 -0
  104. package/dist/label.es.js.map +1 -0
  105. package/dist/menubar.cjs.js +2 -0
  106. package/dist/menubar.cjs.js.map +1 -0
  107. package/dist/menubar.es.js +161 -0
  108. package/dist/menubar.es.js.map +1 -0
  109. package/dist/navigation-menu.cjs.js +2 -0
  110. package/dist/navigation-menu.cjs.js.map +1 -0
  111. package/dist/navigation-menu.es.js +96 -0
  112. package/dist/navigation-menu.es.js.map +1 -0
  113. package/dist/pages/GettingStarted.d.ts.map +1 -1
  114. package/dist/pagination.cjs.js +2 -0
  115. package/dist/pagination.cjs.js.map +1 -0
  116. package/dist/pagination.es.js +60 -0
  117. package/dist/pagination.es.js.map +1 -0
  118. package/dist/popover.cjs.js +2 -0
  119. package/dist/popover.cjs.js.map +1 -0
  120. package/dist/popover.es.js +24 -0
  121. package/dist/popover.es.js.map +1 -0
  122. package/dist/progress.cjs.js +2 -0
  123. package/dist/progress.cjs.js.map +1 -0
  124. package/dist/progress.es.js +24 -0
  125. package/dist/progress.es.js.map +1 -0
  126. package/dist/radio-group.cjs.js +2 -0
  127. package/dist/radio-group.cjs.js.map +1 -0
  128. package/dist/radio-group.es.js +23 -0
  129. package/dist/radio-group.es.js.map +1 -0
  130. package/dist/registry/command.json +1 -1
  131. package/dist/registry/search.json +1 -1
  132. package/dist/registry/search.test.json +1 -1
  133. package/dist/resizable.cjs.js +2 -0
  134. package/dist/resizable.cjs.js.map +1 -0
  135. package/dist/resizable.es.js +34 -0
  136. package/dist/resizable.es.js.map +1 -0
  137. package/dist/scroll-area.cjs.js +2 -0
  138. package/dist/scroll-area.cjs.js.map +1 -0
  139. package/dist/scroll-area.es.js +30 -0
  140. package/dist/scroll-area.es.js.map +1 -0
  141. package/dist/search.cjs.js +2 -0
  142. package/dist/search.cjs.js.map +1 -0
  143. package/dist/search.es.js +60 -0
  144. package/dist/search.es.js.map +1 -0
  145. package/dist/select.cjs.js +2 -0
  146. package/dist/select.cjs.js.map +1 -0
  147. package/dist/select.es.js +100 -0
  148. package/dist/select.es.js.map +1 -0
  149. package/dist/separator.cjs.js +2 -0
  150. package/dist/separator.cjs.js.map +1 -0
  151. package/dist/separator.es.js +18 -0
  152. package/dist/separator.es.js.map +1 -0
  153. package/dist/sheet.cjs.js +2 -0
  154. package/dist/sheet.cjs.js.map +1 -0
  155. package/dist/sheet.es.js +64 -0
  156. package/dist/sheet.es.js.map +1 -0
  157. package/dist/skeleton.cjs.js +2 -0
  158. package/dist/skeleton.cjs.js.map +1 -0
  159. package/dist/skeleton.es.js +9 -0
  160. package/dist/skeleton.es.js.map +1 -0
  161. package/dist/slider.cjs.js +2 -0
  162. package/dist/slider.cjs.js.map +1 -0
  163. package/dist/slider.es.js +20 -0
  164. package/dist/slider.es.js.map +1 -0
  165. package/dist/sonner.cjs.js +2 -0
  166. package/dist/sonner.cjs.js.map +1 -0
  167. package/dist/sonner.es.js +25 -0
  168. package/dist/sonner.es.js.map +1 -0
  169. package/dist/switch.cjs.js +2 -0
  170. package/dist/switch.cjs.js.map +1 -0
  171. package/dist/switch.es.js +27 -0
  172. package/dist/switch.es.js.map +1 -0
  173. package/dist/table.cjs.js +2 -0
  174. package/dist/table.cjs.js.map +1 -0
  175. package/dist/table.es.js +70 -0
  176. package/dist/table.es.js.map +1 -0
  177. package/dist/tabs.cjs.js +2 -0
  178. package/dist/tabs.cjs.js.map +1 -0
  179. package/dist/tabs.es.js +46 -0
  180. package/dist/tabs.es.js.map +1 -0
  181. package/dist/textarea.cjs.js +2 -0
  182. package/dist/textarea.cjs.js.map +1 -0
  183. package/dist/textarea.es.js +21 -0
  184. package/dist/textarea.es.js.map +1 -0
  185. package/dist/theme/tokens.d.ts +46 -0
  186. package/dist/theme/tokens.d.ts.map +1 -1
  187. package/dist/theme-provider.cjs.js +2 -0
  188. package/dist/theme-provider.cjs.js.map +1 -0
  189. package/dist/theme-provider.es.js +9 -0
  190. package/dist/theme-provider.es.js.map +1 -0
  191. package/dist/theme-toggle-CCUkxY6o.mjs +181 -0
  192. package/dist/theme-toggle-CCUkxY6o.mjs.map +1 -0
  193. package/dist/theme-toggle-Dc_nm_32.js +2 -0
  194. package/dist/theme-toggle-Dc_nm_32.js.map +1 -0
  195. package/dist/theme-toggle.cjs.js +2 -0
  196. package/dist/theme-toggle.cjs.js.map +1 -0
  197. package/dist/theme-toggle.es.js +9 -0
  198. package/dist/theme-toggle.es.js.map +1 -0
  199. package/dist/toast.cjs.js +2 -0
  200. package/dist/toast.cjs.js.map +1 -0
  201. package/dist/toast.es.js +70 -0
  202. package/dist/toast.es.js.map +1 -0
  203. package/dist/toaster-BjPc-lId.js +2 -0
  204. package/dist/toaster-BjPc-lId.js.map +1 -0
  205. package/dist/toaster-Bk6a4gIz.mjs +120 -0
  206. package/dist/toaster-Bk6a4gIz.mjs.map +1 -0
  207. package/dist/toaster.cjs.js +2 -0
  208. package/dist/toaster.cjs.js.map +1 -0
  209. package/dist/toaster.es.js +7 -0
  210. package/dist/toaster.es.js.map +1 -0
  211. package/dist/toggle-group.cjs.js +2 -0
  212. package/dist/toggle-group.cjs.js.map +1 -0
  213. package/dist/toggle-group.es.js +33 -0
  214. package/dist/toggle-group.es.js.map +1 -0
  215. package/dist/toggle.cjs.js +2 -0
  216. package/dist/toggle.cjs.js.map +1 -0
  217. package/dist/toggle.es.js +29 -0
  218. package/dist/toggle.es.js.map +1 -0
  219. package/dist/tooltip.cjs.js +2 -0
  220. package/dist/tooltip.cjs.js.map +1 -0
  221. package/dist/tooltip.es.js +23 -0
  222. package/dist/tooltip.es.js.map +1 -0
  223. package/dist/utils-C9QGdMaH.mjs +8 -0
  224. package/dist/utils-C9QGdMaH.mjs.map +1 -0
  225. package/dist/utils-CUFNKXRW.js +2 -0
  226. package/dist/utils-CUFNKXRW.js.map +1 -0
  227. package/dist/{vendor-Bcg_ARLM.mjs → vendor-CCQzmGyD.mjs} +150 -150
  228. package/dist/{vendor-Bcg_ARLM.mjs.map → vendor-CCQzmGyD.mjs.map} +1 -1
  229. package/dist/{vendor-BrqPND3G.js → vendor-CIyDEr7H.js} +2 -2
  230. package/dist/{vendor-BrqPND3G.js.map → vendor-CIyDEr7H.js.map} +1 -1
  231. package/package.json +249 -4
  232. package/scripts/sync-exports.ts +52 -0
  233. package/scripts/sync-tokens.ts +73 -0
  234. package/scripts/{validate.js → validate.ts} +14 -8
  235. package/src/App.tsx +62 -25
  236. package/src/components/docs/ComponentShowcase.tsx +5 -5
  237. package/src/components/docs/Sidebar.tsx +3 -2
  238. package/src/components/ui/command.tsx +3 -1
  239. package/src/components/ui/search.test.tsx +2 -0
  240. package/src/components/ui/search.tsx +3 -3
  241. package/src/globals.css +22 -0
  242. package/src/pages/ColorTokensDocs.tsx +4 -4
  243. package/src/pages/GettingStarted.tsx +6 -4
  244. package/src/theme/tokens.ts +60 -38
  245. package/vite.config.ts +25 -3
package/dist/index.es.js CHANGED
@@ -1,2454 +1,288 @@
1
- import { t as ia, c as la, j as s, I as ca, H as ma, T as se, C as $, a as oe, R as ua, b as w, S as X, O as re, P as fa, d as ne, e as de, D as ie, A as le, f as ce, g as pa, h as xa, i as ga, k as me, l as ue, F as fe, E as pe, m as S, n as xe, o as ba, p as ge, u as ha, q as Na, r as ya, s as va, L as wa, v as ja, w as be, x as Ca, y as D, z as Ra, B as Ta, G as ka, J as A, K as he, M as F, N as L, X as Q, Q as E, U as O, V as Ne, W as ye, _ as g, Y as Sa, Z as ve, $ as we, a0 as je, a1 as Ce, a2 as Re, a3 as Te, a4 as ke, a5 as Se, a6 as B, a7 as _e, a8 as $e, a9 as _a, aa as $a, ab as Da, ac as Ia, ad as za, ae as h, af as De, ag as Ie, ah as ze, ai as Me, aj as Pe, ak as Ae, al as Fe, am as Le, an as Ee, ao as Oe, ap as Ma, aq as Pa, ar as Aa, as as Fa, at as La, au as Be, av as Ea, aw as Oa, ax as Ba, ay as Ge, az as Ga, aA as Va, aB as Ve, aC as He, aD as Ue, aE as qe, aF as Ke, aG as We, aH as Xe, aI as Qe, aJ as Ye, aK as Je, aL as Ze, aM as et, aN as Ha, aO as Ua, aP as qa, aQ as Ka, aR as tt, aS as at, aT as st, aU as ot, aV as rt, aW as nt, aX as Wa, aY as Xa, aZ as Qa, a_ as dt, a$ as Ya, b0 as Ja, b1 as Za, b2 as it, b3 as es, b4 as lt, b5 as ct, b6 as ts, b7 as as, b8 as ss, b9 as os, ba as rs, bb as mt, bc as ns, bd as ds, be as ut, bf as is, bg as ft, bh as ls, bi as pt, bj as cs, bk as xt, bl as ms, bm as gt, bn as us, bo as bt, bp as ht, bq as fs, br as ps, bs as Nt, bt as xs, bu as gs, bv as bs, bw as yt, bx as vt, by as hs, bz as Ns, bA as ys, bB as vs, bC as wt, bD as ws, bE as jt, bF as Ct, bG as Rt, bH as js, bI as Z, bJ as ee, bK as te, bL as Tt, bM as kt, bN as St, bO as _t, bP as $t, bQ as Dt, bR as Cs, bS as It, bT as zt, bU as Mt, bV as Rs, bW as Pt, bX as Ts, bY as ks, bZ as Ss } from "./vendor-Bcg_ARLM.mjs";
2
- import * as r from "react";
3
- import { useTheme as At, ThemeProvider as _s } from "next-themes";
4
- function o(...e) {
5
- return ia(la(e));
6
- }
7
- const Ft = {
8
- brand: {
9
- blue: "hsl(225 73% 57%)",
10
- // Royal Blue (Intellect)
11
- green: "hsl(151 66% 27%)",
12
- // #177245 (Stability)
13
- floralWhite: "hsl(40 100% 97%)"
14
- // Light Neutral / Floral White
15
- }
16
- // Additional primitives can be added here
17
- }, K = {
18
- light: {
19
- background: "hsl(0 0% 96%)",
20
- // White Smoke
21
- foreground: "hsl(222 47% 11%)",
22
- // Oxford Blue
23
- card: "hsl(0 0% 100%)",
24
- // White
25
- cardForeground: "hsl(222 47% 11%)",
26
- // Oxford Blue
27
- popover: "hsl(0 0% 100%)",
28
- // White
29
- popoverForeground: "hsl(222 47% 11%)",
30
- // Oxford Blue
31
- primary: Ft.brand.blue,
32
- // Royal Blue (Intellect)
33
- primaryForeground: "hsl(0 0% 100%)",
34
- // White
35
- secondary: "hsl(93 28% 54%)",
36
- // Asparagus / Pistachio
37
- secondaryForeground: "hsl(0 0% 100%)",
38
- // White
39
- muted: "hsl(0 0% 92%)",
40
- // Gainsboro
41
- mutedForeground: "hsl(215 16% 47%)",
42
- // Steel Blue
43
- accent: "hsl(0 0% 88%)",
44
- // French Gray
45
- accentForeground: "hsl(222 47% 11%)",
46
- // Oxford Blue
47
- destructive: "hsl(0 84.2% 60.2%)",
48
- // Vivid Red
49
- destructiveForeground: "hsl(0 0% 100%)",
50
- // White
51
- border: "hsl(0 0% 89%)",
52
- // Light Gray
53
- input: "hsl(0 0% 89%)",
54
- // Light Gray
55
- ring: "hsl(222 47% 11%)",
56
- // Oxford Blue
57
- radius: "0.5rem"
58
- },
59
- dark: {
60
- background: "hsl(0 0% 9%)",
61
- // Night
62
- foreground: "hsl(0 0% 100%)",
63
- // White
64
- card: "hsl(0 0% 14%)",
65
- // Eerie Black
66
- cardForeground: "hsl(0 0% 100%)",
67
- // White
68
- popover: "hsl(0 0% 11%)",
69
- // Night (alt)
70
- popoverForeground: "hsl(0 0% 100%)",
71
- // White
72
- primary: "hsl(227 96% 71%)",
73
- // Baby Blue
74
- primaryForeground: "hsl(0 0% 9%)",
75
- // Night
76
- secondary: "hsl(96 44% 61%)",
77
- // Celadon
78
- secondaryForeground: "hsl(0 0% 9%)",
79
- // Night
80
- muted: "hsl(0 0% 6%)",
81
- // Black
82
- mutedForeground: "hsl(0 0% 70%)",
83
- // Silver
84
- accent: "hsl(0 0% 15%)",
85
- // Jet
86
- accentForeground: "hsl(0 0% 100%)",
87
- // White
88
- destructive: "hsl(0 62.8% 30.6%)",
89
- // Blood Red
90
- destructiveForeground: "hsl(0 0% 100%)",
91
- // White
92
- border: "hsl(0 0% 18%)",
93
- // Raisin Black
94
- input: "hsl(0 0% 18%)",
95
- // Raisin Black
96
- ring: "hsl(0 0% 90%)",
97
- // Platinum
98
- radius: "0.5rem"
99
- }
100
- }, Dn = {
101
- palette: Ft,
102
- theme: K
103
- }, In = ua, $s = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(ca, { ref: a, className: o("border-b", e), ...t }));
104
- $s.displayName = "AccordionItem";
105
- const Ds = r.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ s.jsx(ma, { className: "flex", children: /* @__PURE__ */ s.jsxs(
106
- se,
107
- {
108
- ref: n,
109
- className: o(
110
- "flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",
111
- e
112
- ),
113
- ...a,
114
- children: [
115
- t,
116
- /* @__PURE__ */ s.jsx($, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
117
- ]
118
- }
119
- ) }));
120
- Ds.displayName = se.displayName;
121
- const Is = r.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ s.jsx(
122
- oe,
123
- {
124
- ref: n,
125
- className: "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
126
- ...a,
127
- children: /* @__PURE__ */ s.jsx("div", { className: o("pb-4 pt-0", e), children: t })
128
- }
129
- ));
130
- Is.displayName = oe.displayName;
131
- const zs = w(
132
- "relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",
133
- {
134
- variants: {
135
- variant: {
136
- default: "bg-background text-foreground",
137
- destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
138
- }
139
- },
140
- defaultVariants: {
141
- variant: "default"
142
- }
143
- }
144
- ), Ms = r.forwardRef(({ className: e, variant: t, ...a }, n) => /* @__PURE__ */ s.jsx("div", { ref: n, role: "alert", className: o(zs({ variant: t }), e), ...a }));
145
- Ms.displayName = "Alert";
146
- const Ps = r.forwardRef(
147
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("h5", { ref: a, className: o("mb-1 font-medium leading-none tracking-tight", e), ...t })
148
- );
149
- Ps.displayName = "AlertTitle";
150
- const As = r.forwardRef(
151
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("div", { ref: a, className: o("text-sm [&_p]:leading-relaxed", e), ...t })
152
- );
153
- As.displayName = "AlertDescription";
154
- const T = w(
155
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
156
- {
157
- variants: {
158
- variant: {
159
- default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
160
- destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
161
- outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
162
- secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
163
- ghost: "hover:bg-accent hover:text-accent-foreground",
164
- link: "text-primary underline-offset-4 hover:underline"
165
- },
166
- size: {
167
- default: "h-9 px-4 py-2",
168
- sm: "h-8 rounded-md px-3 text-xs",
169
- lg: "h-10 rounded-md px-8",
170
- icon: "h-9 w-9"
171
- }
172
- },
173
- defaultVariants: {
174
- variant: "default",
175
- size: "default"
176
- }
177
- }
178
- ), k = r.forwardRef(
179
- ({ className: e, variant: t, size: a, asChild: n = !1, ...d }, i) => {
180
- const m = n ? X : "button";
181
- return /* @__PURE__ */ s.jsx(m, { className: o(T({ variant: t, size: a, className: e })), ref: i, ...d });
182
- }
183
- );
184
- k.displayName = "Button";
185
- const zn = pa, Mn = xa, Fs = fa, Lt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
186
- re,
187
- {
188
- className: o(
189
- "fixed inset-0 z-50 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",
190
- e
191
- ),
192
- ...t,
193
- ref: a
194
- }
195
- ));
196
- Lt.displayName = re.displayName;
197
- const Ls = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsxs(Fs, { children: [
198
- /* @__PURE__ */ s.jsx(Lt, {}),
199
- /* @__PURE__ */ s.jsx(
200
- ne,
201
- {
202
- ref: a,
203
- className: o(
204
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg 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%] sm:rounded-lg",
205
- e
206
- ),
207
- ...t
208
- }
209
- )
210
- ] }));
211
- Ls.displayName = ne.displayName;
212
- const Es = ({ className: e, ...t }) => /* @__PURE__ */ s.jsx("div", { className: o("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
213
- Es.displayName = "AlertDialogHeader";
214
- const Os = ({ className: e, ...t }) => /* @__PURE__ */ s.jsx("div", { className: o("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
215
- Os.displayName = "AlertDialogFooter";
216
- const Bs = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(de, { ref: a, className: o("text-lg font-semibold", e), ...t }));
217
- Bs.displayName = de.displayName;
218
- const Gs = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(ie, { ref: a, className: o("text-sm text-muted-foreground", e), ...t }));
219
- Gs.displayName = ie.displayName;
220
- const Vs = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(le, { ref: a, className: o(T(), e), ...t }));
221
- Vs.displayName = le.displayName;
222
- const Hs = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
223
- ce,
224
- {
225
- ref: a,
226
- className: o(T({ variant: "outline" }), "mt-2 sm:mt-0", e),
227
- ...t
228
- }
229
- ));
230
- Hs.displayName = ce.displayName;
231
- const Pn = ga, Us = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
232
- me,
233
- {
234
- ref: a,
235
- className: o("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e),
236
- ...t
237
- }
238
- ));
239
- Us.displayName = me.displayName;
240
- const qs = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(ue, { ref: a, className: o("aspect-square h-full w-full", e), ...t }));
241
- qs.displayName = ue.displayName;
242
- const Ks = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
243
- fe,
244
- {
245
- ref: a,
246
- className: o("flex h-full w-full items-center justify-center rounded-full bg-muted", e),
247
- ...t
248
- }
249
- ));
250
- Ks.displayName = fe.displayName;
251
- const Ws = w(
252
- "inline-flex items-center rounded-md 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",
253
- {
254
- variants: {
255
- variant: {
256
- default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
257
- secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
258
- destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
259
- outline: "text-foreground"
260
- }
261
- },
262
- defaultVariants: {
263
- variant: "default"
264
- }
265
- }
266
- );
267
- function An({ className: e, variant: t, ...a }) {
268
- return /* @__PURE__ */ s.jsx("div", { className: o(Ws({ variant: t }), e), ...a });
269
- }
270
- const Xs = r.forwardRef(({ ...e }, t) => /* @__PURE__ */ s.jsx("nav", { ref: t, "aria-label": "breadcrumb", ...e }));
271
- Xs.displayName = "Breadcrumb";
272
- const Qs = r.forwardRef(
273
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
274
- "ol",
275
- {
276
- ref: a,
277
- className: o(
278
- "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",
279
- e
280
- ),
281
- ...t
282
- }
283
- )
284
- );
285
- Qs.displayName = "BreadcrumbList";
286
- const Ys = r.forwardRef(
287
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("li", { ref: a, className: o("inline-flex items-center gap-1.5", e), ...t })
288
- );
289
- Ys.displayName = "BreadcrumbItem";
290
- const Js = r.forwardRef(({ asChild: e, className: t, ...a }, n) => {
291
- const d = e ? X : "a";
292
- return /* @__PURE__ */ s.jsx(d, { ref: n, className: o("transition-colors hover:text-foreground", t), ...a });
293
- });
294
- Js.displayName = "BreadcrumbLink";
295
- const Zs = r.forwardRef(
296
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
297
- "span",
298
- {
299
- ref: a,
300
- role: "link",
301
- "aria-disabled": "true",
302
- "aria-current": "page",
303
- className: o("font-normal text-foreground", e),
304
- ...t
305
- }
306
- )
307
- );
308
- Zs.displayName = "BreadcrumbPage";
309
- const eo = ({ children: e, className: t, ...a }) => /* @__PURE__ */ s.jsx("li", { role: "presentation", "aria-hidden": "true", className: o("[&>svg]:w-3.5 [&>svg]:h-3.5", t), ...a, children: e ?? /* @__PURE__ */ s.jsx(S, {}) });
310
- eo.displayName = "BreadcrumbSeparator";
311
- const to = ({ className: e, ...t }) => /* @__PURE__ */ s.jsxs(
312
- "span",
313
- {
314
- role: "presentation",
315
- "aria-hidden": "true",
316
- className: o("flex h-9 w-9 items-center justify-center", e),
317
- ...t,
318
- children: [
319
- /* @__PURE__ */ s.jsx(pe, { className: "h-4 w-4" }),
320
- /* @__PURE__ */ s.jsx("span", { className: "sr-only", children: "More" })
321
- ]
322
- }
323
- );
324
- to.displayName = "BreadcrumbElipssis";
325
- function Fn({
326
- className: e,
327
- classNames: t,
328
- showOutsideDays: a = !0,
329
- captionLayout: n = "label",
330
- buttonVariant: d = "ghost",
331
- formatters: i,
332
- components: m,
333
- ...u
334
- }) {
335
- const c = xe();
336
- return /* @__PURE__ */ s.jsx(
337
- ba,
338
- {
339
- showOutsideDays: a,
340
- className: o(
341
- "bg-background group/calendar p-3 [--cell-size:2.5rem] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
342
- String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
343
- String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
344
- "relative",
345
- e
346
- ),
347
- captionLayout: n,
348
- formatters: {
349
- formatMonthDropdown: (l) => l.toLocaleString("default", { month: "short" }),
350
- ...i
351
- },
352
- classNames: {
353
- root: o("w-fit", c.root),
354
- months: o("relative flex flex-col gap-4 md:flex-row", c.months),
355
- month: o("flex w-full flex-col gap-4", c.month),
356
- nav: o(
357
- "absolute inset-x-0 top-2 flex items-center justify-between pointer-events-none px-2",
358
- c.nav
359
- ),
360
- button_previous: o(
361
- T({ variant: d }),
362
- "h-7 w-7 select-none p-0 aria-disabled:opacity-50 pointer-events-auto",
363
- c.button_previous
364
- ),
365
- button_next: o(
366
- T({ variant: d }),
367
- "h-7 w-7 select-none p-0 aria-disabled:opacity-50 pointer-events-auto",
368
- c.button_next
369
- ),
370
- month_caption: o(
371
- "flex h-[--cell-size] w-full items-center justify-center text-sm font-medium",
372
- c.month_caption
373
- ),
374
- dropdowns: o(
375
- "flex h-[--cell-size] w-full items-center justify-center gap-1.5 text-sm font-medium",
376
- c.dropdowns
377
- ),
378
- dropdown_root: o(
379
- "has-focus:border-ring border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] relative rounded-md border",
380
- c.dropdown_root
381
- ),
382
- dropdown: o("bg-popover absolute inset-0 opacity-0", c.dropdown),
383
- caption_label: o(
384
- "select-none font-medium",
385
- n === "label" ? "text-sm" : "[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md pl-2 pr-1 text-sm [&>svg]:size-3.5",
386
- c.caption_label
387
- ),
388
- table: "w-full border-collapse grow",
389
- weekdays: o("flex", c.weekdays),
390
- weekday: o(
391
- "text-muted-foreground pt-1 flex-1 select-none rounded-md text-[0.8rem] font-normal uppercase",
392
- c.weekday
393
- ),
394
- week: o("flex w-full mt-2", c.week),
395
- week_number_header: o("w-[--cell-size] select-none", c.week_number_header),
396
- week_number: o("text-muted-foreground select-none text-[0.8rem]", c.week_number),
397
- day: o(
398
- "group/day relative flex aspect-square h-10 w-10 select-none items-center justify-center p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md",
399
- c.day
400
- ),
401
- range_start: o("bg-accent rounded-l-md", c.range_start),
402
- range_middle: o("rounded-none", c.range_middle),
403
- range_end: o("bg-accent rounded-r-md", c.range_end),
404
- today: o(
405
- "bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",
406
- c.today
407
- ),
408
- outside: o("text-muted-foreground aria-selected:text-muted-foreground", c.outside),
409
- disabled: o("text-muted-foreground opacity-50", c.disabled),
410
- hidden: o("invisible", c.hidden),
411
- ...t
412
- },
413
- components: {
414
- Root: ({ className: l, rootRef: p, ...x }) => /* @__PURE__ */ s.jsx("div", { "data-slot": "calendar", ref: p, className: o(l), ...x }),
415
- Chevron: ({ className: l, orientation: p, ...x }) => p === "left" ? /* @__PURE__ */ s.jsx(ge, { className: o("size-4", l), ...x }) : p === "right" ? /* @__PURE__ */ s.jsx(S, { className: o("size-4", l), ...x }) : /* @__PURE__ */ s.jsx($, { className: o("size-4", l), ...x }),
416
- DayButton: ao,
417
- WeekNumber: ({ children: l, ...p }) => /* @__PURE__ */ s.jsx("td", { ...p, children: /* @__PURE__ */ s.jsx("div", { className: "flex size-[--cell-size] items-center justify-center text-center", children: l }) }),
418
- ...m
419
- },
420
- ...u
421
- }
422
- );
423
- }
424
- function ao({ className: e, day: t, modifiers: a, ...n }) {
425
- const d = xe(), i = r.useRef(null);
426
- return r.useEffect(() => {
427
- a.focused && i.current?.focus();
428
- }, [a.focused]), /* @__PURE__ */ s.jsx(
429
- k,
430
- {
431
- ref: i,
432
- variant: "ghost",
433
- size: "icon",
434
- "data-day": t.date.toLocaleDateString(),
435
- "data-selected-single": a.selected && !a.range_start && !a.range_end && !a.range_middle,
436
- "data-range-start": a.range_start,
437
- "data-range-end": a.range_end,
438
- "data-range-middle": a.range_middle,
439
- className: o(
440
- "data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 flex aspect-square h-full w-full min-w-[--cell-size] items-center justify-center font-normal leading-none data-[range-end=true]:rounded-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70",
441
- d.day,
442
- e
443
- ),
444
- ...n
445
- }
446
- );
447
- }
448
- const so = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("div", { ref: a, className: o("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
449
- so.displayName = "Card";
450
- const oo = r.forwardRef(
451
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("div", { ref: a, className: o("flex flex-col space-y-1.5 p-6", e), ...t })
452
- );
453
- oo.displayName = "CardHeader";
454
- const ro = r.forwardRef(
455
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("div", { ref: a, className: o("font-semibold leading-none tracking-tight", e), ...t })
456
- );
457
- ro.displayName = "CardTitle";
458
- const no = r.forwardRef(
459
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("div", { ref: a, className: o("text-sm text-muted-foreground", e), ...t })
460
- );
461
- no.displayName = "CardDescription";
462
- const io = r.forwardRef(
463
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("div", { ref: a, className: o("p-6 pt-0", e), ...t })
464
- );
465
- io.displayName = "CardContent";
466
- const lo = r.forwardRef(
467
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("div", { ref: a, className: o("flex items-center p-6 pt-0", e), ...t })
468
- );
469
- lo.displayName = "CardFooter";
470
- const Et = r.createContext(null);
471
- function G() {
472
- const e = r.useContext(Et);
473
- if (!e)
474
- throw new Error("useCarousel must be used within a <Carousel />");
475
- return e;
476
- }
477
- const co = r.forwardRef(
478
- ({ orientation: e = "horizontal", opts: t, setApi: a, plugins: n, className: d, children: i, ...m }, u) => {
479
- const [c, l] = ha(
480
- {
481
- ...t,
482
- axis: e === "horizontal" ? "x" : "y"
483
- },
484
- n
485
- ), [p, x] = r.useState(!1), [y, C] = r.useState(!1), N = r.useCallback((b) => {
486
- b && (x(b.canScrollPrev()), C(b.canScrollNext()));
487
- }, []), R = r.useCallback(() => {
488
- l?.scrollPrev();
489
- }, [l]), v = r.useCallback(() => {
490
- l?.scrollNext();
491
- }, [l]), f = r.useCallback(
492
- (b) => {
493
- b.key === "ArrowLeft" ? (b.preventDefault(), R()) : b.key === "ArrowRight" && (b.preventDefault(), v());
494
- },
495
- [R, v]
496
- );
497
- return r.useEffect(() => {
498
- !l || !a || a(l);
499
- }, [l, a]), r.useEffect(() => {
500
- if (l)
501
- return N(l), l.on("reInit", N), l.on("select", N), () => {
502
- l?.off("select", N);
503
- };
504
- }, [l, N]), /* @__PURE__ */ s.jsx(
505
- Et.Provider,
506
- {
507
- value: {
508
- carouselRef: c,
509
- api: l,
510
- opts: t,
511
- orientation: e || (t?.axis === "y" ? "vertical" : "horizontal"),
512
- scrollPrev: R,
513
- scrollNext: v,
514
- canScrollPrev: p,
515
- canScrollNext: y
516
- },
517
- children: /* @__PURE__ */ s.jsx(
518
- "div",
519
- {
520
- ref: u,
521
- onKeyDownCapture: f,
522
- className: o("relative", d),
523
- role: "region",
524
- "aria-roledescription": "carousel",
525
- ...m,
526
- children: i
527
- }
528
- )
529
- }
530
- );
531
- }
532
- );
533
- co.displayName = "Carousel";
534
- const mo = r.forwardRef(
535
- ({ className: e, ...t }, a) => {
536
- const { carouselRef: n, orientation: d } = G();
537
- return /* @__PURE__ */ s.jsx("div", { ref: n, className: "overflow-hidden", children: /* @__PURE__ */ s.jsx(
538
- "div",
539
- {
540
- ref: a,
541
- className: o("flex", d === "horizontal" ? "-ml-4" : "-mt-4 flex-col", e),
542
- ...t
543
- }
544
- ) });
545
- }
546
- );
547
- mo.displayName = "CarouselContent";
548
- const uo = r.forwardRef(
549
- ({ className: e, ...t }, a) => {
550
- const { orientation: n } = G();
551
- return /* @__PURE__ */ s.jsx(
552
- "div",
553
- {
554
- ref: a,
555
- role: "group",
556
- "aria-roledescription": "slide",
557
- className: o("min-w-0 shrink-0 grow-0 basis-full", n === "horizontal" ? "pl-4" : "pt-4", e),
558
- ...t
559
- }
560
- );
561
- }
562
- );
563
- uo.displayName = "CarouselItem";
564
- const fo = r.forwardRef(
565
- ({ className: e, variant: t = "outline", size: a = "icon", ...n }, d) => {
566
- const { orientation: i, scrollPrev: m, canScrollPrev: u } = G();
567
- return /* @__PURE__ */ s.jsxs(
568
- k,
569
- {
570
- ref: d,
571
- variant: t,
572
- size: a,
573
- className: o(
574
- "absolute h-8 w-8 rounded-full",
575
- i === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
576
- e
577
- ),
578
- disabled: !u,
579
- onClick: m,
580
- ...n,
581
- children: [
582
- /* @__PURE__ */ s.jsx(Na, { className: "h-4 w-4" }),
583
- /* @__PURE__ */ s.jsx("span", { className: "sr-only", children: "Previous slide" })
584
- ]
585
- }
586
- );
587
- }
588
- );
589
- fo.displayName = "CarouselPrevious";
590
- const po = r.forwardRef(
591
- ({ className: e, variant: t = "outline", size: a = "icon", ...n }, d) => {
592
- const { orientation: i, scrollNext: m, canScrollNext: u } = G();
593
- return /* @__PURE__ */ s.jsxs(
594
- k,
595
- {
596
- ref: d,
597
- variant: t,
598
- size: a,
599
- className: o(
600
- "absolute h-8 w-8 rounded-full",
601
- i === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
602
- e
603
- ),
604
- disabled: !u,
605
- onClick: m,
606
- ...n,
607
- children: [
608
- /* @__PURE__ */ s.jsx(ya, { className: "h-4 w-4" }),
609
- /* @__PURE__ */ s.jsx("span", { className: "sr-only", children: "Next slide" })
610
- ]
611
- }
612
- );
613
- }
614
- );
615
- po.displayName = "CarouselNext";
616
- const xo = { light: "", dark: ".dark" }, Ot = r.createContext(null);
617
- function Bt() {
618
- const e = r.useContext(Ot);
619
- if (!e)
620
- throw new Error("useChart must be used within a <ChartContainer />");
621
- return e;
622
- }
623
- const go = r.forwardRef(({ id: e, className: t, children: a, config: n, ...d }, i) => {
624
- const m = r.useId(), u = `chart-${e || m.replace(/:/g, "")}`;
625
- return /* @__PURE__ */ s.jsx(Ot.Provider, { value: { config: n }, children: /* @__PURE__ */ s.jsxs(
626
- "div",
627
- {
628
- "data-chart": u,
629
- ref: i,
630
- className: o(
631
- "flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",
632
- t
633
- ),
634
- ...d,
635
- children: [
636
- /* @__PURE__ */ s.jsx(bo, { id: u, config: n }),
637
- /* @__PURE__ */ s.jsx(va, { children: a })
638
- ]
639
- }
640
- ) });
641
- });
642
- go.displayName = "Chart";
643
- const bo = ({ id: e, config: t }) => {
644
- const a = Object.entries(t).filter(([, n]) => n.theme || n.color);
645
- return a.length ? /* @__PURE__ */ s.jsx(
646
- "style",
647
- {
648
- dangerouslySetInnerHTML: {
649
- __html: Object.entries(xo).map(
650
- ([n, d]) => `
651
- ${d} [data-chart=${e}] {
652
- ${a.map(([i, m]) => {
653
- const u = m.theme?.[n] || m.color;
654
- return u ? ` --color-${i}: ${u};` : null;
655
- }).join(`
656
- `)}
657
- }
658
- `
659
- ).join(`
660
- `)
661
- }
662
- }
663
- ) : null;
664
- }, Ln = ja, ho = r.forwardRef(
665
- ({
666
- active: e,
667
- payload: t,
668
- className: a,
669
- indicator: n = "dot",
670
- hideLabel: d = !1,
671
- hideIndicator: i = !1,
672
- label: m,
673
- labelFormatter: u,
674
- labelClassName: c,
675
- formatter: l,
676
- color: p,
677
- nameKey: x,
678
- labelKey: y
679
- }, C) => {
680
- const { config: N } = Bt(), R = r.useMemo(() => {
681
- if (d || !t?.length)
682
- return null;
683
- const [f] = t, b = `${y || f?.dataKey || f?.name || "value"}`, H = W(N, f, b), j = !y && typeof m == "string" ? N[m]?.label || m : H?.label;
684
- return u ? /* @__PURE__ */ s.jsx("div", { className: o("font-medium", c), children: u(j, t) }) : j ? /* @__PURE__ */ s.jsx("div", { className: o("font-medium", c), children: j }) : null;
685
- }, [m, u, t, d, c, N, y]);
686
- if (!e || !t?.length)
687
- return null;
688
- const v = t.length === 1 && n !== "dot";
689
- return /* @__PURE__ */ s.jsxs(
690
- "div",
691
- {
692
- ref: C,
693
- className: o(
694
- "grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",
695
- a
696
- ),
697
- children: [
698
- v ? null : R,
699
- /* @__PURE__ */ s.jsx("div", { className: "grid gap-1.5", children: t.filter((f) => f.type !== "none").map((f, b) => {
700
- const H = `${x || f.name || f.dataKey || "value"}`, j = W(N, f, H), J = p || f.payload.fill || f.color;
701
- return /* @__PURE__ */ s.jsx(
702
- "div",
703
- {
704
- className: o(
705
- "flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",
706
- n === "dot" && "items-center"
707
- ),
708
- children: l && f?.value !== void 0 && f.name ? l(f.value, f.name, f, b, f.payload) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
709
- j?.icon ? /* @__PURE__ */ s.jsx(j.icon, {}) : !i && /* @__PURE__ */ s.jsx(
710
- "div",
711
- {
712
- className: o("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]", {
713
- "h-2.5 w-2.5": n === "dot",
714
- "w-1": n === "line",
715
- "w-0 border-[1.5px] border-dashed bg-transparent": n === "dashed",
716
- "my-0.5": v && n === "dashed"
717
- }),
718
- style: {
719
- "--color-bg": J,
720
- "--color-border": J
721
- }
722
- }
723
- ),
724
- /* @__PURE__ */ s.jsxs(
725
- "div",
726
- {
727
- className: o(
728
- "flex flex-1 justify-between leading-none",
729
- v ? "items-end" : "items-center"
730
- ),
731
- children: [
732
- /* @__PURE__ */ s.jsxs("div", { className: "grid gap-1.5", children: [
733
- v ? R : null,
734
- /* @__PURE__ */ s.jsx("span", { className: "text-muted-foreground", children: j?.label || f.name })
735
- ] }),
736
- f.value && /* @__PURE__ */ s.jsx("span", { className: "font-mono font-medium tabular-nums text-foreground", children: f.value.toLocaleString() })
737
- ]
738
- }
739
- )
740
- ] })
741
- },
742
- f.dataKey
743
- );
744
- }) })
745
- ]
746
- }
747
- );
748
- }
749
- );
750
- ho.displayName = "ChartTooltip";
751
- const En = wa, No = r.forwardRef(({ className: e, hideIcon: t = !1, payload: a, verticalAlign: n = "bottom", nameKey: d }, i) => {
752
- const { config: m } = Bt();
753
- return a?.length ? /* @__PURE__ */ s.jsx(
754
- "div",
755
- {
756
- ref: i,
757
- className: o("flex items-center justify-center gap-4", n === "top" ? "pb-3" : "pt-3", e),
758
- children: a.filter((u) => u.type !== "none").map((u) => {
759
- const c = `${d || u.dataKey || "value"}`, l = W(m, u, c);
760
- return /* @__PURE__ */ s.jsxs(
761
- "div",
762
- {
763
- className: o("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),
764
- children: [
765
- l?.icon && !t ? /* @__PURE__ */ s.jsx(l.icon, {}) : /* @__PURE__ */ s.jsx(
766
- "div",
767
- {
768
- className: "h-2 w-2 shrink-0 rounded-[2px]",
769
- style: {
770
- backgroundColor: u.color
771
- }
772
- }
773
- ),
774
- l?.label
775
- ]
776
- },
777
- u.value
778
- );
779
- })
780
- }
781
- ) : null;
782
- });
783
- No.displayName = "ChartLegend";
784
- function W(e, t, a) {
785
- if (typeof t != "object" || t === null)
786
- return;
787
- const n = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0;
788
- let d = a;
789
- return a in t && typeof t[a] == "string" ? d = t[a] : n && a in n && typeof n[a] == "string" && (d = n[a]), d in e ? e[d] : e[a];
790
- }
791
- const yo = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
792
- be,
793
- {
794
- ref: a,
795
- className: o(
796
- "grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
797
- e
798
- ),
799
- ...t,
800
- children: /* @__PURE__ */ s.jsx(Ca, { className: o("grid place-content-center text-current"), children: /* @__PURE__ */ s.jsx(D, { className: "h-4 w-4" }) })
801
- }
802
- ));
803
- yo.displayName = be.displayName;
804
- const On = Ra, Bn = ka, Gn = Ta, vo = Ne, Vn = ye, wo = he, Hn = L, Gt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
805
- A,
806
- {
807
- ref: a,
808
- className: o(
809
- "fixed inset-0 z-50 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",
810
- e
811
- ),
812
- ...t
813
- }
814
- ));
815
- Gt.displayName = A.displayName;
816
- const Vt = r.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ s.jsxs(wo, { children: [
817
- /* @__PURE__ */ s.jsx(Gt, {}),
818
- /* @__PURE__ */ s.jsxs(
819
- F,
820
- {
821
- ref: n,
822
- className: o(
823
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg 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%] sm:rounded-lg",
824
- e
825
- ),
826
- ...a,
827
- children: [
828
- t,
829
- /* @__PURE__ */ s.jsxs(L, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
830
- /* @__PURE__ */ s.jsx(Q, { className: "h-4 w-4" }),
831
- /* @__PURE__ */ s.jsx("span", { className: "sr-only", children: "Close" })
832
- ] })
833
- ]
834
- }
835
- )
836
- ] }));
837
- Vt.displayName = F.displayName;
838
- const jo = ({ className: e, ...t }) => /* @__PURE__ */ s.jsx("div", { className: o("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
839
- jo.displayName = "DialogHeader";
840
- const Co = ({ className: e, ...t }) => /* @__PURE__ */ s.jsx("div", { className: o("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
841
- Co.displayName = "DialogFooter";
842
- const Ro = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
843
- E,
844
- {
845
- ref: a,
846
- className: o("text-lg font-semibold leading-none tracking-tight", e),
847
- ...t
848
- }
849
- ));
850
- Ro.displayName = E.displayName;
851
- const To = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(O, { ref: a, className: o("text-sm text-muted-foreground", e), ...t }));
852
- To.displayName = O.displayName;
853
- const Ht = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
854
- g,
855
- {
856
- ref: a,
857
- className: o(
858
- "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
859
- e
860
- ),
861
- ...t
862
- }
863
- ));
864
- Ht.displayName = g.displayName;
865
- const Un = ({ children: e, ...t }) => /* @__PURE__ */ s.jsx(vo, { ...t, children: /* @__PURE__ */ s.jsx(Vt, { className: "overflow-hidden p-0", children: /* @__PURE__ */ s.jsx(Ht, { 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 }) }) }), ko = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
866
- /* @__PURE__ */ s.jsx(Sa, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
867
- /* @__PURE__ */ s.jsx(
868
- g.Input,
869
- {
870
- ref: a,
871
- className: o(
872
- "flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
873
- e
874
- ),
875
- ...t
876
- }
877
- )
878
- ] }));
879
- ko.displayName = g.Input.displayName;
880
- const So = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
881
- g.List,
882
- {
883
- ref: a,
884
- className: o("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
885
- ...t
886
- }
887
- ));
888
- So.displayName = g.List.displayName;
889
- const _o = r.forwardRef((e, t) => /* @__PURE__ */ s.jsx(g.Empty, { ref: t, className: "py-6 text-center text-sm", ...e }));
890
- _o.displayName = g.Empty.displayName;
891
- const $o = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
892
- g.Group,
893
- {
894
- ref: a,
895
- className: o(
896
- "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",
897
- e
898
- ),
899
- ...t
900
- }
901
- ));
902
- $o.displayName = g.Group.displayName;
903
- const Do = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(g.Separator, { ref: a, className: o("-mx-1 h-px bg-border", e), ...t }));
904
- Do.displayName = g.Separator.displayName;
905
- const Io = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
906
- g.Item,
907
- {
908
- ref: a,
909
- className: o(
910
- "relative flex cursor-default gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
911
- e
912
- ),
913
- ...t
914
- }
915
- ));
916
- Io.displayName = g.Item.displayName;
917
- const zo = ({ className: e, ...t }) => /* @__PURE__ */ s.jsx("span", { className: o("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
918
- zo.displayName = "CommandShortcut";
919
- const qn = _a, Kn = za, Wn = $a, Xn = je, Qn = Ia, Yn = Da, Mo = r.forwardRef(({ className: e, inset: t, children: a, ...n }, d) => /* @__PURE__ */ s.jsxs(
920
- ve,
921
- {
922
- ref: d,
923
- className: o(
924
- "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
925
- t && "pl-8",
926
- e
927
- ),
928
- ...n,
929
- children: [
930
- a,
931
- /* @__PURE__ */ s.jsx(S, { className: "ml-auto h-4 w-4" })
932
- ]
933
- }
934
- ));
935
- Mo.displayName = ve.displayName;
936
- const Po = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
937
- we,
938
- {
939
- ref: a,
940
- className: o(
941
- "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-context-menu-content-transform-origin]",
942
- e
943
- ),
944
- ...t
945
- }
946
- ));
947
- Po.displayName = we.displayName;
948
- const Ao = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(je, { children: /* @__PURE__ */ s.jsx(
949
- Ce,
950
- {
951
- ref: a,
952
- className: o(
953
- "z-50 max-h-[--radix-context-menu-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-context-menu-content-transform-origin]",
954
- e
955
- ),
956
- ...t
957
- }
958
- ) }));
959
- Ao.displayName = Ce.displayName;
960
- const Fo = r.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ s.jsx(
961
- Re,
962
- {
963
- ref: n,
964
- className: o(
965
- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
966
- t && "pl-8",
967
- e
968
- ),
969
- ...a
970
- }
971
- ));
972
- Fo.displayName = Re.displayName;
973
- const Lo = r.forwardRef(({ className: e, children: t, checked: a, ...n }, d) => /* @__PURE__ */ s.jsxs(
974
- Te,
975
- {
976
- ref: d,
977
- className: o(
978
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
979
- e
980
- ),
981
- checked: a,
982
- ...n,
983
- children: [
984
- /* @__PURE__ */ s.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ s.jsx(ke, { children: /* @__PURE__ */ s.jsx(D, { className: "h-4 w-4" }) }) }),
985
- t
986
- ]
987
- }
988
- ));
989
- Lo.displayName = Te.displayName;
990
- const Eo = r.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ s.jsxs(
991
- Se,
992
- {
993
- ref: n,
994
- className: o(
995
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
996
- e
997
- ),
998
- ...a,
999
- children: [
1000
- /* @__PURE__ */ s.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ s.jsx(ke, { children: /* @__PURE__ */ s.jsx(B, { className: "h-4 w-4 fill-current" }) }) }),
1001
- t
1002
- ]
1003
- }
1004
- ));
1005
- Eo.displayName = Se.displayName;
1006
- const Oo = r.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ s.jsx(
1007
- _e,
1008
- {
1009
- ref: n,
1010
- className: o("px-2 py-1.5 text-sm font-semibold text-foreground", t && "pl-8", e),
1011
- ...a
1012
- }
1013
- ));
1014
- Oo.displayName = _e.displayName;
1015
- const Bo = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx($e, { ref: a, className: o("-mx-1 my-1 h-px bg-border", e), ...t }));
1016
- Bo.displayName = $e.displayName;
1017
- const Go = ({ className: e, ...t }) => /* @__PURE__ */ s.jsx("span", { className: o("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
1018
- Go.displayName = "ContextMenuShortcut";
1019
- const Vo = ({ shouldScaleBackground: e = !0, ...t }) => /* @__PURE__ */ s.jsx(h.Root, { shouldScaleBackground: e, ...t });
1020
- Vo.displayName = "Drawer";
1021
- const Jn = h.Trigger, Ho = h.Portal, Zn = h.Close, Ut = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(h.Overlay, { ref: a, className: o("fixed inset-0 z-50 bg-black/80", e), ...t }));
1022
- Ut.displayName = h.Overlay.displayName;
1023
- const Uo = r.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ s.jsxs(Ho, { children: [
1024
- /* @__PURE__ */ s.jsx(Ut, {}),
1025
- /* @__PURE__ */ s.jsxs(
1026
- h.Content,
1027
- {
1028
- ref: n,
1029
- className: o(
1030
- "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
1031
- e
1032
- ),
1033
- ...a,
1034
- children: [
1035
- /* @__PURE__ */ s.jsx("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
1036
- t
1037
- ]
1038
- }
1039
- )
1040
- ] }));
1041
- Uo.displayName = "DrawerContent";
1042
- const qo = ({ className: e, ...t }) => /* @__PURE__ */ s.jsx("div", { className: o("grid gap-1.5 p-4 text-center sm:text-left", e), ...t });
1043
- qo.displayName = "DrawerHeader";
1044
- const Ko = ({ className: e, ...t }) => /* @__PURE__ */ s.jsx("div", { className: o("mt-auto flex flex-col gap-2 p-4", e), ...t });
1045
- Ko.displayName = "DrawerFooter";
1046
- const Wo = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1047
- h.Title,
1048
- {
1049
- ref: a,
1050
- className: o("text-lg font-semibold leading-none tracking-tight", e),
1051
- ...t
1052
- }
1053
- ));
1054
- Wo.displayName = h.Title.displayName;
1055
- const Xo = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(h.Description, { ref: a, className: o("text-sm text-muted-foreground", e), ...t }));
1056
- Xo.displayName = h.Description.displayName;
1057
- const Qo = Ma, Yo = La, ed = Pa, td = ze, ad = Fa, sd = Aa, Jo = r.forwardRef(({ className: e, inset: t, children: a, ...n }, d) => /* @__PURE__ */ s.jsxs(
1058
- De,
1059
- {
1060
- ref: d,
1061
- className: o(
1062
- "flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
1063
- t && "pl-8",
1064
- e
1065
- ),
1066
- ...n,
1067
- children: [
1068
- a,
1069
- /* @__PURE__ */ s.jsx(S, { className: "ml-auto" })
1070
- ]
1071
- }
1072
- ));
1073
- Jo.displayName = De.displayName;
1074
- const Zo = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1075
- Ie,
1076
- {
1077
- ref: a,
1078
- className: o(
1079
- "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",
1080
- e
1081
- ),
1082
- ...t
1083
- }
1084
- ));
1085
- Zo.displayName = Ie.displayName;
1086
- const qt = r.forwardRef(({ className: e, sideOffset: t = 4, ...a }, n) => /* @__PURE__ */ s.jsx(ze, { children: /* @__PURE__ */ s.jsx(
1087
- Me,
1088
- {
1089
- ref: n,
1090
- sideOffset: t,
1091
- className: o(
1092
- "z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md",
1093
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",
1094
- e
1095
- ),
1096
- ...a
1097
- }
1098
- ) }));
1099
- qt.displayName = Me.displayName;
1100
- const z = r.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ s.jsx(
1101
- Pe,
1102
- {
1103
- ref: n,
1104
- className: o(
1105
- "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
1106
- t && "pl-8",
1107
- e
1108
- ),
1109
- ...a
1110
- }
1111
- ));
1112
- z.displayName = Pe.displayName;
1113
- const er = r.forwardRef(({ className: e, children: t, checked: a, ...n }, d) => /* @__PURE__ */ s.jsxs(
1114
- Ae,
1115
- {
1116
- ref: d,
1117
- className: o(
1118
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1119
- e
1120
- ),
1121
- checked: a,
1122
- ...n,
1123
- children: [
1124
- /* @__PURE__ */ s.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ s.jsx(Fe, { children: /* @__PURE__ */ s.jsx(D, { className: "h-4 w-4" }) }) }),
1125
- t
1126
- ]
1127
- }
1128
- ));
1129
- er.displayName = Ae.displayName;
1130
- const tr = r.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ s.jsxs(
1131
- Le,
1132
- {
1133
- ref: n,
1134
- className: o(
1135
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1136
- e
1137
- ),
1138
- ...a,
1139
- children: [
1140
- /* @__PURE__ */ s.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ s.jsx(Fe, { children: /* @__PURE__ */ s.jsx(B, { className: "h-2 w-2 fill-current" }) }) }),
1141
- t
1142
- ]
1143
- }
1144
- ));
1145
- tr.displayName = Le.displayName;
1146
- const ar = r.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ s.jsx(
1147
- Ee,
1148
- {
1149
- ref: n,
1150
- className: o("px-2 py-1.5 text-sm font-semibold", t && "pl-8", e),
1151
- ...a
1152
- }
1153
- ));
1154
- ar.displayName = Ee.displayName;
1155
- const sr = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(Oe, { ref: a, className: o("-mx-1 my-1 h-px bg-muted", e), ...t }));
1156
- sr.displayName = Oe.displayName;
1157
- const or = ({ className: e, ...t }) => /* @__PURE__ */ s.jsx("span", { className: o("ml-auto text-xs tracking-widest opacity-60", e), ...t });
1158
- or.displayName = "DropdownMenuShortcut";
1159
- const rr = w("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), Kt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(Be, { ref: a, className: o(rr(), e), ...t }));
1160
- Kt.displayName = Be.displayName;
1161
- const od = Oa, Wt = r.createContext(null), rd = ({
1162
- ...e
1163
- }) => /* @__PURE__ */ s.jsx(Wt.Provider, { value: { name: e.name }, children: /* @__PURE__ */ s.jsx(Ba, { ...e }) }), V = () => {
1164
- const e = r.useContext(Wt), t = r.useContext(Xt), { getFieldState: a, formState: n } = Ea();
1165
- if (!e)
1166
- throw new Error("useFormField should be used within <FormField>");
1167
- if (!t)
1168
- throw new Error("useFormField should be used within <FormItem>");
1169
- const d = a(e.name, n), { id: i } = t;
1170
- return {
1171
- id: i,
1172
- name: e.name,
1173
- formItemId: `${i}-form-item`,
1174
- formDescriptionId: `${i}-form-item-description`,
1175
- formMessageId: `${i}-form-item-message`,
1176
- ...d
1177
- };
1178
- }, Xt = r.createContext(null), nr = r.forwardRef(
1179
- ({ className: e, ...t }, a) => {
1180
- const n = r.useId();
1181
- return /* @__PURE__ */ s.jsx(Xt.Provider, { value: { id: n }, children: /* @__PURE__ */ s.jsx("div", { ref: a, className: o("space-y-2", e), ...t }) });
1182
- }
1183
- );
1184
- nr.displayName = "FormItem";
1185
- const dr = r.forwardRef(({ className: e, ...t }, a) => {
1186
- const { error: n, formItemId: d } = V();
1187
- return /* @__PURE__ */ s.jsx(Kt, { ref: a, className: o(n && "text-destructive", e), htmlFor: d, ...t });
1188
- });
1189
- dr.displayName = "FormLabel";
1190
- const ir = r.forwardRef(
1191
- ({ ...e }, t) => {
1192
- const { error: a, formItemId: n, formDescriptionId: d, formMessageId: i } = V();
1193
- return /* @__PURE__ */ s.jsx(
1194
- X,
1195
- {
1196
- ref: t,
1197
- id: n,
1198
- "aria-describedby": a ? `${d} ${i}` : `${d}`,
1199
- "aria-invalid": !!a,
1200
- ...e
1201
- }
1202
- );
1203
- }
1204
- );
1205
- ir.displayName = "FormControl";
1206
- const lr = r.forwardRef(
1207
- ({ className: e, ...t }, a) => {
1208
- const { formDescriptionId: n } = V();
1209
- return /* @__PURE__ */ s.jsx("p", { ref: a, id: n, className: o("text-[0.8rem] text-muted-foreground", e), ...t });
1210
- }
1211
- );
1212
- lr.displayName = "FormDescription";
1213
- const cr = r.forwardRef(
1214
- ({ className: e, children: t, ...a }, n) => {
1215
- const { error: d, formMessageId: i } = V(), m = d ? String(d?.message ?? "") : t;
1216
- return m ? /* @__PURE__ */ s.jsx(
1217
- "p",
1218
- {
1219
- ref: n,
1220
- id: i,
1221
- className: o("text-[0.8rem] font-medium text-destructive", e),
1222
- ...a,
1223
- children: m
1224
- }
1225
- ) : null;
1226
- }
1227
- );
1228
- cr.displayName = "FormMessage";
1229
- const nd = Ga, dd = Va, mr = r.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...n }, d) => /* @__PURE__ */ s.jsx(
1230
- Ge,
1231
- {
1232
- ref: d,
1233
- align: t,
1234
- sideOffset: a,
1235
- className: o(
1236
- "z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-hover-card-content-transform-origin]",
1237
- e
1238
- ),
1239
- ...n
1240
- }
1241
- ));
1242
- mr.displayName = Ge.displayName;
1243
- const ur = r.forwardRef(
1244
- ({ className: e, type: t, ...a }, n) => /* @__PURE__ */ s.jsx(
1245
- "input",
1246
- {
1247
- type: t,
1248
- className: o(
1249
- "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
1250
- e
1251
- ),
1252
- ref: n,
1253
- ...a
1254
- }
1255
- )
1256
- );
1257
- ur.displayName = "Input";
1258
- function id({ ...e }) {
1259
- return /* @__PURE__ */ s.jsx(Ua, { ...e });
1260
- }
1261
- function ld({ ...e }) {
1262
- return /* @__PURE__ */ s.jsx(Ha, { ...e });
1263
- }
1264
- function cd({ ...e }) {
1265
- return /* @__PURE__ */ s.jsx(Ke, { ...e });
1266
- }
1267
- function md({ ...e }) {
1268
- return /* @__PURE__ */ s.jsx(qa, { ...e });
1269
- }
1270
- function ud({ ...e }) {
1271
- return /* @__PURE__ */ s.jsx(Ka, { "data-slot": "menubar-sub", ...e });
1272
- }
1273
- const fr = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1274
- Ve,
1275
- {
1276
- ref: a,
1277
- className: o("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm", e),
1278
- ...t
1279
- }
1280
- ));
1281
- fr.displayName = Ve.displayName;
1282
- const pr = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1283
- He,
1284
- {
1285
- ref: a,
1286
- className: o(
1287
- "flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
1288
- e
1289
- ),
1290
- ...t
1291
- }
1292
- ));
1293
- pr.displayName = He.displayName;
1294
- const xr = r.forwardRef(({ className: e, inset: t, children: a, ...n }, d) => /* @__PURE__ */ s.jsxs(
1295
- Ue,
1296
- {
1297
- ref: d,
1298
- className: o(
1299
- "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
1300
- t && "pl-8",
1301
- e
1302
- ),
1303
- ...n,
1304
- children: [
1305
- a,
1306
- /* @__PURE__ */ s.jsx(S, { className: "ml-auto h-4 w-4" })
1307
- ]
1308
- }
1309
- ));
1310
- xr.displayName = Ue.displayName;
1311
- const gr = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1312
- qe,
1313
- {
1314
- ref: a,
1315
- className: o(
1316
- "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-menubar-content-transform-origin]",
1317
- e
1318
- ),
1319
- ...t
1320
- }
1321
- ));
1322
- gr.displayName = qe.displayName;
1323
- const br = r.forwardRef(({ className: e, align: t = "start", alignOffset: a = -4, sideOffset: n = 8, ...d }, i) => /* @__PURE__ */ s.jsx(Ke, { children: /* @__PURE__ */ s.jsx(
1324
- We,
1325
- {
1326
- ref: i,
1327
- align: t,
1328
- alignOffset: a,
1329
- sideOffset: n,
1330
- className: o(
1331
- "z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-menubar-content-transform-origin]",
1332
- e
1333
- ),
1334
- ...d
1335
- }
1336
- ) }));
1337
- br.displayName = We.displayName;
1338
- const hr = r.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ s.jsx(
1339
- Xe,
1340
- {
1341
- ref: n,
1342
- className: o(
1343
- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1344
- t && "pl-8",
1345
- e
1346
- ),
1347
- ...a
1348
- }
1349
- ));
1350
- hr.displayName = Xe.displayName;
1351
- const Nr = r.forwardRef(({ className: e, children: t, checked: a, ...n }, d) => /* @__PURE__ */ s.jsxs(
1352
- Qe,
1353
- {
1354
- ref: d,
1355
- className: o(
1356
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1357
- e
1358
- ),
1359
- checked: a,
1360
- ...n,
1361
- children: [
1362
- /* @__PURE__ */ s.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ s.jsx(Ye, { children: /* @__PURE__ */ s.jsx(D, { className: "h-4 w-4" }) }) }),
1363
- t
1364
- ]
1365
- }
1366
- ));
1367
- Nr.displayName = Qe.displayName;
1368
- const yr = r.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ s.jsxs(
1369
- Je,
1370
- {
1371
- ref: n,
1372
- className: o(
1373
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1374
- e
1375
- ),
1376
- ...a,
1377
- children: [
1378
- /* @__PURE__ */ s.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ s.jsx(Ye, { children: /* @__PURE__ */ s.jsx(B, { className: "h-4 w-4 fill-current" }) }) }),
1379
- t
1380
- ]
1381
- }
1382
- ));
1383
- yr.displayName = Je.displayName;
1384
- const vr = r.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ s.jsx(
1385
- Ze,
1386
- {
1387
- ref: n,
1388
- className: o("px-2 py-1.5 text-sm font-semibold", t && "pl-8", e),
1389
- ...a
1390
- }
1391
- ));
1392
- vr.displayName = Ze.displayName;
1393
- const wr = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(et, { ref: a, className: o("-mx-1 my-1 h-px bg-muted", e), ...t }));
1394
- wr.displayName = et.displayName;
1395
- const jr = ({ className: e, ...t }) => /* @__PURE__ */ s.jsx("span", { className: o("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
1396
- jr.displayname = "MenubarShortcut";
1397
- const Cr = r.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ s.jsxs(
1398
- tt,
1399
- {
1400
- ref: n,
1401
- className: o("relative z-10 flex max-w-max flex-1 items-center justify-center", e),
1402
- ...a,
1403
- children: [
1404
- t,
1405
- /* @__PURE__ */ s.jsx(Qt, {})
1406
- ]
1407
- }
1408
- ));
1409
- Cr.displayName = tt.displayName;
1410
- const Rr = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1411
- at,
1412
- {
1413
- ref: a,
1414
- className: o("group flex flex-1 list-none items-center justify-center space-x-1", e),
1415
- ...t
1416
- }
1417
- ));
1418
- Rr.displayName = at.displayName;
1419
- const fd = Wa, Tr = w(
1420
- "group inline-flex h-9 w-max items-center justify-center rounded-md 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-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"
1421
- ), kr = r.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ s.jsxs(
1422
- st,
1423
- {
1424
- ref: n,
1425
- className: o(Tr(), "group", e),
1426
- ...a,
1427
- children: [
1428
- t,
1429
- " ",
1430
- /* @__PURE__ */ s.jsx(
1431
- $,
1432
- {
1433
- className: "relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180",
1434
- "aria-hidden": "true"
1435
- }
1436
- )
1437
- ]
1438
- }
1439
- ));
1440
- kr.displayName = st.displayName;
1441
- const Sr = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1442
- ot,
1443
- {
1444
- ref: a,
1445
- className: o(
1446
- "left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",
1447
- e
1448
- ),
1449
- ...t
1450
- }
1451
- ));
1452
- Sr.displayName = ot.displayName;
1453
- const pd = Xa, Qt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("div", { className: o("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ s.jsx(
1454
- rt,
1455
- {
1456
- className: o(
1457
- "origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow 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)]",
1458
- e
1459
- ),
1460
- ref: a,
1461
- ...t
1462
- }
1463
- ) }));
1464
- Qt.displayName = rt.displayName;
1465
- const _r = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1466
- nt,
1467
- {
1468
- ref: a,
1469
- className: o(
1470
- "top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",
1471
- e
1472
- ),
1473
- ...t,
1474
- children: /* @__PURE__ */ s.jsx("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
1475
- }
1476
- ));
1477
- _r.displayName = nt.displayName;
1478
- const $r = ({ className: e, ...t }) => /* @__PURE__ */ s.jsx(
1479
- "nav",
1480
- {
1481
- role: "navigation",
1482
- "aria-label": "pagination",
1483
- className: o("mx-auto flex w-full justify-center", e),
1484
- ...t
1485
- }
1486
- );
1487
- $r.displayName = "Pagination";
1488
- const Dr = r.forwardRef(
1489
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("ul", { ref: a, className: o("flex flex-row items-center gap-1", e), ...t })
1490
- );
1491
- Dr.displayName = "PaginationContent";
1492
- const Ir = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("li", { ref: a, className: o("", e), ...t }));
1493
- Ir.displayName = "PaginationItem";
1494
- const Y = ({ className: e, isActive: t, size: a = "icon", ...n }) => /* @__PURE__ */ s.jsx(
1495
- "a",
1496
- {
1497
- "aria-current": t ? "page" : void 0,
1498
- className: o(
1499
- T({
1500
- variant: t ? "outline" : "ghost",
1501
- size: a
1502
- }),
1503
- e
1504
- ),
1505
- ...n
1506
- }
1507
- );
1508
- Y.displayName = "PaginationLink";
1509
- const zr = ({ className: e, ...t }) => /* @__PURE__ */ s.jsxs(Y, { "aria-label": "Go to previous page", size: "default", className: o("gap-1 pl-2.5", e), ...t, children: [
1510
- /* @__PURE__ */ s.jsx(ge, { className: "h-4 w-4" }),
1511
- /* @__PURE__ */ s.jsx("span", { children: "Previous" })
1512
- ] });
1513
- zr.displayName = "PaginationPrevious";
1514
- const Mr = ({ className: e, ...t }) => /* @__PURE__ */ s.jsxs(Y, { "aria-label": "Go to next page", size: "default", className: o("gap-1 pr-2.5", e), ...t, children: [
1515
- /* @__PURE__ */ s.jsx("span", { children: "Next" }),
1516
- /* @__PURE__ */ s.jsx(S, { className: "h-4 w-4" })
1517
- ] });
1518
- Mr.displayName = "PaginationNext";
1519
- const Pr = ({ className: e, ...t }) => /* @__PURE__ */ s.jsxs("span", { "aria-hidden": !0, className: o("flex h-9 w-9 items-center justify-center", e), ...t, children: [
1520
- /* @__PURE__ */ s.jsx(pe, { className: "h-4 w-4" }),
1521
- /* @__PURE__ */ s.jsx("span", { className: "sr-only", children: "More pages" })
1522
- ] });
1523
- Pr.displayName = "PaginationEllipsis";
1524
- const xd = Ya, gd = Za, bd = Ja, Ar = r.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...n }, d) => /* @__PURE__ */ s.jsx(Qa, { children: /* @__PURE__ */ s.jsx(
1525
- dt,
1526
- {
1527
- ref: d,
1528
- align: t,
1529
- sideOffset: a,
1530
- className: o(
1531
- "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",
1532
- e
1533
- ),
1534
- ...n
1535
- }
1536
- ) }));
1537
- Ar.displayName = dt.displayName;
1538
- const Fr = r.forwardRef(({ className: e, value: t, ...a }, n) => /* @__PURE__ */ s.jsx(
1539
- it,
1540
- {
1541
- ref: n,
1542
- className: o("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", e),
1543
- value: t,
1544
- ...a,
1545
- children: /* @__PURE__ */ s.jsx(
1546
- es,
1547
- {
1548
- className: "h-full w-full flex-1 bg-primary transition-all",
1549
- style: { transform: `translateX(-${100 - (t || 0)}%)` }
1550
- }
1551
- )
1552
- }
1553
- ));
1554
- Fr.displayName = it.displayName;
1555
- const Lr = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(lt, { className: o("grid gap-2", e), ...t, ref: a }));
1556
- Lr.displayName = lt.displayName;
1557
- const Er = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1558
- ct,
1559
- {
1560
- ref: a,
1561
- className: o(
1562
- "aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
1563
- e
1564
- ),
1565
- ...t,
1566
- children: /* @__PURE__ */ s.jsx(ts, { className: "flex items-center justify-center", children: /* @__PURE__ */ s.jsx(B, { className: "h-3.5 w-3.5 fill-primary" }) })
1567
- }
1568
- ));
1569
- Er.displayName = ct.displayName;
1570
- const hd = ({
1571
- className: e,
1572
- direction: t,
1573
- ...a
1574
- }) => /* @__PURE__ */ s.jsx(
1575
- rs,
1576
- {
1577
- orientation: t,
1578
- className: o("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", e),
1579
- ...a
1580
- }
1581
- ), Nd = as, yd = ({
1582
- withHandle: e,
1583
- className: t,
1584
- ...a
1585
- }) => /* @__PURE__ */ s.jsx(
1586
- ss,
1587
- {
1588
- className: o(
1589
- "relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",
1590
- t
1591
- ),
1592
- ...a,
1593
- children: e && /* @__PURE__ */ s.jsx("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ s.jsx(os, { className: "h-2.5 w-2.5" }) })
1594
- }
1595
- ), Or = r.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ s.jsxs(mt, { ref: n, className: o("relative overflow-hidden", e), ...a, children: [
1596
- /* @__PURE__ */ s.jsx(ns, { className: "h-full w-full rounded-[inherit]", children: t }),
1597
- /* @__PURE__ */ s.jsx(Yt, {}),
1598
- /* @__PURE__ */ s.jsx(ds, {})
1599
- ] }));
1600
- Or.displayName = mt.displayName;
1601
- const Yt = r.forwardRef(({ className: e, orientation: t = "vertical", ...a }, n) => /* @__PURE__ */ s.jsx(
1602
- ut,
1603
- {
1604
- ref: n,
1605
- orientation: t,
1606
- className: o(
1607
- "flex touch-none select-none transition-colors",
1608
- t === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
1609
- t === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
1610
- e
1611
- ),
1612
- ...a,
1613
- children: /* @__PURE__ */ s.jsx(is, { className: "relative flex-1 rounded-full bg-border" })
1614
- }
1615
- ));
1616
- Yt.displayName = ut.displayName;
1617
- const vd = xs, wd = gs, jd = bs, Br = r.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ s.jsxs(
1618
- ft,
1619
- {
1620
- ref: n,
1621
- className: o(
1622
- "flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
1623
- e
1624
- ),
1625
- ...a,
1626
- children: [
1627
- t,
1628
- /* @__PURE__ */ s.jsx(ls, { asChild: !0, children: /* @__PURE__ */ s.jsx($, { className: "h-4 w-4 opacity-50" }) })
1629
- ]
1630
- }
1631
- ));
1632
- Br.displayName = ft.displayName;
1633
- const Jt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1634
- pt,
1635
- {
1636
- ref: a,
1637
- className: o("flex cursor-default items-center justify-center py-1", e),
1638
- ...t,
1639
- children: /* @__PURE__ */ s.jsx(cs, { className: "h-4 w-4" })
1640
- }
1641
- ));
1642
- Jt.displayName = pt.displayName;
1643
- const Zt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1644
- xt,
1645
- {
1646
- ref: a,
1647
- className: o("flex cursor-default items-center justify-center py-1", e),
1648
- ...t,
1649
- children: /* @__PURE__ */ s.jsx($, { className: "h-4 w-4" })
1650
- }
1651
- ));
1652
- Zt.displayName = xt.displayName;
1653
- const Gr = r.forwardRef(({ className: e, children: t, position: a = "popper", ...n }, d) => /* @__PURE__ */ s.jsx(ms, { children: /* @__PURE__ */ s.jsxs(
1654
- gt,
1655
- {
1656
- ref: d,
1657
- className: o(
1658
- "relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",
1659
- a === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
1660
- e
1661
- ),
1662
- position: a,
1663
- ...n,
1664
- children: [
1665
- /* @__PURE__ */ s.jsx(Jt, {}),
1666
- /* @__PURE__ */ s.jsx(
1667
- us,
1668
- {
1669
- className: o(
1670
- "p-1",
1671
- a === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
1672
- ),
1673
- children: t
1674
- }
1675
- ),
1676
- /* @__PURE__ */ s.jsx(Zt, {})
1677
- ]
1678
- }
1679
- ) }));
1680
- Gr.displayName = gt.displayName;
1681
- const Vr = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(bt, { ref: a, className: o("px-2 py-1.5 text-sm font-semibold", e), ...t }));
1682
- Vr.displayName = bt.displayName;
1683
- const Hr = r.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ s.jsxs(
1684
- ht,
1685
- {
1686
- ref: n,
1687
- className: o(
1688
- "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1689
- e
1690
- ),
1691
- ...a,
1692
- children: [
1693
- /* @__PURE__ */ s.jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ s.jsx(fs, { children: /* @__PURE__ */ s.jsx(D, { className: "h-4 w-4" }) }) }),
1694
- /* @__PURE__ */ s.jsx(ps, { children: t })
1695
- ]
1696
- }
1697
- ));
1698
- Hr.displayName = ht.displayName;
1699
- const Ur = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(Nt, { ref: a, className: o("-mx-1 my-1 h-px bg-muted", e), ...t }));
1700
- Ur.displayName = Nt.displayName;
1701
- const qr = r.forwardRef(({ className: e, orientation: t = "horizontal", decorative: a = !0, ...n }, d) => /* @__PURE__ */ s.jsx(
1702
- yt,
1703
- {
1704
- ref: d,
1705
- decorative: a,
1706
- orientation: t,
1707
- className: o("shrink-0 bg-border", t === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", e),
1708
- ...n
1709
- }
1710
- ));
1711
- qr.displayName = yt.displayName;
1712
- const Cd = Ne, Rd = ye, Td = L, Kr = he, ea = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1713
- A,
1714
- {
1715
- className: o(
1716
- "fixed inset-0 z-50 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",
1717
- e
1718
- ),
1719
- ...t,
1720
- ref: a
1721
- }
1722
- ));
1723
- ea.displayName = A.displayName;
1724
- const Wr = w(
1725
- "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
1726
- {
1727
- variants: {
1728
- side: {
1729
- top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
1730
- bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
1731
- left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
1732
- right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
1733
- }
1734
- },
1735
- defaultVariants: {
1736
- side: "right"
1737
- }
1738
- }
1739
- ), Xr = r.forwardRef(
1740
- ({ side: e = "right", className: t, children: a, ...n }, d) => /* @__PURE__ */ s.jsxs(Kr, { children: [
1741
- /* @__PURE__ */ s.jsx(ea, {}),
1742
- /* @__PURE__ */ s.jsxs(F, { ref: d, className: o(Wr({ side: e }), t), ...n, children: [
1743
- /* @__PURE__ */ s.jsxs(L, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
1744
- /* @__PURE__ */ s.jsx(Q, { className: "h-4 w-4" }),
1745
- /* @__PURE__ */ s.jsx("span", { className: "sr-only", children: "Close" })
1746
- ] }),
1747
- a
1748
- ] })
1749
- ] })
1750
- );
1751
- Xr.displayName = F.displayName;
1752
- const Qr = ({ className: e, ...t }) => /* @__PURE__ */ s.jsx("div", { className: o("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
1753
- Qr.displayName = "SheetHeader";
1754
- const Yr = ({ className: e, ...t }) => /* @__PURE__ */ s.jsx("div", { className: o("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
1755
- Yr.displayName = "SheetFooter";
1756
- const Jr = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(E, { ref: a, className: o("text-lg font-semibold text-foreground", e), ...t }));
1757
- Jr.displayName = E.displayName;
1758
- const Zr = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(O, { ref: a, className: o("text-sm text-muted-foreground", e), ...t }));
1759
- Zr.displayName = O.displayName;
1760
- function kd({ className: e, ...t }) {
1761
- return /* @__PURE__ */ s.jsx("div", { className: o("animate-pulse rounded-md bg-primary/10", e), ...t });
1762
- }
1763
- const en = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsxs(
1764
- vt,
1765
- {
1766
- ref: a,
1767
- className: o("relative flex w-full touch-none select-none items-center", e),
1768
- ...t,
1769
- children: [
1770
- /* @__PURE__ */ s.jsx(hs, { className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20", children: /* @__PURE__ */ s.jsx(Ns, { className: "absolute h-full bg-primary" }) }),
1771
- /* @__PURE__ */ s.jsx(ys, { className: "block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50" })
1772
- ]
1773
- }
1774
- ));
1775
- en.displayName = vt.displayName;
1776
- const Sd = ({ ...e }) => {
1777
- const { theme: t = "system" } = At();
1778
- return /* @__PURE__ */ s.jsx(
1779
- vs,
1780
- {
1781
- theme: t,
1782
- className: "toaster group",
1783
- toastOptions: {
1784
- classNames: {
1785
- toast: "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
1786
- description: "group-[.toast]:text-muted-foreground",
1787
- actionButton: "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
1788
- cancelButton: "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"
1789
- }
1790
- },
1791
- ...e
1792
- }
1793
- );
1794
- }, tn = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1795
- wt,
1796
- {
1797
- className: o(
1798
- "peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm 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",
1799
- e
1800
- ),
1801
- ...t,
1802
- ref: a,
1803
- children: /* @__PURE__ */ s.jsx(
1804
- ws,
1805
- {
1806
- className: o(
1807
- "pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"
1808
- )
1809
- }
1810
- )
1811
- }
1812
- ));
1813
- tn.displayName = wt.displayName;
1814
- const an = r.forwardRef(
1815
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ s.jsx("table", { ref: a, className: o("w-full caption-bottom text-sm", e), ...t }) })
1816
- );
1817
- an.displayName = "Table";
1818
- const sn = r.forwardRef(
1819
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("thead", { ref: a, className: o("[&_tr]:border-b", e), ...t })
1820
- );
1821
- sn.displayName = "TableHeader";
1822
- const on = r.forwardRef(
1823
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("tbody", { ref: a, className: o("[&_tr:last-child]:border-0", e), ...t })
1824
- );
1825
- on.displayName = "TableBody";
1826
- const rn = r.forwardRef(
1827
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("tfoot", { ref: a, className: o("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", e), ...t })
1828
- );
1829
- rn.displayName = "TableFooter";
1830
- const nn = r.forwardRef(
1831
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1832
- "tr",
1833
- {
1834
- ref: a,
1835
- className: o("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", e),
1836
- ...t
1837
- }
1838
- )
1839
- );
1840
- nn.displayName = "TableRow";
1841
- const dn = r.forwardRef(
1842
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1843
- "th",
1844
- {
1845
- ref: a,
1846
- className: o(
1847
- "h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
1848
- e
1849
- ),
1850
- ...t
1851
- }
1852
- )
1853
- );
1854
- dn.displayName = "TableHead";
1855
- const ln = r.forwardRef(
1856
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1857
- "td",
1858
- {
1859
- ref: a,
1860
- className: o("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
1861
- ...t
1862
- }
1863
- )
1864
- );
1865
- ln.displayName = "TableCell";
1866
- const cn = r.forwardRef(
1867
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx("caption", { ref: a, className: o("mt-4 text-sm text-muted-foreground", e), ...t })
1868
- );
1869
- cn.displayName = "TableCaption";
1870
- const _d = js, mn = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1871
- jt,
1872
- {
1873
- ref: a,
1874
- className: o(
1875
- "inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",
1876
- e
1877
- ),
1878
- ...t
1879
- }
1880
- ));
1881
- mn.displayName = jt.displayName;
1882
- const un = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1883
- Ct,
1884
- {
1885
- ref: a,
1886
- className: o(
1887
- "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all 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=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
1888
- e
1889
- ),
1890
- ...t
1891
- }
1892
- ));
1893
- un.displayName = Ct.displayName;
1894
- const fn = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1895
- Rt,
1896
- {
1897
- ref: a,
1898
- className: o(
1899
- "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
1900
- e
1901
- ),
1902
- ...t
1903
- }
1904
- ));
1905
- fn.displayName = Rt.displayName;
1906
- const pn = r.forwardRef(
1907
- ({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1908
- "textarea",
1909
- {
1910
- className: o(
1911
- "flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
1912
- e
1913
- ),
1914
- ref: a,
1915
- ...t
1916
- }
1917
- )
1918
- );
1919
- pn.displayName = "Textarea";
1920
- function $d({ children: e, ...t }) {
1921
- return /* @__PURE__ */ s.jsx(_s, { attribute: "class", defaultTheme: "system", enableSystem: !0, ...t, children: e });
1922
- }
1923
- function xn() {
1924
- const e = At(), { resolvedTheme: t } = e, a = t === "dark" ? K.dark : K.light;
1925
- return {
1926
- ...e,
1927
- tokens: a
1928
- };
1929
- }
1930
- function Dd({ variant: e = "binary", onThemeChange: t, customTheme: a, className: n }) {
1931
- const { theme: d, setTheme: i, resolvedTheme: m } = xn(), u = a ?? d, l = (a || m) === "dark", p = u === "system", x = (C) => {
1932
- t ? t(C) : i(C);
1933
- }, y = () => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1934
- /* @__PURE__ */ s.jsx(
1935
- Z,
1936
- {
1937
- className: o(
1938
- "h-[1.2rem] w-[1.2rem] transition-all",
1939
- !p && !l ? "rotate-0 scale-100" : "-rotate-90 scale-0"
1940
- )
1941
- }
1942
- ),
1943
- /* @__PURE__ */ s.jsx(
1944
- ee,
1945
- {
1946
- className: o(
1947
- "absolute h-[1.2rem] w-[1.2rem] transition-all",
1948
- !p && l ? "rotate-0 scale-100" : "rotate-90 scale-0"
1949
- )
1950
- }
1951
- ),
1952
- /* @__PURE__ */ s.jsx(
1953
- te,
1954
- {
1955
- className: o(
1956
- "absolute h-[1.2rem] w-[1.2rem] transition-all",
1957
- p ? "rotate-0 scale-100" : "rotate-90 scale-0"
1958
- )
1959
- }
1960
- ),
1961
- /* @__PURE__ */ s.jsx("span", { className: "sr-only", children: "Toggle theme" })
1962
- ] });
1963
- return e === "ternary" ? /* @__PURE__ */ s.jsxs(Qo, { children: [
1964
- /* @__PURE__ */ s.jsx(Yo, { asChild: !0, children: /* @__PURE__ */ s.jsx(k, { variant: "ghost", size: "icon", className: o("relative h-9 w-9", n), children: /* @__PURE__ */ s.jsx(y, {}) }) }),
1965
- /* @__PURE__ */ s.jsxs(qt, { align: "end", children: [
1966
- /* @__PURE__ */ s.jsxs(z, { onClick: () => x("light"), children: [
1967
- /* @__PURE__ */ s.jsx(Z, { className: "mr-2 h-4 w-4" }),
1968
- /* @__PURE__ */ s.jsx("span", { children: "Light" })
1969
- ] }),
1970
- /* @__PURE__ */ s.jsxs(z, { onClick: () => x("dark"), children: [
1971
- /* @__PURE__ */ s.jsx(ee, { className: "mr-2 h-4 w-4" }),
1972
- /* @__PURE__ */ s.jsx("span", { children: "Dark" })
1973
- ] }),
1974
- /* @__PURE__ */ s.jsxs(z, { onClick: () => x("system"), children: [
1975
- /* @__PURE__ */ s.jsx(te, { className: "mr-2 h-4 w-4" }),
1976
- /* @__PURE__ */ s.jsx("span", { children: "System" })
1977
- ] })
1978
- ] })
1979
- ] }) : /* @__PURE__ */ s.jsx(
1980
- k,
1981
- {
1982
- variant: "ghost",
1983
- size: "icon",
1984
- className: o("relative h-9 w-9", n),
1985
- onClick: () => x(u === "dark" ? "light" : "dark"),
1986
- "aria-label": "Toggle theme",
1987
- children: /* @__PURE__ */ s.jsx(y, {})
1988
- }
1989
- );
1990
- }
1991
- const gn = Cs, ta = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
1992
- Tt,
1993
- {
1994
- ref: a,
1995
- className: o(
1996
- "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
1997
- e
1998
- ),
1999
- ...t
2000
- }
2001
- ));
2002
- ta.displayName = Tt.displayName;
2003
- const bn = w(
2004
- "group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 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",
2005
- {
2006
- variants: {
2007
- variant: {
2008
- default: "border bg-background text-foreground",
2009
- destructive: "destructive group border-destructive bg-destructive text-destructive-foreground"
2010
- }
2011
- },
2012
- defaultVariants: {
2013
- variant: "default"
2014
- }
2015
- }
2016
- ), aa = r.forwardRef(({ className: e, variant: t, ...a }, n) => /* @__PURE__ */ s.jsx(kt, { ref: n, className: o(bn({ variant: t }), e), ...a }));
2017
- aa.displayName = kt.displayName;
2018
- const hn = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
2019
- St,
2020
- {
2021
- ref: a,
2022
- className: o(
2023
- "inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",
2024
- e
2025
- ),
2026
- ...t
2027
- }
2028
- ));
2029
- hn.displayName = St.displayName;
2030
- const sa = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(
2031
- _t,
2032
- {
2033
- ref: a,
2034
- className: o(
2035
- "absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
2036
- e
2037
- ),
2038
- "toast-close": "",
2039
- ...t,
2040
- children: /* @__PURE__ */ s.jsx(Q, { className: "h-4 w-4" })
2041
- }
2042
- ));
2043
- sa.displayName = _t.displayName;
2044
- const oa = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx($t, { ref: a, className: o("text-sm font-semibold [&+div]:text-xs", e), ...t }));
2045
- oa.displayName = $t.displayName;
2046
- const ra = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s.jsx(Dt, { ref: a, className: o("text-sm opacity-90", e), ...t }));
2047
- ra.displayName = Dt.displayName;
2048
- const Nn = 1, yn = 1e6, I = {
2049
- ADD_TOAST: "ADD_TOAST",
2050
- UPDATE_TOAST: "UPDATE_TOAST",
2051
- DISMISS_TOAST: "DISMISS_TOAST",
2052
- REMOVE_TOAST: "REMOVE_TOAST"
2053
- };
2054
- let U = 0;
2055
- function vn() {
2056
- return U = (U + 1) % Number.MAX_SAFE_INTEGER, U.toString();
2057
- }
2058
- const q = /* @__PURE__ */ new Map(), ae = (e) => {
2059
- if (q.has(e))
2060
- return;
2061
- const t = setTimeout(() => {
2062
- q.delete(e), _({
2063
- type: "REMOVE_TOAST",
2064
- toastId: e
2065
- });
2066
- }, yn);
2067
- q.set(e, t);
2068
- }, wn = (e, t) => {
2069
- switch (t.type) {
2070
- case I.ADD_TOAST:
2071
- return {
2072
- ...e,
2073
- toasts: [t.toast, ...e.toasts].slice(0, Nn)
2074
- };
2075
- case I.UPDATE_TOAST:
2076
- return {
2077
- ...e,
2078
- toasts: e.toasts.map((a) => a.id === t.toast.id ? { ...a, ...t.toast } : a)
2079
- };
2080
- case I.DISMISS_TOAST: {
2081
- const { toastId: a } = t;
2082
- return a ? ae(a) : e.toasts.forEach((n) => {
2083
- ae(n.id);
2084
- }), {
2085
- ...e,
2086
- toasts: e.toasts.map(
2087
- (n) => n.id === a || a === void 0 ? {
2088
- ...n,
2089
- open: !1
2090
- } : n
2091
- )
2092
- };
2093
- }
2094
- case I.REMOVE_TOAST:
2095
- return t.toastId === void 0 ? {
2096
- ...e,
2097
- toasts: []
2098
- } : {
2099
- ...e,
2100
- toasts: e.toasts.filter((a) => a.id !== t.toastId)
2101
- };
2102
- }
2103
- }, M = [];
2104
- let P = { toasts: [] };
2105
- function _(e) {
2106
- P = wn(P, e), M.forEach((t) => {
2107
- t(P);
2108
- });
2109
- }
2110
- function jn({ ...e }) {
2111
- const t = vn(), a = (d) => _({
2112
- type: "UPDATE_TOAST",
2113
- toast: { ...d, id: t }
2114
- }), n = () => _({ type: "DISMISS_TOAST", toastId: t });
2115
- return _({
2116
- type: "ADD_TOAST",
2117
- toast: {
2118
- ...e,
2119
- id: t,
2120
- open: !0,
2121
- onOpenChange: (d) => {
2122
- d || n();
2123
- }
2124
- }
2125
- }), {
2126
- id: t,
2127
- dismiss: n,
2128
- update: a
2129
- };
2130
- }
2131
- function Cn() {
2132
- const [e, t] = r.useState(P);
2133
- return r.useEffect(() => (M.push(t), () => {
2134
- const a = M.indexOf(t);
2135
- a > -1 && M.splice(a, 1);
2136
- }), [e]), {
2137
- ...e,
2138
- toast: jn,
2139
- dismiss: (a) => _({ type: "DISMISS_TOAST", toastId: a })
2140
- };
2141
- }
2142
- function Id() {
2143
- const { toasts: e } = Cn();
2144
- return /* @__PURE__ */ s.jsxs(gn, { children: [
2145
- e.map(function({ id: t, title: a, description: n, action: d, ...i }) {
2146
- return /* @__PURE__ */ s.jsxs(aa, { ...i, children: [
2147
- /* @__PURE__ */ s.jsxs("div", { className: "grid gap-1", children: [
2148
- a && /* @__PURE__ */ s.jsx(oa, { children: a }),
2149
- n && /* @__PURE__ */ s.jsx(ra, { children: n })
2150
- ] }),
2151
- d,
2152
- /* @__PURE__ */ s.jsx(sa, {})
2153
- ] }, t);
2154
- }),
2155
- /* @__PURE__ */ s.jsx(ta, {})
2156
- ] });
2157
- }
2158
- const na = w(
2159
- "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
2160
- {
2161
- variants: {
2162
- variant: {
2163
- default: "bg-transparent",
2164
- outline: "border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"
2165
- },
2166
- size: {
2167
- default: "h-9 px-2 min-w-9",
2168
- sm: "h-8 px-1.5 min-w-8",
2169
- lg: "h-10 px-2.5 min-w-10"
2170
- }
2171
- },
2172
- defaultVariants: {
2173
- variant: "default",
2174
- size: "default"
2175
- }
2176
- }
2177
- ), Rn = r.forwardRef(({ className: e, variant: t, size: a, ...n }, d) => /* @__PURE__ */ s.jsx(It, { ref: d, className: o(na({ variant: t, size: a, className: e })), ...n }));
2178
- Rn.displayName = It.displayName;
2179
- const da = r.createContext({
2180
- size: "default",
2181
- variant: "default"
2182
- }), Tn = r.forwardRef(({ className: e, variant: t, size: a, children: n, ...d }, i) => /* @__PURE__ */ s.jsx(zt, { ref: i, className: o("flex items-center justify-center gap-1", e), ...d, children: /* @__PURE__ */ s.jsx(da.Provider, { value: { variant: t, size: a }, children: n }) }));
2183
- Tn.displayName = zt.displayName;
2184
- const kn = r.forwardRef(({ className: e, children: t, variant: a, size: n, ...d }, i) => {
2185
- const m = r.useContext(da);
2186
- return /* @__PURE__ */ s.jsx(
2187
- Mt,
2188
- {
2189
- ref: i,
2190
- className: o(
2191
- na({
2192
- variant: m.variant || a,
2193
- size: m.size || n
2194
- }),
2195
- e
2196
- ),
2197
- ...d,
2198
- children: t
2199
- }
2200
- );
2201
- });
2202
- kn.displayName = Mt.displayName;
2203
- const zd = ks, Md = Ts, Pd = Ss, Sn = r.forwardRef(({ className: e, sideOffset: t = 4, ...a }, n) => /* @__PURE__ */ s.jsx(Rs, { children: /* @__PURE__ */ s.jsx(
2204
- Pt,
2205
- {
2206
- ref: n,
2207
- sideOffset: t,
2208
- className: o(
2209
- "z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",
2210
- e
2211
- ),
2212
- ...a
2213
- }
2214
- ) }));
2215
- Sn.displayName = Pt.displayName;
1
+ import { c as r } from "./utils-C9QGdMaH.mjs";
2
+ import { T as a, p as n, t as i, a as l, u as p } from "./theme-toggle-CCUkxY6o.mjs";
3
+ import { Accordion as m, AccordionContent as g, AccordionItem as C, AccordionTrigger as d } from "./accordion.es.js";
4
+ import { Alert as x, AlertDescription as T, AlertTitle as b } from "./alert.es.js";
5
+ import { AlertDialog as M, AlertDialogAction as c, AlertDialogCancel as f, AlertDialogContent as S, AlertDialogDescription as h, AlertDialogFooter as w, AlertDialogHeader as v, AlertDialogOverlay as P, AlertDialogPortal as A, AlertDialogTitle as I, AlertDialogTrigger as F } from "./alert-dialog.es.js";
6
+ import { AspectRatio as B } from "./aspect-ratio.es.js";
7
+ import { Avatar as R, AvatarFallback as H, AvatarImage as k } from "./avatar.es.js";
8
+ import { Badge as y, badgeVariants as V } from "./badge.es.js";
9
+ import { Breadcrumb as z, BreadcrumbEllipsis as E, BreadcrumbItem as U, BreadcrumbLink as j, BreadcrumbList as q, BreadcrumbPage as J, BreadcrumbSeparator as K } from "./breadcrumb.es.js";
10
+ import { Button as W, buttonVariants as X } from "./button.es.js";
11
+ import { Calendar as Z, CalendarDayButton as _ } from "./calendar.es.js";
12
+ import { Card as ee, CardContent as oe, CardDescription as re, CardFooter as te, CardHeader as ae, CardTitle as ne } from "./card.es.js";
13
+ import { Carousel as le, CarouselContent as pe, CarouselItem as ue, CarouselNext as me, CarouselPrevious as ge } from "./carousel.es.js";
14
+ import { ChartContainer as de, ChartLegend as se, ChartLegendContent as xe, ChartStyle as Te, ChartTooltip as be, ChartTooltipContent as De } from "./chart.es.js";
15
+ import { Checkbox as ce } from "./checkbox.es.js";
16
+ import { Collapsible as Se, CollapsibleContent as he, CollapsibleTrigger as we } from "./collapsible.es.js";
17
+ import { Command as Pe, CommandDialog as Ae, CommandEmpty as Ie, CommandGroup as Fe, CommandInput as Le, CommandItem as Be, CommandList as Ge, CommandSeparator as Re, CommandShortcut as He } from "./command.es.js";
18
+ import { ContextMenu as Ne, ContextMenuCheckboxItem as ye, ContextMenuContent as Ve, ContextMenuGroup as Oe, ContextMenuItem as ze, ContextMenuLabel as Ee, ContextMenuPortal as Ue, ContextMenuRadioGroup as je, ContextMenuRadioItem as qe, ContextMenuSeparator as Je, ContextMenuShortcut as Ke, ContextMenuSub as Qe, ContextMenuSubContent as We, ContextMenuSubTrigger as Xe, ContextMenuTrigger as Ye } from "./context-menu.es.js";
19
+ import { Dialog as _e, DialogClose as $e, DialogContent as eo, DialogDescription as oo, DialogFooter as ro, DialogHeader as to, DialogOverlay as ao, DialogPortal as no, DialogTitle as io, DialogTrigger as lo } from "./dialog.es.js";
20
+ import { Drawer as uo, DrawerClose as mo, DrawerContent as go, DrawerDescription as Co, DrawerFooter as so, DrawerHeader as xo, DrawerOverlay as To, DrawerPortal as bo, DrawerTitle as Do, DrawerTrigger as Mo } from "./drawer.es.js";
21
+ import { DropdownMenu as fo, DropdownMenuCheckboxItem as So, DropdownMenuContent as ho, DropdownMenuGroup as wo, DropdownMenuItem as vo, DropdownMenuLabel as Po, DropdownMenuPortal as Ao, DropdownMenuRadioGroup as Io, DropdownMenuRadioItem as Fo, DropdownMenuSeparator as Lo, DropdownMenuShortcut as Bo, DropdownMenuSub as Go, DropdownMenuSubContent as Ro, DropdownMenuSubTrigger as Ho, DropdownMenuTrigger as ko } from "./dropdown-menu.es.js";
22
+ import { Form as yo, FormControl as Vo, FormDescription as Oo, FormField as zo, FormItem as Eo, FormLabel as Uo, FormMessage as jo, useFormField as qo } from "./form.es.js";
23
+ import { HoverCard as Ko, HoverCardContent as Qo, HoverCardTrigger as Wo } from "./hover-card.es.js";
24
+ import { Input as Yo } from "./input.es.js";
25
+ import { Label as _o } from "./label.es.js";
26
+ import { Menubar as er, MenubarCheckboxItem as or, MenubarContent as rr, MenubarGroup as tr, MenubarItem as ar, MenubarLabel as nr, MenubarMenu as ir, MenubarPortal as lr, MenubarRadioGroup as pr, MenubarRadioItem as ur, MenubarSeparator as mr, MenubarShortcut as gr, MenubarSub as Cr, MenubarSubContent as dr, MenubarSubTrigger as sr, MenubarTrigger as xr } from "./menubar.es.js";
27
+ import { NavigationMenu as br, NavigationMenuContent as Dr, NavigationMenuIndicator as Mr, NavigationMenuItem as cr, NavigationMenuLink as fr, NavigationMenuList as Sr, NavigationMenuTrigger as hr, NavigationMenuViewport as wr, navigationMenuTriggerStyle as vr } from "./navigation-menu.es.js";
28
+ import { Pagination as Ar, PaginationContent as Ir, PaginationEllipsis as Fr, PaginationItem as Lr, PaginationLink as Br, PaginationNext as Gr, PaginationPrevious as Rr } from "./pagination.es.js";
29
+ import { Popover as kr, PopoverAnchor as Nr, PopoverContent as yr, PopoverTrigger as Vr } from "./popover.es.js";
30
+ import { Progress as zr } from "./progress.es.js";
31
+ import { RadioGroup as Ur, RadioGroupItem as jr } from "./radio-group.es.js";
32
+ import { ResizableHandle as Jr, ResizablePanel as Kr, ResizablePanelGroup as Qr } from "./resizable.es.js";
33
+ import { ScrollArea as Xr, ScrollBar as Yr } from "./scroll-area.es.js";
34
+ import { Select as _r, SelectContent as $r, SelectGroup as et, SelectItem as ot, SelectLabel as rt, SelectScrollDownButton as tt, SelectScrollUpButton as at, SelectSeparator as nt, SelectTrigger as it, SelectValue as lt } from "./select.es.js";
35
+ import { Separator as ut } from "./separator.es.js";
36
+ import { Sheet as gt, SheetClose as Ct, SheetContent as dt, SheetDescription as st, SheetFooter as xt, SheetHeader as Tt, SheetOverlay as bt, SheetPortal as Dt, SheetTitle as Mt, SheetTrigger as ct } from "./sheet.es.js";
37
+ import { Skeleton as St } from "./skeleton.es.js";
38
+ import { Slider as wt } from "./slider.es.js";
39
+ import { Toaster as Pt } from "./sonner.es.js";
40
+ import { Switch as It } from "./switch.es.js";
41
+ import { Table as Lt, TableBody as Bt, TableCaption as Gt, TableCell as Rt, TableFooter as Ht, TableHead as kt, TableHeader as Nt, TableRow as yt } from "./table.es.js";
42
+ import { Tabs as Ot, TabsContent as zt, TabsList as Et, TabsTrigger as Ut } from "./tabs.es.js";
43
+ import { Textarea as qt } from "./textarea.es.js";
44
+ import { ThemeProvider as Kt } from "./theme-provider.es.js";
45
+ import { Toast as Wt, ToastAction as Xt, ToastClose as Yt, ToastDescription as Zt, ToastProvider as _t, ToastTitle as $t, ToastViewport as ea } from "./toast.es.js";
46
+ import { T as ra, r as ta, t as aa, u as na } from "./toaster-Bk6a4gIz.mjs";
47
+ import { Toggle as la, toggleVariants as pa } from "./toggle.es.js";
48
+ import { ToggleGroup as ma, ToggleGroupItem as ga } from "./toggle-group.es.js";
49
+ import { Tooltip as da, TooltipContent as sa, TooltipProvider as xa, TooltipTrigger as Ta } from "./tooltip.es.js";
2216
50
  export {
2217
- In as Accordion,
2218
- Is as AccordionContent,
2219
- $s as AccordionItem,
2220
- Ds as AccordionTrigger,
2221
- Ms as Alert,
2222
- As as AlertDescription,
2223
- zn as AlertDialog,
2224
- Vs as AlertDialogAction,
2225
- Hs as AlertDialogCancel,
2226
- Ls as AlertDialogContent,
2227
- Gs as AlertDialogDescription,
2228
- Os as AlertDialogFooter,
2229
- Es as AlertDialogHeader,
2230
- Lt as AlertDialogOverlay,
2231
- Fs as AlertDialogPortal,
2232
- Bs as AlertDialogTitle,
2233
- Mn as AlertDialogTrigger,
2234
- Ps as AlertTitle,
2235
- Pn as AspectRatio,
2236
- Us as Avatar,
2237
- Ks as AvatarFallback,
2238
- qs as AvatarImage,
2239
- An as Badge,
2240
- Xs as Breadcrumb,
2241
- to as BreadcrumbEllipsis,
2242
- Ys as BreadcrumbItem,
2243
- Js as BreadcrumbLink,
2244
- Qs as BreadcrumbList,
2245
- Zs as BreadcrumbPage,
2246
- eo as BreadcrumbSeparator,
2247
- k as Button,
2248
- Fn as Calendar,
2249
- ao as CalendarDayButton,
2250
- so as Card,
2251
- io as CardContent,
2252
- no as CardDescription,
2253
- lo as CardFooter,
2254
- oo as CardHeader,
2255
- ro as CardTitle,
2256
- co as Carousel,
2257
- mo as CarouselContent,
2258
- uo as CarouselItem,
2259
- po as CarouselNext,
2260
- fo as CarouselPrevious,
2261
- go as ChartContainer,
2262
- En as ChartLegend,
2263
- No as ChartLegendContent,
2264
- bo as ChartStyle,
2265
- Ln as ChartTooltip,
2266
- ho as ChartTooltipContent,
2267
- yo as Checkbox,
2268
- On as Collapsible,
2269
- Gn as CollapsibleContent,
2270
- Bn as CollapsibleTrigger,
2271
- Ht as Command,
2272
- Un as CommandDialog,
2273
- _o as CommandEmpty,
2274
- $o as CommandGroup,
2275
- ko as CommandInput,
2276
- Io as CommandItem,
2277
- So as CommandList,
2278
- Do as CommandSeparator,
2279
- zo as CommandShortcut,
2280
- qn as ContextMenu,
2281
- Lo as ContextMenuCheckboxItem,
2282
- Ao as ContextMenuContent,
2283
- Wn as ContextMenuGroup,
2284
- Fo as ContextMenuItem,
2285
- Oo as ContextMenuLabel,
2286
- Xn as ContextMenuPortal,
2287
- Yn as ContextMenuRadioGroup,
2288
- Eo as ContextMenuRadioItem,
2289
- Bo as ContextMenuSeparator,
2290
- Go as ContextMenuShortcut,
2291
- Qn as ContextMenuSub,
2292
- Po as ContextMenuSubContent,
2293
- Mo as ContextMenuSubTrigger,
2294
- Kn as ContextMenuTrigger,
2295
- vo as Dialog,
2296
- Hn as DialogClose,
2297
- Vt as DialogContent,
2298
- To as DialogDescription,
2299
- Co as DialogFooter,
2300
- jo as DialogHeader,
2301
- Gt as DialogOverlay,
2302
- wo as DialogPortal,
2303
- Ro as DialogTitle,
2304
- Vn as DialogTrigger,
2305
- Vo as Drawer,
2306
- Zn as DrawerClose,
2307
- Uo as DrawerContent,
2308
- Xo as DrawerDescription,
2309
- Ko as DrawerFooter,
2310
- qo as DrawerHeader,
2311
- Ut as DrawerOverlay,
2312
- Ho as DrawerPortal,
2313
- Wo as DrawerTitle,
2314
- Jn as DrawerTrigger,
2315
- Qo as DropdownMenu,
2316
- er as DropdownMenuCheckboxItem,
2317
- qt as DropdownMenuContent,
2318
- ed as DropdownMenuGroup,
2319
- z as DropdownMenuItem,
2320
- ar as DropdownMenuLabel,
2321
- td as DropdownMenuPortal,
2322
- sd as DropdownMenuRadioGroup,
2323
- tr as DropdownMenuRadioItem,
2324
- sr as DropdownMenuSeparator,
2325
- or as DropdownMenuShortcut,
2326
- ad as DropdownMenuSub,
2327
- Zo as DropdownMenuSubContent,
2328
- Jo as DropdownMenuSubTrigger,
2329
- Yo as DropdownMenuTrigger,
2330
- od as Form,
2331
- ir as FormControl,
2332
- lr as FormDescription,
2333
- rd as FormField,
2334
- nr as FormItem,
2335
- dr as FormLabel,
2336
- cr as FormMessage,
2337
- nd as HoverCard,
2338
- mr as HoverCardContent,
2339
- dd as HoverCardTrigger,
2340
- ur as Input,
2341
- Kt as Label,
2342
- fr as Menubar,
2343
- Nr as MenubarCheckboxItem,
2344
- br as MenubarContent,
2345
- ld as MenubarGroup,
2346
- hr as MenubarItem,
2347
- vr as MenubarLabel,
2348
- id as MenubarMenu,
2349
- cd as MenubarPortal,
2350
- md as MenubarRadioGroup,
2351
- yr as MenubarRadioItem,
2352
- wr as MenubarSeparator,
2353
- jr as MenubarShortcut,
2354
- ud as MenubarSub,
2355
- gr as MenubarSubContent,
2356
- xr as MenubarSubTrigger,
2357
- pr as MenubarTrigger,
2358
- Cr as NavigationMenu,
2359
- Sr as NavigationMenuContent,
2360
- _r as NavigationMenuIndicator,
2361
- fd as NavigationMenuItem,
2362
- pd as NavigationMenuLink,
2363
- Rr as NavigationMenuList,
2364
- kr as NavigationMenuTrigger,
2365
- Qt as NavigationMenuViewport,
2366
- $r as Pagination,
2367
- Dr as PaginationContent,
2368
- Pr as PaginationEllipsis,
2369
- Ir as PaginationItem,
2370
- Y as PaginationLink,
2371
- Mr as PaginationNext,
2372
- zr as PaginationPrevious,
2373
- xd as Popover,
2374
- bd as PopoverAnchor,
2375
- Ar as PopoverContent,
2376
- gd as PopoverTrigger,
2377
- Fr as Progress,
2378
- Lr as RadioGroup,
2379
- Er as RadioGroupItem,
2380
- yd as ResizableHandle,
2381
- Nd as ResizablePanel,
2382
- hd as ResizablePanelGroup,
2383
- Or as ScrollArea,
2384
- Yt as ScrollBar,
2385
- vd as Select,
2386
- Gr as SelectContent,
2387
- wd as SelectGroup,
2388
- Hr as SelectItem,
2389
- Vr as SelectLabel,
2390
- Zt as SelectScrollDownButton,
2391
- Jt as SelectScrollUpButton,
2392
- Ur as SelectSeparator,
2393
- Br as SelectTrigger,
2394
- jd as SelectValue,
2395
- qr as Separator,
2396
- Cd as Sheet,
2397
- Td as SheetClose,
2398
- Xr as SheetContent,
2399
- Zr as SheetDescription,
2400
- Yr as SheetFooter,
2401
- Qr as SheetHeader,
2402
- ea as SheetOverlay,
2403
- Kr as SheetPortal,
2404
- Jr as SheetTitle,
2405
- Rd as SheetTrigger,
2406
- kd as Skeleton,
2407
- en as Slider,
2408
- tn as Switch,
2409
- an as Table,
2410
- on as TableBody,
2411
- cn as TableCaption,
2412
- ln as TableCell,
2413
- rn as TableFooter,
2414
- dn as TableHead,
2415
- sn as TableHeader,
2416
- nn as TableRow,
2417
- _d as Tabs,
2418
- fn as TabsContent,
2419
- mn as TabsList,
2420
- un as TabsTrigger,
2421
- pn as Textarea,
2422
- $d as ThemeProvider,
2423
- Dd as ThemeToggle,
2424
- aa as Toast,
2425
- hn as ToastAction,
2426
- sa as ToastClose,
2427
- ra as ToastDescription,
2428
- gn as ToastProvider,
2429
- oa as ToastTitle,
2430
- ta as ToastViewport,
2431
- Sd as Toaster,
2432
- Id as ToasterToast,
2433
- Rn as Toggle,
2434
- Tn as ToggleGroup,
2435
- kn as ToggleGroupItem,
2436
- Md as Tooltip,
2437
- Sn as TooltipContent,
2438
- zd as TooltipProvider,
2439
- Pd as TooltipTrigger,
2440
- Ws as badgeVariants,
2441
- T as buttonVariants,
2442
- o as cn,
2443
- Tr as navigationMenuTriggerStyle,
2444
- Ft as palette,
2445
- wn as reducer,
2446
- K as theme,
2447
- jn as toast,
2448
- na as toggleVariants,
2449
- Dn as tokens,
2450
- V as useFormField,
2451
- xn as useTheme,
2452
- Cn as useToast
51
+ m as Accordion,
52
+ g as AccordionContent,
53
+ C as AccordionItem,
54
+ d as AccordionTrigger,
55
+ x as Alert,
56
+ T as AlertDescription,
57
+ M as AlertDialog,
58
+ c as AlertDialogAction,
59
+ f as AlertDialogCancel,
60
+ S as AlertDialogContent,
61
+ h as AlertDialogDescription,
62
+ w as AlertDialogFooter,
63
+ v as AlertDialogHeader,
64
+ P as AlertDialogOverlay,
65
+ A as AlertDialogPortal,
66
+ I as AlertDialogTitle,
67
+ F as AlertDialogTrigger,
68
+ b as AlertTitle,
69
+ B as AspectRatio,
70
+ R as Avatar,
71
+ H as AvatarFallback,
72
+ k as AvatarImage,
73
+ y as Badge,
74
+ z as Breadcrumb,
75
+ E as BreadcrumbEllipsis,
76
+ U as BreadcrumbItem,
77
+ j as BreadcrumbLink,
78
+ q as BreadcrumbList,
79
+ J as BreadcrumbPage,
80
+ K as BreadcrumbSeparator,
81
+ W as Button,
82
+ Z as Calendar,
83
+ _ as CalendarDayButton,
84
+ ee as Card,
85
+ oe as CardContent,
86
+ re as CardDescription,
87
+ te as CardFooter,
88
+ ae as CardHeader,
89
+ ne as CardTitle,
90
+ le as Carousel,
91
+ pe as CarouselContent,
92
+ ue as CarouselItem,
93
+ me as CarouselNext,
94
+ ge as CarouselPrevious,
95
+ de as ChartContainer,
96
+ se as ChartLegend,
97
+ xe as ChartLegendContent,
98
+ Te as ChartStyle,
99
+ be as ChartTooltip,
100
+ De as ChartTooltipContent,
101
+ ce as Checkbox,
102
+ Se as Collapsible,
103
+ he as CollapsibleContent,
104
+ we as CollapsibleTrigger,
105
+ Pe as Command,
106
+ Ae as CommandDialog,
107
+ Ie as CommandEmpty,
108
+ Fe as CommandGroup,
109
+ Le as CommandInput,
110
+ Be as CommandItem,
111
+ Ge as CommandList,
112
+ Re as CommandSeparator,
113
+ He as CommandShortcut,
114
+ Ne as ContextMenu,
115
+ ye as ContextMenuCheckboxItem,
116
+ Ve as ContextMenuContent,
117
+ Oe as ContextMenuGroup,
118
+ ze as ContextMenuItem,
119
+ Ee as ContextMenuLabel,
120
+ Ue as ContextMenuPortal,
121
+ je as ContextMenuRadioGroup,
122
+ qe as ContextMenuRadioItem,
123
+ Je as ContextMenuSeparator,
124
+ Ke as ContextMenuShortcut,
125
+ Qe as ContextMenuSub,
126
+ We as ContextMenuSubContent,
127
+ Xe as ContextMenuSubTrigger,
128
+ Ye as ContextMenuTrigger,
129
+ _e as Dialog,
130
+ $e as DialogClose,
131
+ eo as DialogContent,
132
+ oo as DialogDescription,
133
+ ro as DialogFooter,
134
+ to as DialogHeader,
135
+ ao as DialogOverlay,
136
+ no as DialogPortal,
137
+ io as DialogTitle,
138
+ lo as DialogTrigger,
139
+ uo as Drawer,
140
+ mo as DrawerClose,
141
+ go as DrawerContent,
142
+ Co as DrawerDescription,
143
+ so as DrawerFooter,
144
+ xo as DrawerHeader,
145
+ To as DrawerOverlay,
146
+ bo as DrawerPortal,
147
+ Do as DrawerTitle,
148
+ Mo as DrawerTrigger,
149
+ fo as DropdownMenu,
150
+ So as DropdownMenuCheckboxItem,
151
+ ho as DropdownMenuContent,
152
+ wo as DropdownMenuGroup,
153
+ vo as DropdownMenuItem,
154
+ Po as DropdownMenuLabel,
155
+ Ao as DropdownMenuPortal,
156
+ Io as DropdownMenuRadioGroup,
157
+ Fo as DropdownMenuRadioItem,
158
+ Lo as DropdownMenuSeparator,
159
+ Bo as DropdownMenuShortcut,
160
+ Go as DropdownMenuSub,
161
+ Ro as DropdownMenuSubContent,
162
+ Ho as DropdownMenuSubTrigger,
163
+ ko as DropdownMenuTrigger,
164
+ yo as Form,
165
+ Vo as FormControl,
166
+ Oo as FormDescription,
167
+ zo as FormField,
168
+ Eo as FormItem,
169
+ Uo as FormLabel,
170
+ jo as FormMessage,
171
+ Ko as HoverCard,
172
+ Qo as HoverCardContent,
173
+ Wo as HoverCardTrigger,
174
+ Yo as Input,
175
+ _o as Label,
176
+ er as Menubar,
177
+ or as MenubarCheckboxItem,
178
+ rr as MenubarContent,
179
+ tr as MenubarGroup,
180
+ ar as MenubarItem,
181
+ nr as MenubarLabel,
182
+ ir as MenubarMenu,
183
+ lr as MenubarPortal,
184
+ pr as MenubarRadioGroup,
185
+ ur as MenubarRadioItem,
186
+ mr as MenubarSeparator,
187
+ gr as MenubarShortcut,
188
+ Cr as MenubarSub,
189
+ dr as MenubarSubContent,
190
+ sr as MenubarSubTrigger,
191
+ xr as MenubarTrigger,
192
+ br as NavigationMenu,
193
+ Dr as NavigationMenuContent,
194
+ Mr as NavigationMenuIndicator,
195
+ cr as NavigationMenuItem,
196
+ fr as NavigationMenuLink,
197
+ Sr as NavigationMenuList,
198
+ hr as NavigationMenuTrigger,
199
+ wr as NavigationMenuViewport,
200
+ Ar as Pagination,
201
+ Ir as PaginationContent,
202
+ Fr as PaginationEllipsis,
203
+ Lr as PaginationItem,
204
+ Br as PaginationLink,
205
+ Gr as PaginationNext,
206
+ Rr as PaginationPrevious,
207
+ kr as Popover,
208
+ Nr as PopoverAnchor,
209
+ yr as PopoverContent,
210
+ Vr as PopoverTrigger,
211
+ zr as Progress,
212
+ Ur as RadioGroup,
213
+ jr as RadioGroupItem,
214
+ Jr as ResizableHandle,
215
+ Kr as ResizablePanel,
216
+ Qr as ResizablePanelGroup,
217
+ Xr as ScrollArea,
218
+ Yr as ScrollBar,
219
+ _r as Select,
220
+ $r as SelectContent,
221
+ et as SelectGroup,
222
+ ot as SelectItem,
223
+ rt as SelectLabel,
224
+ tt as SelectScrollDownButton,
225
+ at as SelectScrollUpButton,
226
+ nt as SelectSeparator,
227
+ it as SelectTrigger,
228
+ lt as SelectValue,
229
+ ut as Separator,
230
+ gt as Sheet,
231
+ Ct as SheetClose,
232
+ dt as SheetContent,
233
+ st as SheetDescription,
234
+ xt as SheetFooter,
235
+ Tt as SheetHeader,
236
+ bt as SheetOverlay,
237
+ Dt as SheetPortal,
238
+ Mt as SheetTitle,
239
+ ct as SheetTrigger,
240
+ St as Skeleton,
241
+ wt as Slider,
242
+ It as Switch,
243
+ Lt as Table,
244
+ Bt as TableBody,
245
+ Gt as TableCaption,
246
+ Rt as TableCell,
247
+ Ht as TableFooter,
248
+ kt as TableHead,
249
+ Nt as TableHeader,
250
+ yt as TableRow,
251
+ Ot as Tabs,
252
+ zt as TabsContent,
253
+ Et as TabsList,
254
+ Ut as TabsTrigger,
255
+ qt as Textarea,
256
+ Kt as ThemeProvider,
257
+ a as ThemeToggle,
258
+ Wt as Toast,
259
+ Xt as ToastAction,
260
+ Yt as ToastClose,
261
+ Zt as ToastDescription,
262
+ _t as ToastProvider,
263
+ $t as ToastTitle,
264
+ ea as ToastViewport,
265
+ Pt as Toaster,
266
+ ra as ToasterToast,
267
+ la as Toggle,
268
+ ma as ToggleGroup,
269
+ ga as ToggleGroupItem,
270
+ da as Tooltip,
271
+ sa as TooltipContent,
272
+ xa as TooltipProvider,
273
+ Ta as TooltipTrigger,
274
+ V as badgeVariants,
275
+ X as buttonVariants,
276
+ r as cn,
277
+ vr as navigationMenuTriggerStyle,
278
+ n as palette,
279
+ ta as reducer,
280
+ i as theme,
281
+ aa as toast,
282
+ pa as toggleVariants,
283
+ l as tokens,
284
+ qo as useFormField,
285
+ p as useTheme,
286
+ na as useToast
2453
287
  };
2454
288
  //# sourceMappingURL=index.es.js.map