import{j as o,L as c,b0 as a,c as r}from"./index-Dbk1Plmn.js";import{C as l}from"./chevron-right-L2MnFoxW.js";function m({id:e,name:t,className:n,title:i}){return o.jsx(c,{to:`/entities/${encodeURIComponent(e)}`,className:r("text-sm font-medium text-primary hover:underline",n),title:i??e,children:t??a(e)})}function d({id:e,className:t,title:n,iconClassName:i}){const s=n??e;return o.jsx(c,{to:`/entities/${encodeURIComponent(e)}`,className:r("inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",t),title:s,"aria-label":`View entity: ${s}`,children:o.jsx(l,{className:r("h-4 w-4",i),"aria-hidden":!0})})}export{m as E,d as a};
