1import{J as e,H as t,l as a,e as r,h as l,aa as n,a5 as o,i as u,ab as i,I as s,ac as v,ad as c,ae as d,g as f,af as p,ag as h,ah as g,R as y,V as m,ai as b,aj as x}from"./uaUSdckm.js";async function q(t,a=e()){const{path:r,matched:l}=a.resolve(t);if(!l.length)return;if(a._routePreloaded||(a._routePreloaded=new Set),a._routePreloaded.has(r))return;const n=a._preloadPromises=a._preloadPromises||[];if(n.length>4)return Promise.all(n).then((()=>q(t,a)));a._routePreloaded.add(r);const o=l.map((e=>{var t;return null==(t=e.components)?void 0:t.default})).filter((e=>"function"==typeof e));for(const e of o){const t=Promise.resolve(e()).catch((()=>{})).finally((()=>n.splice(n.indexOf(t))));n.push(t)}await Promise.all(n)}function P(d){const b=d.componentName||"NuxtLink";function x(e,t){if(!e||"append"!==d.trailingSlash&&"remove"!==d.trailingSlash)return e;if("string"==typeof e)return C(e,d.trailingSlash);const a="path"in e&&void 0!==e.path?e.path:t(e).path;return{...e,name:void 0,path:C(a,d.trailingSlash)}}function P(t){const a=e(),r=m(),l=f((()=>!!t.target&&"_self"!==t.target)),n=f((()=>{const e=t.to||t.href||"";return"string"==typeof e&&p(e,{acceptRelative:!0})})),o=v("RouterLink"),u=o&&"string"!=typeof o?o.useLink:void 0,i=f((()=>{if(t.external)return!0;const e=t.to||t.href||"";return"object"!=typeof e&&(""===e||n.value)})),s=f((()=>{const e=t.to||t.href||"";return i.value?e:x(e,a.resolve)})),c=i.value||null==u?void 0:u({...t,to:s}),d=f((()=>{var e;if(!s.value||n.value)return s.value;if(i.value){const e="object"==typeof s.value&&"path"in s.value?h(s.value):s.value;return x("object"==typeof e?a.resolve(e).href:e,a.resolve)}return"object"==typeof s.value?(null==(e=a.resolve(s.value))?void 0:e.href)??null:x(g(r.app.baseURL,s.value),a.resolve)}));return{to:s,hasTarget:l,isAbsoluteUrl:n,isExternal:i,href:d,isActive:(null==c?void 0:c.isActive)??f((()=>s.value===a.currentRoute.value.path)),isExactActive:(null==c?void 0:c.isExactActive)??f((()=>s.value===a.currentRoute.value.path)),route:(null==c?void 0:c.route)??f((()=>a.resolve(s.value))),async navigate(){await y(d.value,{replace:t.replace,external:i.value||l.value})}}}return t({name:b,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}},useLink:P,setup(t,{slots:f}){const p=e(),{to:g,href:y,navigate:m,isExternal:b,hasTarget:x,isAbsoluteUrl:S}=P(t),C=a(!1),A=a(null),R=e=>{var a;A.value=t.custom?null==(a=null==e?void 0:e.$el)?void 0:a.nextElementSibling:null==e?void 0:e.$el};function _(e){var a,r;return!C.value&&("string"==typeof t.prefetchOn?t.prefetchOn===e:(null==(a=t.prefetchOn)?void 0:a[e])??(null==(r=d.prefetchOn)?void 0:r[e]))&&!1!==(t.prefetch??d.prefetch)&&!0!==t.noPrefetch&&"_blank"!==t.target&&!function(){const e=navigator.connection;if(e&&(e.saveData||w.test(e.effectiveType)))return!0;return!1}()}async function O(e=r()){if(C.value)return;C.value=!0;const t="string"==typeof g.value?g.value:b.value?h(g.value):p.resolve(g.value).fullPath,a=b.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook("link:prefetch",a).catch((()=>{})),!b.value&&!x.value&&q(g.value,p).catch((()=>{}))])}if(_("visibility")){const e=r();let t,a=null;l((()=>{const l=function(){const e=r();if(e._observer)return e._observer;let t=null;const a=new Map,l=(e,r)=>(t||(t=new IntersectionObserver((e=>{for(const t of e){const e=a.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}))),a.set(e,r),t.observe(e),()=>{a.delete(e),t.unobserve(e),0===a.size&&(t.disconnect(),t=null)}),n=e._observer={observe:l};return n}();n((()=>{t=o((()=>{var t;(null==(t=null==A?void 0:A.value)?void 0:t.tagName)&&(a=l.observe(A.value,(async()=>{null==a||a(),a=null,await O(e)})))}
1))}))})),u((()=>{t&&i(t),null==a||a(),a=null}))}return()=>{var e;if(!b.value&&!x.value){const e={ref:R,to:g.value,activeClass:t.activeClass||d.activeClass,exactActiveClass:t.exactActiveClass||d.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||(_("interaction")&&(e.onPointerenter=O.bind(null,void 0),e.onFocus=O.bind(null,void 0)),C.value&&(e.class=t.prefetchedClass||d.prefetchedClass),e.rel=t.rel||void 0),s(v("RouterLink"),e,f.default)}const a=t.target||null,r=((...e)=>e.find((e=>void 0!==e)))(t.noRel?"":t.rel,d.externalRelAttribute,S.value||x.value?"noopener noreferrer":"")||null;return t.custom?f.default?f.default({href:y.value,navigate:m,prefetch:O,get route(){if(!y.value)return;const e=new URL(y.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return c(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:y.value}},rel:r,target:a,isExternal:b.value||x.value,isActive:!1,isExactActive:!1}):null:s("a",{ref:A,href:y.value||null,rel:r,target:a},null==(e=f.default)?void 0:e.call(f))}}})}const S=P(d);function C(e,t){const a="append"===t?b:x;return p(e)&&!e.startsWith("http")?e:a(e,!0)}const w=/2g/;export{S 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.