@sigtes/ui 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/form/Form.d.ts +1 -1
- package/dist/components.cjs.js +50 -25
- package/dist/components.es.js +4731 -3201
- package/package.json +2 -2
package/dist/components.cjs.js
CHANGED
|
@@ -1,112 +1,137 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Button-BZQNLEhf.cjs"),oa=require("@radix-ui/react-dropdown-menu"),Q=require("lucide-react"),K=require("react"),oe=require("@tabler/icons-react"),Ae=require("@dnd-kit/sortable"),ia=require("@dnd-kit/utilities"),ae=require("@tanstack/react-table"),ne=require("@dnd-kit/core"),Jr=require("@radix-ui/react-slot"),G=require("class-variance-authority"),sa=require("tailwind-merge"),la=require("@radix-ui/react-select"),ca=require("@dnd-kit/modifiers");require("@sigtes/hooks");const ua=require("@radix-ui/react-label"),ie=require("react-day-picker"),da=require("@radix-ui/react-popover"),fa=require("@radix-ui/react-checkbox"),pa=require("@radix-ui/react-collapsible"),ma=require("@radix-ui/react-dialog"),de=require("cmdk"),ya=require("@radix-ui/react-separator"),ur=require("react-hook-form"),ba=require("next-themes"),xn=require("sonner"),ga=require("@radix-ui/react-tabs"),va=require("recharts");function re(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const c=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(n,a,c.get?c:{enumerable:!0,get:()=>t[a]})}}return n.default=t,Object.freeze(n)}const Z=re(oa),N=re(K),ee=re(la),xa=re(ua),br=re(da),rt=re(fa),Hr=re(pa),se=re(ma),ha=re(ya),gr=re(ga),Gr=re(va);function Lr({...t}){return i.jsxRuntimeExports.jsx(Z.Root,{"data-slot":"dropdown-menu",...t})}function ja({...t}){return i.jsxRuntimeExports.jsx(Z.Portal,{"data-slot":"dropdown-menu-portal",...t})}function dr({...t}){return i.jsxRuntimeExports.jsx(Z.Trigger,{"data-slot":"dropdown-menu-trigger",...t})}function Ur({className:t,sideOffset:n=4,...a}){return i.jsxRuntimeExports.jsx(Z.Portal,{children:i.jsxRuntimeExports.jsx(Z.Content,{"data-slot":"dropdown-menu-content",sideOffset:n,className:i.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t),...a})})}function ka({...t}){return i.jsxRuntimeExports.jsx(Z.Group,{"data-slot":"dropdown-menu-group",...t})}function wa({className:t,inset:n,variant:a="default",...c}){return i.jsxRuntimeExports.jsx(Z.Item,{"data-slot":"dropdown-menu-item","data-inset":n,"data-variant":a,className:i.cn("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...c})}function hn({className:t,children:n,checked:a,...c}){return i.jsxRuntimeExports.jsxs(Z.CheckboxItem,{"data-slot":"dropdown-menu-checkbox-item",className:i.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),checked:a,...c,children:[i.jsxRuntimeExports.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:i.jsxRuntimeExports.jsx(Z.ItemIndicator,{children:i.jsxRuntimeExports.jsx(Q.CheckIcon,{className:"size-4"})})}),n]})}function jn({...t}){return i.jsxRuntimeExports.jsx(Z.RadioGroup,{"data-slot":"dropdown-menu-radio-group",...t})}function kn({className:t,children:n,...a}){return i.jsxRuntimeExports.jsxs(Z.RadioItem,{"data-slot":"dropdown-menu-radio-item",className:i.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...a,children:[i.jsxRuntimeExports.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:i.jsxRuntimeExports.jsx(Z.ItemIndicator,{children:i.jsxRuntimeExports.jsx(Q.CircleIcon,{className:"size-2 fill-current"})})}),n]})}function _a({className:t,inset:n,...a}){return i.jsxRuntimeExports.jsx(Z.Label,{"data-slot":"dropdown-menu-label","data-inset":n,className:i.cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",t),...a})}function Sa({className:t,...n}){return i.jsxRuntimeExports.jsx(Z.Separator,{"data-slot":"dropdown-menu-separator",className:i.cn("bg-border -mx-1 my-1 h-px",t),...n})}function Ra({className:t,...n}){return i.jsxRuntimeExports.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:i.cn("text-muted-foreground ml-auto text-xs tracking-widest",t),...n})}function Ea({...t}){return i.jsxRuntimeExports.jsx(Z.Sub,{"data-slot":"dropdown-menu-sub",...t})}function Oa({className:t,inset:n,children:a,...c}){return i.jsxRuntimeExports.jsxs(Z.SubTrigger,{"data-slot":"dropdown-menu-sub-trigger","data-inset":n,className:i.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",t),...c,children:[a,i.jsxRuntimeExports.jsx(Q.ChevronRightIcon,{className:"ml-auto size-4"})]})}function Na({className:t,...n}){return i.jsxRuntimeExports.jsx(Z.SubContent,{"data-slot":"dropdown-menu-sub-content",className:i.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",t),...n})}function Ca(){return i.jsxRuntimeExports.jsx(dr,{asChild:!0,children:i.jsxRuntimeExports.jsxs(i.Button,{variant:"ghost",className:"data-[state=open]:bg-muted text-muted-foreground flex size-8 p-0",size:"icon",children:[i.jsxRuntimeExports.jsx(oe.IconDotsVertical,{className:"size-4"}),i.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Abrir Menu"})]})})}function wn({row:t,onRowClick:n=()=>{}}){const{transform:a,transition:c,setNodeRef:u,isDragging:d}=Ae.useSortable({id:t.original.id});return i.jsxRuntimeExports.jsx(fr,{"data-state":t.getIsSelected()&&"selected","data-dragging":d,ref:u,style:{transform:ia.CSS.Transform.toString(a),transition:c,cursor:"grab"},onClick:()=>{n(t.original)},children:t.getVisibleCells().map(f=>i.jsxRuntimeExports.jsx(Kr,{className:"cursor-pointer",children:ae.flexRender(f.column.columnDef.cell,f.getContext())},f.id))})}function _n({className:t,type:n,...a}){return i.jsxRuntimeExports.jsx("input",{type:n,"data-slot":"input",className:i.cn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",t),...a})}function Sn({...t}){return i.jsxRuntimeExports.jsx(ee.Root,{"data-slot":"select",...t})}function Ta({...t}){return i.jsxRuntimeExports.jsx(ee.Group,{"data-slot":"select-group",...t})}function Rn({...t}){return i.jsxRuntimeExports.jsx(ee.Value,{"data-slot":"select-value",...t})}function En({className:t,size:n="default",children:a,...c}){return i.jsxRuntimeExports.jsxs(ee.Trigger,{"data-slot":"select-trigger","data-size":n,className:i.cn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...c,children:[a,i.jsxRuntimeExports.jsx(ee.Icon,{asChild:!0,children:i.jsxRuntimeExports.jsx(Q.ChevronDownIcon,{className:"size-4 opacity-50"})})]})}function On({className:t,children:n,position:a="popper",...c}){return i.jsxRuntimeExports.jsx(ee.Portal,{children:i.jsxRuntimeExports.jsxs(ee.Content,{"data-slot":"select-content",className:i.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:a,...c,children:[i.jsxRuntimeExports.jsx(Cn,{}),i.jsxRuntimeExports.jsx(ee.Viewport,{className:i.cn("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:n}),i.jsxRuntimeExports.jsx(Tn,{})]})})}function Pa({className:t,...n}){return i.jsxRuntimeExports.jsx(ee.Label,{"data-slot":"select-label",className:i.cn("text-muted-foreground px-2 py-1.5 text-xs",t),...n})}function Nn({className:t,children:n,...a}){return i.jsxRuntimeExports.jsxs(ee.Item,{"data-slot":"select-item",className:i.cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",t),...a,children:[i.jsxRuntimeExports.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:i.jsxRuntimeExports.jsx(ee.ItemIndicator,{children:i.jsxRuntimeExports.jsx(Q.CheckIcon,{className:"size-4"})})}),i.jsxRuntimeExports.jsx(ee.ItemText,{children:n})]})}function za({className:t,...n}){return i.jsxRuntimeExports.jsx(ee.Separator,{"data-slot":"select-separator",className:i.cn("bg-border pointer-events-none -mx-1 my-1 h-px",t),...n})}function Cn({className:t,...n}){return i.jsxRuntimeExports.jsx(ee.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:i.cn("flex cursor-default items-center justify-center py-1",t),...n,children:i.jsxRuntimeExports.jsx(Q.ChevronUpIcon,{className:"size-4"})})}function Tn({className:t,...n}){return i.jsxRuntimeExports.jsx(ee.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:i.cn("flex cursor-default items-center justify-center py-1",t),...n,children:i.jsxRuntimeExports.jsx(Q.ChevronDownIcon,{className:"size-4"})})}function Br({className:t,...n}){return i.jsxRuntimeExports.jsx(xa.Root,{"data-slot":"label",className:i.cn("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...n})}function Da({data:t,columns:n,getRowId:a,onRowOrderChange:c,onRowClick:u=()=>{},tableKey:d,Actions:f,defaultColumnFilter:p}){const b=`tablePageSize_${d}`,E=`tableColumnVisibility_${d}`,[x,h]=K.useState(()=>{if(typeof window>"u")return{};const y=localStorage.getItem(E);return y?JSON.parse(y):{}}),[O,g]=K.useState({pageIndex:0,pageSize:Number(typeof window<"u"&&localStorage.getItem(b))||10}),z=K.useId(),I=ne.useSensors(ne.useSensor(ne.MouseSensor,{}),ne.useSensor(ne.TouchSensor,{}),ne.useSensor(ne.KeyboardSensor,{})),v=K.useMemo(()=>t?.map(({id:y})=>y)||[],[t]),[V,M]=K.useState(t),[F,W]=K.useState({}),[U,L]=K.useState([]),[Y,X]=K.useState([]);K.useEffect(()=>{M(t)},[t]),K.useEffect(()=>{localStorage.setItem(E,JSON.stringify(x))},[x,E]),K.useEffect(()=>{localStorage.setItem(b,String(O.pageSize))},[O.pageSize,b]);function j({columns:y}){let R=!1;for(const P of y)if(P.id==="drag"){R=!0;break}const T={id:"drag"};return R?[...y]:[T,...y]}function J(y){const{active:R,over:T}=y;R&&T&&R.id!==T.id&&M(P=>{const $=P.findIndex(r=>r.id===R.id),A=P.findIndex(r=>r.id===T.id),e=Ae.arrayMove(P,$,A);return c&&c(e),e})}const D=ae.useReactTable({data:V,columns:j({columns:n}),state:{sorting:Y,columnVisibility:x,rowSelection:F,columnFilters:U,pagination:O},getRowId:a,enableRowSelection:!0,onRowSelectionChange:W,onSortingChange:X,onColumnFiltersChange:L,onColumnVisibilityChange:h,onPaginationChange:g,getCoreRowModel:ae.getCoreRowModel(),getFilteredRowModel:ae.getFilteredRowModel(),getPaginationRowModel:ae.getPaginationRowModel(),getSortedRowModel:ae.getSortedRowModel(),getFacetedRowModel:ae.getFacetedRowModel(),getFacetedUniqueValues:ae.getFacetedUniqueValues()});function k(){const y=D.getAllColumns()[1].columnDef;return String(y.id)?String(y.id):String(y.header)}const[C,H]=K.useState(p??k());return i.jsxRuntimeExports.jsxs("div",{children:[i.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between px-4 lg:px-6 mb-5 gap-2",children:[i.jsxRuntimeExports.jsxs("div",{className:"relative w-full h-8",children:[i.jsxRuntimeExports.jsx(Q.Search,{className:"absolute left-3 top-1/2 w-4 -translate-y-1/2 text-muted-foreground"}),i.jsxRuntimeExports.jsx(_n,{type:"text",placeholder:"",className:"pl-10 h-8",value:D.getColumn(C)?.getFilterValue()??"",onChange:y=>{D.getColumn(C)?.setFilterValue(y.target.value)}})]}),i.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxRuntimeExports.jsxs(Lr,{children:[i.jsxRuntimeExports.jsx(dr,{asChild:!0,children:i.jsxRuntimeExports.jsxs(i.Button,{variant:"outline",size:"sm",children:[i.jsxRuntimeExports.jsx(Q.FilterIcon,{}),i.jsxRuntimeExports.jsx("span",{className:"sm:hidden lg:inline",children:C||"Filtro"}),i.jsxRuntimeExports.jsx("span",{className:"lg:hidden",children:C||"Filtro"}),i.jsxRuntimeExports.jsx(oe.IconChevronDown,{})]})}),i.jsxRuntimeExports.jsx(Ur,{align:"end",className:"w-56",children:i.jsxRuntimeExports.jsx(jn,{value:C,onValueChange:y=>{L([]),H(y)},children:D.getAllColumns().filter(y=>typeof y.accessorFn<"u"&&y.getCanHide()).map(y=>{const R=y.columnDef.id?String(y.columnDef.id):String(y.columnDef.header);return i.jsxRuntimeExports.jsx(kn,{value:R,children:R},R)})})})]}),i.jsxRuntimeExports.jsxs(Lr,{children:[i.jsxRuntimeExports.jsx(dr,{asChild:!0,children:i.jsxRuntimeExports.jsxs(i.Button,{variant:"outline",size:"sm",children:[i.jsxRuntimeExports.jsx(oe.IconLayoutColumns,{}),i.jsxRuntimeExports.jsx("span",{className:"hidden lg:inline",children:"Colunas"}),i.jsxRuntimeExports.jsx("span",{className:"lg:hidden",children:"Colunas"}),i.jsxRuntimeExports.jsx(oe.IconChevronDown,{})]})}),i.jsxRuntimeExports.jsx(Ur,{align:"end",className:"w-56",children:D.getAllColumns().filter(y=>typeof y.accessorFn<"u"&&y.getCanHide()).map(y=>i.jsxRuntimeExports.jsx(hn,{className:"capitalize",checked:y.getIsVisible(),onCheckedChange:R=>{y.toggleVisibility(!!R)},children:y.columnDef.id?String(y.columnDef.id):String(y.columnDef.header)},y.id))})]}),f]})]}),i.jsxRuntimeExports.jsxs("div",{className:"relative flex flex-col gap-4 overflow-auto px-4 lg:px-6",children:[i.jsxRuntimeExports.jsx("div",{className:"overflow-hidden rounded-lg border",children:i.jsxRuntimeExports.jsx(ne.DndContext,{collisionDetection:ne.closestCenter,modifiers:[ca.restrictToVerticalAxis],onDragEnd:J,sensors:I,id:z,children:i.jsxRuntimeExports.jsxs(Pn,{children:[i.jsxRuntimeExports.jsx(zn,{className:"sticky top-0 z-10",children:D.getHeaderGroups().map(y=>i.jsxRuntimeExports.jsx(fr,{children:y.headers.map(R=>i.jsxRuntimeExports.jsx($n,{colSpan:R.colSpan,children:R.isPlaceholder?null:ae.flexRender(R.column.columnDef.header,R.getContext())},R.id))},y.id))}),i.jsxRuntimeExports.jsx(Ae.SortableContext,{items:v,strategy:Ae.verticalListSortingStrategy,children:i.jsxRuntimeExports.jsx(Dn,{className:"**:data-[slot=table-cell]:first:w-8",children:D.getRowModel().rows?.length?D.getRowModel().rows.map(y=>i.jsxRuntimeExports.jsx(wn,{row:y,onRowClick:u},y.id)):i.jsxRuntimeExports.jsx(fr,{children:i.jsxRuntimeExports.jsx(Kr,{colSpan:n.length,className:"h-24 text-center",children:"Nenhum Resultado."})})})})]})})}),i.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between px-4",children:[i.jsxRuntimeExports.jsxs("div",{className:"text-muted-foreground hidden flex-1 text-sm lg:flex",children:[D.getFilteredSelectedRowModel().rows.length," de"," ",D.getFilteredRowModel().rows.length," linhas selecionadas."]}),i.jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-8 lg:w-fit",children:[i.jsxRuntimeExports.jsxs("div",{className:"hidden items-center gap-2 lg:flex",children:[i.jsxRuntimeExports.jsx(Br,{htmlFor:"rows-per-page",className:"text-sm font-medium",children:"linhas por paginas"}),i.jsxRuntimeExports.jsxs(Sn,{value:`${D.getState().pagination.pageSize}`,onValueChange:y=>{D.setPageSize(Number(y))},children:[i.jsxRuntimeExports.jsx(En,{size:"sm",className:"w-20",id:"rows-per-page",children:i.jsxRuntimeExports.jsx(Rn,{placeholder:D.getState().pagination.pageSize})}),i.jsxRuntimeExports.jsx(On,{side:"top",children:[10,20,30,40,50].map(y=>i.jsxRuntimeExports.jsx(Nn,{value:`${y}`,children:y},y))})]})]}),i.jsxRuntimeExports.jsxs("div",{className:"flex w-fit items-center justify-center text-sm font-medium",children:["Página ",D.getState().pagination.pageIndex+1," de"," ",D.getPageCount()]}),i.jsxRuntimeExports.jsxs("div",{className:"ml-auto flex items-center gap-2 lg:ml-0",children:[i.jsxRuntimeExports.jsxs(i.Button,{variant:"outline",className:"hidden h-8 w-8 p-0 lg:flex",onClick:()=>D.setPageIndex(0),disabled:!D.getCanPreviousPage(),children:[i.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to first page"}),i.jsxRuntimeExports.jsx(oe.IconChevronsLeft,{})]}),i.jsxRuntimeExports.jsxs(i.Button,{variant:"outline",className:"size-8",size:"icon",onClick:()=>D.previousPage(),disabled:!D.getCanPreviousPage(),children:[i.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to previous page"}),i.jsxRuntimeExports.jsx(oe.IconChevronLeft,{})]}),i.jsxRuntimeExports.jsxs(i.Button,{variant:"outline",className:"size-8",size:"icon",onClick:()=>D.nextPage(),disabled:!D.getCanNextPage(),children:[i.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to next page"}),i.jsxRuntimeExports.jsx(oe.IconChevronRight,{})]}),i.jsxRuntimeExports.jsxs(i.Button,{variant:"outline",className:"hidden size-8 lg:flex",size:"icon",onClick:()=>D.setPageIndex(D.getPageCount()-1),disabled:!D.getCanNextPage(),children:[i.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to last page"}),i.jsxRuntimeExports.jsx(oe.IconChevronsRight,{})]})]})]})]})]})]})}function $a({id:t}){const{attributes:n,listeners:a}=Ae.useSortable({id:t});return i.jsxRuntimeExports.jsxs(i.Button,{...n,...a,variant:"ghost",size:"icon",className:"text-muted-foreground size-7 hover:bg-transparent cursor-pointer",children:[i.jsxRuntimeExports.jsx(oe.IconGripVertical,{className:"text-muted-foreground size-3"}),i.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Drag to reorder"})]})}function Pn({className:t,...n}){return i.jsxRuntimeExports.jsx("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:i.jsxRuntimeExports.jsx("table",{"data-slot":"table",className:i.cn("w-full caption-bottom text-sm",t),...n})})}function zn({className:t,...n}){return i.jsxRuntimeExports.jsx("thead",{"data-slot":"table-header",className:i.cn("[&_tr]:border-b",t),...n})}function Dn({className:t,...n}){return i.jsxRuntimeExports.jsx("tbody",{"data-slot":"table-body",className:i.cn("[&_tr:last-child]:border-0",t),...n})}function Aa({className:t,...n}){return i.jsxRuntimeExports.jsx("tfoot",{"data-slot":"table-footer",className:i.cn("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",t),...n})}function fr({className:t,...n}){return i.jsxRuntimeExports.jsx("tr",{"data-slot":"table-row",className:i.cn("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",t),...n})}function $n({className:t,...n}){return i.jsxRuntimeExports.jsx("th",{"data-slot":"table-head",className:i.cn("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...n})}function Kr({className:t,...n}){return i.jsxRuntimeExports.jsx("td",{"data-slot":"table-cell",className:i.cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...n})}function Fa({className:t,...n}){return i.jsxRuntimeExports.jsx("caption",{"data-slot":"table-caption",className:i.cn("text-muted-foreground mt-4 text-sm",t),...n})}function qr({className:t,classNames:n,showOutsideDays:a=!0,captionLayout:c="label",buttonVariant:u="ghost",formatters:d,components:f,...p}){const b=ie.getDefaultClassNames();return i.jsxRuntimeExports.jsx(ie.DayPicker,{showOutsideDays:a,className:i.cn("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,t),captionLayout:c,formatters:{formatMonthDropdown:E=>E.toLocaleString("default",{month:"short"}),...d},classNames:{root:i.cn("w-fit",b.root),months:i.cn("flex gap-4 flex-col md:flex-row relative",b.months),month:i.cn("flex flex-col w-full gap-4",b.month),nav:i.cn("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",b.nav),button_previous:i.cn(i.buttonVariants({variant:u}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",b.button_previous),button_next:i.cn(i.buttonVariants({variant:u}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",b.button_next),month_caption:i.cn("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",b.month_caption),dropdowns:i.cn("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",b.dropdowns),dropdown_root:i.cn("relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",b.dropdown_root),dropdown:i.cn("absolute bg-popover inset-0 opacity-0",b.dropdown),caption_label:i.cn("select-none font-medium",c==="label"?"text-sm":"rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5",b.caption_label),table:"w-full border-collapse",weekdays:i.cn("flex",b.weekdays),weekday:i.cn("text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none",b.weekday),week:i.cn("flex w-full mt-2",b.week),week_number_header:i.cn("select-none w-(--cell-size)",b.week_number_header),week_number:i.cn("text-[0.8rem] select-none text-muted-foreground",b.week_number),day:i.cn("relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none",b.day),range_start:i.cn("rounded-l-md bg-accent",b.range_start),range_middle:i.cn("rounded-none",b.range_middle),range_end:i.cn("rounded-r-md bg-accent",b.range_end),today:i.cn("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",b.today),outside:i.cn("text-muted-foreground aria-selected:text-muted-foreground",b.outside),disabled:i.cn("text-muted-foreground opacity-50",b.disabled),hidden:i.cn("invisible",b.hidden),...n},components:{Root:({className:E,rootRef:x,...h})=>i.jsxRuntimeExports.jsx("div",{"data-slot":"calendar",ref:x,className:i.cn(E),...h}),Chevron:({className:E,orientation:x,...h})=>x==="left"?i.jsxRuntimeExports.jsx(Q.ChevronLeftIcon,{className:i.cn("size-4",E),...h}):x==="right"?i.jsxRuntimeExports.jsx(Q.ChevronRightIcon,{className:i.cn("size-4",E),...h}):i.jsxRuntimeExports.jsx(Q.ChevronDownIcon,{className:i.cn("size-4",E),...h}),DayButton:An,WeekNumber:({children:E,...x})=>i.jsxRuntimeExports.jsx("td",{...x,children:i.jsxRuntimeExports.jsx("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:E})}),...f},...p})}function An({className:t,day:n,modifiers:a,...c}){const u=ie.getDefaultClassNames(),d=K.useRef(null);return K.useEffect(()=>{a.focused&&d.current?.focus()},[a.focused]),i.jsxRuntimeExports.jsx(i.Button,{ref:d,variant:"ghost",size:"icon","data-day":n.date.toLocaleDateString(),"data-selected-single":a.selected&&!a.range_start&&!a.range_end&&!a.range_middle,"data-range-start":a.range_start,"data-range-end":a.range_end,"data-range-middle":a.range_middle,className:i.cn("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70",u.day,t),...c})}const Fn=6048e5,Ia=864e5,tt=Symbol.for("constructDateFrom");function ce(t,n){return typeof t=="function"?t(n):t&&typeof t=="object"&&tt in t?t[tt](n):t instanceof Date?new t.constructor(n):new Date(n)}function te(t,n){return ce(n||t,t)}let Ma={};function vr(){return Ma}function Fe(t,n){const a=vr(),c=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,u=te(t,n?.in),d=u.getDay(),f=(d<c?7:0)+d-c;return u.setDate(u.getDate()-f),u.setHours(0,0,0,0),u}function pr(t,n){return Fe(t,{...n,weekStartsOn:1})}function In(t,n){const a=te(t,n?.in),c=a.getFullYear(),u=ce(a,0);u.setFullYear(c+1,0,4),u.setHours(0,0,0,0);const d=pr(u),f=ce(a,0);f.setFullYear(c,0,4),f.setHours(0,0,0,0);const p=pr(f);return a.getTime()>=d.getTime()?c+1:a.getTime()>=p.getTime()?c:c-1}function nt(t){const n=te(t),a=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return a.setUTCFullYear(n.getFullYear()),+t-+a}function Va(t,...n){const a=ce.bind(null,n.find(c=>typeof c=="object"));return n.map(a)}function at(t,n){const a=te(t,n?.in);return a.setHours(0,0,0,0),a}function Wa(t,n,a){const[c,u]=Va(a?.in,t,n),d=at(c),f=at(u),p=+d-nt(d),b=+f-nt(f);return Math.round((p-b)/Ia)}function La(t,n){const a=In(t,n),c=ce(t,0);return c.setFullYear(a,0,4),c.setHours(0,0,0,0),pr(c)}function Ua(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function Ya(t){return!(!Ua(t)&&typeof t!="number"||isNaN(+te(t)))}function Xa(t,n){const a=te(t,n?.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}const Ja={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Ha=(t,n,a)=>{let c;const u=Ja[t];return typeof u=="string"?c=u:n===1?c=u.one:c=u.other.replace("{{count}}",n.toString()),a?.addSuffix?a.comparison&&a.comparison>0?"in "+c:c+" ago":c};function hr(t){return(n={})=>{const a=n.width?String(n.width):t.defaultWidth;return t.formats[a]||t.formats[t.defaultWidth]}}const Ga={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ba={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ka={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qa={date:hr({formats:Ga,defaultWidth:"full"}),time:hr({formats:Ba,defaultWidth:"full"}),dateTime:hr({formats:Ka,defaultWidth:"full"})},Qa={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Za=(t,n,a,c)=>Qa[t];function pe(t){return(n,a)=>{const c=a?.context?String(a.context):"standalone";let u;if(c==="formatting"&&t.formattingValues){const f=t.defaultFormattingWidth||t.defaultWidth,p=a?.width?String(a.width):f;u=t.formattingValues[p]||t.formattingValues[f]}else{const f=t.defaultWidth,p=a?.width?String(a.width):t.defaultWidth;u=t.values[p]||t.values[f]}const d=t.argumentCallback?t.argumentCallback(n):n;return u[d]}}const eo={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ro={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},to={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},no={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ao={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},oo={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},io=(t,n)=>{const a=Number(t),c=a%100;if(c>20||c<10)switch(c%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},so={ordinalNumber:io,era:pe({values:eo,defaultWidth:"wide"}),quarter:pe({values:ro,defaultWidth:"wide",argumentCallback:t=>t-1}),month:pe({values:to,defaultWidth:"wide"}),day:pe({values:no,defaultWidth:"wide"}),dayPeriod:pe({values:ao,defaultWidth:"wide",formattingValues:oo,defaultFormattingWidth:"wide"})};function me(t){return(n,a={})=>{const c=a.width,u=c&&t.matchPatterns[c]||t.matchPatterns[t.defaultMatchWidth],d=n.match(u);if(!d)return null;const f=d[0],p=c&&t.parsePatterns[c]||t.parsePatterns[t.defaultParseWidth],b=Array.isArray(p)?co(p,h=>h.test(f)):lo(p,h=>h.test(f));let E;E=t.valueCallback?t.valueCallback(b):b,E=a.valueCallback?a.valueCallback(E):E;const x=n.slice(f.length);return{value:E,rest:x}}}function lo(t,n){for(const a in t)if(Object.prototype.hasOwnProperty.call(t,a)&&n(t[a]))return a}function co(t,n){for(let a=0;a<t.length;a++)if(n(t[a]))return a}function uo(t){return(n,a={})=>{const c=n.match(t.matchPattern);if(!c)return null;const u=c[0],d=n.match(t.parsePattern);if(!d)return null;let f=t.valueCallback?t.valueCallback(d[0]):d[0];f=a.valueCallback?a.valueCallback(f):f;const p=n.slice(u.length);return{value:f,rest:p}}}const fo=/^(\d+)(th|st|nd|rd)?/i,po=/\d+/i,mo={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},yo={any:[/^b/i,/^(a|c)/i]},bo={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},go={any:[/1/i,/2/i,/3/i,/4/i]},vo={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},xo={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ho={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},jo={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ko={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},wo={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},_o={ordinalNumber:uo({matchPattern:fo,parsePattern:po,valueCallback:t=>parseInt(t,10)}),era:me({matchPatterns:mo,defaultMatchWidth:"wide",parsePatterns:yo,defaultParseWidth:"any"}),quarter:me({matchPatterns:bo,defaultMatchWidth:"wide",parsePatterns:go,defaultParseWidth:"any",valueCallback:t=>t+1}),month:me({matchPatterns:vo,defaultMatchWidth:"wide",parsePatterns:xo,defaultParseWidth:"any"}),day:me({matchPatterns:ho,defaultMatchWidth:"wide",parsePatterns:jo,defaultParseWidth:"any"}),dayPeriod:me({matchPatterns:ko,defaultMatchWidth:"any",parsePatterns:wo,defaultParseWidth:"any"})},So={code:"en-US",formatDistance:Ha,formatLong:qa,formatRelative:Za,localize:so,match:_o,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Ro(t,n){const a=te(t,n?.in);return Wa(a,Xa(a))+1}function Eo(t,n){const a=te(t,n?.in),c=+pr(a)-+La(a);return Math.round(c/Fn)+1}function Mn(t,n){const a=te(t,n?.in),c=a.getFullYear(),u=vr(),d=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??u.firstWeekContainsDate??u.locale?.options?.firstWeekContainsDate??1,f=ce(n?.in||t,0);f.setFullYear(c+1,0,d),f.setHours(0,0,0,0);const p=Fe(f,n),b=ce(n?.in||t,0);b.setFullYear(c,0,d),b.setHours(0,0,0,0);const E=Fe(b,n);return+a>=+p?c+1:+a>=+E?c:c-1}function Oo(t,n){const a=vr(),c=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,u=Mn(t,n),d=ce(n?.in||t,0);return d.setFullYear(u,0,c),d.setHours(0,0,0,0),Fe(d,n)}function No(t,n){const a=te(t,n?.in),c=+Fe(a,n)-+Oo(a,n);return Math.round(c/Fn)+1}function q(t,n){const a=t<0?"-":"",c=Math.abs(t).toString().padStart(n,"0");return a+c}const le={y(t,n){const a=t.getFullYear(),c=a>0?a:1-a;return q(n==="yy"?c%100:c,n.length)},M(t,n){const a=t.getMonth();return n==="M"?String(a+1):q(a+1,2)},d(t,n){return q(t.getDate(),n.length)},a(t,n){const a=t.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];default:return a==="am"?"a.m.":"p.m."}},h(t,n){return q(t.getHours()%12||12,n.length)},H(t,n){return q(t.getHours(),n.length)},m(t,n){return q(t.getMinutes(),n.length)},s(t,n){return q(t.getSeconds(),n.length)},S(t,n){const a=n.length,c=t.getMilliseconds(),u=Math.trunc(c*Math.pow(10,a-3));return q(u,n.length)}},fe={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ot={G:function(t,n,a){const c=t.getFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return a.era(c,{width:"abbreviated"});case"GGGGG":return a.era(c,{width:"narrow"});default:return a.era(c,{width:"wide"})}},y:function(t,n,a){if(n==="yo"){const c=t.getFullYear(),u=c>0?c:1-c;return a.ordinalNumber(u,{unit:"year"})}return le.y(t,n)},Y:function(t,n,a,c){const u=Mn(t,c),d=u>0?u:1-u;if(n==="YY"){const f=d%100;return q(f,2)}return n==="Yo"?a.ordinalNumber(d,{unit:"year"}):q(d,n.length)},R:function(t,n){const a=In(t);return q(a,n.length)},u:function(t,n){const a=t.getFullYear();return q(a,n.length)},Q:function(t,n,a){const c=Math.ceil((t.getMonth()+1)/3);switch(n){case"Q":return String(c);case"QQ":return q(c,2);case"Qo":return a.ordinalNumber(c,{unit:"quarter"});case"QQQ":return a.quarter(c,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(c,{width:"narrow",context:"formatting"});default:return a.quarter(c,{width:"wide",context:"formatting"})}},q:function(t,n,a){const c=Math.ceil((t.getMonth()+1)/3);switch(n){case"q":return String(c);case"qq":return q(c,2);case"qo":return a.ordinalNumber(c,{unit:"quarter"});case"qqq":return a.quarter(c,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(c,{width:"narrow",context:"standalone"});default:return a.quarter(c,{width:"wide",context:"standalone"})}},M:function(t,n,a){const c=t.getMonth();switch(n){case"M":case"MM":return le.M(t,n);case"Mo":return a.ordinalNumber(c+1,{unit:"month"});case"MMM":return a.month(c,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(c,{width:"narrow",context:"formatting"});default:return a.month(c,{width:"wide",context:"formatting"})}},L:function(t,n,a){const c=t.getMonth();switch(n){case"L":return String(c+1);case"LL":return q(c+1,2);case"Lo":return a.ordinalNumber(c+1,{unit:"month"});case"LLL":return a.month(c,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(c,{width:"narrow",context:"standalone"});default:return a.month(c,{width:"wide",context:"standalone"})}},w:function(t,n,a,c){const u=No(t,c);return n==="wo"?a.ordinalNumber(u,{unit:"week"}):q(u,n.length)},I:function(t,n,a){const c=Eo(t);return n==="Io"?a.ordinalNumber(c,{unit:"week"}):q(c,n.length)},d:function(t,n,a){return n==="do"?a.ordinalNumber(t.getDate(),{unit:"date"}):le.d(t,n)},D:function(t,n,a){const c=Ro(t);return n==="Do"?a.ordinalNumber(c,{unit:"dayOfYear"}):q(c,n.length)},E:function(t,n,a){const c=t.getDay();switch(n){case"E":case"EE":case"EEE":return a.day(c,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(c,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(c,{width:"short",context:"formatting"});default:return a.day(c,{width:"wide",context:"formatting"})}},e:function(t,n,a,c){const u=t.getDay(),d=(u-c.weekStartsOn+8)%7||7;switch(n){case"e":return String(d);case"ee":return q(d,2);case"eo":return a.ordinalNumber(d,{unit:"day"});case"eee":return a.day(u,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(u,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(u,{width:"short",context:"formatting"});default:return a.day(u,{width:"wide",context:"formatting"})}},c:function(t,n,a,c){const u=t.getDay(),d=(u-c.weekStartsOn+8)%7||7;switch(n){case"c":return String(d);case"cc":return q(d,n.length);case"co":return a.ordinalNumber(d,{unit:"day"});case"ccc":return a.day(u,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(u,{width:"narrow",context:"standalone"});case"cccccc":return a.day(u,{width:"short",context:"standalone"});default:return a.day(u,{width:"wide",context:"standalone"})}},i:function(t,n,a){const c=t.getDay(),u=c===0?7:c;switch(n){case"i":return String(u);case"ii":return q(u,n.length);case"io":return a.ordinalNumber(u,{unit:"day"});case"iii":return a.day(c,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(c,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(c,{width:"short",context:"formatting"});default:return a.day(c,{width:"wide",context:"formatting"})}},a:function(t,n,a){const u=t.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(u,{width:"narrow",context:"formatting"});default:return a.dayPeriod(u,{width:"wide",context:"formatting"})}},b:function(t,n,a){const c=t.getHours();let u;switch(c===12?u=fe.noon:c===0?u=fe.midnight:u=c/12>=1?"pm":"am",n){case"b":case"bb":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(u,{width:"narrow",context:"formatting"});default:return a.dayPeriod(u,{width:"wide",context:"formatting"})}},B:function(t,n,a){const c=t.getHours();let u;switch(c>=17?u=fe.evening:c>=12?u=fe.afternoon:c>=4?u=fe.morning:u=fe.night,n){case"B":case"BB":case"BBB":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(u,{width:"narrow",context:"formatting"});default:return a.dayPeriod(u,{width:"wide",context:"formatting"})}},h:function(t,n,a){if(n==="ho"){let c=t.getHours()%12;return c===0&&(c=12),a.ordinalNumber(c,{unit:"hour"})}return le.h(t,n)},H:function(t,n,a){return n==="Ho"?a.ordinalNumber(t.getHours(),{unit:"hour"}):le.H(t,n)},K:function(t,n,a){const c=t.getHours()%12;return n==="Ko"?a.ordinalNumber(c,{unit:"hour"}):q(c,n.length)},k:function(t,n,a){let c=t.getHours();return c===0&&(c=24),n==="ko"?a.ordinalNumber(c,{unit:"hour"}):q(c,n.length)},m:function(t,n,a){return n==="mo"?a.ordinalNumber(t.getMinutes(),{unit:"minute"}):le.m(t,n)},s:function(t,n,a){return n==="so"?a.ordinalNumber(t.getSeconds(),{unit:"second"}):le.s(t,n)},S:function(t,n){return le.S(t,n)},X:function(t,n,a){const c=t.getTimezoneOffset();if(c===0)return"Z";switch(n){case"X":return st(c);case"XXXX":case"XX":return ue(c);default:return ue(c,":")}},x:function(t,n,a){const c=t.getTimezoneOffset();switch(n){case"x":return st(c);case"xxxx":case"xx":return ue(c);default:return ue(c,":")}},O:function(t,n,a){const c=t.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+it(c,":");default:return"GMT"+ue(c,":")}},z:function(t,n,a){const c=t.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+it(c,":");default:return"GMT"+ue(c,":")}},t:function(t,n,a){const c=Math.trunc(+t/1e3);return q(c,n.length)},T:function(t,n,a){return q(+t,n.length)}};function it(t,n=""){const a=t>0?"-":"+",c=Math.abs(t),u=Math.trunc(c/60),d=c%60;return d===0?a+String(u):a+String(u)+n+q(d,2)}function st(t,n){return t%60===0?(t>0?"-":"+")+q(Math.abs(t)/60,2):ue(t,n)}function ue(t,n=""){const a=t>0?"-":"+",c=Math.abs(t),u=q(Math.trunc(c/60),2),d=q(c%60,2);return a+u+n+d}const lt=(t,n)=>{switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});default:return n.date({width:"full"})}},Vn=(t,n)=>{switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});default:return n.time({width:"full"})}},Co=(t,n)=>{const a=t.match(/(P+)(p+)?/)||[],c=a[1],u=a[2];if(!u)return lt(t,n);let d;switch(c){case"P":d=n.dateTime({width:"short"});break;case"PP":d=n.dateTime({width:"medium"});break;case"PPP":d=n.dateTime({width:"long"});break;default:d=n.dateTime({width:"full"});break}return d.replace("{{date}}",lt(c,n)).replace("{{time}}",Vn(u,n))},To={p:Vn,P:Co},Po=/^D+$/,zo=/^Y+$/,Do=["D","DD","YY","YYYY"];function $o(t){return Po.test(t)}function Ao(t){return zo.test(t)}function Fo(t,n,a){const c=Io(t,n,a);if(console.warn(c),Do.includes(t))throw new RangeError(c)}function Io(t,n,a){const c=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${n}\`) for formatting ${c} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Mo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Vo=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Wo=/^'([^]*?)'?$/,Lo=/''/g,Uo=/[a-zA-Z]/;function Yr(t,n,a){const c=vr(),u=a?.locale??c.locale??So,d=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??c.firstWeekContainsDate??c.locale?.options?.firstWeekContainsDate??1,f=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??c.weekStartsOn??c.locale?.options?.weekStartsOn??0,p=te(t,a?.in);if(!Ya(p))throw new RangeError("Invalid time value");let b=n.match(Vo).map(x=>{const h=x[0];if(h==="p"||h==="P"){const O=To[h];return O(x,u.formatLong)}return x}).join("").match(Mo).map(x=>{if(x==="''")return{isToken:!1,value:"'"};const h=x[0];if(h==="'")return{isToken:!1,value:Yo(x)};if(ot[h])return{isToken:!0,value:x};if(h.match(Uo))throw new RangeError("Format string contains an unescaped latin alphabet character `"+h+"`");return{isToken:!1,value:x}});u.localize.preprocessor&&(b=u.localize.preprocessor(p,b));const E={firstWeekContainsDate:d,weekStartsOn:f,locale:u};return b.map(x=>{if(!x.isToken)return x.value;const h=x.value;(!a?.useAdditionalWeekYearTokens&&Ao(h)||!a?.useAdditionalDayOfYearTokens&&$o(h))&&Fo(h,n,String(t));const O=ot[h[0]];return O(p,h,u.localize,E)}).join("")}function Yo(t){const n=t.match(Wo);return n?n[1].replace(Lo,"'"):t}function Ie({...t}){return i.jsxRuntimeExports.jsx(br.Root,{"data-slot":"popover",...t})}function Me({...t}){return i.jsxRuntimeExports.jsx(br.Trigger,{"data-slot":"popover-trigger",...t})}function Ve({className:t,align:n="center",sideOffset:a=4,...c}){return i.jsxRuntimeExports.jsx(br.Content,{"data-slot":"popover-content",align:n,sideOffset:a,className:i.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",t),...c})}function Xo({...t}){return i.jsxRuntimeExports.jsx(br.Anchor,{"data-slot":"popover-anchor",...t})}function Jo({value:t,onChange:n=()=>{},locale:a}){const[c,u]=K.useState(t);return i.jsxRuntimeExports.jsxs(Ie,{children:[i.jsxRuntimeExports.jsx(Me,{asChild:!0,children:i.jsxRuntimeExports.jsxs(i.Button,{variant:"outline",className:i.cn("justify-start text-left font-normal cursor-pointer h-8 border-dashed",!c&&"text-muted-foreground"),children:[i.jsxRuntimeExports.jsx(Q.Calendar,{className:"mr-2 h-4 w-4"}),c?Yr(new ie.TZDate(c.toString(),"UTC"),"dd 'de' MMMM 'de' yyyy",{locale:a}):i.jsxRuntimeExports.jsx("span",{children:"Selecione uma data"})]})}),i.jsxRuntimeExports.jsx(Ve,{className:"w-auto p-0",children:i.jsxRuntimeExports.jsx(qr,{mode:"single",captionLayout:"dropdown",timeZone:"UTC",selected:c,defaultMonth:t?new ie.TZDate(t.toString()):new ie.TZDate,onSelect:d=>{console.log(d),u(d),n(d)},endMonth:new ie.TZDate(2099,11)})})]})}function Ho({locale:t,value:n,onChange:a=()=>{}}){const[c,u]=K.useState(n);return i.jsxRuntimeExports.jsxs(Ie,{children:[i.jsxRuntimeExports.jsx(Me,{asChild:!0,children:i.jsxRuntimeExports.jsxs(i.Button,{variant:"outline",className:i.cn("justify-start text-left font-normal cursor-pointer h-8 border-dashed",!c&&"text-muted-foreground"),children:[i.jsxRuntimeExports.jsx(Q.Calendar,{className:"mr-2 h-4 w-4"}),c?.from&&c?.to?`${Yr(c.from,"dd/MM/yy")} - ${Yr(c.to,"dd/MM/yy")}`:i.jsxRuntimeExports.jsx("span",{children:"Selecione um período"})]})}),i.jsxRuntimeExports.jsx(Ve,{className:"w-auto p-0",children:i.jsxRuntimeExports.jsx(qr,{mode:"range",selected:c,onSelect:d=>{d&&(u(d),a(d))},locale:t,captionLayout:"dropdown",endMonth:new ie.TZDate(2099,11),numberOfMonths:1,className:"rounded-lg border shadow-sm"})})]})}const Wn=G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function cr({className:t,variant:n,asChild:a=!1,...c}){const u=a?Jr.Slot:"span";return i.jsxRuntimeExports.jsx(u,{"data-slot":"badge",className:i.cn(Wn({variant:n}),t),...c})}function Go({className:t,...n}){return i.jsxRuntimeExports.jsx("div",{"data-slot":"card",className:i.cn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",t),...n})}function Bo({className:t,...n}){return i.jsxRuntimeExports.jsx("div",{"data-slot":"card-header",className:i.cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",t),...n})}function Ko({className:t,...n}){return i.jsxRuntimeExports.jsx("div",{"data-slot":"card-title",className:i.cn("leading-none font-semibold",t),...n})}function qo({className:t,...n}){return i.jsxRuntimeExports.jsx("div",{"data-slot":"card-description",className:i.cn("text-muted-foreground text-sm",t),...n})}function Qo({className:t,...n}){return i.jsxRuntimeExports.jsx("div",{"data-slot":"card-action",className:i.cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end",t),...n})}function Zo({className:t,...n}){return i.jsxRuntimeExports.jsx("div",{"data-slot":"card-content",className:i.cn("px-6",t),...n})}function ei({className:t,...n}){return i.jsxRuntimeExports.jsx("div",{"data-slot":"card-footer",className:i.cn("flex items-center px-6 [.border-t]:pt-6",t),...n})}function ri({className:t,...n}){return i.jsxRuntimeExports.jsx(rt.Root,{"data-slot":"checkbox",className:i.cn("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",t),...n,children:i.jsxRuntimeExports.jsx(rt.Indicator,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:i.jsxRuntimeExports.jsx(Q.CheckIcon,{className:"size-3.5"})})})}function ti({...t}){return i.jsxRuntimeExports.jsx(Hr.Root,{"data-slot":"collapsible",...t})}function ni({...t}){return i.jsxRuntimeExports.jsx(Hr.CollapsibleTrigger,{"data-slot":"collapsible-trigger",...t})}function ai({...t}){return i.jsxRuntimeExports.jsx(Hr.CollapsibleContent,{"data-slot":"collapsible-content",...t})}function Ln({...t}){return i.jsxRuntimeExports.jsx(se.Root,{"data-slot":"dialog",...t})}function oi({...t}){return i.jsxRuntimeExports.jsx(se.Trigger,{"data-slot":"dialog-trigger",...t})}function Un({...t}){return i.jsxRuntimeExports.jsx(se.Portal,{"data-slot":"dialog-portal",...t})}function ii({...t}){return i.jsxRuntimeExports.jsx(se.Close,{"data-slot":"dialog-close",...t})}function Yn({className:t,...n}){return i.jsxRuntimeExports.jsx(se.Overlay,{"data-slot":"dialog-overlay",className:i.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...n})}function Xn({className:t,children:n,showCloseButton:a=!0,...c}){return i.jsxRuntimeExports.jsxs(Un,{"data-slot":"dialog-portal",children:[i.jsxRuntimeExports.jsx(Yn,{}),i.jsxRuntimeExports.jsxs(se.Content,{"data-slot":"dialog-content",className:i.cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),...c,children:[n,a&&i.jsxRuntimeExports.jsxs(se.Close,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[i.jsxRuntimeExports.jsx(Q.XIcon,{}),i.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function Jn({className:t,...n}){return i.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-header",className:i.cn("flex flex-col gap-2 text-center sm:text-left",t),...n})}function si({className:t,...n}){return i.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-footer",className:i.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...n})}function Hn({className:t,...n}){return i.jsxRuntimeExports.jsx(se.Title,{"data-slot":"dialog-title",className:i.cn("text-lg leading-none font-semibold",t),...n})}function Gn({className:t,...n}){return i.jsxRuntimeExports.jsx(se.Description,{"data-slot":"dialog-description",className:i.cn("text-muted-foreground text-sm",t),...n})}function xr({className:t,...n}){return i.jsxRuntimeExports.jsx(de.Command,{"data-slot":"command",className:i.cn("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",t),...n})}function li({title:t="Command Palette",description:n="Search for a command to run...",children:a,className:c,showCloseButton:u=!0,...d}){return i.jsxRuntimeExports.jsxs(Ln,{...d,children:[i.jsxRuntimeExports.jsxs(Jn,{className:"sr-only",children:[i.jsxRuntimeExports.jsx(Hn,{children:t}),i.jsxRuntimeExports.jsx(Gn,{children:n})]}),i.jsxRuntimeExports.jsx(Xn,{className:i.cn("overflow-hidden p-0",c),showCloseButton:u,children:i.jsxRuntimeExports.jsx(xr,{className:"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:a})})]})}function Qr({className:t,...n}){return i.jsxRuntimeExports.jsxs("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[i.jsxRuntimeExports.jsx(Q.SearchIcon,{className:"size-4 shrink-0 opacity-50"}),i.jsxRuntimeExports.jsx(de.Command.Input,{"data-slot":"command-input",className:i.cn("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",t),...n})]})}function Zr({className:t,...n}){return i.jsxRuntimeExports.jsx(de.Command.List,{"data-slot":"command-list",className:i.cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",t),...n})}function et({...t}){return i.jsxRuntimeExports.jsx(de.Command.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...t})}function mr({className:t,...n}){return i.jsxRuntimeExports.jsx(de.Command.Group,{"data-slot":"command-group",className:i.cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",t),...n})}function Bn({className:t,...n}){return i.jsxRuntimeExports.jsx(de.Command.Separator,{"data-slot":"command-separator",className:i.cn("bg-border -mx-1 h-px",t),...n})}function yr({className:t,...n}){return i.jsxRuntimeExports.jsx(de.Command.Item,{"data-slot":"command-item",className:i.cn("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...n})}function ci({className:t,...n}){return i.jsxRuntimeExports.jsx("span",{"data-slot":"command-shortcut",className:i.cn("text-muted-foreground ml-auto text-xs tracking-widest",t),...n})}function ui({data:t=[],placeholder:n="Selecione um item...",value:a,...c}){const[u,d]=N.useState(!1);let f=-1;a&&(f=t.findIndex(E=>E.value===a));const[p,b]=N.useState(f);return i.jsxRuntimeExports.jsxs(Ie,{open:u,onOpenChange:d,children:[i.jsxRuntimeExports.jsx(Me,{asChild:!0,children:i.jsxRuntimeExports.jsxs(i.Button,{variant:"outline",role:"combobox","aria-expanded":u,className:"justify-between",disabled:c.disabled,children:[p>-1?t[p].label:i.jsxRuntimeExports.jsx("div",{className:"text-sm text-foreground opacity-50 font-normal",children:n}),i.jsxRuntimeExports.jsx(Q.ChevronsUpDown,{className:"opacity-50"})]})}),i.jsxRuntimeExports.jsx(Ve,{className:" lg:w-[654px] md:w-[558px] p-0",children:i.jsxRuntimeExports.jsxs(xr,{children:[i.jsxRuntimeExports.jsx(Qr,{placeholder:n,className:"h-9 opacity-50",...c}),i.jsxRuntimeExports.jsxs(Zr,{children:[i.jsxRuntimeExports.jsx(et,{children:"Nenhum registro encontrado."}),i.jsxRuntimeExports.jsx(mr,{children:t?.map(E=>i.jsxRuntimeExports.jsxs(yr,{disabled:c.disabled,value:E.label,onSelect:x=>{const h=t.findIndex(O=>O.label===x);b(h),typeof c.onValueChange=="function"&&c.onValueChange(t[h].value),d(!1)},children:[E.label,i.jsxRuntimeExports.jsx(Q.Check,{className:i.cn("ml-auto",E.value===t[p]?.value?"opacity-100":"opacity-0")})]},E.value))})]})]})})]})}function Kn({className:t,orientation:n="horizontal",decorative:a=!0,...c}){return i.jsxRuntimeExports.jsx(ha.Root,{"data-slot":"separator",decorative:a,orientation:n,className:i.cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",t),...c})}function di({column:t,title:n,options:a,onChange:c,onOpenStateChange:u,value:d=[]}){const f=t?.getFacetedUniqueValues(),p=[...d];return i.jsxRuntimeExports.jsxs(Ie,{onOpenChange:b=>{typeof u=="function"&&u(b,p)},children:[i.jsxRuntimeExports.jsx(Me,{asChild:!0,children:i.jsxRuntimeExports.jsxs(i.Button,{variant:"outline",size:"sm",className:"h-8 border-dashed",children:[i.jsxRuntimeExports.jsx(Q.PlusCircle,{}),n,p?.length>0&&i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(Kn,{orientation:"vertical",className:"mx-2 h-4"}),i.jsxRuntimeExports.jsx(cr,{variant:"secondary",className:"rounded-sm px-1 font-normal lg:hidden",children:p.length}),i.jsxRuntimeExports.jsx("div",{className:"hidden gap-1 lg:flex",children:p.length>2?i.jsxRuntimeExports.jsxs(cr,{variant:"secondary",className:"rounded-sm px-1 font-normal",children:[p.length," selecionado"]}):a.filter(b=>p.includes(b.value)).map(b=>i.jsxRuntimeExports.jsx(cr,{variant:"secondary",className:"rounded-sm px-1 font-normal",children:b.label},b.value))})]})]})}),i.jsxRuntimeExports.jsx(Ve,{className:"w-[200px] p-0",align:"start",children:i.jsxRuntimeExports.jsxs(xr,{children:[i.jsxRuntimeExports.jsx(Qr,{placeholder:n}),i.jsxRuntimeExports.jsxs(Zr,{children:[i.jsxRuntimeExports.jsx(et,{children:"Nenhum resultado encontrado."}),i.jsxRuntimeExports.jsx(mr,{children:a.map(b=>{const E=p.includes(b.value);return i.jsxRuntimeExports.jsxs(yr,{onSelect:()=>{let x=[...p];E?x=x.filter(O=>O!==b.value):x.push(b.value),typeof c=="function"&&c(x);const h=Array.from(x);t?.setFilterValue(h.length?h:void 0)},children:[i.jsxRuntimeExports.jsx("div",{className:i.cn("flex size-4 items-center justify-center rounded-[4px] border",E?"bg-primary border-primary text-primary-foreground":"border-input [&_svg]:invisible"),children:i.jsxRuntimeExports.jsx(Q.Check,{className:"text-primary-foreground size-3.5"})}),b.icon&&i.jsxRuntimeExports.jsx(b.icon,{className:"text-muted-foreground size-4"}),i.jsxRuntimeExports.jsx("span",{children:b.label}),f?.get(b.value)&&i.jsxRuntimeExports.jsx("span",{className:"text-muted-foreground ml-auto flex size-4 items-center justify-center font-mono text-xs",children:f.get(b.value)})]},b.value)})}),p.length>0&&i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(Bn,{}),i.jsxRuntimeExports.jsx(mr,{children:i.jsxRuntimeExports.jsx(yr,{onSelect:()=>{t?.setFilterValue(void 0),typeof c=="function"&&c([])},className:"justify-center text-center",children:"Limpar Filtro"})})]})]})]})})]})}const fi=ur.FormProvider,qn=N.createContext({}),pi=({...t})=>i.jsxRuntimeExports.jsx(qn.Provider,{value:{name:t.name},children:i.jsxRuntimeExports.jsx(ur.Controller,{...t})}),We=()=>{const t=N.useContext(qn),n=N.useContext(Qn),{getFieldState:a}=ur.useFormContext(),c=ur.useFormState({name:t.name}),u=a(t.name,c);if(!t)throw new Error("useFormField should be used within <FormField>");const{id:d}=n;return{id:d,name:t.name,formItemId:`${d}-form-item`,formDescriptionId:`${d}-form-item-description`,formMessageId:`${d}-form-item-message`,...u}},Qn=N.createContext({});function mi({className:t,...n}){const a=N.useId();return i.jsxRuntimeExports.jsx(Qn.Provider,{value:{id:a},children:i.jsxRuntimeExports.jsx("div",{"data-slot":"form-item",className:i.cn("grid gap-2",t),...n})})}function yi({className:t,...n}){const{error:a,formItemId:c}=We();return i.jsxRuntimeExports.jsx(Br,{"data-slot":"form-label","data-error":!!a,className:i.cn("data-[error=true]:text-destructive",t),htmlFor:c,...n})}function bi({...t}){const{error:n,formItemId:a,formDescriptionId:c,formMessageId:u}=We();return i.jsxRuntimeExports.jsx(Jr.Slot,{"data-slot":"form-control",id:a,"aria-describedby":n?`${c} ${u}`:`${c}`,"aria-invalid":!!n,...t})}function gi({className:t,...n}){const{formDescriptionId:a}=We();return i.jsxRuntimeExports.jsx("p",{"data-slot":"form-description",id:a,className:i.cn("text-muted-foreground text-sm",t),...n})}function vi({className:t,...n}){const{error:a,formMessageId:c}=We(),u=a?String(a?.message??""):n.children;return u?i.jsxRuntimeExports.jsx("p",{"data-slot":"form-message",id:c,className:i.cn("text-destructive text-sm",t),...n,children:u}):null}function Zn({className:t,...n}){return i.jsxRuntimeExports.jsx("div",{"data-slot":"skeleton",className:i.cn("bg-accent animate-pulse rounded-md",t),...n})}const xi=({...t})=>{const{theme:n="system"}=ba.useTheme();return i.jsxRuntimeExports.jsx(xn.Toaster,{theme:n,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...t})};function hi({className:t,...n}){return i.jsxRuntimeExports.jsx(gr.Root,{"data-slot":"tabs",className:i.cn("flex flex-col gap-2",t),...n})}function ji({className:t,...n}){return i.jsxRuntimeExports.jsx(gr.List,{"data-slot":"tabs-list",className:i.cn("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",t),...n})}function ki({className:t,...n}){return i.jsxRuntimeExports.jsx(gr.Trigger,{"data-slot":"tabs-trigger",className:i.cn("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...n})}function wi({className:t,...n}){return i.jsxRuntimeExports.jsx(gr.Content,{"data-slot":"tabs-content",className:i.cn("flex-1 outline-none",t),...n})}function _i({className:t,...n}){return i.jsxRuntimeExports.jsx("textarea",{"data-slot":"textarea",className:i.cn("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),...n})}function Si({user:t}){const n=t?.username,a=n?n.substring(0,2):"";return t.id===""?i.jsxRuntimeExports.jsx(Zn,{className:"h-9 w-9 rounded-4xl"}):i.jsxRuntimeExports.jsx("div",{className:"rounded-full w-9 h-9 justify-center text-xs cursor-default uppercase items-center flex flex-col bg-amber-400 border-2 border-black",children:a})}const Ri={light:"",dark:".dark"},ea=N.createContext(null);function ra(){const t=N.useContext(ea);if(!t)throw new Error("useChart must be used within a <ChartContainer />");return t}function Ei({id:t,className:n,children:a,config:c,...u}){const d=N.useId(),f=`chart-${t||d.replace(/:/g,"")}`;return i.jsxRuntimeExports.jsx(ea.Provider,{value:{config:c},children:i.jsxRuntimeExports.jsxs("div",{"data-slot":"chart","data-chart":f,className:i.cn("[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",n),...u,children:[i.jsxRuntimeExports.jsx(ta,{id:f,config:c}),i.jsxRuntimeExports.jsx(Gr.ResponsiveContainer,{children:a})]})})}const ta=({id:t,config:n})=>{const a=Object.entries(n).filter(([,c])=>c.theme||c.color);return a.length?i.jsxRuntimeExports.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(Ri).map(([c,u])=>`
|
|
2
|
-
${
|
|
3
|
-
${
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./Button-BZQNLEhf.cjs"),Ao=require("@radix-ui/react-dropdown-menu"),Q=require("lucide-react"),B=require("react"),ae=require("@tabler/icons-react"),We=require("@dnd-kit/sortable"),Fo=require("@dnd-kit/utilities"),oe=require("@tanstack/react-table"),ne=require("@dnd-kit/core"),sr=require("@radix-ui/react-slot"),G=require("class-variance-authority"),Io=require("tailwind-merge"),Mo=require("@radix-ui/react-select"),Vo=require("@dnd-kit/modifiers");require("@sigtes/hooks");const Wo=require("@radix-ui/react-label"),ie=require("react-day-picker"),Uo=require("@radix-ui/react-popover"),Lo=require("@radix-ui/react-checkbox"),Yo=require("@radix-ui/react-collapsible"),Xo=require("@radix-ui/react-dialog"),de=require("cmdk"),Jo=require("@radix-ui/react-separator"),ht=require("react-hook-form"),Ho=require("next-themes"),Kn=require("sonner"),Go=require("@radix-ui/react-tabs"),Ko=require("recharts");function te(r){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const s in r)if(s!=="default"){const c=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(n,s,c.get?c:{enumerable:!0,get:()=>r[s]})}}return n.default=r,Object.freeze(n)}const Z=te(Ao),N=te(B),ee=te(Mo),Bo=te(Wo),Rt=te(Uo),vr=te(Lo),lr=te(Yo),se=te(Xo),qo=te(Jo),Et=te(Go),cr=te(Ko);function nr({...r}){return u.jsxRuntimeExports.jsx(Z.Root,{"data-slot":"dropdown-menu",...r})}function Qo({...r}){return u.jsxRuntimeExports.jsx(Z.Portal,{"data-slot":"dropdown-menu-portal",...r})}function kt({...r}){return u.jsxRuntimeExports.jsx(Z.Trigger,{"data-slot":"dropdown-menu-trigger",...r})}function or({className:r,sideOffset:n=4,...s}){return u.jsxRuntimeExports.jsx(Z.Portal,{children:u.jsxRuntimeExports.jsx(Z.Content,{"data-slot":"dropdown-menu-content",sideOffset:n,className:u.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",r),...s})})}function Zo({...r}){return u.jsxRuntimeExports.jsx(Z.Group,{"data-slot":"dropdown-menu-group",...r})}function ea({className:r,inset:n,variant:s="default",...c}){return u.jsxRuntimeExports.jsx(Z.Item,{"data-slot":"dropdown-menu-item","data-inset":n,"data-variant":s,className:u.cn("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),...c})}function Bn({className:r,children:n,checked:s,...c}){return u.jsxRuntimeExports.jsxs(Z.CheckboxItem,{"data-slot":"dropdown-menu-checkbox-item",className:u.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),checked:s,...c,children:[u.jsxRuntimeExports.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:u.jsxRuntimeExports.jsx(Z.ItemIndicator,{children:u.jsxRuntimeExports.jsx(Q.CheckIcon,{className:"size-4"})})}),n]})}function qn({...r}){return u.jsxRuntimeExports.jsx(Z.RadioGroup,{"data-slot":"dropdown-menu-radio-group",...r})}function Qn({className:r,children:n,...s}){return u.jsxRuntimeExports.jsxs(Z.RadioItem,{"data-slot":"dropdown-menu-radio-item",className:u.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),...s,children:[u.jsxRuntimeExports.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:u.jsxRuntimeExports.jsx(Z.ItemIndicator,{children:u.jsxRuntimeExports.jsx(Q.CircleIcon,{className:"size-2 fill-current"})})}),n]})}function ta({className:r,inset:n,...s}){return u.jsxRuntimeExports.jsx(Z.Label,{"data-slot":"dropdown-menu-label","data-inset":n,className:u.cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",r),...s})}function ra({className:r,...n}){return u.jsxRuntimeExports.jsx(Z.Separator,{"data-slot":"dropdown-menu-separator",className:u.cn("bg-border -mx-1 my-1 h-px",r),...n})}function na({className:r,...n}){return u.jsxRuntimeExports.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:u.cn("text-muted-foreground ml-auto text-xs tracking-widest",r),...n})}function oa({...r}){return u.jsxRuntimeExports.jsx(Z.Sub,{"data-slot":"dropdown-menu-sub",...r})}function aa({className:r,inset:n,children:s,...c}){return u.jsxRuntimeExports.jsxs(Z.SubTrigger,{"data-slot":"dropdown-menu-sub-trigger","data-inset":n,className:u.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",r),...c,children:[s,u.jsxRuntimeExports.jsx(Q.ChevronRightIcon,{className:"ml-auto size-4"})]})}function ia({className:r,...n}){return u.jsxRuntimeExports.jsx(Z.SubContent,{"data-slot":"dropdown-menu-sub-content",className:u.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",r),...n})}function sa(){return u.jsxRuntimeExports.jsx(kt,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"ghost",className:"data-[state=open]:bg-muted text-muted-foreground flex size-8 p-0",size:"icon",children:[u.jsxRuntimeExports.jsx(ae.IconDotsVertical,{className:"size-4"}),u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Abrir Menu"})]})})}function Zn({row:r,onRowClick:n=()=>{}}){const{transform:s,transition:c,setNodeRef:l,isDragging:d}=We.useSortable({id:r.original.id});return u.jsxRuntimeExports.jsx(jt,{"data-state":r.getIsSelected()&&"selected","data-dragging":d,ref:l,style:{transform:Fo.CSS.Transform.toString(s),transition:c,cursor:"grab"},onClick:()=>{n(r.original)},children:r.getVisibleCells().map(f=>u.jsxRuntimeExports.jsx(dr,{className:"cursor-pointer",children:oe.flexRender(f.column.columnDef.cell,f.getContext())},f.id))})}function eo({className:r,type:n,...s}){return u.jsxRuntimeExports.jsx("input",{type:n,"data-slot":"input",className:u.cn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",r),...s})}function to({...r}){return u.jsxRuntimeExports.jsx(ee.Root,{"data-slot":"select",...r})}function la({...r}){return u.jsxRuntimeExports.jsx(ee.Group,{"data-slot":"select-group",...r})}function ro({...r}){return u.jsxRuntimeExports.jsx(ee.Value,{"data-slot":"select-value",...r})}function no({className:r,size:n="default",children:s,...c}){return u.jsxRuntimeExports.jsxs(ee.Trigger,{"data-slot":"select-trigger","data-size":n,className:u.cn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),...c,children:[s,u.jsxRuntimeExports.jsx(ee.Icon,{asChild:!0,children:u.jsxRuntimeExports.jsx(Q.ChevronDownIcon,{className:"size-4 opacity-50"})})]})}function oo({className:r,children:n,position:s="popper",...c}){return u.jsxRuntimeExports.jsx(ee.Portal,{children:u.jsxRuntimeExports.jsxs(ee.Content,{"data-slot":"select-content",className:u.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",s==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:s,...c,children:[u.jsxRuntimeExports.jsx(io,{}),u.jsxRuntimeExports.jsx(ee.Viewport,{className:u.cn("p-1",s==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:n}),u.jsxRuntimeExports.jsx(so,{})]})})}function ca({className:r,...n}){return u.jsxRuntimeExports.jsx(ee.Label,{"data-slot":"select-label",className:u.cn("text-muted-foreground px-2 py-1.5 text-xs",r),...n})}function ao({className:r,children:n,...s}){return u.jsxRuntimeExports.jsxs(ee.Item,{"data-slot":"select-item",className:u.cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",r),...s,children:[u.jsxRuntimeExports.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:u.jsxRuntimeExports.jsx(ee.ItemIndicator,{children:u.jsxRuntimeExports.jsx(Q.CheckIcon,{className:"size-4"})})}),u.jsxRuntimeExports.jsx(ee.ItemText,{children:n})]})}function ua({className:r,...n}){return u.jsxRuntimeExports.jsx(ee.Separator,{"data-slot":"select-separator",className:u.cn("bg-border pointer-events-none -mx-1 my-1 h-px",r),...n})}function io({className:r,...n}){return u.jsxRuntimeExports.jsx(ee.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:u.cn("flex cursor-default items-center justify-center py-1",r),...n,children:u.jsxRuntimeExports.jsx(Q.ChevronUpIcon,{className:"size-4"})})}function so({className:r,...n}){return u.jsxRuntimeExports.jsx(ee.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:u.cn("flex cursor-default items-center justify-center py-1",r),...n,children:u.jsxRuntimeExports.jsx(Q.ChevronDownIcon,{className:"size-4"})})}function ur({className:r,...n}){return u.jsxRuntimeExports.jsx(Bo.Root,{"data-slot":"label",className:u.cn("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",r),...n})}function da({data:r,columns:n,getRowId:s,onRowOrderChange:c,onRowClick:l=()=>{},tableKey:d,Actions:f,defaultColumnFilter:p}){const g=`tablePageSize_${d}`,O=`tableColumnVisibility_${d}`,[x,h]=B.useState(()=>{if(typeof window>"u")return{};const b=localStorage.getItem(O);return b?JSON.parse(b):{}}),[E,v]=B.useState({pageIndex:0,pageSize:Number(typeof window<"u"&&localStorage.getItem(g))||10}),z=B.useId(),I=ne.useSensors(ne.useSensor(ne.MouseSensor,{}),ne.useSensor(ne.TouchSensor,{}),ne.useSensor(ne.KeyboardSensor,{})),y=B.useMemo(()=>r?.map(({id:b})=>b)||[],[r]),[V,M]=B.useState(r),[F,W]=B.useState({}),[L,U]=B.useState([]),[Y,X]=B.useState([]);B.useEffect(()=>{M(r)},[r]),B.useEffect(()=>{localStorage.setItem(O,JSON.stringify(x))},[x,O]),B.useEffect(()=>{localStorage.setItem(g,String(E.pageSize))},[E.pageSize,g]);function k({columns:b}){let R=!1;for(const P of b)if(P.id==="drag"){R=!0;break}const T={id:"drag"};return R?[...b]:[T,...b]}function J(b){const{active:R,over:T}=b;R&&T&&R.id!==T.id&&M(P=>{const $=P.findIndex(t=>t.id===R.id),D=P.findIndex(t=>t.id===T.id),e=We.arrayMove(P,$,D);return c&&c(e),e})}const A=oe.useReactTable({data:V,columns:k({columns:n}),state:{sorting:Y,columnVisibility:x,rowSelection:F,columnFilters:L,pagination:E},getRowId:s,enableRowSelection:!0,onRowSelectionChange:W,onSortingChange:X,onColumnFiltersChange:U,onColumnVisibilityChange:h,onPaginationChange:v,getCoreRowModel:oe.getCoreRowModel(),getFilteredRowModel:oe.getFilteredRowModel(),getPaginationRowModel:oe.getPaginationRowModel(),getSortedRowModel:oe.getSortedRowModel(),getFacetedRowModel:oe.getFacetedRowModel(),getFacetedUniqueValues:oe.getFacetedUniqueValues()});function j(){const b=A.getAllColumns()[1].columnDef;return String(b.id)?String(b.id):String(b.header)}const[C,H]=B.useState(p??j());return u.jsxRuntimeExports.jsxs("div",{children:[u.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between px-4 lg:px-6 mb-5 gap-2",children:[u.jsxRuntimeExports.jsxs("div",{className:"relative w-full h-8",children:[u.jsxRuntimeExports.jsx(Q.Search,{className:"absolute left-3 top-1/2 w-4 -translate-y-1/2 text-muted-foreground"}),u.jsxRuntimeExports.jsx(eo,{type:"text",placeholder:"",className:"pl-10 h-8",value:A.getColumn(C)?.getFilterValue()??"",onChange:b=>{A.getColumn(C)?.setFilterValue(b.target.value)}})]}),u.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[u.jsxRuntimeExports.jsxs(nr,{children:[u.jsxRuntimeExports.jsx(kt,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",size:"sm",children:[u.jsxRuntimeExports.jsx(Q.FilterIcon,{}),u.jsxRuntimeExports.jsx("span",{className:"sm:hidden lg:inline",children:C||"Filtro"}),u.jsxRuntimeExports.jsx("span",{className:"lg:hidden",children:C||"Filtro"}),u.jsxRuntimeExports.jsx(ae.IconChevronDown,{})]})}),u.jsxRuntimeExports.jsx(or,{align:"end",className:"w-56",children:u.jsxRuntimeExports.jsx(qn,{value:C,onValueChange:b=>{U([]),H(b)},children:A.getAllColumns().filter(b=>typeof b.accessorFn<"u"&&b.getCanHide()).map(b=>{const R=b.columnDef.id?String(b.columnDef.id):String(b.columnDef.header);return u.jsxRuntimeExports.jsx(Qn,{value:R,children:R},R)})})})]}),u.jsxRuntimeExports.jsxs(nr,{children:[u.jsxRuntimeExports.jsx(kt,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",size:"sm",children:[u.jsxRuntimeExports.jsx(ae.IconLayoutColumns,{}),u.jsxRuntimeExports.jsx("span",{className:"hidden lg:inline",children:"Colunas"}),u.jsxRuntimeExports.jsx("span",{className:"lg:hidden",children:"Colunas"}),u.jsxRuntimeExports.jsx(ae.IconChevronDown,{})]})}),u.jsxRuntimeExports.jsx(or,{align:"end",className:"w-56",children:A.getAllColumns().filter(b=>typeof b.accessorFn<"u"&&b.getCanHide()).map(b=>u.jsxRuntimeExports.jsx(Bn,{className:"capitalize",checked:b.getIsVisible(),onCheckedChange:R=>{b.toggleVisibility(!!R)},children:b.columnDef.id?String(b.columnDef.id):String(b.columnDef.header)},b.id))})]}),f]})]}),u.jsxRuntimeExports.jsxs("div",{className:"relative flex flex-col gap-4 overflow-auto px-4 lg:px-6",children:[u.jsxRuntimeExports.jsx("div",{className:"overflow-hidden rounded-lg border",children:u.jsxRuntimeExports.jsx(ne.DndContext,{collisionDetection:ne.closestCenter,modifiers:[Vo.restrictToVerticalAxis],onDragEnd:J,sensors:I,id:z,children:u.jsxRuntimeExports.jsxs(lo,{children:[u.jsxRuntimeExports.jsx(co,{className:"sticky top-0 z-10",children:A.getHeaderGroups().map(b=>u.jsxRuntimeExports.jsx(jt,{children:b.headers.map(R=>u.jsxRuntimeExports.jsx(fo,{colSpan:R.colSpan,children:R.isPlaceholder?null:oe.flexRender(R.column.columnDef.header,R.getContext())},R.id))},b.id))}),u.jsxRuntimeExports.jsx(We.SortableContext,{items:y,strategy:We.verticalListSortingStrategy,children:u.jsxRuntimeExports.jsx(uo,{className:"**:data-[slot=table-cell]:first:w-8",children:A.getRowModel().rows?.length?A.getRowModel().rows.map(b=>u.jsxRuntimeExports.jsx(Zn,{row:b,onRowClick:l},b.id)):u.jsxRuntimeExports.jsx(jt,{children:u.jsxRuntimeExports.jsx(dr,{colSpan:n.length,className:"h-24 text-center",children:"Nenhum Resultado."})})})})]})})}),u.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between px-4",children:[u.jsxRuntimeExports.jsxs("div",{className:"text-muted-foreground hidden flex-1 text-sm lg:flex",children:[A.getFilteredSelectedRowModel().rows.length," de"," ",A.getFilteredRowModel().rows.length," linhas selecionadas."]}),u.jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-8 lg:w-fit",children:[u.jsxRuntimeExports.jsxs("div",{className:"hidden items-center gap-2 lg:flex",children:[u.jsxRuntimeExports.jsx(ur,{htmlFor:"rows-per-page",className:"text-sm font-medium",children:"linhas por paginas"}),u.jsxRuntimeExports.jsxs(to,{value:`${A.getState().pagination.pageSize}`,onValueChange:b=>{A.setPageSize(Number(b))},children:[u.jsxRuntimeExports.jsx(no,{size:"sm",className:"w-20",id:"rows-per-page",children:u.jsxRuntimeExports.jsx(ro,{placeholder:A.getState().pagination.pageSize})}),u.jsxRuntimeExports.jsx(oo,{side:"top",children:[10,20,30,40,50].map(b=>u.jsxRuntimeExports.jsx(ao,{value:`${b}`,children:b},b))})]})]}),u.jsxRuntimeExports.jsxs("div",{className:"flex w-fit items-center justify-center text-sm font-medium",children:["Página ",A.getState().pagination.pageIndex+1," de"," ",A.getPageCount()]}),u.jsxRuntimeExports.jsxs("div",{className:"ml-auto flex items-center gap-2 lg:ml-0",children:[u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",className:"hidden h-8 w-8 p-0 lg:flex",onClick:()=>A.setPageIndex(0),disabled:!A.getCanPreviousPage(),children:[u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to first page"}),u.jsxRuntimeExports.jsx(ae.IconChevronsLeft,{})]}),u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",className:"size-8",size:"icon",onClick:()=>A.previousPage(),disabled:!A.getCanPreviousPage(),children:[u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to previous page"}),u.jsxRuntimeExports.jsx(ae.IconChevronLeft,{})]}),u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",className:"size-8",size:"icon",onClick:()=>A.nextPage(),disabled:!A.getCanNextPage(),children:[u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to next page"}),u.jsxRuntimeExports.jsx(ae.IconChevronRight,{})]}),u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",className:"hidden size-8 lg:flex",size:"icon",onClick:()=>A.setPageIndex(A.getPageCount()-1),disabled:!A.getCanNextPage(),children:[u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to last page"}),u.jsxRuntimeExports.jsx(ae.IconChevronsRight,{})]})]})]})]})]})]})}function fa({id:r}){const{attributes:n,listeners:s}=We.useSortable({id:r});return u.jsxRuntimeExports.jsxs(u.Button,{...n,...s,variant:"ghost",size:"icon",className:"text-muted-foreground size-7 hover:bg-transparent cursor-pointer",children:[u.jsxRuntimeExports.jsx(ae.IconGripVertical,{className:"text-muted-foreground size-3"}),u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Drag to reorder"})]})}function lo({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:u.jsxRuntimeExports.jsx("table",{"data-slot":"table",className:u.cn("w-full caption-bottom text-sm",r),...n})})}function co({className:r,...n}){return u.jsxRuntimeExports.jsx("thead",{"data-slot":"table-header",className:u.cn("[&_tr]:border-b",r),...n})}function uo({className:r,...n}){return u.jsxRuntimeExports.jsx("tbody",{"data-slot":"table-body",className:u.cn("[&_tr:last-child]:border-0",r),...n})}function pa({className:r,...n}){return u.jsxRuntimeExports.jsx("tfoot",{"data-slot":"table-footer",className:u.cn("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",r),...n})}function jt({className:r,...n}){return u.jsxRuntimeExports.jsx("tr",{"data-slot":"table-row",className:u.cn("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",r),...n})}function fo({className:r,...n}){return u.jsxRuntimeExports.jsx("th",{"data-slot":"table-head",className:u.cn("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})}function dr({className:r,...n}){return u.jsxRuntimeExports.jsx("td",{"data-slot":"table-cell",className:u.cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})}function ma({className:r,...n}){return u.jsxRuntimeExports.jsx("caption",{"data-slot":"table-caption",className:u.cn("text-muted-foreground mt-4 text-sm",r),...n})}function fr({className:r,classNames:n,showOutsideDays:s=!0,captionLayout:c="label",buttonVariant:l="ghost",formatters:d,components:f,...p}){const g=ie.getDefaultClassNames();return u.jsxRuntimeExports.jsx(ie.DayPicker,{showOutsideDays:s,className:u.cn("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,r),captionLayout:c,formatters:{formatMonthDropdown:O=>O.toLocaleString("default",{month:"short"}),...d},classNames:{root:u.cn("w-fit",g.root),months:u.cn("flex gap-4 flex-col md:flex-row relative",g.months),month:u.cn("flex flex-col w-full gap-4",g.month),nav:u.cn("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",g.nav),button_previous:u.cn(u.buttonVariants({variant:l}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",g.button_previous),button_next:u.cn(u.buttonVariants({variant:l}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",g.button_next),month_caption:u.cn("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",g.month_caption),dropdowns:u.cn("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",g.dropdowns),dropdown_root:u.cn("relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",g.dropdown_root),dropdown:u.cn("absolute bg-popover inset-0 opacity-0",g.dropdown),caption_label:u.cn("select-none font-medium",c==="label"?"text-sm":"rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5",g.caption_label),table:"w-full border-collapse",weekdays:u.cn("flex",g.weekdays),weekday:u.cn("text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none",g.weekday),week:u.cn("flex w-full mt-2",g.week),week_number_header:u.cn("select-none w-(--cell-size)",g.week_number_header),week_number:u.cn("text-[0.8rem] select-none text-muted-foreground",g.week_number),day:u.cn("relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none",g.day),range_start:u.cn("rounded-l-md bg-accent",g.range_start),range_middle:u.cn("rounded-none",g.range_middle),range_end:u.cn("rounded-r-md bg-accent",g.range_end),today:u.cn("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",g.today),outside:u.cn("text-muted-foreground aria-selected:text-muted-foreground",g.outside),disabled:u.cn("text-muted-foreground opacity-50",g.disabled),hidden:u.cn("invisible",g.hidden),...n},components:{Root:({className:O,rootRef:x,...h})=>u.jsxRuntimeExports.jsx("div",{"data-slot":"calendar",ref:x,className:u.cn(O),...h}),Chevron:({className:O,orientation:x,...h})=>x==="left"?u.jsxRuntimeExports.jsx(Q.ChevronLeftIcon,{className:u.cn("size-4",O),...h}):x==="right"?u.jsxRuntimeExports.jsx(Q.ChevronRightIcon,{className:u.cn("size-4",O),...h}):u.jsxRuntimeExports.jsx(Q.ChevronDownIcon,{className:u.cn("size-4",O),...h}),DayButton:po,WeekNumber:({children:O,...x})=>u.jsxRuntimeExports.jsx("td",{...x,children:u.jsxRuntimeExports.jsx("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:O})}),...f},...p})}function po({className:r,day:n,modifiers:s,...c}){const l=ie.getDefaultClassNames(),d=B.useRef(null);return B.useEffect(()=>{s.focused&&d.current?.focus()},[s.focused]),u.jsxRuntimeExports.jsx(u.Button,{ref:d,variant:"ghost",size:"icon","data-day":n.date.toLocaleDateString(),"data-selected-single":s.selected&&!s.range_start&&!s.range_end&&!s.range_middle,"data-range-start":s.range_start,"data-range-end":s.range_end,"data-range-middle":s.range_middle,className:u.cn("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70",l.day,r),...c})}const mo=6048e5,ba=864e5,yr=Symbol.for("constructDateFrom");function ce(r,n){return typeof r=="function"?r(n):r&&typeof r=="object"&&yr in r?r[yr](n):r instanceof Date?new r.constructor(n):new Date(n)}function re(r,n){return ce(n||r,r)}let va={};function Nt(){return va}function Ue(r,n){const s=Nt(),c=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0,l=re(r,n?.in),d=l.getDay(),f=(d<c?7:0)+d-c;return l.setDate(l.getDate()-f),l.setHours(0,0,0,0),l}function wt(r,n){return Ue(r,{...n,weekStartsOn:1})}function bo(r,n){const s=re(r,n?.in),c=s.getFullYear(),l=ce(s,0);l.setFullYear(c+1,0,4),l.setHours(0,0,0,0);const d=wt(l),f=ce(s,0);f.setFullYear(c,0,4),f.setHours(0,0,0,0);const p=wt(f);return s.getTime()>=d.getTime()?c+1:s.getTime()>=p.getTime()?c:c-1}function gr(r){const n=re(r),s=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return s.setUTCFullYear(n.getFullYear()),+r-+s}function ya(r,...n){const s=ce.bind(null,n.find(c=>typeof c=="object"));return n.map(s)}function xr(r,n){const s=re(r,n?.in);return s.setHours(0,0,0,0),s}function ga(r,n,s){const[c,l]=ya(s?.in,r,n),d=xr(c),f=xr(l),p=+d-gr(d),g=+f-gr(f);return Math.round((p-g)/ba)}function xa(r,n){const s=bo(r,n),c=ce(r,0);return c.setFullYear(s,0,4),c.setHours(0,0,0,0),wt(c)}function ha(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function ka(r){return!(!ha(r)&&typeof r!="number"||isNaN(+re(r)))}function ja(r,n){const s=re(r,n?.in);return s.setFullYear(s.getFullYear(),0,1),s.setHours(0,0,0,0),s}const wa={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},_a=(r,n,s)=>{let c;const l=wa[r];return typeof l=="string"?c=l:n===1?c=l.one:c=l.other.replace("{{count}}",n.toString()),s?.addSuffix?s.comparison&&s.comparison>0?"in "+c:c+" ago":c};function Ct(r){return(n={})=>{const s=n.width?String(n.width):r.defaultWidth;return r.formats[s]||r.formats[r.defaultWidth]}}const Sa={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ra={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ea={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Na={date:Ct({formats:Sa,defaultWidth:"full"}),time:Ct({formats:Ra,defaultWidth:"full"}),dateTime:Ct({formats:Ea,defaultWidth:"full"})},Oa={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Ca=(r,n,s,c)=>Oa[r];function pe(r){return(n,s)=>{const c=s?.context?String(s.context):"standalone";let l;if(c==="formatting"&&r.formattingValues){const f=r.defaultFormattingWidth||r.defaultWidth,p=s?.width?String(s.width):f;l=r.formattingValues[p]||r.formattingValues[f]}else{const f=r.defaultWidth,p=s?.width?String(s.width):r.defaultWidth;l=r.values[p]||r.values[f]}const d=r.argumentCallback?r.argumentCallback(n):n;return l[d]}}const Ta={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Pa={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},za={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},$a={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Da={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Aa={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Fa=(r,n)=>{const s=Number(r),c=s%100;if(c>20||c<10)switch(c%10){case 1:return s+"st";case 2:return s+"nd";case 3:return s+"rd"}return s+"th"},Ia={ordinalNumber:Fa,era:pe({values:Ta,defaultWidth:"wide"}),quarter:pe({values:Pa,defaultWidth:"wide",argumentCallback:r=>r-1}),month:pe({values:za,defaultWidth:"wide"}),day:pe({values:$a,defaultWidth:"wide"}),dayPeriod:pe({values:Da,defaultWidth:"wide",formattingValues:Aa,defaultFormattingWidth:"wide"})};function me(r){return(n,s={})=>{const c=s.width,l=c&&r.matchPatterns[c]||r.matchPatterns[r.defaultMatchWidth],d=n.match(l);if(!d)return null;const f=d[0],p=c&&r.parsePatterns[c]||r.parsePatterns[r.defaultParseWidth],g=Array.isArray(p)?Va(p,h=>h.test(f)):Ma(p,h=>h.test(f));let O;O=r.valueCallback?r.valueCallback(g):g,O=s.valueCallback?s.valueCallback(O):O;const x=n.slice(f.length);return{value:O,rest:x}}}function Ma(r,n){for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&n(r[s]))return s}function Va(r,n){for(let s=0;s<r.length;s++)if(n(r[s]))return s}function Wa(r){return(n,s={})=>{const c=n.match(r.matchPattern);if(!c)return null;const l=c[0],d=n.match(r.parsePattern);if(!d)return null;let f=r.valueCallback?r.valueCallback(d[0]):d[0];f=s.valueCallback?s.valueCallback(f):f;const p=n.slice(l.length);return{value:f,rest:p}}}const Ua=/^(\d+)(th|st|nd|rd)?/i,La=/\d+/i,Ya={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Xa={any:[/^b/i,/^(a|c)/i]},Ja={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ha={any:[/1/i,/2/i,/3/i,/4/i]},Ga={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ka={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ba={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},qa={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Qa={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Za={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ei={ordinalNumber:Wa({matchPattern:Ua,parsePattern:La,valueCallback:r=>parseInt(r,10)}),era:me({matchPatterns:Ya,defaultMatchWidth:"wide",parsePatterns:Xa,defaultParseWidth:"any"}),quarter:me({matchPatterns:Ja,defaultMatchWidth:"wide",parsePatterns:Ha,defaultParseWidth:"any",valueCallback:r=>r+1}),month:me({matchPatterns:Ga,defaultMatchWidth:"wide",parsePatterns:Ka,defaultParseWidth:"any"}),day:me({matchPatterns:Ba,defaultMatchWidth:"wide",parsePatterns:qa,defaultParseWidth:"any"}),dayPeriod:me({matchPatterns:Qa,defaultMatchWidth:"any",parsePatterns:Za,defaultParseWidth:"any"})},ti={code:"en-US",formatDistance:_a,formatLong:Na,formatRelative:Ca,localize:Ia,match:ei,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ri(r,n){const s=re(r,n?.in);return ga(s,ja(s))+1}function ni(r,n){const s=re(r,n?.in),c=+wt(s)-+xa(s);return Math.round(c/mo)+1}function vo(r,n){const s=re(r,n?.in),c=s.getFullYear(),l=Nt(),d=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,f=ce(n?.in||r,0);f.setFullYear(c+1,0,d),f.setHours(0,0,0,0);const p=Ue(f,n),g=ce(n?.in||r,0);g.setFullYear(c,0,d),g.setHours(0,0,0,0);const O=Ue(g,n);return+s>=+p?c+1:+s>=+O?c:c-1}function oi(r,n){const s=Nt(),c=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,l=vo(r,n),d=ce(n?.in||r,0);return d.setFullYear(l,0,c),d.setHours(0,0,0,0),Ue(d,n)}function ai(r,n){const s=re(r,n?.in),c=+Ue(s,n)-+oi(s,n);return Math.round(c/mo)+1}function q(r,n){const s=r<0?"-":"",c=Math.abs(r).toString().padStart(n,"0");return s+c}const le={y(r,n){const s=r.getFullYear(),c=s>0?s:1-s;return q(n==="yy"?c%100:c,n.length)},M(r,n){const s=r.getMonth();return n==="M"?String(s+1):q(s+1,2)},d(r,n){return q(r.getDate(),n.length)},a(r,n){const s=r.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return s.toUpperCase();case"aaa":return s;case"aaaaa":return s[0];default:return s==="am"?"a.m.":"p.m."}},h(r,n){return q(r.getHours()%12||12,n.length)},H(r,n){return q(r.getHours(),n.length)},m(r,n){return q(r.getMinutes(),n.length)},s(r,n){return q(r.getSeconds(),n.length)},S(r,n){const s=n.length,c=r.getMilliseconds(),l=Math.trunc(c*Math.pow(10,s-3));return q(l,n.length)}},fe={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},hr={G:function(r,n,s){const c=r.getFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return s.era(c,{width:"abbreviated"});case"GGGGG":return s.era(c,{width:"narrow"});default:return s.era(c,{width:"wide"})}},y:function(r,n,s){if(n==="yo"){const c=r.getFullYear(),l=c>0?c:1-c;return s.ordinalNumber(l,{unit:"year"})}return le.y(r,n)},Y:function(r,n,s,c){const l=vo(r,c),d=l>0?l:1-l;if(n==="YY"){const f=d%100;return q(f,2)}return n==="Yo"?s.ordinalNumber(d,{unit:"year"}):q(d,n.length)},R:function(r,n){const s=bo(r);return q(s,n.length)},u:function(r,n){const s=r.getFullYear();return q(s,n.length)},Q:function(r,n,s){const c=Math.ceil((r.getMonth()+1)/3);switch(n){case"Q":return String(c);case"QQ":return q(c,2);case"Qo":return s.ordinalNumber(c,{unit:"quarter"});case"QQQ":return s.quarter(c,{width:"abbreviated",context:"formatting"});case"QQQQQ":return s.quarter(c,{width:"narrow",context:"formatting"});default:return s.quarter(c,{width:"wide",context:"formatting"})}},q:function(r,n,s){const c=Math.ceil((r.getMonth()+1)/3);switch(n){case"q":return String(c);case"qq":return q(c,2);case"qo":return s.ordinalNumber(c,{unit:"quarter"});case"qqq":return s.quarter(c,{width:"abbreviated",context:"standalone"});case"qqqqq":return s.quarter(c,{width:"narrow",context:"standalone"});default:return s.quarter(c,{width:"wide",context:"standalone"})}},M:function(r,n,s){const c=r.getMonth();switch(n){case"M":case"MM":return le.M(r,n);case"Mo":return s.ordinalNumber(c+1,{unit:"month"});case"MMM":return s.month(c,{width:"abbreviated",context:"formatting"});case"MMMMM":return s.month(c,{width:"narrow",context:"formatting"});default:return s.month(c,{width:"wide",context:"formatting"})}},L:function(r,n,s){const c=r.getMonth();switch(n){case"L":return String(c+1);case"LL":return q(c+1,2);case"Lo":return s.ordinalNumber(c+1,{unit:"month"});case"LLL":return s.month(c,{width:"abbreviated",context:"standalone"});case"LLLLL":return s.month(c,{width:"narrow",context:"standalone"});default:return s.month(c,{width:"wide",context:"standalone"})}},w:function(r,n,s,c){const l=ai(r,c);return n==="wo"?s.ordinalNumber(l,{unit:"week"}):q(l,n.length)},I:function(r,n,s){const c=ni(r);return n==="Io"?s.ordinalNumber(c,{unit:"week"}):q(c,n.length)},d:function(r,n,s){return n==="do"?s.ordinalNumber(r.getDate(),{unit:"date"}):le.d(r,n)},D:function(r,n,s){const c=ri(r);return n==="Do"?s.ordinalNumber(c,{unit:"dayOfYear"}):q(c,n.length)},E:function(r,n,s){const c=r.getDay();switch(n){case"E":case"EE":case"EEE":return s.day(c,{width:"abbreviated",context:"formatting"});case"EEEEE":return s.day(c,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(c,{width:"short",context:"formatting"});default:return s.day(c,{width:"wide",context:"formatting"})}},e:function(r,n,s,c){const l=r.getDay(),d=(l-c.weekStartsOn+8)%7||7;switch(n){case"e":return String(d);case"ee":return q(d,2);case"eo":return s.ordinalNumber(d,{unit:"day"});case"eee":return s.day(l,{width:"abbreviated",context:"formatting"});case"eeeee":return s.day(l,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(l,{width:"short",context:"formatting"});default:return s.day(l,{width:"wide",context:"formatting"})}},c:function(r,n,s,c){const l=r.getDay(),d=(l-c.weekStartsOn+8)%7||7;switch(n){case"c":return String(d);case"cc":return q(d,n.length);case"co":return s.ordinalNumber(d,{unit:"day"});case"ccc":return s.day(l,{width:"abbreviated",context:"standalone"});case"ccccc":return s.day(l,{width:"narrow",context:"standalone"});case"cccccc":return s.day(l,{width:"short",context:"standalone"});default:return s.day(l,{width:"wide",context:"standalone"})}},i:function(r,n,s){const c=r.getDay(),l=c===0?7:c;switch(n){case"i":return String(l);case"ii":return q(l,n.length);case"io":return s.ordinalNumber(l,{unit:"day"});case"iii":return s.day(c,{width:"abbreviated",context:"formatting"});case"iiiii":return s.day(c,{width:"narrow",context:"formatting"});case"iiiiii":return s.day(c,{width:"short",context:"formatting"});default:return s.day(c,{width:"wide",context:"formatting"})}},a:function(r,n,s){const l=r.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return s.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"aaa":return s.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return s.dayPeriod(l,{width:"narrow",context:"formatting"});default:return s.dayPeriod(l,{width:"wide",context:"formatting"})}},b:function(r,n,s){const c=r.getHours();let l;switch(c===12?l=fe.noon:c===0?l=fe.midnight:l=c/12>=1?"pm":"am",n){case"b":case"bb":return s.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"bbb":return s.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return s.dayPeriod(l,{width:"narrow",context:"formatting"});default:return s.dayPeriod(l,{width:"wide",context:"formatting"})}},B:function(r,n,s){const c=r.getHours();let l;switch(c>=17?l=fe.evening:c>=12?l=fe.afternoon:c>=4?l=fe.morning:l=fe.night,n){case"B":case"BB":case"BBB":return s.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"BBBBB":return s.dayPeriod(l,{width:"narrow",context:"formatting"});default:return s.dayPeriod(l,{width:"wide",context:"formatting"})}},h:function(r,n,s){if(n==="ho"){let c=r.getHours()%12;return c===0&&(c=12),s.ordinalNumber(c,{unit:"hour"})}return le.h(r,n)},H:function(r,n,s){return n==="Ho"?s.ordinalNumber(r.getHours(),{unit:"hour"}):le.H(r,n)},K:function(r,n,s){const c=r.getHours()%12;return n==="Ko"?s.ordinalNumber(c,{unit:"hour"}):q(c,n.length)},k:function(r,n,s){let c=r.getHours();return c===0&&(c=24),n==="ko"?s.ordinalNumber(c,{unit:"hour"}):q(c,n.length)},m:function(r,n,s){return n==="mo"?s.ordinalNumber(r.getMinutes(),{unit:"minute"}):le.m(r,n)},s:function(r,n,s){return n==="so"?s.ordinalNumber(r.getSeconds(),{unit:"second"}):le.s(r,n)},S:function(r,n){return le.S(r,n)},X:function(r,n,s){const c=r.getTimezoneOffset();if(c===0)return"Z";switch(n){case"X":return jr(c);case"XXXX":case"XX":return ue(c);default:return ue(c,":")}},x:function(r,n,s){const c=r.getTimezoneOffset();switch(n){case"x":return jr(c);case"xxxx":case"xx":return ue(c);default:return ue(c,":")}},O:function(r,n,s){const c=r.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+kr(c,":");default:return"GMT"+ue(c,":")}},z:function(r,n,s){const c=r.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+kr(c,":");default:return"GMT"+ue(c,":")}},t:function(r,n,s){const c=Math.trunc(+r/1e3);return q(c,n.length)},T:function(r,n,s){return q(+r,n.length)}};function kr(r,n=""){const s=r>0?"-":"+",c=Math.abs(r),l=Math.trunc(c/60),d=c%60;return d===0?s+String(l):s+String(l)+n+q(d,2)}function jr(r,n){return r%60===0?(r>0?"-":"+")+q(Math.abs(r)/60,2):ue(r,n)}function ue(r,n=""){const s=r>0?"-":"+",c=Math.abs(r),l=q(Math.trunc(c/60),2),d=q(c%60,2);return s+l+n+d}const wr=(r,n)=>{switch(r){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});default:return n.date({width:"full"})}},yo=(r,n)=>{switch(r){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});default:return n.time({width:"full"})}},ii=(r,n)=>{const s=r.match(/(P+)(p+)?/)||[],c=s[1],l=s[2];if(!l)return wr(r,n);let d;switch(c){case"P":d=n.dateTime({width:"short"});break;case"PP":d=n.dateTime({width:"medium"});break;case"PPP":d=n.dateTime({width:"long"});break;default:d=n.dateTime({width:"full"});break}return d.replace("{{date}}",wr(c,n)).replace("{{time}}",yo(l,n))},si={p:yo,P:ii},li=/^D+$/,ci=/^Y+$/,ui=["D","DD","YY","YYYY"];function di(r){return li.test(r)}function fi(r){return ci.test(r)}function pi(r,n,s){const c=mi(r,n,s);if(console.warn(c),ui.includes(r))throw new RangeError(c)}function mi(r,n,s){const c=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${n}\`) for formatting ${c} to the input \`${s}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const bi=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vi=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,yi=/^'([^]*?)'?$/,gi=/''/g,xi=/[a-zA-Z]/;function ar(r,n,s){const c=Nt(),l=s?.locale??c.locale??ti,d=s?.firstWeekContainsDate??s?.locale?.options?.firstWeekContainsDate??c.firstWeekContainsDate??c.locale?.options?.firstWeekContainsDate??1,f=s?.weekStartsOn??s?.locale?.options?.weekStartsOn??c.weekStartsOn??c.locale?.options?.weekStartsOn??0,p=re(r,s?.in);if(!ka(p))throw new RangeError("Invalid time value");let g=n.match(vi).map(x=>{const h=x[0];if(h==="p"||h==="P"){const E=si[h];return E(x,l.formatLong)}return x}).join("").match(bi).map(x=>{if(x==="''")return{isToken:!1,value:"'"};const h=x[0];if(h==="'")return{isToken:!1,value:hi(x)};if(hr[h])return{isToken:!0,value:x};if(h.match(xi))throw new RangeError("Format string contains an unescaped latin alphabet character `"+h+"`");return{isToken:!1,value:x}});l.localize.preprocessor&&(g=l.localize.preprocessor(p,g));const O={firstWeekContainsDate:d,weekStartsOn:f,locale:l};return g.map(x=>{if(!x.isToken)return x.value;const h=x.value;(!s?.useAdditionalWeekYearTokens&&fi(h)||!s?.useAdditionalDayOfYearTokens&&di(h))&&pi(h,n,String(r));const E=hr[h[0]];return E(p,h,l.localize,O)}).join("")}function hi(r){const n=r.match(yi);return n?n[1].replace(gi,"'"):r}function Le({...r}){return u.jsxRuntimeExports.jsx(Rt.Root,{"data-slot":"popover",...r})}function Ye({...r}){return u.jsxRuntimeExports.jsx(Rt.Trigger,{"data-slot":"popover-trigger",...r})}function Xe({className:r,align:n="center",sideOffset:s=4,...c}){return u.jsxRuntimeExports.jsx(Rt.Content,{"data-slot":"popover-content",align:n,sideOffset:s,className:u.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",r),...c})}function ki({...r}){return u.jsxRuntimeExports.jsx(Rt.Anchor,{"data-slot":"popover-anchor",...r})}function ji({value:r,onChange:n=()=>{},locale:s}){const[c,l]=B.useState(r);return u.jsxRuntimeExports.jsxs(Le,{children:[u.jsxRuntimeExports.jsx(Ye,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",className:u.cn("justify-start text-left font-normal cursor-pointer h-8 border-dashed",!c&&"text-muted-foreground"),children:[u.jsxRuntimeExports.jsx(Q.Calendar,{className:"mr-2 h-4 w-4"}),c?ar(new ie.TZDate(c.toString(),"UTC"),"dd 'de' MMMM 'de' yyyy",{locale:s}):u.jsxRuntimeExports.jsx("span",{children:"Selecione uma data"})]})}),u.jsxRuntimeExports.jsx(Xe,{className:"w-auto p-0",children:u.jsxRuntimeExports.jsx(fr,{mode:"single",captionLayout:"dropdown",timeZone:"UTC",selected:c,defaultMonth:r?new ie.TZDate(r.toString()):new ie.TZDate,onSelect:d=>{console.log(d),l(d),n(d)},endMonth:new ie.TZDate(2099,11)})})]})}function wi({locale:r,value:n,onChange:s=()=>{}}){const[c,l]=B.useState(n);return u.jsxRuntimeExports.jsxs(Le,{children:[u.jsxRuntimeExports.jsx(Ye,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",className:u.cn("justify-start text-left font-normal cursor-pointer h-8 border-dashed",!c&&"text-muted-foreground"),children:[u.jsxRuntimeExports.jsx(Q.Calendar,{className:"mr-2 h-4 w-4"}),c?.from&&c?.to?`${ar(c.from,"dd/MM/yy")} - ${ar(c.to,"dd/MM/yy")}`:u.jsxRuntimeExports.jsx("span",{children:"Selecione um período"})]})}),u.jsxRuntimeExports.jsx(Xe,{className:"w-auto p-0",children:u.jsxRuntimeExports.jsx(fr,{mode:"range",selected:c,onSelect:d=>{d&&(l(d),s(d))},locale:r,captionLayout:"dropdown",endMonth:new ie.TZDate(2099,11),numberOfMonths:1,className:"rounded-lg border shadow-sm"})})]})}const go=G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function xt({className:r,variant:n,asChild:s=!1,...c}){const l=s?sr.Slot:"span";return u.jsxRuntimeExports.jsx(l,{"data-slot":"badge",className:u.cn(go({variant:n}),r),...c})}function _i({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card",className:u.cn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",r),...n})}function Si({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card-header",className:u.cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",r),...n})}function Ri({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card-title",className:u.cn("leading-none font-semibold",r),...n})}function Ei({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card-description",className:u.cn("text-muted-foreground text-sm",r),...n})}function Ni({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card-action",className:u.cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end",r),...n})}function Oi({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card-content",className:u.cn("px-6",r),...n})}function Ci({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card-footer",className:u.cn("flex items-center px-6 [.border-t]:pt-6",r),...n})}function Ti({className:r,...n}){return u.jsxRuntimeExports.jsx(vr.Root,{"data-slot":"checkbox",className:u.cn("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",r),...n,children:u.jsxRuntimeExports.jsx(vr.Indicator,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:u.jsxRuntimeExports.jsx(Q.CheckIcon,{className:"size-3.5"})})})}function Pi({...r}){return u.jsxRuntimeExports.jsx(lr.Root,{"data-slot":"collapsible",...r})}function zi({...r}){return u.jsxRuntimeExports.jsx(lr.CollapsibleTrigger,{"data-slot":"collapsible-trigger",...r})}function $i({...r}){return u.jsxRuntimeExports.jsx(lr.CollapsibleContent,{"data-slot":"collapsible-content",...r})}function xo({...r}){return u.jsxRuntimeExports.jsx(se.Root,{"data-slot":"dialog",...r})}function Di({...r}){return u.jsxRuntimeExports.jsx(se.Trigger,{"data-slot":"dialog-trigger",...r})}function ho({...r}){return u.jsxRuntimeExports.jsx(se.Portal,{"data-slot":"dialog-portal",...r})}function Ai({...r}){return u.jsxRuntimeExports.jsx(se.Close,{"data-slot":"dialog-close",...r})}function ko({className:r,...n}){return u.jsxRuntimeExports.jsx(se.Overlay,{"data-slot":"dialog-overlay",className:u.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",r),...n})}function jo({className:r,children:n,showCloseButton:s=!0,...c}){return u.jsxRuntimeExports.jsxs(ho,{"data-slot":"dialog-portal",children:[u.jsxRuntimeExports.jsx(ko,{}),u.jsxRuntimeExports.jsxs(se.Content,{"data-slot":"dialog-content",className:u.cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",r),...c,children:[n,s&&u.jsxRuntimeExports.jsxs(se.Close,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[u.jsxRuntimeExports.jsx(Q.XIcon,{}),u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function wo({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-header",className:u.cn("flex flex-col gap-2 text-center sm:text-left",r),...n})}function Fi({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-footer",className:u.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",r),...n})}function _o({className:r,...n}){return u.jsxRuntimeExports.jsx(se.Title,{"data-slot":"dialog-title",className:u.cn("text-lg leading-none font-semibold",r),...n})}function So({className:r,...n}){return u.jsxRuntimeExports.jsx(se.Description,{"data-slot":"dialog-description",className:u.cn("text-muted-foreground text-sm",r),...n})}function Ot({className:r,...n}){return u.jsxRuntimeExports.jsx(de.Command,{"data-slot":"command",className:u.cn("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",r),...n})}function Ii({title:r="Command Palette",description:n="Search for a command to run...",children:s,className:c,showCloseButton:l=!0,...d}){return u.jsxRuntimeExports.jsxs(xo,{...d,children:[u.jsxRuntimeExports.jsxs(wo,{className:"sr-only",children:[u.jsxRuntimeExports.jsx(_o,{children:r}),u.jsxRuntimeExports.jsx(So,{children:n})]}),u.jsxRuntimeExports.jsx(jo,{className:u.cn("overflow-hidden p-0",c),showCloseButton:l,children:u.jsxRuntimeExports.jsx(Ot,{className:"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:s})})]})}function pr({className:r,...n}){return u.jsxRuntimeExports.jsxs("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[u.jsxRuntimeExports.jsx(Q.SearchIcon,{className:"size-4 shrink-0 opacity-50"}),u.jsxRuntimeExports.jsx(de.Command.Input,{"data-slot":"command-input",className:u.cn("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",r),...n})]})}function mr({className:r,...n}){return u.jsxRuntimeExports.jsx(de.Command.List,{"data-slot":"command-list",className:u.cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",r),...n})}function br({...r}){return u.jsxRuntimeExports.jsx(de.Command.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...r})}function _t({className:r,...n}){return u.jsxRuntimeExports.jsx(de.Command.Group,{"data-slot":"command-group",className:u.cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",r),...n})}function Ro({className:r,...n}){return u.jsxRuntimeExports.jsx(de.Command.Separator,{"data-slot":"command-separator",className:u.cn("bg-border -mx-1 h-px",r),...n})}function St({className:r,...n}){return u.jsxRuntimeExports.jsx(de.Command.Item,{"data-slot":"command-item",className:u.cn("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),...n})}function Mi({className:r,...n}){return u.jsxRuntimeExports.jsx("span",{"data-slot":"command-shortcut",className:u.cn("text-muted-foreground ml-auto text-xs tracking-widest",r),...n})}function Vi({data:r=[],placeholder:n="Selecione um item...",value:s,...c}){const[l,d]=N.useState(!1);let f=-1;s&&(f=r.findIndex(O=>O.value===s));const[p,g]=N.useState(f);return u.jsxRuntimeExports.jsxs(Le,{open:l,onOpenChange:d,children:[u.jsxRuntimeExports.jsx(Ye,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",role:"combobox","aria-expanded":l,className:"justify-between",disabled:c.disabled,children:[p>-1?r[p].label:u.jsxRuntimeExports.jsx("div",{className:"text-sm text-foreground opacity-50 font-normal",children:n}),u.jsxRuntimeExports.jsx(Q.ChevronsUpDown,{className:"opacity-50"})]})}),u.jsxRuntimeExports.jsx(Xe,{className:" lg:w-[654px] md:w-[558px] p-0",children:u.jsxRuntimeExports.jsxs(Ot,{children:[u.jsxRuntimeExports.jsx(pr,{placeholder:n,className:"h-9 opacity-50",...c}),u.jsxRuntimeExports.jsxs(mr,{children:[u.jsxRuntimeExports.jsx(br,{children:"Nenhum registro encontrado."}),u.jsxRuntimeExports.jsx(_t,{children:r?.map(O=>u.jsxRuntimeExports.jsxs(St,{disabled:c.disabled,value:O.label,onSelect:x=>{const h=r.findIndex(E=>E.label===x);g(h),typeof c.onValueChange=="function"&&c.onValueChange(r[h].value),d(!1)},children:[O.label,u.jsxRuntimeExports.jsx(Q.Check,{className:u.cn("ml-auto",O.value===r[p]?.value?"opacity-100":"opacity-0")})]},O.value))})]})]})})]})}function Eo({className:r,orientation:n="horizontal",decorative:s=!0,...c}){return u.jsxRuntimeExports.jsx(qo.Root,{"data-slot":"separator",decorative:s,orientation:n,className:u.cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",r),...c})}function Wi({column:r,title:n,options:s,onChange:c,onOpenStateChange:l,value:d=[]}){const f=r?.getFacetedUniqueValues(),p=[...d];return u.jsxRuntimeExports.jsxs(Le,{onOpenChange:g=>{typeof l=="function"&&l(g,p)},children:[u.jsxRuntimeExports.jsx(Ye,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",size:"sm",className:"h-8 border-dashed",children:[u.jsxRuntimeExports.jsx(Q.PlusCircle,{}),n,p?.length>0&&u.jsxRuntimeExports.jsxs(u.jsxRuntimeExports.Fragment,{children:[u.jsxRuntimeExports.jsx(Eo,{orientation:"vertical",className:"mx-2 h-4"}),u.jsxRuntimeExports.jsx(xt,{variant:"secondary",className:"rounded-sm px-1 font-normal lg:hidden",children:p.length}),u.jsxRuntimeExports.jsx("div",{className:"hidden gap-1 lg:flex",children:p.length>2?u.jsxRuntimeExports.jsxs(xt,{variant:"secondary",className:"rounded-sm px-1 font-normal",children:[p.length," selecionado"]}):s.filter(g=>p.includes(g.value)).map(g=>u.jsxRuntimeExports.jsx(xt,{variant:"secondary",className:"rounded-sm px-1 font-normal",children:g.label},g.value))})]})]})}),u.jsxRuntimeExports.jsx(Xe,{className:"w-[200px] p-0",align:"start",children:u.jsxRuntimeExports.jsxs(Ot,{children:[u.jsxRuntimeExports.jsx(pr,{placeholder:n}),u.jsxRuntimeExports.jsxs(mr,{children:[u.jsxRuntimeExports.jsx(br,{children:"Nenhum resultado encontrado."}),u.jsxRuntimeExports.jsx(_t,{children:s.map(g=>{const O=p.includes(g.value);return u.jsxRuntimeExports.jsxs(St,{onSelect:()=>{let x=[...p];O?x=x.filter(E=>E!==g.value):x.push(g.value),typeof c=="function"&&c(x);const h=Array.from(x);r?.setFilterValue(h.length?h:void 0)},children:[u.jsxRuntimeExports.jsx("div",{className:u.cn("flex size-4 items-center justify-center rounded-[4px] border",O?"bg-primary border-primary text-primary-foreground":"border-input [&_svg]:invisible"),children:u.jsxRuntimeExports.jsx(Q.Check,{className:"text-primary-foreground size-3.5"})}),g.icon&&u.jsxRuntimeExports.jsx(g.icon,{className:"text-muted-foreground size-4"}),u.jsxRuntimeExports.jsx("span",{children:g.label}),f?.get(g.value)&&u.jsxRuntimeExports.jsx("span",{className:"text-muted-foreground ml-auto flex size-4 items-center justify-center font-mono text-xs",children:f.get(g.value)})]},g.value)})}),p.length>0&&u.jsxRuntimeExports.jsxs(u.jsxRuntimeExports.Fragment,{children:[u.jsxRuntimeExports.jsx(Ro,{}),u.jsxRuntimeExports.jsx(_t,{children:u.jsxRuntimeExports.jsx(St,{onSelect:()=>{r?.setFilterValue(void 0),typeof c=="function"&&c([])},className:"justify-center text-center",children:"Limpar Filtro"})})]})]})]})})]})}const Ui=ht.FormProvider,No=N.createContext({}),Li=({...r})=>u.jsxRuntimeExports.jsx(No.Provider,{value:{name:r.name},children:u.jsxRuntimeExports.jsx(ht.Controller,{...r})}),Je=()=>{const r=N.useContext(No),n=N.useContext(Oo),{getFieldState:s}=ht.useFormContext(),c=ht.useFormState({name:r.name}),l=s(r.name,c);if(!r)throw new Error("useFormField should be used within <FormField>");const{id:d}=n;return{id:d,name:r.name,formItemId:`${d}-form-item`,formDescriptionId:`${d}-form-item-description`,formMessageId:`${d}-form-item-message`,...l}},Oo=N.createContext({});function Yi({className:r,...n}){const s=N.useId();return u.jsxRuntimeExports.jsx(Oo.Provider,{value:{id:s},children:u.jsxRuntimeExports.jsx("div",{"data-slot":"form-item",className:u.cn("grid gap-2",r),...n})})}function Xi({className:r,...n}){const{error:s,formItemId:c}=Je();return u.jsxRuntimeExports.jsx(ur,{"data-slot":"form-label","data-error":!!s,className:u.cn("data-[error=true]:text-destructive",r),htmlFor:c,...n})}function Ji({...r}){const{error:n,formItemId:s,formDescriptionId:c,formMessageId:l}=Je();return u.jsxRuntimeExports.jsx(sr.Slot,{"data-slot":"form-control",id:s,"aria-describedby":n?`${c} ${l}`:`${c}`,"aria-invalid":!!n,...r})}function Hi({className:r,...n}){const{formDescriptionId:s}=Je();return u.jsxRuntimeExports.jsx("p",{"data-slot":"form-description",id:s,className:u.cn("text-muted-foreground text-sm",r),...n})}function Gi({className:r,...n}){const{error:s,formMessageId:c}=Je(),l=s?String(s?.message??""):n.children;return l?u.jsxRuntimeExports.jsx("p",{"data-slot":"form-message",id:c,className:u.cn("text-destructive text-sm",r),...n,children:l}):null}function Co({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"skeleton",className:u.cn("bg-accent animate-pulse rounded-md",r),...n})}const Ki=({...r})=>{const{theme:n="system"}=Ho.useTheme();return u.jsxRuntimeExports.jsx(Kn.Toaster,{theme:n,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...r})};function Bi({className:r,...n}){return u.jsxRuntimeExports.jsx(Et.Root,{"data-slot":"tabs",className:u.cn("flex flex-col gap-2",r),...n})}function qi({className:r,...n}){return u.jsxRuntimeExports.jsx(Et.List,{"data-slot":"tabs-list",className:u.cn("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",r),...n})}function Qi({className:r,...n}){return u.jsxRuntimeExports.jsx(Et.Trigger,{"data-slot":"tabs-trigger",className:u.cn("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),...n})}function Zi({className:r,...n}){return u.jsxRuntimeExports.jsx(Et.Content,{"data-slot":"tabs-content",className:u.cn("flex-1 outline-none",r),...n})}function es({className:r,...n}){return u.jsxRuntimeExports.jsx("textarea",{"data-slot":"textarea",className:u.cn("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),...n})}function ts({user:r}){const n=r?.username,s=n?n.substring(0,2):"";return r.id===""?u.jsxRuntimeExports.jsx(Co,{className:"h-9 w-9 rounded-4xl"}):u.jsxRuntimeExports.jsx("div",{className:"rounded-full w-9 h-9 justify-center text-xs cursor-default uppercase items-center flex flex-col bg-amber-400 border-2 border-black",children:s})}const rs={light:"",dark:".dark"},To=N.createContext(null);function Po(){const r=N.useContext(To);if(!r)throw new Error("useChart must be used within a <ChartContainer />");return r}function ns({id:r,className:n,children:s,config:c,...l}){const d=N.useId(),f=`chart-${r||d.replace(/:/g,"")}`;return u.jsxRuntimeExports.jsx(To.Provider,{value:{config:c},children:u.jsxRuntimeExports.jsxs("div",{"data-slot":"chart","data-chart":f,className:u.cn("[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",n),...l,children:[u.jsxRuntimeExports.jsx(zo,{id:f,config:c}),u.jsxRuntimeExports.jsx(cr.ResponsiveContainer,{children:s})]})})}const zo=({id:r,config:n})=>{const s=Object.entries(n).filter(([,c])=>c.theme||c.color);return s.length?u.jsxRuntimeExports.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(rs).map(([c,l])=>`
|
|
2
|
+
${l} [data-chart=${r}] {
|
|
3
|
+
${s.map(([d,f])=>{const p=f.theme?.[c]||f.color;return p?` --color-${d}: ${p};`:null}).join(`
|
|
4
4
|
`)}
|
|
5
5
|
}
|
|
6
6
|
`).join(`
|
|
7
|
-
`)}}):null},
|
|
7
|
+
`)}}):null},os=cr.Tooltip;function as({active:r,payload:n,className:s,indicator:c="dot",hideLabel:l=!1,hideIndicator:d=!1,label:f,labelFormatter:p,labelClassName:g,formatter:O,color:x,nameKey:h,labelKey:E}){const{config:v}=Po(),z=N.useMemo(()=>{if(l||!n?.length)return null;const[y]=n,V=`${E||y?.dataKey||y?.name||"value"}`,M=ir(v,y,V),F=!E&&typeof f=="string"?v[f]?.label||f:M?.label;return p?u.jsxRuntimeExports.jsx("div",{className:u.cn("font-medium",g),children:p(F,n)}):F?u.jsxRuntimeExports.jsx("div",{className:u.cn("font-medium",g),children:F}):null},[f,p,n,l,g,v,E]);if(!r||!n?.length)return null;const I=n.length===1&&c!=="dot";return u.jsxRuntimeExports.jsxs("div",{className:u.cn("border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl",s),children:[I?null:z,u.jsxRuntimeExports.jsx("div",{className:"grid gap-1.5",children:n.map((y,V)=>{const M=`${h||y.name||y.dataKey||"value"}`,F=ir(v,y,M),W=x||y.payload.fill||y.color;return u.jsxRuntimeExports.jsx("div",{className:u.cn("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",c==="dot"&&"items-center"),children:O&&y?.value!==void 0&&y.name?O(y.value,y.name,y,V,y.payload):u.jsxRuntimeExports.jsxs(u.jsxRuntimeExports.Fragment,{children:[F?.icon?u.jsxRuntimeExports.jsx(F.icon,{}):!d&&u.jsxRuntimeExports.jsx("div",{className:u.cn("shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",{"h-2.5 w-2.5":c==="dot","w-1":c==="line","w-0 border-[1.5px] border-dashed bg-transparent":c==="dashed","my-0.5":I&&c==="dashed"}),style:{"--color-bg":W,"--color-border":W}}),u.jsxRuntimeExports.jsxs("div",{className:u.cn("flex flex-1 justify-between leading-none",I?"items-end":"items-center"),children:[u.jsxRuntimeExports.jsxs("div",{className:"grid gap-1.5",children:[I?z:null,u.jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:F?.label||y.name})]}),y.value&&u.jsxRuntimeExports.jsx("span",{className:"text-foreground font-mono font-medium tabular-nums",children:y.value.toLocaleString()})]})]})},y.dataKey)})})]})}const is=cr.Legend;function ss({className:r,hideIcon:n=!1,payload:s,verticalAlign:c="bottom",nameKey:l}){const{config:d}=Po();return s?.length?u.jsxRuntimeExports.jsx("div",{className:u.cn("flex items-center justify-center gap-4",c==="top"?"pb-3":"pt-3",r),children:s.map(f=>{const p=`${l||f.dataKey||"value"}`,g=ir(d,f,p);return u.jsxRuntimeExports.jsxs("div",{className:u.cn("[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),children:[g?.icon&&!n?u.jsxRuntimeExports.jsx(g.icon,{}):u.jsxRuntimeExports.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:f.color}}),g?.label]},f.value)})}):null}function ir(r,n,s){if(typeof n!="object"||n===null)return;const c="payload"in n&&typeof n.payload=="object"&&n.payload!==null?n.payload:void 0;let l=s;return s in n&&typeof n[s]=="string"?l=n[s]:c&&s in c&&typeof c[s]=="string"&&(l=c[s]),l in r?r[l]:r[s]}var Tt={exports:{}},be={},_r;function ls(){if(_r)return be;_r=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return be.Fragment=n,be.jsx=s,be.jsxs=s,be}var He={},Sr;function cs(){return Sr||(Sr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
8
8
|
let props = %s;
|
|
9
9
|
<%s {...props} />
|
|
10
10
|
React keys must be passed directly to JSX without using spread:
|
|
11
11
|
let props = %s;
|
|
12
|
-
<%s key={someKey} {...props} />`,
|
|
12
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};He.Fragment=y,He.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},He.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),He}var Rr;function us(){return Rr||(Rr=1,process.env.NODE_ENV==="production"?Tt.exports=ls():Tt.exports=cs()),Tt.exports}var ds=us();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function $o(r){var n,s,c="";if(typeof r=="string"||typeof r=="number")c+=r;else if(typeof r=="object")if(Array.isArray(r)){var l=r.length;for(n=0;n<l;n++)r[n]&&(s=$o(r[n]))&&(c&&(c+=" "),c+=s)}else for(s in r)r[s]&&(c&&(c+=" "),c+=s);return c}function fs(){for(var r,n,s=0,c="",l=arguments.length;s<l;s++)(r=arguments[s])&&(n=$o(r))&&(c&&(c+=" "),c+=n);return c}function ps(...r){return Io.twMerge(fs(r))}const ms=G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function bs({className:r,variant:n,asChild:s=!1,...c}){const l=s?sr.Slot:"span";return ds.jsx(l,{"data-slot":"badge",className:ps(ms({variant:n}),r),...c})}N.createContext({});N.createContext({});N.createContext(null);var Pt={exports:{}},ve={},Er;function vs(){if(Er)return ve;Er=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return ve.Fragment=n,ve.jsx=s,ve.jsxs=s,ve}var Ge={},Nr;function ys(){return Nr||(Nr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
13
13
|
let props = %s;
|
|
14
14
|
<%s {...props} />
|
|
15
15
|
React keys must be passed directly to JSX without using spread:
|
|
16
16
|
let props = %s;
|
|
17
|
-
<%s key={someKey} {...props} />`,
|
|
17
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};Ge.Fragment=y,Ge.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},Ge.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),Ge}var Or;function gs(){return Or||(Or=1,process.env.NODE_ENV==="production"?Pt.exports=vs():Pt.exports=ys()),Pt.exports}gs();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var zt={exports:{}},ye={},Cr;function xs(){if(Cr)return ye;Cr=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return ye.Fragment=n,ye.jsx=s,ye.jsxs=s,ye}var Ke={},Tr;function hs(){return Tr||(Tr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
18
|
let props = %s;
|
|
19
19
|
<%s {...props} />
|
|
20
20
|
React keys must be passed directly to JSX without using spread:
|
|
21
21
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,
|
|
22
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};Ke.Fragment=y,Ke.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},Ke.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),Ke}var Pr;function ks(){return Pr||(Pr=1,process.env.NODE_ENV==="production"?zt.exports=xs():zt.exports=hs()),zt.exports}ks();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var $t={exports:{}},ge={},zr;function js(){if(zr)return ge;zr=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return ge.Fragment=n,ge.jsx=s,ge.jsxs=s,ge}var Be={},$r;function ws(){return $r||($r=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
23
23
|
let props = %s;
|
|
24
24
|
<%s {...props} />
|
|
25
25
|
React keys must be passed directly to JSX without using spread:
|
|
26
26
|
let props = %s;
|
|
27
|
-
<%s key={someKey} {...props} />`,
|
|
27
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};Be.Fragment=y,Be.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},Be.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),Be}var Dr;function _s(){return Dr||(Dr=1,process.env.NODE_ENV==="production"?$t.exports=js():$t.exports=ws()),$t.exports}_s();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Dt={exports:{}},xe={},Ar;function Ss(){if(Ar)return xe;Ar=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return xe.Fragment=n,xe.jsx=s,xe.jsxs=s,xe}var qe={},Fr;function Rs(){return Fr||(Fr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
28
28
|
let props = %s;
|
|
29
29
|
<%s {...props} />
|
|
30
30
|
React keys must be passed directly to JSX without using spread:
|
|
31
31
|
let props = %s;
|
|
32
|
-
<%s key={someKey} {...props} />`,
|
|
32
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};qe.Fragment=y,qe.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},qe.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),qe}var Ir;function Es(){return Ir||(Ir=1,process.env.NODE_ENV==="production"?Dt.exports=Ss():Dt.exports=Rs()),Dt.exports}Es();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var At={exports:{}},he={},Mr;function Ns(){if(Mr)return he;Mr=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return he.Fragment=n,he.jsx=s,he.jsxs=s,he}var Qe={},Vr;function Os(){return Vr||(Vr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
33
33
|
let props = %s;
|
|
34
34
|
<%s {...props} />
|
|
35
35
|
React keys must be passed directly to JSX without using spread:
|
|
36
36
|
let props = %s;
|
|
37
|
-
<%s key={someKey} {...props} />`,
|
|
37
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};Qe.Fragment=y,Qe.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},Qe.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),Qe}var Wr;function Cs(){return Wr||(Wr=1,process.env.NODE_ENV==="production"?At.exports=Ns():At.exports=Os()),At.exports}Cs();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Ft={exports:{}},ke={},Ur;function Ts(){if(Ur)return ke;Ur=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return ke.Fragment=n,ke.jsx=s,ke.jsxs=s,ke}var Ze={},Lr;function Ps(){return Lr||(Lr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
38
38
|
let props = %s;
|
|
39
39
|
<%s {...props} />
|
|
40
40
|
React keys must be passed directly to JSX without using spread:
|
|
41
41
|
let props = %s;
|
|
42
|
-
<%s key={someKey} {...props} />`,
|
|
42
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};Ze.Fragment=y,Ze.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},Ze.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),Ze}var Yr;function zs(){return Yr||(Yr=1,process.env.NODE_ENV==="production"?Ft.exports=Ts():Ft.exports=Ps()),Ft.exports}zs();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var It={exports:{}},je={},Xr;function $s(){if(Xr)return je;Xr=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return je.Fragment=n,je.jsx=s,je.jsxs=s,je}var et={},Jr;function Ds(){return Jr||(Jr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
43
43
|
let props = %s;
|
|
44
44
|
<%s {...props} />
|
|
45
45
|
React keys must be passed directly to JSX without using spread:
|
|
46
46
|
let props = %s;
|
|
47
|
-
<%s key={someKey} {...props} />`,
|
|
47
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};et.Fragment=y,et.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},et.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),et}var Hr;function As(){return Hr||(Hr=1,process.env.NODE_ENV==="production"?It.exports=$s():It.exports=Ds()),It.exports}As();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Mt={exports:{}},we={},Gr;function Fs(){if(Gr)return we;Gr=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return we.Fragment=n,we.jsx=s,we.jsxs=s,we}var tt={},Kr;function Is(){return Kr||(Kr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
48
48
|
let props = %s;
|
|
49
49
|
<%s {...props} />
|
|
50
50
|
React keys must be passed directly to JSX without using spread:
|
|
51
51
|
let props = %s;
|
|
52
|
-
<%s key={someKey} {...props} />`,
|
|
52
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};tt.Fragment=y,tt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},tt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),tt}var Br;function Ms(){return Br||(Br=1,process.env.NODE_ENV==="production"?Mt.exports=Fs():Mt.exports=Is()),Mt.exports}Ms();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Vt={exports:{}},_e={},qr;function Vs(){if(qr)return _e;qr=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return _e.Fragment=n,_e.jsx=s,_e.jsxs=s,_e}var rt={},Qr;function Ws(){return Qr||(Qr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
53
53
|
let props = %s;
|
|
54
54
|
<%s {...props} />
|
|
55
55
|
React keys must be passed directly to JSX without using spread:
|
|
56
56
|
let props = %s;
|
|
57
|
-
<%s key={someKey} {...props} />`,
|
|
57
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};rt.Fragment=y,rt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},rt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),rt}var Zr;function Us(){return Zr||(Zr=1,process.env.NODE_ENV==="production"?Vt.exports=Vs():Vt.exports=Ws()),Vt.exports}Us();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Wt={exports:{}},Se={},en;function Ls(){if(en)return Se;en=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Se.Fragment=n,Se.jsx=s,Se.jsxs=s,Se}var nt={},tn;function Ys(){return tn||(tn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
58
58
|
let props = %s;
|
|
59
59
|
<%s {...props} />
|
|
60
60
|
React keys must be passed directly to JSX without using spread:
|
|
61
61
|
let props = %s;
|
|
62
|
-
<%s key={someKey} {...props} />`,
|
|
62
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};nt.Fragment=y,nt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},nt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),nt}var rn;function Xs(){return rn||(rn=1,process.env.NODE_ENV==="production"?Wt.exports=Ls():Wt.exports=Ys()),Wt.exports}Xs();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Ut={exports:{}},Re={},nn;function Js(){if(nn)return Re;nn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Re.Fragment=n,Re.jsx=s,Re.jsxs=s,Re}var ot={},on;function Hs(){return on||(on=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
63
63
|
let props = %s;
|
|
64
64
|
<%s {...props} />
|
|
65
65
|
React keys must be passed directly to JSX without using spread:
|
|
66
66
|
let props = %s;
|
|
67
|
-
<%s key={someKey} {...props} />`,
|
|
67
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};ot.Fragment=y,ot.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},ot.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),ot}var an;function Gs(){return an||(an=1,process.env.NODE_ENV==="production"?Ut.exports=Js():Ut.exports=Hs()),Ut.exports}Gs();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Lt={exports:{}},Ee={},sn;function Ks(){if(sn)return Ee;sn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Ee.Fragment=n,Ee.jsx=s,Ee.jsxs=s,Ee}var at={},ln;function Bs(){return ln||(ln=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
68
68
|
let props = %s;
|
|
69
69
|
<%s {...props} />
|
|
70
70
|
React keys must be passed directly to JSX without using spread:
|
|
71
71
|
let props = %s;
|
|
72
|
-
<%s key={someKey} {...props} />`,
|
|
72
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};at.Fragment=y,at.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},at.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),at}var cn;function qs(){return cn||(cn=1,process.env.NODE_ENV==="production"?Lt.exports=Ks():Lt.exports=Bs()),Lt.exports}qs();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Yt={exports:{}},Ne={},un;function Qs(){if(un)return Ne;un=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Ne.Fragment=n,Ne.jsx=s,Ne.jsxs=s,Ne}var it={},dn;function Zs(){return dn||(dn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
73
73
|
let props = %s;
|
|
74
74
|
<%s {...props} />
|
|
75
75
|
React keys must be passed directly to JSX without using spread:
|
|
76
76
|
let props = %s;
|
|
77
|
-
<%s key={someKey} {...props} />`,
|
|
77
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};it.Fragment=y,it.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},it.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),it}var fn;function el(){return fn||(fn=1,process.env.NODE_ENV==="production"?Yt.exports=Qs():Yt.exports=Zs()),Yt.exports}el();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Xt={exports:{}},Oe={},pn;function tl(){if(pn)return Oe;pn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Oe.Fragment=n,Oe.jsx=s,Oe.jsxs=s,Oe}var st={},mn;function rl(){return mn||(mn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
78
78
|
let props = %s;
|
|
79
79
|
<%s {...props} />
|
|
80
80
|
React keys must be passed directly to JSX without using spread:
|
|
81
81
|
let props = %s;
|
|
82
|
-
<%s key={someKey} {...props} />`,
|
|
82
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};st.Fragment=y,st.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},st.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),st}var bn;function nl(){return bn||(bn=1,process.env.NODE_ENV==="production"?Xt.exports=tl():Xt.exports=rl()),Xt.exports}nl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Jt={exports:{}},Ce={},vn;function ol(){if(vn)return Ce;vn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Ce.Fragment=n,Ce.jsx=s,Ce.jsxs=s,Ce}var lt={},yn;function al(){return yn||(yn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
83
83
|
let props = %s;
|
|
84
84
|
<%s {...props} />
|
|
85
85
|
React keys must be passed directly to JSX without using spread:
|
|
86
86
|
let props = %s;
|
|
87
|
-
<%s key={someKey} {...props} />`,
|
|
87
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};lt.Fragment=y,lt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},lt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),lt}var gn;function il(){return gn||(gn=1,process.env.NODE_ENV==="production"?Jt.exports=ol():Jt.exports=al()),Jt.exports}il();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Ht={exports:{}},Te={},xn;function sl(){if(xn)return Te;xn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Te.Fragment=n,Te.jsx=s,Te.jsxs=s,Te}var ct={},hn;function ll(){return hn||(hn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
88
88
|
let props = %s;
|
|
89
89
|
<%s {...props} />
|
|
90
90
|
React keys must be passed directly to JSX without using spread:
|
|
91
91
|
let props = %s;
|
|
92
|
-
<%s key={someKey} {...props} />`,
|
|
92
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};ct.Fragment=y,ct.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},ct.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),ct}var kn;function cl(){return kn||(kn=1,process.env.NODE_ENV==="production"?Ht.exports=sl():Ht.exports=ll()),Ht.exports}cl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Gt={exports:{}},Pe={},jn;function ul(){if(jn)return Pe;jn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Pe.Fragment=n,Pe.jsx=s,Pe.jsxs=s,Pe}var ut={},wn;function dl(){return wn||(wn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
93
93
|
let props = %s;
|
|
94
94
|
<%s {...props} />
|
|
95
95
|
React keys must be passed directly to JSX without using spread:
|
|
96
96
|
let props = %s;
|
|
97
|
-
<%s key={someKey} {...props} />`,
|
|
97
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};ut.Fragment=y,ut.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},ut.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),ut}var _n;function fl(){return _n||(_n=1,process.env.NODE_ENV==="production"?Gt.exports=ul():Gt.exports=dl()),Gt.exports}fl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Kt={exports:{}},ze={},Sn;function pl(){if(Sn)return ze;Sn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return ze.Fragment=n,ze.jsx=s,ze.jsxs=s,ze}var dt={},Rn;function ml(){return Rn||(Rn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
98
98
|
let props = %s;
|
|
99
99
|
<%s {...props} />
|
|
100
100
|
React keys must be passed directly to JSX without using spread:
|
|
101
101
|
let props = %s;
|
|
102
|
-
<%s key={someKey} {...props} />`,
|
|
102
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};dt.Fragment=y,dt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},dt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),dt}var En;function bl(){return En||(En=1,process.env.NODE_ENV==="production"?Kt.exports=pl():Kt.exports=ml()),Kt.exports}bl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Bt={exports:{}},$e={},Nn;function vl(){if(Nn)return $e;Nn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return $e.Fragment=n,$e.jsx=s,$e.jsxs=s,$e}var ft={},On;function yl(){return On||(On=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
103
103
|
let props = %s;
|
|
104
104
|
<%s {...props} />
|
|
105
105
|
React keys must be passed directly to JSX without using spread:
|
|
106
106
|
let props = %s;
|
|
107
|
-
<%s key={someKey} {...props} />`,
|
|
107
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};ft.Fragment=y,ft.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},ft.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),ft}var Cn;function gl(){return Cn||(Cn=1,process.env.NODE_ENV==="production"?Bt.exports=vl():Bt.exports=yl()),Bt.exports}gl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var qt={exports:{}},De={},Tn;function xl(){if(Tn)return De;Tn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return De.Fragment=n,De.jsx=s,De.jsxs=s,De}var pt={},Pn;function hl(){return Pn||(Pn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
108
108
|
let props = %s;
|
|
109
109
|
<%s {...props} />
|
|
110
110
|
React keys must be passed directly to JSX without using spread:
|
|
111
111
|
let props = %s;
|
|
112
|
-
<%s key={someKey} {...props} />`,
|
|
112
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};pt.Fragment=y,pt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},pt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),pt}var zn;function kl(){return zn||(zn=1,process.env.NODE_ENV==="production"?qt.exports=xl():qt.exports=hl()),qt.exports}kl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Qt={exports:{}},Ae={},$n;function jl(){if($n)return Ae;$n=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Ae.Fragment=n,Ae.jsx=s,Ae.jsxs=s,Ae}var mt={},Dn;function wl(){return Dn||(Dn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
113
|
+
let props = %s;
|
|
114
|
+
<%s {...props} />
|
|
115
|
+
React keys must be passed directly to JSX without using spread:
|
|
116
|
+
let props = %s;
|
|
117
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};mt.Fragment=y,mt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},mt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),mt}var An;function _l(){return An||(An=1,process.env.NODE_ENV==="production"?Qt.exports=jl():Qt.exports=wl()),Qt.exports}_l();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Zt={exports:{}},Fe={},Fn;function Sl(){if(Fn)return Fe;Fn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Fe.Fragment=n,Fe.jsx=s,Fe.jsxs=s,Fe}var bt={},In;function Rl(){return In||(In=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
118
|
+
let props = %s;
|
|
119
|
+
<%s {...props} />
|
|
120
|
+
React keys must be passed directly to JSX without using spread:
|
|
121
|
+
let props = %s;
|
|
122
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};bt.Fragment=y,bt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},bt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),bt}var Mn;function El(){return Mn||(Mn=1,process.env.NODE_ENV==="production"?Zt.exports=Sl():Zt.exports=Rl()),Zt.exports}El();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var er={exports:{}},Ie={},Vn;function Nl(){if(Vn)return Ie;Vn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Ie.Fragment=n,Ie.jsx=s,Ie.jsxs=s,Ie}var vt={},Wn;function Ol(){return Wn||(Wn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
123
|
+
let props = %s;
|
|
124
|
+
<%s {...props} />
|
|
125
|
+
React keys must be passed directly to JSX without using spread:
|
|
126
|
+
let props = %s;
|
|
127
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};vt.Fragment=y,vt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},vt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),vt}var Un;function Cl(){return Un||(Un=1,process.env.NODE_ENV==="production"?er.exports=Nl():er.exports=Ol()),er.exports}Cl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var tr={exports:{}},Me={},Ln;function Tl(){if(Ln)return Me;Ln=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Me.Fragment=n,Me.jsx=s,Me.jsxs=s,Me}var yt={},Yn;function Pl(){return Yn||(Yn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
128
|
+
let props = %s;
|
|
129
|
+
<%s {...props} />
|
|
130
|
+
React keys must be passed directly to JSX without using spread:
|
|
131
|
+
let props = %s;
|
|
132
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};yt.Fragment=y,yt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},yt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),yt}var Xn;function zl(){return Xn||(Xn=1,process.env.NODE_ENV==="production"?tr.exports=Tl():tr.exports=Pl()),tr.exports}zl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var rr={exports:{}},Ve={},Jn;function $l(){if(Jn)return Ve;Jn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Ve.Fragment=n,Ve.jsx=s,Ve.jsxs=s,Ve}var gt={},Hn;function Dl(){return Hn||(Hn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
133
|
+
let props = %s;
|
|
134
|
+
<%s {...props} />
|
|
135
|
+
React keys must be passed directly to JSX without using spread:
|
|
136
|
+
let props = %s;
|
|
137
|
+
<%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};gt.Fragment=y,gt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},gt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),gt}var Gn;function Al(){return Gn||(Gn=1,process.env.NODE_ENV==="production"?rr.exports=$l():rr.exports=Dl()),rr.exports}Al();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);function Do({displayName:r,value:n,...s}){return u.jsxRuntimeExports.jsxs("div",{className:`flex justify-between border-b pb-2 ${s.className}`,children:[u.jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:r}),u.jsxRuntimeExports.jsx("span",{className:"font-medium",children:typeof n=="string"?u.jsxRuntimeExports.jsx(bs,{variant:"secondary",children:n}):n})]})}function Fl({lines:r,data:n,...s}){function c(l,d){return l===void 0?"":d.split(".").reduce((p,g)=>p&&p[g]!==void 0?p[g]:void 0,l)}return u.jsxRuntimeExports.jsx("div",{className:s.className,children:r.map(l=>u.jsxRuntimeExports.jsx(Do,{displayName:l.displayName,value:l.formatFunction&&n!==void 0?l.formatFunction(n,c(n,l.key)):c(n,l.key)},l.key))})}function Il({children:r,header:n,sidebar:s,showSidebar:c}){return u.jsxRuntimeExports.jsx("div",{className:"flex h-screen flex-col ",children:u.jsxRuntimeExports.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[u.jsxRuntimeExports.jsx("div",{className:`transition-all duration-300 ease-in-out overflow-hidden ${c?"w-64 opacity-100":"w-0 opacity-0"}`,children:s}),u.jsxRuntimeExports.jsxs("div",{className:"flex flex-1 flex-col overflow-y-auto",children:[n,u.jsxRuntimeExports.jsx("main",{className:"flex-1 overflow-y-auto p-6",children:r})]})]})})}function Ml(r){return u.jsxRuntimeExports.jsx("div",{className:"h-full w-70 max-w-64 min-w-64 border-r border-r-gray-700",children:r.children})}function Vl({children:r,title:n}){return u.jsxRuntimeExports.jsxs("div",{className:"p-3",children:[u.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[u.jsxRuntimeExports.jsx("span",{className:"text-[10px] tracking-wide font-medium uppercase text-placeholder shrink-0 transition-opacity",children:n}),u.jsxRuntimeExports.jsx("div",{className:"flex-1 h-px"})]}),u.jsxRuntimeExports.jsx("div",{className:"relative flex flex-col gap-2",children:r})]})}function Wl({pageName:r,hiddenSidebar:n,children:s}){return u.jsxRuntimeExports.jsx("div",{className:"h-14 inset-x-0 border-b border-b-gray-700 bg-background",children:u.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between",children:[u.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-8 pl-6",children:[u.jsxRuntimeExports.jsx(Q.PanelLeft,{className:"h-4 mt-1 cursor-pointer",onClick:n}),u.jsxRuntimeExports.jsx("h1",{className:"text-base font-medium",children:r})]}),u.jsxRuntimeExports.jsx("div",{className:"flex gap-4 items-center px-8 py-2 justify-between",children:s})]})})}exports.Button=u.Button;exports.buttonVariants=u.buttonVariants;Object.defineProperty(exports,"TZDate",{enumerable:!0,get:()=>ie.TZDate});Object.defineProperty(exports,"toast",{enumerable:!0,get:()=>Kn.toast});exports.Avatar=ts;exports.Badge=xt;exports.Calendar=fr;exports.CalendarDayButton=po;exports.Card=_i;exports.CardAction=Ni;exports.CardContent=Oi;exports.CardDescription=Ei;exports.CardFooter=Ci;exports.CardHeader=Si;exports.CardTitle=Ri;exports.ChartContainer=ns;exports.ChartLegend=is;exports.ChartLegendContent=ss;exports.ChartStyle=zo;exports.ChartTooltip=os;exports.ChartTooltipContent=as;exports.Checkbox=Ti;exports.Collapsible=Pi;exports.CollapsibleContent=$i;exports.CollapsibleTrigger=zi;exports.Combobox=Vi;exports.Command=Ot;exports.CommandDialog=Ii;exports.CommandEmpty=br;exports.CommandGroup=_t;exports.CommandInput=pr;exports.CommandItem=St;exports.CommandList=mr;exports.CommandSeparator=Ro;exports.CommandShortcut=Mi;exports.DataTable=da;exports.DataTableFacetedFilter=Wi;exports.DatePicker=ji;exports.DateRangePicker=wi;exports.DefaultDropdownMenuTrigger=sa;exports.DefaultLayoutBase=Il;exports.DetailsLine=Do;exports.DetailsList=Fl;exports.Dialog=xo;exports.DialogClose=Ai;exports.DialogContent=jo;exports.DialogDescription=So;exports.DialogFooter=Fi;exports.DialogHeader=wo;exports.DialogOverlay=ko;exports.DialogPortal=ho;exports.DialogTitle=_o;exports.DialogTrigger=Di;exports.DragHandle=fa;exports.DraggableRow=Zn;exports.DropdownMenu=nr;exports.DropdownMenuCheckboxItem=Bn;exports.DropdownMenuContent=or;exports.DropdownMenuGroup=Zo;exports.DropdownMenuItem=ea;exports.DropdownMenuLabel=ta;exports.DropdownMenuPortal=Qo;exports.DropdownMenuRadioGroup=qn;exports.DropdownMenuRadioItem=Qn;exports.DropdownMenuSeparator=ra;exports.DropdownMenuShortcut=na;exports.DropdownMenuSub=oa;exports.DropdownMenuSubContent=ia;exports.DropdownMenuSubTrigger=aa;exports.DropdownMenuTrigger=kt;exports.Form=Ui;exports.FormControl=Ji;exports.FormDescription=Hi;exports.FormField=Li;exports.FormItem=Yi;exports.FormLabel=Xi;exports.FormMessage=Gi;exports.HeaderBase=Wl;exports.Input=eo;exports.Label=ur;exports.Popover=Le;exports.PopoverAnchor=ki;exports.PopoverContent=Xe;exports.PopoverTrigger=Ye;exports.Select=to;exports.SelectContent=oo;exports.SelectGroup=la;exports.SelectItem=ao;exports.SelectLabel=ca;exports.SelectScrollDownButton=so;exports.SelectScrollUpButton=io;exports.SelectSeparator=ua;exports.SelectTrigger=no;exports.SelectValue=ro;exports.Separator=Eo;exports.Sidebar=Ml;exports.SidebarGroup=Vl;exports.Skeleton=Co;exports.Table=lo;exports.TableBody=uo;exports.TableCaption=ma;exports.TableCell=dr;exports.TableFooter=pa;exports.TableHead=fo;exports.TableHeader=co;exports.TableRow=jt;exports.Tabs=Bi;exports.TabsContent=Zi;exports.TabsList=qi;exports.TabsTrigger=Qi;exports.Textarea=es;exports.Toaster=Ki;exports.badgeVariants=go;exports.useFormField=Je;
|