@chaibuilder/sdk 1.2.67 → 1.2.69

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 (48) hide show
  1. package/dist/CodeEditor-hWn_HIZX.cjs +1 -0
  2. package/dist/{CodeEditor-q5unEaUI.js → CodeEditor-j7qNDNkC.js} +18 -14
  3. package/dist/STRINGS-hZpwIZMT.cjs +1 -0
  4. package/dist/STRINGS-rPGH65PW.js +8 -0
  5. package/dist/Topbar-MIYSo6jN.cjs +1 -0
  6. package/dist/{Topbar-kVBx7pp4.js → Topbar-Mfc4KKxc.js} +28 -26
  7. package/dist/{UnsplashImages-sotLcz6r.js → UnsplashImages-KIgzZx57.js} +30 -26
  8. package/dist/UnsplashImages-zco6ruqn.cjs +1 -0
  9. package/dist/{UploadImages-I0QQ6vj1.js → UploadImages-sygXbTXU.js} +18 -14
  10. package/dist/UploadImages-znUxJ9OD.cjs +1 -0
  11. package/dist/context-menu-Lx_MAqsu.cjs +1 -0
  12. package/dist/{context-menu-sks9vdzC.js → context-menu-zu6r7B6f.js} +298 -311
  13. package/dist/core.cjs +1 -1
  14. package/dist/core.d.ts +14 -1
  15. package/dist/core.js +88 -80
  16. package/dist/{index-5hfuDpYs.cjs → index-FpYnmYj7.cjs} +23 -23
  17. package/dist/{index-Zu-K_BX7.js → index-T7WZImL0.js} +5639 -4980
  18. package/dist/render.cjs +1 -1
  19. package/dist/render.js +1 -1
  20. package/dist/{select-JW3OMYm-.js → select-1WwjQDp6.js} +1 -1
  21. package/dist/{select-fXj5tdMX.cjs → select-FnytvxNn.cjs} +1 -1
  22. package/dist/ui.cjs +1 -1
  23. package/dist/ui.d.ts +5 -5
  24. package/dist/ui.js +251 -215
  25. package/dist/web-blocks.cjs +1 -1
  26. package/dist/web-blocks.js +385 -392
  27. package/package.json +1 -1
  28. package/dist/AddBlocks-TVOOPK2w.cjs +0 -1
  29. package/dist/AddBlocks-mbuhydG3.js +0 -123
  30. package/dist/CanvasArea-KJMcis97.cjs +0 -1
  31. package/dist/CanvasArea-kg3Rgg9t.js +0 -136
  32. package/dist/CodeEditor-QP6l0mv4.cjs +0 -1
  33. package/dist/STRINGS--j49GZJP.js +0 -7
  34. package/dist/STRINGS-gPz7CUOk.cjs +0 -1
  35. package/dist/SettingsPanel-MWeQjDWs.cjs +0 -1
  36. package/dist/SettingsPanel-pomLrOxB.js +0 -81
  37. package/dist/SidePanels-9sbERNEv.cjs +0 -1
  38. package/dist/SidePanels-YpRrvfiH.js +0 -406
  39. package/dist/Topbar-veJ2_blW.cjs +0 -1
  40. package/dist/UILibrariesPanel-ES8YzN9C.js +0 -226
  41. package/dist/UILibrariesPanel-H8t36R6M.cjs +0 -1
  42. package/dist/UnsplashImages--MXx-DYM.cjs +0 -1
  43. package/dist/UploadImages-xhxeYKkl.cjs +0 -1
  44. package/dist/badge-7BVT3zxN.cjs +0 -1
  45. package/dist/badge-pJqQSA13.js +0 -23
  46. package/dist/context-menu-_8TFbFEJ.cjs +0 -1
  47. package/dist/separator-hT24N-xp.cjs +0 -1
  48. package/dist/separator-sgwOa1FE.js +0 -18
@@ -1,26 +1,27 @@
1
1
  import { j as o } from "./jsx-runtime-Sp0orL4X.js";
2
- import * as D from "@radix-ui/react-switch";
2
+ import * as T from "@radix-ui/react-switch";
3
3
  import * as r from "react";
4
4
  import * as x from "@radix-ui/react-accordion";
5
- import { ChevronDownIcon as Y, Cross2Icon as A, ChevronRightIcon as I, CheckIcon as M, DotFilledIcon as P, MagnifyingGlassIcon as $ } from "@radix-ui/react-icons";
6
- import { cva as w } from "class-variance-authority";
5
+ import { ChevronDownIcon as $, Cross2Icon as I, ChevronRightIcon as A, CheckIcon as M, DotFilledIcon as P, MagnifyingGlassIcon as J } from "@radix-ui/react-icons";
7
6
  import * as c from "@radix-ui/react-alert-dialog";
8
- import { Slot as J } from "@radix-ui/react-slot";
7
+ import { Slot as K } from "@radix-ui/react-slot";
8
+ import { cva as S } from "class-variance-authority";
9
9
  import * as z from "@radix-ui/react-label";
10
10
  import * as u from "@radix-ui/react-scroll-area";
11
11
  import * as g from "@radix-ui/react-tabs";
12
12
  import * as b from "@radix-ui/react-tooltip";
13
13
  import * as y from "@radix-ui/react-popover";
14
- import * as j from "@radix-ui/react-hover-card";
14
+ import * as v from "@radix-ui/react-hover-card";
15
15
  import * as n from "@radix-ui/react-dropdown-menu";
16
+ import * as _ from "@radix-ui/react-separator";
16
17
  import * as f from "@radix-ui/react-toast";
17
18
  import { Command as m } from "cmdk";
18
19
  import * as p from "@radix-ui/react-dialog";
19
20
  import * as i from "@radix-ui/react-context-menu";
20
- import { clsx as K } from "clsx";
21
- import { twMerge as W } from "tailwind-merge";
22
- const s = (...e) => W(K(e)), Z = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
23
- D.Root,
21
+ import { clsx as W } from "clsx";
22
+ import { twMerge as Z } from "tailwind-merge";
23
+ const s = (...e) => Z(W(e)), ee = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
24
+ T.Root,
24
25
  {
25
26
  className: s(
26
27
  "peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-slate-900 data-[state=unchecked]:bg-slate-200 dark:focus-visible:ring-slate-800 dark:focus-visible:ring-offset-slate-950 dark:data-[state=checked]:bg-slate-50 dark:data-[state=unchecked]:bg-slate-800",
@@ -29,7 +30,7 @@ const s = (...e) => W(K(e)), Z = r.forwardRef(({ className: e, ...t }, a) => /*
29
30
  ...t,
30
31
  ref: a,
31
32
  children: /* @__PURE__ */ o.jsx(
32
- D.Thumb,
33
+ T.Thumb,
33
34
  {
34
35
  className: s(
35
36
  "pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 dark:bg-slate-950"
@@ -38,8 +39,8 @@ const s = (...e) => W(K(e)), Z = r.forwardRef(({ className: e, ...t }, a) => /*
38
39
  )
39
40
  }
40
41
  ));
41
- Z.displayName = D.Root.displayName;
42
- const k = w(
42
+ ee.displayName = T.Root.displayName;
43
+ const D = S(
43
44
  "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
44
45
  {
45
46
  variants: {
@@ -63,16 +64,16 @@ const k = w(
63
64
  size: "default"
64
65
  }
65
66
  }
66
- ), ee = r.forwardRef(
67
- ({ className: e, variant: t, size: a, asChild: d = !1, ...l }, C) => {
68
- const X = d ? J : "button";
69
- return /* @__PURE__ */ o.jsx(X, { className: s(k({ variant: t, size: a, className: e })), ref: C, ...l });
67
+ ), te = r.forwardRef(
68
+ ({ className: e, variant: t, size: a, asChild: d = !1, ...l }, j) => {
69
+ const Y = d ? K : "button";
70
+ return /* @__PURE__ */ o.jsx(Y, { className: s(D({ variant: t, size: a, className: e })), ref: j, ...l });
70
71
  }
71
72
  );
72
- ee.displayName = "Button";
73
- const Ct = x.Root, te = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(x.Item, { ref: a, className: s("border-b", e), ...t }));
74
- te.displayName = "AccordionItem";
75
- const ae = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsx(x.Header, { className: "flex", children: /* @__PURE__ */ o.jsxs(
73
+ te.displayName = "Button";
74
+ const vt = x.Root, ae = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(x.Item, { ref: a, className: s("border-b", e), ...t }));
75
+ ae.displayName = "AccordionItem";
76
+ const oe = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsx(x.Header, { className: "flex", children: /* @__PURE__ */ o.jsxs(
76
77
  x.Trigger,
77
78
  {
78
79
  ref: d,
@@ -83,12 +84,12 @@ const ae = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
83
84
  ...a,
84
85
  children: [
85
86
  t,
86
- a.hideArrow ? null : /* @__PURE__ */ o.jsx(Y, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
87
+ a.hideArrow ? null : /* @__PURE__ */ o.jsx($, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
87
88
  ]
88
89
  }
89
90
  ) }));
90
- ae.displayName = x.Trigger.displayName;
91
- const oe = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsx(
91
+ oe.displayName = x.Trigger.displayName;
92
+ const se = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsx(
92
93
  x.Content,
93
94
  {
94
95
  ref: d,
@@ -100,33 +101,10 @@ const oe = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
100
101
  children: /* @__PURE__ */ o.jsx("div", { className: "pb-4 pt-0", children: t })
101
102
  }
102
103
  ));
103
- oe.displayName = x.Content.displayName;
104
- const se = w(
105
- "relative w-full rounded-lg border px-4 py-3 text-sm [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
106
- {
107
- variants: {
108
- variant: {
109
- default: "bg-background text-foreground",
110
- destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
111
- }
112
- },
113
- defaultVariants: {
114
- variant: "default"
115
- }
116
- }
117
- ), re = r.forwardRef(({ className: e, variant: t, ...a }, d) => /* @__PURE__ */ o.jsx("div", { ref: d, role: "alert", className: s(se({ variant: t }), e), ...a }));
118
- re.displayName = "Alert";
119
- const de = r.forwardRef(
120
- ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("h5", { ref: a, className: s("mb-1 font-medium leading-none tracking-tight", e), ...t })
121
- );
122
- de.displayName = "AlertTitle";
123
- const ne = r.forwardRef(
124
- ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("text-sm [&_p]:leading-relaxed", e), ...t })
125
- );
126
- ne.displayName = "AlertDescription";
127
- const Rt = c.Root, Tt = c.Trigger, _ = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx(c.Portal, { className: s(e), ...t });
128
- _.displayName = c.Portal.displayName;
129
- const O = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
104
+ se.displayName = x.Content.displayName;
105
+ const jt = c.Root, Ct = c.Trigger, O = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx(c.Portal, { className: s(e), ...t });
106
+ O.displayName = c.Portal.displayName;
107
+ const E = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
130
108
  c.Overlay,
131
109
  {
132
110
  className: s(
@@ -137,9 +115,9 @@ const O = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
137
115
  ref: a
138
116
  }
139
117
  ));
140
- O.displayName = c.Overlay.displayName;
141
- const ie = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs(_, { children: [
142
- /* @__PURE__ */ o.jsx(O, {}),
118
+ E.displayName = c.Overlay.displayName;
119
+ const re = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs(O, { children: [
120
+ /* @__PURE__ */ o.jsx(E, {}),
143
121
  /* @__PURE__ */ o.jsx(
144
122
  c.Content,
145
123
  {
@@ -152,29 +130,29 @@ const ie = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs(_,
152
130
  }
153
131
  )
154
132
  ] }));
155
- ie.displayName = c.Content.displayName;
156
- const le = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
157
- le.displayName = "AlertDialogHeader";
158
- const ce = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
159
- ce.displayName = "AlertDialogFooter";
160
- const me = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Title, { ref: a, className: s("text-lg font-semibold", e), ...t }));
161
- me.displayName = c.Title.displayName;
162
- const pe = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
163
- pe.displayName = c.Description.displayName;
164
- const fe = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Action, { ref: a, className: s(k(), e), ...t }));
165
- fe.displayName = c.Action.displayName;
166
- const ue = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
133
+ re.displayName = c.Content.displayName;
134
+ const de = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
135
+ de.displayName = "AlertDialogHeader";
136
+ const ne = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
137
+ ne.displayName = "AlertDialogFooter";
138
+ const ie = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Title, { ref: a, className: s("text-lg font-semibold", e), ...t }));
139
+ ie.displayName = c.Title.displayName;
140
+ const le = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
141
+ le.displayName = c.Description.displayName;
142
+ const ce = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Action, { ref: a, className: s(D(), e), ...t }));
143
+ ce.displayName = c.Action.displayName;
144
+ const me = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
167
145
  c.Cancel,
168
146
  {
169
147
  ref: a,
170
- className: s(k({ variant: "outline" }), "mt-2 sm:mt-0", e),
148
+ className: s(D({ variant: "outline" }), "mt-2 sm:mt-0", e),
171
149
  ...t
172
150
  }
173
151
  ));
174
- ue.displayName = c.Cancel.displayName;
175
- const xe = p.Root, Dt = p.Trigger, E = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx(p.Portal, { className: s(e), ...t });
176
- E.displayName = p.Portal.displayName;
177
- const L = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
152
+ me.displayName = c.Cancel.displayName;
153
+ const pe = p.Root, Rt = p.Trigger, L = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx(p.Portal, { className: s(e), ...t });
154
+ L.displayName = p.Portal.displayName;
155
+ const V = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
178
156
  p.Overlay,
179
157
  {
180
158
  ref: a,
@@ -185,9 +163,9 @@ const L = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
185
163
  ...t
186
164
  }
187
165
  ));
188
- L.displayName = p.Overlay.displayName;
189
- const V = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsxs(E, { children: [
190
- /* @__PURE__ */ o.jsx(L, {}),
166
+ V.displayName = p.Overlay.displayName;
167
+ const G = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsxs(L, { children: [
168
+ /* @__PURE__ */ o.jsx(V, {}),
191
169
  /* @__PURE__ */ o.jsxs(
192
170
  p.Content,
193
171
  {
@@ -200,19 +178,19 @@ const V = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
200
178
  children: [
201
179
  t,
202
180
  /* @__PURE__ */ o.jsxs(p.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
203
- /* @__PURE__ */ o.jsx(A, { className: "h-4 w-4" }),
181
+ /* @__PURE__ */ o.jsx(I, { className: "h-4 w-4" }),
204
182
  /* @__PURE__ */ o.jsx("span", { className: "sr-only", children: "Close" })
205
183
  ] })
206
184
  ]
207
185
  }
208
186
  )
209
187
  ] }));
210
- V.displayName = p.Content.displayName;
211
- const ge = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
212
- ge.displayName = "DialogHeader";
213
- const be = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
214
- be.displayName = "DialogFooter";
215
- const Ne = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
188
+ G.displayName = p.Content.displayName;
189
+ const fe = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
190
+ fe.displayName = "DialogHeader";
191
+ const ue = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
192
+ ue.displayName = "DialogFooter";
193
+ const xe = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
216
194
  p.Title,
217
195
  {
218
196
  ref: a,
@@ -220,32 +198,32 @@ const Ne = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
220
198
  ...t
221
199
  }
222
200
  ));
223
- Ne.displayName = p.Title.displayName;
224
- const ye = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(p.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
225
- ye.displayName = p.Description.displayName;
226
- const ve = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
227
- ve.displayName = "Card";
228
- const he = r.forwardRef(
201
+ xe.displayName = p.Title.displayName;
202
+ const ge = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(p.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
203
+ ge.displayName = p.Description.displayName;
204
+ const be = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
205
+ be.displayName = "Card";
206
+ const Ne = r.forwardRef(
229
207
  ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("flex flex-col space-y-1.5 p-6", e), ...t })
230
208
  );
231
- he.displayName = "CardHeader";
232
- const we = r.forwardRef(
209
+ Ne.displayName = "CardHeader";
210
+ const ye = r.forwardRef(
233
211
  ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("h3", { ref: a, className: s("font-semibold leading-none tracking-tight", e), ...t })
234
212
  );
235
- we.displayName = "CardTitle";
236
- const je = r.forwardRef(
213
+ ye.displayName = "CardTitle";
214
+ const he = r.forwardRef(
237
215
  ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("p", { ref: a, className: s("text-sm text-muted-foreground", e), ...t })
238
216
  );
239
- je.displayName = "CardDescription";
240
- const Ce = r.forwardRef(
217
+ he.displayName = "CardDescription";
218
+ const we = r.forwardRef(
241
219
  ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("p-6 pt-0", e), ...t })
242
220
  );
243
- Ce.displayName = "CardContent";
244
- const Re = r.forwardRef(
221
+ we.displayName = "CardContent";
222
+ const ve = r.forwardRef(
245
223
  ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s(" flex items-center p-6 pt-0", e), ...t })
246
224
  );
247
- Re.displayName = "CardFooter";
248
- const Te = r.forwardRef(({ className: e, type: t, ...a }, d) => /* @__PURE__ */ o.jsx(
225
+ ve.displayName = "CardFooter";
226
+ const je = r.forwardRef(({ className: e, type: t, ...a }, d) => /* @__PURE__ */ o.jsx(
249
227
  "input",
250
228
  {
251
229
  type: t,
@@ -260,10 +238,10 @@ const Te = r.forwardRef(({ className: e, type: t, ...a }, d) => /* @__PURE__ */
260
238
  spellCheck: "false"
261
239
  }
262
240
  ));
263
- Te.displayName = "Input";
264
- const De = w("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), ke = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(z.Root, { ref: a, className: s(De(), e), ...t }));
265
- ke.displayName = z.Root.displayName;
266
- const Se = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
241
+ je.displayName = "Input";
242
+ const Ce = S("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), Re = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(z.Root, { ref: a, className: s(Ce(), e), ...t }));
243
+ Re.displayName = z.Root.displayName;
244
+ const Te = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
267
245
  "textarea",
268
246
  {
269
247
  className: s(
@@ -277,14 +255,14 @@ const Se = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
277
255
  spellCheck: "false"
278
256
  }
279
257
  ));
280
- Se.displayName = "Textarea";
281
- const Ae = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsxs(u.Root, { ref: d, className: s("relative overflow-hidden", e), ...a, children: [
258
+ Te.displayName = "Textarea";
259
+ const Se = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsxs(u.Root, { ref: d, className: s("relative overflow-hidden", e), ...a, children: [
282
260
  /* @__PURE__ */ o.jsx(u.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
283
- /* @__PURE__ */ o.jsx(G, {}),
261
+ /* @__PURE__ */ o.jsx(H, {}),
284
262
  /* @__PURE__ */ o.jsx(u.Corner, {})
285
263
  ] }));
286
- Ae.displayName = u.Root.displayName;
287
- const G = r.forwardRef(({ className: e, orientation: t = "vertical", ...a }, d) => /* @__PURE__ */ o.jsx(
264
+ Se.displayName = u.Root.displayName;
265
+ const H = r.forwardRef(({ className: e, orientation: t = "vertical", ...a }, d) => /* @__PURE__ */ o.jsx(
288
266
  u.ScrollAreaScrollbar,
289
267
  {
290
268
  ref: d,
@@ -299,8 +277,8 @@ const G = r.forwardRef(({ className: e, orientation: t = "vertical", ...a }, d)
299
277
  children: /* @__PURE__ */ o.jsx(u.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
300
278
  }
301
279
  ));
302
- G.displayName = u.ScrollAreaScrollbar.displayName;
303
- const kt = g.Root, Ie = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
280
+ H.displayName = u.ScrollAreaScrollbar.displayName;
281
+ const Tt = g.Root, De = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
304
282
  g.List,
305
283
  {
306
284
  ref: a,
@@ -311,8 +289,8 @@ const kt = g.Root, Ie = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__
311
289
  ...t
312
290
  }
313
291
  ));
314
- Ie.displayName = g.List.displayName;
315
- const Me = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
292
+ De.displayName = g.List.displayName;
293
+ const ke = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
316
294
  g.Trigger,
317
295
  {
318
296
  ref: a,
@@ -323,8 +301,8 @@ const Me = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
323
301
  ...t
324
302
  }
325
303
  ));
326
- Me.displayName = g.Trigger.displayName;
327
- const Pe = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
304
+ ke.displayName = g.Trigger.displayName;
305
+ const Ie = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
328
306
  g.Content,
329
307
  {
330
308
  ref: a,
@@ -335,8 +313,8 @@ const Pe = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
335
313
  ...t
336
314
  }
337
315
  ));
338
- Pe.displayName = g.Content.displayName;
339
- const St = b.Portal, At = b.Provider, It = b.Root, Mt = b.Trigger, ze = r.forwardRef(({ className: e, sideOffset: t = 4, ...a }, d) => /* @__PURE__ */ o.jsx(
316
+ Ie.displayName = g.Content.displayName;
317
+ const St = b.Portal, Dt = b.Provider, kt = b.Root, It = b.Trigger, Ae = r.forwardRef(({ className: e, sideOffset: t = 4, ...a }, d) => /* @__PURE__ */ o.jsx(
340
318
  b.Content,
341
319
  {
342
320
  ref: d,
@@ -348,8 +326,8 @@ const St = b.Portal, At = b.Provider, It = b.Root, Mt = b.Trigger, ze = r.forwar
348
326
  ...a
349
327
  }
350
328
  ));
351
- ze.displayName = b.Content.displayName;
352
- const Pt = y.Root, zt = y.Trigger, _e = r.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...d }, l) => /* @__PURE__ */ o.jsx(y.Portal, { children: /* @__PURE__ */ o.jsx(
329
+ Ae.displayName = b.Content.displayName;
330
+ const At = y.Root, Mt = y.Trigger, Me = r.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...d }, l) => /* @__PURE__ */ o.jsx(y.Portal, { children: /* @__PURE__ */ o.jsx(
353
331
  y.Content,
354
332
  {
355
333
  ref: l,
@@ -362,9 +340,9 @@ const Pt = y.Root, zt = y.Trigger, _e = r.forwardRef(({ className: e, align: t =
362
340
  ...d
363
341
  }
364
342
  ) }));
365
- _e.displayName = y.Content.displayName;
366
- const _t = j.Root, Ot = j.Trigger, Oe = r.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...d }, l) => /* @__PURE__ */ o.jsx(
367
- j.Content,
343
+ Me.displayName = y.Content.displayName;
344
+ const Pt = v.Root, zt = v.Trigger, Pe = r.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...d }, l) => /* @__PURE__ */ o.jsx(
345
+ v.Content,
368
346
  {
369
347
  ref: l,
370
348
  align: t,
@@ -376,8 +354,8 @@ const _t = j.Root, Ot = j.Trigger, Oe = r.forwardRef(({ className: e, align: t =
376
354
  ...d
377
355
  }
378
356
  ));
379
- Oe.displayName = j.Content.displayName;
380
- const Et = n.Root, Lt = n.Trigger, Vt = n.Group, Gt = n.Portal, Ht = n.Sub, Ft = n.RadioGroup, Ee = r.forwardRef(({ className: e, inset: t, children: a, ...d }, l) => /* @__PURE__ */ o.jsxs(
357
+ Pe.displayName = v.Content.displayName;
358
+ const _t = n.Root, Ot = n.Trigger, Et = n.Group, Lt = n.Portal, Vt = n.Sub, Gt = n.RadioGroup, ze = r.forwardRef(({ className: e, inset: t, children: a, ...d }, l) => /* @__PURE__ */ o.jsxs(
381
359
  n.SubTrigger,
382
360
  {
383
361
  ref: l,
@@ -389,12 +367,12 @@ const Et = n.Root, Lt = n.Trigger, Vt = n.Group, Gt = n.Portal, Ht = n.Sub, Ft =
389
367
  ...d,
390
368
  children: [
391
369
  a,
392
- /* @__PURE__ */ o.jsx(I, { className: "ml-auto h-4 w-4" })
370
+ /* @__PURE__ */ o.jsx(A, { className: "ml-auto h-4 w-4" })
393
371
  ]
394
372
  }
395
373
  ));
396
- Ee.displayName = n.SubTrigger.displayName;
397
- const Le = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
374
+ ze.displayName = n.SubTrigger.displayName;
375
+ const _e = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
398
376
  n.SubContent,
399
377
  {
400
378
  ref: a,
@@ -405,8 +383,8 @@ const Le = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
405
383
  ...t
406
384
  }
407
385
  ));
408
- Le.displayName = n.SubContent.displayName;
409
- const Ve = r.forwardRef(({ className: e, sideOffset: t = 4, ...a }, d) => /* @__PURE__ */ o.jsx(n.Portal, { children: /* @__PURE__ */ o.jsx(
386
+ _e.displayName = n.SubContent.displayName;
387
+ const Oe = r.forwardRef(({ className: e, sideOffset: t = 4, ...a }, d) => /* @__PURE__ */ o.jsx(n.Portal, { children: /* @__PURE__ */ o.jsx(
410
388
  n.Content,
411
389
  {
412
390
  ref: d,
@@ -419,8 +397,8 @@ const Ve = r.forwardRef(({ className: e, sideOffset: t = 4, ...a }, d) => /* @__
419
397
  ...a
420
398
  }
421
399
  ) }));
422
- Ve.displayName = n.Content.displayName;
423
- const Ge = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o.jsx(
400
+ Oe.displayName = n.Content.displayName;
401
+ const Ee = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o.jsx(
424
402
  n.Item,
425
403
  {
426
404
  ref: d,
@@ -432,8 +410,8 @@ const Ge = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */
432
410
  ...a
433
411
  }
434
412
  ));
435
- Ge.displayName = n.Item.displayName;
436
- const He = r.forwardRef(({ className: e, children: t, checked: a, ...d }, l) => /* @__PURE__ */ o.jsxs(
413
+ Ee.displayName = n.Item.displayName;
414
+ const Le = r.forwardRef(({ className: e, children: t, checked: a, ...d }, l) => /* @__PURE__ */ o.jsxs(
437
415
  n.CheckboxItem,
438
416
  {
439
417
  ref: l,
@@ -449,8 +427,8 @@ const He = r.forwardRef(({ className: e, children: t, checked: a, ...d }, l) =>
449
427
  ]
450
428
  }
451
429
  ));
452
- He.displayName = n.CheckboxItem.displayName;
453
- const Fe = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsxs(
430
+ Le.displayName = n.CheckboxItem.displayName;
431
+ const Ve = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsxs(
454
432
  n.RadioItem,
455
433
  {
456
434
  ref: d,
@@ -465,8 +443,8 @@ const Fe = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
465
443
  ]
466
444
  }
467
445
  ));
468
- Fe.displayName = n.RadioItem.displayName;
469
- const Be = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o.jsx(
446
+ Ve.displayName = n.RadioItem.displayName;
447
+ const Ge = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o.jsx(
470
448
  n.Label,
471
449
  {
472
450
  ref: d,
@@ -474,32 +452,43 @@ const Be = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */
474
452
  ...a
475
453
  }
476
454
  ));
477
- Be.displayName = n.Label.displayName;
478
- const Ue = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(n.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
479
- Ue.displayName = n.Separator.displayName;
480
- const qe = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest opacity-60", e), ...t });
481
- qe.displayName = "DropdownMenuShortcut";
482
- const Qe = 1, Xe = 1e6;
483
- let R = 0;
484
- function Ye() {
485
- return R = (R + 1) % Number.MAX_VALUE, R.toString();
455
+ Ge.displayName = n.Label.displayName;
456
+ const He = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(n.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
457
+ He.displayName = n.Separator.displayName;
458
+ const Fe = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest opacity-60", e), ...t });
459
+ Fe.displayName = "DropdownMenuShortcut";
460
+ const Be = r.forwardRef(({ className: e, orientation: t = "horizontal", decorative: a = !0, ...d }, l) => /* @__PURE__ */ o.jsx(
461
+ _.Root,
462
+ {
463
+ ref: l,
464
+ decorative: a,
465
+ orientation: t,
466
+ className: s("shrink-0 bg-border", t === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", e),
467
+ ...d
468
+ }
469
+ ));
470
+ Be.displayName = _.Root.displayName;
471
+ const Ue = 1, qe = 1e6;
472
+ let C = 0;
473
+ function Qe() {
474
+ return C = (C + 1) % Number.MAX_VALUE, C.toString();
486
475
  }
487
- const T = /* @__PURE__ */ new Map(), S = (e) => {
488
- if (T.has(e))
476
+ const R = /* @__PURE__ */ new Map(), k = (e) => {
477
+ if (R.has(e))
489
478
  return;
490
479
  const t = setTimeout(() => {
491
- T.delete(e), N({
480
+ R.delete(e), N({
492
481
  type: "REMOVE_TOAST",
493
482
  toastId: e
494
483
  });
495
- }, Xe);
496
- T.set(e, t);
497
- }, $e = (e, t) => {
484
+ }, qe);
485
+ R.set(e, t);
486
+ }, Xe = (e, t) => {
498
487
  switch (t.type) {
499
488
  case "ADD_TOAST":
500
489
  return {
501
490
  ...e,
502
- toasts: [t.toast, ...e.toasts].slice(0, Qe)
491
+ toasts: [t.toast, ...e.toasts].slice(0, Ue)
503
492
  };
504
493
  case "UPDATE_TOAST":
505
494
  return {
@@ -508,8 +497,8 @@ const T = /* @__PURE__ */ new Map(), S = (e) => {
508
497
  };
509
498
  case "DISMISS_TOAST": {
510
499
  const { toastId: a } = t;
511
- return a ? S(a) : e.toasts.forEach((d) => {
512
- S(d.id);
500
+ return a ? k(a) : e.toasts.forEach((d) => {
501
+ k(d.id);
513
502
  }), {
514
503
  ...e,
515
504
  toasts: e.toasts.map(
@@ -529,15 +518,15 @@ const T = /* @__PURE__ */ new Map(), S = (e) => {
529
518
  toasts: e.toasts.filter((a) => a.id !== t.toastId)
530
519
  };
531
520
  }
532
- }, v = [];
533
- let h = { toasts: [] };
521
+ }, h = [];
522
+ let w = { toasts: [] };
534
523
  function N(e) {
535
- h = $e(h, e), v.forEach((t) => {
536
- t(h);
524
+ w = Xe(w, e), h.forEach((t) => {
525
+ t(w);
537
526
  });
538
527
  }
539
- function Je({ ...e }) {
540
- const t = Ye(), a = (l) => N({
528
+ function Ye({ ...e }) {
529
+ const t = Qe(), a = (l) => N({
541
530
  type: "UPDATE_TOAST",
542
531
  toast: { ...l, id: t }
543
532
  }), d = () => N({ type: "DISMISS_TOAST", toastId: t });
@@ -557,18 +546,18 @@ function Je({ ...e }) {
557
546
  update: a
558
547
  };
559
548
  }
560
- function Ke() {
561
- const [e, t] = r.useState(h);
562
- return r.useEffect(() => (v.push(t), () => {
563
- const a = v.indexOf(t);
564
- a > -1 && v.splice(a, 1);
549
+ function $e() {
550
+ const [e, t] = r.useState(w);
551
+ return r.useEffect(() => (h.push(t), () => {
552
+ const a = h.indexOf(t);
553
+ a > -1 && h.splice(a, 1);
565
554
  }), [e]), {
566
555
  ...e,
567
- toast: Je,
556
+ toast: Ye,
568
557
  dismiss: (a) => N({ type: "DISMISS_TOAST", toastId: a })
569
558
  };
570
559
  }
571
- const We = f.Provider, H = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
560
+ const Je = f.Provider, F = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
572
561
  f.Viewport,
573
562
  {
574
563
  ref: a,
@@ -579,8 +568,8 @@ const We = f.Provider, H = r.forwardRef(({ className: e, ...t }, a) => /* @__PUR
579
568
  ...t
580
569
  }
581
570
  ));
582
- H.displayName = f.Viewport.displayName;
583
- const Ze = w(
571
+ F.displayName = f.Viewport.displayName;
572
+ const Ke = S(
584
573
  "group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
585
574
  {
586
575
  variants: {
@@ -593,9 +582,9 @@ const Ze = w(
593
582
  variant: "default"
594
583
  }
595
584
  }
596
- ), F = r.forwardRef(({ className: e, variant: t, ...a }, d) => /* @__PURE__ */ o.jsx(f.Root, { ref: d, className: s(Ze({ variant: t }), e), ...a }));
597
- F.displayName = f.Root.displayName;
598
- const et = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
585
+ ), B = r.forwardRef(({ className: e, variant: t, ...a }, d) => /* @__PURE__ */ o.jsx(f.Root, { ref: d, className: s(Ke({ variant: t }), e), ...a }));
586
+ B.displayName = f.Root.displayName;
587
+ const We = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
599
588
  f.Action,
600
589
  {
601
590
  ref: a,
@@ -606,8 +595,8 @@ const et = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
606
595
  ...t
607
596
  }
608
597
  ));
609
- et.displayName = f.Action.displayName;
610
- const B = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
598
+ We.displayName = f.Action.displayName;
599
+ const U = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
611
600
  f.Close,
612
601
  {
613
602
  ref: a,
@@ -617,29 +606,29 @@ const B = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
617
606
  ),
618
607
  "toast-close": "",
619
608
  ...t,
620
- children: /* @__PURE__ */ o.jsx(A, { className: "h-4 w-4" })
621
- }
622
- ));
623
- B.displayName = f.Close.displayName;
624
- const U = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(f.Title, { ref: a, className: s("text-sm font-semibold [&+div]:text-xs", e), ...t }));
625
- U.displayName = f.Title.displayName;
626
- const q = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(f.Description, { ref: a, className: s("text-sm opacity-90", e), ...t }));
627
- q.displayName = f.Description.displayName;
628
- function Bt() {
629
- const { toasts: e } = Ke();
630
- return /* @__PURE__ */ o.jsxs(We, { children: [
631
- e.map(({ id: t, title: a, description: d, action: l, ...C }) => /* @__PURE__ */ o.jsxs(F, { ...C, children: [
609
+ children: /* @__PURE__ */ o.jsx(I, { className: "h-4 w-4" })
610
+ }
611
+ ));
612
+ U.displayName = f.Close.displayName;
613
+ const q = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(f.Title, { ref: a, className: s("text-sm font-semibold [&+div]:text-xs", e), ...t }));
614
+ q.displayName = f.Title.displayName;
615
+ const Q = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(f.Description, { ref: a, className: s("text-sm opacity-90", e), ...t }));
616
+ Q.displayName = f.Description.displayName;
617
+ function Ht() {
618
+ const { toasts: e } = $e();
619
+ return /* @__PURE__ */ o.jsxs(Je, { children: [
620
+ e.map(({ id: t, title: a, description: d, action: l, ...j }) => /* @__PURE__ */ o.jsxs(B, { ...j, children: [
632
621
  /* @__PURE__ */ o.jsxs("div", { className: "grid gap-1", children: [
633
- a && /* @__PURE__ */ o.jsx(U, { children: a }),
634
- d && /* @__PURE__ */ o.jsx(q, { children: d })
622
+ a && /* @__PURE__ */ o.jsx(q, { children: a }),
623
+ d && /* @__PURE__ */ o.jsx(Q, { children: d })
635
624
  ] }),
636
625
  l,
637
- /* @__PURE__ */ o.jsx(B, {})
626
+ /* @__PURE__ */ o.jsx(U, {})
638
627
  ] }, t)),
639
- /* @__PURE__ */ o.jsx(H, {})
628
+ /* @__PURE__ */ o.jsx(F, {})
640
629
  ] });
641
630
  }
642
- const Ut = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("animate-pulse rounded-md bg-primary/10", e), ...t }), Q = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
631
+ const Ft = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("animate-pulse rounded-md bg-primary/10", e), ...t }), X = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
643
632
  m,
644
633
  {
645
634
  ref: a,
@@ -650,9 +639,9 @@ const Ut = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className:
650
639
  ...t
651
640
  }
652
641
  ));
653
- Q.displayName = m.displayName;
654
- const qt = ({ children: e, ...t }) => /* @__PURE__ */ o.jsx(xe, { ...t, children: /* @__PURE__ */ o.jsx(V, { className: "overflow-hidden p-0", children: /* @__PURE__ */ o.jsx(Q, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), tt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
655
- /* @__PURE__ */ o.jsx($, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
642
+ X.displayName = m.displayName;
643
+ const Bt = ({ children: e, ...t }) => /* @__PURE__ */ o.jsx(pe, { ...t, children: /* @__PURE__ */ o.jsx(G, { className: "overflow-hidden p-0", children: /* @__PURE__ */ o.jsx(X, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), Ze = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
644
+ /* @__PURE__ */ o.jsx(J, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
656
645
  /* @__PURE__ */ o.jsx(
657
646
  m.Input,
658
647
  {
@@ -665,8 +654,8 @@ const qt = ({ children: e, ...t }) => /* @__PURE__ */ o.jsx(xe, { ...t, children
665
654
  }
666
655
  )
667
656
  ] }));
668
- tt.displayName = m.Input.displayName;
669
- const at = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
657
+ Ze.displayName = m.Input.displayName;
658
+ const et = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
670
659
  m.List,
671
660
  {
672
661
  ref: a,
@@ -674,10 +663,10 @@ const at = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
674
663
  ...t
675
664
  }
676
665
  ));
677
- at.displayName = m.List.displayName;
678
- const ot = r.forwardRef((e, t) => /* @__PURE__ */ o.jsx(m.Empty, { ref: t, className: "py-6 text-center text-sm", ...e }));
679
- ot.displayName = m.Empty.displayName;
680
- const st = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
666
+ et.displayName = m.List.displayName;
667
+ const tt = r.forwardRef((e, t) => /* @__PURE__ */ o.jsx(m.Empty, { ref: t, className: "py-6 text-center text-sm", ...e }));
668
+ tt.displayName = m.Empty.displayName;
669
+ const at = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
681
670
  m.Group,
682
671
  {
683
672
  ref: a,
@@ -688,10 +677,10 @@ const st = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
688
677
  ...t
689
678
  }
690
679
  ));
691
- st.displayName = m.Group.displayName;
692
- const rt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(m.Separator, { ref: a, className: s("-mx-1 h-px bg-border", e), ...t }));
693
- rt.displayName = m.Separator.displayName;
694
- const dt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
680
+ at.displayName = m.Group.displayName;
681
+ const ot = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(m.Separator, { ref: a, className: s("-mx-1 h-px bg-border", e), ...t }));
682
+ ot.displayName = m.Separator.displayName;
683
+ const st = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
695
684
  m.Item,
696
685
  {
697
686
  ref: a,
@@ -702,10 +691,10 @@ const dt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
702
691
  ...t
703
692
  }
704
693
  ));
705
- dt.displayName = m.Item.displayName;
706
- const nt = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
707
- nt.displayName = "CommandShortcut";
708
- const Qt = i.Root, Xt = i.Trigger, Yt = i.Group, $t = i.Portal, Jt = i.Sub, Kt = i.RadioGroup, it = r.forwardRef(({ className: e, inset: t, children: a, ...d }, l) => /* @__PURE__ */ o.jsxs(
694
+ st.displayName = m.Item.displayName;
695
+ const rt = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
696
+ rt.displayName = "CommandShortcut";
697
+ const Ut = i.Root, qt = i.Trigger, Qt = i.Group, Xt = i.Portal, Yt = i.Sub, $t = i.RadioGroup, dt = r.forwardRef(({ className: e, inset: t, children: a, ...d }, l) => /* @__PURE__ */ o.jsxs(
709
698
  i.SubTrigger,
710
699
  {
711
700
  ref: l,
@@ -717,12 +706,12 @@ const Qt = i.Root, Xt = i.Trigger, Yt = i.Group, $t = i.Portal, Jt = i.Sub, Kt =
717
706
  ...d,
718
707
  children: [
719
708
  a,
720
- /* @__PURE__ */ o.jsx(I, { className: "ml-auto h-4 w-4" })
709
+ /* @__PURE__ */ o.jsx(A, { className: "ml-auto h-4 w-4" })
721
710
  ]
722
711
  }
723
712
  ));
724
- it.displayName = i.SubTrigger.displayName;
725
- const lt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
713
+ dt.displayName = i.SubTrigger.displayName;
714
+ const nt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
726
715
  i.SubContent,
727
716
  {
728
717
  ref: a,
@@ -733,8 +722,8 @@ const lt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
733
722
  ...t
734
723
  }
735
724
  ));
736
- lt.displayName = i.SubContent.displayName;
737
- const ct = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.Portal, { children: /* @__PURE__ */ o.jsx(
725
+ nt.displayName = i.SubContent.displayName;
726
+ const it = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.Portal, { children: /* @__PURE__ */ o.jsx(
738
727
  i.Content,
739
728
  {
740
729
  ref: a,
@@ -745,8 +734,8 @@ const ct = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.P
745
734
  ...t
746
735
  }
747
736
  ) }));
748
- ct.displayName = i.Content.displayName;
749
- const mt = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o.jsx(
737
+ it.displayName = i.Content.displayName;
738
+ const lt = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o.jsx(
750
739
  i.Item,
751
740
  {
752
741
  ref: d,
@@ -758,8 +747,8 @@ const mt = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */
758
747
  ...a
759
748
  }
760
749
  ));
761
- mt.displayName = i.Item.displayName;
762
- const pt = r.forwardRef(({ className: e, children: t, checked: a, ...d }, l) => /* @__PURE__ */ o.jsxs(
750
+ lt.displayName = i.Item.displayName;
751
+ const ct = r.forwardRef(({ className: e, children: t, checked: a, ...d }, l) => /* @__PURE__ */ o.jsxs(
763
752
  i.CheckboxItem,
764
753
  {
765
754
  ref: l,
@@ -775,8 +764,8 @@ const pt = r.forwardRef(({ className: e, children: t, checked: a, ...d }, l) =>
775
764
  ]
776
765
  }
777
766
  ));
778
- pt.displayName = i.CheckboxItem.displayName;
779
- const ft = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsxs(
767
+ ct.displayName = i.CheckboxItem.displayName;
768
+ const mt = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsxs(
780
769
  i.RadioItem,
781
770
  {
782
771
  ref: d,
@@ -791,8 +780,8 @@ const ft = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
791
780
  ]
792
781
  }
793
782
  ));
794
- ft.displayName = i.RadioItem.displayName;
795
- const ut = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o.jsx(
783
+ mt.displayName = i.RadioItem.displayName;
784
+ const pt = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o.jsx(
796
785
  i.Label,
797
786
  {
798
787
  ref: d,
@@ -800,107 +789,105 @@ const ut = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */
800
789
  ...a
801
790
  }
802
791
  ));
803
- ut.displayName = i.Label.displayName;
804
- const xt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-border", e), ...t }));
805
- xt.displayName = i.Separator.displayName;
806
- const gt = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
807
- gt.displayName = "ContextMenuShortcut";
792
+ pt.displayName = i.Label.displayName;
793
+ const ft = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-border", e), ...t }));
794
+ ft.displayName = i.Separator.displayName;
795
+ const ut = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
796
+ ut.displayName = "ContextMenuShortcut";
808
797
  export {
809
- Ge as $,
810
- re as A,
811
- ee as B,
812
- Qt as C,
813
- xe as D,
814
- kt as E,
798
+ jt as $,
799
+ De as A,
800
+ te as B,
801
+ Ut as C,
802
+ pe as D,
803
+ ke as E,
815
804
  Ie as F,
816
- Me as G,
817
- Pe as H,
818
- Z as I,
819
- Ct as J,
820
- te as K,
821
- ke as L,
822
- ae as M,
823
- oe as N,
824
- Ke as O,
825
- Pt as P,
826
- Te as Q,
827
- St as R,
828
- Ut as S,
829
- It as T,
830
- Et as U,
831
- Lt as V,
832
- Ve as W,
833
- Ae as X,
834
- Be as Y,
835
- Ue as Z,
836
- Vt as _,
837
- Xt as a,
838
- qe as a0,
839
- Rt as a1,
840
- Tt as a2,
805
+ ee as G,
806
+ vt as H,
807
+ ae as I,
808
+ oe as J,
809
+ se as K,
810
+ Re as L,
811
+ $e as M,
812
+ je as N,
813
+ St as O,
814
+ At as P,
815
+ _t as Q,
816
+ Ot as R,
817
+ Ft as S,
818
+ kt as T,
819
+ Oe as U,
820
+ Se as V,
821
+ Ge as W,
822
+ He as X,
823
+ Et as Y,
824
+ Ee as Z,
825
+ Fe as _,
826
+ qt as a,
827
+ Ct as a0,
828
+ re as a1,
829
+ de as a2,
841
830
  ie as a3,
842
831
  le as a4,
843
- me as a5,
844
- pe as a6,
832
+ ne as a5,
833
+ me as a6,
845
834
  ce as a7,
846
- ue as a8,
847
- fe as a9,
848
- gt as aA,
835
+ Le as a8,
836
+ Pt as a9,
837
+ Xt as aA,
849
838
  Yt as aB,
850
- $t as aC,
851
- Jt as aD,
852
- lt as aE,
853
- it as aF,
854
- Kt as aG,
855
- At as aa,
856
- Bt as ab,
857
- He as ac,
858
- _t as ad,
859
- Ot as ae,
860
- Oe as af,
861
- s as ag,
862
- k as ah,
863
- ne as ai,
864
- we as aj,
865
- G as ak,
866
- Fe as al,
867
- Gt as am,
868
- Ht as an,
869
- Le as ao,
870
- Ee as ap,
871
- Ft as aq,
872
- $e as ar,
873
- Je as as,
874
- qt as at,
875
- nt as au,
876
- rt as av,
839
+ nt as aC,
840
+ dt as aD,
841
+ $t as aE,
842
+ zt as aa,
843
+ Pe as ab,
844
+ Be as ac,
845
+ Dt as ad,
846
+ Ht as ae,
847
+ s as af,
848
+ D as ag,
849
+ ye as ah,
850
+ H as ai,
851
+ Ve as aj,
852
+ Lt as ak,
853
+ Vt as al,
854
+ _e as am,
855
+ ze as an,
856
+ Gt as ao,
857
+ Xe as ap,
858
+ Ye as aq,
859
+ Bt as ar,
860
+ rt as as,
861
+ ot as at,
862
+ ct as au,
863
+ mt as av,
877
864
  pt as aw,
878
865
  ft as ax,
879
866
  ut as ay,
880
- xt as az,
881
- ct as b,
882
- mt as c,
883
- Mt as d,
884
- ze as e,
885
- ve as f,
886
- he as g,
887
- je as h,
888
- Ce as i,
889
- Se as j,
890
- Re as k,
891
- de as l,
892
- Dt as m,
893
- V as n,
894
- ge as o,
895
- Ne as p,
896
- ye as q,
897
- be as r,
898
- zt as s,
899
- _e as t,
900
- Q as u,
901
- tt as v,
902
- at as w,
903
- ot as x,
867
+ Qt as az,
868
+ it as b,
869
+ lt as c,
870
+ It as d,
871
+ Ae as e,
872
+ be as f,
873
+ Ne as g,
874
+ he as h,
875
+ we as i,
876
+ Te as j,
877
+ ve as k,
878
+ Rt as l,
879
+ G as m,
880
+ fe as n,
881
+ xe as o,
882
+ ge as p,
883
+ ue as q,
884
+ Mt as r,
885
+ Me as s,
886
+ X as t,
887
+ Ze as u,
888
+ et as v,
889
+ tt as w,
890
+ at as x,
904
891
  st as y,
905
- dt as z
892
+ Tt as z
906
893
  };