PageSourceSearch

https://guidemaker.com/_app/immutable/chunks/ByNQtxPR.js

js guidemaker.com collected 2026-10-01 16:36:15 UTC 32,505 bytes, 3 lines download raw bytes

1import{bd as P,g as C,s as O,a9 as ne,bm as wt}from"./Cj7MV4ts.js";import{w as Re,o as $e}from"./DVRDrhBX.js";class ue{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 Ie{constructor(t,n){this.status=t,this.location=n}}class Te extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function yt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function vt(e){return e.split("%25").map(decodeURI).join("%25")}function bt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function _e({href:e}){return e.split("#")[0]}function kt(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(o,c){if(c==="get"||c==="getAll"||c==="has")return(l,...d)=>(n(l),o[c](l,...d));t();const s=Reflect.get(o,c);return typeof s=="function"?s.bind(o):s}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];r&&i.push("hash");for(const o of i)Object.defineProperty(a,o,{get(){return t(),e[o]},enumerable:!0,configurable:!0});return a}function Et(...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;const At=new TextDecoder;function St(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 Rt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&W.delete(Ue(e)),Rt(e,t));const W=new Map;function It(e,t){const n=Ue(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...i}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&W.set(n,{body:a,init:i,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=St(a)),Promise.resolve(new Response(a,i))}return window.fetch(e,t)}function Tt(e,t,n){if(W.size>0){const r=Ue(e,n),a=W.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);W.delete(r)}}return window.fetch(t,n)}function Ue(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="${Et(...a)}"]`}return r}const Ut=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Lt(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Pt(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 o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((s,l)=>{if(l%2){if(s.startsWith("x+"))return we(String.fromCharCode(parseInt(s.slice(2),16)));if(s.startsWith("u+"))return we(String.fromCharCode(...s.slice(2).split("-").map(_=>parseInt(_,16))));const d=Ut.exec(s),[,h,p,f,u]=d;return t.push({name:f,matcher:u,optional:!!h,rest:!!p,chained:p?l===1&&o[0]==="":!1}),p?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}return we(s)}).join("")}).join("")}/?$`),params:t}}function xt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Pt(e){return e.slice(1).split("/").filter(xt)}function Ct(e,t,n){const r={},a=e.slice(1),i=a.filter(c=>c!==void 0);let o=0;for(let c=0;c<t.length;c+=1){const s=t[c];let l=a[c-o];if(s.chained&&s.rest&&o&&(l=a.slice(c-o,c+1).filter(d=>d).join("/"),o=0),l===void 0)if(s.rest)l="";else continue;if(!s.matcher||n[s.matcher](l)){r[s.name]=l;const d=t[c+1],h=a[c+1];d&&!d.rest&&d.optional&&h&&s.chained&&(o=0),!d&&!h&&Object.keys(r).length===i.length&&(o=0);continue}if(s.optional&&s.chained){o++;continue}return}if(!o)return r}function we(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ot({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([c,[s,l,d]])=>{const{pattern:h,params:p}=Lt(c),f={id:c,exec:u=>{const _=h.exec(u);if(_)return Ct(_,p,r)},errors:[1,...d||[]].map(u=>e[u]),layouts:[0,...l||[]].map(o),leaf:i(s)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function i(c){const s=c<0;return s&&(c=~c),[s,e[c]]}function o(c){return c===void 0?c:[a.has(c),e[c]]}}function Je(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Be(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const T=globalThis.__sveltekit_ox3xbp?.base??"",Nt=globalThis.__sveltekit_ox3xbp?.assets??T??"",jt="1782406114578",ze="sveltekit:snapsh
1ot",Xe="sveltekit:scroll",Ze="sveltekit:states",Dt="sveltekit:pageurl",q="sveltekit:history",X="sveltekit:navigation",B={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},de=location.origin;function Qe(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 V(){return{x:pageXOffset,y:pageYOffset}}function M(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Fe={...B,"":B.hover};function et(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function tt(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=et(e)}}function be(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 c=location.hash.split("#")[1]||"/";r.hash=`#${c}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!a||he(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=r?.origin===de&&e.hasAttribute("download");return{url:r,external:i,target:a,download:o}}function re(e){let t=null,n=null,r=null,a=null,i=null,o=null,c=e;for(;c&&c!==document.documentElement;)r===null&&(r=M(c,"preload-code")),a===null&&(a=M(c,"preload-data")),t===null&&(t=M(c,"keepfocus")),n===null&&(n=M(c,"noscroll")),i===null&&(i=M(c,"reload")),o===null&&(o=M(c,"replacestate")),c=et(c);function s(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Fe[r??"off"],preload_data:Fe[a??"off"],keepfocus:s(t),noscroll:s(n),reload:s(i),replace_state:s(o)}}function Ve(e){const t=Re(e);let n=!0;function r(){n=!0,t.update(o=>o)}function a(o){n=!1,t.set(o)}function i(o){let c;return t.subscribe(s=>{(c===void 0||n&&s!==c)&&o(c=s)})}return{notify:r,set:a,subscribe:i}}const nt={v:()=>{}};function $t(){const{set:e,subscribe:t}=Re(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Nt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==jt;return o&&(e(!0),nt.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:r}}function he(e,t,n){return e.origin!==de||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function Rn(e){}function Bt(e){const t=Vt(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let a=0;a<n.byteLength;a++)r.setUint8(a,t.charCodeAt(a));return n}const Ft="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Vt(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let a=0;a<e.length;a++)n<<=6,n|=Ft.indexOf(e[a]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const Mt=-1,qt=-2,Gt=-3,Ht=-4,Kt=-5,Yt=-6,Wt=-7;function Jt(e,t){if(typeof e=="number")return i(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let a=null;function i(o,c=!1){if(o===Mt)return;if(o===Gt)return NaN;if(o===Ht)return 1/0;if(o===Kt)return-1/0;if(o===Yt)return-0;if(c||typeof o!="number")throw new Error("Invalid input");if(o in r)return r[o];const s=n[o];if(!s||typeof s!="object")r[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const l=s[0],d=t&&Object.hasOwn(t,l)?t[l]:void 0;if(d){let h=s[1];
1if(typeof h!="number"&&(h=n.push(s[1])-1),a??=new Set,a.has(h))throw new Error("Invalid circular reference");return a.add(h),r[o]=d(i(h)),a.delete(h),r[o]}switch(l){case"Date":r[o]=new Date(s[1]);break;case"Set":const h=new Set;r[o]=h;for(let u=1;u<s.length;u+=1)h.add(i(s[u]));break;case"Map":const p=new Map;r[o]=p;for(let u=1;u<s.length;u+=2)p.set(i(s[u]),i(s[u+1]));break;case"RegExp":r[o]=new RegExp(s[1],s[2]);break;case"Object":r[o]=Object(s[1]);break;case"BigInt":r[o]=BigInt(s[1]);break;case"null":const f=Object.create(null);r[o]=f;for(let u=1;u<s.length;u+=2)f[s[u]]=i(s[u+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{if(n[s[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const u=globalThis[l],_=i(s[1]),b=new u(_);r[o]=s[2]!==void 0?b.subarray(s[2],s[3]):b;break}case"ArrayBuffer":{const u=s[1];if(typeof u!="string")throw new Error("Invalid ArrayBuffer encoding");const _=Bt(u);r[o]=_;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const u=l.slice(9);r[o]=Temporal[u].from(s[1]);break}case"URL":{const u=new URL(s[1]);r[o]=u;break}case"URLSearchParams":{const u=new URLSearchParams(s[1]);r[o]=u;break}default:throw new Error(`Unknown type ${l}`)}}else if(s[0]===Wt){const l=s[1],d=new Array(l);r[o]=d;for(let h=2;h<s.length;h+=2){const p=s[h];d[p]=i(s[h+1])}}else{const l=new Array(s.length);r[o]=l;for(let d=0;d<s.length;d+=1){const h=s[d];h!==qt&&(l[d]=i(h))}}else{const l={};r[o]=l;for(const d of Object.keys(s)){if(d==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const h=s[d];l[d]=i(h)}}return r[o]}return i(0)}const rt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...rt];const zt=new Set([...rt]);[...zt];function Xt(e){return e.filter(t=>t!=null)}const Zt="x-sveltekit-invalidated",Qt="x-sveltekit-trailing-slash";function ae(e){return e instanceof ue||e instanceof Te?e.status:500}function en(e){return e instanceof Te?e.text:"Internal Error"}let R,Z,ye;const tn=$e.toString().includes("$$")||/function \w+\(\) \{\}/.test($e.toString());tn?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},Z={current:null},ye={current:!1}):(R=new class{#e=P({});get data(){return C(this.#e)}set data(t){O(this.#e,t)}#t=P(null);get form(){return C(this.#t)}set form(t){O(this.#t,t)}#n=P(null);get error(){return C(this.#n)}set error(t){O(this.#n,t)}#r=P({});get params(){return C(this.#r)}set params(t){O(this.#r,t)}#a=P({id:null});get route(){return C(this.#a)}set route(t){O(this.#a,t)}#o=P({});get state(){return C(this.#o)}set state(t){O(this.#o,t)}#s=P(-1);get status(){return C(this.#s)}set status(t){O(this.#s,t)}#i=P(new URL("https://example.com"));get url(){return C(this.#i)}set url(t){O(this.#i,t)}},Z=new class{#e=P(null);get current(){return C(this.#e)}set current(t){O(this.#e,t)}},ye=new class{#e=P(!1);get current(){return C(this.#e)}set current(t){O(this.#e,t)}},nt.v=()=>ye.current=!0);function nn(e){Object.assign(R,e)}const rn="/__data.json",an=".html__data.json";function on(e){return e.endsWith(".html")?e.replace(/\.html$/,an):e.replace(/\/$/,"")+rn}const Me={spanContext(){return sn},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}},sn={traceId:"",spanId:"",traceFlags:0},cn=new Set(["icon","shortcut icon","apple-touch-icon"]),$=Je(Xe)??{},Q=Je(ze)??{},D={url:Ve({}),page:Ve({}),navigating:Re(null),updated:$t()};function Le(e){$[e]=V()}function ln(e,t){let n=e+1;for(;$[n];)delete $[n],n+=1;for(n=t+1;Q[n];)delete Q[n],n+=1}function K(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}
1async function at(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(T||"/");e&&await e.update()}}function qe(){}let xe,ke,oe,N,Ee,k;const se=[],ie=[];let L=null;function Ae(){L?.fork?.then(e=>e?.discard()),L=null}const te=new Map,ot=new Set,fn=new Set,J=new Set;let w={branch:[],error:null,url:null},Pe=!1,ce=!1,Ge=!0,ee=!1,Y=!1,st=!1,Ce=!1,it,S,I,F;const z=new Set,He=new Map;async function Ln(e,t,n){globalThis.__sveltekit_ox3xbp?.data&&globalThis.__sveltekit_ox3xbp.data,document.URL!==location.href&&(location.href=location.href),k=e,await e.hooks.init?.(),xe=Ot(e),N=document.documentElement,Ee=t,ke=e.nodes[0],oe=e.nodes[1],ke(),oe(),S=history.state?.[q],I=history.state?.[X],S||(S=I=Date.now(),history.replaceState({...history.state,[q]:S,[X]:I},""));const r=$[S];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await bn(Ee,n)):(await G({type:"enter",url:Qe(k.hash?En(new URL(location.href)):location.href),replace_state:!0}),a()),vn()}function un(){se.length=0,Ce=!1}function ct(e){ie.some(t=>t?.snapshot)&&(Q[e]=ie.map(t=>t?.snapshot?.capture()))}function lt(e){Q[e]?.forEach((t,n)=>{ie[n]?.snapshot?.restore(t)})}function Ke(){Le(S),Be(Xe,$),ct(I),Be(ze,Q)}async function dn(e,t,n,r){let a;t.invalidateAll&&Ae(),await G({type:"goto",url:Qe(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(Ce=!0,a=[...He.keys()]),t.invalidate&&t.invalidate.forEach(yn)}}),t.invalidateAll&&ne().then(ne).then(()=>{He.forEach(({resource:i},o)=>{a?.includes(o)&&i.refresh?.()})})}async function hn(e){if(e.id!==L?.id){Ae();const t={};z.add(t),L={id:e.id,token:t,promise:dt({...e,preload:t}).then(n=>(z.delete(t),n.type==="loaded"&&n.state.error&&Ae(),n)),fork:null}}return L.promise}async function ve(e){const t=(await ge(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function ft(e,t,n){w=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,e.props.page),it=new k.root({target:t,props:{...e.props,stores:D,components:ie},hydrate:n,sync:!1}),await Promise.resolve(),lt(I),n){const a={from:null,to:{params:w.params,route:{id:w.route?.id??null},url:new URL(location.href),scroll:$[S]??V()},willUnload:!1,type:"enter",complete:Promise.resolve()};J.forEach(i=>i(a))}ce=!0}function le({url:e,params:t,branch:n,status:r,error:a,route:i,form:o}){let c="never";if(T&&(e.pathname===T||e.pathname===T+"/"))c="always";else for(const f of n)f?.slash!==void 0&&(c=f.slash);e.pathname=yt(e.pathname,c),e.search=e.search;const s={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:i},props:{constructors:Xt(n).map(f=>f.node.component),page:De(R)}};o!==void 0&&(s.props.form=o);let l={},d=!R,h=0;for(let f=0;f<Math.max(n.length,w.branch.length);f+=1){const u=n[f],_=w.branch[f];u?.data!==_?.data&&(d=!0),u&&(l={...l,...u.data},d&&(s.props[`data_${h}`]=l),h+=1)}return(!w.url||e.href!==w.url.href||w.error!==a||o!==void 0&&o!==R.form||d)&&(s.props.page={error:a,params:t,route:{id:i?.id??null},state:{},status:r,url:new URL(e),form:o??null,data:d?l:R.data}),s}async function Oe({loader:e,parent:t,url:n,params:r,route:a,server_data_node:i}){let o=null,c=!0;
1const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await e();if(l.universal?.load){let d=function(...p){for(const f of p){const{href:u}=new URL(f,n);s.dependencies.add(u)}};const h={tracing:{enabled:!1,root:Me,current:Me},route:new Proxy(a,{get:(p,f)=>(c&&(s.route=!0),p[f])}),params:new Proxy(r,{get:(p,f)=>(c&&s.params.add(f),p[f])}),data:i?.data??null,url:kt(n,()=>{c&&(s.url=!0)},p=>{c&&s.search_params.add(p)},k.hash),async fetch(p,f){p instanceof Request&&(f={body:p.method==="GET"||p.method==="HEAD"?void 0:await p.blob(),cache:p.cache,credentials:p.credentials,headers:[...p.headers].length>0?p?.headers:void 0,integrity:p.integrity,keepalive:p.keepalive,method:p.method,mode:p.mode,redirect:p.redirect,referrer:p.referrer,referrerPolicy:p.referrerPolicy,signal:p.signal,...f});const{resolved:u,promise:_}=ut(p,f,n);return c&&d(u.href),_},setHeaders:()=>{},depends:d,parent(){return c&&(s.parent=!0),t()},untrack(p){c=!1;try{return p()}finally{c=!0}}};o=await l.universal.load.call(null,h)??null}return{node:l,loader:e,server:i,universal:l.universal?.load?{type:"data",data:o,uses:s}:null,data:o??i?.data??null,slash:l.universal?.trailingSlash??i?.slash}}function ut(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?Tt(r,a.href,t):It(r,t);return{resolved:a,promise:i}}function Ye(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 o of a.search_params)if(r.has(o))return!0;for(const o of a.params)if(i[o]!==w.params[o])return!0;for(const o of a.dependencies)if(se.some(c=>c(new URL(o))))return!0;return!1}function Ne(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function pn(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(o=>i.includes(o))&&i.every(o=>a.includes(o))&&n.delete(r)}return n}function We({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:De(R),constructors:[]}}}async function dt({id:e,invalidating:t,url:n,params:r,route:a,preload:i}){if(L?.id===e)return z.delete(L.token),L.promise;const{errors:o,layouts:c,leaf:s}=a,l=[...c,s];o.forEach(m=>m?.().catch(()=>{})),l.forEach(m=>m?.[1]().catch(()=>{}));let d=null;const h=w.url?e!==fe(w.url):!1,p=w.route?a.id!==w.route.id:!1,f=pn(w.url,n);let u=!1;{const m=l.map((y,E)=>{const A=w.branch[E],v=!!y?.[0]&&(A?.loader!==y[1]||Ye(u,p,h,f,A.server?.uses,r));return v&&(u=!0),v});if(m.some(Boolean)){try{d=await gt(n,m)}catch(y){const E=await H(y,{url:n,params:r,route:{id:e}});return z.has(i)?We({error:E,url:n,params:r,route:a}):pe({status:ae(y),error:E,url:n,route:a})}if(d.type==="redirect")return d}}const _=d?.nodes;let b=!1;const g=l.map(async(m,y)=>{if(!m)return;const E=w.branch[y],A=_?.[y];if((!A||A.type==="skip")&&m[1]===E?.loader&&!Ye(b,p,h,f,E.universal?.uses,r))return E;if(b=!0,A?.type==="error")throw A;return Oe({loader:m[1],url:n,params:r,route:a,parent:async()=>{const j={};for(let x=0;x<y;x+=1)Object.assign(j,(await g[x])?.data);return j},server_data_node:Ne(A===void 0&&m[0]?{type:"skip"}:A??null,m[0]?E?.server:void 0)})});for(const m of g)m.catch(()=>{});const U=[];for(let m=0;m<l.length;m+=1)if(l[m])try{U.push(await g[m])}catch(y){if(y instanceof Ie)return{type:"redirect",location:y.location};if(z.has(i))return We({error:await H(y,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let E=ae(y),A;if(_?.includes(y))E=y.status??E,A=y.error;else if(y instanceof ue)A=y.body;else{if(await D.updated.check())return await at(),await K(n);A=await H(y,{params:r,url:n,route:{id:a.id}})}const v=await gn(m,U,o);return v?le({url:n,params:r,branch:U.slice(0,v.idx).concat(v.node),status:E,error:A,route:a}):await pt(n,{id:a.id},A,E)}else U.push(void 0);return le({url:n,params:r,branch:U,status:200,error:null,route:a,form:t?void 0:null})}async function gn(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 pe({status:e,error:t,url:n,route:r}){const a={};let i=null;if(k.server_loads[0]===0)try{const c=await gt(n,[!0]);if(c.type!=="data"||c.nodes[0]&&c.nodes[0].type!=="data")throw 0;i=c.nodes[0]??null}catch{(n.origin!==de||n.pathname!==location.pathname||Pe)&&await K(n)}try{const o=await Oe({loader:ke,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:Ne(i)}),c={node:await oe(),loader:oe,universal:null,server:null,data:null};return le({url:n,params:a,branch:[o,c],status:e,error:t,route:null})}catch(o){if(o instanceof Ie)return dn(new URL(o.location,location.href),{},0);throw o}}async function mn(e){const t=e.href;if(te.has(t))return te.get(t);let n;try{const r=(async()=>
1{let a=await k.hooks.reroute({url:new URL(e),fetch:async(i,o)=>ut(i,o,e).promise})??e;if(typeof a=="string"){const i=new URL(e);k.hash?i.hash=a:i.pathname=a,a=i}return a})();te.set(t,r),n=await r}catch{te.delete(t);return}return n}async function ge(e,t){if(e&&!he(e,T,k.hash)){const n=await mn(e);if(!n)return;const r=_n(n);for(const a of xe){const i=a.exec(r);if(i)return{id:fe(e),invalidating:t,route:a,params:bt(i),url:e}}}}function _n(e){return vt(k.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(T.length))||"/"}function fe(e){return(k.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function ht({url:e,type:t,intent:n,delta:r,event:a,scroll:i}){let o=!1;const c=je(w,n,e,t,i??null);r!==void 0&&(c.navigation.delta=r),a!==void 0&&(c.navigation.event=a);const s={...c.navigation,cancel:()=>{o=!0,c.reject(new Error("navigation cancelled"))}};return ee||ot.forEach(l=>l(s)),o?null:c}async function G({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:i,state:o={},redirect_count:c=0,nav_token:s={},accept:l=qe,block:d=qe,event:h}){const p=F;F=s;const f=await ge(t,!1),u=e==="enter"?je(w,f,t,e):ht({url:t,type:e,delta:n?.delta,intent:f,scroll:n?.scroll,event:h});if(!u){d(),F===s&&(F=p);return}const _=S,b=I;l(),ee=!0,ce&&u.navigation.type!=="enter"&&D.navigating.set(Z.current=u.navigation);let g=f&&await dt(f);if(!g){if(he(t,T,k.hash))return await K(t,i);g=await pt(t,{id:null},await H(new Te(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=f?.url||t,F!==s)return u.reject(new Error("navigation aborted")),!1;if(g.type==="redirect"){if(c<20){await G({type:e,url:new URL(g.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:i,state:o,redirect_count:c+1,nav_token:s}),u.fulfil(void 0);return}g=await pe({status:500,error:await H(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else g.props.page.status>=400&&await D.updated.check()&&(await at(),await K(t,i));if(un(),Le(_),ct(b),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),o=n?n.state:o,!n){const v=i?0:1,j={[q]:S+=v,[X]:I+=v,[Ze]:o};(i?history.replaceState:history.pushState).call(history,j,"",t),i||ln(S,I)}const U=f&&L?.id===f.id?L.fork:null;L=null,g.props.page.state=o;let m;if(ce){const v=(await Promise.all(Array.from(fn,x=>x(u.navigation)))).filter(x=>typeof x=="function");if(v.length>0){let x=function(){v.forEach(me=>{J.delete(me)})};v.push(x),v.forEach(me=>{J.add(me)})}w=g.state,g.props.page&&(g.props.page.url=t);const j=U&&await U;j?m=j.commit():(it.$set(g.props),nn(g.props.page),m=wt?.()),st=!0}else await ft(g,Ee,!1);const{activeElement:y}=document;await m,await ne(),await ne();let E=null;if(Ge){const v=n?n.scroll:a?V():null;v?scrollTo(v.x,v.y):(E=t.hash&&document.getElementById(_t(t)))?E.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==y&&document.activeElement!==document.body;!r&&!A&&kn(t,!E),Ge=!0,g.props.page&&Object.assign(R,g.props.page),ee=!1,e==="popstate"&&lt(I),u.fulfil(void 0),u.navigation.to&&(u.navigation.to.scroll=V()),J.forEach(v=>v(u.navigation)),D.navigating.set(Z.current=null)}async function pt(e,t,n,r,a){return e.origin===de&&e.pathname===location.pathname&&!Pe?await pe({status:r,error:n,url:e,route:t}):await K(e,a)}function wn(){let e,t={element:void 0,href:void 0},n;N.addEventListener("mousemove",c=>{const s=c.target;clearTimeout(e),e=setTimeout(()=>{i(s,B.hover)},20)});function r(c){c.defaultPrevented||i(c.composedPath()[0],B.tap)}N.addEventListener("mousedown",r),N.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(c=>{for(const s of c)s.isIntersecting&&(ve(new URL(s.target.href)),a.unobserve(s.target))},{threshold:0});async function i(c,s){const l=tt(c,N),d=l===t.element&&l?.href===t.href&&s>=n;if(!l||d)return;const{url:h,external:p,download:f}=be(l,T,k.hash);if(p||f)return;const u=re(l),_=h&&fe(w.url)===fe(h);if(!(u.reload||_))if(s<=u.preload_data){t={element:l,href:l.href},n=B.tap;const b=await ge(h,!1);if(!b)return;hn(b)}else s<=u.preload_code&&(t={element:l,href:l.href},n=s,ve(h))}function o(){a.disconnect();for(const c of N.querySelectorAll("a")){const{url:s,external:l,download:d}=be(c,T,k.hash);if(l||d)continue;const h=re(c);h.reload||(h.preload_code===B.viewport&&a.observe(c),h.preload_code===B.eager&&ve(s))}}J.add(o),o()}function H(e,t){if(e instanceof ue)return e.body;const n=ae(e),r=en(e);return k.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function yn(e){if(typeof e=="function")se.push(e);else{const{href:t}=new URL(e,location.href);se.push(n=>n.href===t)}}function vn(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Ke(),!ee){const r=je(w,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};ot.forEach(i=>
1i(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ke()}),navigator.connection?.saveData||wn(),N.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=tt(t.composedPath()[0],N);if(!n)return;const{url:r,external:a,target:i,download:o}=be(n,T,k.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=re(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||o)return;const[l,d]=(k.hash?r.hash.replace(/^#/,""):r.href).split("#"),h=l===_e(location);if(a||c.reload&&(!h||!d)){ht({url:r,type:"link",event:t})?ee=!0:t.preventDefault();return}if(d!==void 0&&h){const[,p]=w.url.href.split("#");if(p===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const f=n.ownerDocument.getElementById(decodeURIComponent(d));f&&(f.scrollIntoView(),f.focus())}return}if(Y=!0,Le(S),e(r),!c.replace_state)return;Y=!1}t.preventDefault(),await new Promise(p=>{requestAnimationFrame(()=>{setTimeout(p,0)}),setTimeout(p,100)}),await G({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href,event:t})}),N.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 o=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(he(o,T,!1))return;const c=t.target,s=re(c);if(s.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(c,r);o.search=new URLSearchParams(l).toString(),G({type:"form",url:o,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Se){if(t.state?.[q]){const n=t.state[q];if(F={},n===S)return;const r=$[n],a=t.state[Ze]??{},i=new URL(t.state[Dt]??location.href),o=t.state[X],c=w.url?_e(location)===_e(w.url):!1;if(o===I&&(st||c)){a!==R.state&&(R.state=a),e(i),$[S]=V(),r&&scrollTo(r.x,r.y),S=n;return}const l=n-S;await G({type:"popstate",url:i,popped:{state:a,scroll:r,delta:l},accept:()=>{S=n,I=o},block:()=>{history.go(-l)},nav_token:F,event:t})}else if(!Y){const n=new URL(location.href);e(n),k.hash&&location.reload()}}}),addEventListener("hashchange",()=>{Y&&(Y=!1,history.replaceState({...history.state,[q]:++S,[X]:I},"",location.href))});for(const t of document.querySelectorAll("link"))cn.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&D.navigating.set(Z.current=null)});function e(t){w.url=R.url=t,D.page.set(De(R)),D.page.notify()}}async function bn(e,{status:t=200,error:n,node_ids:r,params:a,route:i,server_route:o,data:c,form:s}){Pe=!0;const l=new URL(location.href);let d;({params:a={},route:i={id:null}}=await ge(l,!1)||{}),d=xe.find(({id:f})=>f===i.id);let h,p=!0;try{const f=r.map(async(_,b)=>{const g=c[b];return g?.uses&&(g.uses=mt(g.uses)),Oe({loader:k.nodes[_],url:l,params:a,route:i,parent:async()=>{const U={};for(let m=0;m<b;m+=1)Object.assign(U,(await f[m]).data);return U},server_data_node:Ne(g)})}),u=await Promise.all(f);if(d){const _=d.layouts;for(let b=0;b<_.length;b++)_[b]||u.splice(b,0,void 0)}h=le({url:l,params:a,branch:u,status:t,error:n,form:s,route:d??null})}catch(f){if(f instanceof Ie){await K(new URL(f.location,location.href));return}h=await pe({status:ae(f),error:await H(f,{url:l,params:a,route:i}),url:l,route:i}),e.textContent="",p=!1}h.props.page&&(h.props.page.state={}),await ft(h,e,p)}async function gt(e,t){const n=new URL(e);n.pathname=on(e.pathname),e.pathname.endsWith("/")&&n.searchParams.append(Qt,"1"),n.searchParams.append(Zt,t.map(i=>i?"1":"0").join(""));const r=window.fetch,a=await r(n.href,{});if(!a.ok){let i;throw a.headers.get("content-type")?.includes("application/json")?i=await a.json():a.status===404?i="Not Found":a.status===500&&(i="Internal Error"),new ue(a.status,i)}return new Promise(async i=>{const o=new Map,c=a.body.getReader();function s(d){return Jt(d,{...k.decoders,Promise:h=>new Promise((p,f)=>{o.set(h,{fulfil:p,reject:f})})})}let l="";for(;;){const{done:d,value:h}=await c.read();if(d&&!l)break;for(l+=!h&&l?`
2`:At.decode(h,{stream:!0});;){const p=l.indexOf(`
3`);if(p===-1)break;const f=JSON.parse(l.slice(0,p));if(l=l.slice(p+1),f.type==="redirect")return i(f);if(f.type==="data")f.nodes?.forEach(u=>{u?.type==="data"&&(u.uses=mt(u.uses),u.data=s(u.data))}),i(f);else if(f.type==="chunk"){const{id:u,data:_,error:b}=f,g=o.get(u);o.delete(u),b?g.reject(s(b)):g.fulfil(s(_))}}}})}function mt(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 Se=!1;function kn(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=_t(e);if(r&&document.getElementById(r)){const{x:i,y:o}=V();setTimeout(()=>{const c=history.state;Se=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(c,"",e),t&&scrollTo(i,o),Se=!1})}else{const i=document.body,o=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),o!==null?i.setAttribute("tabindex",o):i.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const i=[];for(let o=0;o<a.rangeCount;o+=1)i.push(a.getRangeAt(o));setTimeout(()=>{if(a.rangeCount===i.length){for(let o=0;o<a.rangeCount;o+=1){const c=i[o],s=a.getRangeAt(o);if(c.commonAncestorContainer!==s.commonAncestorContainer||c.startContainer!==s.startContainer||c.endContainer!==s.endContainer||c.startOffset!==s.startOffset||c.endOffset!==s.endOffset)return}a.removeAllRanges()}})}}}function je(e,t,n,r,a=null){let i,o;const c=new Promise((l,d)=>{i=l,o=d});return c.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:V()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:c},fulfil:i,reject:o}}function De(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 En(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function _t(e){let t;if(k.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{Ln as a,Rn as l,D 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.