@plyaz/ui 0.9.1 → 0.10.1

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/client.es.js CHANGED
@@ -1,46 +1,46 @@
1
- import { TextReveal as Kr } from "./client/reveal-text.es.js";
2
- import { AlertDialog as $r, AlertDialogAction as Jr, AlertDialogCancel as Qr, AlertDialogContent as Zr, AlertDialogDescription as jr, AlertDialogFooter as qr, AlertDialogHeader as Xr, AlertDialogOverlay as Yr, AlertDialogPortal as ea, AlertDialogTitle as ta, AlertDialogTrigger as ra } from "./client/alert-dialog.es.js";
3
- import { Calendar as oa, CalendarDayButton as na } from "./client/calendar.es.js";
4
- import { Carousel as sa, CarouselContent as da, CarouselItem as la, CarouselNext as ua, CarouselPrevious as ca } from "./client/carousel.es.js";
5
- import { Combobox as fa } from "./client/combobox.es.js";
6
- import { InputOTP as ba, InputOTPGroup as ga, InputOTPSeparator as ha, InputOTPSlot as xa } from "./client/input-otp.es.js";
7
- import { Slider as Aa } from "./client/slider.es.js";
8
- import { Progress as ya } from "./client/progress.es.js";
9
- import { Accordion as Ca, AccordionContent as Ma, AccordionItem as Ia, AccordionTrigger as Na } from "./client/accordion.es.js";
10
- import { Avatar as _a, AvatarFallback as Ea, AvatarImage as Ta } from "./client/avatar.es.js";
11
- import { Checkbox as Fa } from "./client/checkbox.es.js";
12
- import { ContextMenu as Pa, ContextMenuCheckboxItem as Oa, ContextMenuContent as Va, ContextMenuGroup as Ba, ContextMenuItem as La, ContextMenuLabel as Ga, ContextMenuPortal as Ha, ContextMenuRadioGroup as za, ContextMenuRadioItem as Ua, ContextMenuSeparator as Ka, ContextMenuShortcut as Wa, ContextMenuSub as $a, ContextMenuSubContent as Ja, ContextMenuSubTrigger as Qa, ContextMenuTrigger as Za } from "./client/context-menu.es.js";
13
- import { DropdownMenu as qa, DropdownMenuCheckboxItem as Xa, DropdownMenuContent as Ya, DropdownMenuGroup as eo, DropdownMenuItem as to, DropdownMenuLabel as ro, DropdownMenuPortal as ao, DropdownMenuRadioGroup as oo, DropdownMenuRadioItem as no, DropdownMenuSeparator as io, DropdownMenuShortcut as so, DropdownMenuSub as lo, DropdownMenuSubContent as uo, DropdownMenuSubTrigger as co, DropdownMenuTrigger as mo } from "./client/dropdown-menu.es.js";
14
- import { HoverCard as po, HoverCardContent as bo, HoverCardTrigger as go } from "./client/hover-card.es.js";
15
- import { RadioGroup as xo, RadioGroupItem as vo } from "./client/radio-group.es.js";
16
- import { ScrollArea as wo, ScrollBar as yo } from "./client/scroll-area.es.js";
17
- import { Switch as Co } from "./client/switch.es.js";
18
- import { Tabs as Io, TabsContent as No, TabsList as Do, TabsTrigger as _o } from "./client/tabs.es.js";
19
- import { Tooltip as be, TooltipTrigger as ge, TooltipContent as he, TooltipProvider as xe } from "./client/tooltip.es.js";
20
- import { Command as J, CommandList as Q, CommandInput as ve, CommandEmpty as Ae, CommandGroup as we, CommandItem as ye } from "./client/command.es.js";
21
- import { CommandDialog as To, CommandSeparator as ko, CommandShortcut as Fo } from "./client/command.es.js";
22
- import { Dialog as Po, DialogClose as Oo, DialogContent as Vo, DialogDescription as Bo, DialogFooter as Lo, DialogHeader as Go, DialogOverlay as Ho, DialogPortal as zo, DialogTitle as Uo, DialogTrigger as Ko } from "./client/dialog.es.js";
23
- import { Drawer as $o, DrawerClose as Jo, DrawerContent as Qo, DrawerDescription as Zo, DrawerFooter as jo, DrawerHeader as qo, DrawerOverlay as Xo, DrawerPortal as Yo, DrawerTitle as en, DrawerTrigger as tn } from "./client/drawer.es.js";
24
- import { Sheet as Se, SheetContent as Ce, SheetHeader as Me, SheetTitle as Ie, SheetDescription as Ne } from "./client/sheet.es.js";
25
- import { SheetClose as an, SheetFooter as on, SheetTrigger as nn } from "./client/sheet.es.js";
26
- import { Toaster as dn } from "./client/toaster.es.js";
27
- import { Toggle as un } from "./client/toggle.es.js";
28
- import { Label as De } from "./client/label.es.js";
29
- import { Menubar as mn, MenubarCheckboxItem as fn, MenubarContent as pn, MenubarGroup as bn, MenubarItem as gn, MenubarLabel as hn, MenubarMenu as xn, MenubarPortal as vn, MenubarRadioGroup as An, MenubarRadioItem as wn, MenubarSeparator as yn, MenubarShortcut as Sn, MenubarSub as Cn, MenubarSubContent as Mn, MenubarSubTrigger as In, MenubarTrigger as Nn } from "./client/menu-bar.es.js";
30
- import { Popover as _e, PopoverContent as Ee, PopoverTrigger as Te } from "./client/popover.es.js";
31
- import { PopoverAnchor as _n } from "./client/popover.es.js";
32
- import { jsx as n, jsxs as N, Fragment as ke } from "react/jsx-runtime";
33
- import * as v from "react";
34
- import m, { createContext as Fe, useState as P, useCallback as z, useEffect as Re, useRef as Z, useContext as Pe } from "react";
35
- import { Slot as T } from "@radix-ui/react-slot";
36
- import { cva as Oe } from "class-variance-authority";
37
- import { PanelLeftIcon as Ve, CheckIcon as Be, ChevronsUpDownIcon as Le, XIcon as Ge } from "lucide-react";
38
- import { c } from "./utils-B6yFEsav.js";
39
- import { I as He, B as j } from "./Textarea-BfrJwucE.js";
40
- import { B as ae } from "./Button-B7sEajdG.js";
1
+ import { TextReveal as $r } from "./client/reveal-text.es.js";
2
+ import { AlertDialog as Qr, AlertDialogAction as Zr, AlertDialogCancel as jr, AlertDialogContent as qr, AlertDialogDescription as Xr, AlertDialogFooter as Yr, AlertDialogHeader as ea, AlertDialogOverlay as ta, AlertDialogPortal as ra, AlertDialogTitle as aa, AlertDialogTrigger as oa } from "./client/alert-dialog.es.js";
3
+ import { Calendar as ia, CalendarDayButton as sa } from "./client/calendar.es.js";
4
+ import { Carousel as la, CarouselContent as ua, CarouselItem as ca, CarouselNext as ma, CarouselPrevious as fa } from "./client/carousel.es.js";
5
+ import { Combobox as ba } from "./client/combobox.es.js";
6
+ import { InputOTP as ha, InputOTPGroup as xa, InputOTPSeparator as va, InputOTPSlot as Aa } from "./client/input-otp.es.js";
7
+ import { Slider as ya } from "./client/slider.es.js";
8
+ import { Progress as Sa } from "./client/progress.es.js";
9
+ import { Accordion as Ia, AccordionContent as Na, AccordionItem as Da, AccordionTrigger as _a } from "./client/accordion.es.js";
10
+ import { Avatar as ka, AvatarFallback as Fa, AvatarImage as Ta } from "./client/avatar.es.js";
11
+ import { Checkbox as Ra } from "./client/checkbox.es.js";
12
+ import { ContextMenu as Va, ContextMenuCheckboxItem as Ba, ContextMenuContent as La, ContextMenuGroup as Ga, ContextMenuItem as Ha, ContextMenuLabel as za, ContextMenuPortal as Ua, ContextMenuRadioGroup as Ka, ContextMenuRadioItem as Wa, ContextMenuSeparator as $a, ContextMenuShortcut as Ja, ContextMenuSub as Qa, ContextMenuSubContent as Za, ContextMenuSubTrigger as ja, ContextMenuTrigger as qa } from "./client/context-menu.es.js";
13
+ import { DropdownMenu as Ya, DropdownMenuCheckboxItem as eo, DropdownMenuContent as to, DropdownMenuGroup as ro, DropdownMenuItem as ao, DropdownMenuLabel as oo, DropdownMenuPortal as no, DropdownMenuRadioGroup as io, DropdownMenuRadioItem as so, DropdownMenuSeparator as lo, DropdownMenuShortcut as uo, DropdownMenuSub as co, DropdownMenuSubContent as mo, DropdownMenuSubTrigger as fo, DropdownMenuTrigger as po } from "./client/dropdown-menu.es.js";
14
+ import { HoverCard as go, HoverCardContent as ho, HoverCardTrigger as xo } from "./client/hover-card.es.js";
15
+ import { RadioGroup as Ao, RadioGroupItem as wo } from "./client/radio-group.es.js";
16
+ import { ScrollArea as Co, ScrollBar as So } from "./client/scroll-area.es.js";
17
+ import { Switch as Io } from "./client/switch.es.js";
18
+ import { Tabs as Do, TabsContent as _o, TabsList as Eo, TabsTrigger as ko } from "./client/tabs.es.js";
19
+ import { Tooltip as ge, TooltipTrigger as he, TooltipContent as xe, TooltipProvider as ve } from "./client/tooltip.es.js";
20
+ import { Command as Q, CommandList as Z, CommandInput as Ae, CommandEmpty as we, CommandGroup as ye, CommandItem as Ce } from "./client/command.es.js";
21
+ import { CommandDialog as To, CommandSeparator as Po, CommandShortcut as Ro } from "./client/command.es.js";
22
+ import { Dialog as Vo, DialogClose as Bo, DialogContent as Lo, DialogDescription as Go, DialogFooter as Ho, DialogHeader as zo, DialogOverlay as Uo, DialogPortal as Ko, DialogTitle as Wo, DialogTrigger as $o } from "./client/dialog.es.js";
23
+ import { Drawer as Qo, DrawerClose as Zo, DrawerContent as jo, DrawerDescription as qo, DrawerFooter as Xo, DrawerHeader as Yo, DrawerOverlay as en, DrawerPortal as tn, DrawerTitle as rn, DrawerTrigger as an } from "./client/drawer.es.js";
24
+ import { Sheet as Se, SheetContent as Me, SheetHeader as Ie, SheetTitle as Ne, SheetDescription as De } from "./client/sheet.es.js";
25
+ import { SheetClose as nn, SheetFooter as sn, SheetTrigger as dn } from "./client/sheet.es.js";
26
+ import { Toaster as un } from "./client/toaster.es.js";
27
+ import { Toggle as mn } from "./client/toggle.es.js";
28
+ import { Label as _e } from "./client/label.es.js";
29
+ import { Menubar as pn, MenubarCheckboxItem as bn, MenubarContent as gn, MenubarGroup as hn, MenubarItem as xn, MenubarLabel as vn, MenubarMenu as An, MenubarPortal as wn, MenubarRadioGroup as yn, MenubarRadioItem as Cn, MenubarSeparator as Sn, MenubarShortcut as Mn, MenubarSub as In, MenubarSubContent as Nn, MenubarSubTrigger as Dn, MenubarTrigger as _n } from "./client/menu-bar.es.js";
30
+ import { Popover as Ee, PopoverContent as ke, PopoverTrigger as Fe } from "./client/popover.es.js";
31
+ import { PopoverAnchor as kn } from "./client/popover.es.js";
32
+ import { jsx as n, jsxs as N, Fragment as Te } from "react/jsx-runtime";
33
+ import * as w from "react";
34
+ import u, { createContext as Pe, useState as R, useCallback as H, useEffect as Re, useRef as j, useContext as Oe } from "react";
35
+ import { Slot as k } from "@radix-ui/react-slot";
36
+ import { cva as Ve } from "class-variance-authority";
37
+ import { PanelLeftIcon as Be, CheckIcon as Le, ChevronsUpDownIcon as Ge, XIcon as He } from "lucide-react";
38
+ import { c as f } from "./utils-B6yFEsav.js";
39
+ import { I as ze, B as q } from "./Textarea-CzufjM38.js";
40
+ import { B as oe } from "./Button-B7sEajdG.js";
41
41
  import "@radix-ui/react-select";
42
42
  import "next-intl";
43
- import { a as q, S as ze } from "./Skeleton-Cj9Od_Nd.js";
43
+ import { a as X, S as Ue } from "./Skeleton-Cj9Od_Nd.js";
44
44
  import "@radix-ui/react-alert-dialog";
45
45
  import "react-day-picker";
46
46
  import "cmdk";
@@ -66,28 +66,28 @@ import "@radix-ui/react-label";
66
66
  import "@radix-ui/react-menubar";
67
67
  import "@radix-ui/react-separator";
68
68
  import "@radix-ui/react-tooltip";
69
- var i = { US: "US", CA: "CA", MX: "MX", BR: "BR", AR: "AR", CL: "CL", CO: "CO", PE: "PE", VE: "VE", GB: "GB", FR: "FR", DE: "DE", IT: "IT", ES: "ES", PT: "PT", NL: "NL", CH: "CH", SE: "SE", NO: "NO", FI: "FI", PL: "PL", GR: "GR", UA: "UA", RU: "RU", CN: "CN", JP: "JP", KR: "KR", IN: "IN", PK: "PK", BD: "BD", TH: "TH", VN: "VN", MY: "MY", SG: "SG", ID: "ID", PH: "PH", SA: "SA", AE: "AE", QA: "QA", KW: "KW", IQ: "IQ", IR: "IR", IL: "IL", TR: "TR", EG: "EG", MA: "MA", ET: "ET", KE: "KE", TZ: "TZ", ZA: "ZA", NG: "NG", GH: "GH", SN: "SN", AU: "AU", NZ: "NZ", PG: "PG", FJ: "FJ", AQ: "AQ" }, Ue = 7, Ke = 6, We = { WEEK: 6048e5 }, $e = { [i.US]: ["America/New_York", "America/Chicago", "America/Denver", "America/Los_Angeles", "America/Anchorage", "Pacific/Honolulu"], [i.CA]: ["America/Toronto", "America/Vancouver", "America/Edmonton", "America/Halifax", "America/St_Johns"], [i.MX]: ["America/Mexico_City", "America/Monterrey", "America/Tijuana"], [i.BR]: ["America/Sao_Paulo", "America/Manaus", "America/Fortaleza"], [i.AR]: ["America/Argentina/Buenos_Aires"], [i.CL]: ["America/Santiago"], [i.CO]: ["America/Bogota"], [i.PE]: ["America/Lima"], [i.VE]: ["America/Caracas"], [i.GB]: ["Europe/London"], [i.FR]: ["Europe/Paris"], [i.DE]: ["Europe/Berlin"], [i.IT]: ["Europe/Rome"], [i.ES]: ["Europe/Madrid"], [i.PT]: ["Europe/Lisbon"], [i.NL]: ["Europe/Amsterdam"], [i.SE]: ["Europe/Stockholm"], [i.PL]: ["Europe/Warsaw"], [i.FI]: ["Europe/Helsinki"], [i.NO]: ["Europe/Oslo"], [i.CH]: ["Europe/Zurich"], [i.RU]: ["Europe/Moscow", "Asia/Yekaterinburg", "Asia/Irkutsk", "Asia/Vladivostok"], [i.UA]: ["Europe/Kyiv"], [i.GR]: ["Europe/Athens"], [i.TR]: ["Europe/Istanbul"], [i.CN]: ["Asia/Shanghai", "Asia/Urumqi"], [i.JP]: ["Asia/Tokyo"], [i.KR]: ["Asia/Seoul"], [i.IN]: ["Asia/Kolkata"], [i.PK]: ["Asia/Karachi"], [i.BD]: ["Asia/Dhaka"], [i.TH]: ["Asia/Bangkok"], [i.VN]: ["Asia/Ho_Chi_Minh"], [i.MY]: ["Asia/Kuala_Lumpur"], [i.SG]: ["Asia/Singapore"], [i.ID]: ["Asia/Jakarta", "Asia/Makassar", "Asia/Jayapura"], [i.PH]: ["Asia/Manila"], [i.AE]: ["Asia/Dubai"], [i.SA]: ["Asia/Riyadh"], [i.IR]: ["Asia/Tehran"], [i.IQ]: ["Asia/Baghdad"], [i.IL]: ["Asia/Jerusalem"], [i.QA]: ["Asia/Qatar"], [i.KW]: ["Asia/Kuwait"], [i.EG]: ["Africa/Cairo"], [i.NG]: ["Africa/Lagos"], [i.ZA]: ["Africa/Johannesburg"], [i.KE]: ["Africa/Nairobi"], [i.MA]: ["Africa/Casablanca"], [i.GH]: ["Africa/Accra"], [i.ET]: ["Africa/Addis_Ababa"], [i.TZ]: ["Africa/Dar_es_Salaam"], [i.SN]: ["Africa/Dakar"], [i.AU]: ["Australia/Sydney", "Australia/Melbourne", "Australia/Perth", "Australia/Brisbane"], [i.NZ]: ["Pacific/Auckland"], [i.FJ]: ["Pacific/Fiji"], [i.PG]: ["Pacific/Port_Moresby"], [i.AQ]: ["Antarctica/McMurdo", "Antarctica/Palmer", "Antarctica/Casey"] };
70
- Array.from(new Set(Object.values($e).flat()));
71
- Array.from({ length: Ue }, (e, r) => r);
69
+ var i = { US: "US", CA: "CA", MX: "MX", BR: "BR", AR: "AR", CL: "CL", CO: "CO", PE: "PE", VE: "VE", GB: "GB", FR: "FR", DE: "DE", IT: "IT", ES: "ES", PT: "PT", NL: "NL", CH: "CH", SE: "SE", NO: "NO", FI: "FI", PL: "PL", GR: "GR", UA: "UA", RU: "RU", CN: "CN", JP: "JP", KR: "KR", IN: "IN", PK: "PK", BD: "BD", TH: "TH", VN: "VN", MY: "MY", SG: "SG", ID: "ID", PH: "PH", SA: "SA", AE: "AE", QA: "QA", KW: "KW", IQ: "IQ", IR: "IR", IL: "IL", TR: "TR", EG: "EG", MA: "MA", ET: "ET", KE: "KE", TZ: "TZ", ZA: "ZA", NG: "NG", GH: "GH", SN: "SN", AU: "AU", NZ: "NZ", PG: "PG", FJ: "FJ", AQ: "AQ" }, Ke = 7, We = 6, $e = { WEEK: 6048e5 }, Je = { [i.US]: ["America/New_York", "America/Chicago", "America/Denver", "America/Los_Angeles", "America/Anchorage", "Pacific/Honolulu"], [i.CA]: ["America/Toronto", "America/Vancouver", "America/Edmonton", "America/Halifax", "America/St_Johns"], [i.MX]: ["America/Mexico_City", "America/Monterrey", "America/Tijuana"], [i.BR]: ["America/Sao_Paulo", "America/Manaus", "America/Fortaleza"], [i.AR]: ["America/Argentina/Buenos_Aires"], [i.CL]: ["America/Santiago"], [i.CO]: ["America/Bogota"], [i.PE]: ["America/Lima"], [i.VE]: ["America/Caracas"], [i.GB]: ["Europe/London"], [i.FR]: ["Europe/Paris"], [i.DE]: ["Europe/Berlin"], [i.IT]: ["Europe/Rome"], [i.ES]: ["Europe/Madrid"], [i.PT]: ["Europe/Lisbon"], [i.NL]: ["Europe/Amsterdam"], [i.SE]: ["Europe/Stockholm"], [i.PL]: ["Europe/Warsaw"], [i.FI]: ["Europe/Helsinki"], [i.NO]: ["Europe/Oslo"], [i.CH]: ["Europe/Zurich"], [i.RU]: ["Europe/Moscow", "Asia/Yekaterinburg", "Asia/Irkutsk", "Asia/Vladivostok"], [i.UA]: ["Europe/Kyiv"], [i.GR]: ["Europe/Athens"], [i.TR]: ["Europe/Istanbul"], [i.CN]: ["Asia/Shanghai", "Asia/Urumqi"], [i.JP]: ["Asia/Tokyo"], [i.KR]: ["Asia/Seoul"], [i.IN]: ["Asia/Kolkata"], [i.PK]: ["Asia/Karachi"], [i.BD]: ["Asia/Dhaka"], [i.TH]: ["Asia/Bangkok"], [i.VN]: ["Asia/Ho_Chi_Minh"], [i.MY]: ["Asia/Kuala_Lumpur"], [i.SG]: ["Asia/Singapore"], [i.ID]: ["Asia/Jakarta", "Asia/Makassar", "Asia/Jayapura"], [i.PH]: ["Asia/Manila"], [i.AE]: ["Asia/Dubai"], [i.SA]: ["Asia/Riyadh"], [i.IR]: ["Asia/Tehran"], [i.IQ]: ["Asia/Baghdad"], [i.IL]: ["Asia/Jerusalem"], [i.QA]: ["Asia/Qatar"], [i.KW]: ["Asia/Kuwait"], [i.EG]: ["Africa/Cairo"], [i.NG]: ["Africa/Lagos"], [i.ZA]: ["Africa/Johannesburg"], [i.KE]: ["Africa/Nairobi"], [i.MA]: ["Africa/Casablanca"], [i.GH]: ["Africa/Accra"], [i.ET]: ["Africa/Addis_Ababa"], [i.TZ]: ["Africa/Dar_es_Salaam"], [i.SN]: ["Africa/Dakar"], [i.AU]: ["Australia/Sydney", "Australia/Melbourne", "Australia/Perth", "Australia/Brisbane"], [i.NZ]: ["Pacific/Auckland"], [i.FJ]: ["Pacific/Fiji"], [i.PG]: ["Pacific/Port_Moresby"], [i.AQ]: ["Antarctica/McMurdo", "Antarctica/Palmer", "Antarctica/Casey"] };
70
+ Array.from(new Set(Object.values(Je).flat()));
72
71
  Array.from({ length: Ke }, (e, r) => r);
73
- const G = 768;
74
- function Je() {
75
- const [e, r] = v.useState(void 0);
76
- return v.useEffect(() => {
77
- const t = window.matchMedia(`(max-width: ${G - 1}px)`), a = () => {
78
- r(window.innerWidth < G);
72
+ Array.from({ length: We }, (e, r) => r);
73
+ const L = 768;
74
+ function Qe() {
75
+ const [e, r] = w.useState(void 0);
76
+ return w.useEffect(() => {
77
+ const t = window.matchMedia(`(max-width: ${L - 1}px)`), a = () => {
78
+ r(window.innerWidth < L);
79
79
  };
80
- return t.addEventListener("change", a), r(window.innerWidth < G), () => t.removeEventListener("change", a);
80
+ return t.addEventListener("change", a), r(window.innerWidth < L), () => t.removeEventListener("change", a);
81
81
  }, []), !!e;
82
82
  }
83
- const Qe = "sidebar_state", Ze = We.WEEK, je = "16rem", qe = "18rem", Xe = "3rem", oe = v.createContext(null);
84
- function ne() {
85
- const e = v.useContext(oe);
83
+ const Ze = "sidebar_state", je = $e.WEEK, qe = "16rem", Xe = "18rem", Ye = "3rem", ne = w.createContext(null);
84
+ function ie() {
85
+ const e = w.useContext(ne);
86
86
  if (!e)
87
87
  throw new Error("useSidebar must be used within a SidebarProvider.");
88
88
  return e;
89
89
  }
90
- function cr({
90
+ function fr({
91
91
  defaultOpen: e = !0,
92
92
  open: r,
93
93
  onOpenChange: t,
@@ -96,35 +96,35 @@ function cr({
96
96
  children: s,
97
97
  ...d
98
98
  }) {
99
- const l = Je(), [f, p] = v.useState(!1), [M, g] = v.useState(e), x = r ?? M, w = v.useCallback(
99
+ const l = Qe(), [c, p] = w.useState(!1), [C, g] = w.useState(e), x = r ?? C, A = w.useCallback(
100
100
  (h) => {
101
101
  const S = typeof h == "function" ? h(x) : h;
102
- t ? t(S) : g(S), document.cookie = `${Qe}=${S}; path=/; max-age=${Ze}`;
102
+ t ? t(S) : g(S), document.cookie = `${Ze}=${S}; path=/; max-age=${je}`;
103
103
  },
104
104
  [t, x]
105
- ), A = v.useCallback(() => {
106
- }, []), y = x ? "expanded" : "collapsed", b = v.useMemo(
105
+ ), v = w.useCallback(() => {
106
+ }, []), y = x ? "expanded" : "collapsed", b = w.useMemo(
107
107
  () => ({
108
108
  state: y,
109
109
  open: x,
110
- setOpen: w,
110
+ setOpen: A,
111
111
  isMobile: l,
112
- openMobile: f,
112
+ openMobile: c,
113
113
  setOpenMobile: p,
114
- toggleSidebar: A
114
+ toggleSidebar: v
115
115
  }),
116
- [y, x, w, l, f, p, A]
116
+ [y, x, A, l, c, p, v]
117
117
  );
118
- return /* @__PURE__ */ n(oe.Provider, { value: b, children: /* @__PURE__ */ n(xe, { delayDuration: 0, children: /* @__PURE__ */ n(
118
+ return /* @__PURE__ */ n(ne.Provider, { value: b, children: /* @__PURE__ */ n(ve, { delayDuration: 0, children: /* @__PURE__ */ n(
119
119
  "div",
120
120
  {
121
121
  "data-slot": "sidebar-wrapper",
122
122
  style: {
123
- "--sidebar-width": je,
124
- "--sidebar-width-icon": Xe,
123
+ "--sidebar-width": qe,
124
+ "--sidebar-width-icon": Ye,
125
125
  ...o
126
126
  },
127
- className: c(
127
+ className: f(
128
128
  "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
129
129
  a
130
130
  ),
@@ -133,7 +133,7 @@ function cr({
133
133
  }
134
134
  ) }) });
135
135
  }
136
- function Ye({
136
+ function et({
137
137
  side: e,
138
138
  openMobile: r,
139
139
  setOpenMobile: t,
@@ -141,27 +141,27 @@ function Ye({
141
141
  ...o
142
142
  }) {
143
143
  return /* @__PURE__ */ n(Se, { open: r, onOpenChange: t, ...o, children: /* @__PURE__ */ N(
144
- Ce,
144
+ Me,
145
145
  {
146
146
  "data-sidebar": "sidebar",
147
147
  "data-slot": "sidebar",
148
148
  "data-mobile": "true",
149
149
  className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
150
150
  style: {
151
- "--sidebar-width": qe
151
+ "--sidebar-width": Xe
152
152
  },
153
153
  side: e,
154
154
  children: [
155
- /* @__PURE__ */ N(Me, { className: "sr-only", children: [
156
- /* @__PURE__ */ n(Ie, { children: "Sidebar" }),
157
- /* @__PURE__ */ n(Ne, { children: "Displays the mobile sidebar." })
155
+ /* @__PURE__ */ N(Ie, { className: "sr-only", children: [
156
+ /* @__PURE__ */ n(Ne, { children: "Sidebar" }),
157
+ /* @__PURE__ */ n(De, { children: "Displays the mobile sidebar." })
158
158
  ] }),
159
159
  /* @__PURE__ */ n("div", { className: "flex h-full w-full flex-col", children: a })
160
160
  ]
161
161
  }
162
162
  ) });
163
163
  }
164
- function et({
164
+ function tt({
165
165
  side: e,
166
166
  variant: r,
167
167
  collapsible: t,
@@ -184,7 +184,7 @@ function et({
184
184
  "div",
185
185
  {
186
186
  "data-slot": "sidebar-gap",
187
- className: c(
187
+ className: f(
188
188
  "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
189
189
  "group-data-[collapsible=offcanvas]:w-0",
190
190
  "group-data-[side=right]:rotate-180",
@@ -196,7 +196,7 @@ function et({
196
196
  "div",
197
197
  {
198
198
  "data-slot": "sidebar-container",
199
- className: c(
199
+ className: f(
200
200
  "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
201
201
  e === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
202
202
  // Adjust the padding for floating and inset variants.
@@ -219,7 +219,7 @@ function et({
219
219
  }
220
220
  );
221
221
  }
222
- function mr({
222
+ function pr({
223
223
  side: e = "left",
224
224
  variant: r = "sidebar",
225
225
  collapsible: t = "offcanvas",
@@ -227,20 +227,20 @@ function mr({
227
227
  children: o,
228
228
  ...s
229
229
  }) {
230
- const { isMobile: d, state: l, openMobile: f, setOpenMobile: p } = ne();
230
+ const { isMobile: d, state: l, openMobile: c, setOpenMobile: p } = ie();
231
231
  return t === "none" ? /* @__PURE__ */ n(
232
232
  "div",
233
233
  {
234
234
  "data-slot": "sidebar",
235
- className: c(
235
+ className: f(
236
236
  "bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
237
237
  a
238
238
  ),
239
239
  ...s,
240
240
  children: o
241
241
  }
242
- ) : d ? /* @__PURE__ */ n(Ye, { side: e, openMobile: f, setOpenMobile: p, ...s, children: o }) : /* @__PURE__ */ n(
243
- et,
242
+ ) : d ? /* @__PURE__ */ n(et, { side: e, openMobile: c, setOpenMobile: p, ...s, children: o }) : /* @__PURE__ */ n(
243
+ tt,
244
244
  {
245
245
  side: e,
246
246
  variant: r,
@@ -252,28 +252,28 @@ function mr({
252
252
  }
253
253
  );
254
254
  }
255
- function fr({ className: e, onClick: r, ...t }) {
255
+ function br({ className: e, onClick: r, ...t }) {
256
256
  return /* @__PURE__ */ N(
257
- ae,
257
+ oe,
258
258
  {
259
259
  "data-sidebar": "trigger",
260
260
  "data-slot": "sidebar-trigger",
261
261
  variant: "ghost",
262
262
  size: "icon",
263
- className: c("size-7", e),
263
+ className: f("size-7", e),
264
264
  onClick: (a) => {
265
265
  r == null || r(a);
266
266
  },
267
267
  disabled: !0,
268
268
  ...t,
269
269
  children: [
270
- /* @__PURE__ */ n(Ve, {}),
270
+ /* @__PURE__ */ n(Be, {}),
271
271
  /* @__PURE__ */ n("span", { className: "sr-only", children: "Toggle Sidebar" })
272
272
  ]
273
273
  }
274
274
  );
275
275
  }
276
- function pr({ className: e, ...r }) {
276
+ function gr({ className: e, ...r }) {
277
277
  return /* @__PURE__ */ n(
278
278
  "button",
279
279
  {
@@ -285,7 +285,7 @@ function pr({ className: e, ...r }) {
285
285
  },
286
286
  title: "Toggle Sidebar",
287
287
  disabled: !0,
288
- className: c(
288
+ className: f(
289
289
  "hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
290
290
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
291
291
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
@@ -298,12 +298,12 @@ function pr({ className: e, ...r }) {
298
298
  }
299
299
  );
300
300
  }
301
- function br({ className: e, ...r }) {
301
+ function hr({ className: e, ...r }) {
302
302
  return /* @__PURE__ */ n(
303
303
  "main",
304
304
  {
305
305
  "data-slot": "sidebar-inset",
306
- className: c(
306
+ className: f(
307
307
  "bg-background relative flex w-full flex-1 flex-col",
308
308
  "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
309
309
  e
@@ -312,57 +312,57 @@ function br({ className: e, ...r }) {
312
312
  }
313
313
  );
314
314
  }
315
- function gr({ className: e, ...r }) {
315
+ function xr({ className: e, ...r }) {
316
316
  return /* @__PURE__ */ n(
317
- He,
317
+ ze,
318
318
  {
319
319
  "data-slot": "sidebar-input",
320
320
  "data-sidebar": "input",
321
- className: c("bg-background h-10 w-full shadow-none", e),
321
+ className: f("bg-background h-10 w-full shadow-none", e),
322
322
  ...r
323
323
  }
324
324
  );
325
325
  }
326
- function hr({ className: e, ...r }) {
326
+ function vr({ className: e, ...r }) {
327
327
  return /* @__PURE__ */ n(
328
328
  "div",
329
329
  {
330
330
  "data-slot": "sidebar-header",
331
331
  "data-sidebar": "header",
332
- className: c("flex flex-col gap-3 p-2", e),
332
+ className: f("flex flex-col gap-3 p-2", e),
333
333
  ...r
334
334
  }
335
335
  );
336
336
  }
337
- function xr({ className: e, ...r }) {
337
+ function Ar({ className: e, ...r }) {
338
338
  return /* @__PURE__ */ n(
339
339
  "div",
340
340
  {
341
341
  "data-slot": "sidebar-footer",
342
342
  "data-sidebar": "footer",
343
- className: c("flex flex-col gap-3 p-2", e),
343
+ className: f("flex flex-col gap-3 p-2", e),
344
344
  ...r
345
345
  }
346
346
  );
347
347
  }
348
- function vr({ className: e, ...r }) {
348
+ function wr({ className: e, ...r }) {
349
349
  return /* @__PURE__ */ n(
350
- ze,
350
+ Ue,
351
351
  {
352
352
  "data-slot": "sidebar-separator",
353
353
  "data-sidebar": "separator",
354
- className: c("bg-sidebar-border mx-2 w-auto", e),
354
+ className: f("bg-sidebar-border mx-2 w-auto", e),
355
355
  ...r
356
356
  }
357
357
  );
358
358
  }
359
- function Ar({ className: e, ...r }) {
359
+ function yr({ className: e, ...r }) {
360
360
  return /* @__PURE__ */ n(
361
361
  "div",
362
362
  {
363
363
  "data-slot": "sidebar-content",
364
364
  "data-sidebar": "content",
365
- className: c(
365
+ className: f(
366
366
  "flex min-h-0 flex-1 flex-col gap-3 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
367
367
  e
368
368
  ),
@@ -370,28 +370,28 @@ function Ar({ className: e, ...r }) {
370
370
  }
371
371
  );
372
372
  }
373
- function wr({ className: e, ...r }) {
373
+ function Cr({ className: e, ...r }) {
374
374
  return /* @__PURE__ */ n(
375
375
  "div",
376
376
  {
377
377
  "data-slot": "sidebar-group",
378
378
  "data-sidebar": "group",
379
- className: c("relative flex w-full min-w-0 flex-col p-2", e),
379
+ className: f("relative flex w-full min-w-0 flex-col p-2", e),
380
380
  ...r
381
381
  }
382
382
  );
383
383
  }
384
- function yr({
384
+ function Sr({
385
385
  className: e,
386
386
  asChild: r = !1,
387
387
  ...t
388
388
  }) {
389
389
  return /* @__PURE__ */ n(
390
- r ? T : "div",
390
+ r ? k : "div",
391
391
  {
392
392
  "data-slot": "sidebar-group-label",
393
393
  "data-sidebar": "group-label",
394
- className: c(
394
+ className: f(
395
395
  "text-sidebar-foreground/70 ring-sidebar-ring flex h-10 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-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",
396
396
  "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
397
397
  e
@@ -400,17 +400,17 @@ function yr({
400
400
  }
401
401
  );
402
402
  }
403
- function Sr({
403
+ function Mr({
404
404
  className: e,
405
405
  asChild: r = !1,
406
406
  ...t
407
407
  }) {
408
408
  return /* @__PURE__ */ n(
409
- r ? T : "button",
409
+ r ? k : "button",
410
410
  {
411
411
  "data-slot": "sidebar-group-action",
412
412
  "data-sidebar": "group-action",
413
- className: c(
413
+ className: f(
414
414
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",
415
415
  // Increases the hit area of the button on mobile.
416
416
  "after:absolute after:-inset-2 md:after:hidden",
@@ -421,40 +421,40 @@ function Sr({
421
421
  }
422
422
  );
423
423
  }
424
- function Cr({ className: e, ...r }) {
424
+ function Ir({ className: e, ...r }) {
425
425
  return /* @__PURE__ */ n(
426
426
  "div",
427
427
  {
428
428
  "data-slot": "sidebar-group-content",
429
429
  "data-sidebar": "group-content",
430
- className: c("w-full text-sm", e),
430
+ className: f("w-full text-sm", e),
431
431
  ...r
432
432
  }
433
433
  );
434
434
  }
435
- function Mr({ className: e, ...r }) {
435
+ function Nr({ className: e, ...r }) {
436
436
  return /* @__PURE__ */ n(
437
437
  "ul",
438
438
  {
439
439
  "data-slot": "sidebar-menu",
440
440
  "data-sidebar": "menu",
441
- className: c("flex w-full min-w-0 flex-col gap-1", e),
441
+ className: f("flex w-full min-w-0 flex-col gap-1", e),
442
442
  ...r
443
443
  }
444
444
  );
445
445
  }
446
- function Ir({ className: e, ...r }) {
446
+ function Dr({ className: e, ...r }) {
447
447
  return /* @__PURE__ */ n(
448
448
  "li",
449
449
  {
450
450
  "data-slot": "sidebar-menu-item",
451
451
  "data-sidebar": "menu-item",
452
- className: c("group/menu-item relative", e),
452
+ className: f("group/menu-item relative", e),
453
453
  ...r
454
454
  }
455
455
  );
456
456
  }
457
- const tt = Oe(
457
+ const rt = Ve(
458
458
  "peer/menu-button flex w-full items-center gap-3 overflow-hidden rounded-md p-2 text-left text-sm font-medium outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",
459
459
  {
460
460
  variants: {
@@ -474,7 +474,7 @@ const tt = Oe(
474
474
  }
475
475
  }
476
476
  );
477
- function Nr({
477
+ function _r({
478
478
  asChild: e = !1,
479
479
  isActive: r = !1,
480
480
  variant: t = "default",
@@ -483,44 +483,44 @@ function Nr({
483
483
  className: s,
484
484
  ...d
485
485
  }) {
486
- const l = e ? T : "button", { isMobile: f, state: p } = ne(), M = /* @__PURE__ */ n(
486
+ const l = e ? k : "button", { isMobile: c, state: p } = ie(), C = /* @__PURE__ */ n(
487
487
  l,
488
488
  {
489
489
  "data-slot": "sidebar-menu-button",
490
490
  "data-sidebar": "menu-button",
491
491
  "data-size": a,
492
492
  "data-active": r,
493
- className: c(tt({ variant: t, size: a }), s),
493
+ className: f(rt({ variant: t, size: a }), s),
494
494
  ...d
495
495
  }
496
496
  );
497
497
  return o ? (typeof o == "string" && (o = {
498
498
  children: o
499
- }), /* @__PURE__ */ N(be, { children: [
500
- /* @__PURE__ */ n(ge, { asChild: !0, children: M }),
499
+ }), /* @__PURE__ */ N(ge, { children: [
500
+ /* @__PURE__ */ n(he, { asChild: !0, children: C }),
501
501
  /* @__PURE__ */ n(
502
- he,
502
+ xe,
503
503
  {
504
504
  side: "right",
505
505
  align: "center",
506
- hidden: p !== "collapsed" || f,
506
+ hidden: p !== "collapsed" || c,
507
507
  ...o
508
508
  }
509
509
  )
510
- ] })) : M;
510
+ ] })) : C;
511
511
  }
512
- function Dr({
512
+ function Er({
513
513
  className: e,
514
514
  asChild: r = !1,
515
515
  showOnHover: t = !1,
516
516
  ...a
517
517
  }) {
518
518
  return /* @__PURE__ */ n(
519
- r ? T : "button",
519
+ r ? k : "button",
520
520
  {
521
521
  "data-slot": "sidebar-menu-action",
522
522
  "data-sidebar": "menu-action",
523
- className: c(
523
+ className: f(
524
524
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",
525
525
  // Increases the hit area of the button on mobile.
526
526
  "after:absolute after:-inset-2 md:after:hidden",
@@ -535,13 +535,13 @@ function Dr({
535
535
  }
536
536
  );
537
537
  }
538
- function _r({ className: e, ...r }) {
538
+ function kr({ className: e, ...r }) {
539
539
  return /* @__PURE__ */ n(
540
540
  "div",
541
541
  {
542
542
  "data-slot": "sidebar-menu-badge",
543
543
  "data-sidebar": "menu-badge",
544
- className: c(
544
+ className: f(
545
545
  "text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none",
546
546
  "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
547
547
  "peer-data-[size=sm]/menu-button:top-1",
@@ -554,24 +554,24 @@ function _r({ className: e, ...r }) {
554
554
  }
555
555
  );
556
556
  }
557
- const rt = 50, at = 40;
558
- function Er({
557
+ const at = 50, ot = 40;
558
+ function Fr({
559
559
  className: e,
560
560
  showIcon: r = !1,
561
561
  ...t
562
562
  }) {
563
- const a = v.useMemo(() => `${Math.floor(Math.random() * at) + rt}%`, []);
563
+ const a = w.useMemo(() => `${Math.floor(Math.random() * ot) + at}%`, []);
564
564
  return /* @__PURE__ */ N(
565
565
  "div",
566
566
  {
567
567
  "data-slot": "sidebar-menu-skeleton",
568
568
  "data-sidebar": "menu-skeleton",
569
- className: c("flex h-10 items-center gap-3 rounded-md px-2", e),
569
+ className: f("flex h-10 items-center gap-3 rounded-md px-2", e),
570
570
  ...t,
571
571
  children: [
572
- r && /* @__PURE__ */ n(q, { className: "size-6 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
572
+ r && /* @__PURE__ */ n(X, { className: "size-6 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
573
573
  /* @__PURE__ */ n(
574
- q,
574
+ X,
575
575
  {
576
576
  className: "h-4 max-w-(--skeleton-width) flex-1",
577
577
  "data-sidebar": "menu-skeleton-text",
@@ -590,7 +590,7 @@ function Tr({ className: e, ...r }) {
590
590
  {
591
591
  "data-slot": "sidebar-menu-sub",
592
592
  "data-sidebar": "menu-sub",
593
- className: c(
593
+ className: f(
594
594
  "border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
595
595
  "group-data-[collapsible=icon]:hidden",
596
596
  e
@@ -599,18 +599,18 @@ function Tr({ className: e, ...r }) {
599
599
  }
600
600
  );
601
601
  }
602
- function kr({ className: e, ...r }) {
602
+ function Pr({ className: e, ...r }) {
603
603
  return /* @__PURE__ */ n(
604
604
  "li",
605
605
  {
606
606
  "data-slot": "sidebar-menu-sub-item",
607
607
  "data-sidebar": "menu-sub-item",
608
- className: c("group/menu-sub-item relative", e),
608
+ className: f("group/menu-sub-item relative", e),
609
609
  ...r
610
610
  }
611
611
  );
612
612
  }
613
- function Fr({
613
+ function Rr({
614
614
  asChild: e = !1,
615
615
  size: r = "md",
616
616
  isActive: t = !1,
@@ -618,13 +618,13 @@ function Fr({
618
618
  ...o
619
619
  }) {
620
620
  return /* @__PURE__ */ n(
621
- e ? T : "a",
621
+ e ? k : "a",
622
622
  {
623
623
  "data-slot": "sidebar-menu-sub-button",
624
624
  "data-sidebar": "menu-sub-button",
625
625
  "data-size": r,
626
626
  "data-active": t,
627
- className: c(
627
+ className: f(
628
628
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-tertiary-foreground flex h-7 min-w-0 -translate-x-px items-center gap-3 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-6 [&>svg]:shrink-0",
629
629
  "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
630
630
  r === "sm" && "text-xs",
@@ -636,57 +636,54 @@ function Fr({
636
636
  }
637
637
  );
638
638
  }
639
- var ot = (e) => e.type === "checkbox", k = (e) => e instanceof Date, K = (e) => e == null;
640
- const ie = (e) => typeof e == "object";
641
- var E = (e) => !K(e) && !Array.isArray(e) && ie(e) && !k(e), nt = (e) => E(e) && e.target ? ot(e.target) ? e.target.checked : e.target.value : e, it = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, st = (e, r) => e.has(it(r)), dt = (e) => {
639
+ var nt = (e) => e.type === "checkbox", F = (e) => e instanceof Date, U = (e) => e == null;
640
+ const se = (e) => typeof e == "object";
641
+ var E = (e) => !U(e) && !Array.isArray(e) && se(e) && !F(e), it = (e) => E(e) && e.target ? nt(e.target) ? e.target.checked : e.target.value : e, st = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, dt = (e, r) => e.has(st(r)), lt = (e) => {
642
642
  const r = e.constructor && e.constructor.prototype;
643
643
  return E(r) && r.hasOwnProperty("isPrototypeOf");
644
- }, lt = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
645
- function se(e) {
644
+ }, ut = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
645
+ function de(e) {
646
646
  if (e instanceof Date)
647
647
  return new Date(e);
648
648
  const r = typeof FileList < "u" && e instanceof FileList;
649
- if (lt && (e instanceof Blob || r))
649
+ if (ut && (e instanceof Blob || r))
650
650
  return e;
651
651
  const t = Array.isArray(e);
652
- if (!t && !(E(e) && dt(e)))
652
+ if (!t && !(E(e) && lt(e)))
653
653
  return e;
654
654
  const a = t ? [] : Object.create(Object.getPrototypeOf(e));
655
655
  for (const o in e)
656
- Object.prototype.hasOwnProperty.call(e, o) && (a[o] = se(e[o]));
656
+ Object.prototype.hasOwnProperty.call(e, o) && (a[o] = de(e[o]));
657
657
  return a;
658
658
  }
659
- var de = (e) => /^\w*$/.test(e), U = (e) => e === void 0, ut = (e) => Array.isArray(e) ? e.filter(Boolean) : [], le = (e) => ut(e.replace(/["|']|\]/g, "").split(/\.|\[/)), I = (e, r, t) => {
659
+ var le = (e) => /^\w*$/.test(e), z = (e) => e === void 0, ct = (e) => Array.isArray(e) ? e.filter(Boolean) : [], ue = (e) => ct(e.replace(/["|']|\]/g, "").split(/\.|\[/)), I = (e, r, t) => {
660
660
  if (!r || !E(e))
661
661
  return t;
662
- const a = (de(r) ? [r] : le(r)).reduce((o, s) => K(o) ? o : o[s], e);
663
- return U(a) || a === e ? U(e[r]) ? t : e[r] : a;
664
- }, H = (e) => typeof e == "boolean", R = (e) => typeof e == "function", X = (e, r, t) => {
662
+ const a = (le(r) ? [r] : ue(r)).reduce((o, s) => U(o) ? o : o[s], e);
663
+ return z(a) || a === e ? z(e[r]) ? t : e[r] : a;
664
+ }, G = (e) => typeof e == "boolean", P = (e) => typeof e == "function", Y = (e, r, t) => {
665
665
  let a = -1;
666
- const o = de(r) ? [r] : le(r), s = o.length, d = s - 1;
666
+ const o = le(r) ? [r] : ue(r), s = o.length, d = s - 1;
667
667
  for (; ++a < s; ) {
668
668
  const l = o[a];
669
- let f = t;
669
+ let c = t;
670
670
  if (a !== d) {
671
671
  const p = e[l];
672
- f = E(p) || Array.isArray(p) ? p : isNaN(+o[a + 1]) ? {} : [];
672
+ c = E(p) || Array.isArray(p) ? p : isNaN(+o[a + 1]) ? {} : [];
673
673
  }
674
674
  if (l === "__proto__" || l === "constructor" || l === "prototype")
675
675
  return;
676
- e[l] = f, e = e[l];
676
+ e[l] = c, e = e[l];
677
677
  }
678
678
  };
679
- const Y = {
679
+ const ee = {
680
680
  BLUR: "blur",
681
681
  CHANGE: "change"
682
- }, ee = {
682
+ }, te = {
683
683
  all: "all"
684
- }, W = m.createContext(null);
685
- W.displayName = "HookFormContext";
686
- const V = () => m.useContext(W), ct = (e) => {
687
- const { children: r, ...t } = e;
688
- return m.createElement(W.Provider, { value: t }, r);
689
- };
684
+ }, K = u.createContext(null);
685
+ K.displayName = "HookFormControlContext";
686
+ const W = () => u.useContext(K);
690
687
  var mt = (e, r, t, a = !0) => {
691
688
  const o = {
692
689
  defaultValues: r._defaultValues
@@ -695,14 +692,14 @@ var mt = (e, r, t, a = !0) => {
695
692
  Object.defineProperty(o, s, {
696
693
  get: () => {
697
694
  const d = s;
698
- return r._proxyFormState[d] !== ee.all && (r._proxyFormState[d] = !a || ee.all), t && (t[d] = !0), e[d];
695
+ return r._proxyFormState[d] !== te.all && (r._proxyFormState[d] = !a || te.all), t && (t[d] = !0), e[d];
699
696
  }
700
697
  });
701
698
  return o;
702
699
  };
703
- const ue = typeof window < "u" ? m.useLayoutEffect : m.useEffect;
700
+ const ce = typeof window < "u" ? u.useLayoutEffect : u.useEffect;
704
701
  function ft(e) {
705
- const r = V(), { control: t = r.control, disabled: a, name: o, exact: s } = e || {}, [d, l] = m.useState(t._formState), f = m.useRef({
702
+ const r = W(), { control: t = r, disabled: a, name: o, exact: s } = e || {}, [d, l] = u.useState(t._formState), c = u.useRef({
706
703
  isDirty: !1,
707
704
  isLoading: !1,
708
705
  dirtyFields: !1,
@@ -712,9 +709,9 @@ function ft(e) {
712
709
  isValid: !1,
713
710
  errors: !1
714
711
  });
715
- return ue(() => t._subscribe({
712
+ return ce(() => t._subscribe({
716
713
  name: o,
717
- formState: f.current,
714
+ formState: c.current,
718
715
  exact: s,
719
716
  callback: (p) => {
720
717
  !a && l({
@@ -722,16 +719,16 @@ function ft(e) {
722
719
  ...p
723
720
  });
724
721
  }
725
- }), [o, a, s]), m.useEffect(() => {
726
- f.current.isValid && t._setValid(!0);
727
- }, [t]), m.useMemo(() => mt(d, t, f.current, !1), [d, t]);
722
+ }), [o, a, s]), u.useEffect(() => {
723
+ c.current.isValid && t._setValid(!0);
724
+ }, [t]), u.useMemo(() => mt(d, t, c.current, !1), [d, t]);
728
725
  }
729
- var pt = (e) => typeof e == "string", te = (e, r, t, a, o) => pt(e) ? I(t, e, o) : Array.isArray(e) ? e.map((s) => I(t, s)) : t, re = (e) => K(e) || !ie(e);
726
+ var pt = (e) => typeof e == "string", re = (e, r, t, a, o) => pt(e) ? I(t, e, o) : Array.isArray(e) ? e.map((s) => I(t, s)) : t, ae = (e) => U(e) || !se(e);
730
727
  function O(e, r, t = /* @__PURE__ */ new WeakSet()) {
731
- if (re(e) || re(r))
728
+ if (ae(e) || ae(r))
732
729
  return Object.is(e, r);
733
- if (k(e) && k(r))
734
- return e.getTime() === r.getTime();
730
+ if (F(e) && F(r))
731
+ return Object.is(e.getTime(), r.getTime());
735
732
  const a = Object.keys(e), o = Object.keys(r);
736
733
  if (a.length !== o.length)
737
734
  return !1;
@@ -744,51 +741,51 @@ function O(e, r, t = /* @__PURE__ */ new WeakSet()) {
744
741
  return !1;
745
742
  if (s !== "ref") {
746
743
  const l = r[s];
747
- if (k(d) && k(l) || E(d) && E(l) || Array.isArray(d) && Array.isArray(l) ? !O(d, l, t) : !Object.is(d, l))
744
+ if (F(d) && F(l) || E(d) && E(l) || Array.isArray(d) && Array.isArray(l) ? !O(d, l, t) : !Object.is(d, l))
748
745
  return !1;
749
746
  }
750
747
  }
751
748
  return !0;
752
749
  }
753
750
  function bt(e) {
754
- const r = V(), { control: t = r.control, name: a, defaultValue: o, disabled: s, exact: d, compute: l } = e || {}, f = m.useRef(o), p = m.useRef(l), M = m.useRef(void 0), g = m.useRef(t), x = m.useRef(a);
751
+ const r = W(), { control: t = r, name: a, defaultValue: o, disabled: s, exact: d, compute: l } = e || {}, c = u.useRef(o), p = u.useRef(l), C = u.useRef(void 0), g = u.useRef(t), x = u.useRef(a);
755
752
  p.current = l;
756
- const [w, A] = m.useState(() => {
757
- const u = t._getWatch(a, f.current);
758
- return p.current ? p.current(u) : u;
759
- }), y = m.useCallback((u) => {
760
- const C = te(a, t._names, u || t._formValues, !1, f.current);
761
- return p.current ? p.current(C) : C;
762
- }, [t._formValues, t._names, a]), b = m.useCallback((u) => {
753
+ const [A, v] = u.useState(() => {
754
+ const m = t._getWatch(a, c.current);
755
+ return p.current ? p.current(m) : m;
756
+ }), y = u.useCallback((m) => {
757
+ const M = re(a, t._names, m || t._formValues, !1, c.current);
758
+ return p.current ? p.current(M) : M;
759
+ }, [t._formValues, t._names, a]), b = u.useCallback((m) => {
763
760
  if (!s) {
764
- const C = te(a, t._names, u || t._formValues, !1, f.current);
761
+ const M = re(a, t._names, m || t._formValues, !1, c.current);
765
762
  if (p.current) {
766
- const _ = p.current(C);
767
- O(_, M.current) || (A(_), M.current = _);
763
+ const _ = p.current(M);
764
+ O(_, C.current) || (v(_), C.current = _);
768
765
  } else
769
- A(C);
766
+ v(M);
770
767
  }
771
768
  }, [t._formValues, t._names, s, a]);
772
- ue(() => ((g.current !== t || !O(x.current, a)) && (g.current = t, x.current = a, b()), t._subscribe({
769
+ ce(() => ((g.current !== t || !O(x.current, a)) && (g.current = t, x.current = a, b()), t._subscribe({
773
770
  name: a,
774
771
  formState: {
775
772
  values: !0
776
773
  },
777
774
  exact: d,
778
- callback: (u) => {
779
- b(u.values);
775
+ callback: (m) => {
776
+ b(m.values);
780
777
  }
781
- })), [t, d, a, b]), m.useEffect(() => t._removeUnmounted());
782
- const h = g.current !== t, S = x.current, D = m.useMemo(() => {
778
+ })), [t, d, a, b]), u.useEffect(() => t._removeUnmounted());
779
+ const h = g.current !== t, S = x.current, D = u.useMemo(() => {
783
780
  if (s)
784
781
  return null;
785
- const u = !h && !O(S, a);
786
- return h || u ? y() : null;
782
+ const m = !h && !O(S, a);
783
+ return h || m ? y() : null;
787
784
  }, [s, h, a, S, y]);
788
- return D !== null ? D : w;
785
+ return D !== null ? D : A;
789
786
  }
790
787
  function gt(e) {
791
- const r = V(), { name: t, disabled: a, control: o = r.control, shouldUnregister: s, defaultValue: d, exact: l = !0 } = e, f = st(o._names.array, t), p = m.useMemo(() => I(o._formValues, t, I(o._defaultValues, t, d)), [o, t, d]), M = bt({
788
+ const r = W(), { name: t, disabled: a, control: o = r, shouldUnregister: s, defaultValue: d, exact: l = !0 } = e, c = dt(o._names.array, t), p = u.useMemo(() => I(o._formValues, t, I(o._defaultValues, t, d)), [o, t, d]), C = bt({
792
789
  control: o,
793
790
  name: t,
794
791
  defaultValue: p,
@@ -797,13 +794,13 @@ function gt(e) {
797
794
  control: o,
798
795
  name: t,
799
796
  exact: l
800
- }), x = m.useRef(e), w = m.useRef(void 0), A = m.useRef(o.register(t, {
797
+ }), x = u.useRef(e), A = u.useRef(void 0), v = u.useRef(o.register(t, {
801
798
  ...e.rules,
802
- value: M,
803
- ...H(e.disabled) ? { disabled: e.disabled } : {}
799
+ value: C,
800
+ ...G(e.disabled) ? { disabled: e.disabled } : {}
804
801
  }));
805
802
  x.current = e;
806
- const y = m.useMemo(() => Object.defineProperties({}, {
803
+ const y = u.useMemo(() => Object.defineProperties({}, {
807
804
  invalid: {
808
805
  enumerable: !0,
809
806
  get: () => !!I(g.errors, t)
@@ -824,66 +821,109 @@ function gt(e) {
824
821
  enumerable: !0,
825
822
  get: () => I(g.errors, t)
826
823
  }
827
- }), [g, t]), b = m.useCallback((u) => A.current.onChange({
824
+ }), [g, t]), b = u.useCallback((m) => v.current.onChange({
828
825
  target: {
829
- value: nt(u),
826
+ value: it(m),
830
827
  name: t
831
828
  },
832
- type: Y.CHANGE
833
- }), [t]), h = m.useCallback(() => A.current.onBlur({
829
+ type: ee.CHANGE
830
+ }), [t]), h = u.useCallback(() => v.current.onBlur({
834
831
  target: {
835
832
  value: I(o._formValues, t),
836
833
  name: t
837
834
  },
838
- type: Y.BLUR
839
- }), [t, o._formValues]), S = m.useCallback((u) => {
840
- const C = I(o._fields, t);
841
- C && C._f && u && (C._f.ref = {
842
- focus: () => R(u.focus) && u.focus(),
843
- select: () => R(u.select) && u.select(),
844
- setCustomValidity: (_) => R(u.setCustomValidity) && u.setCustomValidity(_),
845
- reportValidity: () => R(u.reportValidity) && u.reportValidity()
835
+ type: ee.BLUR
836
+ }), [t, o._formValues]), S = u.useCallback((m) => {
837
+ const M = I(o._fields, t);
838
+ M && M._f && m && (M._f.ref = {
839
+ focus: () => P(m.focus) && m.focus(),
840
+ select: () => P(m.select) && m.select(),
841
+ setCustomValidity: (_) => P(m.setCustomValidity) && m.setCustomValidity(_),
842
+ reportValidity: () => P(m.reportValidity) && m.reportValidity()
846
843
  });
847
- }, [o._fields, t]), D = m.useMemo(() => ({
844
+ }, [o._fields, t]), D = u.useMemo(() => ({
848
845
  name: t,
849
- value: M,
850
- ...H(a) || g.disabled ? { disabled: g.disabled || a } : {},
846
+ value: C,
847
+ ...G(a) || g.disabled ? { disabled: g.disabled || a } : {},
851
848
  onChange: b,
852
849
  onBlur: h,
853
850
  ref: S
854
- }), [t, a, g.disabled, b, h, S, M]);
855
- return m.useEffect(() => {
856
- const u = o._options.shouldUnregister || s, C = w.current;
857
- C && C !== t && !f && o.unregister(C), o.register(t, {
851
+ }), [t, a, g.disabled, b, h, S, C]);
852
+ return u.useEffect(() => {
853
+ const m = o._options.shouldUnregister || s, M = A.current;
854
+ M && M !== t && !c && o.unregister(M), o.register(t, {
858
855
  ...x.current.rules,
859
- ...H(x.current.disabled) ? { disabled: x.current.disabled } : {}
856
+ ...G(x.current.disabled) ? { disabled: x.current.disabled } : {}
860
857
  });
861
- const _ = (F, pe) => {
862
- const L = I(o._fields, F);
863
- L && L._f && (L._f.mount = pe);
858
+ const _ = (T, be) => {
859
+ const B = I(o._fields, T);
860
+ B && B._f && (B._f.mount = be);
864
861
  };
865
- if (_(t, !0), u) {
866
- const F = se(I(o._options.defaultValues, t, x.current.defaultValue));
867
- X(o._defaultValues, t, F), U(I(o._formValues, t)) && X(o._formValues, t, F);
862
+ if (_(t, !0), m) {
863
+ const T = de(I(o._options.defaultValues, t, x.current.defaultValue));
864
+ Y(o._defaultValues, t, T), z(I(o._formValues, t)) && Y(o._formValues, t, T);
868
865
  }
869
- return !f && o.register(t), w.current = t, () => {
870
- (f ? u && !o._state.action : u) ? o.unregister(t) : _(t, !1);
866
+ return !c && o.register(t), A.current = t, () => {
867
+ (c ? m && !o._state.action : m) ? o.unregister(t) : _(t, !1);
871
868
  };
872
- }, [t, o, f, s]), m.useEffect(() => {
869
+ }, [t, o, c, s]), u.useEffect(() => {
873
870
  o._setDisabledField({
874
871
  disabled: a,
875
872
  name: t
876
873
  });
877
- }, [a, t, o]), m.useMemo(() => ({
874
+ }, [a, t, o]), u.useMemo(() => ({
878
875
  field: D,
879
876
  formState: g,
880
877
  fieldState: y
881
878
  }), [D, g, y]);
882
879
  }
883
- const ht = (e) => e.render(gt(e)), Rr = ct, ce = v.createContext(null), Pr = ({
880
+ const ht = (e) => e.render(gt(e)), $ = u.createContext(null);
881
+ $.displayName = "HookFormContext";
882
+ const xt = () => u.useContext($), vt = (e) => {
883
+ const { children: r, watch: t, getValues: a, getFieldState: o, setError: s, clearErrors: d, setValue: l, trigger: c, formState: p, resetField: C, reset: g, handleSubmit: x, unregister: A, control: v, register: y, setFocus: b, subscribe: h } = e;
884
+ return u.createElement(
885
+ $.Provider,
886
+ { value: u.useMemo(() => ({
887
+ watch: t,
888
+ getValues: a,
889
+ getFieldState: o,
890
+ setError: s,
891
+ clearErrors: d,
892
+ setValue: l,
893
+ trigger: c,
894
+ formState: p,
895
+ resetField: C,
896
+ reset: g,
897
+ handleSubmit: x,
898
+ unregister: A,
899
+ control: v,
900
+ register: y,
901
+ setFocus: b,
902
+ subscribe: h
903
+ }), [
904
+ d,
905
+ v,
906
+ p,
907
+ o,
908
+ a,
909
+ x,
910
+ y,
911
+ g,
912
+ C,
913
+ s,
914
+ b,
915
+ l,
916
+ h,
917
+ c,
918
+ A,
919
+ t
920
+ ]) },
921
+ u.createElement(K.Provider, { value: v }, r)
922
+ );
923
+ }, Or = vt, me = w.createContext(null), Vr = ({
884
924
  ...e
885
- }) => /* @__PURE__ */ n(ce.Provider, { value: { name: e.name }, children: /* @__PURE__ */ n(ht, { ...e }) }), B = () => {
886
- const e = v.useContext(ce), r = v.useContext(me), { getFieldState: t, formState: a } = V();
925
+ }) => /* @__PURE__ */ n(me.Provider, { value: { name: e.name }, children: /* @__PURE__ */ n(ht, { ...e }) }), V = () => {
926
+ const e = w.useContext(me), r = w.useContext(fe), { getFieldState: t, formState: a } = xt();
887
927
  if (!e)
888
928
  throw new Error("useFormField should be used within <FormField>");
889
929
  if (!r)
@@ -897,30 +937,30 @@ const ht = (e) => e.render(gt(e)), Rr = ct, ce = v.createContext(null), Pr = ({
897
937
  formMessageId: `${s}-form-item-message`,
898
938
  ...o
899
939
  };
900
- }, me = v.createContext(null), xt = v.forwardRef(
940
+ }, fe = w.createContext(null), At = w.forwardRef(
901
941
  ({ className: e, ...r }, t) => {
902
- const a = v.useId();
903
- return /* @__PURE__ */ n(me.Provider, { value: { id: a }, children: /* @__PURE__ */ n("div", { ref: t, className: c("space-y-2", e), ...r }) });
942
+ const a = w.useId();
943
+ return /* @__PURE__ */ n(fe.Provider, { value: { id: a }, children: /* @__PURE__ */ n("div", { ref: t, className: f("space-y-2", e), ...r }) });
904
944
  }
905
945
  );
906
- xt.displayName = "FormItem";
907
- const vt = v.forwardRef(({ className: e, ...r }, t) => {
908
- const { error: a, formItemId: o } = B();
946
+ At.displayName = "FormItem";
947
+ const wt = w.forwardRef(({ className: e, ...r }, t) => {
948
+ const { error: a, formItemId: o } = V();
909
949
  return /* @__PURE__ */ n(
910
- De,
950
+ _e,
911
951
  {
912
952
  ref: t,
913
- className: c(a && "text-destructive", e),
953
+ className: f(a && "text-destructive", e),
914
954
  htmlFor: o,
915
955
  ...r
916
956
  }
917
957
  );
918
958
  });
919
- vt.displayName = "FormLabel";
920
- const At = v.forwardRef(({ ...e }, r) => {
921
- const { error: t, formItemId: a, formDescriptionId: o, formMessageId: s } = B();
959
+ wt.displayName = "FormLabel";
960
+ const yt = w.forwardRef(({ ...e }, r) => {
961
+ const { error: t, formItemId: a, formDescriptionId: o, formMessageId: s } = V();
922
962
  return /* @__PURE__ */ n(
923
- T,
963
+ k,
924
964
  {
925
965
  ref: r,
926
966
  id: a,
@@ -930,120 +970,120 @@ const At = v.forwardRef(({ ...e }, r) => {
930
970
  }
931
971
  );
932
972
  });
933
- At.displayName = "FormControl";
934
- const wt = v.forwardRef(({ className: e, ...r }, t) => {
935
- const { formDescriptionId: a } = B();
973
+ yt.displayName = "FormControl";
974
+ const Ct = w.forwardRef(({ className: e, ...r }, t) => {
975
+ const { formDescriptionId: a } = V();
936
976
  return /* @__PURE__ */ n(
937
977
  "p",
938
978
  {
939
979
  ref: t,
940
980
  id: a,
941
- className: c("text-[0.8rem] text-muted-foreground", e),
981
+ className: f("text-[0.8rem] text-muted-foreground", e),
942
982
  ...r
943
983
  }
944
984
  );
945
985
  });
946
- wt.displayName = "FormDescription";
947
- const yt = v.forwardRef(({ className: e, children: r, ...t }, a) => {
948
- const { error: o, formMessageId: s } = B(), d = o ? String((o == null ? void 0 : o.message) ?? "") : r;
986
+ Ct.displayName = "FormDescription";
987
+ const St = w.forwardRef(({ className: e, children: r, ...t }, a) => {
988
+ const { error: o, formMessageId: s } = V(), d = o ? String((o == null ? void 0 : o.message) ?? "") : r;
949
989
  return d ? /* @__PURE__ */ n(
950
990
  "p",
951
991
  {
952
992
  ref: a,
953
993
  id: s,
954
- className: c("font-medium text-[0.8rem] text-destructive", e),
994
+ className: f("font-medium text-[0.8rem] text-destructive", e),
955
995
  ...t,
956
996
  children: d
957
997
  }
958
998
  ) : null;
959
999
  });
960
- yt.displayName = "FormMessage";
961
- function St(e, r) {
1000
+ St.displayName = "FormMessage";
1001
+ function Mt(e, r) {
962
1002
  let t = null;
963
1003
  return function(...a) {
964
1004
  t && clearTimeout(t), t = setTimeout(() => e.apply(this, a), r);
965
1005
  };
966
1006
  }
967
- const fe = Fe(null);
968
- function Or({
1007
+ const pe = Pe(null);
1008
+ function Br({
969
1009
  children: e,
970
1010
  values: r,
971
1011
  defaultValues: t,
972
1012
  onValuesChange: a
973
1013
  }) {
974
- const [o, s] = P(!1), [d, l] = P(new Set(r ?? t)), f = r ? new Set(r) : d, [p, M] = P(/* @__PURE__ */ new Map());
975
- function g(w) {
976
- const A = (y) => {
1014
+ const [o, s] = R(!1), [d, l] = R(new Set(r ?? t)), c = r ? new Set(r) : d, [p, C] = R(/* @__PURE__ */ new Map());
1015
+ function g(A) {
1016
+ const v = (y) => {
977
1017
  const b = new Set(y);
978
- return b.has(w) ? b.delete(w) : b.add(w), b;
1018
+ return b.has(A) ? b.delete(A) : b.add(A), b;
979
1019
  };
980
- l(A), a == null || a([...A(f)]);
1020
+ l(v), a == null || a([...v(c)]);
981
1021
  }
982
- const x = z((w, A) => {
983
- M((y) => y.get(w) === A ? y : new Map(y).set(w, A));
1022
+ const x = H((A, v) => {
1023
+ C((y) => y.get(A) === v ? y : new Map(y).set(A, v));
984
1024
  }, []);
985
1025
  return /* @__PURE__ */ n(
986
- fe,
1026
+ pe,
987
1027
  {
988
1028
  value: {
989
1029
  open: o,
990
1030
  setOpen: s,
991
- selectedValues: f,
1031
+ selectedValues: c,
992
1032
  toggleValue: g,
993
1033
  items: p,
994
1034
  onItemAdded: x
995
1035
  },
996
- children: /* @__PURE__ */ n(_e, { open: o, onOpenChange: s, modal: !0, children: e })
1036
+ children: /* @__PURE__ */ n(Ee, { open: o, onOpenChange: s, modal: !0, children: e })
997
1037
  }
998
1038
  );
999
1039
  }
1000
- function Vr({
1040
+ function Lr({
1001
1041
  className: e,
1002
1042
  children: r,
1003
1043
  ...t
1004
1044
  }) {
1005
- const { open: a } = $();
1006
- return /* @__PURE__ */ n(Te, { asChild: !0, children: /* @__PURE__ */ N(
1007
- ae,
1045
+ const { open: a } = J();
1046
+ return /* @__PURE__ */ n(Fe, { asChild: !0, children: /* @__PURE__ */ N(
1047
+ oe,
1008
1048
  {
1009
1049
  ...t,
1010
1050
  variant: t.variant ?? "outline",
1011
1051
  role: t.role ?? "combobox",
1012
1052
  "aria-expanded": t["aria-expanded"] ?? a,
1013
- className: c(
1053
+ className: f(
1014
1054
  "flex text-secondary cursor-pointer h-auto min-h-9 w-fit items-center justify-between gap-2 overflow-hidden rounded-md border border-input bg-transparent px-3 py-1.5 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
1015
1055
  e
1016
1056
  ),
1017
1057
  children: [
1018
1058
  r,
1019
- /* @__PURE__ */ n(Le, { className: "opacity-50 size-4 shrink-0" })
1059
+ /* @__PURE__ */ n(Ge, { className: "opacity-50 size-4 shrink-0" })
1020
1060
  ]
1021
1061
  }
1022
1062
  ) });
1023
1063
  }
1024
- function Br({
1064
+ function Gr({
1025
1065
  placeholder: e,
1026
1066
  clickToRemove: r = !0,
1027
1067
  className: t,
1028
1068
  overflowBehavior: a = "wrap-when-open",
1029
1069
  ...o
1030
1070
  }) {
1031
- const { selectedValues: s, toggleValue: d, items: l, open: f } = $(), [p, M] = P(0), g = Z(null), x = Z(null), w = a === "wrap" || a === "wrap-when-open" && f, A = z(() => {
1071
+ const { selectedValues: s, toggleValue: d, items: l, open: c } = J(), [p, C] = R(0), g = j(null), x = j(null), A = a === "wrap" || a === "wrap-when-open" && c, v = H(() => {
1032
1072
  if (g.current == null) return;
1033
1073
  const b = g.current, h = x.current, S = b.querySelectorAll("[data-selected-item]");
1034
- h != null && (h.style.display = "none"), S.forEach((u) => u.style.removeProperty("display"));
1074
+ h != null && (h.style.display = "none"), S.forEach((m) => m.style.removeProperty("display"));
1035
1075
  let D = 0;
1036
- for (let u = S.length - 1; u >= 0; u--) {
1037
- const C = S[u];
1076
+ for (let m = S.length - 1; m >= 0; m--) {
1077
+ const M = S[m];
1038
1078
  if (b.scrollWidth <= b.clientWidth)
1039
1079
  break;
1040
- D = S.length - u, C.style.display = "none", h == null || h.style.removeProperty("display");
1080
+ D = S.length - m, M.style.display = "none", h == null || h.style.removeProperty("display");
1041
1081
  }
1042
- M(D);
1043
- }, []), y = z(
1082
+ C(D);
1083
+ }, []), y = H(
1044
1084
  (b) => {
1045
1085
  g.current = b;
1046
- const h = new MutationObserver(A), S = 100, D = new ResizeObserver(St(A, S));
1086
+ const h = new MutationObserver(v), S = 100, D = new ResizeObserver(Mt(v, S));
1047
1087
  return h.observe(b, {
1048
1088
  childList: !0,
1049
1089
  attributes: !0,
@@ -1052,21 +1092,21 @@ function Br({
1052
1092
  D.disconnect(), h.disconnect(), g.current = null;
1053
1093
  };
1054
1094
  },
1055
- [A]
1095
+ [v]
1056
1096
  );
1057
1097
  return s.size === 0 && e ? /* @__PURE__ */ n("span", { className: "min-w-0 overflow-hidden font-normal text-muted-foreground", children: e }) : /* @__PURE__ */ N(
1058
1098
  "div",
1059
1099
  {
1060
1100
  ...o,
1061
1101
  ref: y,
1062
- className: c(
1102
+ className: f(
1063
1103
  "flex gap-1.5 w-full overflow-hidden",
1064
- w && "h-full flex-wrap",
1104
+ A && "h-full flex-wrap",
1065
1105
  t
1066
1106
  ),
1067
1107
  children: [
1068
1108
  [...s].filter((b) => l.has(b)).map((b) => /* @__PURE__ */ N(
1069
- j,
1109
+ q,
1070
1110
  {
1071
1111
  variant: "outline",
1072
1112
  "data-selected-item": !0,
@@ -1076,17 +1116,17 @@ function Br({
1076
1116
  } : void 0,
1077
1117
  children: [
1078
1118
  l.get(b),
1079
- r && /* @__PURE__ */ n(Ge, { className: "size-2 text-muted-foreground group-hover:text-destructive hover:cursor-pointer group-hover:cursor-pointer" })
1119
+ r && /* @__PURE__ */ n(He, { className: "size-2 text-muted-foreground group-hover:text-destructive hover:cursor-pointer group-hover:cursor-pointer" })
1080
1120
  ]
1081
1121
  },
1082
1122
  b
1083
1123
  )),
1084
1124
  /* @__PURE__ */ N(
1085
- j,
1125
+ q,
1086
1126
  {
1087
1127
  className: "text-secondary cursor-pointer",
1088
1128
  style: {
1089
- display: p > 0 && !w ? "block" : "none"
1129
+ display: p > 0 && !A ? "block" : "none"
1090
1130
  },
1091
1131
  variant: "outline",
1092
1132
  ref: x,
@@ -1100,29 +1140,29 @@ function Br({
1100
1140
  }
1101
1141
  );
1102
1142
  }
1103
- function Lr({
1143
+ function Hr({
1104
1144
  search: e = !0,
1105
1145
  children: r,
1106
1146
  ...t
1107
1147
  }) {
1108
1148
  const a = typeof e == "object" ? !0 : e;
1109
- return /* @__PURE__ */ N(ke, { children: [
1110
- /* @__PURE__ */ n("div", { style: { display: "none" }, children: /* @__PURE__ */ n(J, { children: /* @__PURE__ */ n(Q, { children: r }) }) }),
1111
- /* @__PURE__ */ n(Ee, { className: "p-0 min-w-[var(--radix-popover-trigger-width)]", children: /* @__PURE__ */ N(J, { ...t, children: [
1149
+ return /* @__PURE__ */ N(Te, { children: [
1150
+ /* @__PURE__ */ n("div", { style: { display: "none" }, children: /* @__PURE__ */ n(Q, { children: /* @__PURE__ */ n(Z, { children: r }) }) }),
1151
+ /* @__PURE__ */ n(ke, { className: "p-0 min-w-[var(--radix-popover-trigger-width)]", children: /* @__PURE__ */ N(Q, { ...t, children: [
1112
1152
  a ? /* @__PURE__ */ n(
1113
- ve,
1153
+ Ae,
1114
1154
  {
1115
1155
  placeholder: typeof e == "object" ? e.placeholder : void 0
1116
1156
  }
1117
1157
  ) : /* @__PURE__ */ n("button", { className: "sr-only" }),
1118
- /* @__PURE__ */ N(Q, { children: [
1119
- a && /* @__PURE__ */ n(Ae, { children: typeof e == "object" ? e.emptyMessage : void 0 }),
1158
+ /* @__PURE__ */ N(Z, { children: [
1159
+ a && /* @__PURE__ */ n(we, { children: typeof e == "object" ? e.emptyMessage : void 0 }),
1120
1160
  r
1121
1161
  ] })
1122
1162
  ] }) })
1123
1163
  ] });
1124
1164
  }
1125
- function Gr({
1165
+ function zr({
1126
1166
  value: e,
1127
1167
  children: r,
1128
1168
  badgeLabel: t,
@@ -1130,210 +1170,210 @@ function Gr({
1130
1170
  className: o,
1131
1171
  ...s
1132
1172
  }) {
1133
- const { toggleValue: d, selectedValues: l, onItemAdded: f } = $(), p = l.has(e);
1173
+ const { toggleValue: d, selectedValues: l, onItemAdded: c } = J(), p = l.has(e);
1134
1174
  return Re(() => {
1135
- f(e, t ?? r);
1136
- }, [e, r, f, t]), /* @__PURE__ */ N(
1137
- ye,
1175
+ c(e, t ?? r);
1176
+ }, [e, r, c, t]), /* @__PURE__ */ N(
1177
+ Ce,
1138
1178
  {
1139
1179
  ...s,
1140
1180
  onSelect: () => {
1141
1181
  d(e), a == null || a(e);
1142
1182
  },
1143
- className: c("text-secondary data-[selected=true]:text-secondary cursor-pointer", o),
1183
+ className: f("text-secondary data-[selected=true]:text-secondary cursor-pointer", o),
1144
1184
  children: [
1145
- /* @__PURE__ */ n(Be, { className: c("mr-2 size-4", p ? "opacity-100" : "opacity-0") }),
1185
+ /* @__PURE__ */ n(Le, { className: f("mr-2 size-4", p ? "opacity-100" : "opacity-0") }),
1146
1186
  r
1147
1187
  ]
1148
1188
  }
1149
1189
  );
1150
1190
  }
1151
- function Hr(e) {
1152
- return /* @__PURE__ */ n(we, { ...e });
1191
+ function Ur(e) {
1192
+ return /* @__PURE__ */ n(ye, { ...e });
1153
1193
  }
1154
- function $() {
1155
- const e = Pe(fe);
1194
+ function J() {
1195
+ const e = Oe(pe);
1156
1196
  if (e == null)
1157
1197
  throw new Error("useMultiSelectContext must be used within a MultiSelectContext");
1158
1198
  return e;
1159
1199
  }
1160
1200
  export {
1161
- Ca as Accordion,
1162
- Ma as AccordionContent,
1163
- Ia as AccordionItem,
1164
- Na as AccordionTrigger,
1165
- $r as AlertDialog,
1166
- Jr as AlertDialogAction,
1167
- Qr as AlertDialogCancel,
1168
- Zr as AlertDialogContent,
1169
- jr as AlertDialogDescription,
1170
- qr as AlertDialogFooter,
1171
- Xr as AlertDialogHeader,
1172
- Yr as AlertDialogOverlay,
1173
- ea as AlertDialogPortal,
1174
- ta as AlertDialogTitle,
1175
- ra as AlertDialogTrigger,
1176
- _a as Avatar,
1177
- Ea as AvatarFallback,
1201
+ Ia as Accordion,
1202
+ Na as AccordionContent,
1203
+ Da as AccordionItem,
1204
+ _a as AccordionTrigger,
1205
+ Qr as AlertDialog,
1206
+ Zr as AlertDialogAction,
1207
+ jr as AlertDialogCancel,
1208
+ qr as AlertDialogContent,
1209
+ Xr as AlertDialogDescription,
1210
+ Yr as AlertDialogFooter,
1211
+ ea as AlertDialogHeader,
1212
+ ta as AlertDialogOverlay,
1213
+ ra as AlertDialogPortal,
1214
+ aa as AlertDialogTitle,
1215
+ oa as AlertDialogTrigger,
1216
+ ka as Avatar,
1217
+ Fa as AvatarFallback,
1178
1218
  Ta as AvatarImage,
1179
- oa as Calendar,
1180
- na as CalendarDayButton,
1181
- sa as Carousel,
1182
- da as CarouselContent,
1183
- la as CarouselItem,
1184
- ua as CarouselNext,
1185
- ca as CarouselPrevious,
1186
- Fa as Checkbox,
1187
- fa as Combobox,
1188
- J as Command,
1219
+ ia as Calendar,
1220
+ sa as CalendarDayButton,
1221
+ la as Carousel,
1222
+ ua as CarouselContent,
1223
+ ca as CarouselItem,
1224
+ ma as CarouselNext,
1225
+ fa as CarouselPrevious,
1226
+ Ra as Checkbox,
1227
+ ba as Combobox,
1228
+ Q as Command,
1189
1229
  To as CommandDialog,
1190
- Ae as CommandEmpty,
1191
- we as CommandGroup,
1192
- ve as CommandInput,
1193
- ye as CommandItem,
1194
- Q as CommandList,
1195
- ko as CommandSeparator,
1196
- Fo as CommandShortcut,
1197
- Pa as ContextMenu,
1198
- Oa as ContextMenuCheckboxItem,
1199
- Va as ContextMenuContent,
1200
- Ba as ContextMenuGroup,
1201
- La as ContextMenuItem,
1202
- Ga as ContextMenuLabel,
1203
- Ha as ContextMenuPortal,
1204
- za as ContextMenuRadioGroup,
1205
- Ua as ContextMenuRadioItem,
1206
- Ka as ContextMenuSeparator,
1207
- Wa as ContextMenuShortcut,
1208
- $a as ContextMenuSub,
1209
- Ja as ContextMenuSubContent,
1210
- Qa as ContextMenuSubTrigger,
1211
- Za as ContextMenuTrigger,
1212
- Po as Dialog,
1213
- Oo as DialogClose,
1214
- Vo as DialogContent,
1215
- Bo as DialogDescription,
1216
- Lo as DialogFooter,
1217
- Go as DialogHeader,
1218
- Ho as DialogOverlay,
1219
- zo as DialogPortal,
1220
- Uo as DialogTitle,
1221
- Ko as DialogTrigger,
1222
- $o as Drawer,
1223
- Jo as DrawerClose,
1224
- Qo as DrawerContent,
1225
- Zo as DrawerDescription,
1226
- jo as DrawerFooter,
1227
- qo as DrawerHeader,
1228
- Xo as DrawerOverlay,
1229
- Yo as DrawerPortal,
1230
- en as DrawerTitle,
1231
- tn as DrawerTrigger,
1232
- qa as DropdownMenu,
1233
- Xa as DropdownMenuCheckboxItem,
1234
- Ya as DropdownMenuContent,
1235
- eo as DropdownMenuGroup,
1236
- to as DropdownMenuItem,
1237
- ro as DropdownMenuLabel,
1238
- ao as DropdownMenuPortal,
1239
- oo as DropdownMenuRadioGroup,
1240
- no as DropdownMenuRadioItem,
1241
- io as DropdownMenuSeparator,
1242
- so as DropdownMenuShortcut,
1243
- lo as DropdownMenuSub,
1244
- uo as DropdownMenuSubContent,
1245
- co as DropdownMenuSubTrigger,
1246
- mo as DropdownMenuTrigger,
1247
- Rr as Form,
1248
- At as FormControl,
1249
- wt as FormDescription,
1250
- Pr as FormField,
1251
- xt as FormItem,
1252
- vt as FormLabel,
1253
- yt as FormMessage,
1254
- po as HoverCard,
1255
- bo as HoverCardContent,
1256
- go as HoverCardTrigger,
1257
- ba as InputOTP,
1258
- ga as InputOTPGroup,
1259
- ha as InputOTPSeparator,
1260
- xa as InputOTPSlot,
1261
- De as Label,
1262
- mn as Menubar,
1263
- fn as MenubarCheckboxItem,
1264
- pn as MenubarContent,
1265
- bn as MenubarGroup,
1266
- gn as MenubarItem,
1267
- hn as MenubarLabel,
1268
- xn as MenubarMenu,
1269
- vn as MenubarPortal,
1270
- An as MenubarRadioGroup,
1271
- wn as MenubarRadioItem,
1272
- yn as MenubarSeparator,
1273
- Sn as MenubarShortcut,
1274
- Cn as MenubarSub,
1275
- Mn as MenubarSubContent,
1276
- In as MenubarSubTrigger,
1277
- Nn as MenubarTrigger,
1278
- Or as MultiSelect,
1279
- Lr as MultiSelectContent,
1280
- Hr as MultiSelectGroup,
1281
- Gr as MultiSelectItem,
1282
- Vr as MultiSelectTrigger,
1283
- Br as MultiSelectValue,
1284
- _e as Popover,
1285
- _n as PopoverAnchor,
1286
- Ee as PopoverContent,
1287
- Te as PopoverTrigger,
1288
- ya as Progress,
1289
- xo as RadioGroup,
1290
- vo as RadioGroupItem,
1291
- wo as ScrollArea,
1292
- yo as ScrollBar,
1230
+ we as CommandEmpty,
1231
+ ye as CommandGroup,
1232
+ Ae as CommandInput,
1233
+ Ce as CommandItem,
1234
+ Z as CommandList,
1235
+ Po as CommandSeparator,
1236
+ Ro as CommandShortcut,
1237
+ Va as ContextMenu,
1238
+ Ba as ContextMenuCheckboxItem,
1239
+ La as ContextMenuContent,
1240
+ Ga as ContextMenuGroup,
1241
+ Ha as ContextMenuItem,
1242
+ za as ContextMenuLabel,
1243
+ Ua as ContextMenuPortal,
1244
+ Ka as ContextMenuRadioGroup,
1245
+ Wa as ContextMenuRadioItem,
1246
+ $a as ContextMenuSeparator,
1247
+ Ja as ContextMenuShortcut,
1248
+ Qa as ContextMenuSub,
1249
+ Za as ContextMenuSubContent,
1250
+ ja as ContextMenuSubTrigger,
1251
+ qa as ContextMenuTrigger,
1252
+ Vo as Dialog,
1253
+ Bo as DialogClose,
1254
+ Lo as DialogContent,
1255
+ Go as DialogDescription,
1256
+ Ho as DialogFooter,
1257
+ zo as DialogHeader,
1258
+ Uo as DialogOverlay,
1259
+ Ko as DialogPortal,
1260
+ Wo as DialogTitle,
1261
+ $o as DialogTrigger,
1262
+ Qo as Drawer,
1263
+ Zo as DrawerClose,
1264
+ jo as DrawerContent,
1265
+ qo as DrawerDescription,
1266
+ Xo as DrawerFooter,
1267
+ Yo as DrawerHeader,
1268
+ en as DrawerOverlay,
1269
+ tn as DrawerPortal,
1270
+ rn as DrawerTitle,
1271
+ an as DrawerTrigger,
1272
+ Ya as DropdownMenu,
1273
+ eo as DropdownMenuCheckboxItem,
1274
+ to as DropdownMenuContent,
1275
+ ro as DropdownMenuGroup,
1276
+ ao as DropdownMenuItem,
1277
+ oo as DropdownMenuLabel,
1278
+ no as DropdownMenuPortal,
1279
+ io as DropdownMenuRadioGroup,
1280
+ so as DropdownMenuRadioItem,
1281
+ lo as DropdownMenuSeparator,
1282
+ uo as DropdownMenuShortcut,
1283
+ co as DropdownMenuSub,
1284
+ mo as DropdownMenuSubContent,
1285
+ fo as DropdownMenuSubTrigger,
1286
+ po as DropdownMenuTrigger,
1287
+ Or as Form,
1288
+ yt as FormControl,
1289
+ Ct as FormDescription,
1290
+ Vr as FormField,
1291
+ At as FormItem,
1292
+ wt as FormLabel,
1293
+ St as FormMessage,
1294
+ go as HoverCard,
1295
+ ho as HoverCardContent,
1296
+ xo as HoverCardTrigger,
1297
+ ha as InputOTP,
1298
+ xa as InputOTPGroup,
1299
+ va as InputOTPSeparator,
1300
+ Aa as InputOTPSlot,
1301
+ _e as Label,
1302
+ pn as Menubar,
1303
+ bn as MenubarCheckboxItem,
1304
+ gn as MenubarContent,
1305
+ hn as MenubarGroup,
1306
+ xn as MenubarItem,
1307
+ vn as MenubarLabel,
1308
+ An as MenubarMenu,
1309
+ wn as MenubarPortal,
1310
+ yn as MenubarRadioGroup,
1311
+ Cn as MenubarRadioItem,
1312
+ Sn as MenubarSeparator,
1313
+ Mn as MenubarShortcut,
1314
+ In as MenubarSub,
1315
+ Nn as MenubarSubContent,
1316
+ Dn as MenubarSubTrigger,
1317
+ _n as MenubarTrigger,
1318
+ Br as MultiSelect,
1319
+ Hr as MultiSelectContent,
1320
+ Ur as MultiSelectGroup,
1321
+ zr as MultiSelectItem,
1322
+ Lr as MultiSelectTrigger,
1323
+ Gr as MultiSelectValue,
1324
+ Ee as Popover,
1325
+ kn as PopoverAnchor,
1326
+ ke as PopoverContent,
1327
+ Fe as PopoverTrigger,
1328
+ Sa as Progress,
1329
+ Ao as RadioGroup,
1330
+ wo as RadioGroupItem,
1331
+ Co as ScrollArea,
1332
+ So as ScrollBar,
1293
1333
  Se as Sheet,
1294
- an as SheetClose,
1295
- Ce as SheetContent,
1296
- Ne as SheetDescription,
1297
- on as SheetFooter,
1298
- Me as SheetHeader,
1299
- Ie as SheetTitle,
1300
- nn as SheetTrigger,
1301
- mr as Sidebar,
1302
- Ar as SidebarContent,
1303
- xr as SidebarFooter,
1304
- wr as SidebarGroup,
1305
- Sr as SidebarGroupAction,
1306
- Cr as SidebarGroupContent,
1307
- yr as SidebarGroupLabel,
1308
- hr as SidebarHeader,
1309
- gr as SidebarInput,
1310
- br as SidebarInset,
1311
- Mr as SidebarMenu,
1312
- Dr as SidebarMenuAction,
1313
- _r as SidebarMenuBadge,
1314
- Nr as SidebarMenuButton,
1315
- Ir as SidebarMenuItem,
1316
- Er as SidebarMenuSkeleton,
1334
+ nn as SheetClose,
1335
+ Me as SheetContent,
1336
+ De as SheetDescription,
1337
+ sn as SheetFooter,
1338
+ Ie as SheetHeader,
1339
+ Ne as SheetTitle,
1340
+ dn as SheetTrigger,
1341
+ pr as Sidebar,
1342
+ yr as SidebarContent,
1343
+ Ar as SidebarFooter,
1344
+ Cr as SidebarGroup,
1345
+ Mr as SidebarGroupAction,
1346
+ Ir as SidebarGroupContent,
1347
+ Sr as SidebarGroupLabel,
1348
+ vr as SidebarHeader,
1349
+ xr as SidebarInput,
1350
+ hr as SidebarInset,
1351
+ Nr as SidebarMenu,
1352
+ Er as SidebarMenuAction,
1353
+ kr as SidebarMenuBadge,
1354
+ _r as SidebarMenuButton,
1355
+ Dr as SidebarMenuItem,
1356
+ Fr as SidebarMenuSkeleton,
1317
1357
  Tr as SidebarMenuSub,
1318
- Fr as SidebarMenuSubButton,
1319
- kr as SidebarMenuSubItem,
1320
- cr as SidebarProvider,
1321
- pr as SidebarRail,
1322
- vr as SidebarSeparator,
1323
- fr as SidebarTrigger,
1324
- Aa as Slider,
1325
- Co as Switch,
1326
- Io as Tabs,
1327
- No as TabsContent,
1328
- Do as TabsList,
1329
- _o as TabsTrigger,
1330
- Kr as TextReveal,
1331
- dn as Toaster,
1332
- un as Toggle,
1333
- be as Tooltip,
1334
- he as TooltipContent,
1335
- xe as TooltipProvider,
1336
- ge as TooltipTrigger,
1337
- B as useFormField,
1338
- ne as useSidebar
1358
+ Rr as SidebarMenuSubButton,
1359
+ Pr as SidebarMenuSubItem,
1360
+ fr as SidebarProvider,
1361
+ gr as SidebarRail,
1362
+ wr as SidebarSeparator,
1363
+ br as SidebarTrigger,
1364
+ ya as Slider,
1365
+ Io as Switch,
1366
+ Do as Tabs,
1367
+ _o as TabsContent,
1368
+ Eo as TabsList,
1369
+ ko as TabsTrigger,
1370
+ $r as TextReveal,
1371
+ un as Toaster,
1372
+ mn as Toggle,
1373
+ ge as Tooltip,
1374
+ xe as TooltipContent,
1375
+ ve as TooltipProvider,
1376
+ he as TooltipTrigger,
1377
+ V as useFormField,
1378
+ ie as useSidebar
1339
1379
  };