@syscore/ui-library 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("react"),t=require("@radix-ui/react-accordion"),s=require("lucide-react"),r=require("@/lib/utils"),o=require("@radix-ui/react-aspect-ratio"),n=require("@radix-ui/react-separator"),i=require("@radix-ui/react-scroll-area"),d=require("react-resizable-panels"),l=require("@radix-ui/react-slot"),c=require("class-variance-authority"),m=require("@/hooks/use-mobile"),p=require("@/components/ui/button"),f=require("@/components/ui/input"),u=require("@/components/ui/separator"),x=require("@/components/ui/sheet"),g=require("@/components/ui/skeleton"),b=require("@/components/ui/tooltip"),N=require("@radix-ui/react-label"),h=require("@radix-ui/react-checkbox"),v=require("@radix-ui/react-radio-group"),y=require("@radix-ui/react-switch"),w=require("@radix-ui/react-slider"),j=require("input-otp"),C=require("@radix-ui/react-select"),R=require("react-hook-form"),k=require("@/components/ui/label"),S=require("@radix-ui/react-toggle-group"),T=require("@/components/ui/toggle"),I=require("@radix-ui/react-toggle"),z=require("@radix-ui/react-alert-dialog"),D=require("@radix-ui/react-avatar"),M=require("@radix-ui/react-progress"),_=require("react-day-picker"),P=require("@radix-ui/react-tabs"),q=require("@radix-ui/react-navigation-menu"),A=require("@radix-ui/react-menubar"),L=require("@radix-ui/react-dropdown-menu"),O=require("@radix-ui/react-dialog"),F=require("vaul"),B=require("@radix-ui/react-popover"),G=require("@radix-ui/react-hover-card"),V=require("@radix-ui/react-tooltip"),H=require("@radix-ui/react-context-menu"),$=require("embla-carousel-react"),E=require("@radix-ui/react-collapsible"),K=require("cmdk"),U=require("@/components/ui/dialog"),X=require("@radix-ui/react-toast"),J=require("@/hooks/use-toast"),Q=require("@/components/ui/toast"),W=require("recharts");function Y(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const t in e)if("default"!==t){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,s.get?s:{enumerable:!0,get:()=>e[t]})}return a.default=e,Object.freeze(a)}const Z=Y(a),ee=Y(t),ae=Y(o),te=Y(n),se=Y(i),re=Y(d),oe=Y(N),ne=Y(h),ie=Y(v),de=Y(y),le=Y(w),ce=Y(C),me=Y(S),pe=Y(I),fe=Y(z),ue=Y(D),xe=Y(M),ge=Y(P),be=Y(q),Ne=Y(A),he=Y(L),ve=Y(O),ye=Y(B),we=Y(G),je=Y(V),Ce=Y(H),Re=Y(E),ke=Y(X),Se=Y(W),Te=ee.Root,Ie=Z.forwardRef(({className:a,...t},s)=>e.jsx(ee.Item,{ref:s,className:r.cn("border-b",a),...t}));Ie.displayName="AccordionItem";const ze=Z.forwardRef(({className:a,children:t,...o},n)=>e.jsx(ee.Header,{className:"flex",children:e.jsxs(ee.Trigger,{ref:n,className:r.cn("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",a),...o,children:[t,e.jsx(s.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));ze.displayName=ee.Trigger.displayName;const De=Z.forwardRef(({className:a,children:t,...s},o)=>e.jsx(ee.Content,{ref:o,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...s,children:e.jsx("div",{className:r.cn("pb-4 pt-0",a),children:t})}));De.displayName=ee.Content.displayName;const Me=ae.Root,_e=Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:r.cn("rounded-lg border bg-card text-card-foreground shadow-sm",a),...t}));_e.displayName="Card";const Pe=Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:r.cn("flex flex-col space-y-1.5 p-6",a),...t}));Pe.displayName="CardHeader";const qe=Z.forwardRef(({className:a,...t},s)=>e.jsx("h3",{ref:s,className:r.cn("text-2xl font-semibold leading-none tracking-tight",a),...t}));qe.displayName="CardTitle";const Ae=Z.forwardRef(({className:a,...t},s)=>e.jsx("p",{ref:s,className:r.cn("text-sm text-muted-foreground",a),...t}));Ae.displayName="CardDescription";const Le=Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:r.cn("p-6 pt-0",a),...t}));Le.displayName="CardContent";const Oe=Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:r.cn("flex items-center p-6 pt-0",a),...t}));Oe.displayName="CardFooter";const Fe=Z.forwardRef(({className:a,orientation:t="horizontal",decorative:s=!0,...o},n)=>e.jsx(te.Root,{ref:n,decorative:s,orientation:t,className:r.cn("shrink-0 bg-border","horizontal"===t?"h-[1px] w-full":"h-full w-[1px]",a),...o}));Fe.displayName=te.Root.displayName;const Be=Z.forwardRef(({className:a,children:t,...s},o)=>e.jsxs(se.Root,{ref:o,className:r.cn("relative overflow-hidden",a),...s,children:[e.jsx(se.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),e.jsx(Ge,{}),e.jsx(se.Corner,{})]}));Be.displayName=se.Root.displayName;const Ge=Z.forwardRef(({className:a,orientation:t="vertical",...s},o)=>e.jsx(se.ScrollAreaScrollbar,{ref:o,orientation:t,className:r.cn("flex touch-none select-none transition-colors","vertical"===t&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===t&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",a),...s,children:e.jsx(se.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Ge.displayName=se.ScrollAreaScrollbar.displayName;const Ve=Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{className:"relative w-full overflow-auto",children:e.jsx("table",{ref:s,className:r.cn("w-full caption-bottom text-sm",a),...t})}));Ve.displayName="Table";const He=Z.forwardRef(({className:a,...t},s)=>e.jsx("thead",{ref:s,className:r.cn("[&_tr]:border-b",a),...t}));He.displayName="TableHeader";const $e=Z.forwardRef(({className:a,...t},s)=>e.jsx("tbody",{ref:s,className:r.cn("[&_tr:last-child]:border-0",a),...t}));$e.displayName="TableBody";const Ee=Z.forwardRef(({className:a,...t},s)=>e.jsx("tfoot",{ref:s,className:r.cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...t}));Ee.displayName="TableFooter";const Ke=Z.forwardRef(({className:a,...t},s)=>e.jsx("tr",{ref:s,className:r.cn("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",a),...t}));Ke.displayName="TableRow";const Ue=Z.forwardRef(({className:a,...t},s)=>e.jsx("th",{ref:s,className:r.cn("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",a),...t}));Ue.displayName="TableHead";const Xe=Z.forwardRef(({className:a,...t},s)=>e.jsx("td",{ref:s,className:r.cn("p-4 align-middle [&:has([role=checkbox])]:pr-0",a),...t}));Xe.displayName="TableCell";const Je=Z.forwardRef(({className:a,...t},s)=>e.jsx("caption",{ref:s,className:r.cn("mt-4 text-sm text-muted-foreground",a),...t}));Je.displayName="TableCaption";const Qe=re.Panel,We=Z.createContext(null);function Ye(){const e=Z.useContext(We);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}Z.forwardRef(({defaultOpen:a=!0,open:t,onOpenChange:s,className:o,style:n,children:i,...d},l)=>{const c=m.useIsMobile(),[p,f]=Z.useState(!1),[u,x]=Z.useState(a),g=t??u,N=Z.useCallback(e=>{const a="function"==typeof e?e(g):e;s?s(a):x(a),document.cookie=`sidebar:state=${a}; path=/; max-age=604800`},[s,g]),h=Z.useCallback(()=>c?f(e=>!e):N(e=>!e),[c,N,f]);Z.useEffect(()=>{const e=e=>{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),h())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[h]);const v=g?"expanded":"collapsed",y=Z.useMemo(()=>({state:v,open:g,setOpen:N,isMobile:c,openMobile:p,setOpenMobile:f,toggleSidebar:h}),[v,g,N,c,p,f,h]);return e.jsx(We.Provider,{value:y,children:e.jsx(b.TooltipProvider,{delayDuration:0,children:e.jsx("div",{style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...n},className:r.cn("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar",o),ref:l,...d,children:i})})})}).displayName="SidebarProvider";const Ze=Z.forwardRef(({side:a="left",variant:t="sidebar",collapsible:s="offcanvas",className:o,children:n,...i},d)=>{const{isMobile:l,state:c,openMobile:m,setOpenMobile:p}=Ye();return"none"===s?e.jsx("div",{className:r.cn("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:d,...i,children:n}):l?e.jsx(x.Sheet,{open:m,onOpenChange:p,...i,children:e.jsx(x.SheetContent,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:a,children:e.jsx("div",{className:"flex h-full w-full flex-col",children:n})})}):e.jsxs("div",{ref:d,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":"collapsed"===c?s:"","data-variant":t,"data-side":a,children:[e.jsx("div",{className:r.cn("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===t||"inset"===t?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),e.jsx("div",{className:r.cn("duration-200 fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex","left"===a?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","floating"===t||"inset"===t?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...i,children:e.jsx("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:n})})]})});Ze.displayName="Sidebar";Z.forwardRef(({className:a,onClick:t,...o},n)=>{const{toggleSidebar:i}=Ye();return e.jsxs(p.Button,{ref:n,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:r.cn("h-7 w-7",a),onClick:e=>{null==t||t(e),i()},...o,children:[e.jsx(s.PanelLeft,{}),e.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}).displayName="SidebarTrigger";Z.forwardRef(({className:a,...t},s)=>{const{toggleSidebar:o}=Ye();return e.jsx("button",{ref:s,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:r.cn("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...t})}).displayName="SidebarRail";Z.forwardRef(({className:a,...t},s)=>e.jsx("main",{ref:s,className:r.cn("relative flex min-h-svh flex-1 flex-col bg-background","peer-data-[variant=inset]:min-h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...t})).displayName="SidebarInset";Z.forwardRef(({className:a,...t},s)=>e.jsx(f.Input,{ref:s,"data-sidebar":"input",className:r.cn("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...t})).displayName="SidebarInput";const ea=Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"header",className:r.cn("flex flex-col gap-2 p-2",a),...t}));ea.displayName="SidebarHeader";const aa=Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"footer",className:r.cn("flex flex-col gap-2 p-2",a),...t}));aa.displayName="SidebarFooter";Z.forwardRef(({className:a,...t},s)=>e.jsx(u.Separator,{ref:s,"data-sidebar":"separator",className:r.cn("mx-2 w-auto bg-sidebar-border",a),...t})).displayName="SidebarSeparator";const ta=Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"content",className:r.cn("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...t}));ta.displayName="SidebarContent";const sa=Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"group",className:r.cn("relative flex w-full min-w-0 flex-col p-2",a),...t}));sa.displayName="SidebarGroup";const ra=Z.forwardRef(({className:a,asChild:t=!1,...s},o)=>{const n=t?l.Slot:"div";return e.jsx(n,{ref:o,"data-sidebar":"group-label",className:r.cn("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...s})});ra.displayName="SidebarGroupLabel";Z.forwardRef(({className:a,asChild:t=!1,...s},o)=>{const n=t?l.Slot:"button";return e.jsx(n,{ref:o,"data-sidebar":"group-action",className:r.cn("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...s})}).displayName="SidebarGroupAction";const oa=Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"group-content",className:r.cn("w-full text-sm",a),...t}));oa.displayName="SidebarGroupContent";const na=Z.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,"data-sidebar":"menu",className:r.cn("flex w-full min-w-0 flex-col gap-1",a),...t}));na.displayName="SidebarMenu";const ia=Z.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,"data-sidebar":"menu-item",className:r.cn("group/menu-item relative",a),...t}));ia.displayName="SidebarMenuItem";const da=c.cva("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),la=Z.forwardRef(({asChild:a=!1,isActive:t=!1,variant:s="default",size:o="default",tooltip:n,className:i,...d},c)=>{const m=a?l.Slot:"button",{isMobile:p,state:f}=Ye(),u=e.jsx(m,{ref:c,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:r.cn(da({variant:s,size:o}),i),...d});return n?("string"==typeof n&&(n={children:n}),e.jsxs(b.Tooltip,{children:[e.jsx(b.TooltipTrigger,{asChild:!0,children:u}),e.jsx(b.TooltipContent,{side:"right",align:"center",hidden:"collapsed"!==f||p,...n})]})):u});la.displayName="SidebarMenuButton";Z.forwardRef(({className:a,asChild:t=!1,showOnHover:s=!1,...o},n)=>{const i=t?l.Slot:"button";return e.jsx(i,{ref:n,"data-sidebar":"menu-action",className:r.cn("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md: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",s&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...o})}).displayName="SidebarMenuAction";Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"menu-badge",className:r.cn("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-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",a),...t})).displayName="SidebarMenuBadge";Z.forwardRef(({className:a,showIcon:t=!1,...s},o)=>{const n=Z.useMemo(()=>`${Math.floor(40*Math.random())+50}%`,[]);return e.jsxs("div",{ref:o,"data-sidebar":"menu-skeleton",className:r.cn("rounded-md h-8 flex gap-2 px-2 items-center",a),...s,children:[t&&e.jsx(g.Skeleton,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),e.jsx(g.Skeleton,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":n}})]})}).displayName="SidebarMenuSkeleton";const ca=Z.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,"data-sidebar":"menu-sub",className:r.cn("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...t}));ca.displayName="SidebarMenuSub";const ma=Z.forwardRef(({...a},t)=>e.jsx("li",{ref:t,...a}));ma.displayName="SidebarMenuSubItem";const pa=Z.forwardRef(({asChild:a=!1,size:t="md",isActive:s,className:o,...n},i)=>{const d=a?l.Slot:"a";return e.jsx(d,{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":s,className:r.cn("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring 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 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground","sm"===t&&"text-xs","md"===t&&"text-sm","group-data-[collapsible=icon]:hidden",o),...n})});pa.displayName="SidebarMenuSubButton";const fa=Z.forwardRef(({className:a,type:t,...s},o)=>e.jsx("input",{type:t,className:r.cn("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:o,...s}));fa.displayName="Input";const ua=c.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),xa=Z.forwardRef(({className:a,variant:t,size:s,asChild:o=!1,...n},i)=>{const d=o?l.Slot:"button";return e.jsx(d,{className:r.cn(ua({variant:t,size:s,className:a})),ref:i,...n})});xa.displayName="Button";const ga=c.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ba=Z.forwardRef(({className:a,...t},s)=>e.jsx(oe.Root,{ref:s,className:r.cn(ga(),a),...t}));ba.displayName=oe.Root.displayName;const Na=Z.forwardRef(({className:a,...t},s)=>e.jsx("textarea",{className:r.cn("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),ref:s,...t}));Na.displayName="Textarea";const ha=Z.forwardRef(({className:a,...t},o)=>e.jsx(ne.Root,{ref:o,className:r.cn("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",a),...t,children:e.jsx(ne.Indicator,{className:r.cn("flex items-center justify-center text-current"),children:e.jsx(s.Check,{className:"h-4 w-4"})})}));ha.displayName=ne.Root.displayName;const va=Z.forwardRef(({className:a,...t},s)=>e.jsx(ie.Root,{className:r.cn("grid gap-2",a),...t,ref:s}));va.displayName=ie.Root.displayName;const ya=Z.forwardRef(({className:a,...t},o)=>e.jsx(ie.Item,{ref:o,className:r.cn("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),...t,children:e.jsx(ie.Indicator,{className:"flex items-center justify-center",children:e.jsx(s.Circle,{className:"h-2.5 w-2.5 fill-current text-current"})})}));ya.displayName=ie.Item.displayName;const wa=Z.forwardRef(({className:a,...t},s)=>e.jsx(de.Root,{className:r.cn("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",a),...t,ref:s,children:e.jsx(de.Thumb,{className:r.cn("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));wa.displayName=de.Root.displayName;const ja=Z.forwardRef(({className:a,...t},s)=>e.jsxs(le.Root,{ref:s,className:r.cn("relative flex w-full touch-none select-none items-center",a),...t,children:[e.jsx(le.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:e.jsx(le.Range,{className:"absolute h-full bg-primary"})}),e.jsx(le.Thumb,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]}));ja.displayName=le.Root.displayName;const Ca=Z.forwardRef(({className:a,containerClassName:t,...s},o)=>e.jsx(j.OTPInput,{ref:o,containerClassName:r.cn("flex items-center gap-2 has-[:disabled]:opacity-50",t),className:r.cn("disabled:cursor-not-allowed",a),...s}));Ca.displayName="InputOTP";const Ra=Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:r.cn("flex items-center",a),...t}));Ra.displayName="InputOTPGroup";const ka=Z.forwardRef(({index:a,className:t,...s},o)=>{const n=Z.useContext(j.OTPInputContext),{char:i,hasFakeCaret:d,isActive:l}=n.slots[a];return e.jsxs("div",{ref:o,className:r.cn("relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",l&&"z-10 ring-2 ring-ring ring-offset-background",t),...s,children:[i,d&&e.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:e.jsx("div",{className:"h-4 w-px animate-caret-blink bg-foreground duration-1000"})})]})});ka.displayName="InputOTPSlot";const Sa=Z.forwardRef(({...a},t)=>e.jsx("div",{ref:t,role:"separator",...a,children:e.jsx(s.Dot,{})}));Sa.displayName="InputOTPSeparator";const Ta=ce.Root,Ia=ce.Group,za=ce.Value,Da=Z.forwardRef(({className:a,children:t,...o},n)=>e.jsxs(ce.Trigger,{ref:n,className:r.cn("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",a),...o,children:[t,e.jsx(ce.Icon,{asChild:!0,children:e.jsx(s.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));Da.displayName=ce.Trigger.displayName;const Ma=Z.forwardRef(({className:a,...t},o)=>e.jsx(ce.ScrollUpButton,{ref:o,className:r.cn("flex cursor-default items-center justify-center py-1",a),...t,children:e.jsx(s.ChevronUp,{className:"h-4 w-4"})}));Ma.displayName=ce.ScrollUpButton.displayName;const _a=Z.forwardRef(({className:a,...t},o)=>e.jsx(ce.ScrollDownButton,{ref:o,className:r.cn("flex cursor-default items-center justify-center py-1",a),...t,children:e.jsx(s.ChevronDown,{className:"h-4 w-4"})}));_a.displayName=ce.ScrollDownButton.displayName;const Pa=Z.forwardRef(({className:a,children:t,position:s="popper",...o},n)=>e.jsx(ce.Portal,{children:e.jsxs(ce.Content,{ref:n,className:r.cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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","popper"===s&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:s,...o,children:[e.jsx(Ma,{}),e.jsx(ce.Viewport,{className:r.cn("p-1","popper"===s&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),e.jsx(_a,{})]})}));Pa.displayName=ce.Content.displayName;const qa=Z.forwardRef(({className:a,...t},s)=>e.jsx(ce.Label,{ref:s,className:r.cn("py-1.5 pl-8 pr-2 text-sm font-semibold",a),...t}));qa.displayName=ce.Label.displayName;const Aa=Z.forwardRef(({className:a,children:t,...o},n)=>e.jsxs(ce.Item,{ref:n,className:r.cn("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ce.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),e.jsx(ce.ItemText,{children:t})]}));Aa.displayName=ce.Item.displayName;const La=Z.forwardRef(({className:a,...t},s)=>e.jsx(ce.Separator,{ref:s,className:r.cn("-mx-1 my-1 h-px bg-muted",a),...t}));La.displayName=ce.Separator.displayName;const Oa=R.FormProvider,Fa=Z.createContext({}),Ba=()=>{const e=Z.useContext(Fa),a=Z.useContext(Ga),{getFieldState:t,formState:s}=R.useFormContext(),r=t(e.name,s);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:o}=a;return{id:o,name:e.name,formItemId:`${o}-form-item`,formDescriptionId:`${o}-form-item-description`,formMessageId:`${o}-form-item-message`,...r}},Ga=Z.createContext({}),Va=Z.forwardRef(({className:a,...t},s)=>{const o=Z.useId();return e.jsx(Ga.Provider,{value:{id:o},children:e.jsx("div",{ref:s,className:r.cn("space-y-2",a),...t})})});Va.displayName="FormItem";const Ha=Z.forwardRef(({className:a,...t},s)=>{const{error:o,formItemId:n}=Ba();return e.jsx(k.Label,{ref:s,className:r.cn(o&&"text-destructive",a),htmlFor:n,...t})});Ha.displayName="FormLabel";const $a=Z.forwardRef(({...a},t)=>{const{error:s,formItemId:r,formDescriptionId:o,formMessageId:n}=Ba();return e.jsx(l.Slot,{ref:t,id:r,"aria-describedby":s?`${o} ${n}`:`${o}`,"aria-invalid":!!s,...a})});$a.displayName="FormControl";const Ea=Z.forwardRef(({className:a,...t},s)=>{const{formDescriptionId:o}=Ba();return e.jsx("p",{ref:s,id:o,className:r.cn("text-sm text-muted-foreground",a),...t})});Ea.displayName="FormDescription";const Ka=Z.forwardRef(({className:a,children:t,...s},o)=>{const{error:n,formMessageId:i}=Ba(),d=n?String(null==n?void 0:n.message):t;return d?e.jsx("p",{ref:o,id:i,className:r.cn("text-sm font-medium text-destructive",a),...s,children:d}):null});Ka.displayName="FormMessage";const Ua=Z.createContext({size:"default",variant:"default"}),Xa=Z.forwardRef(({className:a,variant:t,size:s,children:o,...n},i)=>e.jsx(me.Root,{ref:i,className:r.cn("flex items-center justify-center gap-1",a),...n,children:e.jsx(Ua.Provider,{value:{variant:t,size:s},children:o})}));Xa.displayName=me.Root.displayName;const Ja=Z.forwardRef(({className:a,children:t,variant:s,size:o,...n},i)=>{const d=Z.useContext(Ua);return e.jsx(me.Item,{ref:i,className:r.cn(T.toggleVariants({variant:d.variant||s,size:d.size||o}),a),...n,children:t})});Ja.displayName=me.Item.displayName;const Qa=c.cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}}),Wa=Z.forwardRef(({className:a,variant:t,size:s,...o},n)=>e.jsx(pe.Root,{ref:n,className:r.cn(Qa({variant:t,size:s,className:a})),...o}));Wa.displayName=pe.Root.displayName;const Ya=c.cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});const Za=c.cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),et=Z.forwardRef(({className:a,variant:t,...s},o)=>e.jsx("div",{ref:o,role:"alert",className:r.cn(Za({variant:t}),a),...s}));et.displayName="Alert";const at=Z.forwardRef(({className:a,...t},s)=>e.jsx("h5",{ref:s,className:r.cn("mb-1 font-medium leading-none tracking-tight",a),...t}));at.displayName="AlertTitle";const tt=Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:r.cn("text-sm [&_p]:leading-relaxed",a),...t}));tt.displayName="AlertDescription";const st=fe.Root,rt=fe.Trigger,ot=fe.Portal,nt=Z.forwardRef(({className:a,...t},s)=>e.jsx(fe.Overlay,{className:r.cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...t,ref:s}));nt.displayName=fe.Overlay.displayName;const it=Z.forwardRef(({className:a,...t},s)=>e.jsxs(ot,{children:[e.jsx(nt,{}),e.jsx(fe.Content,{ref:s,className:r.cn("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...t})]}));it.displayName=fe.Content.displayName;const dt=({className:a,...t})=>e.jsx("div",{className:r.cn("flex flex-col space-y-2 text-center sm:text-left",a),...t});dt.displayName="AlertDialogHeader";const lt=({className:a,...t})=>e.jsx("div",{className:r.cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});lt.displayName="AlertDialogFooter";const ct=Z.forwardRef(({className:a,...t},s)=>e.jsx(fe.Title,{ref:s,className:r.cn("text-lg font-semibold",a),...t}));ct.displayName=fe.Title.displayName;const mt=Z.forwardRef(({className:a,...t},s)=>e.jsx(fe.Description,{ref:s,className:r.cn("text-sm text-muted-foreground",a),...t}));mt.displayName=fe.Description.displayName;const pt=Z.forwardRef(({className:a,...t},s)=>e.jsx(fe.Action,{ref:s,className:r.cn(p.buttonVariants(),a),...t}));pt.displayName=fe.Action.displayName;const ft=Z.forwardRef(({className:a,...t},s)=>e.jsx(fe.Cancel,{ref:s,className:r.cn(p.buttonVariants({variant:"outline"}),"mt-2 sm:mt-0",a),...t}));ft.displayName=fe.Cancel.displayName;const ut=Z.forwardRef(({className:a,...t},s)=>e.jsx(ue.Root,{ref:s,className:r.cn("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...t}));ut.displayName=ue.Root.displayName;const xt=Z.forwardRef(({className:a,...t},s)=>e.jsx(ue.Image,{ref:s,className:r.cn("aspect-square h-full w-full",a),...t}));xt.displayName=ue.Image.displayName;const gt=Z.forwardRef(({className:a,...t},s)=>e.jsx(ue.Fallback,{ref:s,className:r.cn("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...t}));gt.displayName=ue.Fallback.displayName;const bt=Z.forwardRef(({...a},t)=>e.jsx("nav",{ref:t,"aria-label":"breadcrumb",...a}));bt.displayName="Breadcrumb";const Nt=Z.forwardRef(({className:a,...t},s)=>e.jsx("ol",{ref:s,className:r.cn("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",a),...t}));Nt.displayName="BreadcrumbList";const ht=Z.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,className:r.cn("inline-flex items-center gap-1.5",a),...t}));ht.displayName="BreadcrumbItem";const vt=Z.forwardRef(({asChild:a,className:t,...s},o)=>{const n=a?l.Slot:"a";return e.jsx(n,{ref:o,className:r.cn("transition-colors hover:text-foreground",t),...s})});vt.displayName="BreadcrumbLink";const yt=Z.forwardRef(({className:a,...t},s)=>e.jsx("span",{ref:s,role:"link","aria-disabled":"true","aria-current":"page",className:r.cn("font-normal text-foreground",a),...t}));yt.displayName="BreadcrumbPage";const wt=({children:a,className:t,...o})=>e.jsx("li",{role:"presentation","aria-hidden":"true",className:r.cn("[&>svg]:size-3.5",t),...o,children:a??e.jsx(s.ChevronRight,{})});wt.displayName="BreadcrumbSeparator";const jt=Z.forwardRef(({className:a,value:t,...s},o)=>e.jsx(xe.Root,{ref:o,className:r.cn("relative h-4 w-full overflow-hidden rounded-full bg-secondary",a),...s,children:e.jsx(xe.Indicator,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));function Ct({className:a,classNames:t,showOutsideDays:o=!0,...n}){return e.jsx(_.DayPicker,{showOutsideDays:o,className:r.cn("p-3",a),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:r.cn(p.buttonVariants({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:"h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",day:r.cn(p.buttonVariants({variant:"ghost"}),"h-9 w-9 p-0 font-normal aria-selected:opacity-100"),day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},components:{Chevron:a=>"left"===a.orientation?e.jsx(s.ChevronLeft,{className:"h-4 w-4"}):e.jsx(s.ChevronRight,{className:"h-4 w-4"})},...n})}jt.displayName=xe.Root.displayName,Ct.displayName="Calendar";const Rt=ge.Root,kt=Z.forwardRef(({className:a,...t},s)=>e.jsx(ge.List,{ref:s,className:r.cn("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",a),...t}));kt.displayName=ge.List.displayName;const St=Z.forwardRef(({className:a,...t},s)=>e.jsx(ge.Trigger,{ref:s,className:r.cn("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",a),...t}));St.displayName=ge.Trigger.displayName;const Tt=Z.forwardRef(({className:a,...t},s)=>e.jsx(ge.Content,{ref:s,className:r.cn("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...t}));Tt.displayName=ge.Content.displayName;const It=({className:a,...t})=>e.jsx("nav",{role:"navigation","aria-label":"pagination",className:r.cn("mx-auto flex w-full justify-center",a),...t});It.displayName="Pagination";const zt=Z.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,className:r.cn("flex flex-row items-center gap-1",a),...t}));zt.displayName="PaginationContent";const Dt=Z.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,className:r.cn("",a),...t}));Dt.displayName="PaginationItem";const Mt=({className:a,isActive:t,size:s="icon",...o})=>e.jsx("a",{"aria-current":t?"page":void 0,className:r.cn(p.buttonVariants({variant:t?"outline":"ghost",size:s}),a),...o});Mt.displayName="PaginationLink";const _t=({className:a,...t})=>e.jsxs(Mt,{"aria-label":"Go to previous page",size:"default",className:r.cn("gap-1 pl-2.5",a),...t,children:[e.jsx(s.ChevronLeft,{className:"h-4 w-4"}),e.jsx("span",{children:"Previous"})]});_t.displayName="PaginationPrevious";const Pt=({className:a,...t})=>e.jsxs(Mt,{"aria-label":"Go to next page",size:"default",className:r.cn("gap-1 pr-2.5",a),...t,children:[e.jsx("span",{children:"Next"}),e.jsx(s.ChevronRight,{className:"h-4 w-4"})]});Pt.displayName="PaginationNext";const qt=({className:a,...t})=>e.jsxs("span",{"aria-hidden":!0,className:r.cn("flex h-9 w-9 items-center justify-center",a),...t,children:[e.jsx(s.MoreHorizontal,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"More pages"})]});qt.displayName="PaginationEllipsis";const At=Z.forwardRef(({className:a,children:t,...s},o)=>e.jsxs(be.Root,{ref:o,className:r.cn("relative z-10 flex max-w-max flex-1 items-center justify-center",a),...s,children:[t,e.jsx(Ht,{})]}));At.displayName=be.Root.displayName;const Lt=Z.forwardRef(({className:a,...t},s)=>e.jsx(be.List,{ref:s,className:r.cn("group flex flex-1 list-none items-center justify-center space-x-1",a),...t}));Lt.displayName=be.List.displayName;const Ot=be.Item,Ft=c.cva("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),Bt=Z.forwardRef(({className:a,children:t,...o},n)=>e.jsxs(be.Trigger,{ref:n,className:r.cn(Ft(),"group",a),...o,children:[t," ",e.jsx(s.ChevronDown,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));Bt.displayName=be.Trigger.displayName;const Gt=Z.forwardRef(({className:a,...t},s)=>e.jsx(be.Content,{ref:s,className:r.cn("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",a),...t}));Gt.displayName=be.Content.displayName;const Vt=be.Link,Ht=Z.forwardRef(({className:a,...t},s)=>e.jsx("div",{className:r.cn("absolute left-0 top-full flex justify-center"),children:e.jsx(be.Viewport,{className:r.cn("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",a),ref:s,...t})}));Ht.displayName=be.Viewport.displayName;Z.forwardRef(({className:a,...t},s)=>e.jsx(be.Indicator,{ref:s,className:r.cn("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",a),...t,children:e.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})).displayName=be.Indicator.displayName;const $t=Ne.Menu,Et=Ne.Sub,Kt=Ne.RadioGroup,Ut=Z.forwardRef(({className:a,...t},s)=>e.jsx(Ne.Root,{ref:s,className:r.cn("flex h-10 items-center space-x-1 rounded-md border bg-background p-1",a),...t}));Ut.displayName=Ne.Root.displayName;const Xt=Z.forwardRef(({className:a,...t},s)=>e.jsx(Ne.Trigger,{ref:s,className:r.cn("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",a),...t}));Xt.displayName=Ne.Trigger.displayName;const Jt=Z.forwardRef(({className:a,inset:t,children:o,...n},i)=>e.jsxs(Ne.SubTrigger,{ref:i,className:r.cn("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",a),...n,children:[o,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));Jt.displayName=Ne.SubTrigger.displayName;const Qt=Z.forwardRef(({className:a,...t},s)=>e.jsx(Ne.SubContent,{ref:s,className:r.cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 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",a),...t}));Qt.displayName=Ne.SubContent.displayName;const Wt=Z.forwardRef(({className:a,align:t="start",alignOffset:s=-4,sideOffset:o=8,...n},i)=>e.jsx(Ne.Portal,{children:e.jsx(Ne.Content,{ref:i,align:t,alignOffset:s,sideOffset:o,className:r.cn("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...n})}));Wt.displayName=Ne.Content.displayName;const Yt=Z.forwardRef(({className:a,inset:t,...s},o)=>e.jsx(Ne.Item,{ref:o,className:r.cn("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",a),...s}));Yt.displayName=Ne.Item.displayName;const Zt=Z.forwardRef(({className:a,children:t,checked:o,...n},i)=>e.jsxs(Ne.CheckboxItem,{ref:i,className:r.cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:o,...n,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(Ne.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));Zt.displayName=Ne.CheckboxItem.displayName;const es=Z.forwardRef(({className:a,children:t,...o},n)=>e.jsxs(Ne.RadioItem,{ref:n,className:r.cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(Ne.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));es.displayName=Ne.RadioItem.displayName;const as=Z.forwardRef(({className:a,inset:t,...s},o)=>e.jsx(Ne.Label,{ref:o,className:r.cn("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...s}));as.displayName=Ne.Label.displayName;const ts=Z.forwardRef(({className:a,...t},s)=>e.jsx(Ne.Separator,{ref:s,className:r.cn("-mx-1 my-1 h-px bg-muted",a),...t}));ts.displayName=Ne.Separator.displayName;const ss=({className:a,...t})=>e.jsx("span",{className:r.cn("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});ss.displayname="MenubarShortcut";const rs=he.Root,os=he.Trigger,ns=he.Group,is=he.Portal,ds=he.Sub,ls=he.RadioGroup,cs=Z.forwardRef(({className:a,inset:t,children:o,...n},i)=>e.jsxs(he.SubTrigger,{ref:i,className:r.cn("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",a),...n,children:[o,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));cs.displayName=he.SubTrigger.displayName;const ms=Z.forwardRef(({className:a,...t},s)=>e.jsx(he.SubContent,{ref:s,className:r.cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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",a),...t}));ms.displayName=he.SubContent.displayName;const ps=Z.forwardRef(({className:a,sideOffset:t=4,...s},o)=>e.jsx(he.Portal,{children:e.jsx(he.Content,{ref:o,sideOffset:t,className:r.cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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",a),...s})}));ps.displayName=he.Content.displayName;const fs=Z.forwardRef(({className:a,inset:t,...s},o)=>e.jsx(he.Item,{ref:o,className:r.cn("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",a),...s}));fs.displayName=he.Item.displayName;const us=Z.forwardRef(({className:a,children:t,checked:o,...n},i)=>e.jsxs(he.CheckboxItem,{ref:i,className:r.cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:o,...n,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(he.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));us.displayName=he.CheckboxItem.displayName;const xs=Z.forwardRef(({className:a,children:t,...o},n)=>e.jsxs(he.RadioItem,{ref:n,className:r.cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(he.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));xs.displayName=he.RadioItem.displayName;const gs=Z.forwardRef(({className:a,inset:t,...s},o)=>e.jsx(he.Label,{ref:o,className:r.cn("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...s}));gs.displayName=he.Label.displayName;const bs=Z.forwardRef(({className:a,...t},s)=>e.jsx(he.Separator,{ref:s,className:r.cn("-mx-1 my-1 h-px bg-muted",a),...t}));bs.displayName=he.Separator.displayName;const Ns=({className:a,...t})=>e.jsx("span",{className:r.cn("ml-auto text-xs tracking-widest opacity-60",a),...t});Ns.displayName="DropdownMenuShortcut";const hs=ve.Root,vs=ve.Trigger,ys=ve.Portal,ws=ve.Close,js=Z.forwardRef(({className:a,...t},s)=>e.jsx(ve.Overlay,{ref:s,className:r.cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...t}));js.displayName=ve.Overlay.displayName;const Cs=Z.forwardRef(({className:a,children:t,...o},n)=>e.jsxs(ys,{children:[e.jsx(js,{}),e.jsxs(ve.Content,{ref:n,className:r.cn("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...o,children:[t,e.jsxs(ve.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[e.jsx(s.X,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Cs.displayName=ve.Content.displayName;const Rs=({className:a,...t})=>e.jsx("div",{className:r.cn("flex flex-col space-y-1.5 text-center sm:text-left",a),...t});Rs.displayName="DialogHeader";const ks=({className:a,...t})=>e.jsx("div",{className:r.cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});ks.displayName="DialogFooter";const Ss=Z.forwardRef(({className:a,...t},s)=>e.jsx(ve.Title,{ref:s,className:r.cn("text-lg font-semibold leading-none tracking-tight",a),...t}));Ss.displayName=ve.Title.displayName;const Ts=Z.forwardRef(({className:a,...t},s)=>e.jsx(ve.Description,{ref:s,className:r.cn("text-sm text-muted-foreground",a),...t}));Ts.displayName=ve.Description.displayName;const Is=ve.Root,zs=ve.Trigger,Ds=ve.Close,Ms=ve.Portal,_s=Z.forwardRef(({className:a,...t},s)=>e.jsx(ve.Overlay,{className:r.cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...t,ref:s}));_s.displayName=ve.Overlay.displayName;const Ps=c.cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),qs=Z.forwardRef(({side:a="right",className:t,children:o,...n},i)=>e.jsxs(Ms,{children:[e.jsx(_s,{}),e.jsxs(ve.Content,{ref:i,className:r.cn(Ps({side:a}),t),...n,children:[o,e.jsxs(ve.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[e.jsx(s.X,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));qs.displayName=ve.Content.displayName;const As=({className:a,...t})=>e.jsx("div",{className:r.cn("flex flex-col space-y-2 text-center sm:text-left",a),...t});As.displayName="SheetHeader";const Ls=({className:a,...t})=>e.jsx("div",{className:r.cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});Ls.displayName="SheetFooter";const Os=Z.forwardRef(({className:a,...t},s)=>e.jsx(ve.Title,{ref:s,className:r.cn("text-lg font-semibold text-foreground",a),...t}));Os.displayName=ve.Title.displayName;const Fs=Z.forwardRef(({className:a,...t},s)=>e.jsx(ve.Description,{ref:s,className:r.cn("text-sm text-muted-foreground",a),...t}));Fs.displayName=ve.Description.displayName;const Bs=({shouldScaleBackground:a=!0,...t})=>e.jsx(F.Drawer.Root,{shouldScaleBackground:a,...t});Bs.displayName="Drawer";const Gs=F.Drawer.Trigger,Vs=F.Drawer.Portal,Hs=F.Drawer.Close,$s=Z.forwardRef(({className:a,...t},s)=>e.jsx(F.Drawer.Overlay,{ref:s,className:r.cn("fixed inset-0 z-50 bg-black/80",a),...t}));$s.displayName=F.Drawer.Overlay.displayName;const Es=Z.forwardRef(({className:a,children:t,...s},o)=>e.jsxs(Vs,{children:[e.jsx($s,{}),e.jsxs(F.Drawer.Content,{ref:o,className:r.cn("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",a),...s,children:[e.jsx("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),t]})]}));Es.displayName="DrawerContent";const Ks=({className:a,...t})=>e.jsx("div",{className:r.cn("grid gap-1.5 p-4 text-center sm:text-left",a),...t});Ks.displayName="DrawerHeader";const Us=({className:a,...t})=>e.jsx("div",{className:r.cn("mt-auto flex flex-col gap-2 p-4",a),...t});Us.displayName="DrawerFooter";const Xs=Z.forwardRef(({className:a,...t},s)=>e.jsx(F.Drawer.Title,{ref:s,className:r.cn("text-lg font-semibold leading-none tracking-tight",a),...t}));Xs.displayName=F.Drawer.Title.displayName;const Js=Z.forwardRef(({className:a,...t},s)=>e.jsx(F.Drawer.Description,{ref:s,className:r.cn("text-sm text-muted-foreground",a),...t}));Js.displayName=F.Drawer.Description.displayName;const Qs=ye.Root,Ws=ye.Trigger,Ys=Z.forwardRef(({className:a,align:t="center",sideOffset:s=4,...o},n)=>e.jsx(ye.Portal,{children:e.jsx(ye.Content,{ref:n,align:t,sideOffset:s,className:r.cn("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",a),...o})}));Ys.displayName=ye.Content.displayName;const Zs=we.Root,er=we.Trigger,ar=Z.forwardRef(({className:a,align:t="center",sideOffset:s=4,...o},n)=>e.jsx(we.Content,{ref:n,align:t,sideOffset:s,className:r.cn("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",a),...o}));ar.displayName=we.Content.displayName;const tr=je.Provider,sr=je.Root,rr=je.Trigger,or=Z.forwardRef(({className:a,sideOffset:t=4,...s},o)=>e.jsx(je.Content,{ref:o,sideOffset:t,className:r.cn("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md 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",a),...s}));or.displayName=je.Content.displayName;const nr=Ce.Root,ir=Ce.Trigger,dr=Ce.Group,lr=Ce.Portal,cr=Ce.Sub,mr=Ce.RadioGroup,pr=Z.forwardRef(({className:a,inset:t,children:o,...n},i)=>e.jsxs(Ce.SubTrigger,{ref:i,className:r.cn("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",a),...n,children:[o,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));pr.displayName=Ce.SubTrigger.displayName;const fr=Z.forwardRef(({className:a,...t},s)=>e.jsx(Ce.SubContent,{ref:s,className:r.cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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",a),...t}));fr.displayName=Ce.SubContent.displayName;const ur=Z.forwardRef(({className:a,...t},s)=>e.jsx(Ce.Portal,{children:e.jsx(Ce.Content,{ref:s,className:r.cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 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",a),...t})}));ur.displayName=Ce.Content.displayName;const xr=Z.forwardRef(({className:a,inset:t,...s},o)=>e.jsx(Ce.Item,{ref:o,className:r.cn("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",a),...s}));xr.displayName=Ce.Item.displayName;const gr=Z.forwardRef(({className:a,children:t,checked:o,...n},i)=>e.jsxs(Ce.CheckboxItem,{ref:i,className:r.cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:o,...n,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(Ce.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));gr.displayName=Ce.CheckboxItem.displayName;const br=Z.forwardRef(({className:a,children:t,...o},n)=>e.jsxs(Ce.RadioItem,{ref:n,className:r.cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(Ce.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));br.displayName=Ce.RadioItem.displayName;const Nr=Z.forwardRef(({className:a,inset:t,...s},o)=>e.jsx(Ce.Label,{ref:o,className:r.cn("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",a),...s}));Nr.displayName=Ce.Label.displayName;const hr=Z.forwardRef(({className:a,...t},s)=>e.jsx(Ce.Separator,{ref:s,className:r.cn("-mx-1 my-1 h-px bg-border",a),...t}));hr.displayName=Ce.Separator.displayName;const vr=({className:a,...t})=>e.jsx("span",{className:r.cn("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});vr.displayName="ContextMenuShortcut";const yr=Z.createContext(null);function wr(){const e=Z.useContext(yr);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const jr=Z.forwardRef(({orientation:a="horizontal",opts:t,setApi:s,plugins:o,className:n,children:i,...d},l)=>{const[c,m]=$({...t,axis:"horizontal"===a?"x":"y"},o),[p,f]=Z.useState(!1),[u,x]=Z.useState(!1),g=Z.useCallback(e=>{e&&(f(e.canScrollPrev()),x(e.canScrollNext()))},[]),b=Z.useCallback(()=>{null==m||m.scrollPrev()},[m]),N=Z.useCallback(()=>{null==m||m.scrollNext()},[m]),h=Z.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),b()):"ArrowRight"===e.key&&(e.preventDefault(),N())},[b,N]);return Z.useEffect(()=>{m&&s&&s(m)},[m,s]),Z.useEffect(()=>{if(m)return g(m),m.on("reInit",g),m.on("select",g),()=>{null==m||m.off("select",g)}},[m,g]),e.jsx(yr.Provider,{value:{carouselRef:c,api:m,opts:t,orientation:a||("y"===(null==t?void 0:t.axis)?"vertical":"horizontal"),scrollPrev:b,scrollNext:N,canScrollPrev:p,canScrollNext:u},children:e.jsx("div",{ref:l,onKeyDownCapture:h,className:r.cn("relative",n),role:"region","aria-roledescription":"carousel",...d,children:i})})});jr.displayName="Carousel";const Cr=Z.forwardRef(({className:a,...t},s)=>{const{carouselRef:o,orientation:n}=wr();return e.jsx("div",{ref:o,className:"overflow-hidden",children:e.jsx("div",{ref:s,className:r.cn("flex","horizontal"===n?"-ml-4":"-mt-4 flex-col",a),...t})})});Cr.displayName="CarouselContent";const Rr=Z.forwardRef(({className:a,...t},s)=>{const{orientation:o}=wr();return e.jsx("div",{ref:s,role:"group","aria-roledescription":"slide",className:r.cn("min-w-0 shrink-0 grow-0 basis-full","horizontal"===o?"pl-4":"pt-4",a),...t})});Rr.displayName="CarouselItem";const kr=Z.forwardRef(({className:a,variant:t="outline",size:o="icon",...n},i)=>{const{orientation:d,scrollPrev:l,canScrollPrev:c}=wr();return e.jsxs(p.Button,{ref:i,variant:t,size:o,className:r.cn("absolute h-8 w-8 rounded-full","horizontal"===d?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!c,onClick:l,...n,children:[e.jsx(s.ArrowLeft,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Previous slide"})]})});kr.displayName="CarouselPrevious";const Sr=Z.forwardRef(({className:a,variant:t="outline",size:o="icon",...n},i)=>{const{orientation:d,scrollNext:l,canScrollNext:c}=wr();return e.jsxs(p.Button,{ref:i,variant:t,size:o,className:r.cn("absolute h-8 w-8 rounded-full","horizontal"===d?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!c,onClick:l,...n,children:[e.jsx(s.ArrowRight,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Next slide"})]})});Sr.displayName="CarouselNext";const Tr=Re.Root,Ir=Re.CollapsibleTrigger,zr=Re.CollapsibleContent,Dr=Z.forwardRef(({className:a,...t},s)=>e.jsx(K.Command,{ref:s,className:r.cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",a),...t}));Dr.displayName=K.Command.displayName;const Mr=Z.forwardRef(({className:a,...t},o)=>e.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[e.jsx(s.Search,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),e.jsx(K.Command.Input,{ref:o,className:r.cn("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",a),...t})]}));Mr.displayName=K.Command.Input.displayName;const _r=Z.forwardRef(({className:a,...t},s)=>e.jsx(K.Command.List,{ref:s,className:r.cn("max-h-[300px] overflow-y-auto overflow-x-hidden",a),...t}));_r.displayName=K.Command.List.displayName;const Pr=Z.forwardRef((a,t)=>e.jsx(K.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...a}));Pr.displayName=K.Command.Empty.displayName;const qr=Z.forwardRef(({className:a,...t},s)=>e.jsx(K.Command.Group,{ref:s,className:r.cn("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",a),...t}));qr.displayName=K.Command.Group.displayName;const Ar=Z.forwardRef(({className:a,...t},s)=>e.jsx(K.Command.Separator,{ref:s,className:r.cn("-mx-1 h-px bg-border",a),...t}));Ar.displayName=K.Command.Separator.displayName;const Lr=Z.forwardRef(({className:a,...t},s)=>e.jsx(K.Command.Item,{ref:s,className:r.cn("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",a),...t}));Lr.displayName=K.Command.Item.displayName;const Or=({className:a,...t})=>e.jsx("span",{className:r.cn("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});Or.displayName="CommandShortcut";const Fr=ke.Provider,Br=Z.forwardRef(({className:a,...t},s)=>e.jsx(ke.Viewport,{ref:s,className:r.cn("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",a),...t}));Br.displayName=ke.Viewport.displayName;const Gr=c.cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Vr=Z.forwardRef(({className:a,variant:t,...s},o)=>e.jsx(ke.Root,{ref:o,className:r.cn(Gr({variant:t}),a),...s}));Vr.displayName=ke.Root.displayName;const Hr=Z.forwardRef(({className:a,...t},s)=>e.jsx(ke.Action,{ref:s,className:r.cn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",a),...t}));Hr.displayName=ke.Action.displayName;const $r=Z.forwardRef(({className:a,...t},o)=>e.jsx(ke.Close,{ref:o,className:r.cn("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",a),"toast-close":"",...t,children:e.jsx(s.X,{className:"h-4 w-4"})}));$r.displayName=ke.Close.displayName;const Er=Z.forwardRef(({className:a,...t},s)=>e.jsx(ke.Title,{ref:s,className:r.cn("text-sm font-semibold",a),...t}));Er.displayName=ke.Title.displayName;const Kr=Z.forwardRef(({className:a,...t},s)=>e.jsx(ke.Description,{ref:s,className:r.cn("text-sm opacity-90",a),...t}));Kr.displayName=ke.Description.displayName;const Ur={light:"",dark:".dark"},Xr=Z.createContext(null);function Jr(){const e=Z.useContext(Xr);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}const Qr=Z.forwardRef(({id:a,className:t,children:s,config:o,...n},i)=>{const d=Z.useId(),l=`chart-${a||d.replace(/:/g,"")}`;return e.jsx(Xr.Provider,{value:{config:o},children:e.jsxs("div",{"data-chart":l,ref:i,className:r.cn("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",t),...n,children:[e.jsx(Wr,{id:l,config:o}),e.jsx(Se.ResponsiveContainer,{children:s})]})})});Qr.displayName="Chart";const Wr=({id:a,config:t})=>{const s=Object.entries(t).filter(([e,a])=>a.theme||a.color);return s.length?e.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(Ur).map(([e,t])=>`\n${t} [data-chart=${a}] {\n${s.map(([a,t])=>{var s;const r=(null==(s=t.theme)?void 0:s[e])||t.color;return r?` --color-${a}: ${r};`:null}).join("\n")}\n}\n`).join("\n")}}):null},Yr=Se.Tooltip,Zr=Z.forwardRef(({active:a,payload:t,className:s,indicator:o="dot",hideLabel:n=!1,hideIndicator:i=!1,label:d,labelFormatter:l,labelClassName:c,formatter:m,color:p,nameKey:f,labelKey:u},x)=>{const{config:g}=Jr(),b=Z.useMemo(()=>{var a;if(n||!(null==t?void 0:t.length))return null;const[s]=t,o=`${u||s.dataKey||s.name||"value"}`,i=ao(g,s,o),m=u||"string"!=typeof d?null==i?void 0:i.label:(null==(a=g[d])?void 0:a.label)||d;return l?e.jsx("div",{className:r.cn("font-medium",c),children:l(m,t)}):m?e.jsx("div",{className:r.cn("font-medium",c),children:m}):null},[d,l,t,n,c,g,u]);if(!a||!(null==t?void 0:t.length))return null;const N=1===t.length&&"dot"!==o;return e.jsxs("div",{ref:x,className:r.cn("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",s),children:[N?null:b,e.jsx("div",{className:"grid gap-1.5",children:t.map((a,t)=>{const s=`${f||a.name||a.dataKey||"value"}`,n=ao(g,a,s),d=p||a.payload.fill||a.color;return e.jsx("div",{className:r.cn("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===o&&"items-center"),children:m&&void 0!==(null==a?void 0:a.value)&&a.name?m(a.value,a.name,a,t,a.payload):e.jsxs(e.Fragment,{children:[(null==n?void 0:n.icon)?e.jsx(n.icon,{}):!i&&e.jsx("div",{className:r.cn("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===o,"w-1":"line"===o,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===o,"my-0.5":N&&"dashed"===o}),style:{"--color-bg":d,"--color-border":d}}),e.jsxs("div",{className:r.cn("flex flex-1 justify-between leading-none",N?"items-end":"items-center"),children:[e.jsxs("div",{className:"grid gap-1.5",children:[N?b:null,e.jsx("span",{className:"text-muted-foreground",children:(null==n?void 0:n.label)||a.name})]}),a.value&&e.jsx("span",{className:"font-mono font-medium tabular-nums text-foreground",children:a.value.toLocaleString()})]})]})},a.dataKey)})})]})});Zr.displayName="ChartTooltip";const eo=Se.Legend;function ao(e,a,t){if("object"!=typeof a||null===a)return;const s="payload"in a&&"object"==typeof a.payload&&null!==a.payload?a.payload:void 0;let r=t;return t in a&&"string"==typeof a[t]?r=a[t]:s&&t in s&&"string"==typeof s[t]&&(r=s[t]),r in e?e[r]:e[t]}Z.forwardRef(({className:a,hideIcon:t=!1,payload:s,verticalAlign:o="bottom",nameKey:n},i)=>{const{config:d}=Jr();return(null==s?void 0:s.length)?e.jsx("div",{ref:i,className:r.cn("flex items-center justify-center gap-4","top"===o?"pb-3":"pt-3",a),children:s.map(a=>{const s=`${n||a.dataKey||"value"}`,o=ao(d,a,s);return e.jsxs("div",{className:r.cn("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==o?void 0:o.icon)&&!t?e.jsx(o.icon,{}):e.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:a.color}}),null==o?void 0:o.label]},a.value)})}):null}).displayName="ChartLegend",exports.Accordion=Te,exports.AccordionContent=De,exports.AccordionItem=Ie,exports.AccordionTrigger=ze,exports.Alert=et,exports.AlertDescription=tt,exports.AlertDialog=st,exports.AlertDialogAction=pt,exports.AlertDialogCancel=ft,exports.AlertDialogContent=it,exports.AlertDialogDescription=mt,exports.AlertDialogFooter=lt,exports.AlertDialogHeader=dt,exports.AlertDialogTitle=ct,exports.AlertDialogTrigger=rt,exports.AlertTitle=at,exports.AspectRatio=Me,exports.Avatar=ut,exports.AvatarFallback=gt,exports.AvatarImage=xt,exports.Badge=function({className:a,variant:t,...s}){return e.jsx("div",{className:r.cn(Ya({variant:t}),a),...s})},exports.Breadcrumb=bt,exports.BreadcrumbItem=ht,exports.BreadcrumbLink=vt,exports.BreadcrumbList=Nt,exports.BreadcrumbPage=yt,exports.BreadcrumbSeparator=wt,exports.Button=xa,exports.Calendar=Ct,exports.Card=_e,exports.CardContent=Le,exports.CardDescription=Ae,exports.CardFooter=Oe,exports.CardHeader=Pe,exports.CardTitle=qe,exports.Carousel=jr,exports.CarouselContent=Cr,exports.CarouselItem=Rr,exports.CarouselNext=Sr,exports.CarouselPrevious=kr,exports.ChartContainer=Qr,exports.ChartLegend=eo,exports.ChartStyle=Wr,exports.ChartTooltip=Yr,exports.ChartTooltipContent=Zr,exports.Checkbox=ha,exports.Collapsible=Tr,exports.CollapsibleContent=zr,exports.CollapsibleTrigger=Ir,exports.Command=Dr,exports.CommandDialog=({children:a,...t})=>e.jsx(U.Dialog,{...t,children:e.jsx(U.DialogContent,{className:"overflow-hidden p-0 shadow-lg",children:e.jsx(Dr,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:a})})}),exports.CommandEmpty=Pr,exports.CommandGroup=qr,exports.CommandInput=Mr,exports.CommandItem=Lr,exports.CommandList=_r,exports.CommandSeparator=Ar,exports.CommandShortcut=Or,exports.ContextMenu=nr,exports.ContextMenuCheckboxItem=gr,exports.ContextMenuContent=ur,exports.ContextMenuGroup=dr,exports.ContextMenuItem=xr,exports.ContextMenuLabel=Nr,exports.ContextMenuPortal=lr,exports.ContextMenuRadioGroup=mr,exports.ContextMenuRadioItem=br,exports.ContextMenuSeparator=hr,exports.ContextMenuShortcut=vr,exports.ContextMenuSub=cr,exports.ContextMenuSubContent=fr,exports.ContextMenuSubTrigger=pr,exports.ContextMenuTrigger=ir,exports.Dialog=hs,exports.DialogClose=ws,exports.DialogContent=Cs,exports.DialogDescription=Ts,exports.DialogFooter=ks,exports.DialogHeader=Rs,exports.DialogTitle=Ss,exports.DialogTrigger=vs,exports.Drawer=Bs,exports.DrawerClose=Hs,exports.DrawerContent=Es,exports.DrawerDescription=Js,exports.DrawerFooter=Us,exports.DrawerHeader=Ks,exports.DrawerTitle=Xs,exports.DrawerTrigger=Gs,exports.DropdownMenu=rs,exports.DropdownMenuCheckboxItem=us,exports.DropdownMenuContent=ps,exports.DropdownMenuGroup=ns,exports.DropdownMenuItem=fs,exports.DropdownMenuLabel=gs,exports.DropdownMenuPortal=is,exports.DropdownMenuRadioGroup=ls,exports.DropdownMenuRadioItem=xs,exports.DropdownMenuSeparator=bs,exports.DropdownMenuShortcut=Ns,exports.DropdownMenuSub=ds,exports.DropdownMenuSubContent=ms,exports.DropdownMenuSubTrigger=cs,exports.DropdownMenuTrigger=os,exports.Form=Oa,exports.FormControl=$a,exports.FormDescription=Ea,exports.FormField=({...a})=>e.jsx(Fa.Provider,{value:{name:a.name},children:e.jsx(R.Controller,{...a})}),exports.FormItem=Va,exports.FormLabel=Ha,exports.FormMessage=Ka,exports.HoverCard=Zs,exports.HoverCardContent=ar,exports.HoverCardTrigger=er,exports.Input=fa,exports.InputOTP=Ca,exports.InputOTPGroup=Ra,exports.InputOTPSeparator=Sa,exports.InputOTPSlot=ka,exports.Label=ba,exports.Menubar=Ut,exports.MenubarCheckboxItem=Zt,exports.MenubarContent=Wt,exports.MenubarItem=Yt,exports.MenubarLabel=as,exports.MenubarMenu=$t,exports.MenubarRadioGroup=Kt,exports.MenubarRadioItem=es,exports.MenubarSeparator=ts,exports.MenubarShortcut=ss,exports.MenubarSub=Et,exports.MenubarSubContent=Qt,exports.MenubarSubTrigger=Jt,exports.MenubarTrigger=Xt,exports.NavigationMenu=At,exports.NavigationMenuContent=Gt,exports.NavigationMenuItem=Ot,exports.NavigationMenuLink=Vt,exports.NavigationMenuList=Lt,exports.NavigationMenuTrigger=Bt,exports.Pagination=It,exports.PaginationContent=zt,exports.PaginationEllipsis=qt,exports.PaginationItem=Dt,exports.PaginationLink=Mt,exports.PaginationNext=Pt,exports.PaginationPrevious=_t,exports.Popover=Qs,exports.PopoverContent=Ys,exports.PopoverTrigger=Ws,exports.Progress=jt,exports.RadioGroup=va,exports.RadioGroupItem=ya,exports.ResizableHandle=({withHandle:a,className:t,...o})=>e.jsx(re.PanelResizeHandle,{className:r.cn("relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",t),...o,children:a&&e.jsx("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border",children:e.jsx(s.GripVertical,{className:"h-2.5 w-2.5"})})}),exports.ResizablePanel=Qe,exports.ResizablePanelGroup=({className:a,...t})=>e.jsx(re.PanelGroup,{className:r.cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",a),...t}),exports.ScrollArea=Be,exports.ScrollBar=Ge,exports.Select=Ta,exports.SelectContent=Pa,exports.SelectGroup=Ia,exports.SelectItem=Aa,exports.SelectLabel=qa,exports.SelectScrollDownButton=_a,exports.SelectScrollUpButton=Ma,exports.SelectSeparator=La,exports.SelectTrigger=Da,exports.SelectValue=za,exports.Separator=Fe,exports.Sheet=Is,exports.SheetClose=Ds,exports.SheetContent=qs,exports.SheetDescription=Fs,exports.SheetFooter=Ls,exports.SheetHeader=As,exports.SheetTitle=Os,exports.SheetTrigger=zs,exports.Sidebar=Ze,exports.SidebarContent=ta,exports.SidebarFooter=aa,exports.SidebarGroup=sa,exports.SidebarGroupContent=oa,exports.SidebarGroupLabel=ra,exports.SidebarHeader=ea,exports.SidebarMenu=na,exports.SidebarMenuButton=la,exports.SidebarMenuItem=ia,exports.SidebarMenuSub=ca,exports.SidebarMenuSubButton=pa,exports.SidebarMenuSubItem=ma,exports.Skeleton=function({className:a,...t}){return e.jsx("div",{className:r.cn("animate-pulse rounded-md bg-muted",a),...t})},exports.Slider=ja,exports.Switch=wa,exports.Table=Ve,exports.TableBody=$e,exports.TableCaption=Je,exports.TableCell=Xe,exports.TableFooter=Ee,exports.TableHead=Ue,exports.TableHeader=He,exports.TableRow=Ke,exports.Tabs=Rt,exports.TabsContent=Tt,exports.TabsList=kt,exports.TabsTrigger=St,exports.Textarea=Na,exports.Toast=Vr,exports.ToastAction=Hr,exports.ToastClose=$r,exports.ToastDescription=Kr,exports.ToastProvider=Fr,exports.ToastTitle=Er,exports.ToastViewport=Br,exports.Toaster=function(){const{toasts:a}=J.useToast();return e.jsxs(Q.ToastProvider,{children:[a.map(function({id:a,title:t,description:s,action:r,...o}){return e.jsxs(Q.Toast,{...o,children:[e.jsxs("div",{className:"grid gap-1",children:[t&&e.jsx(Q.ToastTitle,{children:t}),s&&e.jsx(Q.ToastDescription,{children:s})]}),r,e.jsx(Q.ToastClose,{})]},a)}),e.jsx(Q.ToastViewport,{})]})},exports.Toggle=Wa,exports.ToggleGroup=Xa,exports.ToggleGroupItem=Ja,exports.Tooltip=sr,exports.TooltipContent=or,exports.TooltipProvider=tr,exports.TooltipTrigger=rr,exports.badgeVariants=Ya,exports.buttonVariants=ua,exports.navigationMenuTriggerStyle=Ft,exports.toggleVariants=Qa;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("react"),t=require("@radix-ui/react-accordion"),s=require("lucide-react"),r=require("clsx"),o=require("tailwind-merge"),i=require("@radix-ui/react-aspect-ratio"),n=require("@radix-ui/react-separator"),d=require("@radix-ui/react-scroll-area"),l=require("react-resizable-panels"),c=require("@radix-ui/react-slot"),m=require("class-variance-authority"),f=require("@radix-ui/react-dialog"),p=require("@radix-ui/react-tooltip"),u=require("@radix-ui/react-label"),x=require("@radix-ui/react-checkbox"),g=require("@radix-ui/react-radio-group"),b=require("@radix-ui/react-switch"),N=require("@radix-ui/react-slider"),h=require("input-otp"),v=require("@radix-ui/react-select"),y=require("react-hook-form"),w=require("@radix-ui/react-toggle-group"),j=require("@radix-ui/react-toggle"),C=require("@radix-ui/react-alert-dialog"),R=require("@radix-ui/react-avatar"),S=require("@radix-ui/react-progress"),k=require("react-day-picker"),T=require("@radix-ui/react-tabs"),I=require("@radix-ui/react-navigation-menu"),z=require("@radix-ui/react-menubar"),D=require("@radix-ui/react-dropdown-menu"),M=require("vaul"),_=require("@radix-ui/react-popover"),P=require("@radix-ui/react-hover-card"),A=require("@radix-ui/react-context-menu"),O=require("embla-carousel-react"),L=require("@radix-ui/react-collapsible"),q=require("cmdk"),F=require("@radix-ui/react-toast"),G=require("recharts");function B(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const t in e)if("default"!==t){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,s.get?s:{enumerable:!0,get:()=>e[t]})}return a.default=e,Object.freeze(a)}const E=B(a),H=B(t),V=B(i),$=B(n),K=B(d),U=B(l),X=B(f),W=B(p),J=B(u),Q=B(x),Y=B(g),Z=B(b),ee=B(N),ae=B(v),te=B(w),se=B(j),re=B(C),oe=B(R),ie=B(S),ne=B(T),de=B(I),le=B(z),ce=B(D),me=B(_),fe=B(P),pe=B(A),ue=B(L),xe=B(F),ge=B(G);function be(...e){return o.twMerge(r.clsx(e))}const Ne=H.Root,he=E.forwardRef(({className:a,...t},s)=>e.jsx(H.Item,{ref:s,className:be("border-b",a),...t}));he.displayName="AccordionItem";const ve=E.forwardRef(({className:a,children:t,...r},o)=>e.jsx(H.Header,{className:"flex",children:e.jsxs(H.Trigger,{ref:o,className:be("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",a),...r,children:[t,e.jsx(s.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));ve.displayName=H.Trigger.displayName;const ye=E.forwardRef(({className:a,children:t,...s},r)=>e.jsx(H.Content,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...s,children:e.jsx("div",{className:be("pb-4 pt-0",a),children:t})}));ye.displayName=H.Content.displayName;const we=V.Root,je=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("rounded-lg border bg-card text-card-foreground shadow-sm",a),...t}));je.displayName="Card";const Ce=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex flex-col space-y-1.5 p-6",a),...t}));Ce.displayName="CardHeader";const Re=E.forwardRef(({className:a,...t},s)=>e.jsx("h3",{ref:s,className:be("text-2xl font-semibold leading-none tracking-tight",a),...t}));Re.displayName="CardTitle";const Se=E.forwardRef(({className:a,...t},s)=>e.jsx("p",{ref:s,className:be("text-sm text-muted-foreground",a),...t}));Se.displayName="CardDescription";const ke=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("p-6 pt-0",a),...t}));ke.displayName="CardContent";const Te=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex items-center p-6 pt-0",a),...t}));Te.displayName="CardFooter";const Ie=E.forwardRef(({className:a,orientation:t="horizontal",decorative:s=!0,...r},o)=>e.jsx($.Root,{ref:o,decorative:s,orientation:t,className:be("shrink-0 bg-border","horizontal"===t?"h-[1px] w-full":"h-full w-[1px]",a),...r}));Ie.displayName=$.Root.displayName;const ze=E.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(K.Root,{ref:r,className:be("relative overflow-hidden",a),...s,children:[e.jsx(K.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),e.jsx(De,{}),e.jsx(K.Corner,{})]}));ze.displayName=K.Root.displayName;const De=E.forwardRef(({className:a,orientation:t="vertical",...s},r)=>e.jsx(K.ScrollAreaScrollbar,{ref:r,orientation:t,className:be("flex touch-none select-none transition-colors","vertical"===t&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===t&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",a),...s,children:e.jsx(K.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));De.displayName=K.ScrollAreaScrollbar.displayName;const Me=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{className:"relative w-full overflow-auto",children:e.jsx("table",{ref:s,className:be("w-full caption-bottom text-sm",a),...t})}));Me.displayName="Table";const _e=E.forwardRef(({className:a,...t},s)=>e.jsx("thead",{ref:s,className:be("[&_tr]:border-b",a),...t}));_e.displayName="TableHeader";const Pe=E.forwardRef(({className:a,...t},s)=>e.jsx("tbody",{ref:s,className:be("[&_tr:last-child]:border-0",a),...t}));Pe.displayName="TableBody";const Ae=E.forwardRef(({className:a,...t},s)=>e.jsx("tfoot",{ref:s,className:be("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...t}));Ae.displayName="TableFooter";const Oe=E.forwardRef(({className:a,...t},s)=>e.jsx("tr",{ref:s,className:be("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",a),...t}));Oe.displayName="TableRow";const Le=E.forwardRef(({className:a,...t},s)=>e.jsx("th",{ref:s,className:be("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",a),...t}));Le.displayName="TableHead";const qe=E.forwardRef(({className:a,...t},s)=>e.jsx("td",{ref:s,className:be("p-4 align-middle [&:has([role=checkbox])]:pr-0",a),...t}));qe.displayName="TableCell";const Fe=E.forwardRef(({className:a,...t},s)=>e.jsx("caption",{ref:s,className:be("mt-4 text-sm text-muted-foreground",a),...t}));Fe.displayName="TableCaption";const Ge=U.Panel;const Be=m.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Ee=E.forwardRef(({className:a,variant:t,size:s,asChild:r=!1,...o},i)=>{const n=r?c.Slot:"button";return e.jsx(n,{className:be(Be({variant:t,size:s,className:a})),ref:i,...o})});Ee.displayName="Button";const He=E.forwardRef(({className:a,type:t,...s},r)=>e.jsx("input",{type:t,className:be("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:r,...s}));He.displayName="Input";const Ve=X.Root,$e=X.Trigger,Ke=X.Close,Ue=X.Portal,Xe=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Overlay,{className:be("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...t,ref:s}));Xe.displayName=X.Overlay.displayName;const We=m.cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Je=E.forwardRef(({side:a="right",className:t,children:r,...o},i)=>e.jsxs(Ue,{children:[e.jsx(Xe,{}),e.jsxs(X.Content,{ref:i,className:be(We({side:a}),t),...o,children:[r,e.jsxs(X.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[e.jsx(s.X,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Je.displayName=X.Content.displayName;const Qe=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col space-y-2 text-center sm:text-left",a),...t});Qe.displayName="SheetHeader";const Ye=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});Ye.displayName="SheetFooter";const Ze=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Title,{ref:s,className:be("text-lg font-semibold text-foreground",a),...t}));Ze.displayName=X.Title.displayName;const ea=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));function aa({className:a,...t}){return e.jsx("div",{className:be("animate-pulse rounded-md bg-muted",a),...t})}ea.displayName=X.Description.displayName;const ta=W.Provider,sa=W.Root,ra=W.Trigger,oa=E.forwardRef(({className:a,sideOffset:t=4,...s},r)=>e.jsx(W.Content,{ref:r,sideOffset:t,className:be("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md 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",a),...s}));oa.displayName=W.Content.displayName;const ia=E.createContext(null);function na(){const e=E.useContext(ia);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}E.forwardRef(({defaultOpen:a=!0,open:t,onOpenChange:s,className:r,style:o,children:i,...n},d)=>{const l=function(){const[e,a]=E.useState(void 0);return E.useEffect(()=>{const e=window.matchMedia("(max-width: 767px)"),t=()=>{a(window.innerWidth<768)};return e.addEventListener("change",t),a(window.innerWidth<768),()=>e.removeEventListener("change",t)},[]),!!e}(),[c,m]=E.useState(!1),[f,p]=E.useState(a),u=t??f,x=E.useCallback(e=>{const a="function"==typeof e?e(u):e;s?s(a):p(a),document.cookie=`sidebar:state=${a}; path=/; max-age=604800`},[s,u]),g=E.useCallback(()=>l?m(e=>!e):x(e=>!e),[l,x,m]);E.useEffect(()=>{const e=e=>{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),g())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[g]);const b=u?"expanded":"collapsed",N=E.useMemo(()=>({state:b,open:u,setOpen:x,isMobile:l,openMobile:c,setOpenMobile:m,toggleSidebar:g}),[b,u,x,l,c,m,g]);return e.jsx(ia.Provider,{value:N,children:e.jsx(ta,{delayDuration:0,children:e.jsx("div",{style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...o},className:be("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar",r),ref:d,...n,children:i})})})}).displayName="SidebarProvider";const da=E.forwardRef(({side:a="left",variant:t="sidebar",collapsible:s="offcanvas",className:r,children:o,...i},n)=>{const{isMobile:d,state:l,openMobile:c,setOpenMobile:m}=na();return"none"===s?e.jsx("div",{className:be("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:n,...i,children:o}):d?e.jsx(Ve,{open:c,onOpenChange:m,...i,children:e.jsx(Je,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:a,children:e.jsx("div",{className:"flex h-full w-full flex-col",children:o})})}):e.jsxs("div",{ref:n,className:"group peer hidden md:block text-sidebar-foreground","data-state":l,"data-collapsible":"collapsed"===l?s:"","data-variant":t,"data-side":a,children:[e.jsx("div",{className:be("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===t||"inset"===t?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),e.jsx("div",{className:be("duration-200 fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex","left"===a?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","floating"===t||"inset"===t?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",r),...i,children:e.jsx("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:o})})]})});da.displayName="Sidebar";E.forwardRef(({className:a,onClick:t,...r},o)=>{const{toggleSidebar:i}=na();return e.jsxs(Ee,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:be("h-7 w-7",a),onClick:e=>{null==t||t(e),i()},...r,children:[e.jsx(s.PanelLeft,{}),e.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}).displayName="SidebarTrigger";E.forwardRef(({className:a,...t},s)=>{const{toggleSidebar:r}=na();return e.jsx("button",{ref:s,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:be("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...t})}).displayName="SidebarRail";E.forwardRef(({className:a,...t},s)=>e.jsx("main",{ref:s,className:be("relative flex min-h-svh flex-1 flex-col bg-background","peer-data-[variant=inset]:min-h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...t})).displayName="SidebarInset";E.forwardRef(({className:a,...t},s)=>e.jsx(He,{ref:s,"data-sidebar":"input",className:be("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...t})).displayName="SidebarInput";const la=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"header",className:be("flex flex-col gap-2 p-2",a),...t}));la.displayName="SidebarHeader";const ca=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"footer",className:be("flex flex-col gap-2 p-2",a),...t}));ca.displayName="SidebarFooter";E.forwardRef(({className:a,...t},s)=>e.jsx(Ie,{ref:s,"data-sidebar":"separator",className:be("mx-2 w-auto bg-sidebar-border",a),...t})).displayName="SidebarSeparator";const ma=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"content",className:be("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...t}));ma.displayName="SidebarContent";const fa=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"group",className:be("relative flex w-full min-w-0 flex-col p-2",a),...t}));fa.displayName="SidebarGroup";const pa=E.forwardRef(({className:a,asChild:t=!1,...s},r)=>{const o=t?c.Slot:"div";return e.jsx(o,{ref:r,"data-sidebar":"group-label",className:be("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...s})});pa.displayName="SidebarGroupLabel";E.forwardRef(({className:a,asChild:t=!1,...s},r)=>{const o=t?c.Slot:"button";return e.jsx(o,{ref:r,"data-sidebar":"group-action",className:be("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...s})}).displayName="SidebarGroupAction";const ua=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"group-content",className:be("w-full text-sm",a),...t}));ua.displayName="SidebarGroupContent";const xa=E.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,"data-sidebar":"menu",className:be("flex w-full min-w-0 flex-col gap-1",a),...t}));xa.displayName="SidebarMenu";const ga=E.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,"data-sidebar":"menu-item",className:be("group/menu-item relative",a),...t}));ga.displayName="SidebarMenuItem";const ba=m.cva("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Na=E.forwardRef(({asChild:a=!1,isActive:t=!1,variant:s="default",size:r="default",tooltip:o,className:i,...n},d)=>{const l=a?c.Slot:"button",{isMobile:m,state:f}=na(),p=e.jsx(l,{ref:d,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:be(ba({variant:s,size:r}),i),...n});return o?("string"==typeof o&&(o={children:o}),e.jsxs(sa,{children:[e.jsx(ra,{asChild:!0,children:p}),e.jsx(oa,{side:"right",align:"center",hidden:"collapsed"!==f||m,...o})]})):p});Na.displayName="SidebarMenuButton";E.forwardRef(({className:a,asChild:t=!1,showOnHover:s=!1,...r},o)=>{const i=t?c.Slot:"button";return e.jsx(i,{ref:o,"data-sidebar":"menu-action",className:be("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md: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",s&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...r})}).displayName="SidebarMenuAction";E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"menu-badge",className:be("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-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",a),...t})).displayName="SidebarMenuBadge";E.forwardRef(({className:a,showIcon:t=!1,...s},r)=>{const o=E.useMemo(()=>`${Math.floor(40*Math.random())+50}%`,[]);return e.jsxs("div",{ref:r,"data-sidebar":"menu-skeleton",className:be("rounded-md h-8 flex gap-2 px-2 items-center",a),...s,children:[t&&e.jsx(aa,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),e.jsx(aa,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})}).displayName="SidebarMenuSkeleton";const ha=E.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,"data-sidebar":"menu-sub",className:be("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...t}));ha.displayName="SidebarMenuSub";const va=E.forwardRef(({...a},t)=>e.jsx("li",{ref:t,...a}));va.displayName="SidebarMenuSubItem";const ya=E.forwardRef(({asChild:a=!1,size:t="md",isActive:s,className:r,...o},i)=>{const n=a?c.Slot:"a";return e.jsx(n,{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":s,className:be("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring 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 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground","sm"===t&&"text-xs","md"===t&&"text-sm","group-data-[collapsible=icon]:hidden",r),...o})});ya.displayName="SidebarMenuSubButton";const wa=m.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ja=E.forwardRef(({className:a,...t},s)=>e.jsx(J.Root,{ref:s,className:be(wa(),a),...t}));ja.displayName=J.Root.displayName;const Ca=E.forwardRef(({className:a,...t},s)=>e.jsx("textarea",{className:be("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),ref:s,...t}));Ca.displayName="Textarea";const Ra=E.forwardRef(({className:a,...t},r)=>e.jsx(Q.Root,{ref:r,className:be("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",a),...t,children:e.jsx(Q.Indicator,{className:be("flex items-center justify-center text-current"),children:e.jsx(s.Check,{className:"h-4 w-4"})})}));Ra.displayName=Q.Root.displayName;const Sa=E.forwardRef(({className:a,...t},s)=>e.jsx(Y.Root,{className:be("grid gap-2",a),...t,ref:s}));Sa.displayName=Y.Root.displayName;const ka=E.forwardRef(({className:a,...t},r)=>e.jsx(Y.Item,{ref:r,className:be("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),...t,children:e.jsx(Y.Indicator,{className:"flex items-center justify-center",children:e.jsx(s.Circle,{className:"h-2.5 w-2.5 fill-current text-current"})})}));ka.displayName=Y.Item.displayName;const Ta=E.forwardRef(({className:a,...t},s)=>e.jsx(Z.Root,{className:be("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",a),...t,ref:s,children:e.jsx(Z.Thumb,{className:be("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Ta.displayName=Z.Root.displayName;const Ia=E.forwardRef(({className:a,...t},s)=>e.jsxs(ee.Root,{ref:s,className:be("relative flex w-full touch-none select-none items-center",a),...t,children:[e.jsx(ee.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:e.jsx(ee.Range,{className:"absolute h-full bg-primary"})}),e.jsx(ee.Thumb,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]}));Ia.displayName=ee.Root.displayName;const za=E.forwardRef(({className:a,containerClassName:t,...s},r)=>e.jsx(h.OTPInput,{ref:r,containerClassName:be("flex items-center gap-2 has-[:disabled]:opacity-50",t),className:be("disabled:cursor-not-allowed",a),...s}));za.displayName="InputOTP";const Da=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex items-center",a),...t}));Da.displayName="InputOTPGroup";const Ma=E.forwardRef(({index:a,className:t,...s},r)=>{const o=E.useContext(h.OTPInputContext),{char:i,hasFakeCaret:n,isActive:d}=o.slots[a];return e.jsxs("div",{ref:r,className:be("relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",d&&"z-10 ring-2 ring-ring ring-offset-background",t),...s,children:[i,n&&e.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:e.jsx("div",{className:"h-4 w-px animate-caret-blink bg-foreground duration-1000"})})]})});Ma.displayName="InputOTPSlot";const _a=E.forwardRef(({...a},t)=>e.jsx("div",{ref:t,role:"separator",...a,children:e.jsx(s.Dot,{})}));_a.displayName="InputOTPSeparator";const Pa=ae.Root,Aa=ae.Group,Oa=ae.Value,La=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ae.Trigger,{ref:o,className:be("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",a),...r,children:[t,e.jsx(ae.Icon,{asChild:!0,children:e.jsx(s.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));La.displayName=ae.Trigger.displayName;const qa=E.forwardRef(({className:a,...t},r)=>e.jsx(ae.ScrollUpButton,{ref:r,className:be("flex cursor-default items-center justify-center py-1",a),...t,children:e.jsx(s.ChevronUp,{className:"h-4 w-4"})}));qa.displayName=ae.ScrollUpButton.displayName;const Fa=E.forwardRef(({className:a,...t},r)=>e.jsx(ae.ScrollDownButton,{ref:r,className:be("flex cursor-default items-center justify-center py-1",a),...t,children:e.jsx(s.ChevronDown,{className:"h-4 w-4"})}));Fa.displayName=ae.ScrollDownButton.displayName;const Ga=E.forwardRef(({className:a,children:t,position:s="popper",...r},o)=>e.jsx(ae.Portal,{children:e.jsxs(ae.Content,{ref:o,className:be("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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","popper"===s&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:s,...r,children:[e.jsx(qa,{}),e.jsx(ae.Viewport,{className:be("p-1","popper"===s&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),e.jsx(Fa,{})]})}));Ga.displayName=ae.Content.displayName;const Ba=E.forwardRef(({className:a,...t},s)=>e.jsx(ae.Label,{ref:s,className:be("py-1.5 pl-8 pr-2 text-sm font-semibold",a),...t}));Ba.displayName=ae.Label.displayName;const Ea=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ae.Item,{ref:o,className:be("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ae.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),e.jsx(ae.ItemText,{children:t})]}));Ea.displayName=ae.Item.displayName;const Ha=E.forwardRef(({className:a,...t},s)=>e.jsx(ae.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));Ha.displayName=ae.Separator.displayName;const Va=y.FormProvider,$a=E.createContext({}),Ka=()=>{const e=E.useContext($a),a=E.useContext(Ua),{getFieldState:t,formState:s}=y.useFormContext(),r=t(e.name,s);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:o}=a;return{id:o,name:e.name,formItemId:`${o}-form-item`,formDescriptionId:`${o}-form-item-description`,formMessageId:`${o}-form-item-message`,...r}},Ua=E.createContext({}),Xa=E.forwardRef(({className:a,...t},s)=>{const r=E.useId();return e.jsx(Ua.Provider,{value:{id:r},children:e.jsx("div",{ref:s,className:be("space-y-2",a),...t})})});Xa.displayName="FormItem";const Wa=E.forwardRef(({className:a,...t},s)=>{const{error:r,formItemId:o}=Ka();return e.jsx(ja,{ref:s,className:be(r&&"text-destructive",a),htmlFor:o,...t})});Wa.displayName="FormLabel";const Ja=E.forwardRef(({...a},t)=>{const{error:s,formItemId:r,formDescriptionId:o,formMessageId:i}=Ka();return e.jsx(c.Slot,{ref:t,id:r,"aria-describedby":s?`${o} ${i}`:`${o}`,"aria-invalid":!!s,...a})});Ja.displayName="FormControl";const Qa=E.forwardRef(({className:a,...t},s)=>{const{formDescriptionId:r}=Ka();return e.jsx("p",{ref:s,id:r,className:be("text-sm text-muted-foreground",a),...t})});Qa.displayName="FormDescription";const Ya=E.forwardRef(({className:a,children:t,...s},r)=>{const{error:o,formMessageId:i}=Ka(),n=o?String(null==o?void 0:o.message):t;return n?e.jsx("p",{ref:r,id:i,className:be("text-sm font-medium text-destructive",a),...s,children:n}):null});Ya.displayName="FormMessage";const Za=m.cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}}),et=E.forwardRef(({className:a,variant:t,size:s,...r},o)=>e.jsx(se.Root,{ref:o,className:be(Za({variant:t,size:s,className:a})),...r}));et.displayName=se.Root.displayName;const at=E.createContext({size:"default",variant:"default"}),tt=E.forwardRef(({className:a,variant:t,size:s,children:r,...o},i)=>e.jsx(te.Root,{ref:i,className:be("flex items-center justify-center gap-1",a),...o,children:e.jsx(at.Provider,{value:{variant:t,size:s},children:r})}));tt.displayName=te.Root.displayName;const st=E.forwardRef(({className:a,children:t,variant:s,size:r,...o},i)=>{const n=E.useContext(at);return e.jsx(te.Item,{ref:i,className:be(Za({variant:n.variant||s,size:n.size||r}),a),...o,children:t})});st.displayName=te.Item.displayName;const rt=m.cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});const ot=m.cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),it=E.forwardRef(({className:a,variant:t,...s},r)=>e.jsx("div",{ref:r,role:"alert",className:be(ot({variant:t}),a),...s}));it.displayName="Alert";const nt=E.forwardRef(({className:a,...t},s)=>e.jsx("h5",{ref:s,className:be("mb-1 font-medium leading-none tracking-tight",a),...t}));nt.displayName="AlertTitle";const dt=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("text-sm [&_p]:leading-relaxed",a),...t}));dt.displayName="AlertDescription";const lt=re.Root,ct=re.Trigger,mt=re.Portal,ft=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Overlay,{className:be("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...t,ref:s}));ft.displayName=re.Overlay.displayName;const pt=E.forwardRef(({className:a,...t},s)=>e.jsxs(mt,{children:[e.jsx(ft,{}),e.jsx(re.Content,{ref:s,className:be("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...t})]}));pt.displayName=re.Content.displayName;const ut=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col space-y-2 text-center sm:text-left",a),...t});ut.displayName="AlertDialogHeader";const xt=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});xt.displayName="AlertDialogFooter";const gt=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Title,{ref:s,className:be("text-lg font-semibold",a),...t}));gt.displayName=re.Title.displayName;const bt=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));bt.displayName=re.Description.displayName;const Nt=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Action,{ref:s,className:be(Be(),a),...t}));Nt.displayName=re.Action.displayName;const ht=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Cancel,{ref:s,className:be(Be({variant:"outline"}),"mt-2 sm:mt-0",a),...t}));ht.displayName=re.Cancel.displayName;const vt=E.forwardRef(({className:a,...t},s)=>e.jsx(oe.Root,{ref:s,className:be("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...t}));vt.displayName=oe.Root.displayName;const yt=E.forwardRef(({className:a,...t},s)=>e.jsx(oe.Image,{ref:s,className:be("aspect-square h-full w-full",a),...t}));yt.displayName=oe.Image.displayName;const wt=E.forwardRef(({className:a,...t},s)=>e.jsx(oe.Fallback,{ref:s,className:be("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...t}));wt.displayName=oe.Fallback.displayName;const jt=E.forwardRef(({...a},t)=>e.jsx("nav",{ref:t,"aria-label":"breadcrumb",...a}));jt.displayName="Breadcrumb";const Ct=E.forwardRef(({className:a,...t},s)=>e.jsx("ol",{ref:s,className:be("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",a),...t}));Ct.displayName="BreadcrumbList";const Rt=E.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,className:be("inline-flex items-center gap-1.5",a),...t}));Rt.displayName="BreadcrumbItem";const St=E.forwardRef(({asChild:a,className:t,...s},r)=>{const o=a?c.Slot:"a";return e.jsx(o,{ref:r,className:be("transition-colors hover:text-foreground",t),...s})});St.displayName="BreadcrumbLink";const kt=E.forwardRef(({className:a,...t},s)=>e.jsx("span",{ref:s,role:"link","aria-disabled":"true","aria-current":"page",className:be("font-normal text-foreground",a),...t}));kt.displayName="BreadcrumbPage";const Tt=({children:a,className:t,...r})=>e.jsx("li",{role:"presentation","aria-hidden":"true",className:be("[&>svg]:size-3.5",t),...r,children:a??e.jsx(s.ChevronRight,{})});Tt.displayName="BreadcrumbSeparator";const It=E.forwardRef(({className:a,value:t,...s},r)=>e.jsx(ie.Root,{ref:r,className:be("relative h-4 w-full overflow-hidden rounded-full bg-secondary",a),...s,children:e.jsx(ie.Indicator,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));function zt({className:a,classNames:t,showOutsideDays:r=!0,...o}){return e.jsx(k.DayPicker,{showOutsideDays:r,className:be("p-3",a),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:be(Be({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:"h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",day:be(Be({variant:"ghost"}),"h-9 w-9 p-0 font-normal aria-selected:opacity-100"),day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},components:{Chevron:a=>"left"===a.orientation?e.jsx(s.ChevronLeft,{className:"h-4 w-4"}):e.jsx(s.ChevronRight,{className:"h-4 w-4"})},...o})}It.displayName=ie.Root.displayName,zt.displayName="Calendar";const Dt=ne.Root,Mt=E.forwardRef(({className:a,...t},s)=>e.jsx(ne.List,{ref:s,className:be("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",a),...t}));Mt.displayName=ne.List.displayName;const _t=E.forwardRef(({className:a,...t},s)=>e.jsx(ne.Trigger,{ref:s,className:be("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",a),...t}));_t.displayName=ne.Trigger.displayName;const Pt=E.forwardRef(({className:a,...t},s)=>e.jsx(ne.Content,{ref:s,className:be("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...t}));Pt.displayName=ne.Content.displayName;const At=({className:a,...t})=>e.jsx("nav",{role:"navigation","aria-label":"pagination",className:be("mx-auto flex w-full justify-center",a),...t});At.displayName="Pagination";const Ot=E.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,className:be("flex flex-row items-center gap-1",a),...t}));Ot.displayName="PaginationContent";const Lt=E.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,className:be("",a),...t}));Lt.displayName="PaginationItem";const qt=({className:a,isActive:t,size:s="icon",...r})=>e.jsx("a",{"aria-current":t?"page":void 0,className:be(Be({variant:t?"outline":"ghost",size:s}),a),...r});qt.displayName="PaginationLink";const Ft=({className:a,...t})=>e.jsxs(qt,{"aria-label":"Go to previous page",size:"default",className:be("gap-1 pl-2.5",a),...t,children:[e.jsx(s.ChevronLeft,{className:"h-4 w-4"}),e.jsx("span",{children:"Previous"})]});Ft.displayName="PaginationPrevious";const Gt=({className:a,...t})=>e.jsxs(qt,{"aria-label":"Go to next page",size:"default",className:be("gap-1 pr-2.5",a),...t,children:[e.jsx("span",{children:"Next"}),e.jsx(s.ChevronRight,{className:"h-4 w-4"})]});Gt.displayName="PaginationNext";const Bt=({className:a,...t})=>e.jsxs("span",{"aria-hidden":!0,className:be("flex h-9 w-9 items-center justify-center",a),...t,children:[e.jsx(s.MoreHorizontal,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"More pages"})]});Bt.displayName="PaginationEllipsis";const Et=E.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(de.Root,{ref:r,className:be("relative z-10 flex max-w-max flex-1 items-center justify-center",a),...s,children:[t,e.jsx(Wt,{})]}));Et.displayName=de.Root.displayName;const Ht=E.forwardRef(({className:a,...t},s)=>e.jsx(de.List,{ref:s,className:be("group flex flex-1 list-none items-center justify-center space-x-1",a),...t}));Ht.displayName=de.List.displayName;const Vt=de.Item,$t=m.cva("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),Kt=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(de.Trigger,{ref:o,className:be($t(),"group",a),...r,children:[t," ",e.jsx(s.ChevronDown,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));Kt.displayName=de.Trigger.displayName;const Ut=E.forwardRef(({className:a,...t},s)=>e.jsx(de.Content,{ref:s,className:be("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",a),...t}));Ut.displayName=de.Content.displayName;const Xt=de.Link,Wt=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{className:be("absolute left-0 top-full flex justify-center"),children:e.jsx(de.Viewport,{className:be("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",a),ref:s,...t})}));Wt.displayName=de.Viewport.displayName;E.forwardRef(({className:a,...t},s)=>e.jsx(de.Indicator,{ref:s,className:be("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",a),...t,children:e.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})).displayName=de.Indicator.displayName;const Jt=le.Menu,Qt=le.Sub,Yt=le.RadioGroup,Zt=E.forwardRef(({className:a,...t},s)=>e.jsx(le.Root,{ref:s,className:be("flex h-10 items-center space-x-1 rounded-md border bg-background p-1",a),...t}));Zt.displayName=le.Root.displayName;const es=E.forwardRef(({className:a,...t},s)=>e.jsx(le.Trigger,{ref:s,className:be("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",a),...t}));es.displayName=le.Trigger.displayName;const as=E.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(le.SubTrigger,{ref:i,className:be("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));as.displayName=le.SubTrigger.displayName;const ts=E.forwardRef(({className:a,...t},s)=>e.jsx(le.SubContent,{ref:s,className:be("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 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",a),...t}));ts.displayName=le.SubContent.displayName;const ss=E.forwardRef(({className:a,align:t="start",alignOffset:s=-4,sideOffset:r=8,...o},i)=>e.jsx(le.Portal,{children:e.jsx(le.Content,{ref:i,align:t,alignOffset:s,sideOffset:r,className:be("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...o})}));ss.displayName=le.Content.displayName;const rs=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(le.Item,{ref:r,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",a),...s}));rs.displayName=le.Item.displayName;const os=E.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(le.CheckboxItem,{ref:i,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(le.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));os.displayName=le.CheckboxItem.displayName;const is=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(le.RadioItem,{ref:o,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(le.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));is.displayName=le.RadioItem.displayName;const ns=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(le.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...s}));ns.displayName=le.Label.displayName;const ds=E.forwardRef(({className:a,...t},s)=>e.jsx(le.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));ds.displayName=le.Separator.displayName;const ls=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});ls.displayname="MenubarShortcut";const cs=ce.Root,ms=ce.Trigger,fs=ce.Group,ps=ce.Portal,us=ce.Sub,xs=ce.RadioGroup,gs=E.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(ce.SubTrigger,{ref:i,className:be("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));gs.displayName=ce.SubTrigger.displayName;const bs=E.forwardRef(({className:a,...t},s)=>e.jsx(ce.SubContent,{ref:s,className:be("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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",a),...t}));bs.displayName=ce.SubContent.displayName;const Ns=E.forwardRef(({className:a,sideOffset:t=4,...s},r)=>e.jsx(ce.Portal,{children:e.jsx(ce.Content,{ref:r,sideOffset:t,className:be("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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",a),...s})}));Ns.displayName=ce.Content.displayName;const hs=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(ce.Item,{ref:r,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",a),...s}));hs.displayName=ce.Item.displayName;const vs=E.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(ce.CheckboxItem,{ref:i,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ce.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));vs.displayName=ce.CheckboxItem.displayName;const ys=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ce.RadioItem,{ref:o,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ce.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));ys.displayName=ce.RadioItem.displayName;const ws=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(ce.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...s}));ws.displayName=ce.Label.displayName;const js=E.forwardRef(({className:a,...t},s)=>e.jsx(ce.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));js.displayName=ce.Separator.displayName;const Cs=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest opacity-60",a),...t});Cs.displayName="DropdownMenuShortcut";const Rs=X.Root,Ss=X.Trigger,ks=X.Portal,Ts=X.Close,Is=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Overlay,{ref:s,className:be("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...t}));Is.displayName=X.Overlay.displayName;const zs=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ks,{children:[e.jsx(Is,{}),e.jsxs(X.Content,{ref:o,className:be("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...r,children:[t,e.jsxs(X.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[e.jsx(s.X,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));zs.displayName=X.Content.displayName;const Ds=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col space-y-1.5 text-center sm:text-left",a),...t});Ds.displayName="DialogHeader";const Ms=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});Ms.displayName="DialogFooter";const _s=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Title,{ref:s,className:be("text-lg font-semibold leading-none tracking-tight",a),...t}));_s.displayName=X.Title.displayName;const Ps=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));Ps.displayName=X.Description.displayName;const As=({shouldScaleBackground:a=!0,...t})=>e.jsx(M.Drawer.Root,{shouldScaleBackground:a,...t});As.displayName="Drawer";const Os=M.Drawer.Trigger,Ls=M.Drawer.Portal,qs=M.Drawer.Close,Fs=E.forwardRef(({className:a,...t},s)=>e.jsx(M.Drawer.Overlay,{ref:s,className:be("fixed inset-0 z-50 bg-black/80",a),...t}));Fs.displayName=M.Drawer.Overlay.displayName;const Gs=E.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(Ls,{children:[e.jsx(Fs,{}),e.jsxs(M.Drawer.Content,{ref:r,className:be("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",a),...s,children:[e.jsx("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),t]})]}));Gs.displayName="DrawerContent";const Bs=({className:a,...t})=>e.jsx("div",{className:be("grid gap-1.5 p-4 text-center sm:text-left",a),...t});Bs.displayName="DrawerHeader";const Es=({className:a,...t})=>e.jsx("div",{className:be("mt-auto flex flex-col gap-2 p-4",a),...t});Es.displayName="DrawerFooter";const Hs=E.forwardRef(({className:a,...t},s)=>e.jsx(M.Drawer.Title,{ref:s,className:be("text-lg font-semibold leading-none tracking-tight",a),...t}));Hs.displayName=M.Drawer.Title.displayName;const Vs=E.forwardRef(({className:a,...t},s)=>e.jsx(M.Drawer.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));Vs.displayName=M.Drawer.Description.displayName;const $s=me.Root,Ks=me.Trigger,Us=E.forwardRef(({className:a,align:t="center",sideOffset:s=4,...r},o)=>e.jsx(me.Portal,{children:e.jsx(me.Content,{ref:o,align:t,sideOffset:s,className:be("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",a),...r})}));Us.displayName=me.Content.displayName;const Xs=fe.Root,Ws=fe.Trigger,Js=E.forwardRef(({className:a,align:t="center",sideOffset:s=4,...r},o)=>e.jsx(fe.Content,{ref:o,align:t,sideOffset:s,className:be("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",a),...r}));Js.displayName=fe.Content.displayName;const Qs=pe.Root,Ys=pe.Trigger,Zs=pe.Group,er=pe.Portal,ar=pe.Sub,tr=pe.RadioGroup,sr=E.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(pe.SubTrigger,{ref:i,className:be("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));sr.displayName=pe.SubTrigger.displayName;const rr=E.forwardRef(({className:a,...t},s)=>e.jsx(pe.SubContent,{ref:s,className:be("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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",a),...t}));rr.displayName=pe.SubContent.displayName;const or=E.forwardRef(({className:a,...t},s)=>e.jsx(pe.Portal,{children:e.jsx(pe.Content,{ref:s,className:be("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 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",a),...t})}));or.displayName=pe.Content.displayName;const ir=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(pe.Item,{ref:r,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",a),...s}));ir.displayName=pe.Item.displayName;const nr=E.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(pe.CheckboxItem,{ref:i,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(pe.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));nr.displayName=pe.CheckboxItem.displayName;const dr=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(pe.RadioItem,{ref:o,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(pe.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));dr.displayName=pe.RadioItem.displayName;const lr=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(pe.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",a),...s}));lr.displayName=pe.Label.displayName;const cr=E.forwardRef(({className:a,...t},s)=>e.jsx(pe.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-border",a),...t}));cr.displayName=pe.Separator.displayName;const mr=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});mr.displayName="ContextMenuShortcut";const fr=E.createContext(null);function pr(){const e=E.useContext(fr);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const ur=E.forwardRef(({orientation:a="horizontal",opts:t,setApi:s,plugins:r,className:o,children:i,...n},d)=>{const[l,c]=O({...t,axis:"horizontal"===a?"x":"y"},r),[m,f]=E.useState(!1),[p,u]=E.useState(!1),x=E.useCallback(e=>{e&&(f(e.canScrollPrev()),u(e.canScrollNext()))},[]),g=E.useCallback(()=>{null==c||c.scrollPrev()},[c]),b=E.useCallback(()=>{null==c||c.scrollNext()},[c]),N=E.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),g()):"ArrowRight"===e.key&&(e.preventDefault(),b())},[g,b]);return E.useEffect(()=>{c&&s&&s(c)},[c,s]),E.useEffect(()=>{if(c)return x(c),c.on("reInit",x),c.on("select",x),()=>{null==c||c.off("select",x)}},[c,x]),e.jsx(fr.Provider,{value:{carouselRef:l,api:c,opts:t,orientation:a||("y"===(null==t?void 0:t.axis)?"vertical":"horizontal"),scrollPrev:g,scrollNext:b,canScrollPrev:m,canScrollNext:p},children:e.jsx("div",{ref:d,onKeyDownCapture:N,className:be("relative",o),role:"region","aria-roledescription":"carousel",...n,children:i})})});ur.displayName="Carousel";const xr=E.forwardRef(({className:a,...t},s)=>{const{carouselRef:r,orientation:o}=pr();return e.jsx("div",{ref:r,className:"overflow-hidden",children:e.jsx("div",{ref:s,className:be("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",a),...t})})});xr.displayName="CarouselContent";const gr=E.forwardRef(({className:a,...t},s)=>{const{orientation:r}=pr();return e.jsx("div",{ref:s,role:"group","aria-roledescription":"slide",className:be("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",a),...t})});gr.displayName="CarouselItem";const br=E.forwardRef(({className:a,variant:t="outline",size:r="icon",...o},i)=>{const{orientation:n,scrollPrev:d,canScrollPrev:l}=pr();return e.jsxs(Ee,{ref:i,variant:t,size:r,className:be("absolute h-8 w-8 rounded-full","horizontal"===n?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!l,onClick:d,...o,children:[e.jsx(s.ArrowLeft,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Previous slide"})]})});br.displayName="CarouselPrevious";const Nr=E.forwardRef(({className:a,variant:t="outline",size:r="icon",...o},i)=>{const{orientation:n,scrollNext:d,canScrollNext:l}=pr();return e.jsxs(Ee,{ref:i,variant:t,size:r,className:be("absolute h-8 w-8 rounded-full","horizontal"===n?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!l,onClick:d,...o,children:[e.jsx(s.ArrowRight,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Next slide"})]})});Nr.displayName="CarouselNext";const hr=ue.Root,vr=ue.CollapsibleTrigger,yr=ue.CollapsibleContent,wr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command,{ref:s,className:be("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",a),...t}));wr.displayName=q.Command.displayName;const jr=E.forwardRef(({className:a,...t},r)=>e.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[e.jsx(s.Search,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),e.jsx(q.Command.Input,{ref:r,className:be("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",a),...t})]}));jr.displayName=q.Command.Input.displayName;const Cr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command.List,{ref:s,className:be("max-h-[300px] overflow-y-auto overflow-x-hidden",a),...t}));Cr.displayName=q.Command.List.displayName;const Rr=E.forwardRef((a,t)=>e.jsx(q.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...a}));Rr.displayName=q.Command.Empty.displayName;const Sr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command.Group,{ref:s,className:be("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",a),...t}));Sr.displayName=q.Command.Group.displayName;const kr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command.Separator,{ref:s,className:be("-mx-1 h-px bg-border",a),...t}));kr.displayName=q.Command.Separator.displayName;const Tr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command.Item,{ref:s,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",a),...t}));Tr.displayName=q.Command.Item.displayName;const Ir=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});Ir.displayName="CommandShortcut";const zr=xe.Provider,Dr=E.forwardRef(({className:a,...t},s)=>e.jsx(xe.Viewport,{ref:s,className:be("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",a),...t}));Dr.displayName=xe.Viewport.displayName;const Mr=m.cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),_r=E.forwardRef(({className:a,variant:t,...s},r)=>e.jsx(xe.Root,{ref:r,className:be(Mr({variant:t}),a),...s}));_r.displayName=xe.Root.displayName;const Pr=E.forwardRef(({className:a,...t},s)=>e.jsx(xe.Action,{ref:s,className:be("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",a),...t}));Pr.displayName=xe.Action.displayName;const Ar=E.forwardRef(({className:a,...t},r)=>e.jsx(xe.Close,{ref:r,className:be("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",a),"toast-close":"",...t,children:e.jsx(s.X,{className:"h-4 w-4"})}));Ar.displayName=xe.Close.displayName;const Or=E.forwardRef(({className:a,...t},s)=>e.jsx(xe.Title,{ref:s,className:be("text-sm font-semibold",a),...t}));Or.displayName=xe.Title.displayName;const Lr=E.forwardRef(({className:a,...t},s)=>e.jsx(xe.Description,{ref:s,className:be("text-sm opacity-90",a),...t}));Lr.displayName=xe.Description.displayName;let qr=0;const Fr=new Map,Gr=e=>{if(Fr.has(e))return;const a=setTimeout(()=>{Fr.delete(e),Vr({type:"REMOVE_TOAST",toastId:e})},1e6);Fr.set(e,a)},Br=(e,a)=>{switch(a.type){case"ADD_TOAST":return{...e,toasts:[a.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===a.toast.id?{...e,...a.toast}:e)};case"DISMISS_TOAST":{const{toastId:t}=a;return t?Gr(t):e.toasts.forEach(e=>{Gr(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":return void 0===a.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==a.toastId)}}},Er=[];let Hr={toasts:[]};function Vr(e){Hr=Br(Hr,e),Er.forEach(e=>{e(Hr)})}function $r({...e}){const a=(qr=(qr+1)%Number.MAX_SAFE_INTEGER,qr.toString()),t=()=>Vr({type:"DISMISS_TOAST",toastId:a});return Vr({type:"ADD_TOAST",toast:{...e,id:a,open:!0,onOpenChange:e=>{e||t()}}}),{id:a,dismiss:t,update:e=>Vr({type:"UPDATE_TOAST",toast:{...e,id:a}})}}const Kr={light:"",dark:".dark"},Ur=E.createContext(null);function Xr(){const e=E.useContext(Ur);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}const Wr=E.forwardRef(({id:a,className:t,children:s,config:r,...o},i)=>{const n=E.useId(),d=`chart-${a||n.replace(/:/g,"")}`;return e.jsx(Ur.Provider,{value:{config:r},children:e.jsxs("div",{"data-chart":d,ref:i,className:be("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",t),...o,children:[e.jsx(Jr,{id:d,config:r}),e.jsx(ge.ResponsiveContainer,{children:s})]})})});Wr.displayName="Chart";const Jr=({id:a,config:t})=>{const s=Object.entries(t).filter(([e,a])=>a.theme||a.color);return s.length?e.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(Kr).map(([e,t])=>`\n${t} [data-chart=${a}] {\n${s.map(([a,t])=>{var s;const r=(null==(s=t.theme)?void 0:s[e])||t.color;return r?` --color-${a}: ${r};`:null}).join("\n")}\n}\n`).join("\n")}}):null},Qr=ge.Tooltip,Yr=E.forwardRef(({active:a,payload:t,className:s,indicator:r="dot",hideLabel:o=!1,hideIndicator:i=!1,label:n,labelFormatter:d,labelClassName:l,formatter:c,color:m,nameKey:f,labelKey:p},u)=>{const{config:x}=Xr(),g=E.useMemo(()=>{var a;if(o||!(null==t?void 0:t.length))return null;const[s]=t,r=`${p||s.dataKey||s.name||"value"}`,i=eo(x,s,r),c=p||"string"!=typeof n?null==i?void 0:i.label:(null==(a=x[n])?void 0:a.label)||n;return d?e.jsx("div",{className:be("font-medium",l),children:d(c,t)}):c?e.jsx("div",{className:be("font-medium",l),children:c}):null},[n,d,t,o,l,x,p]);if(!a||!(null==t?void 0:t.length))return null;const b=1===t.length&&"dot"!==r;return e.jsxs("div",{ref:u,className:be("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",s),children:[b?null:g,e.jsx("div",{className:"grid gap-1.5",children:t.map((a,t)=>{const s=`${f||a.name||a.dataKey||"value"}`,o=eo(x,a,s),n=m||a.payload.fill||a.color;return e.jsx("div",{className:be("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===r&&"items-center"),children:c&&void 0!==(null==a?void 0:a.value)&&a.name?c(a.value,a.name,a,t,a.payload):e.jsxs(e.Fragment,{children:[(null==o?void 0:o.icon)?e.jsx(o.icon,{}):!i&&e.jsx("div",{className:be("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===r,"w-1":"line"===r,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===r,"my-0.5":b&&"dashed"===r}),style:{"--color-bg":n,"--color-border":n}}),e.jsxs("div",{className:be("flex flex-1 justify-between leading-none",b?"items-end":"items-center"),children:[e.jsxs("div",{className:"grid gap-1.5",children:[b?g:null,e.jsx("span",{className:"text-muted-foreground",children:(null==o?void 0:o.label)||a.name})]}),a.value&&e.jsx("span",{className:"font-mono font-medium tabular-nums text-foreground",children:a.value.toLocaleString()})]})]})},a.dataKey)})})]})});Yr.displayName="ChartTooltip";const Zr=ge.Legend;function eo(e,a,t){if("object"!=typeof a||null===a)return;const s="payload"in a&&"object"==typeof a.payload&&null!==a.payload?a.payload:void 0;let r=t;return t in a&&"string"==typeof a[t]?r=a[t]:s&&t in s&&"string"==typeof s[t]&&(r=s[t]),r in e?e[r]:e[t]}E.forwardRef(({className:a,hideIcon:t=!1,payload:s,verticalAlign:r="bottom",nameKey:o},i)=>{const{config:n}=Xr();return(null==s?void 0:s.length)?e.jsx("div",{ref:i,className:be("flex items-center justify-center gap-4","top"===r?"pb-3":"pt-3",a),children:s.map(a=>{const s=`${o||a.dataKey||"value"}`,r=eo(n,a,s);return e.jsxs("div",{className:be("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==r?void 0:r.icon)&&!t?e.jsx(r.icon,{}):e.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:a.color}}),null==r?void 0:r.label]},a.value)})}):null}).displayName="ChartLegend",exports.Accordion=Ne,exports.AccordionContent=ye,exports.AccordionItem=he,exports.AccordionTrigger=ve,exports.Alert=it,exports.AlertDescription=dt,exports.AlertDialog=lt,exports.AlertDialogAction=Nt,exports.AlertDialogCancel=ht,exports.AlertDialogContent=pt,exports.AlertDialogDescription=bt,exports.AlertDialogFooter=xt,exports.AlertDialogHeader=ut,exports.AlertDialogTitle=gt,exports.AlertDialogTrigger=ct,exports.AlertTitle=nt,exports.AspectRatio=we,exports.Avatar=vt,exports.AvatarFallback=wt,exports.AvatarImage=yt,exports.Badge=function({className:a,variant:t,...s}){return e.jsx("div",{className:be(rt({variant:t}),a),...s})},exports.Breadcrumb=jt,exports.BreadcrumbItem=Rt,exports.BreadcrumbLink=St,exports.BreadcrumbList=Ct,exports.BreadcrumbPage=kt,exports.BreadcrumbSeparator=Tt,exports.Button=Ee,exports.Calendar=zt,exports.Card=je,exports.CardContent=ke,exports.CardDescription=Se,exports.CardFooter=Te,exports.CardHeader=Ce,exports.CardTitle=Re,exports.Carousel=ur,exports.CarouselContent=xr,exports.CarouselItem=gr,exports.CarouselNext=Nr,exports.CarouselPrevious=br,exports.ChartContainer=Wr,exports.ChartLegend=Zr,exports.ChartStyle=Jr,exports.ChartTooltip=Qr,exports.ChartTooltipContent=Yr,exports.Checkbox=Ra,exports.Collapsible=hr,exports.CollapsibleContent=yr,exports.CollapsibleTrigger=vr,exports.Command=wr,exports.CommandDialog=({children:a,...t})=>e.jsx(Rs,{...t,children:e.jsx(zs,{className:"overflow-hidden p-0 shadow-lg",children:e.jsx(wr,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:a})})}),exports.CommandEmpty=Rr,exports.CommandGroup=Sr,exports.CommandInput=jr,exports.CommandItem=Tr,exports.CommandList=Cr,exports.CommandSeparator=kr,exports.CommandShortcut=Ir,exports.ContextMenu=Qs,exports.ContextMenuCheckboxItem=nr,exports.ContextMenuContent=or,exports.ContextMenuGroup=Zs,exports.ContextMenuItem=ir,exports.ContextMenuLabel=lr,exports.ContextMenuPortal=er,exports.ContextMenuRadioGroup=tr,exports.ContextMenuRadioItem=dr,exports.ContextMenuSeparator=cr,exports.ContextMenuShortcut=mr,exports.ContextMenuSub=ar,exports.ContextMenuSubContent=rr,exports.ContextMenuSubTrigger=sr,exports.ContextMenuTrigger=Ys,exports.Dialog=Rs,exports.DialogClose=Ts,exports.DialogContent=zs,exports.DialogDescription=Ps,exports.DialogFooter=Ms,exports.DialogHeader=Ds,exports.DialogTitle=_s,exports.DialogTrigger=Ss,exports.Drawer=As,exports.DrawerClose=qs,exports.DrawerContent=Gs,exports.DrawerDescription=Vs,exports.DrawerFooter=Es,exports.DrawerHeader=Bs,exports.DrawerTitle=Hs,exports.DrawerTrigger=Os,exports.DropdownMenu=cs,exports.DropdownMenuCheckboxItem=vs,exports.DropdownMenuContent=Ns,exports.DropdownMenuGroup=fs,exports.DropdownMenuItem=hs,exports.DropdownMenuLabel=ws,exports.DropdownMenuPortal=ps,exports.DropdownMenuRadioGroup=xs,exports.DropdownMenuRadioItem=ys,exports.DropdownMenuSeparator=js,exports.DropdownMenuShortcut=Cs,exports.DropdownMenuSub=us,exports.DropdownMenuSubContent=bs,exports.DropdownMenuSubTrigger=gs,exports.DropdownMenuTrigger=ms,exports.Form=Va,exports.FormControl=Ja,exports.FormDescription=Qa,exports.FormField=({...a})=>e.jsx($a.Provider,{value:{name:a.name},children:e.jsx(y.Controller,{...a})}),exports.FormItem=Xa,exports.FormLabel=Wa,exports.FormMessage=Ya,exports.HoverCard=Xs,exports.HoverCardContent=Js,exports.HoverCardTrigger=Ws,exports.Input=He,exports.InputOTP=za,exports.InputOTPGroup=Da,exports.InputOTPSeparator=_a,exports.InputOTPSlot=Ma,exports.Label=ja,exports.Menubar=Zt,exports.MenubarCheckboxItem=os,exports.MenubarContent=ss,exports.MenubarItem=rs,exports.MenubarLabel=ns,exports.MenubarMenu=Jt,exports.MenubarRadioGroup=Yt,exports.MenubarRadioItem=is,exports.MenubarSeparator=ds,exports.MenubarShortcut=ls,exports.MenubarSub=Qt,exports.MenubarSubContent=ts,exports.MenubarSubTrigger=as,exports.MenubarTrigger=es,exports.NavigationMenu=Et,exports.NavigationMenuContent=Ut,exports.NavigationMenuItem=Vt,exports.NavigationMenuLink=Xt,exports.NavigationMenuList=Ht,exports.NavigationMenuTrigger=Kt,exports.Pagination=At,exports.PaginationContent=Ot,exports.PaginationEllipsis=Bt,exports.PaginationItem=Lt,exports.PaginationLink=qt,exports.PaginationNext=Gt,exports.PaginationPrevious=Ft,exports.Popover=$s,exports.PopoverContent=Us,exports.PopoverTrigger=Ks,exports.Progress=It,exports.RadioGroup=Sa,exports.RadioGroupItem=ka,exports.ResizableHandle=({withHandle:a,className:t,...r})=>e.jsx(U.PanelResizeHandle,{className:be("relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",t),...r,children:a&&e.jsx("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border",children:e.jsx(s.GripVertical,{className:"h-2.5 w-2.5"})})}),exports.ResizablePanel=Ge,exports.ResizablePanelGroup=({className:a,...t})=>e.jsx(U.PanelGroup,{className:be("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",a),...t}),exports.ScrollArea=ze,exports.ScrollBar=De,exports.Select=Pa,exports.SelectContent=Ga,exports.SelectGroup=Aa,exports.SelectItem=Ea,exports.SelectLabel=Ba,exports.SelectScrollDownButton=Fa,exports.SelectScrollUpButton=qa,exports.SelectSeparator=Ha,exports.SelectTrigger=La,exports.SelectValue=Oa,exports.Separator=Ie,exports.Sheet=Ve,exports.SheetClose=Ke,exports.SheetContent=Je,exports.SheetDescription=ea,exports.SheetFooter=Ye,exports.SheetHeader=Qe,exports.SheetTitle=Ze,exports.SheetTrigger=$e,exports.Sidebar=da,exports.SidebarContent=ma,exports.SidebarFooter=ca,exports.SidebarGroup=fa,exports.SidebarGroupContent=ua,exports.SidebarGroupLabel=pa,exports.SidebarHeader=la,exports.SidebarMenu=xa,exports.SidebarMenuButton=Na,exports.SidebarMenuItem=ga,exports.SidebarMenuSub=ha,exports.SidebarMenuSubButton=ya,exports.SidebarMenuSubItem=va,exports.Skeleton=aa,exports.Slider=Ia,exports.Switch=Ta,exports.Table=Me,exports.TableBody=Pe,exports.TableCaption=Fe,exports.TableCell=qe,exports.TableFooter=Ae,exports.TableHead=Le,exports.TableHeader=_e,exports.TableRow=Oe,exports.Tabs=Dt,exports.TabsContent=Pt,exports.TabsList=Mt,exports.TabsTrigger=_t,exports.Textarea=Ca,exports.Toast=_r,exports.ToastAction=Pr,exports.ToastClose=Ar,exports.ToastDescription=Lr,exports.ToastProvider=zr,exports.ToastTitle=Or,exports.ToastViewport=Dr,exports.Toaster=function(){const{toasts:a}=function(){const[e,a]=E.useState(Hr);return E.useEffect(()=>(Er.push(a),()=>{const e=Er.indexOf(a);e>-1&&Er.splice(e,1)}),[e]),{...e,toast:$r,dismiss:e=>Vr({type:"DISMISS_TOAST",toastId:e})}}();return e.jsxs(zr,{children:[a.map(function({id:a,title:t,description:s,action:r,...o}){return e.jsxs(_r,{...o,children:[e.jsxs("div",{className:"grid gap-1",children:[t&&e.jsx(Or,{children:t}),s&&e.jsx(Lr,{children:s})]}),r,e.jsx(Ar,{})]},a)}),e.jsx(Dr,{})]})},exports.Toggle=et,exports.ToggleGroup=tt,exports.ToggleGroupItem=st,exports.Tooltip=sa,exports.TooltipContent=oa,exports.TooltipProvider=ta,exports.TooltipTrigger=ra,exports.badgeVariants=rt,exports.buttonVariants=Be,exports.navigationMenuTriggerStyle=$t,exports.toggleVariants=Za;