@chaibuilder/sdk 2.0.7 → 2.0.8

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,27 +1,28 @@
1
1
  import { jsx as o, jsxs as p } from "react/jsx-runtime";
2
2
  import * as r from "react";
3
3
  import * as u from "@radix-ui/react-accordion";
4
- import { ChevronDownIcon as A, Cross2Icon as _, MagnifyingGlassIcon as M, ChevronRightIcon as j, CheckIcon as H, DotFilledIcon as L } from "@radix-ui/react-icons";
4
+ import { ChevronDownIcon as _, Cross2Icon as M, MagnifyingGlassIcon as j, ChevronRightIcon as H, CheckIcon as L, DotFilledIcon as F } from "@radix-ui/react-icons";
5
5
  import * as i from "@radix-ui/react-alert-dialog";
6
6
  import { Slot as G } from "@radix-ui/react-slot";
7
- import { cva as h } from "class-variance-authority";
7
+ import { cva as w } from "class-variance-authority";
8
+ import * as b from "@radix-ui/react-avatar";
8
9
  import { Command as l } from "cmdk";
9
10
  import * as m from "@radix-ui/react-dialog";
10
11
  import * as n from "@radix-ui/react-dropdown-menu";
11
- import * as N from "@radix-ui/react-hover-card";
12
- import * as v from "@radix-ui/react-label";
13
- import * as y from "@radix-ui/react-popover";
12
+ import * as x from "@radix-ui/react-hover-card";
13
+ import * as C from "@radix-ui/react-label";
14
+ import * as N from "@radix-ui/react-popover";
14
15
  import * as f from "@radix-ui/react-scroll-area";
15
- import * as C from "@radix-ui/react-separator";
16
- import { useTheme as F } from "next-themes";
17
- import { Toaster as O } from "sonner";
18
- import * as x from "@radix-ui/react-switch";
16
+ import * as R from "@radix-ui/react-separator";
17
+ import { useTheme as O } from "next-themes";
18
+ import { Toaster as B } from "sonner";
19
+ import * as h from "@radix-ui/react-switch";
19
20
  import * as g from "@radix-ui/react-tabs";
20
- import * as b from "@radix-ui/react-tooltip";
21
- import { clsx as B } from "clsx";
22
- import { twMerge as V } from "tailwind-merge";
23
- const s = (...a) => V(B(a)), Xe = u.Root, E = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(u.Item, { ref: t, className: s("border-b", a), ...e }));
24
- E.displayName = "AccordionItem";
21
+ import * as y from "@radix-ui/react-tooltip";
22
+ import { clsx as V } from "clsx";
23
+ import { twMerge as E } from "tailwind-merge";
24
+ const s = (...a) => E(V(a)), aa = u.Root, q = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(u.Item, { ref: t, className: s("border-b", a), ...e }));
25
+ q.displayName = "AccordionItem";
25
26
  const $ = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ o(u.Header, { className: "flex", children: /* @__PURE__ */ p(
26
27
  u.Trigger,
27
28
  {
@@ -33,12 +34,12 @@ const $ = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__
33
34
  ...t,
34
35
  children: [
35
36
  e,
36
- t.hideArrow ? null : /* @__PURE__ */ o(A, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
37
+ t.hideArrow ? null : /* @__PURE__ */ o(_, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
37
38
  ]
38
39
  }
39
40
  ) }));
40
41
  $.displayName = u.Trigger.displayName;
41
- const q = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ o(
42
+ const J = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ o(
42
43
  u.Content,
43
44
  {
44
45
  ref: d,
@@ -50,8 +51,8 @@ const q = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__
50
51
  children: /* @__PURE__ */ o("div", { className: "pb-4 pt-0", children: e })
51
52
  }
52
53
  ));
53
- q.displayName = u.Content.displayName;
54
- const w = h(
54
+ J.displayName = u.Content.displayName;
55
+ const v = w(
55
56
  "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",
56
57
  {
57
58
  variants: {
@@ -75,13 +76,13 @@ const w = h(
75
76
  size: "default"
76
77
  }
77
78
  }
78
- ), J = r.forwardRef(
79
- ({ className: a, variant: e, size: t, asChild: d = !1, ...c }, P) => /* @__PURE__ */ o(d ? G : "button", { className: s(w({ variant: e, size: t, className: a })), ref: P, ...c })
79
+ ), K = r.forwardRef(
80
+ ({ className: a, variant: e, size: t, asChild: d = !1, ...c }, z) => /* @__PURE__ */ o(d ? G : "button", { className: s(v({ variant: e, size: t, className: a })), ref: z, ...c })
80
81
  );
81
- J.displayName = "Button";
82
- const Ye = i.Root, Ze = i.Trigger, R = ({ className: a, ...e }) => /* @__PURE__ */ o(i.Portal, { className: s(a), ...e });
83
- R.displayName = i.Portal.displayName;
84
- const k = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
82
+ K.displayName = "Button";
83
+ const ta = i.Root, oa = i.Trigger, k = ({ className: a, ...e }) => /* @__PURE__ */ o(i.Portal, { className: s(a), ...e });
84
+ k.displayName = i.Portal.displayName;
85
+ const D = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
85
86
  i.Overlay,
86
87
  {
87
88
  className: s(
@@ -92,9 +93,9 @@ const k = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
92
93
  ref: t
93
94
  }
94
95
  ));
95
- k.displayName = i.Overlay.displayName;
96
- const K = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(R, { children: [
97
- /* @__PURE__ */ o(k, {}),
96
+ D.displayName = i.Overlay.displayName;
97
+ const Q = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(k, { children: [
98
+ /* @__PURE__ */ o(D, {}),
98
99
  /* @__PURE__ */ o(
99
100
  i.Content,
100
101
  {
@@ -107,27 +108,47 @@ const K = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(R, { chi
107
108
  }
108
109
  )
109
110
  ] }));
110
- K.displayName = i.Content.displayName;
111
- const Q = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", a), ...e });
112
- Q.displayName = "AlertDialogHeader";
113
- const U = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
114
- U.displayName = "AlertDialogFooter";
115
- const W = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(i.Title, { ref: t, className: s("text-lg font-semibold", a), ...e }));
116
- W.displayName = i.Title.displayName;
117
- const X = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(i.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
118
- X.displayName = i.Description.displayName;
119
- const Y = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(i.Action, { ref: t, className: s(w(), a), ...e }));
120
- Y.displayName = i.Action.displayName;
121
- const Z = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
111
+ Q.displayName = i.Content.displayName;
112
+ const U = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", a), ...e });
113
+ U.displayName = "AlertDialogHeader";
114
+ const W = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
115
+ W.displayName = "AlertDialogFooter";
116
+ const X = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(i.Title, { ref: t, className: s("text-lg font-semibold", a), ...e }));
117
+ X.displayName = i.Title.displayName;
118
+ const Y = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(i.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
119
+ Y.displayName = i.Description.displayName;
120
+ const Z = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(i.Action, { ref: t, className: s(v(), a), ...e }));
121
+ Z.displayName = i.Action.displayName;
122
+ const ee = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
122
123
  i.Cancel,
123
124
  {
124
125
  ref: t,
125
- className: s(w({ variant: "outline" }), "mt-2 sm:mt-0", a),
126
+ className: s(v({ variant: "outline" }), "mt-2 sm:mt-0", a),
126
127
  ...e
127
128
  }
128
129
  ));
129
- Z.displayName = i.Cancel.displayName;
130
- const ee = h(
130
+ ee.displayName = i.Cancel.displayName;
131
+ const ae = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
132
+ b.Root,
133
+ {
134
+ ref: t,
135
+ className: s("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", a),
136
+ ...e
137
+ }
138
+ ));
139
+ ae.displayName = b.Root.displayName;
140
+ const te = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(b.Image, { ref: t, className: s("aspect-square h-full w-full", a), ...e }));
141
+ te.displayName = b.Image.displayName;
142
+ const oe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
143
+ b.Fallback,
144
+ {
145
+ ref: t,
146
+ className: s("flex h-full w-full items-center justify-center rounded-full bg-muted", a),
147
+ ...e
148
+ }
149
+ ));
150
+ oe.displayName = b.Fallback.displayName;
151
+ const se = w(
131
152
  "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",
132
153
  {
133
154
  variants: {
@@ -142,31 +163,31 @@ const ee = h(
142
163
  variant: "default"
143
164
  }
144
165
  }
145
- ), ea = ({ className: a, variant: e, ...t }) => /* @__PURE__ */ o("div", { className: s(ee({ variant: e }), a), ...t }), ae = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("rounded-xl border bg-card text-card-foreground shadow", a), ...e }));
146
- ae.displayName = "Card";
147
- const te = r.forwardRef(
166
+ ), sa = ({ className: a, variant: e, ...t }) => /* @__PURE__ */ o("div", { className: s(se({ variant: e }), a), ...t }), re = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("rounded-xl border bg-card text-card-foreground shadow", a), ...e }));
167
+ re.displayName = "Card";
168
+ const de = r.forwardRef(
148
169
  ({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("flex flex-col space-y-1.5 p-6", a), ...e })
149
170
  );
150
- te.displayName = "CardHeader";
151
- const oe = r.forwardRef(
171
+ de.displayName = "CardHeader";
172
+ const ne = r.forwardRef(
152
173
  ({ className: a, ...e }, t) => /* @__PURE__ */ o("h3", { ref: t, className: s("font-semibold leading-none tracking-tight", a), ...e })
153
174
  );
154
- oe.displayName = "CardTitle";
155
- const se = r.forwardRef(
175
+ ne.displayName = "CardTitle";
176
+ const ie = r.forwardRef(
156
177
  ({ className: a, ...e }, t) => /* @__PURE__ */ o("p", { ref: t, className: s("text-sm text-muted-foreground", a), ...e })
157
178
  );
158
- se.displayName = "CardDescription";
159
- const re = r.forwardRef(
179
+ ie.displayName = "CardDescription";
180
+ const le = r.forwardRef(
160
181
  ({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("p-6 pt-0", a), ...e })
161
182
  );
162
- re.displayName = "CardContent";
163
- const de = r.forwardRef(
183
+ le.displayName = "CardContent";
184
+ const me = r.forwardRef(
164
185
  ({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s(" flex items-center p-6 pt-0", a), ...e })
165
186
  );
166
- de.displayName = "CardFooter";
167
- const ne = m.Root, aa = m.Trigger, D = ({ className: a, ...e }) => /* @__PURE__ */ o(m.Portal, { className: s(a), ...e });
168
- D.displayName = m.Portal.displayName;
169
- const T = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
187
+ me.displayName = "CardFooter";
188
+ const ce = m.Root, ra = m.Trigger, T = ({ className: a, ...e }) => /* @__PURE__ */ o(m.Portal, { className: s(a), ...e });
189
+ T.displayName = m.Portal.displayName;
190
+ const A = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
170
191
  m.Overlay,
171
192
  {
172
193
  ref: t,
@@ -177,9 +198,9 @@ const T = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
177
198
  ...e
178
199
  }
179
200
  ));
180
- T.displayName = m.Overlay.displayName;
181
- const S = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ p(D, { children: [
182
- /* @__PURE__ */ o(T, {}),
201
+ A.displayName = m.Overlay.displayName;
202
+ const I = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ p(T, { children: [
203
+ /* @__PURE__ */ o(A, {}),
183
204
  /* @__PURE__ */ p(
184
205
  m.Content,
185
206
  {
@@ -192,19 +213,19 @@ const S = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__
192
213
  children: [
193
214
  e,
194
215
  /* @__PURE__ */ p(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: [
195
- /* @__PURE__ */ o(_, { className: "h-4 w-4" }),
216
+ /* @__PURE__ */ o(M, { className: "h-4 w-4" }),
196
217
  /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
197
218
  ] })
198
219
  ]
199
220
  }
200
221
  )
201
222
  ] }));
202
- S.displayName = m.Content.displayName;
203
- const ie = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", a), ...e });
204
- ie.displayName = "DialogHeader";
205
- const le = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
206
- le.displayName = "DialogFooter";
207
- const me = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
223
+ I.displayName = m.Content.displayName;
224
+ const pe = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", a), ...e });
225
+ pe.displayName = "DialogHeader";
226
+ const fe = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
227
+ fe.displayName = "DialogFooter";
228
+ const ue = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
208
229
  m.Title,
209
230
  {
210
231
  ref: t,
@@ -212,10 +233,10 @@ const me = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
212
233
  ...e
213
234
  }
214
235
  ));
215
- me.displayName = m.Title.displayName;
216
- const ce = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(m.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
217
- ce.displayName = m.Description.displayName;
218
- const z = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
236
+ ue.displayName = m.Title.displayName;
237
+ const ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(m.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
238
+ ge.displayName = m.Description.displayName;
239
+ const S = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
219
240
  l,
220
241
  {
221
242
  ref: t,
@@ -226,9 +247,9 @@ const z = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
226
247
  ...e
227
248
  }
228
249
  ));
229
- z.displayName = l.displayName;
230
- const ta = ({ children: a, ...e }) => /* @__PURE__ */ o(ne, { ...e, children: /* @__PURE__ */ o(S, { className: "overflow-hidden p-0", children: /* @__PURE__ */ o(z, { 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: a }) }) }), pe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
231
- /* @__PURE__ */ o(M, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
250
+ S.displayName = l.displayName;
251
+ const da = ({ children: a, ...e }) => /* @__PURE__ */ o(ce, { ...e, children: /* @__PURE__ */ o(I, { className: "overflow-hidden p-0", children: /* @__PURE__ */ o(S, { 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: a }) }) }), be = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
252
+ /* @__PURE__ */ o(j, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
232
253
  /* @__PURE__ */ o(
233
254
  l.Input,
234
255
  {
@@ -241,8 +262,8 @@ const ta = ({ children: a, ...e }) => /* @__PURE__ */ o(ne, { ...e, children: /*
241
262
  }
242
263
  )
243
264
  ] }));
244
- pe.displayName = l.Input.displayName;
245
- const fe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
265
+ be.displayName = l.Input.displayName;
266
+ const ye = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
246
267
  l.List,
247
268
  {
248
269
  ref: t,
@@ -250,10 +271,10 @@ const fe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
250
271
  ...e
251
272
  }
252
273
  ));
253
- fe.displayName = l.List.displayName;
254
- const ue = r.forwardRef((a, e) => /* @__PURE__ */ o(l.Empty, { ref: e, className: "py-6 text-center text-sm", ...a }));
255
- ue.displayName = l.Empty.displayName;
256
- const ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
274
+ ye.displayName = l.List.displayName;
275
+ const Ne = r.forwardRef((a, e) => /* @__PURE__ */ o(l.Empty, { ref: e, className: "py-6 text-center text-sm", ...a }));
276
+ Ne.displayName = l.Empty.displayName;
277
+ const xe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
257
278
  l.Group,
258
279
  {
259
280
  ref: t,
@@ -264,10 +285,10 @@ const ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
264
285
  ...e
265
286
  }
266
287
  ));
267
- ge.displayName = l.Group.displayName;
268
- const be = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(l.Separator, { ref: t, className: s("-mx-1 h-px bg-border", a), ...e }));
269
- be.displayName = l.Separator.displayName;
270
- const ye = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
288
+ xe.displayName = l.Group.displayName;
289
+ const he = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(l.Separator, { ref: t, className: s("-mx-1 h-px bg-border", a), ...e }));
290
+ he.displayName = l.Separator.displayName;
291
+ const we = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
271
292
  l.Item,
272
293
  {
273
294
  ref: t,
@@ -278,10 +299,10 @@ const ye = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
278
299
  ...e
279
300
  }
280
301
  ));
281
- ye.displayName = l.Item.displayName;
282
- const Ne = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", a), ...e });
283
- Ne.displayName = "CommandShortcut";
284
- const oa = n.Root, sa = n.Trigger, ra = n.Group, da = n.Portal, na = n.Sub, ia = n.RadioGroup, xe = r.forwardRef(({ className: a, inset: e, children: t, ...d }, c) => /* @__PURE__ */ p(
302
+ we.displayName = l.Item.displayName;
303
+ const ve = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", a), ...e });
304
+ ve.displayName = "CommandShortcut";
305
+ const na = n.Root, ia = n.Trigger, la = n.Group, ma = n.Portal, ca = n.Sub, pa = n.RadioGroup, Ce = r.forwardRef(({ className: a, inset: e, children: t, ...d }, c) => /* @__PURE__ */ p(
285
306
  n.SubTrigger,
286
307
  {
287
308
  ref: c,
@@ -293,12 +314,12 @@ const oa = n.Root, sa = n.Trigger, ra = n.Group, da = n.Portal, na = n.Sub, ia =
293
314
  ...d,
294
315
  children: [
295
316
  t,
296
- /* @__PURE__ */ o(j, { className: "ml-auto h-4 w-4" })
317
+ /* @__PURE__ */ o(H, { className: "ml-auto h-4 w-4" })
297
318
  ]
298
319
  }
299
320
  ));
300
- xe.displayName = n.SubTrigger.displayName;
301
- const he = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
321
+ Ce.displayName = n.SubTrigger.displayName;
322
+ const Re = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
302
323
  n.SubContent,
303
324
  {
304
325
  ref: t,
@@ -309,8 +330,8 @@ const he = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
309
330
  ...e
310
331
  }
311
332
  ));
312
- he.displayName = n.SubContent.displayName;
313
- const we = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, d) => /* @__PURE__ */ o(n.Portal, { children: /* @__PURE__ */ o(
333
+ Re.displayName = n.SubContent.displayName;
334
+ const ke = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, d) => /* @__PURE__ */ o(n.Portal, { children: /* @__PURE__ */ o(
314
335
  n.Content,
315
336
  {
316
337
  ref: d,
@@ -323,8 +344,8 @@ const we = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, d) => /* @__
323
344
  ...t
324
345
  }
325
346
  ) }));
326
- we.displayName = n.Content.displayName;
327
- const ve = r.forwardRef(({ className: a, inset: e, ...t }, d) => /* @__PURE__ */ o(
347
+ ke.displayName = n.Content.displayName;
348
+ const De = r.forwardRef(({ className: a, inset: e, ...t }, d) => /* @__PURE__ */ o(
328
349
  n.Item,
329
350
  {
330
351
  ref: d,
@@ -336,8 +357,8 @@ const ve = r.forwardRef(({ className: a, inset: e, ...t }, d) => /* @__PURE__ */
336
357
  ...t
337
358
  }
338
359
  ));
339
- ve.displayName = n.Item.displayName;
340
- const Ce = r.forwardRef(({ className: a, children: e, checked: t, ...d }, c) => /* @__PURE__ */ p(
360
+ De.displayName = n.Item.displayName;
361
+ const Te = r.forwardRef(({ className: a, children: e, checked: t, ...d }, c) => /* @__PURE__ */ p(
341
362
  n.CheckboxItem,
342
363
  {
343
364
  ref: c,
@@ -348,13 +369,13 @@ const Ce = r.forwardRef(({ className: a, children: e, checked: t, ...d }, c) =>
348
369
  checked: t,
349
370
  ...d,
350
371
  children: [
351
- /* @__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(H, { className: "h-4 w-4" }) }) }),
372
+ /* @__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(L, { className: "h-4 w-4" }) }) }),
352
373
  e
353
374
  ]
354
375
  }
355
376
  ));
356
- Ce.displayName = n.CheckboxItem.displayName;
357
- const Re = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ p(
377
+ Te.displayName = n.CheckboxItem.displayName;
378
+ const Ae = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ p(
358
379
  n.RadioItem,
359
380
  {
360
381
  ref: d,
@@ -364,13 +385,13 @@ const Re = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__
364
385
  ),
365
386
  ...t,
366
387
  children: [
367
- /* @__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(L, { className: "h-4 w-4 fill-current" }) }) }),
388
+ /* @__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(F, { className: "h-4 w-4 fill-current" }) }) }),
368
389
  e
369
390
  ]
370
391
  }
371
392
  ));
372
- Re.displayName = n.RadioItem.displayName;
373
- const ke = r.forwardRef(({ className: a, inset: e, ...t }, d) => /* @__PURE__ */ o(
393
+ Ae.displayName = n.RadioItem.displayName;
394
+ const Ie = r.forwardRef(({ className: a, inset: e, ...t }, d) => /* @__PURE__ */ o(
374
395
  n.Label,
375
396
  {
376
397
  ref: d,
@@ -378,13 +399,13 @@ const ke = r.forwardRef(({ className: a, inset: e, ...t }, d) => /* @__PURE__ */
378
399
  ...t
379
400
  }
380
401
  ));
381
- ke.displayName = n.Label.displayName;
382
- const De = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(n.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-muted", a), ...e }));
383
- De.displayName = n.Separator.displayName;
384
- const Te = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest opacity-60", a), ...e });
385
- Te.displayName = "DropdownMenuShortcut";
386
- const la = N.Root, ma = N.Trigger, Se = r.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...d }, c) => /* @__PURE__ */ o(
387
- N.Content,
402
+ Ie.displayName = n.Label.displayName;
403
+ const Se = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(n.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-muted", a), ...e }));
404
+ Se.displayName = n.Separator.displayName;
405
+ const Pe = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest opacity-60", a), ...e });
406
+ Pe.displayName = "DropdownMenuShortcut";
407
+ const fa = x.Root, ua = x.Trigger, ze = r.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...d }, c) => /* @__PURE__ */ o(
408
+ x.Content,
388
409
  {
389
410
  ref: c,
390
411
  align: e,
@@ -396,8 +417,8 @@ const la = N.Root, ma = N.Trigger, Se = r.forwardRef(({ className: a, align: e =
396
417
  ...d
397
418
  }
398
419
  ));
399
- Se.displayName = N.Content.displayName;
400
- const ze = r.forwardRef(({ className: a, type: e, ...t }, d) => /* @__PURE__ */ o(
420
+ ze.displayName = x.Content.displayName;
421
+ const _e = r.forwardRef(({ className: a, type: e, ...t }, d) => /* @__PURE__ */ o(
401
422
  "input",
402
423
  {
403
424
  type: e,
@@ -412,11 +433,11 @@ const ze = r.forwardRef(({ className: a, type: e, ...t }, d) => /* @__PURE__ */
412
433
  spellCheck: "false"
413
434
  }
414
435
  ));
415
- ze.displayName = "Input";
416
- const Ie = h("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), Pe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(v.Root, { ref: t, className: s(Ie(), a), ...e }));
417
- Pe.displayName = v.Root.displayName;
418
- const ca = y.Root, pa = y.Trigger, Ae = r.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...d }, c) => /* @__PURE__ */ o(y.Portal, { children: /* @__PURE__ */ o(
419
- y.Content,
436
+ _e.displayName = "Input";
437
+ const Me = w("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), je = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(C.Root, { ref: t, className: s(Me(), a), ...e }));
438
+ je.displayName = C.Root.displayName;
439
+ const ga = N.Root, ba = N.Trigger, He = r.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...d }, c) => /* @__PURE__ */ o(N.Portal, { children: /* @__PURE__ */ o(
440
+ N.Content,
420
441
  {
421
442
  ref: c,
422
443
  align: e,
@@ -428,14 +449,14 @@ const ca = y.Root, pa = y.Trigger, Ae = r.forwardRef(({ className: a, align: e =
428
449
  ...d
429
450
  }
430
451
  ) }));
431
- Ae.displayName = y.Content.displayName;
432
- const _e = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ p(f.Root, { ref: d, className: s("relative overflow-hidden", a), ...t, children: [
452
+ He.displayName = N.Content.displayName;
453
+ const Le = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ p(f.Root, { ref: d, className: s("relative overflow-hidden", a), ...t, children: [
433
454
  /* @__PURE__ */ o(f.Viewport, { className: "h-full w-full rounded-[inherit]", children: e }),
434
- /* @__PURE__ */ o(I, {}),
455
+ /* @__PURE__ */ o(P, {}),
435
456
  /* @__PURE__ */ o(f.Corner, {})
436
457
  ] }));
437
- _e.displayName = f.Root.displayName;
438
- const I = r.forwardRef(({ className: a, orientation: e = "vertical", ...t }, d) => /* @__PURE__ */ o(
458
+ Le.displayName = f.Root.displayName;
459
+ const P = r.forwardRef(({ className: a, orientation: e = "vertical", ...t }, d) => /* @__PURE__ */ o(
439
460
  f.ScrollAreaScrollbar,
440
461
  {
441
462
  ref: d,
@@ -450,9 +471,9 @@ const I = r.forwardRef(({ className: a, orientation: e = "vertical", ...t }, d)
450
471
  children: /* @__PURE__ */ o(f.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
451
472
  }
452
473
  ));
453
- I.displayName = f.ScrollAreaScrollbar.displayName;
454
- const Me = r.forwardRef(({ className: a, orientation: e = "horizontal", decorative: t = !0, ...d }, c) => /* @__PURE__ */ o(
455
- C.Root,
474
+ P.displayName = f.ScrollAreaScrollbar.displayName;
475
+ const Fe = r.forwardRef(({ className: a, orientation: e = "horizontal", decorative: t = !0, ...d }, c) => /* @__PURE__ */ o(
476
+ R.Root,
456
477
  {
457
478
  ref: c,
458
479
  decorative: t,
@@ -461,11 +482,11 @@ const Me = r.forwardRef(({ className: a, orientation: e = "horizontal", decorati
461
482
  ...d
462
483
  }
463
484
  ));
464
- Me.displayName = C.Root.displayName;
465
- const fa = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("animate-pulse rounded-md bg-primary/10", a), ...e }), ua = ({ ...a }) => {
466
- const { theme: e = "system" } = F();
485
+ Fe.displayName = R.Root.displayName;
486
+ const ya = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("animate-pulse rounded-md bg-primary/10", a), ...e }), Na = ({ ...a }) => {
487
+ const { theme: e = "system" } = O();
467
488
  return /* @__PURE__ */ o(
468
- O,
489
+ B,
469
490
  {
470
491
  theme: e,
471
492
  className: "toaster group",
@@ -480,8 +501,8 @@ const fa = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("
480
501
  ...a
481
502
  }
482
503
  );
483
- }, je = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
484
- x.Root,
504
+ }, Ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
505
+ h.Root,
485
506
  {
486
507
  className: s(
487
508
  "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",
@@ -490,7 +511,7 @@ const fa = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("
490
511
  ...e,
491
512
  ref: t,
492
513
  children: /* @__PURE__ */ o(
493
- x.Thumb,
514
+ h.Thumb,
494
515
  {
495
516
  className: s(
496
517
  "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"
@@ -499,8 +520,8 @@ const fa = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("
499
520
  )
500
521
  }
501
522
  ));
502
- je.displayName = x.Root.displayName;
503
- const ga = g.Root, He = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
523
+ Ge.displayName = h.Root.displayName;
524
+ const xa = g.Root, Oe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
504
525
  g.List,
505
526
  {
506
527
  ref: t,
@@ -511,8 +532,8 @@ const ga = g.Root, He = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__
511
532
  ...e
512
533
  }
513
534
  ));
514
- He.displayName = g.List.displayName;
515
- const Le = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
535
+ Oe.displayName = g.List.displayName;
536
+ const Be = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
516
537
  g.Trigger,
517
538
  {
518
539
  ref: t,
@@ -523,8 +544,8 @@ const Le = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
523
544
  ...e
524
545
  }
525
546
  ));
526
- Le.displayName = g.Trigger.displayName;
527
- const Ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
547
+ Be.displayName = g.Trigger.displayName;
548
+ const Ve = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
528
549
  g.Content,
529
550
  {
530
551
  ref: t,
@@ -535,8 +556,8 @@ const Ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
535
556
  ...e
536
557
  }
537
558
  ));
538
- Ge.displayName = g.Content.displayName;
539
- const Fe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
559
+ Ve.displayName = g.Content.displayName;
560
+ const Ee = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
540
561
  "textarea",
541
562
  {
542
563
  className: s(
@@ -550,9 +571,9 @@ const Fe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
550
571
  spellCheck: "false"
551
572
  }
552
573
  ));
553
- Fe.displayName = "Textarea";
554
- const ba = b.Portal, ya = b.Provider, Na = b.Root, xa = b.Trigger, Oe = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, d) => /* @__PURE__ */ o(
555
- b.Content,
574
+ Ee.displayName = "Textarea";
575
+ const ha = y.Portal, wa = y.Provider, va = y.Root, Ca = y.Trigger, qe = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, d) => /* @__PURE__ */ o(
576
+ y.Content,
556
577
  {
557
578
  ref: d,
558
579
  sideOffset: e,
@@ -563,85 +584,88 @@ const ba = b.Portal, ya = b.Provider, Na = b.Root, xa = b.Trigger, Oe = r.forwar
563
584
  ...t
564
585
  }
565
586
  ));
566
- Oe.displayName = b.Content.displayName;
587
+ qe.displayName = y.Content.displayName;
567
588
  export {
568
- he as $,
569
- Xe as A,
570
- J as B,
571
- ae as C,
572
- ge as D,
589
+ la as $,
590
+ aa as A,
591
+ K as B,
592
+ re as C,
593
+ be as D,
573
594
  ye as E,
574
595
  Ne as F,
575
- be as G,
576
- ne as H,
577
- aa as I,
578
- S as J,
579
- ie as K,
580
- le as L,
581
- me as M,
582
- ce as N,
583
- oa as O,
584
- sa as P,
585
- we as Q,
586
- ve as R,
587
- fa as S,
588
- Ce as T,
589
- Re as U,
590
- ke as V,
591
- De as W,
592
- Te as X,
593
- ra as Y,
594
- da as Z,
595
- na as _,
596
- E as a,
597
- xe as a0,
598
- ia as a1,
599
- la as a2,
600
- ma as a3,
601
- Se as a4,
602
- ze as a5,
603
- Pe as a6,
604
- ca as a7,
605
- pa as a8,
606
- Ae as a9,
607
- _e as aa,
608
- I as ab,
609
- Me as ac,
610
- ua as ad,
611
- je as ae,
612
- ga as af,
613
- He as ag,
614
- Le as ah,
615
- Ge as ai,
616
- Fe as aj,
617
- Na as ak,
618
- xa as al,
619
- Oe as am,
620
- ya as an,
621
- ba as ao,
596
+ xe as G,
597
+ we as H,
598
+ ve as I,
599
+ he as J,
600
+ ce as K,
601
+ ra as L,
602
+ I as M,
603
+ pe as N,
604
+ fe as O,
605
+ ue as P,
606
+ ge as Q,
607
+ na as R,
608
+ ya as S,
609
+ ia as T,
610
+ ke as U,
611
+ De as V,
612
+ Te as W,
613
+ Ae as X,
614
+ Ie as Y,
615
+ Se as Z,
616
+ Pe as _,
617
+ q as a,
618
+ ma as a0,
619
+ ca as a1,
620
+ Re as a2,
621
+ Ce as a3,
622
+ pa as a4,
623
+ fa as a5,
624
+ ua as a6,
625
+ ze as a7,
626
+ _e as a8,
627
+ je as a9,
628
+ ga as aa,
629
+ ba as ab,
630
+ He as ac,
631
+ Le as ad,
632
+ P as ae,
633
+ Fe as af,
634
+ Na as ag,
635
+ Ge as ah,
636
+ xa as ai,
637
+ Oe as aj,
638
+ Be as ak,
639
+ Ve as al,
640
+ Ee as am,
641
+ va as an,
642
+ Ca as ao,
643
+ qe as ap,
644
+ wa as aq,
645
+ ha as ar,
622
646
  $ as b,
623
647
  s as c,
624
- q as d,
625
- Ye as e,
626
- Ze as f,
627
- K as g,
628
- Q as h,
629
- U as i,
630
- W as j,
631
- X as k,
632
- Y as l,
633
- Z as m,
634
- ea as n,
635
- ee as o,
636
- w as p,
637
- te as q,
638
- de as r,
639
- oe as s,
640
- se as t,
641
- re as u,
642
- z as v,
643
- ta as w,
644
- pe as x,
645
- fe as y,
646
- ue as z
648
+ J as d,
649
+ ta as e,
650
+ oa as f,
651
+ Q as g,
652
+ U as h,
653
+ W as i,
654
+ X as j,
655
+ Y as k,
656
+ Z as l,
657
+ ee as m,
658
+ ae as n,
659
+ oe as o,
660
+ te as p,
661
+ sa as q,
662
+ se as r,
663
+ v as s,
664
+ de as t,
665
+ me as u,
666
+ ne as v,
667
+ ie as w,
668
+ le as x,
669
+ S as y,
670
+ da as z
647
671
  };