1import{a as e,d as t,i as n}from"./CWSn03zE.js";import{C as r,P as i,V as a,it as o,j as s,l as c,nt as l,st as u,x as d}from"./CEGevduf.js";import{C as f,E as p,_ as m,b as h,d as g,h as _,l as v,p as y,u as b,y as x}from"./Bqgy9n5o.js";import{a as S,r as C}from"./BqDMyirA.js";import{n as w,r as T,t as E}from"./D9Vk-efE.js";var D={scrollBehavior(e,t,r){let i=n(),a=y(),o=a.options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?r??{left:0,top:0}:e.hash?{el:e.hash,top:O(e.hash),behavior:o}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===S?k(e,t,r,o):new Promise(n=>{let s=()=>{requestAnimationFrame(()=>{if(a.currentRoute.value.fullPath!==e.fullPath){n(!1);return}n(k(e,t,r,o))})};i.hooks.hookOnce(`page:loading:end`,()=>{let e=i[`~transitionPromise`];e?e.then(s):s()})})}};function O(e){try{let t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function k(e,t,n,r){return n||(e.hash?{el:e.hash,top:O(e.hash),behavior:C(e,t)?r:`instant`}:{left:0,top:0})}var A={hashMode:!1,scrollBehaviorType:`auto`,...D};function j(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function M(e,t=y()){let{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;let i=t._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>M(e,t));t._routePreloaded.add(n);for(let e of r){let t=e.components?.default;if(typeof t!=`function`)continue;let n=Promise.resolve(t()).catch(()=>{}).finally(()=>i.splice(i.indexOf(n),1));i.push(n)}await Promise.all(i)}var N=(...e)=>e.find(e=>e!==void 0);function P(e){let t=e.replace(/[\u0000-\u001F\s]+/g,``);for(;t.toLowerCase().startsWith(`view-source:`);)t=t.slice(12);let n=t.indexOf(`:`);return n>0&&m(t.slice(0,n+1))?null:e}function F(t){let f=t.componentName||`NuxtLink`;function p(e){return typeof e==`string`&&e.startsWith(`#`)}function m(e,n,r){let i=r??t.trailingSlash;if(!e||i!==`append`&&i!==`remove`)return e;if(typeof e==`string`)return L(e,i);let a=`path`in e&&e.path!==void 0?e.path:n(e).path;return{...e,name:void 0,path:L(a,i)}}function S(n){let r=y(),i=e(),o=c(()=>!!u(n.target)&&u(n.target)!==`_self`),s=c(()=>{let e=u(n.to)||u(n.href)||``;return typeof e==`string`&&_(e,{acceptRelative:!0})}),l=a(`RouterLink`),d=l&&typeof l!=`string`?l.useLink:void 0,f=c(()=>
1{if(u(n.external))return!0;let e=u(n.to)||u(n.href)||``;return typeof e==`object`?!1:e===``||s.value}),h=c(()=>{let e=u(n.to)||u(n.href)||``;return f.value?e:m(e,r.resolve,u(n.trailingSlash))}),v=f.value?void 0:d?.({...n,to:h,viewTransition:u(n.viewTransition)}),S=c(()=>{let e=u(n.trailingSlash)??t.trailingSlash;if(!h.value||s.value||p(h.value)){let e=h.value;return typeof e==`string`?P(e):e}if(f.value){let t=typeof h.value==`object`&&`path`in h.value?g(h.value):h.value,n=typeof t==`object`?r.resolve(t).href:t,i=typeof n==`string`?P(n):n;return i===null?null:L(i,e)}return typeof h.value==`object`?r.resolve(h.value)?.href??null:L(x(i.app.baseURL,h.value),e)});return{to:h,hasTarget:o,isAbsoluteUrl:s,isExternal:f,href:S,isActive:v?.isActive??c(()=>h.value===r.currentRoute.value.path),isExactActive:v?.isExactActive??c(()=>h.value===r.currentRoute.value.path),route:v?.route??c(()=>r.resolve(h.value)),async navigate(e){S.value!==null&&await b(S.value,{replace:u(n.replace),external:f.value||o.value})}}}return d({name:f,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:S,setup(e,{slots:c}){let u=y(),{to:d,href:f,navigate:m,isExternal:_,hasTarget:b,isAbsoluteUrl:x}=S(e),C=o(!1),D=l(null),O=t=>{D.value=e.custom?t?.$el?.nextElementSibling:t?.$el};function k(n){return!!(!C.value&&(typeof e.prefetchOn==`string`?e.prefetchOn===n:e.prefetchOn?.[n]??t.prefetchOn?.[n])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!==`_blank`&&!B())}async function A(e=n()){if(C.value||f.value===null)return;C.value=!0;let t=typeof d.value==`string`?d.value:_.value?g(d.value):u.resolve(d.value).fullPath,r=_.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook(`link:prefetch`,r)?.catch(()=>{}),!_.value&&!b.value&&M(d.value,u).catch(()=>{})])}if(!e.custom&&k(`visibility`)){let e=n(),t,r=null;i(()=>{let n=R();E(()=>{t=T(()=>{D?.value?.tagName&&(r=n.observe(D.value,async()=>{r?.(),r=null,await A(e)}))})})}),s(()=>{t&&w(t),r?.(),r=null})}return()=>{let n=e.target||null,i=N(e.noRel?``:e.rel,t.externalRelAttribute,x.value||b.value?`noopener noreferrer`:``)||null,o=e=>({href:f.value,navigate:m,get route(){if(!f.value)return;let e=new URL(f.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return h(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f.value}},rel:i,target:n,isExternal:_.value||b.value,isActive:!1,isExactActive:!1,...e,prefetch:A,prefetched:C.value,shouldPrefetch:k});if(!_.value&&!b.value&&!p(d.value)){let n={ref:O,to:d.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};
1return e.custom||(k(`interaction`)&&(n.onPointerenter=A.bind(null,void 0),n.onFocus=A.bind(null,void 0)),C.value&&(n.class=e.prefetchedClass||t.prefetchedClass),n.rel=e.rel||void 0),r(a(`RouterLink`),n,e.custom&&c.default?{default:e=>c.default(o(e))}:c.default)}return e.custom?c.default?c.default(o()):null:r(`a`,{ref:D,href:f.value||null,rel:i,target:n,onClick:async t=>{if(!(_.value||b.value)){t.preventDefault();try{let t=v(f.value??``);return await(e.replace?u.replace(t):u.push(t))}finally{if(p(d.value)){let e=d.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},c.default?.())}}})}var I=F(t);function L(e,t){if(t!==`append`&&t!==`remove`)return e;let n=t===`append`?f:p;return _(e)&&!e.startsWith(`http`)?e:n(e,!0)}function R(){let e=n();if(e._observer)return e._observer;let t=null,r=new Map;return e._observer={observe:(e,n)=>(t||=new IntersectionObserver(e=>{for(let t of e){let e=r.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),r.set(e,n),t.observe(e),()=>{r.delete(e),t?.unobserve(e),r.size===0&&(t?.disconnect(),t=null)})}}var z=/2g/;function B(){let e=navigator.connection;return!!(e&&(e.saveData||z.test(e.effectiveType)))}export{M as a,j as i,B as n,A as o,R as r,I 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.