PageSourceSearch

https://www.denner.ch/_nuxt/BRLu3tRO.js

js denner.ch collected 2026-10-01 11:50:53 UTC 7,356 bytes, 1 lines download raw bytes

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