1import{_ as a,u as d,h as _,i as l}from"./entry.CcJPRZll.js";import{d as h,c as n,h as m}from"./vendor-vue.CbeIOTrE.js";const L=h({name:"NuxtLinkLocale",props:{...a.props,locale:{type:String,default:void 0,required:!1}},setup(e,{slots:r}){const u=d(),s=n(()=>{const t=e.to||e.href||"";return typeof t=="string"&&_(t,{acceptRelative:!0})}),c=n(()=>{const t=e.to??e.href,o=t!=null?u(t,e.locale):t;return o&&l(e.to)&&(o.state=e.to?.state),t!=null?o:t}),i=n(()=>{if(e.external)return!0;const t=e.to||e.href||"";return l(t)?!1:t===""||s.value}),f=()=>{const t={...e};return i.value||(t.to=c.value),delete t.href,delete t.locale,t};return()=>m(a,f(),r.default)}});export{L 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.