1import{G as d,H as m,M as n,q as h}from"./DcGtCD8U.js";import{ht as v,n as a}from"./BeCnAv6l.js";import{It as r,Y as x}from"./BCh8aLr1.js";h();var N=m({name:"NuxtLinkLocale",props:{...a.props,locale:{type:String,default:void 0,required:!1}},setup(e,{slots:l}){const s=x(),u=n(()=>{const t=e.to||e.href||"";return typeof t=="string"&&v(t,{acceptRelative:!0})}),i=n(()=>{const t=e.to??e.href,o=t!=null?s(t,e.locale):t;return o&&r(e.to)&&(o.state=e.to?.state),t!=null?o:t}),c=n(()=>{if(e.external)return!0;const t=e.to||e.href||"";return r(t)?!1:t===""||u.value}),f=()=>{const t={...e};return c.value||(t.to=i.value),delete t.href,delete t.locale,t};return()=>d(a,f(),l.default)}});export{N as t};
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.