import{r as s,j as r}from"./vendor-react-DrAK5R0M.js";import{cW as e,C as d}from"./index-7eqLqzhB.js";import"./dialog-BcJPVJYA.js";import{o as m}from"./vendor-icons-Cu2Ube6F.js";const p=s.forwardRef(({className:a,...o},t)=>r.jsx(e,{ref:t,className:d("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",a),...o}));p.displayName=e.displayName;const n=s.forwardRef(({className:a,...o},t)=>r.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[r.jsx(m,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),r.jsx(e.Input,{ref:t,className:d("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",a),...o})]}));n.displayName=e.Input.displayName;const l=s.forwardRef(({className:a,...o},t)=>r.jsx(e.List,{ref:t,className:d("max-h-[300px] overflow-y-auto overflow-x-hidden",a),...o}));l.displayName=e.List.displayName;const i=s.forwardRef((a,o)=>r.jsx(e.Empty,{ref:o,className:"py-6 text-center text-sm",...a}));i.displayName=e.Empty.displayName;const c=s.forwardRef(({className:a,...o},t)=>r.jsx(e.Group,{ref:t,className:d("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",a),...o}));c.displayName=e.Group.displayName;const u=s.forwardRef(({className:a,...o},t)=>r.jsx(e.Separator,{ref:t,className:d("-mx-1 h-px bg-border",a),...o}));u.displayName=e.Separator.displayName;const x=s.forwardRef(({className:a,...o},t)=>r.jsx(e.Item,{ref:t,className:d("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",a),...o}));x.displayName=e.Item.displayName;export{p as C,n as a,l as b,i as c,c as d,x as e};
