@gv-tech/ui-native 2.29.0 → 2.29.2

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 (168) hide show
  1. package/dist/__contracts.d.ts +0 -1
  2. package/dist/__contracts.d.ts.map +1 -1
  3. package/dist/alert-dialog.d.ts +51 -0
  4. package/dist/alert-dialog.d.ts.map +1 -0
  5. package/dist/alert.d.ts +10 -0
  6. package/dist/alert.d.ts.map +1 -0
  7. package/dist/aspect-ratio.d.ts.map +1 -1
  8. package/dist/breadcrumb.d.ts +6 -25
  9. package/dist/breadcrumb.d.ts.map +1 -1
  10. package/dist/button-group.d.ts +3 -3
  11. package/dist/button-group.d.ts.map +1 -1
  12. package/dist/button.d.ts +2 -5
  13. package/dist/button.d.ts.map +1 -1
  14. package/dist/calendar.d.ts +7 -10
  15. package/dist/calendar.d.ts.map +1 -1
  16. package/dist/card.d.ts +13 -0
  17. package/dist/card.d.ts.map +1 -0
  18. package/dist/carousel.d.ts +6 -29
  19. package/dist/carousel.d.ts.map +1 -1
  20. package/dist/checkbox.d.ts +15 -0
  21. package/dist/checkbox.d.ts.map +1 -0
  22. package/dist/collapsible.d.ts.map +1 -1
  23. package/dist/combobox.d.ts +2 -2
  24. package/dist/combobox.d.ts.map +1 -1
  25. package/dist/command.d.ts.map +1 -1
  26. package/dist/context-menu.d.ts +61 -0
  27. package/dist/context-menu.d.ts.map +1 -0
  28. package/dist/dialog.d.ts +61 -0
  29. package/dist/dialog.d.ts.map +1 -0
  30. package/dist/direction.d.ts +1 -1
  31. package/dist/drawer.d.ts +33 -0
  32. package/dist/drawer.d.ts.map +1 -0
  33. package/dist/dropdown-menu.d.ts +60 -0
  34. package/dist/dropdown-menu.d.ts.map +1 -0
  35. package/dist/empty.d.ts +1 -1
  36. package/dist/empty.d.ts.map +1 -1
  37. package/dist/field.d.ts +1 -1
  38. package/dist/field.d.ts.map +1 -1
  39. package/dist/form.d.ts +33 -0
  40. package/dist/form.d.ts.map +1 -0
  41. package/dist/hooks/use-theme.d.ts +52 -52
  42. package/dist/hooks/use-theme.d.ts.map +1 -1
  43. package/dist/hooks/use-toast.d.ts.map +1 -1
  44. package/dist/hover-card.d.ts +23 -0
  45. package/dist/hover-card.d.ts.map +1 -0
  46. package/dist/input-group.d.ts +2 -2
  47. package/dist/input-group.d.ts.map +1 -1
  48. package/dist/input-otp.d.ts +1 -1
  49. package/dist/input-otp.d.ts.map +1 -1
  50. package/dist/input.d.ts +8 -0
  51. package/dist/input.d.ts.map +1 -0
  52. package/dist/item.d.ts +10 -10
  53. package/dist/item.d.ts.map +1 -1
  54. package/dist/kbd.d.ts.map +1 -1
  55. package/dist/label.d.ts +9 -0
  56. package/dist/label.d.ts.map +1 -0
  57. package/dist/menubar.d.ts +53 -0
  58. package/dist/menubar.d.ts.map +1 -0
  59. package/dist/native-select.d.ts +1 -1
  60. package/dist/native-select.d.ts.map +1 -1
  61. package/dist/navigation-menu.d.ts +14 -0
  62. package/dist/navigation-menu.d.ts.map +1 -0
  63. package/dist/pagination.d.ts +5 -12
  64. package/dist/pagination.d.ts.map +1 -1
  65. package/dist/popover.d.ts +9 -0
  66. package/dist/popover.d.ts.map +1 -0
  67. package/dist/progress.d.ts +6 -0
  68. package/dist/progress.d.ts.map +1 -0
  69. package/dist/radio-group.d.ts +11 -0
  70. package/dist/radio-group.d.ts.map +1 -0
  71. package/dist/scroll-area.d.ts +2 -9
  72. package/dist/scroll-area.d.ts.map +1 -1
  73. package/dist/scroll-to-top.d.ts +6 -5
  74. package/dist/scroll-to-top.d.ts.map +1 -1
  75. package/dist/search.d.ts +2 -5
  76. package/dist/search.d.ts.map +1 -1
  77. package/dist/select.d.ts +59 -0
  78. package/dist/select.d.ts.map +1 -0
  79. package/dist/separator.d.ts +9 -0
  80. package/dist/separator.d.ts.map +1 -0
  81. package/dist/sheet.d.ts +59 -0
  82. package/dist/sheet.d.ts.map +1 -0
  83. package/dist/sidebar.d.ts +8 -8
  84. package/dist/sidebar.d.ts.map +1 -1
  85. package/dist/skeleton.d.ts.map +1 -1
  86. package/dist/slider.d.ts.map +1 -1
  87. package/dist/sonner.d.ts.map +1 -1
  88. package/dist/spinner.d.ts +1 -1
  89. package/dist/spinner.d.ts.map +1 -1
  90. package/dist/switch.d.ts +8 -0
  91. package/dist/switch.d.ts.map +1 -0
  92. package/dist/table-of-contents.d.ts +5 -13
  93. package/dist/table-of-contents.d.ts.map +1 -1
  94. package/dist/table.d.ts +12 -0
  95. package/dist/table.d.ts.map +1 -0
  96. package/dist/tabs.d.ts +24 -0
  97. package/dist/tabs.d.ts.map +1 -0
  98. package/dist/text.d.ts +13 -0
  99. package/dist/text.d.ts.map +1 -0
  100. package/dist/textarea.d.ts +6 -0
  101. package/dist/textarea.d.ts.map +1 -0
  102. package/dist/theme-provider.d.ts.map +1 -1
  103. package/dist/theme-toggle.d.ts +1 -1
  104. package/dist/theme-toggle.d.ts.map +1 -1
  105. package/dist/toast.d.ts +35 -0
  106. package/dist/toast.d.ts.map +1 -0
  107. package/dist/toaster.d.ts.map +1 -1
  108. package/dist/toggle-group.d.ts +11 -0
  109. package/dist/toggle-group.d.ts.map +1 -0
  110. package/dist/toggle.d.ts +8 -0
  111. package/dist/toggle.d.ts.map +1 -0
  112. package/dist/tooltip.d.ts +30 -0
  113. package/dist/tooltip.d.ts.map +1 -0
  114. package/dist/ui-native.cjs +2 -2
  115. package/dist/ui-native.esm.js +365 -429
  116. package/package.json +19 -19
  117. package/src/__contracts.ts +321 -324
  118. package/src/aspect-ratio.tsx +1 -0
  119. package/src/badge.tsx +3 -3
  120. package/src/breadcrumb.tsx +2 -8
  121. package/src/button-group.tsx +8 -3
  122. package/src/button.tsx +4 -3
  123. package/src/calendar.tsx +8 -5
  124. package/src/card.tsx +1 -1
  125. package/src/carousel.tsx +6 -23
  126. package/src/collapsible.tsx +1 -1
  127. package/src/combobox.tsx +8 -8
  128. package/src/command.tsx +1 -0
  129. package/src/context-menu.tsx +1 -0
  130. package/src/dialog.tsx +1 -1
  131. package/src/drawer.tsx +1 -0
  132. package/src/dropdown-menu.tsx +1 -0
  133. package/src/empty.tsx +6 -1
  134. package/src/field.tsx +2 -1
  135. package/src/form.tsx +9 -9
  136. package/src/hooks/use-theme.ts +1 -0
  137. package/src/hooks/use-toast.ts +1 -0
  138. package/src/hover-card.tsx +1 -0
  139. package/src/input-group.tsx +7 -2
  140. package/src/input-otp.tsx +6 -1
  141. package/src/input.tsx +1 -1
  142. package/src/item.tsx +9 -3
  143. package/src/kbd.tsx +1 -0
  144. package/src/menubar.tsx +1 -0
  145. package/src/native-select.tsx +2 -1
  146. package/src/navigation-menu.tsx +18 -6
  147. package/src/pagination.tsx +5 -2
  148. package/src/popover.tsx +1 -1
  149. package/src/progress.tsx +1 -2
  150. package/src/radio-group.tsx +1 -1
  151. package/src/scroll-area.tsx +1 -0
  152. package/src/scroll-to-top.tsx +10 -9
  153. package/src/search.tsx +2 -1
  154. package/src/select.tsx +1 -1
  155. package/src/sidebar.tsx +20 -19
  156. package/src/skeleton.tsx +4 -2
  157. package/src/slider.tsx +2 -1
  158. package/src/sonner.tsx +1 -0
  159. package/src/spinner.tsx +4 -1
  160. package/src/switch.tsx +1 -1
  161. package/src/table-of-contents.tsx +9 -25
  162. package/src/tabs.tsx +2 -2
  163. package/src/text.tsx +3 -3
  164. package/src/theme-provider.tsx +3 -1
  165. package/src/theme-toggle.tsx +32 -29
  166. package/src/toaster.tsx +1 -0
  167. package/src/toggle-group.tsx +2 -2
  168. package/src/toggle.tsx +3 -2
@@ -2,10 +2,10 @@ import * as e from "react";
2
2
  import { AccessibilityInfo as t, ActivityIndicator as n, Animated as r, Appearance as i, Dimensions as a, Linking as o, Modal as s, Platform as c, Pressable as l, ScrollView as u, StyleSheet as d, Text as f, TextInput as p, TouchableOpacity as m, View as h, useColorScheme as g } from "react-native";
3
3
  import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
4
4
  import { clsx as b } from "clsx";
5
- import { twMerge as x } from "tailwind-merge";
6
- import * as S from "@rn-primitives/accordion";
7
- import { ArrowLeft as ee, ArrowRight as te, ArrowUp as ne, Check as C, ChevronDown as w, ChevronLeft as re, ChevronRight as T, ChevronUp as ie, Circle as E, Coffee as ae, ExternalLink as oe, Moon as se, MoreHorizontal as ce, Search as le, Sun as ue, SunMoon as de, X as D } from "lucide-react-native";
8
- import O, { Extrapolation as fe, FadeIn as k, FadeInUp as pe, FadeOut as A, FadeOutDown as me, Layout as he, SlideInDown as ge, SlideInLeft as _e, SlideInRight as ve, SlideInUp as ye, SlideOutDown as be, SlideOutLeft as xe, SlideOutRight as Se, SlideOutUp as Ce, interpolate as we, useAnimatedStyle as Te, useDerivedValue as Ee, useSharedValue as De, withRepeat as Oe, withSequence as ke, withTiming as Ae } from "react-native-reanimated";
5
+ import { twMerge as ee } from "tailwind-merge";
6
+ import * as x from "@rn-primitives/accordion";
7
+ import { ArrowLeft as te, ArrowRight as S, ArrowUp as ne, Check as C, ChevronDown as w, ChevronLeft as re, ChevronRight as T, ChevronUp as ie, Circle as ae, Coffee as oe, ExternalLink as se, Moon as ce, MoreHorizontal as le, Search as ue, Sun as de, SunMoon as fe, X as E } from "lucide-react-native";
8
+ import D, { Extrapolation as pe, FadeIn as O, FadeInUp as me, FadeOut as k, FadeOutDown as he, Layout as ge, SlideInDown as _e, SlideInLeft as ve, SlideInRight as ye, SlideInUp as be, SlideOutDown as xe, SlideOutLeft as Se, SlideOutRight as Ce, SlideOutUp as we, interpolate as Te, useAnimatedStyle as Ee, useDerivedValue as De, useSharedValue as Oe, withRepeat as ke, withSequence as Ae, withTiming as A } from "react-native-reanimated";
9
9
  import { cva as j } from "class-variance-authority";
10
10
  import * as M from "@rn-primitives/alert-dialog";
11
11
  import * as je from "@rn-primitives/aspect-ratio";
@@ -37,61 +37,59 @@ import * as Ke from "@rn-primitives/toggle-group";
37
37
  import * as G from "@rn-primitives/tooltip";
38
38
  import { theme as qe } from "@gv-tech/design-tokens";
39
39
  import { cssInterop as Je } from "react-native-css-interop";
40
- //#region src/lib/render-native.tsx
40
+ // src/lib/render-native.tsx
41
41
  function K(t, n = f, r = {}) {
42
42
  return e.Children.map(t, (e) => typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ v(n, {
43
43
  ...r,
44
44
  children: e
45
45
  }) : e);
46
46
  }
47
- //#endregion
48
- //#region src/lib/utils.ts
47
+ // src/lib/utils.ts
49
48
  function q(...e) {
50
- return x(b(e));
49
+ return ee(b(e));
51
50
  }
52
51
  function Ye(e) {
53
52
  return e.toString().toLowerCase().trim().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-");
54
53
  }
55
- //#endregion
56
- //#region src/accordion.tsx
57
- var Xe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(S.Root, {
54
+ // src/accordion.tsx
55
+ var Xe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(x.Root, {
58
56
  ref: n,
59
57
  className: q("web:gap-0", e),
60
58
  ...t
61
59
  }));
62
- Xe.displayName = S.Root?.displayName || "Accordion";
63
- var Ze = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(S.Item, {
60
+ Xe.displayName = x.Root?.displayName || "Accordion";
61
+ var Ze = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(x.Item, {
64
62
  ref: n,
65
63
  className: q("border-border overflow-hidden border-b", e),
66
64
  ...t
67
65
  }));
68
- Ze.displayName = S.Item?.displayName || "AccordionItem";
69
- var Qe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(S.Header, {
66
+ Ze.displayName = x.Item?.displayName || "AccordionItem";
67
+ var Qe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(x.Header, {
70
68
  ref: n,
71
69
  className: q("flex flex-row", e),
72
70
  ...t
73
71
  }));
74
- Qe.displayName = S.Header?.displayName || "AccordionHeader";
72
+ Qe.displayName = x.Header?.displayName || "AccordionHeader";
75
73
  var $e = e.forwardRef(({ className: e, children: t, ...n }, r) => {
76
- let { isExpanded: i } = S.useItemContext(), a = Ee(() => i ? Ae(1, { duration: 250 }) : Ae(0, { duration: 200 })), o = Te(() => ({
74
+ let { isExpanded: i } = x.useItemContext(), a = De(() => i ? A(1, { duration: 250 }) : A(0, { duration: 200 })), o = Ee(() => ({
77
75
  transform: [{ rotate: `${a.value * -180}deg` }],
78
- opacity: we(a.value, [0, 1], [1, .8], fe.CLAMP)
76
+ opacity: Te(a.value, [0, 1], [1, .8], pe.CLAMP)
79
77
  }));
80
- return /* @__PURE__ */ v(S.Header, {
78
+ return /* @__PURE__ */ v(x.Header, {
81
79
  className: "flex",
82
- children: /* @__PURE__ */ y(S.Trigger, {
80
+ children: /* @__PURE__ */ y(x.Trigger, {
83
81
  ref: r,
84
82
  className: q("flex flex-row items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", e),
85
83
  ...n,
86
- children: [/* @__PURE__ */ v(_, { children: t }), /* @__PURE__ */ v(O.View, {
84
+ children: [/* @__PURE__ */ v(_, { children: t }), /* @__PURE__ */ v(D.View, {
87
85
  style: o,
88
86
  children: /* @__PURE__ */ v(w, { className: "text-muted-foreground h-4 w-4 shrink-0 transition-transform duration-200" })
89
87
  })]
90
88
  })
91
89
  });
92
90
  });
93
- $e.displayName = S.Trigger?.displayName || "AccordionTrigger";
94
- var et = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(S.Content, {
91
+ $e.displayName = x.Trigger?.displayName || "AccordionTrigger";
92
+ var et = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(x.Content, {
95
93
  ref: r,
96
94
  className: q("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all", e),
97
95
  ...n,
@@ -100,9 +98,8 @@ var et = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
100
98
  children: t
101
99
  })
102
100
  }));
103
- et.displayName = S.Content?.displayName || "AccordionContent";
104
- //#endregion
105
- //#region src/alert.tsx
101
+ et.displayName = x.Content?.displayName || "AccordionContent";
102
+ // src/alert.tsx
106
103
  var tt = j("relative w-full rounded-lg border p-4", {
107
104
  variants: { variant: {
108
105
  default: "bg-background border-border",
@@ -130,14 +127,13 @@ var it = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(f, {
130
127
  ...t
131
128
  }));
132
129
  it.displayName = "AlertDescription";
133
- //#endregion
134
- //#region src/button.tsx
130
+ // src/button.tsx
135
131
  var at = j("flex-row items-center justify-center gap-2 rounded-md transition-colors active:opacity-80", {
136
132
  variants: {
137
133
  variant: {
138
134
  default: "bg-primary shadow-sm",
139
135
  destructive: "bg-destructive shadow-sm",
140
- outline: "border border-input bg-transparent shadow-sm",
136
+ outline: "border-input border bg-transparent shadow-sm",
141
137
  secondary: "bg-secondary shadow-sm",
142
138
  ghost: "bg-transparent",
143
139
  link: "bg-transparent"
@@ -180,16 +176,15 @@ var at = j("flex-row items-center justify-center gap-2 rounded-md transition-col
180
176
  children: K(i, f, { className: q(ot({ variant: t })) })
181
177
  }));
182
178
  J.displayName = "Button";
183
- //#endregion
184
- //#region src/alert-dialog.tsx
179
+ // src/alert-dialog.tsx
185
180
  var st = M.Root, ct = M.Trigger, lt = M.Portal, ut = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(M.Overlay, {
186
181
  style: d.absoluteFill,
187
182
  asChild: !0,
188
183
  ref: n,
189
184
  ...t,
190
- children: /* @__PURE__ */ v(O.View, {
191
- entering: k.duration(150),
192
- exiting: A.duration(150),
185
+ children: /* @__PURE__ */ v(D.View, {
186
+ entering: O.duration(150),
187
+ exiting: k.duration(150),
193
188
  className: q("z-50 flex items-center justify-center bg-black/60 p-2 backdrop-blur-md", e)
194
189
  })
195
190
  }));
@@ -206,9 +201,9 @@ var dt = e.forwardRef(({ className: e, portalHost: t, overlayClassName: n, overl
206
201
  ref: a,
207
202
  asChild: !0,
208
203
  ...i,
209
- children: /* @__PURE__ */ v(O.View, {
210
- entering: k.duration(150),
211
- exiting: A.duration(150),
204
+ children: /* @__PURE__ */ v(D.View, {
205
+ entering: O.duration(150),
206
+ exiting: k.duration(150),
212
207
  className: q("border-border bg-background w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg", e),
213
208
  children: i.children
214
209
  })
@@ -250,16 +245,14 @@ var _t = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(M.Cancel,
250
245
  ...t
251
246
  }));
252
247
  _t.displayName = M.Cancel?.displayName || "AlertDialogCancel";
253
- //#endregion
254
- //#region src/aspect-ratio.tsx
248
+ // src/aspect-ratio.tsx
255
249
  var vt = ({ children: e, className: t, ratio: n = 1 }) => /* @__PURE__ */ v(je.Root, {
256
250
  ratio: n,
257
251
  className: q("w-full", t),
258
252
  children: e
259
253
  });
260
254
  vt.displayName = "AspectRatio";
261
- //#endregion
262
- //#region src/avatar.tsx
255
+ // src/avatar.tsx
263
256
  var yt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(N.Root, {
264
257
  ref: n,
265
258
  className: q("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e),
@@ -278,13 +271,12 @@ var xt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(N.Fallbac
278
271
  ...t
279
272
  }));
280
273
  xt.displayName = N.Fallback?.displayName || "AvatarFallback";
281
- //#endregion
282
- //#region src/badge.tsx
274
+ // src/badge.tsx
283
275
  var St = j("flex-row items-center rounded-md border px-2 py-0.5", {
284
276
  variants: { variant: {
285
- default: "border-transparent bg-primary",
286
- secondary: "border-transparent bg-secondary",
287
- destructive: "border-transparent bg-destructive",
277
+ default: "bg-primary border-transparent",
278
+ secondary: "bg-secondary border-transparent",
279
+ destructive: "bg-destructive border-transparent",
288
280
  outline: "border-border bg-transparent"
289
281
  } },
290
282
  defaultVariants: { variant: "default" }
@@ -304,8 +296,7 @@ function wt({ className: e, textClassName: t, variant: n, children: r, ...i }) {
304
296
  children: K(r, f, { className: q(Ct({ variant: n }), t) })
305
297
  });
306
298
  }
307
- //#endregion
308
- //#region src/text.tsx
299
+ // src/text.tsx
309
300
  var Tt = e.createContext(void 0), Et = j("text-foreground", {
310
301
  variants: { variant: {
311
302
  h1: "text-4xl font-extrabold tracking-tight",
@@ -314,9 +305,9 @@ var Tt = e.createContext(void 0), Et = j("text-foreground", {
314
305
  h4: "text-xl font-semibold tracking-tight",
315
306
  body: "text-base leading-7",
316
307
  bodySmall: "text-sm leading-6",
317
- caption: "text-xs text-muted-foreground",
308
+ caption: "text-muted-foreground text-xs",
318
309
  label: "text-sm font-medium",
319
- overline: "text-xs font-semibold uppercase tracking-widest text-muted-foreground"
310
+ overline: "text-muted-foreground text-xs font-semibold tracking-widest uppercase"
320
311
  } },
321
312
  defaultVariants: { variant: "body" }
322
313
  }), Y = e.forwardRef(({ className: e, variant: t = "body", children: n, ...r }, i) => /* @__PURE__ */ v(f, {
@@ -329,8 +320,7 @@ var Tt = e.createContext(void 0), Et = j("text-foreground", {
329
320
  children: n
330
321
  }));
331
322
  Y.displayName = "Text";
332
- //#endregion
333
- //#region src/breadcrumb.tsx
323
+ // src/breadcrumb.tsx
334
324
  var Dt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(h, {
335
325
  ref: r,
336
326
  "aria-label": "breadcrumb",
@@ -363,8 +353,6 @@ var At = e.forwardRef(({ asChild: e, className: t, children: n, onPress: r, ...i
363
353
  At.displayName = "BreadcrumbLink";
364
354
  var jt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(h, {
365
355
  ref: r,
366
- role: "link",
367
- "aria-disabled": !0,
368
356
  "aria-current": "page",
369
357
  className: q("flex flex-row items-center", e),
370
358
  ...n,
@@ -387,19 +375,16 @@ var Nt = ({ className: e, children: t, ...n }) => /* @__PURE__ */ v(h, {
387
375
  "aria-hidden": !0,
388
376
  className: q("flex h-9 w-9 flex-row items-center justify-center", e),
389
377
  ...n,
390
- children: t ?? /* @__PURE__ */ v(ce, {
378
+ children: t ?? /* @__PURE__ */ v(le, {
391
379
  size: 14,
392
380
  className: "text-muted-foreground"
393
381
  })
394
382
  });
395
383
  Nt.displayName = "BreadcrumbEllipsis";
396
- //#endregion
397
- //#region src/calendar.tsx
384
+ // src/calendar.tsx
398
385
  var Pt = e.forwardRef(({ className: t, value: n, onChange: r, showOutsideDays: i, ...a }, o) => {
399
- let [s, c] = e.useState(n || /* @__PURE__ */ new Date());
400
- return e.useEffect(() => {
401
- n && c(n);
402
- }, [n]), /* @__PURE__ */ v(h, {
386
+ let [s, c] = e.useState(() => n ?? /* @__PURE__ */ new Date()), [l, u] = e.useState(n);
387
+ return n !== l && (u(n), n && c(n)), /* @__PURE__ */ v(h, {
403
388
  ref: o,
404
389
  className: q("bg-background overflow-hidden rounded-md", t),
405
390
  children: /* @__PURE__ */ v(Pe, {
@@ -417,8 +402,7 @@ var Pt = e.forwardRef(({ className: t, value: n, onChange: r, showOutsideDays: i
417
402
  });
418
403
  });
419
404
  Pt.displayName = "Calendar";
420
- //#endregion
421
- //#region src/card.tsx
405
+ // src/card.tsx
422
406
  var Ft = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
423
407
  ref: n,
424
408
  className: q("border-border bg-card rounded-xl border shadow-sm", e),
@@ -456,8 +440,7 @@ var Bt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
456
440
  ...t
457
441
  }));
458
442
  Bt.displayName = "CardFooter";
459
- //#endregion
460
- //#region src/carousel.tsx
443
+ // src/carousel.tsx
461
444
  var Vt = e.createContext(null);
462
445
  function Ht() {
463
446
  let t = e.useContext(Vt);
@@ -465,42 +448,42 @@ function Ht() {
465
448
  return t;
466
449
  }
467
450
  var Ut = e.forwardRef(({ children: t, className: n, opts: r, orientation: i = "horizontal", setApi: o, plugins: s, ...c }, l) => {
468
- let u = e.useRef(null), [d, f] = e.useState(!0), [p, m] = e.useState(!1), [g, _] = e.useState(a.get("window").width), [y, b] = e.useState(0), x = e.useCallback(() => {
451
+ let u = e.useRef(null), [d] = e.useState(!0), [f] = e.useState(!1), [p, m] = e.useState(a.get("window").width), [g] = e.useState(0), _ = e.useCallback(() => {
469
452
  u.current?.scrollTo({
470
- x: (y + 1) * g,
453
+ x: (g + 1) * p,
471
454
  animated: !0
472
455
  });
473
- }, [y, g]), S = e.useCallback(() => {
456
+ }, [g, p]), y = e.useCallback(() => {
474
457
  u.current?.scrollTo({
475
- x: Math.max(0, y - 1) * g,
458
+ x: Math.max(0, g - 1) * p,
476
459
  animated: !0
477
460
  });
478
- }, [y, g]);
461
+ }, [g, p]);
479
462
  return e.useEffect(() => {
480
463
  o && o({
481
- scrollNext: x,
482
- scrollPrev: S,
464
+ scrollNext: _,
465
+ scrollPrev: y,
483
466
  canScrollNext: () => d,
484
- canScrollPrev: () => p,
467
+ canScrollPrev: () => f,
485
468
  on: () => {},
486
469
  off: () => {}
487
470
  });
488
471
  }, [
489
472
  o,
490
- x,
491
- S,
473
+ _,
474
+ y,
492
475
  d,
493
- p
476
+ f
494
477
  ]), /* @__PURE__ */ v(Vt.Provider, {
495
478
  value: {
496
479
  orientation: i,
497
480
  scrollRef: u,
498
- scrollNext: x,
499
- scrollPrev: S,
481
+ scrollNext: _,
482
+ scrollPrev: y,
500
483
  canScrollNext: d,
501
- canScrollPrev: p,
502
- itemWidth: g,
503
- setItemWidth: _
484
+ canScrollPrev: f,
485
+ itemWidth: p,
486
+ setItemWidth: m
504
487
  },
505
488
  children: /* @__PURE__ */ v(h, {
506
489
  ref: l,
@@ -553,7 +536,7 @@ var Kt = e.forwardRef(({ className: e, variant: t = "outline", size: n = "icon",
553
536
  disabled: !s,
554
537
  onPress: o,
555
538
  ...r,
556
- children: /* @__PURE__ */ v(ee, {
539
+ children: /* @__PURE__ */ v(te, {
557
540
  className: "text-foreground h-4 w-4",
558
541
  size: 16
559
542
  })
@@ -570,15 +553,14 @@ var qt = e.forwardRef(({ className: e, variant: t = "outline", size: n = "icon",
570
553
  disabled: !s,
571
554
  onPress: o,
572
555
  ...r,
573
- children: /* @__PURE__ */ v(te, {
556
+ children: /* @__PURE__ */ v(S, {
574
557
  className: "text-foreground h-4 w-4",
575
558
  size: 16
576
559
  })
577
560
  });
578
561
  });
579
562
  qt.displayName = "CarouselNext";
580
- //#endregion
581
- //#region src/chart.tsx
563
+ // src/chart.tsx
582
564
  var Jt = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
583
565
  className: t,
584
566
  children: e
@@ -596,8 +578,7 @@ var Jt = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
596
578
  })
597
579
  }));
598
580
  en.displayName = Fe.Root?.displayName || "Checkbox";
599
- //#endregion
600
- //#region src/collapsible.tsx
581
+ // src/collapsible.tsx
601
582
  var tn = Ie.Root, nn = Ie.Trigger, rn = Ie.Content, an = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
602
583
  className: t,
603
584
  children: K(e)
@@ -620,9 +601,9 @@ var tn = Ie.Root, nn = Ie.Trigger, rn = Ie.Content, an = ({ children: e, classNa
620
601
  style: c.OS === "web" ? void 0 : d.absoluteFill,
621
602
  ref: n,
622
603
  ...t,
623
- children: /* @__PURE__ */ v(O.View, {
624
- entering: k.duration(100),
625
- exiting: A.duration(100),
604
+ children: /* @__PURE__ */ v(D.View, {
605
+ entering: O.duration(100),
606
+ exiting: k.duration(100),
626
607
  className: q("absolute inset-0 z-50 bg-black/30", e)
627
608
  })
628
609
  }));
@@ -663,7 +644,7 @@ var wn = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @
663
644
  ...r,
664
645
  children: [/* @__PURE__ */ v(h, {
665
646
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
666
- children: /* @__PURE__ */ v(P.ItemIndicator, { children: /* @__PURE__ */ v(E, {
647
+ children: /* @__PURE__ */ v(P.ItemIndicator, { children: /* @__PURE__ */ v(ae, {
667
648
  size: 8,
668
649
  className: "text-foreground fill-current"
669
650
  }) })
@@ -709,8 +690,7 @@ var kn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
709
690
  children: t
710
691
  }));
711
692
  kn.displayName = "ContextMenuSubContent";
712
- //#endregion
713
- //#region src/dialog.tsx
693
+ // src/dialog.tsx
714
694
  var An = F.Root, jn = F.Trigger, Mn = F.Portal, Nn = F.Close, Pn = e.forwardRef(({ className: e, style: t, ...n }, r) => /* @__PURE__ */ v(F.Overlay, {
715
695
  style: [{
716
696
  position: c.OS === "web" ? "fixed" : "absolute",
@@ -723,9 +703,9 @@ var An = F.Root, jn = F.Trigger, Mn = F.Portal, Nn = F.Close, Pn = e.forwardRef(
723
703
  asChild: !0,
724
704
  ref: r,
725
705
  ...n,
726
- children: /* @__PURE__ */ v(O.View, {
727
- entering: k.duration(150),
728
- exiting: A.duration(150),
706
+ children: /* @__PURE__ */ v(D.View, {
707
+ entering: O.duration(150),
708
+ exiting: k.duration(150),
729
709
  className: q("flex items-center justify-center bg-black/60 p-2 backdrop-blur-md", e)
730
710
  })
731
711
  }));
@@ -742,13 +722,13 @@ var Fn = e.forwardRef(({ className: e, children: t, portalHost: n, overlayClassN
742
722
  ref: o,
743
723
  asChild: !0,
744
724
  ...a,
745
- children: /* @__PURE__ */ y(O.View, {
746
- entering: k.duration(150),
747
- exiting: A.duration(150),
725
+ children: /* @__PURE__ */ y(D.View, {
726
+ entering: O.duration(150),
727
+ exiting: k.duration(150),
748
728
  className: q("border-border bg-background w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg", e),
749
729
  children: [t, /* @__PURE__ */ y(F.Close, {
750
730
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none",
751
- children: [/* @__PURE__ */ v(D, {
731
+ children: [/* @__PURE__ */ v(E, {
752
732
  size: 18,
753
733
  className: "text-muted-foreground"
754
734
  }), /* @__PURE__ */ v(Y, {
@@ -783,8 +763,7 @@ var zn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Descrip
783
763
  ...t
784
764
  }));
785
765
  zn.displayName = F.Description?.displayName || "DialogDescription";
786
- //#endregion
787
- //#region src/drawer.tsx
766
+ // src/drawer.tsx
788
767
  var Bn = ({ children: e, ...t }) => /* @__PURE__ */ v(F.Root, {
789
768
  ...t,
790
769
  children: e
@@ -809,9 +788,9 @@ var Hn = F.Portal, Un = e.forwardRef(({ className: e, style: t, ...n }, r) => /*
809
788
  asChild: !0,
810
789
  ref: r,
811
790
  ...n,
812
- children: /* @__PURE__ */ v(O.View, {
813
- entering: k.duration(150),
814
- exiting: A.duration(150),
791
+ children: /* @__PURE__ */ v(D.View, {
792
+ entering: O.duration(150),
793
+ exiting: k.duration(150),
815
794
  className: q("bg-black/80", e)
816
795
  })
817
796
  }));
@@ -825,9 +804,9 @@ var Wn = e.forwardRef(({ className: e, children: t, portalHost: n, overlayClassN
825
804
  ref: o,
826
805
  asChild: !0,
827
806
  ...a,
828
- children: /* @__PURE__ */ y(O.View, {
829
- entering: ge.duration(200),
830
- exiting: be.duration(200),
807
+ children: /* @__PURE__ */ y(D.View, {
808
+ entering: _e.duration(200),
809
+ exiting: xe.duration(200),
831
810
  className: q("border-border bg-background z-50 flex h-auto flex-col rounded-t-xl border p-6 pb-10 shadow-lg", c.OS === "web" ? "fixed inset-x-0 bottom-0" : "absolute inset-x-0 bottom-0", e),
832
811
  children: [/* @__PURE__ */ v(h, { className: "bg-muted mx-auto mb-4 h-1.5 w-12 rounded-full" }), t]
833
812
  })
@@ -867,15 +846,14 @@ var Yn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
867
846
  children: K(t)
868
847
  }));
869
848
  Yn.displayName = "DrawerDescription";
870
- //#endregion
871
- //#region src/dropdown-menu.tsx
849
+ // src/dropdown-menu.tsx
872
850
  var Xn = I.Root, Zn = I.Trigger, Qn = I.Portal, $n = I.Group, er = I.RadioGroup, tr = I.Sub, nr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(I.Overlay, {
873
851
  style: c.OS === "web" ? void 0 : d.absoluteFill,
874
852
  ref: n,
875
853
  ...t,
876
- children: /* @__PURE__ */ v(O.View, {
877
- entering: k.duration(100),
878
- exiting: A.duration(100),
854
+ children: /* @__PURE__ */ v(D.View, {
855
+ entering: O.duration(100),
856
+ exiting: k.duration(100),
879
857
  className: q("absolute inset-0 z-50 bg-black/30 backdrop-blur-md", e)
880
858
  })
881
859
  }));
@@ -927,7 +905,7 @@ var ar = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @
927
905
  ...r,
928
906
  children: [/* @__PURE__ */ v(h, {
929
907
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
930
- children: /* @__PURE__ */ v(I.ItemIndicator, { children: /* @__PURE__ */ v(E, {
908
+ children: /* @__PURE__ */ v(I.ItemIndicator, { children: /* @__PURE__ */ v(ae, {
931
909
  size: 8,
932
910
  className: "text-foreground fill-current"
933
911
  }) })
@@ -973,8 +951,7 @@ var ur = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
973
951
  children: t
974
952
  }));
975
953
  ur.displayName = "DropdownMenuSubContent";
976
- //#endregion
977
- //#region src/label.tsx
954
+ // src/label.tsx
978
955
  var dr = e.forwardRef(({ className: e, onPress: t, onLongPress: n, onPressIn: r, onPressOut: i, ...a }, o) => /* @__PURE__ */ v(Ve.Root, {
979
956
  className: "web:cursor-default",
980
957
  onPress: t,
@@ -988,8 +965,7 @@ var dr = e.forwardRef(({ className: e, onPress: t, onLongPress: n, onPressIn: r,
988
965
  })
989
966
  }));
990
967
  dr.displayName = Ve.Root?.displayName || "Label";
991
- //#endregion
992
- //#region src/form.tsx
968
+ // src/form.tsx
993
969
  var fr = ze, pr = e.createContext(null), mr = ({ ...e }) => /* @__PURE__ */ v(pr.Provider, {
994
970
  value: { name: e.name },
995
971
  children: /* @__PURE__ */ v(Re, { ...e })
@@ -1060,8 +1036,7 @@ var br = e.forwardRef(({ className: e, children: t, ...n }, r) => {
1060
1036
  }) : null;
1061
1037
  });
1062
1038
  br.displayName = "FormMessage";
1063
- //#endregion
1064
- //#region src/hover-card.tsx
1039
+ // src/hover-card.tsx
1065
1040
  var xr = L.Root, Sr = L.Trigger, Cr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(L.Portal, { children: /* @__PURE__ */ v(L.Content, {
1066
1041
  ref: r,
1067
1042
  className: q("bg-popover text-popover-foreground border-border z-50 w-64 rounded-md border p-4 shadow-md", e),
@@ -1069,8 +1044,7 @@ var xr = L.Root, Sr = L.Trigger, Cr = e.forwardRef(({ className: e, children: t,
1069
1044
  children: t
1070
1045
  }) }));
1071
1046
  Cr.displayName = L.Content?.displayName || "HoverCardContent";
1072
- //#endregion
1073
- //#region src/input.tsx
1047
+ // src/input.tsx
1074
1048
  var wr = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ v(p, {
1075
1049
  ref: r,
1076
1050
  className: q("border-input text-foreground placeholder:text-muted-foreground focus:border-ring flex h-10 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-sm transition-colors disabled:opacity-50", e),
@@ -1078,8 +1052,7 @@ var wr = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /*
1078
1052
  ...n
1079
1053
  }));
1080
1054
  wr.displayName = "Input";
1081
- //#endregion
1082
- //#region src/menubar.tsx
1055
+ // src/menubar.tsx
1083
1056
  var Tr = e.forwardRef(({ className: t, children: n, value: r, onValueChange: i, ...a }, o) => {
1084
1057
  let [s, c] = e.useState(r || ""), l = r === void 0 ? s : r;
1085
1058
  return /* @__PURE__ */ v(R.Root, {
@@ -1098,9 +1071,9 @@ var Er = R.Menu, Dr = R.Portal, Or = R.Group, kr = R.RadioGroup, Ar = R.Sub, jr
1098
1071
  style: c.OS === "web" ? void 0 : d.absoluteFill,
1099
1072
  ref: n,
1100
1073
  ...t,
1101
- children: /* @__PURE__ */ v(O.View, {
1102
- entering: k.duration(100),
1103
- exiting: A.duration(100),
1074
+ children: /* @__PURE__ */ v(D.View, {
1075
+ entering: O.duration(100),
1076
+ exiting: k.duration(100),
1104
1077
  className: q("absolute inset-0 z-50 bg-black/30", e)
1105
1078
  })
1106
1079
  }));
@@ -1148,7 +1121,7 @@ var Ir = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @
1148
1121
  ...r,
1149
1122
  children: [/* @__PURE__ */ v(h, {
1150
1123
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
1151
- children: /* @__PURE__ */ v(R.ItemIndicator, { children: /* @__PURE__ */ v(E, {
1124
+ children: /* @__PURE__ */ v(R.ItemIndicator, { children: /* @__PURE__ */ v(ae, {
1152
1125
  size: 8,
1153
1126
  className: "text-foreground fill-current"
1154
1127
  }) })
@@ -1194,8 +1167,7 @@ var Vr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
1194
1167
  children: t
1195
1168
  }));
1196
1169
  Vr.displayName = "MenubarSubContent";
1197
- //#endregion
1198
- //#region src/navigation-menu.tsx
1170
+ // src/navigation-menu.tsx
1199
1171
  var Hr = e.forwardRef(({ className: e, children: t, value: n, onValueChange: r, dir: i, orientation: a, delayDuration: o, skipDelayDuration: s, ...c }, l) => /* @__PURE__ */ v(z.Root, {
1200
1172
  ref: l,
1201
1173
  value: n,
@@ -1236,9 +1208,9 @@ Gr.displayName = "NavigationMenuTrigger";
1236
1208
  var Kr = e.forwardRef(({ className: e, children: t, forceMount: n, ...r }, i) => /* @__PURE__ */ v(z.Portal, { children: /* @__PURE__ */ v(z.Content, {
1237
1209
  ref: i,
1238
1210
  ...r,
1239
- children: /* @__PURE__ */ v(O.View, {
1240
- entering: k.duration(150),
1241
- exiting: A.duration(150),
1211
+ children: /* @__PURE__ */ v(D.View, {
1212
+ entering: O.duration(150),
1213
+ exiting: k.duration(150),
1242
1214
  className: q("bg-popover border-border z-50 overflow-hidden rounded-md border p-4 shadow-md", e),
1243
1215
  children: t
1244
1216
  })
@@ -1271,8 +1243,7 @@ var Yr = e.forwardRef(({ className: e, forceMount: t, ...n }, r) => /* @__PURE__
1271
1243
  children: /* @__PURE__ */ v(h, { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
1272
1244
  }));
1273
1245
  Yr.displayName = "NavigationMenuIndicator";
1274
- //#endregion
1275
- //#region src/pagination.tsx
1246
+ // src/pagination.tsx
1276
1247
  var Xr = ({ className: e, children: t, ...n }) => /* @__PURE__ */ v(h, {
1277
1248
  role: "navigation",
1278
1249
  "aria-label": "pagination",
@@ -1338,14 +1309,13 @@ var ni = ({ className: e, ...t }) => /* @__PURE__ */ v(h, {
1338
1309
  "aria-hidden": !0,
1339
1310
  className: q("flex h-9 w-9 flex-row items-center justify-center", e),
1340
1311
  ...t,
1341
- children: /* @__PURE__ */ v(ce, {
1312
+ children: /* @__PURE__ */ v(le, {
1342
1313
  size: 16,
1343
1314
  className: "text-foreground"
1344
1315
  })
1345
1316
  });
1346
1317
  ni.displayName = "PaginationEllipsis";
1347
- //#endregion
1348
- //#region src/popover.tsx
1318
+ // src/popover.tsx
1349
1319
  var ri = e.createContext({
1350
1320
  open: !1,
1351
1321
  setOpen: () => {}
@@ -1405,13 +1375,11 @@ var si = e.forwardRef(({ className: t, children: n, ...r }, i) => {
1405
1375
  });
1406
1376
  });
1407
1377
  si.displayName = "PopoverContent";
1408
- //#endregion
1409
- //#region src/progress.tsx
1378
+ // src/progress.tsx
1410
1379
  var ci = e.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ v(h, {
1411
1380
  ref: r,
1412
1381
  className: q("bg-muted relative h-2 w-full overflow-hidden rounded-full", e),
1413
1382
  accessibilityRole: "progressbar",
1414
- role: "progressbar",
1415
1383
  ...n,
1416
1384
  children: /* @__PURE__ */ v(h, {
1417
1385
  className: "bg-primary h-full rounded-full",
@@ -1419,8 +1387,7 @@ var ci = e.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ v
1419
1387
  })
1420
1388
  }));
1421
1389
  ci.displayName = "Progress";
1422
- //#endregion
1423
- //#region src/radio-group.tsx
1390
+ // src/radio-group.tsx
1424
1391
  var li = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(B.Root, {
1425
1392
  className: q("web:grid gap-2", e),
1426
1393
  ...t,
@@ -1433,12 +1400,11 @@ var ui = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(B.Item, {
1433
1400
  ...t,
1434
1401
  children: /* @__PURE__ */ v(B.Indicator, {
1435
1402
  className: "flex items-center justify-center",
1436
- children: /* @__PURE__ */ v(E, { className: "h-2.5 w-2.5 fill-current text-current" })
1403
+ children: /* @__PURE__ */ v(ae, { className: "h-2.5 w-2.5 fill-current text-current" })
1437
1404
  })
1438
1405
  }));
1439
1406
  ui.displayName = B.Item?.displayName || "RadioGroupItem";
1440
- //#endregion
1441
- //#region src/resizable.tsx
1407
+ // src/resizable.tsx
1442
1408
  var di = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
1443
1409
  className: t,
1444
1410
  children: e
@@ -1454,21 +1420,18 @@ var di = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
1454
1420
  children: /* @__PURE__ */ v(h, { children: e })
1455
1421
  }));
1456
1422
  mi.displayName = "ScrollArea";
1457
- var hi = () => null;
1458
- hi.displayName = "ScrollBar";
1459
- //#endregion
1460
- //#region src/search.tsx
1461
- function gi({ children: t, open: n, onOpenChange: r }) {
1462
- let [i, a] = e.useState(!1), o = n !== void 0;
1423
+ // src/search.tsx
1424
+ function hi({ children: t, open: n, onOpenChange: r }) {
1425
+ let [i, a] = e.useState(!1), o = n !== void 0, s = o ? n : i, c = e.useCallback((e) => {
1426
+ o ? r?.(e) : a(e);
1427
+ }, [o, r]);
1463
1428
  return /* @__PURE__ */ v(An, {
1464
- open: o ? n : i,
1465
- onOpenChange: e.useCallback((e) => {
1466
- o ? r?.(e) : a(e);
1467
- }, [o, r]),
1429
+ open: s,
1430
+ onOpenChange: c,
1468
1431
  children: t
1469
1432
  });
1470
1433
  }
1471
- var _i = e.forwardRef(({ className: e, placeholder: t, variant: n = "default", responsive: r = !1, ...i }, a) => {
1434
+ var gi = e.forwardRef(({ className: e, placeholder: t, variant: n = "default", responsive: r = !1, ...i }, a) => {
1472
1435
  let o = t || (n === "compact" ? "Search..." : "Search docs...");
1473
1436
  return /* @__PURE__ */ y(J, {
1474
1437
  variant: "outline",
@@ -1477,7 +1440,7 @@ var _i = e.forwardRef(({ className: e, placeholder: t, variant: n = "default", r
1477
1440
  ...i,
1478
1441
  children: [/* @__PURE__ */ y(h, {
1479
1442
  className: "flex-row items-center gap-2",
1480
- children: [/* @__PURE__ */ v(le, {
1443
+ children: [/* @__PURE__ */ v(ue, {
1481
1444
  className: "text-muted-foreground shrink-0",
1482
1445
  size: 18
1483
1446
  }), /* @__PURE__ */ v(f, {
@@ -1493,17 +1456,16 @@ var _i = e.forwardRef(({ className: e, placeholder: t, variant: n = "default", r
1493
1456
  })]
1494
1457
  });
1495
1458
  });
1496
- _i.displayName = "SearchTrigger";
1497
- //#endregion
1498
- //#region src/select.tsx
1499
- var vi = V.Root, yi = V.Group, bi = e.forwardRef(({ className: e, placeholder: t, ...n }, r) => /* @__PURE__ */ v(V.Value, {
1459
+ gi.displayName = "SearchTrigger";
1460
+ // src/select.tsx
1461
+ var _i = V.Root, vi = V.Group, yi = e.forwardRef(({ className: e, placeholder: t, ...n }, r) => /* @__PURE__ */ v(V.Value, {
1500
1462
  ref: r,
1501
1463
  className: q("text-foreground native:text-base text-sm", e),
1502
1464
  placeholder: typeof t == "string" ? t : "",
1503
1465
  ...n
1504
1466
  }));
1505
- bi.displayName = V.Value?.displayName || "SelectValue";
1506
- var xi = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ y(V.Trigger, {
1467
+ yi.displayName = V.Value?.displayName || "SelectValue";
1468
+ var bi = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ y(V.Trigger, {
1507
1469
  ref: r,
1508
1470
  className: q("native:h-12 border-input bg-background text-muted-foreground web:ring-offset-background web:focus:outline-none web:focus:ring-2 web:focus:ring-ring web:focus:ring-offset-2 flex h-10 flex-row items-center justify-between rounded-md border px-3 py-2 text-sm [&>span]:line-clamp-1", n.disabled && "web:cursor-not-allowed opacity-50", e),
1509
1471
  ...n,
@@ -1513,8 +1475,8 @@ var xi = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
1513
1475
  className: "text-foreground opacity-50"
1514
1476
  })]
1515
1477
  }));
1516
- xi.displayName = V.Trigger?.displayName || "SelectTrigger";
1517
- var Si = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.ScrollUpButton, {
1478
+ bi.displayName = V.Trigger?.displayName || "SelectTrigger";
1479
+ var xi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.ScrollUpButton, {
1518
1480
  ref: n,
1519
1481
  className: q("flex cursor-default items-center justify-center py-1", e),
1520
1482
  ...t,
@@ -1523,8 +1485,8 @@ var Si = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.ScrollU
1523
1485
  className: "text-foreground"
1524
1486
  })
1525
1487
  }));
1526
- Si.displayName = V.ScrollUpButton?.displayName || "SelectScrollUpButton";
1527
- var Ci = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.ScrollDownButton, {
1488
+ xi.displayName = V.ScrollUpButton?.displayName || "SelectScrollUpButton";
1489
+ var Si = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.ScrollDownButton, {
1528
1490
  ref: n,
1529
1491
  className: q("flex cursor-default items-center justify-center py-1", e),
1530
1492
  ...t,
@@ -1533,15 +1495,15 @@ var Ci = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.ScrollD
1533
1495
  className: "text-foreground"
1534
1496
  })
1535
1497
  }));
1536
- Ci.displayName = V.ScrollDownButton?.displayName || "SelectScrollDownButton";
1537
- var wi = e.forwardRef(({ className: e, children: t, position: n = "popper", portalHost: r, overlayClassName: i, overlayStyle: a, ...o }, s) => {
1498
+ Si.displayName = V.ScrollDownButton?.displayName || "SelectScrollDownButton";
1499
+ var Ci = e.forwardRef(({ className: e, children: t, position: n = "popper", portalHost: r, overlayClassName: i, overlayStyle: a, ...o }, s) => {
1538
1500
  let { open: l } = V.useRootContext();
1539
1501
  return /* @__PURE__ */ y(V.Portal, {
1540
1502
  hostName: r,
1541
1503
  children: [/* @__PURE__ */ v(V.Overlay, {
1542
1504
  style: c.OS === "web" ? void 0 : d.absoluteFill,
1543
1505
  asChild: !0,
1544
- children: /* @__PURE__ */ v(O.View, {
1506
+ children: /* @__PURE__ */ v(D.View, {
1545
1507
  className: i,
1546
1508
  style: a
1547
1509
  })
@@ -1551,24 +1513,24 @@ var wi = e.forwardRef(({ className: e, children: t, position: n = "popper", port
1551
1513
  position: n,
1552
1514
  ...o,
1553
1515
  children: [
1554
- /* @__PURE__ */ v(Si, {}),
1516
+ /* @__PURE__ */ v(xi, {}),
1555
1517
  /* @__PURE__ */ v(V.Viewport, {
1556
1518
  className: q("p-1", n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
1557
1519
  children: t
1558
1520
  }),
1559
- /* @__PURE__ */ v(Ci, {})
1521
+ /* @__PURE__ */ v(Si, {})
1560
1522
  ]
1561
1523
  })]
1562
1524
  });
1563
1525
  });
1564
- wi.displayName = V.Content?.displayName || "SelectContent";
1565
- var Ti = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.Label, {
1526
+ Ci.displayName = V.Content?.displayName || "SelectContent";
1527
+ var wi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.Label, {
1566
1528
  ref: n,
1567
1529
  className: q("text-foreground py-1.5 pr-2 pl-8 text-sm font-semibold", e),
1568
1530
  ...t
1569
1531
  }));
1570
- Ti.displayName = V.Label?.displayName || "SelectLabel";
1571
- var Ei = e.forwardRef(({ className: e, children: t, label: n, ...r }, i) => {
1532
+ wi.displayName = V.Label?.displayName || "SelectLabel";
1533
+ var Ti = e.forwardRef(({ className: e, children: t, label: n, ...r }, i) => {
1572
1534
  let a = n || (typeof t == "string" ? t : "");
1573
1535
  return /* @__PURE__ */ y(V.Item, {
1574
1536
  ref: i,
@@ -1588,17 +1550,16 @@ var Ei = e.forwardRef(({ className: e, children: t, label: n, ...r }, i) => {
1588
1550
  })]
1589
1551
  });
1590
1552
  });
1591
- Ei.displayName = V.Item?.displayName || "SelectItem";
1592
- var Di = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.Separator, {
1553
+ Ti.displayName = V.Item?.displayName || "SelectItem";
1554
+ var Ei = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.Separator, {
1593
1555
  ref: n,
1594
1556
  className: q("bg-muted -mx-1 my-1 h-px", e),
1595
1557
  ...t
1596
1558
  }));
1597
- Di.displayName = V.Separator?.displayName || "SelectSeparator";
1598
- //#endregion
1599
- //#region src/scroll-to-top.tsx
1600
- var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a, label: o = "Scroll to top", className: s, scrollRef: l, animationDuration: u = 300, ...d }, f) => {
1601
- let [p, m] = e.useState(!1), [g, _] = e.useState(!1), y = e.useRef(new r.Value(0)).current, b = e.useRef(new r.Value(20)).current, x = () => {
1559
+ Ei.displayName = V.Separator?.displayName || "SelectSeparator";
1560
+ // src/scroll-to-top.tsx
1561
+ var Di = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a, label: o = "Scroll to top", className: s, scrollRef: l, animationDuration: u = 300, ...d }, f) => {
1562
+ let [p, m] = e.useState(!1), [g, _] = e.useState(!1), [y] = e.useState(() => new r.Value(0)), [b] = e.useState(() => new r.Value(20)), ee = () => {
1602
1563
  r.parallel([r.timing(y, {
1603
1564
  toValue: 1,
1604
1565
  duration: u,
@@ -1608,7 +1569,7 @@ var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
1608
1569
  duration: u,
1609
1570
  useNativeDriver: !0
1610
1571
  })]).start();
1611
- }, S = () => {
1572
+ }, x = () => {
1612
1573
  r.parallel([r.timing(y, {
1613
1574
  toValue: 0,
1614
1575
  duration: u,
@@ -1620,15 +1581,11 @@ var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
1620
1581
  })]).start(() => {
1621
1582
  g || m(!1);
1622
1583
  });
1623
- }, ee = (e) => {
1584
+ }, te = (e) => {
1624
1585
  let t = e.nativeEvent.contentOffset.y;
1625
- if (g) {
1626
- t <= n && (m(!1), _(!1));
1627
- return;
1628
- }
1629
- t > n && !p ? (m(!0), x()) : t <= n && p && S();
1630
- }, te = () => {
1631
- _(!0), S(), setTimeout(() => {
1586
+ g ? t <= n && (m(!1), _(!1)) : t > n && !p ? (m(!0), ee()) : t <= n && p && x();
1587
+ }, S = () => {
1588
+ _(!0), x(), setTimeout(() => {
1632
1589
  if (l?.current) {
1633
1590
  let e = l.current;
1634
1591
  "scrollToOffset" in e && typeof e.scrollToOffset == "function" ? e.scrollToOffset({
@@ -1643,8 +1600,8 @@ var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
1643
1600
  }, i);
1644
1601
  };
1645
1602
  return e.useImperativeHandle(f, () => ({
1646
- handleScroll: ee,
1647
- scrollToTop: te
1603
+ handleScroll: te,
1604
+ scrollToTop: S
1648
1605
  })), !p && !g ? null : /* @__PURE__ */ v(h, {
1649
1606
  pointerEvents: "box-none",
1650
1607
  style: {
@@ -1662,7 +1619,7 @@ var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
1662
1619
  variant: "outline",
1663
1620
  size: "icon",
1664
1621
  className: q("bg-background/80 h-12 w-12 rounded-full border-2 shadow-lg", s),
1665
- onPress: te,
1622
+ onPress: S,
1666
1623
  "aria-label": o,
1667
1624
  ...d,
1668
1625
  children: /* @__PURE__ */ v(ne, {
@@ -1673,32 +1630,30 @@ var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
1673
1630
  })
1674
1631
  });
1675
1632
  });
1676
- Oi.displayName = "ScrollToTop";
1677
- //#endregion
1678
- //#region src/support-fab.tsx
1679
- var ki = "https://www.buymeacoffee.com", Ai = new Set(["buymeacoffee.com", "www.buymeacoffee.com"]), ji = (e) => {
1633
+ Di.displayName = "ScrollToTop";
1634
+ // src/support-fab.tsx
1635
+ var Oi = "https://www.buymeacoffee.com", ki = /* @__PURE__ */ new Set(["buymeacoffee.com", "www.buymeacoffee.com"]), Ai = (e) => {
1680
1636
  let t = e.trim();
1681
1637
  try {
1682
1638
  let n = new URL(t), r = n.hostname.toLowerCase();
1683
- return n.protocol !== "https:" || !Ai.has(r) ? (console.warn(`Invalid supportUrl: ${e}. Falling back to default.`), ki) : t;
1639
+ return n.protocol !== "https:" || !ki.has(r) ? (console.warn(`Invalid supportUrl: ${e}. Falling back to default.`), Oi) : t;
1684
1640
  } catch {
1685
- return console.warn(`Invalid supportUrl: ${e}. Falling back to default.`), ki;
1641
+ return console.warn(`Invalid supportUrl: ${e}. Falling back to default.`), Oi;
1686
1642
  }
1687
- }, Mi = (e) => {
1688
- let t = ji(e);
1643
+ }, ji = (e) => {
1644
+ let t = Ai(e);
1689
1645
  return t.endsWith("/") ? t.slice(0, -1) : t;
1690
- }, Ni = (e) => e.trim().replace(/^@+/, ""), Pi = (e, t) => `${Mi(e)}/${encodeURIComponent(Ni(t))}`;
1691
- function Fi({ supportUrl: t = ki, creatorId: n, title: r = "Buy me a coffee", description: i = "Support the project directly from this panel.", open: a, defaultOpen: s = !1, onOpenChange: c, positionClassName: l, buttonClassName: u, panelClassName: d, className: f, ...p }) {
1692
- let m = a !== void 0, [g, b] = e.useState(s), x = m ? a : g, S = e.useCallback((e) => {
1646
+ }, Mi = (e) => e.trim().replace(/^@+/, ""), Ni = (e, t) => `${ji(e)}/${encodeURIComponent(Mi(t))}`;
1647
+ function Pi({ supportUrl: t = Oi, creatorId: n, title: r = "Buy me a coffee", description: i = "Support the project directly from this panel.", open: a, defaultOpen: s = !1, onOpenChange: c, positionClassName: l, buttonClassName: u, panelClassName: d, className: f, ...p }) {
1648
+ let m = a !== void 0, [g, b] = e.useState(s), ee = m ? a : g, x = e.useCallback((e) => {
1693
1649
  m || b(e), c?.(e);
1694
- }, [m, c]), ee = e.useMemo(() => Pi(t, n), [n, t]), te = e.useCallback(async () => {
1650
+ }, [m, c]), te = e.useMemo(() => Ni(t, n), [n, t]), S = e.useCallback(async () => {
1695
1651
  try {
1696
- await o.openURL(ee);
1652
+ await o.openURL(te);
1697
1653
  } catch (e) {
1698
1654
  console.warn("Failed to open external link:", e);
1699
1655
  }
1700
- }, [ee]);
1701
- return /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(h, {
1656
+ }, [te]), ne = /* @__PURE__ */ v(h, {
1702
1657
  style: {
1703
1658
  position: "absolute",
1704
1659
  bottom: 24,
@@ -1710,17 +1665,18 @@ function Fi({ supportUrl: t = ki, creatorId: n, title: r = "Buy me a coffee", de
1710
1665
  variant: "outline",
1711
1666
  size: "icon",
1712
1667
  className: q("h-14 w-14 rounded-full border border-black/15 bg-[#ffdd00] shadow-lg", u, f),
1713
- onPress: () => S(!0),
1668
+ onPress: () => x(!0),
1714
1669
  "aria-label": "Support this project",
1715
1670
  ...p,
1716
- children: /* @__PURE__ */ v(ae, {
1671
+ children: /* @__PURE__ */ v(oe, {
1717
1672
  size: 24,
1718
1673
  className: "text-black"
1719
1674
  })
1720
1675
  })
1721
- }), /* @__PURE__ */ v(An, {
1722
- open: x,
1723
- onOpenChange: S,
1676
+ });
1677
+ return /* @__PURE__ */ y(_, { children: [ne, /* @__PURE__ */ v(An, {
1678
+ open: ee,
1679
+ onOpenChange: x,
1724
1680
  children: /* @__PURE__ */ y(Fn, {
1725
1681
  className: q("max-w-sm", d),
1726
1682
  children: [/* @__PURE__ */ y(In, { children: [/* @__PURE__ */ v(Rn, { children: r }), /* @__PURE__ */ v(zn, { children: i })] }), /* @__PURE__ */ y(h, {
@@ -1746,12 +1702,12 @@ function Fi({ supportUrl: t = ki, creatorId: n, title: r = "Buy me a coffee", de
1746
1702
  }), /* @__PURE__ */ y(J, {
1747
1703
  variant: "outline",
1748
1704
  size: "sm",
1749
- onPress: te,
1705
+ onPress: S,
1750
1706
  className: "flex flex-row items-center gap-1",
1751
1707
  children: [/* @__PURE__ */ v(Y, {
1752
1708
  className: "text-xs",
1753
1709
  children: "Open Buy Me a Coffee"
1754
- }), /* @__PURE__ */ v(oe, {
1710
+ }), /* @__PURE__ */ v(se, {
1755
1711
  size: 12,
1756
1712
  className: "text-muted-foreground"
1757
1713
  })]
@@ -1761,46 +1717,44 @@ function Fi({ supportUrl: t = ki, creatorId: n, title: r = "Buy me a coffee", de
1761
1717
  })
1762
1718
  })] });
1763
1719
  }
1764
- //#endregion
1765
- //#region src/separator.tsx
1766
- var Ii = e.forwardRef(({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }, i) => /* @__PURE__ */ v(He.Root, {
1720
+ // src/separator.tsx
1721
+ var Fi = e.forwardRef(({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }, i) => /* @__PURE__ */ v(He.Root, {
1767
1722
  ref: i,
1768
1723
  decorative: n,
1769
1724
  orientation: t,
1770
1725
  className: q("bg-border shrink-0", t === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", e),
1771
1726
  ...r
1772
1727
  }));
1773
- Ii.displayName = He.Root?.displayName || "Separator";
1774
- //#endregion
1775
- //#region src/sheet.tsx
1776
- var Li = F.Root, Ri = F.Trigger, zi = F.Close, Bi = F.Portal, Vi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Overlay, {
1728
+ Fi.displayName = He.Root?.displayName || "Separator";
1729
+ // src/sheet.tsx
1730
+ var Ii = F.Root, Li = F.Trigger, Ri = F.Close, zi = F.Portal, Bi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Overlay, {
1777
1731
  style: c.OS === "web" ? void 0 : d.absoluteFill,
1778
1732
  asChild: !0,
1779
1733
  ref: n,
1780
1734
  ...t,
1781
- children: /* @__PURE__ */ v(O.View, {
1782
- entering: k.duration(150),
1783
- exiting: A.duration(150),
1735
+ children: /* @__PURE__ */ v(D.View, {
1736
+ entering: O.duration(150),
1737
+ exiting: k.duration(150),
1784
1738
  className: q("web:cursor-default absolute inset-0 z-50 bg-black/60 backdrop-blur-md", e)
1785
1739
  })
1786
1740
  }));
1787
- Vi.displayName = F.Overlay?.displayName || "SheetOverlay";
1788
- var Hi = e.forwardRef(({ className: e, children: t, side: n = "right", overlayClassName: r, overlayStyle: i, ...a }, o) => {
1741
+ Bi.displayName = F.Overlay?.displayName || "SheetOverlay";
1742
+ var Vi = e.forwardRef(({ className: e, children: t, side: n = "right", overlayClassName: r, overlayStyle: i, ...a }, o) => {
1789
1743
  let s = c.OS === "web", l, u;
1790
- return s || (n === "bottom" ? (l = ge, u = be) : n === "top" ? (l = ye, u = Ce) : n === "left" ? (l = _e, u = xe) : (l = ve, u = Se)), /* @__PURE__ */ y(Bi, { children: [/* @__PURE__ */ v(Vi, {
1744
+ return s || (n === "bottom" ? (l = _e, u = xe) : n === "top" ? (l = be, u = we) : n === "left" ? (l = ve, u = Se) : (l = ye, u = Ce)), /* @__PURE__ */ y(zi, { children: [/* @__PURE__ */ v(Bi, {
1791
1745
  className: r,
1792
1746
  style: i
1793
1747
  }), /* @__PURE__ */ v(F.Content, {
1794
1748
  ref: o,
1795
1749
  asChild: !0,
1796
1750
  ...a,
1797
- children: /* @__PURE__ */ y(O.View, {
1751
+ children: /* @__PURE__ */ y(D.View, {
1798
1752
  entering: l,
1799
1753
  exiting: u,
1800
1754
  className: q("bg-background web:cursor-default web:duration-200 web:ease-in-out absolute z-50 h-full w-3/4 gap-4 p-6 shadow-lg", n === "right" && "border-border data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right top-0 right-0 border-l", n === "left" && "border-border data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left top-0 left-0 border-r", n === "top" && "border-border data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top top-0 w-full border-b", n === "bottom" && "border-border data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom bottom-0 w-full border-t", e),
1801
1755
  children: [t, /* @__PURE__ */ y(F.Close, {
1802
1756
  className: q("ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none", "web:absolute web:right-4 web:top-4"),
1803
- children: [/* @__PURE__ */ v(D, {
1757
+ children: [/* @__PURE__ */ v(E, {
1804
1758
  size: 24,
1805
1759
  className: "text-muted-foreground"
1806
1760
  }), /* @__PURE__ */ v(Y, {
@@ -1811,46 +1765,44 @@ var Hi = e.forwardRef(({ className: e, children: t, side: n = "right", overlayCl
1811
1765
  })
1812
1766
  })] });
1813
1767
  });
1814
- Hi.displayName = F.Content?.displayName || "SheetContent";
1815
- var Ui = ({ className: e, ...t }) => /* @__PURE__ */ v(h, {
1768
+ Vi.displayName = F.Content?.displayName || "SheetContent";
1769
+ var Hi = ({ className: e, ...t }) => /* @__PURE__ */ v(h, {
1816
1770
  className: q("flex flex-col space-y-2 text-center sm:text-left", e),
1817
1771
  ...t
1818
1772
  });
1819
- Ui.displayName = "SheetHeader";
1820
- var Wi = ({ className: e, ...t }) => /* @__PURE__ */ v(h, {
1773
+ Hi.displayName = "SheetHeader";
1774
+ var Ui = ({ className: e, ...t }) => /* @__PURE__ */ v(h, {
1821
1775
  className: q("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e),
1822
1776
  ...t
1823
1777
  });
1824
- Wi.displayName = "SheetFooter";
1825
- var Gi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Title, {
1778
+ Ui.displayName = "SheetFooter";
1779
+ var Wi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Title, {
1826
1780
  ref: n,
1827
1781
  className: q("text-foreground text-lg font-semibold", e),
1828
1782
  ...t
1829
1783
  }));
1830
- Gi.displayName = F.Title?.displayName || "SheetTitle";
1831
- var Ki = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Description, {
1784
+ Wi.displayName = F.Title?.displayName || "SheetTitle";
1785
+ var Gi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Description, {
1832
1786
  ref: n,
1833
1787
  className: q("text-muted-foreground text-sm", e),
1834
1788
  ...t
1835
1789
  }));
1836
- Ki.displayName = F.Description?.displayName || "SheetDescription";
1837
- //#endregion
1838
- //#region src/skeleton.tsx
1839
- function qi({ className: t, ...n }) {
1840
- let r = De(.5);
1790
+ Gi.displayName = F.Description?.displayName || "SheetDescription";
1791
+ // src/skeleton.tsx
1792
+ function Ki({ className: t, ...n }) {
1793
+ let r = Oe(.5);
1841
1794
  e.useEffect(() => {
1842
- r.value = Oe(ke(Ae(.2, { duration: 500 }), Ae(.5, { duration: 500 })), -1, !0);
1843
- }, []);
1844
- let i = Te(() => ({ opacity: r.value }));
1845
- return /* @__PURE__ */ v(O.View, {
1795
+ r.value = ke(Ae(A(.2, { duration: 500 }), A(.5, { duration: 500 })), -1, !0);
1796
+ }, [r]);
1797
+ let i = Ee(() => ({ opacity: r.value }));
1798
+ return /* @__PURE__ */ v(D.View, {
1846
1799
  className: q("bg-muted rounded-md", t),
1847
1800
  style: i,
1848
1801
  ...n
1849
1802
  });
1850
1803
  }
1851
- //#endregion
1852
- //#region src/slider.tsx
1853
- var Ji = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i = 0, max: a = 100, step: o = 1, disabled: s = !1, ...c }) => {
1804
+ // src/slider.tsx
1805
+ var qi = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i = 0, max: a = 100, step: o = 1, disabled: s = !1, ...c }) => {
1854
1806
  let l = t === void 0 ? i : t[0];
1855
1807
  return /* @__PURE__ */ y(H.Root, {
1856
1808
  value: l,
@@ -1869,53 +1821,51 @@ var Ji = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i =
1869
1821
  }), /* @__PURE__ */ v(H.Thumb, { className: "border-primary bg-background focus-visible:ring-ring block h-5 w-5 rounded-full border-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none" })]
1870
1822
  });
1871
1823
  };
1872
- Ji.displayName = "Slider";
1873
- //#endregion
1874
- //#region src/toast.tsx
1875
- var Yi = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), Xi = () => null, Zi = e.forwardRef(({ className: e, variant: t = "default", ...n }, r) => /* @__PURE__ */ v(U.Root, {
1824
+ qi.displayName = "Slider";
1825
+ // src/toast.tsx
1826
+ var Ji = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), Yi = () => null, Xi = e.forwardRef(({ className: e, variant: t = "default", ...n }, r) => /* @__PURE__ */ v(U.Root, {
1876
1827
  ref: r,
1877
1828
  className: q("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", t === "default" ? "border-border bg-background" : "border-destructive bg-destructive", e),
1878
1829
  ...n,
1879
- children: /* @__PURE__ */ v(O.View, {
1880
- entering: pe,
1881
- exiting: me,
1882
- layout: he,
1830
+ children: /* @__PURE__ */ v(D.View, {
1831
+ entering: me,
1832
+ exiting: he,
1833
+ layout: ge,
1883
1834
  className: "w-full flex-row items-center",
1884
1835
  children: n.children
1885
1836
  })
1886
1837
  }));
1887
- Zi.displayName = U.Root?.displayName || "Toast";
1888
- var Qi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Title, {
1838
+ Xi.displayName = U.Root?.displayName || "Toast";
1839
+ var Zi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Title, {
1889
1840
  ref: n,
1890
1841
  className: q("text-foreground text-sm font-semibold", e),
1891
1842
  ...t
1892
1843
  }));
1893
- Qi.displayName = U.Title?.displayName || "ToastTitle";
1894
- var $i = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Description, {
1844
+ Zi.displayName = U.Title?.displayName || "ToastTitle";
1845
+ var Qi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Description, {
1895
1846
  ref: n,
1896
1847
  className: q("text-muted-foreground text-sm opacity-90", e),
1897
1848
  ...t
1898
1849
  }));
1899
- $i.displayName = U.Description?.displayName || "ToastDescription";
1900
- var ea = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Close, {
1850
+ Qi.displayName = U.Description?.displayName || "ToastDescription";
1851
+ var $i = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Close, {
1901
1852
  ref: n,
1902
1853
  className: q("text-foreground/50 hover:text-foreground absolute top-1 right-1 rounded-md p-1 opacity-0 transition-opacity group-hover:opacity-100 focus:opacity-100 focus:ring-1 focus:outline-none", e),
1903
1854
  ...t,
1904
- children: /* @__PURE__ */ v(D, {
1855
+ children: /* @__PURE__ */ v(E, {
1905
1856
  size: 16,
1906
1857
  className: "text-muted-foreground"
1907
1858
  })
1908
1859
  }));
1909
- ea.displayName = U.Close?.displayName || "ToastClose";
1910
- var ta = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Action, {
1860
+ $i.displayName = U.Close?.displayName || "ToastClose";
1861
+ var ea = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Action, {
1911
1862
  ref: n,
1912
1863
  className: q("hover:bg-secondary focus:ring-ring inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors focus:ring-1 focus:outline-none disabled:pointer-events-none disabled:opacity-50", e),
1913
1864
  ...t
1914
1865
  }));
1915
- ta.displayName = U.Action?.displayName || "ToastAction";
1916
- //#endregion
1917
- //#region src/sonner.tsx
1918
- var na = () => /* @__PURE__ */ v(Yi, { children: /* @__PURE__ */ v(Xi, {}) }), ra = e.forwardRef(({ className: e, checked: t, onCheckedChange: n, ...r }, i) => /* @__PURE__ */ v(Ue.Root, {
1866
+ ea.displayName = U.Action?.displayName || "ToastAction";
1867
+ // src/sonner.tsx
1868
+ var ta = () => /* @__PURE__ */ v(Ji, { children: /* @__PURE__ */ v(Yi, {}) }), na = e.forwardRef(({ className: e, checked: t, onCheckedChange: n, ...r }, i) => /* @__PURE__ */ v(Ue.Root, {
1919
1869
  ref: i,
1920
1870
  checked: t ?? !1,
1921
1871
  onCheckedChange: n || (() => {}),
@@ -1923,60 +1873,58 @@ var na = () => /* @__PURE__ */ v(Yi, { children: /* @__PURE__ */ v(Xi, {}) }), r
1923
1873
  ...r,
1924
1874
  children: /* @__PURE__ */ v(Ue.Thumb, { className: q("bg-background pointer-events-none block h-5 w-5 rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-[18px] data-[state=unchecked]:translate-x-0") })
1925
1875
  }));
1926
- ra.displayName = Ue.Root.displayName;
1927
- //#endregion
1928
- //#region src/table.tsx
1929
- var ia = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
1876
+ na.displayName = Ue.Root.displayName;
1877
+ // src/table.tsx
1878
+ var ra = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
1930
1879
  ref: n,
1931
1880
  className: q("w-full caption-bottom text-sm", e),
1932
1881
  ...t
1933
1882
  }));
1934
- ia.displayName = "Table";
1935
- var aa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
1883
+ ra.displayName = "Table";
1884
+ var ia = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
1936
1885
  ref: n,
1937
1886
  className: q("border-border border-b", e),
1938
1887
  ...t
1939
1888
  }));
1940
- aa.displayName = "TableHeader";
1941
- var oa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
1889
+ ia.displayName = "TableHeader";
1890
+ var aa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
1942
1891
  ref: n,
1943
1892
  className: q("flex-1", e),
1944
1893
  ...t
1945
1894
  }));
1946
- oa.displayName = "TableBody";
1947
- var sa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
1895
+ aa.displayName = "TableBody";
1896
+ var oa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
1948
1897
  ref: n,
1949
1898
  className: q("bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
1950
1899
  ...t
1951
1900
  }));
1952
- sa.displayName = "TableFooter";
1953
- var ca = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
1901
+ oa.displayName = "TableFooter";
1902
+ var sa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
1954
1903
  ref: n,
1955
1904
  className: q("border-border hover:bg-muted/50 data-[state=selected]:bg-muted flex-row border-b transition-colors", e),
1956
1905
  ...t
1957
1906
  }));
1958
- ca.displayName = "TableRow";
1959
- var la = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
1907
+ sa.displayName = "TableRow";
1908
+ var ca = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
1960
1909
  ref: n,
1961
1910
  className: q("text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0", e),
1962
1911
  ...t
1963
1912
  }));
1964
- la.displayName = "TableHead";
1965
- var ua = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
1913
+ ca.displayName = "TableHead";
1914
+ var la = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
1966
1915
  ref: n,
1967
1916
  className: q("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
1968
1917
  ...t
1969
1918
  }));
1970
- ua.displayName = "TableCell";
1971
- var da = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
1919
+ la.displayName = "TableCell";
1920
+ var ua = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
1972
1921
  ref: n,
1973
1922
  className: q("text-muted-foreground mt-4 text-sm", e),
1974
1923
  ...t
1975
1924
  }));
1976
- da.displayName = "TableCaption";
1977
- //#endregion
1978
- //#region src/tabs.tsx
1979
- var fa = e.forwardRef(({ value: t, defaultValue: n, onValueChange: r, ...i }, a) => {
1925
+ ua.displayName = "TableCaption";
1926
+ // src/tabs.tsx
1927
+ var da = e.forwardRef(({ value: t, defaultValue: n, onValueChange: r, ...i }, a) => {
1980
1928
  let [o, s] = e.useState(n ?? ""), c = t ?? o;
1981
1929
  return /* @__PURE__ */ v(W.Root, {
1982
1930
  ref: a,
@@ -1987,17 +1935,17 @@ var fa = e.forwardRef(({ value: t, defaultValue: n, onValueChange: r, ...i }, a)
1987
1935
  ...i
1988
1936
  });
1989
1937
  });
1990
- fa.displayName = "Tabs";
1991
- var pa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(W.List, {
1938
+ da.displayName = "Tabs";
1939
+ var fa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(W.List, {
1992
1940
  ref: n,
1993
1941
  className: q("bg-muted text-muted-foreground inline-flex h-10 flex-row items-center justify-center rounded-md p-1", e),
1994
1942
  ...t
1995
1943
  }));
1996
- pa.displayName = W.List?.displayName || "TabsList";
1997
- var ma = e.forwardRef(({ className: e, ...t }, n) => {
1944
+ fa.displayName = W.List?.displayName || "TabsList";
1945
+ var pa = e.forwardRef(({ className: e, ...t }, n) => {
1998
1946
  let { value: r } = W.useRootContext();
1999
1947
  return /* @__PURE__ */ v(Tt.Provider, {
2000
- value: q("text-sm native:text-base font-medium text-muted-foreground web:transition-all", r === t.value && "text-foreground"),
1948
+ value: q("native:text-base text-muted-foreground web:transition-all text-sm font-medium", r === t.value && "text-foreground"),
2001
1949
  children: /* @__PURE__ */ v(W.Trigger, {
2002
1950
  ref: n,
2003
1951
  className: q("ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50", t.disabled && "opacity-50", r === t.value && "bg-background shadow-foreground/10 shadow-sm", e),
@@ -2005,16 +1953,15 @@ var ma = e.forwardRef(({ className: e, ...t }, n) => {
2005
1953
  })
2006
1954
  });
2007
1955
  });
2008
- ma.displayName = W.Trigger?.displayName || "TabsTrigger";
2009
- var ha = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(W.Content, {
1956
+ pa.displayName = W.Trigger?.displayName || "TabsTrigger";
1957
+ var ma = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(W.Content, {
2010
1958
  ref: n,
2011
1959
  className: q("ring-offset-background focus-visible:ring-ring mt-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none", e),
2012
1960
  ...t
2013
1961
  }));
2014
- ha.displayName = W.Content?.displayName || "TabsContent";
2015
- //#endregion
2016
- //#region src/textarea.tsx
2017
- var ga = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ v(p, {
1962
+ ma.displayName = W.Content?.displayName || "TabsContent";
1963
+ // src/textarea.tsx
1964
+ var ha = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ v(p, {
2018
1965
  ref: r,
2019
1966
  multiline: !0,
2020
1967
  numberOfLines: n.numberOfLines || 3,
@@ -2023,11 +1970,10 @@ var ga = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /*
2023
1970
  textAlignVertical: "top",
2024
1971
  ...n
2025
1972
  }));
2026
- ga.displayName = "Textarea";
2027
- //#endregion
2028
- //#region src/toggle.tsx
2029
- var _a = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ v(Tt.Provider, {
2030
- value: q("text-sm native:text-base text-foreground font-medium", r.pressed && "text-accent-foreground", e),
1973
+ ha.displayName = "Textarea";
1974
+ // src/toggle.tsx
1975
+ var ga = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ v(Tt.Provider, {
1976
+ value: q("native:text-base text-foreground text-sm font-medium", r.pressed && "text-accent-foreground", e),
2031
1977
  children: /* @__PURE__ */ v(Ge.Root, {
2032
1978
  ref: i,
2033
1979
  className: q(We({
@@ -2040,20 +1986,19 @@ var _a = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__
2040
1986
  onPressedChange: r.onPressedChange || (() => {})
2041
1987
  })
2042
1988
  }));
2043
- _a.displayName = Ge.Root?.displayName || "Toggle";
2044
- //#endregion
2045
- //#region src/toggle-group.tsx
2046
- var va = e.createContext({
1989
+ ga.displayName = Ge.Root?.displayName || "Toggle";
1990
+ // src/toggle-group.tsx
1991
+ var _a = e.createContext({
2047
1992
  size: "default",
2048
1993
  variant: "default"
2049
- }), ya = e.forwardRef(({ className: e, variant: t, size: n, children: r, type: i, value: a, onValueChange: o, ...s }, c) => /* @__PURE__ */ v(Ke.Root, {
1994
+ }), va = e.forwardRef(({ className: e, variant: t, size: n, children: r, type: i, value: a, onValueChange: o, ...s }, c) => /* @__PURE__ */ v(Ke.Root, {
2050
1995
  ref: c,
2051
1996
  type: i,
2052
1997
  value: a,
2053
1998
  onValueChange: o,
2054
1999
  className: q("flex flex-row items-center justify-center gap-1", e),
2055
2000
  ...s,
2056
- children: /* @__PURE__ */ v(va.Provider, {
2001
+ children: /* @__PURE__ */ v(_a.Provider, {
2057
2002
  value: {
2058
2003
  variant: t,
2059
2004
  size: n
@@ -2061,11 +2006,11 @@ var va = e.createContext({
2061
2006
  children: r
2062
2007
  })
2063
2008
  }));
2064
- ya.displayName = Ke.Root?.displayName || "ToggleGroup";
2065
- var ba = e.forwardRef(({ className: t, children: n, variant: r, size: i, value: a, ...o }, s) => {
2066
- let c = e.useContext(va);
2009
+ va.displayName = Ke.Root?.displayName || "ToggleGroup";
2010
+ var ya = e.forwardRef(({ className: t, children: n, variant: r, size: i, value: a, ...o }, s) => {
2011
+ let c = e.useContext(_a);
2067
2012
  return /* @__PURE__ */ v(Tt.Provider, {
2068
- value: q("text-sm native:text-base text-foreground font-medium", o.disabled && "web:cursor-not-allowed opacity-50", a === "" && "text-accent-foreground", t),
2013
+ value: q("native:text-base text-foreground text-sm font-medium", o.disabled && "web:cursor-not-allowed opacity-50", a === "" && "text-accent-foreground", t),
2069
2014
  children: /* @__PURE__ */ v(Ke.Item, {
2070
2015
  ref: s,
2071
2016
  value: a,
@@ -2078,16 +2023,15 @@ var ba = e.forwardRef(({ className: t, children: n, variant: r, size: i, value:
2078
2023
  })
2079
2024
  });
2080
2025
  });
2081
- ba.displayName = Ke.Item?.displayName || "ToggleGroupItem";
2082
- //#endregion
2083
- //#region src/tooltip.tsx
2084
- var xa = G.Root, Sa = G.Trigger, Ca = e.forwardRef(({ className: e, portalHost: t, ...n }, r) => /* @__PURE__ */ v(G.Portal, {
2026
+ ya.displayName = Ke.Item?.displayName || "ToggleGroupItem";
2027
+ // src/tooltip.tsx
2028
+ var ba = G.Root, xa = G.Trigger, Sa = e.forwardRef(({ className: e, portalHost: t, ...n }, r) => /* @__PURE__ */ v(G.Portal, {
2085
2029
  hostName: t,
2086
2030
  children: /* @__PURE__ */ v(G.Overlay, {
2087
2031
  style: c.OS === "web" ? void 0 : d.absoluteFill,
2088
- children: /* @__PURE__ */ v(O.View, {
2089
- entering: k,
2090
- exiting: A,
2032
+ children: /* @__PURE__ */ v(D.View, {
2033
+ entering: O,
2034
+ exiting: k,
2091
2035
  className: q("border-border bg-popover web:animate-in web:fade-in-0 web: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 z-50 overflow-hidden rounded-md border px-3 py-1.5 shadow-md", e),
2092
2036
  children: /* @__PURE__ */ v(Y, {
2093
2037
  className: "text-popover-foreground native:text-base text-sm",
@@ -2096,42 +2040,42 @@ var xa = G.Root, Sa = G.Trigger, Ca = e.forwardRef(({ className: e, portalHost:
2096
2040
  })
2097
2041
  })
2098
2042
  }));
2099
- Ca.displayName = G.Content?.displayName || "TooltipContent";
2100
- var wa = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), Ta = 5, Ea = 1e6, Da = {
2043
+ Sa.displayName = G.Content?.displayName || "TooltipContent";
2044
+ var Ca = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), wa = 5, Ta = 1e6, Ea = {
2101
2045
  ADD_TOAST: "ADD_TOAST",
2102
2046
  UPDATE_TOAST: "UPDATE_TOAST",
2103
2047
  DISMISS_TOAST: "DISMISS_TOAST",
2104
2048
  REMOVE_TOAST: "REMOVE_TOAST"
2105
- }, Oa = 0;
2106
- function ka() {
2107
- return Oa = (Oa + 1) % (2 ** 53 - 1), Oa.toString();
2049
+ }, Da = 0;
2050
+ function Oa() {
2051
+ return Da = (Da + 1) % (2 ** 53 - 1), Da.toString();
2108
2052
  }
2109
- var Aa = /* @__PURE__ */ new Map(), ja = (e) => {
2110
- if (Aa.has(e)) return;
2053
+ var ka = /* @__PURE__ */ new Map(), Aa = (e) => {
2054
+ if (ka.has(e)) return;
2111
2055
  let t = setTimeout(() => {
2112
- Aa.delete(e), Q({
2056
+ ka.delete(e), Q({
2113
2057
  type: "REMOVE_TOAST",
2114
2058
  toastId: e
2115
2059
  });
2116
- }, Ea);
2117
- Aa.set(e, t);
2118
- }, Ma = (e, t) => {
2060
+ }, Ta);
2061
+ ka.set(e, t);
2062
+ }, ja = (e, t) => {
2119
2063
  switch (t.type) {
2120
- case Da.ADD_TOAST: return {
2064
+ case Ea.ADD_TOAST: return {
2121
2065
  ...e,
2122
- toasts: [t.toast, ...e.toasts].slice(0, Ta)
2066
+ toasts: [t.toast, ...e.toasts].slice(0, wa)
2123
2067
  };
2124
- case Da.UPDATE_TOAST: return {
2068
+ case Ea.UPDATE_TOAST: return {
2125
2069
  ...e,
2126
2070
  toasts: e.toasts.map((e) => e.id === t.toast.id ? {
2127
2071
  ...e,
2128
2072
  ...t.toast
2129
2073
  } : e)
2130
2074
  };
2131
- case Da.DISMISS_TOAST: {
2075
+ case Ea.DISMISS_TOAST: {
2132
2076
  let { toastId: n } = t;
2133
- return n ? ja(n) : e.toasts.forEach((e) => {
2134
- ja(e.id);
2077
+ return n ? Aa(n) : e.toasts.forEach((e) => {
2078
+ Aa(e.id);
2135
2079
  }), {
2136
2080
  ...e,
2137
2081
  toasts: e.toasts.map((e) => e.id === n || n === void 0 ? {
@@ -2140,7 +2084,7 @@ var Aa = /* @__PURE__ */ new Map(), ja = (e) => {
2140
2084
  } : e)
2141
2085
  };
2142
2086
  }
2143
- case Da.REMOVE_TOAST: return t.toastId === void 0 ? {
2087
+ case Ea.REMOVE_TOAST: return t.toastId === void 0 ? {
2144
2088
  ...e,
2145
2089
  toasts: []
2146
2090
  } : {
@@ -2148,14 +2092,14 @@ var Aa = /* @__PURE__ */ new Map(), ja = (e) => {
2148
2092
  toasts: e.toasts.filter((e) => e.id !== t.toastId)
2149
2093
  };
2150
2094
  }
2151
- }, Na = [], Pa = { toasts: [] };
2095
+ }, Ma = [], Na = { toasts: [] };
2152
2096
  function Q(e) {
2153
- Pa = Ma(Pa, e), Na.forEach((e) => {
2154
- e(Pa);
2097
+ Na = ja(Na, e), Ma.forEach((e) => {
2098
+ e(Na);
2155
2099
  });
2156
2100
  }
2157
- function Fa({ ...e }) {
2158
- let t = ka(), n = (e) => Q({
2101
+ function Pa({ ...e }) {
2102
+ let t = Oa(), n = (e) => Q({
2159
2103
  type: "UPDATE_TOAST",
2160
2104
  toast: {
2161
2105
  ...e,
@@ -2181,24 +2125,23 @@ function Fa({ ...e }) {
2181
2125
  update: n
2182
2126
  };
2183
2127
  }
2184
- function Ia() {
2185
- let [t, n] = e.useState(Pa);
2186
- return e.useEffect(() => (Na.push(n), () => {
2187
- let e = Na.indexOf(n);
2188
- e > -1 && Na.splice(e, 1);
2128
+ function Fa() {
2129
+ let [t, n] = e.useState(Na);
2130
+ return e.useEffect(() => (Ma.push(n), () => {
2131
+ let e = Ma.indexOf(n);
2132
+ e > -1 && Ma.splice(e, 1);
2189
2133
  }), []), {
2190
2134
  ...t,
2191
- toast: Fa,
2135
+ toast: Pa,
2192
2136
  dismiss: (e) => Q({
2193
2137
  type: "DISMISS_TOAST",
2194
2138
  toastId: e
2195
2139
  })
2196
2140
  };
2197
2141
  }
2198
- //#endregion
2199
- //#region src/theme-provider.tsx
2200
- var La = e.createContext(null);
2201
- function Ra({ children: t, className: n, style: r, value: a, ...o }) {
2142
+ // src/theme-provider.tsx
2143
+ var Ia = e.createContext(null);
2144
+ function La({ children: t, className: n, style: r, value: a, ...o }) {
2202
2145
  let s = g(), c = a || "system", l = c === "system" ? s === "dark" ? "dark" : "light" : c, u = l === "dark" ? qe.dark : qe.light, d = l === "dark";
2203
2146
  e.useEffect(() => {
2204
2147
  typeof document < "u" && (document.documentElement.classList.toggle("dark", d), document.body && document.body.classList.toggle("dark", d));
@@ -2215,7 +2158,7 @@ function Ra({ children: t, className: n, style: r, value: a, ...o }) {
2215
2158
  l,
2216
2159
  u
2217
2160
  ]);
2218
- return /* @__PURE__ */ v(La.Provider, {
2161
+ return /* @__PURE__ */ v(Ia.Provider, {
2219
2162
  value: f,
2220
2163
  children: /* @__PURE__ */ v(h, {
2221
2164
  className: q("flex-1", d ? "dark" : "", n),
@@ -2225,10 +2168,9 @@ function Ra({ children: t, className: n, style: r, value: a, ...o }) {
2225
2168
  })
2226
2169
  });
2227
2170
  }
2228
- //#endregion
2229
- //#region src/hooks/use-theme.ts
2230
- function za() {
2231
- let t = e.useContext(La);
2171
+ // src/hooks/use-theme.ts
2172
+ function Ra() {
2173
+ let t = e.useContext(Ia);
2232
2174
  if (t) return t;
2233
2175
  let n = g(), r = n;
2234
2176
  return {
@@ -2237,9 +2179,8 @@ function za() {
2237
2179
  tokens: r === "dark" ? qe.dark : qe.light
2238
2180
  };
2239
2181
  }
2240
- //#endregion
2241
- //#region src/lib/iconWithClassName.ts
2242
- function Ba(e) {
2182
+ // src/lib/iconWithClassName.ts
2183
+ function za(e) {
2243
2184
  Je(e, { className: {
2244
2185
  target: "style",
2245
2186
  nativeStyleToProp: {
@@ -2248,45 +2189,52 @@ function Ba(e) {
2248
2189
  }
2249
2190
  } });
2250
2191
  }
2251
- Ba(ue), Ba(se), Ba(de);
2252
- function Va({ variant: e = "binary", onThemeChange: t, customTheme: n, className: r }) {
2253
- let { theme: a, resolvedTheme: o, tokens: s } = za(), c = n ?? a, l = (n === "system" || !n ? o : n) === "dark", u = c === "system", d = (e) => {
2254
- t ? t(e) : e === "system" ? i.setColorScheme("unspecified") : i.setColorScheme(e);
2255
- }, f = () => /* @__PURE__ */ y(h, {
2192
+ za(de), za(ce), za(fe);
2193
+ function Ba({ isDark: e, isSystem: t, foreground: n }) {
2194
+ return /* @__PURE__ */ y(h, {
2256
2195
  className: "flex h-6 w-6 items-center justify-center",
2257
2196
  children: [
2258
2197
  /* @__PURE__ */ v(h, {
2259
- className: q("items-center justify-center transition-all", !u && !l ? "rotate-0 opacity-100" : "absolute -rotate-90 opacity-0"),
2260
- children: /* @__PURE__ */ v(ue, {
2198
+ className: q("items-center justify-center transition-all", !t && !e ? "rotate-0 opacity-100" : "absolute -rotate-90 opacity-0"),
2199
+ children: /* @__PURE__ */ v(de, {
2261
2200
  size: 18,
2262
- color: s.foreground
2201
+ color: n
2263
2202
  })
2264
2203
  }),
2265
2204
  /* @__PURE__ */ v(h, {
2266
- className: q("items-center justify-center transition-all", !u && l ? "rotate-0 opacity-100" : "absolute rotate-90 opacity-0"),
2267
- children: /* @__PURE__ */ v(se, {
2205
+ className: q("items-center justify-center transition-all", !t && e ? "rotate-0 opacity-100" : "absolute rotate-90 opacity-0"),
2206
+ children: /* @__PURE__ */ v(ce, {
2268
2207
  size: 18,
2269
- color: s.foreground
2208
+ color: n
2270
2209
  })
2271
2210
  }),
2272
2211
  /* @__PURE__ */ v(h, {
2273
- className: q("items-center justify-center transition-all", u ? "rotate-0 opacity-100" : "absolute rotate-90 opacity-0"),
2274
- children: /* @__PURE__ */ v(de, {
2212
+ className: q("items-center justify-center transition-all", t ? "rotate-0 opacity-100" : "absolute rotate-90 opacity-0"),
2213
+ children: /* @__PURE__ */ v(fe, {
2275
2214
  size: 18,
2276
- color: s.foreground
2215
+ color: n
2277
2216
  })
2278
2217
  })
2279
2218
  ]
2280
2219
  });
2220
+ }
2221
+ function Va({ variant: e = "binary", onThemeChange: t, customTheme: n, className: r }) {
2222
+ let { theme: a, resolvedTheme: o, tokens: s } = Ra(), c = n ?? a, l = (n === "system" || !n ? o : n) === "dark", u = c === "system", d = (e) => {
2223
+ t ? t(e) : e === "system" ? i.setColorScheme("unspecified") : i.setColorScheme(e);
2224
+ };
2281
2225
  return e === "ternary" ? /* @__PURE__ */ y(Xn, { children: [/* @__PURE__ */ v(Zn, {
2282
2226
  className: q("relative h-9 w-9 flex-row items-center justify-center rounded-md bg-transparent transition-colors active:opacity-80", r),
2283
- children: /* @__PURE__ */ v(f, {})
2227
+ children: /* @__PURE__ */ v(Ba, {
2228
+ isDark: l,
2229
+ isSystem: u,
2230
+ foreground: s.foreground
2231
+ })
2284
2232
  }), /* @__PURE__ */ y(rr, {
2285
2233
  align: "end",
2286
2234
  children: [
2287
2235
  /* @__PURE__ */ y(X, {
2288
2236
  onSelect: () => d("light"),
2289
- children: [/* @__PURE__ */ v(ue, {
2237
+ children: [/* @__PURE__ */ v(de, {
2290
2238
  size: 14,
2291
2239
  color: s.foreground,
2292
2240
  className: "mr-2"
@@ -2294,7 +2242,7 @@ function Va({ variant: e = "binary", onThemeChange: t, customTheme: n, className
2294
2242
  }),
2295
2243
  /* @__PURE__ */ y(X, {
2296
2244
  onSelect: () => d("dark"),
2297
- children: [/* @__PURE__ */ v(se, {
2245
+ children: [/* @__PURE__ */ v(ce, {
2298
2246
  size: 14,
2299
2247
  color: s.foreground,
2300
2248
  className: "mr-2"
@@ -2302,7 +2250,7 @@ function Va({ variant: e = "binary", onThemeChange: t, customTheme: n, className
2302
2250
  }),
2303
2251
  /* @__PURE__ */ y(X, {
2304
2252
  onSelect: () => d("system"),
2305
- children: [/* @__PURE__ */ v(de, {
2253
+ children: [/* @__PURE__ */ v(fe, {
2306
2254
  size: 14,
2307
2255
  color: s.foreground,
2308
2256
  className: "mr-2"
@@ -2314,25 +2262,28 @@ function Va({ variant: e = "binary", onThemeChange: t, customTheme: n, className
2314
2262
  size: "icon",
2315
2263
  className: q("relative h-9 w-9", r),
2316
2264
  onPress: () => d(c === "dark" ? "light" : "dark"),
2317
- children: /* @__PURE__ */ v(f, {})
2265
+ children: /* @__PURE__ */ v(Ba, {
2266
+ isDark: l,
2267
+ isSystem: u,
2268
+ foreground: s.foreground
2269
+ })
2318
2270
  });
2319
2271
  }
2320
- //#endregion
2321
- //#region src/toaster.tsx
2272
+ // src/toaster.tsx
2322
2273
  var Ha = () => {
2323
- let { toasts: e } = Ia();
2324
- return /* @__PURE__ */ v(Yi, { children: /* @__PURE__ */ v(h, {
2274
+ let { toasts: e } = Fa();
2275
+ return /* @__PURE__ */ v(Ji, { children: /* @__PURE__ */ v(h, {
2325
2276
  className: "pointer-events-none absolute right-6 bottom-6 left-6 z-50 flex flex-col gap-2",
2326
- children: e.map(({ id: e, title: t, description: n, action: r, ...i }) => /* @__PURE__ */ y(Zi, {
2277
+ children: e.map(({ id: e, title: t, description: n, action: r, ...i }) => /* @__PURE__ */ y(Xi, {
2327
2278
  ...i,
2328
2279
  className: "pointer-events-auto",
2329
2280
  children: [
2330
2281
  /* @__PURE__ */ y(h, {
2331
2282
  className: "flex flex-1 flex-col gap-1",
2332
- children: [t && /* @__PURE__ */ v(Qi, { children: t }), n && /* @__PURE__ */ v($i, { children: n })]
2283
+ children: [t && /* @__PURE__ */ v(Zi, { children: t }), n && /* @__PURE__ */ v(Qi, { children: n })]
2333
2284
  }),
2334
2285
  r,
2335
- /* @__PURE__ */ v(ea, {})
2286
+ /* @__PURE__ */ v($i, {})
2336
2287
  ]
2337
2288
  }, e))
2338
2289
  }) });
@@ -2435,10 +2386,10 @@ function qa({ className: t }) {
2435
2386
  className: "mb-2 font-bold",
2436
2387
  children: "On this page"
2437
2388
  }), n.map((e) => {
2438
- let t = r === e.id;
2389
+ let t = r === e.id, n = (e.level - a) * 16;
2439
2390
  return /* @__PURE__ */ v(m, {
2440
2391
  onPress: () => i(e.id),
2441
- style: { paddingLeft: (e.level - a) * 16 },
2392
+ style: { paddingLeft: n },
2442
2393
  className: "py-1",
2443
2394
  children: /* @__PURE__ */ v(f, {
2444
2395
  className: q("text-sm", t ? "text-primary font-bold" : "text-muted-foreground"),
@@ -2462,8 +2413,7 @@ function Ja({ children: e, className: t }) {
2462
2413
  });
2463
2414
  }
2464
2415
  Ga.List = qa, Ga.Content = Ja, Ga.Heading = Ka;
2465
- //#endregion
2466
- //#region src/button-group.tsx
2416
+ // src/button-group.tsx
2467
2417
  function Ya({ className: e, orientation: t, ...n }) {
2468
2418
  return /* @__PURE__ */ v(h, {
2469
2419
  className: q("flex flex-row", e),
@@ -2483,16 +2433,14 @@ function Za({ className: e, orientation: t, ...n }) {
2483
2433
  });
2484
2434
  }
2485
2435
  var Qa = () => "";
2486
- //#endregion
2487
- //#region src/direction.tsx
2436
+ // src/direction.tsx
2488
2437
  function $a({ children: e }) {
2489
2438
  return /* @__PURE__ */ v(_, { children: e });
2490
2439
  }
2491
2440
  function eo() {
2492
2441
  return "ltr";
2493
2442
  }
2494
- //#endregion
2495
- //#region src/empty.tsx
2443
+ // src/empty.tsx
2496
2444
  function to({ className: e, ...t }) {
2497
2445
  return /* @__PURE__ */ v(h, {
2498
2446
  className: q("border-border flex w-full items-center justify-center rounded-xl border-2 border-dashed p-6", e),
@@ -2529,16 +2477,14 @@ function oo({ className: e, ...t }) {
2529
2477
  ...t
2530
2478
  });
2531
2479
  }
2532
- //#endregion
2533
- //#region src/spinner.tsx
2480
+ // src/spinner.tsx
2534
2481
  function so({ className: e, ...t }) {
2535
2482
  return /* @__PURE__ */ v(n, {
2536
2483
  size: "small",
2537
2484
  ...t
2538
2485
  });
2539
2486
  }
2540
- //#endregion
2541
- //#region src/field.tsx
2487
+ // src/field.tsx
2542
2488
  function co({ className: e, orientation: t, ...n }) {
2543
2489
  return /* @__PURE__ */ v(h, {
2544
2490
  className: q("flex flex-col gap-2", e),
@@ -2605,8 +2551,7 @@ function vo({ className: e, ...t }) {
2605
2551
  ...t
2606
2552
  });
2607
2553
  }
2608
- //#endregion
2609
- //#region src/input-group.tsx
2554
+ // src/input-group.tsx
2610
2555
  function yo({ className: e, ...t }) {
2611
2556
  return /* @__PURE__ */ v(h, {
2612
2557
  className: q("border-input flex flex-row items-center rounded-md border", e),
@@ -2646,8 +2591,7 @@ function wo({ className: e, ...t }) {
2646
2591
  ...t
2647
2592
  });
2648
2593
  }
2649
- //#endregion
2650
- //#region src/native-select.tsx
2594
+ // src/native-select.tsx
2651
2595
  function To({ className: e, size: t, ...n }) {
2652
2596
  return /* @__PURE__ */ v(h, {
2653
2597
  className: q("border-input rounded-md border p-2", e),
@@ -2670,8 +2614,7 @@ function Do({ className: e, ...t }) {
2670
2614
  ...t
2671
2615
  });
2672
2616
  }
2673
- //#endregion
2674
- //#region src/kbd.tsx
2617
+ // src/kbd.tsx
2675
2618
  function Oo({ className: e, ...t }) {
2676
2619
  return /* @__PURE__ */ v(f, {
2677
2620
  className: q("bg-muted text-muted-foreground rounded-sm px-1 font-mono text-xs", e),
@@ -2684,8 +2627,7 @@ function ko({ className: e, ...t }) {
2684
2627
  ...t
2685
2628
  });
2686
2629
  }
2687
- //#endregion
2688
- //#region src/item.tsx
2630
+ // src/item.tsx
2689
2631
  function Ao({ className: e, variant: t, size: n, ...r }) {
2690
2632
  return /* @__PURE__ */ v(h, {
2691
2633
  className: q("flex flex-row flex-wrap items-center gap-2 rounded-lg border p-3", e),
@@ -2748,8 +2690,7 @@ function zo({ className: e, ...t }) {
2748
2690
  ...t
2749
2691
  });
2750
2692
  }
2751
- //#endregion
2752
- //#region src/combobox.tsx
2693
+ // src/combobox.tsx
2753
2694
  var Bo = e.createContext(null);
2754
2695
  function $() {
2755
2696
  let t = e.useContext(Bo);
@@ -2812,7 +2753,7 @@ function Wo({ className: e, children: t, ...n }) {
2812
2753
  className: q("flex items-center justify-center p-1", e),
2813
2754
  onPress: () => r(""),
2814
2755
  ...n,
2815
- children: t || /* @__PURE__ */ v(D, {
2756
+ children: t || /* @__PURE__ */ v(E, {
2816
2757
  size: 14,
2817
2758
  className: "text-muted-foreground"
2818
2759
  })
@@ -2828,7 +2769,6 @@ function Go({ className: e, showClear: t, showTrigger: n, placeholder: r = "Sear
2828
2769
  placeholderTextColor: "#a1a1aa",
2829
2770
  value: a,
2830
2771
  onChangeText: o,
2831
- autoFocus: !0,
2832
2772
  ...i
2833
2773
  })
2834
2774
  });
@@ -2913,7 +2853,7 @@ function ts({ className: e, showRemove: t, children: n, ...r }) {
2913
2853
  return /* @__PURE__ */ y(h, {
2914
2854
  className: q("bg-secondary text-secondary-foreground flex flex-row items-center rounded-md px-2 py-1", e),
2915
2855
  ...r,
2916
- children: [K(n, Y, { className: "text-xs" }), t && /* @__PURE__ */ v(D, {
2856
+ children: [K(n, Y, { className: "text-xs" }), t && /* @__PURE__ */ v(E, {
2917
2857
  size: 12,
2918
2858
  className: "ml-1 opacity-50"
2919
2859
  })]
@@ -2928,8 +2868,7 @@ function ns({ className: e, ...t }) {
2928
2868
  function rs() {
2929
2869
  return e.useRef(null);
2930
2870
  }
2931
- //#endregion
2932
- //#region src/input-otp.tsx
2871
+ // src/input-otp.tsx
2933
2872
  function is({ className: e, containerClassName: t, ...n }) {
2934
2873
  return /* @__PURE__ */ v(h, {
2935
2874
  className: q("border-destructive/50 rounded-md border border-dashed p-4", t, e),
@@ -2958,8 +2897,7 @@ function ss({ className: e, ...t }) {
2958
2897
  ...t
2959
2898
  });
2960
2899
  }
2961
- //#endregion
2962
- //#region src/sidebar.tsx
2900
+ // src/sidebar.tsx
2963
2901
  function cs({ className: e, defaultOpen: t, open: n, onOpenChange: r, ...i }) {
2964
2902
  return /* @__PURE__ */ v(h, {
2965
2903
  className: e,
@@ -3113,8 +3051,7 @@ function js() {
3113
3051
  toggleSidebar: () => {}
3114
3052
  };
3115
3053
  }
3116
- //#endregion
3117
- //#region src/attachment.tsx
3054
+ // src/attachment.tsx
3118
3055
  var Ms = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3119
3056
  className: t,
3120
3057
  children: e
@@ -3242,5 +3179,4 @@ var Ms = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3242
3179
  className: t,
3243
3180
  children: e
3244
3181
  });
3245
- //#endregion
3246
- export { Xe as Accordion, et as AccordionContent, Ze as AccordionItem, $e as AccordionTrigger, nt as Alert, it as AlertDescription, st as AlertDialog, gt as AlertDialogAction, _t as AlertDialogCancel, dt as AlertDialogContent, ht as AlertDialogDescription, pt as AlertDialogFooter, ft as AlertDialogHeader, ut as AlertDialogOverlay, lt as AlertDialogPortal, mt as AlertDialogTitle, ct as AlertDialogTrigger, rt as AlertTitle, vt as AspectRatio, Ms as Attachment, Rs as AttachmentAction, Ls as AttachmentActions, Ps as AttachmentContent, Is as AttachmentDescription, Bs as AttachmentGroup, Ns as AttachmentMedia, Fs as AttachmentTitle, zs as AttachmentTrigger, yt as Avatar, xt as AvatarFallback, bt as AvatarImage, wt as Badge, Dt as Breadcrumb, Nt as BreadcrumbEllipsis, kt as BreadcrumbItem, At as BreadcrumbLink, Ot as BreadcrumbList, jt as BreadcrumbPage, Mt as BreadcrumbSeparator, Hs as Bubble, Us as BubbleContent, Vs as BubbleGroup, Ws as BubbleReactions, J as Button, Ya as ButtonGroup, Za as ButtonGroupSeparator, Xa as ButtonGroupText, Pt as Calendar, Ft as Card, zt as CardContent, Rt as CardDescription, Bt as CardFooter, It as CardHeader, Lt as CardTitle, Ut as Carousel, Wt as CarouselContent, Gt as CarouselItem, qt as CarouselNext, Kt as CarouselPrevious, Jt as ChartContainer, Qt as ChartLegend, Xt as ChartLegendContent, $t as ChartStyle, Zt as ChartTooltip, Yt as ChartTooltipContent, en as Checkbox, tn as Collapsible, rn as CollapsibleContent, nn as CollapsibleTrigger, Vo as Combobox, ts as ComboboxChip, es as ComboboxChips, ns as ComboboxChipsInput, Wo as ComboboxClear, Zo as ComboboxCollection, Ko as ComboboxContent, Qo as ComboboxEmpty, Yo as ComboboxGroup, Go as ComboboxInput, Jo as ComboboxItem, Xo as ComboboxLabel, qo as ComboboxList, $o as ComboboxSeparator, Uo as ComboboxTrigger, Ho as ComboboxValue, an as Command, on as CommandDialog, ln as CommandEmpty, un as CommandGroup, sn as CommandInput, dn as CommandItem, cn as CommandList, fn as CommandSeparator, pn as CommandShortcut, mn as ContextMenu, Cn as ContextMenuCheckboxItem, xn as ContextMenuContent, _n as ContextMenuGroup, Sn as ContextMenuItem, Tn as ContextMenuLabel, gn as ContextMenuPortal, vn as ContextMenuRadioGroup, wn as ContextMenuRadioItem, En as ContextMenuSeparator, Dn as ContextMenuShortcut, yn as ContextMenuSub, kn as ContextMenuSubContent, On as ContextMenuSubTrigger, hn as ContextMenuTrigger, An as Dialog, Nn as DialogClose, Fn as DialogContent, zn as DialogDescription, Ln as DialogFooter, In as DialogHeader, Rn as DialogTitle, jn as DialogTrigger, $a as DirectionProvider, Bn as Drawer, qn as DrawerClose, Wn as DrawerContent, Yn as DrawerDescription, Kn as DrawerFooter, Gn as DrawerHeader, Un as DrawerOverlay, Hn as DrawerPortal, Jn as DrawerTitle, Vn as DrawerTrigger, Xn as DropdownMenu, ir as DropdownMenuCheckboxItem, rr as DropdownMenuContent, $n as DropdownMenuGroup, X as DropdownMenuItem, or as DropdownMenuLabel, Qn as DropdownMenuPortal, er as DropdownMenuRadioGroup, ar as DropdownMenuRadioItem, sr as DropdownMenuSeparator, cr as DropdownMenuShortcut, tr as DropdownMenuSub, ur as DropdownMenuSubContent, lr as DropdownMenuSubTrigger, Zn as DropdownMenuTrigger, to as Empty, oo as EmptyContent, ao as EmptyDescription, no as EmptyHeader, ro as EmptyMedia, io as EmptyTitle, co as Field, lo as FieldContent, uo as FieldDescription, fo as FieldError, po as FieldGroup, mo as FieldLabel, ho as FieldLegend, go as FieldSeparator, _o as FieldSet, vo as FieldTitle, fr as Form, vr as FormControl, yr as FormDescription, mr as FormField, gr as FormItem, _r as FormLabel, br as FormMessage, xr as HoverCard, Cr as HoverCardContent, Sr as HoverCardTrigger, wr as Input, yo as InputGroup, bo as InputGroupAddon, xo as InputGroupButton, Co as InputGroupInput, So as InputGroupText, wo as InputGroupTextarea, is as InputOTP, as as InputOTPGroup, ss as InputOTPSeparator, os as InputOTPSlot, Ao as Item, jo as ItemActions, Mo as ItemContent, No as ItemDescription, Po as ItemFooter, Fo as ItemGroup, Io as ItemHeader, Lo as ItemMedia, Ro as ItemSeparator, zo as ItemTitle, Oo as Kbd, ko as KbdGroup, dr as Label, Gs as Marker, qs as MarkerContent, Ks as MarkerIcon, Tr as Menubar, Fr as MenubarCheckboxItem, Nr as MenubarContent, Or as MenubarGroup, Pr as MenubarItem, Lr as MenubarLabel, Er as MenubarMenu, Dr as MenubarPortal, kr as MenubarRadioGroup, Ir as MenubarRadioItem, Rr as MenubarSeparator, zr as MenubarShortcut, Ar as MenubarSub, Vr as MenubarSubContent, Br as MenubarSubTrigger, Mr as MenubarTrigger, Ys as Message, Xs as MessageAvatar, Zs as MessageContent, $s as MessageFooter, Js as MessageGroup, Qs as MessageHeader, tc as MessageScroller, ac as MessageScrollerButton, rc as MessageScrollerContent, ic as MessageScrollerItem, ec as MessageScrollerProvider, nc as MessageScrollerViewport, To as NativeSelect, Do as NativeSelectOptGroup, Eo as NativeSelectOption, Hr as NavigationMenu, Kr as NavigationMenuContent, Yr as NavigationMenuIndicator, Wr as NavigationMenuItem, qr as NavigationMenuLink, Ur as NavigationMenuList, Gr as NavigationMenuTrigger, Jr as NavigationMenuViewport, Xr as Pagination, Zr as PaginationContent, ni as PaginationEllipsis, Qr as PaginationItem, $r as PaginationLink, ti as PaginationNext, ei as PaginationPrevious, ii as Popover, oi as PopoverAnchor, si as PopoverContent, ai as PopoverTrigger, ci as Progress, oc as Questionnaire, gc as QuestionnaireActions, fc as QuestionnaireChoice, pc as QuestionnaireChoiceDescription, dc as QuestionnaireChoices, uc as QuestionnaireDescription, hc as QuestionnaireError, mc as QuestionnaireInput, cc as QuestionnaireItem, yc as QuestionnaireNext, _c as QuestionnairePrevious, sc as QuestionnaireProgress, vc as QuestionnaireSkip, bc as QuestionnaireSubmit, lc as QuestionnaireTitle, li as RadioGroup, ui as RadioGroupItem, pi as ResizableHandle, fi as ResizablePanel, di as ResizablePanelGroup, mi as ScrollArea, Oi as ScrollToTop, gi as Search, vi as Select, wi as SelectContent, yi as SelectGroup, Ei as SelectItem, Ti as SelectLabel, Ci as SelectScrollDownButton, Si as SelectScrollUpButton, Di as SelectSeparator, xi as SelectTrigger, bi as SelectValue, Ii as Separator, Li as Sheet, zi as SheetClose, Hi as SheetContent, Ki as SheetDescription, Wi as SheetFooter, Ui as SheetHeader, Vi as SheetOverlay, Bi as SheetPortal, Gi as SheetTitle, Ri as SheetTrigger, ls as Sidebar, _s as SidebarContent, hs as SidebarFooter, vs as SidebarGroup, bs as SidebarGroupAction, xs as SidebarGroupContent, ys as SidebarGroupLabel, ms as SidebarHeader, ps as SidebarInput, fs as SidebarInset, Ss as SidebarMenu, Ts as SidebarMenuAction, Es as SidebarMenuBadge, ws as SidebarMenuButton, Cs as SidebarMenuItem, Ds as SidebarMenuSkeleton, Os as SidebarMenuSub, As as SidebarMenuSubButton, ks as SidebarMenuSubItem, cs as SidebarProvider, ds as SidebarRail, gs as SidebarSeparator, us as SidebarTrigger, qi as Skeleton, Ji as Slider, na as Sonner, so as Spinner, Fi as SupportFab, ra as Switch, ia as Table, oa as TableBody, da as TableCaption, ua as TableCell, sa as TableFooter, la as TableHead, aa as TableHeader, Ga as TableOfContents, Ja as TableOfContentsContent, Ka as TableOfContentsHeading, qa as TableOfContentsList, ca as TableRow, fa as Tabs, ha as TabsContent, pa as TabsList, ma as TabsTrigger, Y as Text, ga as Textarea, Ra as ThemeProvider, Va as ThemeToggle, Zi as Toast, Ha as Toaster, _a as Toggle, ya as ToggleGroup, ba as ToggleGroupItem, xa as Tooltip, Ca as TooltipContent, wa as TooltipProvider, Sa as TooltipTrigger, St as badgeVariants, Qa as buttonGroupVariants, at as buttonVariants, q as cn, Et as textVariants, Fa as toast, We as toggleVariants, rs as useComboboxAnchor, eo as useDirection, Z as useFormField, js as useSidebar, za as useTheme, Ia as useToast, K as wrapTextChildren };
3182
+ export { Xe as Accordion, et as AccordionContent, Ze as AccordionItem, $e as AccordionTrigger, nt as Alert, it as AlertDescription, st as AlertDialog, gt as AlertDialogAction, _t as AlertDialogCancel, dt as AlertDialogContent, ht as AlertDialogDescription, pt as AlertDialogFooter, ft as AlertDialogHeader, ut as AlertDialogOverlay, lt as AlertDialogPortal, mt as AlertDialogTitle, ct as AlertDialogTrigger, rt as AlertTitle, vt as AspectRatio, Ms as Attachment, Rs as AttachmentAction, Ls as AttachmentActions, Ps as AttachmentContent, Is as AttachmentDescription, Bs as AttachmentGroup, Ns as AttachmentMedia, Fs as AttachmentTitle, zs as AttachmentTrigger, yt as Avatar, xt as AvatarFallback, bt as AvatarImage, wt as Badge, Dt as Breadcrumb, Nt as BreadcrumbEllipsis, kt as BreadcrumbItem, At as BreadcrumbLink, Ot as BreadcrumbList, jt as BreadcrumbPage, Mt as BreadcrumbSeparator, Hs as Bubble, Us as BubbleContent, Vs as BubbleGroup, Ws as BubbleReactions, J as Button, Ya as ButtonGroup, Za as ButtonGroupSeparator, Xa as ButtonGroupText, Pt as Calendar, Ft as Card, zt as CardContent, Rt as CardDescription, Bt as CardFooter, It as CardHeader, Lt as CardTitle, Ut as Carousel, Wt as CarouselContent, Gt as CarouselItem, qt as CarouselNext, Kt as CarouselPrevious, Jt as ChartContainer, Qt as ChartLegend, Xt as ChartLegendContent, $t as ChartStyle, Zt as ChartTooltip, Yt as ChartTooltipContent, en as Checkbox, tn as Collapsible, rn as CollapsibleContent, nn as CollapsibleTrigger, Vo as Combobox, ts as ComboboxChip, es as ComboboxChips, ns as ComboboxChipsInput, Wo as ComboboxClear, Zo as ComboboxCollection, Ko as ComboboxContent, Qo as ComboboxEmpty, Yo as ComboboxGroup, Go as ComboboxInput, Jo as ComboboxItem, Xo as ComboboxLabel, qo as ComboboxList, $o as ComboboxSeparator, Uo as ComboboxTrigger, Ho as ComboboxValue, an as Command, on as CommandDialog, ln as CommandEmpty, un as CommandGroup, sn as CommandInput, dn as CommandItem, cn as CommandList, fn as CommandSeparator, pn as CommandShortcut, mn as ContextMenu, Cn as ContextMenuCheckboxItem, xn as ContextMenuContent, _n as ContextMenuGroup, Sn as ContextMenuItem, Tn as ContextMenuLabel, gn as ContextMenuPortal, vn as ContextMenuRadioGroup, wn as ContextMenuRadioItem, En as ContextMenuSeparator, Dn as ContextMenuShortcut, yn as ContextMenuSub, kn as ContextMenuSubContent, On as ContextMenuSubTrigger, hn as ContextMenuTrigger, An as Dialog, Nn as DialogClose, Fn as DialogContent, zn as DialogDescription, Ln as DialogFooter, In as DialogHeader, Rn as DialogTitle, jn as DialogTrigger, $a as DirectionProvider, Bn as Drawer, qn as DrawerClose, Wn as DrawerContent, Yn as DrawerDescription, Kn as DrawerFooter, Gn as DrawerHeader, Un as DrawerOverlay, Hn as DrawerPortal, Jn as DrawerTitle, Vn as DrawerTrigger, Xn as DropdownMenu, ir as DropdownMenuCheckboxItem, rr as DropdownMenuContent, $n as DropdownMenuGroup, X as DropdownMenuItem, or as DropdownMenuLabel, Qn as DropdownMenuPortal, er as DropdownMenuRadioGroup, ar as DropdownMenuRadioItem, sr as DropdownMenuSeparator, cr as DropdownMenuShortcut, tr as DropdownMenuSub, ur as DropdownMenuSubContent, lr as DropdownMenuSubTrigger, Zn as DropdownMenuTrigger, to as Empty, oo as EmptyContent, ao as EmptyDescription, no as EmptyHeader, ro as EmptyMedia, io as EmptyTitle, co as Field, lo as FieldContent, uo as FieldDescription, fo as FieldError, po as FieldGroup, mo as FieldLabel, ho as FieldLegend, go as FieldSeparator, _o as FieldSet, vo as FieldTitle, fr as Form, vr as FormControl, yr as FormDescription, mr as FormField, gr as FormItem, _r as FormLabel, br as FormMessage, xr as HoverCard, Cr as HoverCardContent, Sr as HoverCardTrigger, wr as Input, yo as InputGroup, bo as InputGroupAddon, xo as InputGroupButton, Co as InputGroupInput, So as InputGroupText, wo as InputGroupTextarea, is as InputOTP, as as InputOTPGroup, ss as InputOTPSeparator, os as InputOTPSlot, Ao as Item, jo as ItemActions, Mo as ItemContent, No as ItemDescription, Po as ItemFooter, Fo as ItemGroup, Io as ItemHeader, Lo as ItemMedia, Ro as ItemSeparator, zo as ItemTitle, Oo as Kbd, ko as KbdGroup, dr as Label, Gs as Marker, qs as MarkerContent, Ks as MarkerIcon, Tr as Menubar, Fr as MenubarCheckboxItem, Nr as MenubarContent, Or as MenubarGroup, Pr as MenubarItem, Lr as MenubarLabel, Er as MenubarMenu, Dr as MenubarPortal, kr as MenubarRadioGroup, Ir as MenubarRadioItem, Rr as MenubarSeparator, zr as MenubarShortcut, Ar as MenubarSub, Vr as MenubarSubContent, Br as MenubarSubTrigger, Mr as MenubarTrigger, Ys as Message, Xs as MessageAvatar, Zs as MessageContent, $s as MessageFooter, Js as MessageGroup, Qs as MessageHeader, tc as MessageScroller, ac as MessageScrollerButton, rc as MessageScrollerContent, ic as MessageScrollerItem, ec as MessageScrollerProvider, nc as MessageScrollerViewport, To as NativeSelect, Do as NativeSelectOptGroup, Eo as NativeSelectOption, Hr as NavigationMenu, Kr as NavigationMenuContent, Yr as NavigationMenuIndicator, Wr as NavigationMenuItem, qr as NavigationMenuLink, Ur as NavigationMenuList, Gr as NavigationMenuTrigger, Jr as NavigationMenuViewport, Xr as Pagination, Zr as PaginationContent, ni as PaginationEllipsis, Qr as PaginationItem, $r as PaginationLink, ti as PaginationNext, ei as PaginationPrevious, ii as Popover, oi as PopoverAnchor, si as PopoverContent, ai as PopoverTrigger, ci as Progress, oc as Questionnaire, gc as QuestionnaireActions, fc as QuestionnaireChoice, pc as QuestionnaireChoiceDescription, dc as QuestionnaireChoices, uc as QuestionnaireDescription, hc as QuestionnaireError, mc as QuestionnaireInput, cc as QuestionnaireItem, yc as QuestionnaireNext, _c as QuestionnairePrevious, sc as QuestionnaireProgress, vc as QuestionnaireSkip, bc as QuestionnaireSubmit, lc as QuestionnaireTitle, li as RadioGroup, ui as RadioGroupItem, pi as ResizableHandle, fi as ResizablePanel, di as ResizablePanelGroup, mi as ScrollArea, Di as ScrollToTop, hi as Search, _i as Select, Ci as SelectContent, vi as SelectGroup, Ti as SelectItem, wi as SelectLabel, Si as SelectScrollDownButton, xi as SelectScrollUpButton, Ei as SelectSeparator, bi as SelectTrigger, yi as SelectValue, Fi as Separator, Ii as Sheet, Ri as SheetClose, Vi as SheetContent, Gi as SheetDescription, Ui as SheetFooter, Hi as SheetHeader, Bi as SheetOverlay, zi as SheetPortal, Wi as SheetTitle, Li as SheetTrigger, ls as Sidebar, _s as SidebarContent, hs as SidebarFooter, vs as SidebarGroup, bs as SidebarGroupAction, xs as SidebarGroupContent, ys as SidebarGroupLabel, ms as SidebarHeader, ps as SidebarInput, fs as SidebarInset, Ss as SidebarMenu, Ts as SidebarMenuAction, Es as SidebarMenuBadge, ws as SidebarMenuButton, Cs as SidebarMenuItem, Ds as SidebarMenuSkeleton, Os as SidebarMenuSub, As as SidebarMenuSubButton, ks as SidebarMenuSubItem, cs as SidebarProvider, ds as SidebarRail, gs as SidebarSeparator, us as SidebarTrigger, Ki as Skeleton, qi as Slider, ta as Sonner, so as Spinner, Pi as SupportFab, na as Switch, ra as Table, aa as TableBody, ua as TableCaption, la as TableCell, oa as TableFooter, ca as TableHead, ia as TableHeader, Ga as TableOfContents, Ja as TableOfContentsContent, Ka as TableOfContentsHeading, qa as TableOfContentsList, sa as TableRow, da as Tabs, ma as TabsContent, fa as TabsList, pa as TabsTrigger, Y as Text, ha as Textarea, La as ThemeProvider, Va as ThemeToggle, Xi as Toast, Ha as Toaster, ga as Toggle, va as ToggleGroup, ya as ToggleGroupItem, ba as Tooltip, Sa as TooltipContent, Ca as TooltipProvider, xa as TooltipTrigger, St as badgeVariants, Qa as buttonGroupVariants, at as buttonVariants, q as cn, Et as textVariants, Pa as toast, We as toggleVariants, rs as useComboboxAnchor, eo as useDirection, Z as useFormField, js as useSidebar, Ra as useTheme, Fa as useToast, K as wrapTextChildren };