@chaibuilder/sdk 2.0.0-beta.10 → 2.0.0-beta.100

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 (52) hide show
  1. package/README.md +1 -3
  2. package/dist/ChaiThemeFn-Cort9tch.js +201 -0
  3. package/dist/ChaiThemeFn-DQu-2Eh9.cjs +13 -0
  4. package/dist/CodeEditor-B2x4yruH.cjs +1 -0
  5. package/dist/CodeEditor-VcQsGvTM.js +65 -0
  6. package/dist/Topbar-BQsjWb-A.js +16 -0
  7. package/dist/Topbar-DEw_kBMz.cjs +1 -0
  8. package/dist/chaibuilder-logo.png +0 -0
  9. package/dist/context-menu-C4lLV8gP.cjs +1 -0
  10. package/dist/{context-menu-oLipAPzI.js → context-menu-D5ViOi6K.js} +304 -290
  11. package/dist/core.cjs +7 -18
  12. package/dist/core.d.ts +79 -46
  13. package/dist/core.js +5231 -5131
  14. package/dist/getSplitClasses-DodqA_KW.cjs +1 -0
  15. package/dist/getSplitClasses-DphwgQiE.js +48 -0
  16. package/dist/{iconBase-Ief2hJUZ.js → iconBase-DHfFLkem.js} +6 -12
  17. package/dist/mockServiceWorker.js +39 -24
  18. package/dist/plugin-2xcljWGM.cjs +1 -0
  19. package/dist/plugin-kUMxtQR5.js +24 -0
  20. package/dist/render.cjs +2 -2
  21. package/dist/render.d.ts +41 -16
  22. package/dist/render.js +166 -139
  23. package/dist/runtime.cjs +1 -1
  24. package/dist/runtime.d.ts +6 -1
  25. package/dist/runtime.js +0 -20
  26. package/dist/{style.css → sdk.css} +1 -1
  27. package/dist/tailwind.cjs +1 -1
  28. package/dist/tailwind.d.ts +37 -26
  29. package/dist/tailwind.js +8 -10
  30. package/dist/ui.cjs +1 -1
  31. package/dist/ui.d.ts +12 -51
  32. package/dist/ui.js +218 -390
  33. package/dist/web-blocks.cjs +2 -2
  34. package/dist/web-blocks.d.ts +6 -0
  35. package/dist/web-blocks.js +1230 -813
  36. package/package.json +136 -132
  37. package/dist/CodeEditor-9qjIOTD0.js +0 -126
  38. package/dist/CodeEditor-pceepCns.cjs +0 -1
  39. package/dist/STRINGS-Xxstm-7I.js +0 -7
  40. package/dist/STRINGS-Yl7cSWDc.cjs +0 -1
  41. package/dist/Topbar-7bGqLcSJ.js +0 -73
  42. package/dist/Topbar-EXPx1Yg2.cjs +0 -1
  43. package/dist/context-menu-4nQs6OxC.cjs +0 -1
  44. package/dist/controls-lEwMTdPQ.js +0 -234
  45. package/dist/controls-p9IwFnPx.cjs +0 -1
  46. package/dist/jsx-runtime-JYMCiFoE.cjs +0 -27
  47. package/dist/jsx-runtime-Sp0orL4X.js +0 -631
  48. package/dist/plugin-Dm5EFGnP.cjs +0 -1
  49. package/dist/plugin-KIpT3NWi.cjs +0 -1
  50. package/dist/plugin-PFjzFeON.js +0 -97
  51. package/dist/plugin-ooqqxWRQ.js +0 -55
  52. /package/dist/{iconBase-aZzpqff_.cjs → iconBase-Cn2BsTrq.cjs} +0 -0
@@ -1,26 +1,26 @@
1
- import { j as o } from "./jsx-runtime-Sp0orL4X.js";
2
- import * as R from "@radix-ui/react-switch";
1
+ import { jsx as o, jsxs as m } from "react/jsx-runtime";
2
+ import * as S from "@radix-ui/react-switch";
3
3
  import * as n from "react";
4
- import * as u from "@radix-ui/react-accordion";
5
- import { ChevronDownIcon as Q, Cross2Icon as A, ChevronRightIcon as I, CheckIcon as k, DotFilledIcon as M } from "@radix-ui/react-icons";
4
+ import * as g from "@radix-ui/react-accordion";
5
+ import { ChevronDownIcon as Q, Cross2Icon as k, ChevronRightIcon as M, CheckIcon as P, DotFilledIcon as z } from "@radix-ui/react-icons";
6
+ import { cva as w } from "class-variance-authority";
6
7
  import * as c from "@radix-ui/react-alert-dialog";
7
8
  import { Slot as X } from "@radix-ui/react-slot";
8
- import { cva as T } from "class-variance-authority";
9
- import * as m from "@radix-ui/react-dialog";
10
- import * as P from "@radix-ui/react-label";
11
- import * as f from "@radix-ui/react-scroll-area";
12
- import * as x from "@radix-ui/react-tabs";
13
- import * as g from "@radix-ui/react-tooltip";
9
+ import * as f from "@radix-ui/react-dialog";
10
+ import * as O from "@radix-ui/react-label";
11
+ import * as u from "@radix-ui/react-scroll-area";
12
+ import * as b from "@radix-ui/react-tabs";
13
+ import * as x from "@radix-ui/react-tooltip";
14
14
  import * as N from "@radix-ui/react-popover";
15
- import * as v from "@radix-ui/react-hover-card";
15
+ import * as C from "@radix-ui/react-hover-card";
16
16
  import * as d from "@radix-ui/react-dropdown-menu";
17
- import * as z from "@radix-ui/react-separator";
17
+ import * as j from "@radix-ui/react-separator";
18
18
  import * as p from "@radix-ui/react-toast";
19
19
  import * as i from "@radix-ui/react-context-menu";
20
20
  import { clsx as Y } from "clsx";
21
21
  import { twMerge as J } from "tailwind-merge";
22
- const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
23
- R.Root,
22
+ const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
23
+ S.Root,
24
24
  {
25
25
  className: s(
26
26
  "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",
@@ -28,8 +28,8 @@ const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /*
28
28
  ),
29
29
  ...t,
30
30
  ref: a,
31
- children: /* @__PURE__ */ o.jsx(
32
- R.Thumb,
31
+ children: /* @__PURE__ */ o(
32
+ S.Thumb,
33
33
  {
34
34
  className: s(
35
35
  "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 +38,8 @@ const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /*
38
38
  )
39
39
  }
40
40
  ));
41
- K.displayName = R.Root.displayName;
42
- const D = T(
41
+ K.displayName = S.Root.displayName;
42
+ const A = w(
43
43
  "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
44
  {
45
45
  variants: {
@@ -64,16 +64,13 @@ const D = T(
64
64
  }
65
65
  }
66
66
  ), W = n.forwardRef(
67
- ({ className: e, variant: t, size: a, asChild: r = !1, ...l }, w) => {
68
- const q = r ? X : "button";
69
- return /* @__PURE__ */ o.jsx(q, { className: s(D({ variant: t, size: a, className: e })), ref: w, ...l });
70
- }
67
+ ({ className: e, variant: t, size: a, asChild: r = !1, ...l }, R) => /* @__PURE__ */ o(r ? X : "button", { className: s(A({ variant: t, size: a, className: e })), ref: R, ...l })
71
68
  );
72
69
  W.displayName = "Button";
73
- const ct = u.Root, Z = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(u.Item, { ref: a, className: s("border-b", e), ...t }));
70
+ const ft = g.Root, Z = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(g.Item, { ref: a, className: s("border-b", e), ...t }));
74
71
  Z.displayName = "AccordionItem";
75
- const $ = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o.jsx(u.Header, { className: "flex", children: /* @__PURE__ */ o.jsxs(
76
- u.Trigger,
72
+ const $ = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o(g.Header, { className: "flex", children: /* @__PURE__ */ m(
73
+ g.Trigger,
77
74
  {
78
75
  ref: r,
79
76
  className: s(
@@ -83,13 +80,13 @@ const $ = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
83
80
  ...a,
84
81
  children: [
85
82
  t,
86
- a.hideArrow ? null : /* @__PURE__ */ o.jsx(Q, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
83
+ a.hideArrow ? null : /* @__PURE__ */ o(Q, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
87
84
  ]
88
85
  }
89
86
  ) }));
90
- $.displayName = u.Trigger.displayName;
91
- const ee = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o.jsx(
92
- u.Content,
87
+ $.displayName = g.Trigger.displayName;
88
+ const ee = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o(
89
+ g.Content,
93
90
  {
94
91
  ref: r,
95
92
  className: s(
@@ -97,13 +94,28 @@ const ee = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
97
94
  e
98
95
  ),
99
96
  ...a,
100
- children: /* @__PURE__ */ o.jsx("div", { className: "pb-4 pt-0", children: t })
97
+ children: /* @__PURE__ */ o("div", { className: "pb-4 pt-0", children: t })
101
98
  }
102
99
  ));
103
- ee.displayName = u.Content.displayName;
104
- const mt = c.Root, pt = c.Trigger, O = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx(c.Portal, { className: s(e), ...t });
105
- O.displayName = c.Portal.displayName;
106
- const E = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
100
+ ee.displayName = g.Content.displayName;
101
+ const te = w(
102
+ "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
103
+ {
104
+ variants: {
105
+ variant: {
106
+ default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
107
+ secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
108
+ destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
109
+ outline: "text-foreground"
110
+ }
111
+ },
112
+ defaultVariants: {
113
+ variant: "default"
114
+ }
115
+ }
116
+ ), pt = ({ className: e, variant: t, ...a }) => /* @__PURE__ */ o("div", { className: s(te({ variant: t }), e), ...a }), ut = c.Root, gt = c.Trigger, V = ({ className: e, ...t }) => /* @__PURE__ */ o(c.Portal, { className: s(e), ...t });
117
+ V.displayName = c.Portal.displayName;
118
+ const L = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
107
119
  c.Overlay,
108
120
  {
109
121
  className: s(
@@ -114,10 +126,10 @@ const E = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
114
126
  ref: a
115
127
  }
116
128
  ));
117
- E.displayName = c.Overlay.displayName;
118
- const te = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs(O, { children: [
119
- /* @__PURE__ */ o.jsx(E, {}),
120
- /* @__PURE__ */ o.jsx(
129
+ L.displayName = c.Overlay.displayName;
130
+ const ae = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ m(V, { children: [
131
+ /* @__PURE__ */ o(L, {}),
132
+ /* @__PURE__ */ o(
121
133
  c.Content,
122
134
  {
123
135
  ref: a,
@@ -129,30 +141,30 @@ const te = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs(O,
129
141
  }
130
142
  )
131
143
  ] }));
132
- te.displayName = c.Content.displayName;
133
- const ae = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
134
- ae.displayName = "AlertDialogHeader";
135
- const oe = ({ 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 });
136
- oe.displayName = "AlertDialogFooter";
137
- const se = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Title, { ref: a, className: s("text-lg font-semibold", e), ...t }));
138
- se.displayName = c.Title.displayName;
139
- const re = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
140
- re.displayName = c.Description.displayName;
141
- const ne = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Action, { ref: a, className: s(D(), e), ...t }));
142
- ne.displayName = c.Action.displayName;
143
- const de = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
144
+ ae.displayName = c.Content.displayName;
145
+ const oe = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
146
+ oe.displayName = "AlertDialogHeader";
147
+ const se = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
148
+ se.displayName = "AlertDialogFooter";
149
+ const re = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Title, { ref: a, className: s("text-lg font-semibold", e), ...t }));
150
+ re.displayName = c.Title.displayName;
151
+ const ne = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
152
+ ne.displayName = c.Description.displayName;
153
+ const de = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Action, { ref: a, className: s(A(), e), ...t }));
154
+ de.displayName = c.Action.displayName;
155
+ const ie = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
144
156
  c.Cancel,
145
157
  {
146
158
  ref: a,
147
- className: s(D({ variant: "outline" }), "mt-2 sm:mt-0", e),
159
+ className: s(A({ variant: "outline" }), "mt-2 sm:mt-0", e),
148
160
  ...t
149
161
  }
150
162
  ));
151
- de.displayName = c.Cancel.displayName;
152
- const ft = m.Root, ut = m.Trigger, L = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx(m.Portal, { className: s(e), ...t });
153
- L.displayName = m.Portal.displayName;
154
- const V = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
155
- m.Overlay,
163
+ ie.displayName = c.Cancel.displayName;
164
+ const bt = f.Root, xt = f.Trigger, E = ({ className: e, ...t }) => /* @__PURE__ */ o(f.Portal, { className: s(e), ...t });
165
+ E.displayName = f.Portal.displayName;
166
+ const _ = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
167
+ f.Overlay,
156
168
  {
157
169
  ref: a,
158
170
  className: s(
@@ -162,11 +174,11 @@ const V = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
162
174
  ...t
163
175
  }
164
176
  ));
165
- V.displayName = m.Overlay.displayName;
166
- const ie = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o.jsxs(L, { children: [
167
- /* @__PURE__ */ o.jsx(V, {}),
168
- /* @__PURE__ */ o.jsxs(
169
- m.Content,
177
+ _.displayName = f.Overlay.displayName;
178
+ const le = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(E, { children: [
179
+ /* @__PURE__ */ o(_, {}),
180
+ /* @__PURE__ */ m(
181
+ f.Content,
170
182
  {
171
183
  ref: r,
172
184
  className: s(
@@ -176,53 +188,53 @@ const ie = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
176
188
  ...a,
177
189
  children: [
178
190
  t,
179
- /* @__PURE__ */ o.jsxs(m.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: [
180
- /* @__PURE__ */ o.jsx(A, { className: "h-4 w-4" }),
181
- /* @__PURE__ */ o.jsx("span", { className: "sr-only", children: "Close" })
191
+ /* @__PURE__ */ m(f.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: [
192
+ /* @__PURE__ */ o(k, { className: "h-4 w-4" }),
193
+ /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
182
194
  ] })
183
195
  ]
184
196
  }
185
197
  )
186
198
  ] }));
187
- ie.displayName = m.Content.displayName;
188
- const le = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
189
- le.displayName = "DialogHeader";
190
- 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 });
191
- ce.displayName = "DialogFooter";
192
- const me = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
193
- m.Title,
199
+ le.displayName = f.Content.displayName;
200
+ const ce = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
201
+ ce.displayName = "DialogHeader";
202
+ const me = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
203
+ me.displayName = "DialogFooter";
204
+ const fe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
205
+ f.Title,
194
206
  {
195
207
  ref: a,
196
208
  className: s("text-lg font-semibold leading-none tracking-tight", e),
197
209
  ...t
198
210
  }
199
211
  ));
200
- me.displayName = m.Title.displayName;
201
- const pe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(m.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
202
- pe.displayName = m.Description.displayName;
203
- const fe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
204
- fe.displayName = "Card";
205
- const ue = n.forwardRef(
206
- ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("flex flex-col space-y-1.5 p-6", e), ...t })
207
- );
208
- ue.displayName = "CardHeader";
209
- const xe = n.forwardRef(
210
- ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("h3", { ref: a, className: s("font-semibold leading-none tracking-tight", e), ...t })
211
- );
212
- xe.displayName = "CardTitle";
212
+ fe.displayName = f.Title.displayName;
213
+ const pe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(f.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
214
+ pe.displayName = f.Description.displayName;
215
+ const ue = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
216
+ ue.displayName = "Card";
213
217
  const ge = n.forwardRef(
214
- ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("p", { ref: a, className: s("text-sm text-muted-foreground", e), ...t })
218
+ ({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("flex flex-col space-y-1.5 p-6", e), ...t })
215
219
  );
216
- ge.displayName = "CardDescription";
220
+ ge.displayName = "CardHeader";
217
221
  const be = n.forwardRef(
218
- ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("p-6 pt-0", e), ...t })
222
+ ({ className: e, ...t }, a) => /* @__PURE__ */ o("h3", { ref: a, className: s("font-semibold leading-none tracking-tight", e), ...t })
223
+ );
224
+ be.displayName = "CardTitle";
225
+ const xe = n.forwardRef(
226
+ ({ className: e, ...t }, a) => /* @__PURE__ */ o("p", { ref: a, className: s("text-sm text-muted-foreground", e), ...t })
227
+ );
228
+ xe.displayName = "CardDescription";
229
+ const ye = n.forwardRef(
230
+ ({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("p-6 pt-0", e), ...t })
219
231
  );
220
- be.displayName = "CardContent";
232
+ ye.displayName = "CardContent";
221
233
  const Ne = n.forwardRef(
222
- ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s(" flex items-center p-6 pt-0", e), ...t })
234
+ ({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s(" flex items-center p-6 pt-0", e), ...t })
223
235
  );
224
236
  Ne.displayName = "CardFooter";
225
- const ye = n.forwardRef(({ className: e, type: t, ...a }, r) => /* @__PURE__ */ o.jsx(
237
+ const ve = n.forwardRef(({ className: e, type: t, ...a }, r) => /* @__PURE__ */ o(
226
238
  "input",
227
239
  {
228
240
  type: t,
@@ -237,10 +249,10 @@ const ye = n.forwardRef(({ className: e, type: t, ...a }, r) => /* @__PURE__ */
237
249
  spellCheck: "false"
238
250
  }
239
251
  ));
240
- ye.displayName = "Input";
241
- const he = T("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), ve = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(P.Root, { ref: a, className: s(he(), e), ...t }));
242
- ve.displayName = P.Root.displayName;
243
- const we = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
252
+ ve.displayName = "Input";
253
+ const he = w("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), we = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(O.Root, { ref: a, className: s(he(), e), ...t }));
254
+ we.displayName = O.Root.displayName;
255
+ const Ce = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
244
256
  "textarea",
245
257
  {
246
258
  className: s(
@@ -254,15 +266,15 @@ const we = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
254
266
  spellCheck: "false"
255
267
  }
256
268
  ));
257
- we.displayName = "Textarea";
258
- const je = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o.jsxs(f.Root, { ref: r, className: s("relative overflow-hidden", e), ...a, children: [
259
- /* @__PURE__ */ o.jsx(f.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
260
- /* @__PURE__ */ o.jsx(_, {}),
261
- /* @__PURE__ */ o.jsx(f.Corner, {})
269
+ Ce.displayName = "Textarea";
270
+ const Re = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(u.Root, { ref: r, className: s("relative overflow-hidden", e), ...a, children: [
271
+ /* @__PURE__ */ o(u.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
272
+ /* @__PURE__ */ o(H, {}),
273
+ /* @__PURE__ */ o(u.Corner, {})
262
274
  ] }));
263
- je.displayName = f.Root.displayName;
264
- const _ = n.forwardRef(({ className: e, orientation: t = "vertical", ...a }, r) => /* @__PURE__ */ o.jsx(
265
- f.ScrollAreaScrollbar,
275
+ Re.displayName = u.Root.displayName;
276
+ const H = n.forwardRef(({ className: e, orientation: t = "vertical", ...a }, r) => /* @__PURE__ */ o(
277
+ u.ScrollAreaScrollbar,
266
278
  {
267
279
  ref: r,
268
280
  orientation: t,
@@ -273,12 +285,12 @@ const _ = n.forwardRef(({ className: e, orientation: t = "vertical", ...a }, r)
273
285
  e
274
286
  ),
275
287
  ...a,
276
- children: /* @__PURE__ */ o.jsx(f.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
288
+ children: /* @__PURE__ */ o(u.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
277
289
  }
278
290
  ));
279
- _.displayName = f.ScrollAreaScrollbar.displayName;
280
- const xt = x.Root, Ce = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
281
- x.List,
291
+ H.displayName = u.ScrollAreaScrollbar.displayName;
292
+ const yt = b.Root, Te = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
293
+ b.List,
282
294
  {
283
295
  ref: a,
284
296
  className: s(
@@ -288,9 +300,9 @@ const xt = x.Root, Ce = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__
288
300
  ...t
289
301
  }
290
302
  ));
291
- Ce.displayName = x.List.displayName;
292
- const Re = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
293
- x.Trigger,
303
+ Te.displayName = b.List.displayName;
304
+ const De = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
305
+ b.Trigger,
294
306
  {
295
307
  ref: a,
296
308
  className: s(
@@ -300,9 +312,9 @@ const Re = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
300
312
  ...t
301
313
  }
302
314
  ));
303
- Re.displayName = x.Trigger.displayName;
304
- const Te = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
305
- x.Content,
315
+ De.displayName = b.Trigger.displayName;
316
+ const Se = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
317
+ b.Content,
306
318
  {
307
319
  ref: a,
308
320
  className: s(
@@ -312,9 +324,9 @@ const Te = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
312
324
  ...t
313
325
  }
314
326
  ));
315
- Te.displayName = x.Content.displayName;
316
- const gt = g.Portal, bt = g.Provider, Nt = g.Root, yt = g.Trigger, De = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__PURE__ */ o.jsx(
317
- g.Content,
327
+ Se.displayName = b.Content.displayName;
328
+ const Nt = x.Portal, vt = x.Provider, ht = x.Root, wt = x.Trigger, Ae = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__PURE__ */ o(
329
+ x.Content,
318
330
  {
319
331
  ref: r,
320
332
  sideOffset: t,
@@ -325,8 +337,8 @@ const gt = g.Portal, bt = g.Provider, Nt = g.Root, yt = g.Trigger, De = n.forwar
325
337
  ...a
326
338
  }
327
339
  ));
328
- De.displayName = g.Content.displayName;
329
- const ht = N.Root, vt = N.Trigger, Se = n.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...r }, l) => /* @__PURE__ */ o.jsx(N.Portal, { children: /* @__PURE__ */ o.jsx(
340
+ Ae.displayName = x.Content.displayName;
341
+ const Ct = N.Root, Rt = N.Trigger, Ie = n.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...r }, l) => /* @__PURE__ */ o(N.Portal, { children: /* @__PURE__ */ o(
330
342
  N.Content,
331
343
  {
332
344
  ref: l,
@@ -339,9 +351,9 @@ const ht = N.Root, vt = N.Trigger, Se = n.forwardRef(({ className: e, align: t =
339
351
  ...r
340
352
  }
341
353
  ) }));
342
- Se.displayName = N.Content.displayName;
343
- const wt = v.Root, jt = v.Trigger, Ae = n.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...r }, l) => /* @__PURE__ */ o.jsx(
344
- v.Content,
354
+ Ie.displayName = N.Content.displayName;
355
+ const Tt = C.Root, Dt = C.Trigger, ke = n.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...r }, l) => /* @__PURE__ */ o(
356
+ C.Content,
345
357
  {
346
358
  ref: l,
347
359
  align: t,
@@ -353,8 +365,8 @@ const wt = v.Root, jt = v.Trigger, Ae = n.forwardRef(({ className: e, align: t =
353
365
  ...r
354
366
  }
355
367
  ));
356
- Ae.displayName = v.Content.displayName;
357
- const Ct = d.Root, Rt = d.Trigger, Tt = d.Group, Dt = d.Portal, St = d.Sub, At = d.RadioGroup, Ie = n.forwardRef(({ className: e, inset: t, children: a, ...r }, l) => /* @__PURE__ */ o.jsxs(
368
+ ke.displayName = C.Content.displayName;
369
+ const St = d.Root, At = d.Trigger, It = d.Group, kt = d.Portal, Mt = d.Sub, Pt = d.RadioGroup, Me = n.forwardRef(({ className: e, inset: t, children: a, ...r }, l) => /* @__PURE__ */ m(
358
370
  d.SubTrigger,
359
371
  {
360
372
  ref: l,
@@ -366,12 +378,12 @@ const Ct = d.Root, Rt = d.Trigger, Tt = d.Group, Dt = d.Portal, St = d.Sub, At =
366
378
  ...r,
367
379
  children: [
368
380
  a,
369
- /* @__PURE__ */ o.jsx(I, { className: "ml-auto h-4 w-4" })
381
+ /* @__PURE__ */ o(M, { className: "ml-auto h-4 w-4" })
370
382
  ]
371
383
  }
372
384
  ));
373
- Ie.displayName = d.SubTrigger.displayName;
374
- const ke = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
385
+ Me.displayName = d.SubTrigger.displayName;
386
+ const Pe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
375
387
  d.SubContent,
376
388
  {
377
389
  ref: a,
@@ -382,8 +394,8 @@ const ke = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
382
394
  ...t
383
395
  }
384
396
  ));
385
- ke.displayName = d.SubContent.displayName;
386
- const Me = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__PURE__ */ o.jsx(d.Portal, { children: /* @__PURE__ */ o.jsx(
397
+ Pe.displayName = d.SubContent.displayName;
398
+ const ze = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__PURE__ */ o(d.Portal, { children: /* @__PURE__ */ o(
387
399
  d.Content,
388
400
  {
389
401
  ref: r,
@@ -396,8 +408,8 @@ const Me = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__
396
408
  ...a
397
409
  }
398
410
  ) }));
399
- Me.displayName = d.Content.displayName;
400
- const Pe = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o.jsx(
411
+ ze.displayName = d.Content.displayName;
412
+ const Oe = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
401
413
  d.Item,
402
414
  {
403
415
  ref: r,
@@ -409,8 +421,8 @@ const Pe = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
409
421
  ...a
410
422
  }
411
423
  ));
412
- Pe.displayName = d.Item.displayName;
413
- const ze = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) => /* @__PURE__ */ o.jsxs(
424
+ Oe.displayName = d.Item.displayName;
425
+ const je = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) => /* @__PURE__ */ m(
414
426
  d.CheckboxItem,
415
427
  {
416
428
  ref: l,
@@ -421,13 +433,13 @@ const ze = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) =>
421
433
  checked: a,
422
434
  ...r,
423
435
  children: [
424
- /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(d.ItemIndicator, { children: /* @__PURE__ */ o.jsx(k, { className: "h-4 w-4" }) }) }),
436
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(d.ItemIndicator, { children: /* @__PURE__ */ o(P, { className: "h-4 w-4" }) }) }),
425
437
  t
426
438
  ]
427
439
  }
428
440
  ));
429
- ze.displayName = d.CheckboxItem.displayName;
430
- const Oe = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o.jsxs(
441
+ je.displayName = d.CheckboxItem.displayName;
442
+ const Ve = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(
431
443
  d.RadioItem,
432
444
  {
433
445
  ref: r,
@@ -437,13 +449,13 @@ const Oe = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
437
449
  ),
438
450
  ...a,
439
451
  children: [
440
- /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(d.ItemIndicator, { children: /* @__PURE__ */ o.jsx(M, { className: "h-4 w-4 fill-current" }) }) }),
452
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(d.ItemIndicator, { children: /* @__PURE__ */ o(z, { className: "h-4 w-4 fill-current" }) }) }),
441
453
  t
442
454
  ]
443
455
  }
444
456
  ));
445
- Oe.displayName = d.RadioItem.displayName;
446
- const Ee = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o.jsx(
457
+ Ve.displayName = d.RadioItem.displayName;
458
+ const Le = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
447
459
  d.Label,
448
460
  {
449
461
  ref: r,
@@ -451,13 +463,13 @@ const Ee = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
451
463
  ...a
452
464
  }
453
465
  ));
454
- Ee.displayName = d.Label.displayName;
455
- const Le = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(d.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
456
- Le.displayName = d.Separator.displayName;
457
- const Ve = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest opacity-60", e), ...t });
458
- Ve.displayName = "DropdownMenuShortcut";
459
- const _e = n.forwardRef(({ className: e, orientation: t = "horizontal", decorative: a = !0, ...r }, l) => /* @__PURE__ */ o.jsx(
460
- z.Root,
466
+ Le.displayName = d.Label.displayName;
467
+ const Ee = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(d.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
468
+ Ee.displayName = d.Separator.displayName;
469
+ const _e = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest opacity-60", e), ...t });
470
+ _e.displayName = "DropdownMenuShortcut";
471
+ const He = n.forwardRef(({ className: e, orientation: t = "horizontal", decorative: a = !0, ...r }, l) => /* @__PURE__ */ o(
472
+ j.Root,
461
473
  {
462
474
  ref: l,
463
475
  decorative: a,
@@ -466,28 +478,28 @@ const _e = n.forwardRef(({ className: e, orientation: t = "horizontal", decorati
466
478
  ...r
467
479
  }
468
480
  ));
469
- _e.displayName = z.Root.displayName;
470
- const He = 1, Ge = 1e6;
471
- let j = 0;
472
- function Fe() {
473
- return j = (j + 1) % Number.MAX_VALUE, j.toString();
481
+ He.displayName = j.Root.displayName;
482
+ const Ge = 1, Fe = 1e6;
483
+ let T = 0;
484
+ function Be() {
485
+ return T = (T + 1) % Number.MAX_VALUE, T.toString();
474
486
  }
475
- const C = /* @__PURE__ */ new Map(), S = (e) => {
476
- if (C.has(e))
487
+ const D = /* @__PURE__ */ new Map(), I = (e) => {
488
+ if (D.has(e))
477
489
  return;
478
490
  const t = setTimeout(() => {
479
- C.delete(e), b({
491
+ D.delete(e), y({
480
492
  type: "REMOVE_TOAST",
481
493
  toastId: e
482
494
  });
483
- }, Ge);
484
- C.set(e, t);
485
- }, Be = (e, t) => {
495
+ }, Fe);
496
+ D.set(e, t);
497
+ }, Ue = (e, t) => {
486
498
  switch (t.type) {
487
499
  case "ADD_TOAST":
488
500
  return {
489
501
  ...e,
490
- toasts: [t.toast, ...e.toasts].slice(0, He)
502
+ toasts: [t.toast, ...e.toasts].slice(0, Ge)
491
503
  };
492
504
  case "UPDATE_TOAST":
493
505
  return {
@@ -496,8 +508,8 @@ const C = /* @__PURE__ */ new Map(), S = (e) => {
496
508
  };
497
509
  case "DISMISS_TOAST": {
498
510
  const { toastId: a } = t;
499
- return a ? S(a) : e.toasts.forEach((r) => {
500
- S(r.id);
511
+ return a ? I(a) : e.toasts.forEach((r) => {
512
+ I(r.id);
501
513
  }), {
502
514
  ...e,
503
515
  toasts: e.toasts.map(
@@ -517,19 +529,19 @@ const C = /* @__PURE__ */ new Map(), S = (e) => {
517
529
  toasts: e.toasts.filter((a) => a.id !== t.toastId)
518
530
  };
519
531
  }
520
- }, y = [];
532
+ }, v = [];
521
533
  let h = { toasts: [] };
522
- function b(e) {
523
- h = Be(h, e), y.forEach((t) => {
534
+ function y(e) {
535
+ h = Ue(h, e), v.forEach((t) => {
524
536
  t(h);
525
537
  });
526
538
  }
527
- function Ue({ ...e }) {
528
- const t = Fe(), a = (l) => b({
539
+ function qe({ ...e }) {
540
+ const t = Be(), a = (l) => y({
529
541
  type: "UPDATE_TOAST",
530
542
  toast: { ...l, id: t }
531
- }), r = () => b({ type: "DISMISS_TOAST", toastId: t });
532
- return b({
543
+ }), r = () => y({ type: "DISMISS_TOAST", toastId: t });
544
+ return y({
533
545
  type: "ADD_TOAST",
534
546
  toast: {
535
547
  ...e,
@@ -545,18 +557,18 @@ function Ue({ ...e }) {
545
557
  update: a
546
558
  };
547
559
  }
548
- function qe() {
560
+ function Qe() {
549
561
  const [e, t] = n.useState(h);
550
- return n.useEffect(() => (y.push(t), () => {
551
- const a = y.indexOf(t);
552
- a > -1 && y.splice(a, 1);
562
+ return n.useEffect(() => (v.push(t), () => {
563
+ const a = v.indexOf(t);
564
+ a > -1 && v.splice(a, 1);
553
565
  }), [e]), {
554
566
  ...e,
555
- toast: Ue,
556
- dismiss: (a) => b({ type: "DISMISS_TOAST", toastId: a })
567
+ toast: qe,
568
+ dismiss: (a) => y({ type: "DISMISS_TOAST", toastId: a })
557
569
  };
558
570
  }
559
- const Qe = p.Provider, H = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
571
+ const Xe = p.Provider, G = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
560
572
  p.Viewport,
561
573
  {
562
574
  ref: a,
@@ -567,8 +579,8 @@ const Qe = p.Provider, H = n.forwardRef(({ className: e, ...t }, a) => /* @__PUR
567
579
  ...t
568
580
  }
569
581
  ));
570
- H.displayName = p.Viewport.displayName;
571
- const Xe = T(
582
+ G.displayName = p.Viewport.displayName;
583
+ const Ye = w(
572
584
  "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",
573
585
  {
574
586
  variants: {
@@ -581,9 +593,9 @@ const Xe = T(
581
593
  variant: "default"
582
594
  }
583
595
  }
584
- ), G = n.forwardRef(({ className: e, variant: t, ...a }, r) => /* @__PURE__ */ o.jsx(p.Root, { ref: r, className: s(Xe({ variant: t }), e), ...a }));
585
- G.displayName = p.Root.displayName;
586
- const Ye = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
596
+ ), F = n.forwardRef(({ className: e, variant: t, ...a }, r) => /* @__PURE__ */ o(p.Root, { ref: r, className: s(Ye({ variant: t }), e), ...a }));
597
+ F.displayName = p.Root.displayName;
598
+ const Je = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
587
599
  p.Action,
588
600
  {
589
601
  ref: a,
@@ -594,8 +606,8 @@ const Ye = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
594
606
  ...t
595
607
  }
596
608
  ));
597
- Ye.displayName = p.Action.displayName;
598
- const F = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
609
+ Je.displayName = p.Action.displayName;
610
+ const B = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
599
611
  p.Close,
600
612
  {
601
613
  ref: a,
@@ -605,29 +617,29 @@ const F = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
605
617
  ),
606
618
  "toast-close": "",
607
619
  ...t,
608
- children: /* @__PURE__ */ o.jsx(A, { className: "h-4 w-4" })
620
+ children: /* @__PURE__ */ o(k, { className: "h-4 w-4" })
609
621
  }
610
622
  ));
611
- F.displayName = p.Close.displayName;
612
- const B = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(p.Title, { ref: a, className: s("text-sm font-semibold [&+div]:text-xs", e), ...t }));
613
- B.displayName = p.Title.displayName;
614
- const U = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(p.Description, { ref: a, className: s("text-sm opacity-90", e), ...t }));
615
- U.displayName = p.Description.displayName;
616
- function It() {
617
- const { toasts: e } = qe();
618
- return /* @__PURE__ */ o.jsxs(Qe, { children: [
619
- e.map(({ id: t, title: a, description: r, action: l, ...w }) => /* @__PURE__ */ o.jsxs(G, { ...w, children: [
620
- /* @__PURE__ */ o.jsxs("div", { className: "grid gap-1", children: [
621
- a && /* @__PURE__ */ o.jsx(B, { children: a }),
622
- r && /* @__PURE__ */ o.jsx(U, { children: r })
623
+ B.displayName = p.Close.displayName;
624
+ const U = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(p.Title, { ref: a, className: s("text-sm font-semibold [&+div]:text-xs", e), ...t }));
625
+ U.displayName = p.Title.displayName;
626
+ const q = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(p.Description, { ref: a, className: s("text-sm opacity-90", e), ...t }));
627
+ q.displayName = p.Description.displayName;
628
+ function zt() {
629
+ const { toasts: e } = Qe();
630
+ return /* @__PURE__ */ m(Xe, { children: [
631
+ e.map(({ id: t, title: a, description: r, action: l, ...R }) => /* @__PURE__ */ m(F, { ...R, children: [
632
+ /* @__PURE__ */ m("div", { className: "grid gap-1", children: [
633
+ a && /* @__PURE__ */ o(U, { children: a }),
634
+ r && /* @__PURE__ */ o(q, { children: r })
623
635
  ] }),
624
636
  l,
625
- /* @__PURE__ */ o.jsx(F, {})
637
+ /* @__PURE__ */ o(B, {})
626
638
  ] }, t)),
627
- /* @__PURE__ */ o.jsx(H, {})
639
+ /* @__PURE__ */ o(G, {})
628
640
  ] });
629
641
  }
630
- const kt = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("animate-pulse rounded-md bg-primary/10", e), ...t }), Mt = i.Root, Pt = i.Trigger, zt = i.Group, Ot = i.Portal, Et = i.Sub, Lt = i.RadioGroup, Je = n.forwardRef(({ className: e, inset: t, children: a, ...r }, l) => /* @__PURE__ */ o.jsxs(
642
+ const Ot = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("animate-pulse rounded-md bg-primary/10", e), ...t }), jt = i.Root, Vt = i.Trigger, Lt = i.Group, Et = i.Portal, _t = i.Sub, Ht = i.RadioGroup, Ke = n.forwardRef(({ className: e, inset: t, children: a, ...r }, l) => /* @__PURE__ */ m(
631
643
  i.SubTrigger,
632
644
  {
633
645
  ref: l,
@@ -639,12 +651,12 @@ const kt = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className:
639
651
  ...r,
640
652
  children: [
641
653
  a,
642
- /* @__PURE__ */ o.jsx(I, { className: "ml-auto h-4 w-4" })
654
+ /* @__PURE__ */ o(M, { className: "ml-auto h-4 w-4" })
643
655
  ]
644
656
  }
645
657
  ));
646
- Je.displayName = i.SubTrigger.displayName;
647
- const Ke = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
658
+ Ke.displayName = i.SubTrigger.displayName;
659
+ const We = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
648
660
  i.SubContent,
649
661
  {
650
662
  ref: a,
@@ -655,8 +667,8 @@ const Ke = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
655
667
  ...t
656
668
  }
657
669
  ));
658
- Ke.displayName = i.SubContent.displayName;
659
- const We = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.Portal, { children: /* @__PURE__ */ o.jsx(
670
+ We.displayName = i.SubContent.displayName;
671
+ const Ze = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(i.Portal, { children: /* @__PURE__ */ o(
660
672
  i.Content,
661
673
  {
662
674
  ref: a,
@@ -667,8 +679,8 @@ const We = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.P
667
679
  ...t
668
680
  }
669
681
  ) }));
670
- We.displayName = i.Content.displayName;
671
- const Ze = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o.jsx(
682
+ Ze.displayName = i.Content.displayName;
683
+ const $e = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
672
684
  i.Item,
673
685
  {
674
686
  ref: r,
@@ -680,8 +692,8 @@ const Ze = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
680
692
  ...a
681
693
  }
682
694
  ));
683
- Ze.displayName = i.Item.displayName;
684
- const $e = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) => /* @__PURE__ */ o.jsxs(
695
+ $e.displayName = i.Item.displayName;
696
+ const et = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) => /* @__PURE__ */ m(
685
697
  i.CheckboxItem,
686
698
  {
687
699
  ref: l,
@@ -692,13 +704,13 @@ const $e = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) =>
692
704
  checked: a,
693
705
  ...r,
694
706
  children: [
695
- /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(i.ItemIndicator, { children: /* @__PURE__ */ o.jsx(k, { className: "h-4 w-4" }) }) }),
707
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(i.ItemIndicator, { children: /* @__PURE__ */ o(P, { className: "h-4 w-4" }) }) }),
696
708
  t
697
709
  ]
698
710
  }
699
711
  ));
700
- $e.displayName = i.CheckboxItem.displayName;
701
- const et = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o.jsxs(
712
+ et.displayName = i.CheckboxItem.displayName;
713
+ const tt = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(
702
714
  i.RadioItem,
703
715
  {
704
716
  ref: r,
@@ -708,13 +720,13 @@ const et = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
708
720
  ),
709
721
  ...a,
710
722
  children: [
711
- /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(i.ItemIndicator, { children: /* @__PURE__ */ o.jsx(M, { className: "h-4 w-4 fill-current" }) }) }),
723
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(i.ItemIndicator, { children: /* @__PURE__ */ o(z, { className: "h-4 w-4 fill-current" }) }) }),
712
724
  t
713
725
  ]
714
726
  }
715
727
  ));
716
- et.displayName = i.RadioItem.displayName;
717
- const tt = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o.jsx(
728
+ tt.displayName = i.RadioItem.displayName;
729
+ const at = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
718
730
  i.Label,
719
731
  {
720
732
  ref: r,
@@ -722,96 +734,98 @@ const tt = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
722
734
  ...a
723
735
  }
724
736
  ));
725
- tt.displayName = i.Label.displayName;
726
- const at = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-border", e), ...t }));
727
- at.displayName = i.Separator.displayName;
728
- const ot = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
729
- ot.displayName = "ContextMenuShortcut";
737
+ at.displayName = i.Label.displayName;
738
+ const ot = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(i.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-border", e), ...t }));
739
+ ot.displayName = i.Separator.displayName;
740
+ const st = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
741
+ st.displayName = "ContextMenuShortcut";
730
742
  export {
731
- Me as $,
732
- ct as A,
743
+ St as $,
744
+ ft as A,
733
745
  W as B,
734
- fe as C,
735
- ft as D,
736
- je as E,
737
- _ as F,
738
- xt as G,
739
- Ce as H,
740
- ye as I,
741
- Re as J,
746
+ ue as C,
747
+ bt as D,
748
+ xe as E,
749
+ ye as F,
750
+ Re as G,
751
+ H,
752
+ ve as I,
753
+ yt as J,
742
754
  Te as K,
743
- ve as L,
744
- Nt as M,
745
- yt as N,
746
- De as O,
747
- bt as P,
748
- gt as Q,
749
- ht as R,
750
- kt as S,
751
- we as T,
752
- vt as U,
753
- Se as V,
754
- wt as W,
755
- jt as X,
756
- Ae as Y,
757
- Ct as Z,
758
- Rt as _,
759
- ie as a,
760
- Pe as a0,
755
+ we as L,
756
+ De as M,
757
+ Se as N,
758
+ ht as O,
759
+ wt as P,
760
+ Ae as Q,
761
+ vt as R,
762
+ Ot as S,
763
+ Ce as T,
764
+ Nt as U,
765
+ Ct as V,
766
+ Rt as W,
767
+ Ie as X,
768
+ Tt as Y,
769
+ Dt as Z,
770
+ ke as _,
771
+ le as a,
772
+ At as a0,
761
773
  ze as a1,
762
774
  Oe as a2,
763
- Ee as a3,
764
- Le as a4,
765
- Ve as a5,
766
- Tt as a6,
767
- Dt as a7,
768
- St as a8,
769
- ke as a9,
770
- Ie as aa,
771
- At as ab,
772
- _e as ac,
773
- Be as ad,
774
- qe as ae,
775
+ je as a3,
776
+ Ve as a4,
777
+ Le as a5,
778
+ Ee as a6,
779
+ _e as a7,
780
+ It as a8,
781
+ kt as a9,
782
+ Mt as aa,
783
+ Pe as ab,
784
+ Me as ac,
785
+ Pt as ad,
786
+ He as ae,
775
787
  Ue as af,
776
- It as ag,
777
- Mt as ah,
778
- Pt as ai,
779
- We as aj,
780
- Ze as ak,
781
- $e as al,
782
- et as am,
783
- tt as an,
784
- at as ao,
785
- ot as ap,
786
- zt as aq,
787
- Ot as ar,
788
- Et as as,
789
- Ke as at,
790
- Je as au,
791
- Lt as av,
788
+ Qe as ag,
789
+ qe as ah,
790
+ zt as ai,
791
+ jt as aj,
792
+ Vt as ak,
793
+ Ze as al,
794
+ $e as am,
795
+ et as an,
796
+ tt as ao,
797
+ at as ap,
798
+ ot as aq,
799
+ st as ar,
800
+ Lt as as,
801
+ Et as at,
802
+ _t as au,
803
+ We as av,
804
+ Ke as aw,
805
+ Ht as ax,
792
806
  K as b,
793
807
  s as c,
794
- D as d,
808
+ A as d,
795
809
  Z as e,
796
810
  $ as f,
797
811
  ee as g,
798
- mt as h,
799
- pt as i,
800
- te as j,
801
- ae as k,
802
- oe as l,
803
- se as m,
804
- re as n,
805
- ne as o,
806
- de as p,
807
- ut as q,
808
- le as r,
809
- ce as s,
810
- me as t,
811
- pe as u,
812
- ue as v,
813
- Ne as w,
814
- xe as x,
815
- ge as y,
812
+ pt as h,
813
+ te as i,
814
+ ut as j,
815
+ gt as k,
816
+ ae as l,
817
+ oe as m,
818
+ se as n,
819
+ re as o,
820
+ ne as p,
821
+ de as q,
822
+ ie as r,
823
+ xt as s,
824
+ ce as t,
825
+ me as u,
826
+ fe as v,
827
+ pe as w,
828
+ ge as x,
829
+ Ne as y,
816
830
  be as z
817
831
  };