@arolariu/components 0.0.2 → 0.0.4

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 (106) hide show
  1. package/dist/cjs/components/ui/accordion.js +1 -0
  2. package/dist/cjs/components/ui/alert-dialog.js +1 -0
  3. package/dist/cjs/components/ui/alert.js +1 -0
  4. package/dist/cjs/components/ui/aspect-ratio.js +1 -0
  5. package/dist/cjs/components/ui/avatar.js +1 -0
  6. package/dist/cjs/components/ui/badge.js +1 -0
  7. package/dist/cjs/components/ui/breadcrumb.js +1 -0
  8. package/dist/cjs/components/ui/button.js +1 -0
  9. package/dist/cjs/components/ui/calendar.js +1 -0
  10. package/dist/cjs/components/ui/card.js +1 -0
  11. package/dist/cjs/components/ui/carousel.js +1 -0
  12. package/dist/cjs/components/ui/chart.js +7 -0
  13. package/dist/cjs/components/ui/checkbox.js +1 -0
  14. package/dist/cjs/components/ui/collapsible.js +1 -0
  15. package/dist/cjs/components/ui/command.js +1 -0
  16. package/dist/cjs/components/ui/context-menu.js +1 -0
  17. package/dist/cjs/components/ui/dialog.js +1 -0
  18. package/dist/cjs/components/ui/drawer.js +1 -0
  19. package/dist/cjs/components/ui/dropdown-menu.js +1 -0
  20. package/dist/cjs/components/ui/form.js +1 -0
  21. package/dist/cjs/components/ui/hover-card.js +1 -0
  22. package/dist/cjs/components/ui/input-otp.js +1 -0
  23. package/dist/cjs/components/ui/input.js +1 -0
  24. package/dist/cjs/components/ui/label.js +1 -0
  25. package/dist/cjs/components/ui/menubar.js +1 -0
  26. package/dist/cjs/components/ui/navigation-menu.js +1 -0
  27. package/dist/cjs/components/ui/pagination.js +1 -0
  28. package/dist/cjs/components/ui/popover.js +1 -0
  29. package/dist/cjs/components/ui/progress.js +1 -0
  30. package/dist/cjs/components/ui/radio-group.js +1 -0
  31. package/dist/cjs/components/ui/resizable.js +1 -0
  32. package/dist/cjs/components/ui/scroll-area.js +1 -0
  33. package/dist/cjs/components/ui/select.js +1 -0
  34. package/dist/cjs/components/ui/separator.js +1 -0
  35. package/dist/cjs/components/ui/sheet.js +1 -0
  36. package/dist/cjs/components/ui/sidebar.js +1 -0
  37. package/dist/cjs/components/ui/skeleton.js +1 -0
  38. package/dist/cjs/components/ui/slider.js +1 -0
  39. package/dist/cjs/components/ui/sonner.js +1 -0
  40. package/dist/cjs/components/ui/switch.js +1 -0
  41. package/dist/cjs/components/ui/table.js +1 -0
  42. package/dist/cjs/components/ui/tabs.js +1 -0
  43. package/dist/cjs/components/ui/textarea.js +1 -0
  44. package/dist/cjs/components/ui/toggle-group.js +1 -0
  45. package/dist/cjs/components/ui/toggle.js +1 -0
  46. package/dist/cjs/components/ui/tooltip.js +1 -0
  47. package/dist/cjs/hooks/use-mobile.js +1 -0
  48. package/dist/cjs/index.js +1 -0
  49. package/dist/cjs/lib/utils.js +1 -0
  50. package/dist/es/components/ui/accordion.js +64 -0
  51. package/dist/es/components/ui/alert-dialog.js +146 -0
  52. package/dist/es/components/ui/alert.js +66 -0
  53. package/dist/es/components/ui/aspect-ratio.js +10 -0
  54. package/dist/es/components/ui/avatar.js +53 -0
  55. package/dist/es/components/ui/badge.js +39 -0
  56. package/dist/es/components/ui/breadcrumb.js +102 -0
  57. package/dist/es/components/ui/button.js +49 -0
  58. package/dist/es/components/ui/calendar.js +61 -0
  59. package/dist/es/components/ui/card.js +73 -0
  60. package/dist/es/components/ui/carousel.js +177 -0
  61. package/dist/es/components/ui/chart.js +215 -0
  62. package/dist/es/components/ui/checkbox.js +31 -0
  63. package/dist/es/components/ui/collapsible.js +34 -0
  64. package/dist/es/components/ui/command.js +161 -0
  65. package/dist/es/components/ui/context-menu.js +223 -0
  66. package/dist/es/components/ui/dialog.js +128 -0
  67. package/dist/es/components/ui/drawer.js +125 -0
  68. package/dist/es/components/ui/dropdown-menu.js +231 -0
  69. package/dist/es/components/ui/form.js +101 -0
  70. package/dist/es/components/ui/hover-card.js +38 -0
  71. package/dist/es/components/ui/input-otp.js +65 -0
  72. package/dist/es/components/ui/input.js +21 -0
  73. package/dist/es/components/ui/label.js +22 -0
  74. package/dist/es/components/ui/menubar.js +251 -0
  75. package/dist/es/components/ui/navigation-menu.js +170 -0
  76. package/dist/es/components/ui/pagination.js +118 -0
  77. package/dist/es/components/ui/popover.js +44 -0
  78. package/dist/es/components/ui/progress.js +31 -0
  79. package/dist/es/components/ui/radio-group.js +45 -0
  80. package/dist/es/components/ui/resizable.js +48 -0
  81. package/dist/es/components/ui/scroll-area.js +60 -0
  82. package/dist/es/components/ui/select.js +167 -0
  83. package/dist/es/components/ui/separator.js +26 -0
  84. package/dist/es/components/ui/sheet.js +126 -0
  85. package/dist/es/components/ui/sidebar.js +590 -0
  86. package/dist/es/components/ui/skeleton.js +15 -0
  87. package/dist/es/components/ui/slider.js +63 -0
  88. package/dist/es/components/ui/sonner.js +25 -0
  89. package/dist/es/components/ui/switch.js +31 -0
  90. package/dist/es/components/ui/table.js +114 -0
  91. package/dist/es/components/ui/tabs.js +67 -0
  92. package/dist/es/components/ui/textarea.js +18 -0
  93. package/dist/es/components/ui/toggle-group.js +62 -0
  94. package/dist/es/components/ui/toggle.js +43 -0
  95. package/dist/es/components/ui/tooltip.js +55 -0
  96. package/dist/es/hooks/use-mobile.js +14 -0
  97. package/dist/es/index.js +291 -0
  98. package/dist/es/lib/utils.js +8 -0
  99. package/dist/umd/arolariu-components.umd.js +7 -0
  100. package/package.json +11 -3
  101. package/dist/arolariu-components.cjs.js +0 -38
  102. package/dist/arolariu-components.cjs.js.map +0 -1
  103. package/dist/arolariu-components.es.js +0 -4643
  104. package/dist/arolariu-components.es.js.map +0 -1
  105. package/dist/arolariu-components.umd.js +0 -38
  106. package/dist/arolariu-components.umd.js.map +0 -1
@@ -1,4643 +0,0 @@
1
- import * as g from "react";
2
- import yt from "react";
3
- import * as re from "@radix-ui/react-accordion";
4
- import { ChevronDownIcon as de, ChevronRight as st, MoreHorizontal as Ct, ChevronLeft as _t, ArrowLeft as zt, ArrowRight as St, CheckIcon as oe, XIcon as it, SearchIcon as Tt, CircleIcon as ue, ChevronRightIcon as ce, MinusIcon as Et, ChevronLeftIcon as Pt, MoreHorizontalIcon as It, GripVerticalIcon as Rt, ChevronUpIcon as Mt, PanelLeftIcon as At } from "lucide-react";
5
- import { clsx as Dt } from "clsx";
6
- import { twMerge as Ot } from "tailwind-merge";
7
- import * as L from "@radix-ui/react-alert-dialog";
8
- import { Slot as G } from "@radix-ui/react-slot";
9
- import { cva as X } from "class-variance-authority";
10
- import * as Lt from "@radix-ui/react-aspect-ratio";
11
- import * as Te from "@radix-ui/react-avatar";
12
- import { DayPicker as Gt } from "react-day-picker";
13
- import $t from "embla-carousel-react";
14
- import * as Ee from "recharts";
15
- import * as Qe from "@radix-ui/react-checkbox";
16
- import * as Pe from "@radix-ui/react-collapsible";
17
- import { Command as U } from "cmdk";
18
- import * as k from "@radix-ui/react-dialog";
19
- import * as N from "@radix-ui/react-context-menu";
20
- import { Drawer as B } from "vaul";
21
- import * as y from "@radix-ui/react-dropdown-menu";
22
- import { FormProvider as Bt, useFormContext as Ft, useFormState as Ht, Controller as Vt } from "react-hook-form";
23
- import * as Yt from "@radix-ui/react-label";
24
- import * as Ie from "@radix-ui/react-hover-card";
25
- import { OTPInput as Wt, OTPInputContext as Ut } from "input-otp";
26
- import * as C from "@radix-ui/react-menubar";
27
- import * as F from "@radix-ui/react-navigation-menu";
28
- import * as ne from "@radix-ui/react-popover";
29
- import * as et from "@radix-ui/react-progress";
30
- import * as ze from "@radix-ui/react-radio-group";
31
- import * as Re from "react-resizable-panels";
32
- import * as ae from "@radix-ui/react-scroll-area";
33
- import * as T from "@radix-ui/react-select";
34
- import * as qt from "@radix-ui/react-separator";
35
- import * as K from "@radix-ui/react-tooltip";
36
- import * as ie from "@radix-ui/react-slider";
37
- import { useTheme as Kt } from "next-themes";
38
- import { Toaster as Jt } from "sonner";
39
- import * as tt from "@radix-ui/react-switch";
40
- import * as fe from "@radix-ui/react-tabs";
41
- import * as lt from "@radix-ui/react-toggle-group";
42
- import * as Xt from "@radix-ui/react-toggle";
43
- var le = { exports: {} }, ee = {};
44
- /**
45
- * @license React
46
- * react-jsx-runtime.production.js
47
- *
48
- * Copyright (c) Meta Platforms, Inc. and affiliates.
49
- *
50
- * This source code is licensed under the MIT license found in the
51
- * LICENSE file in the root directory of this source tree.
52
- */
53
- var at;
54
- function Zt() {
55
- if (at) return ee;
56
- at = 1;
57
- var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
58
- function o(s, i, u) {
59
- var f = null;
60
- if (u !== void 0 && (f = "" + u), i.key !== void 0 && (f = "" + i.key), "key" in i) {
61
- u = {};
62
- for (var p in i)
63
- p !== "key" && (u[p] = i[p]);
64
- } else u = i;
65
- return i = u.ref, {
66
- $$typeof: e,
67
- type: s,
68
- key: f,
69
- ref: i !== void 0 ? i : null,
70
- props: u
71
- };
72
- }
73
- return ee.Fragment = t, ee.jsx = o, ee.jsxs = o, ee;
74
- }
75
- var te = {};
76
- /**
77
- * @license React
78
- * react-jsx-runtime.development.js
79
- *
80
- * Copyright (c) Meta Platforms, Inc. and affiliates.
81
- *
82
- * This source code is licensed under the MIT license found in the
83
- * LICENSE file in the root directory of this source tree.
84
- */
85
- var rt;
86
- function Qt() {
87
- return rt || (rt = 1, process.env.NODE_ENV !== "production" && function() {
88
- function e(n) {
89
- if (n == null) return null;
90
- if (typeof n == "function")
91
- return n.$$typeof === wt ? null : n.displayName || n.name || null;
92
- if (typeof n == "string") return n;
93
- switch (n) {
94
- case be:
95
- return "Fragment";
96
- case ht:
97
- return "Portal";
98
- case De:
99
- return "Profiler";
100
- case Ae:
101
- return "StrictMode";
102
- case ve:
103
- return "Suspense";
104
- case he:
105
- return "SuspenseList";
106
- }
107
- if (typeof n == "object")
108
- switch (typeof n.tag == "number" && console.error(
109
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
110
- ), n.$$typeof) {
111
- case Le:
112
- return (n.displayName || "Context") + ".Provider";
113
- case Oe:
114
- return (n._context.displayName || "Context") + ".Consumer";
115
- case pe:
116
- var l = n.render;
117
- return n = n.displayName, n || (n = l.displayName || l.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
118
- case ke:
119
- return l = n.displayName || null, l !== null ? l : e(n.type) || "Memo";
120
- case we:
121
- l = n._payload, n = n._init;
122
- try {
123
- return e(n(l));
124
- } catch {
125
- }
126
- }
127
- return null;
128
- }
129
- function t(n) {
130
- return "" + n;
131
- }
132
- function o(n) {
133
- try {
134
- t(n);
135
- var l = !1;
136
- } catch {
137
- l = !0;
138
- }
139
- if (l) {
140
- l = console;
141
- var d = l.error, b = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
142
- return d.call(
143
- l,
144
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
145
- b
146
- ), t(n);
147
- }
148
- }
149
- function s() {
150
- }
151
- function i() {
152
- if (Z === 0) {
153
- Be = console.log, Fe = console.info, He = console.warn, Ve = console.error, Ye = console.group, We = console.groupCollapsed, Ue = console.groupEnd;
154
- var n = {
155
- configurable: !0,
156
- enumerable: !0,
157
- value: s,
158
- writable: !0
159
- };
160
- Object.defineProperties(console, {
161
- info: n,
162
- log: n,
163
- warn: n,
164
- error: n,
165
- group: n,
166
- groupCollapsed: n,
167
- groupEnd: n
168
- });
169
- }
170
- Z++;
171
- }
172
- function u() {
173
- if (Z--, Z === 0) {
174
- var n = { configurable: !0, enumerable: !0, writable: !0 };
175
- Object.defineProperties(console, {
176
- log: Y({}, n, { value: Be }),
177
- info: Y({}, n, { value: Fe }),
178
- warn: Y({}, n, { value: He }),
179
- error: Y({}, n, { value: Ve }),
180
- group: Y({}, n, { value: Ye }),
181
- groupCollapsed: Y({}, n, { value: We }),
182
- groupEnd: Y({}, n, { value: Ue })
183
- });
184
- }
185
- 0 > Z && console.error(
186
- "disabledDepth fell below zero. This is a bug in React. Please file an issue."
187
- );
188
- }
189
- function f(n) {
190
- if (Ne === void 0)
191
- try {
192
- throw Error();
193
- } catch (d) {
194
- var l = d.stack.trim().match(/\n( *(at )?)/);
195
- Ne = l && l[1] || "", qe = -1 < d.stack.indexOf(`
196
- at`) ? " (<anonymous>)" : -1 < d.stack.indexOf("@") ? "@unknown:0:0" : "";
197
- }
198
- return `
199
- ` + Ne + n + qe;
200
- }
201
- function p(n, l) {
202
- if (!n || ye) return "";
203
- var d = Ce.get(n);
204
- if (d !== void 0) return d;
205
- ye = !0, d = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
206
- var b = null;
207
- b = V.H, V.H = null, i();
208
- try {
209
- var z = {
210
- DetermineComponentFrameRoot: function() {
211
- try {
212
- if (l) {
213
- var $ = function() {
214
- throw Error();
215
- };
216
- if (Object.defineProperty($.prototype, "props", {
217
- set: function() {
218
- throw Error();
219
- }
220
- }), typeof Reflect == "object" && Reflect.construct) {
221
- try {
222
- Reflect.construct($, []);
223
- } catch (O) {
224
- var se = O;
225
- }
226
- Reflect.construct(n, [], $);
227
- } else {
228
- try {
229
- $.call();
230
- } catch (O) {
231
- se = O;
232
- }
233
- n.call($.prototype);
234
- }
235
- } else {
236
- try {
237
- throw Error();
238
- } catch (O) {
239
- se = O;
240
- }
241
- ($ = n()) && typeof $.catch == "function" && $.catch(function() {
242
- });
243
- }
244
- } catch (O) {
245
- if (O && se && typeof O.stack == "string")
246
- return [O.stack, se.stack];
247
- }
248
- return [null, null];
249
- }
250
- };
251
- z.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
252
- var h = Object.getOwnPropertyDescriptor(
253
- z.DetermineComponentFrameRoot,
254
- "name"
255
- );
256
- h && h.configurable && Object.defineProperty(
257
- z.DetermineComponentFrameRoot,
258
- "name",
259
- { value: "DetermineComponentFrameRoot" }
260
- );
261
- var m = z.DetermineComponentFrameRoot(), D = m[0], q = m[1];
262
- if (D && q) {
263
- var S = D.split(`
264
- `), W = q.split(`
265
- `);
266
- for (m = h = 0; h < S.length && !S[h].includes(
267
- "DetermineComponentFrameRoot"
268
- ); )
269
- h++;
270
- for (; m < W.length && !W[m].includes(
271
- "DetermineComponentFrameRoot"
272
- ); )
273
- m++;
274
- if (h === S.length || m === W.length)
275
- for (h = S.length - 1, m = W.length - 1; 1 <= h && 0 <= m && S[h] !== W[m]; )
276
- m--;
277
- for (; 1 <= h && 0 <= m; h--, m--)
278
- if (S[h] !== W[m]) {
279
- if (h !== 1 || m !== 1)
280
- do
281
- if (h--, m--, 0 > m || S[h] !== W[m]) {
282
- var Q = `
283
- ` + S[h].replace(
284
- " at new ",
285
- " at "
286
- );
287
- return n.displayName && Q.includes("<anonymous>") && (Q = Q.replace("<anonymous>", n.displayName)), typeof n == "function" && Ce.set(n, Q), Q;
288
- }
289
- while (1 <= h && 0 <= m);
290
- break;
291
- }
292
- }
293
- } finally {
294
- ye = !1, V.H = b, u(), Error.prepareStackTrace = d;
295
- }
296
- return S = (S = n ? n.displayName || n.name : "") ? f(S) : "", typeof n == "function" && Ce.set(n, S), S;
297
- }
298
- function c(n) {
299
- if (n == null) return "";
300
- if (typeof n == "function") {
301
- var l = n.prototype;
302
- return p(
303
- n,
304
- !(!l || !l.isReactComponent)
305
- );
306
- }
307
- if (typeof n == "string") return f(n);
308
- switch (n) {
309
- case ve:
310
- return f("Suspense");
311
- case he:
312
- return f("SuspenseList");
313
- }
314
- if (typeof n == "object")
315
- switch (n.$$typeof) {
316
- case pe:
317
- return n = p(n.render, !1), n;
318
- case ke:
319
- return c(n.type);
320
- case we:
321
- l = n._payload, n = n._init;
322
- try {
323
- return c(n(l));
324
- } catch {
325
- }
326
- }
327
- return "";
328
- }
329
- function w() {
330
- var n = V.A;
331
- return n === null ? null : n.getOwner();
332
- }
333
- function M(n) {
334
- if ($e.call(n, "key")) {
335
- var l = Object.getOwnPropertyDescriptor(n, "key").get;
336
- if (l && l.isReactWarning) return !1;
337
- }
338
- return n.key !== void 0;
339
- }
340
- function H(n, l) {
341
- function d() {
342
- Ke || (Ke = !0, console.error(
343
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
344
- l
345
- ));
346
- }
347
- d.isReactWarning = !0, Object.defineProperty(n, "key", {
348
- get: d,
349
- configurable: !0
350
- });
351
- }
352
- function I() {
353
- var n = e(this.type);
354
- return Je[n] || (Je[n] = !0, console.error(
355
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
356
- )), n = this.props.ref, n !== void 0 ? n : null;
357
- }
358
- function j(n, l, d, b, z, h) {
359
- return d = h.ref, n = {
360
- $$typeof: A,
361
- type: n,
362
- key: l,
363
- props: h,
364
- _owner: z
365
- }, (d !== void 0 ? d : null) !== null ? Object.defineProperty(n, "ref", {
366
- enumerable: !1,
367
- get: I
368
- }) : Object.defineProperty(n, "ref", { enumerable: !1, value: null }), n._store = {}, Object.defineProperty(n._store, "validated", {
369
- configurable: !1,
370
- enumerable: !1,
371
- writable: !0,
372
- value: 0
373
- }), Object.defineProperty(n, "_debugInfo", {
374
- configurable: !1,
375
- enumerable: !1,
376
- writable: !0,
377
- value: null
378
- }), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
379
- }
380
- function E(n, l, d, b, z, h) {
381
- if (typeof n == "string" || typeof n == "function" || n === be || n === De || n === Ae || n === ve || n === he || n === kt || typeof n == "object" && n !== null && (n.$$typeof === we || n.$$typeof === ke || n.$$typeof === Le || n.$$typeof === Oe || n.$$typeof === pe || n.$$typeof === jt || n.getModuleId !== void 0)) {
382
- var m = l.children;
383
- if (m !== void 0)
384
- if (b)
385
- if (je(m)) {
386
- for (b = 0; b < m.length; b++)
387
- P(m[b], n);
388
- Object.freeze && Object.freeze(m);
389
- } else
390
- console.error(
391
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
392
- );
393
- else P(m, n);
394
- } else
395
- m = "", (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (m += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), n === null ? b = "null" : je(n) ? b = "array" : n !== void 0 && n.$$typeof === A ? (b = "<" + (e(n.type) || "Unknown") + " />", m = " Did you accidentally export a JSX literal instead of a component?") : b = typeof n, console.error(
396
- "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
397
- b,
398
- m
399
- );
400
- if ($e.call(l, "key")) {
401
- m = e(n);
402
- var D = Object.keys(l).filter(function(S) {
403
- return S !== "key";
404
- });
405
- b = 0 < D.length ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}", Xe[m + b] || (D = 0 < D.length ? "{" + D.join(": ..., ") + ": ...}" : "{}", console.error(
406
- `A props object containing a "key" prop is being spread into JSX:
407
- let props = %s;
408
- <%s {...props} />
409
- React keys must be passed directly to JSX without using spread:
410
- let props = %s;
411
- <%s key={someKey} {...props} />`,
412
- b,
413
- m,
414
- D,
415
- m
416
- ), Xe[m + b] = !0);
417
- }
418
- if (m = null, d !== void 0 && (o(d), m = "" + d), M(l) && (o(l.key), m = "" + l.key), "key" in l) {
419
- d = {};
420
- for (var q in l)
421
- q !== "key" && (d[q] = l[q]);
422
- } else d = l;
423
- return m && H(
424
- d,
425
- typeof n == "function" ? n.displayName || n.name || "Unknown" : n
426
- ), j(n, m, h, z, w(), d);
427
- }
428
- function P(n, l) {
429
- if (typeof n == "object" && n && n.$$typeof !== Nt) {
430
- if (je(n))
431
- for (var d = 0; d < n.length; d++) {
432
- var b = n[d];
433
- x(b) && v(b, l);
434
- }
435
- else if (x(n))
436
- n._store && (n._store.validated = 1);
437
- else if (n === null || typeof n != "object" ? d = null : (d = Ge && n[Ge] || n["@@iterator"], d = typeof d == "function" ? d : null), typeof d == "function" && d !== n.entries && (d = d.call(n), d !== n))
438
- for (; !(n = d.next()).done; )
439
- x(n.value) && v(n.value, l);
440
- }
441
- }
442
- function x(n) {
443
- return typeof n == "object" && n !== null && n.$$typeof === A;
444
- }
445
- function v(n, l) {
446
- if (n._store && !n._store.validated && n.key == null && (n._store.validated = 1, l = _(l), !Ze[l])) {
447
- Ze[l] = !0;
448
- var d = "";
449
- n && n._owner != null && n._owner !== w() && (d = null, typeof n._owner.tag == "number" ? d = e(n._owner.type) : typeof n._owner.name == "string" && (d = n._owner.name), d = " It was passed a child from " + d + ".");
450
- var b = V.getCurrentStack;
451
- V.getCurrentStack = function() {
452
- var z = c(n.type);
453
- return b && (z += b() || ""), z;
454
- }, console.error(
455
- 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
456
- l,
457
- d
458
- ), V.getCurrentStack = b;
459
- }
460
- }
461
- function _(n) {
462
- var l = "", d = w();
463
- return d && (d = e(d.type)) && (l = `
464
-
465
- Check the render method of \`` + d + "`."), l || (n = e(n)) && (l = `
466
-
467
- Check the top-level render call using <` + n + ">."), l;
468
- }
469
- var R = yt, A = Symbol.for("react.transitional.element"), ht = Symbol.for("react.portal"), be = Symbol.for("react.fragment"), Ae = Symbol.for("react.strict_mode"), De = Symbol.for("react.profiler"), Oe = Symbol.for("react.consumer"), Le = Symbol.for("react.context"), pe = Symbol.for("react.forward_ref"), ve = Symbol.for("react.suspense"), he = Symbol.for("react.suspense_list"), ke = Symbol.for("react.memo"), we = Symbol.for("react.lazy"), kt = Symbol.for("react.offscreen"), Ge = Symbol.iterator, wt = Symbol.for("react.client.reference"), V = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $e = Object.prototype.hasOwnProperty, Y = Object.assign, jt = Symbol.for("react.client.reference"), je = Array.isArray, Z = 0, Be, Fe, He, Ve, Ye, We, Ue;
470
- s.__reactDisabledLog = !0;
471
- var Ne, qe, ye = !1, Ce = new (typeof WeakMap == "function" ? WeakMap : Map)(), Nt = Symbol.for("react.client.reference"), Ke, Je = {}, Xe = {}, Ze = {};
472
- te.Fragment = be, te.jsx = function(n, l, d, b, z) {
473
- return E(n, l, d, !1, b, z);
474
- }, te.jsxs = function(n, l, d, b, z) {
475
- return E(n, l, d, !0, b, z);
476
- };
477
- }()), te;
478
- }
479
- var nt;
480
- function ea() {
481
- return nt || (nt = 1, process.env.NODE_ENV === "production" ? le.exports = Zt() : le.exports = Qt()), le.exports;
482
- }
483
- var a = ea();
484
- function r(...e) {
485
- return Ot(Dt(e));
486
- }
487
- function nr({
488
- ...e
489
- }) {
490
- return /* @__PURE__ */ a.jsx(re.Root, { "data-slot": "accordion", ...e });
491
- }
492
- function or({
493
- className: e,
494
- ...t
495
- }) {
496
- return /* @__PURE__ */ a.jsx(
497
- re.Item,
498
- {
499
- "data-slot": "accordion-item",
500
- className: r("border-b last:border-b-0", e),
501
- ...t
502
- }
503
- );
504
- }
505
- function sr({
506
- className: e,
507
- children: t,
508
- ...o
509
- }) {
510
- return /* @__PURE__ */ a.jsx(re.Header, { className: "flex", children: /* @__PURE__ */ a.jsxs(
511
- re.Trigger,
512
- {
513
- "data-slot": "accordion-trigger",
514
- className: r(
515
- "focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180 dark:focus-visible:border-neutral-300 dark:focus-visible:ring-neutral-300/50",
516
- e
517
- ),
518
- ...o,
519
- children: [
520
- t,
521
- /* @__PURE__ */ a.jsx(de, { className: "text-neutral-500 pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200 dark:text-neutral-400" })
522
- ]
523
- }
524
- ) });
525
- }
526
- function ir({
527
- className: e,
528
- children: t,
529
- ...o
530
- }) {
531
- return /* @__PURE__ */ a.jsx(
532
- re.Content,
533
- {
534
- "data-slot": "accordion-content",
535
- className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
536
- ...o,
537
- children: /* @__PURE__ */ a.jsx("div", { className: r("pt-0 pb-4", e), children: t })
538
- }
539
- );
540
- }
541
- const J = X(
542
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50 focus-visible:ring-[3px] aria-invalid:ring-red-500/20 dark:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 dark:focus-visible:border-neutral-300 dark:focus-visible:ring-neutral-300/50 dark:aria-invalid:ring-red-900/20 dark:dark:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900",
543
- {
544
- variants: {
545
- variant: {
546
- default: "bg-neutral-900 text-neutral-50 shadow-xs hover:bg-neutral-900/90 dark:bg-neutral-50 dark:text-neutral-900 dark:hover:bg-neutral-50/90",
547
- destructive: "bg-red-500 text-white shadow-xs hover:bg-red-500/90 focus-visible:ring-red-500/20 dark:focus-visible:ring-red-500/40 dark:bg-red-900 dark:hover:bg-red-900/90 dark:focus-visible:ring-red-900/20 dark:dark:focus-visible:ring-red-900/40",
548
- outline: "border border-neutral-200 bg-white shadow-xs hover:bg-neutral-100 hover:text-neutral-900 dark:border-neutral-800 dark:bg-neutral-950 dark:hover:bg-neutral-800 dark:hover:text-neutral-50",
549
- secondary: "bg-neutral-100 text-neutral-900 shadow-xs hover:bg-neutral-100/80 dark:bg-neutral-800 dark:text-neutral-50 dark:hover:bg-neutral-800/80",
550
- ghost: "hover:bg-neutral-100 hover:text-neutral-900 dark:hover:bg-neutral-800 dark:hover:text-neutral-50",
551
- link: "text-neutral-900 underline-offset-4 hover:underline dark:text-neutral-50"
552
- },
553
- size: {
554
- default: "h-9 px-4 py-2 has-[>svg]:px-3",
555
- sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
556
- lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
557
- icon: "size-9"
558
- }
559
- },
560
- defaultVariants: {
561
- variant: "default",
562
- size: "default"
563
- }
564
- }
565
- );
566
- function Me({
567
- className: e,
568
- variant: t,
569
- size: o,
570
- asChild: s = !1,
571
- ...i
572
- }) {
573
- const u = s ? G : "button";
574
- return /* @__PURE__ */ a.jsx(
575
- u,
576
- {
577
- "data-slot": "button",
578
- className: r(J({ variant: t, size: o, className: e })),
579
- ...i
580
- }
581
- );
582
- }
583
- function lr({
584
- ...e
585
- }) {
586
- return /* @__PURE__ */ a.jsx(L.Root, { "data-slot": "alert-dialog", ...e });
587
- }
588
- function dr({
589
- ...e
590
- }) {
591
- return /* @__PURE__ */ a.jsx(L.Trigger, { "data-slot": "alert-dialog-trigger", ...e });
592
- }
593
- function ta({
594
- ...e
595
- }) {
596
- return /* @__PURE__ */ a.jsx(L.Portal, { "data-slot": "alert-dialog-portal", ...e });
597
- }
598
- function aa({
599
- className: e,
600
- ...t
601
- }) {
602
- return /* @__PURE__ */ a.jsx(
603
- L.Overlay,
604
- {
605
- "data-slot": "alert-dialog-overlay",
606
- className: r(
607
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",
608
- e
609
- ),
610
- ...t
611
- }
612
- );
613
- }
614
- function ur({
615
- className: e,
616
- ...t
617
- }) {
618
- return /* @__PURE__ */ a.jsxs(ta, { children: [
619
- /* @__PURE__ */ a.jsx(aa, {}),
620
- /* @__PURE__ */ a.jsx(
621
- L.Content,
622
- {
623
- "data-slot": "alert-dialog-content",
624
- className: r(
625
- "bg-white 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border border-neutral-200 p-6 shadow-lg duration-200 sm:max-w-lg dark:bg-neutral-950 dark:border-neutral-800",
626
- e
627
- ),
628
- ...t
629
- }
630
- )
631
- ] });
632
- }
633
- function cr({
634
- className: e,
635
- ...t
636
- }) {
637
- return /* @__PURE__ */ a.jsx(
638
- "div",
639
- {
640
- "data-slot": "alert-dialog-header",
641
- className: r("flex flex-col gap-2 text-center sm:text-left", e),
642
- ...t
643
- }
644
- );
645
- }
646
- function fr({
647
- className: e,
648
- ...t
649
- }) {
650
- return /* @__PURE__ */ a.jsx(
651
- "div",
652
- {
653
- "data-slot": "alert-dialog-footer",
654
- className: r(
655
- "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
656
- e
657
- ),
658
- ...t
659
- }
660
- );
661
- }
662
- function mr({
663
- className: e,
664
- ...t
665
- }) {
666
- return /* @__PURE__ */ a.jsx(
667
- L.Title,
668
- {
669
- "data-slot": "alert-dialog-title",
670
- className: r("text-lg font-semibold", e),
671
- ...t
672
- }
673
- );
674
- }
675
- function gr({
676
- className: e,
677
- ...t
678
- }) {
679
- return /* @__PURE__ */ a.jsx(
680
- L.Description,
681
- {
682
- "data-slot": "alert-dialog-description",
683
- className: r("text-neutral-500 text-sm dark:text-neutral-400", e),
684
- ...t
685
- }
686
- );
687
- }
688
- function xr({
689
- className: e,
690
- ...t
691
- }) {
692
- return /* @__PURE__ */ a.jsx(
693
- L.Action,
694
- {
695
- className: r(J(), e),
696
- ...t
697
- }
698
- );
699
- }
700
- function br({
701
- className: e,
702
- ...t
703
- }) {
704
- return /* @__PURE__ */ a.jsx(
705
- L.Cancel,
706
- {
707
- className: r(J({ variant: "outline" }), e),
708
- ...t
709
- }
710
- );
711
- }
712
- const ra = X(
713
- "relative w-full rounded-lg border border-neutral-200 px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current dark:border-neutral-800",
714
- {
715
- variants: {
716
- variant: {
717
- default: "bg-white text-neutral-950 dark:bg-neutral-950 dark:text-neutral-50",
718
- destructive: "text-neutral-50 [&>svg]:text-current *:data-[slot=alert-description]:text-neutral-50/80 dark:text-neutral-50 dark:*:data-[slot=alert-description]:text-neutral-50/80"
719
- }
720
- },
721
- defaultVariants: {
722
- variant: "default"
723
- }
724
- }
725
- );
726
- function pr({
727
- className: e,
728
- variant: t,
729
- ...o
730
- }) {
731
- return /* @__PURE__ */ a.jsx(
732
- "div",
733
- {
734
- "data-slot": "alert",
735
- role: "alert",
736
- className: r(ra({ variant: t }), e),
737
- ...o
738
- }
739
- );
740
- }
741
- function vr({ className: e, ...t }) {
742
- return /* @__PURE__ */ a.jsx(
743
- "div",
744
- {
745
- "data-slot": "alert-title",
746
- className: r(
747
- "col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",
748
- e
749
- ),
750
- ...t
751
- }
752
- );
753
- }
754
- function hr({
755
- className: e,
756
- ...t
757
- }) {
758
- return /* @__PURE__ */ a.jsx(
759
- "div",
760
- {
761
- "data-slot": "alert-description",
762
- className: r(
763
- "text-neutral-500 col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed dark:text-neutral-400",
764
- e
765
- ),
766
- ...t
767
- }
768
- );
769
- }
770
- function kr({
771
- ...e
772
- }) {
773
- return /* @__PURE__ */ a.jsx(Lt.Root, { "data-slot": "aspect-ratio", ...e });
774
- }
775
- function wr({
776
- className: e,
777
- ...t
778
- }) {
779
- return /* @__PURE__ */ a.jsx(
780
- Te.Root,
781
- {
782
- "data-slot": "avatar",
783
- className: r(
784
- "relative flex size-8 shrink-0 overflow-hidden rounded-full",
785
- e
786
- ),
787
- ...t
788
- }
789
- );
790
- }
791
- function jr({
792
- className: e,
793
- ...t
794
- }) {
795
- return /* @__PURE__ */ a.jsx(
796
- Te.Image,
797
- {
798
- "data-slot": "avatar-image",
799
- className: r("aspect-square size-full", e),
800
- ...t
801
- }
802
- );
803
- }
804
- function Nr({
805
- className: e,
806
- ...t
807
- }) {
808
- return /* @__PURE__ */ a.jsx(
809
- Te.Fallback,
810
- {
811
- "data-slot": "avatar-fallback",
812
- className: r(
813
- "bg-neutral-100 flex size-full items-center justify-center rounded-full dark:bg-neutral-800",
814
- e
815
- ),
816
- ...t
817
- }
818
- );
819
- }
820
- const na = X(
821
- "inline-flex items-center justify-center rounded-md border border-neutral-200 px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50 focus-visible:ring-[3px] aria-invalid:ring-red-500/20 dark:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 transition-[color,box-shadow] overflow-hidden dark:border-neutral-800 dark:focus-visible:border-neutral-300 dark:focus-visible:ring-neutral-300/50 dark:aria-invalid:ring-red-900/20 dark:dark:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900",
822
- {
823
- variants: {
824
- variant: {
825
- default: "border-transparent bg-neutral-900 text-neutral-50 [a&]:hover:bg-neutral-900/90 dark:bg-neutral-50 dark:text-neutral-900 dark:[a&]:hover:bg-neutral-50/90",
826
- secondary: "border-transparent bg-neutral-100 text-neutral-900 [a&]:hover:bg-neutral-100/90 dark:bg-neutral-800 dark:text-neutral-50 dark:[a&]:hover:bg-neutral-800/90",
827
- destructive: "border-transparent bg-red-500 text-white [a&]:hover:bg-red-500/90 focus-visible:ring-red-500/20 dark:focus-visible:ring-red-500/40 dark:bg-red-900 dark:[a&]:hover:bg-red-900/90 dark:focus-visible:ring-red-900/20 dark:dark:focus-visible:ring-red-900/40",
828
- outline: "text-neutral-950 [a&]:hover:bg-neutral-100 [a&]:hover:text-neutral-900 dark:text-neutral-50 dark:[a&]:hover:bg-neutral-800 dark:[a&]:hover:text-neutral-50"
829
- }
830
- },
831
- defaultVariants: {
832
- variant: "default"
833
- }
834
- }
835
- );
836
- function yr({
837
- className: e,
838
- variant: t,
839
- asChild: o = !1,
840
- ...s
841
- }) {
842
- const i = o ? G : "span";
843
- return /* @__PURE__ */ a.jsx(
844
- i,
845
- {
846
- "data-slot": "badge",
847
- className: r(na({ variant: t }), e),
848
- ...s
849
- }
850
- );
851
- }
852
- function Cr({ ...e }) {
853
- return /* @__PURE__ */ a.jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...e });
854
- }
855
- function _r({ className: e, ...t }) {
856
- return /* @__PURE__ */ a.jsx(
857
- "ol",
858
- {
859
- "data-slot": "breadcrumb-list",
860
- className: r(
861
- "text-neutral-500 flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5 dark:text-neutral-400",
862
- e
863
- ),
864
- ...t
865
- }
866
- );
867
- }
868
- function zr({ className: e, ...t }) {
869
- return /* @__PURE__ */ a.jsx(
870
- "li",
871
- {
872
- "data-slot": "breadcrumb-item",
873
- className: r("inline-flex items-center gap-1.5", e),
874
- ...t
875
- }
876
- );
877
- }
878
- function Sr({
879
- asChild: e,
880
- className: t,
881
- ...o
882
- }) {
883
- const s = e ? G : "a";
884
- return /* @__PURE__ */ a.jsx(
885
- s,
886
- {
887
- "data-slot": "breadcrumb-link",
888
- className: r("hover:text-neutral-950 transition-colors dark:hover:text-neutral-50", t),
889
- ...o
890
- }
891
- );
892
- }
893
- function Tr({ className: e, ...t }) {
894
- return /* @__PURE__ */ a.jsx(
895
- "span",
896
- {
897
- "data-slot": "breadcrumb-page",
898
- role: "link",
899
- "aria-disabled": "true",
900
- "aria-current": "page",
901
- className: r("text-neutral-950 font-normal dark:text-neutral-50", e),
902
- ...t
903
- }
904
- );
905
- }
906
- function Er({
907
- children: e,
908
- className: t,
909
- ...o
910
- }) {
911
- return /* @__PURE__ */ a.jsx(
912
- "li",
913
- {
914
- "data-slot": "breadcrumb-separator",
915
- role: "presentation",
916
- "aria-hidden": "true",
917
- className: r("[&>svg]:size-3.5", t),
918
- ...o,
919
- children: e ?? /* @__PURE__ */ a.jsx(st, {})
920
- }
921
- );
922
- }
923
- function Pr({
924
- className: e,
925
- ...t
926
- }) {
927
- return /* @__PURE__ */ a.jsxs(
928
- "span",
929
- {
930
- "data-slot": "breadcrumb-ellipsis",
931
- role: "presentation",
932
- "aria-hidden": "true",
933
- className: r("flex size-9 items-center justify-center", e),
934
- ...t,
935
- children: [
936
- /* @__PURE__ */ a.jsx(Ct, { className: "size-4" }),
937
- /* @__PURE__ */ a.jsx("span", { className: "sr-only", children: "More" })
938
- ]
939
- }
940
- );
941
- }
942
- function Ir({
943
- className: e,
944
- classNames: t,
945
- showOutsideDays: o = !0,
946
- ...s
947
- }) {
948
- return /* @__PURE__ */ a.jsx(
949
- Gt,
950
- {
951
- showOutsideDays: o,
952
- className: r("p-3", e),
953
- classNames: {
954
- months: "flex flex-col sm:flex-row gap-2",
955
- month: "flex flex-col gap-4",
956
- caption: "flex justify-center pt-1 relative items-center w-full",
957
- caption_label: "text-sm font-medium",
958
- nav: "flex items-center gap-1",
959
- nav_button: r(
960
- J({ variant: "outline" }),
961
- "size-7 bg-transparent p-0 opacity-50 hover:opacity-100"
962
- ),
963
- nav_button_previous: "absolute left-1",
964
- nav_button_next: "absolute right-1",
965
- table: "w-full border-collapse space-x-1",
966
- head_row: "flex",
967
- head_cell: "text-neutral-500 rounded-md w-8 font-normal text-[0.8rem] dark:text-neutral-400",
968
- row: "flex w-full mt-2",
969
- cell: r(
970
- "relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-neutral-100 [&:has([aria-selected].day-range-end)]:rounded-r-md dark:[&:has([aria-selected])]:bg-neutral-800",
971
- s.mode === "range" ? "[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md" : "[&:has([aria-selected])]:rounded-md"
972
- ),
973
- day: r(
974
- J({ variant: "ghost" }),
975
- "size-8 p-0 font-normal aria-selected:opacity-100"
976
- ),
977
- day_range_start: "day-range-start aria-selected:bg-neutral-900 aria-selected:text-neutral-50 dark:aria-selected:bg-neutral-50 dark:aria-selected:text-neutral-900",
978
- day_range_end: "day-range-end aria-selected:bg-neutral-900 aria-selected:text-neutral-50 dark:aria-selected:bg-neutral-50 dark:aria-selected:text-neutral-900",
979
- day_selected: "bg-neutral-900 text-neutral-50 hover:bg-neutral-900 hover:text-neutral-50 focus:bg-neutral-900 focus:text-neutral-50 dark:bg-neutral-50 dark:text-neutral-900 dark:hover:bg-neutral-50 dark:hover:text-neutral-900 dark:focus:bg-neutral-50 dark:focus:text-neutral-900",
980
- day_today: "bg-neutral-100 text-neutral-900 dark:bg-neutral-800 dark:text-neutral-50",
981
- day_outside: "day-outside text-neutral-500 aria-selected:text-neutral-500 dark:text-neutral-400 dark:aria-selected:text-neutral-400",
982
- day_disabled: "text-neutral-500 opacity-50 dark:text-neutral-400",
983
- day_range_middle: "aria-selected:bg-neutral-100 aria-selected:text-neutral-900 dark:aria-selected:bg-neutral-800 dark:aria-selected:text-neutral-50",
984
- day_hidden: "invisible",
985
- ...t
986
- },
987
- components: {
988
- IconLeft: ({ className: i, ...u }) => /* @__PURE__ */ a.jsx(_t, { className: r("size-4", i), ...u }),
989
- IconRight: ({ className: i, ...u }) => /* @__PURE__ */ a.jsx(st, { className: r("size-4", i), ...u })
990
- },
991
- ...s
992
- }
993
- );
994
- }
995
- function Rr({ className: e, ...t }) {
996
- return /* @__PURE__ */ a.jsx(
997
- "div",
998
- {
999
- "data-slot": "card",
1000
- className: r(
1001
- "bg-white text-neutral-950 flex flex-col gap-6 rounded-xl border border-neutral-200 py-6 shadow-sm dark:bg-neutral-950 dark:text-neutral-50 dark:border-neutral-800",
1002
- e
1003
- ),
1004
- ...t
1005
- }
1006
- );
1007
- }
1008
- function Mr({ className: e, ...t }) {
1009
- return /* @__PURE__ */ a.jsx(
1010
- "div",
1011
- {
1012
- "data-slot": "card-header",
1013
- className: r("flex flex-col gap-1.5 px-6", e),
1014
- ...t
1015
- }
1016
- );
1017
- }
1018
- function Ar({ className: e, ...t }) {
1019
- return /* @__PURE__ */ a.jsx(
1020
- "div",
1021
- {
1022
- "data-slot": "card-title",
1023
- className: r("leading-none font-semibold", e),
1024
- ...t
1025
- }
1026
- );
1027
- }
1028
- function Dr({ className: e, ...t }) {
1029
- return /* @__PURE__ */ a.jsx(
1030
- "div",
1031
- {
1032
- "data-slot": "card-description",
1033
- className: r("text-neutral-500 text-sm dark:text-neutral-400", e),
1034
- ...t
1035
- }
1036
- );
1037
- }
1038
- function Or({ className: e, ...t }) {
1039
- return /* @__PURE__ */ a.jsx(
1040
- "div",
1041
- {
1042
- "data-slot": "card-content",
1043
- className: r("px-6", e),
1044
- ...t
1045
- }
1046
- );
1047
- }
1048
- function Lr({ className: e, ...t }) {
1049
- return /* @__PURE__ */ a.jsx(
1050
- "div",
1051
- {
1052
- "data-slot": "card-footer",
1053
- className: r("flex items-center px-6", e),
1054
- ...t
1055
- }
1056
- );
1057
- }
1058
- const dt = g.createContext(null);
1059
- function me() {
1060
- const e = g.useContext(dt);
1061
- if (!e)
1062
- throw new Error("useCarousel must be used within a <Carousel />");
1063
- return e;
1064
- }
1065
- function Gr({
1066
- orientation: e = "horizontal",
1067
- opts: t,
1068
- setApi: o,
1069
- plugins: s,
1070
- className: i,
1071
- children: u,
1072
- ...f
1073
- }) {
1074
- const [p, c] = $t(
1075
- {
1076
- ...t,
1077
- axis: e === "horizontal" ? "x" : "y"
1078
- },
1079
- s
1080
- ), [w, M] = g.useState(!1), [H, I] = g.useState(!1), j = g.useCallback((v) => {
1081
- v && (M(v.canScrollPrev()), I(v.canScrollNext()));
1082
- }, []), E = g.useCallback(() => {
1083
- c == null || c.scrollPrev();
1084
- }, [c]), P = g.useCallback(() => {
1085
- c == null || c.scrollNext();
1086
- }, [c]), x = g.useCallback(
1087
- (v) => {
1088
- v.key === "ArrowLeft" ? (v.preventDefault(), E()) : v.key === "ArrowRight" && (v.preventDefault(), P());
1089
- },
1090
- [E, P]
1091
- );
1092
- return g.useEffect(() => {
1093
- !c || !o || o(c);
1094
- }, [c, o]), g.useEffect(() => {
1095
- if (c)
1096
- return j(c), c.on("reInit", j), c.on("select", j), () => {
1097
- c == null || c.off("select", j);
1098
- };
1099
- }, [c, j]), /* @__PURE__ */ a.jsx(
1100
- dt.Provider,
1101
- {
1102
- value: {
1103
- carouselRef: p,
1104
- api: c,
1105
- opts: t,
1106
- orientation: e || ((t == null ? void 0 : t.axis) === "y" ? "vertical" : "horizontal"),
1107
- scrollPrev: E,
1108
- scrollNext: P,
1109
- canScrollPrev: w,
1110
- canScrollNext: H
1111
- },
1112
- children: /* @__PURE__ */ a.jsx(
1113
- "div",
1114
- {
1115
- onKeyDownCapture: x,
1116
- className: r("relative", i),
1117
- role: "region",
1118
- "aria-roledescription": "carousel",
1119
- "data-slot": "carousel",
1120
- ...f,
1121
- children: u
1122
- }
1123
- )
1124
- }
1125
- );
1126
- }
1127
- function $r({ className: e, ...t }) {
1128
- const { carouselRef: o, orientation: s } = me();
1129
- return /* @__PURE__ */ a.jsx(
1130
- "div",
1131
- {
1132
- ref: o,
1133
- className: "overflow-hidden",
1134
- "data-slot": "carousel-content",
1135
- children: /* @__PURE__ */ a.jsx(
1136
- "div",
1137
- {
1138
- className: r(
1139
- "flex",
1140
- s === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
1141
- e
1142
- ),
1143
- ...t
1144
- }
1145
- )
1146
- }
1147
- );
1148
- }
1149
- function Br({ className: e, ...t }) {
1150
- const { orientation: o } = me();
1151
- return /* @__PURE__ */ a.jsx(
1152
- "div",
1153
- {
1154
- role: "group",
1155
- "aria-roledescription": "slide",
1156
- "data-slot": "carousel-item",
1157
- className: r(
1158
- "min-w-0 shrink-0 grow-0 basis-full",
1159
- o === "horizontal" ? "pl-4" : "pt-4",
1160
- e
1161
- ),
1162
- ...t
1163
- }
1164
- );
1165
- }
1166
- function Fr({
1167
- className: e,
1168
- variant: t = "outline",
1169
- size: o = "icon",
1170
- ...s
1171
- }) {
1172
- const { orientation: i, scrollPrev: u, canScrollPrev: f } = me();
1173
- return /* @__PURE__ */ a.jsxs(
1174
- Me,
1175
- {
1176
- "data-slot": "carousel-previous",
1177
- variant: t,
1178
- size: o,
1179
- className: r(
1180
- "absolute size-8 rounded-full",
1181
- i === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
1182
- e
1183
- ),
1184
- disabled: !f,
1185
- onClick: u,
1186
- ...s,
1187
- children: [
1188
- /* @__PURE__ */ a.jsx(zt, {}),
1189
- /* @__PURE__ */ a.jsx("span", { className: "sr-only", children: "Previous slide" })
1190
- ]
1191
- }
1192
- );
1193
- }
1194
- function Hr({
1195
- className: e,
1196
- variant: t = "outline",
1197
- size: o = "icon",
1198
- ...s
1199
- }) {
1200
- const { orientation: i, scrollNext: u, canScrollNext: f } = me();
1201
- return /* @__PURE__ */ a.jsxs(
1202
- Me,
1203
- {
1204
- "data-slot": "carousel-next",
1205
- variant: t,
1206
- size: o,
1207
- className: r(
1208
- "absolute size-8 rounded-full",
1209
- i === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
1210
- e
1211
- ),
1212
- disabled: !f,
1213
- onClick: u,
1214
- ...s,
1215
- children: [
1216
- /* @__PURE__ */ a.jsx(St, {}),
1217
- /* @__PURE__ */ a.jsx("span", { className: "sr-only", children: "Next slide" })
1218
- ]
1219
- }
1220
- );
1221
- }
1222
- const oa = { light: "", dark: ".dark" }, ut = g.createContext(null);
1223
- function ct() {
1224
- const e = g.useContext(ut);
1225
- if (!e)
1226
- throw new Error("useChart must be used within a <ChartContainer />");
1227
- return e;
1228
- }
1229
- function Vr({
1230
- id: e,
1231
- className: t,
1232
- children: o,
1233
- config: s,
1234
- ...i
1235
- }) {
1236
- const u = g.useId(), f = `chart-${e || u.replace(/:/g, "")}`;
1237
- return /* @__PURE__ */ a.jsx(ut.Provider, { value: { config: s }, children: /* @__PURE__ */ a.jsxs(
1238
- "div",
1239
- {
1240
- "data-slot": "chart",
1241
- "data-chart": f,
1242
- className: r(
1243
- "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",
1244
- t
1245
- ),
1246
- ...i,
1247
- children: [
1248
- /* @__PURE__ */ a.jsx(sa, { id: f, config: s }),
1249
- /* @__PURE__ */ a.jsx(Ee.ResponsiveContainer, { children: o })
1250
- ]
1251
- }
1252
- ) });
1253
- }
1254
- const sa = ({ id: e, config: t }) => {
1255
- const o = Object.entries(t).filter(
1256
- ([, s]) => s.theme || s.color
1257
- );
1258
- return o.length ? /* @__PURE__ */ a.jsx(
1259
- "style",
1260
- {
1261
- dangerouslySetInnerHTML: {
1262
- __html: Object.entries(oa).map(
1263
- ([s, i]) => `
1264
- ${i} [data-chart=${e}] {
1265
- ${o.map(([u, f]) => {
1266
- var c;
1267
- const p = ((c = f.theme) == null ? void 0 : c[s]) || f.color;
1268
- return p ? ` --color-${u}: ${p};` : null;
1269
- }).join(`
1270
- `)}
1271
- }
1272
- `
1273
- ).join(`
1274
- `)
1275
- }
1276
- }
1277
- ) : null;
1278
- }, Yr = Ee.Tooltip;
1279
- function Wr({
1280
- active: e,
1281
- payload: t,
1282
- className: o,
1283
- indicator: s = "dot",
1284
- hideLabel: i = !1,
1285
- hideIndicator: u = !1,
1286
- label: f,
1287
- labelFormatter: p,
1288
- labelClassName: c,
1289
- formatter: w,
1290
- color: M,
1291
- nameKey: H,
1292
- labelKey: I
1293
- }) {
1294
- const { config: j } = ct(), E = g.useMemo(() => {
1295
- var A;
1296
- if (i || !(t != null && t.length))
1297
- return null;
1298
- const [x] = t, v = `${I || (x == null ? void 0 : x.dataKey) || (x == null ? void 0 : x.name) || "value"}`, _ = Se(j, x, v), R = !I && typeof f == "string" ? ((A = j[f]) == null ? void 0 : A.label) || f : _ == null ? void 0 : _.label;
1299
- return p ? /* @__PURE__ */ a.jsx("div", { className: r("font-medium", c), children: p(R, t) }) : R ? /* @__PURE__ */ a.jsx("div", { className: r("font-medium", c), children: R }) : null;
1300
- }, [
1301
- f,
1302
- p,
1303
- t,
1304
- i,
1305
- c,
1306
- j,
1307
- I
1308
- ]);
1309
- if (!e || !(t != null && t.length))
1310
- return null;
1311
- const P = t.length === 1 && s !== "dot";
1312
- return /* @__PURE__ */ a.jsxs(
1313
- "div",
1314
- {
1315
- className: r(
1316
- "border-neutral-200/50 bg-white grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-neutral-200 px-2.5 py-1.5 text-xs shadow-xl dark:border-neutral-800/50 dark:bg-neutral-950 dark:border-neutral-800",
1317
- o
1318
- ),
1319
- children: [
1320
- P ? null : E,
1321
- /* @__PURE__ */ a.jsx("div", { className: "grid gap-1.5", children: t.map((x, v) => {
1322
- const _ = `${H || x.name || x.dataKey || "value"}`, R = Se(j, x, _), A = M || x.payload.fill || x.color;
1323
- return /* @__PURE__ */ a.jsx(
1324
- "div",
1325
- {
1326
- className: r(
1327
- "[&>svg]:text-neutral-500 flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 dark:[&>svg]:text-neutral-400",
1328
- s === "dot" && "items-center"
1329
- ),
1330
- children: w && (x == null ? void 0 : x.value) !== void 0 && x.name ? w(x.value, x.name, x, v, x.payload) : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1331
- R != null && R.icon ? /* @__PURE__ */ a.jsx(R.icon, {}) : !u && /* @__PURE__ */ a.jsx(
1332
- "div",
1333
- {
1334
- className: r(
1335
- "shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",
1336
- {
1337
- "h-2.5 w-2.5": s === "dot",
1338
- "w-1": s === "line",
1339
- "w-0 border-[1.5px] border-dashed bg-transparent": s === "dashed",
1340
- "my-0.5": P && s === "dashed"
1341
- }
1342
- ),
1343
- style: {
1344
- "--color-bg": A,
1345
- "--color-border": A
1346
- }
1347
- }
1348
- ),
1349
- /* @__PURE__ */ a.jsxs(
1350
- "div",
1351
- {
1352
- className: r(
1353
- "flex flex-1 justify-between leading-none",
1354
- P ? "items-end" : "items-center"
1355
- ),
1356
- children: [
1357
- /* @__PURE__ */ a.jsxs("div", { className: "grid gap-1.5", children: [
1358
- P ? E : null,
1359
- /* @__PURE__ */ a.jsx("span", { className: "text-neutral-500 dark:text-neutral-400", children: (R == null ? void 0 : R.label) || x.name })
1360
- ] }),
1361
- x.value && /* @__PURE__ */ a.jsx("span", { className: "text-neutral-950 font-mono font-medium tabular-nums dark:text-neutral-50", children: x.value.toLocaleString() })
1362
- ]
1363
- }
1364
- )
1365
- ] })
1366
- },
1367
- x.dataKey
1368
- );
1369
- }) })
1370
- ]
1371
- }
1372
- );
1373
- }
1374
- const Ur = Ee.Legend;
1375
- function qr({
1376
- className: e,
1377
- hideIcon: t = !1,
1378
- payload: o,
1379
- verticalAlign: s = "bottom",
1380
- nameKey: i
1381
- }) {
1382
- const { config: u } = ct();
1383
- return o != null && o.length ? /* @__PURE__ */ a.jsx(
1384
- "div",
1385
- {
1386
- className: r(
1387
- "flex items-center justify-center gap-4",
1388
- s === "top" ? "pb-3" : "pt-3",
1389
- e
1390
- ),
1391
- children: o.map((f) => {
1392
- const p = `${i || f.dataKey || "value"}`, c = Se(u, f, p);
1393
- return /* @__PURE__ */ a.jsxs(
1394
- "div",
1395
- {
1396
- className: r(
1397
- "[&>svg]:text-neutral-500 flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 dark:[&>svg]:text-neutral-400"
1398
- ),
1399
- children: [
1400
- c != null && c.icon && !t ? /* @__PURE__ */ a.jsx(c.icon, {}) : /* @__PURE__ */ a.jsx(
1401
- "div",
1402
- {
1403
- className: "h-2 w-2 shrink-0 rounded-[2px]",
1404
- style: {
1405
- backgroundColor: f.color
1406
- }
1407
- }
1408
- ),
1409
- c == null ? void 0 : c.label
1410
- ]
1411
- },
1412
- f.value
1413
- );
1414
- })
1415
- }
1416
- ) : null;
1417
- }
1418
- function Se(e, t, o) {
1419
- if (typeof t != "object" || t === null)
1420
- return;
1421
- const s = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0;
1422
- let i = o;
1423
- return o in t && typeof t[o] == "string" ? i = t[o] : s && o in s && typeof s[o] == "string" && (i = s[o]), i in e ? e[i] : e[o];
1424
- }
1425
- function Kr({
1426
- className: e,
1427
- ...t
1428
- }) {
1429
- return /* @__PURE__ */ a.jsx(
1430
- Qe.Root,
1431
- {
1432
- "data-slot": "checkbox",
1433
- className: r(
1434
- "peer border-neutral-200 data-[state=checked]:bg-neutral-900 data-[state=checked]:text-neutral-50 data-[state=checked]:border-neutral-900 focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50 aria-invalid:ring-red-500/20 dark:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 dark:border-neutral-800 dark:data-[state=checked]:bg-neutral-50 dark:data-[state=checked]:text-neutral-900 dark:data-[state=checked]:border-neutral-50 dark:focus-visible:border-neutral-300 dark:focus-visible:ring-neutral-300/50 dark:aria-invalid:ring-red-900/20 dark:dark:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900",
1435
- e
1436
- ),
1437
- ...t,
1438
- children: /* @__PURE__ */ a.jsx(
1439
- Qe.Indicator,
1440
- {
1441
- "data-slot": "checkbox-indicator",
1442
- className: "flex items-center justify-center text-current transition-none",
1443
- children: /* @__PURE__ */ a.jsx(oe, { className: "size-3.5" })
1444
- }
1445
- )
1446
- }
1447
- );
1448
- }
1449
- function Jr({
1450
- ...e
1451
- }) {
1452
- return /* @__PURE__ */ a.jsx(Pe.Root, { "data-slot": "collapsible", ...e });
1453
- }
1454
- function Xr({
1455
- ...e
1456
- }) {
1457
- return /* @__PURE__ */ a.jsx(
1458
- Pe.CollapsibleTrigger,
1459
- {
1460
- "data-slot": "collapsible-trigger",
1461
- ...e
1462
- }
1463
- );
1464
- }
1465
- function Zr({
1466
- ...e
1467
- }) {
1468
- return /* @__PURE__ */ a.jsx(
1469
- Pe.CollapsibleContent,
1470
- {
1471
- "data-slot": "collapsible-content",
1472
- ...e
1473
- }
1474
- );
1475
- }
1476
- function ia({
1477
- ...e
1478
- }) {
1479
- return /* @__PURE__ */ a.jsx(k.Root, { "data-slot": "dialog", ...e });
1480
- }
1481
- function Qr({
1482
- ...e
1483
- }) {
1484
- return /* @__PURE__ */ a.jsx(k.Trigger, { "data-slot": "dialog-trigger", ...e });
1485
- }
1486
- function la({
1487
- ...e
1488
- }) {
1489
- return /* @__PURE__ */ a.jsx(k.Portal, { "data-slot": "dialog-portal", ...e });
1490
- }
1491
- function en({
1492
- ...e
1493
- }) {
1494
- return /* @__PURE__ */ a.jsx(k.Close, { "data-slot": "dialog-close", ...e });
1495
- }
1496
- function da({
1497
- className: e,
1498
- ...t
1499
- }) {
1500
- return /* @__PURE__ */ a.jsx(
1501
- k.Overlay,
1502
- {
1503
- "data-slot": "dialog-overlay",
1504
- className: r(
1505
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",
1506
- e
1507
- ),
1508
- ...t
1509
- }
1510
- );
1511
- }
1512
- function ua({
1513
- className: e,
1514
- children: t,
1515
- ...o
1516
- }) {
1517
- return /* @__PURE__ */ a.jsxs(la, { "data-slot": "dialog-portal", children: [
1518
- /* @__PURE__ */ a.jsx(da, {}),
1519
- /* @__PURE__ */ a.jsxs(
1520
- k.Content,
1521
- {
1522
- "data-slot": "dialog-content",
1523
- className: r(
1524
- "bg-white 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border border-neutral-200 p-6 shadow-lg duration-200 sm:max-w-lg dark:bg-neutral-950 dark:border-neutral-800",
1525
- e
1526
- ),
1527
- ...o,
1528
- children: [
1529
- t,
1530
- /* @__PURE__ */ a.jsxs(k.Close, { className: "ring-offset-white focus:ring-neutral-950 data-[state=open]:bg-neutral-100 data-[state=open]:text-neutral-500 absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:ring-offset-neutral-950 dark:focus:ring-neutral-300 dark:data-[state=open]:bg-neutral-800 dark:data-[state=open]:text-neutral-400", children: [
1531
- /* @__PURE__ */ a.jsx(it, {}),
1532
- /* @__PURE__ */ a.jsx("span", { className: "sr-only", children: "Close" })
1533
- ] })
1534
- ]
1535
- }
1536
- )
1537
- ] });
1538
- }
1539
- function ca({ className: e, ...t }) {
1540
- return /* @__PURE__ */ a.jsx(
1541
- "div",
1542
- {
1543
- "data-slot": "dialog-header",
1544
- className: r("flex flex-col gap-2 text-center sm:text-left", e),
1545
- ...t
1546
- }
1547
- );
1548
- }
1549
- function tn({ className: e, ...t }) {
1550
- return /* @__PURE__ */ a.jsx(
1551
- "div",
1552
- {
1553
- "data-slot": "dialog-footer",
1554
- className: r(
1555
- "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
1556
- e
1557
- ),
1558
- ...t
1559
- }
1560
- );
1561
- }
1562
- function fa({
1563
- className: e,
1564
- ...t
1565
- }) {
1566
- return /* @__PURE__ */ a.jsx(
1567
- k.Title,
1568
- {
1569
- "data-slot": "dialog-title",
1570
- className: r("text-lg leading-none font-semibold", e),
1571
- ...t
1572
- }
1573
- );
1574
- }
1575
- function ma({
1576
- className: e,
1577
- ...t
1578
- }) {
1579
- return /* @__PURE__ */ a.jsx(
1580
- k.Description,
1581
- {
1582
- "data-slot": "dialog-description",
1583
- className: r("text-neutral-500 text-sm dark:text-neutral-400", e),
1584
- ...t
1585
- }
1586
- );
1587
- }
1588
- function ga({
1589
- className: e,
1590
- ...t
1591
- }) {
1592
- return /* @__PURE__ */ a.jsx(
1593
- U,
1594
- {
1595
- "data-slot": "command",
1596
- className: r(
1597
- "bg-white text-neutral-950 flex h-full w-full flex-col overflow-hidden rounded-md dark:bg-neutral-950 dark:text-neutral-50",
1598
- e
1599
- ),
1600
- ...t
1601
- }
1602
- );
1603
- }
1604
- function an({
1605
- title: e = "Command Palette",
1606
- description: t = "Search for a command to run...",
1607
- children: o,
1608
- ...s
1609
- }) {
1610
- return /* @__PURE__ */ a.jsxs(ia, { ...s, children: [
1611
- /* @__PURE__ */ a.jsxs(ca, { className: "sr-only", children: [
1612
- /* @__PURE__ */ a.jsx(fa, { children: e }),
1613
- /* @__PURE__ */ a.jsx(ma, { children: t })
1614
- ] }),
1615
- /* @__PURE__ */ a.jsx(ua, { className: "overflow-hidden p-0", children: /* @__PURE__ */ a.jsx(ga, { className: "[&_[cmdk-group-heading]]:text-neutral-500 **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[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 dark:[&_[cmdk-group-heading]]:text-neutral-400", children: o }) })
1616
- ] });
1617
- }
1618
- function rn({
1619
- className: e,
1620
- ...t
1621
- }) {
1622
- return /* @__PURE__ */ a.jsxs(
1623
- "div",
1624
- {
1625
- "data-slot": "command-input-wrapper",
1626
- className: "flex h-9 items-center gap-2 border-b px-3",
1627
- children: [
1628
- /* @__PURE__ */ a.jsx(Tt, { className: "size-4 shrink-0 opacity-50" }),
1629
- /* @__PURE__ */ a.jsx(
1630
- U.Input,
1631
- {
1632
- "data-slot": "command-input",
1633
- className: r(
1634
- "placeholder:text-neutral-500 flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50 dark:placeholder:text-neutral-400",
1635
- e
1636
- ),
1637
- ...t
1638
- }
1639
- )
1640
- ]
1641
- }
1642
- );
1643
- }
1644
- function nn({
1645
- className: e,
1646
- ...t
1647
- }) {
1648
- return /* @__PURE__ */ a.jsx(
1649
- U.List,
1650
- {
1651
- "data-slot": "command-list",
1652
- className: r(
1653
- "max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",
1654
- e
1655
- ),
1656
- ...t
1657
- }
1658
- );
1659
- }
1660
- function on({
1661
- ...e
1662
- }) {
1663
- return /* @__PURE__ */ a.jsx(
1664
- U.Empty,
1665
- {
1666
- "data-slot": "command-empty",
1667
- className: "py-6 text-center text-sm",
1668
- ...e
1669
- }
1670
- );
1671
- }
1672
- function sn({
1673
- className: e,
1674
- ...t
1675
- }) {
1676
- return /* @__PURE__ */ a.jsx(
1677
- U.Group,
1678
- {
1679
- "data-slot": "command-group",
1680
- className: r(
1681
- "text-neutral-950 [&_[cmdk-group-heading]]:text-neutral-500 overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium dark:text-neutral-50 dark:[&_[cmdk-group-heading]]:text-neutral-400",
1682
- e
1683
- ),
1684
- ...t
1685
- }
1686
- );
1687
- }
1688
- function ln({
1689
- className: e,
1690
- ...t
1691
- }) {
1692
- return /* @__PURE__ */ a.jsx(
1693
- U.Separator,
1694
- {
1695
- "data-slot": "command-separator",
1696
- className: r("bg-neutral-200 -mx-1 h-px dark:bg-neutral-800", e),
1697
- ...t
1698
- }
1699
- );
1700
- }
1701
- function dn({
1702
- className: e,
1703
- ...t
1704
- }) {
1705
- return /* @__PURE__ */ a.jsx(
1706
- U.Item,
1707
- {
1708
- "data-slot": "command-item",
1709
- className: r(
1710
- "data-[selected=true]:bg-neutral-100 data-[selected=true]:text-neutral-900 [&_svg:not([class*='text-'])]:text-neutral-500 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:data-[selected=true]:bg-neutral-800 dark:data-[selected=true]:text-neutral-50 dark:[&_svg:not([class*='text-'])]:text-neutral-400",
1711
- e
1712
- ),
1713
- ...t
1714
- }
1715
- );
1716
- }
1717
- function un({
1718
- className: e,
1719
- ...t
1720
- }) {
1721
- return /* @__PURE__ */ a.jsx(
1722
- "span",
1723
- {
1724
- "data-slot": "command-shortcut",
1725
- className: r(
1726
- "text-neutral-500 ml-auto text-xs tracking-widest dark:text-neutral-400",
1727
- e
1728
- ),
1729
- ...t
1730
- }
1731
- );
1732
- }
1733
- function cn({
1734
- ...e
1735
- }) {
1736
- return /* @__PURE__ */ a.jsx(N.Root, { "data-slot": "context-menu", ...e });
1737
- }
1738
- function fn({
1739
- ...e
1740
- }) {
1741
- return /* @__PURE__ */ a.jsx(N.Trigger, { "data-slot": "context-menu-trigger", ...e });
1742
- }
1743
- function mn({
1744
- ...e
1745
- }) {
1746
- return /* @__PURE__ */ a.jsx(N.Group, { "data-slot": "context-menu-group", ...e });
1747
- }
1748
- function gn({
1749
- ...e
1750
- }) {
1751
- return /* @__PURE__ */ a.jsx(N.Portal, { "data-slot": "context-menu-portal", ...e });
1752
- }
1753
- function xn({
1754
- ...e
1755
- }) {
1756
- return /* @__PURE__ */ a.jsx(N.Sub, { "data-slot": "context-menu-sub", ...e });
1757
- }
1758
- function bn({
1759
- ...e
1760
- }) {
1761
- return /* @__PURE__ */ a.jsx(
1762
- N.RadioGroup,
1763
- {
1764
- "data-slot": "context-menu-radio-group",
1765
- ...e
1766
- }
1767
- );
1768
- }
1769
- function pn({
1770
- className: e,
1771
- inset: t,
1772
- children: o,
1773
- ...s
1774
- }) {
1775
- return /* @__PURE__ */ a.jsxs(
1776
- N.SubTrigger,
1777
- {
1778
- "data-slot": "context-menu-sub-trigger",
1779
- "data-inset": t,
1780
- className: r(
1781
- "focus:bg-neutral-100 focus:text-neutral-900 data-[state=open]:bg-neutral-100 data-[state=open]:text-neutral-900 flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-neutral-800 dark:focus:text-neutral-50 dark:data-[state=open]:bg-neutral-800 dark:data-[state=open]:text-neutral-50",
1782
- e
1783
- ),
1784
- ...s,
1785
- children: [
1786
- o,
1787
- /* @__PURE__ */ a.jsx(ce, { className: "ml-auto" })
1788
- ]
1789
- }
1790
- );
1791
- }
1792
- function vn({
1793
- className: e,
1794
- ...t
1795
- }) {
1796
- return /* @__PURE__ */ a.jsx(
1797
- N.SubContent,
1798
- {
1799
- "data-slot": "context-menu-sub-content",
1800
- className: r(
1801
- "bg-white text-neutral-950 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 z-50 min-w-[8rem] overflow-hidden rounded-md border border-neutral-200 p-1 shadow-lg dark:bg-neutral-950 dark:text-neutral-50 dark:border-neutral-800",
1802
- e
1803
- ),
1804
- ...t
1805
- }
1806
- );
1807
- }
1808
- function hn({
1809
- className: e,
1810
- ...t
1811
- }) {
1812
- return /* @__PURE__ */ a.jsx(N.Portal, { children: /* @__PURE__ */ a.jsx(
1813
- N.Content,
1814
- {
1815
- "data-slot": "context-menu-content",
1816
- className: r(
1817
- "bg-white text-neutral-950 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 z-50 min-w-[8rem] overflow-hidden rounded-md border border-neutral-200 p-1 shadow-md dark:bg-neutral-950 dark:text-neutral-50 dark:border-neutral-800",
1818
- e
1819
- ),
1820
- ...t
1821
- }
1822
- ) });
1823
- }
1824
- function kn({
1825
- className: e,
1826
- inset: t,
1827
- variant: o = "default",
1828
- ...s
1829
- }) {
1830
- return /* @__PURE__ */ a.jsx(
1831
- N.Item,
1832
- {
1833
- "data-slot": "context-menu-item",
1834
- "data-inset": t,
1835
- "data-variant": o,
1836
- className: r(
1837
- "focus:bg-neutral-100 focus:text-neutral-900 data-[variant=destructive]:text-neutral-50 data-[variant=destructive]:focus:bg-red-500/10 dark:data-[variant=destructive]:focus:bg-red-500/40 data-[variant=destructive]:focus:text-neutral-50 data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-neutral-500 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-neutral-800 dark:focus:text-neutral-50 dark:data-[variant=destructive]:text-neutral-50 dark:data-[variant=destructive]:focus:bg-red-900/10 dark:dark:data-[variant=destructive]:focus:bg-red-900/40 dark:data-[variant=destructive]:focus:text-neutral-50 dark:[&_svg:not([class*='text-'])]:text-neutral-400",
1838
- e
1839
- ),
1840
- ...s
1841
- }
1842
- );
1843
- }
1844
- function wn({
1845
- className: e,
1846
- children: t,
1847
- checked: o,
1848
- ...s
1849
- }) {
1850
- return /* @__PURE__ */ a.jsxs(
1851
- N.CheckboxItem,
1852
- {
1853
- "data-slot": "context-menu-checkbox-item",
1854
- className: r(
1855
- "focus:bg-neutral-100 focus:text-neutral-900 relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-neutral-800 dark:focus:text-neutral-50",
1856
- e
1857
- ),
1858
- checked: o,
1859
- ...s,
1860
- children: [
1861
- /* @__PURE__ */ a.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(N.ItemIndicator, { children: /* @__PURE__ */ a.jsx(oe, { className: "size-4" }) }) }),
1862
- t
1863
- ]
1864
- }
1865
- );
1866
- }
1867
- function jn({
1868
- className: e,
1869
- children: t,
1870
- ...o
1871
- }) {
1872
- return /* @__PURE__ */ a.jsxs(
1873
- N.RadioItem,
1874
- {
1875
- "data-slot": "context-menu-radio-item",
1876
- className: r(
1877
- "focus:bg-neutral-100 focus:text-neutral-900 relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-neutral-800 dark:focus:text-neutral-50",
1878
- e
1879
- ),
1880
- ...o,
1881
- children: [
1882
- /* @__PURE__ */ a.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(N.ItemIndicator, { children: /* @__PURE__ */ a.jsx(ue, { className: "size-2 fill-current" }) }) }),
1883
- t
1884
- ]
1885
- }
1886
- );
1887
- }
1888
- function Nn({
1889
- className: e,
1890
- inset: t,
1891
- ...o
1892
- }) {
1893
- return /* @__PURE__ */ a.jsx(
1894
- N.Label,
1895
- {
1896
- "data-slot": "context-menu-label",
1897
- "data-inset": t,
1898
- className: r(
1899
- "text-neutral-950 px-2 py-1.5 text-sm font-medium data-[inset]:pl-8 dark:text-neutral-50",
1900
- e
1901
- ),
1902
- ...o
1903
- }
1904
- );
1905
- }
1906
- function yn({
1907
- className: e,
1908
- ...t
1909
- }) {
1910
- return /* @__PURE__ */ a.jsx(
1911
- N.Separator,
1912
- {
1913
- "data-slot": "context-menu-separator",
1914
- className: r("bg-neutral-200 -mx-1 my-1 h-px dark:bg-neutral-800", e),
1915
- ...t
1916
- }
1917
- );
1918
- }
1919
- function Cn({
1920
- className: e,
1921
- ...t
1922
- }) {
1923
- return /* @__PURE__ */ a.jsx(
1924
- "span",
1925
- {
1926
- "data-slot": "context-menu-shortcut",
1927
- className: r(
1928
- "text-neutral-500 ml-auto text-xs tracking-widest dark:text-neutral-400",
1929
- e
1930
- ),
1931
- ...t
1932
- }
1933
- );
1934
- }
1935
- function _n({
1936
- ...e
1937
- }) {
1938
- return /* @__PURE__ */ a.jsx(B.Root, { "data-slot": "drawer", ...e });
1939
- }
1940
- function zn({
1941
- ...e
1942
- }) {
1943
- return /* @__PURE__ */ a.jsx(B.Trigger, { "data-slot": "drawer-trigger", ...e });
1944
- }
1945
- function xa({
1946
- ...e
1947
- }) {
1948
- return /* @__PURE__ */ a.jsx(B.Portal, { "data-slot": "drawer-portal", ...e });
1949
- }
1950
- function Sn({
1951
- ...e
1952
- }) {
1953
- return /* @__PURE__ */ a.jsx(B.Close, { "data-slot": "drawer-close", ...e });
1954
- }
1955
- function ba({
1956
- className: e,
1957
- ...t
1958
- }) {
1959
- return /* @__PURE__ */ a.jsx(
1960
- B.Overlay,
1961
- {
1962
- "data-slot": "drawer-overlay",
1963
- className: r(
1964
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",
1965
- e
1966
- ),
1967
- ...t
1968
- }
1969
- );
1970
- }
1971
- function Tn({
1972
- className: e,
1973
- children: t,
1974
- ...o
1975
- }) {
1976
- return /* @__PURE__ */ a.jsxs(xa, { "data-slot": "drawer-portal", children: [
1977
- /* @__PURE__ */ a.jsx(ba, {}),
1978
- /* @__PURE__ */ a.jsxs(
1979
- B.Content,
1980
- {
1981
- "data-slot": "drawer-content",
1982
- className: r(
1983
- "group/drawer-content bg-white fixed z-50 flex h-auto flex-col dark:bg-neutral-950",
1984
- "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg",
1985
- "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg",
1986
- "data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:sm:max-w-sm",
1987
- "data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:sm:max-w-sm",
1988
- e
1989
- ),
1990
- ...o,
1991
- children: [
1992
- /* @__PURE__ */ a.jsx("div", { className: "bg-neutral-100 mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block dark:bg-neutral-800" }),
1993
- t
1994
- ]
1995
- }
1996
- )
1997
- ] });
1998
- }
1999
- function En({ className: e, ...t }) {
2000
- return /* @__PURE__ */ a.jsx(
2001
- "div",
2002
- {
2003
- "data-slot": "drawer-header",
2004
- className: r("flex flex-col gap-1.5 p-4", e),
2005
- ...t
2006
- }
2007
- );
2008
- }
2009
- function Pn({ className: e, ...t }) {
2010
- return /* @__PURE__ */ a.jsx(
2011
- "div",
2012
- {
2013
- "data-slot": "drawer-footer",
2014
- className: r("mt-auto flex flex-col gap-2 p-4", e),
2015
- ...t
2016
- }
2017
- );
2018
- }
2019
- function In({
2020
- className: e,
2021
- ...t
2022
- }) {
2023
- return /* @__PURE__ */ a.jsx(
2024
- B.Title,
2025
- {
2026
- "data-slot": "drawer-title",
2027
- className: r("text-neutral-950 font-semibold dark:text-neutral-50", e),
2028
- ...t
2029
- }
2030
- );
2031
- }
2032
- function Rn({
2033
- className: e,
2034
- ...t
2035
- }) {
2036
- return /* @__PURE__ */ a.jsx(
2037
- B.Description,
2038
- {
2039
- "data-slot": "drawer-description",
2040
- className: r("text-neutral-500 text-sm dark:text-neutral-400", e),
2041
- ...t
2042
- }
2043
- );
2044
- }
2045
- function Mn({
2046
- ...e
2047
- }) {
2048
- return /* @__PURE__ */ a.jsx(y.Root, { "data-slot": "dropdown-menu", ...e });
2049
- }
2050
- function An({
2051
- ...e
2052
- }) {
2053
- return /* @__PURE__ */ a.jsx(y.Portal, { "data-slot": "dropdown-menu-portal", ...e });
2054
- }
2055
- function Dn({
2056
- ...e
2057
- }) {
2058
- return /* @__PURE__ */ a.jsx(
2059
- y.Trigger,
2060
- {
2061
- "data-slot": "dropdown-menu-trigger",
2062
- ...e
2063
- }
2064
- );
2065
- }
2066
- function On({
2067
- className: e,
2068
- sideOffset: t = 4,
2069
- ...o
2070
- }) {
2071
- return /* @__PURE__ */ a.jsx(y.Portal, { children: /* @__PURE__ */ a.jsx(
2072
- y.Content,
2073
- {
2074
- "data-slot": "dropdown-menu-content",
2075
- sideOffset: t,
2076
- className: r(
2077
- "bg-white text-neutral-950 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 z-50 min-w-[8rem] overflow-hidden rounded-md border border-neutral-200 p-1 shadow-md dark:bg-neutral-950 dark:text-neutral-50 dark:border-neutral-800",
2078
- e
2079
- ),
2080
- ...o
2081
- }
2082
- ) });
2083
- }
2084
- function Ln({
2085
- ...e
2086
- }) {
2087
- return /* @__PURE__ */ a.jsx(y.Group, { "data-slot": "dropdown-menu-group", ...e });
2088
- }
2089
- function Gn({
2090
- className: e,
2091
- inset: t,
2092
- variant: o = "default",
2093
- ...s
2094
- }) {
2095
- return /* @__PURE__ */ a.jsx(
2096
- y.Item,
2097
- {
2098
- "data-slot": "dropdown-menu-item",
2099
- "data-inset": t,
2100
- "data-variant": o,
2101
- className: r(
2102
- "focus:bg-neutral-100 focus:text-neutral-900 data-[variant=destructive]:text-neutral-50 data-[variant=destructive]:focus:bg-red-500/10 dark:data-[variant=destructive]:focus:bg-red-500/40 data-[variant=destructive]:focus:text-neutral-50 data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-neutral-500 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-neutral-800 dark:focus:text-neutral-50 dark:data-[variant=destructive]:text-neutral-50 dark:data-[variant=destructive]:focus:bg-red-900/10 dark:dark:data-[variant=destructive]:focus:bg-red-900/40 dark:data-[variant=destructive]:focus:text-neutral-50 dark:[&_svg:not([class*='text-'])]:text-neutral-400",
2103
- e
2104
- ),
2105
- ...s
2106
- }
2107
- );
2108
- }
2109
- function $n({
2110
- className: e,
2111
- children: t,
2112
- checked: o,
2113
- ...s
2114
- }) {
2115
- return /* @__PURE__ */ a.jsxs(
2116
- y.CheckboxItem,
2117
- {
2118
- "data-slot": "dropdown-menu-checkbox-item",
2119
- className: r(
2120
- "focus:bg-neutral-100 focus:text-neutral-900 relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-neutral-800 dark:focus:text-neutral-50",
2121
- e
2122
- ),
2123
- checked: o,
2124
- ...s,
2125
- children: [
2126
- /* @__PURE__ */ a.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(y.ItemIndicator, { children: /* @__PURE__ */ a.jsx(oe, { className: "size-4" }) }) }),
2127
- t
2128
- ]
2129
- }
2130
- );
2131
- }
2132
- function Bn({
2133
- ...e
2134
- }) {
2135
- return /* @__PURE__ */ a.jsx(
2136
- y.RadioGroup,
2137
- {
2138
- "data-slot": "dropdown-menu-radio-group",
2139
- ...e
2140
- }
2141
- );
2142
- }
2143
- function Fn({
2144
- className: e,
2145
- children: t,
2146
- ...o
2147
- }) {
2148
- return /* @__PURE__ */ a.jsxs(
2149
- y.RadioItem,
2150
- {
2151
- "data-slot": "dropdown-menu-radio-item",
2152
- className: r(
2153
- "focus:bg-neutral-100 focus:text-neutral-900 relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-neutral-800 dark:focus:text-neutral-50",
2154
- e
2155
- ),
2156
- ...o,
2157
- children: [
2158
- /* @__PURE__ */ a.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(y.ItemIndicator, { children: /* @__PURE__ */ a.jsx(ue, { className: "size-2 fill-current" }) }) }),
2159
- t
2160
- ]
2161
- }
2162
- );
2163
- }
2164
- function Hn({
2165
- className: e,
2166
- inset: t,
2167
- ...o
2168
- }) {
2169
- return /* @__PURE__ */ a.jsx(
2170
- y.Label,
2171
- {
2172
- "data-slot": "dropdown-menu-label",
2173
- "data-inset": t,
2174
- className: r(
2175
- "px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
2176
- e
2177
- ),
2178
- ...o
2179
- }
2180
- );
2181
- }
2182
- function Vn({
2183
- className: e,
2184
- ...t
2185
- }) {
2186
- return /* @__PURE__ */ a.jsx(
2187
- y.Separator,
2188
- {
2189
- "data-slot": "dropdown-menu-separator",
2190
- className: r("bg-neutral-200 -mx-1 my-1 h-px dark:bg-neutral-800", e),
2191
- ...t
2192
- }
2193
- );
2194
- }
2195
- function Yn({
2196
- className: e,
2197
- ...t
2198
- }) {
2199
- return /* @__PURE__ */ a.jsx(
2200
- "span",
2201
- {
2202
- "data-slot": "dropdown-menu-shortcut",
2203
- className: r(
2204
- "text-neutral-500 ml-auto text-xs tracking-widest dark:text-neutral-400",
2205
- e
2206
- ),
2207
- ...t
2208
- }
2209
- );
2210
- }
2211
- function Wn({
2212
- ...e
2213
- }) {
2214
- return /* @__PURE__ */ a.jsx(y.Sub, { "data-slot": "dropdown-menu-sub", ...e });
2215
- }
2216
- function Un({
2217
- className: e,
2218
- inset: t,
2219
- children: o,
2220
- ...s
2221
- }) {
2222
- return /* @__PURE__ */ a.jsxs(
2223
- y.SubTrigger,
2224
- {
2225
- "data-slot": "dropdown-menu-sub-trigger",
2226
- "data-inset": t,
2227
- className: r(
2228
- "focus:bg-neutral-100 focus:text-neutral-900 data-[state=open]:bg-neutral-100 data-[state=open]:text-neutral-900 flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 dark:focus:bg-neutral-800 dark:focus:text-neutral-50 dark:data-[state=open]:bg-neutral-800 dark:data-[state=open]:text-neutral-50",
2229
- e
2230
- ),
2231
- ...s,
2232
- children: [
2233
- o,
2234
- /* @__PURE__ */ a.jsx(ce, { className: "ml-auto size-4" })
2235
- ]
2236
- }
2237
- );
2238
- }
2239
- function qn({
2240
- className: e,
2241
- ...t
2242
- }) {
2243
- return /* @__PURE__ */ a.jsx(
2244
- y.SubContent,
2245
- {
2246
- "data-slot": "dropdown-menu-sub-content",
2247
- className: r(
2248
- "bg-white text-neutral-950 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 z-50 min-w-[8rem] overflow-hidden rounded-md border border-neutral-200 p-1 shadow-lg dark:bg-neutral-950 dark:text-neutral-50 dark:border-neutral-800",
2249
- e
2250
- ),
2251
- ...t
2252
- }
2253
- );
2254
- }
2255
- function pa({
2256
- className: e,
2257
- ...t
2258
- }) {
2259
- return /* @__PURE__ */ a.jsx(
2260
- Yt.Root,
2261
- {
2262
- "data-slot": "label",
2263
- className: r(
2264
- "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
2265
- e
2266
- ),
2267
- ...t
2268
- }
2269
- );
2270
- }
2271
- const Kn = Bt, ft = g.createContext(
2272
- {}
2273
- ), Jn = ({
2274
- ...e
2275
- }) => /* @__PURE__ */ a.jsx(ft.Provider, { value: { name: e.name }, children: /* @__PURE__ */ a.jsx(Vt, { ...e }) }), ge = () => {
2276
- const e = g.useContext(ft), t = g.useContext(mt), { getFieldState: o } = Ft(), s = Ht({ name: e.name }), i = o(e.name, s);
2277
- if (!e)
2278
- throw new Error("useFormField should be used within <FormField>");
2279
- const { id: u } = t;
2280
- return {
2281
- id: u,
2282
- name: e.name,
2283
- formItemId: `${u}-form-item`,
2284
- formDescriptionId: `${u}-form-item-description`,
2285
- formMessageId: `${u}-form-item-message`,
2286
- ...i
2287
- };
2288
- }, mt = g.createContext(
2289
- {}
2290
- );
2291
- function Xn({ className: e, ...t }) {
2292
- const o = g.useId();
2293
- return /* @__PURE__ */ a.jsx(mt.Provider, { value: { id: o }, children: /* @__PURE__ */ a.jsx(
2294
- "div",
2295
- {
2296
- "data-slot": "form-item",
2297
- className: r("grid gap-2", e),
2298
- ...t
2299
- }
2300
- ) });
2301
- }
2302
- function Zn({
2303
- className: e,
2304
- ...t
2305
- }) {
2306
- const { error: o, formItemId: s } = ge();
2307
- return /* @__PURE__ */ a.jsx(
2308
- pa,
2309
- {
2310
- "data-slot": "form-label",
2311
- "data-error": !!o,
2312
- className: r("data-[error=true]:text-neutral-50 dark:data-[error=true]:text-neutral-50", e),
2313
- htmlFor: s,
2314
- ...t
2315
- }
2316
- );
2317
- }
2318
- function Qn({ ...e }) {
2319
- const { error: t, formItemId: o, formDescriptionId: s, formMessageId: i } = ge();
2320
- return /* @__PURE__ */ a.jsx(
2321
- G,
2322
- {
2323
- "data-slot": "form-control",
2324
- id: o,
2325
- "aria-describedby": t ? `${s} ${i}` : `${s}`,
2326
- "aria-invalid": !!t,
2327
- ...e
2328
- }
2329
- );
2330
- }
2331
- function eo({ className: e, ...t }) {
2332
- const { formDescriptionId: o } = ge();
2333
- return /* @__PURE__ */ a.jsx(
2334
- "p",
2335
- {
2336
- "data-slot": "form-description",
2337
- id: o,
2338
- className: r("text-neutral-500 text-sm dark:text-neutral-400", e),
2339
- ...t
2340
- }
2341
- );
2342
- }
2343
- function to({ className: e, ...t }) {
2344
- const { error: o, formMessageId: s } = ge(), i = o ? String((o == null ? void 0 : o.message) ?? "") : t.children;
2345
- return i ? /* @__PURE__ */ a.jsx(
2346
- "p",
2347
- {
2348
- "data-slot": "form-message",
2349
- id: s,
2350
- className: r("text-neutral-50 text-sm dark:text-neutral-50", e),
2351
- ...t,
2352
- children: i
2353
- }
2354
- ) : null;
2355
- }
2356
- function ao({
2357
- ...e
2358
- }) {
2359
- return /* @__PURE__ */ a.jsx(Ie.Root, { "data-slot": "hover-card", ...e });
2360
- }
2361
- function ro({
2362
- ...e
2363
- }) {
2364
- return /* @__PURE__ */ a.jsx(Ie.Trigger, { "data-slot": "hover-card-trigger", ...e });
2365
- }
2366
- function no({
2367
- className: e,
2368
- align: t = "center",
2369
- sideOffset: o = 4,
2370
- ...s
2371
- }) {
2372
- return /* @__PURE__ */ a.jsx(
2373
- Ie.Content,
2374
- {
2375
- "data-slot": "hover-card-content",
2376
- align: t,
2377
- sideOffset: o,
2378
- className: r(
2379
- "bg-white text-neutral-950 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 z-50 w-64 rounded-md border border-neutral-200 p-4 shadow-md outline-hidden dark:bg-neutral-950 dark:text-neutral-50 dark:border-neutral-800",
2380
- e
2381
- ),
2382
- ...s
2383
- }
2384
- );
2385
- }
2386
- function oo({
2387
- className: e,
2388
- containerClassName: t,
2389
- ...o
2390
- }) {
2391
- return /* @__PURE__ */ a.jsx(
2392
- Wt,
2393
- {
2394
- "data-slot": "input-otp",
2395
- containerClassName: r(
2396
- "flex items-center gap-2 has-disabled:opacity-50",
2397
- t
2398
- ),
2399
- className: r("disabled:cursor-not-allowed", e),
2400
- ...o
2401
- }
2402
- );
2403
- }
2404
- function so({ className: e, ...t }) {
2405
- return /* @__PURE__ */ a.jsx(
2406
- "div",
2407
- {
2408
- "data-slot": "input-otp-group",
2409
- className: r("flex items-center", e),
2410
- ...t
2411
- }
2412
- );
2413
- }
2414
- function io({
2415
- index: e,
2416
- className: t,
2417
- ...o
2418
- }) {
2419
- const i = g.useContext(Ut).slots[e], { char: u, hasFakeCaret: f, isActive: p } = i || {};
2420
- return /* @__PURE__ */ a.jsxs(
2421
- "div",
2422
- {
2423
- "data-slot": "input-otp-slot",
2424
- "data-active": p,
2425
- className: r(
2426
- "border-neutral-200 data-[active=true]:border-neutral-950 data-[active=true]:ring-neutral-950/50 data-[active=true]:aria-invalid:ring-red-500/20 dark:data-[active=true]:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 data-[active=true]:aria-invalid:border-red-500 relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px] dark:border-neutral-800 dark:data-[active=true]:border-neutral-300 dark:data-[active=true]:ring-neutral-300/50 dark:data-[active=true]:aria-invalid:ring-red-900/20 dark:dark:data-[active=true]:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900 dark:data-[active=true]:aria-invalid:border-red-900",
2427
- t
2428
- ),
2429
- ...o,
2430
- children: [
2431
- u,
2432
- f && /* @__PURE__ */ a.jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ a.jsx("div", { className: "animate-caret-blink bg-neutral-950 h-4 w-px duration-1000 dark:bg-neutral-50" }) })
2433
- ]
2434
- }
2435
- );
2436
- }
2437
- function lo({ ...e }) {
2438
- return /* @__PURE__ */ a.jsx("div", { "data-slot": "input-otp-separator", role: "separator", ...e, children: /* @__PURE__ */ a.jsx(Et, {}) });
2439
- }
2440
- function va({ className: e, type: t, ...o }) {
2441
- return /* @__PURE__ */ a.jsx(
2442
- "input",
2443
- {
2444
- type: t,
2445
- "data-slot": "input",
2446
- className: r(
2447
- "border-neutral-200 file:text-neutral-950 placeholder:text-neutral-500 selection:bg-neutral-900 selection:text-neutral-50 flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:border-neutral-800 dark:file:text-neutral-50 dark:placeholder:text-neutral-400 dark:selection:bg-neutral-50 dark:selection:text-neutral-900",
2448
- "focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50 focus-visible:ring-[3px] dark:focus-visible:border-neutral-300 dark:focus-visible:ring-neutral-300/50",
2449
- "aria-invalid:ring-red-500/20 dark:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 dark:aria-invalid:ring-red-900/20 dark:dark:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900",
2450
- e
2451
- ),
2452
- ...o
2453
- }
2454
- );
2455
- }
2456
- function uo({
2457
- className: e,
2458
- ...t
2459
- }) {
2460
- return /* @__PURE__ */ a.jsx(
2461
- C.Root,
2462
- {
2463
- "data-slot": "menubar",
2464
- className: r(
2465
- "bg-white flex h-9 items-center gap-1 rounded-md border border-neutral-200 p-1 shadow-xs dark:bg-neutral-950 dark:border-neutral-800",
2466
- e
2467
- ),
2468
- ...t
2469
- }
2470
- );
2471
- }
2472
- function co({
2473
- ...e
2474
- }) {
2475
- return /* @__PURE__ */ a.jsx(C.Menu, { "data-slot": "menubar-menu", ...e });
2476
- }
2477
- function fo({
2478
- ...e
2479
- }) {
2480
- return /* @__PURE__ */ a.jsx(C.Group, { "data-slot": "menubar-group", ...e });
2481
- }
2482
- function ha({
2483
- ...e
2484
- }) {
2485
- return /* @__PURE__ */ a.jsx(C.Portal, { "data-slot": "menubar-portal", ...e });
2486
- }
2487
- function mo({
2488
- ...e
2489
- }) {
2490
- return /* @__PURE__ */ a.jsx(C.RadioGroup, { "data-slot": "menubar-radio-group", ...e });
2491
- }
2492
- function go({
2493
- className: e,
2494
- ...t
2495
- }) {
2496
- return /* @__PURE__ */ a.jsx(
2497
- C.Trigger,
2498
- {
2499
- "data-slot": "menubar-trigger",
2500
- className: r(
2501
- "focus:bg-neutral-100 focus:text-neutral-900 data-[state=open]:bg-neutral-100 data-[state=open]:text-neutral-900 flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none dark:focus:bg-neutral-800 dark:focus:text-neutral-50 dark:data-[state=open]:bg-neutral-800 dark:data-[state=open]:text-neutral-50",
2502
- e
2503
- ),
2504
- ...t
2505
- }
2506
- );
2507
- }
2508
- function xo({
2509
- className: e,
2510
- align: t = "start",
2511
- alignOffset: o = -4,
2512
- sideOffset: s = 8,
2513
- ...i
2514
- }) {
2515
- return /* @__PURE__ */ a.jsx(ha, { children: /* @__PURE__ */ a.jsx(
2516
- C.Content,
2517
- {
2518
- "data-slot": "menubar-content",
2519
- align: t,
2520
- alignOffset: o,
2521
- sideOffset: s,
2522
- className: r(
2523
- "bg-white text-neutral-950 data-[state=open]:animate-in 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 z-50 min-w-[12rem] overflow-hidden rounded-md border border-neutral-200 p-1 shadow-md dark:bg-neutral-950 dark:text-neutral-50 dark:border-neutral-800",
2524
- e
2525
- ),
2526
- ...i
2527
- }
2528
- ) });
2529
- }
2530
- function bo({
2531
- className: e,
2532
- inset: t,
2533
- variant: o = "default",
2534
- ...s
2535
- }) {
2536
- return /* @__PURE__ */ a.jsx(
2537
- C.Item,
2538
- {
2539
- "data-slot": "menubar-item",
2540
- "data-inset": t,
2541
- "data-variant": o,
2542
- className: r(
2543
- "focus:bg-neutral-100 focus:text-neutral-900 data-[variant=destructive]:text-neutral-50 data-[variant=destructive]:focus:bg-red-500/10 dark:data-[variant=destructive]:focus:bg-red-500/40 data-[variant=destructive]:focus:text-neutral-50 data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-neutral-500 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-neutral-800 dark:focus:text-neutral-50 dark:data-[variant=destructive]:text-neutral-50 dark:data-[variant=destructive]:focus:bg-red-900/10 dark:dark:data-[variant=destructive]:focus:bg-red-900/40 dark:data-[variant=destructive]:focus:text-neutral-50 dark:[&_svg:not([class*='text-'])]:text-neutral-400",
2544
- e
2545
- ),
2546
- ...s
2547
- }
2548
- );
2549
- }
2550
- function po({
2551
- className: e,
2552
- children: t,
2553
- checked: o,
2554
- ...s
2555
- }) {
2556
- return /* @__PURE__ */ a.jsxs(
2557
- C.CheckboxItem,
2558
- {
2559
- "data-slot": "menubar-checkbox-item",
2560
- className: r(
2561
- "focus:bg-neutral-100 focus:text-neutral-900 relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-neutral-800 dark:focus:text-neutral-50",
2562
- e
2563
- ),
2564
- checked: o,
2565
- ...s,
2566
- children: [
2567
- /* @__PURE__ */ a.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(C.ItemIndicator, { children: /* @__PURE__ */ a.jsx(oe, { className: "size-4" }) }) }),
2568
- t
2569
- ]
2570
- }
2571
- );
2572
- }
2573
- function vo({
2574
- className: e,
2575
- children: t,
2576
- ...o
2577
- }) {
2578
- return /* @__PURE__ */ a.jsxs(
2579
- C.RadioItem,
2580
- {
2581
- "data-slot": "menubar-radio-item",
2582
- className: r(
2583
- "focus:bg-neutral-100 focus:text-neutral-900 relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-neutral-800 dark:focus:text-neutral-50",
2584
- e
2585
- ),
2586
- ...o,
2587
- children: [
2588
- /* @__PURE__ */ a.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(C.ItemIndicator, { children: /* @__PURE__ */ a.jsx(ue, { className: "size-2 fill-current" }) }) }),
2589
- t
2590
- ]
2591
- }
2592
- );
2593
- }
2594
- function ho({
2595
- className: e,
2596
- inset: t,
2597
- ...o
2598
- }) {
2599
- return /* @__PURE__ */ a.jsx(
2600
- C.Label,
2601
- {
2602
- "data-slot": "menubar-label",
2603
- "data-inset": t,
2604
- className: r(
2605
- "px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
2606
- e
2607
- ),
2608
- ...o
2609
- }
2610
- );
2611
- }
2612
- function ko({
2613
- className: e,
2614
- ...t
2615
- }) {
2616
- return /* @__PURE__ */ a.jsx(
2617
- C.Separator,
2618
- {
2619
- "data-slot": "menubar-separator",
2620
- className: r("bg-neutral-200 -mx-1 my-1 h-px dark:bg-neutral-800", e),
2621
- ...t
2622
- }
2623
- );
2624
- }
2625
- function wo({
2626
- className: e,
2627
- ...t
2628
- }) {
2629
- return /* @__PURE__ */ a.jsx(
2630
- "span",
2631
- {
2632
- "data-slot": "menubar-shortcut",
2633
- className: r(
2634
- "text-neutral-500 ml-auto text-xs tracking-widest dark:text-neutral-400",
2635
- e
2636
- ),
2637
- ...t
2638
- }
2639
- );
2640
- }
2641
- function jo({
2642
- ...e
2643
- }) {
2644
- return /* @__PURE__ */ a.jsx(C.Sub, { "data-slot": "menubar-sub", ...e });
2645
- }
2646
- function No({
2647
- className: e,
2648
- inset: t,
2649
- children: o,
2650
- ...s
2651
- }) {
2652
- return /* @__PURE__ */ a.jsxs(
2653
- C.SubTrigger,
2654
- {
2655
- "data-slot": "menubar-sub-trigger",
2656
- "data-inset": t,
2657
- className: r(
2658
- "focus:bg-neutral-100 focus:text-neutral-900 data-[state=open]:bg-neutral-100 data-[state=open]:text-neutral-900 flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8 dark:focus:bg-neutral-800 dark:focus:text-neutral-50 dark:data-[state=open]:bg-neutral-800 dark:data-[state=open]:text-neutral-50",
2659
- e
2660
- ),
2661
- ...s,
2662
- children: [
2663
- o,
2664
- /* @__PURE__ */ a.jsx(ce, { className: "ml-auto h-4 w-4" })
2665
- ]
2666
- }
2667
- );
2668
- }
2669
- function yo({
2670
- className: e,
2671
- ...t
2672
- }) {
2673
- return /* @__PURE__ */ a.jsx(
2674
- C.SubContent,
2675
- {
2676
- "data-slot": "menubar-sub-content",
2677
- className: r(
2678
- "bg-white text-neutral-950 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 z-50 min-w-[8rem] overflow-hidden rounded-md border border-neutral-200 p-1 shadow-lg dark:bg-neutral-950 dark:text-neutral-50 dark:border-neutral-800",
2679
- e
2680
- ),
2681
- ...t
2682
- }
2683
- );
2684
- }
2685
- function Co({
2686
- className: e,
2687
- children: t,
2688
- viewport: o = !0,
2689
- ...s
2690
- }) {
2691
- return /* @__PURE__ */ a.jsxs(
2692
- F.Root,
2693
- {
2694
- "data-slot": "navigation-menu",
2695
- "data-viewport": o,
2696
- className: r(
2697
- "group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
2698
- e
2699
- ),
2700
- ...s,
2701
- children: [
2702
- t,
2703
- o && /* @__PURE__ */ a.jsx(wa, {})
2704
- ]
2705
- }
2706
- );
2707
- }
2708
- function _o({
2709
- className: e,
2710
- ...t
2711
- }) {
2712
- return /* @__PURE__ */ a.jsx(
2713
- F.List,
2714
- {
2715
- "data-slot": "navigation-menu-list",
2716
- className: r(
2717
- "group flex flex-1 list-none items-center justify-center gap-1",
2718
- e
2719
- ),
2720
- ...t
2721
- }
2722
- );
2723
- }
2724
- function zo({
2725
- className: e,
2726
- ...t
2727
- }) {
2728
- return /* @__PURE__ */ a.jsx(
2729
- F.Item,
2730
- {
2731
- "data-slot": "navigation-menu-item",
2732
- className: r("relative", e),
2733
- ...t
2734
- }
2735
- );
2736
- }
2737
- const ka = X(
2738
- "group inline-flex h-9 w-max items-center justify-center rounded-md bg-white px-4 py-2 text-sm font-medium hover:bg-neutral-100 hover:text-neutral-900 focus:bg-neutral-100 focus:text-neutral-900 disabled:pointer-events-none disabled:opacity-50 data-[active=true]:bg-neutral-100/50 data-[state=open]:bg-neutral-100/50 data-[active=true]:text-neutral-900 ring-neutral-950/10 dark:ring-neutral-950/20 dark:outline-ring/40 outline-ring/50 transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1 dark:bg-neutral-950 dark:hover:bg-neutral-800 dark:hover:text-neutral-50 dark:focus:bg-neutral-800 dark:focus:text-neutral-50 dark:data-[active=true]:bg-neutral-800/50 dark:data-[state=open]:bg-neutral-800/50 dark:data-[active=true]:text-neutral-50 dark:ring-neutral-300/10 dark:dark:ring-neutral-300/20"
2739
- );
2740
- function So({
2741
- className: e,
2742
- children: t,
2743
- ...o
2744
- }) {
2745
- return /* @__PURE__ */ a.jsxs(
2746
- F.Trigger,
2747
- {
2748
- "data-slot": "navigation-menu-trigger",
2749
- className: r(ka(), "group", e),
2750
- ...o,
2751
- children: [
2752
- t,
2753
- "",
2754
- /* @__PURE__ */ a.jsx(
2755
- de,
2756
- {
2757
- className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
2758
- "aria-hidden": "true"
2759
- }
2760
- )
2761
- ]
2762
- }
2763
- );
2764
- }
2765
- function To({
2766
- className: e,
2767
- ...t
2768
- }) {
2769
- return /* @__PURE__ */ a.jsx(
2770
- F.Content,
2771
- {
2772
- "data-slot": "navigation-menu-content",
2773
- className: r(
2774
- "data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto",
2775
- "group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",
2776
- e
2777
- ),
2778
- ...t
2779
- }
2780
- );
2781
- }
2782
- function wa({
2783
- className: e,
2784
- ...t
2785
- }) {
2786
- return /* @__PURE__ */ a.jsx(
2787
- "div",
2788
- {
2789
- className: r(
2790
- "absolute top-full left-0 isolate z-50 flex justify-center"
2791
- ),
2792
- children: /* @__PURE__ */ a.jsx(
2793
- F.Viewport,
2794
- {
2795
- "data-slot": "navigation-menu-viewport",
2796
- className: r(
2797
- "origin-top-center bg-white text-neutral-950 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border border-neutral-200 shadow md:w-[var(--radix-navigation-menu-viewport-width)] dark:bg-neutral-950 dark:text-neutral-50 dark:border-neutral-800",
2798
- e
2799
- ),
2800
- ...t
2801
- }
2802
- )
2803
- }
2804
- );
2805
- }
2806
- function Eo({
2807
- className: e,
2808
- ...t
2809
- }) {
2810
- return /* @__PURE__ */ a.jsx(
2811
- F.Link,
2812
- {
2813
- "data-slot": "navigation-menu-link",
2814
- className: r(
2815
- "hover:bg-neutral-100 hover:text-neutral-900 focus:bg-neutral-100 focus:text-neutral-900 data-[active=true]:bg-neutral-100/50 data-[active=true]:text-neutral-900 ring-neutral-950/10 dark:ring-neutral-950/20 dark:outline-ring/40 outline-ring/50 [&_svg:not([class*='text-'])]:text-neutral-500 flex flex-col gap-1 rounded-sm p-2 text-sm transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4 dark:hover:bg-neutral-800 dark:hover:text-neutral-50 dark:focus:bg-neutral-800 dark:focus:text-neutral-50 dark:data-[active=true]:bg-neutral-800/50 dark:data-[active=true]:text-neutral-50 dark:ring-neutral-300/10 dark:dark:ring-neutral-300/20 dark:[&_svg:not([class*='text-'])]:text-neutral-400",
2816
- e
2817
- ),
2818
- ...t
2819
- }
2820
- );
2821
- }
2822
- function Po({
2823
- className: e,
2824
- ...t
2825
- }) {
2826
- return /* @__PURE__ */ a.jsx(
2827
- F.Indicator,
2828
- {
2829
- "data-slot": "navigation-menu-indicator",
2830
- className: r(
2831
- "data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden",
2832
- e
2833
- ),
2834
- ...t,
2835
- children: /* @__PURE__ */ a.jsx("div", { className: "bg-neutral-200 relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md dark:bg-neutral-800" })
2836
- }
2837
- );
2838
- }
2839
- function Io({ className: e, ...t }) {
2840
- return /* @__PURE__ */ a.jsx(
2841
- "nav",
2842
- {
2843
- role: "navigation",
2844
- "aria-label": "pagination",
2845
- "data-slot": "pagination",
2846
- className: r("mx-auto flex w-full justify-center", e),
2847
- ...t
2848
- }
2849
- );
2850
- }
2851
- function Ro({
2852
- className: e,
2853
- ...t
2854
- }) {
2855
- return /* @__PURE__ */ a.jsx(
2856
- "ul",
2857
- {
2858
- "data-slot": "pagination-content",
2859
- className: r("flex flex-row items-center gap-1", e),
2860
- ...t
2861
- }
2862
- );
2863
- }
2864
- function Mo({ ...e }) {
2865
- return /* @__PURE__ */ a.jsx("li", { "data-slot": "pagination-item", ...e });
2866
- }
2867
- function gt({
2868
- className: e,
2869
- isActive: t,
2870
- size: o = "icon",
2871
- ...s
2872
- }) {
2873
- return /* @__PURE__ */ a.jsx(
2874
- "a",
2875
- {
2876
- "aria-current": t ? "page" : void 0,
2877
- "data-slot": "pagination-link",
2878
- "data-active": t,
2879
- className: r(
2880
- J({
2881
- variant: t ? "outline" : "ghost",
2882
- size: o
2883
- }),
2884
- e
2885
- ),
2886
- ...s
2887
- }
2888
- );
2889
- }
2890
- function Ao({
2891
- className: e,
2892
- ...t
2893
- }) {
2894
- return /* @__PURE__ */ a.jsxs(
2895
- gt,
2896
- {
2897
- "aria-label": "Go to previous page",
2898
- size: "default",
2899
- className: r("gap-1 px-2.5 sm:pl-2.5", e),
2900
- ...t,
2901
- children: [
2902
- /* @__PURE__ */ a.jsx(Pt, {}),
2903
- /* @__PURE__ */ a.jsx("span", { className: "hidden sm:block", children: "Previous" })
2904
- ]
2905
- }
2906
- );
2907
- }
2908
- function Do({
2909
- className: e,
2910
- ...t
2911
- }) {
2912
- return /* @__PURE__ */ a.jsxs(
2913
- gt,
2914
- {
2915
- "aria-label": "Go to next page",
2916
- size: "default",
2917
- className: r("gap-1 px-2.5 sm:pr-2.5", e),
2918
- ...t,
2919
- children: [
2920
- /* @__PURE__ */ a.jsx("span", { className: "hidden sm:block", children: "Next" }),
2921
- /* @__PURE__ */ a.jsx(ce, {})
2922
- ]
2923
- }
2924
- );
2925
- }
2926
- function Oo({
2927
- className: e,
2928
- ...t
2929
- }) {
2930
- return /* @__PURE__ */ a.jsxs(
2931
- "span",
2932
- {
2933
- "aria-hidden": !0,
2934
- "data-slot": "pagination-ellipsis",
2935
- className: r("flex size-9 items-center justify-center", e),
2936
- ...t,
2937
- children: [
2938
- /* @__PURE__ */ a.jsx(It, { className: "size-4" }),
2939
- /* @__PURE__ */ a.jsx("span", { className: "sr-only", children: "More pages" })
2940
- ]
2941
- }
2942
- );
2943
- }
2944
- function Lo({
2945
- ...e
2946
- }) {
2947
- return /* @__PURE__ */ a.jsx(ne.Root, { "data-slot": "popover", ...e });
2948
- }
2949
- function Go({
2950
- ...e
2951
- }) {
2952
- return /* @__PURE__ */ a.jsx(ne.Trigger, { "data-slot": "popover-trigger", ...e });
2953
- }
2954
- function $o({
2955
- className: e,
2956
- align: t = "center",
2957
- sideOffset: o = 4,
2958
- ...s
2959
- }) {
2960
- return /* @__PURE__ */ a.jsx(ne.Portal, { children: /* @__PURE__ */ a.jsx(
2961
- ne.Content,
2962
- {
2963
- "data-slot": "popover-content",
2964
- align: t,
2965
- sideOffset: o,
2966
- className: r(
2967
- "bg-white text-neutral-950 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 z-50 w-72 rounded-md border border-neutral-200 p-4 shadow-md outline-hidden dark:bg-neutral-950 dark:text-neutral-50 dark:border-neutral-800",
2968
- e
2969
- ),
2970
- ...s
2971
- }
2972
- ) });
2973
- }
2974
- function Bo({
2975
- ...e
2976
- }) {
2977
- return /* @__PURE__ */ a.jsx(ne.Anchor, { "data-slot": "popover-anchor", ...e });
2978
- }
2979
- function Fo({
2980
- className: e,
2981
- value: t,
2982
- ...o
2983
- }) {
2984
- return /* @__PURE__ */ a.jsx(
2985
- et.Root,
2986
- {
2987
- "data-slot": "progress",
2988
- className: r(
2989
- "bg-neutral-900/20 relative h-2 w-full overflow-hidden rounded-full dark:bg-neutral-50/20",
2990
- e
2991
- ),
2992
- ...o,
2993
- children: /* @__PURE__ */ a.jsx(
2994
- et.Indicator,
2995
- {
2996
- "data-slot": "progress-indicator",
2997
- className: "bg-neutral-900 h-full w-full flex-1 transition-all dark:bg-neutral-50",
2998
- style: { transform: `translateX(-${100 - (t || 0)}%)` }
2999
- }
3000
- )
3001
- }
3002
- );
3003
- }
3004
- function Ho({
3005
- className: e,
3006
- ...t
3007
- }) {
3008
- return /* @__PURE__ */ a.jsx(
3009
- ze.Root,
3010
- {
3011
- "data-slot": "radio-group",
3012
- className: r("grid gap-3", e),
3013
- ...t
3014
- }
3015
- );
3016
- }
3017
- function Vo({
3018
- className: e,
3019
- ...t
3020
- }) {
3021
- return /* @__PURE__ */ a.jsx(
3022
- ze.Item,
3023
- {
3024
- "data-slot": "radio-group-item",
3025
- className: r(
3026
- "border-neutral-200 text-neutral-900 focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50 aria-invalid:ring-red-500/20 dark:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 dark:border-neutral-800 dark:text-neutral-50 dark:focus-visible:border-neutral-300 dark:focus-visible:ring-neutral-300/50 dark:aria-invalid:ring-red-900/20 dark:dark:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900",
3027
- e
3028
- ),
3029
- ...t,
3030
- children: /* @__PURE__ */ a.jsx(
3031
- ze.Indicator,
3032
- {
3033
- "data-slot": "radio-group-indicator",
3034
- className: "relative flex items-center justify-center",
3035
- children: /* @__PURE__ */ a.jsx(ue, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
3036
- }
3037
- )
3038
- }
3039
- );
3040
- }
3041
- function Yo({
3042
- className: e,
3043
- ...t
3044
- }) {
3045
- return /* @__PURE__ */ a.jsx(
3046
- Re.PanelGroup,
3047
- {
3048
- "data-slot": "resizable-panel-group",
3049
- className: r(
3050
- "flex h-full w-full data-[panel-group-direction=vertical]:flex-col",
3051
- e
3052
- ),
3053
- ...t
3054
- }
3055
- );
3056
- }
3057
- function Wo({
3058
- ...e
3059
- }) {
3060
- return /* @__PURE__ */ a.jsx(Re.Panel, { "data-slot": "resizable-panel", ...e });
3061
- }
3062
- function Uo({
3063
- withHandle: e,
3064
- className: t,
3065
- ...o
3066
- }) {
3067
- return /* @__PURE__ */ a.jsx(
3068
- Re.PanelResizeHandle,
3069
- {
3070
- "data-slot": "resizable-handle",
3071
- className: r(
3072
- "bg-neutral-200 focus-visible:ring-neutral-950 relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90 dark:bg-neutral-800 dark:focus-visible:ring-neutral-300",
3073
- t
3074
- ),
3075
- ...o,
3076
- children: e && /* @__PURE__ */ a.jsx("div", { className: "bg-neutral-200 z-10 flex h-4 w-3 items-center justify-center rounded-xs border dark:bg-neutral-800", children: /* @__PURE__ */ a.jsx(Rt, { className: "size-2.5" }) })
3077
- }
3078
- );
3079
- }
3080
- function qo({
3081
- className: e,
3082
- children: t,
3083
- ...o
3084
- }) {
3085
- return /* @__PURE__ */ a.jsxs(
3086
- ae.Root,
3087
- {
3088
- "data-slot": "scroll-area",
3089
- className: r("relative", e),
3090
- ...o,
3091
- children: [
3092
- /* @__PURE__ */ a.jsx(
3093
- ae.Viewport,
3094
- {
3095
- "data-slot": "scroll-area-viewport",
3096
- className: "ring-neutral-950/10 dark:ring-neutral-950/20 dark:outline-ring/40 outline-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1 dark:ring-neutral-300/10 dark:dark:ring-neutral-300/20",
3097
- children: t
3098
- }
3099
- ),
3100
- /* @__PURE__ */ a.jsx(ja, {}),
3101
- /* @__PURE__ */ a.jsx(ae.Corner, {})
3102
- ]
3103
- }
3104
- );
3105
- }
3106
- function ja({
3107
- className: e,
3108
- orientation: t = "vertical",
3109
- ...o
3110
- }) {
3111
- return /* @__PURE__ */ a.jsx(
3112
- ae.ScrollAreaScrollbar,
3113
- {
3114
- "data-slot": "scroll-area-scrollbar",
3115
- orientation: t,
3116
- className: r(
3117
- "flex touch-none p-px transition-colors select-none",
3118
- t === "vertical" && "h-full w-2.5 border-l border-l-transparent",
3119
- t === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
3120
- e
3121
- ),
3122
- ...o,
3123
- children: /* @__PURE__ */ a.jsx(
3124
- ae.ScrollAreaThumb,
3125
- {
3126
- "data-slot": "scroll-area-thumb",
3127
- className: "bg-neutral-200 relative flex-1 rounded-full dark:bg-neutral-800"
3128
- }
3129
- )
3130
- }
3131
- );
3132
- }
3133
- function Ko({
3134
- ...e
3135
- }) {
3136
- return /* @__PURE__ */ a.jsx(T.Root, { "data-slot": "select", ...e });
3137
- }
3138
- function Jo({
3139
- ...e
3140
- }) {
3141
- return /* @__PURE__ */ a.jsx(T.Group, { "data-slot": "select-group", ...e });
3142
- }
3143
- function Xo({
3144
- ...e
3145
- }) {
3146
- return /* @__PURE__ */ a.jsx(T.Value, { "data-slot": "select-value", ...e });
3147
- }
3148
- function Zo({
3149
- className: e,
3150
- children: t,
3151
- ...o
3152
- }) {
3153
- return /* @__PURE__ */ a.jsxs(
3154
- T.Trigger,
3155
- {
3156
- "data-slot": "select-trigger",
3157
- className: r(
3158
- "border-neutral-200 data-[placeholder]:text-neutral-500 [&_svg:not([class*='text-'])]:text-neutral-500 focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50 aria-invalid:ring-red-500/20 dark:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 flex h-9 w-full items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:border-neutral-800 dark:data-[placeholder]:text-neutral-400 dark:[&_svg:not([class*='text-'])]:text-neutral-400 dark:focus-visible:border-neutral-300 dark:focus-visible:ring-neutral-300/50 dark:aria-invalid:ring-red-900/20 dark:dark:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900",
3159
- e
3160
- ),
3161
- ...o,
3162
- children: [
3163
- t,
3164
- /* @__PURE__ */ a.jsx(T.Icon, { asChild: !0, children: /* @__PURE__ */ a.jsx(de, { className: "size-4 opacity-50" }) })
3165
- ]
3166
- }
3167
- );
3168
- }
3169
- function Qo({
3170
- className: e,
3171
- children: t,
3172
- position: o = "popper",
3173
- ...s
3174
- }) {
3175
- return /* @__PURE__ */ a.jsx(T.Portal, { children: /* @__PURE__ */ a.jsxs(
3176
- T.Content,
3177
- {
3178
- "data-slot": "select-content",
3179
- className: r(
3180
- "bg-white text-neutral-950 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 relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-neutral-200 shadow-md dark:bg-neutral-950 dark:text-neutral-50 dark:border-neutral-800",
3181
- o === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
3182
- e
3183
- ),
3184
- position: o,
3185
- ...s,
3186
- children: [
3187
- /* @__PURE__ */ a.jsx(Na, {}),
3188
- /* @__PURE__ */ a.jsx(
3189
- T.Viewport,
3190
- {
3191
- className: r(
3192
- "p-1",
3193
- o === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
3194
- ),
3195
- children: t
3196
- }
3197
- ),
3198
- /* @__PURE__ */ a.jsx(ya, {})
3199
- ]
3200
- }
3201
- ) });
3202
- }
3203
- function es({
3204
- className: e,
3205
- ...t
3206
- }) {
3207
- return /* @__PURE__ */ a.jsx(
3208
- T.Label,
3209
- {
3210
- "data-slot": "select-label",
3211
- className: r("px-2 py-1.5 text-sm font-medium", e),
3212
- ...t
3213
- }
3214
- );
3215
- }
3216
- function ts({
3217
- className: e,
3218
- children: t,
3219
- ...o
3220
- }) {
3221
- return /* @__PURE__ */ a.jsxs(
3222
- T.Item,
3223
- {
3224
- "data-slot": "select-item",
3225
- className: r(
3226
- "focus:bg-neutral-100 focus:text-neutral-900 [&_svg:not([class*='text-'])]:text-neutral-500 relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 dark:focus:bg-neutral-800 dark:focus:text-neutral-50 dark:[&_svg:not([class*='text-'])]:text-neutral-400",
3227
- e
3228
- ),
3229
- ...o,
3230
- children: [
3231
- /* @__PURE__ */ a.jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(T.ItemIndicator, { children: /* @__PURE__ */ a.jsx(oe, { className: "size-4" }) }) }),
3232
- /* @__PURE__ */ a.jsx(T.ItemText, { children: t })
3233
- ]
3234
- }
3235
- );
3236
- }
3237
- function as({
3238
- className: e,
3239
- ...t
3240
- }) {
3241
- return /* @__PURE__ */ a.jsx(
3242
- T.Separator,
3243
- {
3244
- "data-slot": "select-separator",
3245
- className: r("bg-neutral-200 pointer-events-none -mx-1 my-1 h-px dark:bg-neutral-800", e),
3246
- ...t
3247
- }
3248
- );
3249
- }
3250
- function Na({
3251
- className: e,
3252
- ...t
3253
- }) {
3254
- return /* @__PURE__ */ a.jsx(
3255
- T.ScrollUpButton,
3256
- {
3257
- "data-slot": "select-scroll-up-button",
3258
- className: r(
3259
- "flex cursor-default items-center justify-center py-1",
3260
- e
3261
- ),
3262
- ...t,
3263
- children: /* @__PURE__ */ a.jsx(Mt, { className: "size-4" })
3264
- }
3265
- );
3266
- }
3267
- function ya({
3268
- className: e,
3269
- ...t
3270
- }) {
3271
- return /* @__PURE__ */ a.jsx(
3272
- T.ScrollDownButton,
3273
- {
3274
- "data-slot": "select-scroll-down-button",
3275
- className: r(
3276
- "flex cursor-default items-center justify-center py-1",
3277
- e
3278
- ),
3279
- ...t,
3280
- children: /* @__PURE__ */ a.jsx(de, { className: "size-4" })
3281
- }
3282
- );
3283
- }
3284
- function Ca({
3285
- className: e,
3286
- orientation: t = "horizontal",
3287
- decorative: o = !0,
3288
- ...s
3289
- }) {
3290
- return /* @__PURE__ */ a.jsx(
3291
- qt.Root,
3292
- {
3293
- "data-slot": "separator-root",
3294
- decorative: o,
3295
- orientation: t,
3296
- className: r(
3297
- "bg-neutral-200 shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px dark:bg-neutral-800",
3298
- e
3299
- ),
3300
- ...s
3301
- }
3302
- );
3303
- }
3304
- function _a({ ...e }) {
3305
- return /* @__PURE__ */ a.jsx(k.Root, { "data-slot": "sheet", ...e });
3306
- }
3307
- function rs({
3308
- ...e
3309
- }) {
3310
- return /* @__PURE__ */ a.jsx(k.Trigger, { "data-slot": "sheet-trigger", ...e });
3311
- }
3312
- function ns({
3313
- ...e
3314
- }) {
3315
- return /* @__PURE__ */ a.jsx(k.Close, { "data-slot": "sheet-close", ...e });
3316
- }
3317
- function za({
3318
- ...e
3319
- }) {
3320
- return /* @__PURE__ */ a.jsx(k.Portal, { "data-slot": "sheet-portal", ...e });
3321
- }
3322
- function Sa({
3323
- className: e,
3324
- ...t
3325
- }) {
3326
- return /* @__PURE__ */ a.jsx(
3327
- k.Overlay,
3328
- {
3329
- "data-slot": "sheet-overlay",
3330
- className: r(
3331
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",
3332
- e
3333
- ),
3334
- ...t
3335
- }
3336
- );
3337
- }
3338
- function Ta({
3339
- className: e,
3340
- children: t,
3341
- side: o = "right",
3342
- ...s
3343
- }) {
3344
- return /* @__PURE__ */ a.jsxs(za, { children: [
3345
- /* @__PURE__ */ a.jsx(Sa, {}),
3346
- /* @__PURE__ */ a.jsxs(
3347
- k.Content,
3348
- {
3349
- "data-slot": "sheet-content",
3350
- className: r(
3351
- "bg-white data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 dark:bg-neutral-950",
3352
- o === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
3353
- o === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
3354
- o === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
3355
- o === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
3356
- e
3357
- ),
3358
- ...s,
3359
- children: [
3360
- t,
3361
- /* @__PURE__ */ a.jsxs(k.Close, { className: "ring-offset-white focus:ring-neutral-950 data-[state=open]:bg-neutral-100 absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none dark:ring-offset-neutral-950 dark:focus:ring-neutral-300 dark:data-[state=open]:bg-neutral-800", children: [
3362
- /* @__PURE__ */ a.jsx(it, { className: "size-4" }),
3363
- /* @__PURE__ */ a.jsx("span", { className: "sr-only", children: "Close" })
3364
- ] })
3365
- ]
3366
- }
3367
- )
3368
- ] });
3369
- }
3370
- function Ea({ className: e, ...t }) {
3371
- return /* @__PURE__ */ a.jsx(
3372
- "div",
3373
- {
3374
- "data-slot": "sheet-header",
3375
- className: r("flex flex-col gap-1.5 p-4", e),
3376
- ...t
3377
- }
3378
- );
3379
- }
3380
- function os({ className: e, ...t }) {
3381
- return /* @__PURE__ */ a.jsx(
3382
- "div",
3383
- {
3384
- "data-slot": "sheet-footer",
3385
- className: r("mt-auto flex flex-col gap-2 p-4", e),
3386
- ...t
3387
- }
3388
- );
3389
- }
3390
- function Pa({
3391
- className: e,
3392
- ...t
3393
- }) {
3394
- return /* @__PURE__ */ a.jsx(
3395
- k.Title,
3396
- {
3397
- "data-slot": "sheet-title",
3398
- className: r("text-neutral-950 font-semibold dark:text-neutral-50", e),
3399
- ...t
3400
- }
3401
- );
3402
- }
3403
- function Ia({
3404
- className: e,
3405
- ...t
3406
- }) {
3407
- return /* @__PURE__ */ a.jsx(
3408
- k.Description,
3409
- {
3410
- "data-slot": "sheet-description",
3411
- className: r("text-neutral-500 text-sm dark:text-neutral-400", e),
3412
- ...t
3413
- }
3414
- );
3415
- }
3416
- const _e = 768;
3417
- function Ra() {
3418
- const [e, t] = g.useState(void 0);
3419
- return g.useEffect(() => {
3420
- const o = window.matchMedia(`(max-width: ${_e - 1}px)`), s = () => {
3421
- t(window.innerWidth < _e);
3422
- };
3423
- return o.addEventListener("change", s), t(window.innerWidth < _e), () => o.removeEventListener("change", s);
3424
- }, []), !!e;
3425
- }
3426
- function ot({ className: e, ...t }) {
3427
- return /* @__PURE__ */ a.jsx(
3428
- "div",
3429
- {
3430
- "data-slot": "skeleton",
3431
- className: r("bg-neutral-900/10 animate-pulse rounded-md dark:bg-neutral-50/10", e),
3432
- ...t
3433
- }
3434
- );
3435
- }
3436
- function xt({
3437
- delayDuration: e = 0,
3438
- ...t
3439
- }) {
3440
- return /* @__PURE__ */ a.jsx(
3441
- K.Provider,
3442
- {
3443
- "data-slot": "tooltip-provider",
3444
- delayDuration: e,
3445
- ...t
3446
- }
3447
- );
3448
- }
3449
- function Ma({
3450
- ...e
3451
- }) {
3452
- return /* @__PURE__ */ a.jsx(xt, { children: /* @__PURE__ */ a.jsx(K.Root, { "data-slot": "tooltip", ...e }) });
3453
- }
3454
- function Aa({
3455
- ...e
3456
- }) {
3457
- return /* @__PURE__ */ a.jsx(K.Trigger, { "data-slot": "tooltip-trigger", ...e });
3458
- }
3459
- function Da({
3460
- className: e,
3461
- sideOffset: t = 0,
3462
- children: o,
3463
- ...s
3464
- }) {
3465
- return /* @__PURE__ */ a.jsx(K.Portal, { children: /* @__PURE__ */ a.jsxs(
3466
- K.Content,
3467
- {
3468
- "data-slot": "tooltip-content",
3469
- sideOffset: t,
3470
- className: r(
3471
- "bg-neutral-900 text-neutral-50 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 z-50 w-fit rounded-md px-3 py-1.5 text-xs text-balance dark:bg-neutral-50 dark:text-neutral-900",
3472
- e
3473
- ),
3474
- ...s,
3475
- children: [
3476
- o,
3477
- /* @__PURE__ */ a.jsx(K.Arrow, { className: "bg-neutral-900 fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] dark:bg-neutral-50" })
3478
- ]
3479
- }
3480
- ) });
3481
- }
3482
- const Oa = "sidebar_state", La = 60 * 60 * 24 * 7, Ga = "16rem", $a = "18rem", Ba = "3rem", Fa = "b", bt = g.createContext(null);
3483
- function xe() {
3484
- const e = g.useContext(bt);
3485
- if (!e)
3486
- throw new Error("useSidebar must be used within a SidebarProvider.");
3487
- return e;
3488
- }
3489
- function ss({
3490
- defaultOpen: e = !0,
3491
- open: t,
3492
- onOpenChange: o,
3493
- className: s,
3494
- style: i,
3495
- children: u,
3496
- ...f
3497
- }) {
3498
- const p = Ra(), [c, w] = g.useState(!1), [M, H] = g.useState(e), I = t ?? M, j = g.useCallback(
3499
- (v) => {
3500
- const _ = typeof v == "function" ? v(I) : v;
3501
- o ? o(_) : H(_), document.cookie = `${Oa}=${_}; path=/; max-age=${La}`;
3502
- },
3503
- [o, I]
3504
- ), E = g.useCallback(() => p ? w((v) => !v) : j((v) => !v), [p, j, w]);
3505
- g.useEffect(() => {
3506
- const v = (_) => {
3507
- _.key === Fa && (_.metaKey || _.ctrlKey) && (_.preventDefault(), E());
3508
- };
3509
- return window.addEventListener("keydown", v), () => window.removeEventListener("keydown", v);
3510
- }, [E]);
3511
- const P = I ? "expanded" : "collapsed", x = g.useMemo(
3512
- () => ({
3513
- state: P,
3514
- open: I,
3515
- setOpen: j,
3516
- isMobile: p,
3517
- openMobile: c,
3518
- setOpenMobile: w,
3519
- toggleSidebar: E
3520
- }),
3521
- [P, I, j, p, c, w, E]
3522
- );
3523
- return /* @__PURE__ */ a.jsx(bt.Provider, { value: x, children: /* @__PURE__ */ a.jsx(xt, { delayDuration: 0, children: /* @__PURE__ */ a.jsx(
3524
- "div",
3525
- {
3526
- "data-slot": "sidebar-wrapper",
3527
- style: {
3528
- "--sidebar-width": Ga,
3529
- "--sidebar-width-icon": Ba,
3530
- ...i
3531
- },
3532
- className: r(
3533
- "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
3534
- s
3535
- ),
3536
- ...f,
3537
- children: u
3538
- }
3539
- ) }) });
3540
- }
3541
- function is({
3542
- side: e = "left",
3543
- variant: t = "sidebar",
3544
- collapsible: o = "offcanvas",
3545
- className: s,
3546
- children: i,
3547
- ...u
3548
- }) {
3549
- const { isMobile: f, state: p, openMobile: c, setOpenMobile: w } = xe();
3550
- return o === "none" ? /* @__PURE__ */ a.jsx(
3551
- "div",
3552
- {
3553
- "data-slot": "sidebar",
3554
- className: r(
3555
- "bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
3556
- s
3557
- ),
3558
- ...u,
3559
- children: i
3560
- }
3561
- ) : f ? /* @__PURE__ */ a.jsx(_a, { open: c, onOpenChange: w, ...u, children: /* @__PURE__ */ a.jsxs(
3562
- Ta,
3563
- {
3564
- "data-sidebar": "sidebar",
3565
- "data-slot": "sidebar",
3566
- "data-mobile": "true",
3567
- className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
3568
- style: {
3569
- "--sidebar-width": $a
3570
- },
3571
- side: e,
3572
- children: [
3573
- /* @__PURE__ */ a.jsxs(Ea, { className: "sr-only", children: [
3574
- /* @__PURE__ */ a.jsx(Pa, { children: "Sidebar" }),
3575
- /* @__PURE__ */ a.jsx(Ia, { children: "Displays the mobile sidebar." })
3576
- ] }),
3577
- /* @__PURE__ */ a.jsx("div", { className: "flex h-full w-full flex-col", children: i })
3578
- ]
3579
- }
3580
- ) }) : /* @__PURE__ */ a.jsxs(
3581
- "div",
3582
- {
3583
- className: "group peer text-sidebar-foreground hidden md:block",
3584
- "data-state": p,
3585
- "data-collapsible": p === "collapsed" ? o : "",
3586
- "data-variant": t,
3587
- "data-side": e,
3588
- "data-slot": "sidebar",
3589
- children: [
3590
- /* @__PURE__ */ a.jsx(
3591
- "div",
3592
- {
3593
- className: r(
3594
- "relative h-svh w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
3595
- "group-data-[collapsible=offcanvas]:w-0",
3596
- "group-data-[side=right]:rotate-180",
3597
- t === "floating" || t === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)"
3598
- )
3599
- }
3600
- ),
3601
- /* @__PURE__ */ a.jsx(
3602
- "div",
3603
- {
3604
- className: r(
3605
- "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
3606
- e === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
3607
- // Adjust the padding for floating and inset variants.
3608
- t === "floating" || t === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
3609
- s
3610
- ),
3611
- ...u,
3612
- children: /* @__PURE__ */ a.jsx(
3613
- "div",
3614
- {
3615
- "data-sidebar": "sidebar",
3616
- className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
3617
- children: i
3618
- }
3619
- )
3620
- }
3621
- )
3622
- ]
3623
- }
3624
- );
3625
- }
3626
- function ls({
3627
- className: e,
3628
- onClick: t,
3629
- ...o
3630
- }) {
3631
- const { toggleSidebar: s } = xe();
3632
- return /* @__PURE__ */ a.jsxs(
3633
- Me,
3634
- {
3635
- "data-sidebar": "trigger",
3636
- "data-slot": "sidebar-trigger",
3637
- variant: "ghost",
3638
- size: "icon",
3639
- className: r("h-7 w-7", e),
3640
- onClick: (i) => {
3641
- t == null || t(i), s();
3642
- },
3643
- ...o,
3644
- children: [
3645
- /* @__PURE__ */ a.jsx(At, {}),
3646
- /* @__PURE__ */ a.jsx("span", { className: "sr-only", children: "Toggle Sidebar" })
3647
- ]
3648
- }
3649
- );
3650
- }
3651
- function ds({ className: e, ...t }) {
3652
- const { toggleSidebar: o } = xe();
3653
- return /* @__PURE__ */ a.jsx(
3654
- "button",
3655
- {
3656
- "data-sidebar": "rail",
3657
- "data-slot": "sidebar-rail",
3658
- "aria-label": "Toggle Sidebar",
3659
- tabIndex: -1,
3660
- onClick: o,
3661
- title: "Toggle Sidebar",
3662
- className: r(
3663
- "hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
3664
- "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
3665
- "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
3666
- "hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full",
3667
- "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
3668
- "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
3669
- e
3670
- ),
3671
- ...t
3672
- }
3673
- );
3674
- }
3675
- function us({ className: e, ...t }) {
3676
- return /* @__PURE__ */ a.jsx(
3677
- "main",
3678
- {
3679
- "data-slot": "sidebar-inset",
3680
- className: r(
3681
- "bg-white relative flex min-h-svh w-full flex-1 flex-col dark:bg-neutral-950",
3682
- "peer-data-[variant=inset]:min-h-[calc(100svh-(--spacing(4)))] md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
3683
- e
3684
- ),
3685
- ...t
3686
- }
3687
- );
3688
- }
3689
- function cs({
3690
- className: e,
3691
- ...t
3692
- }) {
3693
- return /* @__PURE__ */ a.jsx(
3694
- va,
3695
- {
3696
- "data-slot": "sidebar-input",
3697
- "data-sidebar": "input",
3698
- className: r("bg-white h-8 w-full shadow-none dark:bg-neutral-950", e),
3699
- ...t
3700
- }
3701
- );
3702
- }
3703
- function fs({ className: e, ...t }) {
3704
- return /* @__PURE__ */ a.jsx(
3705
- "div",
3706
- {
3707
- "data-slot": "sidebar-header",
3708
- "data-sidebar": "header",
3709
- className: r("flex flex-col gap-2 p-2", e),
3710
- ...t
3711
- }
3712
- );
3713
- }
3714
- function ms({ className: e, ...t }) {
3715
- return /* @__PURE__ */ a.jsx(
3716
- "div",
3717
- {
3718
- "data-slot": "sidebar-footer",
3719
- "data-sidebar": "footer",
3720
- className: r("flex flex-col gap-2 p-2", e),
3721
- ...t
3722
- }
3723
- );
3724
- }
3725
- function gs({
3726
- className: e,
3727
- ...t
3728
- }) {
3729
- return /* @__PURE__ */ a.jsx(
3730
- Ca,
3731
- {
3732
- "data-slot": "sidebar-separator",
3733
- "data-sidebar": "separator",
3734
- className: r("bg-sidebar-border mx-2 w-auto", e),
3735
- ...t
3736
- }
3737
- );
3738
- }
3739
- function xs({ className: e, ...t }) {
3740
- return /* @__PURE__ */ a.jsx(
3741
- "div",
3742
- {
3743
- "data-slot": "sidebar-content",
3744
- "data-sidebar": "content",
3745
- className: r(
3746
- "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
3747
- e
3748
- ),
3749
- ...t
3750
- }
3751
- );
3752
- }
3753
- function bs({ className: e, ...t }) {
3754
- return /* @__PURE__ */ a.jsx(
3755
- "div",
3756
- {
3757
- "data-slot": "sidebar-group",
3758
- "data-sidebar": "group",
3759
- className: r("relative flex w-full min-w-0 flex-col p-2", e),
3760
- ...t
3761
- }
3762
- );
3763
- }
3764
- function ps({
3765
- className: e,
3766
- asChild: t = !1,
3767
- ...o
3768
- }) {
3769
- const s = t ? G : "div";
3770
- return /* @__PURE__ */ a.jsx(
3771
- s,
3772
- {
3773
- "data-slot": "sidebar-group-label",
3774
- "data-sidebar": "group-label",
3775
- className: r(
3776
- "text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
3777
- "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
3778
- e
3779
- ),
3780
- ...o
3781
- }
3782
- );
3783
- }
3784
- function vs({
3785
- className: e,
3786
- asChild: t = !1,
3787
- ...o
3788
- }) {
3789
- const s = t ? G : "button";
3790
- return /* @__PURE__ */ a.jsx(
3791
- s,
3792
- {
3793
- "data-slot": "sidebar-group-action",
3794
- "data-sidebar": "group-action",
3795
- className: r(
3796
- "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
3797
- // Increases the hit area of the button on mobile.
3798
- "after:absolute after:-inset-2 md:after:hidden",
3799
- "group-data-[collapsible=icon]:hidden",
3800
- e
3801
- ),
3802
- ...o
3803
- }
3804
- );
3805
- }
3806
- function hs({
3807
- className: e,
3808
- ...t
3809
- }) {
3810
- return /* @__PURE__ */ a.jsx(
3811
- "div",
3812
- {
3813
- "data-slot": "sidebar-group-content",
3814
- "data-sidebar": "group-content",
3815
- className: r("w-full text-sm", e),
3816
- ...t
3817
- }
3818
- );
3819
- }
3820
- function ks({ className: e, ...t }) {
3821
- return /* @__PURE__ */ a.jsx(
3822
- "ul",
3823
- {
3824
- "data-slot": "sidebar-menu",
3825
- "data-sidebar": "menu",
3826
- className: r("flex w-full min-w-0 flex-col gap-1", e),
3827
- ...t
3828
- }
3829
- );
3830
- }
3831
- function ws({ className: e, ...t }) {
3832
- return /* @__PURE__ */ a.jsx(
3833
- "li",
3834
- {
3835
- "data-slot": "sidebar-menu-item",
3836
- "data-sidebar": "menu-item",
3837
- className: r("group/menu-item relative", e),
3838
- ...t
3839
- }
3840
- );
3841
- }
3842
- const Ha = X(
3843
- "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
3844
- {
3845
- variants: {
3846
- variant: {
3847
- default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
3848
- outline: "bg-white shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))] dark:bg-neutral-950"
3849
- },
3850
- size: {
3851
- default: "h-8 text-sm",
3852
- sm: "h-7 text-xs",
3853
- lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!"
3854
- }
3855
- },
3856
- defaultVariants: {
3857
- variant: "default",
3858
- size: "default"
3859
- }
3860
- }
3861
- );
3862
- function js({
3863
- asChild: e = !1,
3864
- isActive: t = !1,
3865
- variant: o = "default",
3866
- size: s = "default",
3867
- tooltip: i,
3868
- className: u,
3869
- ...f
3870
- }) {
3871
- const p = e ? G : "button", { isMobile: c, state: w } = xe(), M = /* @__PURE__ */ a.jsx(
3872
- p,
3873
- {
3874
- "data-slot": "sidebar-menu-button",
3875
- "data-sidebar": "menu-button",
3876
- "data-size": s,
3877
- "data-active": t,
3878
- className: r(Ha({ variant: o, size: s }), u),
3879
- ...f
3880
- }
3881
- );
3882
- return i ? (typeof i == "string" && (i = {
3883
- children: i
3884
- }), /* @__PURE__ */ a.jsxs(Ma, { children: [
3885
- /* @__PURE__ */ a.jsx(Aa, { asChild: !0, children: M }),
3886
- /* @__PURE__ */ a.jsx(
3887
- Da,
3888
- {
3889
- side: "right",
3890
- align: "center",
3891
- hidden: w !== "collapsed" || c,
3892
- ...i
3893
- }
3894
- )
3895
- ] })) : M;
3896
- }
3897
- function Ns({
3898
- className: e,
3899
- asChild: t = !1,
3900
- showOnHover: o = !1,
3901
- ...s
3902
- }) {
3903
- const i = t ? G : "button";
3904
- return /* @__PURE__ */ a.jsx(
3905
- i,
3906
- {
3907
- "data-slot": "sidebar-menu-action",
3908
- "data-sidebar": "menu-action",
3909
- className: r(
3910
- "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
3911
- // Increases the hit area of the button on mobile.
3912
- "after:absolute after:-inset-2 md:after:hidden",
3913
- "peer-data-[size=sm]/menu-button:top-1",
3914
- "peer-data-[size=default]/menu-button:top-1.5",
3915
- "peer-data-[size=lg]/menu-button:top-2.5",
3916
- "group-data-[collapsible=icon]:hidden",
3917
- o && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
3918
- e
3919
- ),
3920
- ...s
3921
- }
3922
- );
3923
- }
3924
- function ys({
3925
- className: e,
3926
- ...t
3927
- }) {
3928
- return /* @__PURE__ */ a.jsx(
3929
- "div",
3930
- {
3931
- "data-slot": "sidebar-menu-badge",
3932
- "data-sidebar": "menu-badge",
3933
- className: r(
3934
- "text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none",
3935
- "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
3936
- "peer-data-[size=sm]/menu-button:top-1",
3937
- "peer-data-[size=default]/menu-button:top-1.5",
3938
- "peer-data-[size=lg]/menu-button:top-2.5",
3939
- "group-data-[collapsible=icon]:hidden",
3940
- e
3941
- ),
3942
- ...t
3943
- }
3944
- );
3945
- }
3946
- function Cs({
3947
- className: e,
3948
- showIcon: t = !1,
3949
- ...o
3950
- }) {
3951
- const s = g.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
3952
- return /* @__PURE__ */ a.jsxs(
3953
- "div",
3954
- {
3955
- "data-slot": "sidebar-menu-skeleton",
3956
- "data-sidebar": "menu-skeleton",
3957
- className: r("flex h-8 items-center gap-2 rounded-md px-2", e),
3958
- ...o,
3959
- children: [
3960
- t && /* @__PURE__ */ a.jsx(
3961
- ot,
3962
- {
3963
- className: "size-4 rounded-md",
3964
- "data-sidebar": "menu-skeleton-icon"
3965
- }
3966
- ),
3967
- /* @__PURE__ */ a.jsx(
3968
- ot,
3969
- {
3970
- className: "h-4 max-w-(--skeleton-width) flex-1",
3971
- "data-sidebar": "menu-skeleton-text",
3972
- style: {
3973
- "--skeleton-width": s
3974
- }
3975
- }
3976
- )
3977
- ]
3978
- }
3979
- );
3980
- }
3981
- function _s({ className: e, ...t }) {
3982
- return /* @__PURE__ */ a.jsx(
3983
- "ul",
3984
- {
3985
- "data-slot": "sidebar-menu-sub",
3986
- "data-sidebar": "menu-sub",
3987
- className: r(
3988
- "border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
3989
- "group-data-[collapsible=icon]:hidden",
3990
- e
3991
- ),
3992
- ...t
3993
- }
3994
- );
3995
- }
3996
- function zs({
3997
- className: e,
3998
- ...t
3999
- }) {
4000
- return /* @__PURE__ */ a.jsx(
4001
- "li",
4002
- {
4003
- "data-slot": "sidebar-menu-sub-item",
4004
- "data-sidebar": "menu-sub-item",
4005
- className: r("group/menu-sub-item relative", e),
4006
- ...t
4007
- }
4008
- );
4009
- }
4010
- function Ss({
4011
- asChild: e = !1,
4012
- size: t = "md",
4013
- isActive: o = !1,
4014
- className: s,
4015
- ...i
4016
- }) {
4017
- const u = e ? G : "a";
4018
- return /* @__PURE__ */ a.jsx(
4019
- u,
4020
- {
4021
- "data-slot": "sidebar-menu-sub-button",
4022
- "data-sidebar": "menu-sub-button",
4023
- "data-size": t,
4024
- "data-active": o,
4025
- className: r(
4026
- "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
4027
- "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
4028
- t === "sm" && "text-xs",
4029
- t === "md" && "text-sm",
4030
- "group-data-[collapsible=icon]:hidden",
4031
- s
4032
- ),
4033
- ...i
4034
- }
4035
- );
4036
- }
4037
- function Ts({
4038
- className: e,
4039
- defaultValue: t,
4040
- value: o,
4041
- min: s = 0,
4042
- max: i = 100,
4043
- ...u
4044
- }) {
4045
- const f = g.useMemo(
4046
- () => Array.isArray(o) ? o : Array.isArray(t) ? t : [s, i],
4047
- [o, t, s, i]
4048
- );
4049
- return /* @__PURE__ */ a.jsxs(
4050
- ie.Root,
4051
- {
4052
- "data-slot": "slider",
4053
- defaultValue: t,
4054
- value: o,
4055
- min: s,
4056
- max: i,
4057
- className: r(
4058
- "relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",
4059
- e
4060
- ),
4061
- ...u,
4062
- children: [
4063
- /* @__PURE__ */ a.jsx(
4064
- ie.Track,
4065
- {
4066
- "data-slot": "slider-track",
4067
- className: r(
4068
- "bg-neutral-100 relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5 dark:bg-neutral-800"
4069
- ),
4070
- children: /* @__PURE__ */ a.jsx(
4071
- ie.Range,
4072
- {
4073
- "data-slot": "slider-range",
4074
- className: r(
4075
- "bg-neutral-900 absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full dark:bg-neutral-50"
4076
- )
4077
- }
4078
- )
4079
- }
4080
- ),
4081
- Array.from({ length: f.length }, (p, c) => /* @__PURE__ */ a.jsx(
4082
- ie.Thumb,
4083
- {
4084
- "data-slot": "slider-thumb",
4085
- className: "border-neutral-900 bg-white ring-neutral-950/50 block size-4 shrink-0 rounded-full border border-neutral-200 shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 dark:border-neutral-50 dark:bg-neutral-950 dark:ring-neutral-300/50 dark:border-neutral-800"
4086
- },
4087
- c
4088
- ))
4089
- ]
4090
- }
4091
- );
4092
- }
4093
- const Es = ({ ...e }) => {
4094
- const { theme: t = "system" } = Kt();
4095
- return /* @__PURE__ */ a.jsx(
4096
- Jt,
4097
- {
4098
- theme: t,
4099
- className: "toaster group",
4100
- toastOptions: {
4101
- classNames: {
4102
- toast: "group toast group-[.toaster]:bg-white group-[.toaster]:text-neutral-950 group-[.toaster]:border-neutral-200 group-[.toaster]:shadow-lg dark:group-[.toaster]:bg-neutral-950 dark:group-[.toaster]:text-neutral-50 dark:group-[.toaster]:border-neutral-800",
4103
- description: "group-[.toast]:text-neutral-500 dark:group-[.toast]:text-neutral-400",
4104
- actionButton: "group-[.toast]:bg-neutral-900 group-[.toast]:text-neutral-50 font-medium dark:group-[.toast]:bg-neutral-50 dark:group-[.toast]:text-neutral-900",
4105
- cancelButton: "group-[.toast]:bg-neutral-100 group-[.toast]:text-neutral-500 font-medium dark:group-[.toast]:bg-neutral-800 dark:group-[.toast]:text-neutral-400"
4106
- }
4107
- },
4108
- ...e
4109
- }
4110
- );
4111
- };
4112
- function Ps({
4113
- className: e,
4114
- ...t
4115
- }) {
4116
- return /* @__PURE__ */ a.jsx(
4117
- tt.Root,
4118
- {
4119
- "data-slot": "switch",
4120
- className: r(
4121
- "peer data-[state=checked]:bg-neutral-900 data-[state=unchecked]:bg-neutral-200 focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50 inline-flex h-5 w-9 shrink-0 items-center rounded-full border-2 border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 dark:data-[state=checked]:bg-neutral-50 dark:data-[state=unchecked]:bg-neutral-800 dark:focus-visible:border-neutral-300 dark:focus-visible:ring-neutral-300/50",
4122
- e
4123
- ),
4124
- ...t,
4125
- children: /* @__PURE__ */ a.jsx(
4126
- tt.Thumb,
4127
- {
4128
- "data-slot": "switch-thumb",
4129
- className: r(
4130
- "bg-white pointer-events-none block size-4 rounded-full ring-0 shadow-lg transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0 dark:bg-neutral-950"
4131
- )
4132
- }
4133
- )
4134
- }
4135
- );
4136
- }
4137
- function Is({ className: e, ...t }) {
4138
- return /* @__PURE__ */ a.jsx(
4139
- "div",
4140
- {
4141
- "data-slot": "table-container",
4142
- className: "relative w-full overflow-x-auto",
4143
- children: /* @__PURE__ */ a.jsx(
4144
- "table",
4145
- {
4146
- "data-slot": "table",
4147
- className: r("w-full caption-bottom text-sm", e),
4148
- ...t
4149
- }
4150
- )
4151
- }
4152
- );
4153
- }
4154
- function Rs({ className: e, ...t }) {
4155
- return /* @__PURE__ */ a.jsx(
4156
- "thead",
4157
- {
4158
- "data-slot": "table-header",
4159
- className: r("[&_tr]:border-b", e),
4160
- ...t
4161
- }
4162
- );
4163
- }
4164
- function Ms({ className: e, ...t }) {
4165
- return /* @__PURE__ */ a.jsx(
4166
- "tbody",
4167
- {
4168
- "data-slot": "table-body",
4169
- className: r("[&_tr:last-child]:border-0", e),
4170
- ...t
4171
- }
4172
- );
4173
- }
4174
- function As({ className: e, ...t }) {
4175
- return /* @__PURE__ */ a.jsx(
4176
- "tfoot",
4177
- {
4178
- "data-slot": "table-footer",
4179
- className: r(
4180
- "bg-neutral-100/50 border-t font-medium [&>tr]:last:border-b-0 dark:bg-neutral-800/50",
4181
- e
4182
- ),
4183
- ...t
4184
- }
4185
- );
4186
- }
4187
- function Ds({ className: e, ...t }) {
4188
- return /* @__PURE__ */ a.jsx(
4189
- "tr",
4190
- {
4191
- "data-slot": "table-row",
4192
- className: r(
4193
- "hover:bg-neutral-100/50 data-[state=selected]:bg-neutral-100 border-b transition-colors dark:hover:bg-neutral-800/50 dark:data-[state=selected]:bg-neutral-800",
4194
- e
4195
- ),
4196
- ...t
4197
- }
4198
- );
4199
- }
4200
- function Os({ className: e, ...t }) {
4201
- return /* @__PURE__ */ a.jsx(
4202
- "th",
4203
- {
4204
- "data-slot": "table-head",
4205
- className: r(
4206
- "text-neutral-500 h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px] dark:text-neutral-400",
4207
- e
4208
- ),
4209
- ...t
4210
- }
4211
- );
4212
- }
4213
- function Ls({ className: e, ...t }) {
4214
- return /* @__PURE__ */ a.jsx(
4215
- "td",
4216
- {
4217
- "data-slot": "table-cell",
4218
- className: r(
4219
- "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
4220
- e
4221
- ),
4222
- ...t
4223
- }
4224
- );
4225
- }
4226
- function Gs({
4227
- className: e,
4228
- ...t
4229
- }) {
4230
- return /* @__PURE__ */ a.jsx(
4231
- "caption",
4232
- {
4233
- "data-slot": "table-caption",
4234
- className: r("text-neutral-500 mt-4 text-sm dark:text-neutral-400", e),
4235
- ...t
4236
- }
4237
- );
4238
- }
4239
- function $s({
4240
- className: e,
4241
- ...t
4242
- }) {
4243
- return /* @__PURE__ */ a.jsx(
4244
- fe.Root,
4245
- {
4246
- "data-slot": "tabs",
4247
- className: r("flex flex-col gap-2", e),
4248
- ...t
4249
- }
4250
- );
4251
- }
4252
- function Bs({
4253
- className: e,
4254
- ...t
4255
- }) {
4256
- return /* @__PURE__ */ a.jsx(
4257
- fe.List,
4258
- {
4259
- "data-slot": "tabs-list",
4260
- className: r(
4261
- "bg-neutral-100 text-neutral-500 inline-flex h-9 w-fit items-center justify-center rounded-lg p-1 dark:bg-neutral-800 dark:text-neutral-400",
4262
- e
4263
- ),
4264
- ...t
4265
- }
4266
- );
4267
- }
4268
- function Fs({
4269
- className: e,
4270
- ...t
4271
- }) {
4272
- return /* @__PURE__ */ a.jsx(
4273
- fe.Trigger,
4274
- {
4275
- "data-slot": "tabs-trigger",
4276
- className: r(
4277
- "data-[state=active]:bg-white data-[state=active]:text-neutral-950 focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50 focus-visible:outline-ring inline-flex items-center justify-center gap-1.5 rounded-md px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:data-[state=active]:bg-neutral-950 dark:data-[state=active]:text-neutral-50 dark:focus-visible:border-neutral-300 dark:focus-visible:ring-neutral-300/50",
4278
- e
4279
- ),
4280
- ...t
4281
- }
4282
- );
4283
- }
4284
- function Hs({
4285
- className: e,
4286
- ...t
4287
- }) {
4288
- return /* @__PURE__ */ a.jsx(
4289
- fe.Content,
4290
- {
4291
- "data-slot": "tabs-content",
4292
- className: r("flex-1 outline-none", e),
4293
- ...t
4294
- }
4295
- );
4296
- }
4297
- function Vs({ className: e, ...t }) {
4298
- return /* @__PURE__ */ a.jsx(
4299
- "textarea",
4300
- {
4301
- "data-slot": "textarea",
4302
- className: r(
4303
- "border-neutral-200 placeholder:text-neutral-500 focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50 aria-invalid:ring-red-500/20 dark:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:border-neutral-800 dark:placeholder:text-neutral-400 dark:focus-visible:border-neutral-300 dark:focus-visible:ring-neutral-300/50 dark:aria-invalid:ring-red-900/20 dark:dark:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900",
4304
- e
4305
- ),
4306
- ...t
4307
- }
4308
- );
4309
- }
4310
- const pt = X(
4311
- "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-neutral-100 hover:text-neutral-500 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-neutral-100 data-[state=on]:text-neutral-900 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-red-500/20 dark:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 whitespace-nowrap dark:hover:bg-neutral-800 dark:hover:text-neutral-400 dark:data-[state=on]:bg-neutral-800 dark:data-[state=on]:text-neutral-50 dark:focus-visible:border-neutral-300 dark:focus-visible:ring-neutral-300/50 dark:aria-invalid:ring-red-900/20 dark:dark:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900",
4312
- {
4313
- variants: {
4314
- variant: {
4315
- default: "bg-transparent",
4316
- outline: "border border-neutral-200 bg-transparent shadow-xs hover:bg-neutral-100 hover:text-neutral-900 dark:border-neutral-800 dark:hover:bg-neutral-800 dark:hover:text-neutral-50"
4317
- },
4318
- size: {
4319
- default: "h-9 px-2 min-w-9",
4320
- sm: "h-8 px-1.5 min-w-8",
4321
- lg: "h-10 px-2.5 min-w-10"
4322
- }
4323
- },
4324
- defaultVariants: {
4325
- variant: "default",
4326
- size: "default"
4327
- }
4328
- }
4329
- );
4330
- function Ys({
4331
- className: e,
4332
- variant: t,
4333
- size: o,
4334
- ...s
4335
- }) {
4336
- return /* @__PURE__ */ a.jsx(
4337
- Xt.Root,
4338
- {
4339
- "data-slot": "toggle",
4340
- className: r(pt({ variant: t, size: o, className: e })),
4341
- ...s
4342
- }
4343
- );
4344
- }
4345
- const vt = g.createContext({
4346
- size: "default",
4347
- variant: "default"
4348
- });
4349
- function Ws({
4350
- className: e,
4351
- variant: t,
4352
- size: o,
4353
- children: s,
4354
- ...i
4355
- }) {
4356
- return /* @__PURE__ */ a.jsx(
4357
- lt.Root,
4358
- {
4359
- "data-slot": "toggle-group",
4360
- "data-variant": t,
4361
- "data-size": o,
4362
- className: r(
4363
- "group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs",
4364
- e
4365
- ),
4366
- ...i,
4367
- children: /* @__PURE__ */ a.jsx(vt.Provider, { value: { variant: t, size: o }, children: s })
4368
- }
4369
- );
4370
- }
4371
- function Us({
4372
- className: e,
4373
- children: t,
4374
- variant: o,
4375
- size: s,
4376
- ...i
4377
- }) {
4378
- const u = g.useContext(vt);
4379
- return /* @__PURE__ */ a.jsx(
4380
- lt.Item,
4381
- {
4382
- "data-slot": "toggle-group-item",
4383
- "data-variant": u.variant || o,
4384
- "data-size": u.size || s,
4385
- className: r(
4386
- pt({
4387
- variant: u.variant || o,
4388
- size: u.size || s
4389
- }),
4390
- "min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l",
4391
- e
4392
- ),
4393
- ...i,
4394
- children: t
4395
- }
4396
- );
4397
- }
4398
- export {
4399
- nr as Accordion,
4400
- ir as AccordionContent,
4401
- or as AccordionItem,
4402
- sr as AccordionTrigger,
4403
- pr as Alert,
4404
- hr as AlertDescription,
4405
- lr as AlertDialog,
4406
- xr as AlertDialogAction,
4407
- br as AlertDialogCancel,
4408
- ur as AlertDialogContent,
4409
- gr as AlertDialogDescription,
4410
- fr as AlertDialogFooter,
4411
- cr as AlertDialogHeader,
4412
- aa as AlertDialogOverlay,
4413
- ta as AlertDialogPortal,
4414
- mr as AlertDialogTitle,
4415
- dr as AlertDialogTrigger,
4416
- vr as AlertTitle,
4417
- kr as AspectRatio,
4418
- wr as Avatar,
4419
- Nr as AvatarFallback,
4420
- jr as AvatarImage,
4421
- yr as Badge,
4422
- Cr as Breadcrumb,
4423
- Pr as BreadcrumbEllipsis,
4424
- zr as BreadcrumbItem,
4425
- Sr as BreadcrumbLink,
4426
- _r as BreadcrumbList,
4427
- Tr as BreadcrumbPage,
4428
- Er as BreadcrumbSeparator,
4429
- Me as Button,
4430
- Ir as Calendar,
4431
- Rr as Card,
4432
- Or as CardContent,
4433
- Dr as CardDescription,
4434
- Lr as CardFooter,
4435
- Mr as CardHeader,
4436
- Ar as CardTitle,
4437
- Gr as Carousel,
4438
- $r as CarouselContent,
4439
- Br as CarouselItem,
4440
- Hr as CarouselNext,
4441
- Fr as CarouselPrevious,
4442
- Vr as ChartContainer,
4443
- Ur as ChartLegend,
4444
- qr as ChartLegendContent,
4445
- sa as ChartStyle,
4446
- Yr as ChartTooltip,
4447
- Wr as ChartTooltipContent,
4448
- Kr as Checkbox,
4449
- Jr as Collapsible,
4450
- Zr as CollapsibleContent,
4451
- Xr as CollapsibleTrigger,
4452
- ga as Command,
4453
- an as CommandDialog,
4454
- on as CommandEmpty,
4455
- sn as CommandGroup,
4456
- rn as CommandInput,
4457
- dn as CommandItem,
4458
- nn as CommandList,
4459
- ln as CommandSeparator,
4460
- un as CommandShortcut,
4461
- cn as ContextMenu,
4462
- wn as ContextMenuCheckboxItem,
4463
- hn as ContextMenuContent,
4464
- mn as ContextMenuGroup,
4465
- kn as ContextMenuItem,
4466
- Nn as ContextMenuLabel,
4467
- gn as ContextMenuPortal,
4468
- bn as ContextMenuRadioGroup,
4469
- jn as ContextMenuRadioItem,
4470
- yn as ContextMenuSeparator,
4471
- Cn as ContextMenuShortcut,
4472
- xn as ContextMenuSub,
4473
- vn as ContextMenuSubContent,
4474
- pn as ContextMenuSubTrigger,
4475
- fn as ContextMenuTrigger,
4476
- ia as Dialog,
4477
- en as DialogClose,
4478
- ua as DialogContent,
4479
- ma as DialogDescription,
4480
- tn as DialogFooter,
4481
- ca as DialogHeader,
4482
- da as DialogOverlay,
4483
- la as DialogPortal,
4484
- fa as DialogTitle,
4485
- Qr as DialogTrigger,
4486
- _n as Drawer,
4487
- Sn as DrawerClose,
4488
- Tn as DrawerContent,
4489
- Rn as DrawerDescription,
4490
- Pn as DrawerFooter,
4491
- En as DrawerHeader,
4492
- ba as DrawerOverlay,
4493
- xa as DrawerPortal,
4494
- In as DrawerTitle,
4495
- zn as DrawerTrigger,
4496
- Mn as DropdownMenu,
4497
- $n as DropdownMenuCheckboxItem,
4498
- On as DropdownMenuContent,
4499
- Ln as DropdownMenuGroup,
4500
- Gn as DropdownMenuItem,
4501
- Hn as DropdownMenuLabel,
4502
- An as DropdownMenuPortal,
4503
- Bn as DropdownMenuRadioGroup,
4504
- Fn as DropdownMenuRadioItem,
4505
- Vn as DropdownMenuSeparator,
4506
- Yn as DropdownMenuShortcut,
4507
- Wn as DropdownMenuSub,
4508
- qn as DropdownMenuSubContent,
4509
- Un as DropdownMenuSubTrigger,
4510
- Dn as DropdownMenuTrigger,
4511
- Kn as Form,
4512
- Qn as FormControl,
4513
- eo as FormDescription,
4514
- Jn as FormField,
4515
- Xn as FormItem,
4516
- Zn as FormLabel,
4517
- to as FormMessage,
4518
- ao as HoverCard,
4519
- no as HoverCardContent,
4520
- ro as HoverCardTrigger,
4521
- va as Input,
4522
- oo as InputOTP,
4523
- so as InputOTPGroup,
4524
- lo as InputOTPSeparator,
4525
- io as InputOTPSlot,
4526
- pa as Label,
4527
- uo as Menubar,
4528
- po as MenubarCheckboxItem,
4529
- xo as MenubarContent,
4530
- fo as MenubarGroup,
4531
- bo as MenubarItem,
4532
- ho as MenubarLabel,
4533
- co as MenubarMenu,
4534
- ha as MenubarPortal,
4535
- mo as MenubarRadioGroup,
4536
- vo as MenubarRadioItem,
4537
- ko as MenubarSeparator,
4538
- wo as MenubarShortcut,
4539
- jo as MenubarSub,
4540
- yo as MenubarSubContent,
4541
- No as MenubarSubTrigger,
4542
- go as MenubarTrigger,
4543
- Co as NavigationMenu,
4544
- To as NavigationMenuContent,
4545
- Po as NavigationMenuIndicator,
4546
- zo as NavigationMenuItem,
4547
- Eo as NavigationMenuLink,
4548
- _o as NavigationMenuList,
4549
- So as NavigationMenuTrigger,
4550
- wa as NavigationMenuViewport,
4551
- Io as Pagination,
4552
- Ro as PaginationContent,
4553
- Oo as PaginationEllipsis,
4554
- Mo as PaginationItem,
4555
- gt as PaginationLink,
4556
- Do as PaginationNext,
4557
- Ao as PaginationPrevious,
4558
- Lo as Popover,
4559
- Bo as PopoverAnchor,
4560
- $o as PopoverContent,
4561
- Go as PopoverTrigger,
4562
- Fo as Progress,
4563
- Ho as RadioGroup,
4564
- Vo as RadioGroupItem,
4565
- Uo as ResizableHandle,
4566
- Wo as ResizablePanel,
4567
- Yo as ResizablePanelGroup,
4568
- qo as ScrollArea,
4569
- ja as ScrollBar,
4570
- Ko as Select,
4571
- Qo as SelectContent,
4572
- Jo as SelectGroup,
4573
- ts as SelectItem,
4574
- es as SelectLabel,
4575
- ya as SelectScrollDownButton,
4576
- Na as SelectScrollUpButton,
4577
- as as SelectSeparator,
4578
- Zo as SelectTrigger,
4579
- Xo as SelectValue,
4580
- Ca as Separator,
4581
- _a as Sheet,
4582
- ns as SheetClose,
4583
- Ta as SheetContent,
4584
- Ia as SheetDescription,
4585
- os as SheetFooter,
4586
- Ea as SheetHeader,
4587
- Pa as SheetTitle,
4588
- rs as SheetTrigger,
4589
- is as Sidebar,
4590
- xs as SidebarContent,
4591
- ms as SidebarFooter,
4592
- bs as SidebarGroup,
4593
- vs as SidebarGroupAction,
4594
- hs as SidebarGroupContent,
4595
- ps as SidebarGroupLabel,
4596
- fs as SidebarHeader,
4597
- cs as SidebarInput,
4598
- us as SidebarInset,
4599
- ks as SidebarMenu,
4600
- Ns as SidebarMenuAction,
4601
- ys as SidebarMenuBadge,
4602
- js as SidebarMenuButton,
4603
- ws as SidebarMenuItem,
4604
- Cs as SidebarMenuSkeleton,
4605
- _s as SidebarMenuSub,
4606
- Ss as SidebarMenuSubButton,
4607
- zs as SidebarMenuSubItem,
4608
- ss as SidebarProvider,
4609
- ds as SidebarRail,
4610
- gs as SidebarSeparator,
4611
- ls as SidebarTrigger,
4612
- ot as Skeleton,
4613
- Ts as Slider,
4614
- Ps as Switch,
4615
- Is as Table,
4616
- Ms as TableBody,
4617
- Gs as TableCaption,
4618
- Ls as TableCell,
4619
- As as TableFooter,
4620
- Os as TableHead,
4621
- Rs as TableHeader,
4622
- Ds as TableRow,
4623
- $s as Tabs,
4624
- Hs as TabsContent,
4625
- Bs as TabsList,
4626
- Fs as TabsTrigger,
4627
- Vs as Textarea,
4628
- Es as Toaster,
4629
- Ys as Toggle,
4630
- Ws as ToggleGroup,
4631
- Us as ToggleGroupItem,
4632
- Ma as Tooltip,
4633
- Da as TooltipContent,
4634
- xt as TooltipProvider,
4635
- Aa as TooltipTrigger,
4636
- na as badgeVariants,
4637
- J as buttonVariants,
4638
- ka as navigationMenuTriggerStyle,
4639
- pt as toggleVariants,
4640
- ge as useFormField,
4641
- xe as useSidebar
4642
- };
4643
- //# sourceMappingURL=arolariu-components.es.js.map