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