1var D=Object.defineProperty,F=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var j=(t,a,l)=>a in t?D(t,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[a]=l,L=(t,a)=>{for(var l in a||(a={}))V.call(a,l)&&j(t,l,a[l]);if(O)for(var l of O(a))M.call(a,l)&&j(t,l,a[l]);return t},k=(t,a)=>F(t,H(a));var A=(t,a,l)=>new Promise((C,R)=>{var e=n=>{try{v(l.next(n))}catch(u){R(u)}},c=n=>{try{v(l.throw(n))}catch(u){R(u)}},v=n=>n.done?C(n.value):Promise.resolve(n.value).then(e,c);v((l=l.apply(t,a)).next())});import{d as z,cX as T,s as W,r as $,bQ as P,k as Q,cY as G,v as X,j as N,bu as B,cZ as Y,c_ as E,c$ as Z,b as m,bL as U,bM as J,bI as K,an as ee,d0 as te,d1 as ae,d2 as re,d3 as ne,d4 as le}from"#entry";const ue=(...t)=>t.find(a=>a!==void 0);function ie(t){const a=t.componentName||"NuxtLink";function l(e){return typeof e=="string"&&e.startsWith("#")}function C(e,c,v){const n=v!=null?v:t.trailingSlash;if(!e||n!=="append"&&n!=="remove")return e;if(typeof e=="string")return _(e,n);const u="path"in e&&e.path!==void 0?e.path:c(e).path;return k(L({},e),{name:void 0,path:_(u,n)})}function R(e){var q,S,x;const c=T(),v=K(),n=m(()=>!!e.target&&e.target!=="_self"),u=m(()=>{const r=e.to||e.href||"";return typeof r=="string"&&U(r,{acceptRelative:!0})}),p=B("RouterLink"),g=p&&typeof p!="string"?p.useLink:void 0,h=m(()=>{if(e.external)return!0;const r=e.to||e.href||"";return typeof r=="object"?!1:r===""||u.value}),s=m(()=>{const r=e.to||e.href||"";return h.value?r:C(r,c.resolve,e.trailingSlash)}),d=h.value||g==null?void 0:g(k(L({},e),{to:s})),b=m(()=>{var i,o,y;const r=(i=e.trailingSlash)!=null?i:t.trailingSlash;if(!s.value||u.value||l(s.value))return s.value;if(h.value){const w=typeof s.value=="object"&&"path"in s.value?E(s.value):s.value,I=typeof w=="object"?c.resolve(w).href:w;return _(I,r)}return typeof s.value=="object"?(y=(o=c.resolve(s.value))==null?void 0:o.href)!=null?y:null:_(J(v.app.baseURL,s.value),r)});return{to:s,hasTarget:n,isAbsoluteUrl:u,isExternal:h,href:b,isActive:(q=d==null?void 0:d.isActive)!=null?q:m(()=>s.value===c.currentRoute.value.path),isExactActive:(S=d==null?void 0:d.isExactActive)!=null?S:m(()=>s.value===c.currentRoute.value.path),route:(x=d==null?void 0:d.route)!=null?x:m(()=>c.resolve(s.value)),navigate(r){return A(this,null,function*(){yield ee(b.value,{replace:e.replace,external:h.value||n.value})})}}}return z({name:a,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:R,setup(e,{slots:c}){const v=T(),{to:n,href:u,navigate:p,isExternal:g,hasTarget:h,isAbsoluteUrl:s}=R(e),d=W(!1),b=$(null),q=f=>{var r;b.value=e.custom?(r=f==null?void 0:f.$el)==null?void 0:r.nextElementSibling:f==null?void 0:f.$el};function S(f){var r,i,o,y;return!d.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===f:(o=(r=e.prefetchOn)==null?void 0:r[f])!=null?o:(i=t.prefetchOn)==null?void 0:i[f])&&((y=e.prefetch)!=null?y:t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!se()}function x(){return A(this,arguments,function*(f=P()){if(d.value)return;d.value=!0;const r=typeof n.value=="string"?n.value:g.value?E(n.value):v.resolve(n.value).fullPath,i=g.value?new URL(r,window.location.href).href:r;yield Promise.all([f.hooks.callHook("link:prefetch",i).catch(()=>{}),!g.value&&!h.value&&Z(n.value,v).catch(()=>{})])})}if(S("visibility")){const f=P();let r,i=null;Q(()=>{const o=oe();G(()=>{r=re(()=>{var y;(y=b==null?void 0:b.value)!=null&&y.tagName&&(i=o.observe(b.value,()=>A(null,null,function*(){i==null||i(),i=null,yield x(f)})))})})}),X(()=>{r&&ne(r),i==null||i(),i=null})}return()=>{var i;if(!g.value&&!h.value&&!l(n.value)){const o={ref:q,to:n.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};
1return e.custom||(S("interaction")&&(o.onPointerenter=x.bind(null,void 0),o.onFocus=x.bind(null,void 0)),d.value&&(o.class=e.prefetchedClass||t.prefetchedClass),o.rel=e.rel||void 0),N(B("RouterLink"),o,c.default)}const f=e.target||null,r=ue(e.noRel?"":e.rel,t.externalRelAttribute,s.value||h.value?"noopener noreferrer":"")||null;return e.custom?c.default?c.default({href:u.value,navigate:p,prefetch:x,get route(){if(!u.value)return;const o=new URL(u.value,window.location.href);return{path:o.pathname,fullPath:o.pathname,get query(){return Y(o.search)},hash:o.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:r,target:f,isExternal:g.value||h.value,isActive:!1,isExactActive:!1}):null:N("a",{ref:b,href:u.value||null,rel:r,target:f,onClick:o=>{if(!(g.value||h.value))return o.preventDefault(),e.replace?v.replace(u.value):v.push(u.value)}},(i=c.default)==null?void 0:i.call(c))}}})}const de=ie(le);function _(t,a){const l=a==="append"?te:ae;return U(t)&&!t.startsWith("http")?t:l(t,!0)}function oe(){const t=P();if(t._observer)return t._observer;let a=null;const l=new Map,C=(e,c)=>(a||(a=new IntersectionObserver(v=>{for(const n of v){const u=l.get(n.target);(n.isIntersecting||n.intersectionRatio>0)&&u&&u()}})),l.set(e,c),a.observe(e),()=>{l.delete(e),a==null||a.unobserve(e),l.size===0&&(a==null||a.disconnect(),a=null)});return t._observer={observe:C}}const ce=/2g/;function se(){const t=navigator.connection;return!!(t&&(t.saveData||ce.test(t.effectiveType)))}export{de 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.