1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/entries/pages_index.BrTVdIA6.js","assets/static/app_generated_index-6937cd5a.DFQ7CorL.css"])))=>i.map(i=>d[i]); 2function de(e){return Array.from(new Set(e))}function T(e,t){const n=He();return n[e]=n[e]||t}function He(){const e="_vike";return globalThis[e]=globalThis[e]||{}}const m=new Proxy({},{get:(e,t)=>n=>t==="code"?`\`${n}\``:t==="string"?`'${n}'`:n}),ge="0.4.229";let I;I??(I=pe());function pe(){return T("utils/assertSingleInstance.ts",{instances:[],alreadyLogged:new Set})}function k(){return I??(I=pe()),I}const Be="Client runtime of both Server Routing and Client Routing loaded https://vike.dev/client-runtimes-conflict",he="Client runtime loaded twice https://vike.dev/client-runtime-duplicated";function me(){const e=k();{const t=de(e.instances);j(t.length<=1,`vike@${m.bold(t[0])} and vike@${m.bold(t[1])} loaded which is highly discouraged, see ${m.underline("https://vike.dev/warning/version-mismatch")}`,{onlyOnce:!0,showStackTrace:!1})}e.checkSingleInstance&&e.instances.length>1&&j(!1,he,{onlyOnce:!0,showStackTrace:!0})}function Ge(e){const t=k();j(t.isClientRouting!==!0,Be,{onlyOnce:!0,showStackTrace:!0}),j(t.isClientRouting===void 0,he,{onlyOnce:!0,showStackTrace:!0}),t.isClientRouting=!1,t.checkSingleInstance=!0,me()}function Ne(){k().instances.push(ge),me()}function j(e,t,{onlyOnce:n,showStackTrace:r}){const o=k();if(e)return;const i=`[Vike][Warning] ${t}`;{const{alreadyLogged:l}=o,a=i;if(l.has(a))return;l.add(a)}console.warn(r?new Error(i):i)}function Je(){return!(typeof process>"u"||!process.cwd||!process.versions||typeof process.versions.node>"u"||!process.release||process.release.name!=="node")}function L(e,t){const n=new Error(e);return Je()&&(n.stack=Ye(n.stack,t)),n}function Ye(e,t){if(!e)return e;const n=Me(e);let r=0;return n.filter(i=>i.includes(" (internal/")||i.includes(" (node:internal")?!1:r<t&&Ke(i)?(r++,!1):!0).join(` 3`)}function Ke(e){return e.startsWith(" at ")}function Me(e){return e.split(/\r?\n/)}function S(e){return typeof e=="object"&&e!==null}const E=T("utils/assert.ts",{alreadyLogged:new Set,logger(e,t){t==="info"?console.log(e):console.warn(e)},showStackTraceList:new WeakSet});Ne();const qe="[vike]",Xe=`[vike@${ge}]`,Ze="Bug",A=2;function s(e,t){var l;if(e)return;const n=(()=>{if(!t)return null;const a=typeof t=="string"?t:JSON.stringify(t);return m.dim(`Debug info (for Vike maintainers; you can ignore this): ${a}`)})();let o=[`You stumbled upon a Vike bug. Go to ${m.underline("https://github.com/vikejs/vike/issues/new?template=bug.yml")} and copy-paste this error. A maintainer will fix the bug (usually within 24 hours).`,n].filter(Boolean).join(" ");o=z(o),o=W(o,Ze),o=D(o,!0);const i=L(o,A);throw(l=E.onBeforeLog)==null||l.call(E),i}function y(e,t,{showStackTrace:n,exitOnError:r}={}){var i;if(e)return;n=n||E.alwaysShowStackTrace,t=z(t),t=W(t,"Wrong Usage"),t=D(t);const o=L(t,A);if(n&&E.showStackTraceList.add(o),(i=E.onBeforeLog)==null||i.call(E),r)console.error(n?o:t),process.exit(1);else throw o}function Qe(e){return e=z(e),e=W(e,"Error"),e=D(e),L(e,A)}function $(e,t,{onlyOnce:n,showStackTrace:r}){var o;if(!e){if(r=r||E.alwaysShowStackTrace,t=z(t),t=W(t,"Warning"),t=D(t),n){const{alreadyLogged:i}=E,l=n===!0?t:n;if(i.has(l))return;i.add(l)}if((o=E.onBeforeLog)==null||o.call(E),r){const i=L(t,A);E.showStackTraceList.add(i),E.logger(i,"warn")}else E.logger(t,"warn")}}function W(e,t){let n=`[${t}]`;const r=t==="Warning"?"yellow":"red";return n=m.bold(m[r](n)),`${n}${e}`}function z(e){return e.startsWith("[")?e:` ${e}`}function D(e,t=!1){return`${t?Xe:qe}${e}`}function Y(){return typeof window<"u"&&typeof window.scrollY=="number"}const Z=T("utils/assertRouterType.ts",{});function et(){tt(Z.isClientRouting!==!0),Z.isClientRouting=!1}function tt(e){y(Y(),`${m.cyan("import { something } from 'vike/client/router'")} is forbidden on the server-side`,{showStackTrace:!0}),$(e,"You shouldn't `import { something } from 'vike/client/router'` when using Server Routing. The 'vike/client/router' utilities work only with Client Routing. In particular, don't `import { navigate }` nor `import { prefetch }` as they unnecessarily bloat your client-side bundle sizes.",{showStackTrace:!0,onlyOnce:!0})}function nt(){s(Y())}function rt(){nt()}function V(e){return e instanceof Function||typeof e=="function"}function x(e){return Array.isArray(e)}function ot(e){return x(e)&&e.every(t=>typeof t=="string")}function it(e){return S(e)&&Object.values(e).every(t=>typeof t=="string")}function b(e,t,n){if(!S(e))return!1;if(!(t in e))return n==="undefined";if(n===void 0)return!0;const r=e[t];return n==="undefined"?r===void 0:n==="array"?x(r):n==="object"?S(r):n==="string[]"?ot(r):n==="string{}"?it(r):n==="function"?V(r):x(n)?typeof r=="string"&&n.includes(r):n==="null"?r===null:n==="true"?r===!0:n==="false"?r===!1:typeof r===n}
3function w(e,t,n){t&&(n||s(!("isPageContext"in t)),Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)))}function ye(e,t,n){return typeof e=="string"?Q(e.split(""),t,n).join(""):Q(e,t,n)}function Q(e,t,n){const r=[];let o=t;s(o>=0&&o<=e.length);let i=e.length+n;for(s(i>=0&&i<=e.length);!(o===i||(o===e.length&&(o=0),o===i));){const l=e[o];s(l!==void 0),r.push(l),o++}return r}function st(e,t){s(mt(e),e),s(t.startsWith("/"));const{hashString:n,withoutHash:r}=at(e);s(n===null||n.startsWith("#"));const o=n===null?"":be(n.slice(1)),{searchString:i,withoutSearch:l}=ee(r);s(i===null||i.startsWith("?"));let a="";if(i!==null)a=i;else if(e.startsWith("#")){const _=Ee();a=_&&ee(_).searchString||""}const c={},u={};Array.from(new URLSearchParams(a)).forEach(([_,X])=>{c[_]=X,u[_]=[...u.hasOwnProperty(_)?u[_]:[],X]});let{protocol:f,origin:h,pathnameAbsoluteWithBase:d}=ct(l,t);const g=l.slice((h||"").length);ht(e,h,g,i,n);let{pathname:p,isBaseMissing:C}=gt(d,t);const v=ve(h,p,i,n),R=h?h.slice(f.length):null,{hostname:U,port:Ue}=ut(R,e);return p=lt(p),s(p.startsWith("/")),{href:v,protocol:f,hostname:U,port:Ue,origin:h,pathname:p,pathnameOriginal:g,isBaseMissing:C,search:c,searchAll:u,searchOriginal:i,hash:o,hashOriginal:n}}function at(e){const[t,...n]=e.split("#");return{hashString:["",...n].join("#")||null,withoutHash:t}}function ee(e){const[t,...n]=e.split("?");return{searchString:["",...n].join("?")||null,withoutSearch:t}}function be(e){try{return decodeURIComponent(e)}catch{}try{return decodeURI(e)}catch{}return e}function lt(e){return e=e.replace(/\s+$/,""),e=e.split("/").map(t=>be(t).split("/").join("%2F")).join("/"),e}function ct(e,t){s(!e.includes("?")&&!e.includes("#"));{const{protocol:n,origin:r,pathname:o}=te(e);if(r)return{protocol:n,origin:r,pathnameAbsoluteWithBase:o};s(o===e)}if(e.startsWith("/"))return{protocol:null,origin:null,pathnameAbsoluteWithBase:e};{const n=Ee();let r;return n?r=te(n.split("?")[0].split("#")[0]).pathname:r=t,{protocol:null,origin:null,pathnameAbsoluteWithBase:dt(e,r)}}}function Ee(){var t;return typeof window<"u"?(t=window==null?void 0:window.document)==null?void 0:t.baseURI:void 0}function te(e){if(Se(e)){const{protocol:t,uriWithoutProtocol:n}=Ce(e);s(t);const[r,...o]=n.split("/"),i=t+r;return{pathname:"/"+o.join("/"),origin:i,protocol:t}}else return{pathname:e,origin:null,protocol:null}}function ut(e,t){const n={hostname:null,port:null};if(!e)return n;const r=e.split(":");if(r.length>1){const o=parseInt(r.pop(),10);s(o||o===0,t),n.port=o}return n.hostname=r.join(":"),n}function Ce(e){const t=":",[n,...r]=e.split(t);if(r.length===0||!/^[a-z][a-z0-9\+\-]*$/i.test(n))return{protocol:null,uriWithoutProtocol:e};let o=n+t,i=r.join(t);const l="//";return i.startsWith(l)&&(o=o+l,i=i.slice(l.length)),{protocol:o,uriWithoutProtocol:i}}function ft(e){return["ipfs://","ipns://"].includes(e)?!1:e.endsWith("://")}function dt(e,t){const n=t.split("/"),r=e.split("/");let o=t.endsWith("/");e.startsWith(".")&&n.pop();for(const l in r){const a=r[l];a==""&&l==="0"||a!="."&&(a==".."?n.pop():(o=!1,n.push(a)))}let i=n.join("/");return o&&!i.endsWith("/")&&(i+="/"),i.startsWith("/")||(i="/"+i),i}function gt(e,t){return s(e.startsWith("/")),s(pt(t)),s(e.startsWith("/")),s(t.startsWith("/")),{pathname:e,isBaseMissing:!1}}function pt(e){return e.startsWith("/")}function ht(e,t,n,r,o){const i=ve(t,n,r,o);s(e===i)}function ve(e,t,n,r){return`${e||""}${t}${n||""}${r||""}`}function mt(e){return Se(e)||e.startsWith("/")||yt(e)}function yt(e){return[".","?","#"].some(t=>e.startsWith(t))||e===""}function Se(e){const{protocol:t}=Ce(e);return!!t&&ft(t)}function bt(e){return typeof e=="string"&&Et(e)?`.${e}`:`[${JSON.stringify(e)}]`}function Et(e){return/^[a-z0-9\$_]+$/i.test(e)}function Ct(e,t){s(e===t)}rt();const vt=[{is:e=>e===void 0,match:e=>e==="!undefined",serialize:()=>"!undefined",deserialize:()=>{}},{is:e=>e===1/0,match:e=>e==="!Infinity",serialize:()=>"!Infinity",deserialize:()=>1/0},{is:e=>e===-1/0,match:e=>e==="!-Infinity",serialize:()=>"!-Infinity",deserialize:()=>-1/0},{is:e=>typeof e=="number"&&isNaN(e),match:e=>e==="!NaN",serialize:()=>"!NaN",deserialize:()=>NaN},{is:e=>e instanceof Date,match:e=>e.startsWith("!Date:"),serialize:e=>"!Date:"+e.toISOString(),deserialize:e=>new Date(e.slice(6))},{is:e=>typeof e=="bigint",match:e=>e.startsWith("!BigInt:"),serialize:e=>"!BigInt:"+e.toString(),deserialize:e=>{if(typeof BigInt>"u")throw new Error("Your JavaScript environement does not support BigInt. C
3onsider adding a polyfill.");return BigInt(e.slice(8))}},{is:e=>e instanceof RegExp,match:e=>e.startsWith("!RegExp:"),serialize:e=>"!RegExp:"+e.toString(),deserialize:e=>{e=e.slice(8);const t=e.match(/\/(.*)\/(.*)?/),n=t[1],r=t[2];return new RegExp(n,r)}},{is:e=>e instanceof Map,match:e=>e.startsWith("!Map:"),serialize:(e,t)=>"!Map:"+t(Array.from(e.entries())),deserialize:(e,t)=>new Map(t(e.slice(5)))},{is:e=>e instanceof Set,match:e=>e.startsWith("!Set:"),serialize:(e,t)=>"!Set:"+t(Array.from(e.values())),deserialize:(e,t)=>new Set(t(e.slice(5)))},{is:e=>typeof e=="string"&&e.startsWith("!"),match:e=>e.startsWith("!"),serialize:e=>"!"+e,deserialize:e=>e.slice(1)}];function we(e){const t=JSON.parse(e);return K(t)}function K(e){return typeof e=="string"?St(e):(typeof e=="object"&&e!==null&&Object.entries(e).forEach(([t,n])=>{e[t]=K(n)}),e)}function St(e){for(const{match:t,deserialize:n}of vt)if(t(e))return n(e,we);return e}function wt(){let e;return{promise:new Promise(n=>e=n),resolve:e}}const Pt="vike_pageContext",xt="vike_globalContext";function _t(){const e=Pe(Pt);return s(b(e,"pageId","string")),s(b(e,"routeParams","string{}")),e}function $t(){return Pe(xt)}function Pe(e){const t=document.getElementById(e);y(t,`Couldn't find #${e} (which Vike automatically injects in the HTML): make sure it exists (i.e. don't remove it and make sure your HTML isn't malformed)`);const n=t.textContent;return s(n),we(n)}function Tt(e){return(t,n)=>{const r=e(t),o=e(n);if(s([!0,!1,null].includes(r)),s([!0,!1,null].includes(o)),r===o)return 0;if(r===!0||o===!1)return-1;if(o===!0||r===!1)return 1;s(!1)}}function It(e){return Tt(t=>{const n=e(t);return n===null?null:!n})}function Rt(e,t){return e.toLowerCase()<t.toLowerCase()?-1:e.toLowerCase()>t.toLowerCase()?1:0}function Ot(e){return e==null}function jt(e){return!Ot(e)}const xe=["js","ts","cjs","cts","mjs","mts"],Ft=["jsx","tsx","cjsx","ctsx","mjsx","mtsx"],_e=["vue","svelte","marko","md","mdx"],kt=[...xe,...Ft,..._e];function $e(e){const t=kt.some(n=>e.endsWith("."+n));return Lt(e)&&s(t),t}function Lt(e){const t=/\.(c|m)?(j|t)s$/.test(e),n=xe.some(r=>e.endsWith("."+r));return s(t===n),t}function At(e){return _e.some(t=>e.endsWith("."+t))}function Wt(e,t){return zt(e,t,!0)}function zt(e,t,n){const r="CLIENT_ONLY",o=e.filter(g=>g.isRelevant(t)&&g.fileType!==".page.route").sort(Dt(n,t)),i=g=>{const p=o.filter(v=>v.pageId===t&&v.isEnv(g?"CLIENT_AND_SERVER":r));y(p.length<=1,`Merge the following files into a single file: ${p.map(v=>v.filePath).join(" ")}`);const C=p[0];return s(C===void 0||!C.isDefaultPageFile),C},l=i(!1),a=i(!0),c=g=>o.filter(p=>p.isRendererPageFile&&p.isEnv(g?"CLIENT_AND_SERVER":r))[0],u=c(!1),f=c(!0),h=o.filter(g=>g.isDefaultPageFile&&!g.isRendererPageFile&&(g.isEnv(r)||g.isEnv("CLIENT_AND_SERVER")));return[l,a,...h,u,f].filter(jt)}function Dt(e,t){const n="CLIENT_ONLY";return(l,a)=>{if(!l.isDefaultPageFile&&a.isDefaultPageFile)return-1;if(!a.isDefaultPageFile&&l.isDefaultPageFile)return 1;{const c=l.isRendererPageFile,u=a.isRendererPageFile;if(!c&&u)return-1;if(!u&&c)return 1;s(c===u)}{const c=ne(t,l.filePath),u=ne(t,a.filePath);if(c<u)return-1;if(u<c)return 1;s(c===u)}{if(l.isEnv(n)&&a.isEnv("CLIENT_AND_SERVER"))return-1;if(a.isEnv(n)&&l.isEnv("CLIENT_AND_SERVER"))return 1}return 0}}function ne(e,t){let n=0;for(;n<e.length&&n<t.length&&e[n]===t[n];n++);const r=e.slice(n),o=t.slice(n),i=r.split("/").length,l=o.split("/").length;return i+l}const Vt=["clientRouting"];function Ut(e){Vt.forEach(t=>{if(s(e.fileExports),!(t in e.fileExports))return;const n=`The value of \`${t}\` is only allowed to be \`true\`.`;y(e.fileExports[t]!==!1,`${e.filePath} has \`export { ${t} }\` with the value \`false\` which is prohibited: remove \`export { ${t} }\` instead. (${n})`),y(e.fileExports[t]===!0,`${e.filePath} has \`export { ${t} }\` with a forbidden value. ${n}`)})}const Te=["render","clientRouting","prerender","doNotPrerender"];function Ht(e,t){y(!Te.includes(e),`${t} has \`export default { ${e} }\` which is prohibited, use \`export { ${e} }\` instead.`)}function Bt(e,t){if(!e)return null;let[n,...r]=e;if(!n||r.length===0&&["*","default",t].includes(n))return null;s(n!=="*");let o="",i="";return n==="default"?o="export default":(o="export",r=[n,...r]),r.forEach(a=>{o=`${o} { ${a}`,i=` }${i}`}),o+i}function Gt(e,t,n){return`${H(e,t)} at ${F(n,t)}`}function Nt(e,t,n){return n?`${H(e,t)} at ${F(n,t)}`:`${H(e,t)} internally`}function H(e,t){return`${e} ${m.cyan(t)} defined`}function F(e,t){let n;return x(e)?n=e:n=[e],s(n.length>=1),n.map(o=>{if(o.definedBy)return Jt(o,t);const{filePathToShowToUser:i,fileExportPathToShowToUser:l}=o;let a=i;const c=Bt(l,t);return c&&(a=`${a} > ${m.cyan(c)}`),a}).join(" / ")}function Jt(e,t){if(e.definedBy==="api")return`API call ${m.cyan(`${e.operation}({ vikeConfig: { ${t} } })`)}`;const{definedBy:n}=e;if(n==="cli")return`CLI option ${m.cyan(`--${t}`)}`;if(n==="env")return`environment variable ${m.cyan(`VIKE_CONFIG="{${t}}"`)}`;s(!1)}function Ie(e){if(!e||x(e)||e.definedBy)return null;const{filePathToShowToUser:t}=e;return s(t),t}function Yt(e){const t=Ie(e);return s(t),t}function Kt(e,t,n){const r=Mt({pageConfigGlobalValues:e,pageConfigValues:n});let o;if(t.isErrorPage)o={...r,isErrorPage:!0};else{const i=r.config.route??t.routeFilesystem.routeString;o={...r,route:i}}return[t.pageId,o]}function Mt({pageConfigGlobalValues:e,pageConfigValues:t}){const n=Oe({pageConfigGlobalValues:e,pageConfigValues:t});return Re(n)}function Re(e){const t=e;return{config:t.config,_source:t.source,_sources:t.sources,_from:t.from}}function Oe({pageConfigGlobalValues:e,pageConfigValues:t}){const n={...e,...t};return Fe({configValues:n})}function je({pageConfigGlobalValues:e}){const t=Fe({configValues:e});return Re(t)}function qt(e,t,n){const r={},o={},i={};e.forEach(d=>
3{Xt(d).forEach(({exportName:p,exportValue:C,isFromDefaultExport:v})=>{s(p!=="default"),i[p]=i[p]??[],i[p].push({exportValue:C,exportSource:`${d.filePath} > ${v?`\`export default { ${p} }\``:`\`export { ${p} }\``}`,filePath:d.filePath,_filePath:d.filePath,_fileType:d.fileType,_isFromDefaultExport:v})})});let l,a,c;if(t){const d=Oe({pageConfigGlobalValues:n.configValues,pageConfigValues:t.configValues});l=d.source,a=d.sources,c=d.from,Object.assign(r,d.config),Object.assign(o,d.configEntries),Object.assign(i,d.exportsAll)}else l={},a={},c={configsStandard:{},configsCumulative:{},configsComputed:{}};const u=Zt(),f={};return Object.entries(i).forEach(([d,g])=>{g.forEach(({exportValue:p,_fileType:C,_isFromDefaultExport:v})=>{f[d]=f[d]??p,C===".page"&&!v&&(d in u||(u[d]=p))})}),s(!("default"in f)),s(!("default"in i)),{config:r,from:c,source:l,sources:a,configEntries:o,exports:f,exportsAll:i,pageExports:u}}function Fe(e){const t={},n={},r={},o={},i={},l={configsStandard:{},configsCumulative:{},configsComputed:{}},a=(c,u)=>{o[u]=c,i[u]??(i[u]=[]),i[u].push(c)};return Object.entries(e.configValues).forEach(([c,u])=>{const{value:f}=u,h=Ie(u.definedAtData),d=Nt("Config",c,u.definedAtData);if(t[c]=t[c]??f,n[c]=n[c]??[],s(n[c].length===0),n[c].push({configValue:f,configDefinedAt:d,configDefinedByFile:h}),u.type==="standard"){const p={type:"configsStandard",value:u.value,definedAt:F(u.definedAtData,c)};a(p,c),l.configsStandard[c]=p}if(u.type==="cumulative"){const p={type:"configsCumulative",values:u.value.map((C,v)=>{const R=u.definedAtData[v];s(R);const U=F(R,c);return{value:C,definedAt:U}})};a(p,c),l.configsCumulative[c]=p}if(u.type==="computed"){const p={type:"configsComputed",value:u.value};a(p,c),l.configsComputed[c]=p}const g=c;r[g]=r[g]??[],r[g].push({exportValue:f,exportSource:d,filePath:h,_filePath:h,_fileType:null,_isFromDefaultExport:null})}),{config:t,configEntries:n,exportsAll:r,source:o,sources:i,from:l}}function Xt(e){const{filePath:t,fileExports:n}=e;s(n),s($e(t));const r=[];return Object.entries(n).sort(It(([o])=>o==="default")).forEach(([o,i])=>{let l=o==="default";if(l)if(At(t))o="Page";else{y(S(i),`The ${m.cyan("export default")} of ${t} should be an object.`),Object.entries(i).forEach(([a,c])=>{Ht(a,t),r.push({exportName:a,exportValue:c,isFromDefaultExport:l})});return}r.push({exportName:o,exportValue:i,isFromDefaultExport:l})}),r.forEach(({exportName:o,isFromDefaultExport:i})=>{s(!(i&&Te.includes(o)))}),r}function Zt(){return new Proxy({},{get(...e){return Y()||$(!1,"`pageContext.pageExports` is outdated. Use `pageContext.exports` instead, see https://vike.dev/exports",{onlyOnce:!0,showStackTrace:!0}),Reflect.get(...e)}})}function Qt(e,t){const n=e.filter(o=>o.pageId===t);return s(n.length<=1),n[0]??null}const en=["$$registrations","_rerender_only"],tn=[".md",".mdx"];function nn(e,t,n){const r=Object.keys(e),o=u=>u==="default"||u===n,i=r.filter(o),l=m.code("export default"),a=m.code(`export { ${n} }`);i.length===0&&y(!1,`${t} should have ${a} or ${l}`),i.length===2&&y(!1,`${t} is ambiguous: remove ${l} or ${a}`),s(i.length===1);const c=r.filter(u=>!o(u)).filter(u=>!en.includes(u));tn.some(u=>t.endsWith(u))||c.forEach(u=>{$(!1,`${t} unexpected ${m.cyan(`export { ${u} }`)}, see https://vike.dev/no-side-exports`,{onlyOnce:!0})})}function rn(e,t){const n=e.map(o=>{const i=B(o.configValuesSerialized);return on(i),{...o,configValues:i}}),r={configValues:{}};{const o=B(t.configValuesSerialized);Object.assign(r.configValues,o)}return{pageConfigs:n,pageConfigGlobal:r}}function on(e){const t="route",n=e[t];if(!n)return;const{value:r,definedAtData:o}=n,i=typeof r;s(o);const l=Gt("Config",t,o);y(i==="string"||V(r),`${l} has an invalid type '${i}': it should be a string or a function instead, see https://vike.dev/route`)}function B(e){const t={};return Object.entries(e).forEach(([r,o])=>{let i;if(o.type==="cumulative"){const{valueSerialized:l,...a}=o;i={value:l.map((u,f)=>{const{value:h,sideExports:d}=re(u,r,()=>{const g=o.definedAtData[f];return s(g),g});return n(d),h}),...a}}else{const{valueSerialized:l,...a}=o,{value:c,sideExports:u}=re(l,r,()=>{s(o.type!=="computed");const{definedAtData:f}=o;return Array.isArray(f)?f[0]:f});n(u),i={value:c,...a}}t[r]=i}),t;function n(r){r.forEach(o=>{const{configName:i,configValue:l}=o;t[i]||(t[i]=l)})}}function re(e,t,n){if(e.type==="js-serialized"){let{value:r}=e;return r=K(r),{value:r,sideExports:[]}}if(e.type==="pointer-import"){const{value:r}=e;return{value:r,sideExports:[]}}if(e.type==="plus-file"){const r=n(),{exportValues:o}=e;s(!r.definedBy),nn(o,r.filePathToShowToUser,t);let i,l=!1;const a=[];
3return Object.entries(o).forEach(([c,u])=>{c!=="default"&&c!==t?a.push({configName:c,configValue:{type:"standard",value:u,definedAtData:{filePathToShowToUser:r.filePathToShowToUser,fileExportPathToShowToUser:[c]}}}):(i=u,s(!l),l=!0)}),s(l),{value:i,sideExports:a}}s(!1)}async function sn(e,t){if("isAllLoaded"in e)return e;const{moduleId:n,moduleExports:r}=e.loadConfigValuesAll(),o=await r;o||s(!1,{moduleExports:r,configValuesLoaded:o,moduleId:n});const i=B(o.configValuesSerialized);return Object.assign(e.configValues,i),w(e,{isAllLoaded:!0}),e}const an="__whileFetchingAssets";async function ln(e,t,n,r){const o=Wt(t,e),i=Qt(n,e);let l;const a=!1;try{l=(await Promise.all([i&&sn(i,a),...o.map(h=>{var d;return(d=h.loadFile)==null?void 0:d.call(h)})]))[0]}catch(f){throw cn(f)&&Object.assign(f,{[an]:!0}),f}const c=qt(o,l,r),u={};return w(u,c),w(u,{_pageFilesLoaded:o}),u}function cn(e){return e instanceof Error?["Failed to fetch dynamically imported module","error loading dynamically imported module","Importing a module script failed","error resolving module specifier","failed to resolve module"].some(n=>e.message.toLowerCase().includes(n.toLowerCase())):!1}function un(e,t){s(!e.startsWith("#"));const{searchOriginal:n,hashOriginal:r,pathname:o}=st(e,"/");let i=`${o}${n||""}`;return t!=null&&t.withoutHash||(i+=r||""),s(i.startsWith("/")),i}function ke(e){return un(window.location.href,e)}function oe(e){const t=e/1e3;if(t<120){const n=ie(t);return`${n} second${se(n)}`}{const n=t/60,r=ie(n);return`${r} minute${se(r)}`}}function ie(e){let t=e.toFixed(1);return t.endsWith(".0")&&(t=t.slice(0,-2)),t}function se(e){return e==="1"?"":"s"}const G=T("utils/executeHook.ts",{userHookErrors:new WeakMap,pageContext:null});function Le(e,t,n){const{hookName:r,hookFilePath:o,hookTimeout:{error:i,warning:l}}=t;let a,c;const u=new Promise((g,p)=>{a=C=>{f(),g(C)},c=C=>{f(),p(C)}}),f=()=>{h&&clearTimeout(h),d&&clearTimeout(d)},h=ae(l)&&setTimeout(()=>{$(!1,`The ${r}() hook defined by ${o} is slow: it's taking more than ${oe(l)} (https://vike.dev/hooksTimeout)`,{onlyOnce:!1})},l),d=ae(i)&&setTimeout(()=>{const g=Qe(`The ${r}() hook defined by ${o} timed out: it didn't finish after ${oe(i)} (https://vike.dev/hooksTimeout)`);c(g)},i);return(async()=>{try{fn(n);const g=await e();a(g)}catch(g){S(g)&&G.userHookErrors.set(g,{hookName:r,hookFilePath:o}),c(g)}})(),u}function ae(e){return!!e&&e!==1/0}function fn(e){G.pageContext=e,Promise.resolve().then(()=>{G.pageContext=null})}const dn=T("hooks/getHook.ts",{});function N(e,t){if(!(t in e.exports))return null;const{hooksTimeout:n}=e.config,r=yn(n,t),o=e.exports[t];if(o===null)return null;const i=e.exportsAll[t][0];s(i.exportValue===o);const l=i.filePath;return s(l),Ae(o,t,l,r)}function gn(e,t){const n=e.configValues[t];if(!(n!=null&&n.value))return[];const r=n.value;return s(x(r)),r.map((o,i)=>{const l=o,a=pn(t);s(x(n.definedAtData));const c=Yt(n.definedAtData[i]);return Ae(l,t,c,a)})}function pn(e){return We(e)}function Ae(e,t,n,r){return s(n),mn(e,{hookName:t,hookFilePath:n}),{hookFn:e,hookName:t,hookFilePath:n,hookTimeout:r}}function hn(e,t){N(e,t)}function mn(e,{hookName:t,hookFilePath:n}){s(t&&n),s(!t.endsWith(")")),s(!n.endsWith(" ")),y(V(e),`Hook ${t}() defined by ${n} should be a function`)}function yn(e,t){const n=bn(e);if(n===!1)return{error:!1,warning:!1};const r=n[t],o=We(t);return(r==null?void 0:r.error)!==void 0&&(o.error=r.error),(r==null?void 0:r.warning)!==void 0&&(o.warning=r.warning),o}function bn(e){if(e===void 0)return{};if(e===!1)return!1;y(S(e),`Setting ${m.cyan("hooksTimeout")} should be ${m.cyan("false")} or an object`);const t={};return Object.entries(e).forEach(([n,r])=>{if(r===!1){t[n]={error:!1,warning:!1};return}y(S(r),`Setting ${m.cyan(`hooksTimeout.${n}`)} should be ${m.cyan("false")} or an object`);const[o,i]=["error","warning"].map(l=>{const a=r[l];if(a===void 0||a===!1)return a;const c=`Setting ${m.cyan(`hooksTimeout.${n}.${l}`)} should be`;return y(typeof a=="number",`${c} ${m.cyan("false")} or a number`),y(a>0,`${c} a positive number`),a});t[n]={error:o,warning:i}}),t}function We(e){return e==="onBeforeRoute"?{error:5*1e3,warning:1*1e3}:dn.isPrerendering?{error:2*60*1e3,warning:30*1e3}:(s(!e.toLowerCase().includes("prerender")),{error:30*1e3,warning:4*1e3})}async function ze(e,t,n,r){const o=gn(t,e);await Promise.all(o.map(async i=>{await Le(()=>i.hookFn(r),i,n)}))}async function En(e,t){const n=je({pageConfigGlobalValues:t.configValues});return w(e,{isPageContext:!0,...n},!0),await ze("onCreatePageContext",t,e,e),e}function Cn(e){const t=".page.",n=ye(e.split(t),0,-1).join(t);return s(!n.includes("\\")),n}function M(e,t){return s(!e.includes("\\")),e.includes("/_error")}function vn(e,t){if(t.length>0){const n=t.find(r=>r.pageId===e);return s(n),!!n.isErrorPage}else return M(e)}const Sn=[".page",".page.server",".page.route",".page.client",".css"];function wn(e){if(e.endsWith(".css"))return".css";s($e(e),e);const n=e.split("/").slice(-1)[0].split("."),r=n.slice(-3)[0],o=n.slice(-2)[0];if(o==="page")return".page";if(s(r==="page",e),o==="server")return".page.server";if(o==="client")return".page.client";if(o==="route")return".page.route";s(!1,e)}function De(e){const t=i=>o.pageId===i||o.isDefaultPageFile&&(le(o.filePath)||Pn(i,o.filePath)),n=wn(e),o={filePath:e,fileType:n,isEnv:i=>{if(s(n!==".page.route"),i==="CLIENT_ONLY")return n===".page.client"||n===".css";if(i==="SERVER_ONLY")return n===".page.server";if(i==="CLIENT_AND_SERVER")return n===".page";s(!1)},isRelevant:t,isDefaultPageFile:J(e),isRendererPageFile:n!==".css"&&J(e)&&le(e),isErrorPageFile:M(e),pageId:Cn(e)};return o}function J(e){return M(e)?!1:e.includes("/_default")}function le(e){return e.includes("/renderer/")}function Pn(e,t){s(!e.endsWith("/")),s(!t.endsWith("/")),s(J(t));const n=ye(t.split("/"),0,-1).filter(r=>r!=="_default").join("/");return e.startsWith(n)}function xn(e){s(b(e,"pageFilesLazy","object")),s(b(e,"pageFilesEager","object")),s(b(e,"pageFilesExportNamesLazy","object")),s(b(e,"pageFilesExportNamesEager","object")),s(b(e.pageFilesLazy,".page")),s(b(e.pageFilesLazy,".page.client")||b(e.pageFilesLazy,".page.server")),s(b(e,"pageFilesList","string[]")),s(b(e,"pageConfigsSerialized")),s(b(e,"pageConfigGlobalSerialized"));const{pageConfigsSerialized:t,pageConfigGlobalSerialized:n}=e;_n(t),$n(n);const{pageConfigs:r,pageConfigGlobal:o}=rn(t,n),i={};
3O(e.pageFilesLazy).forEach(({filePath:a,pageFile:c,globValue:u})=>{c=i[a]=i[a]??c;const f=u;ce(f),c.loadFile=async()=>{"fileExports"in c||(c.fileExports=await f(),Ut(c))}}),O(e.pageFilesExportNamesLazy).forEach(({filePath:a,pageFile:c,globValue:u})=>{c=i[a]=i[a]??c;const f=u;ce(f),c.loadExportNames=async()=>{if(!("exportNames"in c)){const h=await f();s(b(h,"exportNames","string[]"),c.filePath),c.exportNames=h.exportNames}}}),O(e.pageFilesEager).forEach(({filePath:a,pageFile:c,globValue:u})=>{c=i[a]=i[a]??c;const f=u;s(S(f)),c.fileExports=f}),O(e.pageFilesExportNamesEager).forEach(({filePath:a,pageFile:c,globValue:u})=>{c=i[a]=i[a]??c;const f=u;s(S(f)),s(b(f,"exportNames","string[]"),c.filePath),c.exportNames=f.exportNames}),e.pageFilesList.forEach(a=>{i[a]=i[a]??De(a)});const l=Object.values(i);return l.forEach(({filePath:a})=>{s(!a.includes("\\"))}),{pageFilesAll:l,pageConfigs:r,pageConfigGlobal:o}}function O(e){const t=[];return Object.entries(e).forEach(([n,r])=>{s(Sn.includes(n)),s(S(r)),Object.entries(r).forEach(([o,i])=>{const l=De(o);s(l.fileType===n),t.push({filePath:o,pageFile:l,globValue:i})})}),t}function ce(e){s(V(e))}function _n(e){s(x(e)),e.forEach(t=>{s(S(t)),s(b(t,"pageId","string")),s(b(t,"routeFilesystem")),s(b(t,"configValuesSerialized"))})}function $n(e){s(b(e,"configValuesSerialized"))}function Tn(e){const{pageFilesAll:t,pageConfigs:n,pageConfigGlobal:r}=xn(e),o=In(t,n),i=je({pageConfigGlobalValues:r.configValues}),l=Object.fromEntries(n.map(a=>Kt(r.configValues,a,a.configValues)));return{pageFilesAll:t,allPageIds:o,pageConfigs:n,pageConfigGlobal:r,globalConfig:i,pageConfigsUserFriendly:l}}function In(e,t){const n=e.filter(({isDefaultPageFile:i})=>!i).map(({pageId:i})=>i),r=de(n),o=t.map(i=>i.pageId);return[...r,...o]}async function Rn(e,t,n){const r=On(e),o=await(n==null?void 0:n(r));return w(r,o),t.globalContext?w(t.globalContext,r):(t.globalContext=r,await ze("onCreateGlobalContext",r._pageConfigGlobal,null,r)),t.globalContext}function On(e){const{pageFilesAll:t,allPageIds:n,pageConfigs:r,pageConfigGlobal:o,globalConfig:i,pageConfigsUserFriendly:l}=Tn(e);return{isGlobalContext:!0,_virtualFileExports:e,_pageFilesAll:t,_pageConfigs:r,_pageConfigGlobal:o,_allPageIds:n,config:i.config,pages:l}}const P=T("createGetGlobalContextClient.ts",(()=>{const{promise:e,resolve:t}=wt();return{globalContextPromise:e,globalContextPromiseResolve:t}})());function jn(e,t,n){return s(P.isClientRouting===void 0||P.isClientRouting===t),P.isClientRouting=t,r(),r;async function r(){if(P.globalContext&&P.globalContext._virtualFileExports!==e)return P.globalContext;const o=await Rn(e,P,async i=>{const l={isClientSide:!0};return w(l,$t()),w(l,await(n==null?void 0:n(i))),l});return s(P.globalContext),P.globalContextPromiseResolve(P.globalContext),o}}const Fn="modulepreload",kn=function(e){return"/"+e},ue={},Ln=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let l=function(u){return Promise.all(u.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),c=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=l(n.map(u=>{if(u=kn(u),u in ue)return;ue[u]=!0;const f=u.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${h}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":Fn,f||(d.as="script"),d.crossOrigin="",d.href=u,c&&d.setAttribute("nonce",c),document.head.appendChild(d),f)return new Promise((g,p)=>{d.addEventListener("load",g),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(l){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=l,window.dispatchEvent(a),!a.defaultPrevented)throw l}return o.then(l=>{for(const a of l||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},q={},An={},Wn={},zn={},Dn=[],Ve={},Vn=[{pageId:"/pages/index",isErrorPage:void 0,routeFilesystem:{routeString:"/",definedAtLocation:"/pages/index/"},loadConfigValuesAll:()=>({moduleId:"virtual:vike:pageConfigValuesAll:client:/pages/index",moduleExports:Ln(()=>import("./pages_index.BrTVdIA6.js"),__vite__mapDeps([0,1]))}),configValuesSerialized:{isClientRuntimeLoaded:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:!0}},onBeforeRenderEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:null}},dataEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:{server:!0}}}}}],Un={configValuesSerialized:{}},Hn=Object.assign({}),Bn={...Hn};q[".page"]=Bn;const Gn=Object.assign({}),Nn={...Gn};q[".page.client"]=Nn;const Jn=Object.assign({}),Yn={...Jn};Ve[".page.server"]=Yn;const Kn=Object.freeze(Object.defineProperty({__proto__:null,neverLoaded:Ve,pageConfigGlobalSerialized:Un,pageConfigsSerialized:Vn,pageFilesEager:An,pageFilesExportNamesEager:zn,pageFilesExportNamesLazy:Wn,pageFilesLazy:q,pageFilesList:Dn},Symbol.toStringTag,{value:"Module"})),Mn=jn(Kn,!1),fe=ke({withoutHash:!0});async function qn(){const e=await Mn(),t={globalContext:e,_pageFilesAll:e._pageFilesAll,_pageConfigs:e._pageConfigs,_pageConfigGlobal:e._pageConfigGlobal,_allPageIds:e._allPageIds,isPrerendering:!1,isClientSide:!0,isHydration:!0,isBackwardNavigation:null,_hasPageContextFromServer:!0,_hasPageContextFromClient:!1};w(t,_t()),w(t,await Zn(t.pageId,t));const n=await En(t,e._pageConfigGlobal);return Ct(t,n),Xn(),t}function Xn(){const e=ke({withoutHash:!0});y(fe===e,`The URL was manipulated before the hydration finished ('${fe}' to '${e}'). Ensure the hydration has finished before manipulating the URL. Consider using the onHydrationEnd() hook.`)}async function Zn(e,t){const n={};return w(n,await ln(e,t._pageFilesAll,t._pageConfigs,t._pageConfigGlobal)),t._pageFilesAll.filter(r=>r.fileType!==".page.server").forEach(r=>{var o;$(!((o=r.fileExports)!=null&&o.onBeforeRender),`export { onBeforeRender } of ${r.filePath} is loaded in the browser but never executed (because you are using Server-side Routing). In order to reduce the size of you browser-side JavaScript, define onBeforeRender() in a .page.server.js file instead, see https://vike.dev/onBeforeRender-isomorphic#server-routing`,{onlyOnce:!0})}),n}const Qn="__VIKE__NOT_SERIALIZABLE__";function er(e){return new Proxy(e,{get(t,n){const r=e[n],o=bt(n);return y(r!==Qn,`Can't access pageContext${o} on the client side. Because it can't be serialized, see server logs.`),r}})}function tr(e){nr(e),rr(e)}
3function nr(e){vn(e.pageId,e._pageConfigs)&&s(b(e,"is404","boolean"))}function rr(e){if(e.is404===void 0||e.is404===null)return;const t=e.pageProps||{};if(!S(t)){$(!1,"pageContext.pageProps should be an object",{showStackTrace:!0,onlyOnce:!0});return}t.is404=t.is404||e.is404,e.pageProps=t}function or(e){s(e.pageId),s("config"in e),s("configEntries"in e),tr(e),"_pageId"in e||Object.defineProperty(e,"_pageId",{get(){return $(!1,"pageContext._pageId has been renamed to pageContext.pageId",{showStackTrace:!0,onlyOnce:!0}),e.pageId},enumerable:!1}),ir(e)}function ir(e){let t=Object.getOwnPropertyDescriptors(e);for(const n of Object.keys(e))delete e[n];t=Object.fromEntries(Object.entries(t).sort(([n],[r])=>Rt(n,r))),Object.defineProperties(e,t)}function sr(e,t){{const o=e;s(o.isHydration===!0),s(o.isBackwardNavigation===null)}const n=e.config.Page||e.exports.Page;return w(e,{Page:n}),ar(e),or(e),er(e)}function ar(e){lr(e)}function lr(e){Object.entries(e).forEach(([t,n])=>{delete e[t],e[t]=n})}async function cr(e,t){const n=sr(e);let r=null,o;r=N(e,"render"),o="render";{const a=N(e,"onRenderClient");a&&(r=a,o="onRenderClient")}if(!r){const a=ur(e);if(s(a),e._pageConfigs.length>0)y(!1,`No onRenderClient() hook defined for URL '${a}', but it's needed, see https://vike.dev/onRenderClient`);else{const c=e._pageFilesLoaded.filter(f=>f.fileType===".page.client");let u;c.length===0?u="No file `*.page.client.*` found for URL "+a:u="One of the following files should export a render() hook: "+c.map(f=>f.filePath).join(" "),y(!1,u)}}s(r);const i=r.hookFn;s(o);const l=await Le(()=>i(n),r,e);y(l===void 0,`The ${o}() hook defined by ${r.hookFilePath} isn't allowed to return a value`)}function ur(e){let t;try{t=e.urlPathname??e.urlOriginal}catch{}return t=t??window.location.href,t}et();Ge();fr();async function fr(){var t,n;const e=await qn();await cr(e),hn(e,"onHydrationEnd"),await((n=(t=e.exports).onHydrationEnd)==null?void 0:n.call(t,e))}
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.