import{jsx as t,jsxs as s}from"react/jsx-runtime";import*as o from"@radix-ui/react-dropdown-menu";import{CheckIcon as i}from"lucide-react";import{c as r}from"./utils-CMbmcP35.js";function m({...e}){return t(o.Root,{"data-slot":"dropdown-menu",...e})}function p({...e}){return t(o.Trigger,{"data-slot":"dropdown-menu-trigger",...e})}function f({className:e,sideOffset:a=4,...n}){return t(o.Portal,{children:t(o.Content,{"data-slot":"dropdown-menu-content",sideOffset:a,className:r("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] overflow-hidden rounded-md border p-1 shadow-md",e),...n})})}function v({...e}){return t(o.Group,{"data-slot":"dropdown-menu-group",...e})}function g({className:e,inset:a,variant:n="default",...d}){return t(o.Item,{"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":n,className:r("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-foreground data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/40 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-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]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...d})}function x({className:e,children:a,checked:n,...d}){return s(o.CheckboxItem,{"data-slot":"dropdown-menu-checkbox-item",className:r("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",e),checked:n,...d,children:[t("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:t(o.ItemIndicator,{children:t(i,{className:"size-4"})})}),a]})}function b({className:e,inset:a,...n}){return t(o.Label,{"data-slot":"dropdown-menu-label","data-inset":a,className:r("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...n})}function w({className:e,...a}){return t(o.Separator,{"data-slot":"dropdown-menu-separator",className:r("bg-border -mx-1 my-1 h-px",e),...a})}export{b as D,w as a,v as b,g as c,m as d,p as e,f,x as g};
