import{as as r,W as t,r as o,j as a,v as l,d as u}from"./main-D6SjkSWq.js";function d({artist:e,className:s,...n}){const i=o.useMemo(()=>f(e),[e]);return a.jsx(l,{...n,className:u("overflow-x-hidden overflow-ellipsis outline-none hover:underline focus-visible:underline",s),to:i,children:e.name})}function f(e,{absolute:s}={}){let n=`/artist/${e.id}/${r(e.name)}`;return s&&(n=`${t().settings.base_url}${n}`),n}export{d as A,f as g};
