import{s as e}from"./rolldown-runtime-C5c2KzVm.js";import{$P as t}from"./lucide-C4oWPzu4.js";import{p as n,t as r}from"./utils-Bs-0X7qI.js";import{r as i}from"./bundle-mjs-C4g7ASB5.js";import{i as a,t as o}from"./dist-CImBN8k_.js";var s=n();e(t(),1);var c=i(),l=o(`[a]:hover:bg-muted rounded-md border text-sm w-full group/item focus-visible:border-ring focus-visible:ring-ring/50 flex items-center flex-wrap outline-none transition-colors duration-100 focus-visible:ring-[3px] [a]:transition-colors`,{variants:{variant:{default:`border-transparent`,outline:`border-border`,muted:`bg-muted/50 border-transparent`},size:{default:`gap-3.5 px-4 py-3.5`,sm:`gap-2.5 px-3 py-2.5`,xs:`gap-2 px-2.5 py-2 [[data-slot=dropdown-menu-content]_&]:p-0`}},defaultVariants:{variant:`default`,size:`default`}});function u(e){let t=(0,s.c)(16),n,i,o,u,d;t[0]===e?(n=t[1],i=t[2],o=t[3],u=t[4],d=t[5]):({className:n,variant:o,size:u,asChild:d,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=o,t[4]=u,t[5]=d);let f=o===void 0?`default`:o,p=u===void 0?`default`:u,m=d!==void 0&&d?a:`div`,h;t[6]!==n||t[7]!==p||t[8]!==f?(h=r(l({variant:f,size:p,className:n})),t[6]=n,t[7]=p,t[8]=f,t[9]=h):h=t[9];let g;return t[10]!==m||t[11]!==i||t[12]!==p||t[13]!==h||t[14]!==f?(g=(0,c.jsx)(m,{"data-slot":`item`,"data-variant":f,"data-size":p,className:h,...i}),t[10]=m,t[11]=i,t[12]=p,t[13]=h,t[14]=f,t[15]=g):g=t[15],g}var d=o(`gap-2 group-has-[[data-slot=item-description]]/item:translate-y-0.5 group-has-[[data-slot=item-description]]/item:self-start flex shrink-0 items-center justify-center [&_svg]:pointer-events-none`,{variants:{variant:{default:`bg-transparent`,icon:`[&_svg:not([class*='size-'])]:size-4`,image:`size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover`}},defaultVariants:{variant:`default`}});function f(e){let t=(0,s.c)(11),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:n,variant:a,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let o=a===void 0?`default`:a,l;t[4]!==n||t[5]!==o?(l=r(d({variant:o,className:n})),t[4]=n,t[5]=o,t[6]=l):l=t[6];let u;return t[7]!==i||t[8]!==l||t[9]!==o?(u=(0,c.jsx)(`div`,{"data-slot":`item-media`,"data-variant":o,className:l,...i}),t[7]=i,t[8]=l,t[9]=o,t[10]=u):u=t[10],u}function p(e){let t=(0,s.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let a;t[3]===n?a=t[4]:(a=r(`flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none`,n),t[3]=n,t[4]=a);let o;return t[5]!==i||t[6]!==a?(o=(0,c.jsx)(`div`,{"data-slot":`item-content`,className:a,...i}),t[5]=i,t[6]=a,t[7]=o):o=t[7],o}function m(e){let t=(0,s.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let a;t[3]===n?a=t[4]:(a=r(`line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4`,n),t[3]=n,t[4]=a);let o;return t[5]!==i||t[6]!==a?(o=(0,c.jsx)(`div`,{"data-slot":`item-title`,className:a,...i}),t[5]=i,t[6]=a,t[7]=o):o=t[7],o}function h(e){let t=(0,s.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let a;t[3]===n?a=t[4]:(a=r(`text-muted-foreground [&>a:hover]:text-primary line-clamp-2 text-left text-sm leading-normal font-normal group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4`,n),t[3]=n,t[4]=a);let o;return t[5]!==i||t[6]!==a?(o=(0,c.jsx)(`p`,{"data-slot":`item-description`,className:a,...i}),t[5]=i,t[6]=a,t[7]=o):o=t[7],o}function g(e){let t=(0,s.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let a;t[3]===n?a=t[4]:(a=r(`flex items-center gap-2`,n),t[3]=n,t[4]=a);let o;return t[5]!==i||t[6]!==a?(o=(0,c.jsx)(`div`,{"data-slot":`item-actions`,className:a,...i}),t[5]=i,t[6]=a,t[7]=o):o=t[7],o}export{f as a,h as i,g as n,m as o,p as r,u as t};