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

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