1import{d as j,b2 as A,aB as E,k as N,av as q,Q as U,b3 as H,b4 as I,aa as D,b5 as F,ab as P,ah as _,b6 as V,b7 as B,b8 as W,j as x,u as f,ap as T,ar as z,W as M,b9 as Q,ba as $,C as G,bb as J,bc as K,bd as X,be as Y}from"./CRcD7-OL.js";const Z=(...t)=>t.find(r=>r!==void 0);function O(t){let r=t.replace(/[\u0000-\u001f\s]+/g,"");for(;r.toLowerCase().startsWith("view-source:");)r=r.slice(12);const c=r.indexOf(":");return c>0&&$(r.slice(0,c+1))?null:t}function ee(t){const r=t.componentName||"NuxtLink";function c(e){return!Q&&typeof e=="string"&&e.startsWith("#")}function w(e,s,d){const a=d??t.trailingSlash;if(!e||a!=="append"&&a!=="remove")return e;if(typeof e=="string")return R(e,a);const i="path"in e&&e.path!==void 0?e.path:s(e).path;return{...e,name:void 0,path:R(i,a)}}function k(e){const s=A(),d=G(),a=x(()=>!!f(e.target)&&f(e.target)!=="_self"),i=x(()=>{const o=f(e.to)||f(e.href)||"";return typeof o=="string"&&T(o,{acceptRelative:!0})}),C=_("RouterLink"),b=C&&typeof C!="string"?C.useLink:void 0,v=x(()=>{if(f(e.external))return!0;const o=f(e.to)||f(e.href)||"";return typeof o=="object"?!1:o===""||i.value}),l=x(()=>{const o=f(e.to)||f(e.href)||"";return v.value?o:w(o,s.resolve,f(e.trailingSlash))}),y=v.value?void 0:b?.({...e,to:l,viewTransition:f(e.viewTransition)}),p=x(()=>{const o=f(e.trailingSlash)??t.trailingSlash;if(!l.value||i.value||c(l.value)){const h=l.value;return typeof h=="string"?O(h):h}if(v.value){const h=typeof l.value=="object"&&"path"in l.value?B(l.value):l.value,m=typeof h=="object"?s.resolve(h).href:h,u=typeof m=="string"?O(m):m;return u===null?null:R(u,o)}return typeof l.value=="object"?s.resolve(l.value)?.href??null:R(z(d.app.baseURL,l.value),o)});return{to:l,hasTarget:a,isAbsoluteUrl:i,isExternal:v,href:p,isActive:y?.isActive??x(()=>l.value===s.currentRoute.value.path),isExactActive:y?.isExactActive??x(()=>l.value===s.currentRoute.value.path),route:y?.route??x(()=>s.resolve(l.value)),async navigate(o){p.value!==null&&await M(p.value,{replace:f(e.replace),external:v.value||a.value})}}}return j({name:r,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:k,setup(e,{slots:s}){const d=A(),{to:a,href:i,navigate:C,isExternal:b,hasTarget:v,isAbsoluteUrl:l}=k(e),y=E(!1),p=N(null),o=u=>{p.value=e.custom?u?.$el?.nextElementSibling:u?.$el};function h(u){return!y.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===u:e.prefetchOn?.[u]??t.prefetchOn?.[u])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!ne()}async function m(u=q()){if(y.value||i.value===null)return;y.value=!0;const g=typeof a.value=="string"?a.value:b.value?B(a.value):d.resolve(a.value).fullPath,n=b.value?new URL(g,window.location.href).href:g;await Promise.all([u.hooks.callHook("link:prefetch",n).catch(()=>{}),!b.value&&!v.value&&W(a.value,d).catch(()=>{})])}if(h("visibility")){const u=q();let g,n=null;U(()=>{const S=te();H(()=>{g=I(()=>{p?.value?.tagName&&(n=S.observe(p.value,async()=>{n?.(),n=null,await m(u)}))})})}),D(()=>{g&&F(g),n?.(),n=null})}return()=>{if(!b.value&&!v.value&&!c(a.value)){const n={ref:o,to:a.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};
1return e.custom||(h("interaction")&&(n.onPointerenter=m.bind(null,void 0),n.onFocus=m.bind(null,void 0)),y.value&&(n.class=e.prefetchedClass||t.prefetchedClass),n.rel=e.rel||void 0),P(_("RouterLink"),n,s.default)}const u=e.target||null,g=Z(e.noRel?"":e.rel,t.externalRelAttribute,l.value||v.value?"noopener noreferrer":"")||null;return e.custom?s.default?s.default({href:i.value,navigate:C,prefetch:m,get route(){if(!i.value)return;const n=new URL(i.value,window.location.href);return{path:n.pathname,fullPath:n.pathname,get query(){return V(n.search)},hash:n.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:i.value}},rel:g,target:u,isExternal:b.value||v.value,isActive:!1,isExactActive:!1}):null:P("a",{ref:p,href:i.value||null,rel:g,target:u,onClick:async n=>{if(!(b.value||v.value)){n.preventDefault();try{const S=X(i.value??"");return await(e.replace?d.replace(S):d.push(S))}finally{if(c(a.value)){const S=a.value.slice(1);let L=S;try{L=decodeURIComponent(S)}catch{}document.getElementById(L)?.focus()}}}}},s.default?.())}}})}const ie=ee(Y);function R(t,r){const c=r==="append"?J:K;return T(t)&&!t.startsWith("http")?t:c(t,!0)}function te(){const t=q();if(t._observer)return t._observer;let r=null;const c=new Map,w=(e,s)=>(r||=new IntersectionObserver(d=>{for(const a of d){const i=c.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&i&&i()}}),c.set(e,s),r.observe(e),()=>{c.delete(e),r?.unobserve(e),c.size===0&&(r?.disconnect(),r=null)});return t._observer={observe:w}}const ae=/2g/;function ne(){const t=navigator.connection;return!!(t&&(t.saveData||ae.test(t.effectiveType)))}export{ie 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.