import{r,j as e}from"./vendor-react-DrAK5R0M.js";import{x as N,y as g,z as d,B as w,E as j,F as n,G as b,H as i,J as S,K as v,M as c,N as m,Q as R,U as p,W as f}from"./vendor-radix-CwTvaGVy.js";import{C as o}from"./index-7eqLqzhB.js";import{u,t as C,a4 as I}from"./vendor-icons-Cu2Ube6F.js";const L=N,F=R,H=g,B=r.forwardRef(({className:t,children:s,...a},l)=>e.jsxs(d,{ref:l,className:o("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...a,children:[s,e.jsx(w,{asChild:!0,children:e.jsx(u,{className:"h-4 w-4 opacity-50"})})]}));B.displayName=d.displayName;const x=r.forwardRef(({className:t,...s},a)=>e.jsx(c,{ref:a,className:o("flex cursor-default items-center justify-center py-1",t),...s,children:e.jsx(I,{className:"h-4 w-4"})}));x.displayName=c.displayName;const h=r.forwardRef(({className:t,...s},a)=>e.jsx(m,{ref:a,className:o("flex cursor-default items-center justify-center py-1",t),...s,children:e.jsx(u,{className:"h-4 w-4"})}));h.displayName=m.displayName;const z=r.forwardRef(({className:t,children:s,position:a="popper",...l},y)=>e.jsx(j,{children:e.jsxs(n,{ref:y,className:o("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",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,...l,children:[e.jsx(x,{}),e.jsx(b,{className:o("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s}),e.jsx(h,{})]})}));z.displayName=n.displayName;const U=r.forwardRef(({className:t,...s},a)=>e.jsx(f,{ref:a,className:o("py-1.5 pl-8 pr-2 text-sm font-semibold",t),...s}));U.displayName=f.displayName;const k=r.forwardRef(({className:t,children:s,...a},l)=>e.jsxs(i,{ref:l,className:o("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",t),...a,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(S,{children:e.jsx(C,{className:"h-4 w-4"})})}),e.jsx(v,{children:s})]}));k.displayName=i.displayName;const D=r.forwardRef(({className:t,...s},a)=>e.jsx(p,{ref:a,className:o("-mx-1 my-1 h-px bg-muted",t),...s}));D.displayName=p.displayName;export{L as S,B as a,H as b,z as c,k as d,F as e,D as f,U as g};
