import{r,j as s,av as o,cg as p,ch as x}from"./index-f9c70843.js";import{$ as b,a as u,b as $,c,d as h,e as N,f as l,g,h as f,i,j as y,k as w,l as n}from"./index-21d0a8f9.js";const I=b,L=u,V=$,j=r.forwardRef(({className:a,children:t,...e},d)=>s.jsxs(c,{ref:d,className:o("flex h-8 items-center justify-between rounded-md border border-ring/60 px-4 py-2 text-sm text-primary ring-offset-background placeholder:text-muted-foreground hover:bg-muted focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),...e,children:[t,s.jsx(h,{asChild:!0,children:s.jsx(p,{className:"ml-2 h-4 w-4"})})]}));j.displayName=c.displayName;const T=r.forwardRef(({className:a,children:t,position:e="popper",...d},m)=>s.jsx(N,{children:s.jsx(l,{ref:m,className:o("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e==="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",a),position:e,...d,children:s.jsx(g,{className:o("p-1",e==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t})})}));T.displayName=l.displayName;const R=r.forwardRef(({className:a,...t},e)=>s.jsx(f,{ref:e,className:o("py-1.5 pl-8 pr-2 text-sm font-semibold",a),...t}));R.displayName=f.displayName;const v=r.forwardRef(({className:a,children:t,...e},d)=>s.jsxs(i,{ref:d,className:o("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...e,children:[s.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:s.jsx(y,{children:s.jsx(x,{className:"h-4 w-4"})})}),s.jsx(w,{children:t})]}));v.displayName=i.displayName;const S=r.forwardRef(({className:a,...t},e)=>s.jsx(n,{ref:e,className:o("-mx-1 my-1 h-px bg-muted",a),...t}));S.displayName=n.displayName;const C=r.forwardRef(({className:a,...t},e)=>s.jsx("div",{className:"",children:s.jsx("table",{ref:e,className:o("w-full caption-bottom text-sm",a),...t})}));C.displayName="Table";const k=r.forwardRef(({className:a,...t},e)=>s.jsx("thead",{ref:e,className:o("[&_tr]:border-b",a),...t}));k.displayName="TableHeader";const H=r.forwardRef(({className:a,...t},e)=>s.jsx("tbody",{ref:e,className:o("[&_tr:last-child]:border-0",a),...t}));H.displayName="TableBody";const z=r.forwardRef(({className:a,...t},e)=>s.jsx("tfoot",{ref:e,className:o("bg-primary font-medium text-primary-foreground",a),...t}));z.displayName="TableFooter";const B=r.forwardRef(({className:a,...t},e)=>s.jsx("tr",{ref:e,className:o("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",a),...t}));B.displayName="TableRow";const E=r.forwardRef(({className:a,...t},e)=>s.jsx("th",{ref:e,className:o("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",a),...t}));E.displayName="TableHead";const F=r.forwardRef(({className:a,...t},e)=>s.jsx("td",{ref:e,className:o("p-4 align-middle [&:has([role=checkbox])]:pr-0",a),...t}));F.displayName="TableCell";const _=r.forwardRef(({className:a,...t},e)=>s.jsx("caption",{ref:e,className:o("mt-4 text-sm text-muted-foreground",a),...t}));_.displayName="TableCaption";export{I as S,C as T,k as a,B as b,E as c,H as d,F as e,j as f,V as g,T as h,L as i,v as j};
