import{Hy as e,Wn as t,Zv as n,hl as r,jg as i,m_ as a,s_ as o}from"./index-DDwwBb9e.js";var s=e(),c=({paddingX:e=4,href:c,includePath:l,children:u,icon:d,menuEnd:f,isSelected:p,isSelectedAnnotation:m,disabled:h,target:g})=>{let _=t(),v=p??m??(_===c||l&&_?.includes(l));return(0,s.jsx)(o,{asChild:!0,paddingX:e,paddingY:1,width:`full`,position:`relative`,borderRadius:`lg`,background:!h&&v?`bg.muted`:`transparent`,_hover:h?void 0:{background:`bg.muted`},"aria-disabled":h||void 0,tabIndex:h?-1:void 0,opacity:h?.4:void 0,cursor:h?`not-allowed`:void 0,pointerEvents:h?`none`:void 0,children:(0,s.jsx)(r,{href:c,...g?{target:g,rel:`noopener noreferrer`}:{},children:(0,s.jsxs)(a,{width:`full`,gap:2,children:[d,(0,s.jsx)(n,{children:u}),(0,s.jsx)(i,{}),f]})})})};export{c as t};
//# sourceMappingURL=MenuLink-DDhUk0c_.js.map