@asteby/metacore-starter-core 3.0.0 → 6.0.0

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.
package/dist/index.js CHANGED
@@ -4,52 +4,51 @@ import { create as n } from "zustand";
4
4
  import { Toaster as r, toast as i } from "sonner";
5
5
  import a, { AxiosError as o } from "axios";
6
6
  import * as s from "react";
7
- import { createContext as c, useContext as l, useEffect as u, useRef as d, useState as f } from "react";
8
- import * as p from "@radix-ui/react-accordion";
9
- import { Check as m, CheckIcon as h, ChevronDown as g, ChevronDownIcon as _, ChevronLeftIcon as ee, ChevronRightIcon as te, ChevronUpIcon as ne, ChevronsUpDown as re, CircleIcon as ie, Image as ae, Loader2 as oe, MinusIcon as se, PanelLeftIcon as ce, SearchIcon as le, X as ue, XIcon as de } from "lucide-react";
10
- import { jsx as v, jsxs as y } from "react/jsx-runtime";
11
- import { cva as b } from "class-variance-authority";
12
- import * as x from "@radix-ui/react-alert-dialog";
13
- import { Slot as S } from "@radix-ui/react-slot";
14
- import * as C from "@radix-ui/react-avatar";
15
- import { DayPicker as fe, getDefaultClassNames as pe } from "react-day-picker";
16
- import * as me from "@radix-ui/react-checkbox";
17
- import he from "@monaco-editor/react";
18
- import * as ge from "@radix-ui/react-collapsible";
19
- import { Command as w } from "cmdk";
20
- import * as T from "@radix-ui/react-dialog";
21
- import * as E from "@radix-ui/react-dropdown-menu";
7
+ import { createContext as c, useContext as l, useEffect as u, useRef as ee, useState as te } from "react";
8
+ import * as d from "@radix-ui/react-accordion";
9
+ import { Check as f, CheckIcon as p, ChevronDown as m, ChevronDownIcon as h, ChevronLeftIcon as ne, ChevronRightIcon as re, ChevronUpIcon as ie, ChevronsUpDown as ae, CircleIcon as oe, Image as se, Loader2 as ce, MinusIcon as le, PanelLeftIcon as ue, SearchIcon as de, X as fe, XIcon as pe } from "lucide-react";
10
+ import { jsx as g, jsxs as _ } from "react/jsx-runtime";
11
+ import { cva as v } from "class-variance-authority";
12
+ import * as y from "@radix-ui/react-alert-dialog";
13
+ import { Slot as b } from "@radix-ui/react-slot";
14
+ import * as x from "@radix-ui/react-avatar";
15
+ import { DayPicker as me, getDefaultClassNames as he } from "react-day-picker";
16
+ import * as ge from "@radix-ui/react-checkbox";
17
+ import * as S from "@radix-ui/react-collapsible";
18
+ import { Command as C } from "cmdk";
19
+ import * as w from "@radix-ui/react-dialog";
20
+ import * as T from "@radix-ui/react-dropdown-menu";
22
21
  import { Controller as _e, FormProvider as ve, useFormContext as ye, useFormState as be } from "react-hook-form";
23
22
  import * as xe from "@radix-ui/react-label";
24
23
  import { OTPInput as Se, OTPInputContext as Ce } from "input-otp";
25
- import * as D from "@radix-ui/react-popover";
24
+ import * as E from "@radix-ui/react-popover";
26
25
  import * as we from "react-phone-number-input";
27
26
  import Te from "react-phone-number-input/flags";
28
- import * as O from "@radix-ui/react-scroll-area";
29
- import * as k from "@radix-ui/react-progress";
30
- import * as Ee from "@radix-ui/react-radio-group";
27
+ import * as D from "@radix-ui/react-scroll-area";
28
+ import * as O from "@radix-ui/react-progress";
29
+ import * as k from "@radix-ui/react-radio-group";
31
30
  import * as A from "@radix-ui/react-select";
32
- import * as De from "@radix-ui/react-separator";
31
+ import * as Ee from "@radix-ui/react-separator";
33
32
  import * as j from "@radix-ui/react-tooltip";
34
- import * as Oe from "@radix-ui/react-switch";
33
+ import * as De from "@radix-ui/react-switch";
35
34
  import * as M from "@radix-ui/react-tabs";
36
35
  //#region src/lib/utils.ts
37
36
  function N(...n) {
38
37
  return t(e(n));
39
38
  }
40
- function ke(e, t) {
39
+ function Oe(e, t) {
41
40
  if (!e) return "";
42
41
  if (e.startsWith("http://") || e.startsWith("https://")) return e;
43
42
  let n = "http://localhost:8080/api".replace(/\/api$/, "");
44
43
  return e.startsWith("/storage/") ? `${n}${e}` : `${n}/storage/${t}/${e}`;
45
44
  }
46
- function Ae(e) {
45
+ function ke(e) {
47
46
  return e ? e.startsWith("http://") || e.startsWith("https://") ? e : `${"http://localhost:8080".replace(/\/api\/?$/, "").replace(/\/+$/, "")}${e.startsWith("/") ? e : `/${e}`}` : "";
48
47
  }
49
- function je(e = 1e3) {
48
+ function Ae(e = 1e3) {
50
49
  return new Promise((t) => setTimeout(t, e));
51
50
  }
52
- function Me(e, t) {
51
+ function je(e, t) {
53
52
  let n = [];
54
53
  if (t <= 5) for (let e = 1; e <= t; e++) n.push(e);
55
54
  else if (n.push(1), e <= 3) {
@@ -103,7 +102,7 @@ var P = "auth_token", F = "auth_user", I = n()((e) => {
103
102
  }
104
103
  }))
105
104
  } };
106
- }), Ne = {
105
+ }), Me = {
107
106
  PEN: "S/",
108
107
  VES: "Bs.",
109
108
  BOB: "Bs.",
@@ -123,7 +122,7 @@ var P = "auth_token", F = "auth_user", I = n()((e) => {
123
122
  EUR: "€",
124
123
  USD: "$"
125
124
  };
126
- function Pe(e, t = "USD", n = "es") {
125
+ function Ne(e, t = "USD", n = "es") {
127
126
  try {
128
127
  return new Intl.NumberFormat(n, {
129
128
  style: "currency",
@@ -133,8 +132,8 @@ function Pe(e, t = "USD", n = "es") {
133
132
  return `${t} ${e}`;
134
133
  }
135
134
  }
136
- function Fe(e) {
137
- return Ne[e] || (typeof Intl < "u" ? new Intl.NumberFormat("en-US", {
135
+ function Pe(e) {
136
+ return Me[e] || (typeof Intl < "u" ? new Intl.NumberFormat("en-US", {
138
137
  style: "currency",
139
138
  currency: e,
140
139
  currencyDisplay: "narrowSymbol"
@@ -142,16 +141,16 @@ function Fe(e) {
142
141
  }
143
142
  //#endregion
144
143
  //#region src/lib/format.ts
145
- function Ie() {
144
+ function Fe() {
146
145
  let e = I((e) => e.auth.user?.currency_code) || "USD";
147
- return (t) => Pe(t, e);
146
+ return (t) => Ne(t, e);
148
147
  }
149
- function Le(e) {
150
- return Pe(e, I.getState().auth.user?.currency_code || "USD");
148
+ function Ie(e) {
149
+ return Ne(e, I.getState().auth.user?.currency_code || "USD");
151
150
  }
152
151
  //#endregion
153
152
  //#region src/lib/date-utils.ts
154
- function Re() {
153
+ function Le() {
155
154
  let e = typeof Intl < "u" && Intl.supportedValuesOf ? Intl.supportedValuesOf("timeZone") : [
156
155
  "UTC",
157
156
  "America/Mexico_City",
@@ -199,21 +198,21 @@ function Re() {
199
198
  }
200
199
  //#endregion
201
200
  //#region src/lib/countries.ts
202
- var ze = /* @__PURE__ */ "AR.AT.AU.AE.AL.AO.AZ.BA.BB.BD.BE.BG.BH.BO.BR.BS.BY.BZ.CA.CD.CH.CI.CL.CM.CN.CO.CR.CU.CY.CZ.DE.DK.DO.DZ.EC.EE.EG.ES.ET.SV.FI.FJ.FR.GB.GE.GH.GR.GT.GY.HK.HN.HR.HT.HU.ID.IE.IL.IN.IQ.IR.IS.IT.JM.JO.JP.KE.KH.KR.KW.KZ.LA.LB.LK.LT.LU.LV.LY.MA.MD.ME.MK.MM.MN.MT.MU.MX.MY.MZ.NG.NI.NL.NO.NP.NZ.OM.PA.PE.PG.PH.PK.PL.PR.PT.PY.QA.RO.RS.RU.RW.SA.SE.SG.SI.SK.SN.SR.TH.TN.TR.TT.TW.TZ.UA.UG.US.UY.UZ.VE.VN.ZA".split(".");
203
- function Be(e) {
201
+ var Re = /* @__PURE__ */ "AR.AT.AU.AE.AL.AO.AZ.BA.BB.BD.BE.BG.BH.BO.BR.BS.BY.BZ.CA.CD.CH.CI.CL.CM.CN.CO.CR.CU.CY.CZ.DE.DK.DO.DZ.EC.EE.EG.ES.ET.SV.FI.FJ.FR.GB.GE.GH.GR.GT.GY.HK.HN.HR.HT.HU.ID.IE.IL.IN.IQ.IR.IS.IT.JM.JO.JP.KE.KH.KR.KW.KZ.LA.LB.LK.LT.LU.LV.LY.MA.MD.ME.MK.MM.MN.MT.MU.MX.MY.MZ.NG.NI.NL.NO.NP.NZ.OM.PA.PE.PG.PH.PK.PL.PR.PT.PY.QA.RO.RS.RU.RW.SA.SE.SG.SI.SK.SN.SR.TH.TN.TR.TT.TW.TZ.UA.UG.US.UY.UZ.VE.VN.ZA".split(".");
202
+ function ze(e) {
204
203
  return String.fromCodePoint(...e.toUpperCase().split("").map((e) => 127462 + e.charCodeAt(0) - 65));
205
204
  }
206
- function Ve(e) {
205
+ function Be(e) {
207
206
  let t = e || navigator.language || "es", n = new Intl.DisplayNames([t], { type: "region" });
208
- return ze.map((e) => ({
207
+ return Re.map((e) => ({
209
208
  code: e,
210
209
  name: n.of(e) || e,
211
- flag: Be(e)
210
+ flag: ze(e)
212
211
  })).sort((e, n) => e.name.localeCompare(n.name, t));
213
212
  }
214
213
  //#endregion
215
214
  //#region src/lib/option-colors.ts
216
- var He = {
215
+ var Ve = {
217
216
  red: "ef4444",
218
217
  orange: "f97316",
219
218
  amber: "f59e0b",
@@ -236,11 +235,11 @@ var He = {
236
235
  zinc: "71717a",
237
236
  neutral: "737373",
238
237
  stone: "78716c"
239
- }, Ue = (e) => e ? He[e.toLowerCase()] || e.replace("#", "") : "", We = (e) => {
240
- let t = Ue(e);
238
+ }, He = (e) => e ? Ve[e.toLowerCase()] || e.replace("#", "") : "", Ue = (e) => {
239
+ let t = He(e);
241
240
  return t ? `#${t}` : "";
242
- }, Ge = (e, { isDark: t }) => {
243
- let n = Ue(e);
241
+ }, We = (e, { isDark: t }) => {
242
+ let n = He(e);
244
243
  if (n.length < 6) return {};
245
244
  let r = parseInt(n.substring(0, 2), 16), i = parseInt(n.substring(2, 4), 16), a = parseInt(n.substring(4, 6), 16);
246
245
  return t ? {
@@ -254,21 +253,21 @@ var He = {
254
253
  border: `1px solid rgba(${r}, ${i}, ${a}, 0.25)`,
255
254
  fontWeight: 500
256
255
  };
257
- }, Ke = 3600 * 24 * 7;
258
- function qe(e) {
256
+ }, Ge = 3600 * 24 * 7;
257
+ function Ke(e) {
259
258
  if (typeof document > "u") return;
260
259
  let t = `; ${document.cookie}`.split(`; ${e}=`);
261
260
  if (t.length === 2) return t.pop()?.split(";").shift();
262
261
  }
263
- function Je(e, t, n = Ke) {
262
+ function qe(e, t, n = Ge) {
264
263
  typeof document > "u" || (document.cookie = `${e}=${t}; path=/; max-age=${n}`);
265
264
  }
266
- function Ye(e) {
265
+ function Je(e) {
267
266
  typeof document > "u" || (document.cookie = `${e}=; path=/; max-age=0`);
268
267
  }
269
268
  //#endregion
270
269
  //#region src/lib/sound.ts
271
- function Xe() {
270
+ function Ye() {
272
271
  try {
273
272
  let e = window.AudioContext || window.webkitAudioContext;
274
273
  if (!e) return;
@@ -278,7 +277,7 @@ function Xe() {
278
277
  console.error("Error playing notification sound:", e);
279
278
  }
280
279
  }
281
- var Ze = new class {
280
+ var Xe = new class {
282
281
  permission = "default";
283
282
  constructor() {
284
283
  "Notification" in window && (this.permission = Notification.permission);
@@ -339,13 +338,13 @@ var Ze = new class {
339
338
  getPermission() {
340
339
  return this.permission;
341
340
  }
342
- }(), Qe = { language: "es" }, L = a.create({
341
+ }(), Ze = { language: "es" }, L = a.create({
343
342
  baseURL: "/api",
344
343
  headers: { "Content-Type": "application/json" }
345
344
  });
346
345
  L.interceptors.request.use((e) => {
347
346
  let t = localStorage.getItem("auth_token");
348
- t && (e.headers.Authorization = `Bearer ${t}`), e.headers["Accept-Language"] = Qe.language || "es";
347
+ t && (e.headers.Authorization = `Bearer ${t}`), e.headers["Accept-Language"] = Ze.language || "es";
349
348
  try {
350
349
  let t = JSON.parse(localStorage.getItem("current_branch") || "{}");
351
350
  t?.id && (e.headers["X-Branch-ID"] = t.id);
@@ -359,7 +358,7 @@ L.interceptors.request.use((e) => {
359
358
  }
360
359
  return Promise.reject(e);
361
360
  });
362
- var $e = new class {
361
+ var Qe = new class {
363
362
  vapidPublicKey = null;
364
363
  subscription = null;
365
364
  isSupported = !1;
@@ -432,65 +431,65 @@ var $e = new class {
432
431
  }();
433
432
  //#endregion
434
433
  //#region src/lib/handle-server-error.ts
435
- function et(e) {
434
+ function $e(e) {
436
435
  console.log(e);
437
436
  let t = "Something went wrong!";
438
437
  e && typeof e == "object" && "status" in e && Number(e.status) === 204 && (t = "Content not found."), e instanceof o && (t = e.response?.data?.message || e.response?.data?.title || e.message), i.error(t);
439
438
  }
440
439
  //#endregion
441
440
  //#region src/components/ui/accordion.tsx
442
- var tt = p.Root, nt = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(p.Item, {
441
+ var et = d.Root, tt = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(d.Item, {
443
442
  ref: n,
444
443
  className: N("border-b", e),
445
444
  ...t
446
445
  }));
447
- nt.displayName = "AccordionItem";
448
- var rt = s.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(p.Header, {
446
+ tt.displayName = "AccordionItem";
447
+ var nt = s.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(d.Header, {
449
448
  className: "flex",
450
- children: /* @__PURE__ */ y(p.Trigger, {
449
+ children: /* @__PURE__ */ _(d.Trigger, {
451
450
  ref: r,
452
451
  className: N("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", e),
453
452
  ...n,
454
- children: [t, /* @__PURE__ */ v(g, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })]
453
+ children: [t, /* @__PURE__ */ g(m, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })]
455
454
  })
456
455
  }));
457
- rt.displayName = p.Trigger.displayName;
458
- var it = s.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(p.Content, {
456
+ nt.displayName = d.Trigger.displayName;
457
+ var rt = s.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(d.Content, {
459
458
  ref: r,
460
459
  className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
461
460
  ...n,
462
- children: /* @__PURE__ */ v("div", {
461
+ children: /* @__PURE__ */ g("div", {
463
462
  className: N("pb-4 pt-0", e),
464
463
  children: t
465
464
  })
466
465
  }));
467
- it.displayName = p.Content.displayName;
466
+ rt.displayName = d.Content.displayName;
468
467
  //#endregion
469
468
  //#region src/components/ui/alert.tsx
470
- var at = b("relative w-full rounded-lg border 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", {
469
+ var it = v("relative w-full rounded-lg border 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", {
471
470
  variants: { variant: {
472
471
  default: "bg-card text-card-foreground",
473
472
  destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
474
473
  } },
475
474
  defaultVariants: { variant: "default" }
476
475
  });
477
- function ot({ className: e, variant: t, ...n }) {
478
- return /* @__PURE__ */ v("div", {
476
+ function at({ className: e, variant: t, ...n }) {
477
+ return /* @__PURE__ */ g("div", {
479
478
  "data-slot": "alert",
480
479
  role: "alert",
481
- className: N(at({ variant: t }), e),
480
+ className: N(it({ variant: t }), e),
482
481
  ...n
483
482
  });
484
483
  }
485
- function st({ className: e, ...t }) {
486
- return /* @__PURE__ */ v("div", {
484
+ function ot({ className: e, ...t }) {
485
+ return /* @__PURE__ */ g("div", {
487
486
  "data-slot": "alert-title",
488
487
  className: N("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", e),
489
488
  ...t
490
489
  });
491
490
  }
492
- function ct({ className: e, ...t }) {
493
- return /* @__PURE__ */ v("div", {
491
+ function st({ className: e, ...t }) {
492
+ return /* @__PURE__ */ g("div", {
494
493
  "data-slot": "alert-description",
495
494
  className: N("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", e),
496
495
  ...t
@@ -498,7 +497,7 @@ function ct({ className: e, ...t }) {
498
497
  }
499
498
  //#endregion
500
499
  //#region src/components/ui/button.tsx
501
- var R = b("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all 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-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
500
+ var R = v("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all 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-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
502
501
  variants: {
503
502
  variant: {
504
503
  default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
@@ -521,7 +520,7 @@ var R = b("inline-flex items-center justify-center gap-2 whitespace-nowrap round
521
520
  }
522
521
  });
523
522
  function z({ className: e, variant: t, size: n, asChild: r = !1, ...i }) {
524
- return /* @__PURE__ */ v(r ? S : "button", {
523
+ return /* @__PURE__ */ g(r ? b : "button", {
525
524
  "data-slot": "button",
526
525
  className: N(R({
527
526
  variant: t,
@@ -533,96 +532,96 @@ function z({ className: e, variant: t, size: n, asChild: r = !1, ...i }) {
533
532
  }
534
533
  //#endregion
535
534
  //#region src/components/ui/alert-dialog.tsx
536
- function lt({ ...e }) {
537
- return /* @__PURE__ */ v(x.Root, {
535
+ function ct({ ...e }) {
536
+ return /* @__PURE__ */ g(y.Root, {
538
537
  "data-slot": "alert-dialog",
539
538
  ...e
540
539
  });
541
540
  }
542
- function ut({ ...e }) {
543
- return /* @__PURE__ */ v(x.Trigger, {
541
+ function lt({ ...e }) {
542
+ return /* @__PURE__ */ g(y.Trigger, {
544
543
  "data-slot": "alert-dialog-trigger",
545
544
  ...e
546
545
  });
547
546
  }
548
- function dt({ ...e }) {
549
- return /* @__PURE__ */ v(x.Portal, {
547
+ function ut({ ...e }) {
548
+ return /* @__PURE__ */ g(y.Portal, {
550
549
  "data-slot": "alert-dialog-portal",
551
550
  ...e
552
551
  });
553
552
  }
554
- function ft({ className: e, ...t }) {
555
- return /* @__PURE__ */ v(x.Overlay, {
553
+ function dt({ className: e, ...t }) {
554
+ return /* @__PURE__ */ g(y.Overlay, {
556
555
  "data-slot": "alert-dialog-overlay",
557
556
  className: N("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/50", e),
558
557
  ...t
559
558
  });
560
559
  }
561
- function pt({ className: e, ...t }) {
562
- return /* @__PURE__ */ y(dt, { children: [/* @__PURE__ */ v(ft, {}), /* @__PURE__ */ v(x.Content, {
560
+ function ft({ className: e, ...t }) {
561
+ return /* @__PURE__ */ _(ut, { children: [/* @__PURE__ */ g(dt, {}), /* @__PURE__ */ g(y.Content, {
563
562
  "data-slot": "alert-dialog-content",
564
563
  className: N("bg-background 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 p-6 shadow-lg duration-200 sm:max-w-lg", e),
565
564
  ...t
566
565
  })] });
567
566
  }
568
- function mt({ className: e, ...t }) {
569
- return /* @__PURE__ */ v("div", {
567
+ function pt({ className: e, ...t }) {
568
+ return /* @__PURE__ */ g("div", {
570
569
  "data-slot": "alert-dialog-header",
571
570
  className: N("flex flex-col gap-2 text-center sm:text-start", e),
572
571
  ...t
573
572
  });
574
573
  }
575
- function ht({ className: e, ...t }) {
576
- return /* @__PURE__ */ v("div", {
574
+ function mt({ className: e, ...t }) {
575
+ return /* @__PURE__ */ g("div", {
577
576
  "data-slot": "alert-dialog-footer",
578
577
  className: N("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
579
578
  ...t
580
579
  });
581
580
  }
582
- function gt({ className: e, ...t }) {
583
- return /* @__PURE__ */ v(x.Title, {
581
+ function ht({ className: e, ...t }) {
582
+ return /* @__PURE__ */ g(y.Title, {
584
583
  "data-slot": "alert-dialog-title",
585
584
  className: N("text-lg font-semibold", e),
586
585
  ...t
587
586
  });
588
587
  }
589
- function _t({ className: e, ...t }) {
590
- return /* @__PURE__ */ v(x.Description, {
588
+ function gt({ className: e, ...t }) {
589
+ return /* @__PURE__ */ g(y.Description, {
591
590
  "data-slot": "alert-dialog-description",
592
591
  className: N("text-muted-foreground text-sm", e),
593
592
  ...t
594
593
  });
595
594
  }
596
- function vt({ className: e, ...t }) {
597
- return /* @__PURE__ */ v(x.Action, {
595
+ function _t({ className: e, ...t }) {
596
+ return /* @__PURE__ */ g(y.Action, {
598
597
  className: N(R(), e),
599
598
  ...t
600
599
  });
601
600
  }
602
- function yt({ className: e, ...t }) {
603
- return /* @__PURE__ */ v(x.Cancel, {
601
+ function vt({ className: e, ...t }) {
602
+ return /* @__PURE__ */ g(y.Cancel, {
604
603
  className: N(R({ variant: "outline" }), e),
605
604
  ...t
606
605
  });
607
606
  }
608
607
  //#endregion
609
608
  //#region src/components/ui/avatar.tsx
610
- function bt({ className: e, ...t }) {
611
- return /* @__PURE__ */ v(C.Root, {
609
+ function yt({ className: e, ...t }) {
610
+ return /* @__PURE__ */ g(x.Root, {
612
611
  "data-slot": "avatar",
613
612
  className: N("relative flex size-8 shrink-0 overflow-hidden rounded-full", e),
614
613
  ...t
615
614
  });
616
615
  }
617
- function xt({ className: e, ...t }) {
618
- return /* @__PURE__ */ v(C.Image, {
616
+ function bt({ className: e, ...t }) {
617
+ return /* @__PURE__ */ g(x.Image, {
619
618
  "data-slot": "avatar-image",
620
619
  className: N("aspect-square size-full object-cover", e),
621
620
  ...t
622
621
  });
623
622
  }
624
- function St({ className: e, ...t }) {
625
- return /* @__PURE__ */ v(C.Fallback, {
623
+ function xt({ className: e, ...t }) {
624
+ return /* @__PURE__ */ g(x.Fallback, {
626
625
  "data-slot": "avatar-fallback",
627
626
  className: N("bg-muted flex size-full items-center justify-center rounded-full", e),
628
627
  ...t
@@ -630,7 +629,7 @@ function St({ className: e, ...t }) {
630
629
  }
631
630
  //#endregion
632
631
  //#region src/components/ui/badge.tsx
633
- var Ct = b("inline-flex items-center justify-center rounded-md border 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-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", {
632
+ var St = v("inline-flex items-center justify-center rounded-md border 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-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", {
634
633
  variants: { variant: {
635
634
  default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
636
635
  secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
@@ -639,18 +638,18 @@ var Ct = b("inline-flex items-center justify-center rounded-md border px-2 py-0.
639
638
  } },
640
639
  defaultVariants: { variant: "default" }
641
640
  });
642
- function wt({ className: e, variant: t, asChild: n = !1, ...r }) {
643
- return /* @__PURE__ */ v(n ? S : "span", {
641
+ function Ct({ className: e, variant: t, asChild: n = !1, ...r }) {
642
+ return /* @__PURE__ */ g(n ? b : "span", {
644
643
  "data-slot": "badge",
645
- className: N(Ct({ variant: t }), e),
644
+ className: N(St({ variant: t }), e),
646
645
  ...r
647
646
  });
648
647
  }
649
648
  //#endregion
650
649
  //#region src/components/ui/calendar.tsx
651
- function Tt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayout: r = "label", buttonVariant: i = "ghost", formatters: a, components: o, ...s }) {
652
- let c = pe();
653
- return /* @__PURE__ */ v(fe, {
650
+ function wt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayout: r = "label", buttonVariant: i = "ghost", formatters: a, components: o, ...s }) {
651
+ let c = he();
652
+ return /* @__PURE__ */ g(me, {
654
653
  showOutsideDays: n,
655
654
  className: N("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, e),
656
655
  captionLayout: r,
@@ -687,20 +686,20 @@ function Tt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayou
687
686
  ...t
688
687
  },
689
688
  components: {
690
- Root: ({ className: e, rootRef: t, ...n }) => /* @__PURE__ */ v("div", {
689
+ Root: ({ className: e, rootRef: t, ...n }) => /* @__PURE__ */ g("div", {
691
690
  "data-slot": "calendar",
692
691
  ref: t,
693
692
  className: N(e),
694
693
  ...n
695
694
  }),
696
- Chevron: ({ className: e, orientation: t, ...n }) => v(t === "left" ? ee : t === "right" ? te : _, {
695
+ Chevron: ({ className: e, orientation: t, ...n }) => g(t === "left" ? ne : t === "right" ? re : h, {
697
696
  className: N("size-4", e),
698
697
  ...n
699
698
  }),
700
- DayButton: Et,
701
- WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ v("td", {
699
+ DayButton: Tt,
700
+ WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ g("td", {
702
701
  ...t,
703
- children: /* @__PURE__ */ v("div", {
702
+ children: /* @__PURE__ */ g("div", {
704
703
  className: "flex size-(--cell-size) items-center justify-center text-center",
705
704
  children: e
706
705
  })
@@ -710,11 +709,11 @@ function Tt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayou
710
709
  ...s
711
710
  });
712
711
  }
713
- function Et({ className: e, day: t, modifiers: n, ...r }) {
714
- let i = pe(), a = s.useRef(null);
712
+ function Tt({ className: e, day: t, modifiers: n, ...r }) {
713
+ let i = he(), a = s.useRef(null);
715
714
  return s.useEffect(() => {
716
715
  n.focused && a.current?.focus();
717
- }, [n.focused]), /* @__PURE__ */ v(z, {
716
+ }, [n.focused]), /* @__PURE__ */ g(z, {
718
717
  ref: a,
719
718
  variant: "ghost",
720
719
  size: "icon",
@@ -729,50 +728,50 @@ function Et({ className: e, day: t, modifiers: n, ...r }) {
729
728
  }
730
729
  //#endregion
731
730
  //#region src/components/ui/card.tsx
732
- function Dt({ className: e, ...t }) {
733
- return /* @__PURE__ */ v("div", {
731
+ function Et({ className: e, ...t }) {
732
+ return /* @__PURE__ */ g("div", {
734
733
  "data-slot": "card",
735
734
  className: N("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm", e),
736
735
  ...t
737
736
  });
738
737
  }
739
- function Ot({ className: e, ...t }) {
740
- return /* @__PURE__ */ v("div", {
738
+ function Dt({ className: e, ...t }) {
739
+ return /* @__PURE__ */ g("div", {
741
740
  "data-slot": "card-header",
742
741
  className: N("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", e),
743
742
  ...t
744
743
  });
745
744
  }
746
- function kt({ className: e, ...t }) {
747
- return /* @__PURE__ */ v("div", {
745
+ function Ot({ className: e, ...t }) {
746
+ return /* @__PURE__ */ g("div", {
748
747
  "data-slot": "card-title",
749
748
  className: N("leading-none font-semibold", e),
750
749
  ...t
751
750
  });
752
751
  }
753
- function At({ className: e, ...t }) {
754
- return /* @__PURE__ */ v("div", {
752
+ function kt({ className: e, ...t }) {
753
+ return /* @__PURE__ */ g("div", {
755
754
  "data-slot": "card-description",
756
755
  className: N("text-muted-foreground text-sm", e),
757
756
  ...t
758
757
  });
759
758
  }
760
- function jt({ className: e, ...t }) {
761
- return /* @__PURE__ */ v("div", {
759
+ function At({ className: e, ...t }) {
760
+ return /* @__PURE__ */ g("div", {
762
761
  "data-slot": "card-action",
763
762
  className: N("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
764
763
  ...t
765
764
  });
766
765
  }
767
- function Mt({ className: e, ...t }) {
768
- return /* @__PURE__ */ v("div", {
766
+ function jt({ className: e, ...t }) {
767
+ return /* @__PURE__ */ g("div", {
769
768
  "data-slot": "card-content",
770
769
  className: N("px-6", e),
771
770
  ...t
772
771
  });
773
772
  }
774
- function Nt({ className: e, ...t }) {
775
- return /* @__PURE__ */ v("div", {
773
+ function Mt({ className: e, ...t }) {
774
+ return /* @__PURE__ */ g("div", {
776
775
  "data-slot": "card-footer",
777
776
  className: N("flex items-center px-6 [.border-t]:pt-6", e),
778
777
  ...t
@@ -780,188 +779,82 @@ function Nt({ className: e, ...t }) {
780
779
  }
781
780
  //#endregion
782
781
  //#region src/components/ui/checkbox.tsx
783
- function Pt({ className: e, ...t }) {
784
- return /* @__PURE__ */ v(me.Root, {
782
+ function Nt({ className: e, ...t }) {
783
+ return /* @__PURE__ */ g(ge.Root, {
785
784
  "data-slot": "checkbox",
786
785
  className: N("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", e),
787
786
  ...t,
788
- children: /* @__PURE__ */ v(me.Indicator, {
787
+ children: /* @__PURE__ */ g(ge.Indicator, {
789
788
  "data-slot": "checkbox-indicator",
790
789
  className: "flex items-center justify-center text-current transition-none",
791
- children: /* @__PURE__ */ v(h, { className: "size-3.5" })
792
- })
793
- });
794
- }
795
- //#endregion
796
- //#region src/context/theme-provider.tsx
797
- var Ft = "system", It = c({
798
- defaultTheme: Ft,
799
- resolvedTheme: "light",
800
- theme: Ft,
801
- setTheme: () => null,
802
- resetTheme: () => null
803
- }), Lt = () => {
804
- let e = l(It);
805
- if (!e) throw Error("useTheme must be used within a ThemeProvider");
806
- return e;
807
- };
808
- //#endregion
809
- //#region src/components/ui/code-editor.tsx
810
- function Rt({ value: e, onChange: t, language: n = "json", height: r = "200px", readOnly: i = !1, minimap: a = !1, onDrop: o, disableValidation: s = !1 }) {
811
- let { theme: c } = Lt(), l = d(null), [u, p] = f(!1);
812
- return /* @__PURE__ */ v("div", {
813
- className: N("border rounded-md overflow-hidden bg-background transition-all duration-200", u && "ring-2 ring-violet-500 ring-offset-2 border-violet-500"),
814
- children: /* @__PURE__ */ v(he, {
815
- height: r,
816
- language: n,
817
- value: e,
818
- onChange: t,
819
- beforeMount: (e) => {
820
- s && n === "json" && e.languages.json.jsonDefaults.setDiagnosticsOptions({
821
- validate: !1,
822
- schemaValidation: "ignore"
823
- });
824
- },
825
- onMount: (e, n) => {
826
- l.current = e, e.updateOptions({
827
- scrollBeyondLastLine: !1,
828
- fontSize: 12,
829
- fontFamily: "'Geist Mono', monospace",
830
- padding: {
831
- top: 8,
832
- bottom: 8
833
- }
834
- }), s && n.editor.setModelMarkers(e.getModel(), "json", []);
835
- let r = e.getDomNode();
836
- r && (r.addEventListener("dragover", (e) => {
837
- e.preventDefault(), e.stopPropagation(), p(!0);
838
- }), r.addEventListener("dragleave", (e) => {
839
- e.preventDefault(), p(!1);
840
- }), r.addEventListener("drop", (n) => {
841
- n.preventDefault(), n.stopPropagation(), p(!1);
842
- let r = n.dataTransfer?.getData("variable") || n.dataTransfer?.getData("text/plain");
843
- if (!r) return;
844
- let i = e.getTargetAtClientPoint(n.clientX, n.clientY);
845
- if (i?.position) {
846
- let t = i.position;
847
- e.executeEdits("drop", [{
848
- range: {
849
- startLineNumber: t.lineNumber,
850
- startColumn: t.column,
851
- endLineNumber: t.lineNumber,
852
- endColumn: t.column
853
- },
854
- text: r
855
- }]), e.setPosition({
856
- lineNumber: t.lineNumber,
857
- column: t.column + r.length
858
- }), e.focus();
859
- } else {
860
- let t = e.getPosition();
861
- t && e.executeEdits("drop", [{
862
- range: {
863
- startLineNumber: t.lineNumber,
864
- startColumn: t.column,
865
- endLineNumber: t.lineNumber,
866
- endColumn: t.column
867
- },
868
- text: r
869
- }]);
870
- }
871
- let a = e.getValue();
872
- t?.(a), o?.(r);
873
- }));
874
- },
875
- theme: c === "dark" ? "vs-dark" : "light",
876
- options: {
877
- readOnly: i,
878
- minimap: { enabled: a },
879
- scrollBeyondLastLine: !1,
880
- fontSize: 12,
881
- fontFamily: "'Geist Mono', monospace",
882
- padding: {
883
- top: 8,
884
- bottom: 8
885
- },
886
- lineNumbers: "on",
887
- renderLineHighlight: "all",
888
- automaticLayout: !0,
889
- dropIntoEditor: { enabled: !0 }
890
- },
891
- loading: /* @__PURE__ */ y("div", {
892
- className: "flex items-center justify-center h-full text-muted-foreground gap-2",
893
- children: [/* @__PURE__ */ v(oe, { className: "h-4 w-4 animate-spin" }), /* @__PURE__ */ v("span", {
894
- className: "text-xs",
895
- children: "Cargando editor..."
896
- })]
897
- })
790
+ children: /* @__PURE__ */ g(p, { className: "size-3.5" })
898
791
  })
899
792
  });
900
793
  }
901
794
  //#endregion
902
795
  //#region src/components/ui/collapsible.tsx
903
- function zt({ ...e }) {
904
- return /* @__PURE__ */ v(ge.Root, {
796
+ function Pt({ ...e }) {
797
+ return /* @__PURE__ */ g(S.Root, {
905
798
  "data-slot": "collapsible",
906
799
  ...e
907
800
  });
908
801
  }
909
- function Bt({ ...e }) {
910
- return /* @__PURE__ */ v(ge.CollapsibleTrigger, {
802
+ function Ft({ ...e }) {
803
+ return /* @__PURE__ */ g(S.CollapsibleTrigger, {
911
804
  "data-slot": "collapsible-trigger",
912
805
  ...e
913
806
  });
914
807
  }
915
- function Vt({ ...e }) {
916
- return /* @__PURE__ */ v(ge.CollapsibleContent, {
808
+ function It({ ...e }) {
809
+ return /* @__PURE__ */ g(S.CollapsibleContent, {
917
810
  "data-slot": "collapsible-content",
918
811
  ...e
919
812
  });
920
813
  }
921
814
  //#endregion
922
815
  //#region src/components/ui/dialog.tsx
923
- function Ht({ ...e }) {
924
- return /* @__PURE__ */ v(T.Root, {
816
+ function Lt({ ...e }) {
817
+ return /* @__PURE__ */ g(w.Root, {
925
818
  "data-slot": "dialog",
926
819
  ...e
927
820
  });
928
821
  }
929
- function Ut({ ...e }) {
930
- return /* @__PURE__ */ v(T.Trigger, {
822
+ function Rt({ ...e }) {
823
+ return /* @__PURE__ */ g(w.Trigger, {
931
824
  "data-slot": "dialog-trigger",
932
825
  ...e
933
826
  });
934
827
  }
935
- function Wt({ ...e }) {
936
- return /* @__PURE__ */ v(T.Portal, {
828
+ function zt({ ...e }) {
829
+ return /* @__PURE__ */ g(w.Portal, {
937
830
  "data-slot": "dialog-portal",
938
831
  ...e
939
832
  });
940
833
  }
941
- function Gt({ ...e }) {
942
- return /* @__PURE__ */ v(T.Close, {
834
+ function Bt({ ...e }) {
835
+ return /* @__PURE__ */ g(w.Close, {
943
836
  "data-slot": "dialog-close",
944
837
  ...e
945
838
  });
946
839
  }
947
- function Kt({ className: e, ...t }) {
948
- return /* @__PURE__ */ v(T.Overlay, {
840
+ function Vt({ className: e, ...t }) {
841
+ return /* @__PURE__ */ g(w.Overlay, {
949
842
  "data-slot": "dialog-overlay",
950
843
  className: N("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/50", e),
951
844
  ...t
952
845
  });
953
846
  }
954
- function qt({ className: e, children: t, showCloseButton: n = !0, ...r }) {
955
- return /* @__PURE__ */ y(Wt, {
847
+ function Ht({ className: e, children: t, showCloseButton: n = !0, ...r }) {
848
+ return /* @__PURE__ */ _(zt, {
956
849
  "data-slot": "dialog-portal",
957
- children: [/* @__PURE__ */ v(Kt, {}), /* @__PURE__ */ y(T.Content, {
850
+ children: [/* @__PURE__ */ g(Vt, {}), /* @__PURE__ */ _(w.Content, {
958
851
  "data-slot": "dialog-content",
959
852
  className: N("bg-background 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 p-6 shadow-lg duration-200 sm:max-w-lg", e),
960
853
  ...r,
961
- children: [t, n && /* @__PURE__ */ y(T.Close, {
854
+ children: [t, n && /* @__PURE__ */ _(w.Close, {
962
855
  "data-slot": "dialog-close",
963
856
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute end-4 top-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",
964
- children: [/* @__PURE__ */ v(de, {}), /* @__PURE__ */ v("span", {
857
+ children: [/* @__PURE__ */ g(pe, {}), /* @__PURE__ */ g("span", {
965
858
  className: "sr-only",
966
859
  children: "Close"
967
860
  })]
@@ -969,29 +862,29 @@ function qt({ className: e, children: t, showCloseButton: n = !0, ...r }) {
969
862
  })]
970
863
  });
971
864
  }
972
- function Jt({ className: e, ...t }) {
973
- return /* @__PURE__ */ v("div", {
865
+ function Ut({ className: e, ...t }) {
866
+ return /* @__PURE__ */ g("div", {
974
867
  "data-slot": "dialog-header",
975
868
  className: N("flex flex-col gap-2 text-center sm:text-start", e),
976
869
  ...t
977
870
  });
978
871
  }
979
- function Yt({ className: e, ...t }) {
980
- return /* @__PURE__ */ v("div", {
872
+ function Wt({ className: e, ...t }) {
873
+ return /* @__PURE__ */ g("div", {
981
874
  "data-slot": "dialog-footer",
982
875
  className: N("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
983
876
  ...t
984
877
  });
985
878
  }
986
- function Xt({ className: e, ...t }) {
987
- return /* @__PURE__ */ v(T.Title, {
879
+ function Gt({ className: e, ...t }) {
880
+ return /* @__PURE__ */ g(w.Title, {
988
881
  "data-slot": "dialog-title",
989
882
  className: N("text-lg leading-none font-semibold", e),
990
883
  ...t
991
884
  });
992
885
  }
993
- function Zt({ className: e, ...t }) {
994
- return /* @__PURE__ */ v(T.Description, {
886
+ function Kt({ className: e, ...t }) {
887
+ return /* @__PURE__ */ g(w.Description, {
995
888
  "data-slot": "dialog-description",
996
889
  className: N("text-muted-foreground text-sm", e),
997
890
  ...t
@@ -1000,22 +893,22 @@ function Zt({ className: e, ...t }) {
1000
893
  //#endregion
1001
894
  //#region src/components/ui/command.tsx
1002
895
  function B({ className: e, ...t }) {
1003
- return /* @__PURE__ */ v(w, {
896
+ return /* @__PURE__ */ g(C, {
1004
897
  "data-slot": "command",
1005
898
  className: N("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", e),
1006
899
  ...t
1007
900
  });
1008
901
  }
1009
- function Qt({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !0, ...a }) {
1010
- return /* @__PURE__ */ y(Ht, {
902
+ function qt({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !0, ...a }) {
903
+ return /* @__PURE__ */ _(Lt, {
1011
904
  ...a,
1012
- children: [/* @__PURE__ */ y(Jt, {
905
+ children: [/* @__PURE__ */ _(Ut, {
1013
906
  className: "sr-only",
1014
- children: [/* @__PURE__ */ v(Xt, { children: e }), /* @__PURE__ */ v(Zt, { children: t })]
1015
- }), /* @__PURE__ */ v(qt, {
907
+ children: [/* @__PURE__ */ g(Gt, { children: e }), /* @__PURE__ */ g(Kt, { children: t })]
908
+ }), /* @__PURE__ */ g(Ht, {
1016
909
  className: N("overflow-hidden p-0", r),
1017
910
  showCloseButton: i,
1018
- children: /* @__PURE__ */ v(B, {
911
+ children: /* @__PURE__ */ g(B, {
1019
912
  className: "[&_[cmdk-group-heading]]:text-muted-foreground **: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",
1020
913
  children: n
1021
914
  })
@@ -1023,10 +916,10 @@ function Qt({ title: e = "Command Palette", description: t = "Search for a comma
1023
916
  });
1024
917
  }
1025
918
  function V({ className: e, ...t }) {
1026
- return /* @__PURE__ */ y("div", {
919
+ return /* @__PURE__ */ _("div", {
1027
920
  "data-slot": "command-input-wrapper",
1028
921
  className: "flex h-10 items-center gap-2 border-b px-3",
1029
- children: [/* @__PURE__ */ v(le, { className: "size-4 shrink-0 opacity-50" }), /* @__PURE__ */ v(w.Input, {
922
+ children: [/* @__PURE__ */ g(de, { className: "size-4 shrink-0 opacity-50" }), /* @__PURE__ */ g(C.Input, {
1030
923
  "data-slot": "command-input",
1031
924
  className: N("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", e),
1032
925
  ...t
@@ -1034,42 +927,42 @@ function V({ className: e, ...t }) {
1034
927
  });
1035
928
  }
1036
929
  function H({ className: e, ...t }) {
1037
- return /* @__PURE__ */ v(w.List, {
930
+ return /* @__PURE__ */ g(C.List, {
1038
931
  "data-slot": "command-list",
1039
932
  className: N("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", e),
1040
933
  ...t
1041
934
  });
1042
935
  }
1043
936
  function U({ ...e }) {
1044
- return /* @__PURE__ */ v(w.Empty, {
937
+ return /* @__PURE__ */ g(C.Empty, {
1045
938
  "data-slot": "command-empty",
1046
939
  className: "py-6 text-center text-sm",
1047
940
  ...e
1048
941
  });
1049
942
  }
1050
943
  function W({ className: e, ...t }) {
1051
- return /* @__PURE__ */ v(w.Group, {
944
+ return /* @__PURE__ */ g(C.Group, {
1052
945
  "data-slot": "command-group",
1053
946
  className: N("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground 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", e),
1054
947
  ...t
1055
948
  });
1056
949
  }
1057
- function $t({ className: e, ...t }) {
1058
- return /* @__PURE__ */ v(w.Separator, {
950
+ function Jt({ className: e, ...t }) {
951
+ return /* @__PURE__ */ g(C.Separator, {
1059
952
  "data-slot": "command-separator",
1060
953
  className: N("bg-border -mx-1 h-px", e),
1061
954
  ...t
1062
955
  });
1063
956
  }
1064
957
  function G({ className: e, ...t }) {
1065
- return /* @__PURE__ */ v(w.Item, {
958
+ return /* @__PURE__ */ g(C.Item, {
1066
959
  "data-slot": "command-item",
1067
960
  className: N("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground 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", e),
1068
961
  ...t
1069
962
  });
1070
963
  }
1071
- function en({ className: e, ...t }) {
1072
- return /* @__PURE__ */ v("span", {
964
+ function Yt({ className: e, ...t }) {
965
+ return /* @__PURE__ */ g("span", {
1073
966
  "data-slot": "command-shortcut",
1074
967
  className: N("text-muted-foreground ms-auto text-xs tracking-widest", e),
1075
968
  ...t
@@ -1077,40 +970,40 @@ function en({ className: e, ...t }) {
1077
970
  }
1078
971
  //#endregion
1079
972
  //#region src/components/ui/dropdown-menu.tsx
1080
- function tn({ ...e }) {
1081
- return /* @__PURE__ */ v(E.Root, {
973
+ function Xt({ ...e }) {
974
+ return /* @__PURE__ */ g(T.Root, {
1082
975
  "data-slot": "dropdown-menu",
1083
976
  ...e
1084
977
  });
1085
978
  }
1086
- function nn({ ...e }) {
1087
- return /* @__PURE__ */ v(E.Portal, {
979
+ function Zt({ ...e }) {
980
+ return /* @__PURE__ */ g(T.Portal, {
1088
981
  "data-slot": "dropdown-menu-portal",
1089
982
  ...e
1090
983
  });
1091
984
  }
1092
- function rn({ ...e }) {
1093
- return /* @__PURE__ */ v(E.Trigger, {
985
+ function Qt({ ...e }) {
986
+ return /* @__PURE__ */ g(T.Trigger, {
1094
987
  "data-slot": "dropdown-menu-trigger",
1095
988
  ...e
1096
989
  });
1097
990
  }
1098
- function an({ className: e, sideOffset: t = 4, ...n }) {
1099
- return /* @__PURE__ */ v(E.Portal, { children: /* @__PURE__ */ v(E.Content, {
991
+ function $t({ className: e, sideOffset: t = 4, ...n }) {
992
+ return /* @__PURE__ */ g(T.Portal, { children: /* @__PURE__ */ g(T.Content, {
1100
993
  "data-slot": "dropdown-menu-content",
1101
994
  sideOffset: t,
1102
995
  className: N("bg-popover text-popover-foreground 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 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md", e),
1103
996
  ...n
1104
997
  }) });
1105
998
  }
1106
- function on({ ...e }) {
1107
- return /* @__PURE__ */ v(E.Group, {
999
+ function en({ ...e }) {
1000
+ return /* @__PURE__ */ g(T.Group, {
1108
1001
  "data-slot": "dropdown-menu-group",
1109
1002
  ...e
1110
1003
  });
1111
1004
  }
1112
- function sn({ className: e, inset: t, variant: n = "default", ...r }) {
1113
- return /* @__PURE__ */ v(E.Item, {
1005
+ function tn({ className: e, inset: t, variant: n = "default", ...r }) {
1006
+ return /* @__PURE__ */ g(T.Item, {
1114
1007
  "data-slot": "dropdown-menu-item",
1115
1008
  "data-inset": t,
1116
1009
  "data-variant": n,
@@ -1118,74 +1011,74 @@ function sn({ className: e, inset: t, variant: n = "default", ...r }) {
1118
1011
  ...r
1119
1012
  });
1120
1013
  }
1121
- function cn({ className: e, children: t, checked: n, ...r }) {
1122
- return /* @__PURE__ */ y(E.CheckboxItem, {
1014
+ function nn({ className: e, children: t, checked: n, ...r }) {
1015
+ return /* @__PURE__ */ _(T.CheckboxItem, {
1123
1016
  "data-slot": "dropdown-menu-checkbox-item",
1124
1017
  className: N("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 ps-8 pe-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", e),
1125
1018
  checked: n,
1126
1019
  ...r,
1127
- children: [/* @__PURE__ */ v("span", {
1020
+ children: [/* @__PURE__ */ g("span", {
1128
1021
  className: "pointer-events-none absolute start-2 flex size-3.5 items-center justify-center",
1129
- children: /* @__PURE__ */ v(E.ItemIndicator, { children: /* @__PURE__ */ v(h, { className: "size-4" }) })
1022
+ children: /* @__PURE__ */ g(T.ItemIndicator, { children: /* @__PURE__ */ g(p, { className: "size-4" }) })
1130
1023
  }), t]
1131
1024
  });
1132
1025
  }
1133
- function ln({ ...e }) {
1134
- return /* @__PURE__ */ v(E.RadioGroup, {
1026
+ function rn({ ...e }) {
1027
+ return /* @__PURE__ */ g(T.RadioGroup, {
1135
1028
  "data-slot": "dropdown-menu-radio-group",
1136
1029
  ...e
1137
1030
  });
1138
1031
  }
1139
- function un({ className: e, children: t, ...n }) {
1140
- return /* @__PURE__ */ y(E.RadioItem, {
1032
+ function an({ className: e, children: t, ...n }) {
1033
+ return /* @__PURE__ */ _(T.RadioItem, {
1141
1034
  "data-slot": "dropdown-menu-radio-item",
1142
1035
  className: N("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 ps-8 pe-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", e),
1143
1036
  ...n,
1144
- children: [/* @__PURE__ */ v("span", {
1037
+ children: [/* @__PURE__ */ g("span", {
1145
1038
  className: "pointer-events-none absolute start-2 flex size-3.5 items-center justify-center",
1146
- children: /* @__PURE__ */ v(E.ItemIndicator, { children: /* @__PURE__ */ v(ie, { className: "size-2 fill-current" }) })
1039
+ children: /* @__PURE__ */ g(T.ItemIndicator, { children: /* @__PURE__ */ g(oe, { className: "size-2 fill-current" }) })
1147
1040
  }), t]
1148
1041
  });
1149
1042
  }
1150
- function dn({ className: e, inset: t, ...n }) {
1151
- return /* @__PURE__ */ v(E.Label, {
1043
+ function on({ className: e, inset: t, ...n }) {
1044
+ return /* @__PURE__ */ g(T.Label, {
1152
1045
  "data-slot": "dropdown-menu-label",
1153
1046
  "data-inset": t,
1154
1047
  className: N("px-2 py-1.5 text-sm font-medium data-[inset]:ps-8", e),
1155
1048
  ...n
1156
1049
  });
1157
1050
  }
1158
- function fn({ className: e, ...t }) {
1159
- return /* @__PURE__ */ v(E.Separator, {
1051
+ function sn({ className: e, ...t }) {
1052
+ return /* @__PURE__ */ g(T.Separator, {
1160
1053
  "data-slot": "dropdown-menu-separator",
1161
1054
  className: N("bg-border -mx-1 my-1 h-px", e),
1162
1055
  ...t
1163
1056
  });
1164
1057
  }
1165
- function pn({ className: e, ...t }) {
1166
- return /* @__PURE__ */ v("span", {
1058
+ function cn({ className: e, ...t }) {
1059
+ return /* @__PURE__ */ g("span", {
1167
1060
  "data-slot": "dropdown-menu-shortcut",
1168
1061
  className: N("text-muted-foreground ms-auto text-xs tracking-widest", e),
1169
1062
  ...t
1170
1063
  });
1171
1064
  }
1172
- function mn({ ...e }) {
1173
- return /* @__PURE__ */ v(E.Sub, {
1065
+ function ln({ ...e }) {
1066
+ return /* @__PURE__ */ g(T.Sub, {
1174
1067
  "data-slot": "dropdown-menu-sub",
1175
1068
  ...e
1176
1069
  });
1177
1070
  }
1178
- function hn({ className: e, inset: t, children: n, ...r }) {
1179
- return /* @__PURE__ */ y(E.SubTrigger, {
1071
+ function un({ className: e, inset: t, children: n, ...r }) {
1072
+ return /* @__PURE__ */ _(T.SubTrigger, {
1180
1073
  "data-slot": "dropdown-menu-sub-trigger",
1181
1074
  "data-inset": t,
1182
1075
  className: N("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:ps-8", e),
1183
1076
  ...r,
1184
- children: [n, /* @__PURE__ */ v(te, { className: "ms-auto size-4" })]
1077
+ children: [n, /* @__PURE__ */ g(re, { className: "ms-auto size-4" })]
1185
1078
  });
1186
1079
  }
1187
- function gn({ className: e, ...t }) {
1188
- return /* @__PURE__ */ v(E.SubContent, {
1080
+ function dn({ className: e, ...t }) {
1081
+ return /* @__PURE__ */ g(T.SubContent, {
1189
1082
  "data-slot": "dropdown-menu-sub-content",
1190
1083
  className: N("bg-popover text-popover-foreground 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] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", e),
1191
1084
  ...t
@@ -1194,7 +1087,7 @@ function gn({ className: e, ...t }) {
1194
1087
  //#endregion
1195
1088
  //#region src/components/ui/label.tsx
1196
1089
  function K({ className: e, ...t }) {
1197
- return /* @__PURE__ */ v(xe.Root, {
1090
+ return /* @__PURE__ */ g(xe.Root, {
1198
1091
  "data-slot": "label",
1199
1092
  className: N("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", e),
1200
1093
  ...t
@@ -1202,11 +1095,11 @@ function K({ className: e, ...t }) {
1202
1095
  }
1203
1096
  //#endregion
1204
1097
  //#region src/components/ui/form.tsx
1205
- var _n = ve, vn = s.createContext({}), yn = ({ ...e }) => /* @__PURE__ */ v(vn.Provider, {
1098
+ var fn = ve, pn = s.createContext({}), mn = ({ ...e }) => /* @__PURE__ */ g(pn.Provider, {
1206
1099
  value: { name: e.name },
1207
- children: /* @__PURE__ */ v(_e, { ...e })
1100
+ children: /* @__PURE__ */ g(_e, { ...e })
1208
1101
  }), q = () => {
1209
- let e = s.useContext(vn), t = s.useContext(bn), { getFieldState: n } = ye(), r = be({ name: e.name }), i = n(e.name, r);
1102
+ let e = s.useContext(pn), t = s.useContext(hn), { getFieldState: n } = ye(), r = be({ name: e.name }), i = n(e.name, r);
1210
1103
  if (!e) throw Error("useFormField should be used within <FormField>");
1211
1104
  let { id: a } = t;
1212
1105
  return {
@@ -1217,21 +1110,21 @@ var _n = ve, vn = s.createContext({}), yn = ({ ...e }) => /* @__PURE__ */ v(vn.P
1217
1110
  formMessageId: `${a}-form-item-message`,
1218
1111
  ...i
1219
1112
  };
1220
- }, bn = s.createContext({});
1221
- function xn({ className: e, ...t }) {
1113
+ }, hn = s.createContext({});
1114
+ function gn({ className: e, ...t }) {
1222
1115
  let n = s.useId();
1223
- return /* @__PURE__ */ v(bn.Provider, {
1116
+ return /* @__PURE__ */ g(hn.Provider, {
1224
1117
  value: { id: n },
1225
- children: /* @__PURE__ */ v("div", {
1118
+ children: /* @__PURE__ */ g("div", {
1226
1119
  "data-slot": "form-item",
1227
1120
  className: N("grid gap-2", e),
1228
1121
  ...t
1229
1122
  })
1230
1123
  });
1231
1124
  }
1232
- function Sn({ className: e, ...t }) {
1125
+ function _n({ className: e, ...t }) {
1233
1126
  let { error: n, formItemId: r } = q();
1234
- return /* @__PURE__ */ v(K, {
1127
+ return /* @__PURE__ */ g(K, {
1235
1128
  "data-slot": "form-label",
1236
1129
  "data-error": !!n,
1237
1130
  className: N("data-[error=true]:text-destructive", e),
@@ -1239,9 +1132,9 @@ function Sn({ className: e, ...t }) {
1239
1132
  ...t
1240
1133
  });
1241
1134
  }
1242
- function Cn({ ...e }) {
1135
+ function vn({ ...e }) {
1243
1136
  let { error: t, formItemId: n, formDescriptionId: r, formMessageId: i } = q();
1244
- return /* @__PURE__ */ v(S, {
1137
+ return /* @__PURE__ */ g(b, {
1245
1138
  "data-slot": "form-control",
1246
1139
  id: n,
1247
1140
  "aria-describedby": t ? `${r} ${i}` : `${r}`,
@@ -1249,18 +1142,18 @@ function Cn({ ...e }) {
1249
1142
  ...e
1250
1143
  });
1251
1144
  }
1252
- function wn({ className: e, ...t }) {
1145
+ function yn({ className: e, ...t }) {
1253
1146
  let { formDescriptionId: n } = q();
1254
- return /* @__PURE__ */ v("p", {
1147
+ return /* @__PURE__ */ g("p", {
1255
1148
  "data-slot": "form-description",
1256
1149
  id: n,
1257
1150
  className: N("text-muted-foreground text-sm", e),
1258
1151
  ...t
1259
1152
  });
1260
1153
  }
1261
- function Tn({ className: e, ...t }) {
1154
+ function bn({ className: e, ...t }) {
1262
1155
  let { error: n, formMessageId: r } = q(), i = n ? String(n?.message ?? "") : t.children;
1263
- return i ? /* @__PURE__ */ v("p", {
1156
+ return i ? /* @__PURE__ */ g("p", {
1264
1157
  "data-slot": "form-message",
1265
1158
  id: r,
1266
1159
  className: N("text-destructive text-sm", e),
@@ -1270,12 +1163,12 @@ function Tn({ className: e, ...t }) {
1270
1163
  }
1271
1164
  //#endregion
1272
1165
  //#region src/components/ui/image-upload.tsx
1273
- function En({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple: a = !1, className: o }) {
1274
- let s = d(null), [c, l] = f(!1), [p, m] = f([]);
1166
+ function xn({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple: a = !1, className: o }) {
1167
+ let s = ee(null), [c, l] = te(!1), [d, f] = te([]);
1275
1168
  u(() => {
1276
- m(Array.isArray(e) ? e : e ? [e] : []);
1169
+ f(Array.isArray(e) ? e : e ? [e] : []);
1277
1170
  }, [e]);
1278
- let h = async (e) => {
1171
+ let p = async (e) => {
1279
1172
  let t = e.target.files;
1280
1173
  if (!t || t.length === 0) return;
1281
1174
  let n = [];
@@ -1291,8 +1184,8 @@ function En({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple:
1291
1184
  }
1292
1185
  n.push(r);
1293
1186
  }
1294
- n.length > 0 && await g(n);
1295
- }, g = async (e) => {
1187
+ n.length > 0 && await m(n);
1188
+ }, m = async (e) => {
1296
1189
  l(!0);
1297
1190
  try {
1298
1191
  let n = e.map(async (e) => {
@@ -1304,41 +1197,41 @@ function En({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple:
1304
1197
  return console.error("Single file upload failed", e), null;
1305
1198
  }
1306
1199
  }), r = (await Promise.all(n)).filter((e) => e !== null);
1307
- r.length > 0 && (t(a ? [...p, ...r] : r[0]), i.success(`${r.length} imagen(es) cargada(s)`));
1200
+ r.length > 0 && (t(a ? [...d, ...r] : r[0]), i.success(`${r.length} imagen(es) cargada(s)`));
1308
1201
  } catch (e) {
1309
1202
  console.error("Upload Error:", e), i.error("Error al subir imágenes");
1310
1203
  } finally {
1311
1204
  l(!1), s.current && (s.current.value = "");
1312
1205
  }
1313
- }, _ = (e) => {
1314
- t(a ? p.filter((t) => t !== e) : "");
1206
+ }, h = (e) => {
1207
+ t(a ? d.filter((t) => t !== e) : "");
1315
1208
  };
1316
- return /* @__PURE__ */ y("div", {
1209
+ return /* @__PURE__ */ _("div", {
1317
1210
  className: N("space-y-4", o),
1318
1211
  children: [
1319
- /* @__PURE__ */ v(K, { children: n }),
1320
- p.length > 0 && /* @__PURE__ */ v("div", {
1212
+ /* @__PURE__ */ g(K, { children: n }),
1213
+ d.length > 0 && /* @__PURE__ */ g("div", {
1321
1214
  className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4 mb-4",
1322
- children: p.map((e, t) => /* @__PURE__ */ y("div", {
1215
+ children: d.map((e, t) => /* @__PURE__ */ _("div", {
1323
1216
  className: "relative group rounded-lg overflow-hidden border bg-background aspect-square flex items-center justify-center bg-gray-50 dark:bg-gray-800/50",
1324
- children: [/* @__PURE__ */ v("img", {
1217
+ children: [/* @__PURE__ */ g("img", {
1325
1218
  src: e,
1326
1219
  alt: `Image ${t + 1}`,
1327
1220
  className: "h-full w-full object-contain p-1"
1328
- }), !r && /* @__PURE__ */ v("div", {
1221
+ }), !r && /* @__PURE__ */ g("div", {
1329
1222
  className: "absolute top-1 right-1 opacity-0 group-hover:opacity-100 transition-opacity",
1330
- children: /* @__PURE__ */ v(z, {
1223
+ children: /* @__PURE__ */ g(z, {
1331
1224
  type: "button",
1332
1225
  variant: "destructive",
1333
1226
  size: "icon",
1334
1227
  className: "h-6 w-6 rounded-full",
1335
- onClick: () => _(e),
1336
- children: /* @__PURE__ */ v(ue, { className: "h-3 w-3" })
1228
+ onClick: () => h(e),
1229
+ children: /* @__PURE__ */ g(fe, { className: "h-3 w-3" })
1337
1230
  })
1338
1231
  })]
1339
1232
  }, t))
1340
1233
  }),
1341
- !r && (a || p.length === 0) && /* @__PURE__ */ y("div", {
1234
+ !r && (a || d.length === 0) && /* @__PURE__ */ _("div", {
1342
1235
  className: `
1343
1236
  border-2 border-dashed border-muted-foreground/25 rounded-lg
1344
1237
  flex flex-col items-center justify-center p-6 gap-2
@@ -1347,22 +1240,22 @@ function En({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple:
1347
1240
  `,
1348
1241
  onClick: () => s.current?.click(),
1349
1242
  children: [
1350
- c ? /* @__PURE__ */ v(oe, { className: "h-8 w-8 animate-spin text-muted-foreground" }) : /* @__PURE__ */ v(ae, { className: "h-8 w-8 text-muted-foreground" }),
1351
- /* @__PURE__ */ v("span", {
1243
+ c ? /* @__PURE__ */ g(ce, { className: "h-8 w-8 animate-spin text-muted-foreground" }) : /* @__PURE__ */ g(se, { className: "h-8 w-8 text-muted-foreground" }),
1244
+ /* @__PURE__ */ g("span", {
1352
1245
  className: "text-sm text-muted-foreground font-medium",
1353
1246
  children: c ? "Subiendo..." : a ? "Click para agregar imágenes" : "Click para subir imagen"
1354
1247
  }),
1355
- /* @__PURE__ */ v("p", {
1248
+ /* @__PURE__ */ g("p", {
1356
1249
  className: "text-xs text-muted-foreground/70",
1357
1250
  children: "Soporta: JPG, PNG, WEBP (Max 5MB)"
1358
1251
  }),
1359
- /* @__PURE__ */ v("input", {
1252
+ /* @__PURE__ */ g("input", {
1360
1253
  type: "file",
1361
1254
  ref: s,
1362
1255
  className: "hidden",
1363
1256
  accept: "image/*",
1364
1257
  multiple: a,
1365
- onChange: h,
1258
+ onChange: p,
1366
1259
  disabled: r || c
1367
1260
  })
1368
1261
  ]
@@ -1373,7 +1266,7 @@ function En({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple:
1373
1266
  //#endregion
1374
1267
  //#region src/components/ui/input.tsx
1375
1268
  function J({ className: e, type: t, ...n }) {
1376
- return /* @__PURE__ */ v("input", {
1269
+ return /* @__PURE__ */ g("input", {
1377
1270
  type: t,
1378
1271
  "data-slot": "input",
1379
1272
  className: N("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input 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", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", e),
@@ -1382,58 +1275,58 @@ function J({ className: e, type: t, ...n }) {
1382
1275
  }
1383
1276
  //#endregion
1384
1277
  //#region src/components/ui/input-otp.tsx
1385
- function Dn({ className: e, containerClassName: t, ...n }) {
1386
- return /* @__PURE__ */ v(Se, {
1278
+ function Sn({ className: e, containerClassName: t, ...n }) {
1279
+ return /* @__PURE__ */ g(Se, {
1387
1280
  "data-slot": "input-otp",
1388
1281
  containerClassName: N("flex items-center gap-2 has-disabled:opacity-50", t),
1389
1282
  className: N("disabled:cursor-not-allowed", e),
1390
1283
  ...n
1391
1284
  });
1392
1285
  }
1393
- function On({ className: e, ...t }) {
1394
- return /* @__PURE__ */ v("div", {
1286
+ function Cn({ className: e, ...t }) {
1287
+ return /* @__PURE__ */ g("div", {
1395
1288
  "data-slot": "input-otp-group",
1396
1289
  className: N("flex items-center", e),
1397
1290
  ...t
1398
1291
  });
1399
1292
  }
1400
- function kn({ index: e, className: t, ...n }) {
1293
+ function wn({ index: e, className: t, ...n }) {
1401
1294
  let { char: r, hasFakeCaret: i, isActive: a } = s.useContext(Ce)?.slots[e] ?? {};
1402
- return /* @__PURE__ */ y("div", {
1295
+ return /* @__PURE__ */ _("div", {
1403
1296
  "data-slot": "input-otp-slot",
1404
1297
  "data-active": a,
1405
1298
  className: N("data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input 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]", t),
1406
1299
  ...n,
1407
- children: [r, i && /* @__PURE__ */ v("div", {
1300
+ children: [r, i && /* @__PURE__ */ g("div", {
1408
1301
  className: "pointer-events-none absolute inset-0 flex items-center justify-center",
1409
- children: /* @__PURE__ */ v("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" })
1302
+ children: /* @__PURE__ */ g("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" })
1410
1303
  })]
1411
1304
  });
1412
1305
  }
1413
- function An({ ...e }) {
1414
- return /* @__PURE__ */ v("div", {
1306
+ function Tn({ ...e }) {
1307
+ return /* @__PURE__ */ g("div", {
1415
1308
  "data-slot": "input-otp-separator",
1416
1309
  role: "separator",
1417
1310
  ...e,
1418
- children: /* @__PURE__ */ v(se, {})
1311
+ children: /* @__PURE__ */ g(le, {})
1419
1312
  });
1420
1313
  }
1421
1314
  //#endregion
1422
1315
  //#region src/components/ui/popover.tsx
1423
1316
  function Y({ ...e }) {
1424
- return /* @__PURE__ */ v(D.Root, {
1317
+ return /* @__PURE__ */ g(E.Root, {
1425
1318
  "data-slot": "popover",
1426
1319
  ...e
1427
1320
  });
1428
1321
  }
1429
1322
  function X({ ...e }) {
1430
- return /* @__PURE__ */ v(D.Trigger, {
1323
+ return /* @__PURE__ */ g(E.Trigger, {
1431
1324
  "data-slot": "popover-trigger",
1432
1325
  ...e
1433
1326
  });
1434
1327
  }
1435
1328
  function Z({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
1436
- return /* @__PURE__ */ v(D.Portal, { children: /* @__PURE__ */ v(D.Content, {
1329
+ return /* @__PURE__ */ g(E.Portal, { children: /* @__PURE__ */ g(E.Content, {
1437
1330
  "data-slot": "popover-content",
1438
1331
  align: t,
1439
1332
  sideOffset: n,
@@ -1441,42 +1334,42 @@ function Z({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
1441
1334
  ...r
1442
1335
  }) });
1443
1336
  }
1444
- function jn({ ...e }) {
1445
- return /* @__PURE__ */ v(D.Anchor, {
1337
+ function En({ ...e }) {
1338
+ return /* @__PURE__ */ g(E.Anchor, {
1446
1339
  "data-slot": "popover-anchor",
1447
1340
  ...e
1448
1341
  });
1449
1342
  }
1450
1343
  //#endregion
1451
1344
  //#region src/components/ui/multi-select.tsx
1452
- function Mn({ options: e, selected: t, onChange: n, placeholder: r = "Select options...", className: i }) {
1345
+ function Dn({ options: e, selected: t, onChange: n, placeholder: r = "Select options...", className: i }) {
1453
1346
  let [a, o] = s.useState(!1), c = (e) => {
1454
1347
  n(t.filter((t) => t !== e));
1455
1348
  };
1456
- return /* @__PURE__ */ y(Y, {
1349
+ return /* @__PURE__ */ _(Y, {
1457
1350
  open: a,
1458
1351
  onOpenChange: o,
1459
- children: [/* @__PURE__ */ v(X, {
1352
+ children: [/* @__PURE__ */ g(X, {
1460
1353
  asChild: !0,
1461
- children: /* @__PURE__ */ y("div", {
1354
+ children: /* @__PURE__ */ _("div", {
1462
1355
  role: "combobox",
1463
1356
  "aria-expanded": a,
1464
1357
  className: N("flex w-full justify-between items-center rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 cursor-pointer hover:bg-accent hover:text-accent-foreground", "h-auto min-h-10", i),
1465
1358
  onClick: () => o(!a),
1466
- children: [/* @__PURE__ */ v("div", {
1359
+ children: [/* @__PURE__ */ g("div", {
1467
1360
  className: "flex flex-wrap gap-1",
1468
1361
  children: t.length > 0 ? t.map((t) => {
1469
1362
  let n = e.find((e) => e.value === t);
1470
- return n ? /* @__PURE__ */ y(wt, {
1363
+ return n ? /* @__PURE__ */ _(Ct, {
1471
1364
  variant: "secondary",
1472
1365
  className: "mr-1 mb-1",
1473
1366
  onClick: (e) => {
1474
1367
  e.stopPropagation(), c(t);
1475
1368
  },
1476
1369
  children: [
1477
- n.icon && /* @__PURE__ */ v(n.icon, { className: "mr-1 h-3 w-3" }),
1370
+ n.icon && /* @__PURE__ */ g(n.icon, { className: "mr-1 h-3 w-3" }),
1478
1371
  n.label,
1479
- /* @__PURE__ */ v("button", {
1372
+ /* @__PURE__ */ g("button", {
1480
1373
  className: "ml-1 ring-offset-background rounded-full outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
1481
1374
  onKeyDown: (e) => {
1482
1375
  e.key === "Enter" && c(t);
@@ -1487,30 +1380,30 @@ function Mn({ options: e, selected: t, onChange: n, placeholder: r = "Select opt
1487
1380
  onClick: (e) => {
1488
1381
  e.preventDefault(), e.stopPropagation(), c(t);
1489
1382
  },
1490
- children: /* @__PURE__ */ v(ue, { className: "h-3 w-3 text-muted-foreground hover:text-foreground" })
1383
+ children: /* @__PURE__ */ g(fe, { className: "h-3 w-3 text-muted-foreground hover:text-foreground" })
1491
1384
  })
1492
1385
  ]
1493
1386
  }, n.value) : null;
1494
- }) : /* @__PURE__ */ v("span", {
1387
+ }) : /* @__PURE__ */ g("span", {
1495
1388
  className: "text-muted-foreground font-normal",
1496
1389
  children: r
1497
1390
  })
1498
- }), /* @__PURE__ */ v(re, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })]
1391
+ }), /* @__PURE__ */ g(ae, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })]
1499
1392
  })
1500
- }), /* @__PURE__ */ v(Z, {
1393
+ }), /* @__PURE__ */ g(Z, {
1501
1394
  className: "w-full p-0",
1502
- children: /* @__PURE__ */ y(B, { children: [
1503
- /* @__PURE__ */ v(V, { placeholder: "Search..." }),
1504
- /* @__PURE__ */ v(U, { children: "No item found." }),
1505
- /* @__PURE__ */ v(H, { children: /* @__PURE__ */ v(W, {
1395
+ children: /* @__PURE__ */ _(B, { children: [
1396
+ /* @__PURE__ */ g(V, { placeholder: "Search..." }),
1397
+ /* @__PURE__ */ g(U, { children: "No item found." }),
1398
+ /* @__PURE__ */ g(H, { children: /* @__PURE__ */ g(W, {
1506
1399
  className: "max-h-64 overflow-auto",
1507
- children: e.map((e) => /* @__PURE__ */ y(G, {
1400
+ children: e.map((e) => /* @__PURE__ */ _(G, {
1508
1401
  onSelect: () => {
1509
1402
  t.includes(e.value) ? n(t.filter((t) => t !== e.value)) : n([...t, e.value]), o(!0);
1510
1403
  },
1511
1404
  children: [
1512
- /* @__PURE__ */ v(m, { className: N("mr-2 h-4 w-4", t.includes(e.value) ? "opacity-100" : "opacity-0") }),
1513
- e.icon && /* @__PURE__ */ v(e.icon, { className: "mr-2 h-4 w-4" }),
1405
+ /* @__PURE__ */ g(f, { className: N("mr-2 h-4 w-4", t.includes(e.value) ? "opacity-100" : "opacity-0") }),
1406
+ e.icon && /* @__PURE__ */ g(e.icon, { className: "mr-2 h-4 w-4" }),
1514
1407
  e.label
1515
1408
  ]
1516
1409
  }, e.value))
@@ -1521,106 +1414,106 @@ function Mn({ options: e, selected: t, onChange: n, placeholder: r = "Select opt
1521
1414
  }
1522
1415
  //#endregion
1523
1416
  //#region src/components/ui/scroll-area.tsx
1524
- var Nn = s.forwardRef(({ className: e, children: t, orientation: n = "vertical", type: r = "hover", ...i }, a) => /* @__PURE__ */ y(O.Root, {
1417
+ var Q = s.forwardRef(({ className: e, children: t, orientation: n = "vertical", type: r = "hover", ...i }, a) => /* @__PURE__ */ _(D.Root, {
1525
1418
  ref: a,
1526
1419
  "data-slot": "scroll-area",
1527
1420
  type: r,
1528
1421
  className: N("relative overflow-hidden", e),
1529
1422
  ...i,
1530
1423
  children: [
1531
- /* @__PURE__ */ v(O.Viewport, {
1424
+ /* @__PURE__ */ g(D.Viewport, {
1532
1425
  "data-slot": "scroll-area-viewport",
1533
1426
  className: N("focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1", n === "horizontal" && "overflow-x-auto!"),
1534
1427
  children: t
1535
1428
  }),
1536
- /* @__PURE__ */ v(Q, { orientation: n }),
1537
- /* @__PURE__ */ v(O.Corner, {})
1429
+ /* @__PURE__ */ g(On, { orientation: n }),
1430
+ /* @__PURE__ */ g(D.Corner, {})
1538
1431
  ]
1539
1432
  }));
1540
- Nn.displayName = "ScrollArea";
1541
- var Q = s.forwardRef(({ className: e, orientation: t = "vertical", ...n }, r) => /* @__PURE__ */ v(O.ScrollAreaScrollbar, {
1433
+ Q.displayName = "ScrollArea";
1434
+ var On = s.forwardRef(({ className: e, orientation: t = "vertical", ...n }, r) => /* @__PURE__ */ g(D.ScrollAreaScrollbar, {
1542
1435
  ref: r,
1543
1436
  "data-slot": "scroll-area-scrollbar",
1544
1437
  orientation: t,
1545
1438
  className: N("flex touch-none p-px transition-colors select-none", t === "vertical" && "h-full w-3 border-l border-l-transparent", t === "horizontal" && "h-3 flex-col border-t border-t-transparent", e),
1546
1439
  ...n,
1547
- children: /* @__PURE__ */ v(O.ScrollAreaThumb, {
1440
+ children: /* @__PURE__ */ g(D.ScrollAreaThumb, {
1548
1441
  "data-slot": "scroll-area-thumb",
1549
1442
  className: "bg-foreground/35 hover:bg-foreground/50 relative flex-1 rounded-full transition-colors"
1550
1443
  })
1551
1444
  }));
1552
- Q.displayName = "ScrollBar";
1445
+ On.displayName = "ScrollBar";
1553
1446
  //#endregion
1554
1447
  //#region src/components/ui/phone-input.tsx
1555
- var Pn = s.forwardRef(({ className: e, onChange: t, ...n }, r) => /* @__PURE__ */ v(we.default, {
1448
+ var kn = s.forwardRef(({ className: e, onChange: t, ...n }, r) => /* @__PURE__ */ g(we.default, {
1556
1449
  ref: r,
1557
1450
  className: N("flex", e),
1558
- flagComponent: Ln,
1559
- countrySelectComponent: In,
1560
- inputComponent: Fn,
1451
+ flagComponent: Mn,
1452
+ countrySelectComponent: jn,
1453
+ inputComponent: An,
1561
1454
  smartCaret: !1,
1562
1455
  onChange: (e) => t?.(e || ""),
1563
1456
  ...n
1564
1457
  }));
1565
- Pn.displayName = "PhoneInput";
1566
- var Fn = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(J, {
1458
+ kn.displayName = "PhoneInput";
1459
+ var An = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(J, {
1567
1460
  className: N("rounded-e-lg rounded-s-none", e),
1568
1461
  ...t,
1569
1462
  ref: n
1570
1463
  }));
1571
- Fn.displayName = "InputComponent";
1572
- var In = ({ disabled: e, value: t, onChange: n, options: r }) => {
1464
+ An.displayName = "InputComponent";
1465
+ var jn = ({ disabled: e, value: t, onChange: n, options: r }) => {
1573
1466
  let i = s.useCallback((e) => {
1574
1467
  n(e);
1575
1468
  }, [n]);
1576
- return /* @__PURE__ */ y(Y, { children: [/* @__PURE__ */ v(X, {
1469
+ return /* @__PURE__ */ _(Y, { children: [/* @__PURE__ */ g(X, {
1577
1470
  asChild: !0,
1578
- children: /* @__PURE__ */ y(z, {
1471
+ children: /* @__PURE__ */ _(z, {
1579
1472
  type: "button",
1580
1473
  variant: "outline",
1581
1474
  className: N("flex gap-1 rounded-e-none rounded-s-lg border-r-0 px-3 focus:z-10"),
1582
1475
  disabled: e,
1583
- children: [/* @__PURE__ */ v(Ln, {
1476
+ children: [/* @__PURE__ */ g(Mn, {
1584
1477
  country: t,
1585
1478
  countryName: t
1586
- }), /* @__PURE__ */ v(re, { className: N("-mr-2 size-4 opacity-50", e ? "hidden" : "opacity-100") })]
1479
+ }), /* @__PURE__ */ g(ae, { className: N("-mr-2 size-4 opacity-50", e ? "hidden" : "opacity-100") })]
1587
1480
  })
1588
- }), /* @__PURE__ */ v(Z, {
1481
+ }), /* @__PURE__ */ g(Z, {
1589
1482
  className: "w-[300px] p-0",
1590
- children: /* @__PURE__ */ y(B, { children: [/* @__PURE__ */ v(V, { placeholder: "Buscar país..." }), /* @__PURE__ */ v(H, { children: /* @__PURE__ */ y(Nn, {
1483
+ children: /* @__PURE__ */ _(B, { children: [/* @__PURE__ */ g(V, { placeholder: "Buscar país..." }), /* @__PURE__ */ g(H, { children: /* @__PURE__ */ _(Q, {
1591
1484
  className: "h-72",
1592
- children: [/* @__PURE__ */ v(U, { children: "País no encontrado." }), /* @__PURE__ */ v(W, { children: r.filter((e) => e.value).map((e) => /* @__PURE__ */ y(G, {
1485
+ children: [/* @__PURE__ */ g(U, { children: "País no encontrado." }), /* @__PURE__ */ g(W, { children: r.filter((e) => e.value).map((e) => /* @__PURE__ */ _(G, {
1593
1486
  className: "gap-2",
1594
1487
  onSelect: () => i(e.value),
1595
1488
  children: [
1596
- /* @__PURE__ */ v(Ln, {
1489
+ /* @__PURE__ */ g(Mn, {
1597
1490
  country: e.value,
1598
1491
  countryName: e.label
1599
1492
  }),
1600
- /* @__PURE__ */ v("span", {
1493
+ /* @__PURE__ */ g("span", {
1601
1494
  className: "flex-1 text-sm",
1602
1495
  children: e.label
1603
1496
  }),
1604
- e.value && /* @__PURE__ */ v("span", {
1497
+ e.value && /* @__PURE__ */ g("span", {
1605
1498
  className: "text-sm text-foreground/50",
1606
1499
  children: `+${we.getCountryCallingCode(e.value)}`
1607
1500
  }),
1608
- /* @__PURE__ */ v(h, { className: N("ml-auto size-4", e.value === t ? "opacity-100" : "opacity-0") })
1501
+ /* @__PURE__ */ g(p, { className: N("ml-auto size-4", e.value === t ? "opacity-100" : "opacity-0") })
1609
1502
  ]
1610
1503
  }, e.value)) })]
1611
1504
  }) })] })
1612
1505
  })] });
1613
- }, Ln = ({ country: e, countryName: t }) => {
1506
+ }, Mn = ({ country: e, countryName: t }) => {
1614
1507
  let n = Te[e];
1615
- return /* @__PURE__ */ v("span", {
1508
+ return /* @__PURE__ */ g("span", {
1616
1509
  className: "flex h-5 w-7 shrink-0 items-center justify-center overflow-hidden rounded-sm bg-foreground/10 [&_svg]:h-full [&_svg]:w-full [&_svg]:object-cover",
1617
- children: n && /* @__PURE__ */ v(n, { title: t })
1510
+ children: n && /* @__PURE__ */ g(n, { title: t })
1618
1511
  });
1619
- }, Rn = s.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ v(k.Root, {
1512
+ }, Nn = s.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ g(O.Root, {
1620
1513
  ref: r,
1621
1514
  className: N("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", e),
1622
1515
  ...n,
1623
- children: /* @__PURE__ */ v(k.Indicator, {
1516
+ children: /* @__PURE__ */ g(O.Indicator, {
1624
1517
  className: "h-full bg-primary transition-transform duration-300 ease-out",
1625
1518
  style: {
1626
1519
  width: "100%",
@@ -1628,121 +1521,121 @@ var In = ({ disabled: e, value: t, onChange: n, options: r }) => {
1628
1521
  }
1629
1522
  })
1630
1523
  }));
1631
- Rn.displayName = k.Root.displayName;
1524
+ Nn.displayName = O.Root.displayName;
1632
1525
  //#endregion
1633
1526
  //#region src/components/ui/radio-group.tsx
1634
- function zn({ className: e, ...t }) {
1635
- return /* @__PURE__ */ v(Ee.Root, {
1527
+ function Pn({ className: e, ...t }) {
1528
+ return /* @__PURE__ */ g(k.Root, {
1636
1529
  "data-slot": "radio-group",
1637
1530
  className: N("grid gap-3", e),
1638
1531
  ...t
1639
1532
  });
1640
1533
  }
1641
- function Bn({ className: e, ...t }) {
1642
- return /* @__PURE__ */ v(Ee.Item, {
1534
+ function Fn({ className: e, ...t }) {
1535
+ return /* @__PURE__ */ g(k.Item, {
1643
1536
  "data-slot": "radio-group-item",
1644
1537
  className: N("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 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", e),
1645
1538
  ...t,
1646
- children: /* @__PURE__ */ v(Ee.Indicator, {
1539
+ children: /* @__PURE__ */ g(k.Indicator, {
1647
1540
  "data-slot": "radio-group-indicator",
1648
1541
  className: "relative flex items-center justify-center",
1649
- children: /* @__PURE__ */ v(ie, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
1542
+ children: /* @__PURE__ */ g(oe, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
1650
1543
  })
1651
1544
  });
1652
1545
  }
1653
1546
  //#endregion
1654
1547
  //#region src/components/ui/select.tsx
1655
- function Vn({ ...e }) {
1656
- return /* @__PURE__ */ v(A.Root, {
1548
+ function In({ ...e }) {
1549
+ return /* @__PURE__ */ g(A.Root, {
1657
1550
  "data-slot": "select",
1658
1551
  ...e
1659
1552
  });
1660
1553
  }
1661
- function Hn({ ...e }) {
1662
- return /* @__PURE__ */ v(A.Group, {
1554
+ function Ln({ ...e }) {
1555
+ return /* @__PURE__ */ g(A.Group, {
1663
1556
  "data-slot": "select-group",
1664
1557
  ...e
1665
1558
  });
1666
1559
  }
1667
- function Un({ ...e }) {
1668
- return /* @__PURE__ */ v(A.Value, {
1560
+ function Rn({ ...e }) {
1561
+ return /* @__PURE__ */ g(A.Value, {
1669
1562
  "data-slot": "select-value",
1670
1563
  ...e
1671
1564
  });
1672
1565
  }
1673
- function Wn({ className: e, size: t = "default", children: n, ...r }) {
1674
- return /* @__PURE__ */ y(A.Trigger, {
1566
+ function zn({ className: e, size: t = "default", children: n, ...r }) {
1567
+ return /* @__PURE__ */ _(A.Trigger, {
1675
1568
  "data-slot": "select-trigger",
1676
1569
  "data-size": t,
1677
1570
  className: N("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit 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-[size=default]:h-9 data-[size=sm]:h-8 *: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", e),
1678
1571
  ...r,
1679
- children: [n, /* @__PURE__ */ v(A.Icon, {
1572
+ children: [n, /* @__PURE__ */ g(A.Icon, {
1680
1573
  asChild: !0,
1681
- children: /* @__PURE__ */ v(_, { className: "size-4 opacity-50" })
1574
+ children: /* @__PURE__ */ g(h, { className: "size-4 opacity-50" })
1682
1575
  })]
1683
1576
  });
1684
1577
  }
1685
- function Gn({ className: e, children: t, position: n = "popper", ...r }) {
1686
- return /* @__PURE__ */ v(A.Portal, { children: /* @__PURE__ */ y(A.Content, {
1578
+ function Bn({ className: e, children: t, position: n = "popper", ...r }) {
1579
+ return /* @__PURE__ */ g(A.Portal, { children: /* @__PURE__ */ _(A.Content, {
1687
1580
  "data-slot": "select-content",
1688
1581
  className: N("bg-popover text-popover-foreground 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-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md", n === "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", e),
1689
1582
  position: n,
1690
1583
  ...r,
1691
1584
  children: [
1692
- /* @__PURE__ */ v(Yn, {}),
1693
- /* @__PURE__ */ v(A.Viewport, {
1585
+ /* @__PURE__ */ g(Wn, {}),
1586
+ /* @__PURE__ */ g(A.Viewport, {
1694
1587
  className: N("p-1", n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),
1695
1588
  children: t
1696
1589
  }),
1697
- /* @__PURE__ */ v(Xn, {})
1590
+ /* @__PURE__ */ g(Gn, {})
1698
1591
  ]
1699
1592
  }) });
1700
1593
  }
1701
- function Kn({ className: e, ...t }) {
1702
- return /* @__PURE__ */ v(A.Label, {
1594
+ function Vn({ className: e, ...t }) {
1595
+ return /* @__PURE__ */ g(A.Label, {
1703
1596
  "data-slot": "select-label",
1704
1597
  className: N("text-muted-foreground px-2 py-1.5 text-xs", e),
1705
1598
  ...t
1706
1599
  });
1707
1600
  }
1708
- function qn({ className: e, children: t, ...n }) {
1709
- return /* @__PURE__ */ y(A.Item, {
1601
+ function Hn({ className: e, children: t, ...n }) {
1602
+ return /* @__PURE__ */ _(A.Item, {
1710
1603
  "data-slot": "select-item",
1711
1604
  className: N("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 ps-2 pe-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 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", e),
1712
1605
  ...n,
1713
- children: [/* @__PURE__ */ v("span", {
1606
+ children: [/* @__PURE__ */ g("span", {
1714
1607
  className: "absolute end-2 flex size-3.5 items-center justify-center",
1715
- children: /* @__PURE__ */ v(A.ItemIndicator, { children: /* @__PURE__ */ v(h, { className: "size-4" }) })
1716
- }), /* @__PURE__ */ v(A.ItemText, { children: t })]
1608
+ children: /* @__PURE__ */ g(A.ItemIndicator, { children: /* @__PURE__ */ g(p, { className: "size-4" }) })
1609
+ }), /* @__PURE__ */ g(A.ItemText, { children: t })]
1717
1610
  });
1718
1611
  }
1719
- function Jn({ className: e, ...t }) {
1720
- return /* @__PURE__ */ v(A.Separator, {
1612
+ function Un({ className: e, ...t }) {
1613
+ return /* @__PURE__ */ g(A.Separator, {
1721
1614
  "data-slot": "select-separator",
1722
1615
  className: N("bg-border pointer-events-none -mx-1 my-1 h-px", e),
1723
1616
  ...t
1724
1617
  });
1725
1618
  }
1726
- function Yn({ className: e, ...t }) {
1727
- return /* @__PURE__ */ v(A.ScrollUpButton, {
1619
+ function Wn({ className: e, ...t }) {
1620
+ return /* @__PURE__ */ g(A.ScrollUpButton, {
1728
1621
  "data-slot": "select-scroll-up-button",
1729
1622
  className: N("flex cursor-default items-center justify-center py-1", e),
1730
1623
  ...t,
1731
- children: /* @__PURE__ */ v(ne, { className: "size-4" })
1624
+ children: /* @__PURE__ */ g(ie, { className: "size-4" })
1732
1625
  });
1733
1626
  }
1734
- function Xn({ className: e, ...t }) {
1735
- return /* @__PURE__ */ v(A.ScrollDownButton, {
1627
+ function Gn({ className: e, ...t }) {
1628
+ return /* @__PURE__ */ g(A.ScrollDownButton, {
1736
1629
  "data-slot": "select-scroll-down-button",
1737
1630
  className: N("flex cursor-default items-center justify-center py-1", e),
1738
1631
  ...t,
1739
- children: /* @__PURE__ */ v(_, { className: "size-4" })
1632
+ children: /* @__PURE__ */ g(h, { className: "size-4" })
1740
1633
  });
1741
1634
  }
1742
1635
  //#endregion
1743
1636
  //#region src/components/ui/separator.tsx
1744
- function Zn({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }) {
1745
- return /* @__PURE__ */ v(De.Root, {
1637
+ function Kn({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }) {
1638
+ return /* @__PURE__ */ g(Ee.Root, {
1746
1639
  "data-slot": "separator",
1747
1640
  decorative: n,
1748
1641
  orientation: t,
@@ -1752,74 +1645,74 @@ function Zn({ className: e, orientation: t = "horizontal", decorative: n = !0, .
1752
1645
  }
1753
1646
  //#endregion
1754
1647
  //#region src/components/ui/sheet.tsx
1755
- function Qn({ ...e }) {
1756
- return /* @__PURE__ */ v(T.Root, {
1648
+ function qn({ ...e }) {
1649
+ return /* @__PURE__ */ g(w.Root, {
1757
1650
  "data-slot": "sheet",
1758
1651
  ...e
1759
1652
  });
1760
1653
  }
1761
- function $n({ ...e }) {
1762
- return /* @__PURE__ */ v(T.Trigger, {
1654
+ function Jn({ ...e }) {
1655
+ return /* @__PURE__ */ g(w.Trigger, {
1763
1656
  "data-slot": "sheet-trigger",
1764
1657
  ...e
1765
1658
  });
1766
1659
  }
1767
- function er({ ...e }) {
1768
- return /* @__PURE__ */ v(T.Close, {
1660
+ function Yn({ ...e }) {
1661
+ return /* @__PURE__ */ g(w.Close, {
1769
1662
  "data-slot": "sheet-close",
1770
1663
  ...e
1771
1664
  });
1772
1665
  }
1773
- function tr({ ...e }) {
1774
- return /* @__PURE__ */ v(T.Portal, {
1666
+ function Xn({ ...e }) {
1667
+ return /* @__PURE__ */ g(w.Portal, {
1775
1668
  "data-slot": "sheet-portal",
1776
1669
  ...e
1777
1670
  });
1778
1671
  }
1779
- function nr({ className: e, ...t }) {
1780
- return /* @__PURE__ */ v(T.Overlay, {
1672
+ function Zn({ className: e, ...t }) {
1673
+ return /* @__PURE__ */ g(w.Overlay, {
1781
1674
  "data-slot": "sheet-overlay",
1782
1675
  className: N("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/50", e),
1783
1676
  ...t
1784
1677
  });
1785
1678
  }
1786
- function rr({ className: e, children: t, side: n = "right", ...r }) {
1787
- return /* @__PURE__ */ y(tr, { children: [/* @__PURE__ */ v(nr, {}), /* @__PURE__ */ y(T.Content, {
1679
+ function Qn({ className: e, children: t, side: n = "right", ...r }) {
1680
+ return /* @__PURE__ */ _(Xn, { children: [/* @__PURE__ */ g(Zn, {}), /* @__PURE__ */ _(w.Content, {
1788
1681
  "data-slot": "sheet-content",
1789
1682
  className: N("bg-background 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", n === "right" && "data-[state=closed]:slide-out-to-end data-[state=open]:slide-in-from-end inset-y-0 end-0 h-full w-3/4 border-s sm:max-w-sm", n === "left" && "data-[state=closed]:slide-out-to-start data-[state=open]:slide-in-from-start inset-y-0 start-0 h-full w-3/4 border-e sm:max-w-sm", n === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b", n === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t", e),
1790
1683
  ...r,
1791
- children: [t, /* @__PURE__ */ y(T.Close, {
1684
+ children: [t, /* @__PURE__ */ _(w.Close, {
1792
1685
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute end-4 top-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",
1793
- children: [/* @__PURE__ */ v(de, { className: "size-4" }), /* @__PURE__ */ v("span", {
1686
+ children: [/* @__PURE__ */ g(pe, { className: "size-4" }), /* @__PURE__ */ g("span", {
1794
1687
  className: "sr-only",
1795
1688
  children: "Close"
1796
1689
  })]
1797
1690
  })]
1798
1691
  })] });
1799
1692
  }
1800
- function ir({ className: e, ...t }) {
1801
- return /* @__PURE__ */ v("div", {
1693
+ function $n({ className: e, ...t }) {
1694
+ return /* @__PURE__ */ g("div", {
1802
1695
  "data-slot": "sheet-header",
1803
1696
  className: N("flex flex-col gap-1.5 p-4", e),
1804
1697
  ...t
1805
1698
  });
1806
1699
  }
1807
- function ar({ className: e, ...t }) {
1808
- return /* @__PURE__ */ v("div", {
1700
+ function er({ className: e, ...t }) {
1701
+ return /* @__PURE__ */ g("div", {
1809
1702
  "data-slot": "sheet-footer",
1810
1703
  className: N("mt-auto flex flex-col gap-2 p-4", e),
1811
1704
  ...t
1812
1705
  });
1813
1706
  }
1814
- function or({ className: e, ...t }) {
1815
- return /* @__PURE__ */ v(T.Title, {
1707
+ function tr({ className: e, ...t }) {
1708
+ return /* @__PURE__ */ g(w.Title, {
1816
1709
  "data-slot": "sheet-title",
1817
1710
  className: N("text-foreground font-semibold", e),
1818
1711
  ...t
1819
1712
  });
1820
1713
  }
1821
- function sr({ className: e, ...t }) {
1822
- return /* @__PURE__ */ v(T.Description, {
1714
+ function nr({ className: e, ...t }) {
1715
+ return /* @__PURE__ */ g(w.Description, {
1823
1716
  "data-slot": "sheet-description",
1824
1717
  className: N("text-muted-foreground text-sm", e),
1825
1718
  ...t
@@ -1827,20 +1720,20 @@ function sr({ className: e, ...t }) {
1827
1720
  }
1828
1721
  //#endregion
1829
1722
  //#region src/hooks/use-mobile.tsx
1830
- var cr = 768;
1831
- function lr() {
1723
+ var rr = 768;
1724
+ function ir() {
1832
1725
  let [e, t] = s.useState(void 0);
1833
1726
  return s.useEffect(() => {
1834
- let e = window.matchMedia(`(max-width: ${cr - 1}px)`), n = () => {
1835
- t(window.innerWidth < cr);
1727
+ let e = window.matchMedia(`(max-width: ${rr - 1}px)`), n = () => {
1728
+ t(window.innerWidth < rr);
1836
1729
  };
1837
- return e.addEventListener("change", n), t(window.innerWidth < cr), () => e.removeEventListener("change", n);
1730
+ return e.addEventListener("change", n), t(window.innerWidth < rr), () => e.removeEventListener("change", n);
1838
1731
  }, []), !!e;
1839
1732
  }
1840
1733
  //#endregion
1841
1734
  //#region src/components/ui/skeleton.tsx
1842
- function ur({ className: e, ...t }) {
1843
- return /* @__PURE__ */ v("div", {
1735
+ function ar({ className: e, ...t }) {
1736
+ return /* @__PURE__ */ g("div", {
1844
1737
  "data-slot": "skeleton",
1845
1738
  className: N("bg-accent animate-pulse rounded-md", e),
1846
1739
  ...t
@@ -1848,83 +1741,83 @@ function ur({ className: e, ...t }) {
1848
1741
  }
1849
1742
  //#endregion
1850
1743
  //#region src/components/ui/tooltip.tsx
1851
- function dr({ delayDuration: e = 0, ...t }) {
1852
- return /* @__PURE__ */ v(j.Provider, {
1744
+ function or({ delayDuration: e = 0, ...t }) {
1745
+ return /* @__PURE__ */ g(j.Provider, {
1853
1746
  "data-slot": "tooltip-provider",
1854
1747
  delayDuration: e,
1855
1748
  ...t
1856
1749
  });
1857
1750
  }
1858
- function fr({ ...e }) {
1859
- return /* @__PURE__ */ v(dr, { children: /* @__PURE__ */ v(j.Root, {
1751
+ function sr({ ...e }) {
1752
+ return /* @__PURE__ */ g(or, { children: /* @__PURE__ */ g(j.Root, {
1860
1753
  "data-slot": "tooltip",
1861
1754
  ...e
1862
1755
  }) });
1863
1756
  }
1864
- function pr({ ...e }) {
1865
- return /* @__PURE__ */ v(j.Trigger, {
1757
+ function cr({ ...e }) {
1758
+ return /* @__PURE__ */ g(j.Trigger, {
1866
1759
  "data-slot": "tooltip-trigger",
1867
1760
  ...e
1868
1761
  });
1869
1762
  }
1870
- function mr({ className: e, sideOffset: t = 0, children: n, ...r }) {
1871
- return /* @__PURE__ */ v(j.Portal, { children: /* @__PURE__ */ y(j.Content, {
1763
+ function lr({ className: e, sideOffset: t = 0, children: n, ...r }) {
1764
+ return /* @__PURE__ */ g(j.Portal, { children: /* @__PURE__ */ _(j.Content, {
1872
1765
  "data-slot": "tooltip-content",
1873
1766
  sideOffset: t,
1874
1767
  className: N("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance", e),
1875
1768
  ...r,
1876
- children: [n, /* @__PURE__ */ v(j.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })]
1769
+ children: [n, /* @__PURE__ */ g(j.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })]
1877
1770
  }) });
1878
1771
  }
1879
1772
  //#endregion
1880
1773
  //#region src/components/ui/sidebar.tsx
1881
- var hr = "sidebar_state", gr = 3600 * 24 * 7, _r = "16rem", vr = "18rem", yr = "3rem", br = "b", xr = s.createContext(null);
1774
+ var ur = "sidebar_state", dr = 3600 * 24 * 7, fr = "16rem", pr = "18rem", mr = "3rem", hr = "b", gr = s.createContext(null);
1882
1775
  function $() {
1883
- let e = s.useContext(xr);
1776
+ let e = s.useContext(gr);
1884
1777
  if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
1885
1778
  return e;
1886
1779
  }
1887
- function Sr({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: a, ...o }) {
1888
- let c = lr(), [l, u] = s.useState(!1), [d, f] = s.useState(e), p = t ?? d, m = s.useCallback((e) => {
1889
- let t = typeof e == "function" ? e(p) : e;
1890
- n ? n(t) : f(t), document.cookie = `${hr}=${t}; path=/; max-age=${gr}`;
1891
- }, [n, p]), h = s.useCallback(() => c ? u((e) => !e) : m((e) => !e), [
1780
+ function _r({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: a, ...o }) {
1781
+ let c = ir(), [l, u] = s.useState(!1), [ee, te] = s.useState(e), d = t ?? ee, f = s.useCallback((e) => {
1782
+ let t = typeof e == "function" ? e(d) : e;
1783
+ n ? n(t) : te(t), document.cookie = `${ur}=${t}; path=/; max-age=${dr}`;
1784
+ }, [n, d]), p = s.useCallback(() => c ? u((e) => !e) : f((e) => !e), [
1892
1785
  c,
1893
- m,
1786
+ f,
1894
1787
  u
1895
1788
  ]);
1896
1789
  s.useEffect(() => {
1897
1790
  let e = (e) => {
1898
- e.key === br && (e.metaKey || e.ctrlKey) && (e.preventDefault(), h());
1791
+ e.key === hr && (e.metaKey || e.ctrlKey) && (e.preventDefault(), p());
1899
1792
  };
1900
1793
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
1901
- }, [h]);
1902
- let g = p ? "expanded" : "collapsed", _ = s.useMemo(() => ({
1903
- state: g,
1904
- open: p,
1905
- setOpen: m,
1794
+ }, [p]);
1795
+ let m = d ? "expanded" : "collapsed", h = s.useMemo(() => ({
1796
+ state: m,
1797
+ open: d,
1798
+ setOpen: f,
1906
1799
  isMobile: c,
1907
1800
  openMobile: l,
1908
1801
  setOpenMobile: u,
1909
- toggleSidebar: h
1802
+ toggleSidebar: p
1910
1803
  }), [
1911
- g,
1912
- p,
1913
1804
  m,
1805
+ d,
1806
+ f,
1914
1807
  c,
1915
1808
  l,
1916
1809
  u,
1917
- h
1810
+ p
1918
1811
  ]);
1919
- return /* @__PURE__ */ v(xr.Provider, {
1920
- value: _,
1921
- children: /* @__PURE__ */ v(dr, {
1812
+ return /* @__PURE__ */ g(gr.Provider, {
1813
+ value: h,
1814
+ children: /* @__PURE__ */ g(or, {
1922
1815
  delayDuration: 0,
1923
- children: /* @__PURE__ */ v("div", {
1816
+ children: /* @__PURE__ */ g("div", {
1924
1817
  "data-slot": "sidebar-wrapper",
1925
1818
  style: {
1926
- "--sidebar-width": _r,
1927
- "--sidebar-width-icon": yr,
1819
+ "--sidebar-width": fr,
1820
+ "--sidebar-width-icon": mr,
1928
1821
  ...i
1929
1822
  },
1930
1823
  className: N("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex h-svh w-full overflow-hidden", r),
@@ -1934,47 +1827,47 @@ function Sr({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style
1934
1827
  })
1935
1828
  });
1936
1829
  }
1937
- function Cr({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, ...a }) {
1830
+ function vr({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, ...a }) {
1938
1831
  let { isMobile: o, state: s, openMobile: c, setOpenMobile: l } = $();
1939
- return n === "none" ? /* @__PURE__ */ v("div", {
1832
+ return n === "none" ? /* @__PURE__ */ g("div", {
1940
1833
  "data-slot": "sidebar",
1941
1834
  className: N("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", r),
1942
1835
  ...a,
1943
1836
  children: i
1944
- }) : o ? /* @__PURE__ */ v(Qn, {
1837
+ }) : o ? /* @__PURE__ */ g(qn, {
1945
1838
  open: c,
1946
1839
  onOpenChange: l,
1947
1840
  ...a,
1948
- children: /* @__PURE__ */ y(rr, {
1841
+ children: /* @__PURE__ */ _(Qn, {
1949
1842
  "data-sidebar": "sidebar",
1950
1843
  "data-slot": "sidebar",
1951
1844
  "data-mobile": "true",
1952
1845
  className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
1953
- style: { "--sidebar-width": vr },
1846
+ style: { "--sidebar-width": pr },
1954
1847
  side: e,
1955
- children: [/* @__PURE__ */ y(ir, {
1848
+ children: [/* @__PURE__ */ _($n, {
1956
1849
  className: "sr-only",
1957
- children: [/* @__PURE__ */ v(or, { children: "Sidebar" }), /* @__PURE__ */ v(sr, { children: "Displays the mobile sidebar." })]
1958
- }), /* @__PURE__ */ v("div", {
1850
+ children: [/* @__PURE__ */ g(tr, { children: "Sidebar" }), /* @__PURE__ */ g(nr, { children: "Displays the mobile sidebar." })]
1851
+ }), /* @__PURE__ */ g("div", {
1959
1852
  className: "flex h-full w-full flex-col",
1960
1853
  children: i
1961
1854
  })]
1962
1855
  })
1963
- }) : /* @__PURE__ */ y("div", {
1856
+ }) : /* @__PURE__ */ _("div", {
1964
1857
  className: "group peer text-sidebar-foreground hidden md:block",
1965
1858
  "data-state": s,
1966
1859
  "data-collapsible": s === "collapsed" ? n : "",
1967
1860
  "data-variant": t,
1968
1861
  "data-side": e,
1969
1862
  "data-slot": "sidebar",
1970
- children: [/* @__PURE__ */ v("div", {
1863
+ children: [/* @__PURE__ */ g("div", {
1971
1864
  "data-slot": "sidebar-gap",
1972
1865
  className: N("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear", "group-data-[collapsible=offcanvas]:w-0", "group-data-[side=right]:rotate-180", t === "floating" || t === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)")
1973
- }), /* @__PURE__ */ v("div", {
1866
+ }), /* @__PURE__ */ g("div", {
1974
1867
  "data-slot": "sidebar-container",
1975
1868
  className: N("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[inset-inline,width] duration-200 ease-linear md:flex", e === "left" ? "start-0 group-data-[collapsible=offcanvas]:-start-[calc(var(--sidebar-width))]" : "end-0 group-data-[collapsible=offcanvas]:-end-[calc(var(--sidebar-width))]", 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-e group-data-[side=right]:border-s", r),
1976
1869
  ...a,
1977
- children: /* @__PURE__ */ v("div", {
1870
+ children: /* @__PURE__ */ g("div", {
1978
1871
  "data-sidebar": "sidebar",
1979
1872
  "data-slot": "sidebar-inner",
1980
1873
  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",
@@ -1983,9 +1876,9 @@ function Cr({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
1983
1876
  })]
1984
1877
  });
1985
1878
  }
1986
- function wr({ className: e, onClick: t, ...n }) {
1879
+ function yr({ className: e, onClick: t, ...n }) {
1987
1880
  let { toggleSidebar: r } = $();
1988
- return /* @__PURE__ */ y(z, {
1881
+ return /* @__PURE__ */ _(z, {
1989
1882
  "data-sidebar": "trigger",
1990
1883
  "data-slot": "sidebar-trigger",
1991
1884
  variant: "ghost",
@@ -1995,15 +1888,15 @@ function wr({ className: e, onClick: t, ...n }) {
1995
1888
  t?.(e), r();
1996
1889
  },
1997
1890
  ...n,
1998
- children: [/* @__PURE__ */ v(ce, {}), /* @__PURE__ */ v("span", {
1891
+ children: [/* @__PURE__ */ g(ue, {}), /* @__PURE__ */ g("span", {
1999
1892
  className: "sr-only",
2000
1893
  children: "Toggle Sidebar"
2001
1894
  })]
2002
1895
  });
2003
1896
  }
2004
- function Tr({ className: e, ...t }) {
1897
+ function br({ className: e, ...t }) {
2005
1898
  let { toggleSidebar: n } = $();
2006
- return /* @__PURE__ */ v("button", {
1899
+ return /* @__PURE__ */ g("button", {
2007
1900
  "data-sidebar": "rail",
2008
1901
  "data-slot": "sidebar-rail",
2009
1902
  "aria-label": "Toggle Sidebar",
@@ -2014,102 +1907,102 @@ function Tr({ className: e, ...t }) {
2014
1907
  ...t
2015
1908
  });
2016
1909
  }
2017
- function Er({ className: e, ...t }) {
2018
- return /* @__PURE__ */ v("div", {
1910
+ function xr({ className: e, ...t }) {
1911
+ return /* @__PURE__ */ g("div", {
2019
1912
  "data-slot": "sidebar-inset",
2020
1913
  className: N("bg-background relative flex w-full flex-1 flex-col overflow-y-auto", "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ms-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ms-2", e),
2021
1914
  ...t
2022
1915
  });
2023
1916
  }
2024
- function Dr({ className: e, ...t }) {
2025
- return /* @__PURE__ */ v(J, {
1917
+ function Sr({ className: e, ...t }) {
1918
+ return /* @__PURE__ */ g(J, {
2026
1919
  "data-slot": "sidebar-input",
2027
1920
  "data-sidebar": "input",
2028
1921
  className: N("bg-background h-8 w-full shadow-none", e),
2029
1922
  ...t
2030
1923
  });
2031
1924
  }
2032
- function Or({ className: e, ...t }) {
2033
- return /* @__PURE__ */ v("div", {
1925
+ function Cr({ className: e, ...t }) {
1926
+ return /* @__PURE__ */ g("div", {
2034
1927
  "data-slot": "sidebar-header",
2035
1928
  "data-sidebar": "header",
2036
1929
  className: N("flex flex-col gap-2 p-2", e),
2037
1930
  ...t
2038
1931
  });
2039
1932
  }
2040
- function kr({ className: e, ...t }) {
2041
- return /* @__PURE__ */ v("div", {
1933
+ function wr({ className: e, ...t }) {
1934
+ return /* @__PURE__ */ g("div", {
2042
1935
  "data-slot": "sidebar-footer",
2043
1936
  "data-sidebar": "footer",
2044
1937
  className: N("flex flex-col gap-2 p-2", e),
2045
1938
  ...t
2046
1939
  });
2047
1940
  }
2048
- function Ar({ className: e, ...t }) {
2049
- return /* @__PURE__ */ v(Zn, {
1941
+ function Tr({ className: e, ...t }) {
1942
+ return /* @__PURE__ */ g(Kn, {
2050
1943
  "data-slot": "sidebar-separator",
2051
1944
  "data-sidebar": "separator",
2052
1945
  className: N("bg-sidebar-border mx-2 w-auto", e),
2053
1946
  ...t
2054
1947
  });
2055
1948
  }
2056
- function jr({ className: e, ...t }) {
2057
- return /* @__PURE__ */ v("div", {
1949
+ function Er({ className: e, ...t }) {
1950
+ return /* @__PURE__ */ g("div", {
2058
1951
  "data-slot": "sidebar-content",
2059
1952
  "data-sidebar": "content",
2060
1953
  className: N("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden", e),
2061
1954
  ...t
2062
1955
  });
2063
1956
  }
2064
- function Mr({ className: e, ...t }) {
2065
- return /* @__PURE__ */ v("div", {
1957
+ function Dr({ className: e, ...t }) {
1958
+ return /* @__PURE__ */ g("div", {
2066
1959
  "data-slot": "sidebar-group",
2067
1960
  "data-sidebar": "group",
2068
1961
  className: N("relative flex w-full min-w-0 flex-col p-2", e),
2069
1962
  ...t
2070
1963
  });
2071
1964
  }
2072
- function Nr({ className: e, asChild: t = !1, ...n }) {
2073
- return /* @__PURE__ */ v(t ? S : "div", {
1965
+ function Or({ className: e, asChild: t = !1, ...n }) {
1966
+ return /* @__PURE__ */ g(t ? b : "div", {
2074
1967
  "data-slot": "sidebar-group-label",
2075
1968
  "data-sidebar": "group-label",
2076
1969
  className: N("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", "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0", e),
2077
1970
  ...n
2078
1971
  });
2079
1972
  }
2080
- function Pr({ className: e, asChild: t = !1, ...n }) {
2081
- return /* @__PURE__ */ v(t ? S : "button", {
1973
+ function kr({ className: e, asChild: t = !1, ...n }) {
1974
+ return /* @__PURE__ */ g(t ? b : "button", {
2082
1975
  "data-slot": "sidebar-group-action",
2083
1976
  "data-sidebar": "group-action",
2084
1977
  className: N("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute end-3 top-3.5 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", "after:absolute after:-inset-2 md:after:hidden", "group-data-[collapsible=icon]:hidden", e),
2085
1978
  ...n
2086
1979
  });
2087
1980
  }
2088
- function Fr({ className: e, ...t }) {
2089
- return /* @__PURE__ */ v("div", {
1981
+ function Ar({ className: e, ...t }) {
1982
+ return /* @__PURE__ */ g("div", {
2090
1983
  "data-slot": "sidebar-group-content",
2091
1984
  "data-sidebar": "group-content",
2092
1985
  className: N("w-full text-sm", e),
2093
1986
  ...t
2094
1987
  });
2095
1988
  }
2096
- function Ir({ className: e, ...t }) {
2097
- return /* @__PURE__ */ v("ul", {
1989
+ function jr({ className: e, ...t }) {
1990
+ return /* @__PURE__ */ g("ul", {
2098
1991
  "data-slot": "sidebar-menu",
2099
1992
  "data-sidebar": "menu",
2100
1993
  className: N("flex w-full min-w-0 flex-col gap-1", e),
2101
1994
  ...t
2102
1995
  });
2103
1996
  }
2104
- function Lr({ className: e, ...t }) {
2105
- return /* @__PURE__ */ v("li", {
1997
+ function Mr({ className: e, ...t }) {
1998
+ return /* @__PURE__ */ g("li", {
2106
1999
  "data-slot": "sidebar-menu-item",
2107
2000
  "data-sidebar": "menu-item",
2108
2001
  className: N("group/menu-item relative", e),
2109
2002
  ...t
2110
2003
  });
2111
2004
  }
2112
- var Rr = b("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-start 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:pe-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", {
2005
+ var Nr = v("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-start 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:pe-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", {
2113
2006
  variants: {
2114
2007
  variant: {
2115
2008
  default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
@@ -2126,79 +2019,79 @@ var Rr = b("peer/menu-button flex w-full items-center gap-2 overflow-hidden roun
2126
2019
  size: "default"
2127
2020
  }
2128
2021
  });
2129
- function zr({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: a, ...o }) {
2130
- let s = e ? S : "button", { isMobile: c, state: l } = $(), u = /* @__PURE__ */ v(s, {
2022
+ function Pr({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: a, ...o }) {
2023
+ let s = e ? b : "button", { isMobile: c, state: l } = $(), u = /* @__PURE__ */ g(s, {
2131
2024
  "data-slot": "sidebar-menu-button",
2132
2025
  "data-sidebar": "menu-button",
2133
2026
  "data-size": r,
2134
2027
  "data-active": t,
2135
- className: N(Rr({
2028
+ className: N(Nr({
2136
2029
  variant: n,
2137
2030
  size: r
2138
2031
  }), a),
2139
2032
  ...o
2140
2033
  });
2141
- return i ? (typeof i == "string" && (i = { children: i }), /* @__PURE__ */ y(fr, { children: [/* @__PURE__ */ v(pr, {
2034
+ return i ? (typeof i == "string" && (i = { children: i }), /* @__PURE__ */ _(sr, { children: [/* @__PURE__ */ g(cr, {
2142
2035
  asChild: !0,
2143
2036
  children: u
2144
- }), /* @__PURE__ */ v(mr, {
2037
+ }), /* @__PURE__ */ g(lr, {
2145
2038
  side: "right",
2146
2039
  align: "center",
2147
2040
  hidden: l !== "collapsed" || c,
2148
2041
  ...i
2149
2042
  })] })) : u;
2150
2043
  }
2151
- function Br({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2152
- return /* @__PURE__ */ v(t ? S : "button", {
2044
+ function Fr({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2045
+ return /* @__PURE__ */ g(t ? b : "button", {
2153
2046
  "data-slot": "sidebar-menu-action",
2154
2047
  "data-sidebar": "menu-action",
2155
2048
  className: N("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute end-1 top-1.5 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", "after:absolute after:-inset-2 md:after:hidden", "peer-data-[size=sm]/menu-button:top-1", "peer-data-[size=default]/menu-button:top-1.5", "peer-data-[size=lg]/menu-button:top-2.5", "group-data-[collapsible=icon]:hidden", n && "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", e),
2156
2049
  ...r
2157
2050
  });
2158
2051
  }
2159
- function Vr({ className: e, ...t }) {
2160
- return /* @__PURE__ */ v("div", {
2052
+ function Ir({ className: e, ...t }) {
2053
+ return /* @__PURE__ */ g("div", {
2161
2054
  "data-slot": "sidebar-menu-badge",
2162
2055
  "data-sidebar": "menu-badge",
2163
2056
  className: N("text-sidebar-foreground pointer-events-none absolute end-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none", "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground", "peer-data-[size=sm]/menu-button:top-1", "peer-data-[size=default]/menu-button:top-1.5", "peer-data-[size=lg]/menu-button:top-2.5", "group-data-[collapsible=icon]:hidden", e),
2164
2057
  ...t
2165
2058
  });
2166
2059
  }
2167
- function Hr({ className: e, showIcon: t = !1, ...n }) {
2060
+ function Lr({ className: e, showIcon: t = !1, ...n }) {
2168
2061
  let r = s.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
2169
- return /* @__PURE__ */ y("div", {
2062
+ return /* @__PURE__ */ _("div", {
2170
2063
  "data-slot": "sidebar-menu-skeleton",
2171
2064
  "data-sidebar": "menu-skeleton",
2172
2065
  className: N("flex h-8 items-center gap-2 rounded-md px-2", e),
2173
2066
  ...n,
2174
- children: [t && /* @__PURE__ */ v(ur, {
2067
+ children: [t && /* @__PURE__ */ g(ar, {
2175
2068
  className: "size-4 rounded-md",
2176
2069
  "data-sidebar": "menu-skeleton-icon"
2177
- }), /* @__PURE__ */ v(ur, {
2070
+ }), /* @__PURE__ */ g(ar, {
2178
2071
  className: "h-4 max-w-(--skeleton-width) flex-1",
2179
2072
  "data-sidebar": "menu-skeleton-text",
2180
2073
  style: { "--skeleton-width": r }
2181
2074
  })]
2182
2075
  });
2183
2076
  }
2184
- function Ur({ className: e, ...t }) {
2185
- return /* @__PURE__ */ v("ul", {
2077
+ function Rr({ className: e, ...t }) {
2078
+ return /* @__PURE__ */ g("ul", {
2186
2079
  "data-slot": "sidebar-menu-sub",
2187
2080
  "data-sidebar": "menu-sub",
2188
2081
  className: N("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-s px-2.5 py-0.5", "group-data-[collapsible=icon]:hidden", e),
2189
2082
  ...t
2190
2083
  });
2191
2084
  }
2192
- function Wr({ className: e, ...t }) {
2193
- return /* @__PURE__ */ v("li", {
2085
+ function zr({ className: e, ...t }) {
2086
+ return /* @__PURE__ */ g("li", {
2194
2087
  "data-slot": "sidebar-menu-sub-item",
2195
2088
  "data-sidebar": "menu-sub-item",
2196
2089
  className: N("group/menu-sub-item relative", e),
2197
2090
  ...t
2198
2091
  });
2199
2092
  }
2200
- function Gr({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
2201
- return /* @__PURE__ */ v(e ? S : "a", {
2093
+ function Br({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
2094
+ return /* @__PURE__ */ g(e ? b : "a", {
2202
2095
  "data-slot": "sidebar-menu-sub-button",
2203
2096
  "data-sidebar": "menu-sub-button",
2204
2097
  "data-size": t,
@@ -2208,10 +2101,23 @@ function Gr({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, .
2208
2101
  });
2209
2102
  }
2210
2103
  //#endregion
2104
+ //#region src/context/theme-provider.tsx
2105
+ var Vr = "system", Hr = c({
2106
+ defaultTheme: Vr,
2107
+ resolvedTheme: "light",
2108
+ theme: Vr,
2109
+ setTheme: () => null,
2110
+ resetTheme: () => null
2111
+ }), Ur = () => {
2112
+ let e = l(Hr);
2113
+ if (!e) throw Error("useTheme must be used within a ThemeProvider");
2114
+ return e;
2115
+ };
2116
+ //#endregion
2211
2117
  //#region src/components/ui/sonner.tsx
2212
- function Kr({ ...e }) {
2213
- let { theme: t = "system" } = Lt();
2214
- return /* @__PURE__ */ v(r, {
2118
+ function Wr({ ...e }) {
2119
+ let { theme: t = "system" } = Ur();
2120
+ return /* @__PURE__ */ g(r, {
2215
2121
  theme: t,
2216
2122
  className: "toaster group [&_div[data-content]]:w-full",
2217
2123
  toastOptions: { classNames: {
@@ -2231,12 +2137,12 @@ function Kr({ ...e }) {
2231
2137
  }
2232
2138
  //#endregion
2233
2139
  //#region src/components/ui/switch.tsx
2234
- function qr({ className: e, ...t }) {
2235
- return /* @__PURE__ */ v(Oe.Root, {
2140
+ function Gr({ className: e, ...t }) {
2141
+ return /* @__PURE__ */ g(De.Root, {
2236
2142
  "data-slot": "switch",
2237
2143
  className: N("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", e),
2238
2144
  ...t,
2239
- children: /* @__PURE__ */ v(Oe.Thumb, {
2145
+ children: /* @__PURE__ */ g(De.Thumb, {
2240
2146
  "data-slot": "switch-thumb",
2241
2147
  className: N("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 rtl:data-[state=checked]:-translate-x-[calc(100%-2px)]")
2242
2148
  })
@@ -2244,62 +2150,62 @@ function qr({ className: e, ...t }) {
2244
2150
  }
2245
2151
  //#endregion
2246
2152
  //#region src/components/ui/table.tsx
2247
- function Jr({ className: e, noWrapper: t, ...n }) {
2248
- let r = /* @__PURE__ */ v("table", {
2153
+ function Kr({ className: e, noWrapper: t, ...n }) {
2154
+ let r = /* @__PURE__ */ g("table", {
2249
2155
  "data-slot": "table",
2250
2156
  className: N("w-full caption-bottom text-sm", e),
2251
2157
  ...n
2252
2158
  });
2253
- return t ? r : /* @__PURE__ */ v("div", {
2159
+ return t ? r : /* @__PURE__ */ g("div", {
2254
2160
  "data-slot": "table-container",
2255
2161
  className: "relative w-full overflow-x-auto",
2256
2162
  children: r
2257
2163
  });
2258
2164
  }
2259
- function Yr({ className: e, ...t }) {
2260
- return /* @__PURE__ */ v("thead", {
2165
+ function qr({ className: e, ...t }) {
2166
+ return /* @__PURE__ */ g("thead", {
2261
2167
  "data-slot": "table-header",
2262
2168
  className: N("[&_tr]:border-b", e),
2263
2169
  ...t
2264
2170
  });
2265
2171
  }
2266
- function Xr({ className: e, ...t }) {
2267
- return /* @__PURE__ */ v("tbody", {
2172
+ function Jr({ className: e, ...t }) {
2173
+ return /* @__PURE__ */ g("tbody", {
2268
2174
  "data-slot": "table-body",
2269
2175
  className: N("[&_tr:last-child]:border-0", e),
2270
2176
  ...t
2271
2177
  });
2272
2178
  }
2273
- function Zr({ className: e, ...t }) {
2274
- return /* @__PURE__ */ v("tfoot", {
2179
+ function Yr({ className: e, ...t }) {
2180
+ return /* @__PURE__ */ g("tfoot", {
2275
2181
  "data-slot": "table-footer",
2276
2182
  className: N("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", e),
2277
2183
  ...t
2278
2184
  });
2279
2185
  }
2280
- function Qr({ className: e, ...t }) {
2281
- return /* @__PURE__ */ v("tr", {
2186
+ function Xr({ className: e, ...t }) {
2187
+ return /* @__PURE__ */ g("tr", {
2282
2188
  "data-slot": "table-row",
2283
2189
  className: N("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", e),
2284
2190
  ...t
2285
2191
  });
2286
2192
  }
2287
- function $r({ className: e, ...t }) {
2288
- return /* @__PURE__ */ v("th", {
2193
+ function Zr({ className: e, ...t }) {
2194
+ return /* @__PURE__ */ g("th", {
2289
2195
  "data-slot": "table-head",
2290
2196
  className: N("text-foreground h-10 px-2 text-start align-middle font-medium whitespace-nowrap [&>[role=checkbox]]:translate-y-[2px]", e),
2291
2197
  ...t
2292
2198
  });
2293
2199
  }
2294
- function ei({ className: e, ...t }) {
2295
- return /* @__PURE__ */ v("td", {
2200
+ function Qr({ className: e, ...t }) {
2201
+ return /* @__PURE__ */ g("td", {
2296
2202
  "data-slot": "table-cell",
2297
2203
  className: N("p-2 align-middle whitespace-nowrap [&>[role=checkbox]]:translate-y-[2px]", e),
2298
2204
  ...t
2299
2205
  });
2300
2206
  }
2301
- function ti({ className: e, ...t }) {
2302
- return /* @__PURE__ */ v("caption", {
2207
+ function $r({ className: e, ...t }) {
2208
+ return /* @__PURE__ */ g("caption", {
2303
2209
  "data-slot": "table-caption",
2304
2210
  className: N("text-muted-foreground mt-4 text-sm", e),
2305
2211
  ...t
@@ -2307,29 +2213,29 @@ function ti({ className: e, ...t }) {
2307
2213
  }
2308
2214
  //#endregion
2309
2215
  //#region src/components/ui/tabs.tsx
2310
- function ni({ className: e, ...t }) {
2311
- return /* @__PURE__ */ v(M.Root, {
2216
+ function ei({ className: e, ...t }) {
2217
+ return /* @__PURE__ */ g(M.Root, {
2312
2218
  "data-slot": "tabs",
2313
2219
  className: N("flex flex-col gap-2", e),
2314
2220
  ...t
2315
2221
  });
2316
2222
  }
2317
- function ri({ className: e, ...t }) {
2318
- return /* @__PURE__ */ v(M.List, {
2223
+ function ti({ className: e, ...t }) {
2224
+ return /* @__PURE__ */ g(M.List, {
2319
2225
  "data-slot": "tabs-list",
2320
2226
  className: N("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]", e),
2321
2227
  ...t
2322
2228
  });
2323
2229
  }
2324
- function ii({ className: e, ...t }) {
2325
- return /* @__PURE__ */ v(M.Trigger, {
2230
+ function ni({ className: e, ...t }) {
2231
+ return /* @__PURE__ */ g(M.Trigger, {
2326
2232
  "data-slot": "tabs-trigger",
2327
2233
  className: N("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent 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", e),
2328
2234
  ...t
2329
2235
  });
2330
2236
  }
2331
- function ai({ className: e, ...t }) {
2332
- return /* @__PURE__ */ v(M.Content, {
2237
+ function ri({ className: e, ...t }) {
2238
+ return /* @__PURE__ */ g(M.Content, {
2333
2239
  "data-slot": "tabs-content",
2334
2240
  className: N("flex-1 outline-none", e),
2335
2241
  ...t
@@ -2337,14 +2243,14 @@ function ai({ className: e, ...t }) {
2337
2243
  }
2338
2244
  //#endregion
2339
2245
  //#region src/components/ui/textarea.tsx
2340
- function oi({ className: e, ...t }) {
2341
- return /* @__PURE__ */ v("textarea", {
2246
+ function ii({ className: e, ...t }) {
2247
+ return /* @__PURE__ */ g("textarea", {
2342
2248
  "data-slot": "textarea",
2343
2249
  className: N("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 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", e),
2344
2250
  ...t
2345
2251
  });
2346
2252
  }
2347
2253
  //#endregion
2348
- export { tt as Accordion, it as AccordionContent, nt as AccordionItem, rt as AccordionTrigger, ot as Alert, ct as AlertDescription, lt as AlertDialog, vt as AlertDialogAction, yt as AlertDialogCancel, pt as AlertDialogContent, _t as AlertDialogDescription, ht as AlertDialogFooter, mt as AlertDialogHeader, ft as AlertDialogOverlay, dt as AlertDialogPortal, gt as AlertDialogTitle, ut as AlertDialogTrigger, st as AlertTitle, bt as Avatar, St as AvatarFallback, xt as AvatarImage, wt as Badge, z as Button, Tt as Calendar, Et as CalendarDayButton, Dt as Card, jt as CardAction, Mt as CardContent, At as CardDescription, Nt as CardFooter, Ot as CardHeader, kt as CardTitle, Pt as Checkbox, Rt as CodeEditor, zt as Collapsible, Vt as CollapsibleContent, Bt as CollapsibleTrigger, B as Command, Qt as CommandDialog, U as CommandEmpty, W as CommandGroup, V as CommandInput, G as CommandItem, H as CommandList, $t as CommandSeparator, en as CommandShortcut, Ht as Dialog, Gt as DialogClose, qt as DialogContent, Zt as DialogDescription, Yt as DialogFooter, Jt as DialogHeader, Kt as DialogOverlay, Wt as DialogPortal, Xt as DialogTitle, Ut as DialogTrigger, tn as DropdownMenu, cn as DropdownMenuCheckboxItem, an as DropdownMenuContent, on as DropdownMenuGroup, sn as DropdownMenuItem, dn as DropdownMenuLabel, nn as DropdownMenuPortal, ln as DropdownMenuRadioGroup, un as DropdownMenuRadioItem, fn as DropdownMenuSeparator, pn as DropdownMenuShortcut, mn as DropdownMenuSub, gn as DropdownMenuSubContent, hn as DropdownMenuSubTrigger, rn as DropdownMenuTrigger, _n as Form, Cn as FormControl, wn as FormDescription, yn as FormField, xn as FormItem, Sn as FormLabel, Tn as FormMessage, En as ImageUpload, J as Input, Dn as InputOTP, On as InputOTPGroup, An as InputOTPSeparator, kn as InputOTPSlot, K as Label, Mn as MultiSelect, Pn as PhoneInput, Y as Popover, jn as PopoverAnchor, Z as PopoverContent, X as PopoverTrigger, Rn as Progress, zn as RadioGroup, Bn as RadioGroupItem, Ne as SPANISH_SYMBOLS, Nn as ScrollArea, Q as ScrollBar, Vn as Select, Gn as SelectContent, Hn as SelectGroup, qn as SelectItem, Kn as SelectLabel, Xn as SelectScrollDownButton, Yn as SelectScrollUpButton, Jn as SelectSeparator, Wn as SelectTrigger, Un as SelectValue, Zn as Separator, Qn as Sheet, er as SheetClose, rr as SheetContent, sr as SheetDescription, ar as SheetFooter, ir as SheetHeader, or as SheetTitle, $n as SheetTrigger, Cr as Sidebar, jr as SidebarContent, kr as SidebarFooter, Mr as SidebarGroup, Pr as SidebarGroupAction, Fr as SidebarGroupContent, Nr as SidebarGroupLabel, Or as SidebarHeader, Dr as SidebarInput, Er as SidebarInset, Ir as SidebarMenu, Br as SidebarMenuAction, Vr as SidebarMenuBadge, zr as SidebarMenuButton, Lr as SidebarMenuItem, Hr as SidebarMenuSkeleton, Ur as SidebarMenuSub, Gr as SidebarMenuSubButton, Wr as SidebarMenuSubItem, Sr as SidebarProvider, Tr as SidebarRail, Ar as SidebarSeparator, wr as SidebarTrigger, ur as Skeleton, qr as Switch, Jr as Table, Xr as TableBody, ti as TableCaption, ei as TableCell, Zr as TableFooter, $r as TableHead, Yr as TableHeader, Qr as TableRow, ni as Tabs, ai as TabsContent, ri as TabsList, ii as TabsTrigger, oi as Textarea, Kr as Toaster, fr as Tooltip, mr as TooltipContent, dr as TooltipProvider, pr as TooltipTrigger, L as api, Ct as badgeVariants, R as buttonVariants, N as cn, Le as fmtCurrency, Pe as formatCurrency, Ge as generateBadgeStyles, Re as getAllTimezones, qe as getCookie, Ve as getCountries, Fe as getCurrencySymbol, Ae as getImageUrl, Me as getPageNumbers, ke as getStorageUrl, et as handleServerError, Ze as notificationManager, Xe as playNotificationSound, $e as pushService, Ye as removeCookie, We as resolveColorCss, Ue as resolveColorHex, Je as setCookie, je as sleep, q as useFormField, Ie as useFormatCurrency, $ as useSidebar };
2254
+ export { et as Accordion, rt as AccordionContent, tt as AccordionItem, nt as AccordionTrigger, at as Alert, st as AlertDescription, ct as AlertDialog, _t as AlertDialogAction, vt as AlertDialogCancel, ft as AlertDialogContent, gt as AlertDialogDescription, mt as AlertDialogFooter, pt as AlertDialogHeader, dt as AlertDialogOverlay, ut as AlertDialogPortal, ht as AlertDialogTitle, lt as AlertDialogTrigger, ot as AlertTitle, yt as Avatar, xt as AvatarFallback, bt as AvatarImage, Ct as Badge, z as Button, wt as Calendar, Tt as CalendarDayButton, Et as Card, At as CardAction, jt as CardContent, kt as CardDescription, Mt as CardFooter, Dt as CardHeader, Ot as CardTitle, Nt as Checkbox, Pt as Collapsible, It as CollapsibleContent, Ft as CollapsibleTrigger, B as Command, qt as CommandDialog, U as CommandEmpty, W as CommandGroup, V as CommandInput, G as CommandItem, H as CommandList, Jt as CommandSeparator, Yt as CommandShortcut, Lt as Dialog, Bt as DialogClose, Ht as DialogContent, Kt as DialogDescription, Wt as DialogFooter, Ut as DialogHeader, Vt as DialogOverlay, zt as DialogPortal, Gt as DialogTitle, Rt as DialogTrigger, Xt as DropdownMenu, nn as DropdownMenuCheckboxItem, $t as DropdownMenuContent, en as DropdownMenuGroup, tn as DropdownMenuItem, on as DropdownMenuLabel, Zt as DropdownMenuPortal, rn as DropdownMenuRadioGroup, an as DropdownMenuRadioItem, sn as DropdownMenuSeparator, cn as DropdownMenuShortcut, ln as DropdownMenuSub, dn as DropdownMenuSubContent, un as DropdownMenuSubTrigger, Qt as DropdownMenuTrigger, fn as Form, vn as FormControl, yn as FormDescription, mn as FormField, gn as FormItem, _n as FormLabel, bn as FormMessage, xn as ImageUpload, J as Input, Sn as InputOTP, Cn as InputOTPGroup, Tn as InputOTPSeparator, wn as InputOTPSlot, K as Label, Dn as MultiSelect, kn as PhoneInput, Y as Popover, En as PopoverAnchor, Z as PopoverContent, X as PopoverTrigger, Nn as Progress, Pn as RadioGroup, Fn as RadioGroupItem, Me as SPANISH_SYMBOLS, Q as ScrollArea, On as ScrollBar, In as Select, Bn as SelectContent, Ln as SelectGroup, Hn as SelectItem, Vn as SelectLabel, Gn as SelectScrollDownButton, Wn as SelectScrollUpButton, Un as SelectSeparator, zn as SelectTrigger, Rn as SelectValue, Kn as Separator, qn as Sheet, Yn as SheetClose, Qn as SheetContent, nr as SheetDescription, er as SheetFooter, $n as SheetHeader, tr as SheetTitle, Jn as SheetTrigger, vr as Sidebar, Er as SidebarContent, wr as SidebarFooter, Dr as SidebarGroup, kr as SidebarGroupAction, Ar as SidebarGroupContent, Or as SidebarGroupLabel, Cr as SidebarHeader, Sr as SidebarInput, xr as SidebarInset, jr as SidebarMenu, Fr as SidebarMenuAction, Ir as SidebarMenuBadge, Pr as SidebarMenuButton, Mr as SidebarMenuItem, Lr as SidebarMenuSkeleton, Rr as SidebarMenuSub, Br as SidebarMenuSubButton, zr as SidebarMenuSubItem, _r as SidebarProvider, br as SidebarRail, Tr as SidebarSeparator, yr as SidebarTrigger, ar as Skeleton, Gr as Switch, Kr as Table, Jr as TableBody, $r as TableCaption, Qr as TableCell, Yr as TableFooter, Zr as TableHead, qr as TableHeader, Xr as TableRow, ei as Tabs, ri as TabsContent, ti as TabsList, ni as TabsTrigger, ii as Textarea, Wr as Toaster, sr as Tooltip, lr as TooltipContent, or as TooltipProvider, cr as TooltipTrigger, L as api, St as badgeVariants, R as buttonVariants, N as cn, Ie as fmtCurrency, Ne as formatCurrency, We as generateBadgeStyles, Le as getAllTimezones, Ke as getCookie, Be as getCountries, Pe as getCurrencySymbol, ke as getImageUrl, je as getPageNumbers, Oe as getStorageUrl, $e as handleServerError, Xe as notificationManager, Ye as playNotificationSound, Qe as pushService, Je as removeCookie, Ue as resolveColorCss, He as resolveColorHex, qe as setCookie, Ae as sleep, q as useFormField, Fe as useFormatCurrency, $ as useSidebar };
2349
2255
 
2350
2256
  //# sourceMappingURL=index.js.map