1import{c as e,h as t,s as n}from"./BXB4Biby.js";import{B as r,On as i,St as a,ct as o,g as s,it as c,k as l,vn as u,xn as d}from"./B8D2lM98.js";import"./rxhDcyfF.js";import{d as f,l as p,p as m,u as h}from"./D76jK8H9.js";import{c as g,h as _,i as v,l as y,o as b,v as x}from"./0cZM9QsX.js";import{c as S,n as C,o as w,r as T,t as E}from"./3ZfZ242W.js";var D={scrollBehavior(e,t,r){let i=n(),a=m(),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:w(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=m()){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&&b(t.slice(0,n+1))?null:e}function F(t){let _=t.componentName||`NuxtLink`;function b(e){return typeof e==`string`&&e.startsWith(`#`)}function x(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=m(),o=e(),c=s(()=>!!i(n.target)&&i(n.target)!==`_self`),l=s(()=>{let e=i(n.to)||i(n.href)||``;return typeof e==`string`&&v(e,{acceptRelative:!0})}),u=a(`RouterLink`),d=u&&typeof u!=`string`?u.useLink:void 0,p=s(()=>
1{if(i(n.external))return!0;let e=i(n.to)||i(n.href)||``;return typeof e==`object`?!1:e===``||l.value}),_=s(()=>{let e=i(n.to)||i(n.href)||``;return p.value?e:x(e,r.resolve,i(n.trailingSlash))}),y=p.value?void 0:d?.({...n,to:_,viewTransition:i(n.viewTransition)}),S=s(()=>{let e=i(n.trailingSlash)??t.trailingSlash;if(!_.value||l.value||b(_.value)){let e=_.value;return typeof e==`string`?P(e):e}if(p.value){let t=typeof _.value==`object`&&`path`in _.value?f(_.value):_.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 _.value==`object`?r.resolve(_.value)?.href??null:L(g(o.app.baseURL,_.value),e)});return{to:_,hasTarget:c,isAbsoluteUrl:l,isExternal:p,href:S,isActive:y?.isActive??s(()=>_.value===r.currentRoute.value.path),isExactActive:y?.isExactActive??s(()=>_.value===r.currentRoute.value.path),route:y?.route??s(()=>r.resolve(_.value)),async navigate(e){S.value!==null&&await h(S.value,{replace:i(n.replace),external:p.value||c.value})}}}return l({name:_,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:i}){let s=m(),{to:l,href:h,navigate:g,isExternal:_,hasTarget:v,isAbsoluteUrl:x}=S(e),w=d(!1),D=u(null),O=t=>{D.value=e.custom?t?.$el?.nextElementSibling:t?.$el};function k(n){return!!(!w.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(w.value||h.value===null)return;w.value=!0;let t=typeof l.value==`string`?l.value:_.value?f(l.value):s.resolve(l.value).fullPath,r=_.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook(`link:prefetch`,r)?.catch(()=>{}),!_.value&&!v.value&&M(l.value,s).catch(()=>{})])}if(!e.custom&&k(`visibility`)){let e=n(),t,r=null;o(()=>{let n=R();E(()=>{t=T(()=>{D?.value?.tagName&&(r=n.observe(D.value,async()=>{r?.(),r=null,await A(e)}))})})}),c(()=>{t&&C(t),r?.(),r=null})}return()=>{let n=e.target||null,o=N(e.noRel?``:e.rel,t.externalRelAttribute,x.value||v.value?`noopener noreferrer`:``)||null,c=e=>({href:h.value,navigate:g,get route(){if(!h.value)return;let e=new URL(h.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return y(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h.value}},rel:o,target:n,isExternal:_.value||v.value,isActive:!1,isExactActive:!1,...e,prefetch:A,prefetched:w.value,shouldPrefetch:k});if(!_.value&&!v.value&&!b(l.value)){let n={ref:O,to:l.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)),w.value&&(n.class=e.prefetchedClass||t.prefetchedClass),n.rel=e.rel||void 0),r(a(`RouterLink`),n,e.custom&&i.default?{default:e=>i.default(c(e))}:i.default)}return e.custom?i.default?i.default(c()):null:r(`a`,{ref:D,href:h.value||null,rel:o,target:n,onClick:async t=>{if(!(_.value||v.value)){t.preventDefault();try{let t=p(h.value??``);return await(e.replace?s.replace(t):s.push(t))}finally{if(b(l.value)){let e=l.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},i.default?.())}}})}var I=F(t);function L(e,t){if(t!==`append`&&t!==`remove`)return e;let n=t===`append`?_:x;return v(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.