import{Cu as e}from"./shared-0-C4kdVF7Y.js";import{Ei as r,ki as s}from"./vendor-frame-CwiylG4Y.js";import{bp as a}from"./shared-1-3-6x7RKF.js";import{On as t}from"./vendor-all-6-BsAVZMtu.js";var o=s();function i({href:s,children:i,isExternal:n,exactMatch:c}){const h=e(),m=c?h===s:h===s||h.startsWith(s+"/");return(0,o.jsxs)(a,{"aria-current":m?"page":void 0,className:r("font-base whitespace-nowrap overflow-hidden transition-colors ease-in-out rounded-lg px-3 h-9 flex gap-3 items-center",m?"bg-bg-300":"hover:bg-bg-200"),href:s,children:[i,n&&(0,o.jsx)(t,{size:16,className:"text-text-400"})]})}export{i as t};