corequery 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "corequery",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "server/dist",
@@ -29,25 +29,25 @@
29
29
  "express": "5.2.1",
30
30
  "node-html-parser": "7.0.1",
31
31
  "sharp": "0.34.5",
32
- "zod": "4.1.13"
32
+ "zod": "4.3.4"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@eslint/js": "9.39.2",
36
36
  "@preact/preset-vite": "2.10.2",
37
37
  "@types/express": "5.0.6",
38
- "@types/node": "24.10.1",
38
+ "@types/node": "24.10.4",
39
39
  "@vitest/coverage-v8": "4.0.16",
40
40
  "chalk": "5.6.2",
41
41
  "eslint": "9.39.2",
42
42
  "eslint-config-prettier": "10.1.8",
43
43
  "eslint-plugin-prettier": "5.5.4",
44
- "preact": "10.27.2",
45
- "preact-iso": "2.11.0",
44
+ "preact": "10.28.1",
45
+ "preact-iso": "2.11.1",
46
46
  "prettier": "3.7.4",
47
- "tsx": "4.20.6",
47
+ "tsx": "4.21.0",
48
48
  "typescript": "5.9.3",
49
49
  "typescript-eslint": "8.51.0",
50
- "vite": "7.2.4",
50
+ "vite": "7.3.0",
51
51
  "vite-plugin-pwa": "1.2.0",
52
52
  "vitest": "4.0.16"
53
53
  },
@@ -0,0 +1 @@
1
+ import{u as o,a}from"./index-C7fdqIsu.js";import{N as r}from"./Nav-BVa7zuvE.js";function i(){const{appName:t}=o();return a("div",{children:[a("h1",{children:[t," - About"]}),a(r,{})]})}export{i as default};
@@ -1 +1 @@
1
- import{_ as v,u,a as e,d as h,T as k,k as S,y as R}from"./index-DPgpp2iG.js";import{N as W}from"./Nav-BmJ5gVHE.js";function y(){console.log("This is shared code running!")}function x(r={}){const{immediate:l=!1,onNeedRefresh:d,onOfflineReady:a,onRegistered:c,onRegisteredSW:o,onRegisterError:s}=r;let i,p,f;const m=async(n=!0)=>{await p,f?.()};async function w(){if("serviceWorker"in navigator){if(i=await v(async()=>{const{Workbox:n}=await import("./workbox-window.prod.es5-BIl4cyR9.js");return{Workbox:n}},[]).then(({Workbox:n})=>new n("/sw.js",{scope:"/",type:"classic"})).catch(n=>{s?.(n)}),!i)return;f=()=>{i?.messageSkipWaiting()};{let n=!1;const g=()=>{n=!0,i?.addEventListener("controlling",t=>{t.isUpdate&&window.location.reload()}),d?.()};i.addEventListener("installed",t=>{typeof t.isUpdate>"u"?typeof t.isExternal<"u"&&t.isExternal?g():!n&&a?.():t.isUpdate||a?.()}),i.addEventListener("waiting",g)}i.register({immediate:l}).then(n=>{o?o("/sw.js",n):c?.(n)}).catch(n=>{s?.(n)})}}return p=w(),m}function A(){const{frontendVersion:r}=u();return e("div",{children:[e("span",{children:["Version: ",r]}),e("br",{}),e(P,{})]})}function P(){const[r,l]=h(!1),[d,a]=h(!1),c=k(()=>x({onRegisteredSW:()=>console.log("Service worker registered."),onRegisterError:s=>console.error("Service worker error:",s),onNeedRefresh:()=>l(!0),onOfflineReady:()=>a(!0)}),[]);async function o(){await c()}return r?e(S,{children:[e("span",{children:"Update available"}),e("button",{onClick:o,children:"Update"})]}):d?e("span",{children:"App ready to work offline"}):e("span",{children:"Nothing to report!"})}function _(){const{appName:r}=u();return R(()=>{y()},[]),e("div",{children:[e("h1",{children:[r," - Home"]}),e(W,{}),e("h2",{children:"PWA Status:"}),e(A,{}),e("h2",{children:"Assets:"}),e("h3",{children:"Favicon SVG"}),e("img",{src:"/favicon.svg",alt:`${r} logo`}),e("h3",{children:"Apple touch icon"}),e("img",{src:"/apple-touch-icon.png",alt:`${r} logo`}),e("h3",{children:"PWA 192x192"}),e("img",{src:"/pwa-192x192.png",alt:`${r} logo`}),e("h3",{children:"PWA 512x512"}),e("img",{src:"/pwa-512x512.png",alt:`${r} logo`}),e("h3",{children:"PWA maskable 192x192"}),e("img",{src:"/pwa-maskable-192x192.png",alt:`${r} logo`}),e("h3",{children:"PWA maskable 512x512"}),e("img",{src:"/pwa-maskable-512x512.png",alt:`${r} logo`})]})}export{_ as default};
1
+ import{_ as v,u,a as e,d as h,T as k,k as S,y as R}from"./index-C7fdqIsu.js";import{N as W}from"./Nav-BVa7zuvE.js";function y(){console.log("This is shared code running!")}function x(r={}){const{immediate:l=!1,onNeedRefresh:d,onOfflineReady:a,onRegistered:c,onRegisteredSW:o,onRegisterError:s}=r;let i,p,f;const m=async(n=!0)=>{await p,f?.()};async function w(){if("serviceWorker"in navigator){if(i=await v(async()=>{const{Workbox:n}=await import("./workbox-window.prod.es5-BIl4cyR9.js");return{Workbox:n}},[]).then(({Workbox:n})=>new n("/sw.js",{scope:"/",type:"classic"})).catch(n=>{s?.(n)}),!i)return;f=()=>{i?.messageSkipWaiting()};{let n=!1;const g=()=>{n=!0,i?.addEventListener("controlling",t=>{t.isUpdate&&window.location.reload()}),d?.()};i.addEventListener("installed",t=>{typeof t.isUpdate>"u"?typeof t.isExternal<"u"&&t.isExternal?g():!n&&a?.():t.isUpdate||a?.()}),i.addEventListener("waiting",g)}i.register({immediate:l}).then(n=>{o?o("/sw.js",n):c?.(n)}).catch(n=>{s?.(n)})}}return p=w(),m}function A(){const{frontendVersion:r}=u();return e("div",{children:[e("span",{children:["Version: ",r]}),e("br",{}),e(P,{})]})}function P(){const[r,l]=h(!1),[d,a]=h(!1),c=k(()=>x({onRegisteredSW:()=>console.log("Service worker registered."),onRegisterError:s=>console.error("Service worker error:",s),onNeedRefresh:()=>l(!0),onOfflineReady:()=>a(!0)}),[]);async function o(){await c()}return r?e(S,{children:[e("span",{children:"Update available"}),e("button",{onClick:o,children:"Update"})]}):d?e("span",{children:"App ready to work offline"}):e("span",{children:"Nothing to report!"})}function _(){const{appName:r}=u();return R(()=>{y()},[]),e("div",{children:[e("h1",{children:[r," - Home"]}),e(W,{}),e("h2",{children:"PWA Status:"}),e(A,{}),e("h2",{children:"Assets:"}),e("h3",{children:"Favicon SVG"}),e("img",{src:"/favicon.svg",alt:`${r} logo`}),e("h3",{children:"Apple touch icon"}),e("img",{src:"/apple-touch-icon.png",alt:`${r} logo`}),e("h3",{children:"PWA 192x192"}),e("img",{src:"/pwa-192x192.png",alt:`${r} logo`}),e("h3",{children:"PWA 512x512"}),e("img",{src:"/pwa-512x512.png",alt:`${r} logo`}),e("h3",{children:"PWA maskable 192x192"}),e("img",{src:"/pwa-maskable-192x192.png",alt:`${r} logo`}),e("h3",{children:"PWA maskable 512x512"}),e("img",{src:"/pwa-maskable-512x512.png",alt:`${r} logo`})]})}export{_ as default};
@@ -1 +1 @@
1
- import{a as r}from"./index-DPgpp2iG.js";function n(){return r("nav",{children:r("ul",{children:[r("li",{children:r("a",{href:"/",children:"Home"})}),r("li",{children:r("a",{href:"/about",children:"About"})}),r("li",{children:r("a",{href:"/bacon",children:"Not Found"})})]})})}export{n as N};
1
+ import{a as r}from"./index-C7fdqIsu.js";function n(){return r("nav",{children:r("ul",{children:[r("li",{children:r("a",{href:"/",children:"Home"})}),r("li",{children:r("a",{href:"/about",children:"About"})}),r("li",{children:r("a",{href:"/bacon",children:"Not Found"})})]})})}export{n as N};
@@ -0,0 +1 @@
1
+ import{u as o,a}from"./index-C7fdqIsu.js";import{N as r}from"./Nav-BVa7zuvE.js";function e(){const{appName:t}=o();return a("div",{children:[a("h1",{children:[t," - Not Found"]}),a(r,{})]})}export{e as default};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-o86oF_Qq.js","assets/Nav-BVa7zuvE.js","assets/About-DVLaPoJh.js","assets/NotFound-NzxG_tTT.js"])))=>i.map(i=>d[i]);
2
+ (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const _ of o)if(_.type==="childList")for(const u of _.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function n(o){const _={};return o.integrity&&(_.integrity=o.integrity),o.referrerPolicy&&(_.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?_.credentials="include":o.crossOrigin==="anonymous"?_.credentials="omit":_.credentials="same-origin",_}function r(o){if(o.ep)return;o.ep=!0;const _=n(o);fetch(o.href,_)}})();const et="modulepreload",tt=function(t){return"/"+t},be={},se=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){let a=function(l){return Promise.all(l.map(p=>Promise.resolve(p).then(i=>({status:"fulfilled",value:i}),i=>({status:"rejected",reason:i}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),c=u?.nonce||u?.getAttribute("nonce");o=a(n.map(l=>{if(l=tt(l),l in be)return;be[l]=!0;const p=l.endsWith(".css"),i=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${i}`))return;const s=document.createElement("link");if(s.rel=p?"stylesheet":et,p||(s.as="script"),s.crossOrigin="",s.href=l,c&&s.setAttribute("nonce",c),document.head.appendChild(s),p)return new Promise((f,v)=>{s.addEventListener("load",f),s.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${l}`)))})}))}function _(u){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=u,window.dispatchEvent(c),!c.defaultPrevented)throw u}return o.then(u=>{for(const c of u||[])c.status==="rejected"&&_(c.reason);return e().catch(_)})};var q,h,Ne,U,ke,Me,Oe,Fe,ae,oe,ie,Ie,W={},We=[],nt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,j=Array.isArray;function $(t,e){for(var n in e)t[n]=e[n];return t}function fe(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function H(t,e,n){var r,o,_,u={};for(_ in e)_=="key"?r=e[_]:_=="ref"?o=e[_]:u[_]=e[_];if(arguments.length>2&&(u.children=arguments.length>3?q.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(_ in t.defaultProps)u[_]===void 0&&(u[_]=t.defaultProps[_]);return I(t,u,r,o,null)}function I(t,e,n,r,o){var _={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++Ne,__i:-1,__u:0};return o==null&&h.vnode!=null&&h.vnode(_),_}function ee(t){return t.children}function Y(t,e){this.props=t,this.context=e}function O(t,e){if(e==null)return t.__?O(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?O(t):null}function qe(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return qe(t)}}function ue(t){(!t.__d&&(t.__d=!0)&&U.push(t)&&!Z.__r++||ke!=h.debounceRendering)&&((ke=h.debounceRendering)||Me)(Z)}function Z(){for(var t,e,n,r,o,_,u,c=1;U.length;)U.length>c&&U.sort(Oe),t=U.shift(),c=U.length,t.__d&&(n=void 0,r=void 0,o=(r=(e=t).__v).__e,_=[],u=[],e.__P&&((n=$({},r)).__v=r.__v+1,h.vnode&&h.vnode(n),pe(e.__P,n,r,e.__n,e.__P.namespaceURI,32&r.__u?[o]:null,_,o??O(r),!!(32&r.__u),u),n.__v=r.__v,n.__.__k[n.__i]=n,Ke(_,n,u),r.__e=r.__=null,n.__e!=o&&qe(n)));Z.__r=0}function je(t,e,n,r,o,_,u,c,a,l,p){var i,s,f,v,E,b,m,d=r&&r.__k||We,P=e.length;for(a=rt(n,e,d,a,P),i=0;i<P;i++)(f=n.__k[i])!=null&&(s=f.__i==-1?W:d[f.__i]||W,f.__i=i,b=pe(t,f,s,o,_,u,c,a,l,p),v=f.__e,f.ref&&s.ref!=f.ref&&(s.ref&&he(s.ref,null,f),p.push(f.ref,f.__c||v,f)),E==null&&v!=null&&(E=v),(m=!!(4&f.__u))||s.__k===f.__k?a=Be(f,a,t,m):typeof f.type=="function"&&b!==void 0?a=b:v&&(a=v.nextSibling),f.__u&=-7);return n.__e=E,a}function rt(t,e,n,r,o){var _,u,c,a,l,p=n.length,i=p,s=0;for(t.__k=new Array(o),_=0;_<o;_++)(u=e[_])!=null&&typeof u!="boolean"&&typeof u!="function"?(typeof u=="string"||typeof u=="number"||typeof u=="bigint"||u.constructor==String?u=t.__k[_]=I(null,u,null,null,null):j(u)?u=t.__k[_]=I(ee,{children:u},null,null,null):u.constructor==null&&u.__b>0?u=t.__k[_]=I(u.type,u.props,u.key,u.ref?u.ref:null,u.__v):t.__k[_]=u,a=_+s,u.__=t,u.__b=t.__b+1,c=null,(l=u.__i=_t(u,n,a,i))!=-1&&(i--,(c=n[l])&&(c.__u|=2)),c==null||c.__v==null?(l==-1&&(o>p?s--:o<p&&s++),typeof u.type!="function"&&(u.__u|=4)):l!=a&&(l==a-1?s--:l==a+1?s++:(l>a?s--:s++,u.__u|=4))):t.__k[_]=null;if(i)for(_=0;_<p;_++)(c=n[_])!=null&&(2&c.__u)==0&&(c.__e==r&&(r=O(c)),Je(c,c));return r}function Be(t,e,n,r){var o,_;if(typeof t.type=="function"){for(o=t.__k,_=0;o&&_<o.length;_++)o[_]&&(o[_].__=t,e=Be(o[_],e,n,r));return e}t.__e!=e&&(r&&(e&&t.type&&!e.parentNode&&(e=O(t)),n.insertBefore(t.__e,e||null)),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType==8);return e}function ze(t,e){return e=e||[],t==null||typeof t=="boolean"||(j(t)?t.some(function(n){ze(n,e)}):e.push(t)),e}function _t(t,e,n,r){var o,_,u,c=t.key,a=t.type,l=e[n],p=l!=null&&(2&l.__u)==0;if(l===null&&c==null||p&&c==l.key&&a==l.type)return n;if(r>(p?1:0)){for(o=n-1,_=n+1;o>=0||_<e.length;)if((l=e[u=o>=0?o--:_++])!=null&&(2&l.__u)==0&&c==l.key&&a==l.type)return u}return-1}function Ee(t,e,n){e[0]=="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||nt.test(e)?n:n+"px"}function G(t,e,n,r,o){var _,u;e:if(e=="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Ee(t.style,e,"");if(n)for(e in n)r&&n[e]==r[e]||Ee(t.style,e,n[e])}else if(e[0]=="o"&&e[1]=="n")_=e!=(e=e.replace(Fe,"$1")),u=e.toLowerCase(),e=u in t||e=="onFocusOut"||e=="onFocusIn"?u.slice(2):e.slice(2),t.l||(t.l={}),t.l[e+_]=n,n?r?n.u=r.u:(n.u=ae,t.addEventListener(e,_?ie:oe,_)):t.removeEventListener(e,_?ie:oe,_);else{if(o=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function Pe(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=ae++;else if(e.t<n.u)return;return n(h.event?h.event(e):e)}}}function pe(t,e,n,r,o,_,u,c,a,l){var p,i,s,f,v,E,b,m,d,P,w,A,D,K,T,g,C,S=e.type;if(e.constructor!=null)return null;128&n.__u&&(a=!!(32&n.__u),_=[c=e.__e=n.__e]),(p=h.__b)&&p(e);e:if(typeof S=="function")try{if(m=e.props,d="prototype"in S&&S.prototype.render,P=(p=S.contextType)&&r[p.__c],w=p?P?P.props.value:p.__:r,n.__c?b=(i=e.__c=n.__c).__=i.__E:(d?e.__c=i=new S(m,w):(e.__c=i=new Y(m,w),i.constructor=S,i.render=it),P&&P.sub(i),i.state||(i.state={}),i.__n=r,s=i.__d=!0,i.__h=[],i._sb=[]),d&&i.__s==null&&(i.__s=i.state),d&&S.getDerivedStateFromProps!=null&&(i.__s==i.state&&(i.__s=$({},i.__s)),$(i.__s,S.getDerivedStateFromProps(m,i.__s))),f=i.props,v=i.state,i.__v=e,s)d&&S.getDerivedStateFromProps==null&&i.componentWillMount!=null&&i.componentWillMount(),d&&i.componentDidMount!=null&&i.__h.push(i.componentDidMount);else{if(d&&S.getDerivedStateFromProps==null&&m!==f&&i.componentWillReceiveProps!=null&&i.componentWillReceiveProps(m,w),e.__v==n.__v||!i.__e&&i.shouldComponentUpdate!=null&&i.shouldComponentUpdate(m,i.__s,w)===!1){for(e.__v!=n.__v&&(i.props=m,i.state=i.__s,i.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some(function(N){N&&(N.__=e)}),A=0;A<i._sb.length;A++)i.__h.push(i._sb[A]);i._sb=[],i.__h.length&&u.push(i);break e}i.componentWillUpdate!=null&&i.componentWillUpdate(m,i.__s,w),d&&i.componentDidUpdate!=null&&i.__h.push(function(){i.componentDidUpdate(f,v,E)})}if(i.context=w,i.props=m,i.__P=t,i.__e=!1,D=h.__r,K=0,d){for(i.state=i.__s,i.__d=!1,D&&D(e),p=i.render(i.props,i.state,i.context),T=0;T<i._sb.length;T++)i.__h.push(i._sb[T]);i._sb=[]}else do i.__d=!1,D&&D(e),p=i.render(i.props,i.state,i.context),i.state=i.__s;while(i.__d&&++K<25);i.state=i.__s,i.getChildContext!=null&&(r=$($({},r),i.getChildContext())),d&&!s&&i.getSnapshotBeforeUpdate!=null&&(E=i.getSnapshotBeforeUpdate(f,v)),g=p,p!=null&&p.type===ee&&p.key==null&&(g=Ge(p.props.children)),c=je(t,j(g)?g:[g],e,n,r,o,_,u,c,a,l),i.base=e.__e,e.__u&=-161,i.__h.length&&u.push(i),b&&(i.__E=i.__=null)}catch(N){if(e.__v=null,a||_!=null)if(N.then){for(e.__u|=a?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;_[_.indexOf(c)]=null,e.__e=c}else{for(C=_.length;C--;)fe(_[C]);ce(e)}else e.__e=n.__e,e.__k=n.__k,N.then||ce(e);h.__e(N,e,n)}else _==null&&e.__v==n.__v?(e.__k=n.__k,e.__e=n.__e):c=e.__e=ot(n.__e,e,n,r,o,_,u,a,l);return(p=h.diffed)&&p(e),128&e.__u?void 0:c}function ce(t){t&&t.__c&&(t.__c.__e=!0),t&&t.__k&&t.__k.forEach(ce)}function Ke(t,e,n){for(var r=0;r<n.length;r++)he(n[r],n[++r],n[++r]);h.__c&&h.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(_){_.call(o)})}catch(_){h.__e(_,o.__v)}})}function Ge(t){return typeof t!="object"||t==null||t.__b&&t.__b>0?t:j(t)?t.map(Ge):$({},t)}function ot(t,e,n,r,o,_,u,c,a){var l,p,i,s,f,v,E,b=n.props||W,m=e.props,d=e.type;if(d=="svg"?o="http://www.w3.org/2000/svg":d=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),_!=null){for(l=0;l<_.length;l++)if((f=_[l])&&"setAttribute"in f==!!d&&(d?f.localName==d:f.nodeType==3)){t=f,_[l]=null;break}}if(t==null){if(d==null)return document.createTextNode(m);t=document.createElementNS(o,d,m.is&&m),c&&(h.__m&&h.__m(e,_),c=!1),_=null}if(d==null)b===m||c&&t.data==m||(t.data=m);else{if(_=_&&q.call(t.childNodes),!c&&_!=null)for(b={},l=0;l<t.attributes.length;l++)b[(f=t.attributes[l]).name]=f.value;for(l in b)if(f=b[l],l!="children"){if(l=="dangerouslySetInnerHTML")i=f;else if(!(l in m)){if(l=="value"&&"defaultValue"in m||l=="checked"&&"defaultChecked"in m)continue;G(t,l,null,f,o)}}for(l in m)f=m[l],l=="children"?s=f:l=="dangerouslySetInnerHTML"?p=f:l=="value"?v=f:l=="checked"?E=f:c&&typeof f!="function"||b[l]===f||G(t,l,f,b[l],o);if(p)c||i&&(p.__html==i.__html||p.__html==t.innerHTML)||(t.innerHTML=p.__html),e.__k=[];else if(i&&(t.innerHTML=""),je(e.type=="template"?t.content:t,j(s)?s:[s],e,n,r,d=="foreignObject"?"http://www.w3.org/1999/xhtml":o,_,u,_?_[0]:n.__k&&O(n,0),c,a),_!=null)for(l=_.length;l--;)fe(_[l]);c||(l="value",d=="progress"&&v==null?t.removeAttribute("value"):v!=null&&(v!==t[l]||d=="progress"&&!v||d=="option"&&v!=b[l])&&G(t,l,v,b[l],o),l="checked",E!=null&&E!=t[l]&&G(t,l,E,b[l],o))}return t}function he(t,e,n){try{if(typeof t=="function"){var r=typeof t.__u=="function";r&&t.__u(),r&&e==null||(t.__u=t(e))}else t.current=e}catch(o){h.__e(o,n)}}function Je(t,e,n){var r,o;if(h.unmount&&h.unmount(t),(r=t.ref)&&(r.current&&r.current!=t.__e||he(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(_){h.__e(_,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Je(r[o],e,n||typeof t.type!="function");n||fe(t.__e),t.__c=t.__=t.__e=void 0}function it(t,e,n){return this.constructor(t,n)}function ut(t,e,n){var r,o,_,u;e==document&&(e=document.documentElement),h.__&&h.__(t,e),o=(r=!1)?null:e.__k,_=[],u=[],pe(e,t=e.__k=H(ee,null,[t]),o||W,W,e.namespaceURI,o?null:e.firstChild?q.call(e.childNodes):null,_,o?o.__e:e.firstChild,r,u),Ke(_,t,u)}function we(t,e,n){var r,o,_,u,c=$({},t.props);for(_ in t.type&&t.type.defaultProps&&(u=t.type.defaultProps),e)_=="key"?r=e[_]:_=="ref"?o=e[_]:c[_]=e[_]===void 0&&u!=null?u[_]:e[_];return arguments.length>2&&(c.children=arguments.length>3?q.call(arguments,2):n),I(t.type,c,r||t.key,o||t.ref,null)}function de(t){function e(n){var r,o;return this.getChildContext||(r=new Set,(o={})[e.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(_){this.props.value!=_.value&&r.forEach(function(u){u.__e=!0,ue(u)})},this.sub=function(_){r.add(_);var u=_.componentWillUnmount;_.componentWillUnmount=function(){r&&r.delete(_),u&&u.call(_)}}),n.children}return e.__c="__cC"+Ie++,e.__=t,e.Provider=e.__l=(e.Consumer=function(n,r){return n.children(r)}).contextType=e,e}q=We.slice,h={__e:function(t,e,n,r){for(var o,_,u;e=e.__;)if((o=e.__c)&&!o.__)try{if((_=o.constructor)&&_.getDerivedStateFromError!=null&&(o.setState(_.getDerivedStateFromError(t)),u=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),u=o.__d),u)return o.__E=o}catch(c){t=c}throw t}},Ne=0,Y.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=$({},this.state),typeof t=="function"&&(t=t($({},n),this.props)),t&&$(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),ue(this))},Y.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),ue(this))},Y.prototype.render=ee,U=[],Me=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Oe=function(t,e){return t.__v.__b-e.__v.__b},Z.__r=0,Fe=/(PointerCapture)$|Capture$/i,ae=0,oe=Pe(!1),ie=Pe(!0),Ie=0;var ct=0;function x(t,e,n,r,o,_){e||(e={});var u,c,a=e;if("ref"in a)for(c in a={},e)c=="ref"?u=e[c]:a[c]=e[c];var l={type:t,props:a,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ct,__i:-1,__u:0,__source:o,__self:_};if(typeof t=="function"&&(u=t.defaultProps))for(c in u)a[c]===void 0&&(a[c]=u[c]);return h.vnode&&h.vnode(l),l}var R,y,ne,Se,V=0,Qe=[],k=h,$e=k.__b,Ce=k.__r,Le=k.diffed,xe=k.__c,He=k.unmount,De=k.__;function B(t,e){k.__h&&k.__h(y,t,V||e),V=0;var n=y.__H||(y.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function lt(t){return V=1,me(Xe,t)}function me(t,e,n){var r=B(R++,2);if(r.t=t,!r.__c&&(r.__=[Xe(void 0,e),function(c){var a=r.__N?r.__N[0]:r.__[0],l=r.t(a,c);a!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=y,!y.__f)){var o=function(c,a,l){if(!r.__c.__H)return!0;var p=r.__c.__H.__.filter(function(s){return!!s.__c});if(p.every(function(s){return!s.__N}))return!_||_.call(this,c,a,l);var i=r.__c.props!==c;return p.forEach(function(s){if(s.__N){var f=s.__[0];s.__=s.__N,s.__N=void 0,f!==s.__[0]&&(i=!0)}}),_&&_.call(this,c,a,l)||i};y.__f=!0;var _=y.shouldComponentUpdate,u=y.componentWillUpdate;y.componentWillUpdate=function(c,a,l){if(this.__e){var p=_;_=void 0,o(c,a,l),_=p}u&&u.call(this,c,a,l)},y.shouldComponentUpdate=o}return r.__N||r.__}function St(t,e){var n=B(R++,3);!k.__s&&ye(n.__H,e)&&(n.__=t,n.u=e,y.__H.__h.push(n))}function Ye(t,e){var n=B(R++,4);!k.__s&&ye(n.__H,e)&&(n.__=t,n.u=e,y.__h.push(n))}function L(t){return V=5,te(function(){return{current:t}},[])}function te(t,e){var n=B(R++,7);return ye(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function ve(t){var e=y.context[t.__c],n=B(R++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(y)),e.props.value):t.__}function st(){for(var t;t=Qe.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(X),t.__H.__h.forEach(le),t.__H.__h=[]}catch(e){t.__H.__h=[],k.__e(e,t.__v)}}k.__b=function(t){y=null,$e&&$e(t)},k.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),De&&De(t,e)},k.__r=function(t){Ce&&Ce(t),R=0;var e=(y=t.__c).__H;e&&(ne===y?(e.__h=[],y.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(e.__h.forEach(X),e.__h.forEach(le),e.__h=[],R=0)),ne=y},k.diffed=function(t){Le&&Le(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Qe.push(e)!==1&&Se===k.requestAnimationFrame||((Se=k.requestAnimationFrame)||at)(st)),e.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),ne=y=null},k.__c=function(t,e){e.some(function(n){try{n.__h.forEach(X),n.__h=n.__h.filter(function(r){return!r.__||le(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],k.__e(r,n.__v)}}),xe&&xe(t,e)},k.unmount=function(t){He&&He(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{X(r)}catch(o){e=o}}),n.__H=void 0,e&&k.__e(e,n.__v))};var Ue=typeof requestAnimationFrame=="function";function at(t){var e,n=function(){clearTimeout(r),Ue&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,35);Ue&&(e=requestAnimationFrame(n))}function X(t){var e=y,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),y=e}function le(t){var e=y;t.__c=t.__(),y=e}function ye(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Xe(t,e){return typeof e=="function"?e(t):e}let M,F;function ft(t){return!F||(typeof F=="string"?t.startsWith(F):F.test(t))}function pt(t,e){let n="";if(M=void 0,e&&e.type==="click"){if(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0)return t;const r=e.composedPath().find(_=>_.nodeName=="A"&&_.href),o=r&&r.getAttribute("href");if(!r||r.origin!=location.origin||/^#/.test(o)||!/^(_?self)?$/i.test(r.target)||!ft(o)||r.download)return t;M=!0,e.preventDefault(),n=r.href.replace(location.origin,"")}else e&&e.url?(M=!e.replace,n=e.url):n=location.pathname+location.search;return M===!0?history.pushState(null,"",n):M===!1&&history.replaceState(null,"",n),n}const ht=(t,e,n={})=>{t=t.split("/").filter(Boolean),e=(e||"").split("/").filter(Boolean),n.params||(n.params={});for(let r=0,o,_;r<Math.max(t.length,e.length);r++){let[,u,c,a]=(e[r]||"").match(/^(:?)(.*?)([+*?]?)$/);if(o=t[r],!(!u&&c==o)){if(!u&&o&&a=="*"){n.rest="/"+t.slice(r).map(decodeURIComponent).join("/");break}if(!u||!o&&a!="?"&&a!="*")return;if(_=a=="+"||a=="*",_?o=t.slice(r).map(decodeURIComponent).join("/")||void 0:o&&(o=decodeURIComponent(o)),n.params[c]=o,c in n||(n[c]=o),_)break}}return n};function z(t){const[e,n]=me(pt,t.url||location.pathname+location.search);t.scope&&(F=t.scope);const r=M===!0,o=te(()=>{const _=new URL(e,location.origin),u=_.pathname.replace(/\/+$/g,"")||"/";return{url:e,path:u,query:Object.fromEntries(_.searchParams),route:(c,a)=>n({url:c,replace:a}),wasPush:r}},[e]);return Ye(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),H(z.ctx.Provider,{value:o},t.children)}const dt=Promise.resolve();function Ze(t){const[e,n]=me(g=>g+1,0),{url:r,query:o,wasPush:_,path:u}=mt();if(!r)throw new Error("preact-iso's <Router> must be used within a <LocationProvider>, see: https://github.com/preactjs/preact-iso#locationprovider");const{rest:c=u,params:a={}}=ve(Re),l=L(!1),p=L(u),i=L(0),s=L(),f=L(),v=L(),E=L(!1),b=L();b.current=!1;let m,d,P;ze(t.children).some(g=>{if(ht(c,g.props.path,P={...g.props,path:c,query:o,params:Object.assign({},a),rest:""}))return m=we(g,P);g.props.default&&(d=we(g,P))});let w=m||d;const A=s.current&&s.current.__u&J&&s.current.__u&Q,D=s.current&&s.current.__h,K=te(()=>{f.current=s.current,s.current=H(Re.Provider,{value:P},w);const g=f.current&&f.current.props.children;return!g||!w||w.type!==g.type||w.props.component!==g.props.component?(this.__v&&this.__v.__k&&this.__v.__k.reverse(),i.current++,!0):!1},[r,JSON.stringify(P)]);A?(s.current.__u|=J,s.current.__u|=Q):D&&(s.current.__h=!0);const T=f.current;return f.current=null,this.__c=(g,C)=>{b.current=!0,f.current=T,t.onLoadStart&&t.onLoadStart(r),l.current=!0;let S=i.current;g.then(()=>{S===i.current&&(f.current=null,s.current&&(C.__h&&(s.current.__h=C.__h),C.__u&Q&&(s.current.__u|=Q),C.__u&J&&(s.current.__u|=J)),dt.then(n))})},Ye(()=>{const g=this.__v&&this.__v.__e;if(b.current){!E.current&&!v.current&&(v.current=g);return}!E.current&&v.current&&(v.current!==g&&v.current.remove(),v.current=null),E.current=!0,p.current!==u&&(_&&scrollTo(0,0),t.onRouteChange&&t.onRouteChange(r),p.current=u),t.onLoadEnd&&l.current&&t.onLoadEnd(r),l.current=!1},[u,_,e]),K?[H(re,{r:s}),H(re,{r:f})]:H(re,{r:s})}const J=32,Q=128,re=({r:t})=>t.current;Ze.Provider=z;z.ctx=de({});const Re=de({}),_e=t=>H(t.component,t),mt=()=>ve(z.ctx),Ae=h.__b;h.__b=t=>{t.type&&t.type._forwarded&&t.ref&&(t.props.ref=t.ref,t.ref=null),Ae&&Ae(t)};function ge(t){let e,n;const r=()=>t().then(_=>n=_&&_.default||_),o=_=>{const[,u]=lt(0),c=L(n);if(e||(e=r()),n!==void 0)return H(n,_);throw c.current||(c.current=e.then(()=>u(1))),e};return o.preload=()=>(e||(e=r()),e),o._forwarded=!0,o}const Te=h.__e;h.__e=(t,e,n)=>{if(t&&t.then){let r=e;for(;r=r.__;)if(r.__c&&r.__c.__c)return e.__e==null&&(e.__c.__z=[n.__e],e.__e=n.__e,e.__k=n.__k),e.__k||(e.__k=[]),r.__c.__c(t,e)}Te&&Te(t,e,n)};function vt(t){return this.__c=yt,this.componentDidCatch=t.onError,t.children}function yt(t){t.then(()=>this.forceUpdate())}const Ve=de({ready:!1,appName:"",frontendVersion:""});function $t(){const{ready:t,appName:e,frontendVersion:n}=ve(Ve);if(!t)throw new Error("Static data unavailable outside provider.");return{appName:e,frontendVersion:n}}function gt(t){function e(n){const r=t.querySelector(n);if(r==null)throw new Error(`${n} tag not found.`);const o=r.getAttribute("content");if(o==null)throw new Error(`${n} tag was empty.`);return o}return{appName:e('meta[name="corequery-app-name"]'),frontendVersion:e('meta[name="corequery-frontend-version"]')}}function bt(t){const{Provider:e}=Ve,n=te(()=>gt(document),[]);return x(e,{value:{ready:!0,...n},children:t.children})}const kt=ge(()=>se(()=>import("./Home-o86oF_Qq.js"),__vite__mapDeps([0,1]))),Et=ge(()=>se(()=>import("./About-DVLaPoJh.js"),__vite__mapDeps([2,1]))),Pt=ge(()=>se(()=>import("./NotFound-NzxG_tTT.js"),__vite__mapDeps([3,1])));function wt(){return x(bt,{children:x(z,{children:x(vt,{children:x(Ze,{children:[x(_e,{path:"/",component:kt}),x(_e,{path:"/about",component:Et}),x(_e,{default:!0,component:Pt})]})})})})}ut(x(wt,{}),document.body);export{te as T,se as _,x as a,lt as d,ee as k,$t as u,St as y};
@@ -13,7 +13,7 @@
13
13
  <link rel="mask-icon" href="/favicon.svg" color="#FFFFFF" />
14
14
  <meta name="theme-color" content="#242933" />
15
15
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
16
- <script type="module" crossorigin src="/assets/index-DPgpp2iG.js"></script>
16
+ <script type="module" crossorigin src="/assets/index-C7fdqIsu.js"></script>
17
17
  <link rel="manifest" href="/manifest.webmanifest"></head>
18
18
  <body>
19
19
  </body>
package/web/dist/sw.js CHANGED
@@ -1 +1 @@
1
- if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const l=e||("document"in self?document.currentScript.src:"")||location.href;if(s[l])return;let o={};const a=e=>i(e,l),d={module:{uri:l},exports:o,require:a};s[l]=Promise.all(n.map(e=>d[e]||a(e))).then(e=>(r(...e),o))}}define(["./workbox-1ef09536"],function(e){"use strict";self.addEventListener("message",e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}),e.precacheAndRoute([{url:"pwa-maskable-512x512.png",revision:"9e859d049e78f70ddb5872a3bce2622b"},{url:"pwa-maskable-192x192.png",revision:"f1e5f837a116221b26c9cb9447db5e92"},{url:"pwa-512x512.png",revision:"e5560dba9f85e2959637abbb546643cd"},{url:"pwa-192x192.png",revision:"8b590313fc6296f57d609982dc21f302"},{url:"index.html",revision:"fd029ffdabe120281e7adc5d0764df07"},{url:"favicon.svg",revision:"570c2a249bbd511b386a843cd96545e7"},{url:"apple-touch-icon.png",revision:"d5d6ea39bc40ffd5b045b9593da0c890"},{url:"assets/workbox-window.prod.es5-BIl4cyR9.js",revision:null},{url:"assets/index-DPgpp2iG.js",revision:null},{url:"assets/NotFound-iEZNehaH.js",revision:null},{url:"assets/Nav-BmJ5gVHE.js",revision:null},{url:"assets/Home-h_rCrXOP.js",revision:null},{url:"assets/About-DPPma4Gx.js",revision:null},{url:"pwa-192x192.png",revision:"8b590313fc6296f57d609982dc21f302"},{url:"pwa-512x512.png",revision:"e5560dba9f85e2959637abbb546643cd"},{url:"pwa-maskable-192x192.png",revision:"f1e5f837a116221b26c9cb9447db5e92"},{url:"pwa-maskable-512x512.png",revision:"9e859d049e78f70ddb5872a3bce2622b"},{url:"manifest.webmanifest",revision:"209d92f34008caf0c68fc089a11e31f0"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))});
1
+ if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let l={};const a=e=>i(e,o),u={module:{uri:o},exports:l,require:a};s[o]=Promise.all(n.map(e=>u[e]||a(e))).then(e=>(r(...e),l))}}define(["./workbox-1ef09536"],function(e){"use strict";self.addEventListener("message",e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}),e.precacheAndRoute([{url:"pwa-maskable-512x512.png",revision:"9e859d049e78f70ddb5872a3bce2622b"},{url:"pwa-maskable-192x192.png",revision:"f1e5f837a116221b26c9cb9447db5e92"},{url:"pwa-512x512.png",revision:"e5560dba9f85e2959637abbb546643cd"},{url:"pwa-192x192.png",revision:"8b590313fc6296f57d609982dc21f302"},{url:"index.html",revision:"6ab5906cea2559a45cf34f7c50b8e4cb"},{url:"favicon.svg",revision:"570c2a249bbd511b386a843cd96545e7"},{url:"apple-touch-icon.png",revision:"d5d6ea39bc40ffd5b045b9593da0c890"},{url:"assets/workbox-window.prod.es5-BIl4cyR9.js",revision:null},{url:"assets/index-C7fdqIsu.js",revision:null},{url:"assets/NotFound-NzxG_tTT.js",revision:null},{url:"assets/Nav-BVa7zuvE.js",revision:null},{url:"assets/Home-o86oF_Qq.js",revision:null},{url:"assets/About-DVLaPoJh.js",revision:null},{url:"pwa-192x192.png",revision:"8b590313fc6296f57d609982dc21f302"},{url:"pwa-512x512.png",revision:"e5560dba9f85e2959637abbb546643cd"},{url:"pwa-maskable-192x192.png",revision:"f1e5f837a116221b26c9cb9447db5e92"},{url:"pwa-maskable-512x512.png",revision:"9e859d049e78f70ddb5872a3bce2622b"},{url:"manifest.webmanifest",revision:"209d92f34008caf0c68fc089a11e31f0"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))});
@@ -1 +0,0 @@
1
- import{u as o,a}from"./index-DPgpp2iG.js";import{N as r}from"./Nav-BmJ5gVHE.js";function i(){const{appName:t}=o();return a("div",{children:[a("h1",{children:[t," - About"]}),a(r,{})]})}export{i as default};
@@ -1 +0,0 @@
1
- import{u as o,a}from"./index-DPgpp2iG.js";import{N as r}from"./Nav-BmJ5gVHE.js";function e(){const{appName:t}=o();return a("div",{children:[a("h1",{children:[t," - Not Found"]}),a(r,{})]})}export{e as default};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-h_rCrXOP.js","assets/Nav-BmJ5gVHE.js","assets/About-DPPma4Gx.js","assets/NotFound-iEZNehaH.js"])))=>i.map(i=>d[i]);
2
- (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const _ of o)if(_.type==="childList")for(const u of _.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function n(o){const _={};return o.integrity&&(_.integrity=o.integrity),o.referrerPolicy&&(_.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?_.credentials="include":o.crossOrigin==="anonymous"?_.credentials="omit":_.credentials="same-origin",_}function r(o){if(o.ep)return;o.ep=!0;const _=n(o);fetch(o.href,_)}})();const et="modulepreload",tt=function(t){return"/"+t},be={},se=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){let a=function(l){return Promise.all(l.map(p=>Promise.resolve(p).then(i=>({status:"fulfilled",value:i}),i=>({status:"rejected",reason:i}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),c=u?.nonce||u?.getAttribute("nonce");o=a(n.map(l=>{if(l=tt(l),l in be)return;be[l]=!0;const p=l.endsWith(".css"),i=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${i}`))return;const s=document.createElement("link");if(s.rel=p?"stylesheet":et,p||(s.as="script"),s.crossOrigin="",s.href=l,c&&s.setAttribute("nonce",c),document.head.appendChild(s),p)return new Promise((f,v)=>{s.addEventListener("load",f),s.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${l}`)))})}))}function _(u){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=u,window.dispatchEvent(c),!c.defaultPrevented)throw u}return o.then(u=>{for(const c of u||[])c.status==="rejected"&&_(c.reason);return e().catch(_)})};var q,h,Ne,U,ke,Me,Oe,Fe,ae,oe,ie,Ie,W={},We=[],nt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,j=Array.isArray;function $(t,e){for(var n in e)t[n]=e[n];return t}function fe(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function H(t,e,n){var r,o,_,u={};for(_ in e)_=="key"?r=e[_]:_=="ref"?o=e[_]:u[_]=e[_];if(arguments.length>2&&(u.children=arguments.length>3?q.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(_ in t.defaultProps)u[_]===void 0&&(u[_]=t.defaultProps[_]);return I(t,u,r,o,null)}function I(t,e,n,r,o){var _={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++Ne,__i:-1,__u:0};return o==null&&h.vnode!=null&&h.vnode(_),_}function ee(t){return t.children}function Y(t,e){this.props=t,this.context=e}function O(t,e){if(e==null)return t.__?O(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?O(t):null}function qe(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return qe(t)}}function ue(t){(!t.__d&&(t.__d=!0)&&U.push(t)&&!Z.__r++||ke!=h.debounceRendering)&&((ke=h.debounceRendering)||Me)(Z)}function Z(){for(var t,e,n,r,o,_,u,c=1;U.length;)U.length>c&&U.sort(Oe),t=U.shift(),c=U.length,t.__d&&(n=void 0,r=void 0,o=(r=(e=t).__v).__e,_=[],u=[],e.__P&&((n=$({},r)).__v=r.__v+1,h.vnode&&h.vnode(n),pe(e.__P,n,r,e.__n,e.__P.namespaceURI,32&r.__u?[o]:null,_,o??O(r),!!(32&r.__u),u),n.__v=r.__v,n.__.__k[n.__i]=n,Ke(_,n,u),r.__e=r.__=null,n.__e!=o&&qe(n)));Z.__r=0}function je(t,e,n,r,o,_,u,c,a,l,p){var i,s,f,v,E,g,d,m=r&&r.__k||We,P=e.length;for(a=rt(n,e,m,a,P),i=0;i<P;i++)(f=n.__k[i])!=null&&(s=f.__i==-1?W:m[f.__i]||W,f.__i=i,g=pe(t,f,s,o,_,u,c,a,l,p),v=f.__e,f.ref&&s.ref!=f.ref&&(s.ref&&he(s.ref,null,f),p.push(f.ref,f.__c||v,f)),E==null&&v!=null&&(E=v),(d=!!(4&f.__u))||s.__k===f.__k?a=Be(f,a,t,d):typeof f.type=="function"&&g!==void 0?a=g:v&&(a=v.nextSibling),f.__u&=-7);return n.__e=E,a}function rt(t,e,n,r,o){var _,u,c,a,l,p=n.length,i=p,s=0;for(t.__k=new Array(o),_=0;_<o;_++)(u=e[_])!=null&&typeof u!="boolean"&&typeof u!="function"?(a=_+s,(u=t.__k[_]=typeof u=="string"||typeof u=="number"||typeof u=="bigint"||u.constructor==String?I(null,u,null,null,null):j(u)?I(ee,{children:u},null,null,null):u.constructor==null&&u.__b>0?I(u.type,u.props,u.key,u.ref?u.ref:null,u.__v):u).__=t,u.__b=t.__b+1,c=null,(l=u.__i=_t(u,n,a,i))!=-1&&(i--,(c=n[l])&&(c.__u|=2)),c==null||c.__v==null?(l==-1&&(o>p?s--:o<p&&s++),typeof u.type!="function"&&(u.__u|=4)):l!=a&&(l==a-1?s--:l==a+1?s++:(l>a?s--:s++,u.__u|=4))):t.__k[_]=null;if(i)for(_=0;_<p;_++)(c=n[_])!=null&&(2&c.__u)==0&&(c.__e==r&&(r=O(c)),Je(c,c));return r}function Be(t,e,n,r){var o,_;if(typeof t.type=="function"){for(o=t.__k,_=0;o&&_<o.length;_++)o[_]&&(o[_].__=t,e=Be(o[_],e,n,r));return e}t.__e!=e&&(r&&(e&&t.type&&!e.parentNode&&(e=O(t)),n.insertBefore(t.__e,e||null)),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType==8);return e}function ze(t,e){return e=e||[],t==null||typeof t=="boolean"||(j(t)?t.some(function(n){ze(n,e)}):e.push(t)),e}function _t(t,e,n,r){var o,_,u,c=t.key,a=t.type,l=e[n],p=l!=null&&(2&l.__u)==0;if(l===null&&t.key==null||p&&c==l.key&&a==l.type)return n;if(r>(p?1:0)){for(o=n-1,_=n+1;o>=0||_<e.length;)if((l=e[u=o>=0?o--:_++])!=null&&(2&l.__u)==0&&c==l.key&&a==l.type)return u}return-1}function Ee(t,e,n){e[0]=="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||nt.test(e)?n:n+"px"}function G(t,e,n,r,o){var _,u;e:if(e=="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Ee(t.style,e,"");if(n)for(e in n)r&&n[e]==r[e]||Ee(t.style,e,n[e])}else if(e[0]=="o"&&e[1]=="n")_=e!=(e=e.replace(Fe,"$1")),u=e.toLowerCase(),e=u in t||e=="onFocusOut"||e=="onFocusIn"?u.slice(2):e.slice(2),t.l||(t.l={}),t.l[e+_]=n,n?r?n.u=r.u:(n.u=ae,t.addEventListener(e,_?ie:oe,_)):t.removeEventListener(e,_?ie:oe,_);else{if(o=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function Pe(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=ae++;else if(e.t<n.u)return;return n(h.event?h.event(e):e)}}}function pe(t,e,n,r,o,_,u,c,a,l){var p,i,s,f,v,E,g,d,m,P,w,A,D,K,T,b,C,S=e.type;if(e.constructor!=null)return null;128&n.__u&&(a=!!(32&n.__u),_=[c=e.__e=n.__e]),(p=h.__b)&&p(e);e:if(typeof S=="function")try{if(d=e.props,m="prototype"in S&&S.prototype.render,P=(p=S.contextType)&&r[p.__c],w=p?P?P.props.value:p.__:r,n.__c?g=(i=e.__c=n.__c).__=i.__E:(m?e.__c=i=new S(d,w):(e.__c=i=new Y(d,w),i.constructor=S,i.render=it),P&&P.sub(i),i.props=d,i.state||(i.state={}),i.context=w,i.__n=r,s=i.__d=!0,i.__h=[],i._sb=[]),m&&i.__s==null&&(i.__s=i.state),m&&S.getDerivedStateFromProps!=null&&(i.__s==i.state&&(i.__s=$({},i.__s)),$(i.__s,S.getDerivedStateFromProps(d,i.__s))),f=i.props,v=i.state,i.__v=e,s)m&&S.getDerivedStateFromProps==null&&i.componentWillMount!=null&&i.componentWillMount(),m&&i.componentDidMount!=null&&i.__h.push(i.componentDidMount);else{if(m&&S.getDerivedStateFromProps==null&&d!==f&&i.componentWillReceiveProps!=null&&i.componentWillReceiveProps(d,w),!i.__e&&i.shouldComponentUpdate!=null&&i.shouldComponentUpdate(d,i.__s,w)===!1||e.__v==n.__v){for(e.__v!=n.__v&&(i.props=d,i.state=i.__s,i.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some(function(N){N&&(N.__=e)}),A=0;A<i._sb.length;A++)i.__h.push(i._sb[A]);i._sb=[],i.__h.length&&u.push(i);break e}i.componentWillUpdate!=null&&i.componentWillUpdate(d,i.__s,w),m&&i.componentDidUpdate!=null&&i.__h.push(function(){i.componentDidUpdate(f,v,E)})}if(i.context=w,i.props=d,i.__P=t,i.__e=!1,D=h.__r,K=0,m){for(i.state=i.__s,i.__d=!1,D&&D(e),p=i.render(i.props,i.state,i.context),T=0;T<i._sb.length;T++)i.__h.push(i._sb[T]);i._sb=[]}else do i.__d=!1,D&&D(e),p=i.render(i.props,i.state,i.context),i.state=i.__s;while(i.__d&&++K<25);i.state=i.__s,i.getChildContext!=null&&(r=$($({},r),i.getChildContext())),m&&!s&&i.getSnapshotBeforeUpdate!=null&&(E=i.getSnapshotBeforeUpdate(f,v)),b=p,p!=null&&p.type===ee&&p.key==null&&(b=Ge(p.props.children)),c=je(t,j(b)?b:[b],e,n,r,o,_,u,c,a,l),i.base=e.__e,e.__u&=-161,i.__h.length&&u.push(i),g&&(i.__E=i.__=null)}catch(N){if(e.__v=null,a||_!=null)if(N.then){for(e.__u|=a?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;_[_.indexOf(c)]=null,e.__e=c}else{for(C=_.length;C--;)fe(_[C]);ce(e)}else e.__e=n.__e,e.__k=n.__k,N.then||ce(e);h.__e(N,e,n)}else _==null&&e.__v==n.__v?(e.__k=n.__k,e.__e=n.__e):c=e.__e=ot(n.__e,e,n,r,o,_,u,a,l);return(p=h.diffed)&&p(e),128&e.__u?void 0:c}function ce(t){t&&t.__c&&(t.__c.__e=!0),t&&t.__k&&t.__k.forEach(ce)}function Ke(t,e,n){for(var r=0;r<n.length;r++)he(n[r],n[++r],n[++r]);h.__c&&h.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(_){_.call(o)})}catch(_){h.__e(_,o.__v)}})}function Ge(t){return typeof t!="object"||t==null||t.__b&&t.__b>0?t:j(t)?t.map(Ge):$({},t)}function ot(t,e,n,r,o,_,u,c,a){var l,p,i,s,f,v,E,g=n.props,d=e.props,m=e.type;if(m=="svg"?o="http://www.w3.org/2000/svg":m=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),_!=null){for(l=0;l<_.length;l++)if((f=_[l])&&"setAttribute"in f==!!m&&(m?f.localName==m:f.nodeType==3)){t=f,_[l]=null;break}}if(t==null){if(m==null)return document.createTextNode(d);t=document.createElementNS(o,m,d.is&&d),c&&(h.__m&&h.__m(e,_),c=!1),_=null}if(m==null)g===d||c&&t.data==d||(t.data=d);else{if(_=_&&q.call(t.childNodes),g=n.props||W,!c&&_!=null)for(g={},l=0;l<t.attributes.length;l++)g[(f=t.attributes[l]).name]=f.value;for(l in g)if(f=g[l],l!="children"){if(l=="dangerouslySetInnerHTML")i=f;else if(!(l in d)){if(l=="value"&&"defaultValue"in d||l=="checked"&&"defaultChecked"in d)continue;G(t,l,null,f,o)}}for(l in d)f=d[l],l=="children"?s=f:l=="dangerouslySetInnerHTML"?p=f:l=="value"?v=f:l=="checked"?E=f:c&&typeof f!="function"||g[l]===f||G(t,l,f,g[l],o);if(p)c||i&&(p.__html==i.__html||p.__html==t.innerHTML)||(t.innerHTML=p.__html),e.__k=[];else if(i&&(t.innerHTML=""),je(e.type=="template"?t.content:t,j(s)?s:[s],e,n,r,m=="foreignObject"?"http://www.w3.org/1999/xhtml":o,_,u,_?_[0]:n.__k&&O(n,0),c,a),_!=null)for(l=_.length;l--;)fe(_[l]);c||(l="value",m=="progress"&&v==null?t.removeAttribute("value"):v!=null&&(v!==t[l]||m=="progress"&&!v||m=="option"&&v!=g[l])&&G(t,l,v,g[l],o),l="checked",E!=null&&E!=t[l]&&G(t,l,E,g[l],o))}return t}function he(t,e,n){try{if(typeof t=="function"){var r=typeof t.__u=="function";r&&t.__u(),r&&e==null||(t.__u=t(e))}else t.current=e}catch(o){h.__e(o,n)}}function Je(t,e,n){var r,o;if(h.unmount&&h.unmount(t),(r=t.ref)&&(r.current&&r.current!=t.__e||he(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(_){h.__e(_,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Je(r[o],e,n||typeof t.type!="function");n||fe(t.__e),t.__c=t.__=t.__e=void 0}function it(t,e,n){return this.constructor(t,n)}function ut(t,e,n){var r,o,_,u;e==document&&(e=document.documentElement),h.__&&h.__(t,e),o=(r=!1)?null:e.__k,_=[],u=[],pe(e,t=e.__k=H(ee,null,[t]),o||W,W,e.namespaceURI,o?null:e.firstChild?q.call(e.childNodes):null,_,o?o.__e:e.firstChild,r,u),Ke(_,t,u)}function we(t,e,n){var r,o,_,u,c=$({},t.props);for(_ in t.type&&t.type.defaultProps&&(u=t.type.defaultProps),e)_=="key"?r=e[_]:_=="ref"?o=e[_]:c[_]=e[_]===void 0&&u!=null?u[_]:e[_];return arguments.length>2&&(c.children=arguments.length>3?q.call(arguments,2):n),I(t.type,c,r||t.key,o||t.ref,null)}function de(t){function e(n){var r,o;return this.getChildContext||(r=new Set,(o={})[e.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(_){this.props.value!=_.value&&r.forEach(function(u){u.__e=!0,ue(u)})},this.sub=function(_){r.add(_);var u=_.componentWillUnmount;_.componentWillUnmount=function(){r&&r.delete(_),u&&u.call(_)}}),n.children}return e.__c="__cC"+Ie++,e.__=t,e.Provider=e.__l=(e.Consumer=function(n,r){return n.children(r)}).contextType=e,e}q=We.slice,h={__e:function(t,e,n,r){for(var o,_,u;e=e.__;)if((o=e.__c)&&!o.__)try{if((_=o.constructor)&&_.getDerivedStateFromError!=null&&(o.setState(_.getDerivedStateFromError(t)),u=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),u=o.__d),u)return o.__E=o}catch(c){t=c}throw t}},Ne=0,Y.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=$({},this.state),typeof t=="function"&&(t=t($({},n),this.props)),t&&$(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),ue(this))},Y.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),ue(this))},Y.prototype.render=ee,U=[],Me=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Oe=function(t,e){return t.__v.__b-e.__v.__b},Z.__r=0,Fe=/(PointerCapture)$|Capture$/i,ae=0,oe=Pe(!1),ie=Pe(!0),Ie=0;var ct=0;function L(t,e,n,r,o,_){e||(e={});var u,c,a=e;if("ref"in a)for(c in a={},e)c=="ref"?u=e[c]:a[c]=e[c];var l={type:t,props:a,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ct,__i:-1,__u:0,__source:o,__self:_};if(typeof t=="function"&&(u=t.defaultProps))for(c in u)a[c]===void 0&&(a[c]=u[c]);return h.vnode&&h.vnode(l),l}var R,y,ne,Se,V=0,Qe=[],k=h,$e=k.__b,Ce=k.__r,xe=k.diffed,Le=k.__c,He=k.unmount,De=k.__;function B(t,e){k.__h&&k.__h(y,t,V||e),V=0;var n=y.__H||(y.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function lt(t){return V=1,me(Xe,t)}function me(t,e,n){var r=B(R++,2);if(r.t=t,!r.__c&&(r.__=[Xe(void 0,e),function(c){var a=r.__N?r.__N[0]:r.__[0],l=r.t(a,c);a!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=y,!y.__f)){var o=function(c,a,l){if(!r.__c.__H)return!0;var p=r.__c.__H.__.filter(function(s){return!!s.__c});if(p.every(function(s){return!s.__N}))return!_||_.call(this,c,a,l);var i=r.__c.props!==c;return p.forEach(function(s){if(s.__N){var f=s.__[0];s.__=s.__N,s.__N=void 0,f!==s.__[0]&&(i=!0)}}),_&&_.call(this,c,a,l)||i};y.__f=!0;var _=y.shouldComponentUpdate,u=y.componentWillUpdate;y.componentWillUpdate=function(c,a,l){if(this.__e){var p=_;_=void 0,o(c,a,l),_=p}u&&u.call(this,c,a,l)},y.shouldComponentUpdate=o}return r.__N||r.__}function St(t,e){var n=B(R++,3);!k.__s&&ye(n.__H,e)&&(n.__=t,n.u=e,y.__H.__h.push(n))}function Ye(t,e){var n=B(R++,4);!k.__s&&ye(n.__H,e)&&(n.__=t,n.u=e,y.__h.push(n))}function x(t){return V=5,te(function(){return{current:t}},[])}function te(t,e){var n=B(R++,7);return ye(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function ve(t){var e=y.context[t.__c],n=B(R++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(y)),e.props.value):t.__}function st(){for(var t;t=Qe.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(X),t.__H.__h.forEach(le),t.__H.__h=[]}catch(e){t.__H.__h=[],k.__e(e,t.__v)}}k.__b=function(t){y=null,$e&&$e(t)},k.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),De&&De(t,e)},k.__r=function(t){Ce&&Ce(t),R=0;var e=(y=t.__c).__H;e&&(ne===y?(e.__h=[],y.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(e.__h.forEach(X),e.__h.forEach(le),e.__h=[],R=0)),ne=y},k.diffed=function(t){xe&&xe(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Qe.push(e)!==1&&Se===k.requestAnimationFrame||((Se=k.requestAnimationFrame)||at)(st)),e.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),ne=y=null},k.__c=function(t,e){e.some(function(n){try{n.__h.forEach(X),n.__h=n.__h.filter(function(r){return!r.__||le(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],k.__e(r,n.__v)}}),Le&&Le(t,e)},k.unmount=function(t){He&&He(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{X(r)}catch(o){e=o}}),n.__H=void 0,e&&k.__e(e,n.__v))};var Ue=typeof requestAnimationFrame=="function";function at(t){var e,n=function(){clearTimeout(r),Ue&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,35);Ue&&(e=requestAnimationFrame(n))}function X(t){var e=y,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),y=e}function le(t){var e=y;t.__c=t.__(),y=e}function ye(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Xe(t,e){return typeof e=="function"?e(t):e}let M,F;function ft(t){return!F||(typeof F=="string"?t.startsWith(F):F.test(t))}function pt(t,e){let n="";if(M=void 0,e&&e.type==="click"){if(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0)return t;const r=e.composedPath().find(_=>_.nodeName=="A"&&_.href),o=r&&r.getAttribute("href");if(!r||r.origin!=location.origin||/^#/.test(o)||!/^(_?self)?$/i.test(r.target)||!ft(o))return t;M=!0,e.preventDefault(),n=r.href.replace(location.origin,"")}else e&&e.url?(M=!e.replace,n=e.url):n=location.pathname+location.search;return M===!0?history.pushState(null,"",n):M===!1&&history.replaceState(null,"",n),n}const ht=(t,e,n={})=>{t=t.split("/").filter(Boolean),e=(e||"").split("/").filter(Boolean),n.params||(n.params={});for(let r=0,o,_;r<Math.max(t.length,e.length);r++){let[,u,c,a]=(e[r]||"").match(/^(:?)(.*?)([+*?]?)$/);if(o=t[r],!(!u&&c==o)){if(!u&&o&&a=="*"){n.rest="/"+t.slice(r).map(decodeURIComponent).join("/");break}if(!u||!o&&a!="?"&&a!="*")return;if(_=a=="+"||a=="*",_?o=t.slice(r).map(decodeURIComponent).join("/")||void 0:o&&(o=decodeURIComponent(o)),n.params[c]=o,c in n||(n[c]=o),_)break}}return n};function z(t){const[e,n]=me(pt,t.url||location.pathname+location.search);t.scope&&(F=t.scope);const r=M===!0,o=te(()=>{const _=new URL(e,location.origin),u=_.pathname.replace(/\/+$/g,"")||"/";return{url:e,path:u,query:Object.fromEntries(_.searchParams),route:(c,a)=>n({url:c,replace:a}),wasPush:r}},[e]);return Ye(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),H(z.ctx.Provider,{value:o},t.children)}const dt=Promise.resolve();function Ze(t){const[e,n]=me(b=>b+1,0),{url:r,query:o,wasPush:_,path:u}=mt();if(!r)throw new Error("preact-iso's <Router> must be used within a <LocationProvider>, see: https://github.com/preactjs/preact-iso#locationprovider");const{rest:c=u,params:a={}}=ve(Re),l=x(!1),p=x(u),i=x(0),s=x(),f=x(),v=x(),E=x(!1),g=x();g.current=!1;let d,m,P;ze(t.children).some(b=>{if(ht(c,b.props.path,P={...b.props,path:c,query:o,params:Object.assign({},a),rest:""}))return d=we(b,P);b.props.default&&(m=we(b,P))});let w=d||m;const A=s.current&&s.current.__u&J&&s.current.__u&Q,D=s.current&&s.current.__h,K=te(()=>{f.current=s.current,s.current=H(Re.Provider,{value:P},w);const b=f.current&&f.current.props.children;return!b||!w||w.type!==b.type||w.props.component!==b.props.component?(this.__v&&this.__v.__k&&this.__v.__k.reverse(),i.current++,!0):!1},[r,JSON.stringify(P)]);A?(s.current.__u|=J,s.current.__u|=Q):D&&(s.current.__h=!0);const T=f.current;return f.current=null,this.__c=(b,C)=>{g.current=!0,f.current=T,t.onLoadStart&&t.onLoadStart(r),l.current=!0;let S=i.current;b.then(()=>{S===i.current&&(f.current=null,s.current&&(C.__h&&(s.current.__h=C.__h),C.__u&Q&&(s.current.__u|=Q),C.__u&J&&(s.current.__u|=J)),dt.then(n))})},Ye(()=>{const b=this.__v&&this.__v.__e;if(g.current){!E.current&&!v.current&&(v.current=b);return}!E.current&&v.current&&(v.current!==b&&v.current.remove(),v.current=null),E.current=!0,p.current!==u&&(_&&scrollTo(0,0),t.onRouteChange&&t.onRouteChange(r),p.current=u),t.onLoadEnd&&l.current&&t.onLoadEnd(r),l.current=!1},[u,_,e]),K?[H(re,{r:s}),H(re,{r:f})]:H(re,{r:s})}const J=32,Q=128,re=({r:t})=>t.current;Ze.Provider=z;z.ctx=de({});const Re=de({}),_e=t=>H(t.component,t),mt=()=>ve(z.ctx),Ae=h.__b;h.__b=t=>{t.type&&t.type._forwarded&&t.ref&&(t.props.ref=t.ref,t.ref=null),Ae&&Ae(t)};function ge(t){let e,n;const r=()=>t().then(_=>n=_&&_.default||_),o=_=>{const[,u]=lt(0),c=x(n);if(e||(e=r()),n!==void 0)return H(n,_);throw c.current||(c.current=e.then(()=>u(1))),e};return o.preload=()=>(e||(e=r()),e),o._forwarded=!0,o}const Te=h.__e;h.__e=(t,e,n)=>{if(t&&t.then){let r=e;for(;r=r.__;)if(r.__c&&r.__c.__c)return e.__e==null&&(e.__c.__z=[n.__e],e.__e=n.__e,e.__k=n.__k),e.__k||(e.__k=[]),r.__c.__c(t,e)}Te&&Te(t,e,n)};function vt(t){return this.__c=yt,this.componentDidCatch=t.onError,t.children}function yt(t){t.then(()=>this.forceUpdate())}const Ve=de({ready:!1,appName:"",frontendVersion:""});function $t(){const{ready:t,appName:e,frontendVersion:n}=ve(Ve);if(!t)throw new Error("Static data unavailable outside provider.");return{appName:e,frontendVersion:n}}function gt(t){function e(n){const r=t.querySelector(n);if(r==null)throw new Error(`${n} tag not found.`);const o=r.getAttribute("content");if(o==null)throw new Error(`${n} tag was empty.`);return o}return{appName:e('meta[name="corequery-app-name"]'),frontendVersion:e('meta[name="corequery-frontend-version"]')}}function bt(t){const{Provider:e}=Ve,n=te(()=>gt(document),[]);return L(e,{value:{ready:!0,...n},children:t.children})}const kt=ge(()=>se(()=>import("./Home-h_rCrXOP.js"),__vite__mapDeps([0,1]))),Et=ge(()=>se(()=>import("./About-DPPma4Gx.js"),__vite__mapDeps([2,1]))),Pt=ge(()=>se(()=>import("./NotFound-iEZNehaH.js"),__vite__mapDeps([3,1])));function wt(){return L(bt,{children:L(z,{children:L(vt,{children:L(Ze,{children:[L(_e,{path:"/",component:kt}),L(_e,{path:"/about",component:Et}),L(_e,{default:!0,component:Pt})]})})})})}ut(L(wt,{}),document.body);export{te as T,se as _,L as a,lt as d,ee as k,$t as u,St as y};