PageSourceSearch

https://sensori-sulmona.web.app/_app/immutable/chunks/DGkSXBWv.js

js sensori-sulmona.web.app collected 2026-10-03 12:35:21 UTC 28,831 bytes, 1 lines download raw bytes

1import{b1 as A,aa as U,aS as T,b6 as re,aY as kt}from"./FCc_dNMQ.js";import{w as xe}from"./Dk-LIZvV.js";import{a as Be}from"./2j6Q-QeC.js";class Le{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Ae{constructor(t,n){try{new Headers({location:n})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(n)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=n}}class Ue extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function Et(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function St(e){return e.split("%25").map(decodeURI).join("%25")}function Rt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function we({href:e}){return e.split("#")[0]}function xt(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(s,o){if(o==="get"||o==="getAll"||o==="has")return(c,...h)=>(n(c),s[o](c,...h));t();const l=Reflect.get(s,o);return typeof l=="function"?l.bind(s):l}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];r&&i.push("hash");for(const s of i)Object.defineProperty(a,s,{get(){return t(),e[s]},enumerable:!0,configurable:!0});return a}function I(){}function Lt(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function At(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const Ut=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&G.delete(Te(e)),Ut(e,t));const G=new Map;function Tt(e,t){const n=Te(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...i}=JSON.parse(r.textContent);const s=r.getAttribute("data-ttl");return s&&G.set(n,{body:a,init:i,ttl:1e3*Number(s)}),r.getAttribute("data-b64")!==null&&(a=At(a)),Promise.resolve(new Response(a,i))}return window.fetch(e,t)}function Pt(e,t,n){if(G.size>0){const r=Te(e,n),a=G.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);G.delete(r)}}return window.fetch(t,n)}function Te(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${Lt(...a)}"]`}return r}const It=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,$t=/^\/\((?:[^)]+)\)$/;function Ot(e){const t=[];return{pattern:e==="/"||$t.test(e)?/^\/$/:new RegExp(`^${Xe(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const s=r.split(/\[(.+?)\](?!\])/);return"/"+s.map((l,c)=>{if(c%2){if(l.startsWith("x+"))return ve(String.fromCharCode(parseInt(l.slice(2),16)));if(l.startsWith("u+"))return ve(String.fromCharCode(...l.slice(2).split("-").map(m=>parseInt(m,16))));const h=It.exec(l),[,p,u,f,d]=h;return t.push({name:f,matcher:d,optional:!!p,rest:!!u,chained:u?c===1&&s[0]==="":!1}),u?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return ve(l)}).join("")}).join("")}/?$`),params:t}}function Ct(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Xe(e){return e.slice(1).split("/").filter(Ct)}function jt(e,t,n){const r={},a=e.slice(1),i=a.filter(o=>o!==void 0);let s=0;for(let o=0;o<t.length;o+=1){const l=t[o];let c=a[o-s];if(l.chained&&l.rest&&s&&(c=a.slice(o-s,o+1).filter(h=>h).join("/"),s=0),c===void 0)if(l.rest)c="";else continue;if(!l.matcher||n[l.matcher](c)){r[l.name]=c;const h=t[o+1],p=a[o+1];
1h&&!h.rest&&h.optional&&p&&l.chained&&(s=0),!h&&!p&&Object.keys(r).length===i.length&&(s=0);continue}if(l.optional&&l.chained){s++;continue}return}if(!s)return r}function ve(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}const Nt=/\[(\[)?(\.\.\.)?(\w+?)(?:=(\w+))?\]\]?/g;function _n(e,t){const n=Xe(e),r=e!="/"&&e.endsWith("/");return"/"+n.map(a=>a.replace(Nt,(i,s,o,l)=>{const c=t[l];if(!c){if(s||o&&c!==void 0)return"";throw new Error(`Missing parameter '${l}' in route ${e}`)}if(c.startsWith("/")||c.endsWith("/"))throw new Error(`Parameter '${l}' in route ${e} cannot start or end with a slash -- this would cause an invalid route like foo//bar`);return c})).filter(Boolean).join("/")+(r?"/":"")}function qt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[l,c,h]])=>{const{pattern:p,params:u}=Ot(o),f={id:o,exec:d=>{const m=p.exec(d);if(m)return jt(m,u,r)},errors:[1,...h||[]].map(d=>e[d]),layouts:[0,...c||[]].map(s),leaf:i(l)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function i(o){const l=o<0;return l&&(o=~o),[l,e[o]]}function s(o){return o===void 0?o:[a.has(o),e[o]]}}function Qe(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Me(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const L=globalThis.__sveltekit_y1xmc2?.base??"",Dt=globalThis.__sveltekit_y1xmc2?.assets??L??"",Vt="1786378097814",Ze="sveltekit:snapshot",et="sveltekit:scroll",tt="sveltekit:states",Bt="sveltekit:pageurl",B="sveltekit:history",Y="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},he=location.origin;function Pe(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function D(){return{x:pageXOffset,y:pageYOffset}}function V(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const We={...q,"":q.hover};function nt(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function rt(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=nt(e)}}function ke(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!a||pe(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),s=r?.origin===he&&e.hasAttribute("download");return{url:r,external:i,target:a,download:s}}function ae(e){let t=null,n=null,r=null,a=null,i=null,s=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=V(o,"preload-code")),a===null&&(a=V(o,"preload-data")),t===null&&(t=V(o,"keepfocus")),n===null&&(n=V(o,"noscroll")),i===null&&(i=V(o,"reload")),s===null&&(s=V(o,"replacestate")),o=nt(o);function l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:We[r??"off"],preload_data:We[a??"off"],keepfocus:l(t),noscroll:l(n),reload:l(i),replace_state:l(s)}}function He(e){const t=xe(e);let n=!0;function r(){n=!0,t.update(s=>s)}function a(s){n=!1,t.set(s)}function i(s){let o;return t.subscribe(l=>{(o===void 0||n&&l!==o)&&s(o=l)})}return{notify:r,set:a,subscribe:i}}const at={v:I};function Mt(){const{set:e,subscribe:t}=xe(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Dt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const s=(await a.json()).version!==Vt;return s&&(e(!0),at.v(),clearTimeout(n)),s}catch{return!1}}return{subscribe:t,check:r}}function pe(e,t,n){return e.origin!==he||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function mn(e){}const ot=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ot];const Wt=new Set([...ot]);[...Wt];function Ht(e){return e.filter(t=>t!=null)}function te(e,t){return e+"/"+t}function Ie(e){return e instanceof Le||e instanceof Ue?e.status:500}function Kt(e){return e instanceof Ue?e.text:"Internal Error"}let S,z,ye;const Ft=Be.toString().includes("$$")||/function \w+\(\) \{\}/.test(Be.toString()),Ke="a:";Ft?(S={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(Ke)},z={current:null},ye={current:!1}):(S=new class{#e=A({});get data(){return U(this.#e)}set data(t){T(this.#e,t)}#t=A(null);get form(){return U(this.#t)}set form(t){T(this.#t,t)}#n=A(null);get error(){return U(this.#n)}set error(t){T(this.#n,t)}#r=A({});get params(){return U(this.#r)}set params(t){T(this.#r,t)}#a=A({id:null});get route(){return U(this.#a)}set route(t){T(this.#a,t)}#o=A({});get state(){return U(this.#o)}set state(t){T(this.#o,t)}#s=A(-1);get status(){return U(this.#s)}set status(t){T(this.#s,t)}#i=A(new URL(Ke));get url(){return U(this.#i)}set url(t){T(this.#i,t)}},z=new class{#e=A(null);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},ye=new class{#e=A(!1);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},at.v=()=>ye.current=!0);function st(e){Object.assign(S,e)}const Fe={spanContext(){return Gt},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},Gt={traceId:"",spanId:"",traceFlags:0},Jt=new Set(["icon","shortcut icon","apple-touch-icon"]);let K=null;const N=Qe(et)??{},X=Qe(Ze)??{},j={url:He({}),page:He({}),navigating:xe(null),updated:Mt()};function $e(e){N[e]=D()}function Yt(e,t){let n=e+1;for(;N[n];)delete N[n],n+=1;for(n=t+1;X[n];)delete X[n],n+=1}function Q(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(I)}
1async function it(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(L||"/");e&&await e.update()}}let Oe,Ee,oe,P,Se,v;const se=[],ie=[];let R=null;function le(){R?.fork?.then(e=>e?.discard()),R=null}const ne=new Map,lt=new Set,zt=new Set,J=new Set;let w={branch:[],error:null,url:null},ct=!1,ce=!1,Ge=!0,Z=!1,F=!1,ut=!1,Ce=!1,ft,y,x,C;const ue=new Set,Je=new Map,Ye=new Map;async function bn(e,t,n){globalThis.__sveltekit_y1xmc2&&(globalThis.__sveltekit_y1xmc2.query,globalThis.__sveltekit_y1xmc2.prerender),document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),Oe=qt(e),P=document.documentElement,Se=t,Ee=e.nodes[0],oe=e.nodes[1],Ee(),oe(),y=history.state?.[B],x=history.state?.[Y],y||(y=x=Date.now(),history.replaceState({...history.state,[B]:y,[Y]:x},""));const r=N[y];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await cn(Se,n)):(await M({type:"enter",url:Pe(v.hash?dn(new URL(location.href)):location.href),replace_state:!0}),a()),ln()}function Xt(){se.length=0,Ce=!1}function dt(e){ie.some(t=>t?.snapshot)&&(X[e]=ie.map(t=>t?.snapshot?.capture()))}function ht(e){X[e]?.forEach((t,n)=>{ie[n]?.snapshot?.restore(t)})}function ze(){$e(y),Me(et,N),dt(x),Me(Ze,X)}async function pt(e,t,n,r){let a,i;t.invalidateAll&&le(),await M({type:"goto",url:Pe(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{if(t.invalidateAll){Ce=!0,a=new Set;for(const[s,o]of Je)for(const l of o.keys())a.add(te(s,l));i=new Set;for(const[s,o]of Ye)for(const l of o.keys())i.add(te(s,l))}t.invalidate&&t.invalidate.forEach(sn)}}),t.invalidateAll&&re().then(re).then(()=>{for(const[s,o]of Je)for(const[l,{resource:c}]of o)a?.has(te(s,l))&&c.refresh();for(const[s,o]of Ye)for(const[l,{resource:c}]of o)i?.has(te(s,l))&&c.reconnect()})}async function Qt(e){if(e.id!==R?.id){le();const t={};ue.add(t),R={id:e.id,token:t,promise:mt({...e,preload:t}).then(n=>(ue.delete(t),n.type==="loaded"&&n.state.error&&le(),n)),fork:null}}return R.promise}async function be(e){const t=(await ge(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function gt(e,t,n){const r={params:w.params,route:{id:w.route?.id??null},url:new URL(location.href)};if(w={...e.state,nav:r},st(e.props.page),ft=new v.root({target:t,props:{...e.props,stores:j,components:ie},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),ht(x),n){const a={from:null,to:{...r,scroll:N[y]??D()},willUnload:!1,type:"enter",complete:Promise.resolve()};J.forEach(i=>i(a))}ce=!0}async function fe({url:e,params:t,branch:n,errors:r,status:a,error:i,route:s,form:o}){let l="never";if(L&&(e.pathname===L||e.pathname===L+"/"))l="always";else for(const d of n)d?.slash!==void 0&&(l=d.slash);e.pathname=Et(e.pathname,l),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:i,route:s},props:{constructors:Ht(n).map(d=>d.node.component),page:Ve(S)}};o!==void 0&&(c.props.form=o);let h={},p=!S,u=0;for(let d=0;d<Math.max(n.length,w.branch.length);d+=1){const m=n[d],_=w.branch[d];m?.data!==_?.data&&(p=!0),m&&(h={...h,...m.data},p&&(c.props[`data_${u}`]=h),u+=1)}return(!w.url||e.href!==w.url.href||w.error!==i||o!==void 0&&o!==S.form||p)&&(c.props.page={error:i,params:t,route:{id:s?.id??null},state:{},status:a,url:new URL(e),form:o??null,data:p?h:S.data}),c}async function je({loader:e,parent:t,url:n,params:r,route:a,server_data_node:i}){let s=null,o=!0;const l={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();if(c.universal?.load){let h=function(...u){for(const f of u){const{href:d}=new URL(f,n);l.dependencies.add(d)}};const p={tracing:{enabled:!1,root:Fe,current:Fe}
1,route:new Proxy(a,{get:(u,f)=>(o&&(l.route=!0),u[f])}),params:new Proxy(r,{get:(u,f)=>(o&&l.params.add(f),u[f])}),data:i?.data??null,url:xt(n,()=>{o&&(l.url=!0)},u=>{o&&l.search_params.add(u)},v.hash),async fetch(u,f){u instanceof Request&&(f={body:u.method==="GET"||u.method==="HEAD"?void 0:await u.blob(),cache:u.cache,credentials:u.credentials,headers:[...u.headers].length>0?u?.headers:void 0,integrity:u.integrity,keepalive:u.keepalive,method:u.method,mode:u.mode,redirect:u.redirect,referrer:u.referrer,referrerPolicy:u.referrerPolicy,signal:u.signal,...f});const{resolved:d,promise:m}=_t(u,f,n);return o&&h(d.href),m},setHeaders:I,depends:h,parent(){return o&&(l.parent=!0),t()},untrack(u){o=!1;try{return u()}finally{o=!0}}};s=await c.universal.load.call(null,p)??null}return{node:c,loader:e,server:i,universal:c.universal?.load?{type:"data",data:s,uses:l}:null,data:s??i?.data??null,slash:c.universal?.trailingSlash??i?.slash}}function _t(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const i=ce?Pt(r,a.href,t):Tt(r,t);return{resolved:a,promise:i}}function Zt(e,t,n,r,a,i){if(Ce)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const s of a.search_params)if(r.has(s))return!0;for(const s of a.params)if(i[s]!==w.params[s])return!0;for(const s of a.dependencies)if(se.some(o=>o(new URL(s))))return!0;return!1}function Ne(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function en(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),i=t.searchParams.getAll(r);a.every(s=>i.includes(s))&&i.every(s=>a.includes(s))&&n.delete(r)}return n}function tn({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Ve(S),constructors:[]}}}async function mt({id:e,invalidating:t,url:n,params:r,route:a,preload:i}){if(R?.id===e)return ue.delete(R.token),R.promise;const{errors:s,layouts:o,leaf:l}=a,c=[...o,l];s.forEach(_=>_?.().catch(I)),c.forEach(_=>_?.[1]().catch(I));const h=w.url?e!==de(w.url):!1,p=w.route?a.id!==w.route.id:!1,u=en(w.url,n);let f=!1;const d=c.map(async(_,g)=>{if(!_)return;const b=w.branch[g];return _[1]===b?.loader&&!Zt(f,p,h,u,b.universal?.uses,r)?b:(f=!0,je({loader:_[1],url:n,params:r,route:a,parent:async()=>{const $={};for(let O=0;O<g;O+=1)Object.assign($,(await d[O])?.data);return $},server_data_node:Ne(_[0]?{type:"skip"}:null,_[0]?b?.server:void 0)}))});for(const _ of d)_.catch(I);const m=[];for(let _=0;_<c.length;_+=1)if(c[_])try{m.push(await d[_])}catch(g){if(g instanceof Ae)return{type:"redirect",location:g.location};if(ue.has(i))return tn({error:await ee(g,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let b=Ie(g),E;if(g instanceof Le)E=g.body;else{if(await j.updated.check())return await it(),await Q(n);E=await ee(g,{params:r,url:n,route:{id:a.id}})}const $=await nn(_,m,s);return $?fe({url:n,params:r,branch:m.slice(0,$.idx).concat($.node),errors:s,status:b,error:E,route:a}):await vt(n,{id:a.id},E,b)}else m.push(void 0);return fe({url:n,params:r,branch:m,errors:s,status:200,error:null,route:a,form:t?void 0:null})}async function nn(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function qe({status:e,error:t,url:n,route:r}){const a={};let i=null;try{const s=await je({loader:Ee,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:Ne(i)}),o={node:await oe(),loader:oe,universal:null,server:null,data:null};return fe({url:n,params:a,branch:[s,o],status:e,error:t,errors:[],route:null})}catch(s){if(s instanceof Ae)return pt(new URL(s.location,location.href),{},0);throw s}}async function rn(e){const t=e.href;if(ne.has(t))return ne.get(t);let n;try{const r=(async()=>{let a=await v.hooks.reroute({url:new URL(e),fetch:async(i,s)=>_t(i,s,e).promise})??e;if(typeof a=="string"){const i=new URL(e);v.hash?i.hash=a:i.pathname=a,a=i}return a})();ne.set(t,r),n=await r}catch{ne.delete(t);return}return n}async function ge(e,t){if(e&&!pe(e,L,v.hash)){const n=await rn(e);if(!n)return;const r=an(n);for(const a of Oe){const i=a.exec(r);if(i)return{id:de(e),invalidating:t,route:a,params:Rt(i),url:e}}}}function an(e){return St(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(L.length))||"/"}function de(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function wt({url:e,type:t,intent:n,delta:r,event:a,scroll:i}){let s=!1;const o=De(w,n,e,t,i??null);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const l={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return Z||lt.forEach(c=>c(l)),s?null:o}async function M({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s={},redirect_count:o=0,nav_token:l={},accept:c=I,block:h=I,event:p}){const u=C;C=l;const f=await ge(t,!1),d=e==="enter"?De(w,f,t,e):wt({url:t,type:e,delta:n?.delta,intent:f,scroll:n?.scroll,event:p});if(!d){h(),C===l&&(C=u);return}const m=y,_=x;c(),Z=!0,ce&&d.navigation.type!=="enter"&&j.navigating.set(z.current=d.navigation);let g=f&&await mt(f);if(!g){if(pe(t,L,v.hash))return await Q(t,i);g=await vt(t,{id:null},await ee(new Ue(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=f?.url||t,C!==l)return d.reject(new Error("navigation aborted")),!1;if(g.type==="redirect"){if(o<20){await M({type:e,url:new URL(g.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s,redirect_count:o+1,nav_token:l}),d.fulfil(void 0);return}g=await qe({status:500,error:await ee(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else g.props.page.status>=400&&await j.updated.check()&&(await it(),await Q(t,i));if(Xt(),$e(m),dt(_),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),s=n?n.state:s,!n){const k=i?0:1,W={[B]:y+=k,[Y]:x+=k,[tt]:s};(i?history.replaceState:history.pushState).call(history,W,"",t),i||Yt(y,x)}const b=f&&R?.id===f.id?R.fork:null;R?.fork&&!b&&le(),R=null,g.props.page.state=s;let E;if(ce){const k=(await Promise.all(Array.from(zt,H=>H(d.navigation)))).filter(H=>typeof H=="function");if(k.length>
10){let H=function(){k.forEach(me=>{J.delete(me)})};k.push(H),k.forEach(me=>{J.add(me)})}const W=d.navigation.to;w={...g.state,nav:{params:W.params,route:W.route,url:W.url}},g.props.page&&(g.props.page.url=t);const _e=b&&await b;_e?E=_e.commit():(K=null,ft.$set(g.props),K&&Object.assign(g.props.page,K),st(g.props.page),E=kt?.()),ut=!0}else await gt(g,Se,!1);const{activeElement:$}=document;if(await E,await re(),await re(),C!==l)return d.reject(new Error("navigation aborted")),!1;g.props.page&&K&&Object.assign(g.props.page,K);let O=null;if(Ge){const k=n?n.scroll:a?D():null;k?scrollTo(k.x,k.y):(O=t.hash&&document.getElementById(yt(t)))?O.scrollIntoView():scrollTo(0,0)}const bt=document.activeElement!==$&&document.activeElement!==document.body;!r&&!bt&&fn(t,!O),Ge=!0,Z=!1,e==="popstate"&&ht(x),d.fulfil(void 0),d.navigation.to&&(d.navigation.to.scroll=D()),J.forEach(k=>k(d.navigation)),j.navigating.set(z.current=null)}async function vt(e,t,n,r,a){return e.origin===he&&e.pathname===location.pathname&&!ct?await qe({status:r,error:n,url:e,route:t}):await Q(e,a)}function on(){let e,t={element:void 0,href:void 0},n;P.addEventListener("mousemove",o=>{const l=o.target;clearTimeout(e),e=setTimeout(()=>{i(l,q.hover)},20)});function r(o){o.defaultPrevented||i(o.composedPath()[0],q.tap)}P.addEventListener("mousedown",r),P.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(o=>{for(const l of o)l.isIntersecting&&(be(new URL(l.target.href)),a.unobserve(l.target))},{threshold:0});async function i(o,l){const c=rt(o,P),h=c===t.element&&c?.href===t.href&&l>=n;if(!c||h)return;const{url:p,external:u,download:f}=ke(c,L,v.hash);if(u||f)return;const d=ae(c),m=p&&de(w.url)===de(p);if(!(d.reload||m))if(l<=d.preload_data){t={element:c,href:c.href},n=q.tap;const _=await ge(p,!1);if(!_)return;Qt(_)}else l<=d.preload_code&&(t={element:c,href:c.href},n=l,be(p))}function s(){a.disconnect();for(const o of P.querySelectorAll("a")){const{url:l,external:c,download:h}=ke(o,L,v.hash);if(c||h)continue;const p=ae(o);p.reload||(p.preload_code===q.viewport&&a.observe(o),p.preload_code===q.eager&&be(l))}}J.add(s),s()}function ee(e,t){if(e instanceof Le)return e.body;const n=Ie(e),r=Kt(e);return v.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function kn(e,t={}){return e=new URL(Pe(e)),e.origin!==he?Promise.reject(new Error("goto: invalid URL")):pt(e,t,0)}function sn(e){if(typeof e=="function")se.push(e);else{const{href:t}=new URL(e,location.href);se.push(n=>n.href===t)}}function ln(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(ze(),!Z){const r=De(w,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};lt.forEach(i=>i(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ze()}),!navigator.connection?.saveData&&!/2g/.test(navigator.connection?.effectiveType)&&on(),P.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=rt(t.composedPath()[0],P);if(!n)return;const{url:r,external:a,target:i,download:s}=ke(n,L,v.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const o=ae(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;const[c,h]=(v.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=c===we(location);if(a||o.reload&&(!p||!h)){wt({url:r,type:"link",event:t})?Z=!0:t.preventDefault();return}if(h!==void 0&&p){const[,u]=w.url.href.split("#");if(u===h){if(t.preventDefault(),h===""||h==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const f=n.ownerDocument.getElementById(decodeURIComponent(h));f&&(f.scrollIntoView(),f.focus())}return}if(F=!0,$e(y),e(r),!o.replace_state)return;F=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),await M({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),P.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const s=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(pe(s,L,!1))return;const o=t.target,l=ae(o);if(l.reload)return;t.preventDefault(),t.stopPropagation();const c=new FormData(o,r);s.search=new URLSearchParams(c).toString(),M({type:"form",url:s,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??s.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Re){if(t.state?.[B]){const n=t.state[B];if(C={},n===y)return;const r=N[n],a=t.state[tt]??{},i=new URL(t.state[Bt]??location.href),s=t.state[Y],o=w.url?we(location)===we(w.url):!1;if(s===x&&(ut||o)){a!==S.state&&(S.state=a),e(i),N[y]=D(),r&&scrollTo(r.x,r.y),y=n;return}const c=n-y;await M({type:"popstate",url:i,popped:{state:a,scroll:r,delta:c},accept:()=>{y=n,x=s},block:()=>{history.go(-c)},nav_token:C,event:t})}else if(!F){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{F&&(F=!1,history.replaceState({...history.state,[B]:++y,[Y]:x},"",location.href))});for(const t of document.querySelectorAll("link"))Jt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&j.navigating.set(z.current=null)});function e(t){w.url=S.url=t,j.page.set(Ve(S)),j.page.notify()}}async function cn(e,{status:t=200,error:n,node_ids:r,params:a,route:i,server_route:s,data:o,form:l}){ct=!0;const c=new URL(location.href);let h;({params:a={},route:i={id:null}}=await ge(c,!1)||{}),h=Oe.find(({id:f})=>
1f===i.id);let p,u=!0;try{const f=r.map(async(m,_)=>{const g=o[_];return g?.uses&&(g.uses=un(g.uses)),je({loader:v.nodes[m],url:c,params:a,route:i,parent:async()=>{const b={};for(let E=0;E<_;E+=1)Object.assign(b,(await f[E]).data);return b},server_data_node:Ne(g)})}),d=await Promise.all(f);if(h){const m=h.layouts;for(let _=0;_<m.length;_++)m[_]||d.splice(_,0,void 0)}p=await fe({url:c,params:a,branch:d,status:t,error:n,errors:h?.errors,form:l,route:h??null})}catch(f){if(f instanceof Ae){await Q(new URL(f.location,location.href));return}p=await qe({status:Ie(f),error:await ee(f,{url:c,params:a,route:i}),url:c,route:i}),e.textContent="",u=!1}p.props.page&&(p.props.page.state={}),await gt(p,e,u)}function un(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Re=!1;function fn(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=yt(e);if(r&&document.getElementById(r)){const{x:i,y:s}=D();setTimeout(()=>{const o=history.state;Re=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(i,s),Re=!1})}else{const i=document.body,s=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),s!==null?i.setAttribute("tabindex",s):i.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const i=[];for(let s=0;s<a.rangeCount;s+=1)i.push(a.getRangeAt(s));setTimeout(()=>{if(a.rangeCount===i.length){for(let s=0;s<a.rangeCount;s+=1){const o=i[s],l=a.getRangeAt(s);if(o.commonAncestorContainer!==l.commonAncestorContainer||o.startContainer!==l.startContainer||o.endContainer!==l.endContainer||o.startOffset!==l.startOffset||o.endOffset!==l.endOffset)return}a.removeAllRanges()}})}}}function De(e,t,n,r,a=null){let i,s;const o=new Promise((c,h)=>{i=c,s=h});return o.catch(I),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:D()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:o},fulfil:i,reject:s}}function Ve(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function dn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function yt(e){let t;if(v.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{Ae as R,j as a,L as b,kn as g,mn as l,S as p,_n as r,bn as s};

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.