1import{d as i,o as s,m as f,aw as a,n as u,ac as o,a as n,ae as k,ax as m}from"./DvgxvNL0.js";const d=["href"],$=i({inheritAttrs:!1,__name:"AutoLink",props:{to:{},linkClass:{default:""}},setup(t){return(e,l)=>{const r=m("router-link");return typeof t.to=="object"&&(t.to?.path||t.to?.query)||typeof t.to=="string"&&t.to?.startsWith("/")?(s(),f(r,a({key:0,to:t.to},e.$attrs,{class:t.linkClass}),{default:u(()=>[o(e.$slots,"default")]),_:3},16,["to","class"])):typeof t.to=="string"&&t.to?.startsWith("http")?(s(),n("a",a({key:1,href:t.to},e.$attrs,{class:t.linkClass}),[o(e.$slots,"default")],16,d)):typeof t.to=="function"?(s(),n("button",a({key:2},e.$attrs,{class:["inline bg-transparent border-none p-0 m-0 cursor-pointer",t.linkClass],onClick:l[0]||(l[0]=c=>t.to())}),[o(e.$slots,"default")],16)):(s(),n("span",k(a({key:3},e.$attrs)),[o(e.$slots,"default")],16))}}});export{$ as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.